1 |
12 |
jlechner |
2006-05-24 Release Manager
|
2 |
|
|
|
3 |
|
|
* GCC 4.1.1 released.
|
4 |
|
|
|
5 |
|
|
2006-05-22 Gerald Pfeifer
|
6 |
|
|
|
7 |
|
|
* doc/install.texi (Configuration): Remove reference to CrossGCC
|
8 |
|
|
FAQ which was hijacked.
|
9 |
|
|
(Building): Ditto.
|
10 |
|
|
|
11 |
|
|
2006-05-17 H.J. Lu
|
12 |
|
|
|
13 |
|
|
* Makefile.in: Undo the last 2 changes.
|
14 |
|
|
* optc-gen.awk: Likewise.
|
15 |
|
|
|
16 |
|
|
* common.opt: Undo the last change.
|
17 |
|
|
* doc/options.texi: Likewise.
|
18 |
|
|
* gcc.c: Likewise.
|
19 |
|
|
* opts.c: Likewise.
|
20 |
|
|
* opts.h: Likewise.
|
21 |
|
|
|
22 |
|
|
* opts-common.c: Removed.
|
23 |
|
|
|
24 |
|
|
2005-05-17 Bernd Schmidt
|
25 |
|
|
|
26 |
|
|
PR middle-end/27620
|
27 |
|
|
* expr.c (safe_from_p): Handle CONSTRUCTOR again.
|
28 |
|
|
|
29 |
|
|
2006-05-17 Zdenek Dvorak
|
30 |
|
|
|
31 |
|
|
PR tree-optimization/27548
|
32 |
|
|
* tree-scalar-evolution.c (scev_const_prop): Do not prolong life
|
33 |
|
|
range of ssa names that appear on abnormal edges.
|
34 |
|
|
* tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Export.
|
35 |
|
|
* tree-flow.h (contains_abnormal_ssa_name_p): Declare.
|
36 |
|
|
|
37 |
|
|
2006-05-17 Jakub Jelinek
|
38 |
|
|
|
39 |
|
|
PR tree-optimization/27549
|
40 |
|
|
Backported from mainline
|
41 |
|
|
|
42 |
|
|
2006-05-01 Zdenek Dvorak
|
43 |
|
|
|
44 |
|
|
PR tree-optimization/27283
|
45 |
|
|
* tree-ssa-loop-ivopts.c (struct nfe_cache_elt): Store just trees,
|
46 |
|
|
not whole # of iteration descriptions.
|
47 |
|
|
(niter_for_exit): Return just # of iterations. Fail if # of iterations
|
48 |
|
|
uses abnormal ssa name.
|
49 |
|
|
(niter_for_single_dom_exit): Ditto.
|
50 |
|
|
(find_induction_variables, may_eliminate_iv): Expect niter_for_exit to
|
51 |
|
|
return just the number of iterations.
|
52 |
|
|
(add_iv_outer_candidates, may_replace_final_value): Likewise.
|
53 |
|
|
|
54 |
|
|
2006-05-16 H.J. Lu
|
55 |
|
|
|
56 |
|
|
* Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
|
57 |
|
|
(gcc-options.o): New rule.
|
58 |
|
|
|
59 |
|
|
* optc-gen.awk: Protect variables for gcc-options.o with
|
60 |
|
|
#ifdef GCC_DRIVER/#endif.
|
61 |
|
|
|
62 |
|
|
2006-05-16 Roger Sayle
|
63 |
|
|
|
64 |
|
|
PR target/26600
|
65 |
|
|
* config/i386/i386.c (legitimate_constant_p) : TImode
|
66 |
|
|
integer constants other than zero are only legitimate on TARGET_64BIT.
|
67 |
|
|
Only zero vectors are legitimate.
|
68 |
|
|
(ix86_cannot_force_const_mem): Integral and vector constants can
|
69 |
|
|
always be put in the constant pool.
|
70 |
|
|
|
71 |
|
|
2006-05-16 Andrew MacLeod
|
72 |
|
|
|
73 |
|
|
PR c++/26757
|
74 |
|
|
* tree-dfa.c (struct walk_state): Remove.
|
75 |
|
|
(add_referenced_var): Change Parameters.
|
76 |
|
|
(find_referenced_vars): Done use a walk_state.
|
77 |
|
|
(find_vars_r): Unused parameter and change parms to add_referenced_var.
|
78 |
|
|
(referenced_var_insert): Assert same UID has not been inserted.
|
79 |
|
|
(add_referenced_var): Check if var exists via referenced_var table.
|
80 |
|
|
(get_virtual_var): Call add_referenced_var with new parameter.
|
81 |
|
|
|
82 |
|
|
2006-05-16 H.J. Lu
|
83 |
|
|
|
84 |
|
|
PR driver/26885
|
85 |
|
|
* Makefile.in (GCC_OBJS): New.
|
86 |
|
|
(OBJS-common): Add opts-common.o.
|
87 |
|
|
(xgcc$(exeext)): Replace gcc.o with $(GCC_OBJS).
|
88 |
|
|
(cpp$(exeext)): Likewise.
|
89 |
|
|
(gcc.o): Also depend on opts.h.
|
90 |
|
|
(opts-common.o): New.
|
91 |
|
|
|
92 |
|
|
* common.opt (gcoff): Add Negative(gdwarf-2).
|
93 |
|
|
(gdwarf-2): Add Negative(gstabs).
|
94 |
|
|
(gstabs): Add Negative(gstabs+).
|
95 |
|
|
(gstabs+): Add Negative(gvms).
|
96 |
|
|
(gvms): Add Negative(gxcoff).
|
97 |
|
|
(gxcoff): Add Negative(gxcoff+).
|
98 |
|
|
(gxcoff+): Add Negative(gcoff).
|
99 |
|
|
* config/i386/i386.opt (m32): Add Negative(m64).
|
100 |
|
|
(m64): Add Negative(m32).
|
101 |
|
|
|
102 |
|
|
* doc/options.texi: Document the Negative option.
|
103 |
|
|
|
104 |
|
|
* gcc.c: Include "opts.h".
|
105 |
|
|
(main): Call prune_options after expandargv.
|
106 |
|
|
|
107 |
|
|
* optc-gen.awk: Generate common declarations for all flag
|
108 |
|
|
variables in options.c. Output the neg_index field.
|
109 |
|
|
|
110 |
|
|
* opts.c (find_opt): Moved to ...
|
111 |
|
|
* opts-common.c: Here. New file.
|
112 |
|
|
|
113 |
|
|
* opts.h (cl_option): Add a neg_index field.
|
114 |
|
|
(find_opt): New.
|
115 |
|
|
(prune_options): Likewise.
|
116 |
|
|
|
117 |
|
|
2006-05-16 Richard Guenther
|
118 |
|
|
|
119 |
|
|
PR tree-optimization/27603
|
120 |
|
|
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
|
121 |
|
|
Do computation in original type, do division only for nonzero
|
122 |
|
|
steps.
|
123 |
|
|
|
124 |
|
|
2006-05-15 Andreas Krebbel
|
125 |
|
|
|
126 |
|
|
* expmed.c (store_bit_field): Handle paradoxical subregs on big endian
|
127 |
|
|
machines.
|
128 |
|
|
|
129 |
|
|
2006-05-15 Andreas Krebbel
|
130 |
|
|
|
131 |
|
|
PR rtl-optimization/14261
|
132 |
|
|
* ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting
|
133 |
|
|
move would be an INSV insn.
|
134 |
|
|
(noce_process_if_block): Don't optimize if the destination is a
|
135 |
|
|
ZERO_EXTRACT which can't be handled by noce_emit_move_insn.
|
136 |
|
|
|
137 |
|
|
2006-05-15 Roger Sayle
|
138 |
|
|
|
139 |
|
|
PR rtl-optimization/22563
|
140 |
|
|
Backports from mainline
|
141 |
|
|
* expmed.c (store_fixed_bit_field): When using AND and IOR to store
|
142 |
|
|
a fixed width bitfield, always force the intermediates into pseudos.
|
143 |
|
|
Also check whether the bitsize is valid for the machine's "insv"
|
144 |
|
|
instruction before moving the target into a pseudo for use with
|
145 |
|
|
the insv.
|
146 |
|
|
* config/i386/predicates.md (const8_operand): New predicate.
|
147 |
|
|
* config/i386/i386.md (extv, extzv, insv): Use the new
|
148 |
|
|
const8_operand predicate where appropriate.
|
149 |
|
|
|
150 |
|
|
2006-05-13 Roger Sayle
|
151 |
|
|
|
152 |
|
|
PR middle-end/26729
|
153 |
|
|
* fold-const.c (fold_truthop): Check integer_nonzerop instead of
|
154 |
|
|
!integer_zerop to avoid problems with TREE_OVERFLOW.
|
155 |
|
|
|
156 |
|
|
2005-05-13 Zdenek Dvorak
|
157 |
|
|
|
158 |
|
|
PR rtl-optimization/27335
|
159 |
|
|
* loop-unroll.c (peel_loops_completely): Use loops->parray to walk the
|
160 |
|
|
loops.
|
161 |
|
|
|
162 |
|
|
2006-05-12 Andreas Krebbel
|
163 |
|
|
|
164 |
|
|
* config/s390/s390.c (s390_const_ok_for_constraint_p): Disallow -4G for
|
165 |
|
|
On contraint.
|
166 |
|
|
* config/s390/s390.md: Adjust comment describing On constraint.
|
167 |
|
|
|
168 |
|
|
2006-05-11 Volker Reichelt
|
169 |
|
|
|
170 |
|
|
PR target/27421
|
171 |
|
|
* config/i386/i386.c (classify_argument): Skip fields with invalid
|
172 |
|
|
types.
|
173 |
|
|
|
174 |
|
|
PR middle-end/27384
|
175 |
|
|
* fold-const.c (size_binop): Move sanity check for arguments to
|
176 |
|
|
the beginning of the function.
|
177 |
|
|
|
178 |
|
|
PR middle-end/27488
|
179 |
|
|
* fold-const.c (tree_expr_nonnegative_p): Return early on invalid
|
180 |
|
|
expression.
|
181 |
|
|
|
182 |
|
|
2006-05-11 Roger Sayle
|
183 |
|
|
|
184 |
|
|
PR target/27158
|
185 |
|
|
* reload.c (find_reloads_toplev): Only return the simplified SUBREG
|
186 |
|
|
of a reg_equiv_constant if the result is a legitimate constant.
|
187 |
|
|
|
188 |
|
|
2006-05-09 Steve Ellcey
|
189 |
|
|
|
190 |
|
|
PR bootstrap/26872
|
191 |
|
|
* config.gcc (hppa[12]*-*-hpux10*): Set gas to yes.
|
192 |
|
|
(hppa*64*-*-hpux11*): Ditto.
|
193 |
|
|
(hppa[12]*-*-hpux11*): Ditto.
|
194 |
|
|
|
195 |
|
|
2006-05-09 David Edelsohn
|
196 |
|
|
|
197 |
|
|
PR target/26545
|
198 |
|
|
* config/rs6000/aix41.h (TARGET_64BIT): Define.
|
199 |
|
|
|
200 |
|
|
2006-05-09 Richard Guenther
|
201 |
|
|
|
202 |
|
|
PR tree-optimization/27136
|
203 |
|
|
* tree-ssa-loop-niter.c (get_val_for): Correct function
|
204 |
|
|
comment, assert requirements.
|
205 |
|
|
(loop_niter_by_eval): Stop processing if the iterated
|
206 |
|
|
value did not simplify.
|
207 |
|
|
|
208 |
|
|
2006-05-09 Richard Guenther
|
209 |
|
|
|
210 |
|
|
PR tree-optimization/27409
|
211 |
|
|
* tree-ssa-structalias.c (get_constraint_for_component_ref):
|
212 |
|
|
Do not try to find zero-sized subvars.
|
213 |
|
|
|
214 |
|
|
2006-05-08 Alan Modra
|
215 |
|
|
|
216 |
|
|
PR middle-end/27260
|
217 |
|
|
* builtins.c (expand_builtin_memset): Expand val in original mode.
|
218 |
|
|
|
219 |
|
|
2006-05-06 Richard Guenther
|
220 |
|
|
|
221 |
|
|
PR tree-optimization/27151
|
222 |
|
|
* tree-vect-transform.c (vectorizable_condition): Punt on
|
223 |
|
|
values that have a different type than the condition.
|
224 |
|
|
|
225 |
|
|
2006-05-04 David Edelsohn
|
226 |
|
|
|
227 |
|
|
PR target/26481
|
228 |
|
|
* config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint
|
229 |
|
|
with output modifier.
|
230 |
|
|
|
231 |
|
|
2006-05-04 Richard Sandiford
|
232 |
|
|
|
233 |
|
|
PR target/26765
|
234 |
|
|
* config/mips/mips.c (mips_symbolic_address_p): Return true
|
235 |
|
|
for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL,
|
236 |
|
|
SYMBOL_GOTTPREL, and SYMBOL_TLS.
|
237 |
|
|
|
238 |
|
|
2006-05-04 David Edelsohn
|
239 |
|
|
|
240 |
|
|
PR target/26481
|
241 |
|
|
* config/rs6000/rs6000.md (store_multiple_power): Delete.
|
242 |
|
|
(stmsi[345678]_power): New.
|
243 |
|
|
|
244 |
|
|
2006-05-04 Jakub Jelinek
|
245 |
|
|
|
246 |
|
|
PR tree-optimization/27285
|
247 |
|
|
|
248 |
|
|
Backport from mainline:
|
249 |
|
|
|
250 |
|
|
2006-03-28 Zdenek Dvorak
|
251 |
|
|
|
252 |
|
|
PR tree-optimization/25985
|
253 |
|
|
* tree-ssa-loop-niter.c (number_of_iterations_le,
|
254 |
|
|
number_of_iterations_ne): Make comments more precise.
|
255 |
|
|
(number_of_iterations_cond): Add only_exit argument. Use the
|
256 |
|
|
fact that signed variables do not overflow only when only_exit
|
257 |
|
|
is true.
|
258 |
|
|
(loop_only_exit_p): New.
|
259 |
|
|
(number_of_iterations_exit): Pass result of loop_only_exit_p to
|
260 |
|
|
number_of_iterations_cond.
|
261 |
|
|
|
262 |
|
|
2006-05-02 Jeff Law
|
263 |
|
|
|
264 |
|
|
PR tree-optimization/27364
|
265 |
|
|
* tree-vrp.c (vrp_int_const_binop): Fix detection of overflow from
|
266 |
|
|
multiply expressions.
|
267 |
|
|
|
268 |
|
|
2006-05-02 Roger Sayle
|
269 |
|
|
|
270 |
|
|
PR c/25309
|
271 |
|
|
* c-typeck.c (struct spelling): Make I an unsigned HOST_WIDE_INT.
|
272 |
|
|
(push_array_bounds): Delete prototype. Change BOUNDS argument to
|
273 |
|
|
an unsigned HOST_WIDE_INT.
|
274 |
|
|
(print_spelling): Use HOST_WIDE_INT_PRINT_UNSIGNED to output the
|
275 |
|
|
array index.
|
276 |
|
|
(really_start_incremental_init): No need to call convert because
|
277 |
|
|
bitsize_zero_node is already of type bitsizetype.
|
278 |
|
|
(push_init_level): Extract the value of constructor_index as an
|
279 |
|
|
unsigned HOST_WIDE_INT quantity, using tree_low_cst.
|
280 |
|
|
(process_init_element): Likewise.
|
281 |
|
|
|
282 |
|
|
2006-05-02 Kazu Hirata
|
283 |
|
|
|
284 |
|
|
PR target/27387
|
285 |
|
|
* arm.c (arm_output_mi_thunk): Use pc-relative addressing when
|
286 |
|
|
-mthumb -fPIC are used.
|
287 |
|
|
|
288 |
|
|
2006-05-01 Kazu Hirata
|
289 |
|
|
|
290 |
|
|
PR target/27374
|
291 |
|
|
* config/arm/vfp.md (*arm_movdi_vfp): Correct the output
|
292 |
|
|
templates for case 3 and 4.
|
293 |
|
|
|
294 |
|
|
2006-05-01 Richard Guenther
|
295 |
|
|
|
296 |
|
|
PR middle-end/26565
|
297 |
|
|
* builtins.c (get_pointer_alignment): Handle component
|
298 |
|
|
references for field alignment.
|
299 |
|
|
|
300 |
|
|
2006-04-28 Richard Guenther
|
301 |
|
|
|
302 |
|
|
PR target/26826
|
303 |
|
|
* reload.c (push_reload): Guard calls to get_secondary_mem
|
304 |
|
|
for memory subregs.
|
305 |
|
|
|
306 |
|
|
2006-04-28 Andrew Pinski
|
307 |
|
|
Richard Guenther
|
308 |
|
|
|
309 |
|
|
PR tree-optimization/27236
|
310 |
|
|
* tree-inline.c (copy_body_r): Make sure to copy
|
311 |
|
|
TREE_THIS_VOLATILE flag.
|
312 |
|
|
|
313 |
|
|
2006-04-28 Richard Guenther
|
314 |
|
|
|
315 |
|
|
PR middle-end/26869
|
316 |
|
|
* tree-complex.c (update_parameter_components): Don't handle
|
317 |
|
|
unused parameters which have no default def.
|
318 |
|
|
|
319 |
|
|
2006-04-28 Andrew Pinski
|
320 |
|
|
Richard Guenther
|
321 |
|
|
|
322 |
|
|
PR tree-optimization/27218
|
323 |
|
|
* tree-inline.c (expand_call_inline): Strip useless type
|
324 |
|
|
conversions for the return slot address.
|
325 |
|
|
|
326 |
|
|
2006-04-27 Richard Guenther
|
327 |
|
|
|
328 |
|
|
PR rtl-optimization/26685
|
329 |
|
|
* params.def (PARAM_MAX_CSE_INSNS): Correct typo that named
|
330 |
|
|
this one "max-flow-memory-locations".
|
331 |
|
|
|
332 |
|
|
2006-04-25 Jakub Jelinek
|
333 |
|
|
|
334 |
|
|
PR tree-optimization/26865
|
335 |
|
|
* tree-ssa-structalias.c (find_func_aliases): Check that anyoffsetrhs
|
336 |
|
|
type is pointer or array type.
|
337 |
|
|
|
338 |
|
|
2006-04-24 Roger Sayle
|
339 |
|
|
|
340 |
|
|
PR target/26961
|
341 |
|
|
* fold-const.c (fold_ternary): When converting "A ? B : C" into either
|
342 |
|
|
"A op B" or "A op C", we may need to convert A to the type of B and C.
|
343 |
|
|
|
344 |
|
|
2006-04-23 Roger Sayle
|
345 |
|
|
|
346 |
|
|
PR target/21283
|
347 |
|
|
* config/fr30/fr30.md (define_split): Avoid calling gen_lowpart on
|
348 |
|
|
a SImode SUBREG of a floating point register after no_new_pseudos.
|
349 |
|
|
|
350 |
|
|
2006-04-23 Roger Sayle
|
351 |
|
|
|
352 |
|
|
* config/fr30/fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to
|
353 |
|
|
identify potentially eliminable registers to additionally catch
|
354 |
|
|
VIRTUAL_INCOMING_ARGS_REGNUM.
|
355 |
|
|
(addsi3): Update the conditions on when to use addsi_small_int.
|
356 |
|
|
|
357 |
|
|
2006-04-23 Eric Botcazou
|
358 |
|
|
|
359 |
|
|
* tree-tailcall.c (pass_tail_recursion): Use gate_tail_calls too.
|
360 |
|
|
|
361 |
|
|
2006-04-21 Carlos O'Donell
|
362 |
|
|
|
363 |
|
|
Backport from mainline:
|
364 |
|
|
2006-04-19 Carlos O'Donell
|
365 |
|
|
Nathan Sidwell
|
366 |
|
|
PR c/26774
|
367 |
|
|
* stor-layout.c (update_alignment_for_field): Do not align
|
368 |
|
|
ERROR_MARK nodes.
|
369 |
|
|
(place_union_field): Place union field at the start of the union.
|
370 |
|
|
(place_field): Move ERROR_MARK check later, and use the current
|
371 |
|
|
allocation position to maintain monotonicity.
|
372 |
|
|
|
373 |
|
|
2006-04-21 Volker Reichelt
|
374 |
|
|
|
375 |
|
|
PR c/25875
|
376 |
|
|
* c-typeck.c (digest_init): Robustify.
|
377 |
|
|
|
378 |
|
|
2006-04-21 Steve Ellcey
|
379 |
|
|
|
380 |
|
|
* config/pa/t-pa64: Add dependencies on $(GCC_PASSES).
|
381 |
|
|
|
382 |
|
|
2006-04-21 Paul Brook
|
383 |
|
|
|
384 |
|
|
Backport from mainline.
|
385 |
|
|
* config/arm/arm.c (arm_override_options): Error on iWMMXt and
|
386 |
|
|
hardware floating point.
|
387 |
|
|
|
388 |
|
|
2006-04-20 Volker Reichelt
|
389 |
|
|
|
390 |
|
|
PR mudflap/26789
|
391 |
|
|
* tree-mudflap.c (mudflap_finish_file): Skip function when there were
|
392 |
|
|
errors.
|
393 |
|
|
|
394 |
|
|
2006-04-20 Kaz Kojima
|
395 |
|
|
|
396 |
|
|
PR target/27182
|
397 |
|
|
* config/sh/sh.md (movsicc_true+3): Tweak condition for the case
|
398 |
|
|
that the last insn has the REG_INC note.
|
399 |
|
|
|
400 |
|
|
2006-04-19 Jeff Law
|
401 |
|
|
|
402 |
|
|
PR tree-optimization/26854
|
403 |
|
|
* tree-ssa-dse.c (dse_optimize_stmt): Use has_single_use rather
|
404 |
|
|
than num_imm_uses.
|
405 |
|
|
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Similarly.
|
406 |
|
|
|
407 |
|
|
2006-04-18 Jeff Law
|
408 |
|
|
|
409 |
|
|
PR tree-optimization/27087
|
410 |
|
|
* tree-ssa-copy.c (may_propagate_copy): Test flow sensitive
|
411 |
|
|
alias information too.
|
412 |
|
|
|
413 |
|
|
2006-04-18 Andreas Krebbel
|
414 |
|
|
|
415 |
|
|
* builtins.c (expand_builtin_strcmp): Cover label definition of
|
416 |
|
|
do_libcall with HAVE_cmpstrnsi.
|
417 |
|
|
|
418 |
|
|
2006-04-18 Paolo Bonzini
|
419 |
|
|
|
420 |
|
|
PR tree-optimization/26643
|
421 |
|
|
|
422 |
|
|
Backport from mainline:
|
423 |
|
|
2006-03-29 Zdenek Dvorak
|
424 |
|
|
|
425 |
|
|
PR tree-optimization/26643
|
426 |
|
|
* tree-ssa-loop-ivopts.c (find_interesting_uses_address): Do not handle
|
427 |
|
|
bit_field_refs.
|
428 |
|
|
|
429 |
|
|
2006-04-18 Paolo Bonzini
|
430 |
|
|
|
431 |
|
|
PR tree-optimization/26821
|
432 |
|
|
|
433 |
|
|
Backport from mainline:
|
434 |
|
|
|
435 |
|
|
2006-04-18 Paolo Bonzini
|
436 |
|
|
|
437 |
|
|
PR tree-optimization/26821
|
438 |
|
|
* tree-ssa-math-opts.c (get_constant_one): New.
|
439 |
|
|
(insert_reciprocals): Use it.
|
440 |
|
|
|
441 |
|
|
2006-02-02 Paolo Bonzini
|
442 |
|
|
|
443 |
|
|
* tree-flow-inline.h (bsi_after_labels): Rewrite, return
|
444 |
|
|
what its name says.
|
445 |
|
|
* lambda-code.c (perfect_nestify): Use bsi_insert_before on
|
446 |
|
|
bsi_after_labels iterator.
|
447 |
|
|
* tree-if-conv.c (find_phi_replacement_condition,
|
448 |
|
|
replace_phi_with_cond_modify_expr): Likewise.
|
449 |
|
|
* tree-scalar-evolution.c (scev_const_prop): Likewise.
|
450 |
|
|
* tree-ssa-loop-ivopts.c (compute_phi_arg_on_exit): Likewise.
|
451 |
|
|
|
452 |
|
|
2006-04-18 Alan Modra
|
453 |
|
|
|
454 |
|
|
PR middle-end/27095
|
455 |
|
|
* builtins.c (expand_builtin_memset): Stabilize args before expansion
|
456 |
|
|
and emit libcall here in case the builtin fails.
|
457 |
|
|
(expand_builtin_strcmp): Always emit the libcall here on failure.
|
458 |
|
|
|
459 |
|
|
2006-04-16 Uros Bizjak
|
460 |
|
|
|
461 |
|
|
PR middle-end/27134
|
462 |
|
|
* builtins.c (expand_builtin_int_roundingfn): Use expand_expr()
|
463 |
|
|
to expand fallback builtin function call.
|
464 |
|
|
|
465 |
|
|
2006-04-14 Alexey Starovoytov
|
466 |
|
|
Eric Botcazou
|
467 |
|
|
|
468 |
|
|
* config/sparc/sparc.c (emit_and_preserve): Allocate space for the
|
469 |
|
|
register save area.
|
470 |
|
|
|
471 |
|
|
2006-04-13 Paolo Bonzini
|
472 |
|
|
Ulrich Weigand
|
473 |
|
|
|
474 |
|
|
PR target/27006
|
475 |
|
|
* config/rs6000/rs6000.h (EASY_VECTOR_15_ADD_SELF): Require n
|
476 |
|
|
to be even.
|
477 |
|
|
|
478 |
|
|
2006-04-13 Alan Modra
|
479 |
|
|
|
480 |
|
|
PR target/26459
|
481 |
|
|
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't
|
482 |
|
|
optimize to lo_sum for DFmode if !TARGET_FPRS.
|
483 |
|
|
|
484 |
|
|
2006-04-07 Jan Hubicka
|
485 |
|
|
|
486 |
|
|
* ipa-inline.c (cgraph_early_inlining): Collect garbage.
|
487 |
|
|
|
488 |
|
|
2006-04-11 Mark Mitchell
|
489 |
|
|
|
490 |
|
|
PR target/26459
|
491 |
|
|
* config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Test
|
492 |
|
|
rs6000_explicit_options.float_gprs.
|
493 |
|
|
|
494 |
|
|
2006-04-10 Eric Botcazou
|
495 |
|
|
|
496 |
|
|
* doc/install.texi (*-*-solaris2*): Point to the configure page.
|
497 |
|
|
|
498 |
|
|
2006-04-10 Jakub Jelinek
|
499 |
|
|
|
500 |
|
|
PR debug/27057
|
501 |
|
|
* dwarf2out.c (is_symbol_die): Return true also for namespaces.
|
502 |
|
|
|
503 |
|
|
2006-04-09 John David Anglin
|
504 |
|
|
|
505 |
|
|
PR target/26508
|
506 |
|
|
* config.gcc (hppa*64*-*-hpux11*): Add 'libgcc_stub.a' to extra_parts.
|
507 |
|
|
* pa64-hpux.h (LIB_SPEC): Don't append milli.a.
|
508 |
|
|
(LINK_GCC_C_SEQUENCE_SPEC): Define. Append milli.a here.
|
509 |
|
|
(PA_CXA_FINALIZE_STUB, PA_JV_REGISTERCLASSES_STUB): Delete defines.
|
510 |
|
|
(PA_INIT_FINI_HACK): Rename to PA_CRTBEGIN_HACK.
|
511 |
|
|
(PA_CRTBEGIN_HACK): Ensure __do_global_ctors_aux is placed in text
|
512 |
|
|
section. Delete PA_CXA_FINALIZE_STUB and PA_JV_REGISTERCLASSES_STUB
|
513 |
|
|
stubs. Add ".align 8" directives before all ".dword" directives.
|
514 |
|
|
(GTHREAD_USE_WEAK): Revise comment.
|
515 |
|
|
(TARGET_ATTRIBUTE_WEAK): Define.
|
516 |
|
|
* pa/t-pa64 (LIBGCCSTUB_OBJS): Add new rules for stublib.c, rfi-stub.o,
|
517 |
|
|
dfi-stub.o, cxaf-stub.o and jvrc-stub.o.
|
518 |
|
|
* stublib.c: New file.
|
519 |
|
|
|
520 |
|
|
2006-04-09 Gerald Pfeifer
|
521 |
|
|
|
522 |
|
|
* doc/install.texi (Prerequisites): Refine some wording on
|
523 |
|
|
bootstrapping and ksh.
|
524 |
|
|
Move the version numbers of DejaGnu here from the testing section
|
525 |
|
|
and fix casing of names.
|
526 |
|
|
Fix markup and clarify wording for autogen requirements.
|
527 |
|
|
Refer to GCJ instead of just java.
|
528 |
|
|
Refer to SVN instead of CVS.
|
529 |
|
|
Describe diffutils as useful instead of necessary.
|
530 |
|
|
(Downloading the source): Refer to SVN instead of CVS.
|
531 |
|
|
Adjust a link to our web site accordingly.
|
532 |
|
|
(Configuration): Fix casing of Bison.
|
533 |
|
|
(Specific): Avoid reference to CVS.
|
534 |
|
|
(Building): Refer to SVN instead of CVS.
|
535 |
|
|
Fix a sentence on the use of Bison and remove duplicate (and
|
536 |
|
|
incorrect) version number of Bison requirement.
|
537 |
|
|
|
538 |
|
|
2006-04-08 Matthias Klose
|
539 |
|
|
|
540 |
|
|
* Makefile.in (unprotoize.o): Same dependencies as for protoize.o.
|
541 |
|
|
|
542 |
|
|
2006-04-07 Richard Guenther
|
543 |
|
|
|
544 |
|
|
PR tree-optimization/26919
|
545 |
|
|
* ipa-inline.c (cgraph_decide_inlining_incrementally): Fix argument
|
546 |
|
|
to cgraph_estimate_size_after_inlining.
|
547 |
|
|
|
548 |
|
|
2006-04-05 Sebastian Pop
|
549 |
|
|
|
550 |
|
|
PR tree-optimization/26996
|
551 |
|
|
* tree-scalar-evolution.c (analyze_scalar_evolution_1): Don't analyze
|
552 |
|
|
VECTOR_TYPE variables.
|
553 |
|
|
|
554 |
|
|
2006-04-05 Richard Guenther
|
555 |
|
|
|
556 |
|
|
PR tree-optimization/26763
|
557 |
|
|
* fold-const.c (fold_binary): Fold PTR + CST CMP PTR + CST
|
558 |
|
|
only for EQ_EXPR and NE_EXPR.
|
559 |
|
|
|
560 |
|
|
2006-04-04 Paul Brook
|
561 |
|
|
|
562 |
|
|
Backport form mainline.
|
563 |
|
|
2006-01-14 Zdenek Dvorak
|
564 |
|
|
* tree-ssa-loop-niter.c (number_of_iterations_cond): Split into several
|
565 |
|
|
functions.
|
566 |
|
|
(number_of_iterations_ne, number_of_iterations_lt_to_ne,
|
567 |
|
|
assert_no_overflow_lt, assert_loop_rolls_lt, number_of_iterations_lt,
|
568 |
|
|
number_of_iterations_le): New functions.
|
569 |
|
|
(number_of_iterations_special): Removed.
|
570 |
|
|
(number_of_iterations_exit): Do not use number_of_iterations_special.
|
571 |
|
|
* tree.c (unsigned_type_for): Always return integer type.
|
572 |
|
|
|
573 |
|
|
2005-01-06 Zdenek Dvorak
|
574 |
|
|
PR tree-optimization/18527
|
575 |
|
|
* tree-ssa-loop-niter.c (number_of_iterations_cond,
|
576 |
|
|
number_of_iterations_special, number_of_iterations_exit):
|
577 |
|
|
Move base and step of an iv to a single structure. Add
|
578 |
|
|
no_overflow flag, and use it in # of iterations analysis.
|
579 |
|
|
* tree-scalar-evolution.c (analyze_scalar_evolution_in_loop): Add
|
580 |
|
|
folded_casts argument.
|
581 |
|
|
(simple_iv): Pass base and step in a structure. Set no_overflow
|
582 |
|
|
flag.
|
583 |
|
|
(scev_const_prop): Add argument to analyze_scalar_evolution_in_loop.
|
584 |
|
|
Evaluate expensiveness of computing # of iterations instead of
|
585 |
|
|
the final expression.
|
586 |
|
|
* tree-scalar-evolution.h (affine_iv): New structure.
|
587 |
|
|
(simple_iv): Declaration changed.
|
588 |
|
|
* tree-chrec.c (chrec_apply): Handle chrecs containing symbols.
|
589 |
|
|
* tree-ssa-loop-ivopts.c (determine_biv_step, find_givs_in_stmt_scev,
|
590 |
|
|
find_givs_in_stmt): Changed due to simple_iv change.
|
591 |
|
|
|
592 |
|
|
2006-04-03 Paolo Bonzini
|
593 |
|
|
|
594 |
|
|
PR tree-optimization/26830
|
595 |
|
|
* tree-cfg.c (tree_duplicate_sese_region): Do not update SSA.
|
596 |
|
|
* tree-ssa-loop-ch.c (copy_loop_headers): Count successfully duplicated
|
597 |
|
|
headers and, if there was any, update SSA at the end.
|
598 |
|
|
|
599 |
|
|
Backport from mainline:
|
600 |
|
|
2006-03-30 Paolo Bonzini
|
601 |
|
|
|
602 |
|
|
* tree-ssa-copy.c (copy_prop_visit_assignment): Do not check loop depth.
|
603 |
|
|
(copy_prop_visit_stmt): Remove write-only variable ann.
|
604 |
|
|
(init_copy_prop): Check variable loop depth here. Do not simulate
|
605 |
|
|
memory-tag and virtual operand PHIs except for store copy prop.
|
606 |
|
|
|
607 |
|
|
|
608 |
|
|
2006-03-31 H.J. Lu
|
609 |
|
|
|
610 |
|
|
PR testsuite/25741
|
611 |
|
|
Backport from mainline
|
612 |
|
|
2006-01-16 H.J. Lu
|
613 |
|
|
|
614 |
|
|
* Makefile.in (check-%): Depend on site.exp instead of
|
615 |
|
|
$(TESTSUITEDIR)/site.exp. Run "runtest" in separate language
|
616 |
|
|
directories.
|
617 |
|
|
|
618 |
|
|
2006-01-17 Shantonu Sen
|
619 |
|
|
|
620 |
|
|
* Makefile.in (check-%, check-consistency): Use $${srcdir}
|
621 |
|
|
instead of $(srcdir) and ${srcdir}.
|
622 |
|
|
|
623 |
|
|
2006-03-31 Richard Guenther
|
624 |
|
|
|
625 |
|
|
PR bootstrap/26936
|
626 |
|
|
Backport from mainline.
|
627 |
|
|
2006-02-25 Juergen Weigert
|
628 |
|
|
Richard Guenther
|
629 |
|
|
|
630 |
|
|
* scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.
|
631 |
|
|
|
632 |
|
|
2006-03-31 Alan Modra
|
633 |
|
|
|
634 |
|
|
PR target/26459
|
635 |
|
|
* config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Limit 2003-12-08
|
636 |
|
|
change to FLOAT_REGS.
|
637 |
|
|
|
638 |
|
|
* config/rs6000/rs6000.c (rs6000_explicit_options): Add ieee.
|
639 |
|
|
(rs6000_override_options): Use it.
|
640 |
|
|
(rs6000_handle_option): Set it. Set rs6000_explicit_options.abi
|
641 |
|
|
only for -mabi=spe/no-spe and -mabi=altivec.
|
642 |
|
|
|
643 |
|
|
2006-03-30 Jie Zhang
|
644 |
|
|
|
645 |
|
|
* config/bfin/bfin.c (single_move_for_strmov): Renamed to...
|
646 |
|
|
(single_move_for_movmem): ... this. Also change all uses.
|
647 |
|
|
(bfin_expand_strmov): Renamed to...
|
648 |
|
|
(bfin_expand_movmem): ... this. Also change all uses.
|
649 |
|
|
* config/bfin/bfin.md (movstrsi): Renamed to...
|
650 |
|
|
(movstrsi): ...this.
|
651 |
|
|
|
652 |
|
|
2006-03-28 Daniel Berlin
|
653 |
|
|
|
654 |
|
|
* tree-ssa-alias.c (create_sft): Initially inherit TREE_ADDRESSABLE
|
655 |
|
|
from parent_var.
|
656 |
|
|
|
657 |
|
|
2006-03-27 Alan Modra
|
658 |
|
|
|
659 |
|
|
PR target/26459
|
660 |
|
|
* config/rs6000/rs6000.md (DF reg move peephole): Prevent
|
661 |
|
|
peephole removing spe frob_di_df_2.
|
662 |
|
|
|
663 |
|
|
2006-03-24 Alan Modra
|
664 |
|
|
|
665 |
|
|
PR target/26607
|
666 |
|
|
* config/rs6000/darwin-ldouble.c: Don't compile when __NO_FPRS__
|
667 |
|
|
or __LITTLE_ENDIAN__.
|
668 |
|
|
|
669 |
|
|
2006-03-23 Richard Henderson
|
670 |
|
|
|
671 |
|
|
* config/alpha/alpha.c (alpha_legitimate_constant_p): Reject
|
672 |
|
|
tls symbols.
|
673 |
|
|
|
674 |
|
|
PR target/26347
|
675 |
|
|
* config/alpha/predicates.md (local_symbolic_operand): Reject
|
676 |
|
|
weak symbols.
|
677 |
|
|
|
678 |
|
|
2006-03-22 Jie Zhang
|
679 |
|
|
|
680 |
|
|
* config/bfin/bfin.h (ASM_FORMAT_PRIVATE_NAME): Remove.
|
681 |
|
|
|
682 |
|
|
2006-03-21 Jason Merrill
|
683 |
|
|
|
684 |
|
|
* builtins.c (expand_builtin_fork_or_exec): Fix pasto.
|
685 |
|
|
|
686 |
|
|
PR middle-end/20297
|
687 |
|
|
* expr.c (init_block_move_fn): Force default visibility.
|
688 |
|
|
(init_block_clear_fn): Likewise.
|
689 |
|
|
* builtins.c (expand_builtin_fork_or_exec): Likewise.
|
690 |
|
|
* targhooks.c (default_external_stack_protect_fail): Likewise.
|
691 |
|
|
|
692 |
|
|
2006-03-16 David Edelsohn
|
693 |
|
|
|
694 |
|
|
Backport from mainline.
|
695 |
|
|
* config/rs6000/rs6000.c (rs6000_init_builtins): Change
|
696 |
|
|
decl libname for clog to __clog on AIX.
|
697 |
|
|
|
698 |
|
|
2006-03-16 Steve Ellcey
|
699 |
|
|
|
700 |
|
|
PR target/25917
|
701 |
|
|
Backport from mainline.
|
702 |
|
|
* config/ia64/predicates.md (extr_len_operand): New predicate.
|
703 |
|
|
* config/ia64/ia64.md (extv): Tighten constraints.
|
704 |
|
|
(extzv): Ditto.
|
705 |
|
|
(*tbit_and_2): Ditto.
|
706 |
|
|
(*tbit_and_3): Ditto.
|
707 |
|
|
(*tbit_or_2): Ditto.
|
708 |
|
|
(*tbit_or_3): Ditto.
|
709 |
|
|
(*bit_zero): Ditto.
|
710 |
|
|
(*bit_one): Ditto.
|
711 |
|
|
|
712 |
|
|
2006-03-16 Paul Brook
|
713 |
|
|
|
714 |
|
|
Backport from mainline.
|
715 |
|
|
* gcc/config/arm/arm.c (minipool_pad): New.
|
716 |
|
|
(add_minipool_forward_ref): Include pool alignment padding in address
|
717 |
|
|
calculation.
|
718 |
|
|
(push_minipool_fix): Set minipool_pad.
|
719 |
|
|
(minipool_pad): Ditto.
|
720 |
|
|
|
721 |
|
|
2006-03-14 Roger Sayle
|
722 |
|
|
|
723 |
|
|
PR middle-end/19543
|
724 |
|
|
Backport from mainline.
|
725 |
|
|
* varasm.c (compare_constant) : Integer constants are
|
726 |
|
|
only equivalent if the have both the same mode and precision.
|
727 |
|
|
|
728 |
|
|
2006-03-14 Roger Sayle
|
729 |
|
|
|
730 |
|
|
PR other/26489
|
731 |
|
|
Backport from mainline.
|
732 |
|
|
* gthr-posix.h (__gthrw2): Define to take three parameters, the
|
733 |
|
|
declared name, the weak reference name, and the typeof name.
|
734 |
|
|
(__gthrw): Avoid expanding the declared name suffix.
|
735 |
|
|
(__gthrw3): New Tru64 specific macro to simplify the OSF/1 decls.
|
736 |
|
|
|
737 |
|
|
2006-03-14 Roger Sayle
|
738 |
|
|
|
739 |
|
|
PR middle-end/26557
|
740 |
|
|
* stmt.c (emit_case_nodes): Handle the case where the index is a
|
741 |
|
|
CONST_INT, where the comparison mode is specified by the index type.
|
742 |
|
|
|
743 |
|
|
2006-03-14 John David Anglin
|
744 |
|
|
|
745 |
|
|
* pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Fix typo.
|
746 |
|
|
|
747 |
|
|
2006-03-14 Richard Guenther
|
748 |
|
|
|
749 |
|
|
PR tree-optimization/26672
|
750 |
|
|
* tree-ssa-propagate.c (set_rhs): Don't walk DEFs if not in
|
751 |
|
|
SSA form.
|
752 |
|
|
|
753 |
|
|
2006-03-13 John David Anglin
|
754 |
|
|
|
755 |
|
|
* pa/pa32-linux.h (CRT_CALL_STATIC_FUNCTION): Define when CRTSTUFFS_O
|
756 |
|
|
is defined.
|
757 |
|
|
|
758 |
|
|
2006-03-13 Jie Zhang
|
759 |
|
|
|
760 |
|
|
* config/bfin/uclinux.h: Define _GNU_SOURCE in CPLUSPLUS_CPP_SPEC.
|
761 |
|
|
|
762 |
|
|
2006-03-13 Bernd Schmidt
|
763 |
|
|
|
764 |
|
|
* config/bfin/lib1funcs.asm (___umodsi3): Use stack to save contents
|
765 |
|
|
of RETS.
|
766 |
|
|
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): If
|
767 |
|
|
TARGET_ID_SHARED_LIBRARY, define __ID_SHARED_LIB__.
|
768 |
|
|
* config/bfin/crti.S: Use it instead of __PIC__.
|
769 |
|
|
* config/bfin/crtn.S: Likewise.
|
770 |
|
|
|
771 |
|
|
* config/bfin/bfin.md (call_value_symbol, sibcall_value_symbol,
|
772 |
|
|
call_symbol, sibcall_symbol): Disallow if TARGET_ID_SHARED_LIBRARY,
|
773 |
|
|
not if flag_pic.
|
774 |
|
|
Lose 'G' modifier for call operand.
|
775 |
|
|
* config/bfin/bfin.c (print_operand) : Don't
|
776 |
|
|
recognize 'G' modifier.
|
777 |
|
|
|
778 |
|
|
2006-03-13 Eric Botcazou
|
779 |
|
|
|
780 |
|
|
PR middle-end/18859
|
781 |
|
|
* stmt.c (expand_case): Discard empty ranges.
|
782 |
|
|
|
783 |
|
|
2006-03-10 Jason Merrill
|
784 |
|
|
|
785 |
|
|
PR c/26004
|
786 |
|
|
* gimplify.c (gimplify_modify_expr_rhs): Don't do return slot opt if
|
787 |
|
|
the target was declared 'register'.
|
788 |
|
|
|
789 |
|
|
2006-03-09 Roger Sayle
|
790 |
|
|
|
791 |
|
|
PR tree-optimization/26524
|
792 |
|
|
* tree-scalar-evolution.c (interpret_rhs_modify_expr): Use
|
793 |
|
|
fold_convert to create a constant of the appropriate type.
|
794 |
|
|
|
795 |
|
|
2006-03-07 Richard Guenther
|
796 |
|
|
|
797 |
|
|
PR tree-optimization/26587
|
798 |
|
|
* tree-ssa-structalias.c (handle_ptr_arith): Handle MINUS_EXPR.
|
799 |
|
|
|
800 |
|
|
2006-03-03 Steve Ellcey
|
801 |
|
|
|
802 |
|
|
PR rtl-optimization/26345
|
803 |
|
|
PR target/19061
|
804 |
|
|
* config/ia64/predicates.md (basereg_operand): Don't look in subregs.
|
805 |
|
|
|
806 |
|
|
2006-03-02 Alan Modra
|
807 |
|
|
|
808 |
|
|
PR target/26453
|
809 |
|
|
* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
|
810 |
|
|
output traceback table for thunks. Localise rs6000_stack_info call.
|
811 |
|
|
|
812 |
|
|
2006-02-28 David Edelsohn
|
813 |
|
|
|
814 |
|
|
* doc/install.texi: Require GNU tar version 1.14.
|
815 |
|
|
|
816 |
|
|
2006-02-28 Mark Mitchell
|
817 |
|
|
|
818 |
|
|
* BASE-VER: 4.1.1.
|
819 |
|
|
* DEV-PHASE: Prerelease.
|
820 |
|
|
|
821 |
|
|
2006-02-28 Release Manager
|
822 |
|
|
|
823 |
|
|
* GCC 4.1.0 released.
|
824 |
|
|
|
825 |
|
|
2006-02-23 Mark Mitchell
|
826 |
|
|
|
827 |
|
|
Backport:
|
828 |
|
|
2006-02-20 Roger Sayle
|
829 |
|
|
* gthr-posix.h: On Tru64, map __gthr_foo as a weak reference to
|
830 |
|
|
__foo and not foo when _PTHREAD_USE_MANGLED_NAMES_ is defined.
|
831 |
|
|
|
832 |
|
|
2006-02-23 Mark Mitchell
|
833 |
|
|
|
834 |
|
|
Backport:
|
835 |
|
|
2006-02-21 Jakub Jelinek
|
836 |
|
|
PR middle-end/26379
|
837 |
|
|
* combine.c (simplify_shift_const_1): Disable nested shifts
|
838 |
|
|
optimization for vector shifts.
|
839 |
|
|
|
840 |
|
|
2006-02-23 Mark Mitchell
|
841 |
|
|
|
842 |
|
|
Backport:
|
843 |
|
|
2006-02-16 Denis Nagorny
|
844 |
|
|
PR rtl-optimization/25603
|
845 |
|
|
* reload.c (reg_inc_found_and_valid_p): New. Check REG_INC note.
|
846 |
|
|
(regno_clobbered_p): Use it. Reusing SETS argument for REG_INC case.
|
847 |
|
|
* reload1.c (choose_reload_regs): Added call of regno_clobbered_p
|
848 |
|
|
with new meaning of SETS.
|
849 |
|
|
|
850 |
|
|
2006-02-19 John David Anglin
|
851 |
|
|
|
852 |
|
|
* doc/install.texi: Add missing `@samp'.
|
853 |
|
|
|
854 |
|
|
2006-02-19 David Edelsohn
|
855 |
|
|
|
856 |
|
|
PR target/26350
|
857 |
|
|
* config/rs6000/rs6000.md (extenddftf2): Force 0.0 to validized
|
858 |
|
|
MEM for ABI_V4 pic.
|
859 |
|
|
|
860 |
|
|
2006-02-18 Mark Wielaard
|
861 |
|
|
|
862 |
|
|
* doc/contrib.texi (Contributors): Add classpath/libgcj hackers
|
863 |
|
|
who added new 4.1 features, bug fixes and integration support.
|
864 |
|
|
|
865 |
|
|
2006-02-18 John David Anglin
|
866 |
|
|
|
867 |
|
|
* doc/install.texi (hppa*-hp-hpux*): Update for 4.1.0.
|
868 |
|
|
|
869 |
|
|
2006-02-18 Olivier Hainque
|
870 |
|
|
|
871 |
|
|
PR ada/13408
|
872 |
|
|
* pa.h (WIDEST_HARDWARE_FP_SIZE): Define.
|
873 |
|
|
|
874 |
|
|
2006-02-18 Jakub Jelinek
|
875 |
|
|
|
876 |
|
|
PR middle-end/26334
|
877 |
|
|
* stmt.c (decl_overlaps_hard_reg_set_p): Use DECL_HARD_REGISTER
|
878 |
|
|
instead of DECL_REGISTER.
|
879 |
|
|
|
880 |
|
|
2006-02-17 Roger Sayle
|
881 |
|
|
Richard Sandiford
|
882 |
|
|
|
883 |
|
|
PR target/22209
|
884 |
|
|
* config/mips/mips.h (MIN_UNITS_PER_WORD): Don't define for libgcc.
|
885 |
|
|
* config/mips/_tilib.c: Remove.
|
886 |
|
|
* config/fixtfdi.c: New libgcc source file.
|
887 |
|
|
* config/fixunstfdi.c: New source file.
|
888 |
|
|
* config/floatditf.c: New source file.
|
889 |
|
|
* config/floatunditf.c: New souce file.
|
890 |
|
|
* config/mips/t-iris6 (LIB2FUNCS_EXTRA): Include the new source
|
891 |
|
|
files above instead of config/mips/_tilib.c.
|
892 |
|
|
* config/mips/t-linux64 (LIB2FUNCS_EXTRA): Likewise.
|
893 |
|
|
|
894 |
|
|
2006-02-17 Jakub Jelinek
|
895 |
|
|
|
896 |
|
|
PR middle-end/26300
|
897 |
|
|
* combine.c (make_extraction): Bail out if ORIG_POS is negative.
|
898 |
|
|
|
899 |
|
|
2005-02-16 Zdenek Dvorak
|
900 |
|
|
|
901 |
|
|
PR tree-optimization/26209
|
902 |
|
|
* tree-ssa-loop.c (pass_scev_cprop): Add TODO_cleanup_cfg.
|
903 |
|
|
* tree-cfgcleanup.c (cleanup_control_flow): Remove dead
|
904 |
|
|
eh edges.
|
905 |
|
|
* tree-cfg.c (replace_uses_by): Do not alter cfg.
|
906 |
|
|
|
907 |
|
|
* tree-cfgcleanup.c (cleanup_tree_cfg_loop): Call scev_reset if cfg
|
908 |
|
|
changes.
|
909 |
|
|
* Makefile.in (tree-cfgcleanup.o): Add SCEV_H dependency.
|
910 |
|
|
|
911 |
|
|
2006-02-15 J"orn Rennecke
|
912 |
|
|
|
913 |
|
|
PR middle-end/25335
|
914 |
|
|
* reload1.c (gen_reload): Also use find_replacement in UNARY_P case.
|
915 |
|
|
|
916 |
|
|
2006-02-15 Hans-Peter Nilsson
|
917 |
|
|
|
918 |
|
|
PR target/23424
|
919 |
|
|
* config/cris/predicates.md ("cris_bdap_sign_extend_operand"):
|
920 |
|
|
Reenable.
|
921 |
|
|
|
922 |
|
|
2006-02-14 John David Anglin
|
923 |
|
|
|
924 |
|
|
PR target/26255
|
925 |
|
|
* pa.md: Create separate HI and QI move patterns for 32-bit and 64-bit
|
926 |
|
|
with hardware float support, and software float support. Add fcpy
|
927 |
|
|
alternative to hardware patterns. Add alternatives to copy between
|
928 |
|
|
general and floating-point registers to the 32-bit pattern.
|
929 |
|
|
* pa32-regs.h (VALID_FP_MODE_P): Allow QImode and HImode.
|
930 |
|
|
* pa64-regs.h (VALID_FP_MODE_P): Likewise.
|
931 |
|
|
|
932 |
|
|
2006-02-14 Rainer Orth
|
933 |
|
|
|
934 |
|
|
PR bootstrap/26053
|
935 |
|
|
* configure.ac (HAVE_COMDAT_GROUP): Don't assume non-GNU linkers
|
936 |
|
|
support COMDAT group.
|
937 |
|
|
* configure: Regenerate.
|
938 |
|
|
|
939 |
|
|
2006-02-14 Michael Matz
|
940 |
|
|
|
941 |
|
|
PR middle-end/22275
|
942 |
|
|
|
943 |
|
|
* stor-layout.c (layout_decl): Zero-width bitfields aren't
|
944 |
|
|
influenced by maximum_field_alignment or DECL_PACKED.
|
945 |
|
|
(update_alignment_for_field): Ditto.
|
946 |
|
|
(place_field): Ditto.
|
947 |
|
|
* doc/extend.texi (<#pragma pack>, ): Document
|
948 |
|
|
this behaviour.
|
949 |
|
|
|
950 |
|
|
2006-02-14 Michael Matz
|
951 |
|
|
|
952 |
|
|
* tree-ssa-structalias.c: Include .
|
953 |
|
|
* Makefile.in (tree-ssa-structalias.o): Adjust dependencies.
|
954 |
|
|
|
955 |
|
|
2006-02-14 Daniel Berlin
|
956 |
|
|
|
957 |
|
|
Fix PR tree-optimization/26260
|
958 |
|
|
|
959 |
|
|
* doc/invoke.texi (max-fields-for-field-sensitive): Document
|
960 |
|
|
param.
|
961 |
|
|
* params.h (MAX_FIELDS_FOR_FIELD_SENSITIVE): New.
|
962 |
|
|
* params.def (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE): Ditto.
|
963 |
|
|
* tree-ssa-structalias.c (create_variable_info_for): Use
|
964 |
|
|
MAX_FIELDS_FOR_FIELD_SENSITIVE.
|
965 |
|
|
|
966 |
|
|
2006-02-14 J"orn Rennecke
|
967 |
|
|
|
968 |
|
|
PR target/26141
|
969 |
|
|
* sh.c (sh_gimplify_va_arg_expr): Don't change the result type when
|
970 |
|
|
computing the effective result type.
|
971 |
|
|
|
972 |
|
|
2006-02-14 J"orn Rennecke
|
973 |
|
|
|
974 |
|
|
PR inline-asm/16194
|
975 |
|
|
* tree.h (decl_overlaps_hard_reg_set_p) Don't declare.
|
976 |
|
|
(tree_overlaps_hard_reg_set): Declare.
|
977 |
|
|
* stmt.c (decl_overlaps_hard_reg_set_p): Now static. Change return
|
978 |
|
|
type and signature to match function type expected by walk_tree.
|
979 |
|
|
(tree_overlaps_hard_reg_set): New function.
|
980 |
|
|
(decl_conflicts_with_clobbers_p): Rename to:
|
981 |
|
|
(tree_conflicts_with_clobbers_p). Take HARD_REG_SET * argument.
|
982 |
|
|
Use tree_overlaps_hard_reg_set. Changed caller.
|
983 |
|
|
* doc/tm.texi (TARGET_MD_ASM_CLOBBERS): Replace
|
984 |
|
|
decl_overlaps_hard_reg_set_p with tree_overlaps_hard_reg_set.
|
985 |
|
|
* cris.c (cris_md_asm_clobbers): Likewise.
|
986 |
|
|
|
987 |
|
|
2006-02-14 Richard Guenther
|
988 |
|
|
|
989 |
|
|
PR tree-optimization/26258
|
990 |
|
|
* tree-ssa-structalias.c (find_func_aliases): Handle aggregates
|
991 |
|
|
in PHI argument processing.
|
992 |
|
|
|
993 |
|
|
2006-02-13 John David Anglin
|
994 |
|
|
|
995 |
|
|
* pa/quadlib.c: Use defines instead of enum qfcmp_magic.
|
996 |
|
|
|
997 |
|
|
2006-02-13 Jakub Jelinek
|
998 |
|
|
|
999 |
|
|
PR middle-end/26092
|
1000 |
|
|
* gimplify.c (gimplify_call_expr): Don't call get_callee_fndecl
|
1001 |
|
|
twice if decl is a builtin. When trying again, call get_callee_fndecl
|
1002 |
|
|
first to verify it is still a builtin.
|
1003 |
|
|
|
1004 |
|
|
2006-02-11 Jason Merrill
|
1005 |
|
|
|
1006 |
|
|
PR tree-opt/24365
|
1007 |
|
|
* tree-inline.c (declare_return_variable): Just don't use the
|
1008 |
|
|
modify target if it's a gimple complex reg and the return slot
|
1009 |
|
|
isn't.
|
1010 |
|
|
|
1011 |
|
|
2006-02-11 David Edelsohn
|
1012 |
|
|
|
1013 |
|
|
* doc/invoke.texi (xl-compat): Document conversion and support
|
1014 |
|
|
routine names.
|
1015 |
|
|
|
1016 |
|
|
2006-02-11 Kaveh R. Ghazi
|
1017 |
|
|
|
1018 |
|
|
* doc/contrib.texi: Update my entry.
|
1019 |
|
|
|
1020 |
|
|
2006-02-11 Jakub Jelinek
|
1021 |
|
|
|
1022 |
|
|
PR target/25864
|
1023 |
|
|
Backport from mainline
|
1024 |
|
|
|
1025 |
|
|
2006-02-06 Aldy Hernandez
|
1026 |
|
|
|
1027 |
|
|
* config/s390/s390.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
|
1028 |
|
|
(s390_mangle_fundamental_type): New.
|
1029 |
|
|
* config/s390/linux.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
|
1030 |
|
|
Define.
|
1031 |
|
|
|
1032 |
|
|
* config/alpha/alpha.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
|
1033 |
|
|
(alpha_mangle_fundamental_type): New.
|
1034 |
|
|
* config/alpha/linux.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
|
1035 |
|
|
Define.
|
1036 |
|
|
|
1037 |
|
|
* config/sparc/linux.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
|
1038 |
|
|
Define.
|
1039 |
|
|
* config/sparc/linux64.h (TARGET_ALTERNATE_LONG_DOUBLE_MANGLING):
|
1040 |
|
|
Define.
|
1041 |
|
|
* config/sparc/sparc.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Define.
|
1042 |
|
|
(sparc_mangle_fundamental_type): New.
|
1043 |
|
|
|
1044 |
|
|
2006-02-10 Jakub Jelinek
|
1045 |
|
|
|
1046 |
|
|
PR target/25864
|
1047 |
|
|
Backport from mainline
|
1048 |
|
|
|
1049 |
|
|
2006-02-04 David Edelsohn
|
1050 |
|
|
Jakub Jelinek
|
1051 |
|
|
|
1052 |
|
|
* config/rs6000/rs6000.c (rs6000_mangle_fundamental_type): Mangle
|
1053 |
|
|
IBM extended float format long double as "g" on powerpc*-linux.
|
1054 |
|
|
|
1055 |
|
|
2006-02-01 Jakub Jelinek
|
1056 |
|
|
|
1057 |
|
|
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): For
|
1058 |
|
|
-msoft-float -mlong-double-128 only issue a warning, but don't
|
1059 |
|
|
swich to DFmode long double.
|
1060 |
|
|
|
1061 |
|
|
2006-01-28 David Edelsohn
|
1062 |
|
|
|
1063 |
|
|
* config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
|
1064 |
|
|
and -mlong-double-128 are incompatible.
|
1065 |
|
|
* config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Same.
|
1066 |
|
|
* config/rs6000/t-aix43 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
|
1067 |
|
|
(TARGET_LIBGCC2_CFLAGS): Define.
|
1068 |
|
|
* config/rs6000/t-aix52 (LIB2FUNCS_EXTRA): Same.
|
1069 |
|
|
(TARGET_LIBGCC2_CFLAGS): Same.
|
1070 |
|
|
* config/rs6000/ppc64-fp.c: Compile for 64-bit AIX.
|
1071 |
|
|
|
1072 |
|
|
2006-01-27 Jakub Jelinek
|
1073 |
|
|
|
1074 |
|
|
* libgcc-std.ver: Add GCC_4.1.0 symbol version.
|
1075 |
|
|
* config/rs6000/t-linux64 (TARGET_LIBGCC2_CFLAGS): Only append
|
1076 |
|
|
-mno-minimal-toc to previous content.
|
1077 |
|
|
(bispecs): Remove goal.
|
1078 |
|
|
* config/rs6000/ppc64-fp.c: Define TMODES before including fp-bit.h.
|
1079 |
|
|
* config/rs6000/darwin-ldouble.c: Don't provide _xlq*@GCC_3.4
|
1080 |
|
|
compatibility aliases on powerpc-*-*gnu*.
|
1081 |
|
|
* config/rs6000/libgcc-ppc-glibc.ver: New file.
|
1082 |
|
|
* config/rs6000/t-ppccomm (SHLIB_MAPFILES): Append
|
1083 |
|
|
libgcc-ppc-glibc.ver on powerpc*-*-*gnu*.
|
1084 |
|
|
(TARGET_LIBGCC2_CFLAGS): Append -specs=ldblspecs.
|
1085 |
|
|
(ldblspecs): New goal.
|
1086 |
|
|
* config/rs6000/t-linux64 (SHLIB_MAPFILES): Removed.
|
1087 |
|
|
* mklibgcc.in: If $TPBIT is empty, don't compile _sf_to_tf and
|
1088 |
|
|
_df_to_tf.
|
1089 |
|
|
* config/fp-bit.h (TMODES): Don't define if none of TFLOAT,
|
1090 |
|
|
L_sf_to_tf or L_df_to_tf is defined.
|
1091 |
|
|
|
1092 |
|
|
2006-01-27 David Edelsohn
|
1093 |
|
|
Alan Modra
|
1094 |
|
|
|
1095 |
|
|
* config/rs6000/linux.h (POWERPC_LINUX): Define.
|
1096 |
|
|
* config/rs6000/linux64.h (POWERPC_LINUX): Define.
|
1097 |
|
|
* config/rs6000/darwin-ldouble.c: Build on 32-bit PowerPC.
|
1098 |
|
|
* config/rs6000/darwin.h (TARGET_IEEEQUAD): Define to zero.
|
1099 |
|
|
* config/rs6000/aix.h (TARGET_IEEEQUAD): Define to zero.
|
1100 |
|
|
* config/rs6000/rs6000.c (rs6000_ieeequad): New variable.
|
1101 |
|
|
(rs6000_override_options): Initialize rs6000_ieeequad.
|
1102 |
|
|
Initialize TFmode format to ibm_extended_format if not
|
1103 |
|
|
TARGET_IEEEQUAD.
|
1104 |
|
|
(rs6000_handle_option): Accept -mabi= ibmlongdouble and
|
1105 |
|
|
ieeelongdouble.
|
1106 |
|
|
(rs6000_emit_move): Move !TARGET_IEEEQUAD as two parts.
|
1107 |
|
|
(rs6000_return_in_memory): Only return IEEEQUAD in memory.
|
1108 |
|
|
(function_arg_advance): IBM long double passed in two FPRs, not
|
1109 |
|
|
split.
|
1110 |
|
|
(function_arg): IBM long double passed in FPRs.
|
1111 |
|
|
(rs6000_pass_by_reference): Only IEEEQUAD passed by reference.
|
1112 |
|
|
(rs6000_gimplify_va_arg): IBM long double passed in two FPRs.
|
1113 |
|
|
Only multireg GPR aligned.
|
1114 |
|
|
(rs6000_init_libfuncs): Enable IBM long double functions if not
|
1115 |
|
|
IEEEQUAD.
|
1116 |
|
|
(rs6000_generate_compare): Use IBM long double compare if not
|
1117 |
|
|
TARGET_IEEEQUAD.
|
1118 |
|
|
* config/rs6000/rs6000.h (rs6000_ieeequad): Declare.
|
1119 |
|
|
(TARGET_IEEEQUAD): Define.
|
1120 |
|
|
(CANNOT_CHANGE_MODE_CLASS): Any mode larger than doubleword if
|
1121 |
|
|
not TARGET_IEEEQUAD.
|
1122 |
|
|
* config/rs6000/rs6000.md: Enable TFmode patterns if
|
1123 |
|
|
!TARGET_IEEEQUAD.
|
1124 |
|
|
* config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Add darwin-ldouble.c.
|
1125 |
|
|
* config/rs6000/svr4.h (SUBTARGET_OVERRIDE_OPTIONS): -msoft-float
|
1126 |
|
|
and -mlong-double-128 are incompatible.
|
1127 |
|
|
* doc/invoke.texi (-mabi): Collect options together. Add
|
1128 |
|
|
ibmlongdouble and ieeelongdouble.
|
1129 |
|
|
|
1130 |
|
|
2006-02-08 Jason Merrill
|
1131 |
|
|
|
1132 |
|
|
PR c++/25979
|
1133 |
|
|
* tree.def: Elaborate on difference from MODIFY_EXPR.
|
1134 |
|
|
* doc/c-tree.texi (INIT_EXPR): Likewise.
|
1135 |
|
|
* gimplify.c (internal_get_tmp_var): Use INIT_EXPR.
|
1136 |
|
|
(gimplify_decl_expr, gimplify_init_ctor_eval): Likewise.
|
1137 |
|
|
(gimplify_target_expr): Likewise.
|
1138 |
|
|
(gimplify_cond_expr): Remove target handling.
|
1139 |
|
|
(gimplify_modify_expr): Don't clobber INIT_EXPR code here.
|
1140 |
|
|
(gimplify_expr): Clobber it here.
|
1141 |
|
|
(gimplify_modify_expr_rhs): Push assignment into COND_EXPR here.
|
1142 |
|
|
Do return slot optimization if we have an INIT_EXPR.
|
1143 |
|
|
|
1144 |
|
|
PR tree-opt/24365
|
1145 |
|
|
* tree-inline.c (declare_return_variable): Also clear
|
1146 |
|
|
DECL_COMPLEX_GIMPLE_REG_P as needed in the modify_dest case.
|
1147 |
|
|
|
1148 |
|
|
PR c++/16405
|
1149 |
|
|
* gimplify.c (gimplify_modify_expr_rhs): Re-enable *& handling.
|
1150 |
|
|
|
1151 |
|
|
PR middle-end/22439
|
1152 |
|
|
* gimplify.c (gimplify_one_sizepos): Fix typo.
|
1153 |
|
|
|
1154 |
|
|
2006-02-09 Andrew Pinski
|
1155 |
|
|
|
1156 |
|
|
PR tree-opt/25251
|
1157 |
|
|
* tree-cfg.c (cleanup_dead_labels): Also don't remove
|
1158 |
|
|
forced labels.
|
1159 |
|
|
|
1160 |
|
|
2006-02-09 Andrew Pinski
|
1161 |
|
|
|
1162 |
|
|
* tree-flow-inline.h (var_can_have_subvars):
|
1163 |
|
|
Volatile variables should not have subvariables.
|
1164 |
|
|
|
1165 |
|
|
2006-02-09 Diego Novillo
|
1166 |
|
|
|
1167 |
|
|
PR 26180
|
1168 |
|
|
* tree-vrp.c (vrp_int_const_binop): Detect overflow when
|
1169 |
|
|
multiplying unsigned values.
|
1170 |
|
|
Tidy comments.
|
1171 |
|
|
|
1172 |
|
|
2006-02-09 Eric Botcazou
|
1173 |
|
|
|
1174 |
|
|
* config/sparc/sparc.c (tls_call_delay): Fix oversight.
|
1175 |
|
|
|
1176 |
|
|
2006-02-07 John David Anglin
|
1177 |
|
|
|
1178 |
|
|
PR target/26109
|
1179 |
|
|
* pa.c (attr_length_indirect_call): Don't return length 8 for distances
|
1180 |
|
|
>= 240000 when generating code for SOM runtime.
|
1181 |
|
|
(output_indirect_call): Don't use "b,l" instruction for indirect calls
|
1182 |
|
|
to $$dyncall when generating code for SOM runtime..
|
1183 |
|
|
|
1184 |
|
|
2006-02-07 Eric Botcazou
|
1185 |
|
|
|
1186 |
|
|
* config/sol26.h (CPP_SUBTARGET_SPEC): Accept -pthread.
|
1187 |
|
|
* config/sol2.h (CPP_SUBTARGET_SPEC): Likewise.
|
1188 |
|
|
(LIB_SPEC): Likewise.
|
1189 |
|
|
* doc/invoke.texi (SPARC options): Document -pthread.
|
1190 |
|
|
|
1191 |
|
|
2006-02-07 Eric Botcazou
|
1192 |
|
|
|
1193 |
|
|
* configure.ac (TLS assembler check): Do not enable TLS by
|
1194 |
|
|
default on SPARC/Solaris before version 10.
|
1195 |
|
|
* configure: Regenerate.
|
1196 |
|
|
|
1197 |
|
|
2006-02-07 Alexandre Oliva
|
1198 |
|
|
|
1199 |
|
|
PR debug/24444
|
1200 |
|
|
* config/ia64/unwind-ia64.c: Revert last change.
|
1201 |
|
|
* config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Removed.
|
1202 |
|
|
(INCOMING_FRAME_SP_OFFSET): Define.
|
1203 |
|
|
|
1204 |
|
|
2006-02-06 Andreas Tobler
|
1205 |
|
|
|
1206 |
|
|
* config/sparc/freebsd.h (ENDFILE_SPEC): Add space to separate
|
1207 |
|
|
object files.
|
1208 |
|
|
|
1209 |
|
|
2006-02-06 Andrew Pinski
|
1210 |
|
|
|
1211 |
|
|
PR target/23359
|
1212 |
|
|
* config/i386/i386.md (trap): Use ASM_SHORT instead of .word.
|
1213 |
|
|
|
1214 |
|
|
2006-02-06 Jakub Jelinek
|
1215 |
|
|
|
1216 |
|
|
* config.gcc (s390-*-linux*): Add s390/t-linux to tmake_file.
|
1217 |
|
|
(s390x-*-linux*): Likewise.
|
1218 |
|
|
* config/s390/t-linux64 (SHLIB_MAPFILES): Removed.
|
1219 |
|
|
* config/s390/t-linux: New file.
|
1220 |
|
|
|
1221 |
|
|
2006-02-05 Eric Botcazou
|
1222 |
|
|
|
1223 |
|
|
* config/sparc/sol2-bi.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDMID.
|
1224 |
|
|
|
1225 |
|
|
2006-02-05 John David Anglin
|
1226 |
|
|
|
1227 |
|
|
* pa/x-ada-hpux10, pa/t-pa-hpux10, pa/t-pa-hpux11: New files.
|
1228 |
|
|
* config.gcc (hppa[12]*-*-hpux10*): Use pa/t-pa-hpux10 instead of
|
1229 |
|
|
pa/t-pa.
|
1230 |
|
|
* config.gcc (hppa[12]*-*-hpux11*): Use pa/t-pa-hpux11 instead of
|
1231 |
|
|
pa/t-pa.
|
1232 |
|
|
* config.host (hppa*-*-hpux10*): Use pa/x-ada-hpux10 instead of
|
1233 |
|
|
pa/x-ada.
|
1234 |
|
|
* pa/t-pa-hpux: Add lib2funcs.asm and quadlib.c rules.
|
1235 |
|
|
* pa/t-pa64: Delete quadlib.c rule.
|
1236 |
|
|
* pa/x-ada: Revert last change.
|
1237 |
|
|
* pa/t-pa: Revert last change. Delete quadlib.c rule.
|
1238 |
|
|
|
1239 |
|
|
2006-02-04 Alexandre Oliva
|
1240 |
|
|
|
1241 |
|
|
PR debug/24444
|
1242 |
|
|
* config/ia64/ia64.c: Include debug.h.
|
1243 |
|
|
(MAX_ARTIFICIAL_LABEL_BYTES): New.
|
1244 |
|
|
(ia64_label_after_insn, ia64_dwarf2out_def_steady_cfa): New.
|
1245 |
|
|
(IA64_CHANGE_CFA_IN_EPILOGUE): Define to 0.
|
1246 |
|
|
(process_epilogue, process_set, process_for_unwind_directive):
|
1247 |
|
|
Output unwind info only if requested. Add CFA info if requested.
|
1248 |
|
|
Add new arguments as needed. Adjust callers.
|
1249 |
|
|
* config/ia64/ia64.h (ARG_POINTER_CFA_OFFSET): Override
|
1250 |
|
|
incorrect default.
|
1251 |
|
|
(DWARF2_FRAME_INFO): Define to zero.
|
1252 |
|
|
* config/ia64/unwind-ia64.c: Remove code that compensated for
|
1253 |
|
|
the CFA offset error fixed above.
|
1254 |
|
|
* config/ia64/t-ia64 (ia64.o): Depend on debug.h.
|
1255 |
|
|
* dwarf2out.c (DWARF2_FRAME_INFO): Define default.
|
1256 |
|
|
(dwarf2out_do_frame): Require nonzero DWARF2_UNWIND_INFO for
|
1257 |
|
|
-funwind-tables and -fexceptions to enable frame info.
|
1258 |
|
|
(dwarf2out_frame_init): Define initial CFA even if
|
1259 |
|
|
DWARF2_UNWIND_INFO is disabled. Call initial_return_save if
|
1260 |
|
|
DWARF2_UNWIND_INFO is nonzero, not just defined.
|
1261 |
|
|
(dwarf2out_frame_finish): Output non-EH call frame info only
|
1262 |
|
|
if DWARF2_FRAME_INFO is nonzero.
|
1263 |
|
|
(convert_cfa_to_loc_list,
|
1264 |
|
|
compute_frame_pointer_to_cfa_displacement): Define even if
|
1265 |
|
|
unwind info is not supported.
|
1266 |
|
|
(gen_subprogram_die): Use the above unconditionally. Remove
|
1267 |
|
|
legacy alternate code.
|
1268 |
|
|
* toplev.c (compile_file): Compile in call to
|
1269 |
|
|
dwarf2out_frame_finish if DWARF2_DEBUGGING_INFO is defined.
|
1270 |
|
|
(lang_dependent_init): Ditto for dwarf2out_frame_init.
|
1271 |
|
|
|
1272 |
|
|
2006-02-03 John David Anglin
|
1273 |
|
|
|
1274 |
|
|
PR target/25926
|
1275 |
|
|
* pa/x-ada (X_ADA_CFLAGS): Define _X_HPUX10 on HP-UX 10.
|
1276 |
|
|
* pa/t-pa (TARGET_LIBGCC2_CFLAGS): Define _T_HPUX10 on HP-UX 10.
|
1277 |
|
|
|
1278 |
|
|
2006-02-03 Richard Henderson
|
1279 |
|
|
|
1280 |
|
|
PR target/26090
|
1281 |
|
|
* config/ia64/sysv4.h (TARGET_ASM_SELECT_RTX_SECTION,
|
1282 |
|
|
TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION,
|
1283 |
|
|
TARGET_ASM_SELECT_RTX_SECTION, TARGET_RWRELOC): Copy from
|
1284 |
|
|
the hpux definition.
|
1285 |
|
|
|
1286 |
|
|
2006-02-03 Jason Merrill
|
1287 |
|
|
|
1288 |
|
|
PR c++/25979
|
1289 |
|
|
* gimplify.c (gimplify_modify_expr_rhs): Disable *& optimization for now.
|
1290 |
|
|
|
1291 |
|
|
PR middle-end/25977
|
1292 |
|
|
* gimplify.c (gimplify_modify_expr_rhs): It's not always safe to do RVO
|
1293 |
|
|
on the return slot if it's an NRV.
|
1294 |
|
|
|
1295 |
|
|
2006-01-31 Andrew Pinski
|
1296 |
|
|
|
1297 |
|
|
PR middle-end/26001
|
1298 |
|
|
* expr.c (expand_expr_real_1) :
|
1299 |
|
|
Use the corrected index for the character
|
1300 |
|
|
out of the string constant.
|
1301 |
|
|
|
1302 |
|
|
2006-02-03 Steve Ellcey
|
1303 |
|
|
|
1304 |
|
|
PR middle-end/24901
|
1305 |
|
|
* fold-const.c (fold_checksum_tree): Change type of buf.
|
1306 |
|
|
|
1307 |
|
|
2006-02-03 Alan Modra
|
1308 |
|
|
|
1309 |
|
|
PR target/25960
|
1310 |
|
|
* config/rs6000/darwin-ldouble.c (__gcc_qadd): Preserve -0.0 result.
|
1311 |
|
|
|
1312 |
|
|
2006-02-03 Andreas Krebbel
|
1313 |
|
|
Ulrich Weigand
|
1314 |
|
|
|
1315 |
|
|
PR target/25864
|
1316 |
|
|
* config/s390/2084.md ("x_fsimptf", "x_fmultf", "x_fdivtf",
|
1317 |
|
|
"x_floadtf", "x_ftrunctf", "x_ftruncdf"): New insn reservations.
|
1318 |
|
|
* config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): New functions.
|
1319 |
|
|
* config/s390/s390.c (struct processor_costs): Add mxbr, sqxbr, dxbr
|
1320 |
|
|
and dxr fields.
|
1321 |
|
|
(z900_cost, z990_cost, z9_109_cost): Values for the new fields added.
|
1322 |
|
|
(s390_rtx_costs): Use the new fields to calculate rtx costs.
|
1323 |
|
|
(s390_secondary_input_reload_class, s390_secondary_output_reload_class):
|
1324 |
|
|
Define secondary reloads for TFmode moves.
|
1325 |
|
|
(constant_modes): Add TFmode.
|
1326 |
|
|
(NR_C_MODES): Set to 8.
|
1327 |
|
|
* config/s390/s390.h (TARGET_CPU_CPP_BUILTINS): Add __LONG_DOUBLE_128__
|
1328 |
|
|
builtin define.
|
1329 |
|
|
(LONG_DOUBLE_TYPE_SIZE): Set to 128 or 64.
|
1330 |
|
|
(LIBGCC2_LONG_DOUBLE_TYPE_SIZE, WIDEST_HARDWARE_FP_SIZE): Define.
|
1331 |
|
|
(HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS,
|
1332 |
|
|
CANNOT_CHANGE_MODE_CLASS): Consider TFmode.
|
1333 |
|
|
* config/s390/s390.md ("type" attribute): Add fsimptf, floadtf, fmultf,
|
1334 |
|
|
fdivtf, fsqrttf, ftrunctf, ftruncdf as possible values.
|
1335 |
|
|
(FPR mode macro): Add TFmode.
|
1336 |
|
|
(DSF mode macro): New.
|
1337 |
|
|
(, mode attributes): Removed.
|
1338 |
|
|
(, , , , mode attributes): New.
|
1339 |
|
|
("*cmp_ccs_0", "*cmp_ccs_0_ibm", "*cmp_ccs",
|
1340 |
|
|
"*cmp_ccs_ibm", "fix_trunc2_ieee",
|
1341 |
|
|
"floatdi2", "floatsi2_ieee", "*add3",
|
1342 |
|
|
"*add3_cc", "*add3_cconly", "*add3_ibm",
|
1343 |
|
|
"*sub3", "*sub3_cc", "*sub3_cconly",
|
1344 |
|
|
"*sub3_ibm", "*mul3_ibm", "*fmadd", "*fmsub",
|
1345 |
|
|
"*div3", "*div3_ibm", "*neg2_cc",
|
1346 |
|
|
"*neg2_cconly", "*neg2", "*neg2_ibm",
|
1347 |
|
|
"*abs2_cc", "*abs2_cconly", "*abs2",
|
1348 |
|
|
"*abs2_ibm", "*negabs2_cc", "*negabs2_cconly",
|
1349 |
|
|
"*negabs2", "sqrt2"):
|
1350 |
|
|
Changed to . R constraint replaced by .
|
1351 |
|
|
("*mul3"): Changed to . R constraint replaced by
|
1352 |
|
|
.
|
1353 |
|
|
("fix_truncdi2"): 'FPR:' removed.
|
1354 |
|
|
("*fmadd", "*fmsub"): FPR mode replaced by DSF.
|
1355 |
|
|
("*movtf_64", "*movtf_31"): New insn definitions followed by 5
|
1356 |
|
|
splitters.
|
1357 |
|
|
("movtf", "reload_outtf", "reload_intf", "trunctfdf2", "trunctfsf2",
|
1358 |
|
|
"extenddftf2", "extendsftf2"): New expanders.
|
1359 |
|
|
("*trunctfdf2_ieee", "*trunctfdf2_ibm", "*trunctfsf2_ieee",
|
1360 |
|
|
"*trunctfsf2_ibm", "*extenddftf2_ieee", "*extenddftf2_ibm",
|
1361 |
|
|
"*extendsftf2_ieee", "*extendsftf2_ibm"): New insn patterns.
|
1362 |
|
|
* config/s390/s390.opt (mlong-double-128, mlong-double-64):
|
1363 |
|
|
New options.
|
1364 |
|
|
* config/s390/t-crtstuff (TARGET_LIBGCC2_CFLAGS): Macro defined.
|
1365 |
|
|
* config/s390/libgcc-glibc.ver (__divtc3, __multc3, __powitf2,
|
1366 |
|
|
__fixtfti, __fixunstfti, __floattitf, __fixtfdi, __fixunstfdi,
|
1367 |
|
|
__floatditf): Add a GCC_4.1.0 symbol version tag.
|
1368 |
|
|
* doc/invoke.texi (-mlong-double-128, -mlong-double-64): Document
|
1369 |
|
|
the new options.
|
1370 |
|
|
|
1371 |
|
|
2006-01-31 Jakub Jelinek
|
1372 |
|
|
|
1373 |
|
|
* config/s390/s390.c (init_alignment_context): Set
|
1374 |
|
|
ALIAS_SET_MEMORY_BARRIER on the MEM.
|
1375 |
|
|
|
1376 |
|
|
2006-01-31 Carlos O'Donell
|
1377 |
|
|
|
1378 |
|
|
* optabs.c (prepare_cmp_insn): If unbiased and unsigned then bias
|
1379 |
|
|
the comparison routine return.
|
1380 |
|
|
|
1381 |
|
|
2006-01-31 Nathan Sidwell
|
1382 |
|
|
|
1383 |
|
|
* gcc/config/m68k/lb1sf68.asm: Use moveq to load small constants.
|
1384 |
|
|
|
1385 |
|
|
2006-01-31 Richard Guenther
|
1386 |
|
|
|
1387 |
|
|
Backport
|
1388 |
|
|
2006-01-03 Adrian Straetling
|
1389 |
|
|
|
1390 |
|
|
* gcc/builtins.c (get_builtin_sync_mem): New function.
|
1391 |
|
|
(expand_builtin_sync_operation, expand_builtin_compare_and_swap,
|
1392 |
|
|
expand_builtin_lock_test_and_set, expand_builtin_lock_release):
|
1393 |
|
|
Call get_builtin_sync_mem to generate mem rtx.
|
1394 |
|
|
|
1395 |
|
|
2006-01-25 Richard Henderson
|
1396 |
|
|
|
1397 |
|
|
* alias.h (ALIAS_SET_MEMORY_BARRIER): New.
|
1398 |
|
|
* alias.c (true_dependence): Respect it.
|
1399 |
|
|
(canon_true_dependence, write_dependence_p): Likewise.
|
1400 |
|
|
* builtins.c (get_builtin_sync_mem): Set it.
|
1401 |
|
|
|
1402 |
|
|
2006-01-30 Ulrich Weigand
|
1403 |
|
|
|
1404 |
|
|
PR target/26018
|
1405 |
|
|
* config/s390/s390.c (struct machine_function): New flag
|
1406 |
|
|
decomposed_literal_pool_addresses_ok_p.
|
1407 |
|
|
(s390_reorg): Set it before final stage of literal pool transforms.
|
1408 |
|
|
(s390_decompose_address): Only accept displacements of the form
|
1409 |
|
|
(minus (label_ref ...) (label_ref ...)) if that flag is set.
|
1410 |
|
|
|
1411 |
|
|
2006-01-30 J"orn Rennecke
|
1412 |
|
|
|
1413 |
|
|
Merged from mainline r107469:
|
1414 |
|
|
* caller-save.c: (this_insn_sets): Move into:
|
1415 |
|
|
(save_call_clobbered_regs).
|
1416 |
|
|
(mark_set_regs): Get this_insn_sets from data.
|
1417 |
|
|
|
1418 |
|
|
(save_call_clobbered_regs): Take sets of the return value by
|
1419 |
|
|
sibcalls into account.
|
1420 |
|
|
|
1421 |
|
|
2006-01-30 J"orn Rennecke
|
1422 |
|
|
|
1423 |
|
|
PR target/14798:
|
1424 |
|
|
* sh.c (pragma_interrupt, trap_exit, sp_switch): Remove variable.
|
1425 |
|
|
(pragma_trap, pragma_nosave_low_regs): Likewise.
|
1426 |
|
|
(current_function_anonymous_args): Likewise.
|
1427 |
|
|
(sh_deferred_function_attributes): New variable.
|
1428 |
|
|
(sh_deferred_function_attributes_tail): Likewise.
|
1429 |
|
|
(print_operand): For '@', look up trap_exit attribute.
|
1430 |
|
|
(calc_live_regs): Look up trapa_handler attribute. For trapa
|
1431 |
|
|
handlers, save/restore fpscr, but don't do any other
|
1432 |
|
|
interrupt-specific saves.
|
1433 |
|
|
Don't save r0..r7 if the nosave_low_regs attribute is in effect.
|
1434 |
|
|
Fix check for partially saved registers to check for SHmedia.
|
1435 |
|
|
(sh_expand_prologue, sh_expand_epilogue): Look up sp_switch attribute.
|
1436 |
|
|
(sh_output_function_epilogue): Don't clear any of the removed
|
1437 |
|
|
variables.
|
1438 |
|
|
(sh_insert_attributes): Don't check pragma_interrupt.
|
1439 |
|
|
Insert deferred attributes. Check that interrupt attribute is
|
1440 |
|
|
present for other attributes that require its presence.
|
1441 |
|
|
(sh_attribute_table): Add new attributes trapa_handler and
|
1442 |
|
|
nosave_low_regs.
|
1443 |
|
|
(sh_handle_sp_switch_attribute, sh_handle_trap_exit_attribute):
|
1444 |
|
|
Don't check for pragma_interrupt. Don't store argument.
|
1445 |
|
|
* sh.h (pragma_interrupt, sp_switch): Don't declare.
|
1446 |
|
|
(sh_deferred_function_attributes): Declare.
|
1447 |
|
|
(sh_deferred_function_attributes_tail): Likewise.
|
1448 |
|
|
* sh.md (sp_switch_1): Add operand. Change generator caller.
|
1449 |
|
|
(sh_pr_interrupt, sh_pr_trapa, sh_pr_nosave_low_regs): Remove.
|
1450 |
|
|
(*return_i): Don't use when trap_exit attribute is in effect.
|
1451 |
|
|
(*return_trapa): New insn pattern.
|
1452 |
|
|
* sh-c.c: New file.
|
1453 |
|
|
* config.gcc (sh[123456ble]*-* | sh-*-*): New trailer stanza,
|
1454 |
|
|
setting c_target_objs and cxx_target_objs.
|
1455 |
|
|
* t-sh: Add rule for sh-c.o.
|
1456 |
|
|
|
1457 |
|
|
* config/sh/sh.c (sh_cfun_trap_exit_p): New function.
|
1458 |
|
|
* sh-protos.h (sh_cfun_trap_exit_p): Declare.
|
1459 |
|
|
|
1460 |
|
|
2006-01-29 Eric Botcazou
|
1461 |
|
|
|
1462 |
|
|
Revert
|
1463 |
|
|
|
1464 |
|
|
2005-11-09 Eric Botcazou
|
1465 |
|
|
* tree.c (build_qualified_type): Chain the new type to the original
|
1466 |
|
|
type's TYPE_NEXT_PTR_TO or TYPE_NEXT_REF_TO linked lists if it is
|
1467 |
|
|
a POINTER_TYPE or a REFERENCE_TYPE respectively.
|
1468 |
|
|
(build_pointer_type_for_mode): Only return unqualified types.
|
1469 |
|
|
(build_reference_type_for_mode): Likewise.
|
1470 |
|
|
|
1471 |
|
|
2006-01-28 Hans-Peter Nilsson
|
1472 |
|
|
|
1473 |
|
|
PR target/25706
|
1474 |
|
|
* config/cris/cris.md ("*extopqihi_side", "*extopsi_side")
|
1475 |
|
|
("*extopsi_swap_side_biap", "*extopsi_swap_side",
|
1476 |
|
|
("*extopqihi", "*extopsi", "*extopsi_swap"): Use %E
|
1477 |
|
|
output pattern modifier, not %e.
|
1478 |
|
|
* config/cris/cris.c (cris_op_str): Update comment about pattern
|
1479 |
|
|
modifier.
|
1480 |
|
|
(cris_print_operand) : Clear cris_output_insn_is_bound
|
1481 |
|
|
before falling through into...
|
1482 |
|
|
: Redefined from old 'e' case.
|
1483 |
|
|
|
1484 |
|
|
PR target/25718
|
1485 |
|
|
* config/cris/cris.md ("uminsi3"): Don't use 8- or 16-bit sizes
|
1486 |
|
|
for a negative bound.
|
1487 |
|
|
|
1488 |
|
|
PR target/25947
|
1489 |
|
|
* config/cris/cris.c (cris_order_for_addsi3): New function.
|
1490 |
|
|
* config/cris/cris-protos.h: Prototype it.
|
1491 |
|
|
* config/cris/cris.md (split for "move.S1 [rx=rx+i],ry")
|
1492 |
|
|
(split for "move.S1 ry,[rx=rx+i]", split for "clear.[bwd] [rx=rx+i]")
|
1493 |
|
|
(split for "mov(s|u).S1 [rx=rx+i],ry", split for "op.S1 [rx=rx+i],ry")
|
1494 |
|
|
(split for "op.S1 [rx=rx+i],ry (swapped)")
|
1495 |
|
|
(split for "op(s|u).S1 [rx=rx+i],ry")
|
1496 |
|
|
(split for "op(s|u).S1 [rx=rx+i],ry (swapped, plus or bound)"):
|
1497 |
|
|
Apply cris_order_for_addsi3 when generating addsi3 insns.
|
1498 |
|
|
|
1499 |
|
|
2006-01-26 Alexandre Oliva
|
1500 |
|
|
|
1501 |
|
|
PR other/24829
|
1502 |
|
|
PR target/24831
|
1503 |
|
|
* gthr-dce.h: Do not gthrw-ify pthread_once_init,
|
1504 |
|
|
pthread_key_delete. From John David Anglin. gthrw-ify
|
1505 |
|
|
pthread_getunique_np only if it it's not a macro. Delete
|
1506 |
|
|
UNUSED macro.
|
1507 |
|
|
(__gthread_objc_condition_allocate, __gthread_objc_condition_deallocate,
|
1508 |
|
|
__gthread_objc_condition_wait, __gthread_objc_condition_broadcast,
|
1509 |
|
|
__gthread_objc_condition_signal, __gthread_key_delete): Add
|
1510 |
|
|
"__attribute__ ((__unused__))" to unused arguments.
|
1511 |
|
|
(__gthread_recursive_mutex_init_function): Add missing return.
|
1512 |
|
|
* gthr-dce.h, gthr-tpf.h, gthr-solaris.h, gthr-posix.h,
|
1513 |
|
|
gthr-posix95.h: Use macro-based approach for name redirection
|
1514 |
|
|
on targets missing weakref.
|
1515 |
|
|
|
1516 |
|
|
2006-01-26 Alexandre Oliva
|
1517 |
|
|
|
1518 |
|
|
PR c/25892
|
1519 |
|
|
* c.opt (Wpointer-sign): Init to -1.
|
1520 |
|
|
* c-opts.c (c_common_handle_option): Set to 1 on OPT_Wall and
|
1521 |
|
|
OPT_pedantic, to 0 otherwise.
|
1522 |
|
|
* doc/invoke.texi: Update.
|
1523 |
|
|
|
1524 |
|
|
2006-01-24 David Daney
|
1525 |
|
|
|
1526 |
|
|
PR java/25816
|
1527 |
|
|
* configure.ac (enable_tls): New enable option.
|
1528 |
|
|
(HAVE_AS_TLS): Don't do assembler check if enable_tls set.
|
1529 |
|
|
* configure: Regenerate.
|
1530 |
|
|
* doc/install.texi (--enable-tls): Document new option.
|
1531 |
|
|
(--disable-tls): Ditto.
|
1532 |
|
|
|
1533 |
|
|
2006-01-23 Richard Guenther
|
1534 |
|
|
Steven Bosscher
|
1535 |
|
|
|
1536 |
|
|
PR rtl-optimization/24626
|
1537 |
|
|
* cfgloopmanip.c (lv_adjust_loop_entry_edge): Don't set
|
1538 |
|
|
EDGE_TRUE_VALUE if in RTL mode.
|
1539 |
|
|
|
1540 |
|
|
Revert
|
1541 |
|
|
2005-03-30 Mostafa Hagog
|
1542 |
|
|
* cfgrtl.c (rtl_verify_flow_info_1): Fix.
|
1543 |
|
|
|
1544 |
|
|
2006-01-23 Steven Bosscher
|
1545 |
|
|
Jan Hubicka
|
1546 |
|
|
Richard Guenther
|
1547 |
|
|
|
1548 |
|
|
PR rtl-optimization/25654
|
1549 |
|
|
* cfgexpand.c (aggregate_contains_union_type): New function.
|
1550 |
|
|
(add_alias_set_conflicts): Call it. Make sure to add conflicts
|
1551 |
|
|
for structure variables that contain a union type.
|
1552 |
|
|
|
1553 |
|
|
2006-01-21 Joseph S. Myers
|
1554 |
|
|
|
1555 |
|
|
* gcc.c (process_command), gcov.c (print_version), gcov-dump.c
|
1556 |
|
|
(print_version), mips-tdump.c (main), mips-tfile.c (main): Update
|
1557 |
|
|
copyright notice dates.
|
1558 |
|
|
|
1559 |
|
|
2006-01-19 Paul Brook
|
1560 |
|
|
|
1561 |
|
|
* gcc/config/arm/arm.c (arm_compute_func_type): Treat all functions
|
1562 |
|
|
as nothrow when unwinding tables are disabled.
|
1563 |
|
|
|
1564 |
|
|
2006-01-19 John David Anglin
|
1565 |
|
|
|
1566 |
|
|
PR testsuite/25171
|
1567 |
|
|
* c-decl.c (check_bitfield_type_and_width): Don't issue pedwarn "type
|
1568 |
|
|
of bit-field" when in system header.
|
1569 |
|
|
|
1570 |
|
|
2006-01-19 Richard Sandiford
|
1571 |
|
|
|
1572 |
|
|
PR c/25805
|
1573 |
|
|
* c-decl.c (add_flexible_array_elts_to_size): New function.
|
1574 |
|
|
(finish_decl): Use it.
|
1575 |
|
|
|
1576 |
|
|
2006-01-18 John David Anglin
|
1577 |
|
|
|
1578 |
|
|
PR target/25731
|
1579 |
|
|
* config.gcc (hppa*-*-linux*, hppa[12]*-*-hpux10*, hppa*64*-*-hpux11*,
|
1580 |
|
|
hppa[12]*-*-hpux11*): Override default shared libgcc version for both
|
1581 |
|
|
sjlj and dwarf2 exception handling.
|
1582 |
|
|
* pa/t-hpux-shlib (SHLIB_SOVERSION): New make variable.
|
1583 |
|
|
Rework to allow overriding SHLIB_EXT and SHLIB_SOVERSION.
|
1584 |
|
|
* pa/pa.c (function_value): Treat complex and vector types as
|
1585 |
|
|
aggregates.
|
1586 |
|
|
(function_arg): Likewise. Only pass scalar floats in the floating
|
1587 |
|
|
point argument registers.
|
1588 |
|
|
* pa/t-slibgcc-dwarf-ver: New file.
|
1589 |
|
|
* pa/t-slibgcc-sjlj-ver: New file.
|
1590 |
|
|
* pa/t-slibgcc-elf-ver: Delete file.
|
1591 |
|
|
|
1592 |
|
|
2006-01-17 Jakub Jelinek
|
1593 |
|
|
|
1594 |
|
|
PR c/25682
|
1595 |
|
|
* c-typeck.c (build_unary_op): Fold offsetof-like expressions
|
1596 |
|
|
even when the pointer is not NULL.
|
1597 |
|
|
|
1598 |
|
|
2006-01-16 John David Anglin
|
1599 |
|
|
|
1600 |
|
|
* pa.md: Disparage copies between general and floating-point registers
|
1601 |
|
|
in 32-bit move patterns.
|
1602 |
|
|
|
1603 |
|
|
2006-01-16 Steven Bosscher
|
1604 |
|
|
Richard Guenther
|
1605 |
|
|
|
1606 |
|
|
PR rtl-optimization/24257
|
1607 |
|
|
* gcse.c (find_moveable_store): Only consider a store movable
|
1608 |
|
|
when the SET_SRC of the insn can be assigned to a register.
|
1609 |
|
|
|
1610 |
|
|
2006-01-15 John David Anglin
|
1611 |
|
|
|
1612 |
|
|
PR target/25168
|
1613 |
|
|
* tree.c (get_file_function_name_long): Concatenate the first global
|
1614 |
|
|
object name with a string derived from the input filename of the object
|
1615 |
|
|
for type "F".
|
1616 |
|
|
|
1617 |
|
|
2006-01-13 Andrew Pinski
|
1618 |
|
|
|
1619 |
|
|
PR tree-opt/24365
|
1620 |
|
|
* tree-inline.c (declare_return_variable): If the return variable
|
1621 |
|
|
was marked as a non gimple complex, set the return slot variable
|
1622 |
|
|
to be a non gimple comple variable.
|
1623 |
|
|
|
1624 |
|
|
2006-01-11 Paolo Bonzini
|
1625 |
|
|
|
1626 |
|
|
PR tree-optimization/23109
|
1627 |
|
|
PR tree-optimization/23948
|
1628 |
|
|
PR tree-optimization/24123
|
1629 |
|
|
|
1630 |
|
|
* Makefile.in (tree-ssa-math-opts.o): Adjust dependencies.
|
1631 |
|
|
* tree-cfg.c (single_noncomplex_succ): New.
|
1632 |
|
|
* tree-flow.h (single_noncomplex_succ): Declare it.
|
1633 |
|
|
* tree-ssa-math-opts.c (enum place_reciprocal): Remove.
|
1634 |
|
|
* tree-ssa-math-opts.c (enum place_reciprocal): Remove.
|
1635 |
|
|
(struct occurrence, occ_head, occ_pool, is_divide_by, compute_merit,
|
1636 |
|
|
insert_bb, register_division_in, insert_reciprocals,
|
1637 |
|
|
replace_reciprocal, free_bb): New.
|
1638 |
|
|
(execute_cse_reciprocals_1): Rewritten.
|
1639 |
|
|
(execute_cse_reciprocals): Adjust calls to execute_cse_reciprocals_1.
|
1640 |
|
|
Do not commit any edge insertion. Always compute dominators and
|
1641 |
|
|
create the allocation pool.
|
1642 |
|
|
* target-def.h (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): New.
|
1643 |
|
|
* target.h (struct gcc_target): Add min_divistions_for_recip_mul.
|
1644 |
|
|
* targhooks.c (default_min_divistions_for_recip_mul): New.
|
1645 |
|
|
* targhooks.h (default_min_divistions_for_recip_mul): New prototype.
|
1646 |
|
|
* passes.c (init_optimization_passes): Run recip after tree loop
|
1647 |
|
|
optimizations.
|
1648 |
|
|
* doc/tm.texi (Misc): Document TARGET_MIN_DIVISIONS_FOR_RECIP_MUL.
|
1649 |
|
|
|
1650 |
|
|
2006-01-11 Jan Hubicka
|
1651 |
|
|
|
1652 |
|
|
PR target/25042
|
1653 |
|
|
* i386.c (ix86_init_mmx_sse_builtins): Do not delcare float128
|
1654 |
|
|
|
1655 |
|
|
2006-01-10 John David Anglin
|
1656 |
|
|
|
1657 |
|
|
PR target/20754
|
1658 |
|
|
* config/pa/pa.md: Create separate 32 and 64-bit move patterns
|
1659 |
|
|
for SI, DI, SF and DF modes. Add alternatives to copy between
|
1660 |
|
|
general and floating point registers to the 32-bit patterns.
|
1661 |
|
|
* config/pa/pa-64.h (SECONDARY_MEMORY_NEEDED_RTX): Delete undefine.
|
1662 |
|
|
* config/pa/pa.h (SECONDARY_MEMORY_NEEDED_RTX): Delete define.
|
1663 |
|
|
(SECONDARY_MEMORY_NEEDED): Secondary memory is only needed when
|
1664 |
|
|
generating 64-bit code.
|
1665 |
|
|
* config/pa/pa.c (output_move_double): Handle copies between general
|
1666 |
|
|
and floating registers.
|
1667 |
|
|
|
1668 |
|
|
2006-01-10 Eric Botcazou
|
1669 |
|
|
|
1670 |
|
|
PR rtl-optimization/25367
|
1671 |
|
|
* config/sparc/sparc.h (HARD_REGNO_RENAME_OK): New macro.
|
1672 |
|
|
|
1673 |
|
|
2006-01-10 Jan Beulich
|
1674 |
|
|
|
1675 |
|
|
* config/i386/netware.h (TARGET_SUBTARGET_DEFAULT): Include
|
1676 |
|
|
MASK_ALIGN_DOUBLE.
|
1677 |
|
|
* config/i386/nwld.h (LINK_SPEC): Add --extensions:GNU option.
|
1678 |
|
|
* config/i386/t-nwld (SHLIB_LINK): Insert spaces between expr
|
1679 |
|
|
arguments.
|
1680 |
|
|
|
1681 |
|
|
2006-01-09 Kazu Hirata
|
1682 |
|
|
|
1683 |
|
|
PR tree-optimization/25125
|
1684 |
|
|
* convert.c (convert_to_integer): Don't narrow the type of a
|
1685 |
|
|
PLUX_EXPR or MINUS_EXPR if !flag_wrapv and the unwidened type
|
1686 |
|
|
is signed.
|
1687 |
|
|
|
1688 |
|
|
2006-01-08 Ian Lance Taylor
|
1689 |
|
|
David Edelsohn
|
1690 |
|
|
|
1691 |
|
|
PR rtl-optimization/25662
|
1692 |
|
|
* optabs.c (simplify_expand_binop): Use simplify_binary_operation
|
1693 |
|
|
for constant operands instead of simplify_gen_binary.
|
1694 |
|
|
|
1695 |
|
|
2006-01-04 Jakub Jelinek
|
1696 |
|
|
|
1697 |
|
|
* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus,
|
1698 |
|
|
make the prototype extern "C" and add throw ().
|
1699 |
|
|
|
1700 |
|
|
PR target/25554
|
1701 |
|
|
* config/i386/i386.md (testqi_ext_3): Ensure len is positive
|
1702 |
|
|
and pos non-negative and pos + len <= 32.
|
1703 |
|
|
(testqi_ext_3_rex64): Ensure len is positive and pos non-negative,
|
1704 |
|
|
drop pos + len < HOST_BITS_PER_WIDE_INT test.
|
1705 |
|
|
(testqi_ext_3* splitter): Handle pos + len == HOST_BITS_PER_WIDE_INT.
|
1706 |
|
|
|
1707 |
|
|
PR c/25559
|
1708 |
|
|
* c-common.c (handle_vector_size_attribute): Reject zero vector size
|
1709 |
|
|
as well as sizes not multiple of component size.
|
1710 |
|
|
|
1711 |
|
|
PR debug/25562
|
1712 |
|
|
* function.c (instantiate_expr): New function.
|
1713 |
|
|
(instantiate_decls_1, instantiate_decls): If DECL_HAS_VALUE_EXPR_P,
|
1714 |
|
|
walk its DECL_VALUE_EXPR with instantiate_expr.
|
1715 |
|
|
|
1716 |
|
|
* dwarf2out.c (loc_descriptor_from_tree_1): Don't add
|
1717 |
|
|
DW_OP_deref{,_size} if address isn't going to be added.
|
1718 |
|
|
|
1719 |
|
|
2006-01-03 Steven Bosscher
|
1720 |
|
|
|
1721 |
|
|
* fold-const.c (operand_equal_p): Accept a NULL operand 0 for
|
1722 |
|
|
COMPONENT_REFs.
|
1723 |
|
|
* emit-rtl.c (mem_attrs_htab_eq): Use iterative_hash_expr for
|
1724 |
|
|
hashing trees instead of a pointer hash.
|
1725 |
|
|
(mem_attrs_htab_eq): Do a deep compare instead of a pointer
|
1726 |
|
|
compare for MEM_EXPR.
|
1727 |
|
|
|
1728 |
|
|
PR rtl-optimization/25130
|
1729 |
|
|
* cse.c (exp_equiv_p): Compare MEM_ATTRS instead of MEM_ALIAS_SET
|
1730 |
|
|
when comparing MEMs for GCSE
|
1731 |
|
|
|
1732 |
|
|
2006-01-03 Richard Guenther
|
1733 |
|
|
|
1734 |
|
|
PR c/25183
|
1735 |
|
|
* stmt.c (add_case_node): Make sure to clear overflow flags
|
1736 |
|
|
from ranges.
|
1737 |
|
|
|
1738 |
|
|
2005-12-30 John David Anglin
|
1739 |
|
|
|
1740 |
|
|
PR fortran/25586
|
1741 |
|
|
* pa.md: Remove REG_POINTER check from REG+REG peephole2 floating-point
|
1742 |
|
|
store patterns.
|
1743 |
|
|
|
1744 |
|
|
2005-12-29 Daniel Jacobowitz
|
1745 |
|
|
Paul Brook
|
1746 |
|
|
|
1747 |
|
|
* config/m68k/m68k.c (m68k_output_pic_call): Don't use bsr.l for
|
1748 |
|
|
!TARGET_68020.
|
1749 |
|
|
* config/m68k/t-m68kelf (EXTRA_PARTS): Remove.
|
1750 |
|
|
(EXTRA_MULTILIB_PARTS): Set.
|
1751 |
|
|
* config/m68k/t-uclinux (EXTRA_PARTS): Remove.
|
1752 |
|
|
(EXTRA_MULTILIB_PARTS): Set.
|
1753 |
|
|
|
1754 |
|
|
2005-12-29 Hans-Peter Nilsson
|
1755 |
|
|
|
1756 |
|
|
PR target/24342
|
1757 |
|
|
* config/cris/cris.c (cris_split_movdx): Add REG_INC notes for
|
1758 |
|
|
emitted insns with post-increments.
|
1759 |
|
|
(cris_expand_epilogue): Ditto.
|
1760 |
|
|
|
1761 |
|
|
2005-12-29 Alan Modra
|
1762 |
|
|
|
1763 |
|
|
PR target/25572
|
1764 |
|
|
* config/rs6000/rs6000.c (create_TOC_reference): Set regs_ever_live.
|
1765 |
|
|
|
1766 |
|
|
2005-12-26 Mark Mitchell
|
1767 |
|
|
|
1768 |
|
|
PR c++/23171, c++/23172, c++/25417.
|
1769 |
|
|
* c-decl.c (compound_literal_number): Remove.
|
1770 |
|
|
(build_compound_literal): Use set_compound_literal_name.
|
1771 |
|
|
* c-common.c (compound_literal_number): New variable.
|
1772 |
|
|
(set_compound_literal_name): New function.
|
1773 |
|
|
* c-common.h (set_compound_literal_name): Declare.
|
1774 |
|
|
|
1775 |
|
|
2005-12-24 Mark Mitchell
|
1776 |
|
|
|
1777 |
|
|
PR c++/23171
|
1778 |
|
|
* varasm.c (initializer_constant_valid_p): An ADDR_EXPR of a
|
1779 |
|
|
CONSTRUCTOR is invalid.
|
1780 |
|
|
|
1781 |
|
|
2005-12-23 Ulrich Weigand
|
1782 |
|
|
|
1783 |
|
|
PR rtl-optimization/21041
|
1784 |
|
|
* reload.c (find_reloads_subreg_address): Replace paradoxical
|
1785 |
|
|
subreg of MEM by widened access only if the resulting memory
|
1786 |
|
|
is properly aligned, even on !STRICT_ALIGNMENT targets.
|
1787 |
|
|
|
1788 |
|
|
2005-12-23 Jakub Jelinek
|
1789 |
|
|
|
1790 |
|
|
PR target/25005
|
1791 |
|
|
* regrename.c (replace_oldest_value_reg): Use validate_change with
|
1792 |
|
|
IN_GROUP set to 1 instead of doing direct modifications.
|
1793 |
|
|
(copyprop_hardreg_forward_1): Likewise. If any replace_oldest_*
|
1794 |
|
|
replacements have been performed on an instruction, use
|
1795 |
|
|
apply_change_group ().
|
1796 |
|
|
|
1797 |
|
|
2005-12-23 Alan Modra
|
1798 |
|
|
|
1799 |
|
|
PR rtl-optimization/25432
|
1800 |
|
|
* reload1.c (eliminate_regs_in_insn): Update insn code on
|
1801 |
|
|
successfully re-recognizing modified insn.
|
1802 |
|
|
|
1803 |
|
|
2005-12-22 Andrew Pinski
|
1804 |
|
|
|
1805 |
|
|
PR tree-opt/25513
|
1806 |
|
|
* tree-dfa.c (make_rename_temp): Set DECL_COMPLEX_GIMPLE_REG_P complex
|
1807 |
|
|
variables.
|
1808 |
|
|
|
1809 |
|
|
2005-12-21 Andrew Pinski
|
1810 |
|
|
|
1811 |
|
|
PR debug/25518
|
1812 |
|
|
* dwarf2out.c (dwarf2out_switch_text_section): Declare when
|
1813 |
|
|
DWARF2_UNWIND_INFO is defined or when DWARF2_DEBUGGING_INFO is
|
1814 |
|
|
defined.
|
1815 |
|
|
|
1816 |
|
|
2005-12-20 Zdenek Dvorak
|
1817 |
|
|
|
1818 |
|
|
PR tree-optimization/24793
|
1819 |
|
|
* tree-ssa-loop-ivopts.c (get_ref_tag): Remember the
|
1820 |
|
|
original reference if there are subvars.
|
1821 |
|
|
* tree-ssa-operands.c (get_tmr_operands): Handle subvars.
|
1822 |
|
|
|
1823 |
|
|
2005-12-21 Steven Bosscher
|
1824 |
|
|
|
1825 |
|
|
PR rtl-optimization/25196
|
1826 |
|
|
* postreload-gcse.c (record_last_set_info): Notice stack pointer
|
1827 |
|
|
changes in push insns without REG_INC notes.
|
1828 |
|
|
|
1829 |
|
|
2005-12-21 Andrew Haley
|
1830 |
|
|
|
1831 |
|
|
PR middle-end/25121
|
1832 |
|
|
* recog.c (peephole2_optimize): Don't peephole any
|
1833 |
|
|
RTX_FRAME_RELATED_P insns.
|
1834 |
|
|
|
1835 |
|
|
2005-12-20 Richard Guenther
|
1836 |
|
|
|
1837 |
|
|
PR middle-end/24306
|
1838 |
|
|
* builtins.c (std_gimplify_va_arg_expr): Do not align
|
1839 |
|
|
va frame for zero sized types.
|
1840 |
|
|
* config/i386/i386.c (ix86_gimplify_va_arg): Likewise.
|
1841 |
|
|
|
1842 |
|
|
2005-12-19 Andrew Pinski
|
1843 |
|
|
|
1844 |
|
|
PR middle-end/22313
|
1845 |
|
|
* dwarf2out.c (dwarf2out_switch_text_section): Export.
|
1846 |
|
|
* debug.h (dwarf2out_switch_text_section): Prototype.
|
1847 |
|
|
* final.c (final_scan_insn): Call dwarf2out_switch_text_section
|
1848 |
|
|
if we need to call it for dwarf2 unwind info.
|
1849 |
|
|
|
1850 |
|
|
2005-12-20 Kaz Kojima
|
1851 |
|
|
|
1852 |
|
|
PR rtl-optimization/24982
|
1853 |
|
|
* reload.c (refers_to_regno_for_reload_p): Take
|
1854 |
|
|
reg_equiv_invariant and reg_equiv_init into account.
|
1855 |
|
|
* reload.h (reg_equiv_invariant): Declare.
|
1856 |
|
|
|
1857 |
|
|
2005-12-19 Paolo Bonzini
|
1858 |
|
|
|
1859 |
|
|
PR target/25180
|
1860 |
|
|
* config/rs6000/predicates.md (logical_const_operand): Split
|
1861 |
|
|
out of logical_operand.
|
1862 |
|
|
(logical_operand): Use it.
|
1863 |
|
|
* config/rs6000/rs6000.md (cmp -> xor peephole2): Use
|
1864 |
|
|
logical_const_operand.
|
1865 |
|
|
|
1866 |
|
|
2005-12-19 Nathan Sidwell
|
1867 |
|
|
|
1868 |
|
|
* config/mt/mt.md (decrement_and_branch_until_zero): Add another
|
1869 |
|
|
scratch. Correct its reload split. Adjust its peephole.
|
1870 |
|
|
(nop): Use 'nop'.
|
1871 |
|
|
* config/mt/mt.c (MT_INT_ARG_FIRST): Remove.
|
1872 |
|
|
(mt_asm_output_opcode, mt_print_operand): Use 'nop'.
|
1873 |
|
|
(mt_function_arg_slotno): Use FIRST_ARG_REGNUM.
|
1874 |
|
|
(mt_builtin_saveregs): Replace with ...
|
1875 |
|
|
(mt_setup_incoming_varargs): ... here. Save just the varadic
|
1876 |
|
|
args.
|
1877 |
|
|
(mt_va_start): Remove.
|
1878 |
|
|
(mt_reorg_hazard): Ignore USE insns. Don't call set_noop_p.
|
1879 |
|
|
(mt_machine_reorg): Split all insns here.
|
1880 |
|
|
(TARGET_SETUP_INCOMING_VARARGS): Override.
|
1881 |
|
|
* config/mt/mt.h (TARGET_CPU_CPP_BUILTINS): Define __mt__ only.
|
1882 |
|
|
Set to CPU type.
|
1883 |
|
|
(EXPAND_BUILTIN_VA_START): Remove.
|
1884 |
|
|
|
1885 |
|
|
2005-12-18 Andreas Krebbel
|
1886 |
|
|
|
1887 |
|
|
* tree-cfg.c (tree_flow_call_edges_add): Check for empty basic blocks.
|
1888 |
|
|
|
1889 |
|
|
2005-12-18 Jan Hubicka
|
1890 |
|
|
|
1891 |
|
|
PR rtl-optimization/25224
|
1892 |
|
|
* tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Free copy
|
1893 |
|
|
tables.
|
1894 |
|
|
|
1895 |
|
|
2005-12-18 Dorit Nuzman
|
1896 |
|
|
|
1897 |
|
|
PR tree-optimization/24378
|
1898 |
|
|
* tree-vect-transform.c (vect_transform_loop): Create single-predecessor
|
1899 |
|
|
basic-block after loop-versioning.
|
1900 |
|
|
|
1901 |
|
|
2005-12-17 Steven Bosscher
|
1902 |
|
|
|
1903 |
|
|
PR rtl-optimization/23837
|
1904 |
|
|
* optabs.c (expand_binop): For a multi-word rotate, never emit
|
1905 |
|
|
a REG_NO_CONFLICT block.
|
1906 |
|
|
|
1907 |
|
|
2005-12-16 Nathan Sidwell
|
1908 |
|
|
|
1909 |
|
|
Second part of MS1->MT renaming
|
1910 |
|
|
* config/mt/mt.md (doloop_end): Call mt_add_loop.
|
1911 |
|
|
(movqi, movhi): Call mt_set_memflags.
|
1912 |
|
|
(*movdf_internal): Call mt_split_words.
|
1913 |
|
|
(reload_inqi, reload_outqi, reload_inhi, reload_outhi): Call
|
1914 |
|
|
mt_set_memflags.
|
1915 |
|
|
(cmpsi): Store to mt_compare_op[01].
|
1916 |
|
|
(beq, bne, bge, bgt, ble, blt, bgeu, bgtu, bleu, bltu, bunge,
|
1917 |
|
|
bungt, bunle, bunlt): Call mt_emit_cbranch.
|
1918 |
|
|
(prologue): Call mt_expand_prologue.
|
1919 |
|
|
(epilogu): Call mt_expend_epilogue.
|
1920 |
|
|
(eh_return): Call mt_expand_eh_return.
|
1921 |
|
|
(eh_epilogue): Call me_emit_eh_epilogue.
|
1922 |
|
|
(conditional_trap): Store to mt_compare_op[01].
|
1923 |
|
|
* config/mt/crti.asm: Adjust comment.
|
1924 |
|
|
* config/mt/crtn.asm: Adjust comment.
|
1925 |
|
|
* config/mt/mt.c (MT_INT_ARG_FIRST): Renamed.
|
1926 |
|
|
(mt_compare_op0, mt_compare_op1): Renamed.
|
1927 |
|
|
(current_frame_info, zero_frame_info): Adjust type.
|
1928 |
|
|
(mt_ucmpsi3_libcall): Renamed.
|
1929 |
|
|
(mt_flag_delayed_branch): Renamed.
|
1930 |
|
|
(mt_struct_value_rtx, mt_return_addr_rtx): Renamed.
|
1931 |
|
|
(mt_nops_required, mt_nop_reasons): Renamed.
|
1932 |
|
|
(mt_asm_output_opcode, mt_get_attr_type, mt_final_prescan_insn,
|
1933 |
|
|
mt_debug_stack, mt_print_operand_simple_address,
|
1934 |
|
|
mt_print_operand_address, mt_print_operand): Renamed, adjusted.
|
1935 |
|
|
(mt_init_cumulative_args, mt_function_arg_slotno, mt_function_arg,
|
1936 |
|
|
mt_function_arg_advance, mt_arg_partial_bytes,
|
1937 |
|
|
mt_pass_by_reference, mt_function_arg_boundary,
|
1938 |
|
|
mt_reg_ok_for_base_p, mt_legitimate_simple_address_p,
|
1939 |
|
|
mt_legitimate_address_p): Renamed, adjusted.
|
1940 |
|
|
(mt_cpu): Renamed.
|
1941 |
|
|
(mt_init_machine_status, mt_override_options, mt_builtin_saveregs,
|
1942 |
|
|
mt_va_start, mt_compute_frame_size, mt_emit_save_restore,
|
1943 |
|
|
mt_emit_save_fp, mt_emit_save_regs, mt_interrupt_function_p,
|
1944 |
|
|
mt_expand_prologue, mt_epilogue_uses, mt_expand_epilogue,
|
1945 |
|
|
mt_expand_eh_return, mt_emit_eh_prologue,
|
1946 |
|
|
mt_handl_interrupt_attribute): Renamed, adjusted.
|
1947 |
|
|
(mt_attribute_table): Renamed, adjusted.
|
1948 |
|
|
(mt_initial_elimination_offset, mt_generate_compare,
|
1949 |
|
|
mt_emit_cbranch, mt_set_memflags_1, mt_set_memflags,
|
1950 |
|
|
mt_secondary_reload_class, mt_function_value, mt_split_words,
|
1951 |
|
|
mt_pass_in_stack, mt_add_loop, mt_loop_nesting, mt_block_length,
|
1952 |
|
|
mt_scan_loop, mt_reorg_loops): Renamed, adjusted.
|
1953 |
|
|
(mt_labels): Renamed.
|
1954 |
|
|
(mt_add_branches, mt_check_delay_slot, mt_reorg_hazard,
|
1955 |
|
|
mt_machine_reorg): Renamed, adjusted.
|
1956 |
|
|
(mt_attribute_table: Renamed.
|
1957 |
|
|
(TARGET_ATTRIBUTE_TABLE, TARGET_STRUCT_VALUE_RTX,
|
1958 |
|
|
TARGET_PASS_BY_REFERENCE, TARGET_MUST_PASS_IN_STACK,
|
1959 |
|
|
TARGET_ARG_PARTIAL_BYTES, TARGET_MACHINE_DEPENDENT_REORG): Adjust.
|
1960 |
|
|
* config/mt/mt.opt (march): Set mt_cpu_string.
|
1961 |
|
|
* config/mt/mt.h (mt_ucmpsi3_libcall, mt_cpu): Renamed.
|
1962 |
|
|
(TARGET_CPU_CPP_BUILTINS): Adjust.
|
1963 |
|
|
(TARGET_MS1_64_001, TARGET_MS1_16_002, TARGET_MS1_16_003,
|
1964 |
|
|
TARGET_MS2): Adjust.
|
1965 |
|
|
(TARGET_VERSION, OVERRIDE_OPTIONS, SECONDARY_RELOAD_CLASS): Adjust.
|
1966 |
|
|
(MT_MIN_INT): Renamed.
|
1967 |
|
|
(RETURN_ADDR_RTX): Adjust.
|
1968 |
|
|
(struct mt_frame_info): Renamed.
|
1969 |
|
|
(current_frame_info): Adjust type.
|
1970 |
|
|
(INITIAL_ELIMINATION_OFFSET): Adjust.
|
1971 |
|
|
(MT_NUM_ARG_REGS): Renamed.
|
1972 |
|
|
(REG_PARM_STACK_SPACE, FUNCTION_ARG, INIT_CUMULATVE_ARGS,
|
1973 |
|
|
FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY, FUNCTION_VALUE,
|
1974 |
|
|
LIBCALL_VALUE, EPILOGUE_USES, EXPAND_BUILTIN_VA_START,
|
1975 |
|
|
GO_IF_LEGITIMATE_ADDRESS, REG_OK_FOR_BASE_P, ASM_OUTPUT_OPCODE,
|
1976 |
|
|
FINAL_REPSCAN_INSN, PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Adjust.
|
1977 |
|
|
(mt_compare_op0, mt_compare_op1): Renamed.
|
1978 |
|
|
* config/mt/mt-protos.h: Rename prototypes.
|
1979 |
|
|
|
1980 |
|
|
* config/mt/mt.c (mt_override_options): Require lower case
|
1981 |
|
|
architectures. Revert accidental default to ms2.
|
1982 |
|
|
* config/mt/mt.h (ASM_SPEC, LIBSPEC, STARTFILE_SPEC,
|
1983 |
|
|
ENDFILE_SPEC): Require lower case architectures. Revert default
|
1984 |
|
|
to ms2.
|
1985 |
|
|
|
1986 |
|
|
* doc/invoke.texi (MT Options): Rename and update.
|
1987 |
|
|
* doc/md.texi (MorphoTech family): Rename and update.
|
1988 |
|
|
|
1989 |
|
|
* config/mt/t-mt (crti.o, crtn.o): Add multilib options.
|
1990 |
|
|
(EXTRA_MULTILIB_PARTS): Define.
|
1991 |
|
|
|
1992 |
|
|
* config/mt/t-mt (MULTILIB_OPTIONS): Add ms2
|
1993 |
|
|
(MULTILIB_DIRNAMES): Add ms2. Prefix ms1 dirs with 'ms1'.
|
1994 |
|
|
* config/mt/mt.c (ms1_final_prescan): Use TARGET_MS2,
|
1995 |
|
|
TARGET_MS1_64_001 appropriately.
|
1996 |
|
|
(ms1_machine_reorg): Use TARGET_MS2.
|
1997 |
|
|
|
1998 |
|
|
2005-12-09 Aldy Hernandez
|
1999 |
|
|
* config/mt/t-mt (MULTILIB_OPTIONS): Define.
|
2000 |
|
|
(MULTILIB_DIRNAMES): Define.
|
2001 |
|
|
|
2002 |
|
|
* config.gcc (ms1): Replace with ...
|
2003 |
|
|
(mt): ... this.
|
2004 |
|
|
* config/ms1: Rename to ...
|
2005 |
|
|
* config/mt: ... here. Rename ms1 files to mt.
|
2006 |
|
|
* config/mt/mt.c: Adjust gt-mt.h #include.
|
2007 |
|
|
* config/mt/t-mt (LIB1ASMSRCS, LIB2FUNCS_EXTRA): Adjust.
|
2008 |
|
|
(crti.o, crtn.o): Adjust file names.
|
2009 |
|
|
|
2010 |
|
|
2005-12-16 Andrew Haley
|
2011 |
|
|
|
2012 |
|
|
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Guard
|
2013 |
|
|
against prev_cache_entry == NULL when moving a cache entry to the
|
2014 |
|
|
head of the list.
|
2015 |
|
|
|
2016 |
|
|
2005-12-16 Nathan Sidwell
|
2017 |
|
|
|
2018 |
|
|
* config/ms1/ms1.c (ms1_reorg_hazard): Don't count noop moves.
|
2019 |
|
|
|
2020 |
|
|
2005-12-16 Jakub Jelinek
|
2021 |
|
|
|
2022 |
|
|
PR rtl-optimization/24899
|
2023 |
|
|
* loop.c (strength_reduce): Don't reduce giv that is not always
|
2024 |
|
|
computable and where add_val or mult_val can trap.
|
2025 |
|
|
|
2026 |
|
|
* doc/invoke.texi (-fdump-tree-*): Remove note about C/C++ only.
|
2027 |
|
|
|
2028 |
|
|
2005-12-16 Andreas Krebbel
|
2029 |
|
|
|
2030 |
|
|
PR 24823
|
2031 |
|
|
* flow.c (mark_used_dest_regs): New function.
|
2032 |
|
|
(mark_used_regs): Call mark_used_dest_regs.
|
2033 |
|
|
|
2034 |
|
|
2005-12-15 Jakub Jelinek
|
2035 |
|
|
|
2036 |
|
|
* varasm.c (default_unique_section_1): Use special section
|
2037 |
|
|
names for SECCAT_DATA_REL{,_RO}{,_LOCAL}.
|
2038 |
|
|
|
2039 |
|
|
2005-12-15 Jan Hubicka
|
2040 |
|
|
|
2041 |
|
|
PR target/24969
|
2042 |
|
|
* i386.c (classify_argument): Properly adjust offset of bitfield for
|
2043 |
|
|
substructures.
|
2044 |
|
|
|
2045 |
|
|
2005-12-15 Eric Botcazou
|
2046 |
|
|
|
2047 |
|
|
PR ada/18659
|
2048 |
|
|
PR ada/18819
|
2049 |
|
|
* doc/invoke.texi (Optimize Options): Document that
|
2050 |
|
|
-ftree-sra is not automatically enabled for the Ada compiler.
|
2051 |
|
|
|
2052 |
|
|
2005-12-15 Olivier Hainque
|
2053 |
|
|
|
2054 |
|
|
* stor-layout.c (layout_type): Don't complain about a too small
|
2055 |
|
|
an array element type size compared to its alignment when the
|
2056 |
|
|
size overflows.
|
2057 |
|
|
|
2058 |
|
|
2005-12-14 Jeff Law
|
2059 |
|
|
|
2060 |
|
|
PR tree-optimization/23838
|
2061 |
|
|
* tree-ssa-dse.c (dse_optimize_stmt): Correctly handle PHI nodes which
|
2062 |
|
|
represent a use and definition of the same SSA_NAME.
|
2063 |
|
|
|
2064 |
|
|
2005-12-14 Ulrich Weigand
|
2065 |
|
|
|
2066 |
|
|
PR rtl-optimization/25310
|
2067 |
|
|
* reload1.c (eliminate_regs_in_insn): Handle lowpart SUBREGs
|
2068 |
|
|
of the eliminable register when substituting into a PLUS.
|
2069 |
|
|
|
2070 |
|
|
2005-12-14 Jakub Jelinek
|
2071 |
|
|
|
2072 |
|
|
PR debug/25023
|
2073 |
|
|
* config/i386/i386.c (ix86_force_to_memory): Always use
|
2074 |
|
|
SImode push for HImode in -m32.
|
2075 |
|
|
(ix86_free_from_memory): Likewise.
|
2076 |
|
|
|
2077 |
|
|
PR target/25254
|
2078 |
|
|
PR target/24188
|
2079 |
|
|
* config/i386/i386.c (x86_64_elf_select_section): If DECL is not
|
2080 |
|
|
DECL_P, call named_section_flags rather than named_section. Supply
|
2081 |
|
|
section flags to it.
|
2082 |
|
|
|
2083 |
|
|
2005-12-13 Jakub Jelinek
|
2084 |
|
|
|
2085 |
|
|
PR debug/25023
|
2086 |
|
|
PR target/25293
|
2087 |
|
|
* expr.c (emit_move_resolve_push): Handle PRE_MODIFY
|
2088 |
|
|
and POST_MODIFY with CONST_INT adjustment equal to PUSH_ROUNDING.
|
2089 |
|
|
Fix POST_INC/POST_DEC handling if PUSH_ROUNDING is not identity.
|
2090 |
|
|
* config/i386/i386.md (pushhi2, pushqi2): Use pushl instead of pushw.
|
2091 |
|
|
Set mode to SI, adjust constraints.
|
2092 |
|
|
(pushhi2_rex64, pushqi2_rex64): Set mode to DI.
|
2093 |
|
|
* config/i386/i386.h (PUSH_ROUNDING): Round up to 4 instead of 2 for
|
2094 |
|
|
32-bit code.
|
2095 |
|
|
|
2096 |
|
|
2005-12-13 Paul Brook
|
2097 |
|
|
|
2098 |
|
|
* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=gnu for
|
2099 |
|
|
apcs/atpcs.
|
2100 |
|
|
|
2101 |
|
|
2005-12-13 Alan Modra
|
2102 |
|
|
|
2103 |
|
|
* config/rs6000/linux64.h (TARGET_ALIGN_NATURAL): Define.
|
2104 |
|
|
|
2105 |
|
|
2005-12-12 Alan Modra
|
2106 |
|
|
|
2107 |
|
|
PR target/25212
|
2108 |
|
|
* config/rs6000/rs6000.c (legitimate_indexed_address_p): Allow pattern
|
2109 |
|
|
generated by reload.
|
2110 |
|
|
(print_operand): Check that both operands of indexed address are regs.
|
2111 |
|
|
(print_operand_address): Likewise.
|
2112 |
|
|
* config/rs6000/rs6000.h (INT_REG_OK_FOR_INDEX_P): Simplify.
|
2113 |
|
|
(INT_REG_OK_FOR_BASE_P): Correct.
|
2114 |
|
|
* config/rs6000/predicates.md (indexed_or_indirect_operand): Use
|
2115 |
|
|
indexed_or_indirect_address.
|
2116 |
|
|
(indexed_or_indirect_address): Don't test for base reg. Call
|
2117 |
|
|
address_operand last. Make it a special predicate.
|
2118 |
|
|
|
2119 |
|
|
2005-12-10 Mark Mitchell
|
2120 |
|
|
|
2121 |
|
|
PR c++/25010
|
2122 |
|
|
* ipa-inline.c (cgraph_clone_inlined_nodes): Do not assume that
|
2123 |
|
|
DECL_EXTERNAL functions have no bodies. Tidy.
|
2124 |
|
|
|
2125 |
|
|
2005-12-10 John David Anglin
|
2126 |
|
|
|
2127 |
|
|
PR target/25258
|
2128 |
|
|
* pa.c (som_text_section_asm_op): Use .NSUBSPA directive when changing
|
2129 |
|
|
to the text subspace to output debugging information.
|
2130 |
|
|
|
2131 |
|
|
2005-12-09 Bernd Schmidt
|
2132 |
|
|
|
2133 |
|
|
* config/bfin/bfin.c: Include "cgraph.h".
|
2134 |
|
|
(bfin_load_pic_reg): Omit loading pic reg if in a local function.
|
2135 |
|
|
Return the reg that holds the pointer to the GOT.
|
2136 |
|
|
(bfin_expand_prologue): Use return value of bfin_load_pic_reg when
|
2137 |
|
|
doing stack checking.
|
2138 |
|
|
|
2139 |
|
|
2005-12-09 Ulrich Weigand
|
2140 |
|
|
|
2141 |
|
|
PR target/25311
|
2142 |
|
|
* config/s390/s390.c (struct s390_address): New field literal_pool.
|
2143 |
|
|
(s390_decompose_address): Compute literal_pool field. Do not
|
2144 |
|
|
assume register %r13 is always (and solely) used as pool base.
|
2145 |
|
|
(s390_extra_constraint_str): Use literal_pool field.
|
2146 |
|
|
|
2147 |
|
|
2005-12-09 Thiemo Seufer
|
2148 |
|
|
|
2149 |
|
|
* config/mips/mips.c (override_options): Don't allow too small
|
2150 |
|
|
integers in FP registers.
|
2151 |
|
|
|
2152 |
|
|
2005-12-09 Alan Modra
|
2153 |
|
|
|
2154 |
|
|
PR debug/24908
|
2155 |
|
|
* dwarf2out.c (dwarf2out_frame_debug_expr): Don't assert that
|
2156 |
|
|
call_used_regs can't be used to save reg in another reg.
|
2157 |
|
|
|
2158 |
|
|
2005-12-09 Hans-Peter Nilsson
|
2159 |
|
|
|
2160 |
|
|
PR target/23424
|
2161 |
|
|
* recog.c (constrain_operands): Strip unary operators
|
2162 |
|
|
only ifndef KEEP_UNARY_OPERATORS_AT_CONSTRAINT_CHECKING.
|
2163 |
|
|
* reload.c (find_reloads): Ditto.
|
2164 |
|
|
* config/cris/cris.h (KEEP_UNARY_OPERATORS_AT_CONSTRAINT_CHECKING):
|
2165 |
|
|
Define.
|
2166 |
|
|
|
2167 |
|
|
2005-12-08 Zdenek Dvorak
|
2168 |
|
|
|
2169 |
|
|
PR tree-optimization/25248
|
2170 |
|
|
* tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Do not use
|
2171 |
|
|
evolution_of_loop from the failed attempt. Remove handling of
|
2172 |
|
|
MULT_EXPR.
|
2173 |
|
|
|
2174 |
|
|
2005-12-08 Richard Guenther
|
2175 |
|
|
|
2176 |
|
|
Backport from mainline
|
2177 |
|
|
2005-11-28 Richard Guenther
|
2178 |
|
|
|
2179 |
|
|
* c-common.c (strict_aliasing_warning): Handle all
|
2180 |
|
|
component-ref like accesses.
|
2181 |
|
|
|
2182 |
|
|
2005-11-24 Richard Guenther
|
2183 |
|
|
Dirk Mueller
|
2184 |
|
|
|
2185 |
|
|
PR c++/14024
|
2186 |
|
|
* c-common.h (strict_aliasing_warning): Declare.
|
2187 |
|
|
* c-common.c (strict_aliasing_warning): New function,
|
2188 |
|
|
split out from ...
|
2189 |
|
|
* c-typeck.c (build_c_cast): ... here.
|
2190 |
|
|
|
2191 |
|
|
2005-12-08 Andreas Krebbel
|
2192 |
|
|
Jakub Jelinek
|
2193 |
|
|
|
2194 |
|
|
PR target/25268
|
2195 |
|
|
* config/s390/s390.c (s390_decompose_shift_count): Remove BITS
|
2196 |
|
|
argument. Don't drop outer ANDs.
|
2197 |
|
|
(s390_extra_constraint_str, print_shift_count_operand): Adjust callers.
|
2198 |
|
|
* config/s390/s390-protos.h (s390_decompose_shift_count): Adjust
|
2199 |
|
|
prototype.
|
2200 |
|
|
* config/s390/predicates.md (setmem_operand): Remove.
|
2201 |
|
|
(shift_count_operand): Rename to...
|
2202 |
|
|
(shift_count_or_setmem_operand): ... this. Adjust
|
2203 |
|
|
s390_decompose_shift_count caller.
|
2204 |
|
|
* config/s390/s390.md (di3_31_and, di3_64_and,
|
2205 |
|
|
ashrdi3_cc_31_and, ashrdi3_cconly_31_and, ashrdi3_31_and,
|
2206 |
|
|
ashrdi3_cc_64_and, ashrdi3_cconly_64_and, ashrdi3_64_and,
|
2207 |
|
|
si3_and, ashrsi3_cc_and, ashrsi3_cconly_and, ashrsi3_and,
|
2208 |
|
|
rotl3_and, setmem_long_and): New insns.
|
2209 |
|
|
(di3_31, di3_64, ashrdi3_cc_31, ashrdi3_cconly_31,
|
2210 |
|
|
ashrdi3_31, ashrdi3_cc_64, ashrdi3_cconly_64, ashrdi3_64,
|
2211 |
|
|
si3, ashrsi3_cc, ashrsi3_cconly, ashrsi3, rotl3,
|
2212 |
|
|
di3, ashrdi3): Use shift_count_or_setmem_operand instead
|
2213 |
|
|
of shift_count_operand.
|
2214 |
|
|
(setmem_long): Use shift_count_or_setmem_operand instead of
|
2215 |
|
|
setmem_operand.
|
2216 |
|
|
|
2217 |
|
|
2005-12-07 Adrian Straetling
|
2218 |
|
|
|
2219 |
|
|
* config/s390/s390.c (s390_expand_atomic): New function.
|
2220 |
|
|
Adjust comment of helper functions.
|
2221 |
|
|
* config/s390/s390-protos.h (s390_expand_atomic): Declare.
|
2222 |
|
|
* config/s390/s390.md ("ATOMIC"): New code macro.
|
2223 |
|
|
("atomic"): Corresponding new code attribute.
|
2224 |
|
|
("sync_lock_test_and_set[hq]i",
|
2225 |
|
|
"sync_{new_,old_,}{and,ior,xor,add,sub,nand}[hq]i"): New pattern.
|
2226 |
|
|
|
2227 |
|
|
2005-12-07 Adrian Straetling
|
2228 |
|
|
|
2229 |
|
|
* config/s390/s390.c (s390_expand_mask_and_shift,
|
2230 |
|
|
struct alignment_context, init_alignment_context,
|
2231 |
|
|
s390_expand_cs_hqi): New.
|
2232 |
|
|
* config/s390/s390-protos.h (s390_expand_cs_hqi): Declare.
|
2233 |
|
|
* config/s390/s390.md ("sync_compare_and_swaphi",
|
2234 |
|
|
"sync_compare_and_swapqi"): New pattern.
|
2235 |
|
|
|
2236 |
|
|
2005-12-07 Adrian Straetling
|
2237 |
|
|
|
2238 |
|
|
* doc/md.texi: Adapt to implementation.
|
2239 |
|
|
|
2240 |
|
|
2005-12-07 Aldy Hernandez
|
2241 |
|
|
|
2242 |
|
|
PR C++/24138
|
2243 |
|
|
* tree.c (integer_all_onesp): Always return true if all bits on.
|
2244 |
|
|
|
2245 |
|
|
* testsuite/g++.dg/init/array0.C: New.
|
2246 |
|
|
|
2247 |
|
|
2005-12-06 Andreas Schwab
|
2248 |
|
|
|
2249 |
|
|
* opts.c (decode_options): Fix typo in message.
|
2250 |
|
|
|
2251 |
|
|
2005-12-06 Alan Modra
|
2252 |
|
|
|
2253 |
|
|
PR other/13873
|
2254 |
|
|
* longlong.h: Merge PPC tests from upstream.
|
2255 |
|
|
|
2256 |
|
|
2005-12-05 James E Wilson
|
2257 |
|
|
|
2258 |
|
|
PR target/24934
|
2259 |
|
|
* opts.c (decode_options): Turn off partitioning if flag_unwind_tables
|
2260 |
|
|
is set.
|
2261 |
|
|
|
2262 |
|
|
2005-12-05 Geoffrey Keating
|
2263 |
|
|
|
2264 |
|
|
* config/rs6000/host-darwin.c (segv_handler): Unblock SEGV so
|
2265 |
|
|
we don't go into an infinite loop.
|
2266 |
|
|
|
2267 |
|
|
2005-12-04 Joseph S. Myers
|
2268 |
|
|
|
2269 |
|
|
* doc/invoke.texi, doc/standards.texi: Refer to
|
2270 |
|
|
gcc-4.1/c99status.html.
|
2271 |
|
|
|
2272 |
|
|
2005-12-02 Jakub Jelinek
|
2273 |
|
|
|
2274 |
|
|
PR target/25199
|
2275 |
|
|
* config/i386/i386.md (movqi_1): Only force imovx for alternative
|
2276 |
|
|
5 if operand 1 is not aligned. Undo previous constraint change.
|
2277 |
|
|
* config/i386/predicates.md (aligned_operand): Use MEM_ALIGN.
|
2278 |
|
|
|
2279 |
|
|
2005-12-02 Alan Modra
|
2280 |
|
|
|
2281 |
|
|
PR middle-end/25176
|
2282 |
|
|
* function.c (expand_function_end): Emit blockage for unwinder
|
2283 |
|
|
after return label.
|
2284 |
|
|
|
2285 |
|
|
2005-12-01 Richard Henderson
|
2286 |
|
|
|
2287 |
|
|
* optabs.c (expand_vec_cond_expr): Use EXPAND_NORMAL.
|
2288 |
|
|
|
2289 |
|
|
2005-11-30 Dale Johannesen
|
2290 |
|
|
Andrew Pinski
|
2291 |
|
|
|
2292 |
|
|
PR rtl-opt/24930
|
2293 |
|
|
* combine.c (find_split_point): Sign extend bitmask
|
2294 |
|
|
when changing bitfield assignment to IOR of AND.
|
2295 |
|
|
|
2296 |
|
|
2005-11-30 Kaveh R. Ghazi
|
2297 |
|
|
|
2298 |
|
|
PR middle-end/25158
|
2299 |
|
|
* builtins.c (fold_builtin_fputs): Defer check for missing
|
2300 |
|
|
replacement functions.
|
2301 |
|
|
|
2302 |
|
|
2005-11-30 Kean Johnston
|
2303 |
|
|
|
2304 |
|
|
* config/i386/i386.c: Check the value of SUPPORTS_ONE_ONLY, not
|
2305 |
|
|
simply its presense in case targets #define SUPPORTS_ONE_ONLY 0.
|
2306 |
|
|
|
2307 |
|
|
2005-11-30 Nathan Sidwell
|
2308 |
|
|
|
2309 |
|
|
* config/ms1/ms1.md (decrement_and_branch_until_zero): Add early
|
2310 |
|
|
clobber to scratch reg.
|
2311 |
|
|
(*decrement_and_branch_until_zero_no_clobber): Remove.
|
2312 |
|
|
(decrement_and_branch peephole): Add dummy scratch reg to pattern.
|
2313 |
|
|
(mulhish3): Use TARGET_MS1_16_003, TARGET_MS2.
|
2314 |
|
|
* config/ms1/ms1.opt (mmul): Remove.
|
2315 |
|
|
* config/ms1/ms1.h (ASM_SPEC): Cope with uppercase arch names.
|
2316 |
|
|
(LINK_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Default to 16-002.
|
2317 |
|
|
|
2318 |
|
|
2005-11-30 Jeff Law
|
2319 |
|
|
|
2320 |
|
|
* tree-ssa-uncprop.c (associate_equivalences_with_edges): Properly
|
2321 |
|
|
handle SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
|
2322 |
|
|
|
2323 |
|
|
2005-11-28 Nathan Sidwell
|
2324 |
|
|
|
2325 |
|
|
PR c++/21166
|
2326 |
|
|
* c-decl.c (finish_struct): Only set DECL_PACKED on a field
|
2327 |
|
|
when its natural alignment is > BITS_PER_UNIT.
|
2328 |
|
|
* stor-layout.c (finalize_type_size): Revert my patch of 2005-08-08.
|
2329 |
|
|
* c-common.c (handle_packed_attribute): Ignore packing on a field
|
2330 |
|
|
whose type is naturally char aligned.
|
2331 |
|
|
|
2332 |
|
|
2005-11-30 Jakub Jelinek
|
2333 |
|
|
|
2334 |
|
|
* config/ia64/ia64.c (ia64_expand_tls_address): Add ORIG_OP1 argument.
|
2335 |
|
|
Move ADDEND_{HI,LO} computation into TLS_MODEL_INITIAL_EXEC case.
|
2336 |
|
|
(ia64_expand_move): Adjust caller.
|
2337 |
|
|
|
2338 |
|
|
* config/ia64/ia64.c (ia64_expand_atomic_op): Only use
|
2339 |
|
|
fetchadd{4,8}.acq instruction if CODE is PLUS or MINUS, for MINUS
|
2340 |
|
|
negate VAL.
|
2341 |
|
|
|
2342 |
|
|
2005-11-29 Kaveh R. Ghazi
|
2343 |
|
|
|
2344 |
|
|
PR middle-end/20109
|
2345 |
|
|
PR middle-end/25120
|
2346 |
|
|
* builtins.c (init_target_chars): New.
|
2347 |
|
|
(expand_builtin_printf, expand_builtin_fprintf,
|
2348 |
|
|
expand_builtin_sprintf, fold_builtin_sprintf,
|
2349 |
|
|
maybe_emit_sprintf_chk_warning, fold_builtin_sprintf_chk,
|
2350 |
|
|
fold_builtin_snprintf_chk, fold_builtin_printf,
|
2351 |
|
|
fold_builtin_fprintf): Check for matching format strings using
|
2352 |
|
|
the target charset.
|
2353 |
|
|
|
2354 |
|
|
2005-11-28 Alexandre Oliva
|
2355 |
|
|
|
2356 |
|
|
PR libfortran/24991
|
2357 |
|
|
* config/darwin.c (machopic_indirection_name,
|
2358 |
|
|
machopic_output_indirection): Follow transparent alias chain.
|
2359 |
|
|
|
2360 |
|
|
2005-11-28 Alexandre Oliva
|
2361 |
|
|
|
2362 |
|
|
* varasm.c (ultimate_transparent_alias_target): Add comment.
|
2363 |
|
|
|
2364 |
|
|
2005-11-26 Roger Sayle
|
2365 |
|
|
|
2366 |
|
|
PR middle-end/21309
|
2367 |
|
|
* expmed.c (choose_mult_variant): Return immediately when mult_cost
|
2368 |
|
|
is less than zero. Limit mult_cost to a reasonable upper bound for
|
2369 |
|
|
the synthetic multiplication sequence.
|
2370 |
|
|
|
2371 |
|
|
2005-11-25 Kaveh R. Ghazi
|
2372 |
|
|
|
2373 |
|
|
PR middle-end/25022
|
2374 |
|
|
* builtins.c (expand_builtin_printf, expand_builtin_fprintf,
|
2375 |
|
|
fold_builtin_fputs, fold_builtin_printf, fold_builtin_fprintf):
|
2376 |
|
|
Lookup the explicit replacement functions for any unlocked
|
2377 |
|
|
stdio builtin transformations.
|
2378 |
|
|
|
2379 |
|
|
2005-11-25 Volker Reichelt
|
2380 |
|
|
|
2381 |
|
|
* fold-const.c (negate_mathfn_p): Fix comment.
|
2382 |
|
|
|
2383 |
|
|
2005-11-22 Eric Botcazou
|
2384 |
|
|
|
2385 |
|
|
PR middle-end/22561
|
2386 |
|
|
* tree-ssa-structalias.c (get_constraint_for): Handle ARRAY_RANGE_REF.
|
2387 |
|
|
|
2388 |
|
|
2005-11-22 Kazu Hirata
|
2389 |
|
|
|
2390 |
|
|
PR target/23435
|
2391 |
|
|
* m68k.md (zero_extendsidi2): Force operands[1] to a register
|
2392 |
|
|
if both operands[0] and operands[1] are memory.
|
2393 |
|
|
|
2394 |
|
|
2005-11-22 Jan Hubicka
|
2395 |
|
|
|
2396 |
|
|
PR tree-optimization/24653
|
2397 |
|
|
* tree-ssa-ccp.c (ccp_fold): Strip down useless conversions.
|
2398 |
|
|
|
2399 |
|
|
2005-11-23 Alan Modra
|
2400 |
|
|
|
2401 |
|
|
PR target/24954
|
2402 |
|
|
* config/rs6000/predicates.md (easy_vector_constant_add_self): Fix
|
2403 |
|
|
typo last change.
|
2404 |
|
|
|
2405 |
|
|
2005-11-22 Alan Modra
|
2406 |
|
|
|
2407 |
|
|
PR middle-end/24950
|
2408 |
|
|
* expmed.c (store_bit_field): Don't attempt to insv a field
|
2409 |
|
|
larger than the reg.
|
2410 |
|
|
|
2411 |
|
|
2005-11-22 Alan Modra
|
2412 |
|
|
|
2413 |
|
|
PR target/24954
|
2414 |
|
|
* config/rs6000/predicated.md (easy_vector_constant_add_self): Use
|
2415 |
|
|
explicit sign extension, not a (char) cast.
|
2416 |
|
|
|
2417 |
|
|
2005-11-21 Joel Sherrill
|
2418 |
|
|
|
2419 |
|
|
* config/arm/rtems-elf.h: Added definition of LINK_GCC_C_SEQUENCE_SPEC
|
2420 |
|
|
which matches behavior of gcc 4.0 and older for RTEMS targets. The
|
2421 |
|
|
default now includes a linker group which makes the RTEMS one nest.
|
2422 |
|
|
|
2423 |
|
|
2005-11-21 David Edelsohn
|
2424 |
|
|
|
2425 |
|
|
PR target/24953
|
2426 |
|
|
* config/rs6000/predicates.md (vrsave_operation): Check
|
2427 |
|
|
UNSPEC_VOLATILE value.
|
2428 |
|
|
|
2429 |
|
|
2005-11-21 Paolo Bonzini
|
2430 |
|
|
|
2431 |
|
|
PR target/24951
|
2432 |
|
|
* config/rs6000/rs6000.c (output_vec_const_move): Load cst and
|
2433 |
|
|
cst2 only for SPE vectors.
|
2434 |
|
|
|
2435 |
|
|
2005-11-21 Kazu Hirata
|
2436 |
|
|
|
2437 |
|
|
PR middle-end/20583
|
2438 |
|
|
* cse.c (cse_insn): Reject invalid forms of CONST earlier.
|
2439 |
|
|
|
2440 |
|
|
2005-11-20 Ian Lance Taylor
|
2441 |
|
|
|
2442 |
|
|
PR rtl-optimization/24883
|
2443 |
|
|
* combine.c (combinable_i3pat): When checking whether the
|
2444 |
|
|
destination of i3 is used in i3, consider paradoxical subregs.
|
2445 |
|
|
|
2446 |
|
|
2005-11-20 Richard Henderson
|
2447 |
|
|
|
2448 |
|
|
PR 24931
|
2449 |
|
|
* tree-sra.c (struct sra_elt): Add all_no_warning.
|
2450 |
|
|
(struct sra_walk_fns)
|
2451 |
|
|
(sra_walk_expr): Pass it.
|
2452 |
|
|
(sra_walk_modify_expr): Likewise.
|
2453 |
|
|
(scalarize_ldst): Likewise.
|
2454 |
|
|
(scan_use): Update for new argument.
|
2455 |
|
|
(mark_no_warning): New.
|
2456 |
|
|
(scalarize_use): Use it.
|
2457 |
|
|
|
2458 |
|
|
2005-11-19 Richard Henderson
|
2459 |
|
|
|
2460 |
|
|
PR tree-opt/24665
|
2461 |
|
|
* tree-gimple.c (is_gimple_id): Export.
|
2462 |
|
|
* tree-gimple.h (is_gimple_id): Declare.
|
2463 |
|
|
* tree-ssa-ccp.c (ccp_decl_initial_min_invariant): New.
|
2464 |
|
|
(get_default_value): Use it.
|
2465 |
|
|
(maybe_fold_stmt_indirect): Likewise.
|
2466 |
|
|
|
2467 |
|
|
2005-11-20 Andreas Schwab
|
2468 |
|
|
|
2469 |
|
|
PR target/24757
|
2470 |
|
|
* config/ia64/ia64.c (ia64_expand_atomic_op): Fix condition of cmp
|
2471 |
|
|
insn.
|
2472 |
|
|
|
2473 |
|
|
2005-11-19 Hans-Peter Nilsson
|
2474 |
|
|
|
2475 |
|
|
PR middle-end/24912
|
2476 |
|
|
PR middle-end/24750
|
2477 |
|
|
* reload.c (find_reloads_address_1): Mention dependency on
|
2478 |
|
|
gen_reload.
|
2479 |
|
|
* reload1.c (gen_reload): For IN with an unary operation, try
|
2480 |
|
|
moving inner expression to OUT if trivial SET is not valid.
|
2481 |
|
|
Confirm that the result is valid. Move common code block into...
|
2482 |
|
|
(emit_insn_if_valid_for_reload): New function.
|
2483 |
|
|
|
2484 |
|
|
2005-11-19 Jakub Jelinek
|
2485 |
|
|
|
2486 |
|
|
* gcc.c (version_compare_spec_function): Use '%s' rather than %qs in
|
2487 |
|
|
fatal format string.
|
2488 |
|
|
|
2489 |
|
|
2005-11-18 Mark Mitchell
|
2490 |
|
|
|
2491 |
|
|
* DEV-PHASE: Change to prerelease.
|
2492 |
|
|
|
2493 |
|
|
2005-11-18 James E Wilson
|
2494 |
|
|
|
2495 |
|
|
* builtins.c (fold_builtin_strstr): Pass s1 through fold_convert before
|
2496 |
|
|
returning it.
|
2497 |
|
|
|
2498 |
|
|
2005-11-18 Mike Stump
|
2499 |
|
|
|
2500 |
|
|
* c-common.c (handle_cleanup_attribute): Use a lang hook for lookup_name.
|
2501 |
|
|
* config/darwin-c.c (darwin_pragma_unused): Likewise.
|
2502 |
|
|
* c-decl.c (lookup_name_two) Remove.
|
2503 |
|
|
* c-tree.h (lookup_name_two): Remove.
|
2504 |
|
|
* c-objc-common.h (LANG_HOOKS_LOOKUP_NAME): Add.
|
2505 |
|
|
* langhooks-def.h (LANG_HOOKS_LOOKUP_NAME): Add.
|
2506 |
|
|
(LANG_HOOKS_DECLS): Add initializer for LANG_HOOKS_LOOKUP_NAME.
|
2507 |
|
|
* langhooks.h (lang_hooks_for_decls): Add lookup_name.
|
2508 |
|
|
|
2509 |
|
|
2005-11-18 Richard Earnshaw
|
2510 |
|
|
|
2511 |
|
|
PR target/24914
|
2512 |
|
|
* arm.c (arm_hard_regno_mode_ok): Co-processor registers aren't ok
|
2513 |
|
|
when not generating code to use that co-processor.
|
2514 |
|
|
|
2515 |
|
|
2005-11-18 James A. Morrison
|
2516 |
|
|
|
2517 |
|
|
* tree-flow.h (reserve_phi_args_for_new_edge, create_phi_node,
|
2518 |
|
|
add_phi_arg, remove_phi_args, remove_phi_node phi_reverse): Mention that
|
2519 |
|
|
these functions are now in tree-phinodes.c.
|
2520 |
|
|
|
2521 |
|
|
2005-11-18 Jie Zhang
|
2522 |
|
|
|
2523 |
|
|
* config/bfin/bfin.md (trap): New pattern.
|
2524 |
|
|
|
2525 |
|
|
2005-11-18 Richard Kenner
|
2526 |
|
|
|
2527 |
|
|
* tree-ssa-dom.c (extract_range_from_cond): Deal with variable bounds
|
2528 |
|
|
on types.
|
2529 |
|
|
|
2530 |
|
|
* expr.c (expand_expr_real): Don't call record_block_change unless
|
2531 |
|
|
ib_boundaries_block is non-null
|
2532 |
|
|
|
2533 |
|
|
* postreload.c (reload_cse_move2add): Don't try to work with BImode.
|
2534 |
|
|
|
2535 |
|
|
* fold-const.c (build_range_check): Use proper type for subtraction
|
2536 |
|
|
when merging lower bound.
|
2537 |
|
|
|
2538 |
|
|
2005-11-18 Zdenek Dvorak
|
2539 |
|
|
|
2540 |
|
|
PR rtl-optimization/24497
|
2541 |
|
|
* loop-unroll.c (apply_opt_in_copies): Do not verify equality of
|
2542 |
|
|
the copied insn.
|
2543 |
|
|
|
2544 |
|
|
2005-11-18 Zdenek Dvorak
|
2545 |
|
|
|
2546 |
|
|
* tree-scalar-evolution.c (expression_expensive_p): New function.
|
2547 |
|
|
(scev_const_prop): Use compute_overall_effect_of_inner_loop.
|
2548 |
|
|
|
2549 |
|
|
2005-11-18 Bernd Schmidt
|
2550 |
|
|
|
2551 |
|
|
* config/bfin/crtlibid.s: New file.
|
2552 |
|
|
|
2553 |
|
|
2005-11-17 John David Anglin
|
2554 |
|
|
|
2555 |
|
|
PR target/24348
|
2556 |
|
|
* config.gcc (hppa*-*-hpux*): Add pa/t-slibgcc-elf-ver to tmake config
|
2557 |
|
|
when not using sjlj exceptions.
|
2558 |
|
|
* config/pa/pa64-hpux.h (LIB_SPEC): Add -lpthread in static links.
|
2559 |
|
|
* config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
|
2560 |
|
|
* config/pa/som.h (ASM_PREFERRED_EH_DATA_FORMAT): Delete define.
|
2561 |
|
|
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Use
|
2562 |
|
|
DWARF_ALT_FRAME_RETURN_COLUMN instead of column 0 as return column.
|
2563 |
|
|
* config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): New define.
|
2564 |
|
|
* config/pa/pa-linux.h (INCOMING_RETURN_ADDR_RTX,
|
2565 |
|
|
DWARF_FRAME_RETURN_COLUMN, ASM_PREFERRED_EH_DATA_FORMAT,
|
2566 |
|
|
ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Delete defines.
|
2567 |
|
|
* config/pa/pa.h (ARG_POINTER_CFA_OFFSET): Delete.
|
2568 |
|
|
(FRAME_POINTER_CFA_OFFSET, INCOMING_RETURN_ADDR_RTX,
|
2569 |
|
|
DWARF_FRAME_RETURN_COLUMN, DWARF_ALT_FRAME_RETURN_COLUMN,
|
2570 |
|
|
ASM_PREFERRED_EH_DATA_FORMAT, ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New
|
2571 |
|
|
defines.
|
2572 |
|
|
* config/pa/hpux-unwind.h: New file.
|
2573 |
|
|
|
2574 |
|
|
2005-11-17 Alexandre Oliva
|
2575 |
|
|
|
2576 |
|
|
* config/rs6000/rs6000.h (ASM_OUTPUT_WEAKREF): Define.
|
2577 |
|
|
* defaults.h (ASM_OUTPUT_WEAKREF): Add decl argument.
|
2578 |
|
|
* varasm.c (do_assemble_alias): Adjust call.
|
2579 |
|
|
(weak_finish): Don't use ASM_WEAKEN_LABEL if ASM_WEAKEN_DECL
|
2580 |
|
|
is defined.
|
2581 |
|
|
* doc/tm.texi (ASM_OUTPUT_WEAKREF): Document it.
|
2582 |
|
|
|
2583 |
|
|
2005-11-17 James E Wilson
|
2584 |
|
|
|
2585 |
|
|
* tree.def (FUNCTION_DECL): Correct typo in comment.
|
2586 |
|
|
|
2587 |
|
|
2005-11-17 Richard Henderson
|
2588 |
|
|
|
2589 |
|
|
* dwarf2out.c (dw_cfi_oprnd_struct): Reduce dw_cfi_reg_num to int.
|
2590 |
|
|
(lookup_cfa_1): Apply data alignment to DW_CFA_def_cfa_offset_sf
|
2591 |
|
|
and DW_CFA_def_cfa_sf.
|
2592 |
|
|
(def_cfa_1): Use DW_CFA_def_cfa_offset_sf with negative values.
|
2593 |
|
|
(dbx_reg_number): Don't assert particular registers here.
|
2594 |
|
|
(based_loc_descr): ... do it here instead. Fold in ...
|
2595 |
|
|
(eliminate_reg_to_offset): ... this function.
|
2596 |
|
|
(compute_frame_pointer_to_cfa_displacement): Fold in the effects
|
2597 |
|
|
of eliminate_reg_to_offset; use FRAME_POINTER_CFA_OFFSET.
|
2598 |
|
|
* unwind-dw2.c (execute_cfa_program): Apply data align factor
|
2599 |
|
|
to DW_CFA_def_cfa_offset_sf and DW_CFA_def_cfa_sf.
|
2600 |
|
|
* function.c (instantiate_new_reg): Use FRAME_POINTER_CFA_OFFSET.
|
2601 |
|
|
(instantiate_virtual_regs): Likewise.
|
2602 |
|
|
* var-tracking.c (adjust_stack_reference): Likewise.
|
2603 |
|
|
* doc/tm.texi (FRAME_POINTER_CFA_OFFSET): New.
|
2604 |
|
|
|
2605 |
|
|
2005-11-17 Bernd Schmidt
|
2606 |
|
|
|
2607 |
|
|
* config/bfin/elf.h (STARTFILE_SPEC): Add "crtlibid%O%s"
|
2608 |
|
|
* config/bfin/uclinux.h (STARFILE_SPEC): Likewise.
|
2609 |
|
|
* config/bfin/t-bfin-elf (EXTRA_PARTS, EXTRA_MULTILIB_PARTS): Add
|
2610 |
|
|
crtlibid.o.
|
2611 |
|
|
($(T)crtlibid.o): New rule.
|
2612 |
|
|
|
2613 |
|
|
2005-11-16 Richard Guenther
|
2614 |
|
|
|
2615 |
|
|
PR middle-end/24851
|
2616 |
|
|
* fold-const.c (extract_array_ref): Return byte offset
|
2617 |
|
|
in all cases.
|
2618 |
|
|
(fold_binary): Fold &x[a] CMP &x[b] to
|
2619 |
|
|
a*sizeof(*x) CMP b*sizeof(*x) to get correct overflow
|
2620 |
|
|
behavior.
|
2621 |
|
|
|
2622 |
|
|
2005-11-16 Richard Henderson
|
2623 |
|
|
|
2624 |
|
|
PR middle-end/23497
|
2625 |
|
|
* tree-ssa.c (warn_uninitialized_var): Skip real and imaginary
|
2626 |
|
|
parts of an SSA_NAME.
|
2627 |
|
|
|
2628 |
|
|
2005-11-16 Richard Earnshaw
|
2629 |
|
|
|
2630 |
|
|
PR target/24861
|
2631 |
|
|
* arm.md (split for movsf with immediate): Restrict split to insns
|
2632 |
|
|
that set a general register.
|
2633 |
|
|
|
2634 |
|
|
2005-11-16 Daniel Jacobowitz
|
2635 |
|
|
|
2636 |
|
|
* config/ia64/unwind-ia64.c (uw_advance_context): New. Call
|
2637 |
|
|
uw_update_context.
|
2638 |
|
|
* unwind-dw2.c (uw_advance_context): Likewise.
|
2639 |
|
|
* unwind-sjlj.c (uw_advance_context): Likewise. Also call
|
2640 |
|
|
_Unwind_SjLj_Unregister.
|
2641 |
|
|
* unwind.inc (_Unwind_ForcedUnwind_Phase2): Call uw_advance_context.
|
2642 |
|
|
|
2643 |
|
|
2005-11-16 Daniel Jacobowitz
|
2644 |
|
|
|
2645 |
|
|
* unwind-sjlj.c (_Unwind_GetCFA): Handle the builtin_setjmp case.
|
2646 |
|
|
|
2647 |
|
|
2005-11-16 Eric Botcazou
|
2648 |
|
|
|
2649 |
|
|
* config/alpha/alpha.c (alpha_init_builtins): Use type_for_mode
|
2650 |
|
|
langhook to get a DImode integer type.
|
2651 |
|
|
|
2652 |
|
|
2005-11-16 Richard Henderson
|
2653 |
|
|
J"orn Rennecke
|
2654 |
|
|
Ulrich Weigand
|
2655 |
|
|
|
2656 |
|
|
PR rtl-opt/24160
|
2657 |
|
|
PR target/24621
|
2658 |
|
|
* reload1.c (reg_equiv_invariant): New.
|
2659 |
|
|
(reload): Allocate, initialize, and free it.
|
2660 |
|
|
(calculate_needs_all_insns): Check it when skipping equivalence
|
2661 |
|
|
setting insns.
|
2662 |
|
|
(alter_reg): Likewise.
|
2663 |
|
|
(eliminate_regs_1): Rename from eliminate_regs. Add new
|
2664 |
|
|
may_use_invariant argument; only use reg_equiv_invariant when true.
|
2665 |
|
|
(eliminate_regs): New.
|
2666 |
|
|
(eliminate_regs_in_insn): Use eliminate_regs_1; track when we're in
|
2667 |
|
|
a context for which may_use_invariant may be true.
|
2668 |
|
|
|
2669 |
|
|
2005-11-16 Eric Botcazou
|
2670 |
|
|
|
2671 |
|
|
* fold-const.c (const_binop): Don't constant fold the operation
|
2672 |
|
|
if the result has overflowed and flag_trapping_math.
|
2673 |
|
|
* simplify-rtx.c (simplify_const_binary_operation): Likewise.
|
2674 |
|
|
|
2675 |
|
|
2005-11-16 Daniel Jacobowitz
|
2676 |
|
|
|
2677 |
|
|
* config/arm/unwind-arm.c (abort): Add prototype here.
|
2678 |
|
|
(UCB_FORCED_STOP_ARG): Correct typo in macro argument.
|
2679 |
|
|
(struct phase1_vrs): Add prev_sp.
|
2680 |
|
|
(unwind_phase2_forced): Save the original core registers instead of
|
2681 |
|
|
modifying entry_vrs. Take a new flag argument for resuming unwinding
|
2682 |
|
|
and set action flags accordingly. Always set _US_END_OF_STACK when
|
2683 |
|
|
get_eit_entry fails. Unwind before calling the stop function.
|
2684 |
|
|
(_Unwind_GetCFA): New function.
|
2685 |
|
|
(__gnu_Unwind_ForcedUnwind): Update call to unwind_phase2_forced.
|
2686 |
|
|
(__gnu_Unwind_Resume_or_Rethrow): Likewise.
|
2687 |
|
|
(__gnu_Unwind_Resume): Do not unwind here for forced unwinding;
|
2688 |
|
|
just call unwind_phase2_forced.
|
2689 |
|
|
(_Unwind_GetDataRelBase, _Unwind_GetTextRelBase): Move to here.
|
2690 |
|
|
* config/arm/unwind-arm.h (abort): Remove prototype.
|
2691 |
|
|
(_Unwind_GetDataRelBase, _Unwind_GetTextRelBase): Change to
|
2692 |
|
|
prototypes.
|
2693 |
|
|
(_Unwind_GetCFA): New prototype.
|
2694 |
|
|
* config/arm/pr-support.c (abort): Add prototype here.
|
2695 |
|
|
* unwind-c.c (PERSONALITY_FUNCTION) [__ARM_EABI_UNWINDER__]: Handle
|
2696 |
|
|
forced unwinding.
|
2697 |
|
|
* config/arm/arm.c (arm_expand_prologue, thumb_expand_prologue): Do
|
2698 |
|
|
not schedule the prologue with non-call exceptions and EABI.
|
2699 |
|
|
|
2700 |
|
|
2005-11-16 Nathan Sidwell
|
2701 |
|
|
|
2702 |
|
|
* config/arm/unwind-arm.h: Reorder interface function declarations.
|
2703 |
|
|
(_URC_END_OF_STACK): New enumeration value.
|
2704 |
|
|
(_US_UNWIND_ACTION_MASK, _US_FORCE_UNWIND, _US_END_OF_STACK): Likewise.
|
2705 |
|
|
(struct _Unwind_Control_Block): Document reserved field use.
|
2706 |
|
|
(_Unwind_Stop_Fn): New typedef.
|
2707 |
|
|
(_Unwind_ForcedUnwind): Declare.
|
2708 |
|
|
(_Unwind_Resume_or_Rethrow): Declare.
|
2709 |
|
|
* gcc/config/arm/libunwind.S (UNWIND_WRAPER): Add nargs
|
2710 |
|
|
argument. Adjust.
|
2711 |
|
|
(_Unwind_Resume_or_Rethrow, _Unwind_ForcedUnwind): New.
|
2712 |
|
|
* config/arm/unwind-arm.c (UCB_FORCED_STOP_FN)
|
2713 |
|
|
(UCB_FORCED_STOP_ARG): New.
|
2714 |
|
|
(search_EIT_table): Update boundary condition checks.
|
2715 |
|
|
(get_eit_entry): Return _URC_END_OF_STACK when cannot unwind.
|
2716 |
|
|
(unwind_phase2): Replace for with do..while.
|
2717 |
|
|
(unwind_phase2_forced): New.
|
2718 |
|
|
(__gnu_Unwind_RaiseException): Replace for with do..while.
|
2719 |
|
|
(__gnu_Unwind_ForcedUnwind): New.
|
2720 |
|
|
(__gnu_Unwind_Resume): Set FORCE_UNWIND flag, if forced unwinding.
|
2721 |
|
|
Use appropriate phase2 unwinder.
|
2722 |
|
|
(__gnu_Unwind_Resume_or_Rethrow): New.
|
2723 |
|
|
(__gnu_unwind_pr_common): Cope with forced unwinding.
|
2724 |
|
|
|
2725 |
|
|
2005-11-16 David Edelsohn
|
2726 |
|
|
|
2727 |
|
|
PR target/24772
|
2728 |
|
|
* config/rs6000/predicates.md (vrsave_operation): SET_SRC is a VEC.
|
2729 |
|
|
|
2730 |
|
|
* config/rs6000/rs6000.md (btruncsf2, ceilsf2, floorsf2,
|
2731 |
|
|
roundsf2): Remove "s" from mnemonic.
|
2732 |
|
|
|
2733 |
|
|
2005-11-16 Bernd Schmidt
|
2734 |
|
|
|
2735 |
|
|
* config/bfin/crti.s (__init, __fini): Use appropriate prologue if
|
2736 |
|
|
__PIC__ is defined.
|
2737 |
|
|
* config/bfin/crtn.s: Change epilogues to match.
|
2738 |
|
|
* config/bfin/t-bfin-elf (EXTRA_MULTILIB_PARTS): Define.
|
2739 |
|
|
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): If flag_pic, define
|
2740 |
|
|
__PIC__ and __pic__.
|
2741 |
|
|
|
2742 |
|
|
2005-11-16 Tobias Schl"uter
|
2743 |
|
|
|
2744 |
|
|
PR 24357
|
2745 |
|
|
* doc/invoke.texi: Distinguish between free and fixed form instead of
|
2746 |
|
|
Fortran and Fortran 90/95. Remove ratfor from the list of supported
|
2747 |
|
|
languages.
|
2748 |
|
|
* gcc.c (default_compilers): Remove double entries, add entries for
|
2749 |
|
|
suffixes '.F90' and '.F95'.
|
2750 |
|
|
|
2751 |
|
|
2005-11-16 Eric Botcazou
|
2752 |
|
|
|
2753 |
|
|
* config/alpha/alpha.c (alpha_expand_prologue): Fix off-by-one bug
|
2754 |
|
|
in the stack probing loop.
|
2755 |
|
|
|
2756 |
|
|
2005-11-15 David Edelsohn
|
2757 |
|
|
|
2758 |
|
|
* configure.ac: Use .machine power5 not power5x.
|
2759 |
|
|
* configure: Regenerate.
|
2760 |
|
|
|
2761 |
|
|
2005-11-15 Mike Stump
|
2762 |
|
|
|
2763 |
|
|
* c-decl.c (lookup_name_two): Add.
|
2764 |
|
|
* c-tree.h (lookup_name_two): Likewise.
|
2765 |
|
|
* c-common.c (handle_cleanup_attribute): Use lookup_name_two instead.
|
2766 |
|
|
* config/darwin-c.c (darwin_pragma_unused): Likewise.
|
2767 |
|
|
|
2768 |
|
|
2005-11-16 Alan Modra
|
2769 |
|
|
|
2770 |
|
|
PR rtl-optimization/23392
|
2771 |
|
|
* regrename.c (enum scan_actions) Add mark_access.
|
2772 |
|
|
(scan_actions_name): Ditto.
|
2773 |
|
|
(scan_rtx_reg): Handle mark_access.
|
2774 |
|
|
(scan_rtx_address): Do nothing for mark_access.
|
2775 |
|
|
(build_def_use): Mark source registers in REG_FRAME_RELATED_EXPR
|
2776 |
|
|
and regs in REG_INC notes before closing chains for dead regs.
|
2777 |
|
|
Mark destination regs in REG_FRAME_RELATED_EXPR notes after
|
2778 |
|
|
opening chains for new writes.
|
2779 |
|
|
|
2780 |
|
|
2005-11-15 David Edelsohn
|
2781 |
|
|
|
2782 |
|
|
* c.opt (ffixed-line-length-none): New.
|
2783 |
|
|
|
2784 |
|
|
2005-11-15 Steve Ellcey
|
2785 |
|
|
|
2786 |
|
|
* mklibgcc.in: Change contents of eh_dummy.c.
|
2787 |
|
|
|
2788 |
|
|
2005-11-15 Daniel Jacobowitz
|
2789 |
|
|
|
2790 |
|
|
* loop.c (scan_loop): Do not insert temporaries for hard registers.
|
2791 |
|
|
|
2792 |
|
|
2005-11-15 Daniel Jacobowitz
|
2793 |
|
|
|
2794 |
|
|
* config/arm/lib1funcs.asm (div0) [L_dvmd_lnx]: Call raise instead
|
2795 |
|
|
of making syscalls.
|
2796 |
|
|
* config/arm/linux-eabi.h (CLEAR_INSN_CACHE): Define. Set r7 also.
|
2797 |
|
|
|
2798 |
|
|
2005-11-15 Jan Hubicka
|
2799 |
|
|
|
2800 |
|
|
* invoke.texi (large-unit-insns): Document.
|
2801 |
|
|
* ipa-inline.c (cgraph_decide_inlining): Use large-unit-insns param.
|
2802 |
|
|
* params.def (large-unit-insns): New param.
|
2803 |
|
|
|
2804 |
|
|
2005-11-15 Hans-Peter Nilsson
|
2805 |
|
|
|
2806 |
|
|
PR target/24869
|
2807 |
|
|
* config/cris/cris.md ("*mov_sidesisf_mem"): Do not match
|
2808 |
|
|
special register for operand 3. Reindent constraints to align
|
2809 |
|
|
them vertically.
|
2810 |
|
|
|
2811 |
|
|
2005-11-14 David Edelsohn
|
2812 |
|
|
|
2813 |
|
|
* doc/invoke.texi (RS/6000 and PowerPC Options): Add -mmfcrf,
|
2814 |
|
|
-mpopcntb, -mfprnd. Add -mcpu=power5+.
|
2815 |
|
|
* configure.ac: Add test for FP rounding instructions.
|
2816 |
|
|
* configure: Regenerate.
|
2817 |
|
|
* config.in: Regenerate.
|
2818 |
|
|
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
|
2819 |
|
|
_ARCH_PPCSQ, _ARCH_PPCGR, _ARCH_PWR4, _ARCH_PWR5, _ARCH_PWR5X if
|
2820 |
|
|
features enabled.
|
2821 |
|
|
* config/rs6000/rs6000.opt (mfprnd): New.
|
2822 |
|
|
* config/rs6000/rs6000.c (processor_target_table): Add power5+.
|
2823 |
|
|
(POWERPC_MASKS): Add MASK_POPCNTB and MASK_FPRND.
|
2824 |
|
|
* config/rs6000/aix52.h (ASM_CPU_SPEC): Add -mpower5+.
|
2825 |
|
|
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mpower5+.
|
2826 |
|
|
(TARGET_FPRND): New.
|
2827 |
|
|
* config/rs6000/rs6000.md (UNSPEC_FRIM, UNSPEC_FRIN, UNSPEC_FRIP,
|
2828 |
|
|
UNSPEC_FRIZ): New.
|
2829 |
|
|
(btrunc2): New.
|
2830 |
|
|
(ceil2): New.
|
2831 |
|
|
(floor2): New.
|
2832 |
|
|
(round2): New.
|
2833 |
|
|
|
2834 |
|
|
2005-11-14 Geoffrey Keating
|
2835 |
|
|
|
2836 |
|
|
* gcc.c (version_compare_spec_function): Use fatal() rather than
|
2837 |
|
|
abort().
|
2838 |
|
|
|
2839 |
|
|
* config/rs6000/darwin.h (DARWIN_CRT2_SPEC): New.
|
2840 |
|
|
(SUBTARGET_EXTRA_SPECS): Define %(darwin_crt2).
|
2841 |
|
|
* config/i386/darwin.h (SUBTARGET_EXTRA_SPECS): Define %(darwin_crt2)
|
2842 |
|
|
as empty.
|
2843 |
|
|
* config/darwin.h (STARTFILE_SPEC): Use %(darwin_crt2) to possibly
|
2844 |
|
|
link in crt2.o.
|
2845 |
|
|
|
2846 |
|
|
* config/darwin.h (REAL_LIBGCC_SPEC): Link in shared libgcc depending
|
2847 |
|
|
on -mmacosx-version-min setting.
|
2848 |
|
|
|
2849 |
|
|
2005-11-14 Diego Novillo
|
2850 |
|
|
|
2851 |
|
|
PR 24840
|
2852 |
|
|
* tree-vrp.c (infer_value_range): Return false if STMT is a
|
2853 |
|
|
block terminator and its basic block has no successors.
|
2854 |
|
|
|
2855 |
|
|
2005-11-14 Mike Stump
|
2856 |
|
|
|
2857 |
|
|
* config/i386/i386.c (override_options): -masm=intel isn't
|
2858 |
|
|
supported on darwin.
|
2859 |
|
|
* doc/invoke.texi (i386 and x86-64 Options): Likewise.
|
2860 |
|
|
|
2861 |
|
|
2005-11-15 Joseph S. Myers
|
2862 |
|
|
|
2863 |
|
|
* crtstuff.c: Undefine gid_t, pid_t, rlim_t, ssize_t, uid_t and
|
2864 |
|
|
vfork after including auto-host.h.
|
2865 |
|
|
|
2866 |
|
|
2005-11-15 Alan Modra
|
2867 |
|
|
|
2868 |
|
|
PR rtl-optimization/22002
|
2869 |
|
|
* combine.c (distribute_notes): Detect cases where a reg dies
|
2870 |
|
|
two or more times in a bb, including on the insn we are combining,
|
2871 |
|
|
and place the death note on the correct range.
|
2872 |
|
|
|
2873 |
|
|
2005-11-14 Dale Johannesen
|
2874 |
|
|
|
2875 |
|
|
* expmed.c (store_bit_field): Add offset unconditionally for
|
2876 |
|
|
memory targets.
|
2877 |
|
|
(extract_bit_field): Don't force extzv or extv operand into
|
2878 |
|
|
a register if field is too big.
|
2879 |
|
|
|
2880 |
|
|
2005-11-14 Daniel Jacobowitz
|
2881 |
|
|
|
2882 |
|
|
* config/arm/arm.c (pic_labelno): New.
|
2883 |
|
|
(arm_load_pic_register): Use an UNSPEC_PIC_LABEL instead of a
|
2884 |
|
|
LABEL_REF. Pass only the labelno to PIC insns.
|
2885 |
|
|
(arm_call_tls_get_addr, legitimize_tls_address): Likewise.
|
2886 |
|
|
(arm_output_addr_const_extra): Handle UNSPEC_PIC_LABEL.
|
2887 |
|
|
* arm.md (UNSPEC_PIC_LABEL): New constant.
|
2888 |
|
|
(pic_add_dot_plus_four, pic_add_dot_plus_eight)
|
2889 |
|
|
(tls_load_dot_plus_eight): Expect a labelno instead of a LABEL_REF.
|
2890 |
|
|
Use the correct label prefix.
|
2891 |
|
|
|
2892 |
|
|
2005-11-14 Daniel Jacobowitz
|
2893 |
|
|
|
2894 |
|
|
* config/arm/arm.c (legitimize_tls_address): Use correct rtx for
|
2895 |
|
|
REQ_EQUIV note.
|
2896 |
|
|
|
2897 |
|
|
2005-11-14 Richard Earnshaw
|
2898 |
|
|
|
2899 |
|
|
* loop-invariant.c: Include tm_p.h.
|
2900 |
|
|
* Makefile.in: Updated.
|
2901 |
|
|
|
2902 |
|
|
2005-11-13 John David Anglin
|
2903 |
|
|
|
2904 |
|
|
* pa.c (store_reg): Revise generation of frame notes in large frames.
|
2905 |
|
|
(set_reg_plus_d): Likewise.
|
2906 |
|
|
|
2907 |
|
|
2005-11-13 Andrew MacLeod
|
2908 |
|
|
|
2909 |
|
|
PR tree-optimization/24709
|
2910 |
|
|
* tree-ssa-operands.c (verify_imm_links): Increase limit for infinite
|
2911 |
|
|
loop check.
|
2912 |
|
|
|
2913 |
|
|
2005-11-13 Eric Botcazou
|
2914 |
|
|
|
2915 |
|
|
* gthr-posix95.h: Remove declaration of pthread_mutexattr_settype
|
2916 |
|
|
and duplicate declaration of pthread_self.
|
2917 |
|
|
|
2918 |
|
|
2005-11-13 Eric Botcazou
|
2919 |
|
|
Ian Lance Taylor
|
2920 |
|
|
|
2921 |
|
|
PR middle-end/24003
|
2922 |
|
|
* calls.c (expand_call): If TARGET is a MEM and some part of the
|
2923 |
|
|
argument area has been saved, force TARGET to a register.
|
2924 |
|
|
|
2925 |
|
|
2005-11-13 Razya Ladelsky
|
2926 |
|
|
|
2927 |
|
|
* ipa-prop.c (ipa_callsite_compute_param ): Removed obsolete type
|
2928 |
|
|
checking.
|
2929 |
|
|
|
2930 |
|
|
2005-11-13 Jason Merrill
|
2931 |
|
|
|
2932 |
|
|
PR c++/22489
|
2933 |
|
|
* dwarf2out.c (gen_subprogram_die): Force a declaration die for
|
2934 |
|
|
lazily declared methods.
|
2935 |
|
|
(force_decl_die): Stop if forcing out the context already make a
|
2936 |
|
|
DIE for the decl.
|
2937 |
|
|
(force_type_die): Likewise.
|
2938 |
|
|
|
2939 |
|
|
2005-11-13 Andrew Pinski
|
2940 |
|
|
|
2941 |
|
|
PR middle-end/24820
|
2942 |
|
|
* builtins.c (integer_valued_real_p): Add break in
|
2943 |
|
|
REAL_CST having TREE_OVERFLOW set.
|
2944 |
|
|
|
2945 |
|
|
2005-11-13 Zdenek Dvorak
|
2946 |
|
|
|
2947 |
|
|
* tree-ssa-loop-ivopts.c (get_address_cost): Prevent splitting
|
2948 |
|
|
addressing modes during calculation of costs.
|
2949 |
|
|
|
2950 |
|
|
2005-11-12 Eric Botcazou
|
2951 |
|
|
|
2952 |
|
|
* function.c (assign_stack_local_1): Restrict sanity check
|
2953 |
|
|
on frame size overflow to 32-bit and above platforms.
|
2954 |
|
|
|
2955 |
|
|
2005-11-12 Hans-Peter Nilsson
|
2956 |
|
|
|
2957 |
|
|
* config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
|
2958 |
|
|
* config/cris/cris.c: Include reload.h.
|
2959 |
|
|
(cris_initial_elimination_offset): New function.
|
2960 |
|
|
* config/cris/cris-protos.h: (cris_initial_elimination_offset):
|
2961 |
|
|
Prototype.
|
2962 |
|
|
|
2963 |
|
|
2005-11-12 Richard Guenther
|
2964 |
|
|
|
2965 |
|
|
* gcse.c (find_rtx_in_ldst): Handle NULL pre_ldst_table.
|
2966 |
|
|
|
2967 |
|
|
2005-11-12 Jan Hubicka
|
2968 |
|
|
|
2969 |
|
|
* expr.c (expand_expr_real_1): : Canonicalize
|
2970 |
|
|
to compare against 0 when possible.
|
2971 |
|
|
|
2972 |
|
|
2005-11-12 Jie Zhang
|
2973 |
|
|
|
2974 |
|
|
* config/bfin/bfin.h (REGISTER_NAMES, SHORT_REGISTER_NAMES,
|
2975 |
|
|
HIGH_REGISTER_NAMES, FIXED_REGISTERS, CALL_USED_REGISTERS,
|
2976 |
|
|
REG_ALLOC_ORDER, enum reg_class): Rearrange I/B/L registers.
|
2977 |
|
|
* config/bfin/bfin.md: Redefine REG_ constants for I/B/L registers
|
2978 |
|
|
in the new order.
|
2979 |
|
|
|
2980 |
|
|
2005-11-12 Hans-Peter Nilsson
|
2981 |
|
|
|
2982 |
|
|
* recog.c (constrain_operands) : For a match, require
|
2983 |
|
|
that a non-register matches general_operand when strict >= 0.
|
2984 |
|
|
|
2985 |
|
|
2005-11-11 Steven Bosscher
|
2986 |
|
|
|
2987 |
|
|
* loop-invariant.c (move_loop_invariants): Fix a thinko in the
|
2988 |
|
|
previous checkin.
|
2989 |
|
|
|
2990 |
|
|
2005-11-11 Daniel Jacobowitz
|
2991 |
|
|
|
2992 |
|
|
* tree-ssa-dse.c (struct address_walk_data, memory_ssa_name_same)
|
2993 |
|
|
(memory_address_same): New.
|
2994 |
|
|
(dse_optimize_stmt): Call memory_address_same.
|
2995 |
|
|
|
2996 |
|
|
2005-11-12 Hans-Peter Nilsson
|
2997 |
|
|
|
2998 |
|
|
PR middle-end/24750
|
2999 |
|
|
* reload.c (find_reloads_address_1)
|
3000 |
|
|
ZERO_EXTEND>: New cases.
|
3001 |
|
|
|
3002 |
|
|
2005-11-11 Daniel Jacobowitz
|
3003 |
|
|
|
3004 |
|
|
* longlong.h (__clz_tab): Always provide.
|
3005 |
|
|
|
3006 |
|
|
2005-11-11 Steven Bosscher
|
3007 |
|
|
|
3008 |
|
|
PR 24265
|
3009 |
|
|
* loop-invariant.c (may_assign_reg_p): Make sure a hard register
|
3010 |
|
|
can be assigned to.
|
3011 |
|
|
(find_invariant_insn): Do the cheapest check, may_assign_reg_p,
|
3012 |
|
|
before check_maybe_invariant.
|
3013 |
|
|
(move_invariant_reg): Use gen_move_insn instead of replacing
|
3014 |
|
|
SET_DEST with the temporary for the invariant.
|
3015 |
|
|
(move_loop_invariants): If checking is enabled, do internal
|
3016 |
|
|
consistency checks after completing the pass.
|
3017 |
|
|
|
3018 |
|
|
2005-11-11 David Edelsohn
|
3019 |
|
|
|
3020 |
|
|
PR 24644
|
3021 |
|
|
* common.opt (Wvolatile-register-var): New.
|
3022 |
|
|
* varasm.c (make_decl_rtl): Only emit warning when option
|
3023 |
|
|
specified. Clarify warning message.
|
3024 |
|
|
* doc/invoke.texi (Wvolatile-register-var): Document new option.
|
3025 |
|
|
|
3026 |
|
|
* doc/md.texi (copysign): Document standard named pattern.
|
3027 |
|
|
|
3028 |
|
|
2005-11-11 Jie Zhang
|
3029 |
|
|
|
3030 |
|
|
* config/bfin/bfin.c (bfin_expand_strmov): Correctly move the trailing
|
3031 |
|
|
bytes when align is 2.
|
3032 |
|
|
* config/bfin/bfin.md (rep_movsi, rep_movhi): Make LSETUP be followed
|
3033 |
|
|
by the first instruction of the loop.
|
3034 |
|
|
|
3035 |
|
|
2005-11-11 Jason Merrill
|
3036 |
|
|
|
3037 |
|
|
PR c++/24686
|
3038 |
|
|
* gimplify.c (gimplify_cleanup_point_expr): Also save and restore
|
3039 |
|
|
the cleanup list.
|
3040 |
|
|
|
3041 |
|
|
2005-11-11 Zdenek Dvorak
|
3042 |
|
|
|
3043 |
|
|
PR rtl-optimization/22509
|
3044 |
|
|
* local-alloc.c (memref_used_between_p): Check whether a function call
|
3045 |
|
|
could not reference the memref.
|
3046 |
|
|
|
3047 |
|
|
2005-11-11 Ulrich Weigand
|
3048 |
|
|
|
3049 |
|
|
* postreload.c (reload_cse_simplify_operands): Fix bug in sorting
|
3050 |
|
|
algorithm so as to choose the best, not the worst, alternative.
|
3051 |
|
|
Reset accumulated register class before processing next alternative.
|
3052 |
|
|
|
3053 |
|
|
2005-11-11 Kaz Kojima
|
3054 |
|
|
|
3055 |
|
|
PR target/24445
|
3056 |
|
|
* calls.c (expand_call): Copy a return value to a plain register
|
3057 |
|
|
if needed.
|
3058 |
|
|
|
3059 |
|
|
2005-11-10 Alexandre Oliva
|
3060 |
|
|
|
3061 |
|
|
PR target/24778
|
3062 |
|
|
* varasm.c (assemble_name): Recompute name only for transparent
|
3063 |
|
|
aliases.
|
3064 |
|
|
|
3065 |
|
|
2005-11-10 Hans-Peter Nilsson
|
3066 |
|
|
|
3067 |
|
|
* tree-ssa-structalias.c (heapvar_lookup): Fix typo: stmt to from.
|
3068 |
|
|
|
3069 |
|
|
2005-11-04 Jeff Law
|
3070 |
|
|
|
3071 |
|
|
PR middle-end/23181
|
3072 |
|
|
* tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Do not
|
3073 |
|
|
perform reassociation if the parent statement will not die as
|
3074 |
|
|
a result of the optimization.
|
3075 |
|
|
|
3076 |
|
|
2005-11-10 Daniel Berlin
|
3077 |
|
|
|
3078 |
|
|
* tree-ssa-alias.c (compute_may_aliases): Remove call to
|
3079 |
|
|
delete_old_heap_vars.
|
3080 |
|
|
* tree-dfa.c (referenced_var_remove): Remove function.
|
3081 |
|
|
* tree-ssa.c (init_tree_ssa): Call init_alias_heapvars.
|
3082 |
|
|
(delete_tree_ssa): Remove call to delete_old_heapvars.
|
3083 |
|
|
Add call to delete_alias_heapvars.
|
3084 |
|
|
* tree-flow.h (referenced_var_remove): Remove prototype
|
3085 |
|
|
(init_alias_heapvars): New prototype.
|
3086 |
|
|
(delete_alias_heapvars): Ditto.
|
3087 |
|
|
* Makefile.in (tree-ssa-structalias.o): Add
|
3088 |
|
|
gt-tree-ssa-structalias.o
|
3089 |
|
|
(GTFILES): Add tree-ssa-structalias.h and
|
3090 |
|
|
tree-ssa-structalias.c.
|
3091 |
|
|
(s-gtype): Add gt-tree-ssa-structalias.h.
|
3092 |
|
|
* tree-ssa-structalias.c (heapvars): Remove.
|
3093 |
|
|
(oldheapvars): Remove.
|
3094 |
|
|
(heapvar_for_stmt): New variable.
|
3095 |
|
|
(heapvar_lookup): New function.
|
3096 |
|
|
(heapvar_insert): Ditto.
|
3097 |
|
|
(get_constraint_for): See if we have an old heapvar
|
3098 |
|
|
to reuse.
|
3099 |
|
|
(init_alias_heapvars): New function.
|
3100 |
|
|
(delete_alias_heapvars): Ditto.
|
3101 |
|
|
Add include of gt-tree-ssa-structalias.h.
|
3102 |
|
|
|
3103 |
|
|
2005-11-10 Eric Botcazou
|
3104 |
|
|
|
3105 |
|
|
PR middle-end/22127
|
3106 |
|
|
* calls.c (special_function_p): Set ECF_RETURNS_TWICE for getcontext.
|
3107 |
|
|
|
3108 |
|
|
2005-11-10 Eric Botcazou
|
3109 |
|
|
|
3110 |
|
|
* tree.c (int_fits_type_p): Only look at the base type
|
3111 |
|
|
if it has the same precision as the original type.
|
3112 |
|
|
|
3113 |
|
|
2005-11-10 Jakub Jelinek
|
3114 |
|
|
|
3115 |
|
|
PR other/4372
|
3116 |
|
|
* varasm.c (assemble_alias): Use %q+D in the error
|
3117 |
|
|
message instead of %J and %qD.
|
3118 |
|
|
|
3119 |
|
|
2005-11-10 Richard Guenther
|
3120 |
|
|
|
3121 |
|
|
* gcse.c (free_ldst_entry): Only free hashtable if
|
3122 |
|
|
it exists.
|
3123 |
|
|
|
3124 |
|
|
2005-11-09 Eric Botcazou
|
3125 |
|
|
|
3126 |
|
|
* function.c (assign_stack_local_1): Issue an error message if
|
3127 |
|
|
the frame size overflows in the signed target arithmetics.
|
3128 |
|
|
|
3129 |
|
|
2005-11-09 Eric Botcazou
|
3130 |
|
|
|
3131 |
|
|
* tree.c (build_qualified_type): Chain the new type to the original
|
3132 |
|
|
type's TYPE_NEXT_PTR_TO or TYPE_NEXT_REF_TO linked lists if it is
|
3133 |
|
|
a POINTER_TYPE or a REFERENCE_TYPE respectively.
|
3134 |
|
|
(build_pointer_type_for_mode): Only return unqualified types.
|
3135 |
|
|
(build_reference_type_for_mode): Likewise.
|
3136 |
|
|
|
3137 |
|
|
2005-11-09 Jakub Jelinek
|
3138 |
|
|
|
3139 |
|
|
* Makefile.in (gnucompare): Do comparison of all files using one of
|
3140 |
|
|
the chosen methods and only afterwards decide if just warning should
|
3141 |
|
|
be issued or comparison failure raised.
|
3142 |
|
|
|
3143 |
|
|
2005-11-09 Eric Botcazou
|
3144 |
|
|
|
3145 |
|
|
* ifcvt.c (noce_get_alt_condition): Use prev_nonnote_insn.
|
3146 |
|
|
(noce_try_abs): Negate if the comparison is reversed.
|
3147 |
|
|
Look only one instruction backwards for a REG_EQUAL note.
|
3148 |
|
|
|
3149 |
|
|
2005-11-09 Alexandre Oliva
|
3150 |
|
|
|
3151 |
|
|
PR other/4372
|
3152 |
|
|
* gthr-dce.h, gthr-posix.h, gthr-posix95.h, gthr-solaris.h,
|
3153 |
|
|
gthr-tpf.h: Define __gthrw. For all identifiers that might
|
3154 |
|
|
be weak, introduce weakrefs or non-weak aliases with __gthrw,
|
3155 |
|
|
and prefix all uses with __ghtrw.
|
3156 |
|
|
|
3157 |
|
|
2005-11-09 Alexandre Oliva
|
3158 |
|
|
|
3159 |
|
|
PR other/4372
|
3160 |
|
|
* tree.h (IDENTIFIER_TRANSPARENT_ALIAS): New.
|
3161 |
|
|
(TREE_DEPRECATED): Adjust comment. Check for a DECL.
|
3162 |
|
|
* c-common.c (handle_weakref_attribute): New.
|
3163 |
|
|
(c_common_attribute_table): Add weakref.
|
3164 |
|
|
* configure.ac (HAVE_GAS_WEAKREF): Check for weakref support
|
3165 |
|
|
in the assembler.
|
3166 |
|
|
* configure, config.in: Rebuilt.
|
3167 |
|
|
* defaults.h (ASM_OUTPUT_WEAKREF): Define if HAVE_GAS_WEAKREF.
|
3168 |
|
|
* doc/extend.texi: Document weakref attribute.
|
3169 |
|
|
* varasm.c (ultimate_transparent_alias_target): New
|
3170 |
|
|
(assemble_name): Use it.
|
3171 |
|
|
(weak_finish_1): Split out of...
|
3172 |
|
|
(weak_finish): ... and deal with weakrefs in...
|
3173 |
|
|
(weakref_targets): ... new list.
|
3174 |
|
|
(globalize_decl): Clean up weakref_targets.
|
3175 |
|
|
(do_assemble_alias): Handle weakrefs.
|
3176 |
|
|
(finish_aliases_1): Do not reject weakrefs to external symbols.
|
3177 |
|
|
(assemble_alias): Handle weakrefs.
|
3178 |
|
|
|
3179 |
|
|
2005-11-09 Richard Guenther
|
3180 |
|
|
|
3181 |
|
|
PR tree-optimization/24716
|
3182 |
|
|
* tree-scalar-evolution.c (analyze_evolution_in_loop): Use
|
3183 |
|
|
t_bool to track results from follow_ssa_edge.
|
3184 |
|
|
|
3185 |
|
|
2005-11-09 Eric Botcazou
|
3186 |
|
|
|
3187 |
|
|
* final.c (force_source_line): New global variable.
|
3188 |
|
|
(final_scan_insn): Set it to true instead of clearing last_filename.
|
3189 |
|
|
(notice_source_line): Return true if force_source_line is true,
|
3190 |
|
|
unless source info is absent.
|
3191 |
|
|
|
3192 |
|
|
2005-11-09 Andrew Pinski
|
3193 |
|
|
|
3194 |
|
|
PR c/24644
|
3195 |
|
|
* dwarf2-out.c (add_name_and_src_coords_attributes): Don't add
|
3196 |
|
|
a linkage name for a variable if it a register variable.
|
3197 |
|
|
* c-decl.c (grokdeclarator): Global register variables
|
3198 |
|
|
should be set as PUBLIC.
|
3199 |
|
|
|
3200 |
|
|
2005-11-09 Andreas Krebbel
|
3201 |
|
|
|
3202 |
|
|
PR 24624
|
3203 |
|
|
* config/s390/s390.c (struct s390_frame_layout): New fields
|
3204 |
|
|
first_save_gpr_slot and last_save_gpr_slot.
|
3205 |
|
|
(cfun_grps_save_area_size, s390_frame_info, s390_emit_prologue,
|
3206 |
|
|
s390_emit_epilogue, s390_initial_elimination_offset): Replaced
|
3207 |
|
|
first_save_gpr and last_save_gpr with the _slot variants.
|
3208 |
|
|
(s390_register_info): Calculate first_save_gpr_slot and
|
3209 |
|
|
last_save_gpr_slot using regs_ever_live.
|
3210 |
|
|
|
3211 |
|
|
2005-11-09 Andreas Krebbel
|
3212 |
|
|
|
3213 |
|
|
PR 24623
|
3214 |
|
|
* config/s390/s390.c (s390_regs_ever_clobbered): Only save live eh regs
|
3215 |
|
|
for a function containing a landing pad.
|
3216 |
|
|
|
3217 |
|
|
2005-11-09 Andreas Krebbel
|
3218 |
|
|
|
3219 |
|
|
PR 24034
|
3220 |
|
|
* flow.c (mark_set_1): Handle CLOBBERs like SETs if the register
|
3221 |
|
|
is live afterwards.
|
3222 |
|
|
|
3223 |
|
|
2005-11-08 Bernd Schmidt
|
3224 |
|
|
|
3225 |
|
|
* config/bfin/t-bfin-elf (MULTILIB_OPTIONS, MULTILIB_DEFAULTS,
|
3226 |
|
|
MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): New.
|
3227 |
|
|
|
3228 |
|
|
2005-11-09 Nathan Sidwell
|
3229 |
|
|
|
3230 |
|
|
Add ms2 support
|
3231 |
|
|
* config/ms1/ms1.md (UNSPEC_BLOCKAGE, UNSPEC_EI, UNSPEC_DI): New
|
3232 |
|
|
constants.
|
3233 |
|
|
(call,load,store): New insn types.
|
3234 |
|
|
(mem_access, branch_access): Adjust reservation conditions.
|
3235 |
|
|
(define_delay): Adjust condition.
|
3236 |
|
|
(decrement_and_branch_until_zero): Allow for ms2. Set branch
|
3237 |
|
|
type.
|
3238 |
|
|
(*decrement_and_rbanch_until_zero_no_clobber): Allow for ms2.
|
3239 |
|
|
(*movqi_internal,*movsi_internal,*movsf_internal): Use load,store
|
3240 |
|
|
insn type.
|
3241 |
|
|
(call_internal, call_value_internal, return_internal,
|
3242 |
|
|
return_interrupt_internal, eh_return_internal, indirect_jump,
|
3243 |
|
|
tablejump): Set call insn type.
|
3244 |
|
|
(blockage, ei, di): Use appropriate unspec const.
|
3245 |
|
|
* config/ms1/ms1.c (ms1_flag_delayed_branch): New.
|
3246 |
|
|
(ms1_get_attr_type): Adjust to give load & store types.
|
3247 |
|
|
(ms1_final_prescan_insn): Adjust for new insn types. Don't look
|
3248 |
|
|
backwards past a barrier.
|
3249 |
|
|
(ms1_override_options): Accept ms2 arch. Copy and reset delayed
|
3250 |
|
|
branch scheduling.
|
3251 |
|
|
(struct branch_info, struct label_info): New.
|
3252 |
|
|
(ms1_labels): New.
|
3253 |
|
|
(ms1_add_branches, ms1_check_delay_slot, ms1_reorg_hazard): New.
|
3254 |
|
|
(ms1_machine_reorg): New.
|
3255 |
|
|
(TARGET_MACHINE_DEPENDENT_REORG): Override.
|
3256 |
|
|
* config/ms1/crtn.asm: Add nop for ms2 JAL hazard.
|
3257 |
|
|
* config/ms1/ms1.h (processor_type): Add PROCESSOR_MS2.
|
3258 |
|
|
(ASM_SPEC, LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Add ms2.
|
3259 |
|
|
(TARGET_MS2): New.
|
3260 |
|
|
|
3261 |
|
|
2005-11-09 Per Bothner
|
3262 |
|
|
Uros Bizjak
|
3263 |
|
|
|
3264 |
|
|
PR c/24101
|
3265 |
|
|
* toplev.c (process_options): Initialize debug_hooks early
|
3266 |
|
|
in case lang_hooks.post_options ends up calling a debug_hook.
|
3267 |
|
|
|
3268 |
|
|
2005-11-08 Jakub Jelinek
|
3269 |
|
|
|
3270 |
|
|
* dwarf2out.c (multiple_reg_loc_descriptor): Don't assume
|
3271 |
|
|
DBX_REGISTER_NUMBER being contiguous.
|
3272 |
|
|
|
3273 |
|
|
2005-11-08 James A. Morrison
|
3274 |
|
|
Diego Novillo
|
3275 |
|
|
|
3276 |
|
|
PR 23046
|
3277 |
|
|
* tree-vrp.c (register_edge_assert_for): Do not register
|
3278 |
|
|
always-false predicates.
|
3279 |
|
|
|
3280 |
|
|
2005-11-08 Devang Patel
|
3281 |
|
|
|
3282 |
|
|
PR tree-optimization/23115
|
3283 |
|
|
* tree-if-conv.c (find_phi_replacement_condition): Check domninated_by
|
3284 |
|
|
relation.
|
3285 |
|
|
|
3286 |
|
|
2005-11-08 Joseph S. Myers
|
3287 |
|
|
|
3288 |
|
|
* config/rs6000/t-fprules (MULTILIB_MATCHES_FLOAT): Include
|
3289 |
|
|
-mcpu=440.
|
3290 |
|
|
|
3291 |
|
|
2005-11-08 Daniel Berlin
|
3292 |
|
|
|
3293 |
|
|
Fix PR tree-optimization/23382
|
3294 |
|
|
|
3295 |
|
|
* tree-ssa-alias.c (compute_may_aliases): Call
|
3296 |
|
|
delete_old_heap_vars.
|
3297 |
|
|
* tree-dfa.c (referenced_var_remove): New function.
|
3298 |
|
|
* tree-ssa.c (delete_tree_ssa): Call delete_old_heap_vars.
|
3299 |
|
|
* tree-flow.h (referenced_var_remove): Add prototype.
|
3300 |
|
|
(delete_old_heap_vars): Ditto.
|
3301 |
|
|
* tree-ssa-structalias.c (heapvars): New variable.
|
3302 |
|
|
(oldheapvars): Ditto.
|
3303 |
|
|
(get_constraint_for): Put heap vars on heapvars list.
|
3304 |
|
|
(delete_old_heap_vars): New function.
|
3305 |
|
|
|
3306 |
|
|
2005-11-08 Jason Merrill
|
3307 |
|
|
|
3308 |
|
|
* tree.h (CALL_FROM_THUNK_P): Add CALL_EXPR_CHECK.
|
3309 |
|
|
|
3310 |
|
|
2005-11-08 Uros Bizjak
|
3311 |
|
|
|
3312 |
|
|
PR target/19340
|
3313 |
|
|
* reg-stack.c (reg_to_stack): Update register liveness also
|
3314 |
|
|
for flag_sched2_use_traces.
|
3315 |
|
|
|
3316 |
|
|
2005-11-08 Alan Modra
|
3317 |
|
|
|
3318 |
|
|
PR target/23704
|
3319 |
|
|
* config/rs6000/rs6000.c (rs6000_handle_option ): Don't
|
3320 |
|
|
override prior explicit -mno-powerpc-gfxopt.
|
3321 |
|
|
|
3322 |
|
|
2005-11-07 Eric Botcazou
|
3323 |
|
|
|
3324 |
|
|
* expmed.c (extract_bit_field): Do not use insv/extv/extzv patterns
|
3325 |
|
|
if the bitsize is zero.
|
3326 |
|
|
* doc/md.texi (Standard Pattern Names): Document it.
|
3327 |
|
|
|
3328 |
|
|
* config/ia64/ia64.c (ia64_pass_by_reference): Delete.
|
3329 |
|
|
(TARGET_PASS_BY_REFERENCE): Likewise.
|
3330 |
|
|
|
3331 |
|
|
2005-11-07 Ian Lance Taylor
|
3332 |
|
|
|
3333 |
|
|
PR rtl-optimization/24683
|
3334 |
|
|
* config/i386/i386.c (legitimize_pic_address): If constant operand
|
3335 |
|
|
to PLUS is too large, put it in a register.
|
3336 |
|
|
|
3337 |
|
|
2005-11-07 Jie Zhang
|
3338 |
|
|
|
3339 |
|
|
* configure.ac: Enable checking assembler dwarf2 support for bfin
|
3340 |
|
|
target.
|
3341 |
|
|
* configure: Regenerate.
|
3342 |
|
|
|
3343 |
|
|
2005-11-07 Paolo Bonzini
|
3344 |
|
|
|
3345 |
|
|
PR target/24230
|
3346 |
|
|
|
3347 |
|
|
* config/rs6000/rs6000.c (easy_vector_splat_const, easy_vector_same,
|
3348 |
|
|
gen_easy_vector_constant_add_self): Delete.
|
3349 |
|
|
(vspltis_constant, easy_altivec_constant, gen_easy_altivec_constant):
|
3350 |
|
|
New.
|
3351 |
|
|
(output_vec_const_move): Use gen_easy_altivec_constant.
|
3352 |
|
|
(rs6000_expand_vector_init): Do not emit a set of a VEC_DUPLICATE.
|
3353 |
|
|
* config/rs6000/predicates.md (easy_vector_constant): Reorganize tests.
|
3354 |
|
|
(easy_vector_constant_add_self): Rewritten.
|
3355 |
|
|
* config/rs6000/rs6000-protos.h (easy_vector_splat_const,
|
3356 |
|
|
easy_vector_same, gen_easy_vector_constant_add_self): Remove prototype.
|
3357 |
|
|
(easy_altivec_constant, gen_easy_altivec_constant): Add prototype.
|
3358 |
|
|
* config/rs6000/altivec.md (easy_vector_constant_add_self splitters):
|
3359 |
|
|
Macroize and adjust for the other changes.
|
3360 |
|
|
|
3361 |
|
|
2005-11-07 Paolo Bonzini
|
3362 |
|
|
|
3363 |
|
|
PR c/24599
|
3364 |
|
|
|
3365 |
|
|
* c-typeck.c (build_c_cast): Try using a shared constant, and see
|
3366 |
|
|
if TREE_OVERFLOW or TREE_CONSTANT_OVERFLOW really changed.
|
3367 |
|
|
|
3368 |
|
|
2005-11-07 Jakub Jelinek
|
3369 |
|
|
|
3370 |
|
|
PR rtl-optimization/23567
|
3371 |
|
|
* ifcvt.c (noce_mem_write_may_trap_or_fault_p): New function.
|
3372 |
|
|
(noce_process_if_block): Don't do any optimizations except
|
3373 |
|
|
if (cond) x = x; if !set_b and write into orig_x may trap
|
3374 |
|
|
or fault. Remove the MEM_READONLY_P check.
|
3375 |
|
|
|
3376 |
|
|
2005-11-06 Diego Novillo
|
3377 |
|
|
|
3378 |
|
|
PR 24670
|
3379 |
|
|
* tree-vrp.c (fix_equivalence_set): New.
|
3380 |
|
|
(extract_range_from_assert): Call it.
|
3381 |
|
|
|
3382 |
|
|
2005-11-05 Ian Lance Taylor
|
3383 |
|
|
|
3384 |
|
|
PR target/22432
|
3385 |
|
|
* combine.c (apply_distributive_law): Don't distribute across a
|
3386 |
|
|
vector mode subreg.
|
3387 |
|
|
|
3388 |
|
|
2005-11-05 Kazu Hirata
|
3389 |
|
|
|
3390 |
|
|
* c-typeck.c, config/i386/netware.h, config/m32c/cond.md,
|
3391 |
|
|
config/ms1/ms1.h, config/rs6000/predicates.md,
|
3392 |
|
|
config/s390/s390.c, params.def, postreload-gcse.c,
|
3393 |
|
|
tree-flow-inline.h, tree-ssa-operands.c, tree-vectorizer.c,
|
3394 |
|
|
tree-vrp.c, tree.c: Fix comment typos.
|
3395 |
|
|
* doc/invoke.texi: Fix typos.
|
3396 |
|
|
|
3397 |
|
|
2005-11-05 Sebastian Pop
|
3398 |
|
|
|
3399 |
|
|
* lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS
|
3400 |
|
|
for testing whether the data_dependence_relation contains distance
|
3401 |
|
|
vectors. Iterate over all distance vectors of the ddr.
|
3402 |
|
|
* lambda.h: Define a vec of lambda_vector pointers.
|
3403 |
|
|
* tree-data-ref.c (dump_data_dependence_relation,
|
3404 |
|
|
dump_data_dependence_direction): Iterate over all distance and
|
3405 |
|
|
direction vectors of the ddr.
|
3406 |
|
|
(initialize_data_dependence_relation): Initialize DDR_DIR_VECTS and
|
3407 |
|
|
DDR_DIST_VECTS.
|
3408 |
|
|
(build_classic_dist_vector, build_classic_dir_vector): Push a set
|
3409 |
|
|
of distance/direction vectors instead of a single one.
|
3410 |
|
|
* tree-data-ref.h (dir_vects, dist_vects): Replace dir/dist
|
3411 |
|
|
lambda_vectors with a vec of lambda_vectors.
|
3412 |
|
|
(DDR_DIR_VECT, DDR_DIST_VECT): Redefined as operations on vec.
|
3413 |
|
|
(DDR_DIR_VECTS, DDR_DIST_VECTS, DDR_NUM_DIR_VECTS,
|
3414 |
|
|
DDR_NUM_DIST_VECTS): New.
|
3415 |
|
|
* tree-loop-linear.c (gather_interchange_stats): Test for the
|
3416 |
|
|
existence of distance vectors only after having checked that there
|
3417 |
|
|
is a dependence. Iterate over all distance vectors of the ddr.
|
3418 |
|
|
(linear_transform_loops): Use dump_data_dependence_relation.
|
3419 |
|
|
* tree-vect-analyze.c (vect_analyze_data_ref_dependence): Test for
|
3420 |
|
|
distance vectors using DDR_NUM_DIST_VECTS. Iterate over all the
|
3421 |
|
|
distance vectors of the ddr.
|
3422 |
|
|
|
3423 |
|
|
2005-11-05 Bernd Schmidt
|
3424 |
|
|
|
3425 |
|
|
* config/bfin/bfin.c (n_dregs_to_save, n_pregs_to_save,
|
3426 |
|
|
expand_prologue_reg_save, expand_epilogue_reg_restore): New argument
|
3427 |
|
|
IS_INTHANDLER; all callers changed.
|
3428 |
|
|
(n_regs_saved_by_prologue): Take interrupt handler attributes into
|
3429 |
|
|
account.
|
3430 |
|
|
(do_link, do_unlink): New argument ALL; all callers changed.
|
3431 |
|
|
(expand_interrupt_handler_prologue, expand_interrupt_handler_epilogue):
|
3432 |
|
|
If function isn't leaf, save and restore all registers.
|
3433 |
|
|
(bfin_function_ok_for_sibcall): Only true if not an interrupt or
|
3434 |
|
|
exception handler.
|
3435 |
|
|
|
3436 |
|
|
2005-11-05 Jan Hubicka
|
3437 |
|
|
|
3438 |
|
|
PR rtl-optimization/23490
|
3439 |
|
|
* doc/invoke.texi (max-predicted-iterations, max-cse-insns,
|
3440 |
|
|
max-flow-memory-location): Document.
|
3441 |
|
|
* flow.c: Include params.h
|
3442 |
|
|
(MAX_MEM_SET_LIST_LEN): Kill.
|
3443 |
|
|
(add_to_mem_set_list): Use new param.
|
3444 |
|
|
* cse.c (cse_basic_block): Replace 1000 by new param.
|
3445 |
|
|
* params.def (PARAM_MAX_PREDICTED_ITERATIONS, PARAM_MAX_CSE_INSNS,
|
3446 |
|
|
PARAM_MAX_FLOW_MEMORY_LOCATIONS): New.
|
3447 |
|
|
* predict.c (predict_loops): Use new param.
|
3448 |
|
|
* predict.def (MAX_PRED_LOOP_ITERATIONS): Remove.
|
3449 |
|
|
|
3450 |
|
|
* ipa-inline.c (cgraph_decide_inlining_of_small_function,
|
3451 |
|
|
cgraph_decide_inlining, cgraph_decide_inlining_incrementally):
|
3452 |
|
|
Do not hold memory returned by cgraph_node_name across other call.
|
3453 |
|
|
|
3454 |
|
|
2005-11-04 Hans-Peter Nilsson
|
3455 |
|
|
|
3456 |
|
|
PR target/23424
|
3457 |
|
|
* config/cris/predicates.md ("cris_bdap_sign_extend_operand"):
|
3458 |
|
|
Disable.
|
3459 |
|
|
|
3460 |
|
|
2005-11-04 Jeff Law
|
3461 |
|
|
|
3462 |
|
|
PR/21883
|
3463 |
|
|
* doc/invoke.texi: Document max-jump-thread-duplication-stmts PARAM.
|
3464 |
|
|
* tree-ssa-dom.c: Include params.h.
|
3465 |
|
|
(thread_across_edge): If there are too many statements in the
|
3466 |
|
|
target block, then do not thread through it.
|
3467 |
|
|
* Makefile.in (tree-ssa-dom.o): Depend on $(PARAMS_H).
|
3468 |
|
|
* params.def (PARAM_MAX_JUMP_THREAD_DUPLICATION_STMTS): New PARAM.
|
3469 |
|
|
|
3470 |
|
|
2005-11-03 Diego Novillo
|
3471 |
|
|
|
3472 |
|
|
PR 24627
|
3473 |
|
|
* tree-ssa-dce.c (pass_dce, pass_dce_loop, pass_cd_dce): Use
|
3474 |
|
|
TODO_update_ssa instead of TODO_update_ssa_no_phi.
|
3475 |
|
|
|
3476 |
|
|
2005-11-04 Sebastian Pop
|
3477 |
|
|
|
3478 |
|
|
PR/18595
|
3479 |
|
|
* tree-scalar-evolution.c (instantiate_parameters_1,
|
3480 |
|
|
instantiate_parameters, resolve_mixers): Compute the size of an
|
3481 |
|
|
expression to be instantiated and give up the instantiation if the
|
3482 |
|
|
size exceeds PARAM_SCEV_MAX_EXPR_SIZE.
|
3483 |
|
|
|
3484 |
|
|
2005-11-04 Richard Guenther
|
3485 |
|
|
|
3486 |
|
|
* tree-flow.h (ref_contains_indirect_ref): Rename to
|
3487 |
|
|
array_ref_contains_indirect_ref.
|
3488 |
|
|
* tree-flow-inline.h (ref_contains_indirect_ref): Likewise.
|
3489 |
|
|
(array_ref_contains_indirect_ref): Make comment match the code
|
3490 |
|
|
and vice-versa.
|
3491 |
|
|
(ref_contains_array_ref): Likewise.
|
3492 |
|
|
* tree-ssa-structalias.c (find_func_aliases): Remove call to
|
3493 |
|
|
ref_contains_indirect_ref.
|
3494 |
|
|
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
|
3495 |
|
|
Rename calls to ref_contains_indirect_ref.
|
3496 |
|
|
|
3497 |
|
|
2005-11-04 Paul Brook
|
3498 |
|
|
|
3499 |
|
|
* config/arm/arm.c (arm_load_pic_register): Pass extra reg to
|
3500 |
|
|
gen_pic_add_dot_plus_four and gen_pic_add_dot_plus_eight.
|
3501 |
|
|
(arm_call_tls_get_addr, legitimize_tls_address): Likewise.
|
3502 |
|
|
* config/arm/arm.md: Use match_operand in peephole input templates
|
3503 |
|
|
and match_dup in peephole output templates.
|
3504 |
|
|
|
3505 |
|
|
2005-11-04 Daniel Jacobowitz
|
3506 |
|
|
|
3507 |
|
|
* config/arm/arm.c (arm_init_libfuncs): Use __aeabi_idiv and
|
3508 |
|
|
__aeabi_uidiv.
|
3509 |
|
|
|
3510 |
|
|
2005-11-04 Mark Mitchell
|
3511 |
|
|
Daniel Jacobowitz
|
3512 |
|
|
|
3513 |
|
|
* longlong.h (add_ssaaaa): Clobber condition code register
|
3514 |
|
|
in ARM version.
|
3515 |
|
|
(sub_ddmmss): Likewise.
|
3516 |
|
|
(umul_ppmm): Likewise.
|
3517 |
|
|
|
3518 |
|
|
2005-11-04 Daniel Jacobowitz
|
3519 |
|
|
Paul Brook
|
3520 |
|
|
Phil Blundell
|
3521 |
|
|
|
3522 |
|
|
* configure.ac: Add test for ARM TLS support.
|
3523 |
|
|
* configure: Regenerated.
|
3524 |
|
|
* config/arm/arm-protos.h (legitimize_tls_address)
|
3525 |
|
|
(arm_tls_referenced_p, tls_mentioned_p)
|
3526 |
|
|
(arm_output_addr_const_extra): New prototypes.
|
3527 |
|
|
(thumb_legitimize_pic_address): Delete.
|
3528 |
|
|
* config/arm/arm.c: Include "gt-arm.h".
|
3529 |
|
|
(enum tls_reloc): New.
|
3530 |
|
|
(arm_cannot_copy_insn_p, arm_tls_symbol_p, load_tls_operand)
|
3531 |
|
|
(pcrel_constant_p, get_tls_get_addr, arm_load_tp)
|
3532 |
|
|
(arm_call_tls_get_addr, legitimize_tls_address)
|
3533 |
|
|
(arm_tls_referenced_p, arm_tls_operand_p_1, tls_mentioned_p)
|
3534 |
|
|
(arm_init_tls_builtins, arm_emit_tls_decoration)
|
3535 |
|
|
(arm_output_addr_const_extra): New functions.
|
3536 |
|
|
(TARGET_CANNOT_COPY_INSN_P, TARGET_CANNOT_FORCE_CONST_MEM)
|
3537 |
|
|
(TARGET_HAVE_TLS): Define.
|
3538 |
|
|
(target_thread_pointer): New.
|
3539 |
|
|
(arm_override_options): Handle -mtp=.
|
3540 |
|
|
(legitimize_pic_address): Ignore UNSPECs.
|
3541 |
|
|
(arm_legitimate_address_p, thumb_legitimate_address_p): Handle PC
|
3542 |
|
|
relative symbols.
|
3543 |
|
|
(arm_legitimize_address, thumb_legitimize_address): Handle TLS.
|
3544 |
|
|
(tls_get_addr_libfunc): New variable.
|
3545 |
|
|
(symbol_mentioned_p, label_mentioned_p): Ignore UNSPEC_TLS.
|
3546 |
|
|
(arm_init_builtins): Call arm_init_tls_builtins.
|
3547 |
|
|
(arm_expand_builtin): Handle ARM_BUILTIN_THREAD_POINTER.
|
3548 |
|
|
(arm_encode_section_info): Call default_encode_section_info.
|
3549 |
|
|
* config/arm/arm.h (TARGET_HARD_TP, TARGET_SOFT_TP): Define.
|
3550 |
|
|
(enum arm_tp_type): New.
|
3551 |
|
|
(target_thread_pointer): Add declaration.
|
3552 |
|
|
(LEGITIMATE_CONSTANT_P): Handle TLS.
|
3553 |
|
|
(LEGITIMATE_PIC_OPERAND_P): Handle TLS.
|
3554 |
|
|
(OUTPUT_ADDR_CONST_EXTRA): Call arm_output_addr_const_extra.
|
3555 |
|
|
(enum arm_builtins): Add ARM_BUILTIN_THREAD_POINTER.
|
3556 |
|
|
* config/arm/arm.md: Add UNSPEC_TLS.
|
3557 |
|
|
(movsi): Handle TLS.
|
3558 |
|
|
(pic_add_dot_plus_four, pic_add_dot_plus_eight): Allow for
|
3559 |
|
|
non-PIC.
|
3560 |
|
|
(tls_load_dot_plus_eight): New insn and a peephole to create it.
|
3561 |
|
|
(load_tp_hard, load_tp_soft): New insns.
|
3562 |
|
|
* arm.opt: Add -mtp=.
|
3563 |
|
|
* doc/invoke.texi (ARM Options): Document -mtp.
|
3564 |
|
|
|
3565 |
|
|
2005-11-04 Daniel Jacobowitz
|
3566 |
|
|
|
3567 |
|
|
* config/arm/lib1funcs.asm: Don't include "libunwind.S".
|
3568 |
|
|
* config/arm/libunwind.S: Include "lib1funcs.asm".
|
3569 |
|
|
* config/arm/t-bpabi (LIB1ASMFUNCS): Remove _unwind.
|
3570 |
|
|
(LIB2ADDEH): Add libunwind.S.
|
3571 |
|
|
(LIB2ADDEHDEP): Add lib1funcs.asm.
|
3572 |
|
|
* mklibgcc.in: Handle asm files in libgcc_eh.a.
|
3573 |
|
|
|
3574 |
|
|
2005-11-04 Francois-Xavier Coudert
|
3575 |
|
|
|
3576 |
|
|
PR fortran/18452
|
3577 |
|
|
* gcc/c.opt: Add a -lang-fortran option.
|
3578 |
|
|
* gcc/c-opts.c: Add a lang_fortran flag.
|
3579 |
|
|
(c_common_init_options): Handling the -lang-fortran option.
|
3580 |
|
|
(c_common_handle_option): Add a case for Fortran options in
|
3581 |
|
|
preprocessing. Remove cases for -ffixed-form and
|
3582 |
|
|
-ffixed-line-length. Add a case for -lang-fortran.
|
3583 |
|
|
|
3584 |
|
|
2005-11-03 David Edelsohn
|
3585 |
|
|
|
3586 |
|
|
* config/rs6000/rs6000.c: Include params.h
|
3587 |
|
|
(optimization_options): Set max-grow-copy-bb-insns default to 16.
|
3588 |
|
|
(bdesc_2arg): Delete vpkuhss and vpkuwss.
|
3589 |
|
|
* config/rs6000/altivec.md (UNSPEC_VPKUHSS): Delete.
|
3590 |
|
|
(UNSPEC_VPKUWSS): Delete.
|
3591 |
|
|
(altivec_vpkuhss): Delete.
|
3592 |
|
|
(altivec_vpkuwss): Delete.
|
3593 |
|
|
* config/rs6000/rs6000.md (plus_eqsi): Remove optimize_size from
|
3594 |
|
|
final condition.
|
3595 |
|
|
(neg_eq0): Remove final condition.
|
3596 |
|
|
(neg_eq): Remove condition and split-condition.
|
3597 |
|
|
|
3598 |
|
|
2005-11-04 Alan Modra
|
3599 |
|
|
|
3600 |
|
|
* config/rs6000/rs6000.c (output_toc): Make "offset" HOST_WIDE_INT.
|
3601 |
|
|
Use associated print macros.
|
3602 |
|
|
|
3603 |
|
|
2005-11-03 Joseph S. Myers
|
3604 |
|
|
|
3605 |
|
|
PR c++/17964
|
3606 |
|
|
* diagnostic.c (diagnostic_set_info_translated): New function.
|
3607 |
|
|
(diagnostic_set_info): Use it. Add comment.
|
3608 |
|
|
* diagnostic.h (diagnostic_set_info_translated): Declare.
|
3609 |
|
|
|
3610 |
|
|
2005-11-03 Eric Botcazou
|
3611 |
|
|
|
3612 |
|
|
* dwarf2asm.c (dw2_force_const_mem): Add new parameter 'public'.
|
3613 |
|
|
On USE_LINKONCE_INDIRECT platforms, build a DECL_ONE_ONLY indirect
|
3614 |
|
|
reference only if 'public' is true.
|
3615 |
|
|
(dw2_output_indirect_constant_1): On USE_LINKONCE_INDIRECT platforms,
|
3616 |
|
|
emit the .hidden directive only if the indirect reference is public.
|
3617 |
|
|
(dw2_asm_output_encoded_addr_rtx): Add new parameter 'public'.
|
3618 |
|
|
Pass it to dw2_force_const_mem.
|
3619 |
|
|
* dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): New param 'public'.
|
3620 |
|
|
* dwarf2out.c (output_cfi): Adjust calls to above function.
|
3621 |
|
|
(output_call_frame_info): Likewise.
|
3622 |
|
|
* except.c (output_ttype): Pass TREE_PUBLIC of the type_info object
|
3623 |
|
|
as 'public' argument to dw2_asm_output_encoded_addr_rtx.
|
3624 |
|
|
|
3625 |
|
|
2005-11-03 Zdenek Dvorak
|
3626 |
|
|
|
3627 |
|
|
PR tree-optimization/24483
|
3628 |
|
|
* tree-ssa-loop-ivopts.c (aff_combination_add_elt): Move rest
|
3629 |
|
|
field to elts if possible.
|
3630 |
|
|
|
3631 |
|
|
2005-11-03 Andrew Pinski
|
3632 |
|
|
|
3633 |
|
|
PR middle-end/23155
|
3634 |
|
|
* gimplifier.c (gimplify_expr): Create a temporary for lvalue
|
3635 |
|
|
CONSTRUCTOR.
|
3636 |
|
|
|
3637 |
|
|
2005-11-03 Daniel Berlin
|
3638 |
|
|
|
3639 |
|
|
Fix PR tree-optimization/24351
|
3640 |
|
|
|
3641 |
|
|
* tree-ssa-structalias.c (struct variable_info): Add
|
3642 |
|
|
collapsed_into.
|
3643 |
|
|
(get_varinfo_fc): New function to follow collapsing.
|
3644 |
|
|
(new_var_info): Set collapsed_to to NULL.
|
3645 |
|
|
(dump_constraint): Follow collapsing.
|
3646 |
|
|
(build_constraint_graph): Handle collapsing.
|
3647 |
|
|
(do_simple_structure_copy): Return false if something bad
|
3648 |
|
|
happened.
|
3649 |
|
|
(collapse_rest_of_var): New function.
|
3650 |
|
|
(do_structure_copy): Collapse if do_simple_structure_copy returns
|
3651 |
|
|
false.
|
3652 |
|
|
|
3653 |
|
|
2005-11-03 Andrew Pinski
|
3654 |
|
|
|
3655 |
|
|
PR middle-end/24589
|
3656 |
|
|
* gimplify.c (gimplify_expr) : Add the
|
3657 |
|
|
expressions to a statement list instead of gimplifying them.
|
3658 |
|
|
|
3659 |
|
|
2005-11-03 Eric Botcazou
|
3660 |
|
|
|
3661 |
|
|
PR rtl-optimization/23585
|
3662 |
|
|
* rtlanal.c (rtx_addr_can_trap_p_1) : Return 0 for an address
|
3663 |
|
|
that can't trap plus a constant integer, if the mode has zero size.
|
3664 |
|
|
|
3665 |
|
|
2005-11-03 Ulrich Weigand
|
3666 |
|
|
|
3667 |
|
|
PR target/24620
|
3668 |
|
|
* config/s390/s390.md ("*insv_reg_imm"): Accept any CONST_INT
|
3669 |
|
|
as operand 2.
|
3670 |
|
|
("*insv_reg_extimm"): Likewise.
|
3671 |
|
|
|
3672 |
|
|
2005-11-03 Joseph S. Myers
|
3673 |
|
|
|
3674 |
|
|
PR c/24329
|
3675 |
|
|
* c-pretty-print.c (pp_c_type_specifier): Do not recurse if
|
3676 |
|
|
c_common_type_for_mode returns an unnamed type.
|
3677 |
|
|
|
3678 |
|
|
2005-11-02 Richard Henderson
|
3679 |
|
|
|
3680 |
|
|
PR target/9350
|
3681 |
|
|
PR target/24374
|
3682 |
|
|
* dwarf2out.c (dwarf2out_reg_save_reg): New.
|
3683 |
|
|
(dwarf2out_frame_debug_expr): Return after dwarf_handle_frame_unspec.
|
3684 |
|
|
* function.c (assign_parms): Use calls.internal_arg_pointer.
|
3685 |
|
|
(expand_main_function): Remove FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN
|
3686 |
|
|
code.
|
3687 |
|
|
* target-def.h (TARGET_INTERNAL_ARG_POINTER): New.
|
3688 |
|
|
(TARGET_CALLS): Add it.
|
3689 |
|
|
* target.h (struct gcc_target): Add calls.internal_arg_pointer.
|
3690 |
|
|
* targhooks.c (default_internal_arg_pointer): New.
|
3691 |
|
|
* targhooks.h (default_internal_arg_pointer): Declare.
|
3692 |
|
|
* tree.h (dwarf2out_reg_save_reg): Declare.
|
3693 |
|
|
* doc/tm.texi (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): Remove.
|
3694 |
|
|
* config/i386/i386.c (dbx_register_map): Add return column.
|
3695 |
|
|
(dbx64_register_map, svr4_dbx_register_map): Likewise.
|
3696 |
|
|
(TARGET_INTERNAL_ARG_POINTER, ix86_internal_arg_pointer): New.
|
3697 |
|
|
(TARGET_DWARF_HANDLE_FRAME_UNSPEC, ix86_dwarf_handle_frame_unspec): New.
|
3698 |
|
|
(ix86_function_ok_for_sibcall): Disable if force_align_arg_pointer.
|
3699 |
|
|
(ix86_save_reg): Save force_align_arg_pointer.
|
3700 |
|
|
(ix86_emit_save_regs): Make regno unsigned.
|
3701 |
|
|
(ix86_emit_save_regs_using_mov): Likewise.
|
3702 |
|
|
(ix86_expand_prologue): Handle force_align_arg_pointer.
|
3703 |
|
|
(ix86_expand_epilogue): Likewise.
|
3704 |
|
|
* config/i386/i386.h: (dbx_register_map): Update.
|
3705 |
|
|
(dbx64_register_map, svr4_dbx_register_map): Update.
|
3706 |
|
|
(struct machine_function): Add force_align_arg_pointer.
|
3707 |
|
|
* config/i386/i386.md (UNSPEC_REG_SAVE, UNSPEC_DEF_CFA): New.
|
3708 |
|
|
(UNSPEC_TP, UNSPEC_TLS_GD, UNSPEC_TLS_LD_BASE): Renumber.
|
3709 |
|
|
(TARGET_PUSH_MEMORY peepholes): Disable if RTX_FRAME_RELATED_P.
|
3710 |
|
|
|
3711 |
|
|
2005-11-02 Jan Hubicka
|
3712 |
|
|
|
3713 |
|
|
PR target/23303
|
3714 |
|
|
* i386.md: Add peep2 for simplyfing array accesses.
|
3715 |
|
|
|
3716 |
|
|
2005-11-02 Ulrich Weigand
|
3717 |
|
|
|
3718 |
|
|
PR target/24615
|
3719 |
|
|
* config/s390/s390-protos.h (s390_decompose_shift_count): Declare.
|
3720 |
|
|
* config/s390/s390.c (s390_decompose_shift_count): New function.
|
3721 |
|
|
(s390_extra_constraint_str) ['Y']: Use s390_decompose_shift_count.
|
3722 |
|
|
(print_shift_count_operand): Use s390_decompose_shift_count.
|
3723 |
|
|
* config/s390/predicates.md ("setmem_operand", "shift_count_operand"):
|
3724 |
|
|
Use s390_decompose_shift_count. Do not accept any non-base hard regs.
|
3725 |
|
|
|
3726 |
|
|
2005-11-02 Ulrich Weigand
|
3727 |
|
|
|
3728 |
|
|
PR target/24600
|
3729 |
|
|
* loop.c (loop_givs_rescan): Use force_operand to expand
|
3730 |
|
|
complex GIVs.
|
3731 |
|
|
|
3732 |
|
|
2005-11-02 Andrew Pinski
|
3733 |
|
|
|
3734 |
|
|
PR 22429
|
3735 |
|
|
* fold-const.c (build_range_check): Use unsigned when signed
|
3736 |
|
|
overflow is undefined also. If etype is subtype, make sure that
|
3737 |
|
|
the subtraction is in the supertype.
|
3738 |
|
|
|
3739 |
|
|
2005-11-02 Richard Henderson
|
3740 |
|
|
|
3741 |
|
|
PR target/24178
|
3742 |
|
|
* config/alpha/alpha.c (get_aligned_mem): Honor alignment given
|
3743 |
|
|
by MEM_ALIGN.
|
3744 |
|
|
|
3745 |
|
|
2005-11-01 Richard Henderson
|
3746 |
|
|
|
3747 |
|
|
PR 21518
|
3748 |
|
|
* loop.c (scan_loop): Do not propagate computations to a hard
|
3749 |
|
|
register destination with SMALL_REGISTER_CLASSES.
|
3750 |
|
|
|
3751 |
|
|
2005-11-01 Joseph S. Myers
|
3752 |
|
|
|
3753 |
|
|
* config/rs6000/rs6000.c (rs6000_rtx_costs): Do not add extra
|
3754 |
|
|
costs for MULT inside PLUS or MINUS.
|
3755 |
|
|
|
3756 |
|
|
2005-11-01 Bob Wilson
|
3757 |
|
|
|
3758 |
|
|
* config/xtensa/xtensa.h (TRAMPOLINE_TEMPLATE): Add a byte of padding.
|
3759 |
|
|
(TRAMPOLINE_SIZE): Round up to 60.
|
3760 |
|
|
* config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Likewise.
|
3761 |
|
|
|
3762 |
|
|
2005-10-31 James E. Wilson
|
3763 |
|
|
|
3764 |
|
|
PR debug/24444
|
3765 |
|
|
* dwarf2out.c (convert_cfa_to_loc_list): Put inside DWARF2_UNWIND_INFO
|
3766 |
|
|
ifdef. Put ifdefs around call in gen_subprogram_die.
|
3767 |
|
|
(compute_frame_pointer_to_cfa_displacement): Likewise.
|
3768 |
|
|
(gen_subprogram_die): Restore old code for when DWARF2_UNWIND_INFO is
|
3769 |
|
|
not defined.
|
3770 |
|
|
|
3771 |
|
|
PR rtl-optimization/17356
|
3772 |
|
|
* cfgrtl.c (purge_dead_edges): Undo last change. In EDGE_EH code,
|
3773 |
|
|
add check for CALL_INSN if EDGE_ABRNOMAL_CALL true.
|
3774 |
|
|
|
3775 |
|
|
2005-10-31 Jan Hubicka
|
3776 |
|
|
|
3777 |
|
|
PR middle-end/24093
|
3778 |
|
|
* cgraph.c (cgraph_clone_edge, cgraph_clone_node): Watch negative
|
3779 |
|
|
|
3780 |
|
|
PR target/20928
|
3781 |
|
|
* i386.c (legitimize_pic_address): Deal with large immediates.
|
3782 |
|
|
|
3783 |
|
|
PR profile/20815
|
3784 |
|
|
* coverage.c (coverage_checksum_string): Fix code to stip random seeds
|
3785 |
|
|
from symbol names while computing checkup.
|
3786 |
|
|
|
3787 |
|
|
PR profile/24487
|
3788 |
|
|
* predict.c (predict_loops): Do not estimate more than
|
3789 |
|
|
MAX_PRED_LOOP_ITERATIONS in PRED_LOOP_ITERATIONS heuristic.
|
3790 |
|
|
* predict.def (MAX_PRED_LOOP_ITERATIONS): Define.
|
3791 |
|
|
|
3792 |
|
|
2005-10-31 Andrew MacLeod
|
3793 |
|
|
|
3794 |
|
|
PR tree-optimization/19097
|
3795 |
|
|
* tree-ssa-operands.c (correct_use_link): Don't look for modified stmts.
|
3796 |
|
|
|
3797 |
|
|
2005-10-31 J"orn Rennecke
|
3798 |
|
|
|
3799 |
|
|
* optabs.c (expand_unop): Take TRULY_NOOP_TRUNCATION into account.
|
3800 |
|
|
|
3801 |
|
|
2005-10-31 Andrew Pinski
|
3802 |
|
|
|
3803 |
|
|
PR middle-end/23492
|
3804 |
|
|
* tree-inline.c (setup_one_parameter): If the init_stmt
|
3805 |
|
|
is NULL, don't insert the statement.
|
3806 |
|
|
|
3807 |
|
|
2005-10-30 Jan Hubicka
|
3808 |
|
|
|
3809 |
|
|
PR tree-optimization/24172
|
3810 |
|
|
* tree-inline.c (copy_body_r): Unshare the substituted value first.
|
3811 |
|
|
|
3812 |
|
|
2005-10-30 Hans-Peter Nilsson
|
3813 |
|
|
|
3814 |
|
|
* config/mmix/mmix.c (mmix_intval): Correct handling of DFmode
|
3815 |
|
|
constants for hosts with long != 32 bits.
|
3816 |
|
|
|
3817 |
|
|
2005-10-28 Andreas Krebbel
|
3818 |
|
|
|
3819 |
|
|
PR middle-end/24093
|
3820 |
|
|
* ipa-inline.c (craph_decide_recursive_inlining): Fix return value.
|
3821 |
|
|
|
3822 |
|
|
2005-10-28 Aldy Hernandez
|
3823 |
|
|
|
3824 |
|
|
* config/ms1/ms1.h (TARGET_MS1_64_001): New.
|
3825 |
|
|
(TARGET_MS1_16_002): New.
|
3826 |
|
|
(TARGET_MS1_16_003): New.
|
3827 |
|
|
|
3828 |
|
|
* config/ms1/ms1.md ("decrement_and_branch_until_zero"): Rewrite.
|
3829 |
|
|
("*decrement_and_branch_until_zero_no_clobber"): New.
|
3830 |
|
|
Add corresponding splitter for decrement_and_branch_until_zero
|
3831 |
|
|
instruction.
|
3832 |
|
|
Key all decrement_and_branch_until_zero patterns off of
|
3833 |
|
|
TARGET_MS1_16_003.
|
3834 |
|
|
|
3835 |
|
|
2005-10-28 Andrew Pinski
|
3836 |
|
|
|
3837 |
|
|
PR middle-end/24362
|
3838 |
|
|
* tree-complex.c (extract_component): Treat RESULT_DECL
|
3839 |
|
|
like the rest of the decls.
|
3840 |
|
|
|
3841 |
|
|
2005-10-25 Eric Botcazou
|
3842 |
|
|
|
3843 |
|
|
* config/ia64/ia64.c (ia64_output_function_profiler): Emit an
|
3844 |
|
|
indirect call to _mcount if the function needs a static chain.
|
3845 |
|
|
|
3846 |
|
|
2005-10-25 Eric Botcazou
|
3847 |
|
|
Caroline Tice
|
3848 |
|
|
|
3849 |
|
|
PR rtl-optimization/24460
|
3850 |
|
|
* dwarf2out.c (have_switched_text_sections): New boolean variable.
|
3851 |
|
|
(dwarf2out_switch_text_section): Set it to true instead of
|
3852 |
|
|
incrementing separate_line_info_table_in_use.
|
3853 |
|
|
(output_loc_list): Additionally test have_switched_text_sections.
|
3854 |
|
|
(output_ranges): Likewise.
|
3855 |
|
|
(dwarf2out_finish): Likewise.
|
3856 |
|
|
* varasm.c (assemble_start_function): Do not call
|
3857 |
|
|
insert_section_boundary_note.
|
3858 |
|
|
(assemble_end_function): If flag_reorder_blocks_and_partition,
|
3859 |
|
|
switch to the function's section before emitting the .size directive.
|
3860 |
|
|
* bb-reorder.c (insert_section_boundary_note): Staticify.
|
3861 |
|
|
(rest_of_handle_reorder_blocks): Call insert_section_boundary_note.
|
3862 |
|
|
* output.h (insert_section_boundary_note): Delete.
|
3863 |
|
|
|
3864 |
|
|
2005-10-24 Andrew Pinski
|
3865 |
|
|
|
3866 |
|
|
PR c/23103
|
3867 |
|
|
* c-format.c (check_format_types): Use lang_hooks.types_compatible_p
|
3868 |
|
|
instead of pointer equality when comparing types.
|
3869 |
|
|
|
3870 |
|
|
2005-10-24 James E. Wilson
|
3871 |
|
|
|
3872 |
|
|
* sched-deps.c (flush_pending_lists): Pass 1 not 0 in first two
|
3873 |
|
|
add_dependence_list_and_free calls.
|
3874 |
|
|
|
3875 |
|
|
2005-10-24 Steven Bosscher
|
3876 |
|
|
|
3877 |
|
|
* contrib.texi: Add the names of the LLNL folks who donated
|
3878 |
|
|
Cray pointer support for gfortran.
|
3879 |
|
|
|
3880 |
|
|
2005-10-24 Steven Bosscher
|
3881 |
|
|
|
3882 |
|
|
PR tree-optimization/24225
|
3883 |
|
|
* profile.c (branch_prob): Look from end to start through a
|
3884 |
|
|
basic block when looking for a locus.
|
3885 |
|
|
|
3886 |
|
|
2005-10-24 Richard Henderson
|
3887 |
|
|
|
3888 |
|
|
* pa.c (store_reg_modify): Set RTX_FRAME_RELATED_P on each set in
|
3889 |
|
|
parallel.
|
3890 |
|
|
(hppa_expand_prologue): Likewise.
|
3891 |
|
|
|
3892 |
|
|
2005-10-24 John David Anglin
|
3893 |
|
|
|
3894 |
|
|
* pa-linux.h (NO_PROFILE_COUNTERS): Delete define.
|
3895 |
|
|
(NO_DEFERRED_PROFILE_COUNTERS): Define.
|
3896 |
|
|
* pa.h (NO_PROFILE_COUNTERS): Define.
|
3897 |
|
|
* pa.c (NO_DEFERRED_PROFILE_COUNTERS): Define if not defined.
|
3898 |
|
|
(funcdef_nos): New vector to hold label numbers of deferred profile
|
3899 |
|
|
counters.
|
3900 |
|
|
(output_deferred_profile_counters): New function.
|
3901 |
|
|
(hppa_profile_hook): Push label number onto funcdef_nos.
|
3902 |
|
|
(pa_hpux_file_end): Call output_deferred_profile_counters if
|
3903 |
|
|
NO_DEFERRED_PROFILE_COUNTERS is false.
|
3904 |
|
|
|
3905 |
|
|
* pa-protos.h (get_deferred_plabel): New prototype.
|
3906 |
|
|
* pa.c (get_plabel): Rename to get_deferred_plabel. Return plabel.
|
3907 |
|
|
Make global.
|
3908 |
|
|
(output_call): Adjust calls.
|
3909 |
|
|
|
3910 |
|
|
2005-10-24 Alan Modra
|
3911 |
|
|
|
3912 |
|
|
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Explain
|
3913 |
|
|
peculiarity of GOT/TOC section usage.
|
3914 |
|
|
|
3915 |
|
|
2005-10-23 Andrew Pinski
|
3916 |
|
|
|
3917 |
|
|
PR objc/24435
|
3918 |
|
|
* c-common.c (constant_string_class_name): Add documentation.
|
3919 |
|
|
|
3920 |
|
|
2005-10-23 Kaz Kojima
|
3921 |
|
|
|
3922 |
|
|
PR target/23832
|
3923 |
|
|
* recog.c (peephole2_optimize): Increment peep2_current_count
|
3924 |
|
|
only when the slot is empty.
|
3925 |
|
|
|
3926 |
|
|
2005-10-23 John David Anglin
|
3927 |
|
|
|
3928 |
|
|
PR ada/23957
|
3929 |
|
|
* except.c (output_function_exception_table): Call
|
3930 |
|
|
assemble_external_libcall if we need a personality function.
|
3931 |
|
|
|
3932 |
|
|
2005-10-21 Eric Botcazou
|
3933 |
|
|
|
3934 |
|
|
PR rtl-optimization/24460
|
3935 |
|
|
* bb-reorder.c (fix_crossing_unconditional_branches): Do not
|
3936 |
|
|
set the basic block for barriers.
|
3937 |
|
|
|
3938 |
|
|
2005-10-21 Janis Johnson
|
3939 |
|
|
|
3940 |
|
|
* var-tracking.c (vt_initialize): Initialize post.
|
3941 |
|
|
|
3942 |
|
|
2005-10-21 Devang Patel
|
3943 |
|
|
|
3944 |
|
|
PR/24220
|
3945 |
|
|
* c-common.c (vector_types_convertible_p): Check vector element type.
|
3946 |
|
|
|
3947 |
|
|
2005-10-21 Kaz Kojima
|
3948 |
|
|
|
3949 |
|
|
* config/sh/sh.c (prepare_move_operands): Handle the address
|
3950 |
|
|
constant which is a tls symbolic address plus a constant.
|
3951 |
|
|
|
3952 |
|
|
2005-10-21 Andrew Pinski
|
3953 |
|
|
|
3954 |
|
|
PR driver/24473
|
3955 |
|
|
* gcc.c (main): Use the correct counter for erroring out
|
3956 |
|
|
about mulitple files.
|
3957 |
|
|
|
3958 |
|
|
2005-10-21 Alan Modra
|
3959 |
|
|
|
3960 |
|
|
PR target/24465
|
3961 |
|
|
* config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Always
|
3962 |
|
|
use r2 for 64-bit tls .got access.
|
3963 |
|
|
|
3964 |
|
|
2005-10-21 Paolo Bonzini
|
3965 |
|
|
|
3966 |
|
|
* dojump.c (do_jump): Handle side-effecting TRUTH_AND_EXPR and
|
3967 |
|
|
TRUTH_OR_EXPR.
|
3968 |
|
|
|
3969 |
|
|
2005-10-20 Steven Bosscher
|
3970 |
|
|
|
3971 |
|
|
PR tree-optimization/24307
|
3972 |
|
|
* tree-cfg.c (tree_find_edge_insert_loc): Handle naked RETURN_EXPR.
|
3973 |
|
|
|
3974 |
|
|
2005-10-20 Alexandre Oliva
|
3975 |
|
|
|
3976 |
|
|
PR middle-end/24295
|
3977 |
|
|
* cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Mark
|
3978 |
|
|
alias targets.
|
3979 |
|
|
* varasm.c (find_decl_and_mark_needed): After cgraph global info
|
3980 |
|
|
is ready, stop marking functions, but still mark variables.
|
3981 |
|
|
|
3982 |
|
|
2005-10-20 Richard Guenther
|
3983 |
|
|
|
3984 |
|
|
PR c++/24439
|
3985 |
|
|
* fold-const.c (invert_truthvalue): Handle COND_EXPR with
|
3986 |
|
|
void type operands.
|
3987 |
|
|
|
3988 |
|
|
2005-10-20 Eric Botcazou
|
3989 |
|
|
|
3990 |
|
|
PR rtl-optimization/23585
|
3991 |
|
|
* rtlanal.c (rtx_addr_can_trap_p_1): New predicate extracted from...
|
3992 |
|
|
(rtx_addr_can_trap_p): ... here. Invoke rtx_addr_can_trap_p_1.
|
3993 |
|
|
(may_trap_p_1): New predicate extracted from...
|
3994 |
|
|
(may_trap_p): ... here. Invoke may_trap_p_1.
|
3995 |
|
|
(may_trap_or_fault_p): New predicate.
|
3996 |
|
|
* rtl.h (may_trap_or_fault_p): Declare it.
|
3997 |
|
|
* reorg.c (steal_delay_list_from_target): Use may_trap_or_fault_p
|
3998 |
|
|
instead of may_trap_p.
|
3999 |
|
|
(steal_delay_list_from_fallthrough): Likewise.
|
4000 |
|
|
(fill_simple_delay_slots): Likewise.
|
4001 |
|
|
(fill_slots_from_thread): Likewise.
|
4002 |
|
|
* function.c (pad_to_arg_alignment): Rework comment about
|
4003 |
|
|
SPARC_STACK_BOUNDARY_HACK.
|
4004 |
|
|
* config/sparc/sparc.h: Likewise.
|
4005 |
|
|
|
4006 |
|
|
2005-10-19 Adrian Straetling
|
4007 |
|
|
|
4008 |
|
|
* config/s390/s390.c (s390_expand_insv): New.
|
4009 |
|
|
* config/s390/s390-protos.h (s390_expand_insv): Declare.
|
4010 |
|
|
* config/s390/s390.md ("UNSPEC_SETHIGH"): Rename to "UNSPEC_ICM".
|
4011 |
|
|
("icm_hi"): Remove mode attribute.
|
4012 |
|
|
("*sethigh"): Rewrite to "sethighpart".
|
4013 |
|
|
Adjust all uses.
|
4014 |
|
|
("*extracthi", "*extractqi"): Remove.
|
4015 |
|
|
(extv", "*extzv"): New.
|
4016 |
|
|
("insv", "*insv_mem_reg", "*insvdi_mem_reghigh",
|
4017 |
|
|
"*insv_reg_imm", "*insv_reg_extimm"): New.
|
4018 |
|
|
|
4019 |
|
|
2005-10-19 Ulrich Weigand
|
4020 |
|
|
|
4021 |
|
|
* cfgexpand.c (discover_nonconstant_array_refs_r,
|
4022 |
|
|
discover_nonconstant_array_refs): Move here from tree-outof-ssa.c
|
4023 |
|
|
(tree_expand_cfg): Call discover_nonconstant_array_refs.
|
4024 |
|
|
* tree-outof-ssa.c (rewrite_out_of_ssa): Remove call to
|
4025 |
|
|
discover_nonconstant_array_refs.
|
4026 |
|
|
|
4027 |
|
|
2005-10-19 Steven Bosscher
|
4028 |
|
|
|
4029 |
|
|
PR c/23228
|
4030 |
|
|
* c-decl.c (pop_scope): Don't warn about an unused variable
|
4031 |
|
|
if it is marked with TREE_NO_WARNING.
|
4032 |
|
|
(duplicate_decls): Set TREE_NO_WARNING if olddecl and newdecl
|
4033 |
|
|
somenow mismatch and olddecl is to be replaced.
|
4034 |
|
|
|
4035 |
|
|
2005-10-19 Eric Botcazou
|
4036 |
|
|
|
4037 |
|
|
PR middle-end/23199
|
4038 |
|
|
* cfgrtl.c (safe_insert_insn_on_edge): Use can_copy_p to detect
|
4039 |
|
|
whether registers live on the edge can be saved/restored.
|
4040 |
|
|
|
4041 |
|
|
2005-10-19 Kaz Kojima
|
4042 |
|
|
|
4043 |
|
|
* config/sh/sh.c (fixup_mova): Skip notes.
|
4044 |
|
|
|
4045 |
|
|
2005-10-19 Ulrich Weigand
|
4046 |
|
|
|
4047 |
|
|
* config/s390/s390-protos.h (s390_hard_regno_rename_ok): Add prototype.
|
4048 |
|
|
* config/s390/s390.c (s390_hard_regno_rename_ok): New function.
|
4049 |
|
|
(s390_can_eliminate): Handle BASE_REGNUM elimination.
|
4050 |
|
|
(s390_initial_elimination_offset): Likewise.
|
4051 |
|
|
(s390_conditional_register_usage): BASE_REGNUM is no longer a fixed
|
4052 |
|
|
register on TARGET_ZARCH targets.
|
4053 |
|
|
* config/s390/s390.h (HARD_REGNO_RENAME_OK): Define
|
4054 |
|
|
(INITIAL_FRAME_POINTER_OFFSET): Remove.
|
4055 |
|
|
(REG_ALLOC_ORDER): Move BASE_REGNUM lower.
|
4056 |
|
|
(ELIMINABLE_REGS): Add BASE_REGNUM elimination rule.
|
4057 |
|
|
|
4058 |
|
|
2005-10-19 Andreas Krebbel
|
4059 |
|
|
|
4060 |
|
|
* config/s390/s390.md: Comment describing output modifiers updated.
|
4061 |
|
|
* config/s390/s390.c (print_operand): Likewise.
|
4062 |
|
|
|
4063 |
|
|
2005-10-19 Andreas Krebbel
|
4064 |
|
|
|
4065 |
|
|
* config/s390/s390.c (override_options): Added check for -mstack-size
|
4066 |
|
|
64k limitation.
|
4067 |
|
|
* doc/invoke.texi: Mention that limit in the documenation.
|
4068 |
|
|
|
4069 |
|
|
2005-10-18 Paolo Bonzini
|
4070 |
|
|
|
4071 |
|
|
PR #19672
|
4072 |
|
|
* dojump.c (do_jump): Handle TRUTH_AND_EXPR and TRUTH_OR_EXPR here.
|
4073 |
|
|
|
4074 |
|
|
2005-10-18 Daniel Berlin
|
4075 |
|
|
|
4076 |
|
|
Fix PR tree-optimization/24231
|
4077 |
|
|
|
4078 |
|
|
* tree-ssa-pre.c (try_look_through_load): Skip abnormal phi names
|
4079 |
|
|
(compute_avail): Ditto.
|
4080 |
|
|
|
4081 |
|
|
2005-10-18 Richard Henderson
|
4082 |
|
|
|
4083 |
|
|
PR target/24428
|
4084 |
|
|
* config/i386/i386.c (legitimate_constant_p): Check
|
4085 |
|
|
SYMBOL_REF_TLS_MODEL directly. Don't fallthru to SYMBOL_REF
|
4086 |
|
|
if LABEL_REF.
|
4087 |
|
|
(legitimate_pic_operand_p): Test SYMBOL_REF_TLS_MODEL directly.
|
4088 |
|
|
(legitimate_pic_address_disp_p): Reorg CONST checking to make
|
4089 |
|
|
sure SYMBOL_REF_TLS_MODEL is tested. Test SYMBOL_REF_TLS_MODEL
|
4090 |
|
|
directly.
|
4091 |
|
|
(print_operand_address): Likewise.
|
4092 |
|
|
* config/i386/predicates.md (x86_64_immediate_operand): Test
|
4093 |
|
|
SYMBOL_REF_TLS_MODEL properly inside CONST.
|
4094 |
|
|
(x86_64_zext_immediate_operand): Likewise.
|
4095 |
|
|
(global_dynamic_symbolic_operand, local_dynamic_symbolic_operand,
|
4096 |
|
|
initial_exec_symbolic_operand, local_exec_symbolic_operand): Remove.
|
4097 |
|
|
* config/i386/i386-protos.h: Remove predicates.md entries.
|
4098 |
|
|
|
4099 |
|
|
2005-10-18 Danny Smith
|
4100 |
|
|
|
4101 |
|
|
* config/i386/winnt-cxx.c (i386_pe_adjust_class_at_definition):
|
4102 |
|
|
Check that elements of TYPE_METHODS are FUNCTION_DECLs.
|
4103 |
|
|
|
4104 |
|
|
2005-10-17 Alexey Starovoytov
|
4105 |
|
|
Ian Lance Taylor
|
4106 |
|
|
|
4107 |
|
|
PR middle-end/23522
|
4108 |
|
|
* fold-const.c (fold_widened_comparison): Do not allow range based
|
4109 |
|
|
constant folding when right operand cannot be unwidened.
|
4110 |
|
|
|
4111 |
|
|
2005-10-17 Richard Henderson
|
4112 |
|
|
|
4113 |
|
|
* builtins.c (expand_builtin_synchronize): Build a new-style asm
|
4114 |
|
|
with a memory clobber.
|
4115 |
|
|
|
4116 |
|
|
2005-10-17 James E Wilson
|
4117 |
|
|
|
4118 |
|
|
PR rtl-optimization/17356
|
4119 |
|
|
* cfgrtl.c (purge_dead_edges): Check for EDGE_ABNORMAL_CALL before
|
4120 |
|
|
checking for EDGE_EH.
|
4121 |
|
|
|
4122 |
|
|
2005-10-17 Eric Botcazou
|
4123 |
|
|
|
4124 |
|
|
* config/sparc/sparc.c (function_arg_slotno): In 64-bit mode, align
|
4125 |
|
|
the slot on an even boundary for any type with 16-byte alignment.
|
4126 |
|
|
|
4127 |
|
|
2005-10-17 Hans-Peter Nilsson
|
4128 |
|
|
|
4129 |
|
|
PR target/23424
|
4130 |
|
|
* md.texi (Modifiers) <%>: Clarify that % doesn't work
|
4131 |
|
|
after register allocation.
|
4132 |
|
|
|
4133 |
|
|
2005-10-17 DJ Delorie
|
4134 |
|
|
|
4135 |
|
|
* config/m32c/m32c.c (m32c_pushm_popm): Don't mark epilogue insns
|
4136 |
|
|
as frame related.
|
4137 |
|
|
|
4138 |
|
|
2005-10-17 Nathan Sidwell
|
4139 |
|
|
|
4140 |
|
|
PR c++/22551
|
4141 |
|
|
* c-common.c (c_add_case_label): Revert my 2005-10-14 clearing of
|
4142 |
|
|
overflow flags.
|
4143 |
|
|
|
4144 |
|
|
2005-10-17 Kaz Kojima
|
4145 |
|
|
|
4146 |
|
|
* config/sh/sh.h (OPTIMIZATION_OPTIONS): Set flag_schedule_insns
|
4147 |
|
|
to 2 if it's already non-zero.
|
4148 |
|
|
(OVERRIDE_OPTIONS): Clear flag_schedule_insns if flag_exceptions
|
4149 |
|
|
is set and warn about it if flag_schedule_insns is 1.
|
4150 |
|
|
|
4151 |
|
|
2005-10-17 Paul Woegerer
|
4152 |
|
|
|
4153 |
|
|
* config/crx/crx.md: Compare-and-branch instructions need to
|
4154 |
|
|
invalidate CC.
|
4155 |
|
|
|
4156 |
|
|
2005-10-17 Uros Bizjak
|
4157 |
|
|
|
4158 |
|
|
PR target/24315
|
4159 |
|
|
* config/i386/i386.md (*pushdi2_rex64 splitter)
|
4160 |
|
|
(*movdi_1_rex64 splitter, *ashldi3_1 splitter)
|
4161 |
|
|
(*ashrdi3_1 splitter, *lshrdi3_1 splitter): Delay splitting after
|
4162 |
|
|
flow2 pass only when (optimize > 0 && flag_peephole2).
|
4163 |
|
|
|
4164 |
|
|
2005-10-16 Andrew Pinski
|
4165 |
|
|
|
4166 |
|
|
PR driver/22544
|
4167 |
|
|
* gcc.c (have_c): New static variable.
|
4168 |
|
|
(have_o): Likewise.
|
4169 |
|
|
(process_command): Remove declation of have_c.
|
4170 |
|
|
Set have_o to 1 when handling -o.
|
4171 |
|
|
(main): Add a fatel error if there are multiple
|
4172 |
|
|
files specified and -o and -c/-S is passed witout
|
4173 |
|
|
-combine or multiple languages.
|
4174 |
|
|
|
4175 |
|
|
2005-10-16 Daniel Berlin
|
4176 |
|
|
|
4177 |
|
|
Fix PR tree-optimization/22444
|
4178 |
|
|
* tree-ssa-alias.c (compute_flow_insensitive_aliasing):
|
4179 |
|
|
Assert that we don't hit something with subvars.
|
4180 |
|
|
(setup_pointers_and_addressables): Don't add things with subvars,
|
4181 |
|
|
because we'll already process the subvars for aliasing purposes.
|
4182 |
|
|
|
4183 |
|
|
2005-10-16 Hans-Peter Nilsson
|
4184 |
|
|
|
4185 |
|
|
PR target/23424
|
4186 |
|
|
* config/cris/cris.md ("*mov_side", "*mov_sidesisf")
|
4187 |
|
|
("*mov_side_mem", "*mov_sidesisf_mem", "*clear_side")
|
4188 |
|
|
("*ext_sideqihi", "*ext_sidesi", "*op_side")
|
4189 |
|
|
("*op_swap_side", "*extopqihi_side", "*extopsi_side")
|
4190 |
|
|
("*extopqihi_swap_side", "*extopsi_swap_side"): Have separate,
|
4191 |
|
|
swapped, alternatives for the R constraint.
|
4192 |
|
|
|
4193 |
|
|
PR middle-end/24341
|
4194 |
|
|
* builtins.c (get_builtin_sync_mode): Make unlimited
|
4195 |
|
|
mode_for_size request.
|
4196 |
|
|
|
4197 |
|
|
2005-10-15 Richard Henderson
|
4198 |
|
|
|
4199 |
|
|
* gimplify.c (gimplify_var_or_parm_decl): Split out from ...
|
4200 |
|
|
(gimplify_expr): ... here.
|
4201 |
|
|
(gimplify_compound_lval): Use it in initial scan loop. Allow
|
4202 |
|
|
fb_lvalue in base expression.
|
4203 |
|
|
|
4204 |
|
|
2005-10-15 Richard Henderson
|
4205 |
|
|
|
4206 |
|
|
PR 23714
|
4207 |
|
|
* builtins.c (expand_builtin_trap): Export.
|
4208 |
|
|
* expr.h (expand_builtin_trap): Declare.
|
4209 |
|
|
* expr.c (expand_assignment): Emit a trap for integral offsets
|
4210 |
|
|
from registers that weren't reduced to bitpos.
|
4211 |
|
|
|
4212 |
|
|
* tree-cfg.c (mark_array_ref_addressable_1): Remove.
|
4213 |
|
|
(mark_array_ref_addressable): Remove.
|
4214 |
|
|
* tree-flow.h (mark_array_ref_addressable): Remove.
|
4215 |
|
|
* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Don't call it.
|
4216 |
|
|
|
4217 |
|
|
2005-10-15 James E Wilson
|
4218 |
|
|
|
4219 |
|
|
PR target/24232
|
4220 |
|
|
* sched-deps.c (add_dependence_list): New arg UNCOND. Fix all callers.
|
4221 |
|
|
(add_dependence_list_and_free): Likewise.
|
4222 |
|
|
(sched_analyze_2, case MEM): Delete sched_insns_conditions_mutex_p
|
4223 |
|
|
call.
|
4224 |
|
|
|
4225 |
|
|
2005-10-15 Diego Novillo
|
4226 |
|
|
|
4227 |
|
|
PR 23141
|
4228 |
|
|
PR 23142
|
4229 |
|
|
* tree-vrp.c (vrp_meet): Fix the intersection of equivalence
|
4230 |
|
|
sets VR0->EQUIV and VR1->EQUIV when meeting a range and an
|
4231 |
|
|
anti-range.
|
4232 |
|
|
(vrp_visit_phi_node): Only prevent infinite iterations when
|
4233 |
|
|
the previous result and the new result are both VR_RANGEs.
|
4234 |
|
|
|
4235 |
|
|
2005-10-15 Ranjit Mathew
|
4236 |
|
|
|
4237 |
|
|
* tree-into-ssa.c (mark_def_sites): Correct minor typo in
|
4238 |
|
|
function comment.
|
4239 |
|
|
|
4240 |
|
|
2005-10-14 Volker Reichelt
|
4241 |
|
|
|
4242 |
|
|
PR c/23439
|
4243 |
|
|
* c-parser.c (c_parser_for_statement): Use location of RID_FOR
|
4244 |
|
|
to initialize loc.
|
4245 |
|
|
|
4246 |
|
|
2005-10-14 Per Bothner
|
4247 |
|
|
|
4248 |
|
|
PR preprocessor/21250
|
4249 |
|
|
* c-ppoutput.c (print_line): Print internal line 0 as 1.
|
4250 |
|
|
|
4251 |
|
|
2005-10-14 Nathan Sidwell
|
4252 |
|
|
|
4253 |
|
|
PR c++/22551
|
4254 |
|
|
* c-common.c (c_add_case_label): Clear LOW_VALUE and HIGH_VALUE's
|
4255 |
|
|
overflow flags. Refactor some conditionals.
|
4256 |
|
|
|
4257 |
|
|
2005-10-13 Andrew Pinski
|
4258 |
|
|
|
4259 |
|
|
PR tree-opt/21304
|
4260 |
|
|
* tree-dfa.c (add_referenced_var): Only look at decls which
|
4261 |
|
|
have TREE_CONSTANT or TREE_READONLY set instead of if
|
4262 |
|
|
!TREE_PUBLIC or !TREE_CONSTANT.
|
4263 |
|
|
|
4264 |
|
|
2005-10-13 James E Wilson
|
4265 |
|
|
|
4266 |
|
|
* doc/invoke.texi: For -x, add f95-cpp-input.
|
4267 |
|
|
* doc/install.texi: For --enable-languages doc, change f95 to fortran.
|
4268 |
|
|
|
4269 |
|
|
2005-10-12 Sebastian Pop
|
4270 |
|
|
|
4271 |
|
|
PR tree-optimization/24262
|
4272 |
|
|
* tree-data-ref.c (analyze_offset_expr): Check that init is invariant
|
4273 |
|
|
in loop all the time.
|
4274 |
|
|
|
4275 |
|
|
2005-10-12 Richard Henderson
|
4276 |
|
|
|
4277 |
|
|
PR c/24255
|
4278 |
|
|
* tree.h (DECL_TRANSPARENT_UNION): Remove.
|
4279 |
|
|
* function.c (assign_parm_find_data_types): Don't support it.
|
4280 |
|
|
* print-tree.c (print_node): Likewise.
|
4281 |
|
|
* c-common.c (handle_transparent_union_attribute): Likewise.
|
4282 |
|
|
Use build_duplicate_type.
|
4283 |
|
|
* tree-inline.c (remap_type_1): Split out of remap_type;
|
4284 |
|
|
properly remap aggregate fields.
|
4285 |
|
|
(build_duplicate_type): New.
|
4286 |
|
|
* doc/extend.texi (Variable Attributes): Remove documentation
|
4287 |
|
|
for transparent_union.
|
4288 |
|
|
|
4289 |
|
|
2005-10-12 Eric Botcazou
|
4290 |
|
|
|
4291 |
|
|
PR target/24284
|
4292 |
|
|
* config/sparc/sparc.c (gen_stack_pointer_inc): Build by hand.
|
4293 |
|
|
(gen_stack_pointer_dec): Likewise.
|
4294 |
|
|
|
4295 |
|
|
2005-10-12 Danny Smith
|
4296 |
|
|
|
4297 |
|
|
PR middle-end/21275
|
4298 |
|
|
PR middle-end/21766
|
4299 |
|
|
* target.h (struct gcc_target): Add valid_dllimport_attribute_p
|
4300 |
|
|
target hook.
|
4301 |
|
|
(struct cxx): Add adjust_class_at_definition target hook.
|
4302 |
|
|
* target-def.h: (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): New define,
|
4303 |
|
|
defaulting to hook_bool_tree_true. Add to TARGET_INITIALIZER
|
4304 |
|
|
(TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): New define, defaulting to
|
4305 |
|
|
hook_void_tree. Add to TARGET_CXX.
|
4306 |
|
|
* tree.h (struct decl_with_vis): Rename non_addr_const_p field to
|
4307 |
|
|
dllimport_flag.
|
4308 |
|
|
(DECL_NON_ADDR_CONSTANT_P): Replace with DECL_DLLIMPORT_P macro.
|
4309 |
|
|
* tree.c (merge_dllimport_decl_attributes): Check DECL_DLLIMPORT_P
|
4310 |
|
|
instead of attribute. Check for dllexport override. Warn if
|
4311 |
|
|
inconsistent dll linkage. Don't lose old dllimport if decl has
|
4312 |
|
|
had address referenced. Tweak lookup of dllimport atribute.
|
4313 |
|
|
(handle_dll_attribute): Check targetm.valid_dllimport_attribute_p
|
4314 |
|
|
for target specific rules. Don't add dllimport attribute if
|
4315 |
|
|
DECL_DECLARED_INLINE_P. Set DECL_DLLIMPORT_P when adding
|
4316 |
|
|
dllimport attribute.
|
4317 |
|
|
(staticp): Replace DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P.
|
4318 |
|
|
* varasm.c (initializer_constant_valid_p): Replace
|
4319 |
|
|
DECL_NON_ADDR_CONSTANT_P with DECL_DLLIMPORT_P
|
4320 |
|
|
|
4321 |
|
|
PR target/21801
|
4322 |
|
|
PR target/23589
|
4323 |
|
|
* config.gcc (i[34567]86-*-cygwin*): Add winnt-cxx.o to
|
4324 |
|
|
'cxx_target_objs', winnt-stubs,o to 'extra_objs'.
|
4325 |
|
|
(i[34567]86-*-mingw32*): Likewise.
|
4326 |
|
|
|
4327 |
|
|
* doc/tm.texi (TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Document.
|
4328 |
|
|
(TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Document.
|
4329 |
|
|
|
4330 |
|
|
* config/i386/winnt.c (i386_pe_dllimport_p): Factor out
|
4331 |
|
|
C++-specific code. Change return value to bool.
|
4332 |
|
|
(i386_pe_dllimport_p): Likewise.
|
4333 |
|
|
(associated_type): Simplify and make language-independent
|
4334 |
|
|
(i386_pe_encode_section_info): Replace override of ambiguous
|
4335 |
|
|
dllimport symbol refs with a gcc_assert.
|
4336 |
|
|
(i386_pe_valid_dllimport_attribute_p): Define.
|
4337 |
|
|
* config/i386/winnt-cxx.c: New file. Define C++ versions of
|
4338 |
|
|
i386_pe_type_dllimport_p, i386_pe_type_dllexport_p,
|
4339 |
|
|
i386_pe_adjust_class_at_definition.
|
4340 |
|
|
* config/i386/winnt-stubs.c: New file. Define stub versions of
|
4341 |
|
|
lang-specific functions.
|
4342 |
|
|
* config/i386/i386-protos.h: Declare winnt-[cxx|stubs].c functions
|
4343 |
|
|
i386_pe_type_dllimport_p, i386_pe_type_dllexport_p,
|
4344 |
|
|
i386_pe_adjust_class_at_definition.
|
4345 |
|
|
(i386_pe_valid_dllimport_attribute_p): Declare.
|
4346 |
|
|
* config/i386/cygming.h (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Define.
|
4347 |
|
|
(TARGET_CXX_ADJUST_CLASS_AT_DEFINITION): Define.
|
4348 |
|
|
* config/i386/t-cygming: Add rules for winnt-cxx.o, winnt-stubs.o.
|
4349 |
|
|
|
4350 |
|
|
PR target/19704
|
4351 |
|
|
* config/i386/i386.c (ix86_function_ok_for_sibcall): Replace test for
|
4352 |
|
|
dllimport attribute with test of DECL_DLLIMPORT_P.
|
4353 |
|
|
|
4354 |
|
|
2005-10-12 Adrian Straetling
|
4355 |
|
|
|
4356 |
|
|
* combine.c (make_extraction): Correct offset computation.
|
4357 |
|
|
|
4358 |
|
|
2005-10-12 Hans-Peter Nilsson
|
4359 |
|
|
|
4360 |
|
|
* config/cris/t-linux (LIMITS_H_TEST): Define.
|
4361 |
|
|
|
4362 |
|
|
2005-10-12 Richard Henderson
|
4363 |
|
|
|
4364 |
|
|
PR rtl-opt/23324
|
4365 |
|
|
* cfgexpand.c (add_alias_set_conflicts): Use objects_must_conflict_p.
|
4366 |
|
|
|
4367 |
|
|
2005-10-12 Richard Guenther
|
4368 |
|
|
|
4369 |
|
|
* Makefile.in (CGRAPH_H): Depend on $(TREE_H).
|
4370 |
|
|
|
4371 |
|
|
2005-10-12 Nathan Sidwell
|
4372 |
|
|
|
4373 |
|
|
PR c++/19964
|
4374 |
|
|
* stor-layout.c (place_field): Set DECL_FIELD_OFFSET and
|
4375 |
|
|
DECL_FIELD_BIT_OFFSET of FIELD_DECLs, even if they have an invalid
|
4376 |
|
|
type.
|
4377 |
|
|
|
4378 |
|
|
2005-10-12 Richard Guenther
|
4379 |
|
|
|
4380 |
|
|
PR c++/23799
|
4381 |
|
|
* varasm.c (output_constant): Correct typo from previous
|
4382 |
|
|
patch by DJ.
|
4383 |
|
|
|
4384 |
|
|
2005-10-11 Ian Lance Taylor
|
4385 |
|
|
|
4386 |
|
|
PR rtl-optimization/13931
|
4387 |
|
|
* combine.c: Revert patch of 2003-05-14, and:
|
4388 |
|
|
(try_combine): Only set elim_i1 and elim_i2 if the destination is
|
4389 |
|
|
completely killed in the appropriate insn.
|
4390 |
|
|
(distribute_notes): Don't skip multiple hard register test for
|
4391 |
|
|
elim_i1 and elim_i2.
|
4392 |
|
|
|
4393 |
|
|
2005-10-11 Richard Henderson
|
4394 |
|
|
|
4395 |
|
|
PR c/24255
|
4396 |
|
|
* c-typeck.c (convert_for_assignment): Use build_constructor_single
|
4397 |
|
|
to initialize a transparent union instead of a nop_expr.
|
4398 |
|
|
|
4399 |
|
|
2005-10-11 Richard Henderson
|
4400 |
|
|
|
4401 |
|
|
* Makefile.in (tree-ssa-dce.o): Depend on SCEV_H.
|
4402 |
|
|
* tree-ssa-dce.c: Include tree-scalar-evolution.h.
|
4403 |
|
|
(tree_ssa_dce_loop): Call scev_reset.
|
4404 |
|
|
|
4405 |
|
|
PR tree-opt/24300
|
4406 |
|
|
* Makefile.in (tree-ssa-dce.o): Depend on CFGLOOP_H.
|
4407 |
|
|
* tree-ssa-dce.c: Include cfgloop.h.
|
4408 |
|
|
(tree_ssa_dce_loop, pass_dce_loop): New.
|
4409 |
|
|
* tree-pass.h (pass_dce_loop): Declare it.
|
4410 |
|
|
* passes.c (init_optimization_passes): Use it.
|
4411 |
|
|
|
4412 |
|
|
2005-10-11 Eric Botcazou
|
4413 |
|
|
|
4414 |
|
|
PR middle-end/24263
|
4415 |
|
|
* convert.c (convert_to_real): Revert 2005-10-05 patch.
|
4416 |
|
|
Only apply the optimization for rounding builtins if the inner
|
4417 |
|
|
cast is also an extension.
|
4418 |
|
|
|
4419 |
|
|
2005-10-11 Andrew Pinski
|
4420 |
|
|
|
4421 |
|
|
PR tree-opt/23946
|
4422 |
|
|
* tree-ssa-ccp.c (execute_fold_all_builtins): Call
|
4423 |
|
|
mark_new_vars_to_rename instead of update_stmt.
|
4424 |
|
|
|
4425 |
|
|
2005-10-11 Bernd Schmidt
|
4426 |
|
|
|
4427 |
|
|
* config/bfin/crti.s (__init, __fini): Renamed from _init, _fini.
|
4428 |
|
|
|
4429 |
|
|
2005-10-11 Jakub Jelinek
|
4430 |
|
|
|
4431 |
|
|
* config/i386/i386.md (movsi_1, movdi_1_rex64): Use mmxadd type
|
4432 |
|
|
for setting MMX register to 0 rather than mmx.
|
4433 |
|
|
|
4434 |
|
|
2005-10-10 Steve Ellcey
|
4435 |
|
|
|
4436 |
|
|
PR target/12098
|
4437 |
|
|
* configure.ac: Move gas check from mips specific case to common case.
|
4438 |
|
|
Do check for GNU as for mips*-*-* and *-*-hpux* targets.
|
4439 |
|
|
* configure: Regenerate
|
4440 |
|
|
* doc/install.texi: Update.
|
4441 |
|
|
|
4442 |
|
|
2005-10-10 Eric Botcazou
|
4443 |
|
|
|
4444 |
|
|
PR target/24284
|
4445 |
|
|
* config/sparc/sparc.c (sparc_expand_prologue): Remove bogus PATTERN.
|
4446 |
|
|
|
4447 |
|
|
2005-10-10 Maciej W. Rozycki
|
4448 |
|
|
|
4449 |
|
|
* gcc.c (do_spec_1): Accept numeric characters in file name
|
4450 |
|
|
suffixes.
|
4451 |
|
|
|
4452 |
|
|
2005-10-10 Nick Clifton
|
4453 |
|
|
|
4454 |
|
|
* config/arm/arm.c: Remove extraneous whitespace. Remove comment
|
4455 |
|
|
describing the deleted arm_gen_rotated_half_load function.
|
4456 |
|
|
|
4457 |
|
|
2005-10-09 Kaz Kojima
|
4458 |
|
|
|
4459 |
|
|
* config/sh/sh.c (emit_fpu_switch): Set TREE_PUBLIC for
|
4460 |
|
|
__fpscr_values.
|
4461 |
|
|
|
4462 |
|
|
2005-10-09 Daniel Jacobowitz
|
4463 |
|
|
|
4464 |
|
|
* config.gcc (arm*-*-linux*): Remove redundant extra_parts and
|
4465 |
|
|
gnu_ld assignments.
|
4466 |
|
|
* config/arm/t-linux-eabi (LIB1ASMFUNCS)
|
4467 |
|
|
(EXTRA_MULTILIB_PARTS): Define.
|
4468 |
|
|
* config/arm/linux-elf.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC)
|
4469 |
|
|
(STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC)
|
4470 |
|
|
(LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Move to...
|
4471 |
|
|
* config/arm/uclinux-elf.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC)
|
4472 |
|
|
(STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC)
|
4473 |
|
|
(LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): ... here.
|
4474 |
|
|
|
4475 |
|
|
2005-10-09 Zdenek Dvorak
|
4476 |
|
|
|
4477 |
|
|
PR tree-optimization/24226
|
4478 |
|
|
* tree-cfg.c (remove_bb): Clean up unreachable loops.
|
4479 |
|
|
* tree-flow.h (free_numbers_of_iterations_estimates_loop): Declare.
|
4480 |
|
|
* tree-ssa-loop-niter.c (free_numbers_of_iterations_estimates_loop):
|
4481 |
|
|
Export.
|
4482 |
|
|
|
4483 |
|
|
2005-10-09 Eric Botcazou
|
4484 |
|
|
|
4485 |
|
|
* config/sparc/gmon-sol2.c (internal_mcount): Mark as used.
|
4486 |
|
|
|
4487 |
|
|
2005-10-08 Andrew Pinski
|
4488 |
|
|
|
4489 |
|
|
PR target/24136
|
4490 |
|
|
* config/rs6000/darwin.md (movdf_low_si): Remove early clobber.
|
4491 |
|
|
Rewrite for no need for the early clobber.
|
4492 |
|
|
|
4493 |
|
|
2005-10-08 Kazu Hirata
|
4494 |
|
|
|
4495 |
|
|
Merge from csl-arm-branch:
|
4496 |
|
|
2005-09-07 Paul Brook
|
4497 |
|
|
* config/arm/linux-eabi.h (SUBTARGET_EXTRA_LINK_SPEC): Prepend a
|
4498 |
|
|
space to string.
|
4499 |
|
|
|
4500 |
|
|
2005-04-30 Paul Brook
|
4501 |
|
|
* config/arm/bpabi.h (TARGET_DEFAULT): Define.
|
4502 |
|
|
* config/arm/linux-eabi.h (SUBTARGET_CPU_DEFAULT): Define.
|
4503 |
|
|
|
4504 |
|
|
2005-03-07 Daniel Jacobowitz
|
4505 |
|
|
* config/arm/arm.c (arm_all_abis): Add aapcs-linux.
|
4506 |
|
|
(arm_override_options): Use TARGET_AAPCS_BASED.
|
4507 |
|
|
* config/arm/arm.h (enum arm_abi_type): Add ARM_ABI_AAPCS_LINUX.
|
4508 |
|
|
(PTRDIFF_TYPE): Use int for AAPCS.
|
4509 |
|
|
(DEFAULT_SHORT_ENUMS): Use false for aapcs-linux.
|
4510 |
|
|
* config/arm/linux-eabi.h (ARM_DEFAULT_ABI, WCHAR_TYPE): Define.
|
4511 |
|
|
(DEFAULT_SHORT_ENUMS): Delete.
|
4512 |
|
|
* doc/invoke.texi (ARM Options): Document -mabi=aapcs-linux.
|
4513 |
|
|
|
4514 |
|
|
2004-12-15 Daniel Jacobowitz
|
4515 |
|
|
* config/arm/arm.h (DEFAULT_SHORT_ENUMS): Wrap in #ifndef.
|
4516 |
|
|
* config/arm/linux-eabi.h (DEFAULT_SHORT_ENUMS): Define to 0.
|
4517 |
|
|
* config/arm/t-linux-eabi (TARGET_LIBGCC2_CFLAGS): Set to -fPIC.
|
4518 |
|
|
|
4519 |
|
|
2004-12-03 Mark Mitchell
|
4520 |
|
|
* config/arm/linux-eabi.h (LIBGCC_SPEC): Do not define.
|
4521 |
|
|
|
4522 |
|
|
2004-11-22 Mark Mitchell
|
4523 |
|
|
* config.gcc (arm*-*-linux-gnueabi): Use __cxa_atexit.
|
4524 |
|
|
|
4525 |
|
|
2004-11-19 Mark Mitchell
|
4526 |
|
|
* config.gcc (arm*-*-linux-gnueabi): Add it.
|
4527 |
|
|
* config/arm/bpabi.h (FPUTYPE_DEFAULT): Undefine it before
|
4528 |
|
|
redefining it.
|
4529 |
|
|
(TARGET_OS_CPP_BUILTINS): Likeiwse.
|
4530 |
|
|
* config/arm/linux-eabi.h: New file.
|
4531 |
|
|
* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): New macro.
|
4532 |
|
|
(LINUX_TARET_LINK_SPEC): Likewise.
|
4533 |
|
|
(LINK_SPEC): Use it.
|
4534 |
|
|
* config/arm/t-linux-eabi: New file.
|
4535 |
|
|
|
4536 |
|
|
2005-10-08 Steven Bosscher
|
4537 |
|
|
|
4538 |
|
|
PR other/22202
|
4539 |
|
|
* params.def (PARAM_MAX_VARIABLE_EXPANSIONS): Remove superfluous
|
4540 |
|
|
spaces.
|
4541 |
|
|
(PARAM_SMS_DFA_HISTORY): Likewise.
|
4542 |
|
|
|
4543 |
|
|
2005-10-08 Kazu Hirata
|
4544 |
|
|
|
4545 |
|
|
PR middle-end/23150
|
4546 |
|
|
* calls.c (mem_overlaps_already_clobbered_arg_p): New.
|
4547 |
|
|
(load_register_parameters): Call it.
|
4548 |
|
|
(check_sibcall_argument_overlap_1): Likewise.
|
4549 |
|
|
(store_one_arg): Likewise.
|
4550 |
|
|
|
4551 |
|
|
2005-10-07 James E. Wilson
|
4552 |
|
|
|
4553 |
|
|
* config/ia64/vect.md (ashl3, ashr3, lshr3): Use
|
4554 |
|
|
DImode not VECINT24 for operand 2.
|
4555 |
|
|
|
4556 |
|
|
PR target/23644
|
4557 |
|
|
* doc/invoke.texi (IA-64 Options, item -mtune): Renamed from
|
4558 |
|
|
-mtune-arch.
|
4559 |
|
|
|
4560 |
|
|
PR target/24193
|
4561 |
|
|
* config/ia64/ia64.md (movbi, movti_internal, gr_spill_internal,
|
4562 |
|
|
fr_spill): Use destination_operand for operand 0.
|
4563 |
|
|
|
4564 |
|
|
2005-10-07 DJ Delorie
|
4565 |
|
|
|
4566 |
|
|
* varasm.c (output_constant): Limit error to expanding
|
4567 |
|
|
conversions.
|
4568 |
|
|
|
4569 |
|
|
2005-10-07 Richard Guenther
|
4570 |
|
|
|
4571 |
|
|
PR middle-end/24227
|
4572 |
|
|
* fold-const.c (fold_binary): Fix operand types during folding
|
4573 |
|
|
of X op (A, Y). Evaluation order of the side-effects of
|
4574 |
|
|
X and A are frontend-defined, so ensure we honour that even for
|
4575 |
|
|
tcc_comparison class operands; eased by removing duplicate code.
|
4576 |
|
|
|
4577 |
|
|
2005-10-07 Steve Ellcey
|
4578 |
|
|
|
4579 |
|
|
* stor-layout.c (layout_type): Do not allow alignment of array
|
4580 |
|
|
elements to be greater than their size.
|
4581 |
|
|
|
4582 |
|
|
2005-10-07 Steve Ellcey
|
4583 |
|
|
|
4584 |
|
|
* config.host (hppa*-*-hpux*): Change out_host_hook_obj and
|
4585 |
|
|
host_xmake_file.
|
4586 |
|
|
(hppa*-*-linux*): Ditto.
|
4587 |
|
|
(ia64-*-hpux*): Add out_host_hook_obj and host_xmake_file.
|
4588 |
|
|
* config/host-hpux.c: New.
|
4589 |
|
|
* config/x-hpux: New.
|
4590 |
|
|
* config/pa/x-hpux: Remove.
|
4591 |
|
|
* config/pa/x-linux: Remove.
|
4592 |
|
|
* config/pa/pa-host.c: Remove.
|
4593 |
|
|
|
4594 |
|
|
2005-10-07 Jeff Law
|
4595 |
|
|
|
4596 |
|
|
* tree-ssa-dom.c (dom_opt_finalize_block): Fix conditions to
|
4597 |
|
|
determine whether or not to try and thread outgoing edges.
|
4598 |
|
|
|
4599 |
|
|
2005-10-07 David Edelsohn
|
4600 |
|
|
|
4601 |
|
|
* config/rs6000/rs6000.md (eqsi_power): New.
|
4602 |
|
|
(neg_eq0si): Add TARGET_POWER to final condition.
|
4603 |
|
|
(neg_eqsi): Same.
|
4604 |
|
|
|
4605 |
|
|
2005-10-06 Richard Henderson
|
4606 |
|
|
|
4607 |
|
|
* config/rs6000/rs6000.c: Revert last change.
|
4608 |
|
|
|
4609 |
|
|
2005-10-06 Richard Henderson
|
4610 |
|
|
|
4611 |
|
|
* config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): New.
|
4612 |
|
|
(TARGET_CANNOT_FORCE_CONST_MEM): Use it.
|
4613 |
|
|
|
4614 |
|
|
2005-10-06 Andrew Pinski
|
4615 |
|
|
|
4616 |
|
|
PR middle-end/22216
|
4617 |
|
|
PR middle-end/23651
|
4618 |
|
|
* cfgexpand.c (tree_expand_cfg): After expanding the functions, clear
|
4619 |
|
|
out return_label and naked_return_label.
|
4620 |
|
|
|
4621 |
|
|
2005-10-06 Daniel Berlin
|
4622 |
|
|
|
4623 |
|
|
* tree-ssa-structalias.c (check_for_overlaps): Fix bug in last
|
4624 |
|
|
change.
|
4625 |
|
|
|
4626 |
|
|
2005-10-06 Richard Henderson
|
4627 |
|
|
|
4628 |
|
|
PR tree-opt/22237
|
4629 |
|
|
* tree-inline.c (declare_return_variable): Handle modify_dest not
|
4630 |
|
|
being a DECL.
|
4631 |
|
|
|
4632 |
|
|
2005-10-06 Daniel Berlin
|
4633 |
|
|
|
4634 |
|
|
Fix PR tree-optimization/22488
|
4635 |
|
|
* tree-ssa-structalias.c (check_for_overlaps): New function.
|
4636 |
|
|
(create_variable_info_for): Use it.
|
4637 |
|
|
|
4638 |
|
|
2005-10-06 Richard Henderson
|
4639 |
|
|
|
4640 |
|
|
PR debug/24070
|
4641 |
|
|
* dwarf2out.c (lookup_filename): Return the result of maybe_emit_file.
|
4642 |
|
|
(dwarf2out_start_source_file): Print it.
|
4643 |
|
|
|
4644 |
|
|
2005-10-06 Geoffrey Keating
|
4645 |
|
|
|
4646 |
|
|
* config/t-slibgcc-darwin (SHLIB_MAPFILES): Use '+='.
|
4647 |
|
|
|
4648 |
|
|
2005-10-06 Richard Henderson
|
4649 |
|
|
|
4650 |
|
|
PR 23706
|
4651 |
|
|
* mode-switching.c (optimize_mode_switching): Clear transp bit
|
4652 |
|
|
for block with incomming abnormal edges.
|
4653 |
|
|
|
4654 |
|
|
* config/sh/sh.c (fpscr_values, emit_fpu_switch): New.
|
4655 |
|
|
(fpscr_set_from_mem): Use them.
|
4656 |
|
|
* config/sh/sh.md (fpu_switch0, fpu_switch1): Remove.
|
4657 |
|
|
(fpscr postinc splitters): Rewrite as peephole2+split.
|
4658 |
|
|
|
4659 |
|
|
2005-10-06 David Edelsohn
|
4660 |
|
|
|
4661 |
|
|
* config/rs6000/rs6000.md (eq): Add !TARGET_POWER.
|
4662 |
|
|
(eq_compare): Same.
|
4663 |
|
|
|
4664 |
|
|
2005-10-06 Richard Guenther
|
4665 |
|
|
|
4666 |
|
|
PR tree-optimization/24238
|
4667 |
|
|
* tree-ssa-alias.c (find_used_portions): Handle RESULT_DECL.
|
4668 |
|
|
|
4669 |
|
|
2005-10-06 Daniel Jacobowitz
|
4670 |
|
|
|
4671 |
|
|
* acinclude.m4 (gcc_AC_CHECK_TOOL): Handle environment variables
|
4672 |
|
|
here. Use AC_PATH_PROG for environment variables instead of
|
4673 |
|
|
test -x.
|
4674 |
|
|
* configure.ac: Update calls to gcc_AC_CHECK_TOOL. Use it for
|
4675 |
|
|
objdump also.
|
4676 |
|
|
* configure: Regenerated.
|
4677 |
|
|
|
4678 |
|
|
2005-10-06 Richard Earnshaw
|
4679 |
|
|
|
4680 |
|
|
PR target/23783
|
4681 |
|
|
* arm.md (call): If the address isn't a SYMBOL_REF or a register,
|
4682 |
|
|
then force it into a register.
|
4683 |
|
|
(call_value): Likewise.
|
4684 |
|
|
|
4685 |
|
|
2005-10-06 Richard Henderson
|
4686 |
|
|
|
4687 |
|
|
PR 24049
|
4688 |
|
|
* passes.c (init_optimization_passes): Move pass_lower_vector_ssa
|
4689 |
|
|
under pass_vectorize. Clear TODO_ggc_collect from the dce pass
|
4690 |
|
|
under pass_vectorize.
|
4691 |
|
|
|
4692 |
|
|
2005-10-05 Devang Patel
|
4693 |
|
|
|
4694 |
|
|
PR Debug/23205
|
4695 |
|
|
* dbxout.c (dbxout_symbol): Check DECL_RTL_SET_P, after
|
4696 |
|
|
handling constants. Check NAMESPACE_DECL context for constants.
|
4697 |
|
|
|
4698 |
|
|
2005-10-05 Eric Christopher
|
4699 |
|
|
|
4700 |
|
|
* doc/md.texi (Standard Names): Fix name of pushm1 pattern.
|
4701 |
|
|
|
4702 |
|
|
2005-10-05 Richard Henderson
|
4703 |
|
|
|
4704 |
|
|
PR 23714
|
4705 |
|
|
* tree-cfg.c (mark_array_ref_addressable_1): New.
|
4706 |
|
|
(mark_array_ref_addressable): New.
|
4707 |
|
|
* tree-flow.h (mark_array_ref_addressable): Declare.
|
4708 |
|
|
* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Use it.
|
4709 |
|
|
|
4710 |
|
|
2005-10-05 Andrew Pinski
|
4711 |
|
|
|
4712 |
|
|
PR middle-end/20606
|
4713 |
|
|
PR middle-end/24069
|
4714 |
|
|
* reload.c (subst_reloads): When adding a REG_LABEL to a
|
4715 |
|
|
jump instruction, also update JUMP_LABEL.
|
4716 |
|
|
|
4717 |
|
|
2005-10-05 David Edelsohn
|
4718 |
|
|
|
4719 |
|
|
* params.def (PARAM_MAX_GROW_COPY_BB_INSNS): New.
|
4720 |
|
|
* bb-reorder.c (copy_bb_p): Use it.
|
4721 |
|
|
* doc/invoke.texi (param table): Add max-grow-copy-bb-insn.
|
4722 |
|
|
|
4723 |
|
|
2005-10-05 Richard Henderson
|
4724 |
|
|
|
4725 |
|
|
PR target/23602
|
4726 |
|
|
* toplev.c (process_options): Warn about unsupported combinations
|
4727 |
|
|
of unwind tables and omit-frame-pointer.
|
4728 |
|
|
* config/i386/i386.c (override_options): Similarly. Enable
|
4729 |
|
|
accumulate-outgoing-args if not explicitly disabled.
|
4730 |
|
|
|
4731 |
|
|
2005-10-05 Steve Ellcey
|
4732 |
|
|
|
4733 |
|
|
* vect.md (vec_initv2si): Fix typo of V2SF to V2SI.
|
4734 |
|
|
Handle big endian vs. small endian.
|
4735 |
|
|
(vec_initv2sf): Handle big endian vs. small endian.
|
4736 |
|
|
(*vec_extractv2sf_1): Ditto.
|
4737 |
|
|
|
4738 |
|
|
2005-10-05 Dale Johannesen
|
4739 |
|
|
|
4740 |
|
|
* convert.c (convert_to_real): Don't convert
|
4741 |
|
|
(float)floor(double d) to floorf((float)d).
|
4742 |
|
|
|
4743 |
|
|
2005-10-05 Daniel Jacobowitz
|
4744 |
|
|
|
4745 |
|
|
* config/arm/arm.md (insv): Use gen_int_mode in more places.
|
4746 |
|
|
|
4747 |
|
|
2005-10-05 Andrew MacLeod
|
4748 |
|
|
|
4749 |
|
|
PR tree-optimization/18587
|
4750 |
|
|
* tree-ssa-operands.c (struct opbuild_list_d, OPBUILD_LAST): Delete.
|
4751 |
|
|
(build_defs, build_uses, build_v_may_defs, build_v_must_defs,
|
4752 |
|
|
build_vuses): Change to VEC type.
|
4753 |
|
|
(opbuild_initialize_virtual, opbuild_initialize_real, opbuild_free,
|
4754 |
|
|
opbuild_num_elems, opbuild_append_real, opbuild_append_virtual,
|
4755 |
|
|
opbuild_first, opbuild_next, opbuild_elem_real, opbuild_elem_virtual,
|
4756 |
|
|
opbuild_elem_uid, opbuild_clear, opbuild_remove_elem): Delete.
|
4757 |
|
|
(get_name_decl): New. Return DECL_UID of base variable.
|
4758 |
|
|
(operand_build_cmp): New. qsort comparison routine.
|
4759 |
|
|
(operand_build_sort_virtual): New. Sort virtual build vector.
|
4760 |
|
|
(init_ssa_operands, fini_ssa_operands): Use VEC routines.
|
4761 |
|
|
(FINALIZE_OPBUILD_BASE, FINALIZE_OPBUILD_ELEM): Use VEC_Index.
|
4762 |
|
|
(FINALIZE_BASE): Use get_name_decl.
|
4763 |
|
|
(finalize_ssa_defs, finalize_ssa_uses, cleanup_v_may_defs,
|
4764 |
|
|
finalize_ssa_v_may_defs, finalize_ssa_vuses, finalize_ssa_v_must_defs,
|
4765 |
|
|
(start_ssa_stmt_operands, append_def, append_use, append_vuse,
|
4766 |
|
|
append_v_may_def, append_v_must_def): Replace opbuild_* routines with
|
4767 |
|
|
direct VEC_* manipulations.
|
4768 |
|
|
(build_ssa_operands): Call operand_build_sort_virtual.
|
4769 |
|
|
(copy_virtual_operand, create_ssa_artficial_load_stmt,
|
4770 |
|
|
add_call_clobber_ops, add_call_read_ops): Replace opbuild_* routines
|
4771 |
|
|
with direct VEC_* manipulations.
|
4772 |
|
|
* tree-ssa-opfinalize.h (FINALIZE_FUNC): Replace opbuild_* routines
|
4773 |
|
|
with direct VEC manipulations.
|
4774 |
|
|
|
4775 |
|
|
2005-10-05 Paolo Bonzini
|
4776 |
|
|
|
4777 |
|
|
PR tree-optimization/21419
|
4778 |
|
|
PR tree-optimization/24146
|
4779 |
|
|
PR tree-optimization/24151
|
4780 |
|
|
|
4781 |
|
|
* c-typeck.c (readonly_error): Handle USE being lv_asm.
|
4782 |
|
|
(build_asm_expr): Call it if outputs are read-only.
|
4783 |
|
|
* gimplify.c (gimplify_asm_expr): Remove former fix to PR 21419.
|
4784 |
|
|
|
4785 |
|
|
2005-10-05 Billy Biggs
|
4786 |
|
|
Paolo Bonzini
|
4787 |
|
|
|
4788 |
|
|
PR target/23809
|
4789 |
|
|
|
4790 |
|
|
* doc/extend.texi (x86 Built-ins): Document that -msse and friends
|
4791 |
|
|
enable the instructions and not just the built-ins.
|
4792 |
|
|
* doc/invoke.texi (x86 Options): Likewise.
|
4793 |
|
|
|
4794 |
|
|
2005-10-04 Geoffrey Keating
|
4795 |
|
|
|
4796 |
|
|
* config/i386/t-darwin (SHLIB_VERPFX): Fix typo.
|
4797 |
|
|
|
4798 |
|
|
* doc/invoke.texi (Option Summary): Correct spelling
|
4799 |
|
|
of -mmacosx-version-min.
|
4800 |
|
|
|
4801 |
|
|
2005-10-04 Devang Patel
|
4802 |
|
|
|
4803 |
|
|
* c-common.c (vector_types_convertible_p): Check TYPE_PRECISION for
|
4804 |
|
|
real types.
|
4805 |
|
|
|
4806 |
|
|
2005-10-04 Steve Ellcey
|
4807 |
|
|
|
4808 |
|
|
* tree-vect-transform.c (vect_create_epilog_for_reduction):
|
4809 |
|
|
Use BYTES_BIG_ENDIAN instead of BITS_BIG_ENDIAN.
|
4810 |
|
|
|
4811 |
|
|
2005-10-04 Adrian Straetling
|
4812 |
|
|
|
4813 |
|
|
* config/s390/s390.md ("TDSI","DP"): New mode macros.
|
4814 |
|
|
("TE","tg"): New mode attributes.
|
4815 |
|
|
("sync_compare_and_swap"): Replace with a define_expand.
|
4816 |
|
|
("sync_compare_and_swap_cc"): Replace GPR with TDSI.
|
4817 |
|
|
("*sync_compare_and_swap_cc"): Replace with one pattern for
|
4818 |
|
|
dword_mode and one for GPRmode.
|
4819 |
|
|
|
4820 |
|
|
2005-10-04 Ian Lance Taylor
|
4821 |
|
|
|
4822 |
|
|
PR preprocessor/13726
|
4823 |
|
|
* c-ppoutput.c (cb_include): Add comments parameter, and print out
|
4824 |
|
|
any comments passed in.
|
4825 |
|
|
|
4826 |
|
|
2005-10-04 Andrew Pinski
|
4827 |
|
|
|
4828 |
|
|
* tree.c (annotate_with_file_line): Fix typo.
|
4829 |
|
|
|
4830 |
|
|
2005-10-04 Ulrich Weigand
|
4831 |
|
|
|
4832 |
|
|
PR ada/19382
|
4833 |
|
|
* builtins.c (fold_builtin_memcmp): When constructing the pointer
|
4834 |
|
|
type used to access data in the inlined length == 1 case, use
|
4835 |
|
|
build_pointer_type_for_mode with CAN_ALIAS_ALL set to true.
|
4836 |
|
|
(fold_builtin_strcmp, fold_builtin_strncmp): Likewise.
|
4837 |
|
|
|
4838 |
|
|
2005-10-04 Uros Bizjak
|
4839 |
|
|
|
4840 |
|
|
* config/i386/i386.h (TARGET_FISTTP): Enable also for
|
4841 |
|
|
TARGET_SSE3 and only for TARGET_80387.
|
4842 |
|
|
* config/i386/i386.md (fix_trunc_fisttp_i387_1,
|
4843 |
|
|
(fix_trunc_i387_fisttp, fix_trunc_i387_fisttp_with_temp):
|
4844 |
|
|
Do not depend on TARGET_80387.
|
4845 |
|
|
|
4846 |
|
|
2005-10-04 Andrew Pinski
|
4847 |
|
|
|
4848 |
|
|
* tree.c (last_annotated_node): Change type to location_t*.
|
4849 |
|
|
(annotate_with_file_line): Reflect the change of
|
4850 |
|
|
last_annotated_node type.
|
4851 |
|
|
|
4852 |
|
|
2005-10-04 Richard Guenther
|
4853 |
|
|
|
4854 |
|
|
PR c/23576
|
4855 |
|
|
* c-decl.c (grokdeclarator): Don't write to fields
|
4856 |
|
|
of error_mark_node.
|
4857 |
|
|
|
4858 |
|
|
2005-10-04 Andrew Pinski
|
4859 |
|
|
|
4860 |
|
|
PR middle-end/23125
|
4861 |
|
|
* c-decl.c (finish_decl): Use set_user_assembler_name even for
|
4862 |
|
|
register variables.
|
4863 |
|
|
* varasm.c (make_decl_rtl): If a register variable does not
|
4864 |
|
|
have a set user assmbler name, error out.
|
4865 |
|
|
Decode the asmspec is now name+1 bypassing '*'.
|
4866 |
|
|
|
4867 |
|
|
2005-10-04 Steven Bosscher
|
4868 |
|
|
|
4869 |
|
|
PR tree-optimization/23049
|
4870 |
|
|
* tree-ssa-dom.c (thread_across_edge): Make sure that the condition
|
4871 |
|
|
of a COND_EXPR is folded before calling fold on the whole rhs of a
|
4872 |
|
|
conditional assignment.
|
4873 |
|
|
* doc/tree-ssa.texi: Update the GIMPLE grammar for a valid rhs to
|
4874 |
|
|
document that a COND_EXPR may appear there.
|
4875 |
|
|
|
4876 |
|
|
2005-10-03 Diego Novillo
|
4877 |
|
|
|
4878 |
|
|
PR 23445
|
4879 |
|
|
* tree-vrp.c (extract_range_from_assert): If the new numeric
|
4880 |
|
|
range created out of the assertion contradicts the existing
|
4881 |
|
|
numeric range of the ASSERT_EXPR variable, make the new range
|
4882 |
|
|
varying.
|
4883 |
|
|
|
4884 |
|
|
2005-10-03 Kaz Kojima
|
4885 |
|
|
|
4886 |
|
|
* config/sh/sh.c (sh_register_move_cost): Add case for moving
|
4887 |
|
|
from T_REGS to FP register class.
|
4888 |
|
|
|
4889 |
|
|
2005-10-03 Richard Henderson
|
4890 |
|
|
|
4891 |
|
|
PR 24135
|
4892 |
|
|
* tree-nested.c (convert_nl_goto_reference): Lookup a translation
|
4893 |
|
|
before creating a new one.
|
4894 |
|
|
|
4895 |
|
|
2005-10-03 David Edelsohn
|
4896 |
|
|
|
4897 |
|
|
* config/rs6000/t-aix43 (LDFLAGS): New.
|
4898 |
|
|
* config/rs6000/t-aix52 (LDFLAGS): New.
|
4899 |
|
|
|
4900 |
|
|
2005-10-03 Ian Lance Taylor
|
4901 |
|
|
|
4902 |
|
|
* gimplify.c (find_single_pointer_decl_1): New static function.
|
4903 |
|
|
(find_single_pointer_decl): New static function.
|
4904 |
|
|
(internal_get_tmp_var): For a formal variable, set restrict base
|
4905 |
|
|
information if appropriate.
|
4906 |
|
|
* alias.c (find_base_decl): If a VAR_DECL has a restrict base,
|
4907 |
|
|
return it.
|
4908 |
|
|
* tree.h (DECL_BASED_ON_RESTRICT_P): Define.
|
4909 |
|
|
(DECL_GET_RESTRICT_BASE): Define.
|
4910 |
|
|
(SET_DECL_RESTRICT_BASE): Define.
|
4911 |
|
|
(decl_restrict_base_lookup): Declare.
|
4912 |
|
|
(decl_restrict_base_insert): Declare.
|
4913 |
|
|
(struct tree_decl_with_vis): Add based_on_restrict_p field.
|
4914 |
|
|
* tree.c (restrict_base_for_decl): New static variable.
|
4915 |
|
|
(init_ttree): Initialize restrict_base_for_decl.
|
4916 |
|
|
(copy_node_stat): Copy restrict base information.
|
4917 |
|
|
(decl_restrict_base_lookup): New function.
|
4918 |
|
|
(decl_restrict_base_insert): New function.
|
4919 |
|
|
(print_restrict_base_statistics): New static function.
|
4920 |
|
|
(dump_tree_statistics): Call print_restrict_base_statistics.
|
4921 |
|
|
|
4922 |
|
|
2005-10-02 Diego Novillo
|
4923 |
|
|
|
4924 |
|
|
PR 24142
|
4925 |
|
|
* tree-vrp.c (vrp_meet): Fix call to range_includes_zero_p in
|
4926 |
|
|
case of anti-ranges.
|
4927 |
|
|
|
4928 |
|
|
2005-10-02 Andrew Pinski
|
4929 |
|
|
|
4930 |
|
|
PR c/18851
|
4931 |
|
|
* c-typeck.c (tagged_tu_seen): Rename to ...
|
4932 |
|
|
(tagged_tu_seen_cache): this and add val field.
|
4933 |
|
|
(comptypes): Move functional to comptypes_internal
|
4934 |
|
|
and free tagged_tu_seen.
|
4935 |
|
|
(comptypes_internal): New function and call comptypes_internal
|
4936 |
|
|
instead of comptypes. Speed up by sibcalling
|
4937 |
|
|
tagged_types_tu_compatible_p.
|
4938 |
|
|
(alloc_tagged_tu_seen): New function
|
4939 |
|
|
(free_all_tagged_tu_seen_up_to): New function.
|
4940 |
|
|
(tagged_types_tu_compatible_p): Return the val of the seen two
|
4941 |
|
|
types.
|
4942 |
|
|
Add that the two types are the same to tagged_tu_seen_base
|
4943 |
|
|
if they are and call comptypes_internal instead of comptypes.
|
4944 |
|
|
: Speed up common type where the fields are
|
4945 |
|
|
in the same order.
|
4946 |
|
|
(function_types_compatible_p): Call comptypes_internal instead of
|
4947 |
|
|
comptypes.
|
4948 |
|
|
(type_lists_compatible_p): Likewise.
|
4949 |
|
|
(all functions): s/tagged_tu_seen/tagged_tu_seen_cache/.
|
4950 |
|
|
|
4951 |
|
|
2005-10-02 Matthias Klose
|
4952 |
|
|
|
4953 |
|
|
* doc/invoke.texi: Fix typo and speling error.
|
4954 |
|
|
|
4955 |
|
|
2005-10-01 Richard Henderson
|
4956 |
|
|
|
4957 |
|
|
* tree-stdarg.c (execute_optimize_stdarg): Process PHI nodes too.
|
4958 |
|
|
|
4959 |
|
|
2005-10-01 Mark Mitchell
|
4960 |
|
|
|
4961 |
|
|
* config/arm/unknown-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define
|
4962 |
|
|
using --start-group and --end-group.
|
4963 |
|
|
|
4964 |
|
|
2005-10-01 Diego Novillo
|
4965 |
|
|
|
4966 |
|
|
* tree-vrp.c (value_inside_range, range_includes_zero_p): Add
|
4967 |
|
|
FIXME note regarding quirky semantics.
|
4968 |
|
|
|
4969 |
|
|
2005-10-01 Diego Novillo
|
4970 |
|
|
|
4971 |
|
|
PR 24141
|
4972 |
|
|
* tree-vrp.c (vrp_meet): Clear VR0->EQUIV when building a
|
4973 |
|
|
non-null range as a last resort.
|
4974 |
|
|
|
4975 |
|
|
2005-10-01 James A. Morrison
|
4976 |
|
|
Diego Novillo
|
4977 |
|
|
|
4978 |
|
|
PR 23604
|
4979 |
|
|
* tree-vrp.c (extract_range_from_assert): For !=
|
4980 |
|
|
assertions, only build an anti-range if LIMIT is a
|
4981 |
|
|
single-valued range.
|
4982 |
|
|
|
4983 |
|
|
2005-09-30 Richard Earnshaw
|
4984 |
|
|
|
4985 |
|
|
* arm.md (movqi): On thumb when optimizing, handle loading from
|
4986 |
|
|
memory by describing this as taking a subreg of a zero-extended load
|
4987 |
|
|
into an SImode register.
|
4988 |
|
|
(movhi): Likewise.
|
4989 |
|
|
|
4990 |
|
|
2005-09-30 Daniel Jacobowitz
|
4991 |
|
|
|
4992 |
|
|
* reload1.c (merge_assigned_reloads): Do not change any
|
4993 |
|
|
RELOAD_FOR_OUTPUT_ADDRESS reloads.
|
4994 |
|
|
|
4995 |
|
|
2005-09-30 Geoffrey Keating
|
4996 |
|
|
|
4997 |
|
|
* Makefile.in (LIPO_FOR_TARGET): Define.
|
4998 |
|
|
(STRIP_FOR_TARGET): Define.
|
4999 |
|
|
|
5000 |
|
|
* config/t-slibgcc-darwin (libgcc_s_%.dylib): Remove old symlinks
|
5001 |
|
|
before creating new ones. Do symlinks before creating the actual
|
5002 |
|
|
targets.
|
5003 |
|
|
|
5004 |
|
|
* config/t-slibgcc-darwin (libgcc_s_%.dylib): Use --print-multi-lib
|
5005 |
|
|
to work out which multilibs are actually being built.
|
5006 |
|
|
|
5007 |
|
|
2005-09-30 Kazu Hirata
|
5008 |
|
|
|
5009 |
|
|
* tree-vect-transform.c, config/ms1/ms1.md,
|
5010 |
|
|
config/s390/s390.c, config/v850/v850.md: Fix comment typos.
|
5011 |
|
|
Follow spelling conventions.
|
5012 |
|
|
* doc/invoke.texi, doc/md.texi: Fix typos.
|
5013 |
|
|
|
5014 |
|
|
2005-09-30 Andrew Macleod
|
5015 |
|
|
|
5016 |
|
|
PR tree-optimization/21430
|
5017 |
|
|
* tree-ssa-operands.c (set_virtual_use_link): New. Link new virtual
|
5018 |
|
|
use operands, and set stmt pointer if need be.
|
5019 |
|
|
(FINALIZE_CORRECT_USE: New. Macro to call appropriate use fixup routine.
|
5020 |
|
|
tree-ssa-opfinalize.h (FINALIZE_FUNC): Call FINALIZE_CORRECT_USE if
|
5021 |
|
|
present.
|
5022 |
|
|
|
5023 |
|
|
2005-09-29 Richard Kenner
|
5024 |
|
|
|
5025 |
|
|
PR middle-end/24053
|
5026 |
|
|
* stor-layout.c (set_sizetype): Set TYPE_MAIN_VARIANT of bitsizetype.
|
5027 |
|
|
|
5028 |
|
|
2005-09-29 Mark Mitchell
|
5029 |
|
|
|
5030 |
|
|
* optabs.c (expand_binop): Initialize first_pass_p.
|
5031 |
|
|
|
5032 |
|
|
2005-09-29 Jakub Jelinek
|
5033 |
|
|
|
5034 |
|
|
PR middle-end/24109
|
5035 |
|
|
* c-decl.c (c_write_global_declarations_1): If any
|
5036 |
|
|
wrapup_global_declaration_2 call returned true, restart the loop.
|
5037 |
|
|
|
5038 |
|
|
2005-09-29 Daniel Berlin
|
5039 |
|
|
|
5040 |
|
|
Fix PR tree-optimization/24117
|
5041 |
|
|
* tree-ssa-structalias.c (find_func_aliases): Strip nops
|
5042 |
|
|
before considering whether to use anyoffset.
|
5043 |
|
|
|
5044 |
|
|
2005-09-29 Paolo Bonzini
|
5045 |
|
|
|
5046 |
|
|
Revert this patch:
|
5047 |
|
|
|
5048 |
|
|
2005-09-15 Paolo Bonzini
|
5049 |
|
|
|
5050 |
|
|
* optabs.c (expand_binop): Use swap_commutative_operands_with_target
|
5051 |
|
|
to order operands.
|
5052 |
|
|
(swap_commutative_operands_with_target): New.
|
5053 |
|
|
|
5054 |
|
|
2005-09-29 Paolo Bonzini
|
5055 |
|
|
|
5056 |
|
|
PR c/21419
|
5057 |
|
|
* gimplify.c (gimplify_asm_expr): Raise an error if an output is
|
5058 |
|
|
read-only.
|
5059 |
|
|
|
5060 |
|
|
2005-09-29 Steven Bosscher
|
5061 |
|
|
|
5062 |
|
|
PR tree-optimization/23911
|
5063 |
|
|
* tree-ssa-ccp.c (fold_const_aggregate_ref): Handle REALPART_EXPR
|
5064 |
|
|
and IMAGPART_EXPR too.
|
5065 |
|
|
|
5066 |
|
|
2005-09-28 Mark Mitchell
|
5067 |
|
|
|
5068 |
|
|
PR 17886
|
5069 |
|
|
* expmed.c (expand_shift): Move logic to reverse rotation
|
5070 |
|
|
direction when rotating by constants ...
|
5071 |
|
|
* optabs.c (expand_binop): ... here.
|
5072 |
|
|
* config/i386/i386.md (rotrdi3): Handle 32-bit mode.
|
5073 |
|
|
(ix86_rotrdi3): New pattern.
|
5074 |
|
|
(rotldi3): Handle 32-bit mode.
|
5075 |
|
|
(ix86_rotldi3): New pattern.
|
5076 |
|
|
|
5077 |
|
|
2005-09-29 Alan Modra
|
5078 |
|
|
|
5079 |
|
|
PR target/24102
|
5080 |
|
|
* config/rs6000/rs6000.md (floatdisf2_internal2): Correct range
|
5081 |
|
|
check for numbers that need no bit twiddle.
|
5082 |
|
|
|
5083 |
|
|
2005-09-28 Geoffrey Keating
|
5084 |
|
|
|
5085 |
|
|
* config/rs6000/t-darwin8: Uncomment contents, allow -m64
|
5086 |
|
|
multilib to be built.
|
5087 |
|
|
|
5088 |
|
|
* Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET.
|
5089 |
|
|
(stage1-start): Delete old libgcc and libunwind before moving
|
5090 |
|
|
anything into the stage directory.
|
5091 |
|
|
(stage2-start): Likewise.
|
5092 |
|
|
(stage3-start): Likewise.
|
5093 |
|
|
(stage4-start): Likewise.
|
5094 |
|
|
(stageprofile-start): Likewise.
|
5095 |
|
|
(stagefeedback-start): Likewise.
|
5096 |
|
|
* config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h
|
5097 |
|
|
header in tm_file and CPU-specific t-darwin in tmake_file.
|
5098 |
|
|
(i[34567]86-*-darwin*): Don't change tm_file.
|
5099 |
|
|
(powerpc-*-darwin*): Don't change tm_file or tmake_file.
|
5100 |
|
|
* config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc
|
5101 |
|
|
shared library stub for target OS version.
|
5102 |
|
|
* config/t-slibgcc-darwin (SHLIB_SOLINK): Delete.
|
5103 |
|
|
(SHLIB_LINK): Don't make SHLIB_SOLINK.
|
5104 |
|
|
(SHLIB_INSTALL): Don't install SHLIB_SOLINK.
|
5105 |
|
|
(libgcc_s.%.dylib): New.
|
5106 |
|
|
(LIBGCC): Define.
|
5107 |
|
|
(install-darwin-libgcc-stubs): New.
|
5108 |
|
|
(INSTALL_LIBGCC): New append.
|
5109 |
|
|
* config/i386/darwin-libgcc.10.4.ver: New.
|
5110 |
|
|
* config/i386/darwin-libgcc.10.5.ver: New.
|
5111 |
|
|
* config/i386/t-darwin: New.
|
5112 |
|
|
* config/rs6000/darwin-libgcc.10.4.ver: New.
|
5113 |
|
|
* config/rs6000/darwin-libgcc.10.5.ver: New.
|
5114 |
|
|
* config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete.
|
5115 |
|
|
* config/rs6000/t-darwin (SHLIB_VERPFX): Define.
|
5116 |
|
|
|
5117 |
|
|
2005-09-28 Paul Brook
|
5118 |
|
|
|
5119 |
|
|
* config/m68k/fpgnulib.c (__extendsfdf2, __truncdfsf2): Handle
|
5120 |
|
|
denormals.
|
5121 |
|
|
|
5122 |
|
|
2005-09-28 Richard Guenther
|
5123 |
|
|
|
5124 |
|
|
PR tree-optimization/23853
|
5125 |
|
|
* tree-vect-analyze.c (vect_compute_data_ref_alignment): Use
|
5126 |
|
|
host_integerp to verify misalignment value.
|
5127 |
|
|
|
5128 |
|
|
2005-09-28 Richard Henderson
|
5129 |
|
|
|
5130 |
|
|
* builtins.c (get_builtin_sync_mode): New.
|
5131 |
|
|
(expand_builtin_sync_operation): Pass in mode argument.
|
5132 |
|
|
(expand_builtin_compare_and_swap): Likewise.
|
5133 |
|
|
(expand_builtin_lock_test_and_set): Likewise.
|
5134 |
|
|
(expand_builtin_lock_release): Likewise.
|
5135 |
|
|
(expand_builtin): Update to match.
|
5136 |
|
|
|
5137 |
|
|
2005-09-28 Nick Clifton
|
5138 |
|
|
|
5139 |
|
|
* config/v850/v850.h (GO_IF_LEGITIMATE_ADDRESS): Tidy up
|
5140 |
|
|
formatting. Add check to PLUS case to ensure that the offset is
|
5141 |
|
|
within an acceptable range.
|
5142 |
|
|
|
5143 |
|
|
* config/v850/v850.md (casesi): Disable the generation of the
|
5144 |
|
|
switch pattern as it is not being handled properly at the moment.
|
5145 |
|
|
|
5146 |
|
|
* config/v850/lib1funcs.asm (___ucmpdi2): Correct jump instruction
|
5147 |
|
|
for when the high words are identical.
|
5148 |
|
|
|
5149 |
|
|
2005-09-27 Richard Henderson
|
5150 |
|
|
|
5151 |
|
|
* pretty-print.c (pp_base_format): Fix typo for %>.
|
5152 |
|
|
|
5153 |
|
|
2005-09-27 Daniel Berlin
|
5154 |
|
|
Devang Patel
|
5155 |
|
|
|
5156 |
|
|
PR tree-optimization/23625
|
5157 |
|
|
* tree-flow-inline.h (bsi_after_labels): Remove, first statement is
|
5158 |
|
|
LABEL_EXPR, assertion check.
|
5159 |
|
|
|
5160 |
|
|
2005-09-27 J"orn Rennecke
|
5161 |
|
|
|
5162 |
|
|
* optabs.c (no_conflict_move_test): Check if a result of a
|
5163 |
|
|
to-be-moved insn would be clobbered by an originally
|
5164 |
|
|
preceding insn.
|
5165 |
|
|
|
5166 |
|
|
2005-09-27 Jeff Law
|
5167 |
|
|
|
5168 |
|
|
* passes.c (init_optimization_passes): Replace copy propagation
|
5169 |
|
|
passes immediately after DOM with phi-only copy propagation
|
5170 |
|
|
pases. Add phi-only copy propagation pass after first DOM pass.
|
5171 |
|
|
* tree-pass.h (pass_phi_only_copy_prop): Declare.
|
5172 |
|
|
* tree-ssa-copy.c (init_copy_prop): Accept new PHI_ONLY argument.
|
5173 |
|
|
If true, then mark all non-control statements with DONT_SIMULATE_AGAIN.
|
5174 |
|
|
(execute_copy_prop): Accept new PHI_ONLY argument. Pass it along
|
5175 |
|
|
to init_copy_prop. Callers updated.
|
5176 |
|
|
(do_phi_only_copy_prop): New function.
|
5177 |
|
|
(pass_phi_only_copy_prop): New pass descriptor.
|
5178 |
|
|
|
5179 |
|
|
2005-09-27 Nick Clifton
|
5180 |
|
|
|
5181 |
|
|
* libgcc2.c (__popcount_tab): Remove redundant prototype.
|
5182 |
|
|
|
5183 |
|
|
2005-09-26 Jason Merrill
|
5184 |
|
|
|
5185 |
|
|
PR c++/13764
|
5186 |
|
|
* c-common.c (finish_fname_decls): Use append_to_statement_list_force.
|
5187 |
|
|
|
5188 |
|
|
* doc/invoke.texi: Clarify documentation of -fno-enforce-eh-specs.
|
5189 |
|
|
|
5190 |
|
|
2005-09-26 James E Wilson
|
5191 |
|
|
|
5192 |
|
|
* config/ia64/crtbegin.asm, config/ia64/crtend.asm: Remove glibc
|
5193 |
|
|
copyright. Add gcc copyright plus libgcc exception.
|
5194 |
|
|
* config/ia64/crtfastmath.asm: Remove glibc copyright. Add gcc
|
5195 |
|
|
copyright.
|
5196 |
|
|
* config/ia64/lib1funcs.asm: Add gcc copyright plus libgcc exception.
|
5197 |
|
|
|
5198 |
|
|
2005-09-26 Jeff Law
|
5199 |
|
|
|
5200 |
|
|
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Be more selective
|
5201 |
|
|
about when to iterate.
|
5202 |
|
|
|
5203 |
|
|
2005-09-23 Fariborz Jahanian
|
5204 |
|
|
|
5205 |
|
|
PR target/23847
|
5206 |
|
|
* config/rs6000/rs6000.c (rs6000_function_value): Parallel pattern
|
5207 |
|
|
for __complex__ double in -mcpu=G5 mode.
|
5208 |
|
|
|
5209 |
|
|
2005-09-26 Sebastian Pop
|
5210 |
|
|
|
5211 |
|
|
PR tree-optimization/23942
|
5212 |
|
|
* Makefile.in (SCEV_H): Depends on PARAMS_H.
|
5213 |
|
|
* tree-scalar-evolution.c: Include params.h.
|
5214 |
|
|
(t_bool): New enum.
|
5215 |
|
|
(follow_ssa_edge, follow_ssa_edge_in_rhs,
|
5216 |
|
|
follow_ssa_edge_in_condition_phi_branch,
|
5217 |
|
|
follow_ssa_edge_in_condition_phi, follow_ssa_edge_inner_loop_phi):
|
5218 |
|
|
Change return type to t_bool. Use a parameter to limit the size of
|
5219 |
|
|
trees that are walked before stopping
|
5220 |
|
|
(analyze_evolution_in_loop): Initialize the limit to 0.
|
5221 |
|
|
(follow_ssa_edge): Give up by returning t_dont_know if the limit
|
5222 |
|
|
exceeds PARAM_SCEV_MAX_EXPR_SIZE.
|
5223 |
|
|
|
5224 |
|
|
2005-09-26 Uros Bizjak
|
5225 |
|
|
|
5226 |
|
|
PR middle-end/23831
|
5227 |
|
|
* simplify-rtx.c (simplify_immed_subreg) [MODE_INT]: Skip
|
5228 |
|
|
simplification if elem_bitsize > 2 * HOST_BITS_PER_WIDE_INT.
|
5229 |
|
|
|
5230 |
|
|
2005-09-26 Fariborz Jahanian
|
5231 |
|
|
|
5232 |
|
|
* combine.c (make_extraction): Check for valid use of subreg.
|
5233 |
|
|
|
5234 |
|
|
2005-09-26 Uros Bizjak
|
5235 |
|
|
|
5236 |
|
|
PR target/24055
|
5237 |
|
|
* config/i386/i386.md ("*fistdi2_1"): New pattern.
|
5238 |
|
|
("*fist2_1"): Use only HImode and SImode register operands.
|
5239 |
|
|
("fist2_with_temp"): Use only register operands.
|
5240 |
|
|
|
5241 |
|
|
2005-09-26 J"orn Rennecke
|
5242 |
|
|
|
5243 |
|
|
* rtlanal.c (reg_used_between_p): Don't check for CLOBBERs in
|
5244 |
|
|
CALL_INSN_FUNCTION_USAGE.
|
5245 |
|
|
|
5246 |
|
|
2005-09-26 Richard Guenther
|
5247 |
|
|
|
5248 |
|
|
PR middle-end/15855
|
5249 |
|
|
* gcse.c: Include hashtab.h, define ldst entry hashtable.
|
5250 |
|
|
(pre_ldst_expr_hash, pre_ldst_expr_eq): New functions.
|
5251 |
|
|
(ldst_entry): Use the hashtable instead of list-walking.
|
5252 |
|
|
(find_rtx_in_ldst): Likewise.
|
5253 |
|
|
(free_ldst_entry): Free the hashtable.
|
5254 |
|
|
(compute_ld_motion_mems): Create the hashtable.
|
5255 |
|
|
(trim_ld_motion_mems): Remove entry from hashtable if
|
5256 |
|
|
removing it from list.
|
5257 |
|
|
(compute_store_table): Likewise^2.
|
5258 |
|
|
(store_motion): Free hashtable in case we did not see
|
5259 |
|
|
any stores.
|
5260 |
|
|
|
5261 |
|
|
2005-09-25 Kazu Hirata
|
5262 |
|
|
|
5263 |
|
|
* fold-const.c (fold_binary): Use op0 and op1 instead of arg0
|
5264 |
|
|
and arg1 if we are passing them to fold_build2.
|
5265 |
|
|
|
5266 |
|
|
2005-09-25 Dan Nicolaescu
|
5267 |
|
|
|
5268 |
|
|
PR 23828
|
5269 |
|
|
* config/i386/i386.c (ix86_function_regparm): Fix the test for
|
5270 |
|
|
a nested function.
|
5271 |
|
|
|
5272 |
|
|
2005-09-25 Richard Henderson
|
5273 |
|
|
|
5274 |
|
|
* config/alpha/alpha.c (tls_symbolic_operand_1): Trust
|
5275 |
|
|
SYMBOL_REF_TLS_MODEL to be correct.
|
5276 |
|
|
|
5277 |
|
|
2005-09-24 Richard Henderson
|
5278 |
|
|
|
5279 |
|
|
* ipa-type-escape.c (discover_unique_type): Remove dead code at
|
5280 |
|
|
end of function. Reindent.
|
5281 |
|
|
|
5282 |
|
|
2005-09-24 Ian Lance Taylor
|
5283 |
|
|
|
5284 |
|
|
* convert.c (convert_to_integer): Don't test for ENUMERAL_TYPE in
|
5285 |
|
|
NEGATE_EXPR/BIT_NOT_EXPR case.
|
5286 |
|
|
|
5287 |
|
|
2005-09-24 Richard Henderson
|
5288 |
|
|
|
5289 |
|
|
* c-common.c (handle_mode_attribute): When not modifying in place,
|
5290 |
|
|
create subtypes for enumerations.
|
5291 |
|
|
(sync_resolve_return): Use TYPE_MAIN_VARIANT.
|
5292 |
|
|
* gimplify.c (create_tmp_from_val): Likewise.
|
5293 |
|
|
|
5294 |
|
|
2005-09-24 Alexandre Oliva
|
5295 |
|
|
|
5296 |
|
|
* config/i386/i386.md (*tls_global_dynamic_64,
|
5297 |
|
|
*tls_local_dynamic_base_64): Add missing mode to call.
|
5298 |
|
|
(tls_global_dynamic_64, tls_local_dynamic_base_64): Likewise.
|
5299 |
|
|
|
5300 |
|
|
2005-09-24 Jan Hubicka
|
5301 |
|
|
|
5302 |
|
|
* cgraph.c (cgraph_clone_edge): Make the scale gcov_type.
|
5303 |
|
|
(cgraph_clone_node): Likewise.
|
5304 |
|
|
* cgraph.h (cgraph_clone_edge): Update prototype.
|
5305 |
|
|
(cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Remove
|
5306 |
|
|
duplicated prototypes; add updating argument.
|
5307 |
|
|
* cgraphunit.c (verify_cgraph_node): Verify that counts are non-negative.
|
5308 |
|
|
* ipa-inline.c (cgraph_clone_inlined_nodes): Allow clonning without
|
5309 |
|
|
updating profile.
|
5310 |
|
|
(cgraph_mark_inline_edge): Likewise.
|
5311 |
|
|
(cgraph_mark_inline): Update use of cgraph_mark_inline_edge.
|
5312 |
|
|
(cgraph_flatten_node): Likewise.
|
5313 |
|
|
(cgraph_decide_recursive_inlining): Likewise.
|
5314 |
|
|
(cgraph_decide_inlining_of_small_function): Likewise.
|
5315 |
|
|
* tree-optimize.c (tree_rest_of_compilation): Likewise.
|
5316 |
|
|
|
5317 |
|
|
2005-09-23 David Edelsohn
|
5318 |
|
|
Pete Steinmetz
|
5319 |
|
|
|
5320 |
|
|
* config/rs6000/rs6000.md (neg-minus-mult): Set type to dmul.
|
5321 |
|
|
(rldic.): Set type to "compare".
|
5322 |
|
|
(rldicr.): Same.
|
5323 |
|
|
(movsf_hardfloat): Set type to mtjmpr for MTCTR/MTLR. Set type to
|
5324 |
|
|
mfjmpr for MFCTR/MFLR.
|
5325 |
|
|
(movdf_hardfloat64): Same.
|
5326 |
|
|
(movdf_softfloat64): Same. Correct order of store and move types.
|
5327 |
|
|
(movti_string): Set type to store_ux/load_ux.
|
5328 |
|
|
(load_multiple): Set type to load_ux.
|
5329 |
|
|
(store_multiple): Set type to store_ux.
|
5330 |
|
|
(movmemsi): Set type to store_ux.
|
5331 |
|
|
(output_cbranch direct_return): Set type to jmpreg.
|
5332 |
|
|
(stmw): Set type to store_ux.
|
5333 |
|
|
(lmw): Set type to load_ux.
|
5334 |
|
|
* config/rs6000/40x.md (ppc403-store): Increase latency to 2.
|
5335 |
|
|
* config/rs6000/440.md (ppc440-store): Increase latency to 6.
|
5336 |
|
|
* config/rs6000/603.md (ppc603-store): Occupy LSU for 2 cycles.
|
5337 |
|
|
* config/rs6000/6xx.md (ppc604-store): Increase latency to 3.
|
5338 |
|
|
* config/rs6000/mpc.md (mpccore-store): Increase latency to 2.
|
5339 |
|
|
* config/rs6000/rios1.md (rios1-store): Increase latency to 2.
|
5340 |
|
|
(rios1-fpstore): Increase latency to 3.
|
5341 |
|
|
* config/rs6000/rios2.md (rios2-store): Increase latency to 2.
|
5342 |
|
|
* config/rs6000/rs64.md (rs64a-store): Increase latency to 2.
|
5343 |
|
|
|
5344 |
|
|
2005-09-23 David Edelsohn
|
5345 |
|
|
Andrew Pinski
|
5346 |
|
|
|
5347 |
|
|
* config/rs6000/sync.md (sync_si_internal): Change
|
5348 |
|
|
operand2 constraint to "b".
|
5349 |
|
|
(sync_di_internal): Same.
|
5350 |
|
|
(sync_old_si_internal): Change operand3 constraint
|
5351 |
|
|
to "b".
|
5352 |
|
|
(sync_old_di_internal): Same.
|
5353 |
|
|
(sync_new_si_internal): Same.
|
5354 |
|
|
(sync_new_di_internal): Same.
|
5355 |
|
|
|
5356 |
|
|
2005-09-23 J"orn Rennecke
|
5357 |
|
|
|
5358 |
|
|
PR middle-end/23991
|
5359 |
|
|
* final.c (insn_default_length, insn_min_length): In !HAVE_ATTR_length
|
5360 |
|
|
case, define as macros.
|
5361 |
|
|
|
5362 |
|
|
PR rtl-optimization/23837
|
5363 |
|
|
* optabs.c (no_conflict_move_test): Don't set must_stay for a
|
5364 |
|
|
clobber / clobber match between dest and p->first.
|
5365 |
|
|
|
5366 |
|
|
* optabs.c (emit_libcall_block): Use no_conflict_move_test.
|
5367 |
|
|
(no_conflict_move_test): Update comments.
|
5368 |
|
|
|
5369 |
|
|
2005-09-22 Ranjit Mathew
|
5370 |
|
|
|
5371 |
|
|
* doc/install.texi: Update URL for Jacks.
|
5372 |
|
|
* doc/sourcebuild.texi: Likewise.
|
5373 |
|
|
|
5374 |
|
|
2005-09-22 David Edelsohn
|
5375 |
|
|
|
5376 |
|
|
PR target/24007
|
5377 |
|
|
* config/rs6000/rs6000.md (movsf_hardfloat): Ignore special
|
5378 |
|
|
registers when choosing register preferences.
|
5379 |
|
|
(movdf_hardfloat64): Same.
|
5380 |
|
|
|
5381 |
|
|
2005-09-22 Andreas Krebbel
|
5382 |
|
|
|
5383 |
|
|
* expmed.c (expand_shift): Don't use the target of the rotate as
|
5384 |
|
|
target for the first expanded shift insn.
|
5385 |
|
|
* testsuite/gcc.dg/20050922-1.c: Testcase added.
|
5386 |
|
|
|
5387 |
|
|
2005-09-21 Zdenek Dvorak
|
5388 |
|
|
|
5389 |
|
|
PR tree-optimization/22438
|
5390 |
|
|
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Handle all
|
5391 |
|
|
preserved iv rhs rewriting specially.
|
5392 |
|
|
|
5393 |
|
|
2005-09-21 Daniel Berlin
|
5394 |
|
|
|
5395 |
|
|
* tree-data-ref.c (analyze_array_indexes): Only estimate when
|
5396 |
|
|
estimate_only is true.
|
5397 |
|
|
* tree-flow.h (ref_contains_indirect_ref): New prototype.
|
5398 |
|
|
* tree-flow-inline.h (ref_contains_indirect_ref): Moved from
|
5399 |
|
|
tree-ssa-structalias.c
|
5400 |
|
|
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Use
|
5401 |
|
|
ref_contains_indirect_ref.
|
5402 |
|
|
* tree-ssa-structalias.c (ref_contains_indirect_ref): Moved.
|
5403 |
|
|
|
5404 |
|
|
2005-09-21 DJ Delorie
|
5405 |
|
|
|
5406 |
|
|
* config/mn10300/mn10300.c (TARGET_DEFAULT_TARGET_FLAGS): Add
|
5407 |
|
|
MASK_PTR_A0D0.
|
5408 |
|
|
(mn10300_return_in_memory): Support variable size types also.
|
5409 |
|
|
(mn10300_pass_by_reference): Likewise.
|
5410 |
|
|
(mn10300_function_value): New.
|
5411 |
|
|
* config/mn10300/mn10300.h (FUNCTION_VALUE): Call the above.
|
5412 |
|
|
(FUNCTION_OUTGOING_VALUE): Likewise.
|
5413 |
|
|
* config/mn10300/mn10300.opt: Add -mreturn-pointer-on-d0.
|
5414 |
|
|
* doc/invoke.texi: Document it.
|
5415 |
|
|
|
5416 |
|
|
2005-09-21 Uros Bizjak
|
5417 |
|
|
|
5418 |
|
|
PR target/22585
|
5419 |
|
|
* config/i386/i386.c (ix86_prepare_fp_compare_args): Do not
|
5420 |
|
|
force integer op1 into register for XFmode compares.
|
5421 |
|
|
|
5422 |
|
|
2005-09-21 Kazu Hirata
|
5423 |
|
|
|
5424 |
|
|
PR middle-end/23971
|
5425 |
|
|
* expmed.c (alg_code): Add alg_impossible.
|
5426 |
|
|
(alg_hash_entry): Add cost.
|
5427 |
|
|
(synth_mult): Record alg_impossible in the hash table if
|
5428 |
|
|
multiplication by a given integer is impossble within the
|
5429 |
|
|
limit. Speed up using alg_impossible.
|
5430 |
|
|
|
5431 |
|
|
2005-09-20 Daniel Berlin
|
5432 |
|
|
|
5433 |
|
|
* tree-ssa-structalias.c (get_constraint_for_component_ref): Add
|
5434 |
|
|
argument. Allow and set any offset if needs_anyoffset is passed
|
5435 |
|
|
in.
|
5436 |
|
|
(get_constraint_for): Add argument here too.
|
5437 |
|
|
Pass it down.
|
5438 |
|
|
(do_structure_copy): Pass NULL to get_constraint_for.
|
5439 |
|
|
(handle_ptr_arith): Ditto.
|
5440 |
|
|
(find_func_aliases): Ditto.
|
5441 |
|
|
|
5442 |
|
|
2005-09-20 J"orn Rennecke
|
5443 |
|
|
|
5444 |
|
|
PR rtl-optimization/23898
|
5445 |
|
|
* output.h (get_attr_min_length): Declare.
|
5446 |
|
|
* final.c (get_attr_length_1): New function, broken out of:
|
5447 |
|
|
(get_attr_length).
|
5448 |
|
|
(get_attr_min_length): New function.
|
5449 |
|
|
* bb-reorder.c (copy_bb_p, get_uncond_jump_length): Use it.
|
5450 |
|
|
(duplicate_computed_gotos): Likewise.
|
5451 |
|
|
* genattr.c (insn_min_length): Generate declaration.
|
5452 |
|
|
* genattrtab.c (min_fn, min_attr_value): New functions.
|
5453 |
|
|
(make_length_attrs): Generate insn_min_length.
|
5454 |
|
|
|
5455 |
|
|
2005-09-20 Steve Ellcey
|
5456 |
|
|
|
5457 |
|
|
* config/pa/pa.c (output_cbranch): Check for zero in operands[2].
|
5458 |
|
|
|
5459 |
|
|
2005-09-20 Richard Henderson
|
5460 |
|
|
|
5461 |
|
|
PR tree-optimization/24059
|
5462 |
|
|
* expr.c (expand_expr_real_1) : Allow modifier
|
5463 |
|
|
EXPAND_STACK_PARM.
|
5464 |
|
|
|
5465 |
|
|
2005-09-20 Joseph S. Myers
|
5466 |
|
|
|
5467 |
|
|
* c.opt (fextended-identifiers): New.
|
5468 |
|
|
* c-opts.c (c_common_handle_option): Handle
|
5469 |
|
|
-fextended-identifiers.
|
5470 |
|
|
* doc/cpp.texi: Update documentation of extended identifiers.
|
5471 |
|
|
* doc/cppopts.texi (-fextended-identifiers): Document.
|
5472 |
|
|
|
5473 |
|
|
2005-09-20 Jakub Jelinek
|
5474 |
|
|
|
5475 |
|
|
PR tree-optimization/23929
|
5476 |
|
|
* tree-ssa-loop-niter.c (expand_simple_operations): Return immediately
|
5477 |
|
|
if expr is NULL.
|
5478 |
|
|
|
5479 |
|
|
PR tree-optimization/23818
|
5480 |
|
|
* tree-stdarg.c (execute_optimize_stdarg): Call
|
5481 |
|
|
calculate_dominance_info.
|
5482 |
|
|
|
5483 |
|
|
2005-09-20 Daniel Berlin
|
5484 |
|
|
|
5485 |
|
|
* tree-data-ref.c (get_number_of_iters_for_loop): New function.
|
5486 |
|
|
(analyze_siv_subscript_cst_affine): Add weak SIV test.
|
5487 |
|
|
(compute_overlap_steps_for_affine_1_2): Use
|
5488 |
|
|
get_number_of_iters_for_loop.
|
5489 |
|
|
(analyze_subscript_affine_affine): Check whether difference is
|
5490 |
|
|
zero first.
|
5491 |
|
|
Use get_number_of_iters_for_loop.
|
5492 |
|
|
Check whether overlap occurs outside of bounds.
|
5493 |
|
|
(analyze_miv_subscript): Use get_number_of_iters_for_loop.
|
5494 |
|
|
|
5495 |
|
|
2005-09-20 Andreas Krebbel
|
5496 |
|
|
|
5497 |
|
|
* tree-ssa-address.c (create_mem_ref): Put the symbol reference into the
|
5498 |
|
|
base register if possible.
|
5499 |
|
|
|
5500 |
|
|
2005-09-20 Zdenek Dvorak
|
5501 |
|
|
|
5502 |
|
|
PR tree-optimization/18463
|
5503 |
|
|
* tree-chrec.c (chrec_convert): Return fold_converted chrec if
|
5504 |
|
|
converting it directly is not possible.
|
5505 |
|
|
(chrec_convert_aggressive): New function.
|
5506 |
|
|
* tree-chrec.h (chrec_convert_aggressive): Declare.
|
5507 |
|
|
* tree-scalar-evolution.c (instantiate_parameters_1, resolve_mixers):
|
5508 |
|
|
Fold chrec conversions aggressively if asked to.
|
5509 |
|
|
(instantiate_parameters): Modified because of changes in
|
5510 |
|
|
instantiate_parameters_1.
|
5511 |
|
|
|
5512 |
|
|
2005-09-19 Richard Henderson
|
5513 |
|
|
|
5514 |
|
|
* config/i386/sse.md (reduc_splus_v4sf): Rename from reduc_plus_v4sf.
|
5515 |
|
|
(reduc_splus_v2df): New.
|
5516 |
|
|
|
5517 |
|
|
2005-09-19 Richard Sandiford
|
5518 |
|
|
|
5519 |
|
|
* config/arm/aof.h (REGISTER_NAMES): Add missing backslash.
|
5520 |
|
|
(ADDITIONAL_REGISTER_NAMES): Add missing comma. Remove final comma.
|
5521 |
|
|
|
5522 |
|
|
2005-09-19 Richard Henderson
|
5523 |
|
|
|
5524 |
|
|
* config/i386/sse.md (vcondu): Rename from
|
5525 |
|
|
vcondu.
|
5526 |
|
|
|
5527 |
|
|
2005-09-19 Richard Henderson
|
5528 |
|
|
|
5529 |
|
|
* config/ia64/ia64.c (ia64_expand_widen_sum): New.
|
5530 |
|
|
(ia64_expand_dot_prod_v8qi): New.
|
5531 |
|
|
* config/ia64/ia64-protos.h: Update.
|
5532 |
|
|
* config/ia64/vect.md (pmpy2_r, pmpy2_l, widen_usumv8qi3,
|
5533 |
|
|
widen_usumv4hi3, widen_ssumv8qi3, widen_ssumv4hi3, udot_prodv8qi,
|
5534 |
|
|
sdot_prodv8qi, sdot_prodv4hi): New.
|
5535 |
|
|
(reduc_splus_v2sf): Rename from reduc_plus_v2sf.
|
5536 |
|
|
|
5537 |
|
|
2005-09-19 Richard Henderson
|
5538 |
|
|
|
5539 |
|
|
PR 23941
|
5540 |
|
|
* real.c (exact_real_truncate): Return false if the format cannot
|
5541 |
|
|
represent the number as a normal.
|
5542 |
|
|
|
5543 |
|
|
* config/alpha/alpha.c (alpha_rtx_costs) : Cost 0
|
5544 |
|
|
for a memory source.
|
5545 |
|
|
|
5546 |
|
|
2005-09-19 Dorit Nuzman
|
5547 |
|
|
|
5548 |
|
|
* tree-ssa-operands.c (swap_tree_operands): Export.
|
5549 |
|
|
* tree.h (swap_tree_operands): Declare.
|
5550 |
|
|
* tree-vectorizer.c (vect_is_simple_reduction): Remove ATTRIBUTE_UNUSED.
|
5551 |
|
|
Call swap_tree_operands.
|
5552 |
|
|
|
5553 |
|
|
2005-09-19 Richard Henderson
|
5554 |
|
|
|
5555 |
|
|
* tree-flow.h (merge_alias_info): Declare.
|
5556 |
|
|
* tree-ssa-copy.c (merge_alias_info): Export.
|
5557 |
|
|
* tree-vect-transform.c (vect_create_index_for_vector_ref): Remove.
|
5558 |
|
|
(vect_create_data_ref_ptr): Use create_iv directly.
|
5559 |
|
|
(vectorizable_load): Use correct types for integer constants.
|
5560 |
|
|
(vect_generate_tmps_on_preheader): Likewise.
|
5561 |
|
|
(vect_gen_niters_for_prolog_loop): Likewise.
|
5562 |
|
|
|
5563 |
|
|
2005-09-19 Steven Bosscher
|
5564 |
|
|
|
5565 |
|
|
PR rtl-optimization/23943
|
5566 |
|
|
* cse.c (find_best_addr): Never propagate an EXPR_LIST rtx.
|
5567 |
|
|
|
5568 |
|
|
2005-09-18 Jan Hubicka
|
5569 |
|
|
|
5570 |
|
|
* calls.c (flags_from_decl_or_type): Do not set ECF_LIBCALL_BLOCK.
|
5571 |
|
|
|
5572 |
|
|
2005-09-18 Eric Botcazou
|
5573 |
|
|
|
5574 |
|
|
* varasm.c (output_constant): Do not abort on conversions to union
|
5575 |
|
|
types between different sizes.
|
5576 |
|
|
|
5577 |
|
|
2005-09-18 Richard Guenther
|
5578 |
|
|
|
5579 |
|
|
PR middle-end/23944
|
5580 |
|
|
* gimplify.c (fold_indirect_ref_rhs): Fix thinko in
|
5581 |
|
|
fallback.
|
5582 |
|
|
|
5583 |
|
|
2005-09-18 Paul Brook
|
5584 |
|
|
|
5585 |
|
|
* config/m68k/fpgnuib.c (__floatsidf): Don't rely on signed overflow.
|
5586 |
|
|
|
5587 |
|
|
2005-09-17 Richard Henderson
|
5588 |
|
|
|
5589 |
|
|
* tree-pass.h, tree-flow.h, tree-ssa-dce.c: Revert last change.
|
5590 |
|
|
* tree-ssa-loop.c (pass_vect_dce): Remove.
|
5591 |
|
|
* passes.c (init_optimization_passes): Add pass_dce as a sub-pass
|
5592 |
|
|
of pass_vectorize.
|
5593 |
|
|
|
5594 |
|
|
2005-09-17 Richard Henderson
|
5595 |
|
|
|
5596 |
|
|
* tree-pass.h (pass_vect_dce): Declare.
|
5597 |
|
|
* passes.c (init_optimization_passes): Add it.
|
5598 |
|
|
* tree-flow.h (tree_ssa_dce): Declare.
|
5599 |
|
|
* tree-ssa-dce.c (tree_ssa_dce): Export.
|
5600 |
|
|
* tree-ssa-loop.c (tree_vectorize): Move current_loops check ...
|
5601 |
|
|
(gate_tree_vectorize): ... here.
|
5602 |
|
|
(pass_vect_dce): New.
|
5603 |
|
|
|
5604 |
|
|
2005-09-17 Jan Hubicka
|
5605 |
|
|
|
5606 |
|
|
* except.c (struct eh_status): Turn region_array into vec.
|
5607 |
|
|
(expand_resx_expr, collect_eh_region_array, remove_unreachable_regions,
|
5608 |
|
|
convert_from_eh_region_ranges, find_exception_handler_labels,
|
5609 |
|
|
current_function_has_exception_handlers, assign_filter_values,
|
5610 |
|
|
build_post_landing_pads, dw2_build_landing_pads,
|
5611 |
|
|
sjlj_find_directly_reachable_regions, sjlj_mark_call_sites,
|
5612 |
|
|
sjlj_emit_dispatch_table, remove_eh_handler, for_each_eh_region,
|
5613 |
|
|
foreach_reachable_handler, can_throw_internal_1,
|
5614 |
|
|
convert_to_eh_region_ranges, verify_eh_tree): Update uses of
|
5615 |
|
|
region_array.
|
5616 |
|
|
(duplicate_eh_region_1): Update region_array.
|
5617 |
|
|
(duplicate_eh_regions): Resize region_array and avoid recomputing.
|
5618 |
|
|
|
5619 |
|
|
2005-09-17 David Edelsohn
|
5620 |
|
|
|
5621 |
|
|
PR middle-end/22067
|
5622 |
|
|
* expmed.c (expand_mult): Substitute simple register for op0 when
|
5623 |
|
|
computing max_cost.
|
5624 |
|
|
|
5625 |
|
|
2005-09-17 Richard Henderson
|
5626 |
|
|
|
5627 |
|
|
* expr.c (emit_move_via_integer): Add force argument, pass it on
|
5628 |
|
|
to emit_move_change_mode. Update callers.
|
5629 |
|
|
(emit_move_complex): Pass true to new force argument.
|
5630 |
|
|
* function.c (expand_function_end): Move expand_eh_return call
|
5631 |
|
|
earlier. Merge sub-word complex values into a pseudo before
|
5632 |
|
|
copying to the return hard register.
|
5633 |
|
|
|
5634 |
|
|
2005-09-17 Eric Botcazou
|
5635 |
|
|
|
5636 |
|
|
* varasm.c (output_constant): Do not abort on VIEW_CONVERT_EXPRs
|
5637 |
|
|
between different sizes.
|
5638 |
|
|
|
5639 |
|
|
2005-09-16 Paolo Bonzini
|
5640 |
|
|
|
5641 |
|
|
PR 23903
|
5642 |
|
|
|
5643 |
|
|
* passes.c (init_optimization_passes): Register dump files for
|
5644 |
|
|
IPA passes first.
|
5645 |
|
|
|
5646 |
|
|
2005-09-16 Andreas Krebbel
|
5647 |
|
|
|
5648 |
|
|
* config/s390/s390-protos.h (s390_overlap_p): Prototype added.
|
5649 |
|
|
* config/s390/s390.c (s390_overlap_p): New function.
|
5650 |
|
|
* config/s390/s390.md ("*mvc" peephole2, "*nc" peephole2, "*oc"
|
5651 |
|
|
peephole2, "*xc" peephole2): Added overlap check to the peephole2
|
5652 |
|
|
condition.
|
5653 |
|
|
|
5654 |
|
|
2005-09-16 Richard Guenther
|
5655 |
|
|
|
5656 |
|
|
* ipa-pure-const.c (static_execute): Free auxiliar information.
|
5657 |
|
|
* ipa-type-escape.c (discover_unique_type): Free temporary key.
|
5658 |
|
|
* tree-vrp.c (remove_range_assertions): Free blocks_visited sbitmap.
|
5659 |
|
|
|
5660 |
|
|
2005-09-15 DJ Delorie
|
5661 |
|
|
|
5662 |
|
|
* config/m32c/m32c-lib1.S (__m32c_eh_return): Fix typo.
|
5663 |
|
|
|
5664 |
|
|
2005-09-15 Paolo Bonzini
|
5665 |
|
|
|
5666 |
|
|
* optabs.c (expand_binop): Use swap_commutative_operands_with_target
|
5667 |
|
|
to order operands.
|
5668 |
|
|
(swap_commutative_operands_with_target): New.
|
5669 |
|
|
|
5670 |
|
|
2005-09-15 Daniel Berlin
|
5671 |
|
|
|
5672 |
|
|
* tree-data-ref.c (analyze_array_indexes): Add estimate_only
|
5673 |
|
|
parameter.
|
5674 |
|
|
Update callers.
|
5675 |
|
|
(estimate_iters_using_array): New function.
|
5676 |
|
|
* tree-data-ref.h (estimate_iters_using_array): Prototype
|
5677 |
|
|
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined):
|
5678 |
|
|
Use estimate_iters_using_array instead of analyze_array.
|
5679 |
|
|
|
5680 |
|
|
2005-09-15 Eric Botcazou
|
5681 |
|
|
|
5682 |
|
|
* tree-nested.c (get_frame_type): Mark the "non-local frame structure"
|
5683 |
|
|
as addressable.
|
5684 |
|
|
|
5685 |
|
|
2005-09-15 Michael Matz
|
5686 |
|
|
|
5687 |
|
|
* tree-vrp.c (vrp_int_const_binop ): Handle 0 - -INF.
|
5688 |
|
|
|
5689 |
|
|
2005-09-14 Daniel Berlin
|
5690 |
|
|
|
5691 |
|
|
PR tree-optimization/23835
|
5692 |
|
|
* tree-ssa-alias.c (sort_pointers_by_pt_vars): New function.
|
5693 |
|
|
(create_name_tags): Rewrite to be not O(num_ssa_names^2).
|
5694 |
|
|
|
5695 |
|
|
2005-09-14 Richard Henderson
|
5696 |
|
|
|
5697 |
|
|
* config/ia64/vect.md (addv2sf3, subv2sf3): Rewrite as expand.
|
5698 |
|
|
(addv2sf3_1, addv2sf3_2, subv2sf3_1, subv2sf3_2): New.
|
5699 |
|
|
|
5700 |
|
|
2005-09-14 Andrew Pinski
|
5701 |
|
|
|
5702 |
|
|
* config/i386/i386.c (contains_128bit_aligned_vector_p): Add break
|
5703 |
|
|
in the ARRAY_TYPE case.
|
5704 |
|
|
|
5705 |
|
|
2005-09-14 Eric Botcazou
|
5706 |
|
|
|
5707 |
|
|
* tree.c (substitute_in_expr, case 4): New case, for ARRAY_REF.
|
5708 |
|
|
|
5709 |
|
|
2005-09-14 Uros Bizjak
|
5710 |
|
|
|
5711 |
|
|
PR middle-end/22480
|
5712 |
|
|
* tree-vect-transform.c (vectorizable_operation): Return false for
|
5713 |
|
|
scalar shift operations and for vector shift operations with
|
5714 |
|
|
non-invariant shift arguments. Use scalar tree operand op1 as
|
5715 |
|
|
a shift operand when vector shift insn pattern uses scalar shift
|
5716 |
|
|
operand.
|
5717 |
|
|
* Makefile.in (tree-vect-transform.o): Depend on recog.h.
|
5718 |
|
|
|
5719 |
|
|
2005-09-14 Olivier Hainque
|
5720 |
|
|
|
5721 |
|
|
* gimplify.c (gimplify_init_ctor_eval): Don't discard a zero-sized
|
5722 |
|
|
value if it has side-effects.
|
5723 |
|
|
|
5724 |
|
|
2005-09-14 David Edelsohn
|
5725 |
|
|
|
5726 |
|
|
PR target/22068
|
5727 |
|
|
* config/rs6000/rs6000.md (muldi3): Add mulli alternative.
|
5728 |
|
|
|
5729 |
|
|
2005-09-14 Alan Modra
|
5730 |
|
|
|
5731 |
|
|
* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Treat function name
|
5732 |
|
|
passed as NAME as if it were label at start of function code.
|
5733 |
|
|
|
5734 |
|
|
2005-09-13 Kaz Kojima
|
5735 |
|
|
|
5736 |
|
|
* config/sh/sh.md (*movv4sf_i): Add general register cases to
|
5737 |
|
|
the constraints.
|
5738 |
|
|
|
5739 |
|
|
2005-09-13 Andrew Pinski
|
5740 |
|
|
|
5741 |
|
|
* config/rs6000/darwin.md (movdf_low_si): Mark the outgoing r constraint
|
5742 |
|
|
as early clobber. Rewrite so the PIC register is not implicitly used.
|
5743 |
|
|
|
5744 |
|
|
2005-09-13 Volker Reichelt
|
5745 |
|
|
|
5746 |
|
|
* tree.c (annotate_with_file_line): Compare line numbers before
|
5747 |
|
|
file names.
|
5748 |
|
|
|
5749 |
|
|
2005-09-13 Uros Bizjak
|
5750 |
|
|
|
5751 |
|
|
PR target/23816
|
5752 |
|
|
* config/i386/sse.md (*ieee_sminv4sf3, *ieee_smaxv4sf3)
|
5753 |
|
|
(*ieee_sminv2df3, *ieee_smaxv2df3): New insn patterns.
|
5754 |
|
|
|
5755 |
|
|
2005-09-13 Ian Lance Taylor
|
5756 |
|
|
|
5757 |
|
|
* loop-doloop.c (doloop_modify): Use GEN_INT to pass an rtx rather
|
5758 |
|
|
than a HOST_WIDEST_INT to gen_doloop_begin.
|
5759 |
|
|
|
5760 |
|
|
2005-09-13 Diego Novillo
|
5761 |
|
|
|
5762 |
|
|
* tree-dfa.c (dump_variable): Guard against NULL annotations.
|
5763 |
|
|
|
5764 |
|
|
2005-09-13 Zdenek Dvorak
|
5765 |
|
|
|
5766 |
|
|
PR tree-optimize/23817
|
5767 |
|
|
* tree-cfg.c (tree_merge_blocks): Preserve loop closed ssa.
|
5768 |
|
|
|
5769 |
|
|
2005-09-13 Alan Modra
|
5770 |
|
|
|
5771 |
|
|
PR target/23774
|
5772 |
|
|
* config/rs6000/rs6000.md (restore_stack_block): Write the backchain
|
5773 |
|
|
word before changing the stack pointer. Use gen_frame_mem for MEMs.
|
5774 |
|
|
Use UNSPEC_TIE to prevent insn scheduling reordering the insns.
|
5775 |
|
|
(restore_stack_nonlocal): Likewise.
|
5776 |
|
|
(save_stack_nonlocal): Use template to emit insns, and gen_frame_mem.
|
5777 |
|
|
|
5778 |
|
|
2005-09-12 Ian Lance Taylor
|
5779 |
|
|
|
5780 |
|
|
PR g++/7874
|
5781 |
|
|
* c.opt (ffriend-injection): New C++ option.
|
5782 |
|
|
* doc/invoke.texi (Option Summary): Mention -ffriend-injection.
|
5783 |
|
|
(C++ Dialect Options): Document -ffriend-injection.
|
5784 |
|
|
|
5785 |
|
|
2005-09-12 Josh Conner
|
5786 |
|
|
|
5787 |
|
|
PR middle-end/23237
|
5788 |
|
|
* ipa-reference.c (static_execute): Don't mark variables in
|
5789 |
|
|
named sections TREE_READONLY.
|
5790 |
|
|
|
5791 |
|
|
2005-09-12 Alan Modra
|
5792 |
|
|
|
5793 |
|
|
* config/rs6000/rs6000.c (get_next_active_insn): Simplify test for
|
5794 |
|
|
stack_tie.
|
5795 |
|
|
|
5796 |
|
|
2005-09-12 Andrew Pinski
|
5797 |
|
|
|
5798 |
|
|
* tree-ssa-dse.c (dse_optimize_stmt): Fix up all of V_MAY_DEF and
|
5799 |
|
|
V_MUST_DEF instead of just the first_use_p.
|
5800 |
|
|
Don't mark the virtual variables for renaming on the statement which
|
5801 |
|
|
is being removed.
|
5802 |
|
|
(pass_dse): Remove TODO_update_ssa.
|
5803 |
|
|
|
5804 |
|
|
2005-09-12 J"orn Rennecke
|
5805 |
|
|
|
5806 |
|
|
PR middle-end/23290
|
5807 |
|
|
* stor-layout.c (compute_record_mode): For records with a single
|
5808 |
|
|
field, actually check the field's mode size against the type size.
|
5809 |
|
|
|
5810 |
|
|
* sh.h (HARD_REGNO_MODE_OK): Allow V4SFmode in general purpose
|
5811 |
|
|
registers for TARGET_SHMEDIA.
|
5812 |
|
|
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Rename
|
5813 |
|
|
GENERAL_FP_REGS to GENERAL_DF_REGS. Add GENERAL_FP_REGS as union
|
5814 |
|
|
of GENERAL_REGS and FP_REGS.
|
5815 |
|
|
|
5816 |
|
|
2005-09-12 Bernd Schmidt
|
5817 |
|
|
|
5818 |
|
|
* config/bfin/bfin.c (legimitize_pic_address): Use gen_const_mem.
|
5819 |
|
|
|
5820 |
|
|
2005-09-12 Alan Modra
|
5821 |
|
|
|
5822 |
|
|
* config/rs6000/rs6000.c (get_next_active_insn): Rewrite using
|
5823 |
|
|
CALL_P, JUMP_P and NONJUMP_INSN_P, so that barriers and labels
|
5824 |
|
|
are omitted. Exclude stack_tie insn too.
|
5825 |
|
|
|
5826 |
|
|
2005-09-11 David Edelsohn
|
5827 |
|
|
|
5828 |
|
|
PR rtl-optimization/23098
|
5829 |
|
|
* config/rs6000/predicates.md (easy_fp_constant): SFmode constant
|
5830 |
|
|
0.0f is easy.
|
5831 |
|
|
* config/rs6000/rs6000.md (movdf splitter): Use
|
5832 |
|
|
const_double_operand predicate for TARGET_POWERPC64.
|
5833 |
|
|
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Expand
|
5834 |
|
|
SYMBOL_REF method to ABI_V4.
|
5835 |
|
|
|
5836 |
|
|
* config/rs6000/altivec.md (build_vector_mask_for_load): Use
|
5837 |
|
|
replace_equiv_address.
|
5838 |
|
|
* config/rs6000/rs6000.c (rs6000_emit_eh_reg_restore): Mark MEM as
|
5839 |
|
|
rs6000_sr_alias_set and MEM_NOTRAP.
|
5840 |
|
|
(rs6000_aix_emit_builtin_unwind_init): Use gen_frame_mem().
|
5841 |
|
|
|
5842 |
|
|
2005-09-11 Eric Botcazou
|
5843 |
|
|
|
5844 |
|
|
* tree.c (contains_placeholder_p) : Properly
|
5845 |
|
|
handle CALL_EXPR again.
|
5846 |
|
|
|
5847 |
|
|
2005-09-11 Richard Earnshaw
|
5848 |
|
|
|
5849 |
|
|
* arm/predicates.md (alignable_memory_operand): Delete.
|
5850 |
|
|
|
5851 |
|
|
2005-09-10 Richard Henderson
|
5852 |
|
|
|
5853 |
|
|
PR debug/23806
|
5854 |
|
|
* dbxout.c (dbxout_expand_expr): New.
|
5855 |
|
|
(dbxout_symbol): Use it.
|
5856 |
|
|
|
5857 |
|
|
2005-09-10 Richard Earnshaw
|
5858 |
|
|
|
5859 |
|
|
* arm.c (arm_gen_rotated_half_load): Delete.
|
5860 |
|
|
(vfp_emit_fstmx, arm_set_return_address): Use gen_frame_mem.
|
5861 |
|
|
(emit_multi_reg_push, emit_sfm, arm_expand_prologue)
|
5862 |
|
|
(thumb_set_return_address): Likewise.
|
5863 |
|
|
(thumb_load_double_from_address): Use adjust_address.
|
5864 |
|
|
* arm.md (splits calling arm_gen_rotated_half_load): Delete.
|
5865 |
|
|
(extendhsisi2_mem, movhi_bytes): Use change_address.
|
5866 |
|
|
(movhi): Use widen_memory_access.
|
5867 |
|
|
(reload_out_df): Use replace_equiv_address.
|
5868 |
|
|
* arm-protos.h (arm_gen_rotated_half_load): Delete prototype.
|
5869 |
|
|
|
5870 |
|
|
2005-09-09 Richard Henderson
|
5871 |
|
|
|
5872 |
|
|
PR debug/20998
|
5873 |
|
|
* dbxout.c: Include expr.h.
|
5874 |
|
|
(dbxout_global_decl): Don't suppress for DECL_RTL unset.
|
5875 |
|
|
(dbxout_symbol): Handle DECL_VALUE_EXPR.
|
5876 |
|
|
* Makefile.in (dbxout.o): Add EXPR_H.
|
5877 |
|
|
|
5878 |
|
|
2005-09-09 Zdenek Dvorak
|
5879 |
|
|
|
5880 |
|
|
PR tree-optimization/23509
|
5881 |
|
|
* tree-cfg.c (replace_uses_by): Use replace_exp.
|
5882 |
|
|
* tree-ssa-loop-ivopts.c (get_ref_tag): Assert that dereferenced
|
5883 |
|
|
pointers have name_mem_tag or type_mem_tag set.
|
5884 |
|
|
|
5885 |
|
|
2005-09-09 Sebastian Pop
|
5886 |
|
|
|
5887 |
|
|
* tree-chrec.c (evolution_function_is_invariant_rec_p): Use
|
5888 |
|
|
CHREC_LEFT and CHREC_RIGHT for accessing chrec components instead
|
5889 |
|
|
of wrongly accessing operands.
|
5890 |
|
|
|
5891 |
|
|
2005-09-09 Sebastian Pop
|
5892 |
|
|
|
5893 |
|
|
* Makefile.in (tree-chrec.o): Depends on SCEV_H.
|
5894 |
|
|
* tree-chrec.c: Include tree-scalar-evolution.h.
|
5895 |
|
|
(chrec_convert): Instantiate the base and step before calling
|
5896 |
|
|
scev_probably_wraps_p that would fail on parametric evolutions.
|
5897 |
|
|
Collect all the fails into a single section failed_to_convert,
|
5898 |
|
|
print a diagnostic, and return chrec_dont_know instead of calling
|
5899 |
|
|
fold_convert.
|
5900 |
|
|
* tree-scalar-evolution.c (loop_closed_phi_def): New.
|
5901 |
|
|
(instantiate_parameters_1): Avoid instantiation of loop closed ssa
|
5902 |
|
|
phi nodes.
|
5903 |
|
|
(scev_const_prop): Don't replace the definition of a loop closed ssa
|
5904 |
|
|
phi node by itself, or by another loop closed ssa phi node.
|
5905 |
|
|
* tree-ssa-loop-niter.c (scev_probably_wraps_p, convert_step): Check
|
5906 |
|
|
that base and step are defined.
|
5907 |
|
|
|
5908 |
|
|
2005-09-09 Richard Guenther
|
5909 |
|
|
|
5910 |
|
|
PR c++/23624
|
5911 |
|
|
* fold-const.c (fold_ternary): Check truth_value_p before
|
5912 |
|
|
calling invert_truthvalue.
|
5913 |
|
|
|
5914 |
|
|
2005-09-09 Nick Clifton
|
5915 |
|
|
|
5916 |
|
|
* Makefile.in (LIBGCC_DEPS): Add libgcc2.h.
|
5917 |
|
|
* libgcc2.c (__clz_tab[], __popcount_tab[]): Set the fixed
|
5918 |
|
|
dimension of these arrays.
|
5919 |
|
|
* libgcc2.h (__clz_tab[], __popcount_tab[]): Add exports of
|
5920 |
|
|
these arrays.
|
5921 |
|
|
* longlong.h: Only provide a prototype for the __clz_tab[] array
|
5922 |
|
|
if this header has not been included from libgcc2.h.
|
5923 |
|
|
* config/stormy16/stormy16-lib2.c: Include libgcc2.h rather than
|
5924 |
|
|
defining own types.
|
5925 |
|
|
Provide prototypes for exported functions.
|
5926 |
|
|
Use the __clz_tab[] and __popcount_tab[] arrays provided by
|
5927 |
|
|
libgcc2.c.
|
5928 |
|
|
|
5929 |
|
|
2005-09-08 Josh Conner
|
5930 |
|
|
|
5931 |
|
|
PR c++/21135
|
5932 |
|
|
PR c++/23180
|
5933 |
|
|
* expr.c (expand_expr_addr_expr_1): Don't invoke
|
5934 |
|
|
expand_simple_binop for EXPAND_INITIALIZER.
|
5935 |
|
|
|
5936 |
|
|
2005-09-08 Richard Henderson
|
5937 |
|
|
|
5938 |
|
|
PR debug/23190
|
5939 |
|
|
* toplev.c (wrapup_global_declaration_1): Split out ...
|
5940 |
|
|
(wrapup_global_declaration_2): ... from ...
|
5941 |
|
|
(wrapup_global_declarations): ... here. Return bool.
|
5942 |
|
|
(check_global_declaration_1): Split out ...
|
5943 |
|
|
(check_global_declarations): from here.
|
5944 |
|
|
(emit_debug_global_declarations): New.
|
5945 |
|
|
* toplev.h (wrapup_global_declaration_1, wrapup_global_declaration_2,
|
5946 |
|
|
check_global_declaration_1, emit_debug_global_declarations): Declare.
|
5947 |
|
|
* c-decl.c (c_write_global_declarations_1): Don't create a vector
|
5948 |
|
|
of decls. Call wrapup_global_declaration_1,
|
5949 |
|
|
wrapup_global_declaration_2, check_global_declaration_1 directly.
|
5950 |
|
|
(c_write_global_declarations_2): New.
|
5951 |
|
|
(ext_block): New.
|
5952 |
|
|
(c_write_global_declarations): Call c_write_global_declarations_2.
|
5953 |
|
|
* langhooks.c (write_global_declarations): Call
|
5954 |
|
|
emit_debug_global_declarations.
|
5955 |
|
|
|
5956 |
|
|
* cgraphunit.c (cgraph_varpool_remove_unreferenced_decls): Don't
|
5957 |
|
|
remove decls that have DECL_RTL_SET_P.
|
5958 |
|
|
* passes.c (rest_of_decl_compilation): Invoke
|
5959 |
|
|
cgraph_varpool_finalize_decl for all but functions.
|
5960 |
|
|
|
5961 |
|
|
2005-09-08 Eric Botcazou
|
5962 |
|
|
|
5963 |
|
|
* tree-vrp.c (extract_range_from_unary_expr): Do not set the range for
|
5964 |
|
|
the result of a conversion if the new min and max cannot be compared.
|
5965 |
|
|
|
5966 |
|
|
2005-09-08 Andreas Krebbel
|
5967 |
|
|
|
5968 |
|
|
* config/s390/s390.c (s390_sr_alias_set): Variable removed.
|
5969 |
|
|
(override_options): Setting s390_sr_alias_set removed.
|
5970 |
|
|
(save_fpr, save_gprs): Set alias set to vararg or frame.
|
5971 |
|
|
(restore_fpr, restore_gprs, s390_emit_prologue): Replace
|
5972 |
|
|
s390_sr_alias_set with get_frame_alias_set ().
|
5973 |
|
|
(s390_gimplify_va_arg): Replace s390_sr_alias_set with
|
5974 |
|
|
get_varargs_alias_set ().
|
5975 |
|
|
|
5976 |
|
|
2005-09-08 Andrew Pinski
|
5977 |
|
|
|
5978 |
|
|
PR objc/20574
|
5979 |
|
|
PR objc/19324
|
5980 |
|
|
* c-parser.c (c_parser_objc_method_definition): If the next
|
5981 |
|
|
token is not "{", error out and don't start the function.
|
5982 |
|
|
|
5983 |
|
|
2005-09-08 Andrew Pinski
|
5984 |
|
|
|
5985 |
|
|
* tree-vrp.c (extract_range_from_expr): Move the check for non
|
5986 |
|
|
nullness after the check for gimple invariant.
|
5987 |
|
|
|
5988 |
|
|
2005-09-08 Richard Kenner
|
5989 |
|
|
|
5990 |
|
|
* tree.c (host_integerp, tree_low_cst): Correct function comment.
|
5991 |
|
|
|
5992 |
|
|
2005-09-08 Kazuhiro Inaoka
|
5993 |
|
|
|
5994 |
|
|
PR target/23747
|
5995 |
|
|
* config/m32r.md (movmemsi_internal): Canonicalize order of
|
5996 |
|
|
operands in PLUS component of template.
|
5997 |
|
|
|
5998 |
|
|
2005-09-07 Andreas Krebbel
|
5999 |
|
|
|
6000 |
|
|
* reload1.c (fixup_eh_region_note): Remove assertion.
|
6001 |
|
|
(fixup_abnormal_edges): Reverted removal of call to
|
6002 |
|
|
find_many_sub_basic_blocks made on 2005-08-31.
|
6003 |
|
|
|
6004 |
|
|
2005-09-07 Richard Henderson
|
6005 |
|
|
|
6006 |
|
|
* function.c (ARG_POINTER_CFA_OFFSET): Move ...
|
6007 |
|
|
* defaults.h (ARG_POINTER_CFA_OFFSET): ... here.
|
6008 |
|
|
(INCOMING_FRAME_SP_OFFSET): Move from dwarf2out.c.
|
6009 |
|
|
* dwarf2out.c (struct cfa_loc): Change reg to unsigned int,
|
6010 |
|
|
rearrange for better packing.
|
6011 |
|
|
(INCOMING_FRAME_SP_OFFSET): Move to defaults.h.
|
6012 |
|
|
(lookup_cfa_1): Remove inline marker.
|
6013 |
|
|
(cfa_equal_p): Split out of ...
|
6014 |
|
|
(def_cfa_1): ... here. Use INVALID_REGNUM.
|
6015 |
|
|
(build_cfa_loc): Handle !cfa->indirect.
|
6016 |
|
|
(frame_pointer_cfa_offset): New.
|
6017 |
|
|
(dbx_reg_number): Assert register elimination performed; do
|
6018 |
|
|
leaf register remapping.
|
6019 |
|
|
(reg_loc_descriptor): Avoid calling dbx_reg_number when unused.
|
6020 |
|
|
(eliminate_reg_to_offset): New.
|
6021 |
|
|
(based_loc_descr): Remove can_use_fbreg argument. Use fbreg only
|
6022 |
|
|
for verifiably local stack frame addresses; re-base to CFA.
|
6023 |
|
|
(mem_loc_descriptor): Remove can_use_fbreg argument.
|
6024 |
|
|
(concat_loc_descriptor, loc_descriptor): Likewise.
|
6025 |
|
|
(containing_function_has_frame_base): Remove.
|
6026 |
|
|
(rtl_for_decl_location): Don't do register elimination or
|
6027 |
|
|
leaf register remapping here.
|
6028 |
|
|
(secname_for_decl): Split out from ..
|
6029 |
|
|
(add_location_or_const_value_attribute): ... here.
|
6030 |
|
|
(convert_cfa_to_loc_list): New.
|
6031 |
|
|
(compute_frame_pointer_to_cfa_displacement): New.
|
6032 |
|
|
(gen_subprogram_die): Use them.
|
6033 |
|
|
* tree.h (frame_base_decl): Remove.
|
6034 |
|
|
* var-tracking.c (frame_base_decl, frame_stack_adjust): Remove.
|
6035 |
|
|
(prologue_stack_adjust): Remove.
|
6036 |
|
|
(vt_stack_adjustments): Use INCOMING_FRAME_SP_OFFSET.
|
6037 |
|
|
(adjust_stack_reference): Re-base memories to arg_pointer_rtx.
|
6038 |
|
|
(set_frame_base_location): Remove.
|
6039 |
|
|
(compute_bb_dataflow, emit_notes_in_bb): Don't call it.
|
6040 |
|
|
(dump_attrs_list, dump_dataflow_set): Use string concatenation.
|
6041 |
|
|
(vt_add_function_parameters): Don't eliminate_regs.
|
6042 |
|
|
(vt_initialize): Don't create frame_base_decl.
|
6043 |
|
|
|
6044 |
|
|
2005-09-07 Eric Botcazou
|
6045 |
|
|
|
6046 |
|
|
* doc/install.texi (*-*-solaris2*): Clarify wording on the recommended
|
6047 |
|
|
version of GNU binutils for 4.x and later.
|
6048 |
|
|
|
6049 |
|
|
2005-09-06 Mark Mitchell
|
6050 |
|
|
|
6051 |
|
|
* ggc-page.c (ggc_push_context): Remove.
|
6052 |
|
|
(ggc_pop_context): Likewise.
|
6053 |
|
|
* ggc.h (ggc_push_context): Remove.
|
6054 |
|
|
(ggc_pop_context): Likewise.
|
6055 |
|
|
|
6056 |
|
|
2005-09-06 Saurabh Verma
|
6057 |
|
|
|
6058 |
|
|
PR target/8973
|
6059 |
|
|
* config/arc/arc.c (arc_output_function_epilogue): Update flags while
|
6060 |
|
|
returning from an interrupt handler.
|
6061 |
|
|
|
6062 |
|
|
2005-09-06 Saurabh Verma
|
6063 |
|
|
|
6064 |
|
|
PR target/8972
|
6065 |
|
|
* config/arc/arc.c (output_shift): Add check for loop count when
|
6066 |
|
|
optimizing.
|
6067 |
|
|
|
6068 |
|
|
2005-09-06 Steven Bosscher
|
6069 |
|
|
|
6070 |
|
|
* tree-ssa-phiopt.c (conditional_replacement): Construct proper SSA
|
6071 |
|
|
form manually.
|
6072 |
|
|
(abs_replacement): Likewise.
|
6073 |
|
|
(pass_phiopt): Remove TODO_update_ssa.
|
6074 |
|
|
|
6075 |
|
|
2005-09-06 Jakub Jelinek
|
6076 |
|
|
|
6077 |
|
|
PR c/23075
|
6078 |
|
|
* c-typeck.c (c_finish_return): Set TREE_NO_WARNING on RETURN_EXPR
|
6079 |
|
|
if "return with no value, in function returning non-void" warning
|
6080 |
|
|
has been issued.
|
6081 |
|
|
* tree-cfg.c (execute_warn_function_return): Don't look at
|
6082 |
|
|
RETURN_EXPRs with TREE_NO_WARNING set.
|
6083 |
|
|
|
6084 |
|
|
PR target/22362
|
6085 |
|
|
* config/i386/i386.c (ix86_function_regparm): Make sure automatic regparm
|
6086 |
|
|
for internal functions doesn't use registers used by global registers
|
6087 |
|
|
variables. Use fewer register parameters if there are global register
|
6088 |
|
|
variables.
|
6089 |
|
|
|
6090 |
|
|
2005-09-06 Olivier Hainque
|
6091 |
|
|
Eric Botcazou
|
6092 |
|
|
|
6093 |
|
|
PR middle-end/14997
|
6094 |
|
|
* expr.c (expand_expr_real) : Force op0 to mem
|
6095 |
|
|
when we would be extracting outside its bit span (bitpos+bitsize
|
6096 |
|
|
larger than its mode), possible with some VIEW_CONVERT_EXPRs from
|
6097 |
|
|
Ada unchecked conversions.
|
6098 |
|
|
|
6099 |
|
|
2005-09-06 Steven Bosscher
|
6100 |
|
|
|
6101 |
|
|
* tree-ssa-pre.c (try_look_through_load): New function.
|
6102 |
|
|
(compute_avail): Use it to try to look through loads for some
|
6103 |
|
|
more useful expressions.
|
6104 |
|
|
|
6105 |
|
|
2005-09-06 Saurabh Verma
|
6106 |
|
|
|
6107 |
|
|
* simplify-rtx.c (simplify_binary_operation_1): Correct the
|
6108 |
|
|
condition for detecting cases like (a&a) and (a^a).
|
6109 |
|
|
|
6110 |
|
|
2005-09-06 Keith Besaw
|
6111 |
|
|
|
6112 |
|
|
* common.opt: Add option ftree-vect-loop-version.
|
6113 |
|
|
* params.def: Add --param vect-max-version-checks.
|
6114 |
|
|
* doc/invoke.texi: Document ftree-vect-loop-version and
|
6115 |
|
|
--param vect-max-version-checks.
|
6116 |
|
|
* tree-vectorizer.h (_loop_vec_info): Add ptr_mask and
|
6117 |
|
|
may_misalign_stmts and defines for accessors.
|
6118 |
|
|
* tree-vectorizer.c : (new_loop_vec_info): VEC_alloc for
|
6119 |
|
|
LOOP_VINFO_MAY_MISALIGN_STMTS.
|
6120 |
|
|
(destroy_loop_vec_info): VEC_free for
|
6121 |
|
|
LOOP_VINFO_MAY_MISALIGN_STMTS.
|
6122 |
|
|
* tree-vect-analyze.c (vect_compute_data_ref_alignment):
|
6123 |
|
|
Update documentation.
|
6124 |
|
|
(vect_update_misalignment_for_peel): New.
|
6125 |
|
|
(vect_enhance_data_refs_alignment): Update to choose loop
|
6126 |
|
|
peeling or loop versioning if appropriate for the (potentially)
|
6127 |
|
|
unaligned data references in the loop.
|
6128 |
|
|
(vect_analyze_data_refs_alignment): Remove call to
|
6129 |
|
|
vect_enhance_data_refs_alignment so the checks can be done
|
6130 |
|
|
earlier.
|
6131 |
|
|
(vect_analyze_loop): Add call to vect_enhance_data_refs_alignment
|
6132 |
|
|
and move up call to vect_analyze_data_refs_alignment.
|
6133 |
|
|
* tree-vect-transform.c (vect_create_cond_for_align_checks): New.
|
6134 |
|
|
(vect_transform_loop): Add call to loop_version.
|
6135 |
|
|
|
6136 |
|
|
2005-09-06 Jakub Jelinek
|
6137 |
|
|
|
6138 |
|
|
PR rtl-optimization/23098
|
6139 |
|
|
* cse.c (fold_rtx_mem): Call delegitimize_address target hook.
|
6140 |
|
|
* simplify-rtx.c (constant_pool_reference_p): New function.
|
6141 |
|
|
* rtl.h (constant_pool_reference_p): New prototype.
|
6142 |
|
|
* config/i386/i386.md (pushf split, mov[sdx]f split): Use
|
6143 |
|
|
constant_pool_reference_p in condition and
|
6144 |
|
|
avoid_constant_pool_reference in preparation statements.
|
6145 |
|
|
|
6146 |
|
|
2005-09-06 Andreas Krebbel
|
6147 |
|
|
|
6148 |
|
|
* gcse.c (try_replace_reg): Disallow REG_EQUAL notes for
|
6149 |
|
|
STRICT_LOW_PART SETs.
|
6150 |
|
|
|
6151 |
|
|
2005-09-06 Alan Modra
|
6152 |
|
|
|
6153 |
|
|
PR middle-end/21460
|
6154 |
|
|
* except.c (sjlj_emit_function_enter): Find the function begin
|
6155 |
|
|
note even when it's not in first basic block.
|
6156 |
|
|
|
6157 |
|
|
2005-09-06 Kelley Cook
|
6158 |
|
|
|
6159 |
|
|
* acinclude.m4: Renamed from aclocal.m4. Delete AM_LANGINFO_CODESET,
|
6160 |
|
|
AM_PROG_CC_C_O, and AM_AUX_DIR_EXPAND.
|
6161 |
|
|
* aclocal.m4: Regenerate.
|
6162 |
|
|
|
6163 |
|
|
2005-09-05 DJ Delorie
|
6164 |
|
|
|
6165 |
|
|
* config/m32c/m32c.h (TRAMPOLINE_ALIGNMENT): Correct misspelling
|
6166 |
|
|
of macro.
|
6167 |
|
|
|
6168 |
|
|
2005-09-06 Kazu Hirata
|
6169 |
|
|
|
6170 |
|
|
* gimplify.c, ipa-prop.h, varasm.c, config/vxlib.c,
|
6171 |
|
|
config/vxworks.h, config/crx/crx.c, config/ms1/ms1.c,
|
6172 |
|
|
config/ms1/ms1.md, config/rs6000/rs6000.c: Fix comment typos.
|
6173 |
|
|
Follow spelling conventions.
|
6174 |
|
|
* doc/invoke.texi: Follow spelling conventions.
|
6175 |
|
|
|
6176 |
|
|
2005-09-05 J"orn Rennecke
|
6177 |
|
|
|
6178 |
|
|
* rtl.h (gen_frame_mem, gen_tmp_stack_mem): Declare.
|
6179 |
|
|
* emit-rtl.c (gen_frame_mem, gen_tmp_stack_mem): New functions.
|
6180 |
|
|
* builtins.c (expand_builtin_return_addr): Use gen_frame_mem.
|
6181 |
|
|
|
6182 |
|
|
2005-09-05 J"orn Rennecke
|
6183 |
|
|
|
6184 |
|
|
PR target/23683
|
6185 |
|
|
* sh.c (sh_reorg, emit_load_ptr): Use gen_const_mem.
|
6186 |
|
|
(output_stack_adjust): Use gen_tmp_stack_mem.
|
6187 |
|
|
(sh_expand_prologue, sh_expand_epilogue): Use gen_frame_mem.
|
6188 |
|
|
(sh_set_return_address, sh_allocate_initial_value): Likewise.
|
6189 |
|
|
(sh_get_pr_initial_val): Likewise.
|
6190 |
|
|
(sh_builtin_saveregs): Use gen_frame_mem and change_address.
|
6191 |
|
|
(sh_initialize_trampoline): Likewise. Also use adjust_address.
|
6192 |
|
|
* sh.md (divsi_inv_m0): Use gen_const_mem.
|
6193 |
|
|
(push_fpscr, pop_fpscr, load_ra): Use gen_frame_mem.
|
6194 |
|
|
(movdf_i4+1): Use gen_tmp_stack_mem.
|
6195 |
|
|
(reload_outdf+3, reload_outdf+4, fpu_switch+1): Use change_address.
|
6196 |
|
|
(fpu_switch+2): Likewise.
|
6197 |
|
|
(movv4sf_i, movv16sf_i): Use adjust_address.
|
6198 |
|
|
(symGOT_load): Set MEM_NOTRAP_P bit.
|
6199 |
|
|
|
6200 |
|
|
2005-09-04 John David Anglin
|
6201 |
|
|
|
6202 |
|
|
PR target/23721
|
6203 |
|
|
* pa.c (emit_move_sequence): Fix typo in last change.
|
6204 |
|
|
|
6205 |
|
|
2005-09-03 Jakub Jelinek
|
6206 |
|
|
|
6207 |
|
|
PR rtl-optimization/23454
|
6208 |
|
|
* reorg.c (relax_delay_slots): Only call invert_jump if any_condjump_p
|
6209 |
|
|
is true.
|
6210 |
|
|
|
6211 |
|
|
2005-09-03 Richard Henderson
|
6212 |
|
|
John David Anglin
|
6213 |
|
|
|
6214 |
|
|
PR middle-end/23671
|
6215 |
|
|
* pa.c (emit_move_sequence): Use replace_equiv_address instead of
|
6216 |
|
|
gen_rtx_MEM.
|
6217 |
|
|
|
6218 |
|
|
2005-09-02 Nicolas Pitre
|
6219 |
|
|
|
6220 |
|
|
* config/arm/arm.c (arm_legitimize_address): Limit the value passed
|
6221 |
|
|
to bit_count to 32 bits.
|
6222 |
|
|
|
6223 |
|
|
2005-08-31 Mark Mitchell
|
6224 |
|
|
|
6225 |
|
|
PR c++/23167
|
6226 |
|
|
* gimplify.c (gimplify_expr): Handle TREE_ADDRESSABLE types when
|
6227 |
|
|
generating synthetic loads from volatile lvalues.
|
6228 |
|
|
|
6229 |
|
|
005-09-02 Nick Clifton
|
6230 |
|
|
|
6231 |
|
|
* config/stormy16/stormy16-lib2.c (__popcounthi2, __parityhi2,
|
6232 |
|
|
__ctzhi2, __clzhi2): New functions.
|
6233 |
|
|
|
6234 |
|
|
2005-09-02 Andrew Pinski
|
6235 |
|
|
|
6236 |
|
|
PR middle-end/23547
|
6237 |
|
|
* tree-nested.c (struct var_map_elt): Mark with GTY.
|
6238 |
|
|
(struct nesting_info): Mark with GTY. Mark var_map's param is struct
|
6239 |
|
|
var_map_elt.
|
6240 |
|
|
(lookup_field_for_decl): Allocate new element in GC memory.
|
6241 |
|
|
(lookup_tramp_for_decl): Likewise.
|
6242 |
|
|
(convert_nl_goto_reference): Likewise
|
6243 |
|
|
(create_nesting_tree): Allocate info in GC memory. Likewise for
|
6244 |
|
|
info->var_map.
|
6245 |
|
|
(free_nesting_tree): Free with ggc_free instead of free.
|
6246 |
|
|
(root): New static variable.
|
6247 |
|
|
(lower_nested_functions): Remove root as local variable. And zero out
|
6248 |
|
|
root at the end of the function.
|
6249 |
|
|
|
6250 |
|
|
2005-09-02 J"orn Rennecke
|
6251 |
|
|
|
6252 |
|
|
PR rtl-optimization/20365
|
6253 |
|
|
* simplify-rtx.c (simplify_plus_minus_op_data): Change type of neg
|
6254 |
|
|
to short. New member ix.
|
6255 |
|
|
(simplify_plus_minus_op_data_cmp): Break ties using ix member.
|
6256 |
|
|
(simplify_plus_minus): Initialize ix members before calling qsort.
|
6257 |
|
|
|
6258 |
|
|
2005-09-02 Zdenek Dvorak
|
6259 |
|
|
|
6260 |
|
|
PR tree-optimization/23626
|
6261 |
|
|
* tree-cfg.c (replace_uses_by): Clean up eh info.
|
6262 |
|
|
|
6263 |
|
|
2005-09-01 DJ Delorie
|
6264 |
|
|
|
6265 |
|
|
* config/m32c/m32c.c (m32c_valid_pointer_mode): Remove stray debug
|
6266 |
|
|
fprintf.
|
6267 |
|
|
|
6268 |
|
|
2005-09-01 David Edelsohn
|
6269 |
|
|
|
6270 |
|
|
* config/rs6000/rs6000.c (setup_incoming_varargs): Set MEM_NOTRAP_P.
|
6271 |
|
|
(rs6000_split_multireg_move): Use replace_equiv_address instead of
|
6272 |
|
|
gen_rtx_MEM.
|
6273 |
|
|
|
6274 |
|
|
2005-09-01 Craig Rodrigues
|
6275 |
|
|
|
6276 |
|
|
* c-decl.c (diagnose_mismatched_decls): With -Wredundant-decls,
|
6277 |
|
|
do not issue warning for a variable definition following
|
6278 |
|
|
a declaration.
|
6279 |
|
|
|
6280 |
|
|
2005-09-01 Richard Henderson
|
6281 |
|
|
|
6282 |
|
|
PR 23668
|
6283 |
|
|
* config/i386/i386.c (ix86_expand_vector_init_one_var): Restore
|
6284 |
|
|
conversion to CONST_VECTOR.
|
6285 |
|
|
|
6286 |
|
|
2005-09-01 Richard Henderson
|
6287 |
|
|
|
6288 |
|
|
PR 23676
|
6289 |
|
|
* reload1.c (reload_as_needed): Check !CALL_P before calling
|
6290 |
|
|
fixup_eh_region_note.
|
6291 |
|
|
* rtlanal.c (may_trap_p): SUBREG by itself cannot trap.
|
6292 |
|
|
|
6293 |
|
|
2005-09-01 DJ Delorie
|
6294 |
|
|
|
6295 |
|
|
* varasm.c (output_constant): Let the target resolve
|
6296 |
|
|
conversions of addresses to non-default pointer sizes.
|
6297 |
|
|
|
6298 |
|
|
2005-09-01 Nicolas Pitre
|
6299 |
|
|
|
6300 |
|
|
* config/arm/arm.c (arm_legitimize_address): Split absolute addresses
|
6301 |
|
|
to alow matching ARM pre-indexed addressing mode.
|
6302 |
|
|
(arm_override_options): Remove now irrelevant comment.
|
6303 |
|
|
|
6304 |
|
|
2005-09-01 Phil Edwards
|
6305 |
|
|
|
6306 |
|
|
* config.gcc (i*86-wrs-vxworks): Update. Split out vxworksae target.
|
6307 |
|
|
* config/i386/t-vxworks: Update multilibs for VxWorks 6 and RTP mode.
|
6308 |
|
|
* config/i386/vxworks.h: Likewise.
|
6309 |
|
|
* config/i386/t-vxworksae: New file, for VxWorks AE.
|
6310 |
|
|
* config/i386/vxworksae.h: Likewise.
|
6311 |
|
|
|
6312 |
|
|
2005-09-01 Sebastian Pop
|
6313 |
|
|
|
6314 |
|
|
PR tree-optimization/23410
|
6315 |
|
|
* tree-ssa-loop-niter.c (scev_probably_wraps_p): Check that the
|
6316 |
|
|
sequence is not wrapping during the first step.
|
6317 |
|
|
|
6318 |
|
|
2005-09-01 Jakub Jelinek
|
6319 |
|
|
|
6320 |
|
|
PR debug/7241
|
6321 |
|
|
* dwarf2out.c (base_type_die): Compare char_type_node with
|
6322 |
|
|
TYPE_MAIN_VARIANT (type), not type.
|
6323 |
|
|
|
6324 |
|
|
2005-09-01 Richard Guenther
|
6325 |
|
|
|
6326 |
|
|
PR tree-optimization/15366
|
6327 |
|
|
* common.opt: Add -finline-functions-called-once.
|
6328 |
|
|
Put -fearly-inlining in alphabetically ordered place.
|
6329 |
|
|
* doc/invoke.texi: Document new option.
|
6330 |
|
|
* ipa-inline.c (cgraph_decide_inlining): Honour
|
6331 |
|
|
flag_inline_functions_called_once.
|
6332 |
|
|
|
6333 |
|
|
2005-09-01 Jakub Jelinek
|
6334 |
|
|
|
6335 |
|
|
PR rtl-optimization/23478
|
6336 |
|
|
* local-alloc.c (struct qty): Add n_throwing_calls_crossed field.
|
6337 |
|
|
(alloc_qty): Initialize it.
|
6338 |
|
|
(update_equiv_regs): Clear REG_N_THROWING_CALLS_CROSSED.
|
6339 |
|
|
(combine_regs): Combine also n_throwing_calls_crossed fields.
|
6340 |
|
|
(find_free_reg): Don't attempt to caller-save pseudos crossing
|
6341 |
|
|
calls that might throw.
|
6342 |
|
|
* global.c (struct allocno): Add throwing_calls_crossed field.
|
6343 |
|
|
(global_alloc): Revert 2005-08-22 change. Initialize
|
6344 |
|
|
throwing_calls_crossed.
|
6345 |
|
|
(find_reg): Don't attempt to caller-save pseudos crossing calls that
|
6346 |
|
|
might throw.
|
6347 |
|
|
|
6348 |
|
|
2005-09-01 Alan Modra
|
6349 |
|
|
|
6350 |
|
|
PR target/23649
|
6351 |
|
|
* config/rs6000/predicates.md (mask_operand): Only handle rlwinm masks.
|
6352 |
|
|
(mask64_operand): Reinstate code prior to 2005-06-11 change.
|
6353 |
|
|
(mask64_2_operand): Reinstate code prior to 2004-11-11 change.
|
6354 |
|
|
(and64_2_operand): Tweak to use predicate.
|
6355 |
|
|
(and_operand): Adjust for mask_operand changes.
|
6356 |
|
|
* config/rs6000/rs6000.c (num_insns_constant): Revert 2005-06-11.
|
6357 |
|
|
(print_operand): Likewise.
|
6358 |
|
|
(rs6000_rtx_costs): Pass mode to mask_operand and use mask64_operand.
|
6359 |
|
|
(mask64_1or2_operand): Delete.
|
6360 |
|
|
* rs6000/rs6000-protos.h (mask64_1or2_operand): Delete.
|
6361 |
|
|
* config/rs6000/rs6000.h (EXTRA_CONSTRAINT ): Revert 2005-06-11.
|
6362 |
|
|
(EXTRA_CONSTRAINT ): Pass operand mode to predicate.
|
6363 |
|
|
(EXTRA_CONSTRAINT ): Disallow mask64_operand matches.
|
6364 |
|
|
* config/rs6000/rs6000.md (andsi3_internal3 split): Revert 2005-06-11.
|
6365 |
|
|
(rotldi3_internal4): Likewise.
|
6366 |
|
|
(rotldi3_internal5, rotldi3_internal5 split): Likewise.
|
6367 |
|
|
(rotldi3_internal6, rotldi3_internal6 split): Likewise.
|
6368 |
|
|
(ashldi3_internal7): Likewise.
|
6369 |
|
|
(ashldi3_internal8, ashldi3_internal8 split): Likewise.
|
6370 |
|
|
(ashldi3_internal, ashldi3_internal9 split): Likewise.
|
6371 |
|
|
(anddi3 split): Don't match mask64_operand.
|
6372 |
|
|
(anddi3_internal2): Add rlwinm. Modify 't' splitter predicate.
|
6373 |
|
|
(anddi3_internal3): Add rlwinm. Use and64_2_operand in non-cr0
|
6374 |
|
|
splitter and match TARGET_64BIT not TARGET_POWERPC64. Modify
|
6375 |
|
|
't' splitter predicate.
|
6376 |
|
|
(movdi_internal64 + 2): Revert 2005-06-11 change.
|
6377 |
|
|
|
6378 |
|
|
2005-08-31 DJ Delorie
|
6379 |
|
|
|
6380 |
|
|
* config/m32c/m32c.c (m32c_valid_pointer_mode): New.
|
6381 |
|
|
(m32c_asm_integer): Add support for 32 bit pointers.
|
6382 |
|
|
|
6383 |
|
|
2005-08-31 Richard Henderson
|
6384 |
|
|
|
6385 |
|
|
* emit-rtl.c (set_mem_attributes_minus_bitpos): Look through
|
6386 |
|
|
component-like references for setting MEM_NOTRAP_P.
|
6387 |
|
|
|
6388 |
|
|
* config/i386/i386.c (ix86_setup_incoming_varargs): Set MEM_NOTRAP_P.
|
6389 |
|
|
* config/alpha/alpha.c (alpha_setup_incoming_varargs): Likewise.
|
6390 |
|
|
|
6391 |
|
|
2005-08-31 Richard Henderson
|
6392 |
|
|
|
6393 |
|
|
* expr.c (expand_expr_real_1) : Force subregs
|
6394 |
|
|
into a pseudo before applying gen_lowpart.
|
6395 |
|
|
|
6396 |
|
|
2005-08-31 Geoffrey Keating
|
6397 |
|
|
|
6398 |
|
|
* doc/install.texi (Specific): Update cctools version required
|
6399 |
|
|
for full functionality.
|
6400 |
|
|
* config/darwin.h (LINK_SPEC): Pass -mmacosx-version-min to the
|
6401 |
|
|
linkers as -macosx_version_min.
|
6402 |
|
|
|
6403 |
|
|
2005-08-31 J"orn Rennecke
|
6404 |
|
|
|
6405 |
|
|
PR target/21255
|
6406 |
|
|
* sh.c (print_operand, %R and %S): Add handling of floating point
|
6407 |
|
|
registers, memory, constants and invalid operands.
|
6408 |
|
|
|
6409 |
|
|
2005-08-31 Daniel Berlin
|
6410 |
|
|
|
6411 |
|
|
* ipa-pure-const.c: Change dump name.
|
6412 |
|
|
|
6413 |
|
|
2005-08-31 Uros Bizjak
|
6414 |
|
|
|
6415 |
|
|
PR target/23570
|
6416 |
|
|
* config/i386/sse.md (*sse_concatv2sf): Change operand 2 constraint
|
6417 |
|
|
to "reg_or_0_operand".
|
6418 |
|
|
(sse2_loadld): Change operand 1 constraint to "reg_or_0_operand".
|
6419 |
|
|
|
6420 |
|
|
2005-08-31 Dale Johannesen
|
6421 |
|
|
|
6422 |
|
|
* loop-iv.c (iv_number_of_iterations): Fix overflow check for
|
6423 |
|
|
loops that count down.
|
6424 |
|
|
|
6425 |
|
|
2005-08-31 Richard Henderson
|
6426 |
|
|
|
6427 |
|
|
PR rtl-opt/23601
|
6428 |
|
|
* reload1.c (reload): Set MEM_NOTRAP_P in spill slots.
|
6429 |
|
|
(fixup_eh_region_note): New.
|
6430 |
|
|
(reload_as_needed): Call it.
|
6431 |
|
|
(fixup_abnormal_edges): Allow all throwing insns to be deleted;
|
6432 |
|
|
don't call find_many_sub_basic_blocks; call verify_flow_info.
|
6433 |
|
|
* function.c (assign_stack_local_1): Set MEM_NOTRAP_P.
|
6434 |
|
|
(keep_stack_depressed): Likewise.
|
6435 |
|
|
(assign_stack_temp_for_type): Likewise; use adjust_address_nv.
|
6436 |
|
|
|
6437 |
|
|
2005-08-31 Richard Henderson
|
6438 |
|
|
|
6439 |
|
|
* config/i386/i386.c (ix86_function_ok_for_sibcall): Fix test for
|
6440 |
|
|
fp return matching.
|
6441 |
|
|
|
6442 |
|
|
2005-08-31 Fariborz Jahanian
|
6443 |
|
|
|
6444 |
|
|
* expr.c (expand_expr_real_1): Compare size of address
|
6445 |
|
|
mode to target's address mode size in deciding expansion of
|
6446 |
|
|
the constant address.
|
6447 |
|
|
|
6448 |
|
|
2005-08-31 Richard Guenther
|
6449 |
|
|
|
6450 |
|
|
PR middle-end/23477
|
6451 |
|
|
* expr.c (all_zeros_p): New function.
|
6452 |
|
|
(expand_expr_real_1): Handle the case of an all-zero
|
6453 |
|
|
non-addressable constructor separately.
|
6454 |
|
|
|
6455 |
|
|
2005-08-31 Adrian Straetling
|
6456 |
|
|
|
6457 |
|
|
* builtins.c: (expand_builtin_strcpy, expand_builtin_strcat): Change
|
6458 |
|
|
arguments, adjust all callers.
|
6459 |
|
|
(expand_builtin_strcat): Rewrite to call strcpy instead of mempcpy.
|
6460 |
|
|
|
6461 |
|
|
2005-08-30 Richard Henderson
|
6462 |
|
|
|
6463 |
|
|
PR target/23630
|
6464 |
|
|
* expr.c (expand_expr_real_1) : Use gen_lowpart
|
6465 |
|
|
whenever the mode sizes match.
|
6466 |
|
|
|
6467 |
|
|
2005-08-31 Alan Modra
|
6468 |
|
|
|
6469 |
|
|
* calls.c (load_register_parameters): Fix comment typo.
|
6470 |
|
|
* expr.c (emit_push_insn): Comment formatting.
|
6471 |
|
|
|
6472 |
|
|
2005-08-30 Ian Lance Taylor
|
6473 |
|
|
|
6474 |
|
|
* config/i386/x-cygwin (host-cygwin): Change dependency from
|
6475 |
|
|
hosthooks-def.h to $(HOSTHOOKS_DEF_H).
|
6476 |
|
|
|
6477 |
|
|
2005-08-29 Geoffrey Keating
|
6478 |
|
|
|
6479 |
|
|
* config/i386/i386.c (ix86_expand_vector_init_one_var): Don't modify
|
6480 |
|
|
parts of 'vals'.
|
6481 |
|
|
|
6482 |
|
|
2005-08-29 Andrew Pinski
|
6483 |
|
|
|
6484 |
|
|
PR middle-end/23408
|
6485 |
|
|
* ipa-inline.c (cgraph_decide_inlining_incrementally): Remove the
|
6486 |
|
|
call to ggc_collect.
|
6487 |
|
|
|
6488 |
|
|
2005-08-29 Paolo Bonzini
|
6489 |
|
|
|
6490 |
|
|
PR bootstrap/21268
|
6491 |
|
|
* Makefile.in (ALL_CPPFLAGS): Include $(INCLUDES) at the
|
6492 |
|
|
beginning. Remove $(INCLUDES) from all the rules, if following
|
6493 |
|
|
$(ALL_CPPFLAGS) or $(BUILD_CPPFLAGS).
|
6494 |
|
|
|
6495 |
|
|
2005-08-29 Jakub Jelinek
|
6496 |
|
|
|
6497 |
|
|
PR middle-end/23484
|
6498 |
|
|
* builtins.c (fold_builtin_memory_chk, fold_builtin_stxcpy_chk,
|
6499 |
|
|
fold_builtin_strncpy_chk, fold_builtin_snprintf_chk): If len is
|
6500 |
|
|
not constant, but maxlen is, don't set len to maxlen, rather
|
6501 |
|
|
set maxlen to len if len is a constant.
|
6502 |
|
|
|
6503 |
|
|
2005-08-29 Zdenek Dvorak
|
6504 |
|
|
|
6505 |
|
|
PR tree-optimization/23475
|
6506 |
|
|
* tree-ssa-loop-ivcanon.c (remove_empty_loop): Update frequencies
|
6507 |
|
|
and counts.
|
6508 |
|
|
|
6509 |
|
|
2005-08-28 Daniel Berlin
|
6510 |
|
|
|
6511 |
|
|
Fix PR middle-end/22455
|
6512 |
|
|
|
6513 |
|
|
* fold-const.c (fold_checksum_tree): Adjust for now-largest tree size.
|
6514 |
|
|
Checksum only the parts of the tree that exist for the tree code.
|
6515 |
|
|
|
6516 |
|
|
2005-08-28 Dale Johannesen
|
6517 |
|
|
|
6518 |
|
|
* config/i386/i386.c (nocona_cost): Increase MOVE_RATIO.
|
6519 |
|
|
|
6520 |
|
|
2005-08-28 Andrew Pinski
|
6521 |
|
|
|
6522 |
|
|
* tree-vrp.c: Remove obsolete comment in front of vrp_initialize.
|
6523 |
|
|
|
6524 |
|
|
2005-08-28 Richard Henderson
|
6525 |
|
|
|
6526 |
|
|
* stor-layout.c (finalize_type_size): Revert workaround from 08-26.
|
6527 |
|
|
* tree.c (make_node_stat): Use BITS_PER_UNIT instead of alignment
|
6528 |
|
|
of char_type_node.
|
6529 |
|
|
|
6530 |
|
|
2005-08-28 Jakub Jelinek
|
6531 |
|
|
|
6532 |
|
|
PR ada/23593
|
6533 |
|
|
* builtins.c (get_memory_rtx): Don't strip nops
|
6534 |
|
|
in between COMPONENT_REFs.
|
6535 |
|
|
|
6536 |
|
|
2005-08-27 Andrew Pinski
|
6537 |
|
|
|
6538 |
|
|
PR middle-end/23463
|
6539 |
|
|
* gimplify.c (gimplify_modify_expr_rhs): Remove check for zero sized
|
6540 |
|
|
types.
|
6541 |
|
|
(gimplify_modify_expr): Check for zero sized types and gimplify the
|
6542 |
|
|
rhs and lhs as statements.
|
6543 |
|
|
|
6544 |
|
|
2005-08-27 John David Anglin
|
6545 |
|
|
|
6546 |
|
|
PR libgcj/23508
|
6547 |
|
|
* pa/linux-unwind.h (pa32_fallback_frame_state): Use r0 slot in frame
|
6548 |
|
|
state for return address column of signal frames.
|
6549 |
|
|
|
6550 |
|
|
2005-08-27 David Edelsohn
|
6551 |
|
|
|
6552 |
|
|
PR target/23539
|
6553 |
|
|
* config/rs6000/rs6000.c (expand_block_clear): Use HImode when
|
6554 |
|
|
bytes >= 2 not bytes == 2.
|
6555 |
|
|
(expand_block_move): Same.
|
6556 |
|
|
|
6557 |
|
|
2005-08-27 Richard Guenther
|
6558 |
|
|
|
6559 |
|
|
PR target/23575
|
6560 |
|
|
* config/i386/sse.md (sse2_movsd): Add missing closing
|
6561 |
|
|
braces.
|
6562 |
|
|
|
6563 |
|
|
2005-08-27 Paul Brook
|
6564 |
|
|
|
6565 |
|
|
* genrecog.c (enum decision_type): Add DT_num_insns.
|
6566 |
|
|
(struct decision_test): Add u.num_insns.
|
6567 |
|
|
(add_to_sequence): Add DT_num_insns test.
|
6568 |
|
|
(maybe_both_true_2, nodes_identical_1): Handle DT_num_insns.
|
6569 |
|
|
(write_cond, debug_decision_2): Ditto.
|
6570 |
|
|
(change_state): Assume peep2_next_insn never fails.
|
6571 |
|
|
Remove "afterward" argument.
|
6572 |
|
|
(write afterward, write_tree): Update to match.
|
6573 |
|
|
* recog.c (peep2_current_count): New variable.
|
6574 |
|
|
(peep2_next_insn): Check it.
|
6575 |
|
|
(peephole2_optimize): Set peep2_current_count.
|
6576 |
|
|
* recog.h (peep2_current_count): Declare.
|
6577 |
|
|
|
6578 |
|
|
2005-08-26 Josh Conner
|
6579 |
|
|
|
6580 |
|
|
PR middle-end/23584
|
6581 |
|
|
* ipa-pure-const.c (check_tree): Check for volatile-ness
|
6582 |
|
|
when considering a dereference.
|
6583 |
|
|
|
6584 |
|
|
2005-08-27 Jakub Jelinek
|
6585 |
|
|
|
6586 |
|
|
* rtl.h (MEM_IN_STRUCT_P): Fix comment typo.
|
6587 |
|
|
|
6588 |
|
|
2005-08-26 Jakub Jelinek
|
6589 |
|
|
|
6590 |
|
|
PR rtl-optimization/23561
|
6591 |
|
|
* builtins.c (get_memory_rtx): Add LEN argument. If MEM_EXPR is
|
6592 |
|
|
a COMPONENT_REF, remove all COMPONENT_REF from MEM_EXPR unless
|
6593 |
|
|
at most LEN bytes long memory fits into the field.
|
6594 |
|
|
(expand_builtin_memcpy, expand_builtin_mempcpy, expand_movstr,
|
6595 |
|
|
expand_builtin_strncpy, expand_builtin_memset, expand_builtin_memcmp,
|
6596 |
|
|
expand_builtin_strcmp, expand_builtin_strncmp): Adjust callers.
|
6597 |
|
|
|
6598 |
|
|
2005-08-26 Richard Henderson
|
6599 |
|
|
|
6600 |
|
|
PR rtl-opt/23560
|
6601 |
|
|
* loop.c (biased_biv_may_wrap_p): New.
|
6602 |
|
|
(maybe_eliminate_biv_1): Use it to suppress non-equality
|
6603 |
|
|
comparison transformations. Delete disabled code.
|
6604 |
|
|
|
6605 |
|
|
2005-08-26 Ian Lance Taylor
|
6606 |
|
|
|
6607 |
|
|
* combine.c (make_extraction): Avoid reference outside object.
|
6608 |
|
|
|
6609 |
|
|
2005-08-26 J"orn Rennecke
|
6610 |
|
|
|
6611 |
|
|
* stor-layout.c (finalize_type_size): Restore behaviour for
|
6612 |
|
|
non-aggregate types to the status quo ante of the patch for
|
6613 |
|
|
pr 23467. Document why it matters.
|
6614 |
|
|
|
6615 |
|
|
2005-08-26 Jakub Jelinek
|
6616 |
|
|
|
6617 |
|
|
PR c/23506
|
6618 |
|
|
* c-common.c (c_common_nodes_and_builtins): Increase builtin_types
|
6619 |
|
|
array by one element, initialize the BT_LAST element with NULL.
|
6620 |
|
|
|
6621 |
|
|
2005-08-26 David Edelsohn
|
6622 |
|
|
|
6623 |
|
|
* config/rs6000/rs6000.md (eq_compare): Only enable when
|
6624 |
|
|
optimizing for size.
|
6625 |
|
|
(plus_eqsi): Same.
|
6626 |
|
|
(compare_plus_eqsi): Same.
|
6627 |
|
|
(plus_eqsi_compare): Same.
|
6628 |
|
|
(neg_eq0): Same.
|
6629 |
|
|
(neg_eq): Same.
|
6630 |
|
|
|
6631 |
|
|
* config/rs6000/aix52.h (PROCESSOR_DEFAULT): Change to
|
6632 |
|
|
PROCESSOR_POWER4.
|
6633 |
|
|
|
6634 |
|
|
2005-08-26 Nick Clifton
|
6635 |
|
|
|
6636 |
|
|
* config/v850/v850.c (ep_memory_operand): Return FALSE if
|
6637 |
|
|
TARGET_EP is not defined.
|
6638 |
|
|
* config/v850/c850.h (TARGET_CPU_CPP_BUILTINS): Define __EP__ if
|
6639 |
|
|
TARGET_EP is enabled.
|
6640 |
|
|
(OPTIMIZATION_OPTIONS): Do not define MASK_EP when optimizing.
|
6641 |
|
|
* config/v850/v850.md (save_all_interrupt): Only use the EP
|
6642 |
|
|
register if TARGET_EP is defined.
|
6643 |
|
|
(restore_all_interrupt): Likewise.
|
6644 |
|
|
* config/v850/lib1funcs.asm: Update functions so that the EP
|
6645 |
|
|
register is only used if __EP__ is defined.
|
6646 |
|
|
|
6647 |
|
|
2005-08-26 David Ung
|
6648 |
|
|
|
6649 |
|
|
* config/mips/mips.c (mips_expand_prologue): Handle case when
|
6650 |
|
|
generating for MIPS16 and the outgoing argument area is more than
|
6651 |
|
|
SMALL_OPERAND. Use the frame pointer as temporary to generate the
|
6652 |
|
|
add instruction.
|
6653 |
|
|
|
6654 |
|
|
2005-08-26 Paul Woegerer
|
6655 |
|
|
|
6656 |
|
|
* config/crx/crx.md: Make doloop_end pattern usage controllable
|
6657 |
|
|
via mloop-nesting= command line switch. Make sure
|
6658 |
|
|
the combiner cannot use doloop_end_ in an illegal way.
|
6659 |
|
|
* config/crx/crx.c: Use regs up to r6 for argument passing.
|
6660 |
|
|
Refine crx_address_cost (non cst4 displacements are expensive).
|
6661 |
|
|
* config/crx/crx.opt: Add switch for mloop-nesting=.
|
6662 |
|
|
|
6663 |
|
|
2005-08-26 Adrian Straetling
|
6664 |
|
|
|
6665 |
|
|
* config/s390/s390.md: ("movstr", "*movstr"): Add patterns.
|
6666 |
|
|
(UNSPEC_MVST): New constant.
|
6667 |
|
|
|
6668 |
|
|
2005-08-26 Andreas Krebbel
|
6669 |
|
|
|
6670 |
|
|
* config/s390/predicates.md ("shift_count_operand", "setmem_operand"):
|
6671 |
|
|
Reject operands containing eliminable registers.
|
6672 |
|
|
* testsuite/gcc.dg/20050825-1.c: New testcase.
|
6673 |
|
|
|
6674 |
|
|
2005-08-24 Paolo Bonzini
|
6675 |
|
|
Jan Hubicka
|
6676 |
|
|
|
6677 |
|
|
* regmove.c (reg_is_remote_constant_p): Reorganize to not use log links.
|
6678 |
|
|
|
6679 |
|
|
2005-08-24 Paolo Bonzini
|
6680 |
|
|
|
6681 |
|
|
PR tree-optimization/23546
|
6682 |
|
|
* tree-ssa-loop-im.c (for_each_index): Handle INTEGER_CST
|
6683 |
|
|
and REAL_CST nodes.
|
6684 |
|
|
|
6685 |
|
|
2005-08-24 Pete Steinmetz
|
6686 |
|
|
|
6687 |
|
|
* params.def (PARAM_MIN_SPEC_PROB): New.
|
6688 |
|
|
* sched-rgn.c (MIN_PROBABILITY): Delete.
|
6689 |
|
|
(compute_trg_info): Convert to PARAM_VALUE.
|
6690 |
|
|
* doc/invoke.texi (param): Document min-spec-prob.
|
6691 |
|
|
|
6692 |
|
|
2005-08-24 Fariborz Jahanian
|
6693 |
|
|
|
6694 |
|
|
* config/darwin.h: define __PIC__
|
6695 |
|
|
* config/rs6000/darwin.h: Add SUBTARGET_OS_CPP_BUILTINS to
|
6696 |
|
|
TARGET_OS_CPP_BUILTINS macro.
|
6697 |
|
|
|
6698 |
|
|
2005-08-24 Paolo Bonzini
|
6699 |
|
|
|
6700 |
|
|
* config/rs6000/rs6000.md: Fix thinko in the peephole2 I added
|
6701 |
|
|
yesterday.
|
6702 |
|
|
|
6703 |
|
|
2005-08-24 Zdenek Dvorak
|
6704 |
|
|
|
6705 |
|
|
* bb-reorder.c (copy_bb, duplicate_computed_gotos): Add argument
|
6706 |
|
|
to duplicate_block.
|
6707 |
|
|
* cfghooks.c (duplicate_block): Added position where to place
|
6708 |
|
|
new block as argument.
|
6709 |
|
|
* cfghooks.h (duplicate_block): Declaration changed.
|
6710 |
|
|
* cfglayout.c (copy_bbs): Add argument after. Pass it to
|
6711 |
|
|
duplicate_block.
|
6712 |
|
|
* cfglayout.h (copy_bbs): Declaration changed.
|
6713 |
|
|
* cfgloop.h (loop_version): Declaration changed.
|
6714 |
|
|
* cfgloopmanip.c (duplicate_loop_to_header_edge): Pass
|
6715 |
|
|
position to copy_bbs.
|
6716 |
|
|
(loop_version): Pass position to duplicate_loop_to_header_edge.
|
6717 |
|
|
Add place_after argument and position new blocks according to
|
6718 |
|
|
it.
|
6719 |
|
|
* modulo-sched.c (sms_schedule): Pass place_after argument
|
6720 |
|
|
to loop_version.
|
6721 |
|
|
* tracer.c (tail_duplicate): Pass argument to duplicate_block.
|
6722 |
|
|
* tree-cfg.c (split_edge_bb_loc): New function.
|
6723 |
|
|
(tree_split_edge, tree_duplicate_sese_region): Use split_edge_bb_loc
|
6724 |
|
|
to determine position of new blocks.
|
6725 |
|
|
* tree-ssa-loop-unswitch.c (tree_unswitch_loop): Pass argument
|
6726 |
|
|
to loop_version.
|
6727 |
|
|
* tree-ssa-threadupdate.c (create_block_for_threading): Pass
|
6728 |
|
|
argument to duplicate_block.
|
6729 |
|
|
* tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg):
|
6730 |
|
|
Pass position to copy_bbs.
|
6731 |
|
|
|
6732 |
|
|
2005-08-24 Zdenek Dvorak
|
6733 |
|
|
|
6734 |
|
|
* fold-const.c (ptr_difference_const): Use
|
6735 |
|
|
cst_and_fits_in_hwi instead of host_integerp.
|
6736 |
|
|
|
6737 |
|
|
2005-08-24 Paolo Bonzini
|
6738 |
|
|
|
6739 |
|
|
* config/darwin.c (gen_pic_offset): New.
|
6740 |
|
|
(machopic_indirect_data_reference, machopic_legitimize_pic_address):
|
6741 |
|
|
Use it.
|
6742 |
|
|
|
6743 |
|
|
2005-08-23 Zdenek Dvorak
|
6744 |
|
|
|
6745 |
|
|
PR tree-optimization/23486
|
6746 |
|
|
* tree-ssa-loop.c (pass_scev_cprop): Add TODO_update_ssa_only_virtuals.
|
6747 |
|
|
|
6748 |
|
|
2005-08-23 Phil Edwards
|
6749 |
|
|
|
6750 |
|
|
* config.gcc (*-*-vxworks*): Update tm_file, add extra_options,
|
6751 |
|
|
remove use_collect2.
|
6752 |
|
|
(powerpc-wrs-vxworks): Update, split out *-*-vxworksae target.
|
6753 |
|
|
|
6754 |
|
|
* target-def.h (TARGET_HAVE_CTORS_DTORS): Allow target
|
6755 |
|
|
configuration files to override the default value.
|
6756 |
|
|
|
6757 |
|
|
* config/t-vxworks: Remove INSTALL_ASSERT_H. Define STMP_FIXPROTO,
|
6758 |
|
|
EXTRA_HEADERS, and EXTRA_MULTILIB_PARTS.
|
6759 |
|
|
* config/vx-common.h: New file, split out from...
|
6760 |
|
|
* config/vxworks.h: here. Update for VxWorks 6.x and RTP mode.
|
6761 |
|
|
* config/vxworksae.h: New file, for VxWorks AE.
|
6762 |
|
|
* config/vxworks.opt: New file.
|
6763 |
|
|
* config/vxlib.c: Update for VxWorks 6.
|
6764 |
|
|
|
6765 |
|
|
* config/rs6000/t-vxworks (MULTILIB_OPTIONS): New list. Adjust
|
6766 |
|
|
other MULTILIB_* variables appropriately.
|
6767 |
|
|
(LIB2FUNCS_EXTRA, EXTRA_MULTILIB_PARTS): Correct from t-ppccomm.
|
6768 |
|
|
* config/rs6000/t-vxworksae: New file, adjust multilibs for AE.
|
6769 |
|
|
* config/rs6000/vxworks.h: Update for VxWorks 6.
|
6770 |
|
|
* config/rs6000/vxworksae.h: New file, mostly placeholder for now.
|
6771 |
|
|
|
6772 |
|
|
2005-08-23 Andrew Pinski
|
6773 |
|
|
|
6774 |
|
|
PR target/20799
|
6775 |
|
|
* config/darwin.c (machopic_select_section): Remove the hack to
|
6776 |
|
|
mark "::operator new" and "::operator delete" for coalescing
|
6777 |
|
|
even though they are not weak.
|
6778 |
|
|
|
6779 |
|
|
2005-08-24 Alan Modra
|
6780 |
|
|
|
6781 |
|
|
* configure.ac (HAVE_LD_NO_DOT_SYMS): Set for powerpc-linux biarch.
|
6782 |
|
|
* configure: Regenerate.
|
6783 |
|
|
|
6784 |
|
|
2005-08-23 Paolo Bonzini
|
6785 |
|
|
|
6786 |
|
|
PR middle-end/23517
|
6787 |
|
|
* fold-const.c (fold_convert): Use VIEW_CONVERT_EXPR to convert
|
6788 |
|
|
between vectors.
|
6789 |
|
|
* convert.c (convert_to_integer, convert_to_vector): Likewise.
|
6790 |
|
|
* tree-vect-generic.c (tree_vec_extract, expand_vector_operations_1):
|
6791 |
|
|
Likewise.
|
6792 |
|
|
|
6793 |
|
|
2005-08-23 Paolo Bonzini
|
6794 |
|
|
|
6795 |
|
|
* config/rs6000/predicates.md (equality_operator): New.
|
6796 |
|
|
* config/rs6000/rs6000.md: Rewrite as a peephole2 the split for
|
6797 |
|
|
comparison with a large constant.
|
6798 |
|
|
|
6799 |
|
|
2005-08-23 Mark Mitchell
|
6800 |
|
|
|
6801 |
|
|
* hwint.h (HOST_WIDE_INT_PRINT): Use HOST_LONG_LONG_FORMAT.
|
6802 |
|
|
|
6803 |
|
|
2005-08-23 J"orn Rennecke
|
6804 |
|
|
|
6805 |
|
|
* sh.c (sh_builtin_saveregs): If the number of to-be-saved fp
|
6806 |
|
|
registers is even, and we have a hardware double precision fp,
|
6807 |
|
|
align the buffer.
|
6808 |
|
|
(sh_gimplify_va_arg_expr): For floating point arguments, consider
|
6809 |
|
|
size of current argument when checking if argument was passed in
|
6810 |
|
|
registers.
|
6811 |
|
|
|
6812 |
|
|
* sh.c (sh_attr_renesas_p): Handle error_mark_node.
|
6813 |
|
|
|
6814 |
|
|
PR middle-end/23467
|
6815 |
|
|
* stor-layout.c (finalize_type_size): Dont override
|
6816 |
|
|
existing alignment with a smaller alignment from the mode.
|
6817 |
|
|
|
6818 |
|
|
2005-08-23 Sebastian Pop
|
6819 |
|
|
|
6820 |
|
|
* lambda-code.c (lambda_vector_lexico_pos): Moved...
|
6821 |
|
|
* lambda.h (lambda_vector_lexico_pos): ... here.
|
6822 |
|
|
* tree-data-ref.c (build_classic_dist_vector): Return false when
|
6823 |
|
|
the distance vector is lexicographically negative.
|
6824 |
|
|
|
6825 |
|
|
2005-08-23 Sebastian Pop
|
6826 |
|
|
|
6827 |
|
|
PR tree-optimization/23511
|
6828 |
|
|
* tree-ssa-loop-niter.c (infer_loop_bounds_from_undefined): Don't
|
6829 |
|
|
handle cases where TYPE_MIN_VALUE or TYPE_MAX_VALUE are NULL_TREE.
|
6830 |
|
|
|
6831 |
|
|
2005-08-23 Jakub Jelinek
|
6832 |
|
|
|
6833 |
|
|
PR tree-optimization/22043
|
6834 |
|
|
* tree.h (count_type_elements): Add ALLOW_FLEXARR argument.
|
6835 |
|
|
* expr.c (count_type_elements): Add ALLOW_FLEXARR argument.
|
6836 |
|
|
If ALLOW_FLEXARR, handle types ending with flexible array member.
|
6837 |
|
|
Pass false as second argument to recursive count_type_elements calls.
|
6838 |
|
|
(categorize_ctor_elements_1, mostly_zeros_p): Pass false as second
|
6839 |
|
|
argument to count_type_elements call.
|
6840 |
|
|
* tree-sra.c (decide_block_copy): Likewise.
|
6841 |
|
|
* gimplify.c (gimplify_init_constructor): If num_type_elements < 0
|
6842 |
|
|
for a constant-sized object, set cleared as well. Pass true as
|
6843 |
|
|
second argument to count_type_elements call.
|
6844 |
|
|
|
6845 |
|
|
2005-08-23 Alan Modra
|
6846 |
|
|
|
6847 |
|
|
PR target/21571
|
6848 |
|
|
* config/rs6000/rs6000.c (rs6000_legitimate_small_data_p): Rename
|
6849 |
|
|
from legitimate_small_data_p, and make global. Update use.
|
6850 |
|
|
Remove forward declaration.
|
6851 |
|
|
* config/rs6000/rs6000-protos.h (rs6000_legitimate_small_data_p):
|
6852 |
|
|
Declare.
|
6853 |
|
|
* config/rs6000/rs6000.md (movdf_hardfloat32): Allow small data mems.
|
6854 |
|
|
|
6855 |
|
|
2005-08-23 David Edelsohn
|
6856 |
|
|
|
6857 |
|
|
* config/rs6000/rs6000.md (eq): Use output operand instead
|
6858 |
|
|
of scratch intermediates.
|
6859 |
|
|
(eq_compare): Same.
|
6860 |
|
|
(neg_eq0): New.
|
6861 |
|
|
(neg_eq): Convert to define_insn_and_split.
|
6862 |
|
|
|
6863 |
|
|
2005-08-23 Alan Modra
|
6864 |
|
|
|
6865 |
|
|
PR target/23070
|
6866 |
|
|
* config/rs6000/rs6000.c (function_arg): For ABI_V4 calls to
|
6867 |
|
|
stdarg functions, set/clear the fp marker even when no variable
|
6868 |
|
|
args are passed.
|
6869 |
|
|
* config/rs6000/sysv4.opt (mprototype): Describe.
|
6870 |
|
|
|
6871 |
|
|
2005-08-22 Jakub Jelinek
|
6872 |
|
|
|
6873 |
|
|
PR rtl-optimization/23478
|
6874 |
|
|
* regs.h (reg_info): Add throw_calls_crossed.
|
6875 |
|
|
(REG_N_THROWING_CALLS_CROSSED): Define.
|
6876 |
|
|
* flow.c (allocate_reg_life_data): Initialize
|
6877 |
|
|
REG_N_THROWING_CALLS_CROSSED.
|
6878 |
|
|
(propagate_one_insn, attempt_auto_inc): Update
|
6879 |
|
|
REG_N_THROWING_CALLS_CROSSED.
|
6880 |
|
|
* global.c (global_alloc): Don't allocate pseudos across
|
6881 |
|
|
calls that may throw.
|
6882 |
|
|
|
6883 |
|
|
2005-08-22 Andrew Pinski
|
6884 |
|
|
|
6885 |
|
|
PR c/18715
|
6886 |
|
|
* c-common.c (c_do_switch_warnings): Look for a node where the enum's
|
6887 |
|
|
value is inbetween the range if we did not find an exact match.
|
6888 |
|
|
|
6889 |
|
|
2005-08-22 Aldy Hernandez
|
6890 |
|
|
|
6891 |
|
|
* doc/invoke.texi (Option Summary): Add ms1 options.
|
6892 |
|
|
* doc/extend.texi: Document interrupt handler attribute for ms1.
|
6893 |
|
|
* doc/md.texi: Document ms1 constraints.
|
6894 |
|
|
* config.gcc: Add ms1-*-elf.
|
6895 |
|
|
* config/ms1/ms1.h: New.
|
6896 |
|
|
* config/ms1/ms1.c: New.
|
6897 |
|
|
* config/ms1/ms1.md: New.
|
6898 |
|
|
* config/ms1/ms1-protos.h: New.
|
6899 |
|
|
* config/ms1/ABI.txt: New.
|
6900 |
|
|
* config/ms1/crti.asm: New.
|
6901 |
|
|
* config/ms1/crtn.asm: New.
|
6902 |
|
|
* config/ms1/lib2extra-funcs.c: New.
|
6903 |
|
|
* config/ms1/t-ms1: New.
|
6904 |
|
|
* config/ms1/ms1.opt: New.
|
6905 |
|
|
|
6906 |
|
|
2005-08-22 Ira Rosen
|
6907 |
|
|
|
6908 |
|
|
* config/rs6000/altivec.md (xorv4sf3): New.
|
6909 |
|
|
(negv4sf2, neg2): Likewise.
|
6910 |
|
|
|
6911 |
|
|
2005-08-21 H.J. Lu
|
6912 |
|
|
|
6913 |
|
|
PR target/23485
|
6914 |
|
|
* config/ia64/ia64.md (divsi3): Check divide by zero.
|
6915 |
|
|
(udivsi3): Likewise.
|
6916 |
|
|
(divdi3): Likewise.
|
6917 |
|
|
(udivdi3): Likewise.
|
6918 |
|
|
|
6919 |
|
|
2005-08-21 Jakub Jelinek
|
6920 |
|
|
|
6921 |
|
|
* simplify-rtx.c (simplify_immed_subreg) : Only clear
|
6922 |
|
|
up to elem_bitsize bits, not max_bitsize.
|
6923 |
|
|
|
6924 |
|
|
2005-08-21 Sebastian Pop
|
6925 |
|
|
|
6926 |
|
|
PR tree-optimization/23433
|
6927 |
|
|
* tree-chrec.c (chrec_apply): Translate INTEGER_CST to a
|
6928 |
|
|
REAL_CST when the type is SCALAR_FLOAT_TYPE_P.
|
6929 |
|
|
|
6930 |
|
|
2005-08-21 Sebastian Pop
|
6931 |
|
|
|
6932 |
|
|
PR tree-optimization/23434
|
6933 |
|
|
* tree-ssa-loop-niter.c (proved_non_wrapping_p): Give up when
|
6934 |
|
|
the iteration bound is not an INTEGER_CST.
|
6935 |
|
|
|
6936 |
|
|
2005-08-21 Dorit Nuzman
|
6937 |
|
|
|
6938 |
|
|
* tree-vect-transform.c (get_initial_def_for_reduction): Set
|
6939 |
|
|
need_epilog_adjust back to false for MIN/MAX case. Set *scalar_def to
|
6940 |
|
|
NULL if need_epilog_adjust is false.
|
6941 |
|
|
(vect_create_epilog_for_reduction): Variable adjust_in_epilog removed.
|
6942 |
|
|
Case 3 always peels first itration, not just for PLUS case, and no need
|
6943 |
|
|
to use scalar_initial_def here. Create an epilog adjustment only if
|
6944 |
|
|
scalar_initial_def is not NULL.
|
6945 |
|
|
|
6946 |
|
|
(vectorizable_reduction): Remove assert.
|
6947 |
|
|
|
6948 |
|
|
2005-08-20 H.J. Lu
|
6949 |
|
|
|
6950 |
|
|
PR target/23485
|
6951 |
|
|
* config/ia64/lib1funcs.asm (__divdi3): Check divide by zero.
|
6952 |
|
|
(__moddi3): Likewise.
|
6953 |
|
|
(__udivdi3): Likewise.
|
6954 |
|
|
(__umoddi3): Likewise.
|
6955 |
|
|
(__divsi3): Likewise.
|
6956 |
|
|
(__modsi3): Likewise.
|
6957 |
|
|
(__udivsi3): Likewise.
|
6958 |
|
|
(__umodsi3): Likewise.
|
6959 |
|
|
|
6960 |
|
|
2005-08-20 Jakub Jelinek
|
6961 |
|
|
|
6962 |
|
|
* tree-pass.h (TDF_GRAPH): Define.
|
6963 |
|
|
* tree-dump.c (dump_options): Don't set TDF_GRAPH in "all".
|
6964 |
|
|
* passes.c (finish_optimization_passes): Only call
|
6965 |
|
|
finish_graph_dump_file if TDF_GRAPH is set.
|
6966 |
|
|
(execute_one_pass): Only call clean_graph_dump_file if dump_file !=
|
6967 |
|
|
NULL. Set TDF_GRAPH bit.
|
6968 |
|
|
(execute_todo): Call print_rtl_graph_with_bb if TDF_GRAPH is set.
|
6969 |
|
|
|
6970 |
|
|
2005-08-20 Richard Earnshaw
|
6971 |
|
|
|
6972 |
|
|
* arm.h (arm_stack_offsets): Add locals_base field.
|
6973 |
|
|
* arm.c (arm_get_frame_offsets): Compute it.
|
6974 |
|
|
(thumb_compute_initial_elimination offset): Make the Thumb frame
|
6975 |
|
|
pointer point to the base of the local variables.
|
6976 |
|
|
(thumb_expand_prologue): Update accordingly.
|
6977 |
|
|
(thumb_expand_epilogue): Likewise.
|
6978 |
|
|
|
6979 |
|
|
* arm.md (thumb_movhi_clobber): Make this insn a define_expand. Change
|
6980 |
|
|
mode of clobbered scratch to DImode. Handle a case that's known to
|
6981 |
|
|
need this.
|
6982 |
|
|
|
6983 |
|
|
2005-08-19 David Edelsohn
|
6984 |
|
|
|
6985 |
|
|
* config/rs6000/rs6000.md (gt0): Delete.
|
6986 |
|
|
(gt0_compare): Delete.
|
6987 |
|
|
(neg_gt0): Delete.
|
6988 |
|
|
|
6989 |
|
|
2005-08-19 Eric Christopher
|
6990 |
|
|
|
6991 |
|
|
* optabs.h: Change CTI_ to COI_.
|
6992 |
|
|
* optabs.c: Ditto.
|
6993 |
|
|
|
6994 |
|
|
2005-08-19 James E Wilson
|
6995 |
|
|
|
6996 |
|
|
* builtins.c (expand_builtin_return_addr): Set
|
6997 |
|
|
current_function_accesses_prior_frames when count != 0. Use
|
6998 |
|
|
frame_pointer_rtx when count == 0.
|
6999 |
|
|
* function.h (struct function): Add accesses_prior_frames field.
|
7000 |
|
|
(current_function_accesses_prior_frames): Define.
|
7001 |
|
|
* reload1.c (init_elim_table): Check
|
7002 |
|
|
current_function_accesses_prior_frames.
|
7003 |
|
|
* doc/tm.texi (INITIAL_FRAME_ADDRESS_RTX): Update docs.
|
7004 |
|
|
|
7005 |
|
|
2005-08-19 Diego Novillo
|
7006 |
|
|
|
7007 |
|
|
* tree-cfgcleanup.c (cleanup_tree_cfg): Fix flowgraph change
|
7008 |
|
|
indicator. Return true if the flowgraph changed during
|
7009 |
|
|
cleanup.
|
7010 |
|
|
|
7011 |
|
|
2005-08-19 Diego Novillo
|
7012 |
|
|
|
7013 |
|
|
PR 23476
|
7014 |
|
|
* tree-cfgcleanup.c (cleanup_control_expr_graph): Fold the
|
7015 |
|
|
conditional expression before testing its value.
|
7016 |
|
|
|
7017 |
|
|
2005-08-19 Diego Novillo
|
7018 |
|
|
|
7019 |
|
|
* doc/invoke.texi: Fix documentation for -ftree-dominator-opts.
|
7020 |
|
|
|
7021 |
|
|
2005-08-19 Devang Patel
|
7022 |
|
|
|
7023 |
|
|
PR tree-optimization/23048
|
7024 |
|
|
* tree-if-conv.c (if_convertible_bb_p): Supply basic_block as
|
7025 |
|
|
third parameter. Check whether latch is dominated by exit
|
7026 |
|
|
block or not.
|
7027 |
|
|
(if_convertible_loop_p): Supply exit block itself to
|
7028 |
|
|
if_convertible_bb_p.
|
7029 |
|
|
|
7030 |
|
|
2005-08-19 Richard Earnshaw
|
7031 |
|
|
|
7032 |
|
|
PR target/23473
|
7033 |
|
|
* arm.md (arm_load_pic_register): Change argument to the mask of
|
7034 |
|
|
saved registers. Call thumb_find_work_register if we need a
|
7035 |
|
|
scratch register on Thumb.
|
7036 |
|
|
(arm_expand_prologue): Pass empty register set to
|
7037 |
|
|
arm_load_pic_register.
|
7038 |
|
|
(thumb_expand_prologue): Pass live_regs_mask directly to
|
7039 |
|
|
arm_load_pic_register.
|
7040 |
|
|
* arm-protos.h (arm_load_pic_register): Update prototype.
|
7041 |
|
|
|
7042 |
|
|
2005-08-19 J"orn Rennecke
|
7043 |
|
|
|
7044 |
|
|
* sh.c (find_sole_member): New function.
|
7045 |
|
|
(sh_gimplify_va_arg_expr): Use it. Allow RECORD_TYPE mode mismatch
|
7046 |
|
|
if the record's alignment is larger than the size of its only member.
|
7047 |
|
|
|
7048 |
|
|
2005-08-19 Richard Earnshaw
|
7049 |
|
|
|
7050 |
|
|
PR target/23436
|
7051 |
|
|
* arm.c (thumb_legitimize_reload_address): New function.
|
7052 |
|
|
* arm-protos.h (thumb_legitimize_reload_address): Add prototype.
|
7053 |
|
|
* arm.h (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Call it.
|
7054 |
|
|
|
7055 |
|
|
2005-08-19 Paul Woegerer
|
7056 |
|
|
|
7057 |
|
|
* config/crx/crx.c: Implement crx_decompose_address. Reject
|
7058 |
|
|
symbolic displacements since CRX register relative adressing
|
7059 |
|
|
mode can't handle unsigned 32-bit values as displacements.
|
7060 |
|
|
* config/crx/crx.h: Simplify definitions, remove redundant
|
7061 |
|
|
parenthesis and obsolete macros.
|
7062 |
|
|
* config/crx/crx.opt: Add new switch for debugging addresses.
|
7063 |
|
|
* config/crx/crx-protos.h: Add new declarations for above.
|
7064 |
|
|
|
7065 |
|
|
2005-08-19 Andrew Pinski
|
7066 |
|
|
|
7067 |
|
|
PR middle-end/20624
|
7068 |
|
|
* gimple-low.c (block_may_fallthru): Handle CLEANUP_POINT_EXPR by
|
7069 |
|
|
looking past it.
|
7070 |
|
|
|
7071 |
|
|
2005-08-18 Kaveh R. Ghazi
|
7072 |
|
|
|
7073 |
|
|
* collect2.c (dup2): Delete.
|
7074 |
|
|
* configure.ac: Don't check for dup2.
|
7075 |
|
|
|
7076 |
|
|
* config.in, configure: Regenerate.
|
7077 |
|
|
|
7078 |
|
|
2005-08-18 J"orn Rennecke
|
7079 |
|
|
|
7080 |
|
|
* sh.c (sh_gimplify_va_arg_expr): Loop to substitute a RECORD_TYPE
|
7081 |
|
|
record with the type of its only member.
|
7082 |
|
|
|
7083 |
|
|
2005-08-18 David Edelsohn
|
7084 |
|
|
|
7085 |
|
|
* config/rs6000/rs6000.md (ltu_compare): Convert to
|
7086 |
|
|
define_insn_and_split.
|
7087 |
|
|
(plus_ltu_compare): Same.
|
7088 |
|
|
(gtu_compare): Same.
|
7089 |
|
|
(plus_gtu_compare): Same.
|
7090 |
|
|
|
7091 |
|
|
2005-08-18 Dorit Nuzman
|
7092 |
|
|
|
7093 |
|
|
PR tree-optimization/22228
|
7094 |
|
|
* tree-ssa-loop (pass_vectorize): Add TODO_verify_loops to
|
7095 |
|
|
todo_flags_start.
|
7096 |
|
|
* tree-vect-transform.c (vect_transform_loop): Mark the variables that
|
7097 |
|
|
are recorded in vect_vnames_to_rename for renaming.
|
7098 |
|
|
* tree-vectorizer.c (vect_vnames_to_rename): New global bitmap.
|
7099 |
|
|
(slpeel_update_phi_nodes_for_guard1): Record virtual vars for renaming
|
7100 |
|
|
in vect_vnames_to_rename.
|
7101 |
|
|
(vectorize_loops): Allocate and free the vect_vnames_to_rename bitmap.
|
7102 |
|
|
* tree-vectorizer.h (vect_vnames_to_rename): New extern variable.
|
7103 |
|
|
|
7104 |
|
|
2005-08-18 Jan Hubicka
|
7105 |
|
|
|
7106 |
|
|
PR c++/22034
|
7107 |
|
|
* cgraphunit.c (cgraph_varpool_assemble_pending_decls): Emit debug
|
7108 |
|
|
info only for local statics, not for member variables.
|
7109 |
|
|
|
7110 |
|
|
2005-08-18 Volker Reichelt
|
7111 |
|
|
|
7112 |
|
|
* tree-data-ref.c (analyze_siv_subscript_cst_affine): Fix comment typo.
|
7113 |
|
|
|
7114 |
|
|
2005-08-18 Volker Reichelt
|
7115 |
|
|
|
7116 |
|
|
* c-typeck.c (designator_errorneous): Rename to designator_erroneous.
|
7117 |
|
|
|
7118 |
|
|
2005-08-18 Andrew Pinski
|
7119 |
|
|
|
7120 |
|
|
PR middle-end/16045
|
7121 |
|
|
* builtins.c (fold_builtin): Create a new NOP_EXPR all the time.
|
7122 |
|
|
|
7123 |
|
|
2005-08-17 James E Wilson
|
7124 |
|
|
|
7125 |
|
|
* c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in
|
7126 |
|
|
array size check.
|
7127 |
|
|
|
7128 |
|
|
2005-08-17 David Edelsohn
|
7129 |
|
|
|
7130 |
|
|
* config/rs6000/rs6000.md (leu): Convert to mode macro.
|
7131 |
|
|
(leu_compare): Same.
|
7132 |
|
|
(plus_leu): Same.
|
7133 |
|
|
(neg_leu): Same.
|
7134 |
|
|
(and_neg_leu
|
7135 |
|
|
(ltu_compare): Same.
|
7136 |
|
|
(plus_ltu): Same.
|
7137 |
|
|
(geu): Same.
|
7138 |
|
|
(geu_compare): Same.
|
7139 |
|
|
(plus_geu): Same.
|
7140 |
|
|
(neg_geu): Same.
|
7141 |
|
|
(and_neg_geu): Same.
|
7142 |
|
|
(plus_gt): Same.
|
7143 |
|
|
(gtu_compare): Same.
|
7144 |
|
|
(plus_gtu): Same.
|
7145 |
|
|
|
7146 |
|
|
2005-08-17 Erik Christiansen
|
7147 |
|
|
|
7148 |
|
|
* config/v850/lib1funcs.asm (callt_save_interrupt): Fix comment typos.
|
7149 |
|
|
Move call_table_data to end. Delete spurious .text.
|
7150 |
|
|
(callt_save_all_interrupt): Fix comment typo.
|
7151 |
|
|
|
7152 |
|
|
2005-08-17 James E Wilson
|
7153 |
|
|
Kevin Winchester
|
7154 |
|
|
|
7155 |
|
|
PR target/21684
|
7156 |
|
|
* config/mcore/mcore.h (SHIFT_COUNT_TRUNCATED): Define to 0.
|
7157 |
|
|
|
7158 |
|
|
2005-08-17 Uros Bizjak
|
7159 |
|
|
|
7160 |
|
|
PR target/23268
|
7161 |
|
|
* config/i386/i386.md ("*fist2_1"): New pattern.
|
7162 |
|
|
("lrint2"): Change expander to use "*fist2_1" pattern.
|
7163 |
|
|
|
7164 |
|
|
2005-08-17 J"orn Rennecke
|
7165 |
|
|
|
7166 |
|
|
* sh.c (sh_gimplify_va_arg_expr): Don't substitute a RECORD_TYPE
|
7167 |
|
|
record with the type of its only member if the modes don't match.
|
7168 |
|
|
|
7169 |
|
|
* varasm.c (decode_reg_name): Skip empty additional register names.
|
7170 |
|
|
|
7171 |
|
|
2005-08-16 Zdenek Dvorak
|
7172 |
|
|
|
7173 |
|
|
* tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name,
|
7174 |
|
|
lsm_tmp_name_length): New.
|
7175 |
|
|
(lsm_tmp_name_add, gen_lsm_tmp_name, get_lsm_tmp_name): New functions.
|
7176 |
|
|
(schedule_sm): Use get_lsm_tmp_name instead of "lsm_tmp".
|
7177 |
|
|
|
7178 |
|
|
2005-08-16 Ulrich Weigand
|
7179 |
|
|
Andreas Krebbel
|
7180 |
|
|
|
7181 |
|
|
* config.gcc: Added z9-109 switch.
|
7182 |
|
|
* config/s390/2084.md ("x_int", "x_agen", "x_lr", "x_la", "x_larl",
|
7183 |
|
|
"x_load", "x_store", "x_branch", "x_call", "x_mul_hi", "x_mul_sidi",
|
7184 |
|
|
"x_div", "x_sem", "x_cs", "x_vs", "x_stm", "x_lm", "x_other",
|
7185 |
|
|
"x_fsimpdf", "x_fsimpsf", "x_fdivdf", "x_fdivsf", "x_floaddf",
|
7186 |
|
|
"x_floadsf", "x_fstore_df", "x_fstoresf", "x_ftoi", "x_itof"): Enable
|
7187 |
|
|
for "z9_109" cpu attribute.
|
7188 |
|
|
* config/s390/s390.c (z9_109_cost): New processor cost structure.
|
7189 |
|
|
(CONST_OK_FOR_Os, CONST_OK_FOR_Op, CONST_OK_FOR_On): New macros.
|
7190 |
|
|
(s390_handle_arch_option): Added z9-109 switch.
|
7191 |
|
|
(override_options): Set respective cost function for z9-109.
|
7192 |
|
|
(s390_const_ok_for_constraint_p): New constraints Os, Op, On.
|
7193 |
|
|
(legitimate_reload_constant_p): Accept extended immediates.
|
7194 |
|
|
(print_operand): Three new output modifiers added: k, m and o.
|
7195 |
|
|
(s390_adjust_priority, s390_issue_rate): Handle Z9_109 like Z990.
|
7196 |
|
|
(s390_output_mi_thunk): Use extended immediate when possible.
|
7197 |
|
|
* config/s390/s390.h (processor_flags): Added PF_EXTIMM.
|
7198 |
|
|
(TARGET_CPU_EXTIMM, TARGET_EXTIMM): New macros.
|
7199 |
|
|
(CONSTRAINT_LEN): Added length of O constraint.
|
7200 |
|
|
(CLZ_DEFINED_VALUE_AT_ZERO): Definition added.
|
7201 |
|
|
* config/s390/s390.md ("cpu"): New value z9_109 added.
|
7202 |
|
|
("*tstdi_extimm", "*tstdi_ccconly_extimm", "*tstsi_extimm",
|
7203 |
|
|
"*tstsi_cconly_extimm", "*movdi_64extimm", "*extendhidi2_extimm",
|
7204 |
|
|
"*extendqidi2_extimm", "*extendhisi2_extimm", "*extendqisi2_extimm",
|
7205 |
|
|
"*zero_extendsi2_extimm", "*anddi3_extimm", "*iordi3_extimm",
|
7206 |
|
|
"*xordi3_extimm", "clzdi2", "clztidi2"): New patterns.
|
7207 |
|
|
("*tstdi", "*tstsi", "*movdi_64", "*extendhisi2", "*extendqisi2",
|
7208 |
|
|
"*zero_extendsi2_64", "zero_extendqihi2", "*zero_extendqihi2_64",
|
7209 |
|
|
"*anddi3", "*iordi3", "*xordi3"): Disable for TARGET_EXTIMM.
|
7210 |
|
|
("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccs", "*cmpsi_ccs", "*cmpdi_ccu",
|
7211 |
|
|
"*cmpsi_ccu", "*movsi_zarch", "*adddi3_imm_cc", "*adddi3_carry1_cc",
|
7212 |
|
|
"*adddi3_carry2_cc", "*adddi3_cc", "*adddi3_64", "*addsi3_imm_cc",
|
7213 |
|
|
"*addsi3_carry1_cc", "*addsi3_carry2_cc", "*addsi3_cc", "addsi3",
|
7214 |
|
|
"*andsi3_cc", "*andsi3_cconly", "*andsi3_zarch", "*iorsi3_cc",
|
7215 |
|
|
"*iorsi3_cconly", "*iorsi3_zarch", "*xorsi3_cc", "*xorsi3_cconly",
|
7216 |
|
|
"*xorsi3", "*xorhi3", "*xorqi3"): Added instruction using extended
|
7217 |
|
|
immediates.
|
7218 |
|
|
("extenddi2", "extendsi2", "zero_extenddi2",
|
7219 |
|
|
"zero_extendsi2"): Allow memory operands and don't manually emit
|
7220 |
|
|
insns for TARGET_EXTIMM.
|
7221 |
|
|
|
7222 |
|
|
2005-08-17 Andreas Krebbel
|
7223 |
|
|
|
7224 |
|
|
* testsuite/gcc.dg/20020926-1.c: Added "-mesa" to dg-options.
|
7225 |
|
|
|
7226 |
|
|
2005-08-17 Nick Clifton
|
7227 |
|
|
|
7228 |
|
|
* config/stormy16/stormy16.c (xstormy16_encode_section_info):
|
7229 |
|
|
Call default_encode_section_info.
|
7230 |
|
|
|
7231 |
|
|
2005-08-17 Steven Bosscher
|
7232 |
|
|
|
7233 |
|
|
PR tree-optimization/21574
|
7234 |
|
|
* tree-ssa-ccp.c (likely_value): If the right hand side is a
|
7235 |
|
|
constant, return CONSTANT.
|
7236 |
|
|
(ccp_lattice_meet): Use operand_equal_p instead of simple_cst_equal.
|
7237 |
|
|
(ccp_fold, visit_assignment): Likewise.
|
7238 |
|
|
(evaluate_stmt): Handle UNDEFINED and UNKNOWN_VAL the same way.
|
7239 |
|
|
|
7240 |
|
|
2005-08-16 James A. Morrison
|
7241 |
|
|
|
7242 |
|
|
* c-typeck.c (build_function_call): Call fold_buildN_initializer or
|
7243 |
|
|
fold_buildN instead of buildN then fold_initializer or fold.
|
7244 |
|
|
(build_unary_op): Likewise.
|
7245 |
|
|
(build_binary_op): Likewise.
|
7246 |
|
|
* fold-const.c (fold_initializer): Remove.
|
7247 |
|
|
(fold_build1_initializer): New function.
|
7248 |
|
|
(fold_build2_initializer): New function.
|
7249 |
|
|
(fold_build3_initializer): New function.
|
7250 |
|
|
* tree.h (fold_initializer): Remove.
|
7251 |
|
|
(fold_build1_initializer): New function.
|
7252 |
|
|
(fold_build2_initializer): New function.
|
7253 |
|
|
(fold_build3_initializer): New function.
|
7254 |
|
|
|
7255 |
|
|
2005-08-16 James A. Morrison
|
7256 |
|
|
|
7257 |
|
|
* fold-const.c (optimize_bit_field_compare): Remove extra fold call.
|
7258 |
|
|
(try_move_mult_to_index): Call fold_build2 instead of build2.
|
7259 |
|
|
(fold_binary): Don't call fold after calls to try_move_mult_to_index.
|
7260 |
|
|
* tree-ssa-loop-niter.c (inverse): Call int_const_binop instead of
|
7261 |
|
|
fold_binary_to_constant.
|
7262 |
|
|
(infer_loop_bounds_from_undefined): Call fold_build2 instead of
|
7263 |
|
|
fold (build.
|
7264 |
|
|
* tree-data-ref.c (tree_fold_divides_p): Use tree_int_cst_equal to
|
7265 |
|
|
check if A == gcd (A, B). Remove TYPE argument.
|
7266 |
|
|
(analyze_offset) Use fold_build2 instead of fold (build.
|
7267 |
|
|
(create_data_ref): Likewise.
|
7268 |
|
|
(analyze_siv_subscript_cst_affine): Update calls to tree_fold_divides_p.
|
7269 |
|
|
* tree-ssa-ccp.c (widen_bitfield): Call fold_build2 instead of build2
|
7270 |
|
|
then fold.
|
7271 |
|
|
|
7272 |
|
|
2005-08-17 Kelley Cook
|
7273 |
|
|
|
7274 |
|
|
* config/arm/unaligned-funcs.c,config/i386/crtfastmath.c,
|
7275 |
|
|
ipa-cp.c,ipa-prop.c,ipa-prop.h: Update FSF address.
|
7276 |
|
|
|
7277 |
|
|
2005-08-16 Andrew Pinski
|
7278 |
|
|
|
7279 |
|
|
PR tree-opt/23402
|
7280 |
|
|
* gimplify.c (zero_sized_type): New function.
|
7281 |
|
|
(gimplify_modify_expr_rhs): If we have a zero sized type,
|
7282 |
|
|
replace the statement with an empty statement.
|
7283 |
|
|
|
7284 |
|
|
2005-08-16 H.J. Lu
|
7285 |
|
|
|
7286 |
|
|
* config/i386/crtfastmath.c (set_fast_math): Add "=m" for
|
7287 |
|
|
fxsave.
|
7288 |
|
|
|
7289 |
|
|
2005-08-16 Ian Lance Taylor
|
7290 |
|
|
|
7291 |
|
|
* doc/tm.texi (Label Output): Correct typo.
|
7292 |
|
|
|
7293 |
|
|
2005-08-16 Steven Bosscher
|
7294 |
|
|
|
7295 |
|
|
PR target/23376
|
7296 |
|
|
* loop-unroll.c (analyze_insn_to_expand_var): Make sure that
|
7297 |
|
|
force_operand will work later on using have_insn_for.
|
7298 |
|
|
|
7299 |
|
|
2005-08-16 Volker Reichelt
|
7300 |
|
|
|
7301 |
|
|
* fold-const.c (tree_expr_nonnegative_p): Regroup cases.
|
7302 |
|
|
|
7303 |
|
|
2005-08-16 Ian Lance Taylor
|
7304 |
|
|
|
7305 |
|
|
PR c++/23337
|
7306 |
|
|
* gimplify.c (gimplify_init_ctor_eval): If we see an element of
|
7307 |
|
|
vector type, don't try to construct it element by element. Add an
|
7308 |
|
|
assertion that we use a FIELD_DECL when building a COMPONENT_REF.
|
7309 |
|
|
|
7310 |
|
|
2005-08-16 Volker Reichelt
|
7311 |
|
|
|
7312 |
|
|
* fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR.
|
7313 |
|
|
|
7314 |
|
|
2005-08-16 Geoffrey Keating
|
7315 |
|
|
|
7316 |
|
|
* doc/invoke.texi (Precompiled Headers): Document some more options
|
7317 |
|
|
which are known to be safe.
|
7318 |
|
|
|
7319 |
|
|
2005-08-16 James E Wilson
|
7320 |
|
|
|
7321 |
|
|
PR tree-optimization/21105
|
7322 |
|
|
* c-decl.c (grokdeclarator): Use TYPE_SIZE_UNIT not TYPE_SIZE in
|
7323 |
|
|
TREE_OVERFLOW check.
|
7324 |
|
|
|
7325 |
|
|
2005-08-16 David Edelsohn
|
7326 |
|
|
|
7327 |
|
|
* config/rs6000/rs6000.md (ltu): Convert to mode macro.
|
7328 |
|
|
(neg_ltu): Same.
|
7329 |
|
|
(gtu): Same.
|
7330 |
|
|
(neg_gtu): Same.
|
7331 |
|
|
|
7332 |
|
|
2005-08-16 Volker Reichelt
|
7333 |
|
|
|
7334 |
|
|
* builtins.c (expand_builtin_strcat): Remove superfluous call to fold.
|
7335 |
|
|
(fold_builtin_isdigit): Use fold_buildN.
|
7336 |
|
|
(build_function_call_expr): Likewise.
|
7337 |
|
|
* c-typeck.c (c_finish_loop): Likewise.
|
7338 |
|
|
|
7339 |
|
|
2005-08-16 J"orn Rennecke
|
7340 |
|
|
Richard Shann
|
7341 |
|
|
|
7342 |
|
|
PR middle-end/20396:
|
7343 |
|
|
* optabs.c (expand_binop): Take TRULY_NOOP_TRUNCATION into account.
|
7344 |
|
|
|
7345 |
|
|
2005-08-16 Sebastian Pop
|
7346 |
|
|
|
7347 |
|
|
* tree-ssa-loop-niter.c (scev_probably_wraps_p): Reword a comment.
|
7348 |
|
|
|
7349 |
|
|
2005-08-15 Richard Earnshaw
|
7350 |
|
|
|
7351 |
|
|
PR target/23355
|
7352 |
|
|
* arm.c (thumb_compute_save_reg_mask): Use similar logic to
|
7353 |
|
|
arm_compure_save_reg0_reg12_mask to determine when the PIC register
|
7354 |
|
|
must be saved.
|
7355 |
|
|
|
7356 |
|
|
2005-08-15 John David Anglin
|
7357 |
|
|
|
7358 |
|
|
PR middle-end/23369
|
7359 |
|
|
* fold-const.c (build_range_check): Disable optimization for function
|
7360 |
|
|
pointer expressions on targets that require function pointer
|
7361 |
|
|
canonicalization.
|
7362 |
|
|
|
7363 |
|
|
2005-08-15 Ulrich Weigand
|
7364 |
|
|
|
7365 |
|
|
* simplify-rtx.c (simplify_const_relational_operation): When
|
7366 |
|
|
extracting arguments of a COMPARE, recompute the mode as well.
|
7367 |
|
|
|
7368 |
|
|
2005-08-15 Ian Lance Taylor
|
7369 |
|
|
|
7370 |
|
|
* tree.c (build_string): Mark tree CONSTANT and INVARIANT.
|
7371 |
|
|
|
7372 |
|
|
2005-08-15 DJ Delorie
|
7373 |
|
|
|
7374 |
|
|
* config/m32c/mov.md (movqi_op): Immediates can't be moved to
|
7375 |
|
|
the stack.
|
7376 |
|
|
(movsi_splittable): Allow, but split, moves to the stack.
|
7377 |
|
|
* config/m32c/m32c.c (m32c_split_move): Always split moves to the
|
7378 |
|
|
stack.
|
7379 |
|
|
|
7380 |
|
|
2005-08-15 Kaveh R. Ghazi
|
7381 |
|
|
|
7382 |
|
|
* aclocal.m4 (gcc_AC_FUNC_PRINTF_PTR): Delete.
|
7383 |
|
|
* configure.ac: Don't call gcc_AC_FUNC_PRINTF_PTR.
|
7384 |
|
|
* system.h (HOST_PTR_PRINTF): Don't define, poison it.
|
7385 |
|
|
|
7386 |
|
|
* bitmap.c, c-decl.c, config/i386/i386-interix.h,
|
7387 |
|
|
config/iq2000/iq2000.c, mips-tfile.c, print-rtl.c, print-tree.c:
|
7388 |
|
|
Delete HOST_PTR_PRINTF.
|
7389 |
|
|
|
7390 |
|
|
* configure, config.in: Regenerate.
|
7391 |
|
|
|
7392 |
|
|
2005-08-15 David Edelsohn
|
7393 |
|
|
|
7394 |
|
|
* config/rs6000/rs6000.md (QHSI): New mode macro.
|
7395 |
|
|
(wd): Extend mode attr for QImode and HImode
|
7396 |
|
|
(dbits): New mode attr.
|
7397 |
|
|
(zero_extenddi2): Convert to mode macro.
|
7398 |
|
|
|
7399 |
|
|
2005-08-15 Steve Ellcey
|
7400 |
|
|
|
7401 |
|
|
PR target/21841
|
7402 |
|
|
* doc/invoke.texi (-mgnu-ld): Update description.
|
7403 |
|
|
(-mhp-ld): Ditto.
|
7404 |
|
|
|
7405 |
|
|
2005-08-15 Sebastian Pop
|
7406 |
|
|
|
7407 |
|
|
PR 23391
|
7408 |
|
|
* Makefile.in (tree-chrec.o): Depends on real.h.
|
7409 |
|
|
* tree-chrec.c: Include real.h.
|
7410 |
|
|
(chrec_fold_plus_poly_poly, chrec_fold_multiply_poly_poly,
|
7411 |
|
|
chrec_fold_plus_1): Use build_real for SCALAR_FLOAT_TYPE_P.
|
7412 |
|
|
* tree-scalar-evolution.c (add_to_evolution_1,
|
7413 |
|
|
interpret_rhs_modify_expr): Ditto.
|
7414 |
|
|
|
7415 |
|
|
2005-08-15 Sebastian Pop
|
7416 |
|
|
|
7417 |
|
|
PR 23386
|
7418 |
|
|
* tree-data-ref.c (estimate_niter_from_size_of_data): When
|
7419 |
|
|
step is negative compute the estimation from init downwards to zero.
|
7420 |
|
|
|
7421 |
|
|
2005-08-14 James A. Morrison
|
7422 |
|
|
|
7423 |
|
|
* fold-const (fold_binary): Call fold_build2 instead of fold (build.
|
7424 |
|
|
|
7425 |
|
|
2005-08-14 Ulrich Weigand
|
7426 |
|
|
|
7427 |
|
|
* config/s390/s390.c (s390_const_ok_for_constraint_p): Add 'P'
|
7428 |
|
|
constraint.
|
7429 |
|
|
(legitimate_reload_constant_p): Fix handling of lliXX operands.
|
7430 |
|
|
Accept double-word constants that can be split.
|
7431 |
|
|
* config/s390/s390.md ("movti"): Use 'P' constraint.
|
7432 |
|
|
("*movdi_31", "*movdf_31"): Likewise.
|
7433 |
|
|
|
7434 |
|
|
2005-08-14 Daniel Berlin
|
7435 |
|
|
|
7436 |
|
|
Fix PR tree-optimization/22615
|
7437 |
|
|
|
7438 |
|
|
* tree-ssa-structalias.c (solution_set_add): Handle
|
7439 |
|
|
first_vi_for_offset returning NULL.
|
7440 |
|
|
(do_da_constraint): Ditto.
|
7441 |
|
|
(do_sd_constraint): Ditto.
|
7442 |
|
|
(do_ds_constraint): Ditto
|
7443 |
|
|
(find_func_aliases): Ditto.
|
7444 |
|
|
(build_constraint_graph): RHS is allowed be ANYTHING.
|
7445 |
|
|
(first_vi_for_offset): Return NULL if we couldn't find anything at
|
7446 |
|
|
the offset.
|
7447 |
|
|
|
7448 |
|
|
2005-08-14 Ulrich Weigand
|
7449 |
|
|
|
7450 |
|
|
* config/s390/s390.c (s390_canonicalize_comparison): Prefer register
|
7451 |
|
|
over memory as first operand.
|
7452 |
|
|
|
7453 |
|
|
2005-08-14 H.J. Lu
|
7454 |
|
|
|
7455 |
|
|
PR target/23360
|
7456 |
|
|
* config/i386/crtfastmath.c (set_fast_math): Check if DAZ is
|
7457 |
|
|
available for setting it.
|
7458 |
|
|
|
7459 |
|
|
2005-08-14 Ira Rosen
|
7460 |
|
|
|
7461 |
|
|
PR tree-optimization/23320
|
7462 |
|
|
* tree-data-ref.c (base_addr_differ_p): Add comment. Check
|
7463 |
|
|
data-refs' types instead of base object nullness. Add check for
|
7464 |
|
|
pointer type data-refs before first location comparison. Remove
|
7465 |
|
|
assert.
|
7466 |
|
|
|
7467 |
|
|
2005-08-14 Andreas Schwab
|
7468 |
|
|
|
7469 |
|
|
* doc/md.texi (Machine Constraints): Fix misplaced @end table.
|
7470 |
|
|
|
7471 |
|
|
2005-08-13 James E Wilson
|
7472 |
|
|
|
7473 |
|
|
* doc/cpp.texi (__SSP__, __SSP_ALL__): Document.
|
7474 |
|
|
* doc/invoke.texi (-Wstack-protector, -fstack-protector,
|
7475 |
|
|
-fstack-protector-all, --param ssp-buffer-size): Document.
|
7476 |
|
|
(-Wvariadic-macros): Alphabetize.
|
7477 |
|
|
(-fsched-stalled-insns-dep): Add missing 'f'.
|
7478 |
|
|
|
7479 |
|
|
* c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
|
7480 |
|
|
macros.
|
7481 |
|
|
|
7482 |
|
|
2005-08-13 David Edelsohn
|
7483 |
|
|
|
7484 |
|
|
* config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed
|
7485 |
|
|
or indirect address operand.
|
7486 |
|
|
(EXTRA_ADDRESS_CONSTRAINT): New.
|
7487 |
|
|
* config/rs6000/rs6000.md (prefetch): Change constraint "p" to "a".
|
7488 |
|
|
|
7489 |
|
|
2005-08-13 Sebastian Pop
|
7490 |
|
|
|
7491 |
|
|
PR tree-optimization/22236
|
7492 |
|
|
* tree-cfg.c (print_pred_bbs, print_succ_bbs): Correctly print
|
7493 |
|
|
successors and predecessors.
|
7494 |
|
|
* tree-chrec.c (chrec_convert): Before converting, check that
|
7495 |
|
|
sequences don't wrap.
|
7496 |
|
|
* tree-data-ref.c (compute_estimated_nb_iterations): Moved ...
|
7497 |
|
|
(analyze_array): Extern.
|
7498 |
|
|
(find_data_references_in_loop): Remove call to
|
7499 |
|
|
compute_estimated_nb_iterations.
|
7500 |
|
|
* tree-data-ref.h (analyze_array): Declared.
|
7501 |
|
|
* tree-flow-inline.h (single_ssa_tree_operand, single_ssa_use_operand,
|
7502 |
|
|
single_ssa_def_operand, zero_ssa_operands): Fix documentation.
|
7503 |
|
|
* tree-flow.h (scev_probably_wraps_p): Declare with an extra parameter.
|
7504 |
|
|
* tree-scalar-evolution.c (instantiate_parameters_1): Factor entry
|
7505 |
|
|
condition.
|
7506 |
|
|
* tree-ssa-loop-ivcanon.c: Fix documentation.
|
7507 |
|
|
* tree-ssa-loop-ivopts.c (idx_find_step): Add a fixme note.
|
7508 |
|
|
* tree-ssa-loop-niter.c (compute_estimated_nb_iterations): ... here.
|
7509 |
|
|
(infer_loop_bounds_from_undefined): New.
|
7510 |
|
|
(estimate_numbers_of_iterations_loop): Use
|
7511 |
|
|
infer_loop_bounds_from_undefined.
|
7512 |
|
|
(used_in_pointer_arithmetic_p): New.
|
7513 |
|
|
(scev_probably_wraps_p): Pass an extra parameter. Call
|
7514 |
|
|
used_in_pointer_arithmetic_p. Check that AT_STMT is not null.
|
7515 |
|
|
(convert_step): Fix documentation.
|
7516 |
|
|
* tree-vrp.c (adjust_range_with_scev): Call instantiate_parameters.
|
7517 |
|
|
Use initial_condition_in_loop_num and evolution_part_in_loop_num
|
7518 |
|
|
instead of CHREC_LEFT and CHREC_RIGHT. Adjust the call to
|
7519 |
|
|
scev_probably_wraps_p.
|
7520 |
|
|
|
7521 |
|
|
2005-08-13 Ulrich Weigand
|
7522 |
|
|
|
7523 |
|
|
* config/s390/s390.c (s390_split_branches): Revert 2005-08-12 change.
|
7524 |
|
|
(s390_register_info): Ignore clobbered_regs information for fixed
|
7525 |
|
|
registers, and only fixed registers.
|
7526 |
|
|
(s390_init_frame_layout): Remove redundant call.
|
7527 |
|
|
|
7528 |
|
|
2005-08-12 Gerald Pfeifer
|
7529 |
|
|
|
7530 |
|
|
* doc/invoke.texi (C++ Dialect Options): Add dynamic_cast to
|
7531 |
|
|
description of -Wold-style-casts.
|
7532 |
|
|
|
7533 |
|
|
2005-08-12 Andreas Krebbel
|
7534 |
|
|
Jakub Jelinek
|
7535 |
|
|
|
7536 |
|
|
* config/s390/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
|
7537 |
|
|
* config/s390/s390-protos.h (s390_get_thread_pointer): Prototype added.
|
7538 |
|
|
* config/s390/s390.c (print_operand): New output modifier 'G' added.
|
7539 |
|
|
(get_thread_pointer): Renamed to s390_get_thread_pointer.
|
7540 |
|
|
* config/s390/s390.md (stack_protect_set, stack_protect_test): If
|
7541 |
|
|
TARGET_THREAD_SSP_OFFSET is defined, change operands[1] to
|
7542 |
|
|
(MEM:P (PLUS:P (tp, TARGET_THREAD_SSP_OFFSET))).
|
7543 |
|
|
(UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants.
|
7544 |
|
|
("stack_protect_set", "stack_protect_test"): New expanders.
|
7545 |
|
|
("stack_protect_setsi", "stack_protect_setdi", "stack_protect_testsi",
|
7546 |
|
|
"stack_protect_testdi"): New insn definitions.
|
7547 |
|
|
|
7548 |
|
|
2005-08-12 Andreas Krebbel
|
7549 |
|
|
|
7550 |
|
|
* config/s390/s390.md ("*movdf_31"): Changed constraint from P to K.
|
7551 |
|
|
|
7552 |
|
|
2005-08-12 Paul Brook
|
7553 |
|
|
|
7554 |
|
|
* config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set.
|
7555 |
|
|
|
7556 |
|
|
2005-08-12 Andreas Krebbel
|
7557 |
|
|
|
7558 |
|
|
* config/s390/predicates.md (setmem_operand): New predicate.
|
7559 |
|
|
(shift_count_operand): Accept ANDs with special constants as
|
7560 |
|
|
operand.
|
7561 |
|
|
* config/s390/s390.c (print_shift_count_operand): Skip ANDs
|
7562 |
|
|
with special constants.
|
7563 |
|
|
* config/s390/s390.md ("setmem_long", "*setmem_long"): Replaced
|
7564 |
|
|
shift_count_operand with setmem_operand.
|
7565 |
|
|
|
7566 |
|
|
2005-08-12 Andreas Krebbel
|
7567 |
|
|
|
7568 |
|
|
* config/s390/s390.c (s390_extract_part, s390_single_part):
|
7569 |
|
|
Type cast added.
|
7570 |
|
|
(s390_const_ok_for_constraint_p): Added SImode to the N constraint.
|
7571 |
|
|
(s390_output_mi_thunk): Don't use lg on 31 bit.
|
7572 |
|
|
* config/s390/s390.md ("*movdi_31", "*movdf_31"): Added lmy and stmy.
|
7573 |
|
|
("*llgt_sisi" and splitter): Replaced TARGET_64BIT with TARGET_ZARCH.
|
7574 |
|
|
|
7575 |
|
|
2005-08-12 Andreas Krebbel
|
7576 |
|
|
|
7577 |
|
|
* config/s390/s390.c (CONST_OK_FOR_J, CONST_OK_FOR_K): New macros.
|
7578 |
|
|
(s390_select_ccmode, s390_rtx_costs, legitimate_reload_constant_p,
|
7579 |
|
|
s390_init_frame_layout, s390_emit_prologue, s390_emit_epilogue,
|
7580 |
|
|
s390_output_mi_thunk): Replaced uses of CONST_OK_FOR_CONSTRAINT_P
|
7581 |
|
|
with one of the new macros.
|
7582 |
|
|
|
7583 |
|
|
2005-08-12 Andreas Krebbel
|
7584 |
|
|
|
7585 |
|
|
* config/s390/s390.c (s390_split_branches, s390_init_frame_layout):
|
7586 |
|
|
Don't set save_return_addr_p.
|
7587 |
|
|
(s390_register_info): Make clobbered_regs not depending on
|
7588 |
|
|
save_return_addr_p.
|
7589 |
|
|
|
7590 |
|
|
2005-08-12 Kaz Kojima
|
7591 |
|
|
|
7592 |
|
|
* gcc.c (LINK_SSP_SPEC): Remove space before a trailing }.
|
7593 |
|
|
(LINK_COMMAND_SPEC): Add space after %(link_ssp).
|
7594 |
|
|
|
7595 |
|
|
2005-08-11 James E. Wilson
|
7596 |
|
|
|
7597 |
|
|
* config/ia64/ia64.h (EXTRA_MEMORY_CONSTRAINT): New.
|
7598 |
|
|
|
7599 |
|
|
2005-08-11 Jakub Jelinek
|
7600 |
|
|
|
7601 |
|
|
* dwarf2out.c (add_location_or_const_value_attribute): Prefer
|
7602 |
|
|
locations gathered by var-tracking in single entry loc_list
|
7603 |
|
|
over loc_descriptor_from_tree.
|
7604 |
|
|
|
7605 |
|
|
* dwarf2out.c (concat_loc_descriptor): Add can_use_fbreg argument,
|
7606 |
|
|
pass it down to loc_descriptor.
|
7607 |
|
|
(loc_descriptor): Pass can_use_fbreg to concat_loc_descriptor.
|
7608 |
|
|
(containing_function_has_frame_base): Move earlier in the file.
|
7609 |
|
|
(loc_descriptor_from_tree_1): Use containing_function_has_frame_base
|
7610 |
|
|
instead of always assuming fbreg can't be used.
|
7611 |
|
|
|
7612 |
|
|
2005-08-11 David Edelsohn
|
7613 |
|
|
|
7614 |
|
|
* config/rs6000/altivec.md: Change constraint "m" to "Z".
|
7615 |
|
|
* config/rs6000/predicates.md (indexed_or_indirect_operand):
|
7616 |
|
|
Accept address wrapped in AND for Altivec.
|
7617 |
|
|
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address):
|
7618 |
|
|
Strip AND wrapping offset address for Altivec.
|
7619 |
|
|
|
7620 |
|
|
2005-08-11 Richard Henderson
|
7621 |
|
|
|
7622 |
|
|
PR middle-end/23312
|
7623 |
|
|
* gimplify.c (gimplify_one_sizepos): Check for INTEGER_TYPE
|
7624 |
|
|
before using TYPE_IS_SIZETYPE.
|
7625 |
|
|
|
7626 |
|
|
2005-08-11 Richard Henderson
|
7627 |
|
|
|
7628 |
|
|
PR target/22225
|
7629 |
|
|
* config/alpha/alpha.c (alphaev4_insn_pipe): Add take pipes for
|
7630 |
|
|
insn types not present on ev4.
|
7631 |
|
|
(alphaev5_insn_pipe): Similarly.
|
7632 |
|
|
|
7633 |
|
|
2005-08-11 Richard Earnshaw
|
7634 |
|
|
|
7635 |
|
|
PR target/23250
|
7636 |
|
|
* arm.c (arm_override_options): If the user has selected callee-super-
|
7637 |
|
|
interworking, then enable normal interworking.
|
7638 |
|
|
|
7639 |
|
|
2005-08-11 Rainer Orth
|
7640 |
|
|
|
7641 |
|
|
* config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Undef before
|
7642 |
|
|
redefinition.
|
7643 |
|
|
|
7644 |
|
|
2005-08-11 Wu Zhou
|
7645 |
|
|
|
7646 |
|
|
* doc/rtl.texi: Fix two typos.
|
7647 |
|
|
|
7648 |
|
|
2005-08-11 Richard Guenther
|
7649 |
|
|
|
7650 |
|
|
PR target/23289
|
7651 |
|
|
* config/i386/i386.c (ix86_function_ok_for_sibcall): Handle
|
7652 |
|
|
cases where we call to/from functions returning void.
|
7653 |
|
|
|
7654 |
|
|
2005-08-10 James A. Morrison
|
7655 |
|
|
|
7656 |
|
|
PR c++/23225
|
7657 |
|
|
* tree.c (build_pointer_type_for_mode): Robustify.
|
7658 |
|
|
|
7659 |
|
|
2005-08-10 James E Wilson
|
7660 |
|
|
|
7661 |
|
|
* defaults.h, config/alpha/alpha.h, config/ia64/ia64.h
|
7662 |
|
|
(ASM_OUTPUT_ADDR_VEC_ELT): Delete.
|
7663 |
|
|
|
7664 |
|
|
* config/alpha/alpha.c (alpha_arg_partial_bytes): Change "(CUM)." to
|
7665 |
|
|
"cum->".
|
7666 |
|
|
|
7667 |
|
|
2005-08-10 Eric Christopher
|
7668 |
|
|
|
7669 |
|
|
* config/rs6000/rs6000.c (mems_ok_for_quad_peep): Rewrite.
|
7670 |
|
|
* config/rs6000/rs6000.md (*lfq_power2, *stfq_power2): Use
|
7671 |
|
|
V2DFmode.
|
7672 |
|
|
|
7673 |
|
|
2005-08-10 Andrew Pinski
|
7674 |
|
|
|
7675 |
|
|
PR target/21887
|
7676 |
|
|
* config/darwin.c (machopic_indirect_data_reference): Use a new register
|
7677 |
|
|
for the high part when generating dynamic-no-pic code.
|
7678 |
|
|
|
7679 |
|
|
2005-08-10 H.J. Lu
|
7680 |
|
|
|
7681 |
|
|
* config.gcc (i[34567]86-*-linux*): Add i386/t-crtfm to tm-file.
|
7682 |
|
|
(x86_64-*-linux*): Likewise.
|
7683 |
|
|
|
7684 |
|
|
* config/i386/crtfastmath.c: New file.
|
7685 |
|
|
* config/i386/t-crtfm: Likewise.
|
7686 |
|
|
|
7687 |
|
|
* config/i386/linux.h (ENDFILE_SPEC): New.
|
7688 |
|
|
* config/i386/linux64.h (ENDFILE_SPEC): Likewise.
|
7689 |
|
|
|
7690 |
|
|
* config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add
|
7691 |
|
|
crtfastmath.o.
|
7692 |
|
|
|
7693 |
|
|
2005-08-10 Dorit Nuzman
|
7694 |
|
|
|
7695 |
|
|
* doc/md.texi: (reduc_smin, reduc_umin, reduc_splus, reduc_uplus):
|
7696 |
|
|
(vec_shl, vec_shr): Document new operations.
|
7697 |
|
|
* tree.def (VEC_RSHIFT_EXPR, VEC_LSHIFT_EXPR): Fix comment.
|
7698 |
|
|
|
7699 |
|
|
2005-08-10 David Edelsohn
|
7700 |
|
|
|
7701 |
|
|
* config/rs6000/predicates.md (indexed_or_indirect_address): New.
|
7702 |
|
|
* config/rs6000/rs6000.md (prefetch): Remove operand 0 mode and
|
7703 |
|
|
change predicate to indexed_or_indirect_address.
|
7704 |
|
|
|
7705 |
|
|
2005-08-10 Richard Sandiford
|
7706 |
|
|
|
7707 |
|
|
* config/arm/lib1funcs.asm (__aeabi_uidiv, __aeabi_idiv): New aliases.
|
7708 |
|
|
* config/arm/libgcc-bpabi.ver (GCC_3.5): Add __aeabi_idiv,
|
7709 |
|
|
__aeabi_uidiv, __aeabi_uread4, __aeabi_uread8, __aeabi_uwrite4
|
7710 |
|
|
and __aeabi_uwrite8.
|
7711 |
|
|
* config/arm/unaligned-funcs.c: New file.
|
7712 |
|
|
* config/arm/t-bpabi (LIB2FUNCS_EXTRA): Add unaligned-funcs.c.
|
7713 |
|
|
|
7714 |
|
|
2005-08-09 Paolo Bonzini
|
7715 |
|
|
|
7716 |
|
|
* bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks):
|
7717 |
|
|
Add dump.
|
7718 |
|
|
* cfglayout.c (pass_insn_locators_initialize): Add dump.
|
7719 |
|
|
* emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes):
|
7720 |
|
|
Add dump.
|
7721 |
|
|
* except.c (pass_convert_to_eh_region_ranges): Add dump.
|
7722 |
|
|
* final.c (pass_shorten_branches): Add dump.
|
7723 |
|
|
* flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump.
|
7724 |
|
|
(pass_life): Rename dump.
|
7725 |
|
|
(rest_of_handle_flow2): Remove initial verify_flow_info.
|
7726 |
|
|
* function.c (pass_instantiate_virtual_regs): Add dump.
|
7727 |
|
|
* integrate.c (pass_initial_value_sets): Add dump.
|
7728 |
|
|
* jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump.
|
7729 |
|
|
* loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump.
|
7730 |
|
|
(pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop,
|
7731 |
|
|
pass_rtl_unroll_and_peel_loops): Rename dump and add gate.
|
7732 |
|
|
(gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop,
|
7733 |
|
|
gate_rtl_unrool_and_peel_loops): New.
|
7734 |
|
|
(rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops,
|
7735 |
|
|
rtl_doloop): Do not look at flags.
|
7736 |
|
|
* mode-switching.c (pass_mode_switching): Add dump.
|
7737 |
|
|
* recog.c (pass_split_all_insns, pass_split_for_shorten_branches,
|
7738 |
|
|
pass_split_before_regstack): Add dump.
|
7739 |
|
|
* regmove.c (pass_stack_adjustments): Add dump.
|
7740 |
|
|
* tree-optimize.c (pass_fixup_cfg): Add dump.
|
7741 |
|
|
|
7742 |
|
|
2005-08-10 Kazuhiro Inaoka
|
7743 |
|
|
|
7744 |
|
|
PR 23309
|
7745 |
|
|
* config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when
|
7746 |
|
|
deciding which instruction sequence to use.
|
7747 |
|
|
|
7748 |
|
|
2005-08-09 Dorit Nuzman
|
7749 |
|
|
|
7750 |
|
|
* tree-vect-transform.c (vect_create_epilog_for_reduction): Set
|
7751 |
|
|
BIT_FIELD_REF_UNSIGNED for newly created BIT_FIELD_REFs.
|
7752 |
|
|
|
7753 |
|
|
2005-08-09 Richard Guenther
|
7754 |
|
|
|
7755 |
|
|
* c-common.c (builtin_function_2): Remove.
|
7756 |
|
|
(def_builtin_1): New function.
|
7757 |
|
|
(c_common_nodes_and_builtins): Use def_builtin_1 to
|
7758 |
|
|
build builtin functions.
|
7759 |
|
|
|
7760 |
|
|
2005-08-09 Jie Zhang
|
7761 |
|
|
|
7762 |
|
|
* config/bfin/uclinux.h (NO_IMPLICIT_EXTERN_C): Define.
|
7763 |
|
|
* config/bfin/elf.h (NO_IMPLICIT_EXTERN_C): Define.
|
7764 |
|
|
* config/bfin/bfin.c (bfin_return_in_memory): Update to really match
|
7765 |
|
|
Visual DSP.
|
7766 |
|
|
|
7767 |
|
|
2005-08-09 James A. Morrison
|
7768 |
|
|
|
7769 |
|
|
* tree-ssa-loop-niter.c (tree_simplify_using_condition_1): Use
|
7770 |
|
|
fold_binary instead of fold_build2 since we don't care about the
|
7771 |
|
|
resulting tree.
|
7772 |
|
|
(loop_niter_by_eval): Likewise.
|
7773 |
|
|
(compare_trees): Likewise.
|
7774 |
|
|
(proved_non_wrapping_p): Likewise.
|
7775 |
|
|
|
7776 |
|
|
2005-08-09 James A. Morrison
|
7777 |
|
|
|
7778 |
|
|
PR c/23161
|
7779 |
|
|
PR c/23165
|
7780 |
|
|
* c-typeck.c (c_finish_if_stmt): Look into STATEMENT_LISTs to see
|
7781 |
|
|
if the if is really empty.
|
7782 |
|
|
|
7783 |
|
|
2005-08-09 Steven Bosscher
|
7784 |
|
|
|
7785 |
|
|
PR tree-optimization/23234
|
7786 |
|
|
* tree-ssa-math-opts.c (place_reciprocal): New enum.
|
7787 |
|
|
(execute_cse_reciprocals_1): Replace the 'phi' argument with an
|
7788 |
|
|
argument of the new enum.
|
7789 |
|
|
(execute_cse_reciprocals): Add reciprocals for function arguments
|
7790 |
|
|
on the unique successor edge of the entry block. Update other calls
|
7791 |
|
|
to execute_cse_reciprocals_1.
|
7792 |
|
|
|
7793 |
|
|
2005-08-08 Richard Henderson
|
7794 |
|
|
|
7795 |
|
|
PR 22439
|
7796 |
|
|
* gimplify.c (gimplify_one_sizepos): Preserve the original type.
|
7797 |
|
|
|
7798 |
|
|
2005-08-08 Bob Wilson
|
7799 |
|
|
|
7800 |
|
|
* expr.c (write_complex_part): Return after handling MEM.
|
7801 |
|
|
|
7802 |
|
|
2005-08-08 Josh Conner
|
7803 |
|
|
|
7804 |
|
|
PR rtl-optimization/23241
|
7805 |
|
|
* combine.c (simplify_comparison): Fix error in determining
|
7806 |
|
|
whether to lift a subreg from comparison.
|
7807 |
|
|
|
7808 |
|
|
2005-08-08 David Edelsohn
|
7809 |
|
|
|
7810 |
|
|
PR target/18506
|
7811 |
|
|
* config/rs6000/altivec.md (vec_init): New.
|
7812 |
|
|
(vec_set): New.
|
7813 |
|
|
(vec_extract): New.
|
7814 |
|
|
* config/rs6000/rs6000.c (rs6000_expand_vector_init): New.
|
7815 |
|
|
(rs6000_expand_vector_set): New.
|
7816 |
|
|
(rs6000_expand_vector_extract): New.
|
7817 |
|
|
(rs6000_legitimate_offset_address_p): Offset addresses are valid
|
7818 |
|
|
for Altivec modes before reload.
|
7819 |
|
|
(altivec_expand_vec_init_builtin): New.
|
7820 |
|
|
(get_element_number): New.
|
7821 |
|
|
(altivec_expand_vec_set_builtin): New.
|
7822 |
|
|
(altivec_expand_vec_ext_builtin): New.
|
7823 |
|
|
(altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext
|
7824 |
|
|
builtins.
|
7825 |
|
|
(altivec_init_builtins): Init vec_init, vec_set, and vec_ext
|
7826 |
|
|
builtins.
|
7827 |
|
|
* config/rs6000/rs6000.h (rs6000_builtins): Add
|
7828 |
|
|
ALTIVEC_BUILTIN_VEC_INIT_, ALTIVEC_BUILTIN_VEC_SET_,
|
7829 |
|
|
ALTIVEC_BUILTIN_VEC_EXT_.
|
7830 |
|
|
* config/rs6000/rs6000-protos.h: Declare new functions.
|
7831 |
|
|
|
7832 |
|
|
2005-08-08 Jan Hubicka
|
7833 |
|
|
|
7834 |
|
|
* i386.c (legitimate_pic_address_disp_p): Refuse GOTOFF in 64bit mode.
|
7835 |
|
|
(legitimate_address_p): Refuse GOT and GOTOFF in 64bit mode.
|
7836 |
|
|
* i386.md (movdi*): Use pic_32bit_operand.
|
7837 |
|
|
* predicates.md (pic_32bit_operand): New.
|
7838 |
|
|
|
7839 |
|
|
2005-08-08 Nathan Sidwell
|
7840 |
|
|
|
7841 |
|
|
PR c++/21166
|
7842 |
|
|
* stor-layout.c (finalize_type_size): Undo DECL_PACKED when possible.
|
7843 |
|
|
|
7844 |
|
|
2005-08-07 James A. Morrison
|
7845 |
|
|
|
7846 |
|
|
* tree-vrp.c (simplify_div_or_mod_using_range): Use build2.
|
7847 |
|
|
(test_for_singularity): Use fold_build2.
|
7848 |
|
|
|
7849 |
|
|
2005-08-07 John David Anglin
|
7850 |
|
|
|
7851 |
|
|
* pa64-regs.h (CONDITIONAL_REGISTER_USAGE): Fix loop upper bound.
|
7852 |
|
|
|
7853 |
|
|
2005-08-07 Danny Smith
|
7854 |
|
|
|
7855 |
|
|
* config/i386/cygming.h (SUBTARGET_ENCODE_SECTION_INFO): Define.
|
7856 |
|
|
(COMMON_ASM_OP) Define.
|
7857 |
|
|
* config/i386/i386.c (ix86_in_large_data_p): Add ATTRIBUTE_UNUSED
|
7858 |
|
|
(ix86_encode_section_info): Likewise.
|
7859 |
|
|
(TARGET_ENCODE_SECTION_INFO): Conditionally define as
|
7860 |
|
|
SUBTARGET_ENCODE_SECTION_INFO.
|
7861 |
|
|
|
7862 |
|
|
2005-08-06 Richard Henderson
|
7863 |
|
|
|
7864 |
|
|
PR 21894
|
7865 |
|
|
* tree-nested.c (convert_local_reference): Save and restore val_only
|
7866 |
|
|
around component_ref and friends. Clear walk_subtrees by default.
|
7867 |
|
|
|
7868 |
|
|
2005-08-06 Peter O'Gorman
|
7869 |
|
|
|
7870 |
|
|
PR 21366
|
7871 |
|
|
* gcc.c (process_command): Check the argument to -b has a dash.
|
7872 |
|
|
* doc/invoke.texi: Update -b and -V docs.
|
7873 |
|
|
|
7874 |
|
|
2005-08-06 James E Wilson
|
7875 |
|
|
|
7876 |
|
|
* config/mips/cross64.h, config/mips/t-cross64: Delete.
|
7877 |
|
|
|
7878 |
|
|
2005-08-06 Michael Matz
|
7879 |
|
|
|
7880 |
|
|
* genattrtab.c (write_attr_get, write_attr_case): Use insn_code
|
7881 |
|
|
member only if only one insn is associated with the value.
|
7882 |
|
|
|
7883 |
|
|
2005-08-06 Nick Clifton
|
7884 |
|
|
|
7885 |
|
|
* config/stormy16/stormy16.h (SYMBOL_FLAG_XSTORMY16_BELOW100):
|
7886 |
|
|
New define.
|
7887 |
|
|
(ASM_OUTPUT_LABELREF): Delete - it is no longer needed.
|
7888 |
|
|
* config/stormy16/stormy16.c (xstormy16_below100_symbol):
|
7889 |
|
|
Check symbol flags instead of symbol name mangling.
|
7890 |
|
|
(xstormy16_asm_output_aligned_common): Likewise. Also
|
7891 |
|
|
simplify code since the bss100_section cass is the only case
|
7892 |
|
|
where the below100 code will be triggered.
|
7893 |
|
|
(xstormy16_encode_section_info): Encode below100 attribute
|
7894 |
|
|
using the SYMBOL_FLAG_XSTORMY16_BELOW100 instead of mangling
|
7895 |
|
|
the name.
|
7896 |
|
|
(xstormy16_strip_name_encoding): Delete - this function is no
|
7897 |
|
|
longer needed.
|
7898 |
|
|
(TARGET_STRIP_NAME_ENCODING): Undefine.
|
7899 |
|
|
* config/stormy16/stormy16-protos.h: Delete prototype for
|
7900 |
|
|
xstormy16_strip_name_encoding.
|
7901 |
|
|
|
7902 |
|
|
2005-08-06 Kazu Hirata
|
7903 |
|
|
|
7904 |
|
|
* Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
|
7905 |
|
|
config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
|
7906 |
|
|
tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
|
7907 |
|
|
config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
|
7908 |
|
|
config/alpha/predicates.md, config/arc/arc.h,
|
7909 |
|
|
config/arm/arm.h, config/arm/ieee754-df.S,
|
7910 |
|
|
config/arm/ieee754-sf.S, config/bfin/bfin.c,
|
7911 |
|
|
config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
|
7912 |
|
|
config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
|
7913 |
|
|
config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
|
7914 |
|
|
config/m68hc11/m68hc11.h, config/mips/mips.c,
|
7915 |
|
|
config/mips/mips.h, config/mips/openbsd.h,
|
7916 |
|
|
config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
|
7917 |
|
|
config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
|
7918 |
|
|
config/rs6000/rs6000.c, config/rs6000/rs6000.h,
|
7919 |
|
|
config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
|
7920 |
|
|
config/sparc/linux.h, config/sparc/linux64.h,
|
7921 |
|
|
config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
|
7922 |
|
|
doc/extend.texi, doc/gcov.texi, doc/install.texi,
|
7923 |
|
|
doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
|
7924 |
|
|
typos. Follow spelling conventions.
|
7925 |
|
|
|
7926 |
|
|
2005-08-06 Joseph S. Myers
|
7927 |
|
|
|
7928 |
|
|
PR c/23113
|
7929 |
|
|
* stmt.c (warn_if_unused_value): Check TREE_NO_WARNING at start.
|
7930 |
|
|
Don't handle NOP_EXPR, CONVERT_EXPR and NON_LVALUE_EXPR
|
7931 |
|
|
specially. Check for side effects only for COND_EXPR.
|
7932 |
|
|
* c-typeck.c (c_finish_stmt_expr): Mark statement expression
|
7933 |
|
|
return with TREE_NO_WARNING.
|
7934 |
|
|
|
7935 |
|
|
2005-08-06 Richard Sandiford
|
7936 |
|
|
|
7937 |
|
|
PR rtl-optimization/23233
|
7938 |
|
|
* loop.c (combine_movables): Require the modes to be the same.
|
7939 |
|
|
(move_movables): Remove handling of cases where the replacement
|
7940 |
|
|
had a different mode to the original.
|
7941 |
|
|
|
7942 |
|
|
2005-08-05 James A. Morrison
|
7943 |
|
|
|
7944 |
|
|
PR tree-optimization/23128
|
7945 |
|
|
* tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or
|
7946 |
|
|
subtraction wrap, and set TREE_OVERFLOW if they do.
|
7947 |
|
|
|
7948 |
|
|
2005-08-05 Richard Henderson
|
7949 |
|
|
|
7950 |
|
|
PR 21728
|
7951 |
|
|
* tree-cfg.c (remove_bb): Transmute DECL_NONLOCAL labels into
|
7952 |
|
|
FORCED_LABEL labels.
|
7953 |
|
|
|
7954 |
|
|
2005-08-05 J"orn Rennecke
|
7955 |
|
|
|
7956 |
|
|
PR middle-end/23135
|
7957 |
|
|
* reload.c (find_reloads_subreg_address): Pass down TYPE
|
7958 |
|
|
unchanged. Change all callers except find_reloads_toplev.
|
7959 |
|
|
|
7960 |
|
|
2005-08-05 Michael Matz
|
7961 |
|
|
|
7962 |
|
|
* genattrtab.c (current_alternative_string): Remove.
|
7963 |
|
|
(SIMPLIFY_ALTERNATIVE): Ditto.
|
7964 |
|
|
(attr_alt_bit_p): Ditto.
|
7965 |
|
|
(alternative_name): Make const char *.
|
7966 |
|
|
(evaluate_eq_attr): Remove use of above things.
|
7967 |
|
|
(simplify_test_exp): Ditto.
|
7968 |
|
|
(simplify_test_exp ): Guard for insn_code < 0 .
|
7969 |
|
|
(simplify_test_exp ): Correct typo (test 'right' not 'left').
|
7970 |
|
|
|
7971 |
|
|
2005-08-04 James E Wilson
|
7972 |
|
|
|
7973 |
|
|
* config/ptx4.h, config/sol2.h, config/arm/freebsd.h,
|
7974 |
|
|
config/arm/linux-elf.h, config/frv/frv.h, config/i386/freebsd.h,
|
7975 |
|
|
config/i386/freebsd64.h, config/i386/netware.h, config/i386/sco5.h,
|
7976 |
|
|
config/ia64/freebsd.h, config/rs6000/sysv4.h, config/sparc/freebsd.h
|
7977 |
|
|
(LINK_SPEC): Delete useless %{Wl,*:%*} item.
|
7978 |
|
|
|
7979 |
|
|
2005-08-04 Richard Henderson
|
7980 |
|
|
|
7981 |
|
|
PR 21529
|
7982 |
|
|
* params.def (PARAM_SRA_MAX_STRUCTURE_COUNT): New.
|
7983 |
|
|
* params.h (SRA_MAX_STRUCTURE_COUNT): New.
|
7984 |
|
|
* tree-sra.c (decide_block_copy): Use it. Disable element copy
|
7985 |
|
|
if we'd have to instantiate too many members.
|
7986 |
|
|
|
7987 |
|
|
2005-08-04 Richard Henderson
|
7988 |
|
|
|
7989 |
|
|
PR 21291
|
7990 |
|
|
* tree-outof-ssa.c (coalesce_asm_operands): New.
|
7991 |
|
|
(coalesce_ssa_name): Use it. Split out ...
|
7992 |
|
|
(coalesce_phi_operands, coalesce_result_decls): ... these.
|
7993 |
|
|
|
7994 |
|
|
2005-08-04 Paul Brook
|
7995 |
|
|
|
7996 |
|
|
* read-rtl.c (read_quoted_string): Break if EOF.
|
7997 |
|
|
|
7998 |
|
|
2005-08-04 Andrew Pinski
|
7999 |
|
|
|
8000 |
|
|
* tree.h (fold_build1): Change to macro and call fold_build1_stat.
|
8001 |
|
|
(fold_build2): Likewise.
|
8002 |
|
|
(fold_build3): Likewise.
|
8003 |
|
|
(fold_build1_stat): New function prototype.
|
8004 |
|
|
(fold_build2_stat): Likewise.
|
8005 |
|
|
(fold_build3_stat): Likewise.
|
8006 |
|
|
* fold-const.c (fold_build1): Rename to ..
|
8007 |
|
|
(fold_build1_stat): this. Add MEM_STAT_DECL. Pass the mem stats
|
8008 |
|
|
through to build1_stat.
|
8009 |
|
|
(fold_build2): Rename to ..
|
8010 |
|
|
(fold_build2_stat): this. Add MEM_STAT_DECL. Pass the mem stats
|
8011 |
|
|
through to build2_stat.
|
8012 |
|
|
(fold_build3): Rename to ..
|
8013 |
|
|
(fold_build3_stat): this. Add MEM_STAT_DECL. Pass the mem stats
|
8014 |
|
|
through to build3_stat.
|
8015 |
|
|
|
8016 |
|
|
2005-08-04 David Edelsohn
|
8017 |
|
|
Ian Lance Taylor
|
8018 |
|
|
|
8019 |
|
|
* function.c (assign_stack_local_1): Do not correct stack slot
|
8020 |
|
|
address if allocation size is smaller than mode size.
|
8021 |
|
|
|
8022 |
|
|
2005-08-04 Diego Novillo
|
8023 |
|
|
|
8024 |
|
|
PR 22037
|
8025 |
|
|
* tree-cfg.c (replace_uses_by): Call mark_new_vars_to_rename.
|
8026 |
|
|
(tree_merge_blocks): Propagate anything allowed by
|
8027 |
|
|
may_propagate_copy.
|
8028 |
|
|
Clarify documentation.
|
8029 |
|
|
* passes.c (execute_todo): If cleanup_tree_cfg invalidated the
|
8030 |
|
|
SSA form, schedule an update if necessary.
|
8031 |
|
|
|
8032 |
|
|
2005-08-04 Gerald Pfeifer
|
8033 |
|
|
|
8034 |
|
|
* doc/install.texi (Binaries): Remove broken link to
|
8035 |
|
|
Sinix/Reliant Unix binaries.
|
8036 |
|
|
|
8037 |
|
|
2005-08-03 Richard Henderson
|
8038 |
|
|
|
8039 |
|
|
PR 23221
|
8040 |
|
|
* function.c (stack_protect_epilogue): Export.
|
8041 |
|
|
* tree.h (stack_protect_epilogue): Declare.
|
8042 |
|
|
* calls.c (expand_call): Call it.
|
8043 |
|
|
|
8044 |
|
|
2005-08-03 Eric Christopher
|
8045 |
|
|
|
8046 |
|
|
* gcc.c (LINK_SSP_SPEC): Add fstack-protector-all.
|
8047 |
|
|
* config/darwin.h (LINK_COMMAND_SPEC): Add link_ssp
|
8048 |
|
|
spec.
|
8049 |
|
|
|
8050 |
|
|
2005-08-04 Jan Hubicka
|
8051 |
|
|
|
8052 |
|
|
* profile.c (branch_prob): Split edges with goto locus on them
|
8053 |
|
|
to get proper line counts.
|
8054 |
|
|
* tree-cfg.c (make_cond_expr_edges): Record user goto locuses, if any.
|
8055 |
|
|
|
8056 |
|
|
2005-08-03 Paul Brook
|
8057 |
|
|
|
8058 |
|
|
* function.c (assign_parms): Round current_function_args_size
|
8059 |
|
|
to PARM_BOUNDARY, not STACK_BOUNDARY.
|
8060 |
|
|
|
8061 |
|
|
2005-08-03 Geoffrey Keating
|
8062 |
|
|
|
8063 |
|
|
* config/i386/i386.c (x86_elf_aligned_common)
|
8064 |
|
|
(x86_output_aligned_bss): Don't try to use symbols that aren't defined.
|
8065 |
|
|
|
8066 |
|
|
2005-08-03 Zdenek Dvorak
|
8067 |
|
|
|
8068 |
|
|
PR tree-optimization/23157
|
8069 |
|
|
* tree-scalar-evolution.c (scev_const_prop): Unshare trees
|
8070 |
|
|
before emitting them.
|
8071 |
|
|
|
8072 |
|
|
2005-08-03 Volker Reichelt
|
8073 |
|
|
|
8074 |
|
|
PR tree-optimization/19899
|
8075 |
|
|
* Makefile.in (tree-scalar-evolution.o): Add real.h.
|
8076 |
|
|
* tree-scalar-evolution.c: Include real.h.
|
8077 |
|
|
(add_to_evolution): Build constant -1 of correct type.
|
8078 |
|
|
|
8079 |
|
|
2005-08-03 Jan Hubicka
|
8080 |
|
|
|
8081 |
|
|
* cfgloop.h (DLTHE_FLAG_COMPLETTE_PEEL): New flag.
|
8082 |
|
|
* cfgloopmanip.c (duplicate_loop_to_header_edge): Special case
|
8083 |
|
|
profile updating for complette unrolling.
|
8084 |
|
|
* loop-unroll.c (peel_loop_completely): Use it.
|
8085 |
|
|
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Likewise.
|
8086 |
|
|
(tree_unroll_loops_completely): Disable code growing unrolling of cold
|
8087 |
|
|
loops.
|
8088 |
|
|
|
8089 |
|
|
2005-08-03 Paul Brook
|
8090 |
|
|
|
8091 |
|
|
* combine.c (can_change_dest_mode): New function.
|
8092 |
|
|
(try_combine, simplify_set): Use it.
|
8093 |
|
|
|
8094 |
|
|
2005-08-03 Eric Botcazou
|
8095 |
|
|
|
8096 |
|
|
* config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Only force
|
8097 |
|
|
TFmode to BLKmode.
|
8098 |
|
|
|
8099 |
|
|
2005-08-03 Gerald Pfeifer
|
8100 |
|
|
|
8101 |
|
|
* doc/install.texi (Specific): Adjust link to openavr.org.
|
8102 |
|
|
(Specific): Remove broken reference to GCC 2.8.1 for OS/2.
|
8103 |
|
|
(Binaries): Adjust HP-UX Porting Center link.
|
8104 |
|
|
(Binaries): Adjust Free Software Foundation ordering link.
|
8105 |
|
|
|
8106 |
|
|
2005-08-03 Andrew Pinski
|
8107 |
|
|
|
8108 |
|
|
* convert.c (convert_to_integer): Use fold_build1 instead of
|
8109 |
|
|
build1 when converting an integer to an integer.
|
8110 |
|
|
|
8111 |
|
|
2005-08-02 Richard Henderson
|
8112 |
|
|
|
8113 |
|
|
* combine.c (combine_instructions): Don't use reg_equal/equiv
|
8114 |
|
|
results if the mode doesn't match.
|
8115 |
|
|
|
8116 |
|
|
2005-08-02 Mark Mitchell
|
8117 |
|
|
|
8118 |
|
|
* config/i386/t-mingw32 (NATIVE_SYSTEM_HEADER_DIR): Set it.
|
8119 |
|
|
* doc/fragments.texi (NATIVE_SYSTEM_HEADER_DIR): Document it.
|
8120 |
|
|
|
8121 |
|
|
2005-08-02 Richard Henderson
|
8122 |
|
|
|
8123 |
|
|
PR 23196
|
8124 |
|
|
* explow.c (memory_address): Remove special-case for
|
8125 |
|
|
virtual_stack_vars_rtx and virtual_incoming_args_rtx.
|
8126 |
|
|
|
8127 |
|
|
2005-08-02 Diego Novillo
|
8128 |
|
|
|
8129 |
|
|
PR 23164
|
8130 |
|
|
* tree-cfgcleanup.c (cleanup_tree_cfg): Do not limit the
|
8131 |
|
|
number of calls to cleanup_tree_cfg_1.
|
8132 |
|
|
|
8133 |
|
|
2005-08-02 Martin Reinecke
|
8134 |
|
|
|
8135 |
|
|
* doc/invoke.texi: document file extensions .F90 and .F95
|
8136 |
|
|
|
8137 |
|
|
2005-08-02 Richard Guenther
|
8138 |
|
|
|
8139 |
|
|
* fold-const.c (tree_expr_nonnegative_p): frexp(x, &e) is
|
8140 |
|
|
positive if its first argument is positive.
|
8141 |
|
|
|
8142 |
|
|
2005-08-02 Richard Guenther
|
8143 |
|
|
|
8144 |
|
|
PR tree-optimization/23177
|
8145 |
|
|
* tree-ssa-operands.c (get_tmr_operands): Use get_expr_operands
|
8146 |
|
|
on TMR_TAG.
|
8147 |
|
|
|
8148 |
|
|
2005-08-02 James A. Morrison
|
8149 |
|
|
|
8150 |
|
|
PR tree-optimization/23129
|
8151 |
|
|
* tree-vrp.c (extract_range_from_binary_expr): Set value range to
|
8152 |
|
|
varying for divisions with anti-ranges.
|
8153 |
|
|
|
8154 |
|
|
2005-08-02 Jan Hubicka
|
8155 |
|
|
|
8156 |
|
|
* tree-ssa-dom.c (thread_across_edge): Remove updating here.
|
8157 |
|
|
* tree-ssa-threadupdate.c (thread_block): Add it here.
|
8158 |
|
|
|
8159 |
|
|
2005-08-01 James E Wilson
|
8160 |
|
|
|
8161 |
|
|
* config/mips/mips.c (mips_encode_section_info, mips_attribute_table,
|
8162 |
|
|
TARGET_ENCODE_SECTION_INFO, TARGET_ATTRIBUTE_TABLE): New.
|
8163 |
|
|
* config/mips/mips.h (SYMBOL_FLAG_LONG_CALL, SYMBOL_REF_LONG_CALL_P):
|
8164 |
|
|
New.
|
8165 |
|
|
* config/mips/predicates.md (const_call_insn_operand): Add check for
|
8166 |
|
|
SYMBOL_REF_LONG_CALL_P.
|
8167 |
|
|
* doc/extend.texi (long_call): Document the new attribute.
|
8168 |
|
|
|
8169 |
|
|
2005-08-01 Ian Lance Taylor
|
8170 |
|
|
Richard Henderson
|
8171 |
|
|
|
8172 |
|
|
* Makefile.in (RTL_BASE_H): Add real.h.
|
8173 |
|
|
* real.h (REAL_VALUE_FROM_CONST_DOUBLE): Use structure copy
|
8174 |
|
|
instead of memcpy.
|
8175 |
|
|
* emit-rtl.c (const_double_from_real_value): Likewise; use rtx.u.rv
|
8176 |
|
|
directly.
|
8177 |
|
|
* rtl.c (rtl_check_failed_code_mode): New.
|
8178 |
|
|
* rtl.h (struct rtx_def): Add u.rv.
|
8179 |
|
|
(XCMWINT, XCNMPRV): New.
|
8180 |
|
|
(CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH): Use XCMWINT.
|
8181 |
|
|
(CONST_DOUBLE_REAL_VALUE): Use XCNMPRV; constify.
|
8182 |
|
|
|
8183 |
|
|
2005-08-01 Richard Henderson
|
8184 |
|
|
|
8185 |
|
|
* dwarf2out.c (mem_loc_descriptor): Use XEXP, not SUBREG_REG,
|
8186 |
|
|
with auto-inc codes.
|
8187 |
|
|
|
8188 |
|
|
* config/alpha/predicates.md (and_operand): Test mode of CONST_DOUBLE.
|
8189 |
|
|
|
8190 |
|
|
2005-08-01 Jan Hubicka
|
8191 |
|
|
|
8192 |
|
|
* i386-protos.h (asm_preferred_eh_data_format): Declare.
|
8193 |
|
|
* i386.c: Include dwarf2.h
|
8194 |
|
|
(asm_preferred_eh_data_format): New.
|
8195 |
|
|
* i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Move offline.
|
8196 |
|
|
|
8197 |
|
|
2005-08-01 Ian Lance Taylor
|
8198 |
|
|
|
8199 |
|
|
* config/host-linux.c (linux_gt_pch_get_address): Add new name
|
8200 |
|
|
randomize_va_space for virtual address randomization control.
|
8201 |
|
|
|
8202 |
|
|
2005-08-01 Steven Bosscher
|
8203 |
|
|
|
8204 |
|
|
* common.opt (flag_ipa_cp): Put in right place to maintain
|
8205 |
|
|
alphabetic sort.
|
8206 |
|
|
|
8207 |
|
|
2005-08-01 Jan Hubicka
|
8208 |
|
|
|
8209 |
|
|
* profile.c (compute_value_histograms): Fix thinko.
|
8210 |
|
|
* value-prof.c: Include toplev.h
|
8211 |
|
|
(check_counter): New function.
|
8212 |
|
|
(tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform,
|
8213 |
|
|
tree_mod_subtract_transform): Add sanity check.
|
8214 |
|
|
|
8215 |
|
|
2005-08-01 Richard Guenther
|
8216 |
|
|
|
8217 |
|
|
PR tree-optimization/23133
|
8218 |
|
|
* tree-ssa-math-opts.c (execute_cse_reciprocals): Walk
|
8219 |
|
|
current functions parameter decls to find defs to cse
|
8220 |
|
|
reciprocals of.
|
8221 |
|
|
|
8222 |
|
|
2005-08-01 Richard Guenther
|
8223 |
|
|
|
8224 |
|
|
PR tree-optimization/23109
|
8225 |
|
|
* tree-ssa-math-opts.c (execute_cse_reciprocals_1):
|
8226 |
|
|
If trapping math is in effect, use post-dominator information
|
8227 |
|
|
to check if we'd in any case reach a trapping point before
|
8228 |
|
|
doing the reciprocal insertion.
|
8229 |
|
|
(execute_cse_reciprocals): Compute post-dominators, if necessary.
|
8230 |
|
|
* tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV
|
8231 |
|
|
expressions are invariant only if trapping math is not in effect.
|
8232 |
|
|
|
8233 |
|
|
2005-08-01 Razya Ladelsky
|
8234 |
|
|
|
8235 |
|
|
* cgraph.h (update_call_expr, cgraph_copy_node_for_versioning,
|
8236 |
|
|
cgraph_function_versioning): New declarations.
|
8237 |
|
|
* cgraphunit.c: Add include to ipa-prop.h.
|
8238 |
|
|
(update_call_expr, cgraph_copy_node_for_versioning,
|
8239 |
|
|
cgraph_function_versioning): New functions.
|
8240 |
|
|
* integrate.c (copy_decl_for_inlining): Remove.
|
8241 |
|
|
* ipa-prop.h (ipa_replace_map): New struct.
|
8242 |
|
|
(struct ipa_node): Add ipcp_orig_node, count_scale, new fields.
|
8243 |
|
|
* ipa-cp.c (ipcp_method_orig_node, ipcp_method_is_cloned,
|
8244 |
|
|
ipcp_method_set_orig_node, ipcp_cloned_create, ipcp_method_get_scale,
|
8245 |
|
|
ipcp_method_set_scale, ipcp_method_compute_scale, ipcp_after_propagate,
|
8246 |
|
|
ipcp_iterate_stage, ipcp_method_scale_print,
|
8247 |
|
|
ipcp_profile_mt_count_print, ipcp_profile_cs_count_print,
|
8248 |
|
|
ipcp_profile_edge_print, ipcp_profile_bb_print , ipcp_profile_print,
|
8249 |
|
|
ipcp_replace_map_create, ipcp_redirect, ipcp_update_callgraph,
|
8250 |
|
|
ipcp_update_bb_counts, ipcp_update_profiling,
|
8251 |
|
|
ipcp_update_edges_counts): New functions.
|
8252 |
|
|
(ipcp_method_cval_init): Remove restriction regarding local methods.
|
8253 |
|
|
(ipcp_init_stage): Add ipcp_method_compute_scale.
|
8254 |
|
|
(ipcp_insert_stage): Add versioning.
|
8255 |
|
|
(ipcp_structures_print): Add ipcp_method_scale_print.
|
8256 |
|
|
(ipcp_driver): Dump profiling info.
|
8257 |
|
|
* Makefile.in: Remove integrate.h dependency from tree-inline.o.
|
8258 |
|
|
Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o.
|
8259 |
|
|
* tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h.
|
8260 |
|
|
(struct inline_data): Add versioning_p, ipa_info, new fields.
|
8261 |
|
|
(remap_decl, mark_local_for_remap_r, setup_one_parameter,
|
8262 |
|
|
declare_return_variable): Replace calls to copy_decl_for_inlining with
|
8263 |
|
|
copy_decl_for_dup.
|
8264 |
|
|
(copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add
|
8265 |
|
|
versioning support.
|
8266 |
|
|
(copy_decl_for_dup): Rename from copy_decl_for_inlining.
|
8267 |
|
|
Add argument VERSIONING.
|
8268 |
|
|
(copy_arguments_for_versioning, copy_static_chain,
|
8269 |
|
|
function_versionable_p, tree_versionable_function_p,
|
8270 |
|
|
tree_function_versioning, replace_ref_tree): New functions.
|
8271 |
|
|
* tree-inline.h: Include varray.h.
|
8272 |
|
|
(tree_versionable_function_p, tree_function_versioning,
|
8273 |
|
|
tree copy_decl_for_dup): New declarations.
|
8274 |
|
|
|
8275 |
|
|
2005-08-01 Razya Ladelsky
|
8276 |
|
|
|
8277 |
|
|
* ipa-cp.c: New file. Contains IPCP specific functionality.
|
8278 |
|
|
* ipa-prop.h: New file. Contains structures/definitions that can be
|
8279 |
|
|
used by several interprocedural data flow optimizations (and also IPCP).
|
8280 |
|
|
* ipa-prop.c: New file.
|
8281 |
|
|
* Makefile.in: Add ipa-cp.c, ipa-prop.h, ipa-prop.c.
|
8282 |
|
|
* common.opt: Add ipa-cp flag.
|
8283 |
|
|
* timevar.def: Add IPCP optimization.
|
8284 |
|
|
* tree-optimize.c (init_tree_optimization_passes): Schedule
|
8285 |
|
|
pass_ipa_cp.
|
8286 |
|
|
* tree-pass.h (pass_ipa_cp): Declare.
|
8287 |
|
|
|
8288 |
|
|
2005-08-01 Kazu Hirata
|
8289 |
|
|
|
8290 |
|
|
* dwarf2out.c, fold-const.c, ipa-type-escape.c,
|
8291 |
|
|
loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c,
|
8292 |
|
|
tree-sra.c, config/arm/arm.c, config/crx/crx.c,
|
8293 |
|
|
config/i386/i386.c, config/mips/mips.h,
|
8294 |
|
|
config/rs6000/rs6000.h, config/sh/sh.c,
|
8295 |
|
|
config/stormy16/stormy16.c: Fix comment typos.
|
8296 |
|
|
|
8297 |
|
|
2005-08-01 Joseph S. Myers
|
8298 |
|
|
|
8299 |
|
|
PR c/22311
|
8300 |
|
|
* c-typeck.c (build_binary_op): Use common_type wrapper on
|
8301 |
|
|
shortened types.
|
8302 |
|
|
(common_type): Update comment.
|
8303 |
|
|
|
8304 |
|
|
2005-07-31 Steven Bosscher
|
8305 |
|
|
|
8306 |
|
|
PR target/23095
|
8307 |
|
|
* common.opt (flag_gcse_after_reload): Don't initialize to 2.
|
8308 |
|
|
(flag_rerun_cse_after_loop): Initialize this to 2 instead.
|
8309 |
|
|
* postreload-gcse.c (hash_scan_set): Do not consider stack regs.
|
8310 |
|
|
|
8311 |
|
|
2005-07-31 Jan Hubicka
|
8312 |
|
|
|
8313 |
|
|
* pretty-print.h (pp_widest_integer): New macro.
|
8314 |
|
|
* tree-pretty-print.c (dump_bb_header): Print BB frequencies and
|
8315 |
|
|
counts.
|
8316 |
|
|
|
8317 |
|
|
2005-07-31 Jan Hubicka
|
8318 |
|
|
|
8319 |
|
|
* output.h (enum section_category): Export from varasm.c
|
8320 |
|
|
(categorize_decl_for_section): Likewise.
|
8321 |
|
|
* varasm.c (enum section_category): Kill.
|
8322 |
|
|
(categorize_decl_for_section): Make global.
|
8323 |
|
|
* i386-protos.h (x86_output_aligned_bss, x86_elf_aligned_common):
|
8324 |
|
|
Declare.
|
8325 |
|
|
* i386.c (ix86_section_threshold): New static variable.
|
8326 |
|
|
(ix86_in_large_data_p, ix86_encode_section_info,
|
8327 |
|
|
x86_64_elf_unique_section,
|
8328 |
|
|
x86_64_elf_select_section): New functions.
|
8329 |
|
|
(TARGET_ENCODE_SECTION_INFO): Define
|
8330 |
|
|
(override_options): Enable medium model for PIC.
|
8331 |
|
|
(ix86_expand_prologue): Expand gen_set_got_rex64.
|
8332 |
|
|
(legitimate_constant_p): Handle new UNSPECs.
|
8333 |
|
|
(legitimate_pic_address_disp_p): Likewise.
|
8334 |
|
|
(legitimize_pic_address): Lower MEDIUM model addressing.
|
8335 |
|
|
* i386.h (PIC_OFFSET_TABLE_REGNUM): Set for medium model PIC.
|
8336 |
|
|
(enum cmodel): Add MEDIUM_PIC.
|
8337 |
|
|
(SYMBOL_REF_FAR_ADDR_P): New macro.
|
8338 |
|
|
(SYMBOL_FLAG_FAR_ADDR): New flag.
|
8339 |
|
|
* i386.md (movdi): Support medium model.
|
8340 |
|
|
(set_got_rex64): New pattern.
|
8341 |
|
|
* i386.opt (mlarge-data-threshold): New flag.
|
8342 |
|
|
* predicates.md (zext_operand/sext_operand): Deal with medium model.
|
8343 |
|
|
* x86-64.h (ASM_OUTPUT_ALIGNED_BSS): Use x86_output_aligned_bss.
|
8344 |
|
|
(ASM_OUTPUT_ALIGNED_COMMON, TARGET_ASM_SELECT_SECTION,
|
8345 |
|
|
TARGET_ASM_UNIQUE_SECTION): New.
|
8346 |
|
|
|
8347 |
|
|
* invoke.texi (-mlarge_data_threshold): Document
|
8348 |
|
|
|
8349 |
|
|
2005-07-31 Jan Hubicka
|
8350 |
|
|
|
8351 |
|
|
* tree-outof-ssa.c (coalesce_ssa_name): Use coalesce_cost.
|
8352 |
|
|
(coalesce_vars): Likewise.
|
8353 |
|
|
* tree-ssa-live.c (coalesce_cost): New.
|
8354 |
|
|
(build_tree_conflict_graph): Use coalesce_cost.
|
8355 |
|
|
* tree-ssa-live.h (coalesce_cost): Declare.
|
8356 |
|
|
|
8357 |
|
|
2005-07-30 Richard Earnshaw
|
8358 |
|
|
|
8359 |
|
|
* arm.md (all peepholes for post-increment operations): Delete.
|
8360 |
|
|
(strqi_preinc, strqi_predec, loadqi_preinc, loadqi_predec)
|
8361 |
|
|
(loadqisi_preinc, loadqisi_predec, strsi_preinc, strsi_predec)
|
8362 |
|
|
(loadsi_preinc, loadsi_predec, strqi_shiftpreinc, strqi_shiftpredec)
|
8363 |
|
|
(loadqi_shiftpreinc, loadqi_shiftpredec, strsi_shiftpreinc)
|
8364 |
|
|
(strsishift_predec, loadsi_shiftpreinc, loadsi_shiftpredec): Delete.
|
8365 |
|
|
|
8366 |
|
|
2005-07-30 James A. Morrison
|
8367 |
|
|
|
8368 |
|
|
* fold-const.c (tree_expr_nonnegative_p): Always return true for
|
8369 |
|
|
non-integral types.
|
8370 |
|
|
|
8371 |
|
|
2005-07-29 Wolfgang Bangerth
|
8372 |
|
|
|
8373 |
|
|
PR target/22582
|
8374 |
|
|
* doc/invoke.texi: Document -rdynamic.
|
8375 |
|
|
|
8376 |
|
|
2005-07-30 Joseph S. Myers
|
8377 |
|
|
|
8378 |
|
|
PR c/23143
|
8379 |
|
|
* c-parser.c (c_parser_parms_list_declarator): Call
|
8380 |
|
|
mark_forward_parm_decls.
|
8381 |
|
|
* c-decl.c (merge_decls): Only check DECL_IN_SYSTEM_HEADER for
|
8382 |
|
|
decls with visibility structure.
|
8383 |
|
|
|
8384 |
|
|
2005-07-30 Paul Brook
|
8385 |
|
|
|
8386 |
|
|
* config/arm/arm.c (arm_coproc_mem_operand): Fix inaccurate comment.
|
8387 |
|
|
|
8388 |
|
|
2005-07-30 Paul Brook
|
8389 |
|
|
|
8390 |
|
|
* config/arm/arm-protos.h (arm_canonicalize_comparison): Update
|
8391 |
|
|
prototype.
|
8392 |
|
|
* config/arm/arm.c (arm_canonicalize_comparison): Use correct limit
|
8393 |
|
|
value for mode.
|
8394 |
|
|
* config/arm/arm.h (CANONICALIZE_COMPARISON): Pass mode argument.
|
8395 |
|
|
|
8396 |
|
|
2005-07-29 Joseph S. Myers
|
8397 |
|
|
|
8398 |
|
|
PR c/529
|
8399 |
|
|
* c-decl.c (warn_if_shadowing): Don't check for PARM_DECL in
|
8400 |
|
|
nested function declarators.
|
8401 |
|
|
(pushdecl): Don't call warn_if_shadowing for PARM_DECL.
|
8402 |
|
|
(grokparms): Call warn_if_shadowing for parameters used within the
|
8403 |
|
|
parameter list.
|
8404 |
|
|
(store_parm_decls_newstyle): Call warn_if_shadowing for parameters
|
8405 |
|
|
not used within the parameter list.
|
8406 |
|
|
(store_parm_decls_oldstyle): Call warn_if_shadowing for parameters.
|
8407 |
|
|
|
8408 |
|
|
2005-07-30 Jan Hubicka
|
8409 |
|
|
|
8410 |
|
|
* expr.c (expand_expr_real_1): Do not load mem targets into register.
|
8411 |
|
|
* i386.c (ix86_fixup_binary_operands): Likewise.
|
8412 |
|
|
(ix86_expand_unary_operator): Likewise.
|
8413 |
|
|
(ix86_expand_fp_absneg_operator): Likewise.
|
8414 |
|
|
* optabs.c (expand_vec_cond_expr): Validate dest.
|
8415 |
|
|
|
8416 |
|
|
2005-07-29 Joseph S. Myers
|
8417 |
|
|
|
8418 |
|
|
PR c/21720
|
8419 |
|
|
* real.c (real_from_string): Also set last bit if there is a
|
8420 |
|
|
nonzero hex digit beyond GCC's internal precision after ".".
|
8421 |
|
|
|
8422 |
|
|
2005-07-29 David Edelsohn
|
8423 |
|
|
|
8424 |
|
|
* config/rs6000/altivec.md: Convert UNSPEC numerical values to
|
8425 |
|
|
define_constants. Change duplicate values to unassigned numbers.
|
8426 |
|
|
Change UNSPEC_SUBS to UNSPEC_VSUBS.
|
8427 |
|
|
(*altivec_vspltsf): New.
|
8428 |
|
|
(altivec_vperm_v4sf): Delete.
|
8429 |
|
|
(altivec_vperm_): Use mode macro V.
|
8430 |
|
|
(altivec_vsldoi_): Convert to mode macro pattern.
|
8431 |
|
|
(altivec_predicate_v4sf): Delete.
|
8432 |
|
|
(altivec_predicate_): Use mode macro V.
|
8433 |
|
|
(*altivec_lvesfx): New.
|
8434 |
|
|
(*altivec_stvesfx): New.
|
8435 |
|
|
(vec_realign_load_v4sf): Delete.
|
8436 |
|
|
(vec_realign_load_): Use mode macro V.
|
8437 |
|
|
* config/rs6000/rs6000.c (generate_set_vrsave): Use
|
8438 |
|
|
UNSPECV_SET_VRSAVE.
|
8439 |
|
|
|
8440 |
|
|
2005-07-29 Mark Mitchell
|
8441 |
|
|
|
8442 |
|
|
PR bootstrap/23131
|
8443 |
|
|
* configure.ac (SYSTEM_HEADER_DIR): Avoid setting to empty
|
8444 |
|
|
string.
|
8445 |
|
|
* configure: Regenerated.
|
8446 |
|
|
|
8447 |
|
|
2005-07-29 Paul Brook
|
8448 |
|
|
|
8449 |
|
|
* doc/install.texi: Add link to GFortran binaries wiki page.
|
8450 |
|
|
|
8451 |
|
|
2005-07-29 David Ung
|
8452 |
|
|
|
8453 |
|
|
* config/mips/mips.c (mips_cpu_info_table): Add 5kf to the table.
|
8454 |
|
|
(mips_rtx_cost_data): Add costs for 5kc and 5kf.
|
8455 |
|
|
* config/mips/mips.h (processor_type): Add PROCESSOR_5KF.
|
8456 |
|
|
* config/mips/mips.md (cpu): Add 5kf name.
|
8457 |
|
|
(includes): Includes 5k.md.
|
8458 |
|
|
* config/mips/5k.md: New DFA pipeline for the 5kc/5kf.
|
8459 |
|
|
* doc/invoke.texi (MIPS Options): Updated cpu name supported with
|
8460 |
|
|
-march flag.
|
8461 |
|
|
|
8462 |
|
|
2005-07-29 Diego Novillo
|
8463 |
|
|
|
8464 |
|
|
PR 22550
|
8465 |
|
|
* tree-cfgcleanup.c (cleanup_tree_cfg_1): Extract from ...
|
8466 |
|
|
(cleanup_tree_cfg): ... here.
|
8467 |
|
|
Call cleanup_tree_cfg_1 until there are no more cleanups to
|
8468 |
|
|
do.
|
8469 |
|
|
|
8470 |
|
|
2005-07-29 James A. Morrison
|
8471 |
|
|
|
8472 |
|
|
* tree-vrp.c (compare_range_with_value): Return true or false
|
8473 |
|
|
for ~[VAL_1, VAL_2] OP VAL if VAL_1 <= VAL <= VAL_2 for NE_EXPR and
|
8474 |
|
|
EQ_EXPR respectively.
|
8475 |
|
|
|
8476 |
|
|
2005-07-29 Kazu Hirata
|
8477 |
|
|
|
8478 |
|
|
* cfg.c, tree-complex.c, config/frv/frv.c, config/i386/i386.c:
|
8479 |
|
|
Fix comment typos.
|
8480 |
|
|
|
8481 |
|
|
2005-07-29 Diego Novillo
|
8482 |
|
|
|
8483 |
|
|
* tree-ssa-dom.c (struct opt_stats_d): Add field num_iterations.
|
8484 |
|
|
(tree_ssa_dominator_optimize): Increment it.
|
8485 |
|
|
(dump_dominator_optimization_stats): Print it.
|
8486 |
|
|
|
8487 |
|
|
2005-07-29 Richard Earnshaw
|
8488 |
|
|
Steven Bosscher
|
8489 |
|
|
|
8490 |
|
|
PR rtl-optimization/23117
|
8491 |
|
|
* sched-rgn.c (add_branch_dependences): Handle COND_EXEC correctly
|
8492 |
|
|
when head == tail. Tidy comment.
|
8493 |
|
|
|
8494 |
|
|
2005-07-28 Richard Henderson
|
8495 |
|
|
|
8496 |
|
|
* cse.c (exp_equiv_p): Special case CONST_DOUBLE.
|
8497 |
|
|
* cselib.c (rtx_equal_for_cselib_p): Likewise.
|
8498 |
|
|
* jump.c (rtx_renumbered_equal_p): Likewise.
|
8499 |
|
|
* loop.c (rtx_equal_for_loop_p): Tidy and special case PC, CC0,
|
8500 |
|
|
CONST_INT and CONST_DOUBLE.
|
8501 |
|
|
(rtx_equal_for_prefetch_p): Likewise, plus LABEL_REF.
|
8502 |
|
|
* reload.c (operands_match_p): Special case CONST_INT and
|
8503 |
|
|
CONST_DOUBLE; check mode earlier.
|
8504 |
|
|
|
8505 |
|
|
2005-07-29 Joseph S. Myers
|
8506 |
|
|
|
8507 |
|
|
PR c/22240
|
8508 |
|
|
* c-typeck.c (convert_for_assignment): Do not check
|
8509 |
|
|
DECL_IN_SYSTEM_HEADER on NULL fundecl.
|
8510 |
|
|
|
8511 |
|
|
2005-07-29 Joseph S. Myers
|
8512 |
|
|
|
8513 |
|
|
PR c/22192
|
8514 |
|
|
* c-typeck.c (composite_type): Prefer constant size arrays to
|
8515 |
|
|
VLAs.
|
8516 |
|
|
|
8517 |
|
|
2005-07-29 Joseph S. Myers
|
8518 |
|
|
|
8519 |
|
|
PR c/21720
|
8520 |
|
|
* real.c (real_from_string): Set last bit if there is a nonzero
|
8521 |
|
|
hex digit beyond GCC's internal precision.
|
8522 |
|
|
|
8523 |
|
|
2005-07-28 Richard Henderson
|
8524 |
|
|
|
8525 |
|
|
PR rtl-opt/22619
|
8526 |
|
|
* cfgcleanup.c (try_forward_edges): Watch out for end of
|
8527 |
|
|
insn chain.
|
8528 |
|
|
|
8529 |
|
|
2005-07-28 James E Wilson
|
8530 |
|
|
|
8531 |
|
|
PR c/23106
|
8532 |
|
|
* doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording.
|
8533 |
|
|
|
8534 |
|
|
2005-07-28 Jan Hubicka
|
8535 |
|
|
|
8536 |
|
|
* Makefile.in (rtl-profile.o): Kill all traces of it.
|
8537 |
|
|
* common.opt (fspeculative-prefetching, ftree-based-profiling): Kill.
|
8538 |
|
|
* coverage.h (rtl_coverage_counter_ref): Kill.
|
8539 |
|
|
* opts.c (flag_speculative_prefetching_set): Kill.
|
8540 |
|
|
(flag_loop_optimize_set): New.
|
8541 |
|
|
(common_handle_option): Disable loop optimizer when profiling;
|
8542 |
|
|
do not handle speculative prefetching.
|
8543 |
|
|
* passes.c (init_optimization_passes): Replace pass_profiling combo
|
8544 |
|
|
by branch_prob pass.
|
8545 |
|
|
* profile.c (compute_value_histograms): Update for simplified value
|
8546 |
|
|
profiles.
|
8547 |
|
|
(rtl_register_profile_hooks): Kill.
|
8548 |
|
|
(pass_profiling): Kill.
|
8549 |
|
|
(rest_of_handle_branch_prob): Do not profile.
|
8550 |
|
|
* toplev.c (process_options): Remove speculative prefetching.
|
8551 |
|
|
* toplev.h (flag_tree_based_profiling): Kill.
|
8552 |
|
|
* tree-profile.c (prepare_instrumented_value,
|
8553 |
|
|
tree_gen_interval_profiler, tree_gen_pow2_profiler,
|
8554 |
|
|
tree_gen_one_value_profiler, do_tree_profiling): Update for
|
8555 |
|
|
simplified datastructures.
|
8556 |
|
|
* value-prof.c: Add comment that speculative prefetching was dropped;
|
8557 |
|
|
update rest of file for simplified datastructures.
|
8558 |
|
|
(NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX,
|
8559 |
|
|
rtl_divmod_values_to_profile, insn_prefetch_values_to_profile,
|
8560 |
|
|
find_mem_reference_1, find_mem_reference_2, find_mem_reference,
|
8561 |
|
|
rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2,
|
8562 |
|
|
rtl_mod_subtract, gen_speculative_prefetch,
|
8563 |
|
|
rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform,
|
8564 |
|
|
rtl_mod_subtract_transform, speculative_prefetching_transform): Kill.
|
8565 |
|
|
(gate_handle_value_profile_transformations,
|
8566 |
|
|
rest_of_handle_value_profile_transformations,
|
8567 |
|
|
pass_value_profile_transformations): Kill.
|
8568 |
|
|
* value-prof.h (histogram_value_t): Remove IL based unions.
|
8569 |
|
|
(rtl_register_value_prof_hooks, rtl_register_profile_hooks,
|
8570 |
|
|
rtl_profile_hooks): Remove hooks.
|
8571 |
|
|
|
8572 |
|
|
* invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill.
|
8573 |
|
|
|
8574 |
|
|
* cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument.
|
8575 |
|
|
(cgraph_clone_node): Likewise.
|
8576 |
|
|
* cgraph.h (cgraph_clone_edge): Update prototype.
|
8577 |
|
|
(cgraph_clone_node): Likewise.
|
8578 |
|
|
* ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
|
8579 |
|
|
cgraph_clone_node.
|
8580 |
|
|
(lookup_recursive_calls): Consider profile.
|
8581 |
|
|
(cgraph_decide_recursive_inlining): Fix updating; use new
|
8582 |
|
|
probability argument; use profile.
|
8583 |
|
|
* params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New.
|
8584 |
|
|
* tree-inline.c (copy_bb): Update clal of clone_edge.
|
8585 |
|
|
* tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node.
|
8586 |
|
|
|
8587 |
|
|
* invoke.texi (min-inline-recursive-probability): Document.
|
8588 |
|
|
|
8589 |
|
|
2005-07-28 Gerald Pfeifer
|
8590 |
|
|
|
8591 |
|
|
* doc/install.texi (Configuration): Update Valgrind homepage.
|
8592 |
|
|
|
8593 |
|
|
2005-07-28 Richard Henderson
|
8594 |
|
|
|
8595 |
|
|
PR middle-end/21362
|
8596 |
|
|
* cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on
|
8597 |
|
|
labels we want to delete.
|
8598 |
|
|
(cfg_layout_merge_blocks): Likewise.
|
8599 |
|
|
|
8600 |
|
|
2005-07-28 Richard Henderson
|
8601 |
|
|
|
8602 |
|
|
PR target/17692
|
8603 |
|
|
* config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note
|
8604 |
|
|
when expanding to nothing.
|
8605 |
|
|
|
8606 |
|
|
2005-07-28 Josh Conner
|
8607 |
|
|
|
8608 |
|
|
* ipa-inline.c (update_caller_keys): Fix estimated_growth caching.
|
8609 |
|
|
(cgraph_decide_inlining_of_small_functions): Likewise.
|
8610 |
|
|
|
8611 |
|
|
2005-07-28 Josh Conner
|
8612 |
|
|
|
8613 |
|
|
* ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift
|
8614 |
|
|
direction of badness if negative.
|
8615 |
|
|
(cgraph_default_inline_p): Add reason to parameters, and assign it
|
8616 |
|
|
a value.
|
8617 |
|
|
(cgraph_decide_inlining_of_small_functions): New parameter in call
|
8618 |
|
|
to cgraph_default_inline_p.
|
8619 |
|
|
(cgraph_decide_inlining_incrementally): Likewise.
|
8620 |
|
|
* cgraphunit.c (decide_is_function_needed): Likewise.
|
8621 |
|
|
* cgraph.h (cgraph_default_inline_p): Likewise.
|
8622 |
|
|
|
8623 |
|
|
2005-07-28 Volker Reichelt
|
8624 |
|
|
|
8625 |
|
|
* builtins.c: Fix comment typo(s).
|
8626 |
|
|
* genautomata.c: Likewise.
|
8627 |
|
|
* gimplify.c: Likewise.
|
8628 |
|
|
* tree-dfa.c: Likewise.
|
8629 |
|
|
* tree-flow-inline.h: Likewise.
|
8630 |
|
|
* tree-into-ssa.c: Likewise.
|
8631 |
|
|
* tree-ssa-alias.c: Likewise.
|
8632 |
|
|
* tree-ssa-ccp.c: Likewise.
|
8633 |
|
|
* tree-ssa-copy.c: Likewise.
|
8634 |
|
|
* tree-ssa-dce.c: Likewise.
|
8635 |
|
|
* tree-ssa-dom.c: Likewise.
|
8636 |
|
|
* tree-ssa-operands.c: Likewise.
|
8637 |
|
|
* tree-tailcall.c: Likewise.
|
8638 |
|
|
* tree-vectorizer.c: Likewise.
|
8639 |
|
|
* tree-vrp.c: Likewise.
|
8640 |
|
|
* tree.c: Likewise.
|
8641 |
|
|
|
8642 |
|
|
2005-07-28 Jeff Law
|
8643 |
|
|
|
8644 |
|
|
* tree-vrp.c (test_for_singularity): Extracted from ...
|
8645 |
|
|
(simplify_cond_using_ranges): Attempt to simplify a relational
|
8646 |
|
|
test to NE_EXPR. Dump information when a COND_EXPR is simplified.
|
8647 |
|
|
|
8648 |
|
|
2005-07-28 Dorit Nuzman
|
8649 |
|
|
|
8650 |
|
|
PR tree-optimization/22506
|
8651 |
|
|
* tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed
|
8652 |
|
|
phis whose argument is constant.
|
8653 |
|
|
|
8654 |
|
|
2005-07-28 J"orn Rennecke
|
8655 |
|
|
|
8656 |
|
|
PR rtl-optimization/18992
|
8657 |
|
|
Back out this patch:
|
8658 |
|
|
2003-10-08 John David Anglin
|
8659 |
|
|
PR optimization/12142
|
8660 |
|
|
* cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
|
8661 |
|
|
uses of the register in the SET_SRC. Remove unnecessary argument.
|
8662 |
|
|
|
8663 |
|
|
Replace it with this:
|
8664 |
|
|
* cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases,
|
8665 |
|
|
if flag_non_call_exceptions is set and the insn may trap, pass
|
8666 |
|
|
pc_rtx as dest for recursion.
|
8667 |
|
|
In SET_SRC part of SET case, if dest is already set, pass it down
|
8668 |
|
|
unchanged.
|
8669 |
|
|
|
8670 |
|
|
2005-07-28 Jan Hubicka
|
8671 |
|
|
|
8672 |
|
|
* cfg.c (update_bb_profile_for_threading): Use RDIV.
|
8673 |
|
|
(scale_bbs_frequencies_int): Likewise, assert for possible overflow.
|
8674 |
|
|
(scale_bbs_frequencies_gcov_type): Be more curefull about overflows and
|
8675 |
|
|
roundoff errors.
|
8676 |
|
|
* tree-cfg.c (tree_duplicate_sese_region): Use counts for updating
|
8677 |
|
|
profile when available.
|
8678 |
|
|
|
8679 |
|
|
2005-07-28 Jan Beulich
|
8680 |
|
|
|
8681 |
|
|
* config/ia64/ia64.c (ia64_load_pair_ok): New.
|
8682 |
|
|
(ia64_print_operand): Describe and handle 'X'.
|
8683 |
|
|
(ia64_register_move_cost): Also handle FP_REGS.
|
8684 |
|
|
(ia64_preferred_reload_class): Likewise.
|
8685 |
|
|
(ia64_secondary_reload_class): Likewise.
|
8686 |
|
|
(ia64_dependencies_evaluation_hook): New local variable c. Initialize
|
8687 |
|
|
it. Also check for ITANIUM_CLASS_FLDP.
|
8688 |
|
|
* config/ia64/ia64.h (FP_REGNO_P): New.
|
8689 |
|
|
(HARD_REGNO_MODE_OK): Remove explusion of TImode.
|
8690 |
|
|
(reg_class): Add FP_REGS.
|
8691 |
|
|
(REG_CLASS_NAMES): Adjust for it.
|
8692 |
|
|
(REG_CLASS_CONTENTS): Likewise.
|
8693 |
|
|
(REGNO_REG_CLASS): Use FP_REGS where appropriate.
|
8694 |
|
|
(REG_CLASS_FROM_LETTER): Handle 'x'.
|
8695 |
|
|
(CLASS_MAX_NREGS): Handle FP_REGS.
|
8696 |
|
|
(MEMORY_MOVE_COST): Likewise.
|
8697 |
|
|
* config/ia64/ia64.md (itanium_class): Add fldp.
|
8698 |
|
|
(type): Handle fldp.
|
8699 |
|
|
(movti_internal): More allowable operand combinations. Use ldfp8 when
|
8700 |
|
|
splitting unnecessary. Remove predicable attribute. Adjust
|
8701 |
|
|
itanium_class attribute.
|
8702 |
|
|
(smuldi3_highpart): Remove outdated comment.
|
8703 |
|
|
(mulditi3, umulditi3, rotlti3): New expanders.
|
8704 |
|
|
(addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns.
|
8705 |
|
|
(absti2): Disabled new insn for future reference.
|
8706 |
|
|
Respective new splitters.
|
8707 |
|
|
* config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations.
|
8708 |
|
|
* config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise.
|
8709 |
|
|
* config/ia64/ia64-protos.h (ia64_load_pair_ok): New.
|
8710 |
|
|
|
8711 |
|
|
2005-07-25 James A. Morrison
|
8712 |
|
|
|
8713 |
|
|
PR rtl-optimization/23047
|
8714 |
|
|
* simplify-rtx.c (simplify_const_relational_operation): Respect
|
8715 |
|
|
flag_wrapv for comparisons with ABS.
|
8716 |
|
|
|
8717 |
|
|
2005-07-27 James A. Morrison
|
8718 |
|
|
|
8719 |
|
|
PR tree-optimization/22493
|
8720 |
|
|
* tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and
|
8721 |
|
|
VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs.
|
8722 |
|
|
|
8723 |
|
|
2005-07-27 Aldy Hernandez
|
8724 |
|
|
|
8725 |
|
|
* config/frv/frv.opt (moptimize-membar): New.
|
8726 |
|
|
|
8727 |
|
|
* doc/invoke.texi: Document -moptimize-membar and its inverse.
|
8728 |
|
|
|
8729 |
|
|
* config/frv/frv.h: Remove machine_function definition.
|
8730 |
|
|
|
8731 |
|
|
* config/frv/frv.c (struct frv_io): New.
|
8732 |
|
|
(struct machine_function): Moved from frv.h. Add has_membar_p.
|
8733 |
|
|
(frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union)
|
8734 |
|
|
(frv_extract_membar, frv_io_check_address, frv_io_handle_set)
|
8735 |
|
|
(frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local)
|
8736 |
|
|
(frv_optimize_membar_global, frv_optimize_membar): New functions.
|
8737 |
|
|
(frv_reorg): Call frv_optimize_membar when appropriate.
|
8738 |
|
|
(bdesc_loads, bdesc_stores): Use the membar code as the icode field.
|
8739 |
|
|
(frv_expand_builtin): Adjust calls accordingly.
|
8740 |
|
|
(frv_io_address_cookie): New function.
|
8741 |
|
|
(frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal
|
8742 |
|
|
load or store rather than a special insn. Add ccnstant address and
|
8743 |
|
|
io-type operands to the membar.
|
8744 |
|
|
(frv_ifcvt_modify_tests): Unsign regno.
|
8745 |
|
|
(frv_ifcvt_modify_tests): Same.
|
8746 |
|
|
|
8747 |
|
|
* config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change
|
8748 |
|
|
UNSPEC_OPTIONAL_MEMBAR constant.
|
8749 |
|
|
(builtin_read_): Delete.
|
8750 |
|
|
(builtin_write_): Delete.
|
8751 |
|
|
("optional_membar_"): Add operand.
|
8752 |
|
|
|
8753 |
|
|
* testsuite/gcc.target/frv/all-builtin-read8.c: Delete.
|
8754 |
|
|
* testsuite/gcc.target/frv/all-builtin-read16.c: Delete.
|
8755 |
|
|
* testsuite/gcc.target/frv/all-builtin-read32.c: Delete.
|
8756 |
|
|
* testsuite/gcc.target/frv/all-builtin-read64.c: Delete.
|
8757 |
|
|
* testsuite/gcc.target/frv/all-builtin-write8.c: Delete.
|
8758 |
|
|
* testsuite/gcc.target/frv/all-builtin-write16.c: Delete.
|
8759 |
|
|
* testsuite/gcc.target/frv/all-builtin-write32.c: Delete.
|
8760 |
|
|
* testsuite/gcc.target/frv/all-builtin-write64.c: Delete.
|
8761 |
|
|
* testsuite/gcc.target/frv/all-read-write-1.c: New.
|
8762 |
|
|
|
8763 |
|
|
2005-07-28 Kaz Kojima
|
8764 |
|
|
|
8765 |
|
|
* df.c (df_uses_record): Handle SCRATCH.
|
8766 |
|
|
|
8767 |
|
|
2005-07-28 Steven Bosscher
|
8768 |
|
|
|
8769 |
|
|
PR debug/20161
|
8770 |
|
|
* passes.c (rest_of_decl_compilation): If decl is a type and
|
8771 |
|
|
we have encountered errors, don't emit debug information.
|
8772 |
|
|
|
8773 |
|
|
2005-07-27 Kenneth Zadeck
|
8774 |
|
|
|
8775 |
|
|
* params.def: Fixed comment.
|
8776 |
|
|
|
8777 |
|
|
2005-07-27 Bjoern Haase
|
8778 |
|
|
|
8779 |
|
|
PR target/19885
|
8780 |
|
|
* config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add.
|
8781 |
|
|
(TARGET_ASM_UNALIGNED_HI_OP): Add.
|
8782 |
|
|
(TARGET_ASM_UNALIGNED_SI_OP): Add.
|
8783 |
|
|
|
8784 |
|
|
2005-07-27 Steven Bosscher
|
8785 |
|
|
|
8786 |
|
|
PR c++/22003
|
8787 |
|
|
* varasm.c (assemble_start_function): Don't do anything that may
|
8788 |
|
|
require a CFG if the current function is a thunk.
|
8789 |
|
|
|
8790 |
|
|
2005-07-25 Geoffrey Keating
|
8791 |
|
|
|
8792 |
|
|
* doc/install.texi (Prerequisites): Mention that perl is needed
|
8793 |
|
|
to do export control in libstdc++ targetting Darwin.
|
8794 |
|
|
|
8795 |
|
|
2005-07-27 Steven Bosscher
|
8796 |
|
|
|
8797 |
|
|
PR rtl-optimization/17808
|
8798 |
|
|
* sched-deps.c (sched_get_condition): Enable #if 0'ed code.
|
8799 |
|
|
(sched_insns_conditions_mutex_p): Split out from...
|
8800 |
|
|
(add_dependence): ...here. But don't call it from here.
|
8801 |
|
|
(add_dependence_list): Check sched_insns_conditions_mutex_p
|
8802 |
|
|
before calling add_dependence.
|
8803 |
|
|
(add_dependence_list_and_free): Likewise.
|
8804 |
|
|
(fixup_sched_groups): Likewise.
|
8805 |
|
|
(sched_analyze_1): Likewise.
|
8806 |
|
|
(sched_analyze_2): Likewise (and replace a "0" with REG_DEP_TRUE).
|
8807 |
|
|
(sched_analyze): Likewise.
|
8808 |
|
|
(sched_analyze_insn): Likewise.
|
8809 |
|
|
* sched-ebb.c (add_deps_for_risky_insns): Likewise.
|
8810 |
|
|
* sched-rgn.c (add_branch_dependences): Likewise. Also, add
|
8811 |
|
|
dependencies on all COND_EXEC insns to jumps ending basic blocks
|
8812 |
|
|
when doing intrablock scheduling.
|
8813 |
|
|
* sched-int.h (sched_insns_conditions_mutex_p): Add prototype.
|
8814 |
|
|
|
8815 |
|
|
2005-07-27 Jeff Law
|
8816 |
|
|
|
8817 |
|
|
* tree-vrp.c (vrp_meet): Intersect the equivalency sets when
|
8818 |
|
|
meeting a VR_ANTI_RANGE with a VR_RANGE. When intersecting
|
8819 |
|
|
equivalency sets, correctly handle the case were vr0 has an
|
8820 |
|
|
equivalency set, but vr1 does not.
|
8821 |
|
|
|
8822 |
|
|
2005-07-27 Dorit Nuzman
|
8823 |
|
|
|
8824 |
|
|
PR tree-optimization/23073
|
8825 |
|
|
* tree-vect-analyze.c (vect_analyze_data_refs_alignment): Call
|
8826 |
|
|
vect_print_dump_info before fprintf.
|
8827 |
|
|
|
8828 |
|
|
2005-07-27 Zdenek Dvorak
|
8829 |
|
|
|
8830 |
|
|
PR tree-optimize/22348
|
8831 |
|
|
* tree-ssa-loop-niter.c (number_of_iterations_cond):
|
8832 |
|
|
Fold the partial computation.
|
8833 |
|
|
|
8834 |
|
|
2005-07-27 Zdenek Dvorak
|
8835 |
|
|
|
8836 |
|
|
PR tree-optimization/22325
|
8837 |
|
|
* tree-flow.h (compute_phi_arg_on_exit, force_expr_to_var_cost):
|
8838 |
|
|
Declare.
|
8839 |
|
|
* tree-scalar-evolution.c (scev_const_prop): Add generic final
|
8840 |
|
|
value replacement.
|
8841 |
|
|
* tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Split from ...
|
8842 |
|
|
(force_var_cost): ... this function.
|
8843 |
|
|
(compute_phi_arg_on_exit): Export.
|
8844 |
|
|
|
8845 |
|
|
2005-07-27 Zdenek Dvorak
|
8846 |
|
|
|
8847 |
|
|
PR tree-optimization/20773
|
8848 |
|
|
* tree-ssa-loop-ch.c (copy_loop_headers): Select the correct latch
|
8849 |
|
|
edge.
|
8850 |
|
|
|
8851 |
|
|
2005-07-27 Richard Guenther
|
8852 |
|
|
|
8853 |
|
|
* tree-ssa-structalias.c (push_fields_onto_fieldstack):
|
8854 |
|
|
Avoid pushing again if current struct contains only
|
8855 |
|
|
fields we decomposed.
|
8856 |
|
|
|
8857 |
|
|
2005-07-27 Jan Hubicka
|
8858 |
|
|
|
8859 |
|
|
PR tree-optimization/22574
|
8860 |
|
|
* cgraph.c (cgraph_function_body_availability): Unanalyzed bodies are
|
8861 |
|
|
not available.
|
8862 |
|
|
|
8863 |
|
|
* tree-tailcall.c (decrease_profile): New function.
|
8864 |
|
|
(eliminate_tail_call): Use it.
|
8865 |
|
|
|
8866 |
|
|
* cgraphunit.c (cgraph_function_and_variable_visibility): Set
|
8867 |
|
|
visibility flags correctly in whole program mode.
|
8868 |
|
|
|
8869 |
|
|
2005-07-26 Steve Ellcey
|
8870 |
|
|
|
8871 |
|
|
PR rtl-optimization/22472
|
8872 |
|
|
* config/pa/pa.h (HARD_REGNO_RENAME_OK): Define.
|
8873 |
|
|
|
8874 |
|
|
2005-07-26 Steven Bosscher
|
8875 |
|
|
|
8876 |
|
|
PR tree-optimization/22504
|
8877 |
|
|
* tree-complex.c (expand_complex_addition): Use 'code' instead
|
8878 |
|
|
of MINUS_EXPR for (VARYING, ONLY_IMAG) and (ONLY_IMAG, VARYING).
|
8879 |
|
|
|
8880 |
|
|
2005-07-26 Aldy Hernandez
|
8881 |
|
|
|
8882 |
|
|
* config.gcc (cpu_type): Add frv case.
|
8883 |
|
|
(with_cpu): Add frv400-*-*linux* and frv550-*-*linux* cases.
|
8884 |
|
|
(supported_defaults): Add fr550 case.
|
8885 |
|
|
|
8886 |
|
|
2005-07-26 Diego Novillo
|
8887 |
|
|
|
8888 |
|
|
PR 22591
|
8889 |
|
|
* tree-ssa-alias.c (may_alias_p): Remove shortcut that tests
|
8890 |
|
|
whether a pointer of type T * may point to objects of type T *.
|
8891 |
|
|
|
8892 |
|
|
2005-07-26 DJ Delorie
|
8893 |
|
|
|
8894 |
|
|
* configure: Regenerate.
|
8895 |
|
|
|
8896 |
|
|
2005-07-26 Dale Johannesen
|
8897 |
|
|
|
8898 |
|
|
* postreload-gcse.c (alloc_mem): Start CUID numbering at 1.
|
8899 |
|
|
|
8900 |
|
|
2005-07-26 Mark Mitchell
|
8901 |
|
|
|
8902 |
|
|
* doc/install.texi (--with-build-sysroot): Fix grammatical error.
|
8903 |
|
|
Clarify use of "build" in name.
|
8904 |
|
|
|
8905 |
|
|
2005-07-26 Aldy Hernandez
|
8906 |
|
|
|
8907 |
|
|
* doc/extend.texi (Raw read/write Functions): New section.
|
8908 |
|
|
* testsuite/gcc.target/frv/all-builtin-read8.c: New.
|
8909 |
|
|
* testsuite/gcc.target/frv/all-builtin-read16.c: New.
|
8910 |
|
|
* testsuite/gcc.target/frv/all-builtin-read32.c: New.
|
8911 |
|
|
* testsuite/gcc.target/frv/all-builtin-read64.c: New.
|
8912 |
|
|
* testsuite/gcc.target/frv/all-builtin-write8.c: New.
|
8913 |
|
|
* testsuite/gcc.target/frv/all-builtin-write16.c: New.
|
8914 |
|
|
* testsuite/gcc.target/frv/all-builtin-write32.c: New.
|
8915 |
|
|
* testsuite/gcc.target/frv/all-builtin-write64.c: New.
|
8916 |
|
|
* config/frv/frv.c: Add bdesc_loads global.
|
8917 |
|
|
Add bdesc_stores global.
|
8918 |
|
|
(frv_init_builtins): Add support for __builtin_{read/write}*.
|
8919 |
|
|
(frv_volatile_memref): New.
|
8920 |
|
|
(frv_expand_load_builtin): New.
|
8921 |
|
|
(frv_expand_store_builtin): New.
|
8922 |
|
|
* config/frv/frv.h (frv_builtins): Add FRV_BUILTIN_SCAN,
|
8923 |
|
|
FRV_BUILTIN_READ8, FRV_BUILTIN_READ16, FRV_BUILTIN_READ32,
|
8924 |
|
|
FRV_BUILTIN_READ64, FRV_BUILTIN_WRITE8, FRV_BUILTIN_WRITE16,
|
8925 |
|
|
FRV_BUILTIN_WRITE32, FRV_BUILTIN_WRITE64.
|
8926 |
|
|
* config/frv/frv.md (unspecs): Add UNSPEC_BUILTIN_LOAD,
|
8927 |
|
|
UNSPEC_BUILTIN_STORE, UNSPEC_OPTIONAL_MEMBAR.
|
8928 |
|
|
(builtin_read_): New.
|
8929 |
|
|
(builtin_write_): New.
|
8930 |
|
|
(builtin_write64): New.
|
8931 |
|
|
(optional_membar_): New.
|
8932 |
|
|
|
8933 |
|
|
2005-07-26 J"orn Rennecke
|
8934 |
|
|
|
8935 |
|
|
* emit-rtl.c (gen_lowpart_common): Compare size of MODE in bits
|
8936 |
|
|
(rather than units) against HOST_BITS_PER_WIDE_INT.
|
8937 |
|
|
|
8938 |
|
|
2005-07-26 Kazu Hirata
|
8939 |
|
|
|
8940 |
|
|
* ipa-pure-const.c, ipa-reference.c, ipa-reference.h,
|
8941 |
|
|
ipa-type-escape.c, ipa-type-escape.h, ipa-utils.c,
|
8942 |
|
|
ipa-utils.h, treestruct.def, config/crx/crx-protos.h,
|
8943 |
|
|
config/crx/crx.c, config/crx/crx.h, config/crx/crx.md: Update
|
8944 |
|
|
FSF address.
|
8945 |
|
|
|
8946 |
|
|
* calls.c, fold-const.c, ipa-reference.c, ipa-type-escape.c,
|
8947 |
|
|
tree-ssa-reassoc.c, tree-ssa-structalias.c, vec.h,
|
8948 |
|
|
config/crx/crx.c, config/m32c/m32c.c, config/m32c/m32c.h: Fix
|
8949 |
|
|
comment typos.
|
8950 |
|
|
* doc/c-tree.texi, doc/tree-ssa.texi: Fix typos.
|
8951 |
|
|
|
8952 |
|
|
2005-07-26 Richard Guenther
|
8953 |
|
|
|
8954 |
|
|
PR tree-optimization/22486
|
8955 |
|
|
* fold-const.c (fold_unary): Fold away useless component
|
8956 |
|
|
references of the form (T *)&T.x, if the address
|
8957 |
|
|
doesn't change.
|
8958 |
|
|
|
8959 |
|
|
2005-07-25 James E Wilson
|
8960 |
|
|
|
8961 |
|
|
* dwarf2out.c (add_call_src_coords_attributes): New.
|
8962 |
|
|
(gen_inlined_subroutine_die): Call it.
|
8963 |
|
|
(maybe_emit_file, init_file_table): Add comments.
|
8964 |
|
|
(prune_unused_types_walk_attribs): Pass DW_AT_call_file through
|
8965 |
|
|
maybe_emit_file.
|
8966 |
|
|
* tree-inline.c (remap_block): Copy BLOCK_SOURCE_LOCATION.
|
8967 |
|
|
(expand_call_inline): Set BLOCK_SOURCE_LOCATION.
|
8968 |
|
|
* tree.h (BLOCK_SOURCE_LOCATION): New.
|
8969 |
|
|
(struct tree_block): New field locus.
|
8970 |
|
|
|
8971 |
|
|
2005-07-26 Andreas Schwab
|
8972 |
|
|
|
8973 |
|
|
PR rtl-optimization/23043
|
8974 |
|
|
* postreload-gcse.c (eliminate_partially_redundant_load): Fix typo
|
8975 |
|
|
when allocating a struct unoccr.
|
8976 |
|
|
|
8977 |
|
|
2005-07-25 Richard Henderson
|
8978 |
|
|
|
8979 |
|
|
PR 22626
|
8980 |
|
|
* tree-complex.c (gate_no_optimization): True if errors.
|
8981 |
|
|
* Makefile.in (tree-complex.o): Update dependencies.
|
8982 |
|
|
|
8983 |
|
|
2005-07-25 Aldy Hernandez
|
8984 |
|
|
|
8985 |
|
|
* config/frv/predicates.md (integer_register_operand): Use
|
8986 |
|
|
GPR_AP_OR_PSEUDO_P.
|
8987 |
|
|
|
8988 |
|
|
2005-07-25 Andrew Pinski
|
8989 |
|
|
|
8990 |
|
|
PR tree-opt/22484
|
8991 |
|
|
* tree-ssa-ccp.c (fold_stmt_inplace): Strip useless type conversions
|
8992 |
|
|
after fold.
|
8993 |
|
|
* tree-ssa-propagate.c (set_rhs): Reject invalid conditional operands.
|
8994 |
|
|
|
8995 |
|
|
2005-07-25 Andrew Pinski
|
8996 |
|
|
|
8997 |
|
|
* tree-ssa-reassoc.c (reassociate_expr): Allow scaler floating point
|
8998 |
|
|
types when flag_unsafe_math_optimizations is true.
|
8999 |
|
|
|
9000 |
|
|
2005-07-25 Mark Mitchell
|
9001 |
|
|
|
9002 |
|
|
* gcc.c (option_map): Add --sysroot.
|
9003 |
|
|
(process_command): Handle --sysroot.
|
9004 |
|
|
(display_help): Document it.
|
9005 |
|
|
* doc/cppopts.tex (-isysroot): Document.
|
9006 |
|
|
* doc/invoke.texi (--sysroot): Document.
|
9007 |
|
|
* doc/install.texi (--with-build-sysroot): Document.
|
9008 |
|
|
|
9009 |
|
|
* Makefile.in (inhibit_libc): New variable.
|
9010 |
|
|
(INHIBIT_LIBC_CFLAGS): Likewise.
|
9011 |
|
|
(LIBGCC2_CFLAGS): Include
|
9012 |
|
|
$(INHIBIT_LIBC_CFLAGS).
|
9013 |
|
|
(CRTSTUFF_CFLAGS): Include $(INHIBIT_LIBC_CFLAGS).
|
9014 |
|
|
($(T)crtbegin.o): Do not use @inhibit_libc@.
|
9015 |
|
|
($(T)crtend.o): Likewise.
|
9016 |
|
|
($(T)crtbeginS.o): Do not use @inhibit_libc@.
|
9017 |
|
|
($(T)crtendS.o): Likewise.
|
9018 |
|
|
($(T)crtbeginT.o): Do not use @inhibit_libc@.
|
9019 |
|
|
($(T)crtendT.o): Likewise.
|
9020 |
|
|
(stmp-fixinc): Do not complain about missing headers if
|
9021 |
|
|
inhibit_libc.
|
9022 |
|
|
* configure.ac (inhibit_libc): Set it to true/false.
|
9023 |
|
|
(--with-build-sysroot): New option. Use it to set
|
9024 |
|
|
SYSTEM_HEADER_DIR.
|
9025 |
|
|
* configure: Regenerated.
|
9026 |
|
|
|
9027 |
|
|
2005-07-25 Manfred Hollstein
|
9028 |
|
|
|
9029 |
|
|
* calls.c (store_one_arg): Fix unsigned comparison warning.
|
9030 |
|
|
|
9031 |
|
|
2005-07-25 Serge Belyshev
|
9032 |
|
|
|
9033 |
|
|
PR other/22337
|
9034 |
|
|
* ggc-zone.c (ggc_alloc_zone_stat): Do not use CHUNK_OVERHEAD.
|
9035 |
|
|
(ggc_print_statistics): Initialize variable before use.
|
9036 |
|
|
|
9037 |
|
|
2005-07-25 Richard Guenther
|
9038 |
|
|
|
9039 |
|
|
* tree-dfa.c (mark_new_vars_to_rename): Protect against
|
9040 |
|
|
calling with a PHI_NODE argument.
|
9041 |
|
|
|
9042 |
|
|
* tree-flow-inline.h (overlap_subvar): Protect against
|
9043 |
|
|
possible overflow.
|
9044 |
|
|
|
9045 |
|
|
2005-07-25 Paolo Bonzini
|
9046 |
|
|
|
9047 |
|
|
* aclocal.m4 (gcc_AC_CHECK_TOOL): Add /bin to default directory.
|
9048 |
|
|
* configure: Regenerate.
|
9049 |
|
|
|
9050 |
|
|
2005-07-25 Ira Rosen
|
9051 |
|
|
|
9052 |
|
|
* expr.c (highest_pow2_factor): Make extern.
|
9053 |
|
|
* tree-data-ref.c (ptr_decl_may_alias_p): New function.
|
9054 |
|
|
(ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p,
|
9055 |
|
|
record_array_differ_p, array_ptr_differ_p): Likewise.
|
9056 |
|
|
(base_object_differ_p): Rename (from array_base_name_differ_p). Support
|
9057 |
|
|
additional cases. Call the above functions.
|
9058 |
|
|
(base_addr_differ_p): Moved from tree-vect-analyze.c. Call
|
9059 |
|
|
base_object_differ_p when there are two base objects. Otherwise, compare
|
9060 |
|
|
base address and offset. Call may_alias_p.
|
9061 |
|
|
(dump_data_reference): Use a correct field name.
|
9062 |
|
|
(analyze_array): Make static. Initialize new data-ref fields.
|
9063 |
|
|
(analyze_indirect_ref): New function.
|
9064 |
|
|
(init_data_ref): Initialize new data-ref fields.
|
9065 |
|
|
(strip_conversion): Moved from tree-vect-analyze.c.
|
9066 |
|
|
(analyze_offset_expr, get_ptr_offset, address_analysis,
|
9067 |
|
|
object_analysis): Likewise.
|
9068 |
|
|
(analyze_offset): New function.
|
9069 |
|
|
(create_data_ref): Likewise.
|
9070 |
|
|
(initialize_data_dependence_relation): Call base_addr_differ_p. Compare
|
9071 |
|
|
dimensions for ARRAY_REFs only.
|
9072 |
|
|
(build_classic_dist_vector): Make static.
|
9073 |
|
|
(access_functions_are_affine_or_constant_p): Call macro to get the
|
9074 |
|
|
address of access functions.
|
9075 |
|
|
(compute_all_dependences): Add new parameter
|
9076 |
|
|
compute_self_and_read_read_dependences. Compute self and read-read
|
9077 |
|
|
dependences if it is true.
|
9078 |
|
|
(find_data_references_in_loop): Call create_data_ref. Initialize new
|
9079 |
|
|
data-ref fields.
|
9080 |
|
|
(compute_data_dependences_for_loop): Add new parameter
|
9081 |
|
|
compute_self_and_read_read_dependences. Remove parameter nb_loops,
|
9082 |
|
|
compute nb_loops. Call compute_all_dependences,
|
9083 |
|
|
build_classic_dist_vector and build_classic_dir_vector with correct
|
9084 |
|
|
parameters.
|
9085 |
|
|
(analyze_all_data_dependences): Call compute_data_dependences_for_loop
|
9086 |
|
|
with correct parameters. Compare dimensions for ARRAY_REFs only.
|
9087 |
|
|
(free_data_refs): Call macro to free access functions.
|
9088 |
|
|
* tree-data-ref.h (struct first_location_in_loop): New structure. Move
|
9089 |
|
|
fields from stmt_vinfo.
|
9090 |
|
|
(struct base_object_info): New structure.
|
9091 |
|
|
(struct data_reference): Move fields to base_object_info. Add fields
|
9092 |
|
|
first_location and object_info for above structures. Move fields from
|
9093 |
|
|
stmt_info: memtag, ptr_info, subvars, misalignment. Add new field
|
9094 |
|
|
aligned_to. Add macros to access the new fields.
|
9095 |
|
|
Update functions declarations.
|
9096 |
|
|
* tree-flow.h (is_aliased_with): Declare.
|
9097 |
|
|
* tree-loop-linear.c (linear_transform_loops): Call
|
9098 |
|
|
compute_data_dependences_for_loop with correct parameters.
|
9099 |
|
|
* tree-ssa-alias.c (is_aliased_with): New function.
|
9100 |
|
|
* tree-vect-analyze.c (vect_get_ptr_offset): Remove.
|
9101 |
|
|
(vect_analyze_offset_expr, vect_base_addr_differ_p): Likewise.
|
9102 |
|
|
(vect_analyze_data_ref_dependence): Get ddr. Remove call to
|
9103 |
|
|
vect_base_addr_differ_p, compute_subscript_distance and
|
9104 |
|
|
build_classic_dist_vector. Add printings. Check absolute value of
|
9105 |
|
|
distance.
|
9106 |
|
|
(vect_analyze_data_ref_dependences): Go through ddrs instead of
|
9107 |
|
|
data-refs.
|
9108 |
|
|
(vect_compute_data_ref_alignment): Get the fields of data-ref instead of
|
9109 |
|
|
stmt. Check aligned_to. Check if the base is aligned. Remove conversion
|
9110 |
|
|
to bytes. Add printing.
|
9111 |
|
|
(vect_compute_data_refs_alignment): Go through loads and stores in one
|
9112 |
|
|
loop.
|
9113 |
|
|
(vect_enhance_data_refs_alignment, vect_analyze_data_refs_alignment,
|
9114 |
|
|
vect_analyze_data_ref_access): Likewise.
|
9115 |
|
|
(vect_analyze_pointer_ref_access): Remove.
|
9116 |
|
|
(vect_address_analysis, vect_object_analysis): Likewise.
|
9117 |
|
|
(vect_analyze_data_refs): Call compute_data_dependences_for_loop to find
|
9118 |
|
|
and analyze data-refs in the loop.
|
9119 |
|
|
* tree-vect-transform.c (vect_create_addr_base_for_vector_ref): Get the
|
9120 |
|
|
fields of data-ref instead of stmt. Add init to the offset from the
|
9121 |
|
|
base.
|
9122 |
|
|
(vect_create_data_ref_ptr): Get the fields of data-ref instead of stmt.
|
9123 |
|
|
(vect_update_init_of_dr): Likewise.
|
9124 |
|
|
(vect_update_inits_of_drs): Go through loads and stores in one loop.
|
9125 |
|
|
* tree-vectorizer.c (new_stmt_vec_info): Remove initialization of
|
9126 |
|
|
removed fields.
|
9127 |
|
|
(new_loop_vec_info): Initialize new fields.
|
9128 |
|
|
(destroy_loop_vec_info): Free new fields.
|
9129 |
|
|
(vect_strip_conversion): Remove.
|
9130 |
|
|
* tree-vectorizer.h (enum verbosity_levels): Add new verbosity level.
|
9131 |
|
|
(struct _loop_vec_info): Unify data_ref_writes and data_ref_reads into
|
9132 |
|
|
datarefs. Add new field ddrs.
|
9133 |
|
|
Add macros for the new fields access.
|
9134 |
|
|
(struct _stmt_vec_info): Remove: base_address, initial_offset, step,
|
9135 |
|
|
base_aligned_p, misalignment, memtag, ptr_info and subvars.
|
9136 |
|
|
Remove their macros.
|
9137 |
|
|
* tree.h (highest_pow2_factor): Declare.
|
9138 |
|
|
|
9139 |
|
|
2005-07-25 Jakub Jelinek
|
9140 |
|
|
|
9141 |
|
|
* calls.c (store_one_arg): Check for sibling call MEM arguments
|
9142 |
|
|
from already clobbered incoming argument area.
|
9143 |
|
|
|
9144 |
|
|
2005-07-24 Kaveh R. Ghazi
|
9145 |
|
|
|
9146 |
|
|
* c-common.c (check_missing_format_attribute): New.
|
9147 |
|
|
* c-common.h (check_missing_format_attribute): Likewise.
|
9148 |
|
|
* c-typeck.c (convert_for_assignment): Use it.
|
9149 |
|
|
|
9150 |
|
|
2005-07-24 Andreas Schwab
|
9151 |
|
|
|
9152 |
|
|
* config/m68k/m68k.md ("extendqidi2"): When source is an address
|
9153 |
|
|
register use a word move. Correct operand of ext.w in 68000 code.
|
9154 |
|
|
|
9155 |
|
|
2005-07-23 Mark Mitchell
|
9156 |
|
|
|
9157 |
|
|
* dwarf2out.c (gen_variable_die): Treat un-emitted COMDAT
|
9158 |
|
|
variables as declarations, rather than definitions.
|
9159 |
|
|
|
9160 |
|
|
2005-07-24 Ira Rosen
|
9161 |
|
|
|
9162 |
|
|
PR tree-optimization/22526
|
9163 |
|
|
* tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Match the type
|
9164 |
|
|
of the zero node.
|
9165 |
|
|
|
9166 |
|
|
2005-07-24 Francois-Xavier Coudert
|
9167 |
|
|
|
9168 |
|
|
* builtins.def: Add DEF_EXT_C99RES_BUILTIN to define builtins
|
9169 |
|
|
that C99 reserve for future use. Use it to define clog10,
|
9170 |
|
|
clog10f and clog10l.
|
9171 |
|
|
|
9172 |
|
|
2005-07-23 Kaveh R. Ghazi
|
9173 |
|
|
|
9174 |
|
|
* Makefile.in (STRICT2_WARN): Add -Wmissing-format-attribute.
|
9175 |
|
|
* configure.ac: Check for -Wmissing-format-attribute.
|
9176 |
|
|
|
9177 |
|
|
* configure: Regenerate.
|
9178 |
|
|
|
9179 |
|
|
2005-07-23 Richard Henderson
|
9180 |
|
|
|
9181 |
|
|
PR tree-optimization/22623
|
9182 |
|
|
* tree-complex.c (set_component_ssa_name): Use replace_ssa_name_symbol.
|
9183 |
|
|
|
9184 |
|
|
2005-07-23 Giovanni Bajo
|
9185 |
|
|
|
9186 |
|
|
PR target/22577
|
9187 |
|
|
* config/pa/pa.c (reloc_needed): Updated for VECs inside CONSTRUCTOR.
|
9188 |
|
|
|
9189 |
|
|
2005-07-23 Kaveh R. Ghazi
|
9190 |
|
|
|
9191 |
|
|
* Makefile.in (C_TREE_H): Update dependencies.
|
9192 |
|
|
* c-tree.h: Include toplev.h.
|
9193 |
|
|
* diagnostic.h (diagnostic_set_info): Add format attribute.
|
9194 |
|
|
* rtl-error.c (diagnostic_for_asm): Likewise.
|
9195 |
|
|
|
9196 |
|
|
2005-07-23 Chao-ying Fu
|
9197 |
|
|
|
9198 |
|
|
* config/mips/mips-dsp.md: New file.
|
9199 |
|
|
* config/mips/mips-modes.def (V4QI, V2HI, CCDSP): New modes.
|
9200 |
|
|
* config/mips/mips.c (mips_function_type): Add types for DSP builtin
|
9201 |
|
|
functions.
|
9202 |
|
|
(mips_builtin_type): Add MIPS_BUILTIN_DIRECT_NO_TARGET and
|
9203 |
|
|
MIPS_BUILTIN_BPOSGE32.
|
9204 |
|
|
(mips_expand_builtin_direct): Add one parameter to indicate that
|
9205 |
|
|
builtin functions need to return a value.
|
9206 |
|
|
(mips_expand_builtin_bposge): New for expanding "bposge" builtin
|
9207 |
|
|
functions.
|
9208 |
|
|
(mips_regno_to_class): Add classes for 12 new DSP registers.
|
9209 |
|
|
(mips_subword): Change to check four HI registers.
|
9210 |
|
|
(mips_output_move): Output move to and from 6 new DSP accumulators.
|
9211 |
|
|
(override_options): Make sure -mdsp and -mips16 are not used together.
|
9212 |
|
|
Map 'A' to DSP_ACC_REGS and 'a' to ACC_REGS. Enable DSP accumulators
|
9213 |
|
|
for machine modes.
|
9214 |
|
|
(mips_conditional_register_usage): Disable 6 new DSP accumulators
|
9215 |
|
|
when !TARGET_DSP.
|
9216 |
|
|
(print_operand): Add 'q' for printing DSP accumulators.
|
9217 |
|
|
(mips_cannot_change_mode_class): Check ACC_REGS.
|
9218 |
|
|
(mips_secondary_reload_class): Check ACC_REGS.
|
9219 |
|
|
(mips_vector_mode_supported_p): Enable V2HI and V4QI when TARGET_DSP.
|
9220 |
|
|
(mips_register_move_cost): Check ACC_REGS.
|
9221 |
|
|
(CODE_FOR_mips_addq_ph, CODE_FOR_mips_addu_qb, CODE_FOR_mips_subq_ph)
|
9222 |
|
|
(CODE_FOR_mips_subu_qb): New code-aliasing macros.
|
9223 |
|
|
(DIRECT_NO_TARGET_BUILTIN, BPOSGE_BUILTIN): New macros.
|
9224 |
|
|
(dsp_bdesc): New array.
|
9225 |
|
|
(bdesc_arrays): Add DSP builtin function table.
|
9226 |
|
|
(mips_prepare_builtin_arg): Check predicate again after
|
9227 |
|
|
copy_to_mode_reg.
|
9228 |
|
|
(mips_expand_builtin): Add one more parameter to
|
9229 |
|
|
mips_expand_builtin_direct. Expand MIPS_BUILTIN_DIRECT_NO_TARGET and
|
9230 |
|
|
MIPS_BUILTIN_BPOSGE32.
|
9231 |
|
|
(mips_init_builtins): Initialize new function types.
|
9232 |
|
|
(mips_expand_builtin_direct): Check if builtin functions need to
|
9233 |
|
|
return a value and pass operands properly.
|
9234 |
|
|
(mips_expand_builtin_bposge): New function.
|
9235 |
|
|
* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips_dsp.
|
9236 |
|
|
(ASM_SPEC): Map -mdsp to -mdsp in GAS.
|
9237 |
|
|
(FIRST_PSEUDO_REGISTER): Increase to 188.
|
9238 |
|
|
(FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS):
|
9239 |
|
|
Update for 12 new DSP registers.
|
9240 |
|
|
(DSP_ACC_REG_FIRST, DSP_ACC_REG_LAST, DSP_ACC_REG_NUM, AC1HI_REGNUM)
|
9241 |
|
|
(AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM, AC3HI_REGNUM, AC3LO_REGNUM):
|
9242 |
|
|
(DSP_ACC_REG_P, ACC_REG_P, ACC_HI_REG_P): New macros.
|
9243 |
|
|
(reg_class): Add DSP_ACC_REGS and ACC_REGS.
|
9244 |
|
|
(REG_CLASS_NAMES): Add names for DSP_ACC_REGS and ACC_REGS.
|
9245 |
|
|
(REG_CLASS_CONTENTS): Update for DSP_ACC_REGS, ACC_REGS and ALL_REGS.
|
9246 |
|
|
(REG_ALLOC_ORDER): Update for 12 new DSP registers.
|
9247 |
|
|
(mips_char_to_class): Add 'A' for DSP_ACC_REGS and 'a' for ACC_REGS.
|
9248 |
|
|
(UIMM6_OPERAND, IMM10_OPERAND): New macros.
|
9249 |
|
|
(EXTRA_CONSTRAINT_Y): Add YA and YB extra constraints.
|
9250 |
|
|
(REGISTER_NAMES): Add names for 12 new DSP registers.
|
9251 |
|
|
* config/mips/mips.md: Include mips-dsp.md.
|
9252 |
|
|
(UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC)
|
9253 |
|
|
(UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S)
|
9254 |
|
|
(UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W)
|
9255 |
|
|
(UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR)
|
9256 |
|
|
(UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA)
|
9257 |
|
|
(UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR)
|
9258 |
|
|
(UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL)
|
9259 |
|
|
(UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R)
|
9260 |
|
|
(UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH)
|
9261 |
|
|
(UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL)
|
9262 |
|
|
(UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR)
|
9263 |
|
|
(UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH)
|
9264 |
|
|
(UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL)
|
9265 |
|
|
(UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR)
|
9266 |
|
|
(UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH)
|
9267 |
|
|
(UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB)
|
9268 |
|
|
(UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH)
|
9269 |
|
|
(UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H)
|
9270 |
|
|
(UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP)
|
9271 |
|
|
(UNSPEC_RDDSP): New constants.
|
9272 |
|
|
(*movdi_32bit): Change 'x' to 'a' for ACC_REGS.
|
9273 |
|
|
(*movsi_internal): Change 'x' to 'a' for ACC_REGS. Add an
|
9274 |
|
|
A<-d alternative.
|
9275 |
|
|
* config/mips/mips.opt (-mdsp): New option.
|
9276 |
|
|
* config/mips/predicates.md (const_uimm6_operand, const_imm10_operand)
|
9277 |
|
|
(reg_imm10_operand): New predicates.
|
9278 |
|
|
* doc/extend.texi (MIPS DSP Built-in Functions): New section.
|
9279 |
|
|
* doc/invoke.texi (-mdsp): Document new option.
|
9280 |
|
|
|
9281 |
|
|
2005-07-22 DJ Delorie
|
9282 |
|
|
|
9283 |
|
|
* c-objc-common.c (c_cannot_inline_tree_fn): Add warning control
|
9284 |
|
|
to warning calls.
|
9285 |
|
|
* tree-inline.c (inlinable_function_p): Likewise.
|
9286 |
|
|
|
9287 |
|
|
2005-07-22 Mark Mitchell
|
9288 |
|
|
|
9289 |
|
|
PR debug/21828
|
9290 |
|
|
* toplev.c (check_global_declarations): Do not mark undefined
|
9291 |
|
|
variables as DECL_IGNORED_P.
|
9292 |
|
|
* varasm.c (first_global_object_name): GTY it.
|
9293 |
|
|
(weak_global_object_name): Likewise.
|
9294 |
|
|
(notice_global_symbol): Use ggc_strdup, not xstrdup, when creating
|
9295 |
|
|
a string to go into {weak,first}_global_object_name.
|
9296 |
|
|
|
9297 |
|
|
2005-07-22 DJ Delorie
|
9298 |
|
|
|
9299 |
|
|
* c-format.c (check_function_format): Change warning control
|
9300 |
|
|
option from OPT_Wattribute to OPT_Wmissing_format_attribute.
|
9301 |
|
|
|
9302 |
|
|
2005-07-22 Diego Novillo
|
9303 |
|
|
|
9304 |
|
|
* tree-ssa-alias.c (count_ptr_derefs): Do not consider
|
9305 |
|
|
&PTR->FLD a dereference of PTR.
|
9306 |
|
|
* tree-ssa-structalias.c (update_alias_info): Consider &PTR->FLD
|
9307 |
|
|
a potential dereference of PTR.
|
9308 |
|
|
|
9309 |
|
|
2005-07-22 J"orn Rennecke
|
9310 |
|
|
|
9311 |
|
|
PR rtl-optimization/20370
|
9312 |
|
|
* ifcvt.c (dead_or_predicable): Before calling propagate_block,
|
9313 |
|
|
call allocate_reg_info if necessary.
|
9314 |
|
|
|
9315 |
|
|
PR rtl-optimization/21848
|
9316 |
|
|
* calls.c (emit_library_call_value_1): For const functions, add
|
9317 |
|
|
USEs of the stack slots to CALL_INSN_FUNCTION_USAGE.
|
9318 |
|
|
|
9319 |
|
|
PR rtl-optimization/22445
|
9320 |
|
|
* cselib.c (target.h): Include.
|
9321 |
|
|
(rtx_equal_for_cselib_p): Allow commutative matches.
|
9322 |
|
|
(cselib_hash_rtx): Don't use MODE for CONST_INT hashing.
|
9323 |
|
|
Remove MODE parameter. Changed all callers.
|
9324 |
|
|
|
9325 |
|
|
PR rtl-optimization/22258
|
9326 |
|
|
* combine.c (likely_spilled_retval_1, likely_spilled_retval_p):
|
9327 |
|
|
New functions.
|
9328 |
|
|
(try_combine): Use likely_spilled_retval_p.
|
9329 |
|
|
|
9330 |
|
|
2005-07-22 Paul Woegerer
|
9331 |
|
|
|
9332 |
|
|
* config.gcc: Add crx-elf support.
|
9333 |
|
|
|
9334 |
|
|
* doc/contrib.texi: Mention crx.
|
9335 |
|
|
* doc/extend.texi: Document crx extensions.
|
9336 |
|
|
* doc/install.texi: Document crx install.
|
9337 |
|
|
* doc/invoke.texi: Document crx options.
|
9338 |
|
|
* doc/md.texi: Document crx constraints.
|
9339 |
|
|
|
9340 |
|
|
* config/crx/crx-protos.h: New file.
|
9341 |
|
|
* config/crx/crx.c: New file.
|
9342 |
|
|
* config/crx/crx.h: New file.
|
9343 |
|
|
* config/crx/crx.md: New file.
|
9344 |
|
|
* config/crx/crx.opt: New file.
|
9345 |
|
|
* config/crx/t-crx: New file.
|
9346 |
|
|
|
9347 |
|
|
2005-07-22 Manfred Hollstein
|
9348 |
|
|
|
9349 |
|
|
* tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised
|
9350 |
|
|
warnings.
|
9351 |
|
|
(int_add_graph_edge): Likewise.
|
9352 |
|
|
(collapse_nodes): Likewise.
|
9353 |
|
|
(process_unification_queue): Likewise.
|
9354 |
|
|
|
9355 |
|
|
2005-07-22 Richard Kenner
|
9356 |
|
|
Laurent GUERBY
|
9357 |
|
|
|
9358 |
|
|
PR tree-optimization/22336
|
9359 |
|
|
* function.c (record_block_change): Check for
|
9360 |
|
|
cfun->ib_boundaries_block.
|
9361 |
|
|
|
9362 |
|
|
2005-07-21 James A. Morrison
|
9363 |
|
|
|
9364 |
|
|
* fold-const.c (fold_unary): Don't strip signed nops from ABS_EXPRs.
|
9365 |
|
|
(tree_expr_nonnegative_p): Return try for TYPE_UNSIGNED.
|
9366 |
|
|
|
9367 |
|
|
2005-07-21 DJ Delorie
|
9368 |
|
|
|
9369 |
|
|
* toplev.c (warn_deprecated_use): Add warning control to warning
|
9370 |
|
|
call.
|
9371 |
|
|
* c-typeck.c (parser_build_binary_op): Likewise.
|
9372 |
|
|
(c_finish_if_stmt): Likewise.
|
9373 |
|
|
* c-common.c (check_function_sentinel): Likewise.
|
9374 |
|
|
(check_nonnull_arg): Likewise.
|
9375 |
|
|
|
9376 |
|
|
2005-07-21 Richard Henderson
|
9377 |
|
|
|
9378 |
|
|
PR tree-opt/22504
|
9379 |
|
|
* tree-complex.c (complex_ssa_name_components): New.
|
9380 |
|
|
(cvc_lookup): Allow entry not found.
|
9381 |
|
|
(create_components): Remove.
|
9382 |
|
|
(create_one_component_var, get_component_var): New.
|
9383 |
|
|
(get_component_ssa_name, set_component_ssa_name): New.
|
9384 |
|
|
(extract_component): Use get_component_ssa_name.
|
9385 |
|
|
(update_complex_components): Use set_component_ssa_name.
|
9386 |
|
|
(update_complex_components_on_edge): Likewise.
|
9387 |
|
|
(update_phi_components): Create new PHI nodes directly, instead
|
9388 |
|
|
of adding insns to edges.
|
9389 |
|
|
(tree_lower_complex): Allocate and free complex_variable_components
|
9390 |
|
|
and complex_ssa_name_components here.
|
9391 |
|
|
|
9392 |
|
|
2005-07-20 Daniel Berlin
|
9393 |
|
|
|
9394 |
|
|
* alias.c (nonoverlapping_component_refs_p): Use TYPE_MAIN_VARIANT,
|
9395 |
|
|
revert to returning false.
|
9396 |
|
|
|
9397 |
|
|
2005-07-21 Uros Bizjak
|
9398 |
|
|
|
9399 |
|
|
PR target/21149
|
9400 |
|
|
* config/i386/i386.md (sse_movhlps): Fix vec_select values.
|
9401 |
|
|
|
9402 |
|
|
2005-07-21 Uros Bizjak
|
9403 |
|
|
|
9404 |
|
|
PR target/22576
|
9405 |
|
|
* config/i386/i386.md (cmpxf): Change operand constraints
|
9406 |
|
|
to "nonmemory_operand".
|
9407 |
|
|
|
9408 |
|
|
2005-07-21 Andrew Pinski
|
9409 |
|
|
|
9410 |
|
|
* config/i386/i386.md (trap): Use "".word/t0x0b0f" instead of ud2.
|
9411 |
|
|
|
9412 |
|
|
2005-07-21 Andrew Pinski
|
9413 |
|
|
|
9414 |
|
|
PR middle-end/21180
|
9415 |
|
|
* fold-const.c (fold_build1): Add checksum for the operands.
|
9416 |
|
|
(fold_build2): Likewise.
|
9417 |
|
|
(fold_build3): Likewise.
|
9418 |
|
|
|
9419 |
|
|
2005-07-21 Andrew Pinski
|
9420 |
|
|
|
9421 |
|
|
PR middle-end/19055
|
9422 |
|
|
* fold-const.c (fold_binary): Transform "(X | Y) ^ X" to "Y & ~ X".
|
9423 |
|
|
|
9424 |
|
|
2005-07-21 Paolo Bonzini
|
9425 |
|
|
|
9426 |
|
|
* common.opt (-fforward-propagate): Committed by mistake,
|
9427 |
|
|
removed.
|
9428 |
|
|
|
9429 |
|
|
2005-07-21 Volker Reichelt
|
9430 |
|
|
|
9431 |
|
|
* reg-stack.c: Fix comment typo(s).
|
9432 |
|
|
* tree-ssa-operands.c: Likewise.
|
9433 |
|
|
* tree-vectorizer: Likewise.
|
9434 |
|
|
|
9435 |
|
|
2005-07-21 Nick Clifton
|
9436 |
|
|
|
9437 |
|
|
* config/sh/symbian.c: Replace C++ style line comments with C
|
9438 |
|
|
style line comments.
|
9439 |
|
|
(symbian_add_attribute): Do not use a ? operator on the LHS of
|
9440 |
|
|
an assignment.
|
9441 |
|
|
(sh_symbian_handle_dll_attribute): Change the type of the
|
9442 |
|
|
method vector to "VEC(tree,gc)*" and use vector accessor
|
9443 |
|
|
macros to walk over the elements.
|
9444 |
|
|
(symbian_export_vtable_and_rtti_p): Likewise.
|
9445 |
|
|
(symbian_class_needs_attribute_p): Likewise.
|
9446 |
|
|
|
9447 |
|
|
2005-07-21 Paolo Bonzini
|
9448 |
|
|
|
9449 |
|
|
PR target/22085
|
9450 |
|
|
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Do not
|
9451 |
|
|
initialize targetm.resolve_overloaded_builtin here.
|
9452 |
|
|
(altivec_expand_overloaded_builtin): Make it non-static.
|
9453 |
|
|
* config/rs6000/rs6000-protos.h
|
9454 |
|
|
(altivec_expand_overloaded_builtin): New prototype.
|
9455 |
|
|
* config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Initialize
|
9456 |
|
|
targetm.resolve_overloaded_builtin here.
|
9457 |
|
|
* config/rs6000/darwin.h (REGISTER_TARGET_PRAGMAS): Likewise.
|
9458 |
|
|
|
9459 |
|
|
2005-07-21 Paolo Bonzini
|
9460 |
|
|
Zdenek Dvorak
|
9461 |
|
|
|
9462 |
|
|
PR tree-optimization/19210
|
9463 |
|
|
* common.opt (Wunsafe-loop-optimizations, funsafe-loop-optimizations):
|
9464 |
|
|
New.
|
9465 |
|
|
* Makefile.in (tree-ssa-loop-niter.o): Depend intl.o.
|
9466 |
|
|
* loop-iv.c (get_simple_loop_desc): If -funsafe-loop-optimizations,
|
9467 |
|
|
rely on unproven assumptions.
|
9468 |
|
|
* predict.c (predict_loops): Adjust call to number_of_iterations_exit.
|
9469 |
|
|
* tree-flow.h (number_of_iterations_exit): Add final parameter.
|
9470 |
|
|
* tree-scalar-evolution.c (number_of_iterations_in_loop): Adjust call
|
9471 |
|
|
to number_of_iterations_exit.
|
9472 |
|
|
* tree-ssa-loop-ivcanon.c (empty_loop_p): Likewise.
|
9473 |
|
|
* tree-ssa-loop-ivopts.c (niter_for_exit): Likewise.
|
9474 |
|
|
* tree-ssa-loop-niter.c (find_loop_niter,
|
9475 |
|
|
estimate_numbers_of_iterations_loop): Likewise.
|
9476 |
|
|
(number_of_iterations_exit): Honor the new options.
|
9477 |
|
|
* doc/invoke.texi (Wunsafe-loop-optimizations,
|
9478 |
|
|
funsafe-loop-optimizations): Document them.
|
9479 |
|
|
|
9480 |
|
|
2005-07-21 Richard Sandiford
|
9481 |
|
|
|
9482 |
|
|
PR rtl-optimization/22167
|
9483 |
|
|
* gcse.c (hoist_code): Fix hoist_exprs[] check.
|
9484 |
|
|
|
9485 |
|
|
2005-07-20 Adam Nemet
|
9486 |
|
|
|
9487 |
|
|
* config/rs6000/lynx.h: Mark __do_global_ctors_aux and
|
9488 |
|
|
__do_global_dtors_aux longcall.
|
9489 |
|
|
|
9490 |
|
|
2005-07-20 Kazu Hirata
|
9491 |
|
|
|
9492 |
|
|
* gensupport.c (old_preds): Don't reference PREDICATE_CODES.
|
9493 |
|
|
(old_special_pred_table): Don't reference
|
9494 |
|
|
SPECIAL_MODE_PREDICATES.
|
9495 |
|
|
* system.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Poison.
|
9496 |
|
|
* config/arc/arc.h: Don't mention PREDICATE_CODES.
|
9497 |
|
|
* config/sh/predicates.h: Don't mention
|
9498 |
|
|
SPECIAL_MODE_PREDICATES.
|
9499 |
|
|
* doc/tm.texi (PREDICATE_CODES, SPECIAL_MODE_PREDICATES):
|
9500 |
|
|
Remove.
|
9501 |
|
|
|
9502 |
|
|
2005-07-20 DJ Delorie
|
9503 |
|
|
|
9504 |
|
|
* config.gcc: Add m32c-elf support.
|
9505 |
|
|
|
9506 |
|
|
* doc/contrib.texi: Mention m32c.
|
9507 |
|
|
* doc/extend.texi: Document m32c extensions.
|
9508 |
|
|
* doc/install.texi: Mention m32c.
|
9509 |
|
|
* doc/invoke.texi: Document m32c options.
|
9510 |
|
|
* doc/md.texi: Document m32c constraints.
|
9511 |
|
|
|
9512 |
|
|
* config/m32c/addsub.md: New file.
|
9513 |
|
|
* config/m32c/bitops.md: New file.
|
9514 |
|
|
* config/m32c/cond.md: New file.
|
9515 |
|
|
* config/m32c/jump.md: New file.
|
9516 |
|
|
* config/m32c/m32c-lib1.S: New file.
|
9517 |
|
|
* config/m32c/m32c-lib2.c: New file.
|
9518 |
|
|
* config/m32c/m32c-modes.def: New file.
|
9519 |
|
|
* config/m32c/m32c-pragma.c: New file.
|
9520 |
|
|
* config/m32c/m32c-protos.h: New file.
|
9521 |
|
|
* config/m32c/m32c.abi: New file.
|
9522 |
|
|
* config/m32c/m32c.c: New file.
|
9523 |
|
|
* config/m32c/m32c.h: New file.
|
9524 |
|
|
* config/m32c/m32c.md: New file.
|
9525 |
|
|
* config/m32c/m32c.opt: New file.
|
9526 |
|
|
* config/m32c/minmax.md: New file.
|
9527 |
|
|
* config/m32c/mov.md: New file.
|
9528 |
|
|
* config/m32c/muldiv.md: New file.
|
9529 |
|
|
* config/m32c/predicates.md: New file.
|
9530 |
|
|
* config/m32c/prologue.md: New file.
|
9531 |
|
|
* config/m32c/shift.md: New file.
|
9532 |
|
|
* config/m32c/t-m32c: New file.
|
9533 |
|
|
|
9534 |
|
|
2005-07-20 Kaz Kojima
|
9535 |
|
|
|
9536 |
|
|
* config/sh/sh.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New constants.
|
9537 |
|
|
(stack_protect_set, stack_protect_test): New expanders.
|
9538 |
|
|
(stack_protect_set_si, stack_protect_set_si_media,
|
9539 |
|
|
stack_protect_set_di_media, stack_protect_test_si,
|
9540 |
|
|
stack_protect_test_si_media, stack_protect_test_di_media):
|
9541 |
|
|
New insns.
|
9542 |
|
|
|
9543 |
|
|
2005-07-20 Andrew Pinski
|
9544 |
|
|
|
9545 |
|
|
* c-typeck.c (output_init_element): Don't copy the INTEGER_CST.
|
9546 |
|
|
|
9547 |
|
|
2005-07-20 James A. Morrison
|
9548 |
|
|
|
9549 |
|
|
* tree.h (tree_expr_nonzero_p): Export.
|
9550 |
|
|
* fold-const.c (tree_expr_nonzero_p): Likewise.
|
9551 |
|
|
Return true for CALL_EXPRs that are alloca calls.
|
9552 |
|
|
(fold_binary): Use omit_one_operand when checking EQ_EXPRs or NE_EXPRs
|
9553 |
|
|
against zero.
|
9554 |
|
|
* tree-flow.h (expr_computes_nonzero): Remove.
|
9555 |
|
|
* tree-vrp.c (expr_computes_nonzero): Remove.
|
9556 |
|
|
(vrp_expr_computes_nonzero): Use tree_expr_nonzero_p.
|
9557 |
|
|
(extract_range_from_unary_expr): Likewise.
|
9558 |
|
|
* tree-ssa-dom.c (record_equivalences_from_stmt): Use
|
9559 |
|
|
tree_expr_nonzero_p.
|
9560 |
|
|
|
9561 |
|
|
2005-07-20 Bernd Schmidt
|
9562 |
|
|
|
9563 |
|
|
* config/bfin/bfin-protos.h (legitimize_pic_address): Don't declare.
|
9564 |
|
|
* config/bfin/bfin.c (legitimize_pic_address): Now static. Take
|
9565 |
|
|
extra arg "picreg" and use it instead of pic_offset_table_rtx.
|
9566 |
|
|
All callers changed.
|
9567 |
|
|
(frame_related_constant_load): New arg "related" which controls
|
9568 |
|
|
setting of RTX_FRAME_RELATED_P. All callers changed.
|
9569 |
|
|
(bfin_load_pic_reg): New function, broken out of bfin_expand_prologue.
|
9570 |
|
|
(bfin_expand_prologue): Add stack limit checking.
|
9571 |
|
|
* config/bfin/bfin.md (trapifcc): New pattern.
|
9572 |
|
|
|
9573 |
|
|
* config/bfin/bfin.c: Include "langhooks.h".
|
9574 |
|
|
(def_builtin): Go through lang_hooks to call builtin_function.
|
9575 |
|
|
|
9576 |
|
|
* config/bfin/bfin-protos.h (bfin_longcall_p): Declare.
|
9577 |
|
|
* config/bfin/predicates.md (symbol_ref_operand): New.
|
9578 |
|
|
(call_insn_operand): Delete. All callers changed to use
|
9579 |
|
|
register_no_elim_operand.
|
9580 |
|
|
* config/bfin/bfin.c (init_cumulative_args): Initialize the new
|
9581 |
|
|
call_cookie field.
|
9582 |
|
|
(function_arg): Use it to generate the call's operand 2.
|
9583 |
|
|
(bfin_longcall_p): New function.
|
9584 |
|
|
(bfin_expand_call): Extra arg "cookie". All callers and declaration
|
9585 |
|
|
changed. Emit extra USE in the pattern. Use bfin_longcall_p to
|
9586 |
|
|
determine if the address needs to be in a REG.
|
9587 |
|
|
(bfin_handle_longcall_attribute): New function.
|
9588 |
|
|
(bfin_attribute_table): Add "longcall" and "shortcall".
|
9589 |
|
|
* config/bfin/bfin.h (CALL_NORMAL, CALL_LONG, CALL_SHORT): New macros.
|
9590 |
|
|
(CUMULATIVE_ARGS): New member call_cookie.
|
9591 |
|
|
(PREDICATE_CODES): Add symbol_ref_operand.
|
9592 |
|
|
* config/bfin/bfin.md (call, call_value, sibcall, sibcall_value): Add
|
9593 |
|
|
extra USE to the pattern.
|
9594 |
|
|
(call_symbol, sibcall_symbol, call_value_symbol, sibcall_value_symbol):
|
9595 |
|
|
New patterns, split off call_insn, sibcall_insn, call_value_insn and
|
9596 |
|
|
sibcall_value_insn; now the new patterns handle direct calls and the
|
9597 |
|
|
old ones indirect calls.
|
9598 |
|
|
* doc/extend.texi: Mention Blackfin in longcall/shortcall docs.
|
9599 |
|
|
|
9600 |
|
|
2005-07-20 Zdenek Dvorak
|
9601 |
|
|
|
9602 |
|
|
* doc/trouble.texi: Update section on handling of empty loops.
|
9603 |
|
|
|
9604 |
|
|
2005-07-20 Kazu Hirata
|
9605 |
|
|
|
9606 |
|
|
* config.gcc: Remove support for sparc-*-openbsd*,
|
9607 |
|
|
i860-*-sysv4*, ip2k-*-elf, ns32k-*-netbsdelf*,
|
9608 |
|
|
ns32k-*-netbsd*.
|
9609 |
|
|
* config.host: Remove support for i860-*-sysv4* as a host.
|
9610 |
|
|
* config/i860/*, config/ip2k/*, config/ns32k/*,
|
9611 |
|
|
config/sparc/openbsd.h, config/sparc/t-openbsd: Remove.
|
9612 |
|
|
* doc/install.texi, doc/invoke.texi, doc/md.texi: Don't
|
9613 |
|
|
mention obsolete ports.
|
9614 |
|
|
|
9615 |
|
|
2005-07-20 Kaz Kojima
|
9616 |
|
|
|
9617 |
|
|
* config/sh/sh.c (regno_reg_class): Add GENERAL_REGS for
|
9618 |
|
|
soft frame pointer.
|
9619 |
|
|
(sh_expand_prologue): Use hard_frame_pointer_rtx instead
|
9620 |
|
|
of frame_pointer_rtx.
|
9621 |
|
|
(sh_expand_epilogue): Likewise.
|
9622 |
|
|
(sh_set_return_address): Likewise.
|
9623 |
|
|
(initial_elimination_offset): Use HARD_FRAME_POINTER_REGNUM
|
9624 |
|
|
instead of FRAME_POINTER_REGNUM if needed. Add elimination
|
9625 |
|
|
offsets from FRAME_POINTER_REGNUM.
|
9626 |
|
|
* config/sh/sh.h (SH_REGISTER_NAMES_INITIALIZER): Add sfp.
|
9627 |
|
|
(sh_register_names): Add initializer for sfp.
|
9628 |
|
|
(GENERAL_OR_AP_REGISTER_P): Permit FRAME_POINTER_REGNUM.
|
9629 |
|
|
(VALID_REGISTER_P): Likewise.
|
9630 |
|
|
(FIRST_PSEUDO_REGISTER): Update.
|
9631 |
|
|
(DWARF_FRAME_REGISTERS): Define.
|
9632 |
|
|
(FIXED_REGISTERS, CALL_USED_REGISTERS): Add sfp.
|
9633 |
|
|
(HARD_FRAME_POINTER_REGNUM): Define.
|
9634 |
|
|
(FRAME_POINTER_REGNUM): Redefine.
|
9635 |
|
|
(ELIMINABLE_REGS): Never eliminate to FRAME_POINTER_REGNUM,
|
9636 |
|
|
but HARD_FRAME_POINTER_REGNUM instead. Add eliminations
|
9637 |
|
|
from FRAME_POINTER_REGNUM.
|
9638 |
|
|
(CAN_ELIMINATE): Use HARD_FRAME_POINTER_REGNUM instead of
|
9639 |
|
|
FRAME_POINTER_REGNUM.
|
9640 |
|
|
(REG_CLASS_CONTENTS): Add sfp.
|
9641 |
|
|
(REG_ALLOC_ORDER): Likewise.
|
9642 |
|
|
(FRAME_GROWS_DOWNWARD): Set to 1. Update comment.
|
9643 |
|
|
(GO_IF_LEGITIMATE_ADDRESS): Use hard_frame_pointer_rtx instead
|
9644 |
|
|
of frame_pointer_rtx.
|
9645 |
|
|
(LEGITIMIZE_RELOAD_ADDRESS): Likewise.
|
9646 |
|
|
|
9647 |
|
|
2005-07-19 James A. Morrison
|
9648 |
|
|
|
9649 |
|
|
* fold-const.c (tree_expr_nonnegative_p): Only return true for
|
9650 |
|
|
ABS_EXPR when flag_wrapv is false because of INT_MIN.
|
9651 |
|
|
(tree_expr_nonzero_p): Always call tree_expr_nonzero_p on the argument
|
9652 |
|
|
of an ABS_EXPR.
|
9653 |
|
|
(fold_unary): Always fold ABS_EXPR> into
|
9654 |
|
|
ABS_EXPR.
|
9655 |
|
|
|
9656 |
|
|
2005-07-20 Giovanni Bajo
|
9657 |
|
|
|
9658 |
|
|
Make CONSTRUCTOR use VEC to store initializers.
|
9659 |
|
|
* c-common.c (complete_array_type): Update to cope with VEC in
|
9660 |
|
|
CONSTRUCTOR_ELTS.
|
9661 |
|
|
* c-pretty-print.c (pp_c_initializer_list): Use pp_c_constructor_elts.
|
9662 |
|
|
(pp_c_constructor_elts): New function.
|
9663 |
|
|
* c-pretty-print.h (pp_c_constructor_elts): Declare.
|
9664 |
|
|
* c-typeck.c (build_function_call, build_c_cast, digest_init,
|
9665 |
|
|
struct constructor_stack, struct initializer_stack,
|
9666 |
|
|
constructor_elements, push_init_level, pop_init_level,
|
9667 |
|
|
add_pending_init, find_init_member, output_init_element): Update to
|
9668 |
|
|
cope with VEC in CONSTRUCTOR_ELTS.
|
9669 |
|
|
* coverage.c (build_fn_info_value, build_ctr_info_value,
|
9670 |
|
|
build_gcov_info): Likewise.
|
9671 |
|
|
* expr.c (categorize_ctor_elements_1, store_constructor,
|
9672 |
|
|
expand_expr_real_1): Likewise.
|
9673 |
|
|
* fold-const.c (fold_ternary): Likewise.
|
9674 |
|
|
* gimplify.c (gimplify_init_ctor_preeval, zero_sized_field_decl,
|
9675 |
|
|
gimplify_init_constructor, gimplify_expr): Likewise.
|
9676 |
|
|
* tree-dump.c (dequeue_and_dump): Likewise.
|
9677 |
|
|
* tree-inline.c (copy_tree_r): Add code to duplicate a CONSTRUCTOR
|
9678 |
|
|
node.
|
9679 |
|
|
* tree-pretty-print.c (dump_generic_node): Update to cope with VEC in
|
9680 |
|
|
CONSTRUCTOR_ELTS.
|
9681 |
|
|
* tree-sra.c (generate_element_init_1): Likewise.
|
9682 |
|
|
* tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise.
|
9683 |
|
|
* tree-ssa-operands.c (get_expr_operands): Likewise.
|
9684 |
|
|
* tree-vect-generic.c (expand_vector_piecewise): Likewise.
|
9685 |
|
|
* tree-vect-transform.c (vect_get_vec_def_for_operand):
|
9686 |
|
|
(get_initial_def_for_reduction): Likewise.
|
9687 |
|
|
* tree-vn.c (set_value_handle, get_value_handle): CONSTURCTOR uses
|
9688 |
|
|
value handle in annotations.
|
9689 |
|
|
* tree.c (tree_node_kind, tree_code_size, make_node_stat,
|
9690 |
|
|
tree_node_structure): Add support for constr_kind.
|
9691 |
|
|
(build_vector_from_ctor, build_constructor_single,
|
9692 |
|
|
build_constructor_from_list): New functions.
|
9693 |
|
|
(build_constructor): Update to take a VEC instead of a TREE_LIST.
|
9694 |
|
|
(simple_cst_equal, iterative_hash_expr, initializer_zerop, walk_tree):
|
9695 |
|
|
Update to cope with VEC in CONSTRUCTOR_ELTS.
|
9696 |
|
|
* tree.def (CONSTRUCTOR): Make it a tcc_exceptional node.
|
9697 |
|
|
* tree.h (FOR_EACH_CONSTRUCTOR_VALUE, FOR_EACH_CONSTRUCTOR_ELT,
|
9698 |
|
|
CONSTRUCTOR_APPEND_ELT): New macros.
|
9699 |
|
|
(struct constructor_elt, struct tree_constructor): New data types.
|
9700 |
|
|
(union tree_node): Add tree_constructor field.
|
9701 |
|
|
* treestruct.def: Define TS_CONSTRUCTOR.
|
9702 |
|
|
* varasm.c (const_hash_1, compare_constant, copy_constant,
|
9703 |
|
|
compute_reloc_for_constant, output_addressed_constants,
|
9704 |
|
|
initializer_constant_valid_p, output_constant,
|
9705 |
|
|
array_size_for_constructor, output_constructor): Update to cope with
|
9706 |
|
|
VEC in CONSTRUCTOR_ELTS.
|
9707 |
|
|
* vec.h (VEC_empty, VEC_copy): New macros.
|
9708 |
|
|
|
9709 |
|
|
2005-07-19 Devang Patel
|
9710 |
|
|
|
9711 |
|
|
* dbxout.c (dbxout_type): Check Objective-C++ lang.
|
9712 |
|
|
|
9713 |
|
|
2005-07-19 Richard Henderson
|
9714 |
|
|
|
9715 |
|
|
PR tree-opt/22278
|
9716 |
|
|
* gimplify.c (gimplify_expr): Use main variant type for the temp
|
9717 |
|
|
destination for a discarded volatile read.
|
9718 |
|
|
* tree-ssa.c (tree_ssa_useless_type_conversion_1): Don't elide
|
9719 |
|
|
casts between non-void types that change volatility.
|
9720 |
|
|
|
9721 |
|
|
2005-07-15 DJ Delorie
|
9722 |
|
|
|
9723 |
|
|
* toplev.h: Add comment about the first parameter for warning().
|
9724 |
|
|
* errors.h: Likewise.
|
9725 |
|
|
|
9726 |
|
|
* c.opt (Wpragmas): New.
|
9727 |
|
|
* doc/invoke.texi: Document it.
|
9728 |
|
|
|
9729 |
|
|
* function.c (do_warn_unused_parameter): Add warning control to
|
9730 |
|
|
warning call.
|
9731 |
|
|
* c-decl.c (warn_if_shadowing): Likewise.
|
9732 |
|
|
* c-lex.c (cb_def_pragma): Likewise.
|
9733 |
|
|
* c-pragma.c (GCC_BAD, GCC_BAD2): Likewise.
|
9734 |
|
|
(pop_alignment): Likewise.
|
9735 |
|
|
(handle_pragma_pack): Likewise.
|
9736 |
|
|
(apply_pragma_weak): Likewise.
|
9737 |
|
|
(handle_pragma_weak): Likewise.
|
9738 |
|
|
(handle_pragma_redefine_extname): Likewise.
|
9739 |
|
|
(add_to_renaming_pragma_list): Likewise.
|
9740 |
|
|
(handle_pragma_extern_prefix): Likewise.
|
9741 |
|
|
(maybe_apply_renaming_pragma): Likewise.
|
9742 |
|
|
(handle_pragma_visibility): Likewise.
|
9743 |
|
|
|
9744 |
|
|
* config/c4x/c4x-c.c (BAD): Likewise.
|
9745 |
|
|
(c4x_parse_pragma): Likewise.
|
9746 |
|
|
* config/ia64/ia64-c.c (ia64_hpux_handle_builtin_pragma): Likewise.
|
9747 |
|
|
* config/rs6000/rs6000-c.c (SYNTAX_ERROR): Likewise.
|
9748 |
|
|
(rs6000_pragma_longcall): Likewise.
|
9749 |
|
|
* config/v850/v850-c.c (pop_data_area): Likewise.
|
9750 |
|
|
(ghs_pragma_section): Likewise.
|
9751 |
|
|
(ghs_pragma_section): Likewise.
|
9752 |
|
|
(ghs_pragma_interrupt): Likewise.
|
9753 |
|
|
(ghs_pragma_starttda): Likewise.
|
9754 |
|
|
(ghs_pragma_startsda): Likewise.
|
9755 |
|
|
(ghs_pragma_startzda): Likewise.
|
9756 |
|
|
(ghs_pragma_endtda): Likewise.
|
9757 |
|
|
(ghs_pragma_endsda): Likewise.
|
9758 |
|
|
(ghs_pragma_endzda): Likewise.
|
9759 |
|
|
|
9760 |
|
|
2005-07-19 Danny Berlin
|
9761 |
|
|
Kenneth Zadeck
|
9762 |
|
|
|
9763 |
|
|
* Makefile.in: Removed tree-promote-statics.c
|
9764 |
|
|
* tree-promote-statics.c: Removed.
|
9765 |
|
|
* common.opt: Removed flag-promote-statics.
|
9766 |
|
|
* opts.c: Ditto.
|
9767 |
|
|
* passes.c: Removed tree-promote-statics pass.
|
9768 |
|
|
* tree-pass.h: Ditto.
|
9769 |
|
|
* timevar.def: Removed TV_PROMOTE_STATICS.
|
9770 |
|
|
|
9771 |
|
|
|
9772 |
|
|
2005-07-19 Gerald Pfeifer
|
9773 |
|
|
|
9774 |
|
|
* config.gcc: Add support for *-*-freebsd7, *-*-freebsd8,
|
9775 |
|
|
and *-*-freebsd9.
|
9776 |
|
|
* config/freebsd-spec.h (FBSD_TARGET_OS_CPP_BUILTINS): Ditto.
|
9777 |
|
|
|
9778 |
|
|
2005-07-19 Kaveh R. Ghazi
|
9779 |
|
|
|
9780 |
|
|
PR c/22476
|
9781 |
|
|
* c-common.c (check_function_arguments): Call
|
9782 |
|
|
'check_function_format' if either -Wformat or
|
9783 |
|
|
-Wmissing-format-attribute are specified.
|
9784 |
|
|
* c-format.c (check_function_format): Check -Wformat before
|
9785 |
|
|
calling 'check_format_info'.
|
9786 |
|
|
* c-opts.c (c_common_post_options): Don't warn for
|
9787 |
|
|
-Wmissing-format-attribute without -Wformat.
|
9788 |
|
|
* c-typeck.c (convert_for_assignment): Detect additional cases for
|
9789 |
|
|
-Wmissing-format-attribute.
|
9790 |
|
|
* doc/invoke.texi (-Wmissing-format-attribute): Document new
|
9791 |
|
|
behavior.
|
9792 |
|
|
|
9793 |
|
|
2005-07-19 Richard Guenther
|
9794 |
|
|
|
9795 |
|
|
* config/i386/i386.md (lrint2): Use temporary
|
9796 |
|
|
instead of clobbering non-existent memory.
|
9797 |
|
|
|
9798 |
|
|
2005-07-19 Nick Clifton
|
9799 |
|
|
|
9800 |
|
|
* config/avr/avr.c (legitimate_address_p): Fix debugging print
|
9801 |
|
|
statement to avoid displaying ASCII control characters.
|
9802 |
|
|
|
9803 |
|
|
2005-07-19 Ben Elliston
|
9804 |
|
|
|
9805 |
|
|
* bt-load.c (link_btr_uses): Fix uninitialised warnings.
|
9806 |
|
|
* cfganal.c (find_edge_index): Ditto.
|
9807 |
|
|
* combine.c (combine_instructions): Ditto.
|
9808 |
|
|
* ddg.c (create_scc): Ditto.
|
9809 |
|
|
(find_successors): Ditto.
|
9810 |
|
|
(find_predecessors): Ditto.
|
9811 |
|
|
(find_nodes_on_paths): Ditto.
|
9812 |
|
|
(longest_simple_path): Ditto.
|
9813 |
|
|
* flow.c (update_life_info): Ditto.
|
9814 |
|
|
(count_or_remove_death_notes): Ditto.
|
9815 |
|
|
(clear_log_links): Ditto.
|
9816 |
|
|
* modulo-sched.c (generate_reg_moves): Ditto.
|
9817 |
|
|
(find_max_asap): Ditto.
|
9818 |
|
|
(find_max_hv_min_mob): Ditto.
|
9819 |
|
|
(find_max_dv_min_mob): Ditto.
|
9820 |
|
|
* sbitmap.c (sbitmap_first_set_bit): Ditto.
|
9821 |
|
|
* sched-rgn.c (extract_edgelst): Ditto.
|
9822 |
|
|
* tree-into-ssa.c (prepare_names_to_update): Ditto.
|
9823 |
|
|
(dump_update_ssa): Ditto.
|
9824 |
|
|
(ssa_names_to_replace) Ditto.
|
9825 |
|
|
(switch_virtuals_to_full_rewrite): Ditto.
|
9826 |
|
|
(update_ssa): Ditto.
|
9827 |
|
|
* tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto.
|
9828 |
|
|
|
9829 |
|
|
2005-07-18 Daniel Berlin
|
9830 |
|
|
|
9831 |
|
|
Fix PR tree-optimization/22483
|
9832 |
|
|
|
9833 |
|
|
* tree-complex.c (create_components): Use
|
9834 |
|
|
safe_referenced_var_iterator and FOR_EACH_REFERENCED_VAR_SAFE.
|
9835 |
|
|
* tree-flow-inline.h (fill_referenced_var_vec): New function.
|
9836 |
|
|
* tree-flow.h (safe_referenced_var_iterator): New structure.
|
9837 |
|
|
(FOR_EACH_REFERENCED_VAR_SAFE): New macro.
|
9838 |
|
|
* tree-ssa-alias.c (setup_pointers_and_addressables): Use
|
9839 |
|
|
safe_referenced_var iterator.
|
9840 |
|
|
(add_type_alias): Ditto.
|
9841 |
|
|
|
9842 |
|
|
2005-07-19 Steven Bosscher
|
9843 |
|
|
|
9844 |
|
|
* loop-init.c (rest_of_handle_loop2): Remove.
|
9845 |
|
|
(rtl_loop_init, rtl_loop_done, rtl_move_loop_invariants,
|
9846 |
|
|
rtl_unswitch, rtl_unroll_and_peel_loops, rtl_doloop): New functions.
|
9847 |
|
|
(pass_rtl_loop_init, pass_rtl_loop_done,
|
9848 |
|
|
pass_rtl_move_loop_invariants, pass_rtl_unswitch,
|
9849 |
|
|
pass_rtl_unroll_and_peel_loops, pass_rtl_doloop): New passes.
|
9850 |
|
|
* tree-ssa-loop.c (pass_loop, pass_loop_init, pass_loop_done,
|
9851 |
|
|
pass_unswitch): Rename to pass_tree_loop, pass_tree_loop_init,
|
9852 |
|
|
pass_tree_loop_done, and pass_tree_unswitch.
|
9853 |
|
|
(gate_loop): Rename to gate_tree_loop.
|
9854 |
|
|
* passes.c (init_optimization_passes): Update for renamed tree
|
9855 |
|
|
loop passes. Add the new loop2 passes as subpasses of loop2.
|
9856 |
|
|
* tree-pass.h: Add extern declarations for the new loop2 subpasses.
|
9857 |
|
|
Update for the renamed tree loop passes.
|
9858 |
|
|
|
9859 |
|
|
2005-07-18 Ian Lance Taylor
|
9860 |
|
|
|
9861 |
|
|
PR middle-end/22057
|
9862 |
|
|
* tree-cfgcleanup.c (cleanup_tree_cfg): Only remove forwarder
|
9863 |
|
|
blocks when optimizing.
|
9864 |
|
|
|
9865 |
|
|
2005-07-18 Steve Ellcey
|
9866 |
|
|
|
9867 |
|
|
* common.opt (frename-registers): Initialize to 2.
|
9868 |
|
|
(fweb): Ditto.
|
9869 |
|
|
(fgcse-after-reload): Ditto.
|
9870 |
|
|
* toplev.c (AUTODETECT_FLAG_VAR_TRACKING): Rename to AUTODETECT_VALUE.
|
9871 |
|
|
(process_options): Only change flag_web, flag_rename_registers,
|
9872 |
|
|
and flag_rerun_cse_after_loop if not explicitly set by user.
|
9873 |
|
|
|
9874 |
|
|
2005-07-18 Jan Beulich
|
9875 |
|
|
|
9876 |
|
|
* config/i386/i386.c (ix86_expand_branch, ix86_expand_setcc,
|
9877 |
|
|
ix86_expand_carry_flag_compare, ix86_expand_int_movcc): Handle TImode
|
9878 |
|
|
in 64-bit mode the same as DImode in 32-bit mode.
|
9879 |
|
|
(ix86_expand_ashl_const, ix86_split_ashl, ix86_split_ashr,
|
9880 |
|
|
ix86_split_lshr): Likewise. Rename to no longer refer to a specific
|
9881 |
|
|
mode. Add new mode parameter.
|
9882 |
|
|
* config/i386/i386.h (CONST_OK_FOR_LETTER_P): Describe and handle 'O'.
|
9883 |
|
|
* config/i386/i386.md (cmpti, addti3, subti3, negti2, ashlti3, ashrti3,
|
9884 |
|
|
x86_64_shift_adj): New expanders.
|
9885 |
|
|
(*addti3_1, *subti3_1, *negti2_1, ashlti3_1, *ashlti3_2, ashrti3_1,
|
9886 |
|
|
*ashrti3_2, lshrti3_1, *lshrti3_2, x86_64_shld, x86_64_shrd): New
|
9887 |
|
|
insns.
|
9888 |
|
|
Respective new splitters. Use renamed shift splitter helpers in 32-bit
|
9889 |
|
|
DImode shift splitters.
|
9890 |
|
|
* config/i386/i386-protos.h (ix86_split_ashl, ix86_split_ashr,
|
9891 |
|
|
ix86_split_lshr): Renamed from ix86_split_[al]sh[rl]di. Added new
|
9892 |
|
|
mode parameter.
|
9893 |
|
|
|
9894 |
|
|
2005-07-18 Jan Beulich
|
9895 |
|
|
|
9896 |
|
|
* i386.md (movdi_extzv_1): New.
|
9897 |
|
|
(zero_extendhidi2): Combine alternatives and never force use of
|
9898 |
|
|
REX64 prefix.
|
9899 |
|
|
(zero_extendqidi2): Likewise. Don't restrict input selection.
|
9900 |
|
|
|
9901 |
|
|
2005-07-17 Daniel Berlin
|
9902 |
|
|
|
9903 |
|
|
Fix PR tree-optimization/22531
|
9904 |
|
|
* tree-ssa-pre.c (do_eustores): Make sure LHS is a decl for the
|
9905 |
|
|
moment.
|
9906 |
|
|
|
9907 |
|
|
2005-07-17 Daniel Berlin
|
9908 |
|
|
|
9909 |
|
|
* tree-promote-statics.c (pass_promote_statics): Change dump file
|
9910 |
|
|
name.
|
9911 |
|
|
|
9912 |
|
|
2005-07-17 Daniel Berlin
|
9913 |
|
|
|
9914 |
|
|
* tree-optimize.c (init_tree_optimization_passes): Add
|
9915 |
|
|
pass_eliminate_useless_stores pass.
|
9916 |
|
|
* tree-pass.h (pass_eliminate_useless_stores): New pass structure.
|
9917 |
|
|
* tree-ssa-pre.c (is_copy_stmt): New function.
|
9918 |
|
|
(follow_copies_till_vuse): Ditto.
|
9919 |
|
|
(do_eustores): Ditto.
|
9920 |
|
|
(gate_eustores): Ditto.
|
9921 |
|
|
|
9922 |
|
|
2005-07-16 Richard Henderson
|
9923 |
|
|
|
9924 |
|
|
* gcc.c (MFWRAP_SPEC): Don't wrap pthread_join or pthread_exit.
|
9925 |
|
|
|
9926 |
|
|
2005-07-16 Danny Berlin
|
9927 |
|
|
Kenneth Zadeck
|
9928 |
|
|
|
9929 |
|
|
* Makefile.in: Added rules for ipa-pure-const.c, ipa-reference.c,
|
9930 |
|
|
ipa-reference.h, ipa-utils.c, ipa-utils.h, ipa-type-escape.c,
|
9931 |
|
|
ipa-type-escape.h, tree-promote-statics.c
|
9932 |
|
|
* ipa-pure-const.c, ipa-reference.c, ipa-reference.h, ipa-utils.c,
|
9933 |
|
|
ipa-utils.h, ipa-type-escape.c, ipa-type-escape.h,
|
9934 |
|
|
tree-promote-statics.c: new files.
|
9935 |
|
|
* alias.c: (nonlocal_mentioned_p_1, nonlocal_mentioned_p,
|
9936 |
|
|
nonlocal_referenced_p_1, nonlocal_referenced_p, nonlocal_set_p_1,
|
9937 |
|
|
int nonlocal_set_p, mark_constant_function): Deleted.
|
9938 |
|
|
(rest_of_handle_cfg): Removed call to mark_constant_function.
|
9939 |
|
|
(nonoverlapping_component_refs_p): Added calls to support
|
9940 |
|
|
type based aliasing.
|
9941 |
|
|
* tree-ssa-alias.c (may_alias_p,
|
9942 |
|
|
compute_flow_insensitive_aliasing): Ditto.
|
9943 |
|
|
* calls.c (flags_from_decl_or_type): Removed reference to
|
9944 |
|
|
cgraph_rtl_info.
|
9945 |
|
|
* c-typeck.c (convert_arguments): Make builtins tolerant of having
|
9946 |
|
|
too many arguments. This is necessary for Spec 2000.
|
9947 |
|
|
* cgraph.h (const_function, pure_function): Removed.
|
9948 |
|
|
* common.opt: Added "fipa-pure-const", "fipa-reference",
|
9949 |
|
|
"fipa-type-escape", and "ftree-promote-static".
|
9950 |
|
|
* opts.c: Ditto.
|
9951 |
|
|
* passes.c: Added ipa and tree-promote-statics passes.
|
9952 |
|
|
* timevar.def: Added TV_IPA_PURE_CONST, TV_IPA_REFERENCE,
|
9953 |
|
|
TV_IPA_TYPE_ESCAPE, and TV_PROMOTE_STATICS.
|
9954 |
|
|
* tree-dfa.c (referenced_var_lookup_if_exists): New function.
|
9955 |
|
|
* tree-flow.h: Added exposed sra calls and addition of
|
9956 |
|
|
reference_vars_info field for FUNCTION_DECLS.
|
9957 |
|
|
* tree-pass.h: Added passes.
|
9958 |
|
|
* tree-sra.c: (sra_init_cache): New function.
|
9959 |
|
|
(sra_insert_before, sra_insert_after) Made public.
|
9960 |
|
|
(type_can_be_decomposed_p): Renamed from type_can_be_decomposed_p
|
9961 |
|
|
and made public.
|
9962 |
|
|
* tree-ssa-alias.c (dump_alias_stats): Added stats for type based
|
9963 |
|
|
aliasing. (may_alias_p): Added code to use type escape analysis to
|
9964 |
|
|
improve alias sets.
|
9965 |
|
|
* tree-ssa-operands.c (add_call_clobber_ops): Added parameter and
|
9966 |
|
|
code to prune clobbers of static variables based on information
|
9967 |
|
|
produced in ipa-reference pass. Changed call clobbering so that
|
9968 |
|
|
statics are not marked as clobbered if the call does not clobber
|
9969 |
|
|
them.
|
9970 |
|
|
|
9971 |
|
|
2005-07-16 Daniel Berlin
|
9972 |
|
|
|
9973 |
|
|
* tree-ssa-structalias.c (need_to_solve): Need to check for preds,
|
9974 |
|
|
too.
|
9975 |
|
|
|
9976 |
|
|
2005-07-16 Eric Botcazou
|
9977 |
|
|
|
9978 |
|
|
* doc/install.texi (*-*-solaris2*): Document recommended version
|
9979 |
|
|
of GNU binutils and mention GNU linker problem on Solaris 10.
|
9980 |
|
|
|
9981 |
|
|
2005-07-16 Joseph S. Myers
|
9982 |
|
|
|
9983 |
|
|
PR c/22421
|
9984 |
|
|
* c-decl.c (c_build_bitfield_integer_type): New function.
|
9985 |
|
|
(finish_struct): Call it.
|
9986 |
|
|
* c-pretty-print.c (pp_c_type_specifier): Handle bit-field types.
|
9987 |
|
|
|
9988 |
|
|
2005-07-16 Kaveh R. Ghazi
|
9989 |
|
|
|
9990 |
|
|
* c-typeck.c (digest_init): Call 'convert_for_assignment'
|
9991 |
|
|
before returning.
|
9992 |
|
|
|
9993 |
|
|
2005-07-16 Jan Hubicka
|
9994 |
|
|
|
9995 |
|
|
* cfg.c (update_bb_profile_for_threading): Fix profile updating.
|
9996 |
|
|
(scale_bbs_frequencies_int): Watch roundoff errors.
|
9997 |
|
|
* predict.c (return_prediction): Initialize return_stmt.
|
9998 |
|
|
|
9999 |
|
|
2005-07-16 Jan Hubicka
|
10000 |
|
|
|
10001 |
|
|
* profile.c (rest_of_handle_branch_prob): Fix handling of estimation
|
10002 |
|
|
after RTL profiling.
|
10003 |
|
|
|
10004 |
|
|
2005-07-11 Andrew Pinski
|
10005 |
|
|
|
10006 |
|
|
PR middle-end/22398
|
10007 |
|
|
* fold-const.c (build_range_check): Convert high/low to etype
|
10008 |
|
|
if we are only comparing against exp.
|
10009 |
|
|
|
10010 |
|
|
2005-07-13 Daniel Berlin
|
10011 |
|
|
|
10012 |
|
|
Fix PR tree-optimization/22376
|
10013 |
|
|
* tree-ssa-structalias.c (build_constraint_graph): We really meant
|
10014 |
|
|
special var here.
|
10015 |
|
|
(need_to_solve): New function.
|
10016 |
|
|
(compute_points_to_sets): Use it.
|
10017 |
|
|
|
10018 |
|
|
2005-07-15 Jan Hubicka
|
10019 |
|
|
|
10020 |
|
|
* cfg.c (update_bb_profile_for_threading): More diagnostic.
|
10021 |
|
|
* tree-ssa-threadupdate.c (redirect_edges): Update profile of dup_block.
|
10022 |
|
|
|
10023 |
|
|
2005-07-15 Richard Guenther
|
10024 |
|
|
|
10025 |
|
|
* c-common.c (handle_flatten_attribute): New function.
|
10026 |
|
|
Add flatten function attribute.
|
10027 |
|
|
* doc/extend.texi: Document flatten function attribute.
|
10028 |
|
|
* Makefile.in (ipa-inline.o): Depend on hashtab.h.
|
10029 |
|
|
* ipa-inline.c (cgraph_find_cycles, cgraph_flatten_node):
|
10030 |
|
|
New functions.
|
10031 |
|
|
(cgraph_decide_inlining): Handle functions with flatten
|
10032 |
|
|
attribute.
|
10033 |
|
|
|
10034 |
|
|
2005-07-14 David Edelsohn
|
10035 |
|
|
|
10036 |
|
|
* config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_LWSYNC,
|
10037 |
|
|
UNSPEC_ISYNC, UNSPEC_SYNC_OP, UNSPEC_ATOMIC, UNSPEC_CMPXCHG,
|
10038 |
|
|
UNSPEC_XCHG, UNSPEC_AND): New.
|
10039 |
|
|
(UNSPECV_ATOMIC, UNSPECV_SYNC, UNSPECV_SYNC_OP, UNSPECV_CMPXCHG,
|
10040 |
|
|
UNSPECV_LWSYNC, UNSPECV_ISYNC): Delete.
|
10041 |
|
|
* config/rs6000/sync.md (FETCHOP): New code macro.
|
10042 |
|
|
(fetchop_name, fetchop_pred, fetchopsi_constr, fetchopdi_constr):
|
10043 |
|
|
New code attrs.
|
10044 |
|
|
(memory_barrier, sync_internal): Use unspec instead of unspec_volatile.
|
10045 |
|
|
(sync_compare_and_swap): Same.
|
10046 |
|
|
(sync_lock_test_and_set): Same.
|
10047 |
|
|
(sync_, sync_nand): Only use rs6000_emit_sync
|
10048 |
|
|
for QImode and HImode, and not PPC405.
|
10049 |
|
|
(sync_old_, sync_old_nand): Same.
|
10050 |
|
|
(sync_new_, sync_new_nand): Same.
|
10051 |
|
|
(sync_{si,di}_internal): New.
|
10052 |
|
|
(sync_nand{si,di}_internal): New.
|
10053 |
|
|
(sync_old_{si,di}_internal): New.
|
10054 |
|
|
(sync_old_nand{si,di}_internal): New
|
10055 |
|
|
(sync_new_{si,di}_internal): New.
|
10056 |
|
|
(sync_new_nand{si,di}_internal): New.
|
10057 |
|
|
(atomic_and{si,di}): New.
|
10058 |
|
|
(sync_new_nand{si,di}_internal): New.
|
10059 |
|
|
(atomic_and{si,di}): New.
|
10060 |
|
|
(sync_add_internal): Delete.
|
10061 |
|
|
(sync_addshort_internal): Use unspec instead of unspec_volatile.
|
10062 |
|
|
(sync_sub_internal): Delte.
|
10063 |
|
|
(sync_subshort_internal): New.
|
10064 |
|
|
(sync_andsi_internal): Use unspec instead of unspec_volatile.
|
10065 |
|
|
(sync_anddi_internal): Delete.
|
10066 |
|
|
(sync_boolsi_internal): Use unspec instead of unspec_volatile.
|
10067 |
|
|
(sync_booldi_internal): Delete.
|
10068 |
|
|
(sync_boolc_internal): Delete.
|
10069 |
|
|
(sync_boolcshort_internal): Use unspec instead of unspec_volatile.
|
10070 |
|
|
(sync_boolc_internal2): Delete.
|
10071 |
|
|
(sync_boolcc_internal): Delete.
|
10072 |
|
|
(isync, lwsync): Use unspec instead of unspec_volatile.
|
10073 |
|
|
* config/rs6000/rs6000.c (rs6000_emit_sync): Implement MINUS.
|
10074 |
|
|
Revert UNSPEC_VOLATILE.
|
10075 |
|
|
(rs6000_split_atomic_op): New.
|
10076 |
|
|
* config/rs6000/rs6000-protos.h (rs6000_split_atomic_op): Declare.
|
10077 |
|
|
|
10078 |
|
|
2005-07-14 Eric Christopher
|
10079 |
|
|
|
10080 |
|
|
* config/mips/mips.c (mips_canonicalize_comparison): Cast
|
10081 |
|
|
argument of trunc_int_for_mode to unsigned HOST_WIDE_INT.
|
10082 |
|
|
|
10083 |
|
|
2005-07-14 Eric Christopher
|
10084 |
|
|
|
10085 |
|
|
* config/s390/t-tpf (SHLIB_MAPFILES): Remove.
|
10086 |
|
|
|
10087 |
|
|
2005-07-14 Steven Bosscher
|
10088 |
|
|
|
10089 |
|
|
PR tree-optimization/22230
|
10090 |
|
|
* tree-vrp.c (extract_range_from_binary_expr): Fix logics thinko in
|
10091 |
|
|
the computation of the four cross productions for "range op range".
|
10092 |
|
|
|
10093 |
|
|
2005-07-14 Alexandre Oliva
|
10094 |
|
|
Ulrich Weigand
|
10095 |
|
|
|
10096 |
|
|
PR target/20126
|
10097 |
|
|
* loop.c (loop_givs_rescan): Do not ICE if unable to reduce an IV
|
10098 |
|
|
in some insn.
|
10099 |
|
|
|
10100 |
|
|
2005-07-14 Ulrich Weigand
|
10101 |
|
|
|
10102 |
|
|
* config/s390/s390.h (TARGET_TPF_PROFILING): Add default definition.
|
10103 |
|
|
|
10104 |
|
|
2005-07-14 Steve Ellcey
|
10105 |
|
|
|
10106 |
|
|
* config/ia64/ia64.c (ia64_output_dwarf_dtprel): Support ILP32 mode.
|
10107 |
|
|
|
10108 |
|
|
2005-07-14 Richard Guenther
|
10109 |
|
|
|
10110 |
|
|
PR middle-end/22347
|
10111 |
|
|
* config/i386/i386-protos.h (ix86_function_value): Change
|
10112 |
|
|
prototype to match new target hook.
|
10113 |
|
|
* config/i386/i386.c (ix86_value_regno): Change prototype
|
10114 |
|
|
to take extra type argument.
|
10115 |
|
|
(TARGET_FUNCTION_VALUE): Define.
|
10116 |
|
|
(ix86_function_ok_for_sibcall): Pass extra argument to
|
10117 |
|
|
ix86_value_regno, check return slot rtx for exact match.
|
10118 |
|
|
(ix86_function_value): Take extra parameter. Dispatch to
|
10119 |
|
|
ix86_value_regno with fndecl/fntype as provided.
|
10120 |
|
|
(ix86_value_regno): Handle extra type argument.
|
10121 |
|
|
* config/i386/i386.h (FUNCTION_VALUE): No longer define.
|
10122 |
|
|
|
10123 |
|
|
* testsuite/gcc.target/i386/sseregparm-3.c: New testcase.
|
10124 |
|
|
* testsuite/gcc.target/i386/sseregparm-4.c: New testcase.
|
10125 |
|
|
* testsuite/gcc.target/i386/sseregparm-5.c: New testcase.
|
10126 |
|
|
* testsuite/gcc.target/i386/sseregparm-6.c: New testcase.
|
10127 |
|
|
* testsuite/gcc.target/i386/sseregparm-7.c: New testcase.
|
10128 |
|
|
|
10129 |
|
|
2005-07-14 Richard Guenther
|
10130 |
|
|
|
10131 |
|
|
* Makefile.in (explow.o, reg-stack.o): Depend on target.h.
|
10132 |
|
|
* calls.c (expand_call): Pass fntype to hard_function_value.
|
10133 |
|
|
(emit_library_call_value_1): Likewise.
|
10134 |
|
|
* explow.c: Include target.h.
|
10135 |
|
|
(hard_function_value): Take extra argument, the fntype.
|
10136 |
|
|
Use new target hook for function_value.
|
10137 |
|
|
* expr.h (hard_function_value): Change prototype.
|
10138 |
|
|
* function.c (aggregate_value_p): Pass 0 as fntype to
|
10139 |
|
|
hard_function_value.
|
10140 |
|
|
(assign_parms): Use new target hook for function_value.
|
10141 |
|
|
Pass 0 as fntype to hard_function_value.
|
10142 |
|
|
(expand_function_end): Likewise.
|
10143 |
|
|
* reg-stack.c: Include target.h.
|
10144 |
|
|
(stack_result): Use new target hook for function_value.
|
10145 |
|
|
* target-def.h: New target hook function_value.
|
10146 |
|
|
* target.h: Likewise.
|
10147 |
|
|
* targhooks.c (default_function_value): New function.
|
10148 |
|
|
* targhooks.h (default_function_value): Declare.
|
10149 |
|
|
|
10150 |
|
|
2005-07-13 Ian Lance Taylor
|
10151 |
|
|
|
10152 |
|
|
* config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
|
10153 |
|
|
|
10154 |
|
|
2005-07-14 Jan Hubicka
|
10155 |
|
|
|
10156 |
|
|
* tree-dfa.c (dump_variable): Use default_def function.
|
10157 |
|
|
* tree-ssa-alias.c (dump_points_to_info): Likewise.
|
10158 |
|
|
* tree-ssa.c (verify_use): Likewise.
|
10159 |
|
|
* tree-ssanames.c (release_ssa_name): Likewise.
|
10160 |
|
|
* tree-tailcall.c (eliminate_tail_call): Likewise.
|
10161 |
|
|
(tree_optimize_tail_calls_1): Likewise.
|
10162 |
|
|
* tree-vrp.c (get_value_range): Likewise.
|
10163 |
|
|
|
10164 |
|
|
2005-07-14 Ben Elliston
|
10165 |
|
|
|
10166 |
|
|
* gcc.c (main): Compare language[0] with '*' when iterating over
|
10167 |
|
|
the infiles.
|
10168 |
|
|
|
10169 |
|
|
2005-07-13 Adrian Strae½tling
|
10170 |
|
|
|
10171 |
|
|
* config/s390/s390.c: (s390_cc_modes_compatible): Move before
|
10172 |
|
|
"s390_emit_compare". Add handling of CCZ1mode.
|
10173 |
|
|
(s390_canonicalize_comparison): Simplify cascaded EQ, NE.
|
10174 |
|
|
(390_emit_compare): Use "s390_cc_modes_compatible" for mode
|
10175 |
|
|
checking.
|
10176 |
|
|
(s390_branch_condition_mask): Add CCZ1mode handling.
|
10177 |
|
|
* config/s390/s390.md: ("seq", "*seq"): New pattern.
|
10178 |
|
|
("sync_compare_and_swap_cc", "*sync_compare_and_swap_cc"):
|
10179 |
|
|
Use CCZ1mode instead of CCZmode.
|
10180 |
|
|
* config/s390/s390-modes.def: Add CCZ1mode. Comment new mode.
|
10181 |
|
|
|
10182 |
|
|
2005-07-13 Adrian Strae½tling
|
10183 |
|
|
|
10184 |
|
|
* config/s390/s390.md: ("cmpstrsi", "*cmpstr"): New
|
10185 |
|
|
pattern.
|
10186 |
|
|
("strlen", "*strlen"): Use hard reg 0 in SImode.
|
10187 |
|
|
|
10188 |
|
|
2005-07-13 Eric Christopher
|
10189 |
|
|
|
10190 |
|
|
* config/mips/mips.c (mips_canonicalize_comparison): New.
|
10191 |
|
|
(mips_emit_int_relational): Use.
|
10192 |
|
|
|
10193 |
|
|
2005-07-13 Eric Christopher
|
10194 |
|
|
|
10195 |
|
|
* config.gcc (s390x-ibm-tpf*): Add extra_options. Remove
|
10196 |
|
|
static extra parts.
|
10197 |
|
|
* config/s390/s390.md: Include tpf.md. Move tpf specific
|
10198 |
|
|
patterns...
|
10199 |
|
|
* config/s390/tpf.md: To here.
|
10200 |
|
|
* config/s390/s390.opt: Move tpf specific options...
|
10201 |
|
|
* config/s390/tpf.opt: to here. Add mmain option.
|
10202 |
|
|
* config/s390/tpf-unwind.h: Remove unnecessary defines.
|
10203 |
|
|
* config/s390/tpf.h: Rewrite.
|
10204 |
|
|
|
10205 |
|
|
2005-07-13 H.J. Lu
|
10206 |
|
|
|
10207 |
|
|
* doc/tm.texi: Remove @xref{Cross-profiling}.
|
10208 |
|
|
|
10209 |
|
|
2005-07-13 Jeff Law
|
10210 |
|
|
|
10211 |
|
|
* fold-const.c (fold_binary): When comparing two simple ADDR_EXPR
|
10212 |
|
|
expressions, test their _DECL operands for pointer equality rather
|
10213 |
|
|
than using operand_equal_p.
|
10214 |
|
|
|
10215 |
|
|
2005-07-13 H.J. Lu
|
10216 |
|
|
|
10217 |
|
|
* config/alpha/linux.h (TARGET_HAS_F_SETLKW): Renamed to ...
|
10218 |
|
|
(TARGET_POSIX_IO): This.
|
10219 |
|
|
* config/darwin.h: Likewise.
|
10220 |
|
|
* config/freebsd.h: Likewise.
|
10221 |
|
|
* config/linux.h: Likewise.
|
10222 |
|
|
* config/lynx.h: Likewise.
|
10223 |
|
|
* config/netbsd.h: Likewise.
|
10224 |
|
|
* config/rs6000/linux64.h: Likewise.
|
10225 |
|
|
* config/rs6000/linux.h: Likewise.
|
10226 |
|
|
* config/s390/tpf.h: Likewise.
|
10227 |
|
|
* config/sh/embed-elf.h: Likewise.
|
10228 |
|
|
* config/sparc/linux64.h: Likewise.
|
10229 |
|
|
* config/sparc/linux.h: Likewise.
|
10230 |
|
|
* config/svr4.h: Likewise.
|
10231 |
|
|
* gcov-io.h: Likewise.
|
10232 |
|
|
|
10233 |
|
|
* doc/tm.texi: Updated.
|
10234 |
|
|
|
10235 |
|
|
* libgcov.c (create_file_directory): Defined only if
|
10236 |
|
|
TARGET_POSIX_IO is defined.
|
10237 |
|
|
(gcov_exit): Call create_file_directory only if TARGET_POSIX_IO
|
10238 |
|
|
is defined.
|
10239 |
|
|
|
10240 |
|
|
2005-07-13 Jan Hubicka
|
10241 |
|
|
|
10242 |
|
|
* tree-ssa-operands.c (get_expr_operands): Fix typo in previous patch.
|
10243 |
|
|
|
10244 |
|
|
2005-07-13 David Edelsohn
|
10245 |
|
|
|
10246 |
|
|
* tree-ssa-dom.c (lookup_avail_expr): Do not pass member in freed
|
10247 |
|
|
structure as argument.
|
10248 |
|
|
|
10249 |
|
|
2005-07-13 Paolo Bonzini
|
10250 |
|
|
|
10251 |
|
|
PR tree-optimization/21921
|
10252 |
|
|
* tree-iterator.c (tsi_link_before): Support the case when
|
10253 |
|
|
tsi_end_p (tsi) == true.
|
10254 |
|
|
|
10255 |
|
|
2005-07-12 Zdenek Dvorak
|
10256 |
|
|
|
10257 |
|
|
PR tree-optimization/22442
|
10258 |
|
|
* tree-chrec.c (chrec_fold_multiply_poly_poly): Associate chrecs
|
10259 |
|
|
correctly.
|
10260 |
|
|
|
10261 |
|
|
2005-07-12 Zdenek Dvorak
|
10262 |
|
|
|
10263 |
|
|
PR rtl-optimization/20376
|
10264 |
|
|
* toplev.c (process_options): Enable -fweb and -frename-registers when
|
10265 |
|
|
unrolling.
|
10266 |
|
|
* doc/invoke.texi: Update the information about when -fweb and
|
10267 |
|
|
-frename-registers are enabled.
|
10268 |
|
|
|
10269 |
|
|
2005-07-12 Andrew Pinski
|
10270 |
|
|
|
10271 |
|
|
PR tree-opt/21840
|
10272 |
|
|
* tree-ssa-pre.c (eliminate): Convert the sprime to the correct type
|
10273 |
|
|
if *rhs_p is not a SSA_NAME.
|
10274 |
|
|
|
10275 |
|
|
2005-07-12 Daniel Berlin
|
10276 |
|
|
|
10277 |
|
|
Fix PR tree-optimization/22422
|
10278 |
|
|
* tree-ssa-structalias.c (struct variable_info): Add flag for
|
10279 |
|
|
special vars.
|
10280 |
|
|
(get_varinfo): Now a static function.
|
10281 |
|
|
(new_varinfo): init has_union and is_special_var to false.
|
10282 |
|
|
(solution_set_add): Check has_union.
|
10283 |
|
|
(do_da_constraint): Move temporary variable so it gets reset
|
10284 |
|
|
properly.
|
10285 |
|
|
Also check for special variable.
|
10286 |
|
|
(do_ds_constraint): Ditto.
|
10287 |
|
|
(do_sd_constraint): Ditto.
|
10288 |
|
|
(do_structure_copy): Check for special variable.
|
10289 |
|
|
(find_func_aliases): Ditto.
|
10290 |
|
|
(init_base_vars): Set special vars properly.
|
10291 |
|
|
|
10292 |
|
|
2005-07-13 Jan Hubicka
|
10293 |
|
|
|
10294 |
|
|
* cfgexpand.c (expand_one_stack_var): Do not expand variables when we
|
10295 |
|
|
do unit-at-a-time.
|
10296 |
|
|
|
10297 |
|
|
* tree-ssa-operands.c (parse_ssa_operands): Fix formatting.
|
10298 |
|
|
(get_expr_operands): Fix thinko wrt flags and subvars.
|
10299 |
|
|
|
10300 |
|
|
PR tree-optimize/22379
|
10301 |
|
|
* tree-inline.c (expand_call_inline): Do not output sorry in early
|
10302 |
|
|
inlining.
|
10303 |
|
|
|
10304 |
|
|
2005-07-12 Dale Johannesen
|
10305 |
|
|
|
10306 |
|
|
* config/rs6000.c (rs6000_rtx_cost): Move FLOAT_EXTEND.
|
10307 |
|
|
|
10308 |
|
|
2005-07-12 Andrew Pinski
|
10309 |
|
|
|
10310 |
|
|
PR bootstrap/21704
|
10311 |
|
|
* host-linux.h: Include limits.h.
|
10312 |
|
|
|
10313 |
|
|
2005-07-12 Dale Johannesen
|
10314 |
|
|
|
10315 |
|
|
* expr.c (compress_float_constant): Add cost check.
|
10316 |
|
|
* config/rs6000.c (rs6000_rtx_cost): Adjust FLOAT_EXTEND cost.
|
10317 |
|
|
|
10318 |
|
|
2005-07-12 Dale Johannesen
|
10319 |
|
|
|
10320 |
|
|
* gcc.target/i386/compress-float-sse.c: New.
|
10321 |
|
|
* gcc.target/i386/compress-float-sse-pic.c: New.
|
10322 |
|
|
* gcc.target/i386/compress-float-387.c: New.
|
10323 |
|
|
* gcc.target/i386/compress-float-387-pic.c: New.
|
10324 |
|
|
* gcc.dg/compress-float-ppc.c: New.
|
10325 |
|
|
* gcc.dg/compress-float-ppc-pic.c: New.
|
10326 |
|
|
|
10327 |
|
|
2005-07-12 Eric Christopher
|
10328 |
|
|
|
10329 |
|
|
* config.gcc (s390x-ibm-tpf*): Add extra_options. Remove
|
10330 |
|
|
static extra parts.
|
10331 |
|
|
* config/s390/s390.md: Include tpf.md. Move tpf specific
|
10332 |
|
|
patterns...
|
10333 |
|
|
* config/s390/tpf.md: To here.
|
10334 |
|
|
* config/s390/s390.opt: Move tpf specific options...
|
10335 |
|
|
* config/s390/tpf.opt: to here. Add mmain option.
|
10336 |
|
|
* config/s390/tpf-unwind.h: Remove unnecessary defines.
|
10337 |
|
|
* config/s390/tpf.h: Rewrite.
|
10338 |
|
|
|
10339 |
|
|
2005-07-12 Eric Christopher
|
10340 |
|
|
|
10341 |
|
|
* gcc.c (struct infile): Update comment for language.
|
10342 |
|
|
(main): Rewrite input file resetting code.
|
10343 |
|
|
|
10344 |
|
|
2005-07-12 Andrew Pinski
|
10345 |
|
|
|
10346 |
|
|
PR tree-opt/22335
|
10347 |
|
|
* tree-ssa-dom.c (eliminate_redundant_computations): Reject the prop if
|
10348 |
|
|
requiring a cast in a non RHS of modify_expr. Add a cast when required.
|
10349 |
|
|
(lookup_avail_expr): Use constant_boolean_node instead
|
10350 |
|
|
of boolean_false_node/boolean_true_node.
|
10351 |
|
|
|
10352 |
|
|
2005-07-12 Ben Elliston
|
10353 |
|
|
|
10354 |
|
|
* tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format string
|
10355 |
|
|
and use it when printing num_edges.
|
10356 |
|
|
|
10357 |
|
|
2005-07-12 Bernd Schmidt
|
10358 |
|
|
|
10359 |
|
|
* doc/extend.texi (Blackfin Built-in Functions): New section.
|
10360 |
|
|
* doc/invoke.texi (mcsync-anomaly, mno-csync-anomaly): Fix the
|
10361 |
|
|
@opindex.
|
10362 |
|
|
|
10363 |
|
|
2005-07-12 Adrian Straetling
|
10364 |
|
|
|
10365 |
|
|
* builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp):
|
10366 |
|
|
s/cmpstrsi/cmpstrnsi
|
10367 |
|
|
(expand_builtin_strcmp): Rewrite to support both 'cmpstrsi' and
|
10368 |
|
|
'cmpstrnsi'.
|
10369 |
|
|
* optabs.c: (prepare_cmp_insn): Add availability of 'cmpstrn'.
|
10370 |
|
|
(init_optabs): Initialize cmpstrn_optab.
|
10371 |
|
|
* optabs.h: (enum insn_code cmpstrn_optab): Declare.
|
10372 |
|
|
* genopinit.c: (optabs[]): Add 'cmpstrn' to initialisation.
|
10373 |
|
|
* expr.c: (enum insn_code cmpstrn_optab): Declare.
|
10374 |
|
|
* config/i386/i386.md: s/cmpstr/cmpstrn
|
10375 |
|
|
* config/c4x/c4x.md: s/cmpstr/cmpstrn
|
10376 |
|
|
* doc/md.texi: Update documentation.
|
10377 |
|
|
|
10378 |
|
|
2005-07-11 Richard Henderson
|
10379 |
|
|
|
10380 |
|
|
* config/alpha/alpha.c (alpha_gimplify_va_arg_1): Use
|
10381 |
|
|
build_va_arg_indirect_ref.
|
10382 |
|
|
(alpha_gimplify_va_arg): Likewise.
|
10383 |
|
|
* config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise.
|
10384 |
|
|
* config/i860/i860.c (i860_gimplify_va_arg_expr): Likewise.
|
10385 |
|
|
* config/mips/mips.c (mips_gimplify_va_arg_expr): Likewise.
|
10386 |
|
|
* config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise.
|
10387 |
|
|
* config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise.
|
10388 |
|
|
* config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg):
|
10389 |
|
|
Likewise.
|
10390 |
|
|
* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
|
10391 |
|
|
|
10392 |
|
|
2005-07-12 Zdenek Dvorak
|
10393 |
|
|
|
10394 |
|
|
* tree-flow.h (remove_empty_loops, single_dom_exit): Declare.
|
10395 |
|
|
* passes.c (init_optimization_passes): Add pass_empty_loop.
|
10396 |
|
|
* tree-pass.h (pass_empty_loop): Declare.
|
10397 |
|
|
* tree-ssa-loop-ivcanon.c (empty_loop_p, remove_empty_loop,
|
10398 |
|
|
try_remove_empty_loop, remove_empty_loops): New functions.
|
10399 |
|
|
* tree-ssa-loop-ivopts.c (single_dom_exit): Export.
|
10400 |
|
|
* tree-ssa-loop.c (tree_ssa_empty_loop, pass_empty_loop): New.
|
10401 |
|
|
|
10402 |
|
|
2005-07-12 Peter Barada
|
10403 |
|
|
|
10404 |
|
|
PR middle-end/16719
|
10405 |
|
|
PR middle-end/18421
|
10406 |
|
|
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes
|
10407 |
|
|
in address registers.
|
10408 |
|
|
* config/m68k/m68k.c (hard_regno_mode_ok): Likewise.
|
10409 |
|
|
* config/m68k/m68k.md: Replace 's' with 'i' in 4th
|
10410 |
|
|
alternative of addsi3_5200.
|
10411 |
|
|
|
10412 |
|
|
2005-07-11 Ian Lance Taylor
|
10413 |
|
|
|
10414 |
|
|
* config/mips/mips.md (ffs2): Remove.
|
10415 |
|
|
|
10416 |
|
|
2005-07-11 Ian Lance Taylor
|
10417 |
|
|
|
10418 |
|
|
* doc/tree-ssa.texi (Cleanups): Improve description of
|
10419 |
|
|
TRY_FINALLY_EXPR.
|
10420 |
|
|
(GIMPLE Exception Handling): Clarify TRY_CATCH_EXPR cases.
|
10421 |
|
|
|
10422 |
|
|
2005-07-11 Daniel Berlin
|
10423 |
|
|
|
10424 |
|
|
* print-tree.c (print_node): Use DECL_ARGUMENT_FLD.
|
10425 |
|
|
* tree.h (DECL_ARGUMENT_FLD): New macro.
|
10426 |
|
|
|
10427 |
|
|
2005-07-11 Daniel Berlin
|
10428 |
|
|
|
10429 |
|
|
Fix PR tree-optimization/22404
|
10430 |
|
|
|
10431 |
|
|
* tree-ssa-structalias.c (create_variable_info_for): Use
|
10432 |
|
|
correct offset.
|
10433 |
|
|
|
10434 |
|
|
2005-07-11 Bernd Schmidt
|
10435 |
|
|
|
10436 |
|
|
* config/bfin/bfin.md (cmpsi, compare_eq, compare_ne, compare_lt,
|
10437 |
|
|
compare_le, compare_leu, compare_ltu): Use reg_or_const_int_operand
|
10438 |
|
|
for second comparison operand.
|
10439 |
|
|
* config/bfin/predicates.md (reg_or_const_int_operand): New.
|
10440 |
|
|
|
10441 |
|
|
* config/bfin/bfin.md (define_attr "type"): Add "sync".
|
10442 |
|
|
(define_insn_reservation "alu"): Likewise.
|
10443 |
|
|
(csync, ssync): Now of type sync.
|
10444 |
|
|
* config/bfin/bfin.h (TARGET_DEFAULT): Defaults to
|
10445 |
|
|
-mcsync-anomaly -mspecld-anomaly.
|
10446 |
|
|
* config/bfin/bfin.opt (mcsync): Remove.
|
10447 |
|
|
(mcsync-anomaly, mspecld-anomaly): Add.
|
10448 |
|
|
* config/bfin/bfin.c: Include "insn-codes.h".
|
10449 |
|
|
(bfin_reorg): Extend to handle the CSYNC anomaly as well.
|
10450 |
|
|
(TARGET_DEFAULT_TARGET_FLAGS): New.
|
10451 |
|
|
* doc/invoke.texi: Document -mcsync-anomaly, -mspecld-anomaly.
|
10452 |
|
|
|
10453 |
|
|
2005-07-11 Steven Bosscher
|
10454 |
|
|
|
10455 |
|
|
* basic-block.h: Give the BB flags enum a name, bb_flags.
|
10456 |
|
|
Add new flags BB_FORWARDER_BLOCK, and BB_NONTHREADABLE_BLOCK.
|
10457 |
|
|
* cfgcleanup.c (enum bb_flags): Remove here.
|
10458 |
|
|
(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG): Remove.
|
10459 |
|
|
(notice_new_block): Set/test bb->flags instead of aux via BB_FLAGS.
|
10460 |
|
|
(update_forwarder_flag): Likewise.
|
10461 |
|
|
(thread_jump): Likewise.
|
10462 |
|
|
(try_forward_edges): Likewise.
|
10463 |
|
|
(try_optimize_cfg): Likewise. Clear bb->flags before updating the
|
10464 |
|
|
forwarder flags. Don't clear bb->aux for all basic blocks. Only
|
10465 |
|
|
reset the BB_FORWARDER_BLOCK and BB_NONTHREADABLE_BLOCK flags.
|
10466 |
|
|
|
10467 |
|
|
2005-07-11 Richard Guenther
|
10468 |
|
|
|
10469 |
|
|
* config/i386/i386.opt: New target option -msseregparm.
|
10470 |
|
|
* config/i386/i386.c (override_options): Error out for
|
10471 |
|
|
-msseregparm but no SSE support.
|
10472 |
|
|
(ix86_function_sseregparm): Check for global sseregparm.
|
10473 |
|
|
* doc/invoke.texi: Document -msseregparm.
|
10474 |
|
|
|
10475 |
|
|
2005-07-11 Kazuhiro Inaoka
|
10476 |
|
|
|
10477 |
|
|
* config.gcc (m32r-*-linux*): Use the default extra_parts.
|
10478 |
|
|
(m32rle-*-linux*): Ditto.
|
10479 |
|
|
|
10480 |
|
|
2005-07-11 Jakub Jelinek
|
10481 |
|
|
|
10482 |
|
|
* cfgexpand.c (stack_protect_classify_type): Use TYPE_SIZE_UNIT (type)
|
10483 |
|
|
instead of TYPE_MAX_VALUE (TYPE_DOMAIN (type)) to get array size in
|
10484 |
|
|
bytes.
|
10485 |
|
|
|
10486 |
|
|
2005-07-10 John David Anglin
|
10487 |
|
|
|
10488 |
|
|
PR middle-end/22239
|
10489 |
|
|
PR target/20126
|
10490 |
|
|
* loop.c (loop_givs_rescan): Use expand_simple_binop instead of
|
10491 |
|
|
gen_rtx_MINUS to handle non-replaceable (plus ((x) (const)).
|
10492 |
|
|
|
10493 |
|
|
2005-07-07 Daniel Berlin
|
10494 |
|
|
|
10495 |
|
|
* tree-ssa-structalias.c (struct variable_info): Heapify complex.
|
10496 |
|
|
(varmap): Heapify varmap.
|
10497 |
|
|
(constraints): Heapify constraints.
|
10498 |
|
|
(struct constraint_graph): Heapify succs and preds.
|
10499 |
|
|
(constraint_vec_find): Update for heapification.
|
10500 |
|
|
(constraint_set_union): Ditto.
|
10501 |
|
|
(insert_into_complex): Ditto.
|
10502 |
|
|
(constraint_edge_vec_find): Ditto.
|
10503 |
|
|
(erase_graph_self_edge): Ditto.
|
10504 |
|
|
(add_graph_edge): Ditto.
|
10505 |
|
|
(get_graph_weights): Ditto.
|
10506 |
|
|
(merge_graph_nodes): Ditto.
|
10507 |
|
|
(build_constraint_graph): Ditto.
|
10508 |
|
|
(topo_visit): Ditto.
|
10509 |
|
|
(solve_graph): Ditto.
|
10510 |
|
|
(create_variable_info_for): Ditto.
|
10511 |
|
|
(init_base_vars): Ditto.
|
10512 |
|
|
(delete_points_to_sets): Free graph, varmap, and complex constraints.
|
10513 |
|
|
(condese_varmap_nodes): Free complex vector.
|
10514 |
|
|
(clear_edges_for_node): Clear succs and preds vector.
|
10515 |
|
|
|
10516 |
|
|
2005-07-10 Daniel Berlin
|
10517 |
|
|
|
10518 |
|
|
* tree-ssa-structalias.c (update_alias_info): Change counting of
|
10519 |
|
|
references to not include vdefs.
|
10520 |
|
|
|
10521 |
|
|
2005-07-10 Daniel Berlin
|
10522 |
|
|
|
10523 |
|
|
* tree-ssa-alias.c (free_used_part_map): Add missing free.
|
10524 |
|
|
(up_insert): Ditto.
|
10525 |
|
|
|
10526 |
|
|
2005-07-10 John David Anglin
|
10527 |
|
|
|
10528 |
|
|
* pa.c (pa_commutative_p): Make PLUS commutative when
|
10529 |
|
|
TARGET_NO_SPACE_REGS is true.
|
10530 |
|
|
|
10531 |
|
|
2005-07-09 Diego Novillo
|
10532 |
|
|
|
10533 |
|
|
* Makefile.in (tree-ssa-alias.o): Depend on tree-ssa-structalias.h
|
10534 |
|
|
* tree-cfg.c (CHECK_OP): Only test for is_gimple_val.
|
10535 |
|
|
* tree-dfa.c (dump_subvars_for): New.
|
10536 |
|
|
(debug_subvars_for): New.
|
10537 |
|
|
(dump_variable): Show subvariables if VAR has them.
|
10538 |
|
|
* tree-flow-inline.h (get_subvar_at): New.
|
10539 |
|
|
(overlap_subvar): Change offset and size to unsigned HOST_WIDE_INT.
|
10540 |
|
|
* tree-flow.h (struct ptr_info_def): Remove field pt_malloc.
|
10541 |
|
|
Update all users.
|
10542 |
|
|
(struct subvar): Change fields offset and size to unsigned
|
10543 |
|
|
HOST_WIDE_INT.
|
10544 |
|
|
(dump_subvars_for): Declare.
|
10545 |
|
|
(debug_subvars_for): Declare.
|
10546 |
|
|
(get_subvar_at): Declare.
|
10547 |
|
|
(okay_component_ref_for_subvars): Change 2nd and 3rd argument
|
10548 |
|
|
to unsigned HOST_WIDE_INT *.
|
10549 |
|
|
(overlap_subvar): Likewise.
|
10550 |
|
|
* tree-gimple.c (is_gimple_reg): Always return false for
|
10551 |
|
|
SFTs and memory tags.
|
10552 |
|
|
* tree-pass.h (pass_build_pta, pass_del_pta): Remove.
|
10553 |
|
|
Update all callers.
|
10554 |
|
|
* tree-ssa-alias.c: Include tree-ssa-structalias.h.
|
10555 |
|
|
(compute_may_aliases): Call compute_points_to_sets.
|
10556 |
|
|
(collect_points_to_info_for): Remove.
|
10557 |
|
|
(compute_points_to_and_addr_escape): Remove.
|
10558 |
|
|
(delete_alias_info): Call delete_points_to_sets.
|
10559 |
|
|
(compute_flow_sensitive_aliasing): If the call to
|
10560 |
|
|
find_what_p_points_to returns false, call set_pt_anything.
|
10561 |
|
|
(add_may_alias): Set TREE_ADDRESSABLE when adding a new alias.
|
10562 |
|
|
(set_pt_anything): Clear pi->pt_vars.
|
10563 |
|
|
(set_pt_malloc): Remove.
|
10564 |
|
|
(merge_pointed_to_info): Remove.
|
10565 |
|
|
(add_pointed_to_expr): Remove.
|
10566 |
|
|
(add_pointed_to_var): Remove.
|
10567 |
|
|
(collect_points_to_info_r): Remove.
|
10568 |
|
|
(is_escape_site): Make extern.
|
10569 |
|
|
(create_sft): New.
|
10570 |
|
|
(create_overlap_variables_for): Call it.
|
10571 |
|
|
* tree-ssa-copy.c (merge_alias_info): Never merge
|
10572 |
|
|
flow-sensitive alias information.
|
10573 |
|
|
* tree-ssa-operands.c (get_expr_operands): Adjust variables
|
10574 |
|
|
offset and size to be unsigned HOST_WIDE_INT.
|
10575 |
|
|
(add_to_addressable_set): Rename from note_addressable.
|
10576 |
|
|
Set TREE_ADDRESSABLE as the variables are added to the set.
|
10577 |
|
|
Update all users.
|
10578 |
|
|
(add_stmt_operand): Do not try to micro-optimize unmodifiable
|
10579 |
|
|
operands into VUSEs when adding V_MAY_DEFs for members in an
|
10580 |
|
|
alias set.
|
10581 |
|
|
* tree-ssa-operands.h (add_to_addressable_set): Declare.
|
10582 |
|
|
* tree-ssa-structalias.c: Include tree-ssa-structalias.h last.
|
10583 |
|
|
(struct variable_info): Add bitfield is_heap_var.
|
10584 |
|
|
(var_anyoffset, anyoffset_tree, anyoffset_id): Declare.
|
10585 |
|
|
(new_var_info): Initialize is_heap_var.
|
10586 |
|
|
(get_constraint_for): Add HEAP variables to the symbol table.
|
10587 |
|
|
Mark them with is_heap_var.
|
10588 |
|
|
(update_alias_info): New. Taken mostly from the old
|
10589 |
|
|
compute_points_to_and_addr_escape.
|
10590 |
|
|
(handle_ptr_arith): New.
|
10591 |
|
|
(find_func_aliases): Call update_alias_info.
|
10592 |
|
|
Call handle_ptr_info for tcc_binary expressions.
|
10593 |
|
|
Call mark_stmt_modified.
|
10594 |
|
|
(create_variable_info_for): If DECL has subvars, do not create
|
10595 |
|
|
variables for its subvars. Always add all the fields.
|
10596 |
|
|
(set_uids_in_ptset): If the solution includes ANYOFFSET and
|
10597 |
|
|
SFTs, then add all the SFTs of the structure.
|
10598 |
|
|
If VI->DECL is an aggregate with subvariables, add the SFT at
|
10599 |
|
|
VI->OFFSET.
|
10600 |
|
|
(find_what_p_points_to): If VI is an artificial variable,
|
10601 |
|
|
translate to bitfields in SSA_NAME_PTR_INFO.
|
10602 |
|
|
If the solution is empty, set pi->pt_vars to NULL
|
10603 |
|
|
(init_base_vars): Create ANYOFFSET.
|
10604 |
|
|
(compute_points_to_sets): Rename from create_alias_vars.
|
10605 |
|
|
Make extern.
|
10606 |
|
|
(pass_build_pta): Remove.
|
10607 |
|
|
(delete_points_to_sets): Rename from delete_alias_vars.
|
10608 |
|
|
(pass_del_pta): Remove.
|
10609 |
|
|
* tree-ssa-structalias.h (struct alias_info): Move from
|
10610 |
|
|
tree-ssa-alias.h.
|
10611 |
|
|
(NUM_REFERENCES, NUM_REFERENCES_CLEAR, NUM_REFERENCES_INC,
|
10612 |
|
|
NUM_REFERENCES_SET): Likewise.
|
10613 |
|
|
(compute_points_to_sets, delete_points_to_sets): Declare.
|
10614 |
|
|
|
10615 |
|
|
2005-07-09 Richard Henderson
|
10616 |
|
|
|
10617 |
|
|
* config/alpha/alpha.c (emit_insxl, alpha_expand_compare_and_swap_12,
|
10618 |
|
|
alpha_split_compare_and_swap_12, alpha_expand_lock_test_and_set_12,
|
10619 |
|
|
alpha_split_lock_test_and_set_12): New functions.
|
10620 |
|
|
* config/alpha/alpha-protos.h: Update.
|
10621 |
|
|
* config/alpha/alpha.md (UNSPEC_MB, UNSPEC_ATOMIC,
|
10622 |
|
|
UNSPEC_CMPXCHG, UNSPEC_XCHG): Rename from UNSPECV_FOO.
|
10623 |
|
|
* config/alpha/sync.md (I12MODE): New.
|
10624 |
|
|
(memory_barrier, mb_internal): Use unspec instead of unspec_volatile.
|
10625 |
|
|
(sync_): Likewise.
|
10626 |
|
|
(sync_nand): Likewise.
|
10627 |
|
|
(sync_old_): Likewise.
|
10628 |
|
|
(sync_new_): Likewise.
|
10629 |
|
|
(sync_old_nand, sync_new_nand): Likewise.
|
10630 |
|
|
(sync_compare_and_swap): Likewise.
|
10631 |
|
|
(sync_lock_test_and_set): Likewise.
|
10632 |
|
|
(sync_compare_and_swap): New.
|
10633 |
|
|
(sync_compare_and_swap_1): New.
|
10634 |
|
|
(sync_lock_test_and_set): New.
|
10635 |
|
|
(sync_lock_test_and_set_1): New.
|
10636 |
|
|
|
10637 |
|
|
2005-07-09 Diego Novillo
|
10638 |
|
|
|
10639 |
|
|
PR 21356
|
10640 |
|
|
PR 22332
|
10641 |
|
|
* passes.c (execute_todo): Cleanup the CFG before updating SSA.
|
10642 |
|
|
|
10643 |
|
|
2005-07-09 Jakub Jelinek
|
10644 |
|
|
|
10645 |
|
|
* config/i386/i386.c (output_set_got): Don't omit OFFSET FLAT:
|
10646 |
|
|
in Intel syntax add %reg, OFFSET FLAT:_GLOBAL_OFFSET_TABLE_+(.-.Lx).
|
10647 |
|
|
|
10648 |
|
|
2005-07-09 Richard SAndiford
|
10649 |
|
|
|
10650 |
|
|
PR target/21656
|
10651 |
|
|
* config/mips/elf.h (NO_IMPLICIT_EXTERN_C): Define.
|
10652 |
|
|
|
10653 |
|
|
2005-07-08 David Edelsohn
|
10654 |
|
|
|
10655 |
|
|
* config/rs6000/sync.md (load_locked_): Use Z for
|
10656 |
|
|
memory_operand constraint.
|
10657 |
|
|
(store_conditional_): Same.
|
10658 |
|
|
(sync_compare_and_swap): Same.
|
10659 |
|
|
(sync_lock_test_and_set): Same.
|
10660 |
|
|
|
10661 |
|
|
2005-07-08 Hans-Peter Nilsson
|
10662 |
|
|
|
10663 |
|
|
Rewrite PIC support to more closely model actual instructions.
|
10664 |
|
|
* config/cris/cris-protos.h (cris_gotless_symbol, cris_got_symbol)
|
10665 |
|
|
(cris_symbol): Remove prototypes for removed functions.
|
10666 |
|
|
(cris_pic_symbol_type_of, cris_valid_pic_const)
|
10667 |
|
|
(cris_expand_pic_call_address): Prototypes for new functions.
|
10668 |
|
|
* config/cris/cris/cris.c (cris_pic_sympart_only): Remove unused
|
10669 |
|
|
variable.
|
10670 |
|
|
(cris_print_operand) : Remove cases for unused
|
10671 |
|
|
modifiers.
|
10672 |
|
|
: Add case for new punctuation character.
|
10673 |
|
|
: Temporarily set flag_pic = 2 instead of incorrectly
|
10674 |
|
|
emitting (extra) PIC modifier.
|
10675 |
|
|
: Do not assert for PLT.
|
10676 |
|
|
(cris_initial_frame_pointer_offset, cris_simple_epilogue)
|
10677 |
|
|
(cris_expand_prologue, cris_expand_epilogue): Check
|
10678 |
|
|
for pic_offset_table_rtx usage instead of taking
|
10679 |
|
|
current_function_uses_pic_offset_table as the final word.
|
10680 |
|
|
(cris_rtx_costs, cris_address_cost, cris_side_effect_mode_ok):
|
10681 |
|
|
Remove flag_pic difference.
|
10682 |
|
|
(cris_valid_pic_const, cris_pic_symbol_type_of): New functions,
|
10683 |
|
|
the moral equivalents of...
|
10684 |
|
|
(cris_symbol, cris_gotless_symbol, cris_got_symbol): Remove
|
10685 |
|
|
functions.
|
10686 |
|
|
(cris_legitimate_pic_operand): Just call cris_valid_pic_const.
|
10687 |
|
|
(cris_handle_option): Mark ARG as unused.
|
10688 |
|
|
(cris_expand_pic_call_address): New worker function for "call",
|
10689 |
|
|
"call_value".
|
10690 |
|
|
(cris_asm_output_symbol_ref, cris_asm_output_label_ref): Do not
|
10691 |
|
|
output PIC constructs here.
|
10692 |
|
|
(cris_output_addr_const_extra): Changes for emitting PIC modifiers
|
10693 |
|
|
as symbol-specific modifers, not whole or part of operands.
|
10694 |
|
|
* config/cris/cris/cris.h (EXTRA_CONSTRAINT): Remove 'U' case.
|
10695 |
|
|
(EXTRA_CONSTRAINT_S): Changed semantics: allow only CONST-wrapped
|
10696 |
|
|
constants and flag_pic.
|
10697 |
|
|
(CONSTANT_INDEX_P): Adjust for new functions.
|
10698 |
|
|
(enum cris_pic_symbol_type): New helper type.
|
10699 |
|
|
(PRINT_OPERAND_PUNCT_VALID_P): Add ':'.
|
10700 |
|
|
* config/cris/cris/cris.md (CRIS_UNSPEC_GOTREL)
|
10701 |
|
|
(CRIS_UNSPEC_GOTREAD, CRIS_UNSPEC_PLTGOTREAD): New
|
10702 |
|
|
define_constants.
|
10703 |
|
|
("movsi"): Emit actual instructions for GOT and relative access.
|
10704 |
|
|
("*movsi_got_load"): New pattern to set up the register holding
|
10705 |
|
|
the GOT pointer.
|
10706 |
|
|
("*movsi_internal"): Operand 1 is not a plain general_operand.
|
10707 |
|
|
Adjust FIXME for 'S'.
|
10708 |
|
|
|
10709 |
|
|
Use "movs" for -fpic cases.
|
10710 |
|
|
("addsi3"): Add alternative for 'S'; use adds.w when possible.
|
10711 |
|
|
("uminsi3","*expanded_call_value"): Remove 'S' alternative.
|
10712 |
|
|
("call", "call_value"): Just call cris_expand_pic_call_address for
|
10713 |
|
|
PIC addresses.
|
10714 |
|
|
("*expanded_call_no_gotplt", "*expanded_call_value_no_gotplt"):
|
10715 |
|
|
Remove special pattern.
|
10716 |
|
|
("*expanded_call_side", "*expanded_call_value_side"): New
|
10717 |
|
|
patterns.
|
10718 |
|
|
(gotplt-to-plt, gotplt-to-plt-side-call)
|
10719 |
|
|
(gotplt-to-plt-side-call-value, gotplt-to-plt-side): New
|
10720 |
|
|
peephole2:s.
|
10721 |
|
|
* config/cris/cris/predicates.md
|
10722 |
|
|
("cris_general_operand_or_gotless_symbol"): Remove unused
|
10723 |
|
|
predicate.
|
10724 |
|
|
("cris_general_operand_or_symbol"): Adjust for new functions.
|
10725 |
|
|
|
10726 |
|
|
2005-07-08 Andrew Pinski
|
10727 |
|
|
|
10728 |
|
|
* config/darwin.h (TARGET_C99_FUNCTIONS): Define to 1.
|
10729 |
|
|
|
10730 |
|
|
2005-07-08 Daniel Berlin
|
10731 |
|
|
|
10732 |
|
|
* Makefile.in (TREE_H): Add treestruct.def.
|
10733 |
|
|
(c-decl.o): Add pointer-set.h
|
10734 |
|
|
* c-decl.c (diagnose_mismatched_decls): Don't attempt to look at
|
10735 |
|
|
visibility on regular DECL's.
|
10736 |
|
|
(merge_decls): Fix the copying of decl nodes of various types for
|
10737 |
|
|
the new structures. Don't update RTL, section name, weak status,
|
10738 |
|
|
etc, on DECL's without RTL.
|
10739 |
|
|
(grokdeclarator): DECL_ARG_TYPE_AS_WRITTEN is gone.
|
10740 |
|
|
Don't check volatile on non-variable types.
|
10741 |
|
|
(store_parm_decls_oldstyle): Use pointer_set instead of DECL_WEAK
|
10742 |
|
|
to check whether we have seen arguments.
|
10743 |
|
|
* c-objc-common.c (c_tree_printer): Reverse order of tests so that
|
10744 |
|
|
flag is checked before field (flag is common, field is not).
|
10745 |
|
|
* dwarf2out.c (decl_ultimate_origin): Only DECL's with
|
10746 |
|
|
TS_DECL_COMMON could have an origin.
|
10747 |
|
|
(add_location_or_const_value_attribute): Don't check section name
|
10748 |
|
|
on non-var/function decls.
|
10749 |
|
|
(dwarf2out_var_location): Reverse order of tests.
|
10750 |
|
|
* emit-rtl.c (set_reg_attrs_for_parm): DECL_CHECK is dead, replace
|
10751 |
|
|
with DECL_WRTL_CHECK.
|
10752 |
|
|
* expmed.c (make_tree): rtl is now in decl_with_rtl.
|
10753 |
|
|
* fold-const.c (fold_binary): Don't check weakness on
|
10754 |
|
|
non-var/function decls.
|
10755 |
|
|
(tree_expr_nonzero_p): Ditto.
|
10756 |
|
|
(fold_checksum_tree): Use tree_decl_extra as sizeof
|
10757 |
|
|
buffer.
|
10758 |
|
|
* ggc-page.c (extra_order_size_table): Add sizes for
|
10759 |
|
|
tree_decl_non_common, tree_parm_decl, tree_var_decl, and
|
10760 |
|
|
tree_field_decl.
|
10761 |
|
|
* gimplify.c (gimplify_bind_expr): Only set
|
10762 |
|
|
DECL_SEEN_IN_BIND_EXPR_P on VAR_DECL.
|
10763 |
|
|
* integrate.c (copy_decl_for_inlining): Don't set RTL on decl's
|
10764 |
|
|
without RTL.
|
10765 |
|
|
* langhooks-def.h (LANG_HOOK_INIT_TS): New.
|
10766 |
|
|
* langhooks.h (init_ts). New langhook.
|
10767 |
|
|
* passes.c (rest_of_decl_compilation): Reverse order of tests.
|
10768 |
|
|
* print-tree.c (print_node): Update to only print fields that
|
10769 |
|
|
exist in the structures the passed decl has.
|
10770 |
|
|
* toplev.c (wrapup_global_declarations): Don't reset
|
10771 |
|
|
DECL_DEFER_OUTPUT on DECL's that don't contain it.
|
10772 |
|
|
* tree-browser.c (browse_tree): DECL_ARG_TYPE_AS_WRITTEN removed.
|
10773 |
|
|
* tree-inline.c (remap_decl): Ditto.
|
10774 |
|
|
* tree-outof-ssa.c (create_temp): Reverse order of tests.
|
10775 |
|
|
* tree-pretty-print.c (print_declaration): Don't print
|
10776 |
|
|
DECL_REGISTER on things that don't contain it.
|
10777 |
|
|
* tree-vrp.c (expr_computes_nonzero): Don't check weakness on
|
10778 |
|
|
non-var/function decls.
|
10779 |
|
|
* tree.c (tree_contains_struct): New structure.
|
10780 |
|
|
(init_priority_for_decl): New hashtable.
|
10781 |
|
|
(tree_int_map): New structure.
|
10782 |
|
|
(tree_int_map_eq): New function.
|
10783 |
|
|
(tree_int_map_marked_p): Ditto.
|
10784 |
|
|
(tree_int_map_hash): Ditto.
|
10785 |
|
|
(tree_map): Move to tree.h.
|
10786 |
|
|
(tree_map_eq): Externalize.
|
10787 |
|
|
(tree_map_hash): Ditto.
|
10788 |
|
|
(tree_map_marked_p): Ditto.
|
10789 |
|
|
(init_ttree): Set up tree_contains_struct and call langhook.
|
10790 |
|
|
(decl_assembler_name): Use DECL_NON_COMMON_CHECK..
|
10791 |
|
|
(tree_code_size): Update for new structures.
|
10792 |
|
|
(tree_node_structure): Update for new structures.
|
10793 |
|
|
(make_node_stat): Don't try to set DECL_IN_SYSTEM_HEADER on decls
|
10794 |
|
|
without the field.
|
10795 |
|
|
(copy_node_stat): Copy init priority.
|
10796 |
|
|
(build_decl_stat): Ditto for visibility.
|
10797 |
|
|
(ts_enum_names): New.
|
10798 |
|
|
(tree_contains_struct_check_failed): New function.
|
10799 |
|
|
(decl_init_priority_lookup): Ditto.
|
10800 |
|
|
(decl_init_priority_insert): Ditto.
|
10801 |
|
|
* treestruct.def: New file.
|
10802 |
|
|
* tree.h (CODE_CONTAINS_STRUCT): New macro.
|
10803 |
|
|
(CONTAINS_STRUCT_CHECK): Ditto.
|
10804 |
|
|
(tree_contains_struct_check_failed): New prototype.
|
10805 |
|
|
(DECL_CHECK): Removed.
|
10806 |
|
|
(DECL_MINIMAL_CHECK): New.
|
10807 |
|
|
(DECL_COMMON_CHECK): Ditto.
|
10808 |
|
|
(DECL_WRTL_CHECK): Ditto.
|
10809 |
|
|
(DECL_NON_COMMON_CHECK): Ditto.
|
10810 |
|
|
(DECL_WITH_VIS_CHECK): Ditto.
|
10811 |
|
|
(VAR_OR_FUNCTION_DECL_P): Ditto
|
10812 |
|
|
(struct tree_decl_minimal): New structure.
|
10813 |
|
|
(struct tree_decl_common): Ditto.
|
10814 |
|
|
(struct tree_decl_with_rtl): Ditto.
|
10815 |
|
|
(struct tree_decl_with_vis): Ditto.
|
10816 |
|
|
(struct tree_decl_non_common): Ditto.
|
10817 |
|
|
(struct tree_field_decl): Ditto.
|
10818 |
|
|
(struct tree_parm_decl): Ditto.
|
10819 |
|
|
(struct tree_var_decl): Ditto.
|
10820 |
|
|
(struct tree_function_decl): Ditto.
|
10821 |
|
|
(struct tree_const_decl): Ditto.
|
10822 |
|
|
(struct tree_result_decl): Ditto.
|
10823 |
|
|
(union tree_node): Add new structures.
|
10824 |
|
|
* var-tracking.c (track_expr_p): Reverse order of tests.
|
10825 |
|
|
|
10826 |
|
|
* doc/c-tree.texi: Add documentation on DECL node internal structure.
|
10827 |
|
|
|
10828 |
|
|
2005-07-08 Kazu Hirata
|
10829 |
|
|
|
10830 |
|
|
* cfgexpand.c (tree_expand_cfg): Don't use FINALIZE_PIC.
|
10831 |
|
|
* system.h: Poison FINALIZE_PIC.
|
10832 |
|
|
* doc/tm.texi (FINALIZE_PIC): Remove.
|
10833 |
|
|
|
10834 |
|
|
2005-07-08 Andrew Pinski
|
10835 |
|
|
|
10836 |
|
|
PR tree-opt/22329
|
10837 |
|
|
* tree-ssa-propagate.c (fold_predicate_in): Convert the value
|
10838 |
|
|
to the correct type if we have a MODIFY_EXPR.
|
10839 |
|
|
|
10840 |
|
|
2005-07-08 Kazu Hirata
|
10841 |
|
|
|
10842 |
|
|
PR tree-optimization/22360
|
10843 |
|
|
* tree.c (upper_bound_in_type): Fix calculations for casting
|
10844 |
|
|
to a non-wider signed type and casting a signed value to a
|
10845 |
|
|
wider unsigned type.
|
10846 |
|
|
(lower_bound_in_type): Fix calculations for casting to a
|
10847 |
|
|
non-wider signed type.
|
10848 |
|
|
|
10849 |
|
|
PR tree-optimization/20139
|
10850 |
|
|
* tree-cfg.c (remove_bb): Check in_ssa_p before calling
|
10851 |
|
|
release_defs.
|
10852 |
|
|
* tree-optimize.c (execute_cleanup_cfg_post_optimizing): Call
|
10853 |
|
|
fold_cond_expr_cond.
|
10854 |
|
|
* tree-ssanames.c (release_defs): Assert in_ssa_p.
|
10855 |
|
|
* tree.c (upper_bound_in_type, lower_bound_in_type): Rewrite.
|
10856 |
|
|
|
10857 |
|
|
2005-07-08 Andrew Pinski
|
10858 |
|
|
|
10859 |
|
|
PR tree-opt/22356
|
10860 |
|
|
* tree-complex.c (expand_complex_libcall): Produce
|
10861 |
|
|
REALPART_EXPR/IMAGPART_EXPR with the correct type.
|
10862 |
|
|
|
10863 |
|
|
2005-07-08 Kenneth Zadeck
|
10864 |
|
|
|
10865 |
|
|
* bitmap.c (bitmap_and, bitmap_and_into, bitmap_and_compl,
|
10866 |
|
|
bitmap_and_compl_into, bitmap_xor, bitmap_xor_into): Removed "a !=
|
10867 |
|
|
b" assert and inserted fastpath code for this case.
|
10868 |
|
|
(bitmap_ior): Removed "a != b" assert.
|
10869 |
|
|
|
10870 |
|
|
2005-07-08 Kazuhiro Inaoka
|
10871 |
|
|
|
10872 |
|
|
* config/m32r/linux.h (STARTFILE_SPEC): Support PIE.
|
10873 |
|
|
(ENDFILE_SPEC): Likewise.
|
10874 |
|
|
* config/m32r/m32r.h (ASM_SPEC): Likewise.
|
10875 |
|
|
|
10876 |
|
|
* config/m32r/m32r.c (m32r_output_function_epilogue): Care for
|
10877 |
|
|
a large stack frame at epilogue.
|
10878 |
|
|
|
10879 |
|
|
2005-07-08 David Billinghurst
|
10880 |
|
|
|
10881 |
|
|
* final.c: Include sdbout.h when required.
|
10882 |
|
|
|
10883 |
|
|
2005-07-07 Geoffrey Keating
|
10884 |
|
|
|
10885 |
|
|
* config.gcc (*-*-darwin*): Only one target-specific header file
|
10886 |
|
|
for generic darwin.
|
10887 |
|
|
(powerpc-*-darwin*): Add version-specific header files.
|
10888 |
|
|
* configure.in (gcc_AC_CHECK_DECLS): Add strverscmp.
|
10889 |
|
|
* config.in: Regenerate.
|
10890 |
|
|
* configure: Regenerate.
|
10891 |
|
|
* gcc.c: Include xregex.h.
|
10892 |
|
|
(version_compare_spec_function): New.
|
10893 |
|
|
(spec_function): Add version-compare.
|
10894 |
|
|
(replace_outfile_spec_function): Reformat comment.
|
10895 |
|
|
(compare_version_strings): New.
|
10896 |
|
|
* config/darwin-c.c (version_as_macro): New.
|
10897 |
|
|
(builtin_define): New.
|
10898 |
|
|
(darwin_cpp_builtins): New.
|
10899 |
|
|
* config/darwin-protos.h (darwin_cpp_builtins): New.
|
10900 |
|
|
* config/darwin.h (CPP_SPEC): Don't define APPLE_CC here.
|
10901 |
|
|
(LIB_SPEC): Make unconditional, update comment.
|
10902 |
|
|
(TARGET_C99_FUNCTIONS): Define.
|
10903 |
|
|
* config/darwin.opt: Sort.
|
10904 |
|
|
(mmacosx-version-min=): New.
|
10905 |
|
|
* config/darwin7.h: Delete.
|
10906 |
|
|
* config/darwin8.h: Delete.
|
10907 |
|
|
* config/i386/darwin.h (): Call darwin_cpp_builtins.
|
10908 |
|
|
* config/rs6000/darwin.h (): Call darwin_cpp_builtins.
|
10909 |
|
|
(TARGET_C99_FUNCTIONS): Define.
|
10910 |
|
|
* config/rs6000/darwin7.h: New.
|
10911 |
|
|
* config/rs6000/darwin8.h: New.
|
10912 |
|
|
* doc/invoke.texi (Darwin Options): Add -mmacosx-version-min=
|
10913 |
|
|
(-mmacosx-version-min): Document.
|
10914 |
|
|
|
10915 |
|
|
2005-07-07 Ian Lance Taylor
|
10916 |
|
|
|
10917 |
|
|
* config/mips/mips.md (abs2) [GPR]: Remove.
|
10918 |
|
|
|
10919 |
|
|
2005-07-07 John David Anglin
|
10920 |
|
|
|
10921 |
|
|
PR middle-end/22239
|
10922 |
|
|
* loop.c (loop_givs_rescan): Check that v->new_reg is a REG.
|
10923 |
|
|
|
10924 |
|
|
2005-07-07 Khem Raj
|
10925 |
|
|
|
10926 |
|
|
* config/arm/arm.c (thumb_output_function_prologue): Calculate offset
|
10927 |
|
|
in bytes, not words.
|
10928 |
|
|
|
10929 |
|
|
2005-07-07 Paul Brook
|
10930 |
|
|
|
10931 |
|
|
* config/arm/arm.c (arm_pad_arg_upward): Compare return value of
|
10932 |
|
|
DEFAULT_FUNCTION_ARG_PADDING to upward.
|
10933 |
|
|
|
10934 |
|
|
2005-07-07 Richard Henderson
|
10935 |
|
|
|
10936 |
|
|
* function.c (locate_and_pad_parm): Record parameter alignment in
|
10937 |
|
|
stack_alignment_needed.
|
10938 |
|
|
|
10939 |
|
|
2005-07-07 David Edelsohn
|
10940 |
|
|
|
10941 |
|
|
* config/rs6000/rs6000.md (UNSPEC_SYNC, UNSPEC_SYNC_OP,
|
10942 |
|
|
UNSPEC_SYNC_SWAP, UNSPEC_LWSYNC, UNSPEC_ISYNC): Delete.
|
10943 |
|
|
(UNSPECV_LL, UNSPECV_SC, UNSPECV_ATOMIC, UNSPECV_SYNC,
|
10944 |
|
|
UNSPECV_SYNC_OP, UNSPECV_CMPXCHG, UNSPECV_LWSYNC, UNSPECV_ISYNC): New.
|
10945 |
|
|
(define_attr "type"): Add isync, sync, load_l, store_c.
|
10946 |
|
|
* config/rs6000/sync.md (memory_barrier): Change to define_expand.
|
10947 |
|
|
Create scratch volatile MEM.
|
10948 |
|
|
(sync_internal): New. POWER mnemonic is dcs, not ics. Attribute
|
10949 |
|
|
sync.
|
10950 |
|
|
(load_locked_): New.
|
10951 |
|
|
(store_conditional_): New.
|
10952 |
|
|
(sync_compare_and_swap): Replace with splitter.
|
10953 |
|
|
(sync_lock_test_and_set): Replace with splitter.
|
10954 |
|
|
(sync_): Change to unspec_volatile UNSPECV_SYNC_OP
|
10955 |
|
|
and UNSPECV_ISYNC.
|
10956 |
|
|
(isync): Change to unspec_volatile UNSPECV_ISYNC. POWER mnemonic
|
10957 |
|
|
is ics. Attribute isync.
|
10958 |
|
|
(lwsync): Change to unspec_volatile UNSPECV_LWSYNC. Attribute
|
10959 |
|
|
lwsync.
|
10960 |
|
|
* config/rs6000/rs6000.c (rs6000_emit_sync): Use UNSPEC_VOLATILE
|
10961 |
|
|
and UNSPECV_SYNC_OP.
|
10962 |
|
|
(emit_unlikely_jump): New.
|
10963 |
|
|
(emit_load_locked): New.
|
10964 |
|
|
(emit_store_conditional): New.
|
10965 |
|
|
(rs6000_split_compare_and_swap): New.
|
10966 |
|
|
(rs6000_split_lock_test_and_set): New.
|
10967 |
|
|
(is_dispatch_slot_restricted): Return 4 for TYPE_LOAD_L,
|
10968 |
|
|
TYPE_STORE_C, TYPE_ISYNC, TYPE_SYNC.
|
10969 |
|
|
* config/rs6000/rs6000-protos.h (rs6000_split_compare_and_swap,
|
10970 |
|
|
rs6000_split_lock_test_and_set): Declare.
|
10971 |
|
|
* config/rs6000/{40x.md,440.md,603.md,6xx.md,7450.md,7xx.md,8540.md,
|
10972 |
|
|
mpc.md,power4.md,power5.md,rios1.md,rios2.md,rs64.md): Add load_l,
|
10973 |
|
|
store_c, isync, sync.
|
10974 |
|
|
|
10975 |
|
|
2005-07-07 Kelley Cook
|
10976 |
|
|
|
10977 |
|
|
* Makefile.in (echo_quoted_to_gtyp): New template for outputing
|
10978 |
|
|
filenames to gtyp-gen.h.
|
10979 |
|
|
(s-typ-gen): Use it in place of for loops.
|
10980 |
|
|
|
10981 |
|
|
2005-07-07 J"orn Rennecke
|
10982 |
|
|
|
10983 |
|
|
* hooks.c (hook_bool_rtx_int_false): New function.
|
10984 |
|
|
* hooks.h (hook_bool_rtx_int_false): Declare.
|
10985 |
|
|
* target-def.h (TARGET_COMMUTATIVE_P): Define.
|
10986 |
|
|
(TARGET_INITIALIZER): Add TARGET_COMMUTATIVE_P.
|
10987 |
|
|
* target.h (struct gcc_target): Add commutative_p member.
|
10988 |
|
|
* targhooks.c (hook_bool_rtx_commutative_p): New function.
|
10989 |
|
|
* targhooks.h (hook_bool_rtx_commutative_p): Declare.
|
10990 |
|
|
* pa.c (TARGET_COMMUTATIVE_P): Redefine.
|
10991 |
|
|
(pa_commutative_p): New function.
|
10992 |
|
|
* jump.c (target.h): Include.
|
10993 |
|
|
(rtx_renumbered_equal_p): Use targetm.commutative_p.
|
10994 |
|
|
* doc/tm.texi: Document TARGET_COMMUTATIVE_P.
|
10995 |
|
|
|
10996 |
|
|
2005-07-07 Adrian Straetling
|
10997 |
|
|
|
10998 |
|
|
* config/s390/s390-protos.h (s390_expand_clrmem): Delete.
|
10999 |
|
|
(s390_expand_setmem): New.
|
11000 |
|
|
* config/s390/s390.c: Likewise.
|
11001 |
|
|
(print_shift_count_operand): Truncate to 12 bits instead of 6.
|
11002 |
|
|
Adapt comments.
|
11003 |
|
|
* config/s390/s390.md: ("setmem"): Accept character as
|
11004 |
|
|
general_operand. Call new function "s390_expand_setmem".
|
11005 |
|
|
("clrmem_long", "*clrmem_long"): Rewrite to ...
|
11006 |
|
|
("setmem_long", "*setmem_long"): ... this.
|
11007 |
|
|
|
11008 |
|
|
2005-07-07 Adrian Straetling
|
11009 |
|
|
|
11010 |
|
|
* config/s390/s390.c: (optimization_options): Enable
|
11011 |
|
|
TARGET_MVCLE at -Os.
|
11012 |
|
|
* doc/invoke.texi: Document changes in default behaviour.
|
11013 |
|
|
* config/s390/s390.opt: ("mvcle"): Fix typo: is "mmvcle".
|
11014 |
|
|
|
11015 |
|
|
2005-07-07 Adrian Straetling
|
11016 |
|
|
|
11017 |
|
|
* expr.c: (set_storage_via_setmem): Convert opchar to mode
|
11018 |
|
|
defined by back-end.
|
11019 |
|
|
|
11020 |
|
|
2005-07-07 Jakub Jelinek
|
11021 |
|
|
|
11022 |
|
|
* config/sparc/sparc.md (stack_protect_testsi): Put clobbers after
|
11023 |
|
|
all sets in the pattern.
|
11024 |
|
|
* config/rs6000/rs6000.md (stack_protect_testsi,
|
11025 |
|
|
stack_protect_testdi): Likewise.
|
11026 |
|
|
|
11027 |
|
|
2005-07-06 Jeff Law
|
11028 |
|
|
|
11029 |
|
|
* tree-vrp.c (simplify_using_ranges): Kill.
|
11030 |
|
|
(vrp_finalize): Remove call to simplify_using_ranges.
|
11031 |
|
|
(simplify_stmt_using_ranges): New function extracted from
|
11032 |
|
|
simplify_using_ranges.
|
11033 |
|
|
(simplify_div_or_mod_using_ranges): Likewise.
|
11034 |
|
|
(simplify_abs_using_ranges): Likewise.
|
11035 |
|
|
(simplify_cond_using_ranges): New function.
|
11036 |
|
|
* tree-flow.h (simplify_stmt_using_ranges): Prototype.
|
11037 |
|
|
* tree-ssa-propagate.c (substitute_and_fold): Call
|
11038 |
|
|
simplify_stmt_using_ranges if we have range information.
|
11039 |
|
|
|
11040 |
|
|
2005-07-06 James E. Wilson
|
11041 |
|
|
|
11042 |
|
|
* config/ia64/ia64.c (ia64_reorg): Check optimize before
|
11043 |
|
|
ia64_flag_schedule_isns2.
|
11044 |
|
|
|
11045 |
|
|
* config/ia64/ia64.c (ia64_expand_movxf_movrf): Don't word swap when
|
11046 |
|
|
reading/writing general registers.
|
11047 |
|
|
(ia64_function_arg): Revert 2005-06-18 change.
|
11048 |
|
|
|
11049 |
|
|
2005-07-06 John David Anglin
|
11050 |
|
|
|
11051 |
|
|
* pa.c (legitimize_pic_address): Use gcc_assert instead of abort.
|
11052 |
|
|
(legitimize_tls_address): Use gcc_unreachable instead of abort.
|
11053 |
|
|
|
11054 |
|
|
2005-07-06 Kaz Kojima
|
11055 |
|
|
|
11056 |
|
|
* function.c (expand_function_end): Revert part of 2005-06-27
|
11057 |
|
|
patch. Do sjlj_emit_function_exit_after after return_label.
|
11058 |
|
|
|
11059 |
|
|
2005-07-06 Kazu Hirata
|
11060 |
|
|
|
11061 |
|
|
* doc/install.texi (--disable-libssp): New.
|
11062 |
|
|
|
11063 |
|
|
2005-07-06 Fariborz Jahanian
|
11064 |
|
|
|
11065 |
|
|
* doc/invoke.texi: Update -fforce-mem documentation.
|
11066 |
|
|
* dojump.c (compare_from_rtx,do_compare_rtx_and_jump): Remove
|
11067 |
|
|
code for -fforce-mem.
|
11068 |
|
|
* expmed.c: (store_bit_field,store_fixed_bit_field,
|
11069 |
|
|
extract_bit_field): Ditto.
|
11070 |
|
|
* expr.c: (convert_move): Ditto.
|
11071 |
|
|
* optabs.c: (expand_binop,expand_twoval_unop,expand_twoval_binop,
|
11072 |
|
|
expand_unop,emit_unop_insn,prepare_cmp_insn,emit_conditional_move,
|
11073 |
|
|
emit_conditional_add,expand_float,expand_fix): Ditto.
|
11074 |
|
|
* opts.c: (decode_options): Remove setting of flag_force_mem flag.
|
11075 |
|
|
(common_handle_option): Issue warning when -fforce-mem specified.
|
11076 |
|
|
|
11077 |
|
|
2005-07-06 Paul Brook
|
11078 |
|
|
|
11079 |
|
|
* aclocal.m4: Work around a bug in AC_PATH_PROGS when its last
|
11080 |
|
|
argument is empty.
|
11081 |
|
|
* configure: Regenerate.
|
11082 |
|
|
|
11083 |
|
|
2005-07-06 J"orn Rennecke
|
11084 |
|
|
|
11085 |
|
|
* sh.c (final_prescan_insn): Undo bogus change from 2005-05-09.
|
11086 |
|
|
|
11087 |
|
|
2005-07-06 Daniel Berlin
|
11088 |
|
|
|
11089 |
|
|
Fix PR tree-optimization/22319
|
11090 |
|
|
Fix PR tree-optimization/22140
|
11091 |
|
|
Fix PR tree-optimization/22310
|
11092 |
|
|
|
11093 |
|
|
* tree-ssa-structalias.c (do_structure_copy): Give up earlier on
|
11094 |
|
|
variable sized types.
|
11095 |
|
|
Use correct type for intermediate structure on *a = *b structure
|
11096 |
|
|
copies.
|
11097 |
|
|
|
11098 |
|
|
2005-07-06 Jakub Jelinek
|
11099 |
|
|
|
11100 |
|
|
* config/rs6000/rs6000.h (RS6000_VARARGS_AREA, RS6000_VARARGS_SIZE):
|
11101 |
|
|
Remove.
|
11102 |
|
|
(STARTING_FRAME_OFFSET): Don't add RS6000_VARARGS_AREA.
|
11103 |
|
|
(machine_function): Move typedef to...
|
11104 |
|
|
* config/rs6000/rs6000.c (machine_function): ... here. Add
|
11105 |
|
|
varargs_save_offset field.
|
11106 |
|
|
(rs6000_stack_t): Remove varargs_size field.
|
11107 |
|
|
(setup_incoming_varargs): Allocate varargs save area using
|
11108 |
|
|
assign_stack_local, try to make it as small as possible.
|
11109 |
|
|
Save offset from virtual_stack_vars_rtx to the save area
|
11110 |
|
|
in cfun->machine->varargs_save_offset. Use UNITS_PER_FP_WORD
|
11111 |
|
|
instead of magic 8 when fp word byte size is used.
|
11112 |
|
|
(rs6000_va_start): Use cfun->machine->varargs_save_offset
|
11113 |
|
|
instead of -RS6000_VARARGS_SIZE.
|
11114 |
|
|
(rs6000_stack_info, debug_stack_info,
|
11115 |
|
|
rs6000_initial_elimination_offset): Remove all traces of
|
11116 |
|
|
varargs_size.
|
11117 |
|
|
* config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Remove.
|
11118 |
|
|
* config/rs6000/darwin.h (STARTING_FRAME_OFFSET): Don't add
|
11119 |
|
|
RS6000_VARARGS_AREA.
|
11120 |
|
|
|
11121 |
|
|
2005-07-06 Zdenek Dvorak
|
11122 |
|
|
|
11123 |
|
|
PR tree-optimization/21963
|
11124 |
|
|
* tree-ssa-loop-ivopts.c (get_computation_aff): Use
|
11125 |
|
|
constant_multiple_of in the same way get_computation_cost_at does.
|
11126 |
|
|
|
11127 |
|
|
2005-07-06 Jakub Jelinek
|
11128 |
|
|
|
11129 |
|
|
* config/sparc/sparc.h (sparc_compare_emitted): New extern.
|
11130 |
|
|
* config/sparc/sparc.c (sparc_compare_emitted): New variable.
|
11131 |
|
|
(gen_compare_reg): If sparc_compare_emitted is set, clear it
|
11132 |
|
|
and return its previous value.
|
11133 |
|
|
(emit_v9_brxx_insn): Assert sparc_compare_emitted is NULL.
|
11134 |
|
|
* config/sparc/sparc.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): New
|
11135 |
|
|
constants.
|
11136 |
|
|
(stack_protect_set, stack_protect_test): New expanders.
|
11137 |
|
|
(stack_protect_setsi, stack_protect_setdi, stack_protect_testsi,
|
11138 |
|
|
stack_protect_testdi): New insns.
|
11139 |
|
|
* config/sparc/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
|
11140 |
|
|
* config/sparc/linux64.h (TARGET_THREAD_SSP_OFFSET): Define.
|
11141 |
|
|
|
11142 |
|
|
2005-07-06 Jeff Law
|
11143 |
|
|
|
11144 |
|
|
* tree-ssa-dce.c (cfg_altered): New global.
|
11145 |
|
|
(tree_dce_init): Initialize cfg_altered.
|
11146 |
|
|
(remove_dead_stmt): If we remove an edge in the CFG, then set
|
11147 |
|
|
CFG_ALTERED.
|
11148 |
|
|
(perform_tree_ssa_dce): If we altered the CFG, then invalidate
|
11149 |
|
|
the dominators.
|
11150 |
|
|
|
11151 |
|
|
2005-07-06 Kazu Hirata
|
11152 |
|
|
|
11153 |
|
|
* Makefile.in (stamp-collect-ld): Use
|
11154 |
|
|
$(ORIGINAL_LD_FOR_TARGET) instead of $<. Don't remove
|
11155 |
|
|
./collect-ld if it already exists.
|
11156 |
|
|
(stamp-nm): Use $(ORIGINAL_NM_FOR_TARGET) instead of $<.
|
11157 |
|
|
Don't remove ./nm if it already exists.
|
11158 |
|
|
|
11159 |
|
|
2005-07-05 Devang Patel
|
11160 |
|
|
|
11161 |
|
|
* tree-vectorizer.h (struct _loop_vec_info): Remove loop_line_number.
|
11162 |
|
|
(LOOP_VINFO_LOC, LOOP_LOC): Remove.
|
11163 |
|
|
* tree-vectorizer.c (vect_loop_location): New.
|
11164 |
|
|
(vect_print_dump_info): Use vect_loop_location.
|
11165 |
|
|
(new_loop_vec_info): Do not set LOOP_VINFO_LOC.
|
11166 |
|
|
(vectorize_loops): Set vect_loop_location.
|
11167 |
|
|
* tree-vect-analyze.c (vect_analyze_offset_expr,
|
11168 |
|
|
vect_determin_vectorization_factor, vect_analyze_operations,
|
11169 |
|
|
vect_analyze_scalar_cycles, vect_analyze_data_ref_dependence,
|
11170 |
|
|
vect_analyze_data_ref_dependences, vect_compute_data_ref_alignment,
|
11171 |
|
|
vect_analyze_data_refs_alignment, vect_analyze_data_ref_access,
|
11172 |
|
|
vect_analyze_data_ref_accesses, vect_analyze_pointer_ref_access,
|
11173 |
|
|
vect_object_analysis, vect_analyze_data_refs, vect_mark_relevant,
|
11174 |
|
|
vect_stmt_relevant_p, vect_mark_stmts_to_be_vectorized,
|
11175 |
|
|
vect_can_advance_ivs_p, vect_get_loop_niters, vect_analyze_loop_form,
|
11176 |
|
|
vect_analyze_loop): Adjust vect_print_dump_info API.
|
11177 |
|
|
* tree-vect-transform.c (vect_create_addr_base_for_vector_ref,
|
11178 |
|
|
vect_create_data_ref_ptr, vect_init_vector, vect_get_vec_def_for_operand,
|
11179 |
|
|
vect_finish_stmt_generation, vectorizable_assignment,
|
11180 |
|
|
vectorizable_operation, vectorizable_store, vectorizable_load,
|
11181 |
|
|
vectorizable_live_operation, vectorizable_condition, vect_transform_stmt,
|
11182 |
|
|
vect_update_ivs_after_vectorizer, vect_do_peeling_for_loop_bound,
|
11183 |
|
|
vect_gen_ninters_for_prolog_loop, vect_do_peeling_for_alignment,
|
11184 |
|
|
vect_transform_loop): Same.
|
11185 |
|
|
* tree-vectorizer.c (get_vectype_for_scalar_type, vect_is_simple_use,
|
11186 |
|
|
vect_is_simple_reduction, vect_is_simple_iv_evolution, vectorize_loops):
|
11187 |
|
|
Same.
|
11188 |
|
|
|
11189 |
|
|
2005-07-05 Randolph Chung
|
11190 |
|
|
|
11191 |
|
|
* configure.ac (hppa*-*-linux*: Check for a TLS capable gas.
|
11192 |
|
|
* configure: Regenerate.
|
11193 |
|
|
* config/pa/pa-protos.h (tls_symbolic_operand): Declare.
|
11194 |
|
|
(pa_tls_referenced_p): Declare.
|
11195 |
|
|
* config/pa/pa.c (legitimize_pic_address): Reject TLS operands.
|
11196 |
|
|
(gen_tls_tga, gen_tls_get_addr, hppa_tls_call): New.
|
11197 |
|
|
(legitimize_tls_address): New.
|
11198 |
|
|
(hppa_legitimize_address): Handle TLS addresses.
|
11199 |
|
|
(pa_tls_symbol_ref_1, pa_tls_referenced_p): New.
|
11200 |
|
|
(TARGET_CANNOT_FORCE_CONST_MEM): Define.
|
11201 |
|
|
(emit_move_sequence): Handle TLS addresses.
|
11202 |
|
|
(pa_encode_section_info): Call default handler to handle common
|
11203 |
|
|
sections.
|
11204 |
|
|
* config/pa/pa.h (PA_SYMBOL_REF_TLS_P): New.
|
11205 |
|
|
(CONSTANT_ADDRESS_P): Reject TLS operands.
|
11206 |
|
|
(TARGET_HAVE_TLS) [HAVE_AS_TLS]: Define.
|
11207 |
|
|
* config/pa/pa.md (UNSPEC_TP, UNSPEC_TLSGD, UNSPEC_TLSLDM)
|
11208 |
|
|
(UNSPEC_TLSLDO, UNSPEC_TLSLDBASE, UNSPEC_TLSIE)
|
11209 |
|
|
(UNSPEC_TLSLE): Define new constants.
|
11210 |
|
|
(tgd_load, tld_load, tld_offset_load, tp_load, tie_load, tle_load): New.
|
11211 |
|
|
* config/pa/predicates.md (symbolic_operand): Reject TLS operands.
|
11212 |
|
|
(tls_symbolic_operand, tgd_symbolic_operand, tld_symbolic_operand)
|
11213 |
|
|
(tie_symbolic_operand, tle_symbolic_operand): New
|
11214 |
|
|
|
11215 |
|
|
2005-07-06 Kelley Cook
|
11216 |
|
|
|
11217 |
|
|
* aclocal.m4: Update macros for autoconf 2.59 style.
|
11218 |
|
|
* configure.ac: Likewise.
|
11219 |
|
|
|
11220 |
|
|
2005-07-05 John David Anglin
|
11221 |
|
|
|
11222 |
|
|
* pa.c (function_value): Handle small aggregates on 32-bit targets.
|
11223 |
|
|
(function_arg): Pass small aggregates in general registers on 32-bit
|
11224 |
|
|
targets.
|
11225 |
|
|
* som.h (MEMBER_TYPE_FORCES_BLK): Delete define.
|
11226 |
|
|
|
11227 |
|
|
2005-07-05 Andrew Pinski
|
11228 |
|
|
|
11229 |
|
|
* Makefile.in (final.o): Fix dependencies.
|
11230 |
|
|
|
11231 |
|
|
2005-07-05 Joseph S. Myers
|
11232 |
|
|
|
11233 |
|
|
PR c/22013
|
11234 |
|
|
PR c/22098
|
11235 |
|
|
* langhooks.h (struct lang_hooks): Add expr_to_decl.
|
11236 |
|
|
* langhooks.c (lhd_expr_to_decl): New.
|
11237 |
|
|
* langhooks-def.h (lhd_expr_to_decl, LANG_HOOKS_EXPR_TO_DECL):
|
11238 |
|
|
New.
|
11239 |
|
|
(LANG_HOOKS_INITIALIZER): Update.
|
11240 |
|
|
* tree.c (recompute_tree_invarant_for_addr_expr): Call
|
11241 |
|
|
expr_to_decl langhook.
|
11242 |
|
|
* c-tree.h (c_expr_to_decl): Declare.
|
11243 |
|
|
* c-typeck.c (c_expr_to_decl): New.
|
11244 |
|
|
(build_unary_op): Do not handle ADDR_EXPR of COMPOUND_LITERAL_EXPR
|
11245 |
|
|
specially.
|
11246 |
|
|
* c-objc-common.h (LANG_HOOKS_EXPR_TO_DECL): Define.
|
11247 |
|
|
|
11248 |
|
|
2005-07-05 Joseph S. Myers
|
11249 |
|
|
|
11250 |
|
|
PR c/22308
|
11251 |
|
|
* c-decl.c (finish_struct): Also copy C_TYPE_FIELDS_READONLY,
|
11252 |
|
|
C_TYPE_FIELDS_VOLATILE and C_TYPE_VARIABLE_SIZE to type variants.
|
11253 |
|
|
|
11254 |
|
|
2005-07-05 Paolo Bonzini
|
11255 |
|
|
|
11256 |
|
|
* Makefile.in: Adjust dependencies.
|
11257 |
|
|
* tree-pass.h: Add new passes and passes formerly in tree-optimize.c.
|
11258 |
|
|
* basic-block.h (duplicate_computed_gotos): Remove, it is now static.
|
11259 |
|
|
* alias.c (rest_of_handle_cfg, pass_cfg): New.
|
11260 |
|
|
* bb-reorder.c (duplicate_computed_gotos): Make it static.
|
11261 |
|
|
* cfgexpand.c (tree_expand_cfg): Add code formerly at the beginning of
|
11262 |
|
|
rest_of_compilation.
|
11263 |
|
|
|
11264 |
|
|
* bb-reorder.c (gate_duplicate_computed_gotos,
|
11265 |
|
|
pass_duplicate_computed_gotos, gate_handle_reorder_blocks,
|
11266 |
|
|
rest_of_handle_reorder_blocks, pass_reorder_blocks,
|
11267 |
|
|
gate_handle_partition_blocks, rest_of_handle_partition_blocks,
|
11268 |
|
|
pass_partition_blocks): New.
|
11269 |
|
|
* bt-load.c (gate_handle_branch_target_load_optimize,
|
11270 |
|
|
rest_of_handle_branch_target_load_optimize,
|
11271 |
|
|
pass_branch_target_load_optimize): New.
|
11272 |
|
|
* cfgcleanup.c (rest_of_handle_jump, pass_jump, rest_of_handle_jump2,
|
11273 |
|
|
pass_jump2): New.
|
11274 |
|
|
* cfglayout.c (pass_insn_locators_initialize): New.
|
11275 |
|
|
* cfgrtl.c (pass_free_cfg): New.
|
11276 |
|
|
* combine.c (gate_handle_combine, rest_of_handle_combine,
|
11277 |
|
|
pass_combine): New.
|
11278 |
|
|
* cse.c (gate_handle_cse, rest_of_handle_cse, pass_cse,
|
11279 |
|
|
gate_handle_cse2, rest_of_handle_cse2, pass_cse2): New.
|
11280 |
|
|
* emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): New.
|
11281 |
|
|
* except.c (pass_set_nothrow_function_flags,
|
11282 |
|
|
pass_convert_to_eh_region_ranges, gate_handle_eh, rest_of_handle_eh,
|
11283 |
|
|
pass_rtl_eh): New.
|
11284 |
|
|
* final.c (pass_compute_alignments, rest_of_handle_final, pass_final,
|
11285 |
|
|
rest_of_handle_shorten_branches, pass_shorten_branches,
|
11286 |
|
|
rest_of_clean_state, pass_clean_state): New.
|
11287 |
|
|
* flow.c (pass_recompute_reg_usage, gate_remove_death_notes,
|
11288 |
|
|
rest_of_handle_remove_death_notes, pass_remove_death_notes,
|
11289 |
|
|
rest_of_handle_life, pass_life, rest_of_handle_flow2,
|
11290 |
|
|
pass_flow2): New.
|
11291 |
|
|
* function.c (pass_instantiate_virtual_regs, pass_init_function,
|
11292 |
|
|
rest_of_handle_check_leaf_regs, pass_leaf_regs): New.
|
11293 |
|
|
* gcse.c (gate_handle_jump_bypass, rest_of_handle_jump_bypass,
|
11294 |
|
|
pass_jump_bypass, gate_handle_gcse, rest_of_handle_gcse,
|
11295 |
|
|
pass_gcse): New.
|
11296 |
|
|
* global.c (rest_of_handle_global_alloc, pass_global_alloc): New.
|
11297 |
|
|
* ifcvt.c (gate_handle_if_conversion, rest_of_handle_if_conversion,
|
11298 |
|
|
pass_rtl_ifcvt, gate_handle_if_after_combine,
|
11299 |
|
|
rest_of_handle_if_after_combine, pass_if_after_combine,
|
11300 |
|
|
gate_handle_if_after_reload, rest_of_handle_if_after_reload,
|
11301 |
|
|
pass_if_after_reload): New.
|
11302 |
|
|
* integrate.c (pass_initial_value_sets): New.
|
11303 |
|
|
* jump.c (pass_cleanup_barriers, purge_line_number_notes,
|
11304 |
|
|
pass_purge_lineno_notes): New.
|
11305 |
|
|
* mode-switching.c (rest_of_handle_mode_switching,
|
11306 |
|
|
pass_mode_switching): New.
|
11307 |
|
|
* local-alloc.c (rest_of_handle_local_alloc, pass_local_alloc): New.
|
11308 |
|
|
* loop-init.c (gate_handle_loop2, rest_of_handle_loop2,
|
11309 |
|
|
pass_loop2): New.
|
11310 |
|
|
* loop.c (gate_handle_loop_optimize, rest_of_handle_loop_optimize,
|
11311 |
|
|
pass_loop_optimize): New.
|
11312 |
|
|
* modulo-sched.c (gate_handle_sms, rest_of_handle_sms,
|
11313 |
|
|
pass_sms): New.
|
11314 |
|
|
* postreload-gcse.c (gate_handle_gcse2, rest_of_handle_gcse2,
|
11315 |
|
|
pass_gcse2): New.
|
11316 |
|
|
* postreload.c (gate_handle_postreload, rest_of_handle_postreload,
|
11317 |
|
|
pass_postreload_cse): New.
|
11318 |
|
|
* profile.c (gate_handle_profiling, pass_profiling,
|
11319 |
|
|
rest_of_handle_branch_prob, pass_branch_prob): New.
|
11320 |
|
|
* recog.c (pass pass_split_for_shorten_branches, gate_do_final_split,
|
11321 |
|
|
pass_split_before_regstack, gate_handle_split_before_regstack,
|
11322 |
|
|
gate_handle_peephole2, rest_of_handle_peephole2, pass_peephole2,
|
11323 |
|
|
rest_of_handle_split_all_insns, pass_split_all_insns): New.
|
11324 |
|
|
* reg-stack.c (gate_handle_stack_regs, rest_of_handle_stack_regs,
|
11325 |
|
|
pass_stack_regs): New.
|
11326 |
|
|
* regmove.c (gate_handle_regmove, rest_of_handle_regmove, pass_regmove,
|
11327 |
|
|
gate_handle_stack_adjustments, rest_of_handle_stack_adjustments,
|
11328 |
|
|
pass_stack_adjustments): New.
|
11329 |
|
|
* regrename.c (gate_handle_regrename, rest_of_handle_regrename,
|
11330 |
|
|
pass_regrename): New.
|
11331 |
|
|
* reorg.c (gate_handle_delay_slots, rest_of_handle_delay_slots,
|
11332 |
|
|
pass_delay_slots, gate_handle_machine_reorg,
|
11333 |
|
|
rest_of_handle_machine_reorg, pass_machine_reorg): New.
|
11334 |
|
|
* rtl.h (extern void purge_line_number_notes): New.
|
11335 |
|
|
* sched-rgn.c (gate_handle_sched, rest_of_handle_sched,
|
11336 |
|
|
gate_handle_sched2, rest_of_handle_sched2, pass_sched,
|
11337 |
|
|
pass_sched2): New.
|
11338 |
|
|
* tracer.c (gate_handle_tracer, rest_of_handle_tracer,
|
11339 |
|
|
pass_tracer): New.
|
11340 |
|
|
* value-prof.c (gate_handle_value_profile_transformations,
|
11341 |
|
|
rest_of_handle_value_profile_transformations,
|
11342 |
|
|
pass_value_profile_transformations): New.
|
11343 |
|
|
* var-tracking.c (gate_handle_var_tracking,
|
11344 |
|
|
pass_variable_tracking): New.
|
11345 |
|
|
* web.c (gate_handle_web, rest_of_handle_web, pass_web): New.
|
11346 |
|
|
|
11347 |
|
|
* passes.c (open_dump_file, close_dump_file, rest_of_handle_final,
|
11348 |
|
|
rest_of_handle_delay_slots, rest_of_handle_stack_regs,
|
11349 |
|
|
rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
|
11350 |
|
|
rest_of_handle_old_regalloc, rest_of_handle_regrename,
|
11351 |
|
|
rest_of_handle_reorder_blocks, rest_of_handle_partition_blocks,
|
11352 |
|
|
rest_of_handle_sms, rest_of_handle_sched, rest_of_handle_sched2,
|
11353 |
|
|
rest_of_handle_gcse2, rest_of_handle_regmove,
|
11354 |
|
|
rest_of_handle_tracer, rest_of_handle_if_conversion,
|
11355 |
|
|
rest_of_handle_if_after_combine, rest_of_handle_if_after_reload,
|
11356 |
|
|
rest_of_handle_web, rest_of_handle_branch_prob,
|
11357 |
|
|
rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
|
11358 |
|
|
rest_of_handle_jump_bypass, rest_of_handle_combine,
|
11359 |
|
|
rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
|
11360 |
|
|
rest_of_handle_gcse, rest_of_handle_loop_optimize,
|
11361 |
|
|
rest_of_handle_loop2, rest_of_handle_branch_target_load_optimize,
|
11362 |
|
|
rest_of_handle_mode_switching, rest_of_handle_jump,
|
11363 |
|
|
rest_of_handle_eh, rest_of_handle_stack_adjustments,
|
11364 |
|
|
rest_of_handle_flow2, rest_of_handle_jump2,
|
11365 |
|
|
rest_of_handle_peephole2, rest_of_handle_postreload,
|
11366 |
|
|
rest_of_handle_shorten_branches, rest_of_clean_state,
|
11367 |
|
|
rest_of_compilation): Remove.
|
11368 |
|
|
|
11369 |
|
|
* cgraphunit.c (ipa_passes): Moved from tree-optimize.c.
|
11370 |
|
|
* passes.c (dump_flags, in_gimple_form, all_passes,
|
11371 |
|
|
all_ipa_passes, all_lowering_passes, register_one_dump_file,
|
11372 |
|
|
register_dump_files, next_pass_1, last_verified, execute_todo,
|
11373 |
|
|
execute_one_pass, execute_pass_list, execute_ipa_pass_list): Moved
|
11374 |
|
|
from tree-optimize.c.
|
11375 |
|
|
(init_optimization_passes): Moved from tree-optimize.c,
|
11376 |
|
|
adding the RTL optimizations.
|
11377 |
|
|
* tree-dump.h (dump_info_p, dump_flag): Moved from tree.h.
|
11378 |
|
|
* tree-optimize.c (dump_flags, in_gimple_form, all_passes,
|
11379 |
|
|
all_ipa_passes, all_lowering_passes, register_one_dump_file,
|
11380 |
|
|
register_dump_files, next_pass_1, last_verified, execute_todo,
|
11381 |
|
|
execute_one_pass, execute_pass_list, execute_ipa_pass_list,
|
11382 |
|
|
init_tree_optimization_passes, ipa_passes): Delete.
|
11383 |
|
|
* tree-pass.h (enum tree_dump_index): Moved from tree.h, removing
|
11384 |
|
|
the RTL dumps.
|
11385 |
|
|
(TDF_*, get_dump_file_name, dump_enabled_p, dump_initialized_p,
|
11386 |
|
|
dump_begin, dump_end, dump_node, dump_switch_p, dump_flag_name): Moved
|
11387 |
|
|
from tree.h.
|
11388 |
|
|
(ipa_passes): Remove.
|
11389 |
|
|
(all_passes, all_ipa_passes, all_lowering_passes): Now extern.
|
11390 |
|
|
* tree.h (enum tree_dump_index, TDF_*, get_dump_file_name,
|
11391 |
|
|
dump_enabled_p, dump_initialized_p, dump_begin, dump_end, dump_node,
|
11392 |
|
|
dump_switch_p, dump_flag_name): Moved to tree-pass.h.
|
11393 |
|
|
(dump_info_p, dump_flag): Moved to tree-dump.h.
|
11394 |
|
|
|
11395 |
|
|
* Makefile.in: Adjust dependencies for tree-pretty-print.c,
|
11396 |
|
|
cgraph.c, opts.c.
|
11397 |
|
|
* passes.c (finish_optimization_passes): Use dump_begin
|
11398 |
|
|
and dump_end, TDI_end.
|
11399 |
|
|
(gate_rest_of_compilation): New.
|
11400 |
|
|
(pass_rest_of_compilation): Use it.
|
11401 |
|
|
(gate_postreload, pass_postreload): New.
|
11402 |
|
|
* toplev.c (general_init): Rename init_tree_optimization_passes.
|
11403 |
|
|
* toplev.h (init_tree_optimization_passes): Rename to
|
11404 |
|
|
init_optimizations_passes.
|
11405 |
|
|
* tree-dump.c (dump_flag): Make static.
|
11406 |
|
|
(dump_files): Remove RTL dumps.
|
11407 |
|
|
* tree-optimize.c (pass_all_optimizations, pass_early_local_passes,
|
11408 |
|
|
pass_cleanup_cfg, pass_free_cfg_annotations,
|
11409 |
|
|
pass_cleanup_cfg_post_optimizing, pass_free_datastructures,
|
11410 |
|
|
pass_init_datastructures, pass_fixup_cfg): Make non-static.
|
11411 |
|
|
* tree-pretty-print.c: Include tree-pass.h.
|
11412 |
|
|
* cgraph.c: Include tree-dump.h.
|
11413 |
|
|
|
11414 |
|
|
2005-07-04 Daniel Berlin
|
11415 |
|
|
|
11416 |
|
|
* tree-ssa-structalias.c (get_constraint_exp_from_ssa_var):
|
11417 |
|
|
Only fall back to saying it points to readonly memory if
|
11418 |
|
|
we can't do better.
|
11419 |
|
|
|
11420 |
|
|
2005-07-05 Kazuhiro Inaoka
|
11421 |
|
|
|
11422 |
|
|
* config/m32r/m32r-protos.h: Remove m32r_finalize_pic.
|
11423 |
|
|
* config/m32r/m32r.c (m32r_compute_frame_size,
|
11424 |
|
|
m32r_expand_prologue): Take current_function_profile into
|
11425 |
|
|
account whenever we reference
|
11426 |
|
|
current_function_uses_pic_offset_table.
|
11427 |
|
|
(m32r_finalize_pic): Remove.
|
11428 |
|
|
* config/m32r/m32r.h (FINALIZE_PIC): Likewise.
|
11429 |
|
|
|
11430 |
|
|
2005-07-05 Kazu Hirata
|
11431 |
|
|
|
11432 |
|
|
* Makefile.in (stamp-as): Use $(ORIGINAL_AS_FOR_TARGET)
|
11433 |
|
|
instead of $<. Don't remove ./as if it already exists.
|
11434 |
|
|
|
11435 |
|
|
2005-07-04 John David Anglin
|
11436 |
|
|
|
11437 |
|
|
PR target/21723
|
11438 |
|
|
* pa.md: Remove fcpy alternative from movhi and movqi patterns.
|
11439 |
|
|
* pa32-regs.h (HARD_REGNO_NREGS): Return two floating point registers
|
11440 |
|
|
for complex modes when generating code for PA 1.0.
|
11441 |
|
|
(VALID_FP_MODE_P): New macro.
|
11442 |
|
|
(HARD_REGNO_MODE_OK): Use VALID_FP_MODE_P. Use non-overlapping register
|
11443 |
|
|
sets for all general and floating point modes. Align wide floating
|
11444 |
|
|
point modes to even register boundaries to comply with architectural
|
11445 |
|
|
requirements.
|
11446 |
|
|
(CLASS_MAX_NREGS): Update to align with change to HARD_REGNO_NREGS.
|
11447 |
|
|
* pa64-regs.h (HARD_REGNO_NREGS): Update comment and formatting.
|
11448 |
|
|
(VALID_FP_MODE_P): New macro.
|
11449 |
|
|
(HARD_REGNO_MODE_OK): Use VALID_FP_MODE_P. Use non-overlapping register
|
11450 |
|
|
sets for all general and floating point modes. Align wide floating
|
11451 |
|
|
point modes to even register boundaries to comply with architectural
|
11452 |
|
|
requirements.
|
11453 |
|
|
|
11454 |
|
|
2005-07-04 Diego Novillo
|
11455 |
|
|
|
11456 |
|
|
* tree-dump.c (dump_files): Initialize dump number for .cgraph
|
11457 |
|
|
to 0.
|
11458 |
|
|
|
11459 |
|
|
2005-07-04 Diego Novillo
|
11460 |
|
|
|
11461 |
|
|
* tree-ssa-structalias.c: Don't include expr.h.
|
11462 |
|
|
|
11463 |
|
|
2005-07-04 Diego Novillo
|
11464 |
|
|
|
11465 |
|
|
* tree-iterator.h (TSI_NEW_STMT, TSI_SAME_STMT): Fix
|
11466 |
|
|
comments.
|
11467 |
|
|
|
11468 |
|
|
2005-07-04 Daniel Berlin
|
11469 |
|
|
|
11470 |
|
|
Fix PR tree-optimization/22279
|
11471 |
|
|
|
11472 |
|
|
* tree-ssa-structalias.c (offset_overlaps_with_access): Use
|
11473 |
|
|
correct operator.
|
11474 |
|
|
|
11475 |
|
|
2005-07-04 J"orn Rennecke
|
11476 |
|
|
|
11477 |
|
|
* sh.c (output_ieee_ccmpeq): Replace "\\;" with "\n\t".
|
11478 |
|
|
|
11479 |
|
|
2005-07-03 Joseph S. Myers
|
11480 |
|
|
|
11481 |
|
|
* bb-reorder.c, c-pch.c, c-pragma.c, c.opt, cfghooks.c, cfgloop.c,
|
11482 |
|
|
cfgrtl.c, cgraphunit.c, config/c4x/c4x.c, config/cris/cris.c,
|
11483 |
|
|
config/frv/frv.c, config/host-darwin.c, config/iq2000/iq2000.c,
|
11484 |
|
|
config/lynx.h, config/m68k/m68k.c, config/pa/pa.c, config/sh/sh.h,
|
11485 |
|
|
config/stormy16/stormy16.c, config/v850/v850.c,
|
11486 |
|
|
config/vax/netbsd-elf.h, coverage.c, dwarf2out.c, emit-rtl.c,
|
11487 |
|
|
except.c, gcc.c, tree-cfg.c, tree-eh.c, tree-ssa.c, xcoffout.c:
|
11488 |
|
|
Avoid "." or "\n" at end of diagnostics and capital letters at
|
11489 |
|
|
start of diagnostics.
|
11490 |
|
|
* combine.c, cse.c: Don't translate dump file output.
|
11491 |
|
|
* toplev.c (print_version): Only translate output if going to
|
11492 |
|
|
stderr.
|
11493 |
|
|
|
11494 |
|
|
2005-07-03 Kazu Hirata
|
11495 |
|
|
|
11496 |
|
|
* c-decl.c, tree-object-size.c, tree-vectorizer.c,
|
11497 |
|
|
config/arm/unwind-arm.c, config/arm/unwind-arm.h: Fix comment
|
11498 |
|
|
typos.
|
11499 |
|
|
|
11500 |
|
|
2005-07-03 John David Anglin
|
11501 |
|
|
|
11502 |
|
|
* pa.c (fix_range): Fix typo in comment.
|
11503 |
|
|
|
11504 |
|
|
2005-07-03 Kazu Hirata
|
11505 |
|
|
|
11506 |
|
|
* tree-vrp.c (extract_range_from_assert): Replace
|
11507 |
|
|
fold (build (...)) with fold_build2.
|
11508 |
|
|
|
11509 |
|
|
2005-07-03 Kaveh R. Ghazi
|
11510 |
|
|
|
11511 |
|
|
* c-format.c (gcc_gfc_format_type, gcc_gfc_flag_pairs,
|
11512 |
|
|
gcc_gfc_char_table, init_dynamic_gfc_info): New.
|
11513 |
|
|
(format_types_orig, handle_format_attribute): Add support for
|
11514 |
|
|
format "gcc_gfc".
|
11515 |
|
|
|
11516 |
|
|
2005-07-03 Gabriel Dos Reis
|
11517 |
|
|
|
11518 |
|
|
* varasm.c (assemble_variable): Fix format specifier thinko.
|
11519 |
|
|
|
11520 |
|
|
2005-07-03 Ira Rosen
|
11521 |
|
|
|
11522 |
|
|
PR tree-optimization/22029 (and 22135)
|
11523 |
|
|
* tree-pretty-print.c (dump_generic_node): Check that the node is not
|
11524 |
|
|
a phi node before calling dump_vops.
|
11525 |
|
|
|
11526 |
|
|
2005-07-02 Gabriel Dos Reis
|
11527 |
|
|
|
11528 |
|
|
* tree-dump.h (dump_string_field): Declare.
|
11529 |
|
|
* tree-dump.c: Use it instead of dump_string.
|
11530 |
|
|
(dump_string_field): Make non-static.
|
11531 |
|
|
|
11532 |
|
|
2005-07-03 Kaz Kojima
|
11533 |
|
|
|
11534 |
|
|
* config/sh/sh.c (sh_output_mi_thunk): Initialize and clean
|
11535 |
|
|
up the minimal CFG stuff always when optimize > 0. Call
|
11536 |
|
|
split_all_insns_noflow in PIC case if needed.
|
11537 |
|
|
|
11538 |
|
|
2005-07-02 Gabriel Dos Reis
|
11539 |
|
|
Christian Ehrhardt
|
11540 |
|
|
|
11541 |
|
|
PR c++/18279
|
11542 |
|
|
* c-decl.c (c_write_global_declarations): Dump contents of
|
11543 |
|
|
external scope to.
|
11544 |
|
|
* tree-dump.c (dequeue_and_dump): Dump abstract origin of a decl.
|
11545 |
|
|
, , , ,
|
11546 |
|
|
, : Add.
|
11547 |
|
|
(dump_enabled_p): Return TRUE if PHASE is TDI_all and any dump
|
11548 |
|
|
is enabled.
|
11549 |
|
|
|
11550 |
|
|
2005-07-03 Joseph S. Myers
|
11551 |
|
|
|
11552 |
|
|
* c-common.h (GCC_DIAG_STYLE): Define.
|
11553 |
|
|
* c-tree.h (GCC_DIAG_STYLE): Do not define. Change minimum GCC
|
11554 |
|
|
version for format checking to 4.1.
|
11555 |
|
|
* c-format.c: Include toplev.h after c-common.h.
|
11556 |
|
|
(enum format_type): Add gcc_tdiag_format_type.
|
11557 |
|
|
(gcc_tdiag_length_specs, gcc_tdiag_flag_pairs,
|
11558 |
|
|
gcc_tdiag_flag_specs, gcc_tdiag_char_table): New.
|
11559 |
|
|
(format_types_orig): Add gcc_tdiag.
|
11560 |
|
|
(init_dynamic_diag_info): Support gcc_tdiag formats.
|
11561 |
|
|
(handle_format_attribute): Likewise.
|
11562 |
|
|
* toplev.h (NO_FRONT_END_DIAG, ATTRIBUTE_GCC_FE_DIAG): Remove.
|
11563 |
|
|
(GCC_DIAG_STYLE): Default to __gcc_tdiag__. Change minimum GCC
|
11564 |
|
|
version for format checking to 4.1.
|
11565 |
|
|
(warning0, warning, error, pedwarn, sorry): Use
|
11566 |
|
|
ATTRIBUTE_GCC_DIAG.
|
11567 |
|
|
* config/rs6000/rs6000.c (altivec_expand_builtin), varasm.c
|
11568 |
|
|
(finish_aliases_1): Do not use %qE.
|
11569 |
|
|
* config/arm/arm.c, config/i386/i386.c, config/mmix/mmix.c,
|
11570 |
|
|
config/pdp11/pdp11.c, stor-layout.c, tree-eh.c, tree-ssa.c:
|
11571 |
|
|
Correct format bugs.
|
11572 |
|
|
* config/v850/v850-protos.h (v850_output_aligned_bss): Change size
|
11573 |
|
|
parameter to unsigned HOST_WIDE_INT.
|
11574 |
|
|
* config/v850/v850.c (v850_output_aligned_bss): Likewise.
|
11575 |
|
|
|
11576 |
|
|
2005-07-02 David Edelsohn
|
11577 |
|
|
|
11578 |
|
|
PR middle-end/21742
|
11579 |
|
|
* expr.c (write_complex_part): Use adjust_address for MEM.
|
11580 |
|
|
(read_complex_part): Same.
|
11581 |
|
|
|
11582 |
|
|
2005-07-02 Daniel Berlin
|
11583 |
|
|
|
11584 |
|
|
Fix PR tree-optimization/22280
|
11585 |
|
|
|
11586 |
|
|
* tree-sra.c (generate_element_init): Remove useless loop.
|
11587 |
|
|
|
11588 |
|
|
2005-07-02 Richard Henderson
|
11589 |
|
|
|
11590 |
|
|
* config/alpha/alpha.c (alpha_legitimize_address): Check for
|
11591 |
|
|
TLS_MODEL_NONE.
|
11592 |
|
|
(alpha_stdarg_optimize_hook): Use DECL_UID with va_list_vars.
|
11593 |
|
|
|
11594 |
|
|
2005-07-02 Andrew Pinski
|
11595 |
|
|
|
11596 |
|
|
PR middle-end/14490
|
11597 |
|
|
* fold-const.c (fold_binary): Handle the return value of
|
11598 |
|
|
fold_to_nonsharp_ineq_using_bound if we get back the same operand back.
|
11599 |
|
|
Implement "X +- C1 CMP C2" folding to "X CMP C2 -+ C1".
|
11600 |
|
|
|
11601 |
|
|
2005-07-02 Jeff Law
|
11602 |
|
|
|
11603 |
|
|
* tree-ssa-dom.c (find_equivalent_equality_comparison): Do not
|
11604 |
|
|
a eliminate type conversion which feeds an equality comparison
|
11605 |
|
|
if the original type or either operand in the comparison is a
|
11606 |
|
|
function pointer.
|
11607 |
|
|
|
11608 |
|
|
2005-07-02 Joseph S. Myers
|
11609 |
|
|
|
11610 |
|
|
* c.opt, common.opt, config/bfin/bfin.opt, config/pa/pa.opt,
|
11611 |
|
|
config/rs6000/rs6000.opt, params.def: Remove "." from end of help
|
11612 |
|
|
texts.
|
11613 |
|
|
* config/avr/avr.c: Do not use '`' as left quote.
|
11614 |
|
|
* config/rs6000/rs6000.c, config/s390/s390.c, opts.c, tree.c:
|
11615 |
|
|
Remove "." from end of diagnostics. Make diagnostics start with
|
11616 |
|
|
lowercase letter.
|
11617 |
|
|
|
11618 |
|
|
2005-07-02 Zack Weinberg
|
11619 |
|
|
Joseph S. Myers
|
11620 |
|
|
|
11621 |
|
|
* toplev.c (default_tree_printer): Handle setting location with
|
11622 |
|
|
'+' flag.
|
11623 |
|
|
* c-objc.common.c (c_tree_printer): Likewise.
|
11624 |
|
|
* c-format.c (gcc_diag_flag_specs): Add '+'.
|
11625 |
|
|
(gcc_cdiag_char_table): Allow '+' flag for tree formats.
|
11626 |
|
|
(format_types_orig): Allow '+' flag for gcc_diag and gcc_cdiag
|
11627 |
|
|
formats.
|
11628 |
|
|
* c-common.c, c-decl.c, c-objc-common.c, c-pragma.c,
|
11629 |
|
|
config/arm/pe.c, config/i386/winnt.c, config/ia64/ia64.c,
|
11630 |
|
|
config/mcore/mcore.c, config/sh/symbian.c, config/sol2.c,
|
11631 |
|
|
config/v850/v850.c, function.c, stor-layout.c, toplev.c,
|
11632 |
|
|
tree-inline.c, tree-optimize.c, tree.c, varasm.c: Use '+' flag
|
11633 |
|
|
instead of %J or %H. Use 'q' flag for quoting. Avoid '.' at end
|
11634 |
|
|
of diagnostics. Use %q+D not %s for a decl. Do not pass excess
|
11635 |
|
|
format arguments where %J is used without %D.
|
11636 |
|
|
|
11637 |
|
|
2005-07-02 Jakub Jelinek
|
11638 |
|
|
|
11639 |
|
|
* gcc.c (LINK_SSP_SPEC): Define.
|
11640 |
|
|
(link_ssp_spec): New variable.
|
11641 |
|
|
(LINK_COMMAND_SPEC): Add %(link_ssp).
|
11642 |
|
|
(static_specs): Add link_ssp_spec.
|
11643 |
|
|
* configure.ac (TARGET_LIBC_PROVIDES_SSP): New test.
|
11644 |
|
|
* configure: Rebuilt.
|
11645 |
|
|
* config.in: Rebuilt.
|
11646 |
|
|
|
11647 |
|
|
* config/rs6000/linux.h (TARGET_THREAD_SSP_OFFSET): Define.
|
11648 |
|
|
* config/rs6000/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
|
11649 |
|
|
* config/i386/linux.h (TARGET_THREAD_SSP_OFFSET): Likewise.
|
11650 |
|
|
* config/i386/linux64.h (TARGET_THREAD_SSP_OFFSET): Likewise.
|
11651 |
|
|
* config/rs6000/rs6000.md (stack_protect_set, stack_protect_test):
|
11652 |
|
|
If TARGET_THREAD_SSP_OFFSET is defined, use -0x7010(13) resp.
|
11653 |
|
|
-0x7008(2) instead of reading __stack_chk_guard variable.
|
11654 |
|
|
* config/i386/i386.md (UNSPEC_SP_SET, UNSPEC_SP_TEST): Change
|
11655 |
|
|
number.
|
11656 |
|
|
(UNSPEC_SP_TLS_SET, UNSPEC_SP_TLS_TEST): New constants.
|
11657 |
|
|
(stack_protect_set, stack_protect_test): Use *_tls* patterns
|
11658 |
|
|
if TARGET_THREAD_SSP_OFFSET is defined.
|
11659 |
|
|
(stack_tls_protect_set_si, stack_tls_protect_set_di,
|
11660 |
|
|
stack_tls_protect_test_si, stack_tls_protect_test_di): New insns.
|
11661 |
|
|
|
11662 |
|
|
Revert:
|
11663 |
|
|
2005-06-27 Richard Henderson
|
11664 |
|
|
* libgcc-std.ver (GCC_4.1.0): New.
|
11665 |
|
|
* libgcc.h (__stack_chk_guard): Declare.
|
11666 |
|
|
(__stack_chk_fail, __stack_chk_fail_local): Declare.
|
11667 |
|
|
* libgcc2.c (L_stack_chk, L_stack_chk_local): New.
|
11668 |
|
|
* mklibgcc.in (lib2funcs): Add them.
|
11669 |
|
|
|
11670 |
|
|
2005-07-01 Richard Henderson
|
11671 |
|
|
|
11672 |
|
|
* config/i386/linux-unwind.h (x86_64_fallback_frame_state): Cast to
|
11673 |
|
|
void * before struct sigcontext *.
|
11674 |
|
|
(x86_fallback_frame_state): Likewise.
|
11675 |
|
|
|
11676 |
|
|
2005-07-01 James E. Wilson
|
11677 |
|
|
|
11678 |
|
|
* doc/invoke.texi (-funit-at-a-time): Correct grammar in second bullet.
|
11679 |
|
|
|
11680 |
|
|
2005-07-01 Andrew Pinski
|
11681 |
|
|
|
11682 |
|
|
PR tree-opt/22269
|
11683 |
|
|
* tree-ssa-reassoc.c (should_transpose): Fix which operand
|
11684 |
|
|
we check for SSA_NAME for.
|
11685 |
|
|
|
11686 |
|
|
2005-07-01 Daniel Berlin
|
11687 |
|
|
|
11688 |
|
|
Fix PR tree-optimization/22071
|
11689 |
|
|
|
11690 |
|
|
* tree-ssa-structalias.c (offset_overlaps_with_access): New
|
11691 |
|
|
function.
|
11692 |
|
|
(get_constraint_for_component_ref): Use it.
|
11693 |
|
|
|
11694 |
|
|
2005-07-01 Andrew Pinski
|
11695 |
|
|
|
11696 |
|
|
PR other/22264
|
11697 |
|
|
* diagnostic.c (diagnostic_report_current_module): Use pp_newline to
|
11698 |
|
|
print out the last new line.
|
11699 |
|
|
|
11700 |
|
|
2005-07-01 Hans-Peter Nilsson
|
11701 |
|
|
|
11702 |
|
|
* config/cris/cris.md (CRIS_CC0_REGNUM): New constant.
|
11703 |
|
|
Swap numbers for CRIS_AP_REGNUM and CRIS_MOF_REGNUM.
|
11704 |
|
|
* config/cris/cris.c (cris_conditional_register_usage): Adjust
|
11705 |
|
|
reg_names[CRIS_CC0_REGNUM] for early CRIS versions.
|
11706 |
|
|
(cris_print_operand) : Handle CRIS_CC0_REGNUM.
|
11707 |
|
|
(cris_md_asm_clobbers): Clobber CRIS_CC0_REGNUM for all asms.
|
11708 |
|
|
* config/cris/cris.h (CRIS_CANONICAL_CC0_REGNUM): New macro.
|
11709 |
|
|
(enum reg_class): New member CC0_REGS.
|
11710 |
|
|
(REG_CLASS_FROM_LETTER): Add 'c' for CC0_REGS.
|
11711 |
|
|
(FIRST_PSEUDO_REGISTER, CALL_USED_REGISTERS, REG_ALLOC_ORDER)
|
11712 |
|
|
(HARD_REGNO_MODE_OK, MODES_TIEABLE_P, REG_CLASS_NAMES)
|
11713 |
|
|
(CRIS_SPECIAL_REGS_CONTENTS, REG_CLASS_CONTENTS, REGNO_REG_CLASS)
|
11714 |
|
|
(PREFERRED_RELOAD_CLASS, REGISTER_NAMES, DBX_REGISTER_NUMBER):
|
11715 |
|
|
Adjust for register now described.
|
11716 |
|
|
|
11717 |
|
|
2005-07-01 Jakub Jelinek
|
11718 |
|
|
|
11719 |
|
|
PR target/22262
|
11720 |
|
|
* config/i386/i386.md (stack_protect_test_si,
|
11721 |
|
|
stack_protect_test_di): Add earlyclobber for scratch 3.
|
11722 |
|
|
* config/rs6000/rs6000.md (stack_protect_testsi,
|
11723 |
|
|
stack_protect_testdi): Add earlyclobber for scratch 3,
|
11724 |
|
|
remove earlyclobber from scratch 4.
|
11725 |
|
|
|
11726 |
|
|
Older entries for 2005 can be found in ChangeLog-2005.
|