]>
Commit | Line | Data |
---|---|---|
2715d4a3 BE |
1 | 2004-11-18 Ben Elliston <bje@au.ibm.com> |
2 | ||
3 | * opts.h (add_input_filename): Remove extern declaration. | |
4 | * opts.c (add_input_filename): Make static. | |
5 | ||
7915fbaa MM |
6 | 2004-11-17 Mark Mitchell <mark@codesourcery.com> |
7 | ||
8 | * config/i386/i386.c (i386_solaris_elf_named_section): Mark with | |
9 | ATTRIBUTE_UNUSED. | |
10 | ||
cf249358 ZW |
11 | 2004-11-17 Zack Weinberg <zack@codesourcery.com> |
12 | ||
13 | * defaults.h, config/darwin.h: Don't define TARGET_SUPPORTS_HIDDEN. | |
14 | * system.h: Poison it. | |
15 | * doc/tm.texi: Delete its documentation. | |
16 | ||
a8e68029 | 17 | 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> |
cf249358 | 18 | Mark Mitchell <mark@codesourcery.com> |
a8e68029 DJ |
19 | |
20 | * config/i386/sol2-10.h, config/i386/t-sol2-10: New files. | |
21 | * config/i386/i386.c (i386_solaris_elf_named_section): New | |
22 | function. | |
23 | * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10. | |
24 | * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle | |
25 | 64-bit. | |
26 | (ASM_QUAD): Don't undefine for biarch targets. | |
27 | * config/i386/t-sol2: Introduce multilib support. | |
28 | ||
e1990f69 BE |
29 | 2004-11-18 Ben Elliston <bje@au.ibm.com> |
30 | ||
31 | * cgraphunit.c: Replace "it's" with "its" and fix a typo. | |
32 | ||
e2209b03 BE |
33 | 2004-11-18 Ben Elliston <bje@au.ibm.com> |
34 | ||
35 | * cgraph.h: Replace "it's" with "its" throughout. | |
36 | ||
2b45d482 BE |
37 | 2004-11-18 Ben Elliston <bje@au.ibm.com> |
38 | ||
39 | * doc/rtl.texi (Flags): Grammar fix. | |
40 | ||
7b13ee6b KH |
41 | 2004-11-17 Kazu Hirata <kazu@cs.umass.edu> |
42 | ||
43 | * expmed.c (alg_code): Add alg_unknown. | |
44 | (alg_hash_entry): New. | |
45 | (NUM_ALG_HASH_ENTRIES): Likewise. | |
46 | (alg_hash): Likewise. | |
47 | (synth_mult): Cache the result into alg_hash. | |
48 | ||
816ea94e ZW |
49 | 2004-11-17 Zack Weinberg <zack@codesourcery.com> |
50 | ||
51 | * config/rs6000/t-darwin: Augment SHLIB_MAPFILES with | |
52 | config/rs6000/libgcc-ppc64.ver. | |
53 | ||
26cae194 KH |
54 | 2004-11-17 Kazu Hirata <kazu@cs.umass.edu> |
55 | ||
56 | * cfgrtl.c (rtl_verify_flow_info): Don't use INSN_P when | |
57 | checking if an unconditional return is followed by a barrier. | |
58 | ||
a4480681 KH |
59 | * jump.c (condjump_p): Remove unreachable code. |
60 | ||
ac141aea KH |
61 | * basic-block.h, c-common.h, df.h, expr.h, output.h, rtl.h, |
62 | tree-chrec.h, tree-flow.h, tree-scalar-evolution.h, | |
63 | tree-ssa-live.h, tree.h: Remove unused prototypes. | |
64 | ||
d6be0d7f JL |
65 | 2004-11-17 Jeff Law <law@redhat.com> |
66 | ||
67 | * tree-cfg.c (edge_to_cases): Renamed from edge_to_case_leader. | |
68 | (edge_to_cases_elt): Renamed from edge_to_case_leader. | |
69 | (edge_to_cases_hash): Renamed from edge_to_case_leader_hash. | |
70 | (edge_to_cases_eq): Renamed from edge_to_case_leader_eq. | |
71 | (edge_to_cases_cleanup, recording_case_labels_p): New functions. | |
72 | (get_cases_for_edge): New function. | |
73 | (start_recording_case_labels, end_recording_case_labels): Similarly. | |
74 | (record_switch_edge): Don't muck with the CASE_LABEL. Instead | |
75 | chain equivalent CASE_LABEL_EXPRs together. | |
76 | (get_case_leader_for_edge, get_case_leader_for_edge_hash): Kill. | |
77 | (make_switch_expr_edges): Do not record edge/cases here. | |
78 | (cleanup_tree_cfg): Record cases around the call to thread_jumps. | |
79 | (split_critical_edges): Record cases around the edge splitting code. | |
80 | (cleanup_dead_labels): Use CASE_LABEL again. | |
81 | (tree_redirect_edge_and_branch): If we have a mapping from edge | |
82 | to cases, use it to handle redirections. Else do it the slow way. | |
83 | * tree.h (CASE_LEADER_OR_LABEL): Kill. | |
84 | (CASE_LABEL): Revert to just looking at the tree's second operand. | |
85 | * tree.c (get_case_label): Kill. | |
86 | ||
730bddf2 DN |
87 | 2004-11-17 Diego Novillo <dnovillo@redhat.com> |
88 | ||
89 | PR tree-optimization/18307 | |
90 | * tree-ssa-alias.c (merge_pointed_to_info): ICE if 'dest' and | |
91 | 'orig' are the same node. | |
92 | (collect_points_to_info_r): Do not call merge_pointed_to_info | |
93 | when the PHI argument is identical to the LHS. | |
94 | ||
39850c0b SB |
95 | 2004-11-17 Steven Bosscher <stevenb@suse.de> |
96 | ||
2b45d482 | 97 | * tree-ssa-propagate.c (cfg_blocks_add): Assert we're not trying |
39850c0b SB |
98 | to insert the exit or entry block. |
99 | (ssa_prop_init): Use add_control_edge to seed the algorithm. | |
100 | ||
7c834753 ZW |
101 | 2004-11-16 Zack Weinberg <zack@codesourcery.com> |
102 | ||
103 | * mkmap-flat.awk, mkmap-symver.awk: If the last version | |
104 | assigned to a symbol was '%exclude', do not emit it anywhere. | |
105 | If leading_underscore is true, prefix all symbols from the | |
106 | version scripts with a leading underscore before comparing | |
107 | them with nm output or emitting them. Remove support for dot | |
108 | symbols. | |
109 | * config/t-slibgcc-darwin (SHLIB_LINK): Use mkmap-flat.awk. | |
110 | (SHLIB_MAPFILES): Use libgcc-std.ver. | |
111 | (SHLIB_MKMAP_OPTS): Enable leading-underscore mode. | |
112 | (SHLIB_LINK): Add -Wl,-exported_symbols_list,$(SHLIB_MAP). | |
113 | * config/sh/t-linux: Use the normal libgcc-std.ver, plus | |
114 | libgcc-excl.ver and libgcc-glibc.ver. | |
115 | ||
116 | * config/sh/libgcc-excl.ver: New file. | |
117 | * config/sh/libgcc-std.ver, libgcc-darwin.ver: Delete. | |
118 | ||
13cf6837 DB |
119 | 2004-11-16 Daniel Berlin <dberlin@dberlin.org> |
120 | ||
121 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Swap | |
122 | the test when the edge has the opposite meaning, not when | |
123 | the first argument is invariant. | |
124 | ||
354ed18f AH |
125 | 2004-11-16 Aldy Hernandez <aldyh@redhat.com> |
126 | ||
7c834753 ZW |
127 | * config/rs6000/rs6000.c (rs6000_override_options): Split e500v2 |
128 | doubles. | |
129 | (rs6000_complex_function_value): Handle e500 v2 variant. | |
354ed18f | 130 | |
88a40e67 DB |
131 | 2004-11-16 Daniel Berlin <dberlin@dberlin.org> |
132 | ||
133 | Fix PR tree-optimization/18519 | |
7c834753 | 134 | |
88a40e67 DB |
135 | * tree-optimize (execute_todo): Add case for TODO_cleanup_cfg. |
136 | * tree-pass.h: Add TODO_cleanup_cfg. | |
137 | * tree-ssa-ccp.c (pass_ccp): Use TODO_cleanup_cfg. | |
138 | (ccp_finalize): Remove call to cleanup_cfg. | |
139 | * tree-ssa-dce.c (pass_dce): Use TODO_cleanup_cfg and TODO_dump_func. | |
140 | (pass_cd_dce): Ditto. | |
7c834753 | 141 | (perform_tree_ssa_dce): Remove call to cleanup_cfg, |
88a40e67 DB |
142 | dump_function_to_file. |
143 | * tree-ssa-loop-ch.c (copy_loop_headers): Remove call | |
144 | to cleanup_cfg. | |
145 | (pass_ch): Add TODO_cleanup_cfg. | |
146 | * tree-ssa-loop.c (tree_ssa_loop_done): Remove call to | |
147 | cleanup_cfg. | |
148 | (pass_loop_done): Add TODO_cleanup_cfg. | |
149 | * tree-ssa-phiopt.c (pass_phiopt): Ditto. | |
7c834753 ZW |
150 | (tree_ssa_phiopt): Remove call to cleanup_cfg. |
151 | ||
8a45d448 DP |
152 | 2004-11-16 Devang Patel <dpatel@apple.com> |
153 | ||
154 | * optabs.c (vector_compare_rtx): Fix COMPARISON_CLASS_P use. | |
7c834753 | 155 | |
a37739c1 KH |
156 | 2004-11-16 Kazu Hirata <kazu@cs.umass.edu> |
157 | ||
158 | * expmed.c, ra-colorize.c: Fix comment typos. | |
159 | ||
5b4ef0b1 KH |
160 | * doc/tm.texi: Fix typos. |
161 | ||
d3f2f8ae | 162 | 2004-11-16 Daniel Jacobowitz <dan@codesourcery.com> |
7c834753 | 163 | Mark Mitchell <mark@codesourcery.com> |
d3f2f8ae DJ |
164 | |
165 | PR target/6123 | |
166 | * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __PIC__ and | |
167 | __pic__ if PIC. | |
168 | ||
d281a1f1 UW |
169 | 2004-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
170 | ||
171 | * regmove.c (regmove_optimize): Use lowpart_subreg instead of | |
172 | gen_rtx_SUBREG with incorrect offset to compute SRC_SUBREG. | |
173 | ||
57e42286 DP |
174 | 2004-11-16 Devang Patel <dpatel@apple.com> |
175 | ||
176 | * tree-if-conv.c (clean_predicate_lists): Update gcc_assert check. | |
7c834753 | 177 | |
66083422 EC |
178 | 2004-11-16 Eric Christopher <echristo@redhat.com> |
179 | ||
180 | * config/mips/mips.c: Use rtl _P predicates. | |
181 | * config/mips/mips.h: Ditto. | |
182 | * config/mips/mips.md: Ditto. | |
183 | ||
96e1fc28 FJ |
184 | 2004-11-16 Fariborz Jahanian <fjahanian@apple.com> |
185 | ||
186 | * config/rs6000/altivec.md (altivec_vandc): Canonicalize | |
187 | the pattern. | |
188 | ||
a628ab6d AK |
189 | 2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com> |
190 | ||
191 | * config/s390/s390.c (s390_cc_modes_compatible): New function. | |
192 | (TARGET_CC_MODES_COMPATIBLE): Target macro defined. | |
193 | ||
b92c3264 KK |
194 | 2004-11-16 Kaz Kojima <kkojima@gcc.gnu.org> |
195 | ||
196 | PR target/18447 | |
197 | * config/sh/sh.c (prepare_move_operands): Emit blockage insns | |
198 | before and after the insns for getting GOT address in non-PIC | |
199 | TLS_MODEL_INITIAL_EXEC tls sequence when the first scheduling | |
200 | is enabled. | |
201 | ||
fc188d37 AK |
202 | 2004-11-16 Andreas Krebbel <krebbel1@de.ibm.com> |
203 | ||
204 | * gcc/cse.c (struct change_cc_mode_args): New structure. | |
205 | (cse_change_cc_mode_insn): New function. | |
206 | (cse_change_cc_mode): Use validate_change to perfom changes. | |
66083422 | 207 | (cse_change_cc_mode_insns, cse_condition_code_reg): |
fc188d37 AK |
208 | Call cse_change_cc_mode_insn. |
209 | ||
d39289db SB |
210 | 2004-11-16 Steven Bosscher <stevenb@suse.de> |
211 | ||
212 | * stack.h: Remove. | |
213 | ||
03e00d30 SB |
214 | 2004-11-16 Steven Bosscher <stevenb@suse.de> |
215 | ||
216 | * config/i386/i386.c (x86_schedule): Fix typo, m_K6 intead of m_K8. | |
217 | ||
e61ec2dd DJ |
218 | 2004-11-15 Dale Johannesen <dalej@apple.com> |
219 | ||
220 | * tree-flow.h (add_referenced_temp_var): Remove name from prototype. | |
221 | ||
b00843d2 DJ |
222 | 2004-11-15 Dale Johannesen <dalej@apple.com> |
223 | ||
224 | * profile.c (compute_branch_probabilities): Prevent | |
225 | crash with EH in RTL-based profiling. | |
226 | ||
a6234684 KH |
227 | 2004-11-16 Kazu Hirata <kazu@cs.umass.edu> |
228 | ||
229 | * tree-cfg.c (verify_expr): Replace TREE_OPERAND with | |
230 | COND_EXPR_COND. | |
231 | * tree-if-conv.c (tree_if_convert_cond_expr): Likewise. | |
232 | * tree-ssa-dom.c (thread_across_edge): Likewise. | |
233 | * tree-vectorizer.c (vect_transform_loop_bound): Replace | |
234 | TREE_OPERAND with COND_EXPR_COND, COND_EXPR_THEN, or | |
235 | COND_EXPR_ELSE. | |
236 | ||
8e731e4e KH |
237 | * tree-cfg.c (bsi_commit_edge_inserts): Remove an argument. |
238 | (tree_flow_call_edges_add): Update the call to | |
239 | bsi_commit_edge_inserts. | |
240 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise. | |
241 | * profile.c (branch_prob): Likewise. | |
242 | * tree-mudflap.c (mf_decl_cache_locals): Likewise. | |
243 | * tree-sra.c (scalarize_function): Likewise. | |
244 | * tree-ssa-loop-im.c (loop_commit_inserts): Likewise. | |
245 | * tree-ssa-pre.c (fini_pre): Likewise. | |
246 | * tree-flow.h: Update the prototype for | |
247 | bsi_commit_edge_inserts. | |
248 | ||
4c2b2906 EC |
249 | 2004-11-15 Eric Christopher <echristo@redhat.com> |
250 | ||
251 | * sched-deps.c (set_sched_group_p): Delete. | |
252 | (delete_all_dependencies): New function. | |
253 | (fixup_sched_groups): Use. New function. | |
254 | (sched_analyze_insn): Use. | |
255 | ||
37b2f290 JM |
256 | 2004-11-15 Joseph S. Myers <joseph@codesourcery.com> |
257 | ||
258 | * c-common.c (binary_op_error): Don't allow LROTATE_EXPR, | |
259 | RROTATE_EXPR or unknown code. | |
260 | * c-typeck.c (build_binary_op): Don't allow RROTATE_EXPR, | |
261 | LROTATE_EXPR, MAX_EXPR, MIN_EXPR, UNORDERED_EXPR, ORDERED_EXPR, | |
262 | UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR | |
263 | or unknown code. | |
264 | ||
d134f39e JM |
265 | 2004-11-15 Joseph S. Myers <joseph@codesourcery.com> |
266 | ||
267 | PR c/18498 | |
268 | * c-decl.c (grokdeclarator): Call check_bitfield_type_and_width | |
269 | after processing the declarator. | |
270 | ||
e5f9d916 AH |
271 | 2004-11-15 Aldy Hernandez <aldyh@redhat.com> |
272 | ||
273 | * config/rs6000/altivec.md ("altivec_vsplth"): Rewrite with | |
274 | vec_duplicate. | |
275 | (altivec_vspltb): Same. | |
276 | (altivec_vspltw): Same. | |
277 | (altivec_vspltisb): Same. | |
278 | (altivec_vspltish): Same. | |
279 | (altivec_vspltisw): Same. | |
280 | (altivec_vspltisw_v4sf): Same. | |
281 | (define_constants): Remove UNSPEC_VSPLTISB, UNSPEC_VSPLTISW, | |
282 | UNSPEC_VSPLTISH. | |
283 | Move "End of vector xor's" comment to the right place. | |
284 | ||
e77ee95d SE |
285 | 2004-11-15 Steve Ellcey <sje@cup.hp.com> |
286 | ||
287 | * config/ia64/ia64.md (*movtf_internal): Use destination_operand | |
288 | instead of nonimmediate_operand. | |
289 | ||
dbdd0cf3 MM |
290 | 2004-11-15 Mark Mitchell <mark@codesourcery.com> |
291 | ||
292 | * config/i386/sol2.h (ASM_OUTPUT_CALL): Use print_operand. | |
293 | * config/sparc/sol2.h (ASM_OUTPUT_CALL): Likewise. | |
294 | * config/sol2.c (solaris_output_init_fini): Update calls to | |
295 | ASM_OUTPUT_CALL. Include "rtl.h". | |
296 | ||
11559c75 MM |
297 | 2004-11-15 Mark Mitchell <mark@codesourcery.com> |
298 | ||
299 | * config/sol2-c.c (cmn_err_char_table): Add "p". | |
300 | ||
6e70657a MM |
301 | 2004-11-15 Mark Mitchell <mark@codesourcery.com> |
302 | ||
303 | * config/sparc/sol2.h (SUPPORTS_INIT_PRIORITY): Remove. | |
304 | * config/sol2.h (SUPPORTS_INIT_PRIORITY): Define here. | |
305 | ||
9c0787e2 MM |
306 | 2004-11-15 Mark Mitchell <mark@codesourcery.com> |
307 | ||
308 | * config/t-slibgcc-sld (SHLIB_LINK): Make symlinks entirely | |
309 | within the multilib directory. | |
310 | ||
ea87f349 NC |
311 | 2004-11-15 Nick Clifton <nickc@redhat.com> |
312 | ||
313 | * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Add | |
314 | builtin assert of cpu=xstormy16. | |
315 | ||
cf6b9ef1 NS |
316 | 2004-11-15 Nathan Sidwell <nathan@codesourcery.com> |
317 | ||
318 | * tree-ssa-pre.c (bitmap_print_value_set): Fix uninitialized | |
319 | variable. | |
320 | ||
8df3dbb7 RH |
321 | 2004-11-14 Richard Henderson <rth@redhat.com> |
322 | ||
323 | PR 18480 | |
324 | * calls.c (struct arg_data): Add parallel_value. | |
325 | (precompute_register_parameters): Set it. | |
326 | (load_register_parameters): Use it. | |
327 | (store_one_arg): Also set it here. | |
328 | ||
18522563 ZD |
329 | 2004-11-14 Zdenek Dvorak <dvorakz@suse.cz> |
330 | ||
331 | PR tree-optimization/18431 | |
332 | * fold-const.c (associate_trees): Do not produce x + 0. | |
333 | (fold_widened_comparison, fold_sign_changed_comparison): New functions. | |
334 | (fold): Use them. | |
335 | * tree-ssa-loop-niter.c (upper_bound_in_type, lower_bound_in_type): | |
336 | Moved ... | |
337 | * tree.c (upper_bound_in_type, lower_bound_in_type): Here. | |
338 | * tree.h (upper_bound_in_type, lower_bound_in_type): Declare. | |
339 | ||
a6ac87c1 EB |
340 | 2004-11-14 Eric Botcazou <ebotcazou@libertysurf.fr> |
341 | ||
c7bfff32 | 342 | * doc/rtl.texi (SUBREG): Adjust BYTENUM value in example. |
a6ac87c1 | 343 | |
49243025 KH |
344 | 2004-11-14 Kazu Hirata <kazu@cs.umass.edu> |
345 | ||
3a7c155d KH |
346 | * cfgrtl.c, global.c, tree-ssa-copy.c, tree-ssa-loop-ivopts.c, |
347 | value-prof.c: Fix comment typos. | |
49243025 | 348 | |
594a51fe SS |
349 | 2004-11-14 Stan Shebs <shebs@apple.com> |
350 | ||
351 | Basic ABI changes for passing structs by value in 64-bit Darwin. | |
352 | * config/rs6000/rs6000.c (rs6000_darwin64_abi): New flag. | |
353 | (rs6000_override_options): Set it for 64-bit Darwin. | |
354 | (rs6000_parse_abi_options): Add testing options to change it. | |
355 | (rs6000_return_in_memory): Test whether the type is one | |
356 | that can be passed in registers. | |
357 | (darwin64_function_arg_advance): New. | |
358 | (function_arg_advance): Call it, plus add recursion depth | |
359 | argument and test when counting off arguments. | |
360 | (rs6000_darwin64_function_arg): New. | |
361 | (function_arg): Call it. | |
362 | (setup_incoming_varargs): Add argument to function_arg_advance. | |
363 | (rs6000_darwin64_function_value): New. | |
364 | (rs6000_function_value): Call it. | |
365 | * config/rs6000/rs6000.h (FUNCTION_ARG_ADVANCE): Pass depth arg. | |
366 | * config/rs6000/rs6000-protos.h: Update decl of | |
367 | function_arg_advance. | |
368 | ||
1e1b8649 AP |
369 | 2004-11-14 Andrew Pinski <pinskia@physics.uc.edu> |
370 | ||
371 | PR c/17279 | |
372 | * c-common.c (c_common_nodes_and_builtins): Ask the back-end if we | |
373 | support TImode before adding __int128_t and __uint128_t types. | |
374 | ||
d6f6ef21 DN |
375 | 2004-11-14 Dorit Naishlos <dorit@il.ibm.com> |
376 | ||
377 | PR tree-opt/18400 | |
378 | * tree-vectorizer.c (make_loop_iterate_ntimes): Set loop->nb_iterations. | |
379 | (vect_transform_loop_bound): Set loop->nb_iterations. | |
380 | ||
4951c3fd | 381 | 2004-11-14 Dorit Naishlos <dorit@il.ibm.com> |
7c834753 | 382 | Andrew Pinski <pinskia@physics.uc.edu> |
4951c3fd DN |
383 | |
384 | PR tree-opt/18425 | |
385 | * tree-vectorize.c (vect_build_loop_niters): Do not insert | |
386 | NULL into the instruction stream. Initialize new_bb to NULL. | |
387 | (vect_update_ivs_after_vectorizer): Likewise. | |
388 | (vect_gen_niters_for_prolog_loop): Likewise. | |
389 | ||
9beeb4ee ZD |
390 | 2004-11-14 Zdenek Dvorak <dvorakz@suse.cz> |
391 | ||
392 | PR tree-optimization/18431 | |
393 | * tree-flow.h (stmt_references_memory_p): Declare. | |
394 | * tree-ssa-loop-im.c (stmt_cost): Use stmt_references_memory_p. | |
395 | * tree-ssa.c (stmt_references_memory_p): New function. | |
396 | ||
fd3fe0a1 AS |
397 | 2004-11-14 Andreas Schwab <schwab@suse.de> |
398 | ||
399 | * Makefile.in (lambda-code.o, tree-loop-linear.o): Depend on | |
400 | $(EXPR_H). | |
401 | ||
29eb4ac9 KH |
402 | 2004-11-14 Kazu Hirata <kazu@cs.umass.edu> |
403 | ||
404 | * c-common.c (walk_stmt_tree): Remove. | |
405 | * c-common.h: Remove the corresponding prototype. | |
406 | ||
c1dc94c4 KH |
407 | * emit-rtl.c (push_to_full_sequence): Remove. |
408 | * rtl.h: Remove the corresponding prototype. | |
409 | ||
daa956d0 KH |
410 | * cselib.c, expr.c: Fix comment typos. |
411 | ||
27e29549 RH |
412 | 2004-11-13 Richard Henderson <rth@redhat.com> |
413 | ||
414 | * calls.c (precompute_register_parameters): Force all PARALLELs | |
415 | into pseudo registers. | |
416 | (load_register_parameters): Copy PARALLELs into hard registers. | |
417 | * function.c (assign_parm_setup_block): Copy PARALLELS into | |
418 | pseudo registers. Do emit_group_store in conversion_insns. | |
419 | * expr.c (emit_group_load_1): Rename from emit_group_load, take | |
420 | tmps as an argument. Move final copy loop ... | |
421 | (emit_group_load): ... here. New function. | |
422 | (emit_group_load_into_temps, emit_group_move_into_temps): New. | |
423 | * expr.h: Declare them. | |
424 | ||
eaf0dc02 KH |
425 | 2004-11-14 Kazu Hirata <kazu@cs.umass.edu> |
426 | ||
427 | * tree-cfg.c, tree-if-conv.c, tree-ssa-loop-ivopts.c, | |
428 | tree-ssa-loop-manip.c, tree-vectorizer.c: Replace TREE_CHAIN | |
429 | with PHI_CHAIN where appropriate. | |
430 | ||
88957e79 DJ |
431 | 2004-11-13 Dale Johannesen <dalej@apple.com> |
432 | ||
eaf0dc02 KH |
433 | * tree-flow.h (bsi_commit_one_edge_insert): Remove name from prototype. |
434 | (tree_block_label): Ditto. | |
435 | (flush_pending_stmts): Ditto. | |
436 | (insert_edge_copies): Ditto. | |
437 | (expr_invariant_in_loop_p): Ditto. | |
438 | (TDF_USE_OPS): Parenthesize definition. | |
439 | (TDF_USE_VOPS): Ditto. | |
88957e79 | 440 | |
6ca4177c DE |
441 | 2004-11-13 David Edelsohn <edelsohn@gnu.org> |
442 | ||
443 | * config/rs6000/aix51.h (ASM_CPU_SPEC): Add 970 and G5. | |
444 | * config/rs6000/aix52.h (ASM_CPU_SPEC): Same. | |
ace6d09b | 445 | (atoll): Declare. |
6ca4177c DE |
446 | * config/rs6000/t-aix52 (BOOT_LDFLAGS): Define. |
447 | ||
6716ecbc JM |
448 | 2004-11-14 Joseph Myers <joseph@codesourcery.com> |
449 | ||
450 | * config/i386/i386.c (override_options): Move loop to set default | |
451 | tuning to correct place. | |
452 | ||
e8112eac ZK |
453 | 2004-11-13 Zak Kipling <zak@transversal.com> |
454 | ||
455 | PR target/18300 | |
456 | * config/i386/i386.c (classify_argument): Fix infinite loop when | |
457 | passing object with 3 or more base classes by value. | |
458 | ||
595163db EB |
459 | 2004-11-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
460 | ||
461 | * doc/md.texi (constraints) <% modifier>: Mention that it is | |
462 | useless when the two alternatives are strictly identical. | |
463 | ||
4e36f613 RH |
464 | 2004-11-13 Richard Henderson <rth@redhat.com> |
465 | ||
466 | * expmed.c (extract_split_bit_field): Temporarily disable call to | |
467 | extract_force_align_mem_bit_field. | |
468 | ||
e28d0cfb KH |
469 | 2004-11-13 Kazu Hirata <kazu@cs.umass.edu> |
470 | ||
471 | * bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix comment | |
472 | formatting. | |
473 | ||
1f838355 KH |
474 | * c-cppbuiltin.c, cgraph.c, domwalk.h, except.c, gimplify.c, |
475 | lambda-code.c, postreload.c, predict.c, tree-sra.c, | |
476 | tree-ssa-loop-manip.c, tree.c: Fix comment typos. | |
477 | ||
ae8cacc6 KC |
478 | 2004-11-13 Kelley Cook <kcook@gcc.gnu.org> |
479 | ||
4c2b2906 | 480 | * doc/install.texi (automake): Correctly document that everything now |
ae8cacc6 KC |
481 | will use automake 1.9.3. |
482 | ||
85407c3f HPN |
483 | 2004-11-13 Hans-Peter Nilsson <hp@bitrange.com> |
484 | ||
485 | PR target/18347 | |
486 | * config/mmix/mmix.c (mmix_function_outgoing_value): Handle | |
487 | TImode. Sorry for other non-complex larger-than-64-bit modes. | |
488 | * config/mmix/mmix.h (MIN_UNITS_PER_WORD): Do not define. | |
489 | ||
993bcda1 KC |
490 | 2004-11-13 Kelley Cook <kcook@gcc.gnu.org> |
491 | ||
492 | * doc/install.texi (automake): Document that everything now uses 1.9. | |
493 | ||
32fab725 BS |
494 | 2004-11-13 Bernd Schmidt <bernd.schmidt@analog.com> |
495 | ||
496 | * cse.c (cse_insn): Stores in a libcall sequence can invalidate | |
497 | previous loads. | |
498 | ||
74f4f95c KH |
499 | 2004-11-13 Kazu Hirata <kazu@cs.umass.edu> |
500 | ||
3872a0ae | 501 | * tree.h: Fix comment typos. |
74f4f95c | 502 | |
d67fb775 SB |
503 | 2004-11-13 Steven Bosscher <stevenb@suse.de> |
504 | ||
505 | * cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and | |
506 | HARD_REGISTER_NUM_P. | |
507 | ||
508 | * cselib.c (new_cselib_val): Make comment correct and more detailed. | |
509 | * flow.c (mark_set_1): Likewise. | |
510 | ||
511 | * except.c (duplicate_eh_region_1, duplicate_eh_region_2, | |
512 | duplicate_eh_regions): Remove. | |
513 | * except.h (duplicate_eh_regions): Remove prototype. | |
514 | * integrate.c (get_label_from_map, copy_rtx_and_substitute, | |
515 | global_const_equiv_varray): Remove. | |
516 | * integrate.h (get_label_from_map, copy_rtx_and_substitute, | |
517 | global_const_equiv_varray, set_label_in_map): Remove prototypes, | |
518 | extern declaration, and #define. | |
519 | (MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove. | |
520 | (struct inline_remap): Remove. | |
521 | * varray.c (struct element): Remove entry for const_equiv_data. | |
522 | * varray.h (struct const_equiv_data): Remove. | |
523 | (enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove. | |
524 | (union varray_data_tag) <const_equiv>: Remove. | |
525 | (VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV, | |
526 | VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove. | |
527 | ||
528 | * regstack.c (record_label_references): Remove unused function. | |
529 | ||
530 | * rtl.def (VALUE): Update comment. | |
531 | (LABEL_REF): Remove unused operand 2. | |
532 | * rtl.h (struct rtx_def): Update for removed accessor macros. | |
533 | (XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN, | |
534 | REG_LOOP_TEST_P): Remove. | |
535 | (ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments. | |
536 | * web.c (entry_register): Don't copy REG_LOOP_TEST_P. | |
537 | * doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove. | |
538 | ||
893e18a5 | 539 | 2004-11-13 James A. Morrison <phython@gcc.gnu.org> |
e8112eac | 540 | Eric Botcazou <ebotcazou@libertysurf.fr> |
893e18a5 JM |
541 | |
542 | PR target/18230 | |
543 | * config/sparc/sparc.c (sparc_rtx_costs): Handle the NAND vector | |
544 | patterns. | |
545 | * config/sparc/sparc.md (V64I): New macro for 64-bit modes. | |
546 | (V32I): New macro for 32-bit modes. | |
547 | (anddi3, anddi_sp32, anddi_sp64, and_not_di_sp32, and_not_di_sp64, | |
548 | iordi3, iordi3_sp32, iordi_sp64, or_not_di_sp32, or_not_di_sp64, | |
549 | xordi3, xordi3_sp32, xordi3_sp64, {AND, IOR, XOR} DI splitter, | |
550 | xor_not_di_sp32, xordi_not_di_sp64, one_cmpldi2, one_cmpldi_sp32, | |
551 | one_cmpldi_sp64): Use V64I instead of DI. | |
552 | (andsi3, andsi_sp32, andsi_sp64, and_not_si, iorsi3, or_not_si, | |
553 | xorsi3, xor_not_si, one_cmplsi2): Use V32I instead of SI. | |
554 | (addv2si3, addv4hi3, addv2hi3): Remove % modifier. | |
555 | (nandv64i_vis, nandv32i_vis): New patterns. | |
556 | ||
9d65c5cb MS |
557 | 2004-11-12 Mike Stump <mrs@apple.com> |
558 | ||
559 | * Makefile.in: Add html support. | |
560 | * java/Make-lang.in: Likewise. | |
561 | * fortran/Make-lang.in: Likewise. | |
562 | * treelang/Make-lang.in: Likewise. | |
563 | * doc/install.texi: Likewise. | |
564 | * doc/makefile.texi: Likewise. | |
565 | * doc/sourcebuild.texi: Likewise. | |
4c2b2906 | 566 | |
1b33f1cc KH |
567 | 2004-11-13 Kazu Hirata <kazu@cs.umass.edu> |
568 | ||
569 | * tree-ssa-loop-manip.c: Fix a comment typo. | |
570 | ||
061151d1 MS |
571 | 2004-11-12 Mike Stump <mrs@apple.com> |
572 | ||
573 | * doc/cppinternals.texi (Index): Fix html generation with makeinfo by | |
574 | renaming this node to Concept Index. | |
575 | * doc/gccint.texi (Index): Likewise. Also minor formatting tweaks | |
576 | to more closely match gcc.texi. | |
577 | ||
92b6dff3 JL |
578 | 2004-11-12 Jeff Law <law@redhat.com> |
579 | ||
580 | * tree-cfg.c (hashtab.h): Include. | |
581 | (struct edge_to_case_leader_elt): New structure. | |
582 | (edge_to_case_leader): New. | |
583 | (edge_to_case_leader_hash): New hashtable hasing function. | |
584 | (edge_to_case_leader_eq): New hashtable equality function. | |
585 | (record_switch_edge): New function. | |
586 | (get_case_leader_for_edge, get_case_leader_for_edge): New functions. | |
587 | (make_switch_expr_edges): Build the edge-to-case-leader | |
588 | hash table. Tear down the hash table when we're done. | |
589 | (cleanup_dead_labels): Use CASE_LEADER_OR_LABEL instead of | |
590 | CASE_LABEL. | |
591 | (tree_node_can_be_shared): Allow sharing of CASE_LABEL_EXPR nodes. | |
592 | (tree_redirect_edge_and_branch, case SWITCH_EXPR): Update | |
593 | to use new concept of case leaders to reduce overhead of | |
594 | redirecting outgoing edges from switch statements. | |
595 | * tree.c (get_case_label): New function. | |
596 | * tree.h (CASE_LABEL): Define in terms of get_case_label. | |
597 | (CASE_LEADER_OR_LABEL): Define. | |
598 | ||
2256aa1c ZL |
599 | 2004-11-12 Ziemowit Laski <zlaski@apple.com> |
600 | ||
601 | * varasm.c (output_addressed_constants): For CONST_DECLs, | |
602 | output the initializer if present. | |
603 | ||
0abe4170 ZL |
604 | 2004-11-12 Ziemowit Laski <zlaski@apple.com> |
605 | ||
606 | * config/rs6000/darwin.h: Fix confusing typo in comment. | |
607 | ||
ecab6f99 DP |
608 | 2004-11-12 Devang Patel <dpatel@apple.com> |
609 | ||
610 | * optabs.c (vector_compare_rtx): Use COMPARISON_CLASS_P. | |
4c2b2906 | 611 | |
b3776043 DP |
612 | 2004-11-12 Devang Patel <dpatel@apple.com> |
613 | ||
614 | * tree-if-conv.c (clean_predicate_lists): Use loop header | |
615 | and latch directly. | |
4c2b2906 | 616 | |
cc69336f RH |
617 | 2004-11-12 Richard Henderson <rth@redhat.com> |
618 | ||
619 | PR 17778 | |
620 | * config/i386/i386.h (TARGET_96_ROUND_53_LONG_DOUBLE): New. | |
621 | * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
622 | (TARGET_96_ROUND_53_LONG_DOUBLE): New. | |
623 | * config/i386/i386-modes.def (XF): Use it. | |
624 | ||
9af12c1b GK |
625 | 2004-11-11 Geoffrey Keating <geoffk@apple.com> |
626 | ||
627 | * Makefile.in (macro_list): Use move-if-change to avoid spurious | |
628 | rebuilds. | |
629 | ||
0a2695db MM |
630 | 2004-11-12 Mark Mitchell <mark@codesourcery.com> |
631 | ||
632 | PR c++/18416 | |
633 | * passes.c (rest_of_decl_compilation): Do not look at DECL_RTL | |
634 | when deciding whether to pass a variable to | |
635 | cgraph_varpool_finalize_decl or assemble_variable. | |
4c2b2906 | 636 | * toplev.c (check_global_declarations): Do not clear DECL_RTL. |
0a2695db | 637 | |
896b242c KH |
638 | 2004-11-12 Kazu Hirata <kazu@cs.umass.edu> |
639 | ||
640 | * tree-vectorizer.c: Fix a comment typo. | |
641 | ||
3d35950b BS |
642 | 2004-11-12 Bernd Schmidt <bernd.schmidt@analog.com> |
643 | ||
644 | * genconfig.c (walk_insn_part): Look at match_dups inside a label_ref. | |
645 | ||
85022b3f DN |
646 | 2004-11-12 Diego Novillo <dnovillo@redhat.com> |
647 | ||
648 | * tree-scalar-evolution.c (analyzable_condition): Remove | |
649 | superfluous TREE_THIS_VOLATILE checks on SSA_NAMEs. | |
650 | ||
0e03665c RC |
651 | 2004-11-12 Ralf Corsepius <ralf.corsepius@rtems.org> |
652 | ||
653 | * config/rs6000/t-rtems (MULTILIB_NEW_EXCEPTIONS_ONLY): | |
654 | Remove m505/roe multilib variant. | |
655 | ||
f58c00e3 EB |
656 | 2004-11-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
657 | ||
658 | * expr.c (emit_group_load) <CONCAT>: Use extract_bit_field | |
659 | to load from the stack. | |
660 | ||
765d98c7 RH |
661 | 2004-11-12 Richard Henderson <rth@redhat.com> |
662 | ||
663 | * toplev.c (floor_log2): Rename from floor_log2_wide, use CLZ_HWI. | |
664 | (exact_log2): Rename from exact_log2_wide, use CTZ_HWI. | |
665 | * toplev.h (FL2T__): Remove. | |
666 | (CLZ_HWI): Rename from FL2T_CLZ__. | |
667 | (CTZ_HWI): New. | |
668 | (floor_log2): Simplify. | |
669 | (exact_log2): New. | |
670 | ||
9ba64a4a SP |
671 | 2004-11-12 Sebastian Pop <pop@cri.ensmp.fr> |
672 | ||
673 | * tree-data-ref.c (analyze_subscript_affine_affine): Correctly | |
674 | compute the first overlapping iterations. | |
675 | ||
676 | 2004-11-12 Sebastian Pop <pop@cri.ensmp.fr> | |
677 | ||
678 | PR middle-end/18005 | |
4c2b2906 | 679 | * tree-data-ref.c (estimate_niter_from_size_of_data): Ensure |
9ba64a4a SP |
680 | that arguments of EXACT_DIV_EXPR are INTEGER_CST. |
681 | ||
d0ce8e4c SB |
682 | 2004-11-12 Steven Bosscher <stevenb@suse.de> |
683 | ||
f41f5287 | 684 | PR tree-optimization/18419 |
d0ce8e4c SB |
685 | * tree-ssa.c (walk_use_def_chains_1): Make the visited map a |
686 | pointer set instead of a bitmap. | |
687 | (walk_use_def_chains): Create, pass and clean up that pointer_set. | |
688 | ||
689 | * tree-ssa-alias.c (struct alias_info): Make the ssa_names_visited | |
690 | field an sbitmap. | |
691 | (init_alias_info): Allocate and zero it here. | |
692 | (delete_alias_info): Delete it here. | |
693 | (collect_points_to_info_for): Use it. | |
694 | ||
04e2b4d3 KH |
695 | 2004-11-11 Kazu Hirata <kazu@cs.umass.edu> |
696 | ||
697 | * alias.c (record_alias_subset, addr_side_effect_eval): | |
698 | Make them static. | |
699 | * alias.h: Remove the prototype for record_alias_subset. | |
700 | * expr.h: Remove the commented-out prototype for | |
701 | record_alias_subset. | |
702 | * rtl.h: Remove the prototype for addr_side_effect_eval. | |
703 | ||
a5d3e50d KH |
704 | * cfglayout.c (choose_inner_scope): Make it static. |
705 | * rtl.h: Remove the corresponding prototype. | |
706 | ||
25a6c68b KH |
707 | * cfgloopmanip.c (update_single_exits_after_duplication, |
708 | unloop): Make them static. | |
709 | * cfgloop.h: Remove the corresponding prototypes. | |
710 | ||
4e2fb7de KH |
711 | * c-typeck.c (c_size_in_bytes, record_maybe_used_decl): |
712 | Make them static. | |
713 | * c-tree.h: Remove the corresponding prototypes. | |
714 | ||
4dd9b044 KH |
715 | * explow.c (round_push): Make it static. |
716 | * expr.h: Remove the corresponding prototype. | |
717 | ||
903676f6 KH |
718 | * varasm.c (get_named_section_flags, decl_tls_model): Make |
719 | them static. | |
720 | * output.h: Remove the prototype for get_named_section_flags. | |
721 | * tree.h: Remove the prototype for decl_tls_model. | |
722 | ||
526c334b KH |
723 | 2004-11-11 Kazu Hirata <kazu@cs.umass.edu> |
724 | ||
725 | * function.c (expand_function_end): Remove an "if" statement | |
5060342a | 726 | that always triggers. |
526c334b KH |
727 | * stmt.c (expand_null_return_1): Likewise. |
728 | ||
2f71a82e JW |
729 | 2004-11-11 James E. Wilson <wilson@specifixinc.com> |
730 | ||
731 | * config/ia64/ia64.h (HARD_REGNO_NREGS): Handle XCmode. | |
732 | (HARD_REGNO_MODE_OK, MODES_TIEABLE_P, SECONDARY_MEMORY_NEEDED, | |
733 | CLASS_MAX_NREGS): Likewise. | |
734 | ||
f8e9d512 ZD |
735 | 2004-11-11 Zdenek Dvorak <dvorakz@suse.cz> |
736 | ||
737 | PR tree-optimization/17742 | |
738 | * tree-scalar-evolution.c (follow_ssa_edge_in_rhs): Handle | |
739 | MINUS_EXPR correctly. | |
740 | ||
e0afb98a SP |
741 | 2004-11-11 Sebastian Pop <pop@cri.ensmp.fr> |
742 | ||
4c2b2906 | 743 | * tree-scalar-evolution.c (follow_ssa_edge_in_condition_phi): |
e0afb98a SP |
744 | Give up as soon as the evolution is known not computable. |
745 | ||
e1e2e653 NS |
746 | 2004-11-11 Nathan Sidwell <nathan@codesourcery.com> |
747 | ||
748 | PR target/16457 | |
749 | * config/rs6000/rs6000.c (mask64_2_operand): Stub to call | |
750 | mask64_1or2_operand. | |
751 | (mask64_1or2_operand): Broken out of mask64_2_operand, add flag | |
752 | to spot rlwinm opportunities. | |
753 | (and64_2_operand): Use mask_1or2_operand. | |
754 | * config/rs6000/rs6000.md (anddi3): Use rlwinm when possible. | |
755 | ||
00803cd5 DN |
756 | 2004-11-11 Dorit Naishlos <dorit@il.ibm.com> |
757 | ||
758 | * tree-vectorizer.c (update_phi_nodes_for_guard): Call reverse_phis. | |
759 | (vect_update_ivs_after_vectorizer): Update function documentation. | |
760 | Avoid quadratic behavior and direct write to PHI_ARG_DEF. | |
761 | ||
286d28c3 KH |
762 | 2004-11-11 Kazu Hirata <kazu@cs.umass.edu> |
763 | ||
764 | * config/arm/arm.c: Fix a comment typo. | |
765 | ||
65a6f342 NS |
766 | 2004-11-11 Nathan Sidwell <nathan@codesourcery.com> |
767 | ||
768 | * bitmap.h (nBITMAP_WORD_BITS): Remove. | |
769 | (BITMAP_WORD_BITS): Force unsigned by use of 1u. | |
770 | (BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove | |
771 | unnecessary casts. | |
772 | (bitmap_first_set_bit): Return unsigned, use ctzl. | |
773 | (bitmap_last_set_bit): Remove. | |
774 | * bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator | |
775 | unsigned. | |
776 | (bitmap_first_set_bit): Return unsigned, require non-empty bitmap, | |
777 | remove special case code for two word elements. | |
778 | (bitmap_last_set_bit): Remove. | |
779 | * ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of | |
780 | bitmap_first_set_bit with bitmap_empty_p. | |
781 | * tree-outof-ssa.c (analyze_edges_for_bb): Likewise. | |
782 | * tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than | |
783 | bitmap_last_bit_set. | |
784 | ||
60934f9c NS |
785 | 2004-11-11 Nathan Sidwell <nathan@codesourcery.com> |
786 | ||
2f4d9502 NS |
787 | PR target/16796 |
788 | * config/rs6000/rs6000.md: Add DF & SF reg move peepholes. | |
789 | ||
60934f9c NS |
790 | PR target/16458 |
791 | * config/rs6000/rs6000.c (rs6000_generate_compare): Generate an | |
792 | unsigned equality compare when we know the operands are unsigned. | |
793 | ||
dc316086 PM |
794 | 2004-11-10 Peter S. Mazinger <ps.m@gmx.net> |
795 | ||
796 | * config/mips/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Define | |
797 | __PIC__ and __pic__ only if TARGET_ABICALLS. | |
798 | (SUBTARGET_CPP_SPECS): Don't define or undefine __PIC__ and __pic__. | |
799 | (SUBTARGET_ASM_SPECS): Don't pass -non_shared to assembler; pass | |
800 | -KPIC only if not -mno-abicalls. | |
801 | ||
802 | * config/alpha/linux.h, config/arm/linux-elf.h, config/pa/pa-linux.h | |
803 | * config/sparc/linux.h, config/sparc/linux64.h | |
804 | (TARGET_OS_CPP_BUILTINS): Define __PIC__ and __pic__ if flag_pic. | |
805 | ||
806 | * config/arm/linux-gas.h (CPP_SPEC): Don't define __PIC__ or __pic__. | |
807 | * config/pa/pa/linux.h (CPP_SPEC): Likewise. | |
808 | * config/sparc/linux.h (CPP_SUBTARGET_SPEC): Likewise. | |
809 | * config/sparc/linux64.h (CPP_SUBTARGET_SPEC): Likewise. | |
810 | ||
cfa01aab PB |
811 | 2004-11-11 Paul Brook <paul@codesourcery.com> |
812 | ||
813 | * config/arm/arm.c (arm_compute_save_reg0_reg12_mask): Save PIC | |
814 | register if current_function_uses_pic_offset_table is set. | |
815 | ||
943c15ed DE |
816 | 2004-11-10 David Edelsohn <edelsohn@gnu.org> |
817 | ||
818 | * config/rs6000/rs6000.md (define_attr "type"): Add two and three. | |
819 | Change multi-instruction sequences to new attribute. | |
820 | * config/rs6000/{40x.md,440.md,603.md,6xx.md, | |
821 | 7450.md,7xx.md,8540.md,mpc.md,power4.md,power5.md, | |
822 | rios1.md,rios2.md,rs64.md}: Add descriptions for two and three. | |
823 | ||
8b41b1b2 DB |
824 | 2004-11-10 Daniel Berlin <dberlin@dberlin.org> |
825 | ||
826 | * tree-data-ref.c (build_classic_dist_vector): If either loop | |
827 | is outside of the nest we asked about, the dependence can't | |
dc316086 | 828 | matter. |
8b41b1b2 DB |
829 | (build_classic_dir_vector): Ditto. |
830 | ||
7299dbfb ZD |
831 | 2004-11-10 Zdenek Dvorak <dvorakz@suse.cz> |
832 | ||
833 | * tree-ssa-loop-ivopts.c (get_address_cost): Add address elements in | |
834 | right order. | |
835 | (force_var_cost): Determine cost of addition and multiplication more | |
836 | precisely. | |
837 | (get_computation_cost_at): Add cost for computing address elements to | |
838 | the final cost. | |
839 | ||
840 | * fold-const.c (fold): Attempt to use ptr_difference_const whenever | |
841 | one of the arguments of MINUS_EXPR is an address. | |
842 | (split_address_to_core_and_offset): New function. | |
843 | (ptr_difference_const): Handle case when one of the operands is a | |
844 | pointer. | |
845 | * tree-ssa-loop-ivopts.c (determine_base_object): Fold &*addr. | |
846 | (ptr_difference_cost): Pass addresses instead of objects to | |
847 | ptr_difference_const. | |
848 | ||
ea1763b1 NS |
849 | 2004-11-10 Nathan Sidwell <nathan@codesourcery.com> |
850 | ||
851 | * tree.c (tree_check_failed): Emit general error if the list of | |
852 | node types is empty. | |
853 | ||
22d8d627 EB |
854 | 2004-11-10 Eric Botcazou <ebotcazou@libertysurf.fr> |
855 | ||
856 | * config/sparc/sparc.c (function_arg_union_value): New 'slotno' | |
857 | argument. When the union is passed in the 6th slot, build a | |
858 | PARALLEL with only one element. | |
859 | (function_arg): Adjust call to function_arg_union_value. | |
860 | (function_value): Likewise. | |
861 | ||
d05f9c39 FJ |
862 | 2004-11-10 Fariborz Jahanian <fjahanian@apple.com> |
863 | ||
864 | PR tree-optimization/17892 | |
cfa01aab | 865 | * tree-ssa-dom.c (unsafe_associative_fp_binop): Add test for |
d05f9c39 FJ |
866 | MINUS_EXPR operator. |
867 | ||
8393a290 JM |
868 | 2004-11-10 James A. Morrison <phython@gcc.gnu.org> |
869 | ||
870 | PR target/18230 | |
f11edb4a | 871 | config/sparc/sparc.md (addsi3, subsi3): Set "fptype" attribute. |
8393a290 JM |
872 | (addv2si, addv4hi, addv2hi, subv2si, subv4hi, subv2hi): New patterns. |
873 | ||
dda49b66 SB |
874 | 2004-11-10 Steven Bosscher <stevenb@suse.de> |
875 | ||
876 | * basic-block.h (XMALLOC_REG_SET, XFREE_REG_SET): New. | |
877 | (struct basic_block_def): Remove local_set and cond_local_set | |
878 | fields. Update comment for global_live_at_start. | |
879 | * flow.c (calculate_global_regs_live): Allocate local_sets and | |
880 | cond_local_sets here as arrays of bitmaps previously stored in | |
881 | bb->local_set and bb->cond_local_set. Use xmalloc instead of | |
882 | obstack allocated bitmaps. | |
883 | ||
780f9446 L |
884 | 2004-11-09 H.J. Lu <hongjiu.lu@intel.com> |
885 | ||
886 | PR target/18380 | |
887 | * config/ia64/unwind-ia64.h (_Unwind_FindTableEntry): Mark it | |
888 | hidden. | |
889 | ||
890 | * unwind-dw2.c (_Unwind_FindTableEntry): Removed. | |
891 | ||
24c75ec6 JL |
892 | 2004-11-09 Jeff Law <law@redhat.com> |
893 | ||
894 | * cfganal.c (flow_dfs_compute_reverse_execute): Accept new | |
895 | argument holding last unvisited block. Start search for | |
896 | unvisited blocks at LAST_UNVISITED rather than EXIT_BLOCK. | |
897 | (connect_infinite_loops_to_exit): Supply last unvisited block | |
898 | to flow_dfs_compute_reverse_execute. | |
899 | ||
99176a91 AH |
900 | 2004-10-22 Aldy Hernandez <aldyh@redhat.com> |
901 | ||
902 | * config/rs6000/rs6000.md (fix_truncdfsi2): Handle e500 | |
903 | doubles. | |
904 | (floatunssidf2): Same. | |
905 | (floatsidf2): Same. | |
906 | ("extendsfdf2"): New expander. | |
907 | (*extendsfdf2_fpr): Rename. | |
908 | (*truncdfsf2_fpr): Same. | |
909 | (*negdf2_fpr): Same. | |
910 | (*absdf2_fpr): Same. | |
911 | (*nabsdf2_fpr): Same. | |
912 | (*adddf3_fpr): Same. | |
913 | (*subdf3_fpr): Same. | |
914 | (*muldf3_fpr): Same. | |
915 | (*divdf3_fpr): Same. | |
916 | ||
917 | * config/rs6000/spe.md ("spe_extendsfdf2"): Remove FIXME comment. | |
918 | ("spe_fix_truncdfsi2"): Same. | |
919 | (spe_floatunssidf2): Same. | |
920 | (spe_floatsidf2): Same. | |
921 | ||
8b17a9d6 JM |
922 | 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> |
923 | ||
924 | PR c/18322 | |
925 | * c-common.c (fname_decl): Don't use line number of decl in | |
926 | diagnostic. | |
927 | ||
e221ef54 UW |
928 | 2004-11-09 Ulrich Weigand <uweigand@de.ibm.com> |
929 | ||
930 | * config/s390/s390-protos.h (s390_pool_operand): Remove. | |
931 | * config/s390/s390.c (s390_pool_operand): Likewise. | |
932 | (s390_extra_constraint_str): Handle 'B' constraints. | |
933 | * config/s390/s390.h (CONSTRAINT_LEN): Handle 'B' constraints. | |
934 | * config/s390/s390.md: Document 'B' constraints. | |
935 | ("*cmpdi_cct", "*cmpsi_cct"): Use 'B' constraint instead of | |
936 | s390_pool_operand to prevent insns with two literal pool | |
937 | references. Make pattern commutative. | |
938 | ("*cmpdi_ccu", "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use | |
939 | 'B' constraint instead of s390_pool_operand. | |
940 | ||
27fd69fa KH |
941 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
942 | ||
943 | * tree-cfg.c (create_bb): Remove unnecessary memset. | |
944 | ||
6c99d79f KH |
945 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
946 | ||
947 | * tree-ssa-threadupdate.c (copy_phis_to_block): Remove. | |
948 | (thread_block): Call flush_pending_stmt instead of | |
949 | copy_phis_to_block. | |
950 | ||
e3715ebd KH |
951 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
952 | ||
953 | * loop-iv.c (iv_number_of_iterations): Make it static. | |
954 | * cfgloop.h: Remove the corresponding prototype. | |
955 | ||
6fe79279 KH |
956 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
957 | ||
958 | * function.c (combine_temp_slots, assign_parms, | |
959 | expand_pending_sizes): Make them static. | |
960 | * tree.h: Remove the corresponding prototypes. | |
961 | ||
3f5d8b4b KH |
962 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
963 | ||
964 | * emit-rtl.c (copy_most_rtx): Remove. | |
965 | * rtl.h: Remove the corresponding prototype. | |
966 | ||
9d3fe355 KH |
967 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
968 | ||
969 | * cfgloop.c (flow_loops_update): Remove. | |
970 | * cfgloop.h: Remove the corresponding prototype. | |
971 | ||
2223a998 KH |
972 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
973 | ||
974 | * conflict.c (mark_reg, conflict_graph_compute): Remove. | |
975 | * basic-block.h: Remove the prototype for | |
976 | conflict_graph_compute. | |
977 | ||
9965c9c7 KH |
978 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
979 | ||
980 | * tree-if-conv.c (add_to_dst_predicate_list): Change the | |
981 | second argument to basic_block. | |
982 | (tree_if_convert_cond_expr): Update call sites. | |
983 | ||
49995c8e KH |
984 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
985 | ||
986 | * fold-const.c (pedantic_non_lvalue): Make it static. | |
987 | * tree.h: Remove the corresponding prototype. | |
988 | ||
6db0fb0e KH |
989 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
990 | ||
991 | * optabs.c (prepare_operand): Make it static. | |
992 | * optabs.h: Remove the corresponding prototype. | |
993 | ||
bf9a0db3 KH |
994 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
995 | ||
996 | * reload1.c (reloads_conflict, gen_reload): Make them static. | |
997 | * reload.h: Remove the corresponding prototypes. | |
998 | ||
10015a27 KH |
999 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
1000 | ||
1001 | * reload.c (refers_to_mem_for_reload_p, | |
1002 | refers_to_regno_for_reload_p): Make them static. | |
1003 | * reload.h: Remove the corresponding prototypes. | |
1004 | ||
c75d6010 | 1005 | 2004-11-09 James A. Morrison <phython@gcc.gnu.org> |
dc316086 | 1006 | Eric Botcazou <ebotcazou@libertysurf.fr> |
c75d6010 JM |
1007 | |
1008 | PR target/18230 | |
1009 | * doc/md.texi (SPARC constraints): Document 'Y' constraint. | |
1010 | * config/sparc/sparc-modes.def: Add vector modes of 4 and 8 bytes. | |
1011 | * config/sparc/sparc.c (sparc_vector_mode_supported_p): New function. | |
1012 | (TARGET_VECTOR_MODE_SUPPORTED_P): Set to sparc_vector_mode_supported_p. | |
1013 | (fp_zero_operand): Accept MODE_VECTOR_INT modes. | |
1014 | (input_operand): Accept CONST_VECTOR with MODE_VECTOR_INT modes. | |
1015 | (sparc_cannot_force_const_mem): Return false for CONST_VECTOR. | |
1016 | (sparc_init_modes): Set sparc_mode_class to SF_MODE or DF_MODE for | |
1017 | MODE_VECTOR_INT modes. | |
1018 | (sparc_extra_constraint_check): Add new constraint 'Y'. | |
1019 | * config/sparc/sparc.h: Define UNITS_PER_SIMD_WORD to 8 for TARGET_VIS. | |
1020 | * config/sparc/sparc.md (V32): New mode macro for 32-bit modes. | |
1021 | (V64): New mode macro for 64-bit modes. | |
1022 | (movsf): Use V32 for mode instead of SF. | |
1023 | (movsf_insn_vis): Use V32 for mode instead of SF. Add 'Y' constraint | |
1024 | alongside 'G' constraint. | |
1025 | (movdf): Use V64 for mode instead of DF. | |
1026 | (movdf_insn_v9only_vis, modf_insn_sp64_vis): Use V64 for mode instead | |
1027 | of DF. Add 'Y' constraint alongside 'G' constraint. | |
1028 | (multi-isn and misaligned mems DFmode splitters): Use V64 for mode | |
1029 | instead of DF. | |
1030 | ||
26a89301 UW |
1031 | 2004-11-09 Ulrich Weigand <uweigand@de.ibm.com> |
1032 | ||
1033 | * config/s390/s390.c (s390_select_ccmode): Return CCAPmode for | |
1034 | integer NEG and ABS. | |
1035 | * config/s390/s390.md ("*negdi2_64"): Fix op_type attribute. | |
1036 | ("*negdi2_31"): Reimplement using a splitter. | |
1037 | ("*negdi2_cc", "*negdi2_cconly"): New insns. | |
1038 | ("*negdi2_sign", "*negdi2_sign_cc"): Likewise. | |
1039 | ("*negsi2_cc", "*negsi2_cconly"): Likewise. | |
1040 | ("*negdf2_cc", "*negdf2_cconly"): Likewise. | |
1041 | ("*negsf2_cc", "*negsf2_cconly"): Likewise. | |
1042 | ("*absdi2_cc", "*absdi2_cconly"): New insns. | |
1043 | ("*absdi2_sign", "*absdi2_sign_cc"): Likewise. | |
1044 | ("*abssi2_cc", "*abssi2_cconly"): Likewise. | |
1045 | ("*absdf2_cc", "*absdf2_cconly"): Likewise. | |
1046 | ("*abssf2_cc", "*abssf2_cconly"): Likewise. | |
1047 | ("*negabsdi2_cc", "*negabsdi2_cconly"): New insns. | |
1048 | ("*negabsdi2_sign", "*negabsdi2_sign_cc"): Likewise. | |
1049 | ("*negabssi2_cc", "*negabssi2_cconly"): Likewise. | |
1050 | ("*negabsdf2_cc", "*negabsdf2_cconly"): Likewise. | |
1051 | ("*negabssf2_cc", "*negabssf2_cconly"): Likewise. | |
1052 | ||
02887425 UW |
1053 | 2004-11-09 Ulrich Weigand <uweigand@de.ibm.com> |
1054 | ||
1055 | * config/s390/s390.c (s390_canonicalize_comparison): Reverse condition | |
1056 | when eliminating an UNSPEC_CMPINT. | |
1057 | (s390_secondary_input_reload_class): Fix test for CC register reload. | |
1058 | (s390_secondary_output_reload_class): Likewise. | |
dc316086 | 1059 | (s390_expand_cmpmem): Swap operands. Use gen_cmpint. |
02887425 UW |
1060 | * config/s390/s390.md ("*cmpint_si", "*cmpint_di"): Remove. |
1061 | ("cmpint", "*cmpint_cc", "*cmpint_sign", "*cmpint_sign_cc"): New | |
1062 | insn patterns with splitters. | |
1063 | ||
c0600ecd DE |
1064 | 2004-11-09 David Edelsohn <edelsohn@gnu.org> |
1065 | ||
1066 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Add EQ, GTU, and LTU. | |
1067 | * config/rs6000/rs6000.md (sCC): Split GTU and LTU patterns. | |
1068 | ||
5ae71719 KH |
1069 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
1070 | ||
1071 | * tree-phinodes.c (phi_reverse): New. | |
1072 | * tree-cfg.c (tree_make_forwarder_block, tree_duplicate_bb): | |
1073 | Use it. | |
1074 | * tree-flow.h: Add a prototype for phi_reverse. | |
1075 | ||
a0eca485 KH |
1076 | 2004-11-09 Kazu Hirata <kazu@cs.umass.edu> |
1077 | ||
1078 | * tree-ssa-loop-ivopts.c: Fix a comment typo. | |
1079 | ||
1080 | 2004-11-09 James A. Morrison <phython@gcc.gnu.org> | |
37d060a3 JM |
1081 | |
1082 | PR pch/14940 | |
1083 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __sparc__ | |
1084 | definitions. | |
1085 | ||
40b97a2e JM |
1086 | 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> |
1087 | ||
1088 | * builtins.c, c-common.c, c-decl.c, c-format.c: Say "argument" | |
1089 | instead of "arg" in diagnostics. | |
1090 | ||
9e637a26 JM |
1091 | 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> |
1092 | ||
1093 | * builtins.c, c-common.c, c-decl.c, c-format.c, c-format.h, | |
1094 | c-parse.in, c-pch.c, c-pragma.c, collect2.c, final.c, gcc.c, | |
1095 | gcov.c, opts.c, pretty-print.h, protoize.c, reg-stack.c, rtl.c, | |
1096 | tlink.c, config/alpha/alpha.c, config/arc/arc.c, config/arm/arm.c, | |
1097 | config/avr/avr.c, config/c4x/c4x.c, config/darwin.c, | |
1098 | config/frv/frv.c, config/h8300/h8300.c, config/i386/i386.c, | |
1099 | config/i386/winnt.c, config/ia64/ia64.c, config/ip2k/ip2k.c, | |
1100 | config/iq2000/iq2000.c, config/m32r/m32r.c, | |
1101 | config/m68hc11/m68hc11.c, config/m68k/m68k.c, config/m68k/m68k.h, | |
1102 | config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.c, | |
1103 | config/ns32k/ns32k.c, config/rs6000/host-darwin.c, | |
1104 | config/rs6000/rs6000.c, config/s390/s390.c, config/sh/sh.c, | |
1105 | config/sh/symbian.c, config/stormy16/stormy16.c, | |
1106 | config/v850/v850.c: Avoid "`" as left quote, using "'" or %q, %< | |
1107 | and %> as appropriate. Use %' as apostrophe in diagnostics where | |
1108 | applicable. Use %< and %> in place of '' quotes where applicable. | |
1109 | Use %qs in place of %<%s%>. Consistently quote __builtin function | |
1110 | names. | |
1111 | ||
55a9c4b2 HPN |
1112 | 2004-11-09 Hans-Peter Nilsson <hp@bitrange.com> |
1113 | ||
1114 | * gdbinit.in (pbb, pbm): New macros. | |
1115 | ||
df95526b JL |
1116 | 2004-11-08 Jeff Law <law@redhat.com> |
1117 | ||
1118 | * cfg.c (redirect_edge_succ_nodup): Use find_edge rather than | |
1119 | implementing it inline. | |
1120 | ||
1121 | * cfganal.c (find_edge): Search pred->succs or succ->preds, | |
1122 | whichever is shorter. | |
1123 | ||
68e4debe KH |
1124 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1125 | ||
1126 | * passes.c (rest_of_handle_jump): Remove dead code. | |
1127 | ||
31864f59 KH |
1128 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1129 | ||
1130 | * tree-cfg.c (thread_jumps): Speed up by keeping a pointer to | |
1131 | the last used element in the worklist. | |
1132 | ||
892c7e1e KH |
1133 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1134 | ||
1135 | * tree-inline.c (remap_save_expr): Make it static. | |
1136 | * tree-inline.h: Remove the corresponding prototype. | |
1137 | ||
e1a8be3f KH |
1138 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1139 | ||
1140 | * tree-ssa-loop-niter.c (upper_bound_in_type, | |
1141 | lower_bound_in_type): Make them static. | |
1142 | * tree.h: Remove the corresponding prototypes. | |
1143 | ||
1d9d8683 KH |
1144 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1145 | ||
1146 | * tree-ssa-live.c (tpa_init, pop_best_coalesce): Make them | |
1147 | static. | |
1148 | * tree-ssa-live.h: Remove the corresponding prototypes. | |
1149 | ||
a1d3c05c KH |
1150 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1151 | ||
1152 | * tree-if-conv.c (tree_if_conversion): Make it static. | |
1153 | * tree-flow.h: Remove the corresponding prototype. | |
1154 | ||
d05eae88 KH |
1155 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1156 | ||
1157 | * tree-ssa-operands.c (build_ssa_operands): Make it static. | |
1158 | * tree-flow.h: Remove the corresponding prototype. | |
1159 | ||
b03c0b93 AP |
1160 | 2004-11-08 Andrew Pinski <pinskia@physics.uc.edu> |
1161 | ||
1162 | PR tree-opt/18299 | |
1163 | * tree-inline.c (copy_body_r): Change "t = t" to empty | |
1164 | statement instead of "t". | |
1165 | ||
c16162ad KH |
1166 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1167 | ||
1168 | * modulo-sched.c (create_partial_schedule, | |
1169 | free_partial_schedule, reset_partial_schedule, | |
1170 | ps_add_node_check_conflicts, rotate_partial_schedule): Make | |
1171 | them static. | |
1172 | ||
14c8e213 RH |
1173 | 2004-11-08 Richard Henderson <rth@redhat.com> |
1174 | ||
1175 | * expmed.c (extract_force_align_mem_bit_field): Correct handling at | |
1176 | the end of a page. | |
1177 | ||
c66a4368 KH |
1178 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1179 | ||
1180 | * sched-deps.c (add_insn_mem_dependence): Make it static. | |
1181 | * sched-int.h: Remove the corresponding prototypes. | |
1182 | ||
60580286 KH |
1183 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1184 | ||
1185 | * flow.c (allocate_bb_life_data): Make it static. | |
1186 | * basic-block.h: Remove the corresponding prototype. | |
1187 | ||
2f2b4a02 KH |
1188 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1189 | ||
1190 | * calls.c (split_complex_values, split_complex_types): Make | |
1191 | them static. | |
1192 | * expr.h: Remove the corresponding prototypes. | |
1193 | ||
7bff66a7 RE |
1194 | 2004-11-08 Richard Earnshaw <rearnsha@arm.com> |
1195 | ||
1196 | * arm.c (arm_handle_notshared_attribute): Wrap declaration and use | |
1197 | with #if TARGET_DLLIMPORT_DECL_ATTRIBUTES. | |
1198 | ||
1b7cd4a5 KH |
1199 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1200 | ||
1201 | * tree-if-conv.c (tree_if_convert_cond_expr): Remove two "if" | |
1202 | statements that always trigger. | |
1203 | ||
bb29d951 KH |
1204 | 2004-11-08 Kazu Hirata <kazu@cs.umass.edu> |
1205 | ||
1206 | * tree-cfg.c, tree-if-conv.c, tree-into-ssa.c, | |
1207 | tree-scalar-evolution.c, tree-ssa-loop-im.c, | |
1208 | tree-ssa-loop-ivopts.c, tree-ssa-loop-manip.c, tree-ssa.c, | |
1209 | tree-vectorizer.c: Replace TREE_CHAIN with PHI_CHAIN where | |
1210 | appropriate. | |
1211 | ||
1590235e BE |
1212 | 2004-11-08 Ben Elliston <bje@au.ibm.com> |
1213 | ||
1214 | * cgraph.h (cgraph_calls_p): Remove. | |
1215 | * cgraph.c (cgraph_calls_p): Likewise. | |
1216 | ||
1217 | * varray.h (varray_copy): Remove. | |
1218 | * varray.c (varray_copy): Likewise. | |
1219 | ||
b8a55285 AP |
1220 | 2004-11-07 Andrew Pinski <pinskia@physics.uc.edu> |
1221 | ||
1222 | PR target/18269 | |
1223 | * config/darwin.c (machopic_indirect_data_reference): | |
1224 | Call gen_macho_high and gen_macho_low instead of | |
1225 | checking the mode and calling gen_macho_high_di directly. | |
1226 | * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. | |
1227 | * config/rs6000/rs6000.md: Move most of TARGET_MACHO expand/insns | |
1228 | to darwin.md. | |
1229 | (movdf_low, movsf_low, movsf_low_st, movsi_low, macho_correct_pic, | |
1230 | load_macho_picbase, macho_low, macho_high): Removed. | |
1231 | (builtin_setjmp_receiver): Call gen_macho_high and | |
1232 | gen_macho_low instead of checking the mode and calling | |
1233 | gen_macho_high_di directly. | |
1234 | * config/rs6000/darwin.md (load_macho_picbase_di): Use the MD constant. | |
1235 | (movdf_low_si, movsf_low_si, movsf_low_st_si, movsi_low_st): | |
1236 | Moved from rs6000.md. | |
1237 | (macho_high): New expander. | |
1238 | (macho_high_si): Renamed version of macho_high from rs6000.md. | |
1239 | (macho_low): New expander. | |
1240 | (macho_low_si): Renamed version of macho_low from rs6000.md. | |
1241 | (load_macho_picbase): New expander. | |
1242 | (load_macho_picbase_si): Renamed version of load_macho_picbase | |
1243 | from rs6000.md. | |
1244 | (macho_correct_pic): New expander. | |
1245 | (macho_correct_pic_si): Renamed version of macho_correct_pic | |
1246 | from rs6000.md. | |
1247 | ||
cc0b9d52 JM |
1248 | 2004-11-07 Joseph S. Myers <joseph@codesourcery.com> |
1249 | ||
1250 | * c-decl.c (finish_struct): Use complete sentences for diagnostic | |
1251 | for structures or unions with no members or named members. | |
1252 | ||
abb54d14 JM |
1253 | 2004-11-07 Joseph S. Myers <joseph@codesourcery.com> |
1254 | ||
1255 | * c-typeck.c (build_unary_op): Replace unreachable diagnostic for | |
1256 | taking address of bit-field by assertion. | |
1257 | ||
b628bd8e UW |
1258 | 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com> |
1259 | ||
1260 | * config/s390/s390.md (attribute "op_type"): Default to "NN". | |
1261 | (attribute "atype"): Default to "agen". | |
1262 | (attribute "length"): Default to 6. | |
1263 | (define_asm_attibutes): Remove. | |
1264 | ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa", | |
1265 | "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf", | |
1266 | "*clc", "*mvc", "*nc", "*oc", "*xc", "*xc_zero"): | |
1267 | Do not set type attribute to "cs" where already default. | |
1268 | ("*cmpint_si", "*cmpint_di", "fix_truncdfsi2_ibm", "floatsidf2_ibm", | |
1269 | "*negdi2_31"): | |
1270 | Do not set type attribute to "other" where already default. | |
dc316086 | 1271 | ("movti", "*movdi_64", "*movdi_31", "*movdf_31", |
b628bd8e UW |
1272 | "*strlendi", "*strlensi", |
1273 | "*movmem_long_64", "*movmem_long_31", | |
1274 | "*clrmem_long_64", "*clrmem_long_31", | |
1275 | "*cmpmem_long_64", "*cmpmem_long_31", | |
dc316086 PM |
1276 | "*cmpint_si", "*cmpint_di", |
1277 | "addti3", "*adddi3_31z", "*adddi3_31", | |
b628bd8e UW |
1278 | "subti3", "*subdi3_31z", "*subdi3_31", "*negdi2_31", |
1279 | "*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg", | |
1280 | "fix_truncdfsi2_ibm", "floatsidf2_ibm", "extendsfdf2_ibm", | |
1281 | "*pool_entry", "pool_align", "pool_section_start", | |
1282 | "pool_section_end", "main_pool", "reload_base_31", "pool"): | |
1283 | Do not set op_type attribute to "NN" where already default. | |
dc316086 | 1284 | ("*extractqi", "*extracthi", "*zero_extendhisi2_31", |
b628bd8e | 1285 | "*zero_extendqisi2_31", "*zero_extendqihi2_31", |
dc316086 | 1286 | "fix_truncdfsi2_ibm", "floatsidf2_ibm"): |
b628bd8e UW |
1287 | Do not set atype attribute to "agen" where already default. |
1288 | ("*movmem_short", "*clrmem_short", "*cmpmem_short"): Don't set op_type. | |
1289 | ||
58368ea7 RS |
1290 | 2004-11-06 Richard Sandiford <rsandifo@redhat.com> |
1291 | ||
1292 | * config/mips/t-iris6 (tp-bit.c): Fix target filename. | |
1293 | ||
28e9a3f3 RS |
1294 | 2004-11-06 Richard Sandiford <rsandifo@redhat.com> |
1295 | ||
1296 | PR target/16830 | |
1297 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define the | |
1298 | R3000 and R4000 macros on IRIX. | |
1299 | ||
3c871f3f AS |
1300 | 2004-11-06 Andreas Schwab <schwab@suse.de> |
1301 | ||
1302 | PR target/16286 | |
1303 | * config/rs6000/altivec.h: Replace bool by __bool and pixel by | |
1304 | __pixel. | |
1305 | ||
5bd92c6d KH |
1306 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1307 | ||
1308 | * tree-ssa-copyrename.c (rename_ssa_copies): Make it static. | |
1309 | ||
29a74354 UW |
1310 | 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com> |
1311 | ||
1312 | * config/s390/2064.md ("z_int", "z_agen"): Ensure the condition | |
1313 | matches no insns already matched by other reservations. | |
1314 | * config/s390/2084.md ("x_int", "x_agen"): Ensure the condition | |
1315 | matches no insns already matched by other reservations. | |
1316 | ("x_ss"): Remove, replace by ... | |
1317 | ("x_cs"): ... this new reservation. Check type instead of op_type. | |
1318 | Update bypasses to use x_cs instead of x_ss. | |
1319 | ("x_nn"): Remove, replace by ... | |
1320 | ("x_other"): ... this new reservation. Check type instead of op_type. | |
1321 | Add x_other and x_branch to bypasses. | |
1322 | ("x_vs"): New reservation. | |
1323 | * config/s390/s390.md (attribute "type"): Default according to op_type. | |
1324 | ("*execute"): Set type to "cs". | |
1325 | ||
703201ea KH |
1326 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1327 | ||
1328 | * fold-const.c (non_lvalue): Don't construct NON_LVALUE_EXPR | |
1329 | if we are in GIMPLE. | |
1330 | ||
194acded HPN |
1331 | 2004-11-06 Hans-Peter Nilsson <hp@bitrange.com> |
1332 | ||
1333 | PR rtl-optimization/17933 | |
1334 | * rtlanal.c (dead_or_set_regno_p): Break out common code to... | |
1335 | (covers_regno_p): New function. Handle SETs of PARALLEL, | |
1336 | and defer the rest to... | |
1337 | (covers_regno_no_parallel_p): New function. | |
1338 | ||
bb05e341 EB |
1339 | 2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
1340 | ||
1341 | * config/sparc/sparc.c (function_arg_record_value_1): Skip | |
1342 | fields with zero length. | |
1343 | (function_arg_record_value_2): Likewise. | |
1344 | (function_arg_record_value_3): Use smallest_mode_for_size | |
1345 | instead of mode_for_size. | |
1346 | (function_arg_union_value): Return naked register for unions | |
1347 | with zero length. | |
1348 | ||
45261626 EB |
1349 | 2004-11-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
1350 | ||
1351 | * config/sparc/sparc.c (scan_record_type): Handle vector types. | |
1352 | (function_arg_slotno): Handle vector types specially. | |
1353 | (function_arg_record_value_1): Split fields with vector type and | |
1354 | BLKmode into their subparts. | |
1355 | (function_arg_record_value_2): Likewise. Be prepared to handle | |
1356 | more than 2 registers per field. | |
1357 | (function_arg_union_value): Increment regno inside the loop. | |
1358 | (function_arg_vector_value): New function. | |
1359 | (function_arg): Use it to split fields with vector type and | |
1360 | BLKmode into their subparts and build a PARALLEL. Treat | |
1361 | other vector types like floats. | |
1362 | (function_value): Likewise. | |
1363 | (sparc_pass_by_reference): Handle vector types. | |
1364 | (sparc_return_in_memory): Likewise. | |
1365 | ||
08d93024 KH |
1366 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1367 | ||
1368 | * tree-cfg.c (find_taken_edge_cond_expr): Remove an "if" | |
1369 | statement that never triggers. | |
1370 | ||
a036c6f7 UW |
1371 | 2004-11-06 Ulrich Weigand <uweigand@de.ibm.com> |
1372 | ||
1373 | * config/s390/2064.md ("z_o2", "z_o3"): Remove. | |
1374 | * config/s390/2084.md ("x_o2", "x_o3"): Remove. | |
1375 | ("x_fdivd"): Use also for fsqrtd type. | |
1376 | ("x_fdivs"): Use also for fsqrts type. | |
1377 | * config/s390/s390.md (attribute "type"): Remove "o2" and "o3" types. | |
1378 | ("fix_truncdfsi2_ieee"): Set type to "ftoi". | |
1379 | ("fix_truncdfsi2_ibm"): Set type to "other". | |
1380 | ("floatdidf2", "floatdisf2"): Do not clobber CC. | |
1381 | ("floatsidf2", "floatsidf2_ieee"): Likewise. | |
1382 | ("floatsisf2", "floatsisf2_ieee"): Likewise. | |
1383 | ("truncdfsf2", "truncdfsf2_ieee"): Only allow "register_operand". | |
1384 | ("truncdfsf2_ibm"): Only allow "nonimmediate_operand". Use LER | |
dc316086 | 1385 | instead of LRER. |
a036c6f7 UW |
1386 | ("extendsfdf2_ibm"): Do not set atype. Set type to "floads". |
1387 | ("sqrtdf2"): Set type to "fsqrtd". | |
1388 | ("sqrtsf2"): Set type to "fsqrts". | |
1389 | ||
b2c24c1b KH |
1390 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1391 | ||
1392 | * tree-phinodes.c (remove_all_phi_nodes_for): Speed up using a | |
1393 | pointer to the last PHI node in the new PHI chain. | |
1394 | ||
b741fa00 KK |
1395 | 2004-11-06 Kaz Kojima <kkojima@gcc.gnu.org> |
1396 | ||
1397 | * config/sh/sh.c (prepare_move_operands): Emit a use of r12 | |
1398 | for non-PIC TLS_MODEL_INITIAL_EXEC case. | |
1399 | ||
68daef2a KH |
1400 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1401 | ||
1402 | * expmed.c: Fix a comment typo. | |
1403 | ||
c37780f5 AL |
1404 | 2004-11-06 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
1405 | ||
1406 | PR target/18106 | |
1407 | * config/i386/cygming.h | |
1408 | [HAVE_GAS_WEAK] (ASM_WEAKEN_LABEL): Macro defined. | |
1409 | ||
f1f76fab KH |
1410 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1411 | ||
1412 | * config/sh/sh4a.md: Fix copyright. | |
1413 | ||
713e31f4 KH |
1414 | 2004-11-06 Kazu Hirata <kazu@cs.umass.edu> |
1415 | ||
1416 | * config/rs6000/darwin.md, config/sh/sh4a.md: Replace GNU CC | |
1417 | with GCC. | |
1418 | ||
c9dbf840 DE |
1419 | 2004-11-05 David Edelsohn <edelsohn@gnu.org> |
1420 | ||
1421 | * config/rs6000/rs6000.md (scc patterns): Replace subfc with subf | |
1422 | when carry not used. Suggested by Torbjorn Granlund. | |
1423 | ||
1424 | * config/rs6000/rs6000.c (rs6000_emit_move): Don't force_reg | |
1425 | operand[1] unnecessarily. Suggested by Eric Christopher. | |
1426 | (rs6000_adjust_cost): Increase latency of store to wider load. | |
1427 | (rs6000_rtx_costs): mulli only allows 16-bit constants. | |
1428 | ||
3d0e2d58 SS |
1429 | 2004-11-05 Stan Shebs <shebs@apple.com> |
1430 | ||
1431 | * config/rs6000/rs6000.c (machopic_output_stub): Output | |
1432 | ldu instead of lwzu for 64-bit stubs. | |
1433 | ||
9f7d06d6 RH |
1434 | 2004-11-05 Richard Henderson <rth@redhat.com> |
1435 | ||
1436 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Special case | |
1437 | size 2 with BWX. | |
1438 | (alpha_expand_unaligned_store): Likewise. | |
1439 | ||
abb73f90 RH |
1440 | 2004-11-05 Richard Henderson <rth@redhat.com> |
1441 | ||
1442 | * expmed.c (extract_force_align_mem_bit_field): New. | |
1443 | (extract_split_bit_field): Call it. | |
1444 | ||
f526a3c8 RH |
1445 | 2004-11-05 Richard Henderson <rth@redhat.com> |
1446 | ||
1447 | * ia64.md (UNSPEC_SHRP): New. | |
1448 | (dshift_count_operand): New. | |
1449 | (ashrti3, ashrti3_internal, lshrti3, lshrti3_internal, shrp): New. | |
1450 | * ia64.c (rtx_needs_barrier): Handle UNSPEC_SHRP. | |
1451 | ||
0a880880 JM |
1452 | 2004-11-05 Joseph S. Myers <joseph@codesourcery.com> |
1453 | ||
1454 | * c-typeck.c (output_init_element): Return early if value is | |
1455 | error_mark_node. | |
1456 | ||
83338d15 JW |
1457 | 2004-11-05 James E Wilson <wilson@specifixinc.com> |
1458 | ||
ddd8e3ca JW |
1459 | * invoke.texi (-fno-guess-branch-probability): Rewrite. |
1460 | ||
83338d15 JW |
1461 | * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC_GR_SPILL): Change |
1462 | 1 to UNSPEC_GR_SPILL. | |
1463 | ||
ffdda752 AK |
1464 | 2004-11-05 Andreas Krebbel <krebbel1@de.ibm.com> |
1465 | ||
1466 | * config/s390/s390.c (s390_fixed_condition_code_regs): New function. | |
1467 | (TARGET_FIXED_CONDITION_CODE_REGS): Macro defined. | |
1468 | ||
0cde4a2c NS |
1469 | 2004-11-05 Nathan Sidwell <nathan@codesourcery.com> |
1470 | ||
88c4f655 NS |
1471 | * bitmap.h (enum bitmap_bits): Remove. |
1472 | (bitmap_operation): Remove. | |
1473 | (bitmap_and, bitmap_and_into, bitmap_and_compl, | |
1474 | bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor, | |
1475 | bitmap_xor_into): Prototype. | |
1476 | * bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New. | |
1477 | (bitmap_operation): Remove. | |
1478 | (bitmap_and, bitmap_and_into, bitmap_and_compl, | |
1479 | bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor, | |
1480 | bitmap_xor_into): New. | |
1481 | (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust. | |
1482 | ||
0cde4a2c NS |
1483 | PR tree-optimization/18307 |
1484 | * tree-ssa-alias.c (merge_pointed_to_info): Protected against DEST | |
1485 | and ORIG being the same node. | |
1486 | ||
53c7ffe7 GK |
1487 | 2004-11-04 Geoffrey Keating <geoffk@apple.com> |
1488 | ||
1489 | * Makefile.in (distclean): Don't delete nonexistent fixinc/ directory. | |
1490 | (install-mkheaders): Install the version built for the | |
1491 | host, not for the build machine. | |
1492 | * configure.ac: Always run fixincludes. | |
1493 | (all_outputs): Remove mkheaders. | |
1494 | * configure: Regenerate. | |
1495 | * fixinc.in: Move to fixincludes/. | |
1496 | * mkfixinc.sh: Likewise. | |
1497 | * mkheaders.in: Likewise. | |
1498 | * README-fixinc: Likewise. | |
1499 | ||
ced327b7 RR |
1500 | 2004-11-05 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> |
1501 | ||
1502 | PR target/18263 | |
1503 | * config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the | |
1504 | equivalent on the A4. | |
1505 | ||
8a36672b JM |
1506 | 2004-11-05 Joseph S. Myers <joseph@codesourcery.com> |
1507 | ||
1508 | * doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi, | |
1509 | doc/cppopts.texi, doc/extend.texi, doc/fragments.texi, | |
1510 | doc/frontends.texi, doc/gcov.texi, doc/hostconfig.texi, | |
1511 | doc/implement-c.texi, doc/install.texi, doc/invoke.texi, | |
1512 | doc/libgcc.texi, doc/md.texi, doc/passes.texi, | |
1513 | doc/portability.texi, doc/rtl.texi, doc/sourcebuild.texi, | |
1514 | doc/standards.texi, doc/tm.texi, doc/tree-ssa.texi, | |
1515 | doc/trouble.texi: Correct end-of-sentence markup and markup of | |
1516 | "etc.", "e.g." and "i.e.". Use @code in various places where | |
1517 | appropriate. | |
1518 | ||
f0eb93a8 JM |
1519 | 2004-11-05 Joseph S. Myers <joseph@codesourcery.com> |
1520 | ||
1521 | * doc/c-tree.texi, doc/cfg.texi, doc/extend.texi, doc/gty.texi, | |
1522 | doc/install.texi, doc/invoke.texi, doc/md.texi, doc/passes.texi, | |
1523 | doc/rtl.texi, doc/tm.texi, doc/tree-ssa.texi: Remove trailing | |
1524 | whitespace. | |
1525 | ||
04fb56d5 MM |
1526 | 2004-11-04 Mark Mitchell <mark@codesourcery.com> |
1527 | ||
1528 | * config/arm/arm.c (arm_handle_notshared_attribute): New function. | |
1529 | * doc/extend.texi: Document "notshared" attribute. | |
dc316086 | 1530 | |
ce9b3d49 KH |
1531 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1532 | ||
1533 | * tree-phinodes.c (make_phi_node): Make it static. | |
1534 | * tree.h: Remove the prototypes for make_phi_node. | |
1535 | ||
bac6bfc5 KH |
1536 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1537 | ||
1538 | * stmt.c (expand_asm, expand_asm_operands): Make them static. | |
1539 | * tree.h: Remove the prototypes for expand_asm and | |
1540 | expand_asm_operands. | |
1541 | ||
73dcf3b5 KH |
1542 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1543 | ||
1544 | * passes.c (rest_of_compilation): Make it static. | |
1545 | * toplev.h: Remove the prototype for rest_of_compilation. | |
1546 | ||
f014fc47 KH |
1547 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1548 | ||
1549 | * jump.c (cleanup_barriers): Use delete_insn instead of | |
1550 | delete_barrier. | |
1551 | (delete_barrier): Remove. | |
1552 | * rtl.h: Remove the corresponding prototype. | |
1553 | ||
e0ce7708 KH |
1554 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1555 | ||
1556 | * expr.c (mostly_zero_p): Make it static. | |
1557 | * tree.h: Remove the prototype for mostly_zeros_p. | |
1558 | ||
9167e1c0 KH |
1559 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1560 | ||
1561 | * cfgrtl.c (force_nonfallthru_and_redirect): Make it static. | |
1562 | ||
54e62799 KH |
1563 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1564 | ||
1565 | * builtins.c (expand_builtin_return_addr, | |
1566 | expand_builtin_longjmp, expand_builtin_trap): Make them static. | |
1567 | * expr.h: Remove the prototypes for expand_builtin_longjmp and | |
1568 | expand_builtin_trap. | |
1569 | * tree.h: Remove the prototype for expand_builtin_return_addr. | |
1570 | ||
65f4323d KH |
1571 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1572 | ||
1573 | * tree-cfg.c (find_taken_edge): Reject VAL begin NULL. | |
1574 | * tree-ssa-ccp.c (visit_cond_stmt): Don't call find_taken_edge | |
1575 | with VAL being NULL. | |
1576 | ||
797c289c KH |
1577 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1578 | ||
1579 | * cfghooks.c (delete_basic_block): Remove code to truncate | |
1580 | edge vectors. | |
1581 | ||
db20bd62 AP |
1582 | 2004-11-04 Andrew Pinski <pinskia@physics.uc.edu> |
1583 | ||
dc316086 | 1584 | * flow.c (init_propagate_block_info): Change the type of i to |
db20bd62 AP |
1585 | unsigned. |
1586 | ||
106f5de5 UW |
1587 | 2004-11-04 Ulrich Weigand <uweigand@de.ibm.com> |
1588 | ||
1589 | PR tree-optimization/18184 | |
1590 | * c-typeck.c (comptypes): Do not treat pointers of different | |
1591 | modes or alias-all flags as equivalent. | |
1592 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): Likewise. | |
1593 | ||
da543234 JM |
1594 | 2004-11-04 Joseph S. Myers <joseph@codesourcery.com> |
1595 | ||
1596 | * doc/gty.texi, doc/makefile.texi, doc/sourcebuild.texi: Don't | |
1597 | reference specific C parser files in examples. | |
1598 | ||
4e5813dd RS |
1599 | 2004-11-04 Richard Sandiford <rsandifo@redhat.com> |
1600 | ||
1601 | PR target/15342 | |
1602 | * regrename.c (scan_rtx): Treat the destinations of SETs and CLOBBERs | |
1603 | as OP_INOUT if the instruction is predicated. | |
1604 | ||
d46aed51 KH |
1605 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1606 | ||
1607 | * bitmap.h: Fix a comment typo. Follow spelling conventions. | |
1608 | * tree-vectorizer.c: Fix a comment typo. | |
1609 | ||
37bf6443 KH |
1610 | 2004-11-04 Kazu Hirata <kazu@cs.umass.edu> |
1611 | ||
1612 | * sdbout.c (SDB_GENERATE_FAKE): Remove. | |
1613 | (gen_fake_label): Don't use SDB_GENERATE_FAKE. | |
1614 | * system.h: Poison SDB_GENERATE_FAKE. | |
1615 | * doc/tm.texi (SDB_GENERATE_FAKE): Remove. | |
1616 | ||
f0ad121f UW |
1617 | 2004-11-04 Ulrich Weigand <uweigand@de.ibm.com> |
1618 | ||
1619 | * config/s390/s390.md ("*addsi3_sign"): Use canonical RTL. | |
1620 | ||
ab3d1049 EB |
1621 | 2004-11-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
1622 | ||
1623 | PR other/18277 | |
1624 | * gthr-posix.h (__gthread_recursive_mutex_init_function): Revert | |
1625 | 2004-10-29 patch | |
1626 | ||
3cd8c58a NS |
1627 | 2004-11-04 Nathan Sidwell <nathan@codesourcery.com> |
1628 | ||
b9af0016 NS |
1629 | * predict.c (propagate_freq): Make bitno unsigned. Move |
1630 | npredecessors update out of loop. | |
1631 | ||
e90ea8cb NS |
1632 | * bitmap.h (bitmap_iterator): Remove word_bit and bit |
1633 | fields. Rename others. | |
1634 | (bmp_iter_common_next_1, bmp_iter_single_next_1, | |
1635 | bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next, | |
1636 | bmp_iter_and_not_next_1, bmp_iter_and_not_init, | |
1637 | bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init, | |
1638 | bmp_iter_and_next): Remove. | |
1639 | (bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init, | |
1640 | bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl): | |
1641 | New. | |
1642 | (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP, | |
1643 | EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust. | |
1644 | ||
67299d91 NS |
1645 | * bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove. |
1646 | * df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior, | |
1647 | bitmap_and_into, bitmap_ior_into as appropriate. | |
1648 | * except.c (remove_eh_handler): Likewise. | |
1649 | * global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise. | |
1650 | * tree-dfa.c (mark_new_vars_to_rename): Likewise. | |
1651 | * tree-ssa-alias.c (merge_pointed_to_info): Likewise. | |
1652 | * tree-ssa-live.h (live_merge_and_clear): Likewise. | |
1653 | * tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for): | |
1654 | Likewise. | |
1655 | ||
3cd8c58a NS |
1656 | * bitmap.c (bitmap_print): Make bitno unsigned. |
1657 | * bt-load.c (clear_btr_from_live_range, | |
1658 | btr_def_live_range): Likewise. | |
1659 | * caller-save.c (save_call_clobbered_regs): Likewise. | |
1660 | * cfganal.c (compute_dominance_frontiers_1): Likewise. | |
1661 | * cfgcleanup.c (thread_jump): Likewise. | |
1662 | * cfgrtl.c (safe_insert_insn_on_edge): Likewise. | |
1663 | * conflict.c (conflict_graph_compute): Likewise. | |
1664 | * ddg.c (add_deps_for_use): Likewise. | |
1665 | * df.c (df_refs_update): Likewise. | |
1666 | * except.c (remove_eh_handler): Likewise. | |
1667 | * flow.c (verify_local_live_at_start, update_life_info, | |
1668 | initialize_uninitialized_subregs, propagate_one_insn, | |
1669 | free_propagate_block_info, propagate_block, find_use_as_address, | |
1670 | reg_set_to_hard_reg_set): Likewise. | |
1671 | * gcse.c (clear_modify_mem_tables): Likewise. | |
1672 | * global.c (global_conflicts, build_insn_chain): Likewise. | |
1673 | * ifcvt.c (dead_or_predicable): Likewise. | |
1674 | * local-alloc.c (update_equiv_regs): Likewise. | |
1675 | * loop.c (load_mems): Likewise. | |
1676 | * ra-build.c (livethrough_conflicts_bb, conflicts_between_webs): | |
1677 | Likewise. | |
1678 | * ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill): | |
1679 | Likewise. | |
1680 | * reload1.c (order_regs_for_reload, finish_spills): Likewise. | |
1681 | * sched-deps.c (sched_analyze_insn, free_deps): Likewise. | |
1682 | * sched-rgn.c (propagate_deps | |
1683 | * tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise. | |
1684 | * tree-dfa.c (dump_dfa_stats | |
1685 | tree-into-ssa.c (compute_global_livein, insert_phi_nodes, | |
1686 | insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags): | |
1687 | Likewise. | |
1688 | * tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars, | |
1689 | free_temp_expr_table, find_replaceable_exprs): Likewise. | |
1690 | * tree-sra.c (scan_function, scalarize_parms): Likewise. | |
1691 | * tree-ssa-alias.c (init_alias_info, | |
1692 | compute_points_to_and_addr_escape, | |
1693 | compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise. | |
1694 | * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise. | |
1695 | * tree-ssa-live.c (new_tree_live_info, live_worklist, | |
1696 | calculate_live_on_entry, calculate_live_on_exit, compare_pairs, | |
1697 | sort_coalesce_list, build_tree_conflict_graph, dump_live_info | |
1698 | tree-ssa-loop-manip.c (add_exit_phis_var): Likewise. | |
1699 | tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops, | |
1700 | add_call_read_ops): Likewise. | |
1701 | * tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise. | |
1702 | * tree-ssa-live.h (num_var_partitions): Return unsigned. | |
1703 | ||
0dc0a70b DN |
1704 | 2004-11-03 Dorit Naishlos <dorit@il.ibm.com> |
1705 | ||
1706 | PR tree-optimization/18009 | |
1707 | * tree-vectorizer.h (enum dr_alignment_support): New type. | |
1708 | (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): Removed. | |
1709 | (LOOP_UNALIGNED_DR): replaced with LOOP_VINFO_UNALIGNED_DR and holds a | |
1710 | single data_reference (instead of a varray of references). | |
1711 | * tree-vectorizer.c (new_loop_vec_info): Likewise. | |
1712 | (vect_gen_niters_for_prolog_loop): Likewise. | |
1713 | (vect_update_inits_of_drs): Likewise. | |
1714 | ||
1715 | (vect_update_inits_of_drs): Setting of DR_MISALIGNMENT moved to | |
1716 | vect_enhance_data_refs_alignment. | |
1717 | (vect_do_peeling_for_alignment): Likewise. | |
1718 | (vect_enhance_data_refs_alignment): Decide if and by how much to peel; | |
1719 | this functionality used to be in vect_analyze_data_refs_alignment. | |
1720 | Also update DR_MISALIGNMENT due to peeling; this functionality used to | |
1721 | be in vect_update_inits_of_drs and vect_do_peeling_for_alignment). | |
1722 | (vect_analyze_data_refs_alignment): Decision on whether and by how much | |
dc316086 | 1723 | to peel moved to vect_enhance_data_refs_alignment. Call |
0dc0a70b DN |
1724 | vect_supportable_dr_alignment. |
1725 | ||
1726 | (vect_compute_data_ref_alignment): Set STMT_VINFO_VECTYPE. | |
1727 | (vect_compute_data_refs_alignment): Return bool. Consider return value | |
1728 | of vect_compute_data_ref_alignment and return true/false accordingly. | |
dc316086 | 1729 | (vect_enhance_data_refs_alignment): Consider return value of |
0dc0a70b DN |
1730 | vect_compute_data_refs_alignment and return true/false accordingly. |
1731 | ||
1732 | (vect_supportable_dr_alignment): New function. | |
1733 | (vectorizable_store): Call vect_supportable_dr_alignment. | |
1734 | (vectorizable_load): Call vect_supportable_dr_alignment. Alignment | |
1735 | support checks moved from here to vect_supportable_dr_alignment. | |
1736 | ||
1737 | (vect_transform_loop): Avoid 80 columns overflow. | |
1738 | ||
89106ed5 AP |
1739 | 2004-11-03 Andrew Pinski <pinskia@physics.uc.edu> |
1740 | ||
1741 | * timevar.c (timevar_enable): Change from | |
1742 | static. | |
1743 | (timevar_push): Rename to ... | |
1744 | (timevar_push_1): this and remove the | |
1745 | enabled check. | |
1746 | (timevar_pop): Rename to ... | |
1747 | (timevar_pop_1): this and remove the | |
1748 | enabled check. | |
1749 | * timevar.h (POP_TIMEVAR_AND_RETURN): Use do/while loops. | |
1750 | (timevar_pop): New macro. | |
1751 | (timevar_push): New macro. | |
1752 | (timevar_enable): Declare. | |
1753 | ||
b3367474 AP |
1754 | 2004-11-03 Andrew Pinski <pinskia@physics.uc.edu> |
1755 | ||
1756 | * config/darwin.h (REAL_LIBGCC_SPEC): Define to use shared | |
1757 | libgcc for shared libraries. | |
1758 | ||
c5aa1d12 UW |
1759 | 2004-11-03 Ulrich Weigand <uweigand@de.ibm.com> |
1760 | ||
1761 | * config/s390/s390-protos.h (s390_split_access_reg): Add prototype. | |
1762 | * config/s390/s390.c (s390_split_access_reg): New function. | |
1763 | (regclass_map): Add access registers. | |
1764 | (get_thread_pointer): Use access register instead of UNSPEC_TP. | |
1765 | * config/s390/s390.h (FIRST_PSEUDO_REGISTER): Set to 38. | |
1766 | (ACCESS_REGNO_P, ACCESS_REG_P): New macros. | |
1767 | (TP_REGNUM): New define. | |
1768 | (FIXED_REGISTERS, CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTERS, | |
1769 | REG_ALLOC_ORDER): Add access registers. | |
1770 | (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK, CLASS_MAX_NREGS, | |
1771 | CANNOT_CHANGE_MODE_CLASS): Support access registers. | |
1772 | (enum reg_class): Add ACCESS_REGS. | |
1773 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise. | |
1774 | (REG_CLASS_FROM_LETTER): Add 't' constraint. | |
1775 | (REGISTER_NAMES): Add access registers. | |
1776 | * config/s390/s390.md (UNSPEC_TP): Remove. | |
1777 | ("*movdi_64"): Add access register alternatives. Provide splitters | |
1778 | to split DImode access register <-> GPR moves into SImode moves. | |
1779 | ("*movsi_zarch", "*movsi_esa"): Add access register alternatives. | |
1780 | ("movstrictsi"): Likewise. | |
1781 | ("get_tp_64", "get_tp_31"): Reimplement using access registers. | |
1782 | ("set_tp_64", "set_tp_31"): Likewise. | |
1783 | ("*set_tp"): New insn. | |
1784 | ||
57f60923 KH |
1785 | 2004-11-03 Kazu Hirata <kazu@cs.umass.edu> |
1786 | ||
1787 | * tree-phinodes.c (resize_phi_node): Copy only a portion of | |
1788 | the PHI node currently in use. | |
1789 | ||
269b7526 AP |
1790 | 2004-11-03 Andrew Pinski <pinskia@physics.uc.edu> |
1791 | ||
1792 | PR tree-opt/18231 | |
1793 | * tree.c (staticp) <case FUNCTION_DECL>: Nested functions are static | |
1794 | also. | |
1795 | ||
b00e4c23 AM |
1796 | 2004-11-03 Andrew MacLeod <amacleod@redhat.com> |
1797 | ||
1798 | PR tree-optimization/18270 | |
1799 | * tree-outof-ssa.c (analyze_edges_for_bb): If a block has incoming | |
1800 | abnormal edges, commit all pending stmts on incoming edges. | |
1801 | ||
a85a9024 UW |
1802 | 2004-11-03 Ulrich Weigand <uweigand@de.ibm.com> |
1803 | ||
1804 | * tree-ssa-loop-ivopts.c (get_address_cost): Offset zero does not | |
1805 | cause extra costs. Generate canonical RTL. | |
1806 | ||
c4bda9f0 DB |
1807 | 2004-11-02 Daniel Berlin <dberlin@dberlin.org> |
1808 | ||
1809 | * lambda-code.c (lambda_compute_auxillary_space): Update comments. | |
1810 | (lambda_compute_target_space). Ditto. | |
1811 | * lambda.h (lambda_trans_matrix): Ditto. | |
1812 | (lambda_linear_expression): Ditto. | |
1813 | (lambda_body_vector): Ditto. | |
1814 | (lambda_loopnest): Ditto. | |
1815 | * tree-loop-linear.c (gather_interchange_stats): Combine tests, | |
1816 | update comments, and remove pointless addition of 0. | |
1817 | (linear_transform_loops): Update comments. | |
1818 | ||
308d5189 SP |
1819 | 2004-11-03 Sebastian Pop <pop@cri.ensmp.fr> |
1820 | ||
1821 | * tree.c (tree_fold_gcd): Use FLOOR_MOD_EXPR instead of | |
1822 | CEIL_MOD_EXPR. | |
1823 | ||
4cfa46c8 JL |
1824 | 2004-11-03 Jeff Law <law@redhat.com> |
1825 | ||
8a998e0c JL |
1826 | * predict.c (struct block_info_def): Kill "tovisit" field. |
1827 | (propagate_freq): Accept new "tovisit" parameter. Change | |
1828 | read/write access methods for "tovisit" to check the "tovisit" | |
1829 | bitmap instead of a bit in block_info_def. | |
1830 | (estimate_loops_at_level): Allocate "tovisit" bitmap. Pass | |
1831 | it to propagate_freq. | |
1832 | ||
4cfa46c8 JL |
1833 | * stmt.c (expand_case): Speed up code to detect duplicate case |
1834 | label targets and count unique case label targets. | |
1835 | ||
158aa13a KH |
1836 | 2004-11-03 Kazu Hirata <kazu@cs.umass.edu> |
1837 | ||
1838 | * cppdefault.c, cppdefault.h, timevar.h: Update copyright. | |
1839 | ||
4828a73e KH |
1840 | 2004-11-03 Kazu Hirata <kazu@cs.umass.edu> |
1841 | ||
1842 | * bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting. | |
1843 | ||
35920270 KH |
1844 | 2004-11-03 Kazu Hirata <kazu@cs.umass.edu> |
1845 | ||
1846 | * tree-cfg.c (find_taken_edge): Abort if we are given a | |
1847 | statement that is neither COND_EXPR nor SWITCH_EXPR. | |
1848 | ||
a63c0d13 ZD |
1849 | 2004-11-02 Zdenek Dvorak <dvorakz@suse.cz> |
1850 | ||
1851 | * fold-const.c (fold): Reassociate also (x - mult) + mult and | |
1852 | (mult - x) + mult. Cast operands of expression after applying | |
1853 | distributive law to the correct types. Apply distributive law | |
1854 | to a * c - b * c for all non-float types. | |
1855 | ||
de253ca4 GK |
1856 | 2004-11-02 Geoffrey Keating <geoffk@apple.com> |
1857 | ||
1858 | * configure.ac: Don't clear STMP_FIXINC or STMP_FIXPROTO just | |
1859 | because we don't want to run them now; instead, set them to | |
1860 | stmp-install-fixproto or stmp-install-fixinc. | |
1861 | * Makefile.in (stmp-install-fixproto): New. | |
1862 | (stmp-install-fixinc): New. | |
1863 | * configure: Regenerate. | |
1864 | ||
f7569f3a NS |
1865 | 2004-11-02 Nathan Sidwell <nathan@codesourcery.com> |
1866 | ||
1867 | * flow.c (init_propagate_block_info): Use bitmap_empty_p on result | |
1868 | of bitmap_xor. | |
1869 | ||
65958285 ZL |
1870 | 2004-11-02 Ziemowit Laski <zlaski@apple.com> |
1871 | ||
1872 | * c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove. | |
1873 | (c_types_compatible_p): Move function definition... | |
1874 | * c-objc-common.c (c_types_compatible_p): ...here. | |
1875 | * c-objc-common.h (LANG_HOOKS_TYPES_COMPATIBLE_P): Moved here from | |
1876 | c-lang.c. | |
1877 | ||
75473b02 SB |
1878 | 2004-11-02 Steven Bosscher <stevenb@suse.de> |
1879 | ||
1880 | * cfgloop.h (struct loop): Update comment. | |
1881 | * cse.c (cse_main): Remove obsolete comment. | |
1882 | ||
1883 | * expr.h (gen_cond_trap): Move prototype under functions provided | |
1884 | by optabs.c. | |
1885 | (canonicalize_condition, get_condition): Move to... | |
1886 | * rtl.h (canonicalize_condition, get_condition): ...here. | |
1887 | (branch_target_load_optimize): Add comment that this function is | |
1888 | in bt-load.c. | |
1889 | * loop.c (canonicalize_condition, get_condition): Move to... | |
1890 | * rtlanal.c (canonicalize_condition, get_condition): ...here. | |
1891 | * sched-deps.c (get_condition): Rename to sched_get_condition. | |
1892 | (add_dependence): Update this caller. | |
dc316086 | 1893 | |
da1f8963 AP |
1894 | 2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> |
1895 | ||
1896 | PR tree-opt/16808 | |
1897 | * tree-ssa.c (replace_immediate_uses): If we call fold_stmt, make sure | |
1898 | that the vops get marked for renaming. | |
1899 | ||
8dd3b235 AK |
1900 | 2004-11-02 Andreas Krebbel <krebbel1@de.ibm.com> |
1901 | ||
1902 | * config/s390/s390.md ("movcc"): Set type attribute. | |
1903 | ||
bc2dce32 KH |
1904 | 2004-11-02 Kazu Hirata <kazu@cs.umass.edu> |
1905 | ||
1906 | * tree-phinodes.c (add_phi_arg): Add an assertion that the | |
1907 | edge already exists. | |
1908 | ||
54699c02 KH |
1909 | 2004-11-02 Kazu Hirata <kazu@cs.umass.edu> |
1910 | ||
1911 | * tree-phinodes.c (remove_phi_arg_num): Do not zero the | |
1912 | element that's being removed. | |
1913 | ||
641e7348 KH |
1914 | 2004-11-02 Kazu Hirata <kazu@cs.umass.edu> |
1915 | ||
1916 | * tree-ssa-threadupdate.c (copy_phis_to_block): Install PHI | |
1917 | arguments using PENDING_STMT. | |
1918 | (thread_block): Call copy_phis_to_block after redirecting an | |
1919 | edge. | |
1920 | ||
55994078 NS |
1921 | 2004-11-02 Nathan Sidwell <nathan@codesourcery.com> |
1922 | ||
7ef7b345 NS |
1923 | * bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl, |
1924 | bitmap_and_compl_into, bitmap_ior, bitmap_iot_into, | |
1925 | bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void. | |
1926 | (bitmap_ior_and_compl_into): Produce bool. | |
1927 | (bitmap_union_of_diff): Rename to ... | |
1928 | (bitmap_ior_and_compl): ... here. Produce bool. | |
1929 | * bitmap.c (bitmap_ior_and_compl_into): Return bool. Use | |
1930 | bitmap_operation directly. | |
1931 | (bitmap_union_of_diff): Rename to ... | |
1932 | (bitmap_ior_and_compl): ... here. Return bool, use | |
1933 | bitmap_operation directly. | |
1934 | * df.c (df_rd_transfer_function): Use bitmap_ior_and_compl. | |
1935 | (df_ru_transfer_function, df_lr_transfer_function): Likewise. | |
1936 | * global.c (modify_bb_reg_pav): Likewise. | |
1937 | ||
55994078 NS |
1938 | * bitmap.h (bitmap_equal_p): Return bool. |
1939 | (bitmap_intersect_p, bitmap_intersect_compl_p): Declare. | |
1940 | * bitmap.c (bitmap_equal_p): Return bool. Compare directly. | |
1941 | (bitmap_intersect_p, bitmap_intersect_compl_p): New. | |
1942 | * flow.c (calculate_global_regs_live): Use bitmap_intersect_p and | |
1943 | bitmap_intersect_compl_p. | |
1944 | * ifcvt (dead_or_predicable): Likewise. | |
1945 | ||
f6219a5e NS |
1946 | 2004-11-02 Nathan Sidwell <nathan@codesourcery.com> |
1947 | ||
1948 | PR rtl-optimization/17104 | |
1949 | * config/rs6000/rs6000.c (rs6000_emit_move): Don't wrap small | |
1950 | loads in zero_extend. | |
1951 | ||
8f49f0f1 DS |
1952 | 2004-11-02 Danny Smith <dannysmith@users.sourceforge.net> |
1953 | ||
1954 | PR debug/18242 | |
1955 | * toplev.c (debug_type_names): Remove "dwarf-1". | |
1956 | ||
0537bf15 BE |
1957 | 2004-11-02 Ben Elliston <bje@au.ibm.com> |
1958 | ||
dc316086 | 1959 | * timevar.h (timevar_get): Remove. |
0537bf15 BE |
1960 | * timevar.c (timevar_get): Remove unused function. |
1961 | ||
708b3421 JM |
1962 | 2004-11-02 Joseph S. Myers <joseph@codesourcery.com> |
1963 | ||
1964 | * doc/include/texinfo.tex: Update from Texinfo CVS. | |
1965 | ||
91e3536a BE |
1966 | 2004-11-02 Ben Elliston <bje@au.ibm.com> |
1967 | ||
1968 | * cppdefault.h (cpp_SYSROOT): Remove. | |
1969 | * cppdefault.c (cpp_SYSROOT): Likewise. | |
1970 | ||
edfaf675 AM |
1971 | 2004-11-01 Andrew MacLeod <amacleod@redhat.com> |
1972 | ||
1973 | PR tree-optimization/16447 | |
dc316086 | 1974 | * tree-cfg.c (bsi_commit_one_edge_insert): Rename from |
edfaf675 AM |
1975 | bsi_commit_edge_inserts_1, and make funtion external. Return new block. |
1976 | (bsi_commit_edge_inserts): Use renamed bsi_commit_one_edge_insert. | |
1977 | * tree-optimize.c (pass_cleanup_cfg_post_optimizing): Enable listing. | |
1978 | * tree-flow.h (bsi_commit_one_edge_insert): Extern decl. | |
1979 | * tree-outof-ssa.c (rewrite_trees): Don't commit edges here. | |
1980 | (same_stmt_list_p): New. Return TRUE if edge is to be forwarded. | |
1981 | (identical_copies_p): New. Return true is two copies are the same. | |
1982 | (identical_stmt_lists_p): New. Return true if stmt lists are the same. | |
dc316086 | 1983 | (analyze_edges_for_bb): New. Determine how best to insert edge stmts |
edfaf675 AM |
1984 | for a basic block. |
1985 | (perform_edge_inserts): New. Determine what to do with all stmts that | |
1986 | have been inserted on edges. | |
1987 | (remove_ssa_form): Analyze and commit edges from here. | |
1988 | ||
f759c75e AP |
1989 | 2004-11-01 Andrew Pinski <pinskia@physics.uc.edu> |
1990 | ||
1991 | PR bootstrap/18232 | |
1992 | * bitmap.h (bmp_iter_end_p): Take a const pointer instead of a struct. | |
1993 | (EXECUTE_IF_SET_IN_BITMAP): Update call to bmp_iter_end_p. | |
1994 | (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. | |
1995 | (EXECUTE_IF_AND_IN_BITMAP): Likewise. | |
1996 | ||
ee060229 JM |
1997 | 2004-11-01 Joseph S. Myers <joseph@codesourcery.com> |
1998 | ||
1999 | PR c/18239 | |
2000 | * c-decl.c (get_parm_info): Allow FUNCTION_DECLs to appear amongst | |
2001 | parameter declarations. | |
2002 | ||
9dc62c00 AK |
2003 | 2004-11-01 Andreas Krebbel <krebbel1@de.ibm.com> |
2004 | ||
2005 | * config/s390/s390.c (regclass_map): Put reg 33 (cc) to CC_REGS group. | |
2006 | (s390_secondary_input_reload_class) | |
2007 | (s390_secondary_output_reload_class): Use GENERAL_REGS to reload a cc | |
2008 | register. | |
2009 | (s390_expand_cmpmem): Enable cmpmem implementation. | |
2010 | * config/s390/s390.h (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): | |
2011 | Added three new classes: CC_REGS, ADDR_CC_REGS, GENERAL_CC_REGS. | |
2012 | (REG_CLASS_FROM_LETTER): New constraint 'c' added. | |
2013 | * config/s390/s390.md ("movcc"): New insn pattern. | |
2014 | * doc/md.texi: Document 'c' constraint for s390. | |
2015 | ||
ae209f28 NS |
2016 | 2004-11-01 Nathan Sidwell <nathan@codesourcery.com> |
2017 | ||
2018 | PR c++/18064 | |
2019 | * doc/extend.texi (Deprecated Features): Deprecate G++ covariant | |
2020 | extension. | |
2021 | ||
464f49d8 DB |
2022 | 2004-10-16 Daniel Berlin <dberlin@dberlin.org> |
2023 | ||
2024 | Fix PR tree-optimization/17672 | |
2025 | Fix PR tree-optimization/18168 | |
dc316086 | 2026 | |
464f49d8 DB |
2027 | * lambda-code.c (lambda_lattice_compute_base): Fix reversed |
2028 | assert test. | |
2029 | (gcc_tree_to_linear_expression): Add extra to existing constant. | |
2030 | (depth_of_nest): Factor out function used in various places. | |
2031 | (gcc_loop_to_lambda_loop): Clean up code a little bit. No | |
2032 | functional changes. | |
2033 | (find_induction_var_from_exit_cond): Stop guessing, and just | |
2034 | get the right answer :). | |
2035 | (gcc_loopnest_to_lambda_loopnest): Remove useless pre-allocation. | |
2036 | Print out message about result of attempt to create perfect nest. | |
2037 | (lbv_to_gcc_expression): Add type argument, use it to do math | |
2038 | and induction variable creation. | |
2039 | (lle_to_gcc_expression): Ditto. | |
2040 | (lambda_loopnest_to_gcc_loopnest): Create new iv with same type as | |
dc316086 | 2041 | oldiv. Pass type argument to lle_to_gcc_expression and |
464f49d8 DB |
2042 | lbv_to_gcc_expression. |
2043 | Reset number of iterations after transformation. | |
2044 | (perfect_nestify): Remove useless pre-allocation, and cleanup | |
2045 | a small amount. | |
2046 | ||
2047 | * tree-data-ref.c (build_classic_dist_vector): Return false for | |
2048 | dependences completely outside of the loop nest we asked about. | |
2049 | (build_classic_dir_vector): Ditto. | |
2050 | (compute_data_dependences_for_loop): Only add dependence relations | |
2051 | inside the loop we asked about. | |
dc316086 | 2052 | |
464f49d8 DB |
2053 | * tree-loop-linear.c (linear_transform_loops): Use DDR_SIZE_VECT. |
2054 | Compute immediate uses. | |
dc316086 | 2055 | |
464f49d8 | 2056 | * tree-optimize.c: Move linear_transform_loops to before ivcanon. |
dc316086 | 2057 | |
0eb9f5bc KH |
2058 | 2004-11-01 Kazu Hirata <kazu@cs.umass.edu> |
2059 | ||
2060 | * tree-cfg.c (thread_jumps): Fix a comment typo. | |
2061 | ||
cf566f7f KH |
2062 | 2004-11-01 Kazu Hirata <kazu@cs.umass.edu> |
2063 | ||
2064 | * tree-cfg.c (thread_jumps): Fix a comment typo. | |
2065 | ||
3188a512 NP |
2066 | 2004-10-31 Nicolas Pitre <nico@cam.org> |
2067 | ||
2068 | * config/arm/ieee754-sf.S (floatdisf): Fix regression with | |
2069 | values smaller than 2^32. | |
2070 | ||
ccbdbf0a JL |
2071 | 2004-10-31 Jeff Law <law@redhat.com> |
2072 | ||
2073 | * cfgloop.h (struct loop): Remove unused "nodes" field. | |
2074 | * timevar.def (TV_TREE_LOOP_BOUNDS): New. | |
2075 | * tree-data-ref.c (find_data_references_in_loop): Use get_loop_body | |
2076 | instead of calling flow_bb_inside_loop_p for every basic block | |
2077 | in the function. | |
2078 | * tree-ssa-loop.c (pass_record_bounds): Use TV_TREE_LOOP_BOUNDS. | |
2079 | ||
35936b93 GS |
2080 | 2004-10-31 Graham Stott <graham.stott@btinternet.com> |
2081 | ||
2082 | * config/pa/pa.md: (prefetch_64, prefetch_32): Fix typo. Use | |
2083 | INT_5_BITS instead of VAL_5_BITS_P. | |
2084 | ||
7a6336aa RS |
2085 | 2004-10-31 Roger Sayle <roger@eyesopen.com> |
2086 | ||
2087 | PR middle-end/14521 | |
2088 | * tree-inline.c (inline_forbidden_p_1): Use %qF instead of '%F' | |
2089 | for consistent quoting in diagnostic messages. | |
2090 | (expand_call_inline): Likewise. | |
2091 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
2092 | * tree-ssa.c (warn_uninitialized_var): Likewise. | |
2093 | (warn_uninitialized_phi): Likewise. | |
2094 | ||
29b4addf RS |
2095 | 2004-10-31 Richard Sandiford <rsandifo@redhat.com> |
2096 | ||
2097 | * config/mips/mips.c (mips_cannot_change_mode_class): Use a stricter | |
2098 | mode check. | |
2099 | ||
3292fb42 KH |
2100 | 2004-10-31 Kazu Hirata <kazu@cs.umass.edu> |
2101 | ||
2102 | * c-common.c: Fix a comment typo. | |
2103 | ||
49382b6c JM |
2104 | 2004-10-31 Jason Merrill <jason@redhat.com> |
2105 | ||
2106 | PR middle-end/17526 | |
2107 | * tree-gimple.c (is_gimple_mem_rhs): Also require a val for | |
2108 | aggregate types that are not BLKmode. | |
2109 | ||
16b34ad6 ZL |
2110 | 2004-10-30 Ziemowit Laski <zlaski@apple.com> |
2111 | ||
2112 | * c-common.h (objc_lookup_ivar): Add second parameter to | |
2113 | prototype. | |
2114 | * c-typeck.c (build_external_ref): After looking up symbol, | |
2115 | pass it to objc_lookup_ivar() to decide whether it or the | |
2116 | ivar should be used, rather than deciding the issue locally. | |
2117 | * stub-objc.c (objc_lookup_ivar): Add an OTHER parameter, | |
2118 | which is simply returned in the non-ObjC case. | |
2119 | ||
7fe63418 DS |
2120 | 2004-10-30 Danny Smith <dannysmith@users.sourceforge.net> |
2121 | ||
2122 | * sdbout.c (sdbout_symbol): Do not output type .def statements | |
2123 | for builtin types. | |
2124 | ||
0a3ee0fd GDR |
2125 | 2004-10-30 Gabriel Dos Reis <gdr@integrable-solutions.net> |
2126 | ||
2127 | * c-common.c (catenate_strings): New. | |
2128 | (c_parse_error): Use it. Don't over-escape. | |
2129 | ||
0ef2c525 KK |
2130 | 2004-10-30 Kaz Kojima <kkojima@gcc.gnu.org> |
2131 | ||
2132 | * config/sh/sh.c (calc_live_regs): Declare reg as unsigned and | |
2133 | modify the for loop expressions for it. Remove unnecessary casts. | |
2134 | (sh_expand_prologue): Declare reg as unsigned. | |
2135 | (sh_gimplify_va_arg_expr): Initinalize lab_over. | |
2136 | (sh_handle_sp_switch_attribute): Add const qualifier appropriately. | |
2137 | ||
46bfe5e3 GK |
2138 | 2004-10-30 Geoffrey Keating <geoffk@apple.com> |
2139 | ||
2140 | * doc/invoke.texi (Darwin Options): Improve description of | |
2141 | how the subtype is chosen. | |
2142 | ||
61168ff1 RS |
2143 | 2004-10-30 Roger Sayle <roger@eyesopen.com> |
2144 | ||
2145 | PR middle-end/18096 | |
2146 | * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Check that | |
2147 | the stack adjustment, "size", is valid for Pmode. If the stack | |
2148 | frame is too large, generate a trap insn and issue a warning. | |
2149 | ||
cbb1cada KH |
2150 | 2004-10-30 Kazu Hirata <kazu@cs.umass.edu> |
2151 | ||
2152 | * tree-ssa-dom.c: Fix comment typos. | |
2153 | ||
e57a6d42 KK |
2154 | 2004-10-30 Kaz Kojima <kkojima@gcc.gnu.org> |
2155 | ||
2156 | * config/sh/sh.c (prepare_move_operands): Use operands[0] | |
2157 | for the output rtl if no_new_pseudos is set. Remove redundant | |
2158 | line. | |
2159 | ||
46097c76 JM |
2160 | 2004-10-30 Joseph S. Myers <joseph@codesourcery.com> |
2161 | ||
2162 | PR c/16666 | |
2163 | * c-decl.c (start_function): Don't check for DECL_BUILT_IN when | |
2164 | determining whether to copy parameter types from a previous | |
2165 | prototype declaration. | |
2166 | ||
5976e643 RS |
2167 | 2004-10-29 Roger Sayle <roger@eyesopen.com> |
2168 | ||
2169 | PR rtl-optimization/17581 | |
2170 | * cselib.c (cselib_process_insn): The last instruction of a libcall | |
2171 | block, with the REG_RETVAL note, should be considered in the libcall. | |
2172 | * gcse.c (do_local_cprop): Allow constants to be propagated outside | |
2173 | of libcall blocks. | |
2174 | (adjust_libcall_notes): Use simplify_replace_rtx instead of | |
2175 | replace_rtx to avoid creating invalid RTL in REG_RETVAL notes. | |
2176 | ||
9b1bfcc0 KH |
2177 | 2004-10-30 Kazu Hirata <kazu@cs.umass.edu> |
2178 | ||
2179 | * tree-phinodes.c (create_phi_node): Don't zero PHI_REWRITTEN. | |
2180 | ||
efea75f9 JL |
2181 | 2004-10-29 Jeff Law <law@redhat.com> |
2182 | ||
2183 | * tree-ssa-dom.c (struct edge_info): New structure holding | |
2184 | edge equivalences and edge redirection information. | |
2185 | (get_eq_expr_value, record_dominating_conditions): Kill. | |
2186 | (propagate_to_outgoing_edges): Renamed from cprop_into_phis. | |
2187 | Call record_edge_info. | |
2188 | (allocate_edge_info, free_edge_info): New. | |
2189 | (tree_ssa_dominator_optimize): Use propagate_to_outgoing_edges | |
2190 | rather than cprop_into_phis. Free all edge infos before threading | |
2191 | jumps. | |
2192 | (thread_across_edge): Allocate new edge info structures as needed | |
2193 | and store the redirection target into the edge info structure | |
2194 | instead of the edge's AUX field. | |
2195 | (dom_opt_initialize_block): Mark unused argument with ATTRIBUTE_UNUSED. | |
2196 | (record_equivalence_from_incoming_edge): Lose unnecessary argument. | |
2197 | Revamp code which finds and records equivalences associated with | |
2198 | edges to use saved data in the edge_info structure. | |
2199 | (record_equivalencs_from_phis): Similarly. | |
2200 | (dom_opt_finalize_block): Revamp code which finds and records | |
2201 | equivalences associated with edges to use saved data in the | |
2202 | edge_info structure. | |
2203 | (build_and_record_new_cond): New function. | |
2204 | (record_conditions): Use build_and_record_new_cond to record | |
2205 | dominating conditions. | |
2206 | (record_edge_info): New function. | |
2207 | (record_range): Tighten test for conditions which create | |
2208 | useful range records. | |
2209 | ||
cc92f54f GK |
2210 | 2004-10-29 Geoffrey Keating <geoffk@apple.com> |
2211 | ||
965a7e90 GK |
2212 | * config/i386/darwin.h (ASM_SPEC): Simplify. |
2213 | (SUBTARGET_EXTRA_SPECS): Add darwin_subarch spec. | |
2214 | * config/rs6000/darwin.h (DARWIN_SUBARCH_SPEC): New. | |
2215 | (SUBTARGET_EXTRA_SPECS): Add darwin_subarch spec. | |
2216 | * config/darwin.h (LINK_COMMAND_SPEC): Don't pass -arch here. | |
2217 | (LINK_SPEC): Do pass -arch here. Handle -force_cpusubtype_ALL | |
2218 | in all cases. Pass the right -arch or -arch_only based on -mcpu. | |
2219 | (ASM_SPEC): Handle -force_cpusubtype_ALL. | |
2220 | * doc/invoke.texi (Darwin Options): Improve documentation for | |
2221 | Darwin linker (and libtool) switches. | |
2222 | ||
cc92f54f GK |
2223 | * config/rs6000/darwin-fallback.c: Include <mach/thread_status.h>. |
2224 | ||
5fd5ec31 SS |
2225 | 2004-10-29 Stan Shebs <shebs@apple.com> |
2226 | ||
2227 | * config/rs6000/darwin-tramp.asm: Make more 64-bit-friendly. | |
2228 | ||
8c3babed KH |
2229 | 2004-10-29 Kazu Hirata <kazu@cs.umass.edu> |
2230 | ||
2231 | * tree-phinodes.c (allocate_phi_node): New. | |
2232 | (make_phi_node, resize_phi_node): Use it. | |
2233 | ||
bd004fef DE |
2234 | 2004-10-29 David Edelsohn <edelsohn@gnu.org> |
2235 | ||
2236 | * config/rs6000/sysv4.h (TARGET_POWER): Define as 0. | |
2237 | * config/rs6000/darwin.h (TARGET_POWER): Define as 0. | |
2238 | ||
c24a4dcf KH |
2239 | 2004-10-29 Kazu Hirata <kazu@cs.umass.edu> |
2240 | ||
2241 | * tree-phinodes.c (make_phi_node, resize_phi_node): Don't zero | |
2242 | the whole PHI node. | |
2243 | * tree.h (tree_phi_node): Tell the garbage collector to chase | |
2244 | num_args arguments. | |
2245 | ||
fe94b653 RE |
2246 | 2004-10-29 Richard Earnshaw <rearnsha@arm.com> |
2247 | ||
2248 | * opts.c (decode_options): Lower the crossjump threshold for -Os. | |
2249 | ||
0be058dd DN |
2250 | 2004-10-29 Diego Novillo <dnovillo@redhat.com> |
2251 | ||
2252 | * tree.h (struct tree_ssa_name): Remove field 'equiv'. | |
2253 | ||
eb59b8de NS |
2254 | 2004-10-28 Nathan Sidwell <nathan@codesourcery.com> |
2255 | ||
2256 | * bitmap.h (bitmap_empty_p): New. | |
2257 | (bitmap_and, bitmap_and_into, bitmap_and_compl, | |
2258 | bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, | |
2259 | bitmap_ior_compl, bitmap_xor, bitmap_xor_into): New bitmap | |
2260 | operation macros. | |
2261 | (bitmap_ior_and_compl): Rename to ... | |
2262 | (bitmap_ior_and_compl_into): ... here. | |
2263 | * bitmap.c (bitmap_equal_p): Use bitmap_xor. | |
2264 | (bitmap_ior_and_compl): Rename to ... | |
2265 | (bitmap_ior_and_compl_into): ... here. Adjust. Return changed | |
2266 | flag. | |
2267 | (bitmap_union_of_diff): Use renamed bitmap functions. | |
2268 | * basic-block.h (AND_REG_SET, AND_COMPL_REG_SET, IOR_REG_SET, | |
2269 | XOR_REG_SET, IOR_AND_COMPL_REG_SET): Likewise. | |
2270 | * cfgrtl.c (safe_insert_insn_on_edge): Likewise. | |
2271 | * df.c (df_bb_rd_local_compute) | |
2272 | * flow.c (calculate_global_regs_live, | |
2273 | init_propagate_block_info): Likewise. | |
2274 | * ifcvt.c (find_if_case_1, find_if_case_2, | |
2275 | dead_or_predicable): Likewise. | |
2276 | * ra-build.c (union_web_part_roots, livethrough_conflicts_bb, | |
2277 | reset_conflicts, conflicts_between_webs): Likewise. | |
2278 | * ra-rewrite.c (reloads_to_loads, rewrite_program2, | |
2279 | detect_web_parts_to_rebuild): Likewise. | |
2280 | * sched-ebb.c (compute_jump_reg_dependencies): Likewise. | |
2281 | * tree-int-ssa.c (insert_phi_nodes_for, rewrite_into_ssa): Likewise. | |
2282 | * tree-sra.c (decide_instantiations): Likewise. | |
2283 | * tree-ssa-alias.c (create_name_tags, | |
2284 | merge_pointed_to_info): Likewise. | |
2285 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise. | |
2286 | * tree-ssa-loop-im.c (move_computations): Likewise. | |
2287 | * tree-ssa-operands.c (get_call_expr_operands): Likewise. | |
2288 | * tree-ssa-pre.c (fini_pre): Likewise. | |
2289 | * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise. | |
2290 | * tree-ssanames.c (any_marked_for_rewrite_p): Likewise. | |
2291 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
2292 | ||
07c05acd NC |
2293 | 2004-10-29 Nick Clifton <nickc@redhat.com> |
2294 | ||
2295 | config/mn10300/mn10300.h (CONDITIONAL_REGISTER_USAGE): When | |
2296 | adding the PIC register to the fixed_regs array, also add it | |
dc316086 | 2297 | to the call_used_regs array. |
07c05acd | 2298 | |
e95dc99b EB |
2299 | 2004-10-29 Eric Botcazou <ebotcazou@libertysurf.fr> |
2300 | ||
2301 | * gthr-posix.h (__gthread_recursive_mutex_init_function): Guard | |
2302 | with #ifdef PTHREAD_MUTEX_RECURSIVE/#endif pairs. | |
2303 | ||
8618ff53 DB |
2304 | 2004-10-28 Daniel Berlin <dberlin@dberlin.org> |
2305 | ||
2306 | * tree-into-ssa.c (rewrite_virtual_phi_arguments): New function. | |
2307 | (rewrite_blocks): Modify argument, and use it to decide which | |
2308 | function to call. | |
2309 | (rewrite_def_def_chains): Call rewrite_blocks with true here. | |
2310 | (rewrite_into_ssa): and call it with false here. | |
dc316086 | 2311 | |
0f84c36e KH |
2312 | 2004-10-29 Kazu Hirata <kazu@cs.umass.edu> |
2313 | ||
2314 | * tree-phinodes.c (add_phi_arg): Turn an "if" that always | |
2315 | triggers into gcc_assert. | |
2316 | ||
de66168d DN |
2317 | 2004-10-28 Diego Novillo <dnovillo@redhat.com> |
2318 | ||
2319 | PR tree-optimization/16728 | |
2320 | * tree-flow.h (get_ptr_info): Declare. | |
2321 | * tree-ssa-alias.c (get_ptr_info): Make extern. | |
2322 | * tree-ssa-copy.c (merge_alias_info): Merge flow-sensitive | |
2323 | alias information. | |
2324 | ||
55dbfb48 SS |
2325 | 2004-10-28 Stan Shebs <shebs@apple.com> |
2326 | ||
2327 | * config/rs6000/darwin.h (SUBTARGET_EXTRA_SPECS): Handle -m64. | |
2328 | * config/rs6000/rs6000.c (rs6000_darwin_file_start): Add ppc64 | |
2329 | case. | |
2330 | ||
7ec02c04 FCE |
2331 | 2004-10-28 Frank Ch. Eigler <fche@redhat.com> |
2332 | ||
2333 | * tree-mudflap.c (mudflap_init): Mark cache-lookup decls to | |
2334 | prevent their later unnecessary registration. | |
2335 | (mf_build_check_statement_for): Remove "addr" argument, and | |
2336 | related "__mf_value" generated code. Update callers. | |
2337 | (mf_decl_eligible_p): New function, factored from mx_register_decls. | |
2338 | (mx_register_decls): Call it. | |
2339 | (mf_xform_derefs_1): Rewrite COMPONENT_REF and ARRAY_REF cases | |
2340 | to restore support for complex nested expressions. | |
2341 | (mudflap_enqueue_decl): Simplify. Move registration call emission | |
2342 | out ... | |
2343 | (mudflap_finish_file): ... to here. | |
2344 | (mudflap_enqueue_constant): Remove dump code. | |
2345 | ||
40aea05c ZW |
2346 | 2004-10-28 Zack Weinberg <zack@codesourcery.com> |
2347 | ||
859ee18f ZW |
2348 | PR 18199 |
2349 | * dbxout.c (dbxout_begin_complex_stabs_noforcetext): New function. | |
2350 | (DBX_FINISH_STABS): Add (unused by default) SYM parameter. | |
2351 | (dbxout_finish_complex_stabs): Update to match. | |
2352 | (dbxout_symbol_location): Call emit_pending_bincls_if_required | |
2353 | and FORCE_TEXT before DBX_STATIC_BLOCK_START. Use | |
2354 | dbxout_begin_complex_stabs_noforcetext. | |
2355 | * xcoffout.h (DBX_FINISH_STABS): Restore special case for | |
2356 | N_GSYM, using new SYM parameter. Correct logic for special | |
2357 | cases for N_FUN. | |
2358 | ||
40aea05c ZW |
2359 | * varasm.c (function_section): If DECL is NULL_TREE, don't try |
2360 | to do anything else. Do not call get_insns if cfun or | |
2361 | cfun->emit are NULL. | |
2362 | ||
0039fa55 AN |
2363 | 2004-10-28 Adam Nemet <anemet@lnxw.com> |
2364 | ||
40aea05c | 2365 | PR middle-end/18160 |
0039fa55 AN |
2366 | * c-typeck.c (c_mark_addressable): Issue error if address of a |
2367 | register variable is taken. Use "%qD" to print DECL_NAME. | |
2368 | ||
85a59cea DN |
2369 | 2004-10-28 Diego Novillo <dnovillo@redhat.com> |
2370 | ||
2371 | * opts.c (decode_options): Don't run PRE at -Os. | |
2372 | ||
283dd633 RH |
2373 | 2004-10-28 Richard Henderson <rth@redhat.com> |
2374 | ||
2375 | * config/alpha/alpha.md (movqicc_internal): Allow exactly one | |
2376 | zero in the conditional. | |
2377 | (movhicc_internal, movsicc_internal, movdicc_internal): Likewise. | |
2378 | ||
9d80ef7c RH |
2379 | 2004-10-28 Richard Henderson <rth@redhat.com> |
2380 | ||
2381 | * cse.c (memory_extend_rtx): Remove. | |
2382 | (cse_main): Don't set it. | |
2383 | (cse_insn): Use a local buffer instead. | |
2384 | ||
f3df9541 AK |
2385 | 2004-10-28 Andreas Krebbel <krebbel1@de.ibm.com> |
2386 | ||
2387 | * profile.c (branch_prob): Call to init_edge_profiler added. | |
2388 | * rtl-profile.c (rtl_init_edge_profiler): New function. | |
2389 | (rtl_gen_edge_profiler): Replaced call to insert_insn_on_edge with | |
2390 | call to safe_insert_insn_on_edge. | |
2391 | (rtl_profile_hooks): rtl_init_edge_profiler added. | |
2392 | * tree-profile.c (tree_init_edge_profiler): New function. | |
2393 | (tree_profile_hooks): tree_init_edge_profiler added. | |
2394 | * value-prof.h (profile_hooks) init_edge_profiler prototype added. | |
2395 | ||
9054261d NC |
2396 | 2004-10-28 Nick Clifton <nickc@redhat.com> |
2397 | ||
2398 | * config/iq2000/iq2000.c (iq2000_expand_epilogue): Use | |
2399 | emit_jump_insn() to generate the return instruction. | |
2400 | ||
50d895a7 KH |
2401 | 2004-10-28 Kazu Hirata <kazu@cs.umass.edu> |
2402 | ||
2403 | * tree-phinodes.c: Remove trailing whitespace. | |
2404 | ||
1c170b5e KH |
2405 | 2004-10-28 Kazu Hirata <kazu@cs.umass.edu> |
2406 | ||
2407 | * tree-ssa-loop-ivopts.c: Fix a comment typo. | |
2408 | * doc/invoke.texi: Fix a typo. | |
2409 | ||
f340a501 KH |
2410 | 2004-10-28 Kazu Hirata <kazu@cs.umass.edu> |
2411 | ||
2412 | * Makefile.in (OBJS-common): Remove duplicates. | |
2413 | ||
71882046 KH |
2414 | 2004-10-28 Kazu Hirata <kazu@cs.umass.edu> |
2415 | ||
2416 | * lambda-code.c (nestify_update_pending_stmts): Remove. | |
2417 | (perfect_nestify): Use flush_pending_stmts instead of | |
2418 | nestify_update_pending_stmts. | |
2419 | * tree-cfg.c (tree_make_forwarder_block): Use | |
2420 | flush_pending_stmts. | |
2421 | * tree-flow.h: Add a prototype for flush_pending_stmts. | |
2422 | * tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge): | |
2423 | Use flush_pending_stmts. | |
2424 | (lv_update_pending_stmts): Remove. | |
2425 | (tree_ssa_loop_version): Use flush_pending_stmts instead of | |
2426 | lv_update_pending_stmts. | |
2427 | * tree-ssa.c (flush_pending_stmts): New. | |
2428 | ||
fd326ba8 UW |
2429 | 2004-10-28 Ulrich Weigand <uweigand@de.ibm.com> |
2430 | ||
2431 | PR target/15286 | |
2432 | * final.c (alter_subreg): Compute correct offset to use with | |
2433 | paradoxical SUBREGs of memory operands. | |
2434 | * recog.c (general_operand): Allow paradoxical SUBREGs of | |
2435 | memory operands after reload. | |
2436 | * simplify-rtx.c (simplify_gen_subreg): Fail if simplify_subreg | |
2437 | has failed when passed a hard register. | |
2438 | ||
4af46a32 AH |
2439 | 2004-10-28 Aldy Hernandez <aldyh@redhat.com> |
2440 | ||
2441 | * function.c (assign_parm_setup_block): Handle parallels correctly. | |
2442 | ||
5921f276 KK |
2443 | 2004-10-28 Kaz Kojima <kkojima@gcc.gnu.org> |
2444 | ||
2445 | * final.c (shorten_branches): Initialize flags structure. | |
2446 | ||
b66a64f1 NS |
2447 | 2004-10-28 Nathan Sidwell <nathan@codesourcery.com> |
2448 | ||
2449 | * tree.c (int_cst_node, int_cst_hash_table): New variables. | |
2450 | (init_ttree): Initialize them. | |
2451 | (int_cst_hash_hash, int_cst_hash_eq): New hashing functions. | |
2452 | (build_int_cst_wide): Use hash table for oversized integers. | |
2453 | ||
fb002e78 NC |
2454 | 2004-10-28 Nick Clifton <nickc@redhat.com> |
2455 | ||
2456 | * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Define | |
2457 | begin_label. | |
2458 | ||
0da34ce4 RH |
2459 | 2004-10-27 Richard Henderson <rth@redhat.com> |
2460 | ||
2461 | PR middle-end/18163 | |
2462 | * expr.c (emit_group_load): Don't go force temporary for memory | |
2463 | or concat source. | |
2464 | (emit_group_store): Similarly. | |
2465 | ||
744e6f33 AP |
2466 | 2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> |
2467 | ||
2468 | PR other/18186 | |
2469 | * common.opt (--param): Fix spelling of parameter. | |
2470 | ||
8e14584d AP |
2471 | 2004-10-27 Andrew Pinski <pinskia@physics.uc.edu> |
2472 | ||
2473 | PR tree-opt/17529 | |
2474 | * tree-cfg.c (remove_useless_stmts_1) <case SWITCH_EXPR>: | |
2475 | Don't fold statement. | |
2476 | <case ASM_EXPR>: Fold the statement. | |
2477 | ||
269da1e9 KH |
2478 | 2004-10-28 Kazu Hirata <kazu@cs.umass.edu> |
2479 | ||
2480 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary) | |
2481 | <COND_EXPR>: Use EDGE_COUNT instead of GOTO_DESTINATION. | |
2482 | ||
78466c0e JM |
2483 | 2004-10-28 Joseph S. Myers <jsm@polyomino.org.uk> |
2484 | ||
2485 | * doc/contrib.texi, doc/cpp.texi, doc/cppopts.texi, | |
2486 | doc/extend.texi, doc/gcov.texi, doc/install.texi, doc/invoke.texi, | |
2487 | doc/libgcc.texi, doc/md.texi, doc/passes.texi, | |
2488 | doc/sourcebuild.texi, doc/tm.texi: Improve Texinfo formatting. | |
2489 | ||
d78aa55c JM |
2490 | 2004-10-28 Joseph S. Myers <jsm@polyomino.org.uk> |
2491 | ||
2492 | * doc/c-tree.texi, doc/cpp.texi, doc/implement-c.texi, | |
2493 | doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/tm.texi: Put | |
2494 | punctuation outside quotes. | |
2495 | ||
9a3137c3 DM |
2496 | 2004-10-27 David Mosberger <davidm@hpl.hp.com> |
2497 | James E Wilson <wilson@specifixinc.com> | |
a8f5224e DM |
2498 | |
2499 | PR target/13158 | |
2500 | * config/ia64/ia64.c (ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on | |
2501 | sibcall alloc instruction. | |
2502 | (process_set): Handle sibcall alloc instruction. | |
2503 | ||
72747d40 GK |
2504 | 2004-10-27 Geoffrey Keating <geoffk@apple.com> |
2505 | ||
005c1a13 GK |
2506 | * config/rs6000/rs6000.c (rs6000_attribute_table): Add |
2507 | SUBTARGET_ATTRIBUTE_TABLE. | |
2508 | * config/darwin.h (ASM_WEAKEN_DECL): Handle weak_import. | |
2509 | (SUBTARGET_ATTRIBUTE_TABLE): Define. | |
2510 | * config/darwin.c (darwin_handle_weak_import_attribute): New. | |
2511 | (HAVE_DEAD_STRIP): Delete. | |
2512 | (no_dead_strip): Don't test HAVE_DEAD_STRIP. | |
2513 | * config/darwin-protos.h (darwin_handle_weak_import_attribute): | |
2514 | Prototype. | |
2515 | ||
09afda70 GK |
2516 | * doc/tm.texi (USE_SELECT_SECTION_FOR_FUNCTIONS): Document. |
2517 | ||
72747d40 GK |
2518 | * config/darwin.h (GTHREAD_USE_WEAK): Define. |
2519 | ||
61b58001 BE |
2520 | 2004-10-28 Ben Elliston <bje@au.ibm.com> |
2521 | ||
2522 | * params.def (PARAM_SRA_MAX_STRUCTURE_SIZE): New. | |
2523 | (PARAM_SRA_FIELD_STRUCTURE_RATIO): Likewise. | |
2524 | * params.h (SRA_MAX_STRUCTURE_SIZE): New. | |
2525 | (SRA_FIELD_STRUCTURE_RATIO): Likewise. | |
2526 | * tree-sra.c: Include "params.h". | |
2527 | (decide_block_copy): Use new parameters. | |
2528 | * doc/invoke.texi (Optimize Options): Document new SRA pass | |
2529 | parameters sra-max-structure-size and sra-field-structure-ratio. | |
2530 | ||
72111a1f NP |
2531 | 2004-10-27 Nicolas Pitre <nico@cam.org> |
2532 | ||
2533 | * config/arm/ieee754-df.S (floatdidf): Fix regression with big values. | |
2534 | ||
38b0dcb8 ZD |
2535 | 2004-10-27 Zdenek Dvorak <dvorakz@suse.cz> |
2536 | ||
2537 | PR tree-optimization/18048 | |
2538 | * fold-const.c (try_move_mult_to_index): New function. | |
2539 | (fold): Use try_move_mult_to_index. | |
2540 | * tree-ssa-loop-ivopts.c (try_add_cand_for): Prefer common candidates. | |
2541 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Produce | |
2542 | an all-ones unsigned constant without extra bits. | |
2543 | * tree.c (build_low_bits_mask): New function. | |
2544 | * tree.h (build_low_bits_mask): Declare. | |
2545 | ||
89e73849 DE |
2546 | 2004-10-27 David Edelsohn <edelsohn@gnu.org> |
2547 | ||
2548 | PR target/17956 | |
2549 | * config/rs6000/rs6000.md (maxsf3): Add !flag_trapping_math to | |
2550 | final condition. | |
2551 | (minsf3): Same. | |
2552 | (maxdf3): Same. | |
2553 | (mindf3): Same. | |
2554 | ||
0b371c72 KH |
2555 | 2004-10-27 Kazu Hirata <kazu@cs.umass.edu> |
2556 | ||
2557 | * tree-cfg.c (thread_jumps): Speed up by reordering the two | |
2558 | conditions for entering basic blocks into worklist. | |
2559 | ||
af88d4ec KH |
2560 | 2004-10-27 Kazu Hirata <kazu@cs.umass.edu> |
2561 | ||
2562 | * tree-cfg.c (thread_jumps): Speed up by pretending to have | |
2563 | ENTRY_BLOCK_PTR in worklist. | |
2564 | ||
7f604986 KH |
2565 | 2004-10-27 Kazu Hirata <kazu@cs.umass.edu> |
2566 | ||
2567 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary) | |
2568 | <GOTO_EXPR>: Don't let an explicit GOTO_EXPR slip through. | |
2569 | ||
52328bf6 | 2570 | 2004-10-27 Daniel Berlin <dberlin@dberlin.org> |
40aea05c | 2571 | |
52328bf6 | 2572 | Fix PR tree-optimization/17133 |
40aea05c | 2573 | |
52328bf6 DB |
2574 | * tree-cfg.c (rewrite_to_new_ssa_names_bb): Also rewrite must |
2575 | def kill operand. | |
2576 | ||
2577 | * tree-flow-inline.h: V_MUST_DEF_OP became V_MUST_DEF_RESULT. | |
2578 | (get_v_must_def_result_ptr): Modify for new structure of | |
2579 | v_must_defs array. | |
2580 | (get_v_must_def_kill_ptr): New. | |
2581 | (op_iter_next_use): Add support for the kill that occurs in V_MUST_DEFs. | |
2582 | (op_iter_next_tree): Ditto. Also V_MAY_DEF_OP became V_MAY_DEF_RESULT. | |
2583 | (op_iter_next_def): V_MAY_DEF_OP became V_MAY_DEF_RESULT. | |
2584 | (op_iter_init): Initialize new mustu members. | |
2585 | (op_iter_next_mustdef): New function. | |
2586 | (op_iter_init_mustdef): Ditto. | |
2587 | ||
2588 | * tree-flow.h (rewrite_def_def_chains): New function. | |
2589 | ||
2590 | * tree-into-ssa.c (mark_def_sites): Handle mustdefkill operands. | |
2591 | (ssa_mark_def_sites): Ditto. | |
2592 | (rewrite_stmt): Ditto. | |
2593 | (ssa_rewrite_stmt): Ditto. | |
2594 | (rewrite_blocks): Factor out from rewrite_into_ssa. | |
2595 | (mark_def_block_sites): Ditto. | |
2596 | (rewrite_def_def_chains): New function, just rewrites def-def | |
2597 | chains without phi node insertion. | |
2598 | ||
2599 | * tree-pass.h (TODO_fix_def_def_chains): New todo flag. | |
2600 | ||
40aea05c | 2601 | * tree-optimize.c (execute_todo): Handle TODO_fix_def_def_chains. |
52328bf6 DB |
2602 | |
2603 | * tree-pretty-print.c (dump_vops): Print out MUST_DEF's so that | |
2604 | they include the rhs now. | |
2605 | ||
2606 | * tree-ssa-ccp.c (visit_assignment): V_MUST_DEF_OP became | |
40aea05c | 2607 | V_MUST_DEF_RESULT. |
52328bf6 DB |
2608 | |
2609 | * tree-ssa-dce.c (mark_operand_necessary): Add phionly argument. | |
2610 | Update callers. | |
2611 | (mark_really_necessary_kill_operand_phis): New function. | |
2612 | (perform_tree_ssa_dce): Call it. | |
2613 | (pass_dce): Add TODO_fix_def_def_chains. | |
2614 | (pass_cd_dce): Ditto. | |
2615 | ||
2616 | * tree-ssa-loop-im.c (determine_max_movement): Look at kills as | |
2617 | well. | |
2618 | (rewrite_mem_refs): Ditto. | |
2619 | ||
2620 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Look at kills | |
2621 | as well. | |
2622 | ||
2623 | * tree-ssa-operands.c (allocate_v_may_def_optype): | |
2624 | v_may_def_operand_type_t became v_def_use_operand_type_t. | |
2625 | (allocate_v_must_def_optype) Ditto. | |
2626 | (finalize_ssa_v_must_defs): Update for new operand type, as well | |
2627 | as setting the use portion as well. | |
2628 | (copy_virtual_operands): Copy the kill operand as well. | |
2629 | (create_ssa_artficial_load_stmt): V_MUST_DEF_OP became | |
40aea05c | 2630 | V_MUST_DEF_RESULT. |
52328bf6 DB |
2631 | |
2632 | * tree-ssa-operands.h (v_may_def_operand_type): Renamed to | |
40aea05c | 2633 | v_def_use_operand_type. |
52328bf6 DB |
2634 | (v_must_def_optype_d): Use v_def_use_operand_type. |
2635 | (V_MUST_DEF_OP_*): Renamed to V_MUST_DEF_RESULT_* | |
2636 | (V_MUST_DEF_KILL_*): New macros. | |
2637 | (struct ssa_operand_iterator_d): Add num_v_mustu and v_mustu_i | |
2638 | members. | |
2639 | Rename existing must_i and num_v_must members to mustd_i and | |
40aea05c | 2640 | num_v_mustd. |
52328bf6 DB |
2641 | (SSA_OP_VMUSTDEFKILL): New flag. |
2642 | (SSA_OP_VIRTUAL_KILLS): New flag. | |
2643 | (SSA_OP_ALL_OPERANDS): Add in SSA_OP_ALL_KILLS. | |
2644 | (SSA_OP_ALL_KILLS): New flag. | |
2645 | (FOR_EACH_SSA_MUSTDEF_OPERAND): New macro. | |
2646 | ||
2647 | * tree-ssa.c (verify_ssa): Verify virtual kills as well. | |
2648 | ||
2649 | * tree-vectorizer.c (vect_create_data_ref_ptr): V_MUST_DEF_OP | |
2650 | became V_MUST_DEF_RESULT. | |
2651 | (rename_variables_in_bb): Rename kill pointer as well. | |
2652 | ||
2653 | * tree-dfa.c (compute_immediate_uses_for_stmt): Add kills into the | |
2654 | immediate uses. | |
2655 | ||
47a3c2dc RS |
2656 | 2004-10-27 Richard Sandiford <rsandifo@redhat.com> |
2657 | ||
2658 | * dbxout.c (dbxout_source_line): Move declaration of begin_label to | |
2659 | the block that needs it. | |
2660 | ||
12126025 ZW |
2661 | 2004-10-27 Zack Weinberg <zack@codesourcery.com> |
2662 | ||
2663 | * dbxout.c (dbxout_finish_complex_stabs): Mark 'line' variable | |
2664 | ATTRIBUTE_UNUSED. | |
2665 | ||
b6ff777c ZW |
2666 | 2004-10-27 Zack Weinberg <zack@codesourcery.com> |
2667 | ||
2668 | * c-lex.c (cb_def_pragma): Clean up code for making location | |
2669 | palatable to diagnostic.c. | |
2670 | ||
40b554a3 SB |
2671 | 2004-10-27 Steven Bosscher <stevenb@suse.de> |
2672 | ||
12525dd6 | 2673 | PR tree-optimization/17757 |
40b554a3 SB |
2674 | * tree-phinodes.c (remove_phi_arg_num): Don't remove PHIs |
2675 | without any PHI arguments left. Make sure the argument that | |
2676 | we're supposed to remove exists at all. | |
2677 | ||
18fbf599 PB |
2678 | 2004-10-27 Paul Brook <paul@codesourcery.com> |
2679 | ||
2680 | * configure.ac: Don't test for [build] __cxa_atexit when building a | |
2681 | cross compiler. | |
2682 | * configure: Regenerate. | |
2683 | ||
57991eba PB |
2684 | 2004-10-27 Paul Brook <paul@codeosurcery.com> |
2685 | ||
2686 | * configure.ac: Use build_exeext not host_exeext when lookin for | |
2687 | target tools. | |
2688 | * configure: Regenerate. | |
2689 | ||
db09b5b6 AK |
2690 | 2004-10-27 Andreas Krebbel <krebbel1@de.ibm.com> |
2691 | ||
2692 | * config/s390/s390.md ("*subdf3_cc"): Replaced plus by minus. | |
2693 | ||
73f17ac8 | 2694 | 2004-10-27 Andreas Krebbel <krebbel1@de.ibm.com> |
4db0315e AK |
2695 | patch originally created by Kelley Cook <kcook@gcc.gnu.org> |
2696 | ||
2697 | PR middle-end/14684 | |
b6ff777c | 2698 | * opts.c (OPT_fprofile_generate): Default to -funroll-loops |
4db0315e AK |
2699 | to match -fprofile-use. |
2700 | ||
600e1f95 KH |
2701 | 2004-10-27 Kazu Hirata <kazu@cs.umass.edu> |
2702 | ||
2703 | * config/rs6000/rs6000.c: Fix a comment typo. | |
2704 | ||
e2cb732f ZW |
2705 | 2004-10-27 Zack Weinberg <zack@codesourcery.com> |
2706 | ||
2707 | * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Increment line | |
2708 | counter. | |
2709 | ||
bab208b4 AS |
2710 | 2004-10-27 Andreas Schwab <schwab@suse.de> |
2711 | ||
2712 | * varasm.c (default_stabs_asm_out_destructor): Mark symbol as | |
2713 | unused. | |
2714 | (default_stabs_asm_out_constructor): Likewise. | |
2715 | ||
1aeaea8d GK |
2716 | 2004-10-26 Geoffrey Keating <geoffk@apple.com> |
2717 | ||
2718 | * builtins.c (fold_builtin_unordered_cmp): Always bring both | |
2719 | operands to the same type. | |
2720 | ||
0a3d71f5 JW |
2721 | 2004-10-26 James E Wilson <wilson@specifixinc.com> |
2722 | ||
2723 | PR target/18010 | |
2724 | * emit-rtl.c (emit_copy_of_insn_after): Copy RTX_FRAME_RELATED_P. | |
2725 | ||
93a27b7b ZW |
2726 | 2004-10-26 Zack Weinberg <zack@codesourcery.com> |
2727 | ||
2728 | * dbxout.c: Include obstack.h. | |
2729 | (ASM_STABS_OP): Take XCOFF_DEBUGGING_INFO into account in | |
2730 | default definition. | |
2731 | (ASM_STABD_OP, NO_DBX_MAIN_SOURCE_DIRECTORY, DBX_CONTIN_CHAR): | |
2732 | Default-define here. | |
2733 | (DBX_CONTIN_LENGTH): Move definition with others. | |
2734 | (DBX_FINISH_STABS): New target macro. | |
2735 | (current_sym_code, current_sym_value, current_sym_addr) | |
2736 | (current_sym_nchars, CHARS, dbxout_continue) | |
2737 | (print_int_cst_octal, print_octal, print_wide_int) | |
2738 | (dbxout_prepare_symbol, dbxout_finish_symbol): Delete. | |
2739 | (stabstr_ob, stabstr_last_contin_point): New variables. | |
2740 | (NUMBER_FMT_LOOP): New improper macro. | |
2741 | (dbxout_int, dbxout_stab_value_zero, dbxout_stab_value_label) | |
2742 | (dbxout_stab_value_label_diff, dbxout_stab_value_internal_label) | |
2743 | (dbxout_stab_value_internal_label_diff, dbxout_stabd) | |
2744 | (dbxout_begin_stabn, dbxout_begin_stabn_sline) | |
2745 | (dbxout_begin_simple_stabs, dbxout_begin_simple_stabs_desc) | |
2746 | (dbxout_begin_complex_stabs, dbxout_finish_complex_stabs) | |
2747 | (stabstr_C, stabstr_S, stabstr_I, stabstr_D, stabstr_U, stabstr_O) | |
2748 | (stabstr_continue, DECL_ACCESSIBILITY_CHAR) | |
2749 | New functions and/or proper function-like macros. | |
2750 | (CONTIN): Use stabstr_continue, unconditionally. | |
2751 | (get_lang_number): Define unconditionally, with ATTRIBUTE_UNUSED. | |
2752 | (dbxout_init): Initialize stabstr_ob. Check | |
2753 | NO_DBX_MAIN_SOURCE_DIRECTORY. Only write out the Ltext label | |
2754 | if it was used. Use the new interfaces. | |
2755 | (dbxout_source_file): Remove file argument; always write to | |
2756 | asm_out_file. Use the new interfaces. | |
2757 | (dbxout_type_method_1): Remove second argument which is always | |
2758 | DECL_ASSEMBLER_NAME of the first argument. Use the new interfaces. | |
2759 | (dbxout_type_methods): Remove write-only variables. Use the | |
2760 | new interfaces. | |
2761 | (dbxout_parms): Refactor to remove code duplicated in each of | |
2762 | several successive if-else-if blocks. Use the new interfaces. | |
2763 | (dbxout_function_end, emit_bincl_stab, dbxout_end_source_file) | |
2764 | (dbxout_source_line, dbxout_finish, dbxout_type_index) | |
2765 | (dbxout_type_fields, dbxout_range_type, dbxout_type, dbxout_type_name) | |
2766 | (dbxout_class_name_qualifiers, dbxout_symbol, dbxout_symbol_location) | |
2767 | (dbxout_symbol_name, dbxout_reg_parms, dbxout_args) | |
2768 | (dbx_output_lbrac, dbx_output_rbrac, dbxout_block): | |
2769 | Use the new interfaces. | |
2770 | * Makefile.in (dbxout.o): Update dependencies. | |
2771 | ||
2772 | * defaults.h: Don't define ASM_STABD_OP. | |
2773 | * output.h: Prototype new dbxout_* interfaces. | |
2774 | * system.h: Poison DBX_OUTPUT_GCC_MARKER and DBX_FINISH_SYMBOL. | |
2775 | * varasm.c: Don't define ASM_STABS_OP. | |
2776 | (default_stabs_asm_out_constructor, default_stabs_asm_out_destructor): | |
2777 | Use the new dbxout.c interfaces. Call sorry if neither | |
2778 | DBX_DEBUGGING_INFO nor XCOFF_DEBUGGING_INFO is defined. | |
2779 | ||
2780 | * xcoffout.h: Don't define ASM_STABS_OP. | |
2781 | (DBX_FINISH_SYMBOL): Rewrite and rename DBX_FINISH_STABS. | |
2782 | (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY, DBX_OUTPUT_GCC_MARKER): Delete. | |
2783 | (NO_DBX_MAIN_SOURCE_DIRECTORY, NO_DBX_GCC_MARKER): Define. | |
2784 | (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Change bare block to | |
2785 | do { ... } while (0) idiom. | |
2786 | ||
2787 | * config/alpha/alpha.c (num_source_filenames): Export. | |
2788 | * config/alpha/alpha.h (num_source_filenames): Declare. | |
2789 | (DBX_OUTPUT_SOURCE_LINE): Use new interfaces. | |
2790 | (SDB_OUTPUT_SOURCE_LINE): Add missing newline. | |
2791 | * config/m32r/m32r.h (DBX_OUTPUT_SOURCE_LINE): Use new interfaces. | |
2792 | Always use .debugsym. Update commentary. | |
2793 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Use new interfaces. | |
2794 | (SDB_OUTPUT_SOURCE_LINE): Add missing newline. | |
2795 | * config/rs6000/linux64.h (DBX_OUTPUT_SOURCE_LINE, DBX_OUTPUT_BRAC): | |
2796 | Use new interfaces. | |
2797 | * config/rs6000/rs6000.c: If TARGET_MACHO, include gstab.h. | |
2798 | (macho_branch_islands): Use new interfaces. | |
2799 | ||
2800 | * doc/tm.texi: Update. | |
2801 | ||
7ef7000b AH |
2802 | 2004-10-26 Aldy Hernandez <aldyh@redhat.com> |
2803 | ||
2804 | * expr.c (emit_group_store): Do not treat floats as BLKmode. | |
2805 | (emit_group_load): Same. | |
2806 | ||
663174d3 JM |
2807 | 2004-10-26 Joseph S. Myers <jsm@polyomino.org.uk> |
2808 | ||
2809 | * c-parse.in (datadef): Use pedwarn rather than error and warning | |
2810 | for diagnostic in case of no declaration specifiers. | |
2811 | ||
c5e1045b RS |
2812 | 2004-10-26 Richard Sandiford <rsandifo@redhat.com> |
2813 | ||
2814 | PR bootstrap/15747 | |
2815 | * doc/install.texi (mips-sgi-irix5): Document that /bin/sh has been | |
2816 | reported to hang during bootstrap and that CONFIG_SHELL=/bin/ksh | |
2817 | can be used to work around this. | |
2818 | ||
de334ef6 AH |
2819 | 2004-10-26 Aldy Hernandez <aldyh@redhat.com> |
2820 | ||
2821 | * config/rs6000/rs6000.h (MEMBER_TYPE_FORCES_BLK): Adjust for e500 | |
2822 | doubles. | |
2823 | ||
b2c5a1e9 KH |
2824 | 2004-10-26 Kazu Hirata <kazu@cs.umass.edu> |
2825 | ||
2826 | * stmt.c (expand_case): Update a comment. | |
2827 | ||
5100d114 KH |
2828 | 2004-10-26 Kazu Hirata <kazu@cs.umass.edu> |
2829 | ||
2830 | * stmt.c (expand_case): Put an assertion that index_expr is | |
2831 | never INTEGER_CST. Don't special case for constant | |
2832 | index_expr. | |
2833 | ||
a3f164bd AP |
2834 | 2004-10-26 Andrew Pinski <pinskia@physics.uc.edu> |
2835 | ||
2836 | PR 18162 | |
2837 | * c-parse.in (designator): Finish with a semi-colon. | |
2838 | ||
2839 | 2004-10-26 Fariborz Jahanian <fjahanian@apple.com> | |
bba11b5f | 2840 | |
12126025 | 2841 | * config/rs6000/rs6000.md (andsi3_internal8): Set CR when splitting |
93a27b7b | 2842 | into rotlsi3. |
bba11b5f | 2843 | |
5372d088 KH |
2844 | 2004-10-26 Kazu Hirata <kazu@cs.umass.edu> |
2845 | ||
2846 | * stmt.c (expand_case): Remove code to handle SWITCH_EXPR with | |
2847 | a default case only. | |
2848 | ||
f82f556d AH |
2849 | 2004-10-26 Aldy Hernandez <aldyh@redhat.com> |
2850 | ||
2851 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs): Adjust for | |
2852 | e500 doubles. | |
2853 | (spe_build_register_parallel): New. | |
2854 | (rs6000_spe_function_arg): Handle e500 doubles. | |
2855 | (function_arg): Same. | |
2856 | (spe_func_has_64bit_regs_p): Same. | |
2857 | (rs6000_function_value): Same. | |
2858 | (rs6000_libcall_value): Same. | |
2859 | (legitimate_lo_sum_address_p): Return false for e500 doubles. | |
2860 | ||
2861 | * config/rs6000/rs6000.h (LOCAL_ALIGNMENT): Adjust for e500 | |
2862 | doubles. | |
2863 | (DATA_ALIGNMENT): Same. | |
2864 | (CANNOT_CHANGE_MODE_CLASS): Same. | |
2865 | ||
782fa603 AH |
2866 | 2004-10-26 Aldy Hernandez <aldyh@redhat.com> |
2867 | ||
93a27b7b ZW |
2868 | * expr.c (emit_group_load): Handle floats. |
2869 | (emit_group_store): Same. | |
782fa603 | 2870 | |
51e63e60 NS |
2871 | 2004-10-26 Nathan Sidwell <nathan@codesourcery.com> |
2872 | ||
2873 | * c-lex.c (get_nonpadding_token): Remove. | |
2874 | (c_lex_with_flags): Push timevar and eat padding here. Improve | |
2875 | stray token diagnostic. | |
2876 | (lex_string): Replace logic with switch statement, eat padding | |
2877 | token here. | |
2878 | ||
a56cd1a9 GK |
2879 | 2004-10-26 Geoffrey Keating <geoffk@apple.com> |
2880 | ||
2881 | PR 18149 | |
2882 | * config/i386/darwin.h (ASM_SPEC): Undef it before defining. | |
2883 | ||
f1a66265 GK |
2884 | 2004-10-25 Geoffrey Keating <geoffk@apple.com> |
2885 | ||
2886 | * config/darwin.h (LINK_SPEC): Default weak_reference_mismatches | |
2887 | to 'non-weak'. | |
2888 | (MAKE_DECL_ONE_ONLY): Set DECL_WEAK. | |
2889 | (ASM_MAKE_LABEL_LINKONCE): Delete. | |
2890 | (ASM_WEAKEN_DECL): New. | |
2891 | (ASM_DECLARE_OBJECT_NAME): Look at DECL_WEAK not DECL_ONE_ONLY. | |
2892 | (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2893 | (TEXT_SECTION_ASM_OP): Add a tab. | |
2894 | (DATA_SECTION_ASM_OP): Likewise. | |
2895 | (SECTION_FUNCTION): Add a tab. Use fputs. Don't call | |
2896 | data_section on every section change. | |
2897 | (EXTRA_SECTIONS): Add a bunch of new extra sections. | |
2898 | (EXTRA_SECTION_FUNCTIONS): Likewise. | |
2899 | (USE_SELECT_SECTION_FOR_FUNCTIONS): Define. | |
2900 | (JCR_SECTION_NAME): Define. | |
2901 | (TARGET_SECTION_TYPE_FLAGS): Don't define. | |
2902 | * config/darwin.c (darwin_encode_section_info): A symbol is defined | |
2903 | in this file if it is not weak. | |
2904 | (textcoal_section): Delete. | |
2905 | (datacoal_section): Delete. | |
2906 | (darwin_make_decl_one_only): Delete. | |
2907 | (machopic_select_section): Handle functions. | |
2908 | (darwin_asm_named_section): Add a tab. | |
2909 | (darwin_section_type_flags): Delete. | |
2910 | (darwin_unique_section): Delete contents. | |
2911 | (darwin_emit_unwind_label): Add a tab. Make decls weak if | |
2912 | DECL_WEAK is set. | |
2913 | * config/darwin-protos.h (darwin_section_type_flags): Delete. | |
2914 | (darwin_make_decl_one_only): Delete. | |
2915 | (text_coal_section): New. | |
2916 | (text_unlikely_section): New. | |
2917 | (text_unlikely_coal_section): New. | |
2918 | (const_coal_section): New. | |
2919 | (data_coal_section): New. | |
2920 | (const_data_coal_section): New. | |
2921 | * varasm.c (function_section): Honour | |
2922 | USE_SELECT_SECTION_FOR_FUNCTIONS. | |
2923 | * dwarf2out.c (output_call_frame_info): Look at DECL_WEAK when | |
2924 | TARGET_USES_WEAK_UNWIND_INFO is in effect. | |
2925 | * dbxout.c (dbxout_source_file): Don't change sections while | |
2926 | a function is being output. | |
2927 | ||
3a3589b4 ZL |
2928 | 2004-10-25 David Ayers <d.ayers@inode.at> |
2929 | ||
2930 | * c-common.h: Remove RID_ID. | |
2931 | * c-parse.in: Remove OBJECTNAME and references to RID_ID. | |
2932 | (typespec_reserved_attr): Add rule for TYPENAME | |
2933 | non_empty_protocolrefs. | |
2934 | (yylexname): Remove special handling of RID_ID. | |
2935 | ||
53071270 JW |
2936 | 2004-10-25 James E Wilson <wilson@specifixinc.com> |
2937 | ||
2938 | * doc/invoke.texi (-fcrossjumping): Not enabled at -O. | |
2939 | ||
535dd320 JM |
2940 | 2004-10-25 Joseph S. Myers <jsm@polyomino.org.uk> |
2941 | ||
2942 | PR c/16667 | |
2943 | * c-parse.in (array_designator): New. | |
2944 | (designator): Use it. | |
2945 | (initelt): Only permit array_designator without '=', not ".foo". | |
2946 | ||
85c33455 KZ |
2947 | 2004-10-25 Kenneth Zadeck <zadeck@naturalbridge.com> |
2948 | * gcc/Makefile.in: removed ggc for cgraphunit. | |
2949 | * gcc/cgraph.c.dump_cgraph_node: removed static var analysis. | |
2950 | * gcc/cgraph.h: removed static var analysis data structures and calls. | |
93a27b7b ZW |
2951 | * gcc/cgraphunit.c: |
2952 | cgraph_mark_local_and_external_functions:changed name to | |
85c33455 KZ |
2953 | cgraph_mark_local_functions |
2954 | (print_order,convert_UIDs_in_bitmap,new_static_vars_info, | |
2955 | cgraph_reset_static_var_maps,get_global_static_vars_info, | |
2956 | get_global_statics_not_read,get_global_statics_not_written,searchc, | |
2957 | cgraph_reduced_inorder,has_proper_scope_for_analysis,check_rhs_var, | |
2958 | check_lhs_var,get_asm_expr_operands,process_call_for_static_vars, | |
2959 | scan_for_static_refs,cgraph_characterize_statics_local, | |
2960 | clear_static_vars_maps,cgraph_propagate_bits,cgraph_characterize_statics): | |
2961 | removed. | |
2962 | (cgraph_optimize,init_cgraph): removed calls to static vars analysis | |
2963 | * gcc/tree-dfa.c find_referenced_vars: removed call to static vars | |
93a27b7b ZW |
2964 | analysis |
2965 | * gcc/tree-flow.h static_vars_info: removed | |
85c33455 KZ |
2966 | * gcc/tree-ssa-operands.c (add_call_clobber_ops,add_call_read_ops): |
2967 | removed calls to static vars analysis. | |
2968 | get_call_expr_operands: removed callee variable. | |
2969 | ||
218d1537 KH |
2970 | 2004-10-25 Kazu Hirata <kazu@cs.umass.edu> |
2971 | ||
2972 | * cfg.c (unchecked_make_edge, redirect_edge_succ, | |
2973 | redirect_edge_pred): Use VEC_safe_push instead of | |
2974 | VEC_safe_insert. | |
2975 | * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. | |
2976 | ||
5132abc2 KH |
2977 | 2004-10-25 Kazu Hirata <kazu@cs.umass.edu> |
2978 | ||
2979 | * cfgloopmanip.c (loopify): Take two more arguments true_edge | |
2980 | and false_edge. | |
2981 | * cfgloop.h: Adjust the corresponding prototype. | |
2982 | * loop-unswitch.c (unswitch_loop): Adjust a call to loopify. | |
2983 | * tree-ssa-loop-manip.c (tree_ssa_loop_version): Likewise. | |
2984 | ||
3401a17f JJ |
2985 | 2004-10-25 Jakub Jelinek <jakub@redhat.com> |
2986 | ||
2987 | * dwarf2out.c (rtl_for_decl_location): Avoid segfault if | |
2988 | DECL_INCOMING_RTL is NULL. | |
2989 | ||
30a80709 SB |
2990 | 2004-10-25 Steven Bosscher <stevenb@suse.de> |
2991 | ||
2992 | * timevar.def (TV_FIND_REFERENCED_VARS): New. | |
2993 | * tree-dfa.c (pass_referenced_var): Use it. | |
2994 | ||
08a69267 RS |
2995 | 2004-10-25 Roger Sayle <roger@eyesopen.com> |
2996 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
2997 | ||
2998 | * cse.c: Change encoding of quantity numbers to avoid undefined | |
2999 | pointer arithmetic on qty_table. | |
3000 | (REGNO_QTY_VALID_P): A quantity is now valid if it isn't negative. | |
3001 | (get_cse_reg_info): Initialize reg_qty to a unique negative value. | |
3002 | (new_basic_block): Assign "real" quantity numbers from zero. | |
3003 | (delete_reg_equiv): Do nothing if quantity is invalid. Reset the | |
3004 | REG_QTY to its unique negative value. | |
3005 | (merge_equiv_classes): Calculate need_rehash if quantity is valid. | |
3006 | (cse_main): Don't include max_reg when determining max_qty. | |
3007 | (cse_basic_block): Avoid subtracting a large offset from qty_table, | |
3008 | which causes undefined C99 behaviour. Only allocate needed memory. | |
3009 | ||
5cfffc4e KH |
3010 | 2004-10-25 Kazu Hirata <kazu@cs.umass.edu> |
3011 | ||
3012 | * stmt.c (expand_case): Remove an obsolete comment. | |
3013 | ||
4c7c0c70 AP |
3014 | 2004-10-25 Andrew Pinski <pinskia@physics.uc.edu> |
3015 | ||
3016 | PR middle-end/17407 | |
3017 | * c-decl.c (grokdeclarator) <case cdk_array>: Remove the call | |
3018 | layout_type as it is already done by build_array_type. | |
3019 | * tree.c (build_array_type): Layout the type even | |
3020 | ||
4318d4a1 AO |
3021 | 2004-10-25 Alexandre Oliva <aoliva@redhat.com> |
3022 | ||
3023 | * config/frv/linux.h (TARGET_C99_FUNCTIONS): Define to 0. | |
3024 | ||
a6cb87fb AO |
3025 | 2004-10-25 Alexandre Oliva <aoliva@redhat.com> |
3026 | ||
3027 | * config/frv/frv.md (movdi, movdf): Handle wide-constant splits | |
3028 | with wider-than-32-bit HOST_WIDE_INTs. | |
3029 | ||
4de3d011 DB |
3030 | 2004-10-25 David Billinghurst <David.Billinghurst@riotinto.com> |
3031 | ||
93a27b7b | 3032 | * config/mips/mips.c(mips_output_filename): Remove unused |
4de3d011 DB |
3033 | array ltext_label_name |
3034 | ||
c8529ffa GK |
3035 | 2004-10-24 Geoffrey Keating <geoffk@geoffk.org> |
3036 | ||
3037 | * config/rs6000/darwin.h (BLOCK_REG_PADDING): Define. | |
3038 | ||
a304f64e BE |
3039 | 2004-10-25 Ben Elliston <bje@au.ibm.com> |
3040 | ||
3041 | * cfgcleanup.c (outgoing_edges_match): Fix typo in dump output. | |
3042 | ||
711a89d6 AP |
3043 | 2004-10-23 Andrew Pinski <pinskia@physics.uc.edu> |
3044 | ||
3045 | * predict.c (predict_loops): Call scev_finalize instead of | |
3046 | scev_reset. | |
3047 | ||
92453b21 KH |
3048 | 2004-10-24 Kazu Hirata <kazu@cs.umass.edu> |
3049 | ||
3050 | * config/dbxcoff.h, config/dbxelf.h, config/libgloss.h, | |
3051 | config/openbsd.h, config/mips/r3900.h, config/pdp11/pdp11.md, | |
3052 | config/sh/ushmedia.h, config/sparc/elf.h, | |
3053 | config/sparc/sp64-elf.h: Update copyright. | |
3054 | ||
4e0148df KH |
3055 | 2004-10-24 Kazu Hirata <kazu@cs.umass.edu> |
3056 | ||
3057 | * stmt.c (expand_case): Handle the default label outside of | |
3058 | the for loop. Remove code to handle a missing default label. | |
3059 | ||
d0ed471f KH |
3060 | 2004-10-23 Kazu Hirata <kazu@cs.umass.edu> |
3061 | ||
3062 | * dbxout.c (dbxout_function_decl): Don't use | |
3063 | DBX_OUTPUT_FUNCTION_END. | |
3064 | * system.h: Poison DBX_OUTPUT_FUNCTION_END. | |
3065 | * doc/tm.texi (DBX_OUTPUT_FUNCTION_END): Remove. | |
3066 | ||
66174cd0 AP |
3067 | 2004-10-23 Andrew Pinski <pinskia@physics.uc.edu> |
3068 | ||
3069 | PR middle-end/17967 | |
3070 | * tree-cfg.c (remove_usless_stmts_cond): Don't Fold statement. | |
3071 | ||
84dd478f DB |
3072 | 2004-10-23 Daniel Berlin <dberlin@dberlin.org> |
3073 | ||
3074 | * tree-ssa-dom.c (record_equality): Use loop depth to determine | |
3075 | which way to record the equality as well. | |
3076 | (loop_depth_of_name): New function. | |
3077 | ||
91804752 EB |
3078 | 2004-10-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
3079 | ||
3080 | PR middle-end/17793 | |
3081 | * gimplify.c (gimplify_addr_expr) <VIEW_CONVERT_EXPR>: Look | |
3082 | through the operand if it is a useless type conversion. | |
3083 | ||
865851d0 BE |
3084 | 2004-10-23 Ben Elliston <bje@au.ibm.com> |
3085 | ||
3086 | * cfg.c (remove_edge): Use VEC_unordered_remove. | |
3087 | (redirect_edge_succ): Likewise. | |
3088 | (redirect_edge_pred): Likewise. | |
3089 | * cfgrtl.c (force_nonfallthru_and_redirect): Likewise. | |
3090 | ||
eb846654 KH |
3091 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3092 | ||
3093 | * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Don't access PTR | |
3094 | beyond its end. | |
3095 | ||
94ff898d EC |
3096 | 2004-10-22 Eric Christopher <echristo@redhat.com> |
3097 | ||
93a27b7b | 3098 | * config/rs6000/rs6000.c (setup_incoming_varargs): Align DFmode |
94ff898d EC |
3099 | saves. |
3100 | ||
7a2f7870 AH |
3101 | 2004-10-22 Aldy Hernandez <aldyh@redhat.com> |
3102 | ||
3103 | * config/rs6000/spe.md (spe_extendsfdf2): New. | |
3104 | (movdf_e500_double): New. | |
3105 | (spe_truncdfsf2): New. | |
3106 | (spe_absdf2): New. | |
3107 | (spe_nabsdf2): New. | |
3108 | (spe_negdf2): New. | |
3109 | (sub_adddf3): New. | |
3110 | (spe_subdf3): New. | |
3111 | (spe_muldf3): New. | |
3112 | (spe_floatsidf2): New. | |
3113 | (spe_floatunssidf2): New. | |
3114 | (fix_truncdfsi2): New. | |
3115 | (spe_fixuns_truncdfsi2): New. | |
3116 | ||
3117 | * config/rs6000/rs6000.md (truncdfsf2): Change to expander. | |
3118 | (fpr_truncdfsf2): New. | |
3119 | (negdf2): Change to expander. | |
3120 | (fpr_negdf2): New. | |
3121 | (fpr_nabsdf2): Name pattern. | |
3122 | (adddf3): Change to expander. | |
3123 | (fpr_adddf3): Nem. | |
3124 | (subdf3): Change to expander. | |
3125 | (fpr_subdf3): New. | |
3126 | (muldf3): Change to expander. | |
3127 | (fpr_muldf3): New. | |
3128 | (divdf3): Change to expander. | |
3129 | (fpr_divdf3): New. | |
3130 | (movdf_softfloat32): Change !TARGET_FPRS to TARGET_E500_SINGLE. | |
3131 | (cmpdf): Allow for TARGET_E500_DOUBLE. | |
3132 | ||
3a6210c5 KH |
3133 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3134 | ||
3135 | * c-semantics.c (re_push_stmt_list): Remove. | |
3136 | * c-common.h: Remove the corresponding prototype. | |
3137 | ||
11901f5d KH |
3138 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3139 | ||
3140 | * stmt.c (asm_op_is_mem_input): Remove. | |
3141 | * tree.h: Remove the corresponding prototype. | |
3142 | ||
82338042 KH |
3143 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3144 | ||
3145 | * tree-gimple.c (is_gimple_constructor_elt): Remove. | |
3146 | * tree-gimple.h: Remove the corresponding prototype. | |
3147 | ||
4fe8591b KH |
3148 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3149 | ||
3150 | * varasm.c (get_pool_mode_for_function, get_pool_offset): | |
3151 | Remove. | |
3152 | * rtl.h: Remove the corresponding prototypes. | |
3153 | ||
385efa80 KH |
3154 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3155 | ||
3156 | * tree-cfg.c (thread_jumps_from_bb): Speed up by extracting | |
3157 | edge information when we commit ourselves to threading a | |
3158 | particular jump. | |
3159 | ||
afc3f396 KH |
3160 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3161 | ||
3162 | * tree-cfg.c (thread_jumps): Speed up by putting basic blocks | |
3163 | into worklist instead of their indexes. | |
3164 | ||
471854f8 KH |
3165 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3166 | ||
3167 | * alias.c, basic-block.h, cgraphunit.c, combine.c, domwalk.h, | |
3168 | final.c, gengtype.c, genpreds.c, ggc-page.c, insn-notes.def, | |
3169 | lambda-code.c, loop-unroll.c, modulo-sched.c, pointer-set.c, | |
3170 | pretty-print.c, ra-colorize.c, sbitmap.c, tree-complex.c, | |
3171 | tree-data-ref.c, tree-dfa.c, tree-inline.c, tree-into-ssa.c, | |
3172 | tree-scalar-evolution.c, tree-ssa-dom.c, | |
3173 | tree-ssa-loop-manip.c, tree-ssa-loop-niter.c, | |
3174 | tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-threadupdate.c, | |
3175 | tree-vectorizer.c, vec.h: Fix comment formatting. | |
3176 | ||
279b5b3c KH |
3177 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3178 | ||
3179 | * dwarf.h, gthr-dce.h, gthr-single.h, gthr-solaris.h, gthr.h, | |
3180 | libfuncs.h, libgcc2.h, stab.def, tsystem.h: Update copyright. | |
3181 | ||
8638a0f8 KH |
3182 | 2004-10-22 Kazu Hirata <kazu@cs.umass.edu> |
3183 | ||
3184 | * config/ptx4.h, config/mcore/mcore-pe.h, | |
3185 | config/rs6000/eabi.h, config/vax/elf.h: Update copyright. | |
3186 | ||
cfca21cb PB |
3187 | 2004-10-22 Peter Barada <peter@the-baradas.com> |
3188 | ||
3189 | * config/m68k/m68k.h (HARD_REGNO_RENAME_OK): New macro. | |
3190 | * config/m68k/m68k.c (m68k_hard regno_rename_ok): Disallow | |
3191 | renaming of non-live registers in interrupt functions. | |
3192 | * config/m68k/m68k-protos.h (m68k_hard_regno_rename_ok): Add prototype. | |
3193 | ||
26630a99 ZD |
3194 | 2004-10-22 Zdenek Dvorak <dvorakz@suse.cz> |
3195 | ||
3196 | * tree-ssa-loop-niter.c (inverse): Count in HOST_WIDE_INT if possible. | |
3197 | Use integer for loop counter. | |
3198 | (num_ending_zeros): New function. | |
3199 | (number_of_iterations_cond): Use num_ending_zeros. | |
3200 | ||
4d4cbc0e AH |
3201 | 2004-10-21 Aldy Hernandez <aldyh@redhat.com> |
3202 | ||
3203 | * config.gcc: Add support for --enable-e500_double. | |
3204 | ||
3205 | * config/rs6000/e500-double.h: New file. | |
3206 | ||
3207 | * config/rs6000/rs6000.h: Define TARGET_E500_SINGLE and | |
3208 | TARGET_E500_DOUBLE. | |
3209 | ||
3210 | * config/rs6000/eabi.h: Define TARGET_E500_SINGLE and | |
3211 | TARGET_E500_DOUBLE. | |
3212 | ||
3213 | * config/rs6000/linuxspe.h: Same. | |
3214 | ||
3215 | * doc/invoke.texi (Option Summary): Document new options for | |
3216 | mfloat-gprs. | |
3217 | (RS/6000 and PowerPC Options): Same. | |
3218 | ||
3219 | * config/rs6000/rs6000.c (rs6000_parse_float_gprs_option): New | |
3220 | function. | |
3221 | (rs6000_override_options): Use it. Use | |
3222 | SUB3TARGET_OVERRIDE_OPTIONS. | |
3223 | Add 8548 to processor_target_table. | |
3224 | (rs6000_legitimate_address): Handle e500 doubles. | |
3225 | (rs6000_legitimize_address): Same. | |
3226 | (rs6000_legitimize_reload_address): Same. | |
3227 | (rs6000_hard_regno_nregs): Same. | |
3228 | (spe_func_has_64bit_regs_p): Same. | |
3229 | (emit_frame_save): Same. | |
3230 | (gen_frame_mem_offset): Same. | |
3231 | (rs6000_dwarf_register_span): Same. | |
3232 | (rs6000_generate_compare): Same. | |
3233 | (easy_fp_constant): Same. | |
3234 | (legitimate_offset_address_p): Same. | |
3235 | ||
3236 | * config/rs6000/spe.md: (cmdfeq_gpr): New. | |
3237 | (tstdfeq_gpr): New. | |
3238 | (cmpdfgt_gpr): New. | |
3239 | (tstdfgt_gpr): New. | |
3240 | (tstdfgt_gpr): New. | |
3241 | (cmpdflt_gpr): New. | |
3242 | (tstdflt_gpr): New. | |
3243 | Add new constants. | |
3244 | ||
a4b1eb87 GB |
3245 | 2004-10-21 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
3246 | ||
3247 | * config/arc/lib1funcs.asm (___umulsidi3): Fix typo. | |
3248 | ||
ac746f1d ZW |
3249 | 2004-10-21 Zack Weinberg <zack@codesourcery.com> |
3250 | ||
3251 | * dbxout.c: Remove unnecessary #undefs. | |
3252 | (GDB_INV_REF_REGPARM_STABS_LETTER, DBX_MEMPARM_STABS_LETTER) | |
3253 | (FILE_NAME_JOINER, STABS_GCC_MARKER): Remove; fold sole | |
3254 | definition into use sites. | |
3255 | (cwd): Make local to dbxout_init. | |
3256 | (dbxout_init): Restructure cwd-using logic for clarity. Use | |
3257 | IS_DIR_SEPARATOR. | |
3258 | * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Definition of | |
3259 | STABS_GCC_MARKER folded in here. | |
3260 | * system.h: Poison now-unused macros. | |
3261 | * doc/tm.texi: Remove documentation of now-unused macros. | |
3262 | ||
3e6da82b AP |
3263 | 2004-10-21 Andrew Pinski <pinskia@physics.uc.edu> |
3264 | ||
3265 | PR c/17538 | |
3266 | * c-opts.c (push_command_line_include): Use the current file | |
3267 | name instead of the main one. | |
3268 | ||
943db347 AP |
3269 | 2004-10-21 Andrew Pinski <pinskia@physics.uc.edu> |
3270 | ||
3271 | PR objc/17923 | |
3272 | * tree.c (staticp): A CONST_DECL has static storage if either | |
3273 | TREE_STATIC or DECL_EXTERNAL is set. | |
3274 | * c-decl.c (pushdecl_top_level): Accept CONST_DECLs which can | |
3275 | have null names. | |
3276 | ||
5bee567d KH |
3277 | 2004-10-21 Kazu Hirata <kazu@cs.umass.edu> |
3278 | ||
3279 | * expr.c (store_expr): Remove dont_store_target. | |
3280 | ||
08445125 KH |
3281 | 2004-10-21 Kazu Hirata <kazu@cs.umass.edu> |
3282 | ||
3283 | * tree-cfg.c (thread_jumps): Speed up by using a worklist. | |
3284 | ||
072269d8 KH |
3285 | 2004-10-21 Kazu Hirata <kazu@cs.umass.edu> |
3286 | ||
3287 | * tree-cfg.c (thread_jumps): Move a part of it to ... | |
3288 | (thread_jumps_from_bb): ... here. | |
3289 | ||
0dda4eea DE |
3290 | 2004-10-21 David Edelsohn <edelsohn@gnu.org> |
3291 | ||
3292 | * dbxout.c (DBX_FINISH_SYMBOL): Add asm_out_file argument. | |
3293 | * xcoffout.h (DBX_FINISH_SYMBOL): Change asmfile to (ASMFILE). | |
3294 | ||
6f4fd16d KH |
3295 | 2004-10-21 Kazu Hirata <kazu@cs.umass.edu> |
3296 | ||
3297 | * expr.c (store_expr): Clean up by renaming want_value to | |
3298 | call_param_p. | |
3299 | ||
cc6cea1b KK |
3300 | 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org> |
3301 | ||
3302 | * config/sh/linux-unwind.h (sh_fallback_frame_state): Don't | |
3303 | fixup pc here. | |
3304 | ||
28526e20 AH |
3305 | 2004-10-21 Aldy Hernandez <aldyh@redhat.com> |
3306 | ||
3307 | PR 18004. | |
3308 | * expmed.c (store_bit_field): Pass original 'value' before | |
3309 | recursing. | |
3310 | ||
6883a666 NP |
3311 | 2004-10-21 Nicolas Pitre <nico@cam.org> |
3312 | ||
3313 | * config/arm/ieee754-sf.S: Large speed improvements. Fix NAN handling. | |
3314 | * config/arm/ieee754-df.S: Ditto. | |
3315 | ||
3e487b21 ZW |
3316 | 2004-10-20 Zack Weinberg <zack@codesourcery.com> |
3317 | ||
3318 | * dbxout.c (asmfile): Delete. All uses changed to asm_out_file. | |
3319 | (DBX_BLOCKS_FUNCTION_RELATIVE, DBX_LINES_FUNCTION_RELATIVE): | |
3320 | Default to 0. | |
3321 | (dbxout_source_line): Use DBX_OUTPUT_SOURCE_LINE when defined. | |
3322 | When it is not, but DBX_LINES_FUNCTION_RELATIVE is true, emit | |
3323 | an internal label and an N_SLINE .stabn whose value is the | |
3324 | difference between that label and the function entry label. | |
3325 | (dbxout_finish): If DBX_OUTPUT_MAIN_SOURCE_FILE_END is not defined, | |
3326 | but DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END is, emit a | |
3327 | label and an N_SO stab with an empty string referring to it. | |
3328 | (dbx_output_lbrac, dbx_output_rbrac): Use if statement instead | |
3329 | of #ifdef directive to test DBX_BLOCKS_FUNCTION_RELATIVE. | |
3330 | (dbxout_type_methods, dbxout_symbol): Remove #if 0 block. | |
3331 | (dbxout_prepare_symbol): Remove #ifdef WINNING_GDB block, this | |
3332 | macro is never defined. | |
3333 | * sdbout.c (sdbout_source_line_counter): Delete. | |
3334 | (PUT_SDB_SRC_FILE): Delete. Uses replaced with sole definition. | |
3335 | (sdbout_source_line): Use SDB_OUTPUT_SOURCE_LINE, which takes | |
3336 | only two arguments. | |
3337 | * xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Rename ASM_OUTPUT_LINE. | |
3338 | ||
3339 | * config/dbxcoff.h, config/dbxelf.h: Remove unncessary #undefs. | |
3340 | * config/c4x/c4x.h, config/pa/pa.h: Remove unnecessary macro | |
3341 | definitions (identical to default). | |
3342 | * config/darwin.h, config/dbxcoff.h, config/dbxelf.h, config/ptx4.h | |
3343 | * config/h8300/coff.h, config/pa/som.h, config/sh/elf.h: | |
3344 | Define DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END, not | |
3345 | DBX_OUTPUT_MAIN_SOURCE_FILE_END. | |
3346 | * config/dbxcoff.h, config/dbxelf.h, config/ptx4.h | |
3347 | * config/mcore/mcore-pe.h, config/pa/som.h, config/sh/elf.h: | |
3348 | Define DBX_LINES_FUNCTION_RELATIVE, not ASM_OUTPUT_SOURCE_LINE. | |
3349 | * config/alpha/alpha-protos.h: Don't prototype alpha_output_lineno. | |
3350 | * config/alpha/alpha.c: Move declaration of num_source_filenames up. | |
3351 | (alpha_start_function): Use SDB_OUTPUT_SOURCE_LINE. | |
3352 | (sym_lineno): Delete. | |
3353 | (alpha_output_filename): Do not emit N_SOL stabs here. Remove | |
3354 | now-unused variable. | |
3355 | (alpha_output_lineno): Delete. | |
3356 | * config/mips/mips-protos.h: Don't prototype mips_output_lineno. | |
3357 | * config/mips/mips.c (mips_output_filename): Don't use | |
3358 | ASM_OUTPUT_FILENAME. Don't emit N_SOL stabs here. | |
3359 | (mips_output_lineno): Delete. | |
3360 | (mips_output_function_prologue: Use SDB_OUTPUT_SOURCE_LINE. | |
3361 | * config/alpha/alpha.h: Define DBX_OUTPUT_SOURCE_LINE and | |
3362 | SDB_OUTPUT_SOURCE_LINE, not ASM_OUTPUT_SOURCE_LINE. | |
3363 | * config/mips/mips.h: Likewise. Don't define ASM_OUTPUT_FILENAME. | |
3364 | * config/mips/sdb.h: Use SDB_OUTPUT_SOURCE_LINE. | |
3365 | * config/avr/avr.h: Don't define ASM_OUTPUT_SOURCE_LINE. | |
3366 | * config/mmix/mmix.h: Likewise. | |
3367 | * config/mmix/mmix.c (mmix_asm_output_source_line): Delete. | |
3368 | * config/mmix/mmix-protos.h: Don't prototype it. | |
3369 | * config/alpha/unicosmk.h: Also #undef PREFERRED_DEBUGGING_TYPE; | |
3370 | no need to #undef ASM_OUTPUT_SOURCE_LINE. | |
3371 | * config/arm/aout.h: Remove RISCiX-specific definition of | |
3372 | DBX_OUTPUT_MAIN_SOURCE_FILENAME. | |
3373 | * config/m32r/m32r.h: Define DBX_OUTPUT_SOURCE_LINE, not | |
3374 | ASM_OUTPUT_SOURCE_LINE. | |
70a8019b | 3375 | * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Rename to |
3e487b21 ZW |
3376 | DBX_OUTPUT_SOURCE_LINE. Don't use current_function_func_begin_label. |
3377 | * config/vax/elf.h: No need to define DBX_OUTPUT_FUNCTION_END. | |
3378 | ||
3379 | * doc/tm.texi: Update. | |
3380 | ||
310ff872 RH |
3381 | 2004-10-20 Richard Henderson <rth@redhat.com> |
3382 | ||
3383 | * tree-sra.c (instantiate_element): Copy DECL_IGNORED_P also. | |
3384 | ||
f644cebf KC |
3385 | 2004-10-20 Kelley Cook <kcook@gcc.gnu.org> |
3386 | ||
3387 | * configure.ac: Revert my previous patch. | |
3388 | * configure: Regenerate. | |
3389 | ||
872a65b5 BE |
3390 | 2004-10-20 Ben Elliston <bje@au.ibm.com> |
3391 | ||
3392 | * config/rs6000/rs6000.c | |
3393 | (rs6000_va_start): Use build_va_arg_indirect_ref. | |
3394 | (rs6000_gimplify_va_arg): Likewise. | |
3395 | ||
a03ea89b BM |
3396 | 2004-10-20 Bryce McKinlay <mckinlay@redhat.com> |
3397 | ||
3398 | PR java/15575 | |
3399 | * configure.ac: Declare AM_LANGINFO_CODESET. | |
3400 | * aclocal.m4: Define AM_LANGINFO_CODESET. | |
3401 | * configure, config.in: Rebuilt. | |
3402 | ||
436d948e KH |
3403 | 2004-10-20 Kazu Hirata <kazu@cs.umass.edu> |
3404 | ||
3405 | * expr.c (store_expr): Remove code that is run when | |
3406 | want_value & 1 is nonzero. | |
3407 | ||
b235bd44 MM |
3408 | 2004-10-20 Mark Mitchell <mark@codesourcery.com> |
3409 | ||
3410 | * gthr-posix.h (__gthread_active_p): Use __extension__ around cast | |
3411 | from function pointer to void *. | |
3412 | ||
d0edbeec KK |
3413 | 2004-10-20 Kaz Kojima <kkojima@gcc.gnu.org> |
3414 | ||
3415 | PR target/18032 | |
3416 | * config/sh/sh.c (sh_expand_epilogue): Emit a blockage insn before | |
3417 | the frame pointer adjustment when exception handling is enabled. | |
3418 | ||
34bc6352 KH |
3419 | 2004-10-20 Kazu Hirata <kazu@cs.umass.edu> |
3420 | ||
3421 | * stor-layout.c: Fix a comment typo. | |
3422 | ||
f45bdcd0 KH |
3423 | 2004-10-20 Kazu Hirata <kazu@cs.umass.edu> |
3424 | ||
3425 | * expr.c (store_field): Remove two arguments value_mode and | |
3426 | unsignedp. | |
3427 | (expand_assignment, store_constructor_field, | |
3428 | expand_expr_real_1): Adjust calls to store_field. | |
3429 | ||
3430 | 2004-10-18 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com> | |
3431 | ||
3432 | * config/arc/lib1funcs.asm (___umulsidi3): Correct usage of flags. | |
3433 | ||
3434 | PR target/17317 | |
3435 | * config/arc/arc.h (REGNO_OK_FOR_BASE_P,REGNO_OK_FOR_INDEX_P, | |
3436 | REG_OK_FOR_BASE, REG_OK_FOR_INDEX): Consider blink(r31) as a valid | |
3437 | base and index register for loads. | |
3438 | ||
4f8102db RR |
3439 | * config/arc/t-arc: Fix multilib handling. |
3440 | ||
b55d5746 HPN |
3441 | 2004-10-20 Hans-Peter Nilsson <hp@bitrange.com> |
3442 | ||
9524880c HPN |
3443 | * cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, |
3444 | don't inspect BLOCK_FOR_INSN for barriers. | |
3445 | * emit-rtl.c (emit_barrier_before): Revert last change. | |
3446 | (emit_barrier_after, emit_barrier): Ditto. | |
3447 | ||
b55d5746 HPN |
3448 | * doc/extend.texi (Extended Asm): Warn and provide example |
3449 | solution for using a call-clobbered asm register. | |
3450 | (Local Reg Vars): Similar. Cross-reference example. | |
3451 | ||
d717e500 AP |
3452 | 2004-10-19 Andrew Pinski <pinskia@physics.uc.edu> |
3453 | ||
3454 | * tree-cfg.c (group_case_labels): Look at the second to last | |
3455 | case statement for combing with the default case. | |
3456 | ||
e4ca3dc3 RH |
3457 | 2004-10-19 Richard Hendeson <rth@redhat.com> |
3458 | ||
3459 | PR 17962 | |
3460 | * stor-layout.c (layout_type): Set TYPE_ALIGN for vectors. | |
3461 | ||
953312a8 RH |
3462 | 2004-10-19 Richard Hendeson <rth@redhat.com> |
3463 | ||
3464 | * builtins.c (expand_builtin_memmove): If fold_builtin_memmove | |
3465 | succeeds, only expand the result. | |
3466 | ||
a8afd3ac RH |
3467 | 2004-10-19 Richard Hendeson <rth@redhat.com> |
3468 | ||
3469 | PR middle-end/17885 | |
3470 | * tree.c (recompute_tree_invarant_for_addr_expr): Always poll address | |
3471 | of INDIRECT_REF. | |
3472 | ||
e61d7b78 KH |
3473 | 2004-10-19 Kazu Hirata <kazu@cs.umass.edu> |
3474 | ||
3475 | * tree-cfg.c (thread_jumps): Use a do-while loop instead of a | |
3476 | loop with goto. | |
3477 | ||
e836a5a2 KH |
3478 | 2004-10-19 Kazu Hirata <kazu@cs.umass.edu> |
3479 | ||
3480 | * expr.c (expand_assignment): Remove the last argument. | |
3481 | Change the return type to void. | |
3482 | * expr.h: Update the prototype of expand_assignment. | |
3483 | * function.c (assign_parm_setup_reg): Update a call to | |
3484 | expand_assignment. | |
3485 | * stmt.c (expand_asm_expr): Likewise. | |
3486 | ||
7f8adc4e KH |
3487 | 2004-10-19 Kazu Hirata <kazu@cs.umass.edu> |
3488 | ||
3489 | * expr.c (expand_expr_real_1) <MODIFY_EXPR>: Remove | |
3490 | unnecessary assignments to temp. Return const0_rtx. | |
3491 | ||
f94cef0a KK |
3492 | 2004-10-19 Kaz Kojima <kkojima@gcc.gnu.org> |
3493 | ||
3494 | * config/sh/sh.c (sh5_schedule_saves): Fix typo. | |
3495 | ||
4c67db14 KC |
3496 | 2004-10-18 Kelley Cook <kcook@gcc.gnu.org> |
3497 | ||
3498 | * configure.ac (powerpc-*-darwin*): Require assembler to support | |
3499 | .machine directive. | |
3500 | * configure: Regenerate. | |
3501 | ||
00268eb3 KH |
3502 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3503 | ||
3504 | * reload1.c (ior_hard_reg_set): Remove. | |
3505 | (finish_spills): Use IOR_HARD_REG_SET instead of | |
3506 | ior_hard_reg_set. | |
3507 | ||
26ebd00d KH |
3508 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3509 | ||
3510 | * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Speed up by shifting | |
3511 | the currently visited word to right. | |
3512 | ||
6e7a355c EB |
3513 | 2004-10-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
3514 | ||
3515 | PR middle-end/18045 | |
3516 | * expmed.c (expand_smod_pow2): Handle modes whose size | |
3517 | is greater than that of HOST_WIDE_INT. | |
3518 | ||
d4de6966 ZL |
3519 | 2004-10-18 Ziemowit Laski <zlaski@apple.com> |
3520 | ||
3521 | * c-parse.in (reservedwords): Add OBJC_TYPE_QUAL as alternative. | |
3522 | ||
a494ed43 | 3523 | 2004-10-18 Eric Botcazou <ebotcazou@libertysurf.fr> |
3e487b21 | 3524 | Roger Sayle <roger@eyesopen.com> |
a494ed43 EB |
3525 | |
3526 | PR middle-end/17813 | |
3527 | * dojump.c (discard_pending_stack_adjust): New function. | |
3528 | (clear_pending_stack_adjust): Call it. | |
3529 | * expr.h (discard_pending_stack_adjust): Declare it. | |
3530 | * explow.c (emit_stack_save): Emit pending stack adjustments | |
3531 | before saving the stack pointer. | |
3532 | (emit_stack_restore): Discard pending stack adjustments before | |
3533 | restoring the stack pointer. | |
3534 | ||
a2d36602 RH |
3535 | 2004-10-18 Richard Henderson <rth@redhat.com> |
3536 | ||
3e487b21 | 3537 | * c-common.c (handle_mode_attribute): Allow scalar->vector |
a2d36602 RH |
3538 | type changes yet. |
3539 | ||
df9af2bb KH |
3540 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3541 | ||
3542 | * expr.c (expand_expr_real_1) [MODIFY_EXPR]: Don't request a | |
3543 | value to expand_assignment. | |
3544 | ||
ab51c2f0 KH |
3545 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3546 | ||
3547 | * tree-cfg.c (cleanup_tree_cfg): Don't iterate on | |
3548 | thread_jumps. | |
3549 | (thread_jumps): Iterate until no new forwarder block arises. | |
3550 | ||
78b6731d KH |
3551 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3552 | ||
3553 | * tree-cfg.c (tree_forwarder_block_p): Don't set forwardable. | |
3554 | (thread_jumps): Use forwardable as cache of | |
3555 | tree_forwarder_block_p throughout the function. | |
3556 | ||
320b0f6a AK |
3557 | 2004-10-18 Andreas Krebbel <krebbel1@de.ibm.com> |
3558 | ||
3559 | * cfg.c (dump_flow_info): Remove redundant dump of reg life info. | |
3560 | ||
77568960 AP |
3561 | 2004-10-18 Andrew Pinski <pinskia@physics.uc.edu> |
3562 | ||
3563 | PR middle-end/15014 | |
3564 | PR middle-end/16973 | |
3565 | * tree-cfg.c (remove_bb): If we have a label expression in the | |
3566 | basic block and the label we have taken the address, move the | |
3567 | label expression to the basic block which is previous in the | |
3568 | linked list. | |
3569 | (tree_verify_flow_info): Fix printing out the label name of the | |
3570 | problematic label expression. | |
3571 | ||
b757b9f8 PH |
3572 | 2004-10-18 Pat Haugen <pthaugen@us.ibm.com> |
3573 | ||
b1c79b46 | 3574 | PR rtl-optimization/18002 |
b757b9f8 PH |
3575 | * simplify-rtx.c (mode_signbit_p): Externalize function... |
3576 | * rtl.h (mode_signbit_p): ... to here. | |
3577 | * combine.c (simplify_shift_const): Recognize PLUS signbit as | |
3578 | canonical form of XOR signbit and move to outer op. | |
3579 | ||
1a1804c2 DN |
3580 | 2004-10-18 Diego Novillo <dnovillo@redhat.com> |
3581 | ||
3582 | * tree-cfg.c (bsi_for_stmt): Rename from stmt_for_bsi. | |
3583 | Update all callers. | |
3584 | * tree-ssa.c (replace_immediate_uses): Call bsi_for_stmt. | |
3585 | Don't call fold_stmt more than once, use bsi_replace. | |
3586 | ||
bca9e17b DN |
3587 | 2004-10-18 Diego Novillo <dnovillo@redhat.com> |
3588 | ||
3589 | PR tree-optimization/17656 | |
3590 | * tree-ssa.c (replace_immediate_uses): When replacing a | |
3591 | constant, if the call to fold_stmt produced a different | |
3592 | statement, get an appropriate statement pointer by scanning | |
3593 | STMT's basic block. | |
3594 | ||
b4992641 RH |
3595 | 2004-10-18 Richard Henderson <rth@redhat.com> |
3596 | ||
3597 | * pointer-set.c (hash1): Don't use libm functions in fallback case. | |
3598 | ||
f072a5c8 | 3599 | 2004-10-18 H.J. Lu <hongjiu.lu@intel.com> |
3b415018 L |
3600 | |
3601 | PR bootstrap/17684 | |
3602 | * Makefile.in (clean): Remove libgcc_s$(SHLIB_EXT).1.stage?. | |
3603 | (stage1-start): Remove and copy libunwind.a and | |
3604 | libunwind*$(SHLIB_EXT) instead of libunwind*. | |
3605 | (stage2-start): Likewise. | |
3606 | (stage3-start): Likewise. | |
3607 | (stage4-start): Likewise. | |
3608 | (stageprofile-start): Likewise. | |
3609 | (stagefeedback-start): Likewise. | |
3610 | ||
3611 | * config/alpha/t-osf4 (SHLIB_LINK): Use a temporary file for | |
3612 | the shared library to be created and don't remove the existing | |
3613 | shared library. | |
3614 | * config/arm/t-netbsd (SHLIB_LINK): Likewise. | |
3615 | * config/i386/t-nwld (SHLIB_LINK): Likewise. | |
3616 | * config/mips/t-slibgcc-irix (SHLIB_LINK): Likewise. | |
3617 | * config/pa/t-hpux-shlib (SHLIB_LINK): Likewise. | |
3618 | * config/sh/t-linux (SHLIB_LINK): Likewise. | |
3619 | * config/t-libunwind-elf (SHLIBUNWIND_LINK): Likewise. | |
3620 | * config/t-slibgcc-darwin (SHLIB_LINK): Likewise. | |
3621 | * config/t-slibgcc-elf-ver (SHLIB_LINK): Likewise. | |
3622 | * config/t-slibgcc-sld (SHLIB_LINK): Likewise. | |
3623 | ||
3624 | * mklibgcc.in (libgcc-stage-start): Also move "*${objext}s" | |
3625 | files. | |
3626 | ||
a2041967 KH |
3627 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3628 | ||
3629 | * basic-block.h (reg_set_iterator): New. | |
3630 | (EXECUTE_IF_SET_IN_REG_SET): Make it iterator style. | |
3631 | (EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise. | |
3632 | (EXECUTE_IF_AND_IN_REG_SET): Likewise. | |
3633 | * caller-save.c (save_call_clobbered_regs): Adjust to the new | |
3634 | style. | |
3635 | * cfgcleanup.c (thread_jump): Likewise. | |
3636 | * cfgrtl.c (safe_insert_insn_on_edge): Likewise. | |
3637 | * conflict.c (conflict_graph_compute): Likewise. | |
3638 | * flow.c (verify_local_live_at_start, update_life_info, | |
3639 | initialize_uninitialized_subregs, propagate_one_insn, | |
3640 | init_propagate_block_info, free_propagate_block_info, | |
3641 | propagate_block, dump_regset): Likewise. | |
3642 | * global.c (global_conflicts): Likewise. | |
3643 | * graph.c (start_bb): Likewise. | |
3644 | * local-alloc.c (update_equiv_regs): Likewise. | |
3645 | * loop.c (load_mems): Likewise. | |
3646 | * reload1.c (compute_use_by_pseudos, order_regs_for_reload, | |
3647 | find_reg, finish_spills): Likewise. | |
3648 | * resource.c (mark_target_live_regs): Likewise. | |
3649 | * sched-deps.c (sched_analyze_insn): Likewise. | |
3650 | * sched-rgn.c (sched-rgn.c): Likewise. | |
3651 | * config/frv/frv.c (frv_ifcvt_modify_tests): Likewise. | |
3652 | ||
ba3ed8d8 JJ |
3653 | 2004-10-18 Jakub Jelinek <jakub@redhat.com> |
3654 | ||
3655 | * config/i386/i386.md (addqi_1_slp): Test for incdec_operand | |
3656 | operand 1 instead of 2 | |
3657 | ||
2cd0e9f4 KH |
3658 | 2004-10-18 Kazu Hirata <kazu@cs.umass.edu> |
3659 | ||
3660 | * loop-unroll.c: Fix comment typos. | |
3661 | ||
f37a4f14 RE |
3662 | 2004-10-18 Revital Eres <eres@il.ibm.com> |
3663 | ||
3664 | * Makefile.in (loop-unroll.o): Add VARRAY_H dependency. | |
3665 | * loop-unroll.c: Include varray.h. | |
3666 | (struct var_to_expand, struct opt_info): Rename split_ivs_info to | |
3667 | opt_info and expand it to support variable expansion. | |
3668 | (analyze_insns_in_loop): Rename analyze_ivs_to_split and | |
3669 | expand it to support variable expansion. | |
3670 | (pt_info_start_duplication): Rename si_info_start_duplication. | |
3671 | (apply_opt_in_copies): Rename split_ivs_in_copies and add support | |
3672 | to the variable expansion optimization. | |
3673 | (free_opt_info): Rename free_si_info. | |
3674 | (analyze_insn_to_expand_var, referenced_in_one_insn_in_loop_p, | |
3675 | expand_var_during_unrolling, insert_var_expansion_initialization, | |
3676 | combine_var_copies_in_loop_exit, release_var_copies, | |
3677 | get_expansion): New functions. | |
3678 | (peel_loop_completely, unroll_loop_constant_iterations, | |
3679 | unroll_loop_runtime_iterations, peel_loop_simple, | |
3680 | unroll_loop_stupid): Change uses of struct si_info | |
3681 | to struct opt_info | |
3682 | and add uses of fvariable-expansion-in-unroller flag. | |
3683 | * params.def: Add parameter to restrict the number of expansions. | |
3684 | * params.h: (MAX_VARIABLE_EXPANSIONS): New define to restrict | |
3685 | the number of expansions. | |
3e487b21 | 3686 | * common.opt: (fvariable-expansion-in-unroller): New flag. |
f37a4f14 RE |
3687 | * doc/invoke.texi: (fvariable-expansion-in-unroller): Document. |
3688 | ||
535306d0 DS |
3689 | 2004-10-18 Danny Smith <dannysmith@users.sourceforge.net> |
3690 | ||
3691 | * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Define | |
3692 | __GXX_MERGED_TYPEINFO_NAMES to 0. | |
3693 | ||
0ca541aa HPN |
3694 | 2004-10-17 Hans-Peter Nilsson <hp@bitrange.com> |
3695 | ||
3696 | * cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, | |
3697 | handle barriers in a bb by checking that it points to a NULL bb. | |
3698 | * emit-rtl.c (emit_barrier_before): Set BLOCK_FOR_INSN to NULL. | |
3699 | (emit_barrier_after, emit_barrier): Ditto. | |
3700 | ||
7dcb0442 JM |
3701 | 2004-10-18 Joseph S. Myers <jsm@polyomino.org.uk> |
3702 | ||
3703 | * doc/extend.texi (Attribute Syntax): Clarify details of | |
3704 | attributes on parameters. | |
3705 | ||
e9472263 ZD |
3706 | 2004-10-17 Zdenek Dvorak <dvorakz@suse.cz> |
3707 | ||
3708 | * tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Move checking out of | |
3709 | loop. | |
3710 | ||
7c672dfc AP |
3711 | 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> |
3712 | ||
3713 | Revert: | |
3714 | 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> | |
3715 | ||
3e487b21 ZW |
3716 | * c-typeck.c (default_function_array_conversion): Always create |
3717 | &a[0] for array types. | |
3718 | (build_unary_op): Do not fold &a[x] into a + x. | |
7c672dfc | 3719 | |
ac8245fa AP |
3720 | 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> |
3721 | ||
3722 | PR middle-end/17925 | |
3723 | * cfgexpand.c (expand_gimple_cond_expr): Emit line notes for next basic | |
3724 | block if there is a goto with a locus. | |
3725 | ||
caec2cfc KH |
3726 | 2004-10-17 Kazu Hirata <kazu@cs.umass.edu> |
3727 | ||
3728 | * config/elfos.h, config/gofast.h, config/interix.h, | |
3729 | config/netbsd.h, config/svr3.h, config/vxworks.h, | |
3730 | config/alpha/alpha-modes.def, config/alpha/alpha-protos.h, | |
3731 | config/alpha/ev4.md, config/alpha/ev5.md, config/alpha/ev6.md, | |
3732 | config/alpha/netbsd.h, config/arm/arm-modes.def, | |
3733 | config/arm/unknown-elf.h, config/c4x/c4x-modes.def, | |
3734 | config/cris/aout.h, config/frv/frv-modes.def, | |
3735 | config/i386/beos-elf.h, config/i386/gas.h, | |
3736 | config/i386/i386-coff.h, config/i386/i386-modes.def, | |
3737 | config/i386/linux.h, config/i386/linux64.h, | |
3738 | config/i386/mingw32.h, config/i386/netbsd-elf.h, | |
3739 | config/i386/netbsd64.h, config/i386/sco5.h, | |
3740 | config/i386/sol2.h, config/i386/uwin.h, config/i860/i860.md, | |
3741 | config/ia64/ia64-modes.def, config/ia64/itanium1.md, | |
3742 | config/ia64/itanium2.md, config/m68k/m68k-modes.def, | |
3743 | config/mips/mips-modes.def, config/mips/sdb.h, | |
3744 | config/mips/vr.h, config/mips/vxworks.h, | |
3745 | config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, | |
3746 | config/pa/pa32-linux.h, config/rs6000/40x.md, | |
3747 | config/rs6000/7450.md, config/rs6000/8540.md, | |
3748 | config/rs6000/linuxspe.h, config/rs6000/power4.md, | |
3749 | config/rs6000/rs6000-modes.def, config/rs6000/rtems.h, | |
3750 | config/rs6000/spe.h, config/s390/2064.md, config/s390/linux.h, | |
3751 | config/s390/s390-modes.def, config/sh/elf.h, | |
3752 | config/sh/sh-modes.def, config/sh/sh64.h, | |
3753 | config/sparc/ultra1_2.md, config/sparc/ultra3.md, | |
3754 | config/stormy16/stormy16.md, config/v850/v850-protos.h, | |
3755 | config/vax/vax.md: Update copyright. | |
3756 | ||
6c62412f KH |
3757 | 2004-10-17 Kazu Hirata <kazu@cs.umass.edu> |
3758 | ||
3759 | * expr.c (expand_expr_real_1): Remove an obsolete comment. | |
3760 | ||
a2a877e2 AP |
3761 | 2004-10-17 Andrew Pinski <pinskia@physics.uc.edu> |
3762 | ||
3763 | * c-typeck.c (default_function_array_conversion): Always create | |
3764 | &a[0] for array types. | |
3765 | (build_unary_op): Do not fold &a[x] into a + x. | |
3766 | ||
bc54ef99 JJ |
3767 | 2004-10-17 Jakub Jelinek <jakub@redhat.com> |
3768 | ||
3769 | * pointer-set.c (hash1): Use integer part of 2^64 / phi | |
3770 | instead 2^32 / phi if long is 64-bit. | |
3771 | ||
da5b307a JM |
3772 | 2004-10-17 Joseph S. Myers <jsm@polyomino.org.uk> |
3773 | ||
13ceb6d1 | 3774 | * c-common.h (enum rid): Remove RID_PTRBASE, RID_PTREXTENT and |
da5b307a JM |
3775 | RID_PTRVALUE. |
3776 | * c-parse.in (PTR_VALUE, PTR_BASE, PTR_EXTENT): Remove %token | |
3777 | declarations. | |
3778 | (reswords): Remove __ptrbase, __ptrbase__, __ptrextent, | |
3779 | __ptrextent__, __ptrvalue and __ptrvalue__. | |
3780 | (rid_to_yy): Remove RID_PTRBASE, RID_PTREXTENT and RID_PTRVALUE | |
3781 | entries. | |
3782 | ||
4fe52ce9 DJ |
3783 | 2004-10-16 Dale Johannesen <dalej@apple.com> |
3784 | ||
3785 | * c-common.c (c_common_get_alias_set): Use GGC for type_hash_table. | |
3786 | ||
fce22de5 ZD |
3787 | 2004-10-16 Zdenek Dvorak <dvorakz@suse.cz> |
3788 | ||
3789 | PR tree-optimization/17766 | |
3790 | * basic-block.h (enum dom_state): DOM_CONS_OK removed. | |
3791 | (dom_info_available_p): Declare. | |
3792 | * cfghooks.c (split_block, make_forwarder_block): Use | |
3793 | dom_info_available_p. | |
3794 | * dominance.c (compute_dom_fast_query, calculate_dominance_info, | |
3795 | free_dominance_info, verify_dominators): Ditto. | |
3796 | (dom_info_available_p): New function. | |
3797 | * tree-cfg.c (cleanup_control_expr_graph): Free dominance information. | |
3798 | (thread_jumps): Use dom_info_available_p. | |
3799 | * tree-complex.c (expand_complex_div_wide): Ditto. | |
3800 | * tree-mudflap.c (mf_build_check_statement_for): Ditto. | |
3801 | ||
80cad5fa ZD |
3802 | 2004-10-16 Zdenek Dvorak <dvorakz@suse.cz> |
3803 | ||
3804 | * tree-ssa-loop-ivopts.c (struct ivopts_data): New field important_candidates. | |
3805 | (find_best_candidate): Take also important candidates into account. | |
3806 | (find_optimal_iv_set): Initialize important_candidates bitmap. | |
3807 | ||
f59b0bd4 ZD |
3808 | 2004-10-16 Zdenek Dvorak <dvorakz@suse.cz> |
3809 | ||
3810 | PR tree-optimization/17560 | |
3811 | * predict.c (tree_estimate_probability): Mark irreducible | |
3812 | loops. | |
3813 | ||
71068e31 ZD |
3814 | 2004-10-16 Zdenek Dvorak <dvorakz@suse.cz> |
3815 | ||
3816 | PR rtl-optimization/17723 | |
3817 | * cfgcleanup.c (merge_memattrs): Handle case when | |
3818 | MEM_SIZE == NULL_RTX. | |
3819 | ||
29c431a1 AP |
3820 | 2004-10-15 Andrew Pinski <pinskia@physics.uc.edu> |
3821 | ||
3822 | * toplev.c (dump_file_name): Change type to be const. | |
3823 | ||
dee3cda5 JM |
3824 | 2004-10-15 Joseph S. Myers <jsm@polyomino.org.uk> |
3825 | ||
3826 | * c-typeck.c (build_compound_expr, build_c_cast): Don't try to use | |
3827 | non_lvalue to stop something being a null pointer constant. | |
3828 | ||
b2df7d08 AH |
3829 | 2004-10-15 Aldy Hernandez <aldyh@redhat.com> |
3830 | ||
3831 | * config/rs6000/rs6000.h (FUNCTION_ARG_REGNO_P): FPRs are only | |
3832 | available for TARGET_FPRS. | |
3833 | (FUNCTION_VALUE_REGNO_P): Same. | |
3834 | ||
7088c6e4 GK |
3835 | 2004-10-15 Geoffrey Keating <geoffk@apple.com> |
3836 | ||
3837 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document | |
3838 | -maltivec in same style as other ISA options. | |
3839 | ||
eff41b9f JG |
3840 | 2004-10-15 Jon Grimm <jgrimm2@us.ibm.com> |
3841 | ||
3842 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Add __powerpc__ | |
3843 | definition. | |
3844 | ||
f30278e8 KH |
3845 | 2004-10-15 Kazu Hirata <kazu@cs.umass.edu> |
3846 | ||
3847 | * bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h, | |
3848 | collect2.h, conflict.c, coretypes.h, coverage.h, errors.h, | |
3849 | gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c, | |
3850 | genconstants.c, gengenrtl.c, genmodes.c, genpeep.c, | |
3851 | gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c, | |
3852 | gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c, | |
3853 | lists.c, machmode.def, mips-tdump.c, opts.h, params.c, | |
3854 | predict.def, predict.h, protoize.c, reload.h, resource.h, | |
3855 | rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c, | |
3856 | tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c, | |
3857 | unwind-sjlj.c, value-prof.h: Update copyright. | |
3858 | ||
ed8b7558 KH |
3859 | 2004-10-15 Kazu Hirata <kazu@cs.umass.edu> |
3860 | ||
3861 | * pointer-set.c, tree-vectorizer.c: Fix comment typos. | |
3862 | ||
e26ce7ed DN |
3863 | 2004-10-15 Diego Novillo <dnovillo@redhat.com> |
3864 | ||
3865 | * tree-optimize.c (execute_one_pass): Stop timer right after | |
3866 | executing the pass. | |
3867 | ||
53e782e5 AP |
3868 | 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> |
3869 | ||
3870 | Revert: | |
3871 | 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> | |
3872 | PR middle-end/17967 | |
3873 | Revert: | |
3874 | * tree-cfg.c (remove_usless_stmts_cond): Fold statement. | |
3875 | (remove_useless_stmts_1): Fold trees we know how to fold. | |
3876 | ||
d2ab3e37 DE |
3877 | 2004-10-14 David Edelsohn <edelsohn@gnu.org> |
3878 | ||
3879 | * configure.ac: Add .machine power4 directive when testing for | |
3880 | mfcr field. | |
3881 | * configure: Regenerate. | |
3882 | ||
9d948a40 GK |
3883 | 2004-10-14 Geoffrey Keating <geoffk@apple.com> |
3884 | ||
3885 | * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION): Don't define. | |
3886 | ||
eaddbc33 AP |
3887 | 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> |
3888 | ||
3889 | * tree-vectorizer.c (vect_transform_loop): Declare vectorization_factor | |
3890 | always. | |
3891 | ||
a6645c18 DJ |
3892 | 2004-10-14 Daniel Jacobowitz <dan@codesourcery.com> |
3893 | ||
3894 | * config/rs6000/rs6000.h (REG_CLASS_FROM_LETTER): Return NO_REGS | |
3895 | for 'f' if !TARGET_FPRS. | |
3896 | ||
0ba6c56d RH |
3897 | 2004-10-14 Richard Henderson <rth@redhat.com> |
3898 | ||
3899 | PR debug/14492 | |
3900 | * dwarf2out.c (loc_descriptor_from_tree_1): Handle FIX_*_EXPR. | |
3901 | ||
559f2da5 RH |
3902 | 2004-10-14 Richard Henderson <rth@redhat.com> |
3903 | ||
3904 | PR c/17023 | |
3905 | * c-decl.c (store_parm_decls_oldstyle): Care for parameter type | |
3906 | as error_mark_node. | |
3907 | * c-parse.in (compstmt_primary_start): Check cur_stmt_list non-null | |
3908 | instaed of current_function_decl non-null. | |
3909 | ||
0c58f841 MA |
3910 | 2004-10-14 Matt Austern <austern@apple.com> |
3911 | ||
3912 | * pointer-set.c: New file, special-purpose hash table. | |
3913 | * pointer-set.h: New file. | |
3914 | * tree.h (struct pointer_set_t): Declare as opaque type. | |
3915 | (tree_walk): Last argument is pointer_set_t* now. | |
3916 | * tree-inline.c (WALK_SUBTREE): Convert from htab to pset. | |
3e487b21 | 3917 | (walk_type_fields): |
0c58f841 MA |
3918 | (walk_tree): Convert from htab_t to pointer_set_t for keeping |
3919 | track of which nodes have already been visited. | |
3920 | (walk_tree_without_duplicates): Convert from htab_t to pointer_set_t. | |
3921 | * cgraphunit.c (cgraph_create_edges): Likewise. | |
3922 | (cgraph_characterize_statics_local): Likewise. | |
3923 | * tree-dfa.c (collect_dfa_stats): Likewise. | |
3924 | * langhooks-def.h (lhd_tree_inlining_walk_subtrees): Last arg is | |
3925 | pointer_set_t* now. | |
3926 | * langhooks.c (lhd_tree_inlining_walk_subtrees): Likewise. | |
3927 | * langhooks.h (struct lang_hooks_for_tree_inlining): Last arg type | |
3928 | of walk_subtrees is pointer_set_t* now. | |
3929 | * Makefile.in (OBJS-common): add pointer-set.o | |
3930 | (tree-inline.o): Depends on pointer-set.h | |
3931 | (tree-dfa.o): Likewise | |
3932 | (cgraphunit.o): Likewise | |
3e487b21 | 3933 | |
c4e18b1c GK |
3934 | 2004-10-14 Geoffrey Keating <geoffk@apple.com> |
3935 | ||
3936 | * config/rs6000/darwin.h (ASM_SPEC): Delete. | |
3937 | (TARGET_ASM_FILE_START): Define. | |
3938 | * config/darwin.h (ASM_SPEC): Define. | |
3939 | * config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Don't supply | |
3940 | -mlong-double-128, it's the default. Update comment about reason | |
3941 | for force_cpusubtype_ALL. | |
3942 | * config/rs6000/darwin-vecsave.asm: Supply .machine. | |
3943 | * config/rs6000/darwin-world.asm: Likewise. | |
3944 | * config/rs6000/rs6000.c (rs6000_darwin_file_start): New. | |
3945 | (symbolic_operand): Delete #if 0ed code. | |
3946 | ||
b77aa1f7 AP |
3947 | 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> |
3948 | ||
3949 | * stmt.c (add_case_node): Make sure that we have integer | |
3950 | constant before calling tree_int_cst_compare. | |
3951 | ||
4965c163 AP |
3952 | 2004-10-14 Andrew Pinski <pinskia@physics.uc.edu> |
3953 | ||
3954 | PR middle-end/17967 | |
3955 | Revert: | |
3956 | * tree-cfg.c (remove_usless_stmts_cond): Fold statement. | |
3957 | (remove_useless_stmts_1): Fold trees we know how to fold. | |
3958 | ||
b419bac7 JM |
3959 | 2004-10-14 Joseph S. Myers <joseph@codesourcery.com> |
3960 | ||
3961 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS), | |
3962 | config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow | |
3963 | -m64. | |
3964 | ||
d58005c7 UW |
3965 | 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com> |
3966 | ||
3967 | * reload.c (find_reloads): When reloading a PLUS with constant | |
3968 | operand, make sure the constant is pushed to the constant pool | |
3969 | if required. | |
3970 | * config/s390/s390.c (s390_secondary_input_reload_class): Remove | |
3971 | reload bug workaround. | |
3972 | (s390_expand_plus_operand): Likewise. | |
3973 | ||
3020563a DE |
3974 | 2004-10-14 David Edelsohn <edelsohn@gnu.org> |
3975 | ||
3976 | * opts.c (common_handle_option): Do not enable | |
3977 | flag_speculative_prefetching for -fprofile-generate/use. | |
3978 | ||
0ecf0d5f DP |
3979 | 2004-10-14 Devang Patel <dpatel@apple.com> |
3980 | ||
3981 | PR 17635 | |
3982 | * tree-if-conv.c (process_phi_nodes): Process latch block. | |
3983 | (combine_blocks): Process latch block and update loop structure. | |
3e487b21 | 3984 | |
a023975e OG |
3985 | 2004-10-14 Olga Golovanevsky <olga@il.ibm.com> |
3986 | ||
3987 | * tree-vectorizer.c (vect_generate_tmps_on_preheader): | |
3988 | (vect_update_ivs_after_vectorizer): | |
3989 | (vect_transform_for_unknown_loop_bound): | |
3990 | (tree_duplicate_loop_to_edge): | |
3991 | (allocate_new_names): | |
3992 | (rename_use_op): | |
3993 | (rename_def_op): | |
3994 | (rename_variables_in_bb): | |
3995 | (free_new_names): | |
3996 | (rename_variables_in_loop): | |
3997 | (copy_phi_nodes): | |
3998 | (update_phis_for_duplicate_loop): | |
3999 | (update_phi_nodes_for_guard): | |
4000 | (make_loop_iterate_ntimes): | |
4001 | (tree_duplicate_loop_to_edge_cfg): | |
4002 | (add_loop_guard): | |
4003 | (vect_analyze_loop_with_symbolic_num_of_iters): | |
3e487b21 | 4004 | (verify_loop_for_duplication): |
a023975e OG |
4005 | (vect_gen_niters_for_prolog_loop): |
4006 | (vect_update_niters_after_peeling): | |
4007 | (vect_update_inits_of_dr): | |
4008 | (vect_update_inits_of_drs): | |
4009 | (vect_build_loop_niters): | |
4010 | (vect_do_peeling_for_alignment): New functions. | |
4011 | (vect_transform_loop): Add unknown and known but indivisible loop | |
3e487b21 | 4012 | bound support; add peeling for unalignment support. |
a023975e OG |
4013 | (vect_analyze_loop_form): Support symbolic number of iterations. |
4014 | (vect_transform_loop_bound): New input parameter. | |
4015 | (vect_get_loop_niters): Change input parameter type. | |
4016 | (new_loop_vec_info): LOOP_VINFO_NITERS is tree now. | |
4017 | (vectorizable_store): Allow unaligned access. | |
4018 | (vectorize_loops): Add rewrite_into_loop_closed_ssa. | |
4019 | (vect_analyze_data_refs_alignment): Allowed one unaligned | |
4020 | store. | |
3e487b21 | 4021 | * tree-vectorizer.h (LOOP_VINFO_NITERS_KNOWN_P): Redefined |
a023975e OG |
4022 | to use tree. |
4023 | (LOOP_VINFO_INT_NITERS): New macro. | |
4024 | (MAX_NUMBER_OF_UNALIGNED_DATA_REFS): New define. | |
4025 | (do_peeling_for_alignment): | |
4026 | (unaligned_drs): New members of _loop_vec_info. | |
4027 | (LOOP_DO_PEELING_FOR_ALIGNMENT): New macro. | |
4028 | ||
7238c5ec RM |
4029 | 2004-10-14 Ranjit Mathew <rmathew@hotmail.com> |
4030 | ||
4031 | * tree.h (TREE_STRING_POINTER): Wrap in "const char *". | |
4032 | (struct tree_string): Remove "const" qualifier for "str". | |
4033 | ||
322ae40b IR |
4034 | 2004-10-14 Ira Rosen <irar@il.ibm.com> |
4035 | ||
4036 | * tree-vectorizer.c (vect_analyze_data_refs): Call | |
4037 | vect_get_base_and_bit_offset to get memory tag for array ref. | |
4038 | (vect_create_addr_base_for_vector_ref): Remove redundant checks. | |
4039 | ||
b79187bb RE |
4040 | 2004-10-14 Richard Earnshaw <rearnsha@arm.com> |
4041 | ||
4042 | * configure.ac: Use $LN_S for creating symlinks (not $LN). | |
4043 | * configure: Regenerate. | |
4044 | ||
c7525a64 KG |
4045 | 2004-10-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4046 | ||
4047 | * doc/install.texi (*-*-solaris2*): Update with info about kernel | |
4048 | patches to solve spurious testsuite failures. | |
4049 | ||
f0923257 DN |
4050 | 2004-10-14 Dorit Naishlos <dorit@il.bim.com> |
4051 | ||
4052 | * tree-vectorizer.c (get_vectype_for_scalar_type): Added debug prinouts. | |
4053 | Added check that vectype is VECTOR_MODE_P, instead of check for BLKmode. | |
4054 | (vect_analyze_operations): Make sure the vectorization factor > 1. Add | |
4055 | gcc_assert under ENABLE_CHECKING. | |
4056 | (vectorizable_operation): Remove check for VECTOR_MODE_P (moved to | |
4057 | get_vectype_for_scalar_type). | |
4058 | ||
4059 | (vect_get_vec_def_for_operand): Remove redundant variables. | |
4060 | (vect_transform_loop): Likewise. | |
4061 | ||
a2503645 RS |
4062 | 2004-10-14 Richard Sandiford <rsandifo@redhat.com> |
4063 | ||
4064 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Make r11 fixed and | |
4065 | global for -mcaller-super-interworking. | |
4066 | (CALLER_INTERWORKING_SLOT_SIZE): New macro. | |
4067 | * config/arm/arm.c (thumb_compute_save_reg_mask): Save r11 if | |
4068 | CALLER_INTERWORKING_SLOT_SIZE is nonzero and the function does | |
4069 | not need a frame pointer. | |
4070 | (arm_get_frame_offsets): Add CALLER_INTERWORKING_SLOT_SIZE bytes to | |
4071 | the soft frame pointer offset. | |
4072 | (thumb_expand_prologue): Set up r11 for -mcaller-super-interworking. | |
4073 | * config/arm/arm.md (*call_reg_thumb, *call_value_reg_thumb): Use | |
4074 | _interwork_{r7,r11}_call_via_rN if some arguments are passed on | |
4075 | the stack. Use frame_pointer_needed to choose between them. | |
4076 | * config/arm/lib1funcs.asm (_arm_return_{r7,r11}): New functions. | |
4077 | (interwork_with_frame): New macro. | |
4078 | (interwork): Add _interwork_{r7,r11}_call_via_rN(). | |
4079 | ||
ef9af077 BE |
4080 | 2004-10-14 Ben Elliston <bje@au.ibm.com> |
4081 | ||
4082 | PR other/17900 | |
4083 | * diagnostic.c (trim_filename): Fix logic bug in walking backwards | |
4084 | up the filename looking for a previous directory separator. | |
4085 | ||
81da229b JM |
4086 | 2004-10-14 Joseph S. Myers <jsm@polyomino.org.uk> |
4087 | ||
4088 | * c-tree.h (enum c_typespec_kind, struct c_typespec, | |
4089 | parser_xref_tag): New. | |
4090 | (struct c_declspecs): Add tag_defined_p. Adjust definition of | |
4091 | typedef_p. | |
4092 | (declspecs_add_type): Adjust prototypes. | |
4093 | * c-parse.in (%union): Add tstype. | |
4094 | (typespec_nonattr, typespec_attr, typespec_reserved_nonattr, | |
4095 | typespec_reserved_attr, typespec_nonreserved_nonattr, | |
4096 | structsp_attr, structsp_nonattr): Change to tstype. Update | |
4097 | actions. | |
4098 | * c-decl.c (build_null_declspecs): Initialize tag_defined_p. | |
4099 | (declspecs_add_type): Update to take struct c_typespec argument. | |
4100 | Set tag_defined_p and typedef_p as appropriate. | |
4101 | (xref_tag): Rename to parser_xref_tag and replace by wrapper. | |
4102 | Update to return struct c_typespec. | |
4103 | (shadow_tag_warned): Don't let empty declarations with qualifiers | |
4104 | or storage class specifiers redeclare a tag if a previous | |
4105 | declaration is visible. | |
4106 | ||
d8cb0614 RH |
4107 | 2004-10-13 Richard Henderson <rth@redhat.com> |
4108 | ||
4109 | PR debug/15860 | |
4110 | * dwarf2out.c (rtl_for_decl_location): Apply big-endian correction | |
4111 | for DECL_INCOMING_RTL. | |
4112 | ||
bf6ac87c HPN |
4113 | 2004-10-14 Hans-Peter Nilsson <hp@axis.com> |
4114 | ||
4115 | PR target/17984 | |
4116 | * config/cris/cris.md (asrandb, asrandw, lsrandb, lsrandw): Apply | |
4117 | trunc_int_for_mode for constants used in shortened mode. | |
4118 | ||
61f03aba RH |
4119 | 2004-10-13 Richard Henderson <rth@redhat.com> |
4120 | ||
3e487b21 ZW |
4121 | PR c/17384 |
4122 | * c-common.c (handle_mode_attribute): Disallow mode changes that | |
4123 | alter the CODE of the top-level type. | |
4124 | ||
4125 | * crtstuff.c (__FRAME_END__): Remove mode attribute. Find 32-bit | |
4126 | integer from internal limits macros. | |
4127 | * config/i386/mm3dnow.h (__v2sf): Fix base type. | |
61f03aba | 4128 | |
32e66afd | 4129 | 2004-10-13 Richard Henderson <rth@redhat.com> |
3e487b21 ZW |
4130 | |
4131 | PR debug/13841 | |
4132 | * function.c (instantiate_decl): Recurse for CONCAT. | |
32e66afd | 4133 | |
520308bc DE |
4134 | 2004-10-13 David Edelsohn <edelsohn@gnu.org> |
4135 | ||
4136 | * config/rs6000/rs6000.md (andsi3): Add attribute "compare" for | |
4137 | andi./andis. | |
4138 | (anddi3): Same. | |
9a3c428b DE |
4139 | (extzvdi_internal1): Add attribute "compare". |
4140 | (extzvdi_internal2): Same. | |
520308bc | 4141 | |
090359d6 TT |
4142 | 2004-10-12 Tom Tromey <tromey@redhat.com> |
4143 | ||
4144 | * doc/md.texi (Insn Canonicalizations): Removed extraneous quote. | |
4145 | ||
2f59e40e DJ |
4146 | 2004-10-13 Dale Johannesen <dalej@apple.com> |
4147 | ||
4148 | * doc/extend.texi (Extended Asm): Rewrite asm volatile description. | |
4149 | ||
ccab73c3 FCE |
4150 | 2004-10-13 Frank Ch. Eigler <fche@redhat.com> |
4151 | ||
4152 | * toplev.c (compile_file): Call mudflap_finish_file from here ... | |
4153 | * c-decl.c (c_write_global_declarations): ... instead of here ... | |
4154 | * cp/decl.c (cp_finish_file): ... and here. | |
4155 | * tree-mudflap.c (mudflap_enqueue_decl): Reword a warning message. | |
4156 | ||
163075a0 AP |
4157 | 2004-10-13 Andrew Pinski <pinskia@physics.uc.edu> |
4158 | ||
4159 | * tree-ssa-dom.c (record_range): Free the element if we are not | |
4160 | going to use it. | |
4161 | ||
e89f2821 TT |
4162 | 2004-10-13 Tom Tromey <tromey@redhat.com> |
4163 | ||
4164 | PR java/15578: | |
4165 | * gcc.c (option_map): Added --extdirs and --encoding. | |
4166 | ||
b9bf58e5 EB |
4167 | 2004-10-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
4168 | ||
4169 | PR target/14454 | |
4170 | * config/sparc/sparc.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Set to | |
4171 | sparc_can_output_mi_thunk. | |
4172 | (sparc_output_mi_thunk): Simplify handling of delta offset. Add | |
4173 | handling of vcall offset. | |
4174 | (sparc_can_output_mi_thunk): New predicate. | |
4175 | * doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Document VCALL_OFFSET. | |
4176 | (TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Delete. | |
4177 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): New target hook. | |
4178 | ||
4179 | * config/sparc/sparc.c (emit_and_preserve): Preserve stack alignment. | |
4180 | ||
4181 | * config/sparc/sparc.md (movdi): Remove redundant test. | |
4182 | ||
2a10039c PB |
4183 | 2004-10-13 Paolo Bonzini <bonzini@gnu.org> |
4184 | ||
4185 | * tree-dump.c (dump_options): Remove TDF_TREE, TDF_RTL, | |
4186 | TDF_IPA from -fdump-tree-*-all. | |
4187 | ||
fe013435 PB |
4188 | 2004-10-13 Paul Brook <paul@codesourcery.com> |
4189 | ||
4190 | * config/arm/arm-protos.h (arm_load_pic_register): Update prototype. | |
4191 | * config/arm/arm.c (thumb_find_work_register): Update comments. | |
4192 | (arm_load_pic_register): Add argument for scratch register. | |
4193 | (arm_expand_prologue, thumb_expand_prologue): Pass extra argument. | |
4194 | * config/arm/arm.md (builtin_setjmp_receiver): Ditto. | |
4195 | ||
50300b4c KH |
4196 | 2004-10-13 Kazu Hirata <kazu@cs.umass.edu> |
4197 | ||
4198 | * tree-data-ref.c: Fix comment typos. | |
4199 | ||
69d49802 JJ |
4200 | 2004-10-13 Jakub Jelinek <jakub@redhat.com> |
4201 | Zdenek Dvorak <dvorakz@suse.cz> | |
4202 | ||
4203 | PR tree-optimization/17724 | |
4204 | * tree-cfg.c (tree_purge_dead_eh_edges): Free dominance info. | |
4205 | ||
13c62176 DN |
4206 | 2004-10-13 Dorit Naishlos <dorit@il.ibm.com> |
4207 | ||
4208 | * rs6000.c (altivec_builtin_mask_for_load): Made static GTY(()). | |
4209 | (altivec_builtin_mask_for_store): Likewise. | |
4210 | (altivec_init_builtins): Use lang_hooks.builtin_function to | |
4211 | create the decls for builtin_altivec_mask_for_load/store. | |
4212 | ||
1ce3d58a NC |
4213 | 2004-10-13 Nick Clifton <nickc@redhat.com> |
4214 | ||
4215 | * config/c4x/c4x.c: Remove inclusion of loop.h. | |
4216 | ||
f76ccf60 BE |
4217 | 2004-10-12 Ben Elliston <bje@au.ibm.com> |
4218 | ||
4219 | * basic-block.h (edge_iterator): Keep the address of VEC(edge) *. | |
4220 | (ei_container): New; renamed. | |
4221 | (ei_start, ei_last): New macros. | |
4222 | (ei_start_1, ei_last_1): Renamed from ei_start. | |
4223 | (ei_last_1, ei_end_p): Use ei_container() where applicable. | |
4224 | (ei_one_before_end_p, ei_next, ei_edge): Likewise. | |
4225 | * gcse.c (remove_reachable_equiv_notes): Use ei_container(). | |
4226 | ||
86df10e3 | 4227 | 2004-10-11 Sebastian Pop <pop@cri.ensmp.fr> |
fe013435 | 4228 | |
86df10e3 SP |
4229 | * Makefile.in (tree-ssa-loop-niter.o): Depends on tree-data-ref.h. |
4230 | * cfgloop.c (initialize_loops_parallel_p): New. | |
3e487b21 | 4231 | (flow_loops_find): Initialize the parallel_p field to true for all |
86df10e3 SP |
4232 | the loops. |
4233 | * tree-ssa-loop-niter.c: Include "tree-data-ref.h". | |
3e487b21 | 4234 | (estimate_numbers_of_iterations_loop): Infers the loop bounds from |
86df10e3 | 4235 | the size of the data accessed in the loop. |
3e487b21 | 4236 | (struct nb_iter_bound): Moved... |
86df10e3 SP |
4237 | * cfgloop.h (struct nb_iter_bound): ... here. |
4238 | (estimated_nb_iterations, parallel_p): New fields in struct loop. | |
4239 | (record_estimate): Declare extern here. | |
4240 | * tree-chrec.c: Fix comments. | |
4241 | (nb_vars_in_chrec): New function. | |
4242 | * tree-chrec.h (nb_vars_in_chrec): Declared here. | |
3e487b21 | 4243 | * tree-data-ref.c: Don't include lambda.h, that is already included |
86df10e3 SP |
4244 | in tree-data-ref.h. |
4245 | (tree_fold_divides_p): Don't check for integer_onep. | |
4246 | (tree_fold_bezout): Removed. | |
4247 | (gcd): New static duplicated function. | |
4248 | (int_divides_p, dump_subscript): New. | |
4249 | (dump_data_dependence_relation): Use dump_subscript. | |
3e487b21 | 4250 | (dump_dist_dir_vectors, dump_ddrs, compute_estimated_nb_iterations, |
86df10e3 | 4251 | estimate_niter_from_size_of_data): New. |
3e487b21 ZW |
4252 | (analyze_array_indexes, analyze_array): Call |
4253 | estimate_niter_from_size_of_data during the detection of array | |
4254 | references. Pass in a pointer to the statement that contains the | |
86df10e3 SP |
4255 | array reference. |
4256 | (all_chrecs_equal_p): New. | |
4257 | (compute_distance_vector): Renamed compute_subscript_distance. | |
4258 | Deal with multivariate conflict functions. | |
3e487b21 | 4259 | (initialize_data_dependence_relation): Initialize DDR_AFFINE_P, |
86df10e3 SP |
4260 | DDR_SIZE_VECT, DDR_DIST_VECT, and DDR_DIR_VECT. |
4261 | (non_affine_dependence_relation): New. | |
3e487b21 ZW |
4262 | (analyze_ziv_subscript, analyze_siv_subscript_cst_affine, |
4263 | analyze_siv_subscript, analyze_miv_subscript, | |
4264 | analyze_overlapping_iterations, subscript_dependence_tester): | |
86df10e3 SP |
4265 | Initialize and return last_conflicts function. |
4266 | (initialize_matrix_A, FLOOR, compute_overlap_steps_for_affine_univar, | |
4267 | compute_overlap_steps_for_affine_1_2): New. | |
4268 | (analyze_siv_subscript_affine_cst): Removed. | |
3e487b21 ZW |
4269 | (analyze_subscript_affine_affine): Disprove dependences based on the |
4270 | iteration domains. Solve the univariate dependence case as before, | |
86df10e3 SP |
4271 | but use lambda_matrix_right_hermite instead of tree_fold_bezout. |
4272 | Implement the multivariate case of 2 versus 1 variables. | |
3e487b21 | 4273 | (build_classic_dist_vector, build_classic_dir_vector): Implement some |
86df10e3 | 4274 | unhandled cases. |
3e487b21 | 4275 | (find_data_references_in_loop): Compute and initialize |
86df10e3 SP |
4276 | loop->estimated_nb_iterations and loop->parallel_p. |
4277 | (analyze_all_data_dependences): Modify the debug dump order. | |
4278 | * tree-data-ref.h (SUB_LAST_CONFLICT_IN_A, SUB_LAST_CONFLICT_IN_B, | |
4279 | subscript->last_conflict_in_a, subscript->last_conflict_in_b): Removed. | |
3e487b21 | 4280 | (SUB_LAST_CONFLICT, subscript->last_conflict, |
86df10e3 SP |
4281 | data_dependence_relation->affine_p, data_dependence_relation->size_vect, |
4282 | DDR_AFFINE_P, DDR_SIZE_VECT): New. | |
4283 | (find_data_references_in_loop, initialize_data_dependence_relation, | |
4284 | dump_subscript, dump_ddrs, dump_dist_dir_vectors): Declared here. | |
4285 | ||
06c3418c KC |
4286 | 2004-10-12 Kelley Cook <kcook@gcc.gnu.org> |
4287 | ||
4288 | * configure: Regenerate. | |
4289 | ||
01d8c00b FJ |
4290 | 2004-10-12 Fariborz Jahanian <fjahanian@apple.com> |
4291 | ||
4292 | PR 17892 | |
4293 | * tree-ssa-dom.c (unsafe_associative_fp_binop): New function. | |
4294 | (simplify_rhs_and_lookup_avail_expr): Disallow associativity | |
3e487b21 | 4295 | and constant folding of floating point MULT_EXPR/PLUS_EXPR |
01d8c00b FJ |
4296 | expressions. |
4297 | ||
967af719 UW |
4298 | 2004-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
4299 | ||
4300 | * config/s390/s390.c (s390_va_start): Use build_va_arg_indirect_ref. | |
4301 | (s390_gimplify_va_arg): Likewise. | |
4302 | ||
888d2cd6 DJ |
4303 | 2004-10-12 Daniel Jacobowitz <dan@debian.org> |
4304 | ||
4305 | * defaults.h (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P) | |
4306 | (MODE_BASE_REG_REG_CLASS, REGNO_MODE_OK_FOR_REG_BASE_P) | |
4307 | (REG_MODE_OK_FOR_REG_BASE_P): Provide default definitions. | |
4308 | * regclass.c (record_address_regs): Remove ifdef. Use | |
4309 | REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS. | |
4310 | * regrename.c (REG_MODE_OK_FOR_BASE_P): Remove unnecessary | |
4311 | definition. | |
4312 | (scan_rtx_address, replace_oldest_value_addr): Use | |
4313 | REG_MODE_OK_FOR_REG_BASE_P and MODE_BASE_REG_REG_CLASS. | |
4314 | * reload.c (REGNO_MODE_OK_FOR_BASE_P, REG_MODE_OK_FOR_BASE_P): Remove | |
4315 | unnecessary definitions. | |
4316 | (find_reloads_address_1): Support REG_MODE_OK_FOR_REG_BASE_P | |
4317 | and MODE_BASE_REG_REG_CLASS. | |
4318 | * config/arm/arm.h (MODE_BASE_REG_CLASS): Don't check reload_completed. | |
4319 | (MODE_BASE_REG_REG_CLASS): Define. | |
4320 | (REGNO_MODE_OK_FOR_REG_BASE_P): Define. | |
4321 | (REG_MODE_OK_FOR_REG_BASE_P): Define. | |
4322 | * doc/tm.texi (Register Classes): Document MODE_BASE_REG_REG_CLASS, | |
4323 | REG_MODE_OK_FOR_REG_BASE_P, and REGNO_MODE_OK_FOR_REG_BASE_P. | |
4324 | ||
7dcdacad DB |
4325 | 2004-10-12 Daniel Berlin <dberlin@dberlin.org> |
4326 | ||
4327 | * tree-ssa-alias.c (verify_name_tags): New function. | |
4328 | (verify_flow_sensitive_alias_info): Remove code that used to check name tags. | |
4329 | (verify_alias_info): Call verify_name_tags. | |
4330 | ||
c271ba77 KH |
4331 | 2004-10-12 Kazu Hirata <kazu@cs.umass.edu> |
4332 | ||
4333 | PR rtl-optimization/17931 | |
4334 | * config/i386/i386.c (ix86_rtx_costs): Handle COMPARE with | |
4335 | ZERO_EXTRACT in it. | |
4336 | ||
22de4c3d RE |
4337 | 2004-10-12 Richard Earnshaw <rearnsha@arm.com> |
4338 | ||
4339 | * arm.c (arm_print_operand): Use output_operand_lossage where possible | |
4340 | rather than aborting. | |
4341 | ||
fa91adc6 PB |
4342 | 2004-10-12 Paul Brook <paul@coudesourcery.com> |
4343 | ||
4344 | * config.gcc: Add armv6{k,z,zk} | |
4345 | * config/arm/arm-cores.def: Add arm1176 and mpcore. | |
4346 | * config/arm/tune.md: Regenerate. | |
4347 | * config/arm/arm.c (FL_FOR_ARCH6K, FL_FOR_ARCH6Z, FL_FOR_ARCH6ZK): | |
4348 | Define. | |
4349 | (all_architectures): Add armv6k, armv6z, armv6zk. | |
4350 | * config/arm/lib1funcs.asm: Recognise new arm arcitectures. | |
4351 | * doc/invoke.texi: Document new arch and cpu values. | |
4352 | ||
a3702807 PB |
4353 | 2004-10-12 Paul Brook <paul@coodesourcery.com> |
4354 | ||
4355 | * config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Change meabi=3 to | |
4356 | meabi=4. | |
4357 | ||
49dee49c PB |
4358 | 2004-10-12 Paul Brook <paul@codesourcery.com> |
4359 | ||
4360 | * config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints. | |
4361 | Handle negative constants. | |
4362 | ||
3789b316 JM |
4363 | 2004-10-12 Joseph S. Myers <jsm@polyomino.org.uk> |
4364 | ||
4365 | PR c/17301 | |
4366 | * c-typeck.c (convert_arguments): Return error_mark_node if there | |
4367 | are too few arguments. | |
4368 | (build_function_call): Handle error_mark_node return from | |
4369 | convert_arguments. | |
4370 | ||
35f06ae4 PB |
4371 | 2004-10-06 Paolo Bonzini <bonzini@gnu.org> |
4372 | ||
4373 | * configure.ac (symbolic_link): Replace with $LN_S. | |
4374 | (Assembler/Linker): Hard link from gas and binutils trees. | |
4375 | * aclocal.m4 (gcc_AC_PROG_LN_S): Try "cp -p" before cp. | |
4376 | * configure: Regenerate. | |
4377 | ||
21addcd9 PB |
4378 | 2004-10-12 Paul Brook <paul@codesourcery.com> |
4379 | ||
4380 | * configure.ac: Don't look for host assembler when building a canadian | |
4381 | cross. | |
4382 | * configure: Regenerate. | |
4383 | ||
afd85c1a RS |
4384 | 2004-10-11 Roger Sayle <roger@eyesopen.com> |
4385 | ||
4386 | PR other/17361 | |
4387 | * c-opts.c (permit_fortran_options): Delete/obsolete global variable. | |
4388 | (c_common_init_options): Remove #ifdef CL_F77 code. Scan command | |
4389 | line options for "-lang-asm" and if found allow any of the C-family | |
4390 | front-end options. | |
4391 | (c_common_handle_option): Remove last use of permit_fortran_options. | |
4392 | ||
fc0ea003 UW |
4393 | 2004-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
4394 | ||
4395 | * config/s390/s390.c (print_operand): Support 'S' format flag. | |
4396 | * config/s390/s390.md ("*tmqi_mem"): Use 'S' format flag. | |
4397 | ("*tstsi", "*tstsi_cconly", "*tstsi_cconly2"): Likewise. | |
4398 | ("*tsthiCCT", "*tsthiCCT_cconly", "*tsthi", "*tsthi_cconly"): Likewise. | |
4399 | ("*tstqiCCT", "*tstqiCCT_cconly", "*tstqi", "*tstqi_cconly"): Likewise. | |
4400 | ("*cmphi_ccu", "*cmpqi_ccu", "*clc"): Likewise | |
4401 | ("movti", "*movdi_31", "*movqi", "*movdf_31", "*mvc"): Likewise. | |
4402 | ("*movstricthi"): Likewise. | |
4403 | ("*load_multiple_di", "*load_multiple_si"): Likewise. | |
4404 | ("*store_multiple_di", "*store_multiple_si"): Likewise. | |
4405 | ("*sethiqisi", "*sethihisi"): Likewise. | |
4406 | ("*sethiqidi_64", "*sethiqidi_31"): Likewise. | |
4407 | ("*andqi3_zarch", "*andqi3_esa", "*nc"): Likewise. | |
4408 | ("*iorqi3_zarch", "*iorqi3_esa", "*oc"): Likewise. | |
4409 | ("*xorqi3", "*xc", "*xc_zero"): Likewise. | |
4410 | ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): Likewise. | |
4411 | ||
4412 | ("*tmhi_full"): Fix incorrect op_type attribute. | |
4413 | ||
4414 | ("*adddi3_alc_cc", "*adddi3_alc"): Remove double backslash. | |
4415 | ("*subdi3_slb_cc", "*subdi3_slb"): Likewise. | |
4416 | ("*addsi3_alc_cc", "*addsi3_alc"): Likewise. | |
4417 | ("*subsi3_slb_cc", "*subsi3_slb"): Likewise. | |
4418 | ||
c94b5e7f AP |
4419 | 2004-10-11 Andrew Pinski <pinskia@physics.uc.edu |
4420 | ||
4421 | PR middle-end/16266 | |
4422 | * function.c (temp_slots_at_level): Fix typo which creates too | |
4423 | many temp stack slots levels. | |
4424 | ||
cadc42db UW |
4425 | 2004-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
4426 | ||
4427 | * config/s390/s390.c (s390_trampoline_template): Generate shorter | |
4428 | trampoline code. | |
4429 | (s390_trampoline_instantiate): Adapt. | |
4430 | * config/s390/s390.h (TRAMPOLINE_SIZE): Adapt to new code. | |
4431 | ||
eb172681 RS |
4432 | 2004-10-11 Roger Sayle <roger@eyesopen.com> |
4433 | ||
4434 | PR middle-end/17657 | |
4435 | * stmt.c (add_case_node): Add additional type argument. Declare | |
4436 | as static to match prototype. Convert the upper and lower bounds | |
3e487b21 | 4437 | to the specified index type. Optimize away case ranges/values |
eb172681 RS |
4438 | that are outside the index type's bounds. Truncate case ranges |
4439 | that span the index type's bounds. | |
4440 | (expand_case): Avoid unnessary computation and memory allocation | |
4441 | when index type is error_mark_node. Pass index_type as required | |
4442 | by change to add_case_node API. No need to convert case range | |
4443 | bounds to index_type, this is now done by add_case_node. | |
4444 | ||
19b63d8e UW |
4445 | 2004-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
4446 | ||
4447 | * config/s390/s390-protos.h (s390_offset_p): Add prototype. | |
4448 | * config/s390/s390.c (s390_offset_p): New function. | |
4449 | * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct", "*cmpdi_ccu", | |
4450 | "*cmpsi_ccu", "*cmphi_ccu", "*cmpqi_ccu"): Use splitter to | |
4451 | transform Q->Q alternatives to *clc pattern. | |
4452 | ("*clc"): Move. | |
4453 | ("movti", "*movdi_64", "*movdi_31", "*movsi_zarch", "*movsi_esa", | |
4454 | "*movhi", "*movqi", "*movdf_64", "*movdf_31", "movsf"): Use splitter | |
4455 | to transform Q->Q alternatives to *mvc pattern. | |
4456 | ("*mvc"): Move. Add peephole to merge adjacent MVCs. | |
4457 | ("*anddi3", "*andsi3_zarch", "*andsi3_esa", "*andhi3_zarch", | |
4458 | "*andhi3_esa", "*andqi3_zarch", "*andqi3_esa"): Use splitter to | |
4459 | transform Q->Q alternatives to *nc pattern. | |
4460 | ("*nc"): New insn. New peephole to merge adjacent NCs. | |
4461 | ("*iordi3", "*iorsi3_zarch", "*iorsi3_esa", "*iorhi3_zarch", | |
4462 | "*iorhi3_esa", "*iorqi3_zarch", "*iorqi3_esa"): Use splitter to | |
4463 | transform Q->Q alternatives to *oc pattern. | |
4464 | ("*oc"): New insn. New peephole to merge adjacent OCs. | |
4465 | ("*xordi3", "*xorsi3", "*xorhi3", "*xorqi3"): Use splitter to | |
4466 | transform Q->Q alternatives to *xc pattern. | |
4467 | ("*xc"): New insn. New peephole to merge adjacent XCs. | |
4468 | ("*xc_zero"): Move. Add peephole to merge adjacent XCs. | |
4469 | ||
d775bc45 AP |
4470 | 2004-10-11 Andrew Pinski <pinskia@physics.uc.edu> |
4471 | ||
4472 | * gimplify.c (gimple_push_condition): Make sure that we don't | |
4473 | have any saved condition cleanup if we were at the top level. | |
4474 | ||
6b34e55e RS |
4475 | 2004-10-11 Richard Sandiford <rsandifo@redhat.com> |
4476 | ||
4477 | * config/frv/frv.md (*adddi3_internal): Change name to... | |
4478 | (adddi3): ...replacing the exisiting define_expand. Combine | |
4479 | alternatives. Fix the range of the constant constraints ('J' instead | |
4480 | of 'NOP'). Remove bogus operands[2] check. Use simplify_gen_subreg | |
4481 | to extract the lower and upper halves of the DImode operands. | |
4482 | Always use addi3_lower and adddi3_upper, not the subdi3 forms. | |
4483 | (adddi3_lower): Fix the range of the constant constraints and | |
4484 | remove the bogus operands[2] check. | |
4485 | (adddi3_upper): Use gpr_or_int10_operand as the predicate for | |
4486 | operand 2. Use addxi to handle constant operands. | |
4487 | (subdi3_lower, subdi3_upper): Don't handle constant operands. | |
4488 | ||
422d9921 NS |
4489 | 2004-10-11 Nathan Sidwell <nathan@codesourcery.com> |
4490 | ||
4491 | * gengtype-lex.l: Add commented } & ) characters to unconfuse | |
4492 | editor's paren matching. Allow #define inside a struct. | |
4493 | ||
0ad28dde AP |
4494 | 2004-10-10 Andrew Pinski <pinskia@physics.uc.edu> |
4495 | ||
4496 | PR middle-end/17703 | |
4497 | part of PR c++/17657 | |
4498 | * fold-const.c (fold_build_cleanup_point_expr): New function. | |
4499 | * tree.h (fold_build_cleanup_point_expr): Prototype. | |
4500 | ||
5c70192c EC |
4501 | 2004-10-10 Eric Christopher <echristo@redhat.com> |
4502 | ||
4503 | * dwarf2out.c: Move attribute to subprogram declaration | |
4504 | instead of subroutine type. | |
4505 | ||
9b1f72c4 KH |
4506 | 2004-10-10 Kazu Hirata <kazu@cs.umass.edu> |
4507 | ||
4508 | * basic-block.h: Remove the prototypes for can_hoist_insn_p, | |
4509 | hoist_insn_after, and hoist_insn_to_edge. | |
4510 | * rtl.h: Remove the prototypes for reg_referenced_between_p, | |
4511 | no_jumps_between_p, and insn_dependent_p. | |
4512 | * rtlanal.c (no_jumps_between_p, reg_referenced_between_p, | |
4513 | insn_dependent_p, insn_dependent_p_1, hoist_test_store, | |
4514 | can_hoist_insn_p, hoist_update_store, hoist_insn_after, | |
4515 | hoist_insn_to_edge): Remove. | |
4516 | ||
bba5733f JM |
4517 | 2004-10-10 Joseph S. Myers <jsm@polyomino.org.uk> |
4518 | ||
4519 | PR c/17881 | |
4520 | * c-decl.c (grokparms): Don't warn for parameters of incomplete | |
4521 | type in declarations that are not definitions except for the case | |
4522 | of parameters of void type. | |
4523 | ||
f0b698c1 KH |
4524 | 2004-10-10 Kazu Hirata <kazu@cs.umass.edu> |
4525 | ||
4526 | * tree-cfg.c: Fix comment typos. | |
4527 | ||
c69c9b36 JM |
4528 | 2004-10-10 Joseph S. Myers <jsm@polyomino.org.uk> |
4529 | ||
4530 | PR c/17301 | |
4531 | * builtins.c (expand_builtin_va_start): Check for too few | |
4532 | arguments to va_start. | |
4533 | ||
216a5f1b JM |
4534 | 2004-10-10 Joseph S. Myers <jsm@polyomino.org.uk> |
4535 | ||
4536 | PR c/17189 | |
4537 | * c-decl.c (grokfield): Make diagnostic for bad cases of unnamed | |
4538 | fields a pedwarn. Pedwarn here for unnamed structs/unions if | |
4539 | pedantic. | |
4540 | * c-parse.in (component_decl): Don't pedwarn here for unnamed | |
4541 | fields. | |
4542 | ||
3d5c655f ZD |
4543 | 2004-10-09 Zdenek Dvorak <dvorakz@suse.cz> |
4544 | ||
4545 | PR tree-optimization/17906 | |
4546 | * tree-tailcall.c (tree_optimize_tail_calls_1): Do not attempt to | |
4547 | copy non-gimple reg arguments. | |
4548 | ||
fc7ca5fd RS |
4549 | 2004-10-09 Roger Sayle <roger@eyesopen.com> |
4550 | ||
4551 | PR rtl-optimization/17853 | |
4552 | * simplify-rtx.c (simplify_relational_operation): Correct comment. | |
4553 | Reorganize handling of comparison operations with floating point | |
4554 | results (always return 0.0 even without FLOAT_STORE_FLAG_VALUE). | |
4555 | Likewise, introduce support for comparison operations with vector | |
4556 | result types, introducing a new VECTOR_STORE_FLAG_VALUE target macro. | |
4557 | ||
4558 | * doc/rtl.texi: Document new VECTOR_STORE_FLAG_VALUE target macro. | |
4559 | * doc/tm.texi: Likewise. | |
4560 | ||
35ed0a93 SB |
4561 | 2004-10-09 Steven Bosscher <stevenb@suse.de> |
4562 | ||
4563 | * regs.h (struct reg_info_def): Remove the last_node_uid and | |
4564 | changes_mode fields. | |
4565 | (REGNO_LAST_NOTE_UID): Don't define. | |
4566 | * regclass.c (reg_scan_mark_refs): Don't set REGNO_LAST_NOTE_UID. | |
4567 | * regmove.c (copy_src_to_dest): Likewise. | |
4568 | ||
d2e74f6f RS |
4569 | 2004-10-09 Roger Sayle <roger@eyesopen.com> |
4570 | ||
4571 | PR middle-end/17894 | |
4572 | * fold-const.c (fold_div_compare): When optimizing X/C1 op C2, the | |
4573 | relational comparison operator op needs to be swapped/reversed when | |
4574 | C1 is negative. i.e. X/-10 < 1 becomes X >= -9, not X < -9. | |
4575 | ||
227c4bc7 AP |
4576 | 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> |
4577 | ||
4578 | PR tree-opt/17902 | |
4579 | * tree-ssa-phiopt.c (conditional_replacement): Use bsi_after_labels | |
4580 | instead of bsi_start. | |
4581 | (value_replacement): Likewise. | |
4582 | (abs_replacement): Likewise | |
4583 | ||
b7211528 SB |
4584 | 2004-10-09 Steven Bosscher <stevenb@suse.de> |
4585 | ||
4586 | * cfgexpand.c (maybe_dump_rtl_for_tree_stmt): New function. | |
4587 | (expand_gimple_cond_expr, expand_gimple_tailcall, | |
4588 | expand_gimple_basic_block): Use it to dump RTL for each stmt. | |
4589 | (tree_expand_cfg): Announce full RTL function dump. | |
4590 | * tree-optimize.c (execute_one_pass): Use normal RTL printing, | |
4591 | not the graph version. | |
4592 | * tree-pretty-print.c (dump_generic_node): Allow empty statements | |
4593 | in the arms of a COND_EXPR for lowered nodes. | |
4594 | ||
538e3964 JM |
4595 | 2004-10-08 Joseph S. Myers <joseph@codesourcery.com> |
4596 | ||
4597 | * config/rs6000/spe.h (atosfix16, atosfix32, atosfix64, atoufix16, | |
4598 | atoufix32, atoufix64, strtosfix16, strtosfix32, strtosfix64, | |
4599 | strtoufix16, strtoufix32, strtoufix64): Declare. | |
4600 | ||
6d84156b JM |
4601 | 2004-10-08 Joseph S. Myers <jsm@polyomino.org.uk> |
4602 | ||
4603 | * c-lex.c (interpret_float): Give a pedwarn rather than a warning | |
4604 | for an out-of-range floating point constant. | |
4605 | * builtins.c (fold_builtin_inf): Give a pedwarn rather than a | |
4606 | warning if the target format does not support infinities. | |
4607 | ||
971e29f6 KH |
4608 | 2004-10-08 Kazu Hirata <kazu@cs.umass.edu> |
4609 | ||
4610 | * emit-rtl.c (last_label_num, base_label_num): Remove. | |
4611 | (max_label_num): Always return label_num. | |
4612 | (set_new_last_label_num, restore_emit_status): Remove. | |
4613 | (init_emit): Don't initialize last_label_num. | |
4614 | * function.c (pop_function_context_from): Don't call | |
4615 | restore_emit_status. | |
4616 | * function.h: Remove the prototype for restore_emit_status. | |
4617 | * rtl.h: Remove the prototype for set_new_last_label_num. | |
4618 | ||
f5bb9a23 KH |
4619 | 2004-10-08 Kazu Hirata <kazu@cs.umass.edu> |
4620 | ||
4621 | * stmt.c (expand_decl_init): Remove. | |
4622 | * tree.h: Remove the corresponding prototype. | |
4623 | ||
2a9772e3 KH |
4624 | 2004-10-08 Kazu Hirata <kazu@cs.umass.edu> |
4625 | ||
4626 | * integrate.c (try_constants, subst_constants, mark_stores): | |
4627 | Remove. | |
4628 | * integrate.h: Remove the prototype for try_constants. | |
4629 | ||
6dcc04b0 JM |
4630 | 2004-10-08 Joseph S. Myers <jsm@polyomino.org.uk> |
4631 | ||
4632 | * c-typeck.c (enum impl_conv): Add ic_argpass_nonproto. | |
4633 | (convert_for_assignment): Handle ic_argpass_nonproto. Add | |
4634 | comments about its relevance to errors. | |
4635 | (c_convert_parm_for_inlining): Use ic_argpass_nonproto. | |
4636 | ||
14788775 AP |
4637 | 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu> |
4638 | ||
4639 | PR c/16999 | |
4640 | * c-ppoutput.c (cb_ident): Don't quote string as it is already | |
4641 | quoted. | |
4642 | ||
6048b706 DN |
4643 | 2004-10-08 Diego Novillo <dnovillo@redhat.com> |
4644 | ||
4645 | * tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate | |
4646 | reference_node_pool. | |
4647 | ||
b986ebf3 KH |
4648 | 2004-10-08 Kazu Hirata <kazu@cs.umass.edu> |
4649 | ||
4650 | * tree-cfg.c: Fix a comment typo. | |
4651 | ||
8a512b77 AK |
4652 | 2004-10-08 Andreas Krebbel <krebbel1@de.ibm.com> |
4653 | ||
5c70192c | 4654 | * config/s390/s390.c (s390_register_info): Don't save fprs for |
8a512b77 AK |
4655 | -msoft-float. |
4656 | (s390_conditional_register_usage): Make fprs 'fixed' for -msoft-float. | |
4657 | ||
064e93c2 UW |
4658 | 2004-10-08 Ulrich Weigand <uweigand@de.ibm.com> |
4659 | ||
4660 | * config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define. | |
4661 | (TARGET_DEFAULT): Use symbolic values. | |
4662 | * config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine. | |
4663 | (TARGET_DEFAULT): Use symbolic values. | |
4664 | * config/s390/s390.c (s390_backchain_string): Initialize to | |
4665 | TARGET_DEFAULT_BACKCHAIN. | |
4666 | ||
559837f7 KG |
4667 | 2004-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4668 | ||
4d9ef6a9 KG |
4669 | * builtins.c (expand_builtin_mempcpy): Move tree handling code to |
4670 | fold_builtin_mempcpy. Accept a type parameter. Delete duplicate | |
4671 | code. | |
4672 | (expand_builtin_strcat): Accept a type parameter. | |
4673 | (fold_builtin_mempcpy): Accept a type and endp parameter. | |
4674 | ||
559837f7 KG |
4675 | * builtins.c (expand_builtin_strncpy): Delete duplicate code. |
4676 | Accept an `exp' instead of an `arglist'. | |
4677 | ||
a58eeb31 NS |
4678 | 2004-10-08 Nathan Sidwell <nathan@codesourcery.com> |
4679 | ||
4680 | * tree-tailcall.c (tree_optimize_tail_calls_1): Use fold_convert, | |
4681 | reverting my 2004-09-07 patch to use build_int_cst. | |
4682 | ||
39ba2f92 EB |
4683 | 2004-10-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
4684 | ||
4685 | PR target/17245 | |
4686 | * config/sparc/sparc.c (input_operand): Remove redundant code | |
4687 | for handling LO_SUM. | |
4688 | (legitimate_address_p) <REG+REG>: Do not recheck TARGET_V9. | |
4689 | <LO_SUM>: If LO_SUM is offsettable, accept it for TFmode on V9. | |
4690 | Otherwise only accept it for TFmode if quad move insns are available. | |
4691 | ||
10a52335 KH |
4692 | 2004-10-08 Kazu Hirata <kazu@cs.umass.edu> |
4693 | ||
4694 | * tree-cfg.c (tree_forwarder_block_p): Reorder checks so that | |
4695 | common cases will be caught earlier than others. | |
4696 | ||
a252f3e8 MM |
4697 | 2004-10-08 Michael Matz <matz@suse.de> |
4698 | ||
4699 | * loop-doloop.c (doloop_optimize): Extend count. | |
4700 | ||
07ea92d3 KK |
4701 | 2004-10-08 Kaz Kojima <kkojima@gcc.gnu.org> |
4702 | ||
4703 | * config/sh/sh.md (prefetch_media, prefetch_i4): New insns. | |
4704 | (prefetch): Convert to expander. | |
4705 | ||
4706 | 2004-10-08 Kaz Kojima <kkojima@gcc.gnu.org> | |
4707 | ||
4708 | * config/sh/sh.md (tls_global_dynamic): Use MEM pattern for the | |
4709 | first argument of CALL. | |
4710 | (tls_local_dynamic): Likewise. | |
4711 | ||
2ac2f164 JM |
4712 | 2004-10-08 Joseph S. Myers <jsm@polyomino.org.uk> |
4713 | ||
4714 | * c-typeck.c (enum impl_conv): New. | |
4715 | (convert_for_assignment): Use it. Take tree for function called | |
4716 | instead of its name. Handle ObjC selectors for diagnostics at | |
4717 | start of function. Select diagnostic text within the function | |
4718 | using full sentences for diagnsotics. Use %qE to name functions | |
4719 | in diagnostics. | |
4720 | (convert_arguments, build_modify_expr, | |
4721 | c_convert_parm_for_inlining, digest_init, c_finish_return): Update | |
4722 | callers to convert_for_assignment. | |
4723 | (warn_for_assignment): Remove. | |
4724 | ||
da06f1ae NC |
4725 | 2004-10-08 Nick Clifton <nickc@redhat.com> |
4726 | ||
4727 | * config/sh/symbian.c (symbian_possibly_export_base_class): | |
4728 | Replace use of deleted TYPE_USES_VIRTUAL_BASECLASSES macro with | |
4729 | TYPE_CONTAINS_VPTR_P. | |
4730 | ||
69a53ee8 KI |
4731 | 2004-10-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
4732 | ||
4733 | * config/m32r/m32r.h (CONDITIONAL_REGISTER_USAGE): Don't exclude | |
4734 | fixed registers form all_used_regs. Update call_really_used_regs. | |
4735 | (CALL_REALLY_USED_REGISTERS): Define. | |
4736 | * config/m32r/m32r.c (MUST_SAVE_REGISTER): Replace call_used_regs | |
4737 | with call_really_used_regs. | |
4738 | ||
29ef8952 AM |
4739 | 2004-10-08 Alan Modra <amodra@bigpond.net.au> |
4740 | ||
4741 | * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o | |
4742 | for -profile as well as -p and -pg. | |
4743 | ||
4a750a6d AP |
4744 | 2004-10-07 Andrew Pinski <pinskia@physics.uc.edu> |
4745 | ||
4746 | * libgcc2.c (__moddi3): Cast &w to UDWtype*. | |
4747 | ||
52ea044e KH |
4748 | 2004-10-07 Kazu Hirata <kazu@cs.umass.edu> |
4749 | ||
4750 | * tree-cfg.c (tree_block_forwards_to): Remove. | |
4751 | * tree-flow.h: Remove the corresponding prototype. | |
4752 | ||
d7d086f0 KH |
4753 | 2004-10-07 Kazu Hirata <kazu@cs.umass.edu> |
4754 | ||
4755 | * tree-flow-inline.h (phi_nodes): Remove an unnecessary check | |
4756 | for ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR. | |
4757 | ||
add2402e GK |
4758 | 2004-10-07 Geoffrey Keating <geoffk@apple.com> |
4759 | ||
4760 | Radar 3813796 | |
4761 | * config/rs6000/rs6000.c (rs6000_generate_compare): When | |
4762 | flag_trapping_math is in effect, don't generate subtract | |
4763 | instructions. | |
4764 | ||
0dfa6c5e UW |
4765 | 2004-10-07 Ulrich Weigand <uweigand@de.ibm.com> |
4766 | ||
4767 | * config/s390/s390-protos.h (s390_narrow_logical_operator): Add. | |
4768 | * config/s390/s390.c (s390_narrow_logical_operator): New function. | |
4769 | (s390_extra_constraint_str): Add 'A' constraints. | |
4770 | (s390_const_ok_for_constraint_p): Add 'Nx' constraints. | |
4771 | * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Add 'A' constraint. | |
4772 | (CONSTRAINT_LEN): Likewise. | |
4773 | * config/s390/s390.md ("*anddi3"): Add NI alternative and splitter. | |
4774 | ("*andsi3_zarch", "*andsi3_esa"): Likewise. | |
4775 | ("*andhi3_zarch", "*andhi3_esa"): Likewise. | |
4776 | ("*iordi3"): Add OI alternative and splitter. | |
4777 | ("*iorsi3_zarch", "*iorsi3_esa"): Likewise. | |
4778 | ("*iorhi3_zarch", "*iorhi3_esa"): Likewise. | |
4779 | ("*xordi3"): Add XI alternative and splitter. | |
4780 | ("*xorsi3", "*xorhi3"): Likewise. | |
4781 | ||
94b9aa66 RS |
4782 | 2004-10-07 Richard Sandiford <rsandifo@redhat.com> |
4783 | ||
4784 | * config/mips/mips.c (mips_function_rodata_section): New function. | |
4785 | (TARGET_ASM_FUNCTION_RODATA_SECTION): Use it. | |
4786 | ||
21213b4c DP |
4787 | 2004-10-07 Devang Patel <dpatel@apple.com> |
4788 | ||
b7211528 SB |
4789 | * rs6000/altivec.md (UNSPEC_VCMPBFP, UNSPEC_VCMPEQUB, UNSPEC_VCMPEQUH, |
4790 | UNSPEC_VCMPEQUW, UNSPEC_VCMPGEFP, UNSPEC_VCMPGTUB, UNSPEC_VCMPGTSB, | |
4791 | UNSPEC_VCMPGTUH, UNSPEC_VCMPGTSH, UNSPEC_VCMPGTUW, UNSPEC_VCMPGTSW, | |
4792 | UNSPEC_VCMPGTFP, UNSPEC_VSEL4SI, UNSPEC_VSEL4SF, UNSPEC_VSEL8HI, | |
4793 | UNSPEC_VSEL16QI, UNSPEC_VCOND_V4SI, UNSPEC_VCOND_V4SF, UNSPEC_VCOND_V8HI, | |
5c70192c | 4794 | UNSPEC_VCOND_V16QI, UNSPEC_VCONDU_V4SI, UNSPEC_VCONDU_V8HI, |
21213b4c | 4795 | UNSPEC_VCONDU_V16QI): New constant defines. |
b7211528 | 4796 | (vcondv4si, vcondv4sf, vcondv8hi, vcondv16qi, vconduv4si, vconduv8hi, |
21213b4c | 4797 | vconduv16qi): New patterns. |
b7211528 SB |
4798 | * rs6000/rs6000-protos.h (rs6000_emit_vector_cond_expr): New function. |
4799 | * rs6000/rs6000.c (rs6000_emit_vector_cond_expr): New function. | |
4800 | (get_vec_cmp_insn): Same. | |
4801 | (get_vsel_insn): Same. | |
4802 | (rs6000_emit_vector_compare): Same. | |
4803 | (rs6000_emit_vector_select): Same. | |
21213b4c | 4804 | (INSN_NOT_AVAILABLE): New. |
5c70192c | 4805 | |
14de86fa ZD |
4806 | 2004-10-07 Zdenek Dvorak <dvorakz@suse.cz> |
4807 | ||
4808 | PR tree-optimization/17749 | |
4809 | * tree-tailcall.c (find_tail_calls): Check that parameter is | |
4810 | a gimple_reg. | |
4811 | ||
93348822 KH |
4812 | 2004-10-07 Kazu Hirata <kazu@cs.umass.edu> |
4813 | ||
4814 | * config/ia64/ia64.c: Fix a comment typo. | |
4815 | ||
224edf72 EB |
4816 | 2004-10-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
4817 | ||
4818 | * doc/install.texi (*-*-solaris2*): Fix marker for URL. | |
4819 | ||
09ebcffa GB |
4820 | 2004-10-07 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
4821 | ||
4822 | PR c++/17115 | |
4823 | * tree-inline.c (expand_call_inline): Do not warn for functions | |
4824 | marked with attribute noinline. | |
4825 | ||
22d66adf EB |
4826 | 2004-10-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
4827 | ||
4828 | PR target/17862 | |
4829 | * config/sparc/sparc.c (sparc_output_mi_thunk): Set | |
4830 | current_function_uses_only_leaf_regs as well as sparc_leaf_function_p. | |
4831 | ||
4832 | * config/sparc/sparc.c (sparc_gimplify_va_arg): Pass 'false' instead | |
4833 | of 0 as 4th argument to pass_by_reference. | |
4834 | Call build_va_arg_indirect_ref instead of build_fold_indirect_ref. | |
4835 | ||
29832164 EC |
4836 | 2004-10-06 Eric Christopher <echristo@redhat.com> |
4837 | ||
4838 | * config/sh/sh.c (sh_dwarf_calling_convention): Fix renesas dwarf | |
4839 | attribute. | |
4840 | ||
ac6b57e5 RS |
4841 | 2004-10-07 Richard Sandiford <rsandifo@redhat.com> |
4842 | ||
4843 | PR target/17770 | |
4844 | * config/mips/mips.md (mov_<load>l): Remove hazard=none attribute. | |
4845 | ||
a82bbcbb ZD |
4846 | 2004-10-07 Zdenek Dvorak <dvorakz@suse.cz> |
4847 | ||
4848 | PR rtl-optimization/17791 | |
4849 | * loop-doloop.c (doloop_modify): Take number of iterations as | |
4850 | argument. | |
4851 | (doloop_optimize): Extend or shorten the number of iterations | |
4852 | when changing mode of counter register. | |
4853 | * loop-iv.c (lowpart_subreg): Export. | |
4854 | * rtl.h (lowpart_subreg): Declare. | |
4855 | ||
a746fd8c ZD |
4856 | 2004-10-07 Zdenek Dvorak <dvorakz@suse.cz> |
4857 | ||
4858 | PR tree-optimization/17806 | |
4859 | * cfghooks.c (split_edge): Update IRREDUCIBLE_LOOP flags. | |
4860 | * cfgloopmanip.c (loop_split_edge_with): Updating of IRREDUCIBLE_LOOP | |
4861 | flags moved to split_edge. | |
4862 | ||
38636eac EB |
4863 | 2004-10-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
4864 | ||
176f9629 | 4865 | PR middle-end/17835 |
38636eac EB |
4866 | * expmed.c (expand_sdiv_pow2): Force a stack adjustment |
4867 | before tentatively building the conditional move sequence. | |
4868 | ||
ae8c9754 RS |
4869 | 2004-10-07 Richard Sandiford <rsandifo@redhat.com> |
4870 | ||
4871 | PR target/16815 | |
4872 | * function.c (assign_parm_setup_block_p): Tighten BLOCK_REG_PADDING | |
4873 | check. | |
4874 | * config/pa/pa.h (BLOCK_REG_PADDING): Define in terms of | |
4875 | function_arg_padding. | |
4876 | ||
ed00ab95 RS |
4877 | 2004-10-07 Richard Sandiford <rsandifo@redhat.com> |
4878 | ||
4879 | PR bootstrap/17857 | |
4880 | * Makefile.in (stmp-fixproto): Pass FIX_HEADER=build/... to fixproto. | |
4881 | ||
5ac6107c KH |
4882 | 2004-10-07 Kazu Hirata <kazu@cs.umass.edu> |
4883 | ||
4884 | * hooks.c (hook_int_void_1, hook_void_int): Remove. | |
4885 | * hooks.h: Remove the corresponding prototypes. | |
4886 | ||
a3ed9870 AP |
4887 | 2004-10-06 Andrew Pinski <pinskia@physics.uc.edu> |
4888 | ||
4889 | PR middle-end/17849 | |
4890 | * tree-nested.c (walk_stmt_info): Add changed field. | |
4891 | (convert_nonlocal_reference): Set changed to when we | |
4892 | change a decl to unnested decl. | |
4893 | <case ADDR_EXPR>: Instead of checking if the immediate part | |
4894 | of the ADDR_EXPR changed, check the field changed. | |
4895 | Use recompute_tree_invarant_for_addr_expr instead of unsetting | |
4896 | TREE_INVARIANT. | |
4897 | (convert_local_reference): Set changed to when we | |
4898 | change a decl to unnested decl. | |
4899 | <case ADDR_EXPR>: Instead of checking if the immediate part | |
4900 | of the ADDR_EXPR changed, check the field changed. | |
4901 | Also call recompute_tree_invarant_for_addr_expr on the ADDR_EXPR. | |
4902 | ||
9e749a8b KH |
4903 | 2004-10-06 Kazu Hirata <kazu@cs.umass.edu> |
4904 | ||
4905 | * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove. | |
4906 | * dwarf2out.c (dwarf2out_init): Remove references to | |
4907 | DWARF2_GENERATE_TEXT_SECTION_LABEL. | |
4908 | * system.h: Poison DWARF2_GENERATE_TEXT_SECTION_LABEL. | |
4909 | * doc/tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Remove. | |
4910 | ||
03dafa61 JM |
4911 | 2004-10-06 Joseph S. Myers <jsm@polyomino.org.uk> |
4912 | ||
4913 | * c-typeck.c (convert_arguments): Take expression for called | |
4914 | function rather than its name. Handle ObjC selectors directly | |
4915 | rather than relying on warn_for_assignment to do so. Call warning | |
4916 | directly rather than warn_for_assignment. Use %qE in diagnostics. | |
4917 | Say "argument" rather than "arg" in diagnostics. | |
4918 | (build_function_call): Update call to convert_arguments. | |
4919 | ||
75917fc0 AP |
4920 | 2004-10-06 Andrew Pinski <pinskia@physics.uc.edu> |
4921 | ||
4922 | PR debug/17787 | |
4923 | * dbxout.c (dbxout_symbol): Really handle RECORD, UNION, and | |
4924 | ENUMs specially instead of just saying we do. | |
4925 | ||
df7d2d80 EC |
4926 | 2004-10-06 Eric Christopher <echristo@redhat.com> |
4927 | ||
4928 | * dwarf2.h: Sync with include/elf/dwarf2.h | |
4929 | ||
55e9452e DB |
4930 | 2004-10-06 Daniel Berlin <dberlin@dberlin.org> |
4931 | ||
4932 | * tree-pretty-print.c (dump_generic_node): Fix printing of BINFO | |
df7d2d80 | 4933 | and TREE_VEC nodes. |
55e9452e | 4934 | |
44301a59 DB |
4935 | 2004-10-06 Daniel Berlin <dberlin@dberlin.org> |
4936 | ||
4937 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert | |
4938 | to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value. | |
df7d2d80 | 4939 | |
44301a59 DB |
4940 | 2004-10-06 Daniel Berlin <dberlin@dberlin.org> |
4941 | ||
4942 | * lambda-code.c (compute_nest_using_fourier_motzkin): New | |
4943 | function. | |
4944 | (lambda_compute_auxillary_space): Split from here. | |
4945 | ||
4946 | 2004-10-06 Daniel Berlin <dberlin@dberlin.org> | |
4947 | ||
4948 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop): Make non-static. | |
4949 | * tree-flow.h: Add prototype. | |
4950 | * lambda-code.c (invariant_in_loop_and_outer_loops): Use | |
df7d2d80 | 4951 | expr_invariant_in_loop. |
44301a59 | 4952 | |
4c1d660f KH |
4953 | 2004-10-06 Kazu Hirata <kazu@cs.umass.edu> |
4954 | ||
4955 | * tree-cfg.c (thread_jumps): Remove a duplicate check for | |
4956 | EXIT_BLOCK_PTR. | |
4957 | ||
575f7c2b UW |
4958 | 2004-10-06 Ulrich Weigand <uweigand@de.ibm.com> |
4959 | ||
4960 | * config/s390/s390-protos.h (s_imm_operand): Remove. | |
4961 | (s390_pool_operand): Add prototype. | |
4962 | * config/s390/s390.c (general_s_operand): Remove. | |
4963 | (s_imm_operand): Remove. | |
4964 | (s_operand): Merge contents of general_s_operand. | |
4965 | (s390_pool_operand): New function. | |
4966 | * config/s390/s390.h (PREDICATE_CODES): Remove s_imm_operand. | |
4967 | * config/s390/s390.md ("*cmpdi_cct", "*cmpsi_cct"): New insns. | |
4968 | ("*cmpdi_ccu"): Merge Q->Q alternative. | |
4969 | ("*cmpsi_ccu", "*cmphi_ccu"): Likewise. | |
4970 | ("*cmpqi_ccu"): Merge Q->Q, n->Q, n->S alternatives. | |
4971 | ("*cli"): Remove. | |
4972 | ("*cmpdi_ccu_mem", "*cmpsi_ccu_mem"): Likewise. | |
4973 | ("*cmphi_ccu_mem", "*cmpqi_ccu_mem"): Likewise. | |
4974 | ("*movstricthi"): Use memory_operand instead of s_imm_operand. | |
4975 | ||
d13256a3 SE |
4976 | 2004-10-06 Steve Ellcey <sje@cup.hp.com> |
4977 | ||
4978 | * config/ia64/ia64.h (FUNCTION_ARG_BOUNDARY): Change macro to | |
4979 | call ia64_function_arg_boundary. | |
4980 | * config/ia64/ia64-protos.h (ia64_function_arg_boundary): New. | |
4981 | * config/ia64/ia64.c (ia64_function_arg_boundary): New. | |
4982 | (ia64_function_arg_advance): Do not put 128 bit floats into | |
4983 | FP registers. | |
4984 | ||
609ae0e2 KG |
4985 | 2004-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
4986 | ||
4987 | * builtins.c (expand_builtin_strcpy): Delete duplicate code. | |
4988 | Accept an expression instead of an arglist. | |
4989 | (expand_builtin_stpcpy): Accept an expression instead of an | |
4990 | arglist. | |
4991 | ||
51e9a60c EB |
4992 | 2004-10-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
4993 | ||
4994 | PR target/16007 | |
4995 | * doc/install.texi (*-*-solaris2*): Mention potential problem | |
4996 | with Sun assembler + GNU linker and C++ programs. | |
4997 | Document status of binutils 2.15 release. | |
4998 | ||
490e9629 JH |
4999 | 2004-10-06 Jan Hubicka <jh@suse.cz> |
5000 | ||
5001 | * cse.c (cse_main): Kill push/pop context. | |
5002 | ||
d5706a1e ZW |
5003 | 2004-10-05 Zack Weinberg <zack@codesourcery.com> |
5004 | ||
5005 | * pretty-print.c: Include tree.h. | |
5006 | (pp_base_prepare_to_format): New function, logic from | |
5007 | text_specifies_location. | |
5008 | (pp_base_format_text): Use gcc_assert. | |
5009 | * pretty-print.h (pp_prepare_to_format): New macro. | |
5010 | (pp_base_prepare_to_format): Prototype. | |
5011 | * diagnostic.c (text_specifies_location): Delete. | |
5012 | (bug_report_request): Delete. | |
5013 | (diagnostic_set_info): Don't call text_specifies_location. | |
5014 | (diagnostic_action_after_output): Put text from | |
5015 | bug_report_request inline here. Use gcc_unreachable. | |
5016 | (diagnostic_report_current_function): Fix comment. | |
5017 | (diagnostic_report_diagnostic): Clarify logic for error recursion. | |
5018 | Call pp_prepare_to_format before diagnostic_starter. | |
5019 | (trim_filename): Use IS_DIR_SEPARATOR. | |
5020 | (fatal_error, internal_error): Use gcc_unreachable. | |
5021 | (error_recursion): Call diagnostic_action_after_output to | |
5022 | issue the bug_report_request message and exit. | |
5023 | * Makefile.in (diagnostic.o, pretty-print.o): Update dependencies. | |
5024 | ||
5025 | * c-parse.in: Add list of diagnostic messages to insulate | |
5026 | translation template from version of yacc/bison used to | |
5027 | compile the grammar. | |
5028 | ||
743eeb5a AM |
5029 | 2004-10-06 Alan Modra <amodra@bigpond.net.au> |
5030 | ||
5031 | PR 16406 | |
5032 | * doc/tm.texi (USE_LD_AS_NEEDED, LINK_EH_SPEC): Document. | |
5033 | ||
7922a3bb KH |
5034 | 2004-10-05 Kazu Hirata <kazu@cs.umass.edu> |
5035 | ||
5036 | * basic-block.h: Remove the prototype for | |
5037 | flow_preorder_transversal_compute. | |
5038 | * cfganal.c (dfst_node): Remove. | |
5039 | (flow_preorder_transversal_compute): Likewise. | |
5040 | * rtl.h: Remove the prototype for get_jump_table_offset. | |
5041 | * rtlanal.c (get_jump_table_offset): Remove. | |
5042 | ||
9ec9d82b RH |
5043 | 2004-10-05 Richard Henderson <rth@redhat.com> |
5044 | ||
5045 | PR 17756 | |
5046 | * tree-ssa-operands.c (get_expr_operands): Handle CONST_DECL. | |
5047 | ||
19361834 KC |
5048 | 2004-10-05 Kelley Cook <kcook@gcc.gnu.org> |
5049 | ||
5050 | PR bootstrap/17817 | |
5051 | * Makefile.in: Stage the build directory too. | |
5052 | ||
2a2e3f05 AH |
5053 | 2004-10-05 Aldy Hernandez <aldyh@redhat.com> |
5054 | ||
5055 | * config/frv/frv.h (LEGITIMIZE_ADDRESS): New. | |
5056 | ||
5057 | * config/frv/frv-protos.h (frv_legitimize_address): Protoize. | |
5058 | (frv_emit_move): Same. | |
5059 | ||
5060 | * config/frv/frv.c (frv_emit_move): New. | |
5061 | (frv_legitimize_address): New. | |
5062 | ||
5063 | * config/frv/frv.md ("movsi"): Call frv_emit_move. | |
5064 | ("movqi"): Same. | |
5065 | ("movhi"): Same. | |
5066 | ("movdi"): Same. | |
5067 | ("movsf"): Same. | |
5068 | ("movdf"): Same. | |
5069 | ||
7fdc3e09 JM |
5070 | 2004-10-05 Joseph S. Myers <jsm@polyomino.org.uk> |
5071 | ||
5072 | * c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in | |
5073 | system headers. | |
5074 | ||
1b36c818 JM |
5075 | 2004-10-05 Joseph S. Myers <jsm@polyomino.org.uk> |
5076 | ||
5077 | * c-decl.c (pushdecl): When an extern declaration at block scope | |
5078 | refers to a visible entity with internal linkage, use the old DECL | |
5079 | rather than the new one. | |
5080 | ||
95740bfc KH |
5081 | 2004-10-05 Kazu Hirata <kazu@cs.umass.edu> |
5082 | ||
5083 | * tree-cfg.c (cleanup_tree_cfg): Remove extra parentheses in | |
5084 | comments. | |
5085 | ||
20d400c3 KH |
5086 | 2004-10-05 Kazu Hirata <kazu@cs.umass.edu> |
5087 | ||
5088 | * tree-cfg.c (thread_jumps): Remove a duplicate check for | |
5089 | an infinite loop. | |
5090 | ||
2abacef0 KH |
5091 | 2004-10-05 Kazu Hirata <kazu@cs.umass.edu> |
5092 | ||
5093 | * tree-cfg.c (thread_jumps): Iterate with FOR_EACH_BB instead | |
5094 | of FOR_BB_BETWEEN. Remove a useless check for unreachable | |
5095 | blocks. | |
5096 | ||
09fa81db KH |
5097 | 2004-10-05 Kazu Hirata <kazu@cs.umass.edu> |
5098 | ||
5099 | * tree-cfg.c (cleanup_tree_cfg): Don't call | |
5100 | delete_unreachable_blosk() after thread_jumps(). | |
5101 | (thread_jumps): Always remove basic blocks as they become | |
5102 | unreachable. | |
5103 | ||
1111ad78 KH |
5104 | 2004-10-05 Kazu Hirata <kazu@cs.umass.edu> |
5105 | ||
5106 | * tree-cfg.c (cleanup_tree_cfg): Remove variable | |
5107 | something_changed. Simplify the while loop. | |
5108 | ||
fdd5d9e2 KG |
5109 | 2004-10-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5110 | ||
5111 | * builtins.c (expand_builtin_memmove): Delete duplicate code | |
5112 | and accept a tree type for the result. | |
5113 | (expand_builtin_bcopy): Accept a tree type for the result. | |
5114 | (fold_builtin_memmove): Accept an arglist and tree type for | |
5115 | the result. | |
5116 | ||
9bb86f41 UW |
5117 | 2004-10-05 Ulrich Weigand <uweigand@de.ibm.com> |
5118 | ||
5119 | * config/s390/s390.c (s390_dump_pool): Remove return value. | |
5120 | Use gen_pool_align, gen_pool_section_start/end instead of | |
5121 | gen_pool_start/end_31/64. | |
5122 | * config/s390/s390.md (UNSPECV_POOL_START, UNSPECV_POOL_END): Remove. | |
5123 | (UNSPECV_POOL_SECTION, UNSPECV_POOL_ALIGN): New constants. | |
5124 | ("pool_start_31", "pool_end_31"): Remove. | |
5125 | ("pool_start_64", "pool_end_64"): Likewise. | |
5126 | ("pool_align", "pool_section_start", "pool_section_end": New insns. | |
5127 | ||
5128 | * config/s390/s390.c (s390_cannot_copy_insn_p): New function. | |
5129 | (TARGET_CANNOT_COPY_INSN_P): Define. | |
5130 | (s390_cannot_force_const_mem): Handle UNSPEC_INSN. | |
5131 | (struct constant_pool): New member 'execute'. | |
5132 | (s390_add_execute, s390_find_execute): New functions. | |
5133 | (s390_execute_label, s390_execute_target): Likewise. | |
5134 | (s390_dump_pool): Output in-pool execute target templates. | |
5135 | (s390_dump_execute): New function. | |
5136 | (s390_alloc_pool, s390_free_pool): Handle execute templates. | |
5137 | (s390_mainpool_start, s390_mainpool_finish): Likewise. | |
5138 | (s390_chunkify_start, s390_chunkify_finish): Likewise. | |
5139 | * config/s390/s390.md (UNSPEC_INSN, UNSPEC_EXECUTE): New constants. | |
5140 | ("*execute"): New insn pattern. | |
5141 | ("movmem_short", "*movmem_short"): Use splitters to generate | |
5142 | explicit execute pattern, remove embedded execute. | |
5143 | ("clrmem_short", "*clrmem_short"): Likewise. | |
5144 | ("cmpmem_short", "*cmpmem_short"): Likewise. | |
5145 | ||
af16db69 DB |
5146 | 2004-10-05 Daniel Berlin <dberlin@dberlin.org> |
5147 | ||
5148 | * tree-ssa.c (verify_ssa): Verify phi arguments only | |
5149 | contain renamed names. | |
5150 | ||
c4ad648e AM |
5151 | 2004-10-05 Alan Modra <amodra@bigpond.net.au> |
5152 | ||
5153 | * config/rs6000/linux.h: Formatting, whitespace. | |
5154 | * config/rs6000/linux64.h: Likewise. | |
5155 | * config/rs6000/rs6000-protos.h: Likewise. | |
5156 | * config/rs6000/rs6000.c: Likewise. | |
5157 | (easy_vector_splat_const): Add fall thru comments. | |
5158 | (output_vec_const_move): Likewise. | |
5159 | ||
406176be KC |
5160 | 2004-10-05 Kelley Cook <kcook@gcc.gnu.org> |
5161 | ||
5162 | * Makefile.in: Update -Wno-error exceptions for move to build dir. | |
5163 | ||
d840bfd3 CF |
5164 | 2004-10-05 Chao-Ying Fu <fu@mips.com> |
5165 | Richard Sandiford <rsandifo@redhat.com> | |
5166 | ||
5167 | * doc/invoke.texi (-mpaired-single): Link to the new description of the | |
5168 | built-in functions. Document dependencies. | |
5169 | (-mips3d): Add link here too. | |
5170 | * doc/extend.texi (MIPS Paired-Single Support): New section. | |
5171 | ||
a4a82723 CF |
5172 | 2004-10-04 Chao-ying Fu <fu@mips.com> |
5173 | ||
5174 | * config/mips/mips.h (UNITS_PER_SIMD_WORD): Define. | |
5175 | ||
fded8de7 DN |
5176 | 2004-10-04 Diego Novillo <dnovillo@redhat.com> |
5177 | ||
5178 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): | |
5179 | Initialize OPT_STATS to 0. | |
5180 | ||
59c4456e KH |
5181 | 2004-10-04 Kazu Hirata <kazu@cs.umass.edu> |
5182 | ||
5183 | * tree-data-ref.c: Fix comment typos. | |
5184 | ||
68b26d5c SP |
5185 | 2004-10-04 Sebastian Pop <pop@cri.ensmp.fr> |
5186 | ||
5187 | * tree-data-ref.c (array_base_name_differ_p): Fix comments. When | |
5188 | the predicate cannot be computed, don't initialize the result to | |
5189 | false. | |
5190 | ||
b9e6959b EC |
5191 | 2004-10-01 Eric Christopher <echristo@redhat.com> |
5192 | ||
5193 | * dwarf2.h (dwarf_calling_convention): Add GNU prefix to | |
5194 | locally defined enum. | |
5195 | * dwarf2out.c (add_calling_convention_attribute): Don't | |
5196 | emit DW_CC_normal. | |
5197 | ||
29128154 AP |
5198 | 2004-10-03 Andrew Pinski <pinskia@physics.uc.edu> |
5199 | ||
5200 | PR c/17178, PR c/17820 | |
5201 | * c-decl.c (pop_scope): Do not warn about unused static | |
5202 | variables as they warned in the middle-end. | |
5203 | ||
ef7eaebf KG |
5204 | 2004-10-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5205 | ||
5206 | * builtins.c (expand_builtin_memcpy): Delete duplicate code | |
5207 | and make the first parameter the expression not the arglist. | |
5208 | ||
103b83ea UW |
5209 | 2004-10-03 Ulrich Weigand <uweigand@de.ibm.com> |
5210 | ||
5211 | * expr.c (expand_expr_addr_expr): Only accept Pmode or ptr_mode | |
5212 | as valid modes to expand address expressions. | |
5213 | ||
3f75a254 JM |
5214 | 2004-10-03 Joseph S. Myers <jsm@polyomino.org.uk> |
5215 | ||
5216 | * c-aux-info.c, c-common.c, c-common.h, c-cppbuiltin.c, c-decl.c, | |
5217 | c-format.c, c-incpath.c, c-lex.c, c-objc-common.c, c-opts.c, | |
5218 | c-parse.in, c-pch.c, c-ppoutput.c, c-pragma.c, c-typeck.c: Follow | |
5219 | code formatting conventions. | |
5220 | ||
57c1f13e RS |
5221 | 2004-10-03 Richard Sandiford <rsandifo@redhat.com> |
5222 | ||
5223 | * config/mips/mips.md (<u>mulsidi3_32bit_r4000): Fix unsigned case. | |
5224 | ||
24109c9f KH |
5225 | 2004-10-03 Kazu Hirata <kazu@cs.umass.edu> |
5226 | ||
807e955b | 5227 | PR tree-optimization/16632 |
24109c9f KH |
5228 | * fold-const.c (fold) [EQ_EXPR]: When seeing if D & ~C != 0 to |
5229 | fold (A & C) == D into 0, fold ~C. Similarly, for the case | |
5230 | where | is used instead of &. | |
5231 | ||
d3471d77 KH |
5232 | 2004-10-03 Kazu Hirata <kazu@cs.umass.edu> |
5233 | ||
5234 | * ginclude/stddef.h: Fix a comment typo. | |
5235 | ||
fe7378d2 EB |
5236 | 2004-10-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
5237 | ||
5238 | PR target/17443 | |
5239 | * config.gcc (i?86-*-solaris2*): Restore correct logic | |
5240 | for --enable-threads option. | |
5241 | (sparc64-*-solaris2*): Likewise. | |
5242 | (sparc-*-solaris2*): Likewise. | |
5243 | ||
bf276e5c AM |
5244 | 2004-10-03 Alan Modra <amodra@bigpond.net.au> |
5245 | ||
5246 | * config/rs6000/linux.h (TARGET_C99_FUNCTIONS): Define. | |
5247 | (OS_MISSING_POWERPC64): Move, and comment. | |
5248 | * config/rs6000/linux64.h (TARGET_C99_FUNCTIONS): Define. | |
5249 | (OS_MISSING_POWERPC64): Move, and comment. | |
5250 | ||
07ec3810 ILT |
5251 | 2004-10-02 Ian Lance Taylor <ian@wasabisystems.com> |
5252 | ||
5253 | * arm.c (output_call_mem): Add missing \t. | |
5254 | ||
3e6b6386 KG |
5255 | 2004-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5256 | ||
5257 | * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp, | |
5258 | expand_builtin_strncmp): Delete duplicate code. | |
5259 | ||
fefbfa21 FCE |
5260 | 2004-10-02 Frank Ch. Eigler <fche@redhat.com> |
5261 | ||
5262 | * tree-mudflap.c (mf_build_check_statement_for): Reorganize to | |
5263 | take check-base and -limit arguments. | |
5264 | (mf_xform_derefs_1): Reorganize slightly to pass proper base/limit | |
5265 | check ranges for ARRAY_REF and COMPONENT_REF. | |
5266 | (execute_mudflap_fnction_ops, ..._decls): Limit unnecessary | |
5267 | instrumentation. | |
5268 | ||
7848dfca JM |
5269 | 2004-10-02 Joseph S. Myers <jsm@polyomino.org.uk> |
5270 | ||
5271 | * c-objc-common.c (c_tree_printer): Correct description of %E. | |
5272 | Don't fall through after printing an expression. | |
5273 | ||
66efeafc KH |
5274 | 2004-10-02 Kazu Hirata <kazu@cs.umass.edu> |
5275 | ||
5276 | * tree-cfg.c, config/s390/tpf-unwind.h: Fix comment typos. | |
5277 | ||
26d4492f KH |
5278 | 2004-10-02 Kazu Hirata <kazu@cs.umass.edu> |
5279 | ||
5280 | * tree-cfg.c (cleanup_tree_cfg): Speed up by calling | |
5281 | delete_unrechable_blocks() only when necessary. | |
5282 | ||
ee0f32f4 D |
5283 | 2004-10-02 P.J. Darcy <darcypj@us.ibm.com> |
5284 | ||
5285 | * gthr-tpf.h (__gthread_recursive_mutex_t): New type. | |
5286 | (__GTHREAD_RECURSIVE_MUTEX_INIT): Define. | |
5287 | (__gthread_recursive_mutex_lock, __gthread_recursive_mutex_trylock, | |
5288 | __gthread_recursive_mutex_unlock): New functions. | |
5289 | ||
3ff688aa D |
5290 | 2004-10-02 P.J. Darcy <darcypj@us.ibm.com> |
5291 | ||
5292 | * config/s390/t-tpf (LIB2ADDEH): Remove tpf-eh.c. | |
5293 | * config/s390/tpf-eh.c: Remove file. | |
5294 | * config/s390/tpf-unwind.h: New file. | |
5295 | * config/s390/tpf.h (MD_FALLBACK_FRAME_STATE_FOR): Remove. | |
5296 | (MD_UNWIND_SUPPORT): Define. | |
5297 | ||
36262a4c JM |
5298 | 2004-10-02 Joseph S. Myers <jsm@polyomino.org.uk> |
5299 | ||
5300 | * c-typeck.c (warn_for_assignment): Don't permit argnum == 0. | |
5301 | ||
5b022de5 UW |
5302 | 2004-10-01 Ulrich Weigand <uweigand@de.ibm.com> |
5303 | ||
5304 | * config/s390/s390-protos.h (s390_comparison): Add prototype. | |
5305 | * config/s390/s390.c (s390_comparison): New function. | |
5306 | (s390_branch_condition_mask): Return -1 for invalid comparisons. | |
5307 | (s390_branch_condition_mnemonic): Assert valid comparison. | |
5308 | * config/s390/s390.h (PREDICATE_CODES): Add s390_comparison. | |
5309 | * config/s390/s390.md ("*cjump_64", "*cjump_31", "*cjump_long", | |
5310 | "*icjump_64", "*icjump_31", "*icjump_long", "*trap"): Use | |
5311 | s390_comparison instead of comparison_operator. | |
5312 | ||
5313 | * config/s390/s390.md (UNSPEC_CMPINT): New constant. | |
5314 | ("cmpmemdi"): Remove. | |
5315 | ("cmpmem_short", "*cmpmem_short"): Use CCUmode instead of CCSmode. | |
5316 | ("cmpmem_long", "*cmpmem_long_64", "*cmpmem_long_31"): Likewise. | |
5317 | ("cmpint_si"): Rename to ... | |
5318 | ("*cmpint_si"): ... this. Use UNSPEC_CMPINT. | |
5319 | ("cmpint_di", "*cmpint_di"): Likewise. | |
5320 | * config/s390/s390.c (s390_canonicalize_comparison): Remove | |
5321 | redundant UNSPEC_CMPINT conversions. | |
5322 | (s390_expand_cmpmem): Adapt to cmpint pattern changes. | |
5323 | ||
b89dc911 KH |
5324 | 2004-10-01 Kazu Hirata <kazu@cs.umass.edu> |
5325 | ||
5326 | * collect2.c (COLLECT_PARSE_FLAG): Remove. | |
5327 | (main): Remove a reference to COLLECT_PARSE_FLAG | |
5328 | * system.h: Poison COLLECT_PARSE_FLAG. | |
5329 | * doc/tm.texi (COLLECT_PARSE_FLAG): Remove. | |
5330 | ||
e367a231 PB |
5331 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
5332 | ||
5333 | * config/arm/crti.asm: Give _init and _fini function type. | |
5334 | ||
47bcd07d ZD |
5335 | 2004-10-01 Zdenek Dvorak <dvorakz@suse.cz> |
5336 | ||
5337 | * common.opt (ftree-loop-ivcanon): Enable by default. | |
5338 | * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): | |
5339 | Enable complete loop unrolling. | |
5340 | (canonicalize_induction_variables, tree_unroll_loops_completely): | |
5341 | Reset scev info. | |
5342 | ||
e367a231 | 5343 | 2004-10-01 Paul Brook <paul@codesourcery.com> |
c73d282d PB |
5344 | |
5345 | * config/arm/arm.c (thumb_compute_saved_rag_mask): Or with bitmask, | |
5346 | not register number. | |
5347 | (thumb_find_work_register): Search full register range. | |
5348 | ||
29c4d22b AP |
5349 | 2004-10-01 Andrew Pinski <pinskia@physics.uc.edu> |
5350 | ||
5351 | PR tree-opt/17343 | |
5352 | * tree-cfg.c (group_case_labels): Get the label and not | |
5353 | the case expr for the default case. | |
5354 | When the label we looking at is the default, decrement the | |
5355 | new_size. | |
5356 | ||
0f0377f6 JH |
5357 | 2004-10-01 Jan Hubicka <jh@suse.cz> |
5358 | ||
5359 | * c-decl.c (c_expand_body): Update call tree_rest_of_compilation. | |
5360 | * cgraphunit.c (cgraph_build_static_cdtor): Likewise. | |
5361 | * toplev.h (tree_rest_of_compilation): Update prototype. | |
5362 | * tree-optimize.c (tree_rest_of_compilation): Kill nested_p argument. | |
5363 | ||
8f28be81 KH |
5364 | 2004-10-01 Kazu Hirata <kazu@cs.umass.edu> |
5365 | ||
5366 | * tree-cfg.c (cleanup_tree_cfg): Pull a call to | |
5367 | cleanup_control_flow() out of the while loop. | |
5368 | ||
02ca1718 PB |
5369 | 2004-10-01 Paolo Bonzini <bonzini@gnu.org> |
5370 | ||
5371 | * tree-vectorizer.c (vectorizable_operation): Fail unless | |
5372 | the mode for the vector type is indeed a vector mode. | |
5373 | ||
e6845c23 ZD |
5374 | 2004-10-01 Zdenek Dvorak <dvorakz@suse.cz> |
5375 | ||
5376 | * tree-chrec.c (chrec_fold_plus_poly_poly, chrec_fold_plus_1, | |
5377 | chrec_fold_multiply): Use fold_convert or build_int_cst_type instead | |
02ca1718 | 5378 | of convert. |
e6845c23 ZD |
5379 | * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, |
5380 | add_to_evolution, set_nb_iterations_in_loop, follow_ssa_edge_in_rhs, | |
5381 | follow_ssa_edge_in_rhs): Ditto. | |
5382 | * tree-ssa-loop-ivopts.c (struct iv): Add base_object field. | |
5383 | (dump_iv): Dump base_object. | |
5384 | (dump_use, dump_cand): Use dump_iv. | |
5385 | (determine_base_object): New function. | |
5386 | (alloc_iv): Initialize base_object field. | |
5387 | (record_use): Clear the ssa_name field of iv. | |
5388 | (get_computation_cost_at): Do not use difference of addresses of | |
5389 | two different objects. | |
5390 | (may_eliminate_iv): Do not require the loop to have just single exit. | |
5391 | * tree-ssa-loop-niter.c (zero_p): Do not check for overflows. | |
5392 | (nonzero_p): New function. | |
5393 | (inverse, number_of_iterations_cond, simplify_using_outer_evolutions, | |
5394 | tree_simplify_using_condition, simplify_using_initial_conditions, | |
5395 | loop_niter_by_eval, find_loop_niter_by_eval, | |
5396 | estimate_numbers_of_iterations_loop, compare_trees, | |
5397 | upper_bound_in_type, lower_bound_in_type, | |
5398 | can_count_iv_in_wider_type_bound): Use buildN instead of build. Use | |
5399 | fold_convert or build_int_cst_type instead of convert. Use (non)zero_p | |
5400 | instead of integer_(non)zerop. | |
5401 | ||
5496b36f JJ |
5402 | 2004-10-01 Jakub Jelinek <jakub@redhat.com> |
5403 | ||
5404 | Revert | |
5405 | 2004-09-29 Jakub Jelinek <jakub@redhat.com> | |
5406 | ||
5407 | * tree.h (enum tree_index): Add TI_VA_LIST_GPR_COUNTER_FIELD | |
5408 | and TI_VA_LIST_FPR_COUNTER_FIELD. | |
5409 | (va_list_gpr_counter_field, va_list_fpr_counter_field): Define. | |
5410 | * tree-pass.h (pass_stdarg): Add. | |
5411 | * tree-optimize.c (init_tree_optimization_passes): Add pass_stdarg. | |
5412 | * tree-stdarg.c: New file. | |
5413 | * Makefile.in (OBJS-common): Add tree-stdarg.o. | |
5414 | (tree-stdarg.o): Add dependencies. | |
5415 | * function.h (struct function): Add va_list_gpr_size and | |
5416 | va_list_fpr_size fields. | |
5417 | * function.c (allocate_struct_function): Initialize them. | |
5418 | ||
5419 | * config/i386/i386.c (ix86_build_builtin_va_list): Initialize | |
5420 | va_list_{g,f}pr_counter_field. | |
5421 | (ix86_setup_incoming_varargs): Don't do anything if reg_save | |
5422 | area will not be used. Only save registers that tree-stdarg.c | |
5423 | detected they need saving. | |
5424 | (ix86_va_start): Don't set up fields that won't be used. | |
5425 | ||
5426 | * config/rs6000/rs6000.c (rs6000_build_builtin_va_list): Initialize | |
5427 | va_list_{g,f}pr_counter_field. | |
5428 | (setup_incoming_varargs): Don't do anything if reg_save | |
5429 | area will not be used. Only save registers that tree-stdarg.c | |
5430 | detected they need saving. | |
5431 | (rs6000_va_start): Don't set up fields that won't be used. | |
5432 | ||
a1c496cb EC |
5433 | 2004-09-30 Eric Christopher <echristo@redhat.com> |
5434 | ||
5435 | * dwarf2.h (dwarf_calling_convention): Add enum for renesas | |
5436 | sh abi. | |
5437 | * dwarf2out.c (add_calling_convention_attribute): New function. | |
5438 | (gen_subroutine_type_die): Use. | |
5439 | * target-def.h (TARGET_DWARF_CALLING_CONVENTION): New hook. | |
5440 | * target.h (gcc_target): Add dwarf_calling_convention. | |
5441 | * hooks.c (hook_int_tree_0): New function. | |
5442 | * hooks.h: Prototype. | |
5443 | * config/sh/sh.c: Include dwarf2.h. | |
5444 | (sh_dwarf_calling_convention): New function. | |
5445 | (TARGET_DWARF_CALLING_CONVENTION): Use. | |
5446 | * doc/tm.texi (TARGET_DWARF_CALLING_CONVENTION): Document. | |
5447 | ||
bd042dbb KG |
5448 | 2004-09-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
5449 | ||
5450 | * builtins.c (expand_builtin_strstr, expand_builtin_strchr, | |
5451 | expand_builtin_strrchr, expand_builtin_strpbrk, | |
5452 | expand_builtin_strncat, expand_builtin_strspn, | |
5453 | expand_builtin_strcspn, expand_builtin_fputs): Eliminate duplicate | |
5454 | code. | |
5455 | ||
8cb66696 UW |
5456 | 2004-09-30 Ulrich Weigand <uweigand@de.ibm.com> |
5457 | ||
5458 | * config/s390/s390-protos.h (s390_expand_logical_operator): Add | |
5459 | prototype. | |
5460 | (s390_logical_operator_ok_p): Likewise. | |
5461 | * config/s390/s390.c (s390_expand_logical_operator): New function. | |
5462 | (s390_logical_operator_ok_p): Likewise. | |
5463 | * config/s390/s390.md ("anddi3"): New expander. | |
5464 | ("*anddi3"): Rename from old anddi3 pattern, add Q->Q alternative. | |
5465 | ("*anddi3_ss", "*anddi3_ss_inv"): Remove. | |
5466 | ("andsi3"): Use s390_expand_logical_operator. | |
5467 | ("*andsi3_esa", "*andsi3_zarch"): Add Q->Q alternative. | |
5468 | ("*andsi3_ss", "*andsi3_ss_inv"): Remove. | |
5469 | ("andhi3"): New expander. | |
5470 | ("*andhi3_zarch", "*andhi3_esa"): New patterns. | |
5471 | ("andhi3", "*andhi3_ni", "*andhi3_ss", "*andhi3_ss_inv"): Remove. | |
5472 | ("andqi3"): New expander. | |
5473 | ("*andqi3_zarch", "*andqi3_esa"): New patterns. | |
5474 | ("andqi3", "*andqi3_ni", "*andqi3_ss", "*andqi3_ss_inv"): Remove. | |
5475 | ("iordi3"): New expander. | |
5476 | ("*iordi3"): Rename from old iordi3 pattern, add Q->Q alternative. | |
5477 | ("*iordi3_ss", "*iordi3_ss_inv"): Remove. | |
5478 | ("iorsi3"): Use s390_expand_logical_operator. | |
5479 | ("*iorsi3_esa", "*iorsi3_zarch"): Add Q->Q alternative. | |
5480 | ("*iorsi3_ss", "*iorsi3_ss_inv"): Remove. | |
5481 | ("iorhi3"): New expiorer. | |
5482 | ("*iorhi3_zarch", "*iorhi3_esa"): New patterns. | |
5483 | ("iorhi3", "*iorhi3_ni", "*iorhi3_ss", "*iorhi3_ss_inv"): Remove. | |
5484 | ("iorqi3"): New expiorer. | |
5485 | ("*iorqi3_zarch", "*iorqi3_esa"): New patterns. | |
5486 | ("iorqi3", "*iorqi3_ni", "*iorqi3_ss", "*iorqi3_ss_inv"): Remove. | |
5487 | ("xordi3"): New expander. | |
5488 | ("*xordi3"): Rename from old xordi3 pattern, add Q->Q alternative. | |
5489 | ("*xordi3_ss", "*xordi3_ss_inv"): Remove. | |
5490 | ("xorsi3"): New expander. | |
5491 | ("*xorsi3"): Rename from old xorsi3 pattern, add Q->Q alternative. | |
5492 | ("*xorsi3_ss", "*xorsi3_ss_inv"): Remove. | |
5493 | ("xorhi3"): New expander. | |
5494 | ("*xorqi3"): Rename from old xorhi3 pattern, add Q->Q alternative. | |
5495 | ("*xorhi3_ss", "*xorhi3_ss_inv"): Remove. | |
5496 | ("xorqi3"): New expander. | |
5497 | ("*xorqi3"): Rename from old xorqi3 pattern, add Q->Q alternative. | |
5498 | ("*xorqi3_ss", "*xorqi3_ss_inv"): Remove. | |
5499 | ||
7d103eb5 RS |
5500 | 2004-09-30 Roger Sayle <roger@eyesopen.com> |
5501 | ||
5502 | * combine.c (force_to_mode) <NE_EXPR>: Only convert the expression | |
5503 | (AND (NE FOO 0) CONST) into (AND FOO CONST) if FOO has the same | |
5504 | machine mode as the result. | |
5505 | ||
dc4f06d9 BE |
5506 | 2004-09-30 Ben Elliston <bje@au.ibm.com> |
5507 | ||
5508 | PR bootstrap/17761 | |
5509 | * lcm.c (optimize_mode_switching): Update to use EDGE_SUCC and | |
5510 | FOR_EACH_EDGE macros. | |
5511 | ||
9bf24266 JM |
5512 | 2004-09-30 Joseph S. Myers <jsm@polyomino.org.uk> |
5513 | ||
5514 | * c-tree.h (readonly_error): Remove. | |
5515 | * c-typeck (enum lvalue_use): New. | |
5516 | (lvalue_or_else, readonly_error): Use it. All callers changed. | |
5517 | (readonly_error): Make static. | |
5518 | ||
a7102479 JH |
5519 | 2004-09-30 Jan Hubicka <jh@suse.cz> |
5520 | ||
5521 | PR debug/13974 | |
5522 | * cfgrtl.c (try_redirect_by_replacing_jump, | |
5523 | force_nonfallthru_and_redirect, commit_one_edge_insertion, | |
5524 | cfg_layout_merge_blocks): Do not attach any line number information | |
5525 | to newly inserted instructions. | |
5526 | * emit-rtl.c (emit_insn*_before, emit_insn*_after): Rename to | |
5527 | emit_insn_*_noloc. | |
5528 | (emit_*insn_before, emit_insn*_after): New. | |
5529 | (emit_*insn_before_setloc, emit_*insn_after_setloc): Do not overwrite | |
5530 | existing locators. | |
5531 | * rtl.h (emit_*insn_before_noloc, emit_*insn_after_noloc): Declare. | |
5532 | (emit_*insn_before_sameloc, emit_*insn_after_sameloc): Kill. | |
5533 | ||
91086990 UW |
5534 | 2004-09-30 Ulrich Weigand <uweigand@de.ibm.com> |
5535 | ||
5536 | * config/s390/s390-protos.h (s390_arg_frame_offset): Remove. | |
5537 | (s390_return_address_offset): Remove. | |
5538 | (s390_can_eliminate): Add prototype. | |
5539 | (s390_initial_elimination_offset): Add prototype. | |
5540 | * config/s390/s390.h (CAN_ELIMINATE): Call s390_can_eliminate. | |
5541 | (INITIAL_ELIMINATION_OFFSET): Call s390_initial_elimination_offset. | |
5542 | * config/s390/s390.c (s390_arg_frame_offset): Remove. | |
5543 | (s390_return_address_offset): Remove. | |
5544 | (s390_can_eliminate, s390_initial_elimination_offset): New functions. | |
5545 | (struct machine_function): New member split_branches_pending_p. | |
5546 | (s390_mainpool_start): Allow nonexistant pool insn for empty pool. | |
5547 | (s390_mainpool_finish): Likewise. Clear base_reg if pool empty. | |
5548 | (s390_optimize_prologue): Remove base_used argument. Call | |
5549 | s390_update_frame_layout instead of s390_register_info. Handle | |
5550 | prologue/epilogue insns that touch only RETURN_REGNUM. | |
5551 | (s390_reorg): Remove base_used. Clear split_branches_pending_p. | |
a1c496cb | 5552 | (s390_register_info): Remove base_used and return_addr_used |
91086990 UW |
5553 | arguments, compute special register usage inline. Return live |
5554 | register data to caller. | |
5555 | (s390_frame_info): Remove arguments, do not call s390_register_info. | |
5556 | (s390_init_frame_layout): New function. | |
5557 | (s390_update_frame_layout): Likewise. | |
5558 | (s390_emit_prologue): Call s390_update_frame_layout; some code | |
5559 | move to there. Do not emit pool placeholder insn if unnecessary. | |
5560 | ||
13c025c1 UW |
5561 | 2004-09-30 Ulrich Weigand <uweigand@de.ibm.com> |
5562 | ||
5563 | * config/s390/s390.c (legitimate_reload_constant_p): Remove | |
5564 | floating point constant workaround. | |
5565 | (s390_secondary_input_reload_class): Handle PLUS reloads | |
5566 | with too-large constant. | |
5567 | (s390_expand_plus_operand): Likewise. | |
5568 | * config/s390/s390.md ("movdi"): Do not call force_const_mem. | |
5569 | ("movsi"): Likewise. Also, remove workaround for non-general | |
5570 | operands. | |
5571 | ("movdf"): Do not call force_const_mem. | |
5572 | ("movsf"): Likewise. Merge expander with *movsf insn. | |
5573 | ("*movsf"): Remove, merge with movsf expander. | |
5574 | ||
99b2692a PB |
5575 | 2004-09-30 Paul Brook <paul@codesourcery.com> |
5576 | ||
5577 | * config/arm/symbian.h (STARTFILE_SPEC): Remove crt*.o. | |
5578 | (ENDFILE_SPEC): Define. | |
5579 | * config/arm/t-symbian.h (EXTRA_MULTILIB_PARTS): Set. | |
5580 | ||
3ac7c0f2 RH |
5581 | 2004-09-30 Richard Henderson <rth@redhat.com> |
5582 | ||
5583 | * config/alpha/qrnnd.asm: Mark for noexecstack. | |
5584 | ||
75b80704 KH |
5585 | 2004-09-30 Kazu Hirata <kazu@cs.umass.edu> |
5586 | ||
5587 | * protoize.c, tree-cfg.c: Fix comment typos. | |
5588 | ||
254ac10c JM |
5589 | 2004-09-30 Joseph S. Myers <jsm@polyomino.org.uk> |
5590 | ||
5591 | PR c/17730 | |
5592 | * c-typeck.c (lvalue_or_else): Pass msgid directly to error. | |
5593 | ||
20c16b36 DN |
5594 | 2004-09-30 Diego Novillo <dnovillo@redhat.com> |
5595 | ||
5596 | * tree-ssa-alias.c (collect_points_to_info_r): Move analysis of | |
5597 | expressions... | |
5598 | (add_pointed_to_expr): ... here. | |
5599 | Call add_pointed_to_expr for variables with DECL_INITIAL set. | |
5600 | * tree-dfa.c (add_referenced_var): Scan DECL_INITIAL of any | |
5601 | pointer variable, if set. | |
5602 | ||
8b0add27 KH |
5603 | 2004-09-30 Kazu Hirata <kazu@cs.umass.edu> |
5604 | ||
5605 | * config/sh/sh.c: Follow spelling conventions. | |
5606 | ||
282efe1c RH |
5607 | 2004-09-29 Richard Henderson <rth@redhat.com> |
5608 | ||
5609 | * unwind-dw2.c (_Unwind_GetGR): Honor DWARF_ZERO_REG. | |
5610 | * doc/tm.texi (DWARF_ZERO_REG): New. | |
5611 | ||
5612 | * config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue, | |
5613 | alpha_expand_epilogue): Revert 2003-09-30 change to store zero. | |
5614 | * config/alpha/alpha.h (DWARF_ZERO_REG): New. | |
5615 | ||
7ce3fc8f UW |
5616 | 2004-09-29 Ulrich Weigand <uweigand@de.ibm.com> |
5617 | ||
5618 | * builtins.c (expand_builtin_strlen): Do not call emit_move_insn | |
5619 | with a PLUS as source operand. | |
5620 | (expand_movstr): Likewise. | |
5621 | (expand_builtin_stpcpy): Likewise. | |
5622 | ||
e670d9e4 RH |
5623 | 2004-09-29 Richard Henderson <rth@redhat.com> |
5624 | ||
5625 | PR 17739 | |
5626 | * tree-gimple.c (is_gimple_reg): Reject hard registers. | |
5627 | (is_gimple_asm_val): New. | |
5628 | * tree-gimple.h (is_gimple_asm_val): Declare. | |
5629 | * gimplify.c (gimplify_asm_expr): Use it. | |
5630 | * tree-pretty-print.c (print_declaration): Dump hard regs. | |
5631 | * tree-outof-ssa.c (check_replaceable): Don't check for hard regs. | |
5632 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Likewise. | |
5633 | * tree-ssa-pre.c (is_undefined_value): Likewise. | |
5634 | * tree-ssa-copy.c (may_propagate_copy): Likewise. | |
5635 | (may_propagate_copy_into_asm): Protect DECL_HARD_REGISTER. | |
5636 | * tree-ssa.c (warn_uninit): Likewise. | |
5637 | * tree.h (DECL_HARD_REGISTER): Check for VAR_DECL. | |
5638 | ||
2587f865 FJ |
5639 | 2004-09-29 Fariborz Jahanian <fjahanian@apple.com> |
5640 | ||
5641 | * c-decl.c (merge_decls): Use comptype when comparing | |
5642 | types to decide on DECL_SIZE save of olddecl. | |
5643 | ||
1b096a0a DB |
5644 | 2004-09-29 Daniel Berlin <dberlin@dberlin.org> |
5645 | ||
5646 | * tree.h (INDIRECT_REF_P): New macro. | |
5647 | * alias.c (get_alias_set): Use it | |
5648 | (nonoverlapping_memrefs_p): Ditto. | |
5649 | * emit-rtl.c (mem_expr_equal_p): Ditto. | |
5650 | (set_mem_attributes_minus_bitpos): Ditto. | |
5651 | (is_gimple_addressable): Ditto. | |
5652 | (get_base_address): Ditto. | |
5653 | * tree-ssa-alias.c (find_ptr_derefernece): Ditto. | |
5654 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Ditto. | |
5655 | * tree-ssa-dom.c (record_equivalences_from_stmt): Ditto. | |
5656 | * tree-ssa-loop-im.c (is_call_clobbered_ref): Ditto. | |
5657 | * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Ditto. | |
5658 | (add_address_candidates): Ditto. | |
5659 | (rewrite_address_base): Ditto. | |
5660 | ||
2a7cd686 BE |
5661 | 2004-09-30 Ben Elliston <bje@au.ibm.com> |
5662 | ||
5663 | * tree-flow.h (struct bb_ann_d): Remove num_preds member. | |
5664 | * tree-into-ssa.c (rewrite_into_ssa): Don't set it. | |
5665 | (rewrite_ssa_into_ssa): Likewise. | |
5666 | * tree-phinodes.c (create_phi_node): Access the number of | |
5667 | predecessor edges using EDGE_COUNT() and not num_preds. | |
5668 | ||
302a2cc5 JM |
5669 | 2004-09-29 Joseph S. Myers <jsm@polyomino.org.uk> |
5670 | ||
5671 | PR c/7425 | |
5672 | * c-decl.c (merge_decls): Merge TREE_DEPRECATED. | |
5673 | ||
3e6688a7 EC |
5674 | 2004-09-29 Eric Christopher <echristo@redhat.com> |
5675 | ||
5676 | * fold-const.c (tree_swap_operands_p): Remove duplicated code. | |
5677 | ||
8820e4be HPN |
5678 | 2004-09-29 Hans-Peter Nilsson <hp@axis.com> |
5679 | ||
5680 | * config/cris/cris.md (moverside, movemside): With MEM, make sure | |
5681 | the address is (plus reg mem). | |
5682 | ||
d962e7ad DE |
5683 | 2004-09-29 David Edelsohn <edelsohn@gnu.org> |
5684 | ||
5685 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Define. | |
5686 | ||
c4b3f0eb NS |
5687 | 2004-09-29 Nathan Sidwell <nathan@codesourcery.com> |
5688 | ||
5689 | * tree.c (make_node_stat): Fix uninitialized warning. Replace | |
5690 | cascaded if ... else if with a switch. | |
5691 | ||
b4f69040 AL |
5692 | 2004-09-29 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
5693 | ||
5694 | * read-rtl.c (apply_macro_to_string): Replace index with strchr. | |
5695 | ||
58c8adc1 JJ |
5696 | 2004-09-29 Jakub Jelinek <jakub@redhat.com> |
5697 | ||
5698 | * tree.h (enum tree_index): Add TI_VA_LIST_GPR_COUNTER_FIELD | |
5699 | and TI_VA_LIST_FPR_COUNTER_FIELD. | |
5700 | (va_list_gpr_counter_field, va_list_fpr_counter_field): Define. | |
5701 | * tree-pass.h (pass_stdarg): Add. | |
5702 | * tree-optimize.c (init_tree_optimization_passes): Add pass_stdarg. | |
5703 | * tree-stdarg.c: New file. | |
5704 | * Makefile.in (OBJS-common): Add tree-stdarg.o. | |
5705 | (tree-stdarg.o): Add dependencies. | |
5706 | * function.h (struct function): Add va_list_gpr_size and | |
5707 | va_list_fpr_size fields. | |
5708 | * function.c (allocate_struct_function): Initialize them. | |
5709 | ||
5710 | * config/i386/i386.c (ix86_build_builtin_va_list): Initialize | |
5711 | va_list_{g,f}pr_counter_field. | |
5712 | (ix86_setup_incoming_varargs): Don't do anything if reg_save | |
5713 | area will not be used. Only save registers that tree-stdarg.c | |
5714 | detected they need saving. | |
5715 | (ix86_va_start): Don't set up fields that won't be used. | |
5716 | ||
5717 | * config/rs6000/rs6000.c (rs6000_build_builtin_va_list): Initialize | |
5718 | va_list_{g,f}pr_counter_field. | |
5719 | (setup_incoming_varargs): Don't do anything if reg_save | |
5720 | area will not be used. Only save registers that tree-stdarg.c | |
5721 | detected they need saving. | |
5722 | (rs6000_va_start): Don't set up fields that won't be used. | |
5723 | ||
0d5b215c JJ |
5724 | 2004-09-29 Jakub Jelinek <jakub@redhat.com> |
5725 | ||
5726 | * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTC_UNLOCKED, | |
5727 | BUILT_IN_FPUTS, BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE, | |
5728 | BUILT_IN_FWRITE_UNLOCKED, BUILT_IN_PUTCHAR, BUILT_IN_PUTCHAR_UNLOCKED, | |
5729 | BUILT_IN_PUTS, BUILT_IN_PUTS_UNLOCKED): Remove nothrow attribute. | |
5730 | * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2, ATTR_NONNULL_1_2, | |
5731 | ATTR_NONNULL_1_4): New. | |
5732 | ||
a7d6ba24 JJ |
5733 | 2004-09-29 Jakub Jelinek <jakub@redhat.com> |
5734 | ||
5735 | PR tree-optimization/17697 | |
5736 | * tree-ssa-ccp.c (execute_fold_all_builtins): Update eh and cleanup | |
5737 | cfg if needed. | |
5738 | ||
50fd1c97 PB |
5739 | 2004-09-28 Per Bothner <per@bothner.com> |
5740 | ||
ac973ace | 5741 | * profile.c (branch_prob): Pass correct value to output_location, |
50fd1c97 PB |
5742 | even when USE_MAPPED_LOCATION. Fixes bug from 09-11. |
5743 | ||
aa24864c RH |
5744 | 2004-09-28 Richard Henderson <rth@redhat.com> |
5745 | ||
5746 | PR 15089 | |
5747 | * tree-ssa-copy.c (may_propagate_copy_into_asm): New. | |
5748 | * tree-flow.h (may_propagate_copy_into_asm): Declare. | |
5749 | * tree-ssa-ccp.c (replace_uses_in): Use it. | |
5750 | * tree-ssa-dom.c (cprop_operand): Likewise. | |
5751 | ||
e376fe58 JL |
5752 | 2004-09-28 Jeff Law <law@redhat.com> |
5753 | ||
5754 | * tree-ssa-threadupdate.c (create_block_for_threading): Request | |
5755 | that no outgoing edges be left in the duplicate block. Do no | |
5756 | update information on outgoing edges or PHI nodes in target | |
5757 | blocks here. | |
5758 | (remove_ctrl_stmt_and_useless_edges): Renamed from | |
5759 | remove_last_stmt_and_useless_edges. Handle case where the | |
5760 | block is empty or has no control statements. Do not update edge | |
5761 | flags here. | |
5762 | (thread_block): Create a template block rather than copying the | |
5763 | original block every time. Create outgoing edges from the | |
5764 | duplicate blocks and update PHIs at the target of the outgoing | |
5765 | edges here. Fix edge flags for the original block if necessary. | |
5766 | * cfghooks (duplicate_block): No longer assert that the original | |
5767 | block has incoming edges. | |
5768 | ||
805c33df HPN |
5769 | 2004-09-29 Hans-Peter Nilsson <hp@bitrange.com> |
5770 | ||
5771 | * doc/extend.texi (Extended Asm): Add blurb about using Explicit | |
5772 | Reg Vars to enforce register allocation with general constraints. | |
5773 | (Explicit Reg Vars): Clarify relation to asm statements. | |
5774 | (Local Reg Vars): Similar. | |
5775 | ||
dcda8480 UW |
5776 | 2004-09-28 Ulrich Weigand <uweigand@de.ibm.com> |
5777 | ||
5778 | * sched-rgn.c (haifa_edge, edge_table, NEXT_IN, NEXT_OUT, FROM_BLOCK, | |
5779 | TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES, OUT_EDGES, | |
5780 | build_control_flow, new_edge): Remove. | |
5781 | (schedule_insns): Remove edge_table/in_edges/out_edges cleanup. | |
5782 | (bitlst, bitlst_table_last, bitlst_table): Remove. | |
5783 | (bblst): Store basic_block pointer instead of block index. | |
5784 | (bblst_table): Likewise. | |
5785 | (edgelst): Store edge pointer instead of edge index. | |
5786 | (edgelst_table, edgelst_last): New variables. | |
5787 | (extract_bitlst): Rename to ... | |
5788 | (extract_edgelst): ... this. Return edge pointers, not indices. | |
5789 | (split_edges): Update call. | |
5790 | (rgn_edges): Store edge pointers instead of indices. | |
5791 | (edge_to_bit): Remove. | |
5792 | (EDGE_TO_BIT): Store per-region edge index in edge->aux. | |
5793 | (SET_EDGE_TO_BIT): New macro. | |
5794 | (is_cfg_nonregular): Check for simple cases of unreachable blocks. | |
5795 | (find_rgns): Remove edge_list parameter. Traverse standard CFG | |
5796 | data structures instead of haifa_edge et al. Use edge pointers | |
5797 | instead of edge indices everywhere. | |
5798 | (compute_dom_prob_ps): Use standard CFG data structures. Account | |
5799 | for exit edges. | |
5800 | (compute_trg_info): Likewise. | |
5801 | (propagate_deps): Likewise. | |
5802 | (debug_candidate): Account for bblst data structure change. | |
5803 | (check_live_1, update_live_1, is_pfree): Likewise. | |
5804 | (IS_REACHABLE): Use standard CFG data structures. | |
5805 | (init_ready_list): Update bblst_table/edgelst_table allocation. | |
5806 | (schedule_region): Update alloc/cleanup code to data structure | |
5807 | changes. Use edge->aux to store per-region edge index. | |
5808 | (init_regions): No longer call build_control_flow. Do not | |
5809 | create edge list any more. | |
5810 | ||
2f39b6ca UW |
5811 | 2004-09-28 Ulrich Weigand <uweigand@de.ibm.com> |
5812 | ||
5813 | * cse.c (cse_insn): Avoid creating direct non-local jumps. | |
5814 | * combine.c (can_combine_p): Likewise. | |
5815 | * local-alloc. (update_equiv_regs): Likewise. | |
5816 | ||
b0b324b0 RH |
5817 | 2004-09-28 Richard Henderson <rth@redhat.com> |
5818 | ||
5819 | PR 17531 | |
5820 | * expr.c (expand_expr_addr_expr_1): Only assemble_external for decls. | |
5821 | Don't check VOIDmode here. Force PLUS operands to common type. | |
5822 | (expand_expr_addr_expr): Do VOIDmode check earlier. Force use of | |
5823 | Pmode if given a non pointer type. | |
5824 | ||
5825 | 2004-09-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
5826 | ||
5827 | PR 17531 | |
5828 | * optabs.c (expand_binop): Force constants to the correct mode. | |
5829 | ||
ea77e738 UW |
5830 | 2004-09-28 Ulrich Weigand <uweigand@de.ibm.com> |
5831 | ||
5832 | * config/s390/s390.c (s390_adjust_cost): Remove. | |
5833 | (TARGET_SCHED_ADJUST_COST): Do not redefine. | |
5834 | (s390_adjust_priority): Handle TYPE_STM like TYPE_STORE. | |
3e6688a7 | 5835 | * config/s390/s390.md ("main_pool"): Use "larl" type |
ea77e738 UW |
5836 | attribute if TARGET_CPU_ZARCH. |
5837 | ||
9924d7d8 JJ |
5838 | 2004-09-28 Jakub Jelinek <jakub@redhat.com> |
5839 | ||
5840 | * config/ia64/ia64.c (ia64_expand_prologue): Declare ei | |
5841 | variable. | |
5842 | ||
81842e1b DN |
5843 | 2004-09-28 Diego Novillo <dnovillo@redhat.com> |
5844 | ||
5845 | * tree-ssa-loop.c (pass_record_bounds): Do not assign a | |
5846 | name to the pass. | |
5847 | ||
21ef99b8 SB |
5848 | 2004-09-28 Steven Bosscher <stevenb@suse.de> |
5849 | ||
5850 | * common.opt (flag_gcse_sm): Disable by default. | |
5851 | (flag_gcse_las): Likewise. | |
5852 | (flag_web): Likewise. Create from this file. | |
5853 | * flags.h: Remove flag_web declaration. | |
5854 | * toplev.c (flag_web): Likewise. | |
5855 | (process_options): Never set flag_web. | |
5856 | ||
78492bf5 SB |
5857 | 2004-09-28 Steven Bosscher <stevenb@suse.de> |
5858 | ||
5859 | * Makefile.in (tree-ssa-propagate.o): Depend on vec.h. | |
5860 | * tree-ssa-propagate.c: Include vec.h. | |
5861 | (interesting_ssa_edges, varying_ssa_edges): Make these VECs | |
5862 | instead of varrays. | |
5863 | (cfg_blocks_add): Assert the block is not already in the worklist. | |
5864 | Update uses of interesting_ssa_edges and varying_ssa_edges. | |
5865 | (process_ssa_edge_worklist, ssa_prop_init, ssa_prop_fini, | |
5866 | ssa_propagate): Likewise. | |
5867 | ||
ef787822 JM |
5868 | 2004-09-28 Joseph S. Myers <jsm@polyomino.org.uk> |
5869 | ||
5870 | PR c/16409 | |
5871 | * c-decl.c (start_decl): Check for initializing incomplete array | |
5872 | of VLAs. | |
5873 | (build_compound_literal): Check for TYPE being error_mark_node. | |
5874 | * c-parse.in (primary): Check for VLA compound literals. | |
5875 | ||
c3b8e9aa DN |
5876 | 2004-09-28 Diego Novillo <dnovillo@redhat.com> |
5877 | ||
5878 | * tree-ssa-live.c (calculate_live_on_entry): Fix warnings | |
5879 | with --disable-checking. | |
5880 | ||
56bac5af DP |
5881 | 2004-09-28 Devang Patel <dpatel@apple.com> |
5882 | ||
5883 | * tree-pretty-print.c (dump_generic_node): Print vector types. | |
3e6688a7 | 5884 | |
cc15e98f NC |
5885 | 2004-09-28 Nick Clifton <nickc@redhat.com> |
5886 | ||
5887 | * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Replace with an | |
5888 | invocation of the function sh_init_cumulative_args. | |
5889 | (INIT_CUMULATIVE_LIBCALL_ARGS): Likewise. | |
5890 | (INIT_CUMULATIVE_INCOMING_ARGS): Delete. | |
5891 | * config/sh/sh-protos.h: Prototype sh_init_cumulative_args. | |
5892 | * config/sh/sh.c (sh_init_cumulative_args): New function based | |
5893 | on the contents of the old INIT_CUMULATIVE_ARGS macro but with a | |
5894 | heuristic added to determine the setting of force_mem when a | |
5895 | library function is being called. | |
5896 | ||
ee1f0fb0 DN |
5897 | 2004-09-28 Diego Novillo <dnovillo@redhat.com> |
5898 | ||
5899 | * tree-ssa-loop-im.c (single_reachable_address) <PHI_NODE>: | |
5900 | Skip constant arguments. | |
5901 | ||
38e05395 DN |
5902 | 2004-09-28 Diego Novillo <dnovillo@redhat.com> |
5903 | ||
5904 | * tree-ssa-alias.c (create_name_tags): If PTR points to a | |
5905 | volatile type, mark the tag volatile. | |
5906 | (get_tmt_for): If TAG_TYPE is a volatile type, mark the tag | |
5907 | volatile. | |
5908 | ||
45fbb186 AP |
5909 | 2004-09-28 Andrew Pinski <pinskia@physics.uc.edu> |
5910 | ||
5911 | * tree.def (vec_cond_expr): Fix. Change 'e' | |
5912 | to tcc_expression. | |
5913 | ||
c2b7c2d8 KH |
5914 | 2004-09-28 Kazu Hirata <kazu@cs.umass.edu> |
5915 | ||
5916 | * basic-block.h: Fix a comment typo. | |
5917 | ||
6dbd43ba KH |
5918 | 2004-09-28 Kazu Hirata <kazu@cs.umass.edu> |
5919 | ||
5920 | * optabs.c, optabs.h: Fix comment typos. | |
5921 | ||
ecaa611b EB |
5922 | 2004-09-28 Eric Botcazou <ebotcazou@act-europe.fr> |
5923 | ||
5924 | * config/sparc/sparc.md (call_address_struct_value_sp32): | |
5925 | Properly mask the immediate field of the 'unimp' instruction. | |
5926 | (call_symbolic_struct_value_sp32): Likewise. | |
5927 | ||
2a7cd686 | 5928 | 2004-09-28 Ben Elliston <bje@au.ibm.com> |
628f6a4e BE |
5929 | Steven Bosscher <stevenb@suse.de> |
5930 | Andrew Pinski <pinskia@physics.uc.edu> | |
5931 | ||
5932 | Merge from edge-vector-branch: | |
5933 | * basic-block.h: Include vec.h, errors.h. Instantiate a VEC(edge). | |
5934 | (struct edge_def): Remove pred_next, succ_next members. | |
5935 | (struct basic_block_def): Remove pred, succ members. Add preds | |
5936 | and succs members of type VEC(edge). | |
5937 | (FALLTHRU_EDGE): Redefine using EDGE_SUCC. | |
5938 | (BRANCH_EDGE): Likewise. | |
5939 | (EDGE_CRITICAL_P): Redefine using EDGE_COUNT. | |
5940 | (EDGE_COUNT, EDGE_I, EDGE_PRED, EDGE_SUCC): New. | |
5941 | (edge_iterator): New. | |
5942 | (ei_start, ei_last, ei_end_p, ei_one_before_end_p): New. | |
5943 | (ei_next, ei_prev, ei_edge, ei_safe_edge): Likewise. | |
5944 | (FOR_EACH_EDGE): New. | |
5945 | * bb-reorder.c (find_traces): Use FOR_EACH_EDGE and EDGE_* macros | |
5946 | where applicable. | |
5947 | (rotate_loop): Likewise. | |
5948 | (find_traces_1_route): Likewise. | |
5949 | (bb_to_key): Likewise. | |
5950 | (connect_traces): Likewise. | |
5951 | (copy_bb_p): Likewise. | |
5952 | (find_rarely_executed_basic_blocks_and_crossing_edges): Likewise. | |
5953 | (add_labels_and_missing_jumps): Likewise. | |
5954 | (fix_up_fall_thru_edges): Likewise. | |
5955 | (find_jump_block): Likewise. | |
5956 | (fix_crossing_conditional_branches): Likewise. | |
5957 | (fix_crossing_unconditional_branches): Likewise. | |
5958 | (add_reg_crossing_jump_notes): Likewise. | |
5959 | * bt-load.c (augment_live_range): Likewise. | |
5960 | * cfg.c (clear_edges): Likewise. | |
5961 | (unchecked_make_edge): Likewise. | |
5962 | (cached_make_edge): Likewise. | |
5963 | (make_single_succ_edge): Likewise. | |
5964 | (remove_edge): Likewise. | |
5965 | (redirect_edge_succ_nodup): Likewise. | |
5966 | (check_bb_profile): Likewise. | |
5967 | (dump_flow_info): Likewise. | |
5968 | (alloc_aux_for_edges): Likewise. | |
5969 | (clear_aux_for_edges): Likewise. | |
5970 | (dump_cfg_bb_info): Likewise. | |
5971 | * cfganal.c (forwarder_block_p): Likewise. | |
5972 | (can_fallthru): Likewise. | |
5973 | (could_fall_through): Likewise. | |
5974 | (mark_dfs_back_edges): Likewise. | |
5975 | (set_edge_can_fallthru_flag): Likewise. | |
5976 | (find_unreachable_blocks): Likewise. | |
5977 | (create_edge_list): Likewise. | |
5978 | (verify_edge_list): Likewise. | |
5979 | (add_noreturn_fake_exit_edges): Likewise. | |
5980 | (connect_infinite_loops_to_exit): Likewise. | |
5981 | (flow_reverse_top_sort_order_compute): Likewise. | |
5982 | (flow_depth_first_order_compute): Likewise. | |
5983 | (flow_preorder_transversal_compute): Likewise. | |
5984 | (flow_dfs_compute_reverse_execute): Likewise. | |
5985 | (dfs_enumerate_from): Likewise. | |
5986 | (compute_dominance_frontiers_1): Likewise. | |
5987 | * cfgbuild.c (make_edges): Likewise. | |
5988 | (compute_outgoing_frequencies): Likewise. | |
5989 | (find_many_sub_basic_blocks): Likewise. | |
5990 | (find_sub_basic_blocks): Likewise. | |
5991 | * cfgcleanup.c (try_simplify_condjump): Likewise. | |
5992 | (thread_jump): Likewise. | |
5993 | (try_forward_edges): Likewise. | |
5994 | (merge_blocks_move): Likewise. | |
5995 | (outgoing_edges_match): Likewise. | |
5996 | (try_crossjump_to_edge): Likewise. | |
5997 | (try_crossjump_bb): Likewise. | |
5998 | (try_optimize_cfg): Likewise. | |
5999 | (merge_seq_blocks): Likewise. | |
6000 | * cfgexpand.c (expand_gimple_tailcall): Likewise. | |
6001 | (expand_gimple_basic_block): Likewise. | |
6002 | (construct_init_block): Likewise. | |
6003 | (construct_exit_block): Likewise. | |
6004 | * cfghooks.c (verify_flow_info): Likewise. | |
6005 | (dump_bb): Likewise. | |
6006 | (delete_basic_block): Likewise. | |
6007 | (split_edge): Likewise. | |
6008 | (merge_blocks): Likewise. | |
6009 | (make_forwarder_block): Likewise. | |
6010 | (tidy_fallthru_edges): Likewise. | |
6011 | (can_duplicate_block_p): Likewise. | |
6012 | (duplicate_block): Likewise. | |
6013 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
6014 | (fixup_fallthru_exit_predecessor): Likewise. | |
6015 | (can_copy_bbs_p): Likewise. | |
6016 | (copy_bbs): Likewise. | |
6017 | * cfgloop.c (flow_loops_cfg_dump): Likewise. | |
6018 | (flow_loop_entry_edges_find): Likewise. | |
6019 | (flow_loop_exit_edges_find): Likewise. | |
6020 | (flow_loop_nodes_find): Likewise. | |
6021 | (mark_single_exit_loops): Likewise. | |
6022 | (flow_loop_pre_header_scan): Likewise. | |
6023 | (flow_loop_pre_header_find): Likewise. | |
6024 | (update_latch_info): Likewise. | |
6025 | (canonicalize_loop_headers): Likewise. | |
6026 | (flow_loops_find): Likewise. | |
6027 | (get_loop_body_in_bfs_order): Likewise. | |
6028 | (get_loop_exit_edges): Likewise. | |
6029 | (num_loop_branches): Likewise. | |
6030 | (verify_loop_structure): Likewise. | |
6031 | (loop_latch_edge): Likewise. | |
6032 | (loop_preheader_edge): Likewise. | |
6033 | * cfgloopanal.c (mark_irreducible_loops): Likewise. | |
6034 | (expected_loop_iterations): Likewise. | |
6035 | * cfgloopmanip.c (remove_bbs): Likewise. | |
6036 | (fix_bb_placement): Likewise. | |
6037 | (fix_irreducible_loops): Likewise. | |
6038 | (remove_path): Likewise. | |
6039 | (scale_bbs_frequencies): Likewise. | |
6040 | (loopify): Likewise. | |
6041 | (unloop): Likewise. | |
6042 | (fix_loop_placement): Likewise. | |
6043 | (loop_delete_branch_edge): Likewise. | |
6044 | (duplicate_loop_to_header_edge): Likewise. | |
6045 | (mfb_keep_just): Likewise. | |
6046 | (create_preheader): Likewise. | |
6047 | (force_single_succ_latches): Likewise. | |
6048 | (loop_split_edge_with): Likewise. | |
6049 | (create_loop_notes): Likewise. | |
6050 | * cfgrtl.c (rtl_split_block): Likewise. | |
6051 | (rtl_merge_blocks): Likewise. | |
6052 | (rtl_can_merge_blocks): Likewise. | |
6053 | (try_redirect_by_replacing_jump): Likewise. | |
6054 | (force_nonfallthru_and_redirect): Likewise. | |
6055 | (rtl_tidy_fallthru_edge): Likewise. | |
6056 | (commit_one_edge_insertion): Likewise. | |
6057 | (commit_edge_insertions): Likewise. | |
6058 | (commit_edge_insertions_watch_calls): Likewise. | |
6059 | (rtl_verify_flow_info_1): Likewise. | |
6060 | (rtl_verify_flow_info): Likewise. | |
6061 | (purge_dead_edges): Likewise. | |
6062 | (cfg_layout_redirect_edge_and_branch): Likewise. | |
6063 | (cfg_layout_can_merge_blocks_p): Likewise. | |
6064 | (rtl_flow_call_edges_add): Likewise. | |
6065 | * cse.c (cse_cc_succs): Likewise. | |
6066 | * df.c (hybrid_search): Likewise. | |
6067 | * dominance.c (calc_dfs_tree_nonrec): Likewise. | |
6068 | (calc_dfs_tree): Likewise. | |
6069 | (calc_idoms): Likewise. | |
6070 | (recount_dominator): Likewise. | |
6071 | * domwalk.c (walk_dominator_tree): Likewise. | |
6072 | * except.c (emit_to_new_bb_before): Likewise. | |
6073 | (connect_post_landing_pads): Likewise. | |
6074 | (sjlj_emit_function_enter): Likewise. | |
6075 | (sjlj_emit_function_exit): Likewise. | |
6076 | (finish_eh_generation): Likewise. | |
6077 | * final.c (compute_alignments): Likewise. | |
6078 | * flow.c (calculate_global_regs_live): Likewise. | |
6079 | (initialize_uninitialized_subregs): Likewise. | |
6080 | (init_propagate_block_info): Likewise. | |
6081 | * function.c (thread_prologue_and_epilogue_insns): Likewise. | |
6082 | * gcse.c (find_implicit_sets): Likewise. | |
6083 | (bypass_block): Likewise. | |
6084 | (bypass_conditional_jumps): Likewise. | |
6085 | (compute_pre_data): Likewise. | |
6086 | (insert_insn_end_bb): Likewise. | |
6087 | (insert_store): Likewise. | |
6088 | (remove_reachable_equiv_notes): Likewise. | |
6089 | * global.c (global_conflicts): Likewise. | |
6090 | (calculate_reg_pav): Likewise. | |
6091 | * graph.c (print_rtl_graph_with_bb): Likewise. | |
6092 | * ifcvt.c (mark_loop_exit_edges): Likewise. | |
6093 | (merge_if_block): Likewise. | |
6094 | (find_if_header): Likewise. | |
6095 | (block_jumps_and_fallthru_p): Likewise. | |
6096 | (find_if_block): Likewise. | |
6097 | (find_cond_trap): Likewise. | |
6098 | (block_has_only_trap): Likewise. | |
6099 | (find_if_case1): Likewise. | |
6100 | (find_if_case_2): Likewise. | |
6101 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise. | |
6102 | (perfect_nestify): Likewise. | |
6103 | * lcm.c (compute_antinout_edge): Likewise. | |
6104 | (compute_laterin): Likewise. | |
6105 | (compute_available): Likewise. | |
6106 | (compute_nearerout): Likewise. | |
6107 | * loop-doloop.c (doloop_modify): Likewise. | |
6108 | * loop-init.c (loop_optimizer_init): Likewise. | |
6109 | * loop-invariant.c (find_exits): Likewise. | |
6110 | * loop-iv.c (simplify_using_initial_values): Likewise. | |
6111 | (check_simple_exit): Likewise. | |
6112 | (find_simple_exit): Likewise. | |
6113 | * loop-unroll.c (peel_loop_completely): Likewise. | |
6114 | (unroll_loop_constant_iterations): Likewise. | |
6115 | (unroll_loop_runtime_iterations): Likewise. | |
6116 | * loop-unswitch.c (may_unswitch_on): Likewise. | |
6117 | (unswitch_loop): Likewise. | |
6118 | * modulo-sched.c (generate_prolog_epilog): Likewise. | |
6119 | (sms_schedule): Likewise. | |
6120 | * postreload-gcse.c (eliminate_partially_redundant_load): | |
6121 | Likewise. | |
6122 | * predict.c (can_predict_insn_p): Likewise. | |
6123 | (set_even_probabilities): Likewise. | |
6124 | (combine_predictions_for_bb): Likewise. | |
6125 | (predict_loops): Likewise. | |
6126 | (estimate_probability): Likewise. | |
6127 | (tree_predict_by_opcode): Likewise. | |
6128 | (tree_estimate_probability): Likewise. | |
6129 | (last_basic_block_p): Likewise. | |
6130 | (propagate_freq): Likewise. | |
6131 | (estimate_loops_at_level): Likewise. | |
6132 | (estimate_bb_frequencies): Likewise. | |
6133 | * profile.c (instrument_edges): Likewise. | |
6134 | (get_exec_counts): Likewise. | |
6135 | (compute_branch_probabilities): Likewise. | |
6136 | (branch_prob): Likewise. | |
6137 | * ra-build.c (live_in): Likewise. | |
6138 | * ra-rewrite.c (rewrite_program2): Likewise. | |
6139 | * ra.c (reg_alloc): Likewise. | |
6140 | * reg-stack.c (reg_to_stack): Likewise. | |
6141 | (convert_regs_entry): Likewise. | |
6142 | (compensate_edge): Likewise. | |
6143 | (convert_regs_1): Likewise, | |
6144 | (convert_regs_2): Likewise. | |
6145 | (convert_regs): Likewise. | |
6146 | * regrename.c (copyprop_hardreg_forward): Likewise. | |
6147 | * reload1.c (fixup_abnormal_edges): Likewise. | |
6148 | * sbitmap.c (sbitmap_intersection_of_succs): Likewise. | |
6149 | (sbitmap_insersection_of_preds): Likewise. | |
6150 | (sbitmap_union_of_succs): Likewise. | |
6151 | (sbitmap_union_of_preds): Likewise. | |
6152 | * sched-ebb.c (compute_jump_reg_dependencies): Likewise. | |
6153 | (fix_basic_block_boundaries): Likewise. | |
6154 | (sched_ebbs): Likewise. | |
6155 | * sched-rgn.c (build_control_flow): Likewise. | |
6156 | (find_rgns): Likewise. | |
6157 | * tracer.c (find_best_successor): Likewise. | |
6158 | (find_best_predecessor): Likewise. | |
6159 | (tail_duplicate): Likewise. | |
6160 | * tree-cfg.c (make_edges): Likewise. | |
6161 | (make_ctrl_stmt_edges): Likewise. | |
6162 | (make_goto_expr_edges): Likewise. | |
6163 | (tree_can_merge_blocks_p): Likewise. | |
6164 | (tree_merge_blocks): Likewise. | |
6165 | (cfg_remove_useless_stmts_bb): Likewise. | |
6166 | (remove_phi_nodes_and_edges_for_unreachable_block): Likewise. | |
6167 | (tree_block_forwards_to): Likewise. | |
6168 | (cleanup_control_expr_graph): Likewise. | |
6169 | (find_taken_edge): Likewise. | |
6170 | (dump_cfg_stats): Likewise. | |
6171 | (tree_cfg2vcg): Likewise. | |
6172 | (disband_implicit_edges): Likewise. | |
6173 | (tree_find_edge_insert_loc): Likewise. | |
6174 | (bsi_commit_edge_inserts): Likewise. | |
6175 | (tree_split_edge): Likewise. | |
6176 | (tree_verify_flow_info): Likewise. | |
6177 | (tree_make_forwarder_block): Likewise. | |
6178 | (tree_forwarder_block_p): Likewise. | |
6179 | (thread_jumps): Likewise. | |
6180 | (tree_try_redirect_by_replacing_jump): Likewise. | |
6181 | (tree_split_block): Likewise. | |
6182 | (add_phi_args_after_copy_bb): Likewise. | |
6183 | (rewrite_to_new_ssa_names_bb): Likewise. | |
6184 | (dump_function_to_file): Likewise. | |
6185 | (print_pred_bbs): Likewise. | |
6186 | (print_loop): Likewise. | |
6187 | (tree_flow_call_edges_add): Likewise. | |
6188 | (split_critical_edges): Likewise. | |
6189 | (execute_warn_function_return): Likewise. | |
6190 | (extract_true_false_edges_from_block): Likewise. | |
6191 | * tree-if-conv.c (tree_if_conversion): Likewise. | |
6192 | (if_convertable_bb_p): Likewise. | |
6193 | (find_phi_replacement_condition): Likewise. | |
6194 | (combine_blocks): Likewise. | |
6195 | * tree-into-ssa.c (compute_global_livein): Likewise. | |
6196 | (ssa_mark_phi_uses): Likewise. | |
6197 | (ssa_rewrite_initialize_block): Likewise. | |
6198 | (rewrite_add_phi_arguments): Likewise. | |
6199 | (ssa_rewrite_phi_arguments): Likewise. | |
6200 | (insert_phi_nodes_for): Likewise. | |
6201 | (rewrite_into_ssa): Likewise. | |
6202 | (rewrite_ssa_into_ssa): Likewise. | |
6203 | * tree-mudflap.c (mf_build_check_statement_for): Likewise. | |
6204 | * tree-outof-ssa.c (coalesce_abnormal_edges): Likewise. | |
6205 | (rewrite_trees): Likewise. | |
6206 | * tree-pretty-print.c (dump_bb_header): Likewise. | |
6207 | (dump_implicit_edges): Likewise. | |
6208 | * tree-sra.c (insert_edge_copies): Likewise. | |
6209 | (find_obviously_necessary_stmts): Likewise. | |
6210 | (remove_data_stmt): Likewise. | |
6211 | * tree-ssa-dom.c (thread_across_edge): Likewise. | |
6212 | (dom_opt_finalize_block): Likewise. | |
6213 | (single_incoming_edge_ignoring_loop_edges): Likewise. | |
6214 | (record_equivalences_from_incoming_edges): Likewise. | |
6215 | (cprop_into_successor_phis): Likewise. | |
6216 | * tree-ssa-live.c (live_worklist): Likewise. | |
6217 | (calculate_live_on_entry): Likewise. | |
6218 | (calculate_live_on_exit): Likewise. | |
6219 | * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise. | |
6220 | (copy_loop_headers): Likewise. | |
6221 | * tree-ssa-loop-im.c (loop_commit_inserts): Likewise. | |
6222 | (fill_always_executed_in): Likewise. | |
6223 | * tree-ssa-loop-ivcanon.c (create_canonical_iv): Likewise. | |
6224 | * tree-ssa-loop-ivopts.c (find_interesting_uses): Likewise. | |
6225 | (compute_phi_arg_on_exit): Likewise. | |
6226 | * tree-ssa-loop-manip.c (add_exit_phis_edge): Likewise. | |
6227 | (get_loops_exit): Likewise. | |
6228 | (split_loop_exit_edge): Likewise. | |
6229 | (ip_normal_pos): Likewise. | |
6230 | * tree-ssa-loop-niter.c (simplify_using_initial_conditions): | |
6231 | Likewise. | |
6232 | * tree-ssa-phiopt.c (candidate_bb_for_phi_optimization): Likewise. | |
6233 | (replace_phi_with_stmt): Likewise. | |
6234 | (value_replacement): Likewise. | |
6235 | * tree-ssa-pre.c (compute_antic_aux): Likewise. | |
6236 | (insert_aux): Likewise. | |
6237 | (init_pre): Likewise. | |
6238 | * tree-ssa-propagate.c (simulate_stmt): Likewise. | |
6239 | (simulate_block): Likewise. | |
6240 | (ssa_prop_init): Likewise. | |
3e6688a7 | 6241 | * tree-ssa-threadupdate.c (thread_block): Likewise. |
628f6a4e BE |
6242 | (create_block_for_threading): Likewise. |
6243 | (remove_last_stmt_and_useless_edges): Likewise. | |
6244 | * tree-ssa.c (verify_phi_args): Likewise. | |
6245 | (verify_ssa): Likewise. | |
6246 | * tree_tailcall.c (independent_of_stmt_p): Likewise. | |
6247 | (find_tail_calls): Likewise. | |
6248 | (eliminate_tail_call): Likewise. | |
6249 | (tree_optimize_tail_calls_1): Likewise. | |
6250 | * tree-vectorizer.c (vect_transform_loop): Likewise. | |
6251 | * var-tracking.c (prologue_stack_adjust): Likewise. | |
6252 | (vt_stack_adjustments): Likewise. | |
6253 | (vt_find_locations): Likewise. | |
6254 | * config/frv/frv.c (frv_ifcvt_modify_tests): Likewise. | |
6255 | * config/i386/i386.c (ix86_pad_returns): Likewise. | |
6256 | * config/ia64/ia64.c (ia64_expand_prologue): Likewise. | |
6257 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. | |
6258 | ||
5be9b7a1 EB |
6259 | 2004-09-28 Eric Botcazou <ebotcazou@libertysurf.fr> |
6260 | ||
6261 | PR target/16532 | |
6262 | * config/sparc/sparc.c (struct machine_function): New field | |
6263 | 'leaf_function_p' and 'prologue_data_valid_p'. | |
6264 | (sparc_leaf_function_p, sparc_prologue_data_valid_p): New macro | |
6265 | to conveniently access the above fields. | |
6266 | (TARGET_LATE_RTL_PROLOGUE_EPILOGUE): Delete. | |
6267 | (eligible_for_return_delay): Use 'sparc_leaf_function_p' instead | |
6268 | of the generic flavor 'current_function_uses_only_leaf_regs'. | |
6269 | (eligible_for_sibcall_delay): Likewise. | |
6270 | (sparc_expand_prologue): Compute 'sparc_leaf_function_p' and set | |
6271 | 'sparc_prologue_data_valid_p'. Use 'sparc_leaf_function_p'. | |
6272 | (sparc_asm_function_prologue): Add sanity check for the assumption | |
6273 | made in 'sparc_expand_prologue'. Use 'sparc_leaf_function_p'. | |
6274 | (sparc_can_use_return_insn_p): New function. | |
6275 | (sparc_expand_epilogue): Use 'sparc_leaf_function_p'. | |
6276 | (output_restore): Likewise. | |
6277 | (output_sibcall): Likewise. | |
6278 | (sparc_output_mi_thunk): Likewise. | |
6279 | * config/sparc/sparc-protos.h (sparc_can_use_return_insn_p): Declare. | |
6280 | * config/sparc/sparc.md (return): New expander. | |
6281 | ||
6282 | * config/sparc/sparc.h (INITIAL_ELIMINATION_OFFSET): Minor tweak. | |
6283 | ||
455f19cb MM |
6284 | 2004-09-27 Mark Mitchell <mark@codesourcery.com> |
6285 | ||
6286 | PR c++/17642 | |
6287 | * stor-layout.c (layout_decl): Use fold_convert, not convert. | |
6288 | (bit_from_pos): Likewise. | |
6289 | (byte_from_pos): Likewise. | |
6290 | (pos_from_bit): Likewise. | |
6291 | (normalize_offset): Likewise. | |
6292 | (place_field): Likewise. | |
6293 | (finalize_type_size): Likewise. | |
6294 | (layout_type): Likewise. | |
6295 | * tree.c (build_index_type): Likewise. | |
6296 | ||
7ce67fbe DP |
6297 | 2004-09-27 Devang Patel <dpatel@apple.com> |
6298 | ||
6299 | * expr.c (expand_expr_real_1): Handle VEC_COND_EXPR. | |
6300 | * genopinit.c (optabs): New entry for vcond_gen_code and | |
6301 | vcondu_gen_code. | |
6302 | * optabs.c (vcond_gen_code, vcondu_gen_code): New optabs. | |
6303 | (get_rtx_code): New function. | |
6304 | (vector_compare_rtx): New function. | |
6305 | (init_optabs): Initialize vcond_gen_code and vcondu_gen_code. | |
6306 | (expand_vec_cond_expr_p): New function. | |
6307 | (expand_vec_cond_expr): New function. | |
6308 | (get_vcond_icode): New function. | |
6309 | * optabs.h (expand_vec_cond_expr, expand_vec_cond_expr_p): New externs. | |
6310 | (vcond_gen_code, vcondu_gen_code): Same. | |
6311 | ||
55040e7a KC |
6312 | 2004-09-27 Kelley Cook <kcook@gcc.gnu.org> |
6313 | ||
6314 | * Makefile.in (STAGESTUFF): Split into ... | |
6315 | (STAGECOPYSTUFF, STAGEMOVESTUFF): ... these. | |
6316 | (mostlyclean): Update. | |
6317 | (stage1-start, stage2-start, stage3-start, stage4-start, | |
6318 | stageprofile-start, stagefeedback-start): Copy the STAGECOPYSTUFF. | |
6319 | Move the STAGEMOVESTUFF. | |
6320 | ||
f6260033 EB |
6321 | 2004-09-27 Eric Botcazou <ebotcazou@libertysurf.fr> |
6322 | ||
6323 | * system.h (getpagesize): Return 'int' instead of 'long'. | |
6324 | ||
49f41d06 MM |
6325 | 2004-09-27 Michael Matz <matz@suse.de> |
6326 | ||
6327 | PR bootstrap/17698 | |
6328 | PR bootstrap/17702 | |
6329 | * bitmap.h (bmp_iter_single_init, bmp_iter_and_not_init, | |
6330 | bmp_iter_and_init): Shift by bit_in_word. | |
6331 | ||
a62322c4 KC |
6332 | 2004-09-27 Kelley Cook <kcook@gcc.gnu.org> |
6333 | ||
6334 | * aclocal.m4: Quote m4_includes. Include ../config/gcc-lib-path.m4. | |
6335 | * configure.ac: Don't sinclude it here. | |
6336 | * configure: Regenerate. | |
6337 | ||
850e8d3d DN |
6338 | 2004-09-27 Dorit Naishlos <dorit@il.ibm.com> |
6339 | ||
6340 | * config/rs6000/rs6000.c (rs6000_legitimate_address, print_operand): | |
6341 | Handle AND pattern | |
6342 | ||
5e9bda65 JM |
6343 | 2004-09-27 Joseph S. Myers <jsm@polyomino.org.uk> |
6344 | ||
6345 | PR c/13804 | |
6346 | * c-typeck.c (build_component_ref): Name type involved in | |
6347 | diagnostic for structure or union without a member of the given | |
6348 | name. | |
6349 | ||
43f51151 DD |
6350 | 2004-09-27 DJ Delorie <dj@redhat.com> |
6351 | ||
6352 | * config/stormy16/stormy16.c (xstormy16_asm_output_aligned_common): | |
6353 | .comm alignment is bytes, not bits. | |
6354 | ||
6337c1a2 DP |
6355 | 2004-09-27 Devang Patel <dpatel@apple.com> |
6356 | ||
6357 | * tree-pretty-print.c (dump_generic_node): Print VEC_COND_EXPR. | |
6358 | (print_call_name): Do not print VEC_COND_EXPR. | |
6337c1a2 | 6359 | |
7e200b50 DP |
6360 | 2004-09-27 Devang Patel <dpatel@apple.com> |
6361 | ||
6362 | * tree-pretty-print.c (dump_generic_node): Print VEC_COND_EXPR. | |
3e6688a7 | 6363 | |
8c1e80e9 JH |
6364 | 2004-09-27 Jan Hubicka <jh@suse.cz> |
6365 | ||
6366 | * i386.c (athlon_cost, k8_cost): Set BRANCH_COST to 5. | |
6367 | ||
75e50bd2 KH |
6368 | 2004-09-27 Kazu Hirata <kazu@cs.umass.edu> |
6369 | ||
6370 | * bitmap.h: Fix a comment typo. | |
6371 | ||
94c1e7ac AL |
6372 | 2004-09-27 Aaron W. LaFramboise <aaronraolete36@aaronwl.com> |
6373 | ||
6374 | * libgcc2.c (getpagesize): Change type of return value to int. | |
6375 | ||
772299b3 MA |
6376 | 2004-09-26 Matt Austern <austern@apple.com> |
6377 | ||
6378 | * ggc-page.c (GGC_QUIRE_SIZE): Bump up from 16 to 256 if we're | |
6379 | using mmap. | |
3e6688a7 | 6380 | |
87c476a2 ZD |
6381 | 2004-09-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6382 | ||
6383 | * bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP, | |
6384 | EXECUTE_IF_AND_IN_BITMAP): Changed to iterator style. | |
6385 | (bitmap_iterator): New type. | |
6386 | (bmp_iter_common_next_1, bmp_iter_single_next_1, bmp_iter_single_init, | |
6387 | bmp_iter_end_p, bmp_iter_single_next, bmp_iter_and_not_next_1, | |
6388 | bmp_iter_and_not_init, bmp_iter_and_not_next, bmp_iter_and_next_1, | |
6389 | bmp_iter_and_init, bmp_iter_and_next): New functions. | |
6390 | * basic-block.h (EXECUTE_IF_SET_IN_REG_SET, | |
6391 | EXECUTE_IF_AND_COMPL_IN_REG_SET, EXECUTE_IF_AND_IN_REG_SET): Changed to | |
6392 | use iterator-style EXECUTE_IF_IN_BITMAP macros. | |
6393 | * bitmap.c (bitmap_print): Ditto. | |
6394 | * bt-load.c (clear_btr_from_live_range, add_btr_to_live_range, | |
6395 | btr_def_live_range): Ditto. | |
6396 | * cfganal.c (compute_dominance_frontiers_1) Ditto. | |
6397 | * cgraphunit.c (convert_UIDs_in_bitmap, cgraph_characterize_statics): | |
6398 | Ditto. | |
6399 | * ddg.c (build_inter_loop_deps): Ditto. | |
6400 | * df.c (FOR_EACH_BB_IN_BITMAP, df_bb_reg_info_compute, df_refs_update): | |
6401 | Ditto. | |
6402 | * except.c (remove_eh_handler): Ditto. | |
6403 | * flow.c (reg_set_to_hard_reg_set): Ditto. | |
6404 | * gcse.c (clear_modify_mem_tables): Ditto. | |
6405 | * global.c (build_insn_chain): Ditto. | |
6406 | * ifcvt.c (dead_or_predicable): Ditto. | |
6407 | * loop-invariant.c (get_inv_cost, set_move_mark, move_invariant_reg): | |
6408 | Ditto. | |
6409 | * ra-build.c (livethrough_conflicts_bb, conflicts_between_webs): Ditto. | |
6410 | * ra-rewrite.c (reloads_to_loads, rewrite_program2, | |
6411 | detect_web_parts_to_rebuild, delete_useless_defs, actual_spill): Ditto. | |
6412 | * tree-cfg.c (allocate_ssa_names, tree_duplicate_sese_region, | |
6413 | tree_purge_all_dead_eh_edges): Ditto. | |
6414 | * tree-into-ssa.c (compute_global_livein, insert_phi_nodes, | |
6415 | insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags, | |
6416 | rewrite_ssa_into_ssa): Ditto. | |
6417 | * tree-outof-ssa.c (find_replaceable_exprs): Ditto. | |
6418 | * tree-sra.c (scan_function, decide_instantiations, scalarize_parms): | |
6419 | Ditto. | |
6420 | * tree-ssa-alias.c (init_alias_info, compute_points_to_and_addr_escape, | |
6421 | compute_flow_sensitive_aliasing, maybe_create_global_var, | |
6422 | dump_points_to_info_for): Ditto. | |
6423 | * tree-ssa-dce.c (EXECUTE_IF_CONTROL_DEPENDENT): Ditto. | |
6424 | * tree-ssa-dse.c (dse_finalize_block): Ditto. | |
6425 | * tree-ssa-live.c (live_worklist, calculate_live_on_entry, | |
6426 | calculate_live_on_exit, build_tree_conflict_graph, dump_live_info): | |
6427 | Ditto. | |
6428 | * tree-ssa-loop-ivopts.c (find_induction_variables, | |
6429 | find_interesting_uses, add_old_ivs_candidates, alloc_use_cost_map, | |
6430 | determine_use_iv_costs, determine_set_costs, find_best_candidate, | |
6431 | set_cost_up_to, create_new_ivs, remove_unused_ivs, free_loop_data): | |
6432 | Ditto. | |
6433 | * tree-ssa-loop-manip.c (add_exit_phis_var, add_exit_phis): Ditto. | |
6434 | * tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops, | |
6435 | add_call_read_ops): Ditto. | |
6436 | * tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Ditto. | |
6437 | ||
69049ba0 JDA |
6438 | 2004-09-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6439 | ||
6440 | * pa.c (print_operand): Use non-trapping completers for UNLE, UNLT, | |
6441 | UNGE, UNGT, UNEQ, UNORDERED and ORDERED comparisons. | |
6442 | ||
6cbaec9e UW |
6443 | 2004-09-26 Ulrich Weigand <uweigand@de.ibm.com> |
6444 | ||
6445 | * builtins.c (expand_builtin_memcmp): Adjust MEM_SIZE to | |
6446 | reflect size of memory regions being compared. | |
6447 | ||
931e6c29 UW |
6448 | 2004-09-26 Ulrich Weigand <uweigand@de.ibm.com> |
6449 | ||
6450 | * builtins.c (get_memory_rtx): Set mem attributes for non-ADDR_EXPR | |
6451 | expressions. Always clear MEM_SIZE and alias set. | |
6452 | ||
897f610b RS |
6453 | 2004-09-26 Roger Sayle <roger@eyesopen.com> |
6454 | Giovanni Bajo <giovannibajo@gcc.gnu.org> | |
6455 | ||
6456 | PR middle-end/17112 | |
6457 | * stor-layout.c (compute_record_mode): For records with a single | |
6458 | field, only use the field's mode if its size matches what we'd | |
6459 | have choosen for the record ourselves. This forces the use of | |
6460 | BLKmode for packed records that don't completely fill a mode. | |
6461 | ||
5c8c573a RS |
6462 | 2004-09-26 Roger Sayle <roger@eyesopen.com> |
6463 | ||
6464 | PR middle-end/17151 | |
6465 | * combine.c (force_to_mode): Remove dubious early return test that | |
6466 | inhibits further optimization. | |
6467 | ||
628f3b63 KH |
6468 | 2004-09-26 Kazu Hirata <kazu@cs.umass.edu> |
6469 | ||
6470 | * profile.c: Fix a comment typo. | |
6471 | ||
be35cf60 ZD |
6472 | 2004-09-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6473 | ||
6474 | PR bootstrap/17591 | |
6475 | * tree-ssa-loop-im.c (for_each_index): Call callback for component_refs | |
6476 | with varying offset. | |
6477 | * tree-ssa-loop-ivopts.c (abnormal_ssa_name_p): New function. | |
6478 | (idx_contains_abnormal_ssa_name_p): Scan step and lower bound for | |
6479 | ARRAY_REFS. | |
6480 | (expr_invariant_in_loop_p): New function. | |
6481 | (idx_find_step): Handle step and lower bound for ARRAY_REFs. Handle | |
6482 | component_ref_field_offset for COMPONENT_REFs. Do not allow | |
6483 | ALIGN_INDIRECT_REFs and MISALIGNED_INDIRECT_REFs. | |
6484 | (add_address_candidates): Do not handle ALIGN_INDIRECT_REFs and | |
6485 | MISALIGNED_INDIRECT_REFs. | |
6486 | (idx_remove_ssa_names): Handle step and lower bound for ARRAY_REFs. | |
6487 | (rewrite_address_base): Do not handle ALIGN_INDIRECT_REFs and | |
6488 | MISALIGNED_INDIRECT_REFs. | |
6489 | ||
34096b92 JM |
6490 | 2004-09-26 Joseph S. Myers <jsm@polyomino.org.uk> |
6491 | ||
6492 | PR c/11459 | |
6493 | * gcc.c (cpp_options, cc1_options): Preserve relative order of | |
6494 | -std and -ansi options. | |
6495 | ||
5db0241f JH |
6496 | 2004-09-26 Jan Hubicka <jh@suse.cz> |
6497 | ||
1168d30f JH |
6498 | * dwarf2out.c (dwarf2out_finish): Set parent to comp_unit_die |
6499 | for nested functions whose proper parent has not been output. | |
6500 | ||
5db0241f JH |
6501 | * profile.c (compute_branch_probabilities): Use REG_BR_PROB notes |
6502 | when re-constructing profile previously invalidated by loop. | |
6503 | ||
bfe0d06b DJ |
6504 | 2004-09-25 Dale Johannesen <dalej@apple.com> |
6505 | ||
6506 | * tree-gimple.c: Move GIMPLE definition... | |
6507 | * doc/tree-ssa.texi: here. | |
6508 | ||
601d18c6 KH |
6509 | 2004-09-25 Kazu Hirata <kazu@cs.umass.edu> |
6510 | ||
6511 | * tree-vectorizer.c: Fix a comment typo. | |
6512 | ||
ea4b7848 KH |
6513 | 2004-09-25 Kazu Hirata <kazu@cs.umass.edu> |
6514 | ||
6515 | * c-typeck.c, defaults.h, dwarf.h, dwarf2out.c, fold-const.c, | |
6516 | gthr-dce.h, gthr-posix.h, gthr-solaris.h, gthr-win32.h, | |
6517 | lambda-code.c, lambda-mat.c, libgcc2.c, stmt.c, | |
6518 | tree-ssa-pre.c, tree-vn.c, tree.h: Fix comment formatting. | |
6519 | ||
e75220c8 KH |
6520 | 2004-09-25 Kazu Hirata <kazu@cs.umass.edu> |
6521 | ||
6522 | * tree-ssa-loop-unswitch.c: Fix a comment typo. | |
6523 | ||
87880c12 KH |
6524 | 2004-09-25 Kazu Hirata <kazu@cs.umass.edu> |
6525 | ||
6526 | * doc/passes.texi: Fix a typo. | |
6527 | ||
f3cd574f ZD |
6528 | 2004-09-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6529 | ||
6530 | * tree-optimize.c (init_tree_optimization_passes): Add | |
6531 | pass_record_bounds. | |
6532 | * tree-pass.h (pass_record_bounds): Declare. | |
6533 | * tree-ssa-loop.c (tree_ssa_loop_bounds, pass_record_bounds): | |
6534 | New pass. | |
6535 | ||
f34fa464 ZD |
6536 | 2004-09-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6537 | ||
6538 | PR tree-optimization/17474 | |
6539 | * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Determine | |
6540 | offset of the field correctly when DECL_FIELD_BIT_OFFSET != 0. | |
6541 | ||
70f3cc30 JH |
6542 | 2004-09-25 Jan Hubicka <jh@suse.cz> |
6543 | ||
f34fa464 | 6544 | * predict.c (counts_to_freqs): Make global. |
bbd236a1 JH |
6545 | * predict.h (counts_to_freqa): Declare. |
6546 | * profile.c (compute_branch_probabilities): Compute frequencies | |
6547 | * tree-profile.c (do_tree_profiling): Refine conditional on when | |
6548 | tree profiling pass is needed. | |
6549 | ||
70f3cc30 JH |
6550 | * passes.c (rest_of_handle_cfg): Disable const/pure function |
6551 | detection when doing tree based profiling. | |
6552 | ||
6553 | * tree-inline.c (expand_call_inline): Fix incorrectly reversed | |
6554 | conditional. | |
6555 | ||
b11a9d5f RS |
6556 | 2004-09-25 Richard Sandiford <rsandifo@redhat.com> |
6557 | ||
6558 | * config/mips/mips.h (struct mips_args): Clarify comments. | |
6559 | * config/mips/mips.c (struct mips_arg_info): Likewise. | |
6560 | (mips_arg_info): Don't allow fpr_p to affect the register or | |
6561 | stack alignment. Remove o64 silliness. | |
6562 | (function_arg): Deal with the o32 float,float case specially. | |
6563 | ||
03eccdc8 RS |
6564 | 2004-09-25 Richard Sandiford <rsandifo@redhat.com> |
6565 | ||
6566 | * config/mips/mips.md (loadx, storex): Define for V2SF. | |
6567 | ||
ef44a6ff UW |
6568 | 2004-09-25 Ulrich Weigand <uweigand@de.ibm.com> |
6569 | ||
6570 | * config/s390/s390-protos.h (s390_back_chain_rtx): Add prototype. | |
6571 | * config/s390/s390.c (s390_back_chain_rtx): New function. | |
6572 | * config/s390/s390.md ("allocate_stack"): Use s390_back_chain_rtx. | |
6573 | Call anti_adjust_stack. | |
6574 | ("restore_stack_block"): Use s390_back_chain_rtx. Enable pattern | |
6575 | only if compiling with back chain. | |
6576 | ("save_stack_nonlocal", "restore_stack_nonlocal"): Save/restore | |
6577 | back chain only if back chain enabled. Use s390_back_chain_rtx. | |
3e6688a7 | 6578 | |
60ae6360 JM |
6579 | 2004-09-25 Joseph S. Myers <jsm@polyomino.org.uk> |
6580 | ||
6581 | * doc/trouble.texi: Remove obsolete information. Update | |
6582 | information on how to regenerate fixincluded headers. | |
6583 | ||
b99cfc22 JM |
6584 | 2004-09-25 Joseph S. Myers <jsm@polyomino.org.uk> |
6585 | ||
6586 | PR c/12951 | |
6587 | * doc/invoke.texi: Document that | |
6588 | -Wno-error-implicit-function-declaration is not accepted. | |
6589 | ||
e2ea71ea RH |
6590 | 2004-09-24 Richard Henderson <rth@redhat.com> |
6591 | ||
6592 | * config/alpha/alpha.h (UNITS_PER_SIMD_WORD): New. | |
6593 | * config/alpha/alpha.c (alpha_vector_mode_supported_p): Don't depend | |
6594 | on TARGET_MAX. | |
6595 | (alpha_expand_mov): Allow unaligned vectors. | |
6596 | (alpha_expand_unaligned_store): Use CONST0_RTX. | |
6597 | (TARGET_VECTORIZE_MISALIGNED_MEM_OK): New. | |
6598 | ||
b8545fbf JL |
6599 | 2004-09-24 Jeff Law <law@redhat.com> |
6600 | ||
6601 | * tree-ssa-dom.c (dom_opt_finalize_block): Fix violation of strict | |
6602 | aliasing rules. | |
6603 | (simplify_cond_and_lookup_avail_expr): Likewise. | |
6604 | ||
2fbebc71 JM |
6605 | 2004-09-24 Joseph S. Myers <jsm@polyomino.org.uk> |
6606 | ||
6607 | PR c/12802 | |
6608 | * doc/extend.texi (Unnamed Fields): Remove "." from end of long | |
6609 | title. Document interaction with -fms-extensions. | |
6610 | * doc/invoke.texi (-fms-extensions): Refer to Unnamed Fields | |
6611 | section. | |
6612 | ||
2e9522f4 JM |
6613 | 2004-09-24 Joseph S. Myers <jsm@polyomino.org.uk> |
6614 | ||
6615 | PR c/12713 | |
6616 | * doc/extend.texi: Document interaction of attribute noreturn and | |
6617 | longjmp. | |
6618 | ||
41bf2a8b RH |
6619 | 2004-09-24 Richard Henderson <rth@redhat.com> |
6620 | ||
6621 | PR rtl-opt/17503 | |
6622 | * regclass.c (subregs_of_mode): Turn into an htab. Make static. | |
6623 | (som_hash, som_eq): New. | |
6624 | (init_subregs_of_mode, record_subregs_of_mode): New. | |
6625 | (cannot_change_mode_set_regs): Rewrite for htab implementation. | |
6626 | (invalid_mode_change_p): Likewise. | |
6627 | * combine.c (gen_lowpart_for_combine): Use record_subregs_of_mode. | |
6628 | * flow.c (mark_used_regs): Likewise. | |
6629 | (life_analysis): Use init_subregs_of_mode. | |
6630 | * regs.h (subregs_of_mode): Remove. | |
6631 | * rtl.h (init_subregs_of_mode, record_subregs_of_mode): Declare. | |
6632 | ||
84f7a28c AP |
6633 | 2004-09-24 Andrew Pinski <pinskia@physics.uc.edu> |
6634 | ||
6635 | * tree-ssa-phiopt.c (conditional_replacement): Use the correct | |
6636 | type with the copy of the conditional. | |
6637 | ||
532c67ca AP |
6638 | 2004-09-24 Andrew Pinski <pinskia@physics.uc.edu> |
6639 | ||
6640 | PR tree-opt/16954 | |
6641 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
6642 | Prevent renaming if the aliasing sets of the type which the | |
6643 | pointer points to are different. | |
6644 | ||
085e33aa JM |
6645 | 2004-09-24 Joseph S. Myers <jsm@polyomino.org.uk> |
6646 | ||
6647 | PR c/17188 | |
6648 | * c-decl.c (diagnose_mismatched_decls): Check for duplicate | |
6649 | declarations of enumerators. | |
6650 | (start_struct): Check TYPE_SIZE rather than TYPE_FIELDS to check | |
6651 | for redefinition. Check for nested redefinition. | |
6652 | (finish_struct): Don't check for nested redefinition. | |
6653 | (start_enum): Check for nested redefinition. | |
6654 | ||
a2159c4c DP |
6655 | 2004-09-24 Devang Patel <dpatel@apple.com> |
6656 | ||
6657 | * tree-if-conv.c (tree_if_convert_cond_expr0: Create temp. variable | |
6658 | only when necesssary. | |
6659 | (combine_blocks): Combine loop header and exit block. | |
3e6688a7 | 6660 | |
55e74277 PB |
6661 | 2004-09-24 Paolo Bonzini <bonzini@gnu.org> |
6662 | ||
6663 | * hooks.c (hook_tree_tree_bool_null): New. | |
6664 | * hooks.h (hook_tree_tree_bool_null): Declare it. | |
6665 | * target-def.c (TARGET_FOLD_BUILTIN): Point to it. | |
6666 | * targhooks.c (default_fold_builtin): Remove. | |
6667 | * targhooks.h (default_fold_builtin): Remove. | |
6668 | ||
30d3fc60 ZD |
6669 | 2004-09-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6670 | ||
6671 | PR rtl-optimization/17625 | |
6672 | * loop-doloop.c (doloop_modify): Unshare rtl before emitting it. | |
6673 | ||
54e075fe AP |
6674 | 2004-09-24 Andrew Pinski <pinskia@physics.uc.edu> |
6675 | ||
6676 | PR tree-opt/17624 | |
6677 | * tree-ssa-forwprop.c (record_single_argument_cond_exprs): | |
6678 | Reject if any of the operands occur in an abnormal PHI. | |
6679 | ||
4a198dea AS |
6680 | 2004-09-24 Andreas Schwab <schwab@suse.de> |
6681 | ||
6682 | * tree-ssa-dom.c (record_range): Fix violation of strict aliasing | |
6683 | rules. | |
6684 | ||
5d865dac EB |
6685 | 2004-09-24 Eric Botcazou <ebotcazou@libertysurf.fr> |
6686 | ||
6687 | * config.gcc (sparc64-*-solaris2*): Include sparc/sol2-gas.h | |
6688 | if the GNU assembler is used. | |
6689 | (sparc-*-solaris2*): Likewise. | |
6690 | * dbxout.c (NO_DBX_BNSYM_ENSYM): Default to zero. | |
6691 | (dbxout_function_end): Protect N_ENSYM with it. | |
6692 | (dbxout_begin_prologue): Protect N_BNSYM with it. | |
6693 | * doc/tm.texi (NO_DBX_BNSYM_ENSYM): Document it. | |
6694 | * config/sparc/sol2.h (NO_DBX_BNSYM_ENSYM): Define to 1. | |
6695 | * config/sparc/sol2-gas.h: New file. | |
6696 | ||
4c4a5bbc L |
6697 | 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> |
6698 | ||
6699 | PR bootstrap/17369 | |
6700 | * Makefile.in (@set_gcc_lib_path@): Added. | |
6701 | ||
6702 | * configure.ac: Include ../config/gcc-lib-path.m4. Use | |
6703 | TL_AC_GNU_MAKE_GCC_LIB_PATH. | |
6704 | * configure: Regenerated. | |
6705 | ||
ff80e49f JM |
6706 | 2004-09-24 Joseph S. Myers <jsm@polyomino.org.uk> |
6707 | ||
6708 | PR c/6980 | |
6709 | * c-typeck.c (build_c_cast): Improve wording of | |
6710 | -Wbad-function-cast diagnostic. | |
6711 | ||
e758023d HPN |
6712 | 2004-09-23 Hans-Peter Nilsson <hp@axis.com> |
6713 | ||
6714 | PR target/17626 | |
6715 | * config/cris/cris.md (moverside, movemside): Rename variable | |
6716 | "reg" to "otherop". To generate canonical RTX, check that otherop | |
6717 | isn't constant instead of checking that operand 1 is a register. | |
6718 | ||
31d66fa9 JJ |
6719 | 2004-09-23 Jakub Jelinek <jakub@redhat.com> |
6720 | ||
6721 | * tree-ssa-propagate.c (set_rhs): Fail if EXPR is COMPOUND_EXPR. | |
6722 | ||
b28b1600 JJ |
6723 | 2004-09-23 Diego Novillo <dnovillo@redhat.com> |
6724 | Jakub Jelinek <jakub@redhat.com> | |
6725 | ||
6726 | * tree-flow.h (find_new_referenced_vars): Add prototype. | |
6727 | * tree-sra.c (find_new_referenced_vars_1, find_new_referenced_vars): | |
6728 | Move to... | |
6729 | * tree-dfa.c (find_new_referenced_vars_1, find_new_referenced_vars): | |
6730 | ... here. | |
6731 | (mark_new_vars_to_rename): Walk through all operands. | |
6732 | * tree-ssa-ccp.c (convert_to_gimple_builtin): New function. | |
6733 | (execute_fold_all_builtins): Use it. | |
6734 | (pass_fold_builtins): Add TODO_rename_vars to todo_flags_finish. | |
6735 | ||
512baaea D |
6736 | 2004-09-23 P.J. Darcy <darcypj@us.ibm.com> |
6737 | ||
6738 | * gthr-tpf.h: New file. | |
6739 | * config.gcc (s390x-ibm-tpf*): Add thread_file='tpf'. | |
6740 | * gthr.h: Use gthr-tpf.h on TPF OS. | |
6741 | ||
3aecd08b JL |
6742 | 2004-09-23 Jeff Law <law@redhat.com> |
6743 | ||
6744 | * tree-ssa-ccp.c (get_default_value): Use SSA_NAME_VALUE rather | |
6745 | than SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV. | |
6746 | (substitute_and_fold): Likewise. | |
6747 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Remove everything | |
6748 | except invariants from SSA_NAME_VALUE. | |
6749 | (thread_across_edge): Use SSA_NAME_VALUE rather than SSA_NAME_EQUIV | |
6750 | and SET_SSA_NAME_EQUIV. | |
6751 | (restore_vars_to_original_value, record_const_or_copy): Likewise. | |
6752 | (record_equivalences_from_phis, record_const_or_copy_1): Likewise. | |
6753 | (record_equality, cprop_into_successor_phis): Likewise. | |
6754 | (record_equivalences_from_stmt, cprop_operand): Likewise. | |
6755 | (lookup_avail_expr): Likewise. | |
6756 | * tree-ssa-pre.c (fini_pre): Remove everything except invariants | |
6757 | from SSA_NAME_VALUE. | |
6758 | * tree.h (SSA_NAME_EQUIV, SET_SSA_NAME_EQUIV): Kill. | |
6759 | (struct tree_ssa_name): Kill EQUIV field. Remove GGC skip | |
6760 | annotation from the VALUE_HANDLE field. | |
6761 | ||
037cc9c5 | 6762 | 2004-09-21 Fariborz Jahanian <fjahanian@apple.com> |
23fad16e | 6763 | |
037cc9c5 FJ |
6764 | PR c++/13989 |
6765 | PR c++/9844 | |
037cc9c5 | 6766 | * tree.c (reconstruct_complex_type): Remove extra "this". |
3e6688a7 | 6767 | * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): |
037cc9c5 FJ |
6768 | Add V4SFmode to case statement. |
6769 | ||
e6e931b7 JM |
6770 | 2004-09-23 Joseph S. Myers <jsm@polyomino.org.uk> |
6771 | ||
6772 | PR c/16833 | |
6773 | * doc/extend.texi, doc/invoke.texi: Document interaction of | |
6774 | -fno-builtin with format checks. Note that built-in functions | |
6775 | have effects beyond generating code that avoids calls to those | |
6776 | functions. | |
6777 | ||
df485d80 FCE |
6778 | 2004-09-23 Frank Ch. Eigler <fche@redhat.com> |
6779 | ||
6780 | PR tree-optimization/17533 | |
6781 | * dominance.c (verify_dominators): Tolerate even more incorrect | |
6782 | dominance data during error message printing. | |
6783 | * tree-mudflap.c (mf_build_check_statement_for): Build basic blocks | |
6784 | and edges more correctly. | |
3e6688a7 | 6785 | |
7ccf35ed DN |
6786 | 2004-09-23 Dorit Naishlos <dorit@il.ibm.com> |
6787 | ||
a834e70b SB |
6788 | * tree.def (ALIGN_INDIRECT_REF, MISALIGNED_INDIRECT_REF): |
6789 | New tree-codes. | |
6790 | * tree.h (REF_ORIGINAL): Consider ALIGN_INDIRECT_REF and | |
6791 | MISALIGNED_INDIRECT_REF. | |
6792 | * alias.c (get_alias_set, nonoverlapping_memrefs_p): Likewise. | |
6793 | * emit-rtl.c (mem_expr_equal_p, set_mem_attributes_minus_bitpos): | |
6794 | Likewise. | |
6795 | * expr.c (safe_from_p, expand_expr_real_1, rewrite_address_base) | |
6796 | (find_interesting_uses_address): Likewise. | |
6797 | * fold-const.c (non_lvalue, operand_equal_p): Likewise. | |
6798 | (build_fold_addr_expr_with_type): Likewise. | |
6799 | * gimplify.c (gimplify_addr_expr, gimplify_expr): Likewise. | |
6800 | * print-rtl.c (print_mem_expr): Likewise. | |
6801 | * tree-dump.c (dequeue_and_dump): Likewise. | |
6802 | * tree-eh.c (tree_could_trap_p): Likewise. | |
6803 | * tree-gimple.c (is_gimple_addressable, get_base_address): Likewise. | |
6804 | * tree-pretty-print.c (op_prio, op_symbol, dump_generic_node): Likewise. | |
6805 | * tree-ssa-alias.c (find_ptr_dereference, ptr_is_dereferenced_by): | |
6806 | Likewise. | |
6807 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
6808 | * tree-ssa-dom.c (record_equivalences_from_stmt): Likewise. | |
6809 | * tree-ssa-loop-im.c (for_each_index, is_call_clobbered_ref): Likewise. | |
6810 | * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Likewise. | |
6811 | (add_address_candidates, rewrite_address_base): Likewise. | |
6812 | * tree-ssa-operands.c (get_expr_operands, get_indirect_ref_operands): | |
6813 | Likewise. | |
6814 | * tree.c (staticp, build1_stat): Likewise. | |
6815 | ||
6816 | * tree.def (REALIGN_LOAD_EXPR, REALIGN_STORE_EXPR): New tree-codes. | |
6817 | * tree-pretty-print.c (dump_generic_node): Consider REALIGN_LOAD_EXPR. | |
6818 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
6819 | * expr.c (expand_expr_real_1): Likewise. | |
6820 | ||
6821 | * optabs.h (vec_realign_store_optab, vec_realign_load_optab): New | |
6822 | optabs. | |
6823 | (OTI_vec_realign_store, OTI_vec_realign_load): New optab_index values | |
6824 | for the new optabs. | |
6825 | (expand_ternary_op): New function. | |
6826 | * genopinit.c (optabs): Handle the new optabs. | |
6827 | * optabs.c (optab_for_tree_code): Add cases for the new tree-codes. | |
6828 | (init_optabs): Initialize vec_realign_load_optab. | |
6829 | (expand_ternary_op): New functions. | |
6830 | ||
6831 | * target-def.h (TARGET_VECTORIZE): New member for struct gcc_target. | |
6832 | (TARGET_VECTORIZE_MISALIGNED_MEM_OK): New member for targetm.vectorize. | |
6833 | (TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD): Likewise. | |
6834 | (TARGET_VECTORIZE_BUILTIN_MASK_FOR_STORE): Likewise. | |
6835 | * target.h (struct vectorize): New member for struct gcc_target. | |
6836 | (misaligned_mem_ok): New member for targetm.vectorize. | |
6837 | (builtin_mask_for_load): Likewise. | |
6838 | (builtin_mask_for_store): Likewise. | |
6839 | * targethooks.c (default_vect_misaligned_mem_ok): New function. | |
6840 | * targethooks.h (default_vect_misaligned_mem_ok): New function. | |
6841 | ||
6842 | * config/rs6000/altivec.md (build_vector_mask_for_load): New | |
6843 | define_expand. | |
6844 | (vec_realign_load_v4si, vec_realign_load_v4sf, vec_realign_load_v8hi) | |
6845 | (vec_realign_load_v16qi): New define_insn. | |
6846 | * config/rs6000/rs6000.h (ALTIVEC_BUILTIN_MASK_FOR_LOAD): | |
6847 | (ALTIVEC_BUILTIN_MASK_FOR_STORE): New target builtins. | |
6848 | * config/rs6000/rs6000.c (altivec_builtin_mask_for_load): | |
6849 | (altivec_builtin_mask_for_store): New variables. | |
6850 | (rs6000_builtin_mask_for_load): New function. Implements | |
6851 | TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD. | |
6852 | (rs6000_builtin_mask_for_store): New function. Implements | |
6853 | TARGET_VECTORIZE_BUILTIN_MASK_FOR_STORE. | |
6854 | (rs6000_expand_builtin): Expand the target builtins | |
6855 | builtin_mask_for_load and builtin_mask_for_store. | |
6856 | (altivec_init_builtins): Initialize the new target builtins. | |
6857 | * config/i386/i386.c (ix86_misaligned_mem_ok): New function. | |
6858 | Implements the target hook TARGET_VECTORIZE_MISALIGNED_MEM_OK. | |
6859 | ||
6860 | * tree-vectorizer.c (vect_create_data_ref): Renamed to | |
6861 | vect_create_data_ref_ptr. Returns a pointer instead of an array-ref. | |
6862 | (vect_create_addr_base_for_vector_ref): Additional argument (offset). | |
6863 | (vectorizable_store): Call vect_create_data_ref_ptr with additional | |
6864 | arguments, and create an indirect_ref with its return value data_ref. | |
6865 | Check aligned_access_p. | |
6866 | (vectorizable_load): Handle misaligned loads, using software-pipelined | |
6867 | scheme with REALIGN_LOAD_EXPR and ALIGN_INDIRECT_REF if | |
6868 | vec_realign_load_optab is supported, or using a scheme without | |
6869 | software-pipelining with MISALIGNED_INDIRECT_REF if the target hook | |
6870 | misaligned_mem_ok is supported. | |
6871 | ||
6872 | (vect_finish_stmt_generation): Typo. | |
6873 | (vect_enhance_data_refs_alignment): Rename loop_vinfo to loop_info. | |
6874 | (vect_analyze_data_refs_alignment): Don't fail vectorization in the | |
6875 | presence of misaligned loads. | |
6876 | (vect_analyze_data_ref_access): Add check for constant init. | |
6877 | (vect_get_symbl_and_dr): Remove duplicate line. | |
6878 | * tree-vectorizer.h (DR_MISALIGNMENT): Add comment. | |
7ccf35ed | 6879 | |
d31012b7 KH |
6880 | 2004-09-23 Kazu Hirata <kazu@cs.umass.edu> |
6881 | ||
6882 | * builtins.c: Fix a comment typo. | |
6883 | ||
aa26df17 JH |
6884 | 2004-09-23 Jan Hubicka <jh@suse.cz> |
6885 | ||
6886 | * profile.c (branch_prob): Do not verify flow info in the middle of the | |
6887 | pass. | |
6888 | ||
92fc4a2f ZD |
6889 | 2004-09-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
6890 | ||
6891 | * cfgloop.h (update_single_exits_after_duplication): Declare. | |
6892 | (loopify, split_loop_bb): Declaration changed. | |
6893 | * cfgloopmanip.c (split_loop_bb): Take void * as an argument instead | |
6894 | of rtx. | |
6895 | (loopify): Added redirect_all_edges argument. | |
6896 | (update_single_exits_after_duplication): Export. | |
6897 | * loop-unswitch.c (unswitch_loop): Changed due to loopify change. | |
6898 | * tree-flow.h (tree_duplicate_loop_to_header_edge, | |
6899 | tree_ssa_loop_version): Declare. | |
6900 | * tree-ssa-loop-manip.c (copy_phi_node_args, rename_variables, | |
6901 | set_phi_def_stmts, tree_duplicate_loop_to_header_edge, | |
6902 | lv_adjust_loop_header_phi, lv_adjust_loop_entry_edge, | |
6903 | lv_update_pending_stmts, tree_ssa_loop_version): New functions. | |
6904 | ||
6905 | * tree-ssa-loop-unswitch.c: New file. | |
6906 | * Makefile.in (tree-ssa-loop-unswitch.o): Add. | |
6907 | * timevar.def (TV_TREE_LOOP_UNSWITCH): New timevar. | |
6908 | * tree-flow.h (tree_ssa_unswitch_loops): Declare. | |
6909 | * tree-optimize.c (init_tree_optimization_passes): Add pass_unswitch. | |
6910 | * tree-pass.h (pass_unswitch): Declare. | |
6911 | * tree-ssa-loop.c (tree_ssa_loop_unswitch, | |
6912 | gate_tree_ssa_loop_unswitch, pass_unswitch): New pass. | |
6913 | * doc/passes.texi: Documen tree level loop unswitching. | |
6914 | ||
d7e9e62a KH |
6915 | 2004-09-23 Kazu Hirata <kazu@cs.umass.edu> |
6916 | ||
6917 | * cfgexpand.c, config/s390/tpf-eh.c: Fix comment typos. | |
6918 | ||
d3147f64 EC |
6919 | 2004-09-22 Eric Christopher <echristo@redhat.com> |
6920 | ||
6921 | * builtins.c (simplify_builtin_va_start): Remove. | |
6922 | (simplify_builtin): Ditto. | |
6923 | (fold_builtin_strchr): Ditto. | |
6924 | (simplify_builtin_*): Rename remainders to fold_builtin_*. | |
6925 | (expand_builtin): Fix up for above changes. | |
6926 | (fold_builtin_1): Add new folders. Change for above. | |
6927 | (expand_builtin_va_start): Call fold_builtin_next_arg. | |
6928 | * gimplify.c (gimplify_call_expr): Fix calls to simplify_builtin. | |
6929 | * tree.h: Remove prototype for simplify_builtin. | |
6930 | ||
e53de54d JH |
6931 | 2004-09-23 Jan Hubicka <jh@suse.cz> |
6932 | ||
60108d34 JH |
6933 | PR debug/17389 |
6934 | * dwarf2out.c (dwarf2out_finish): Deal with nested functions | |
6935 | of fully inlined functions. | |
6936 | * tree-inline.c (inline_forbidden_p_1): Nested functions can be | |
6937 | inlined. | |
6938 | ||
e53de54d JH |
6939 | * cfgexpand.c (add_reg_br_prob_note): New function. |
6940 | (expand_gimple_cond_expr): Use it. | |
6941 | (tree_expand_cfg): No longer kill the profile. | |
6942 | * cfgrt.c (rtl_verify_flow_info_1): Check profile consistency | |
6943 | only if it is present. | |
6944 | * passes.c (rest_of_handle_loop_optimize): Kill the profile. | |
6945 | * predict.c (combine_predictions_for_insn): Set the probabilities | |
6946 | based on REG_BR_PROB note if present. | |
6947 | * predict.c (branch_prob): Profile is read only with | |
6948 | flag_branch_probabilities. | |
6949 | ||
dfb77e37 KC |
6950 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
6951 | ||
6952 | * aclocal.m4: Add in gettext's m4 includes. | |
6953 | (AC_ICONV, AC_LCMESSAGES, GCC_PATH_PROG): Remove. | |
a9db2a29 | 6954 | * configure.ac: Add in check for iconv.h |
dfb77e37 | 6955 | * configure: Regenerate. |
d3147f64 | 6956 | |
88fa57d7 KC |
6957 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
6958 | ||
6959 | * aclocal.m4: Update for rename of gettext-sister.m4. | |
6960 | ||
8eee3528 DB |
6961 | 2004-09-22 Daniel Berlin <dberlin@dberlin.org> |
6962 | ||
6963 | Fix PR tree-optimization/17587 | |
6964 | * tree-ssa-pre.c (fini_pre): Commit edge inserts here. | |
6965 | (insert_aux): Instead of here. | |
6966 | ||
c04f07f4 DN |
6967 | 2004-09-22 Diego Novillo <dnovillo@redhat.com> |
6968 | ||
6969 | PR tree-optimization/16721 | |
6970 | * tree-dfa.c (dump_variable): Show TREE_THIS_VOLATILE. | |
6971 | * tree-ssa-alias.c (create_memory_tag): Move setting of | |
6972 | TREE_THIS_VOLATILE ... | |
6973 | (get_tmt_for): ... here. | |
6974 | ||
ba652ba9 EB |
6975 | 2004-09-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
6976 | ||
6977 | * config/sparc/sparc.md (cmove splitter): Fix formatting. | |
6978 | (conditional_trap expander): Reject inappropriate CCmodes. | |
8db6bcda | 6979 | (conditional trap insn): Use V9 syntax if possible. |
ba652ba9 | 6980 | |
588d1952 JM |
6981 | 2004-09-22 Joseph S. Myers <jsm@polyomino.org.uk> |
6982 | ||
6983 | PR c/16566 | |
6984 | * c-typeck.c (build_component_ref): Don't special-case | |
6985 | COMPOUND_EXPR. | |
6986 | ||
08fb229e FCE |
6987 | 2004-09-22 Frank Ch. Eigler <fche@redhat.com> |
6988 | ||
6989 | * dominance.c (verify_dominators): Don't SEGV if recount_dominator | |
6990 | returns NULL. | |
6991 | ||
9b270cce KH |
6992 | 2004-09-22 Kazu Hirata <kazu@cs.umass.edu> |
6993 | ||
6994 | * doc/c-tree.texi (TRUTH_NOT_EXPR, TRUTH_ANDIF_EXPR, | |
6995 | TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR, | |
6996 | TRUTH_XOR_EXPR): Mention the restriction on types. | |
6997 | ||
8739ed59 MA |
6998 | 2004-09-22 Matt Austern <austern@apple.com> |
6999 | ||
8921359e | 7000 | * config/darwin.c (darwin_make_decl_one_only): |
8739ed59 | 7001 | Allow coalesced symbol to appear in static archive's table of contents |
d3147f64 | 7002 | |
a338ab5a KH |
7003 | 2004-09-22 Kazu Hirata <kazu@cs.umass.edu> |
7004 | ||
7005 | PR tree-optimization/17512 | |
7006 | * convert.c (convert_to_integer): Don't handle TRUTH_*_EXPR as | |
7007 | special cases. | |
7008 | ||
39cf49a1 DE |
7009 | 2004-09-22 David Edelsohn <edelsohn@gnu.org> |
7010 | ||
7011 | * dbxout.c (get_lang_number): Do not define if | |
7012 | DBX_OUTPUT_MAIN_SOURCE_DIRECTORY is defined. | |
7013 | ||
d1c343cb RC |
7014 | 2004-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
7015 | ||
1afd063a | 7016 | PR target/15583 |
d1c343cb RC |
7017 | * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Add |
7018 | builtin_define ("__USE_INIT_FINI__"). | |
7019 | ||
4798630c D |
7020 | 2004-09-22 P.J. Darcy <darcypj@us.ibm.com> |
7021 | ||
7022 | * config/s390/s390-protos.h (s390_emit_tpf_eh_return): Add prototype. | |
7023 | * config/s390/s390.c (s390_emit_tpf_eh_return): New function. | |
7024 | * config/s390/s390.h (TARGET_TPF): New macro. | |
7025 | * config/s390/s390.md ("eh_return"): New expander. | |
7026 | * config/s390/t-tpf (LIB2ADDEH): Use unwind-dw2-fde.c rather than | |
7027 | unwind-dw2-fde-glibc.c. Add config/s390/tpf-eh.c. | |
7028 | (LIB2ADDEHDEP): Remove unwind-dw2-fde.c. | |
7029 | * config/s390/tpf.h (TARGET_TPF): Define to 1. | |
7030 | (STACK_POINTER_OFFSET): Increase to 448. | |
7031 | (TARGET_DEFAULT): Set -mtpf-trace on as default. | |
7032 | (TPF_LOC_DIFF_OFFSET): New macro. | |
7033 | (ASM_PREFERRED_EH_DATA_FORMAT): Redefine to always use absolute | |
7034 | encoding. | |
7035 | (__isPATrange): Add prototype. | |
7036 | (MD_FALLBACK_FRAME_STATE_FOR): Define. | |
7037 | * config/s390/tpf-eh.c: New file. | |
7038 | ||
6a97296a DN |
7039 | 2004-09-22 Diego Novillo <dnovillo@redhat.com> |
7040 | ||
7041 | * fold-const.c (fold): Avoid non INTEGER_TYPEs when widening | |
7042 | operands in an integer comparison. | |
7043 | * tree-cfg.c (find_taken_edge): Call fold() to determine | |
7044 | whether the predicate is known. | |
7045 | ||
3b620440 KC |
7046 | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> |
7047 | ||
7048 | * aclocal.m4: Import AM_PROG_CC_C_O and AM_AUX_DIR_EXPAND. | |
7049 | * configure.ac: Call AM_PROG_CC_C_O instead of AC_PROG_CC_C_O. | |
7050 | Create build and doc directories along with the language directories. | |
7051 | Don't create doc directory separately. | |
7052 | * configure: Regenerate. | |
7053 | * Makefile.in: Create all object and executables files built | |
7054 | with the build compiler in a build/ directory. | |
7055 | (genobjnames): Add missing build objects. | |
7056 | (STAGESTUFF): Don't stage the gen* programs. | |
7057 | (ggc-none.o): Define dependencies for the target compiler. | |
7058 | (build-print-rtl.o): Rename to build/print-rtl.o. | |
7059 | (build-errors.o): Rename to build/errors.o. | |
7060 | (build-varray.o): Rename to build/varray.o. | |
7061 | (maintainerclean): Delete the contents of the build directory. | |
7062 | ($(genobjs): %.o): Explicitly use -o. | |
7063 | (build/insn-conditions.o): Delete specfic rule to use generic rule. | |
7064 | (build/gengtype-lex.o): Likewise. | |
7065 | (build/gengtype-yacc.o): Likewise. | |
7066 | (build/gcov-iov.o): Likewise. | |
7067 | ||
0e64e323 NS |
7068 | 2004-09-22 Nathan Sidwell <nathan@codesourcery.com> |
7069 | ||
7070 | * vec.h (VEC_space): Return true if there _is_ space. | |
7071 | (VEC_reserve): Adjust. | |
7072 | ||
e1aeeae9 RS |
7073 | 2004-09-22 Richard Sandiford <rsandifo@redhat.com> |
7074 | ||
7075 | * config/mips/mips.c (mips_function_value): For o32, o64, n32 and n64, | |
7076 | use FPRs for scalar, complex and vector types only. | |
7077 | ||
195da47b JL |
7078 | 2004-09-21 Jeff Law <law@redhat.com> |
7079 | ||
23530866 JL |
7080 | * tree-ssa-dom.c (opt_stats): Move so that it lives just after |
7081 | the opt_stats_d structure. | |
7082 | (vrp_data): Change from a varray into a hash table. | |
7083 | (vrp_hash_elt): New structure for elements in the vrp hash table. | |
7084 | (vrp_hash, vrp_eq):New functions for hashing and testing equality | |
7085 | in the vrp hash table. | |
7086 | (tree_ssa_dominator_optimize): Initialize VRP_DATA. Reorganize | |
7087 | initialization slightly to make it easier to read. No longer need | |
7088 | to grow/clear the varray. Instead empty and delete the hash table. | |
7089 | (dom_opt_finalize_block): Update due to change of VRP_DATA from | |
7090 | a varray to a hash table. | |
7091 | (simplify_cond_and_loop_avail_expr, record_range): Similarly. | |
7092 | ||
195da47b JL |
7093 | * tree-ssa-ccp.c (get_default_value): If we have a constant |
7094 | value recorded for an SSA_NAME, then use that constant as | |
7095 | the initial lattice value. | |
7096 | (substitute_and_fold): Transfer equivalences discovered into | |
7097 | SSA_NAME_EQUIV. | |
d3147f64 | 7098 | |
195da47b JL |
7099 | * tree.h (SSA_NAME_EQUIV): Add comments. |
7100 | (SET_SSA_NAME_EQUIV): Similarly. | |
7101 | ||
0a4f0294 DE |
7102 | 2004-09-21 David Edelsohn <edelsohn@gnu.org> |
7103 | ||
7104 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Default to POWER4. | |
7105 | ||
7106 | * config/rs6000/rs6000.c (rs6000_adjust_cost): dep_insn is used. | |
7107 | ||
1ae57298 MM |
7108 | 2004-09-21 Mark Mitchell <mark@codesourcery.com> |
7109 | ||
7110 | * c-decl.c (implicityl_declare): Call maybe_apply_renaming_pragma. | |
7111 | (finish_decl): Likewise. | |
7112 | ||
ad9f20cb DP |
7113 | 2004-09-21 Devang Patel <dpatel@apple.com> |
7114 | ||
7115 | * tree.def (VEC_COND_EXPR): New tree node. | |
7116 | * tree-ssa-operands.c (get_expr_operands): Handle VEC_COND_EXPR. | |
d3147f64 | 7117 | |
76419821 SS |
7118 | 2004-09-21 Stan Shebs <shebs@apple.com> |
7119 | ||
7120 | * config/rs6000/darwin-tramp.asm: Add __ppc64__ case. | |
7121 | * config/rs6000/darwin-world.asm: Likewise. | |
d3147f64 | 7122 | |
7bab95ba DB |
7123 | 2004-09-21 Daniel Berlin <dberlin@dberlin.org> |
7124 | ||
7125 | * tree-ssa.c (verify_def): Use print_generic_stmt, | |
7126 | not debug_generic_stmt. | |
7127 | (verify_use): Ditto. | |
7128 | (verify_phi_args): Ditto. | |
7129 | (verify_ssa): Ditto. | |
7130 | ||
a13fd905 PB |
7131 | 2004-09-21 Paul Brook <paul@codesourcery.com> |
7132 | ||
7133 | * varasm.c (default_assemble_integer): Return false for values wider | |
7134 | than the target word size. Works around GAS bug. | |
7135 | ||
52c5701b ZW |
7136 | 2004-09-21 Zack Weinberg <zack@codesourcery.com> |
7137 | ||
7138 | * reg-notes.def (REG_DEP_TRUE): New entry, place first so it | |
7139 | gets value 0. | |
7140 | * print-rtl.c (print_rtx): Print the name of a REG_NOTE even | |
7141 | if it has value 0. | |
7142 | ||
f0c721ad | 7143 | 2004-09-21 Daniel Berlin <dberlin@dberlin.org> |
52c5701b | 7144 | |
f0c721ad DB |
7145 | * c-typeck.c (build_function_call): Give name of object |
7146 | we are attempting to call in error message. | |
7147 | * c-objc-common.c (c_tree_printer): Call pp_expression, | |
7148 | not return false, for 'E' case. | |
7149 | ||
c93320c4 SB |
7150 | 2004-09-21 Steven Bosscher <stevenb@suse.de> |
7151 | ||
7152 | PR rtl-optimization/17482 | |
7153 | * postreload-gcse.c (reg_avail_info, oprs_unchanged_p, | |
7154 | load_killed_in_block_p): Clarify comments. | |
7155 | (record_last_reg_set_info): Make static inline. | |
7156 | (mark_call, mark_set, mark_clobber, mark_oprs_set): Remove. | |
7157 | (record_opr_changes): New function to replace the above. | |
7158 | (compute_hash_table): Clarify comments. Use record_opr_changes. | |
7159 | (reg_set_between_after_reload_p): Clean up. | |
7160 | (reg_used_between_after_reload_p): Likewise. | |
7161 | (eliminate_partially_redundant_load): Clarify comments. | |
7162 | ||
15ee342b EB |
7163 | 2004-09-21 Eric Botcazou <ebotcazou@libertysurf.fr> |
7164 | ||
7165 | PR rtl-optimization/17266 | |
7166 | * regmove.c (optimize_reg_copy_3): Make a new SUBREG for each insn. | |
7167 | ||
79b82df3 UB |
7168 | 2004-09-21 Uros Bizjak <uros@kss-loka.si> |
7169 | ||
7170 | PR rtl-optimization/14851 | |
7171 | * rtlanal.c (commutative_operand_precedence): Calculate | |
7172 | precedence of stripped constant. | |
7173 | ||
6f2aec07 | 7174 | 2004-09-20 Jeff Law <law@redhat.com> |
52c5701b | 7175 | Jan Hubicka <jh@suse.cz> |
6f2aec07 JL |
7176 | |
7177 | * tree-ssanames.c (make_ssa_name): No longer need to clear, then | |
7178 | initialize key elements here. | |
7179 | (release_ssa_name): Zero the released SSA_NAME here. | |
7180 | * tree.h (SSA_NAME_EQUIV, SET_SSA_NAME_EQUIV): New macros. | |
7181 | (struct tree_ssa_name): Add new "equiv" field. | |
7182 | * tree-ssa-dom.c (const_and_copies): Kill the global varray. | |
7183 | (tree_ssa_dominator_optimize): No longer allocate, resize or | |
7184 | clear CONST_AND_COPIES. | |
7185 | (get_value_for, set_value_for): Kill. | |
7186 | (thread_across_edge): Get/set the equivalency using | |
7187 | SSA_NAME_EQUIV and SET_SSA_NAME_EQUIV. | |
7188 | (restore_vars_to_original_value): Likewise. | |
7189 | (record_equivalences_from_phis): Likewise. | |
7190 | (record_dominating_conditions): Likewise. | |
7191 | (record_const_or_copy, record_equality): Likewise. | |
7192 | (lookup_avail_expr): Likewise. | |
7193 | (record_equivalences_from_stmt, cprop_operand): Likewise. | |
7194 | (cprop_into_successor_phis): No longer need to pass around | |
7195 | CONST_AND_COPIES. Callers updated. Get equivalences via | |
7196 | SSA_NAME_EQUIV. | |
7197 | (cprop_into_phis): Likewise. | |
7198 | ||
c162c75e MA |
7199 | 2004-09-20 Matt Austern <austern@apple.com> |
7200 | Zack Weinberg <zack@codesourcery.com> | |
7201 | ||
7202 | * c-common.c (fix_string_type): Build the unqualified array | |
7203 | type unconditionally, then use c_build_qualified_type to get | |
7204 | the proper const-qualified variant, and set its | |
7205 | TYPE_MAIN_VARIANT to refer to the unqualified type. | |
7206 | * c-lex.c (c_lex_return_raw_string): New global. | |
7207 | (c_lex_with_flags): Honor it. | |
7208 | * c-pragma.h: Declare it. | |
7209 | ||
5cfa8766 DB |
7210 | 2004-09-20 Daniel Berlin <dberlin@dberlin.org> |
7211 | ||
7212 | * Makefile.in: Fix flags.h dependencies to be $(FLAGS_H). | |
7213 | ||
d21bede3 JH |
7214 | 2004-09-21 Jan Hubicka <jh@suse.cz> |
7215 | ||
7216 | PR middle-end/17126 | |
7217 | * tree-optimize.c (update_inlined_to_pointers): Fix the recursion. | |
7218 | (tree_rest_of_compilation): Cleanup. | |
7219 | ||
37337e55 UW |
7220 | 2004-09-20 Ulrich Weigand <uweigand@de.ibm.com> |
7221 | ||
7222 | * config/s390/s390.c (s390_select_rtx_section): Remove. | |
7223 | (TARGET_ASM_SELECT_RTX_SECTION): Do not redefine. | |
7224 | ||
455786b6 KK |
7225 | 2004-09-20 Kaz Kojima <kkojima@gcc.gnu.org> |
7226 | ||
7227 | * config/sh/sh.c (sh_expand_prologue): Add a REG_FRAME_RELATED_EXPR | |
7228 | note to pretend a direct save from the original register when an | |
7229 | intermediate register is used for the save. | |
7230 | ||
2c82eecc KG |
7231 | 2004-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7232 | ||
7233 | * tsystem.h (alloca): Provide a default definition. | |
7234 | ||
7235 | Revert: | |
7236 | 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | |
7237 | * unwind-dw2.c: Call __builtin_alloca, not alloca. | |
7238 | ||
b1940f0c AP |
7239 | 2004-09-20 Andrew Pinski <pinskia@physics.uc.edu> |
7240 | ||
7241 | PR tree-opt/17558 | |
7242 | * tree-ssa-copy.c (may_propagate_copy): Only allow if the | |
7243 | aliasing sets are the same rather than just conflicting. | |
7244 | ||
8f235343 JH |
7245 | 2004-09-20 Jan Hubicka <jh@suse.cz> |
7246 | ||
7247 | PR middle-end/16460 | |
7248 | ||
7249 | * cgraph.c (cgraph_unnest_node): New function. | |
7250 | (c_finalize): Rename to .... | |
7251 | (c_warn_unused_result_recursivly): ... this one; do only the warning | |
7252 | (finish_function): Finalize the toplevel function; do not lower nested tree. | |
7253 | * cgraph.h (cgraph_unnest_node): Declare. | |
7254 | * cgraphunit.c (decide_is_function_needed): Do not use cgraph | |
7255 | nestedness datastructure. | |
7256 | * cse.c (cse_insn): Do not cprop nonlocal LABEL_REFs. | |
7257 | * reload1.c (set_label_offsets): Fix call of set_label_offsets. | |
7258 | * tree-nested.c (finlize_nesting_tree_1): Use un-nesting code. | |
7259 | ||
04161e2b RH |
7260 | 2004-09-20 Richard Henderson <rth@redhat.com> |
7261 | ||
7262 | * config/alpha/alpha.c (some_small_symbolic_operand_int): Rename | |
7263 | from some_small_symbolic_operand_1; export. | |
7264 | (some_small_symbolic_operand): Remove. | |
7265 | * config/alpha/alpha.md (some_small_symbolic_operand splitter): Remove | |
7266 | extra C check. | |
7267 | * config/alpha/predicates.md (some_small_symbolic_operand): New. | |
7268 | ||
bb033fd8 JH |
7269 | 2004-09-20 Jan Hubicka <jh@suse.cz> |
7270 | ||
7271 | * predict.c (return_prediction): New function. | |
7272 | (apply_return_prediction): Likewise. | |
7273 | (tree_bb_level_predictions): Likewise. | |
7274 | (tree_estimate_probability): Add noreturn exit edges; call | |
7275 | bb_level_predictions; fix logic of return heuristics. | |
7276 | (predict_paths_leading_to): Rescuesce from old CVS version of | |
7277 | process_note_prediction function. | |
7278 | * predict.def (PRED_TREE_EARLY_RETURN): New predictor. | |
7279 | ||
ea506297 AK |
7280 | 2004-09-20 Andreas Krebbel <krebbel1@de.ibm.com> |
7281 | ||
7282 | * config/s390/s390.c (s390_frame_info): Added alignment statement for | |
7283 | floating point register area on stack. | |
7284 | ||
096759eb JJ |
7285 | 2004-09-20 Jakub Jelinek <jakub@redhat.com> |
7286 | ||
7287 | * predict.c (expr_expected_value): Use *_CLASS_P macros. | |
7288 | ||
d6fd4b8d DB |
7289 | 2004-09-20 Daniel Berlin <dberlin@dberlin.org> |
7290 | ||
c162c75e | 7291 | * tree-ssa-pre.c (compute_antic_aux): Use malloc'd worklist, to avoid |
d6fd4b8d DB |
7292 | generating useless garbage. |
7293 | ||
c2dda19b PB |
7294 | 2004-09-20 Paolo Bonzini <bonzini@gnu.org> |
7295 | ||
7296 | * builtins.c (fold_builtin): Call the new omonymous | |
7297 | target hook for machine-dependent built-ins. | |
7298 | * target-def.h (TARGET_FOLD_BUILTIN): New. | |
7299 | * target.h (struct gcc_target): Add the fold_builtin hook. | |
7300 | * targhooks.c (default_fold_builtin): New. | |
7301 | * targhooks.h (default_fold_builtin): Declare it. | |
7302 | ||
d4a9b3a3 KH |
7303 | 2004-09-20 Kazu Hirata <kazu@cs.umass.edu> |
7304 | ||
7305 | * cfg.c, tree-ssa-threadupdate.c, tree-vectorizer.c: Fix | |
7306 | comment typos. | |
7307 | ||
073cbad3 RS |
7308 | 2004-09-20 Richard Sandiford <rsandifo@redhat.com> |
7309 | ||
7310 | PR target/17565 | |
7311 | * config/mips/mips.md (define_asm_attributes): Set can_delay to no. | |
7312 | ||
58016611 JH |
7313 | 2004-09-20 Jan Hubicka <jh@suse.cz> |
7314 | ||
7315 | * predict.c (estimate_probability): Remove unnecesary code. | |
7316 | ||
6775f1f3 IR |
7317 | 2004-09-19 Ira Rosen <irar@il.ibm.com> |
7318 | ||
7319 | * tree-vectorizer.h (stmt_vec_info): Add vect_dr_base field. | |
7320 | (STMT_VINFO_VECT_DR_BASE): Declare. | |
7321 | (VECT_SMODULO): Declare. | |
7322 | * tree-vectorizer.c (vect_compute_array_ref_alignment): New function. | |
7323 | (vect_compute_array_base_alignment): New function. | |
7324 | (vect_analyze_data_ref_access): Check array indices. Remove one | |
7325 | dimensional arrays restriction. | |
7326 | (vect_get_ptr_offset): New function. | |
7327 | (vect_get_symbl_and_dr): New function. | |
7328 | (vect_get_base_and_bit_offset): Support additional data refs. Renamed | |
7329 | (former name vect_get_base_decl_and_bit_offset). | |
7330 | (vect_create_index_for_array_ref): Removed. | |
7331 | (vect_create_index_for_vector_ref): New function. | |
7332 | (vect_create_addr_base_for_vector_ref): New function. | |
7333 | (vect_create_data_ref): Handle additional data refs. Call | |
7334 | vect_create_index_for_vector_ref and vect_create_addr_base_for_vector_ref. | |
7335 | (vect_compute_data_ref_alignment): Support the changes. Call | |
7336 | vect_get_base_and_bit_offset. | |
7337 | (vect_analyze_data_refs): Call vect_get_symbl_and_dr. Support additional | |
7338 | data refs. Store vect_dr_base. | |
7339 | (vect_analyze_data_ref_accesses): Support nonconstant init. | |
7340 | (new_stmt_vec_info): Initialize vect_dr_base field. | |
7341 | (vect_is_simple_iv_evolution): Call initial_condition_in_loop_num. | |
7342 | (get_vectype_for_scalar_type): Check for BLKmode. | |
7343 | * tree-chrec.h (initial_condition_in_loop_num): Declare. | |
7344 | * tree-chrec.c (initial_condition_in_loop_num): New function. | |
7345 | (chrec_component_in_loop_num): New function. | |
7346 | (evolution_part_in_loop_num): Call chrec_component_in_loop_num. | |
7347 | * tree-data-ref.c (analyze_array_indexes): Change parameter (access_fns) | |
7348 | to be pointer to varray_type. | |
7349 | ||
15db5571 JH |
7350 | 2004-09-19 Jan Hubicka <jh@suse.cz> |
7351 | ||
7352 | * basic-block.h (update_bb_profile_after_threading): Declare. | |
7353 | * cfg.c (update_bb_profile_after_threading): Break out from ... | |
7354 | * cfgcleanup.c (try_forward_edges): ... here; use it. | |
7355 | * tree-ssa-dom.c (thread_across_edge): Use it. | |
7356 | * tree-ssa-threadupdate.c (create_block_for_threading): Zero out | |
7357 | profile of the new BB. | |
7358 | ||
97141338 DB |
7359 | 2004-09-19 Daniel Berlin <dberlin@dberlin.org> |
7360 | ||
7361 | * tree-ssa-pre.c (insert_into_set): Don't put | |
7362 | is_gimple_min_invariant values into the set. | |
7363 | ||
76fd4fd7 AJ |
7364 | 2004-09-19 Andreas Jaeger <aj@suse.de> |
7365 | ||
7366 | * tree-ssa-dom.c (restore_nonzero_vars_to_original_value): Fix | |
7367 | prototype. | |
7368 | ||
938688cd KH |
7369 | 2004-09-18 Kazu Hirata <kazu@cs.umass.edu> |
7370 | ||
7371 | * config/cris/cris.h: Preserve the original spelling in a | |
7372 | quote. | |
7373 | ||
fdabe5c2 JL |
7374 | 2004-09-18 Jeff Law <law@redhat.com> |
7375 | ||
7376 | * tree-ssa-dom.c (nonzero_vars_stack, vrp_variables_stack): New | |
7377 | global varrays to replace the block local varrays. | |
7378 | (struct dom_walk_block_data): Remove, no longer used. | |
7379 | (get_eq_expr_value): No longer need to pass around pointers to local | |
7380 | varrays. Callers updated. Unused markers added to unused parameters. | |
7381 | (record_range, record_equivalences_from_stmt): Likewise. | |
7382 | (record_equivalences_from_incoming_edge): Likewise. | |
7383 | (record_var_is_nonzero): Likewise. Update now that we have a | |
7384 | single global varray of SSA_NAMEs that need restoring. | |
7385 | (dom_opt_initialize_block_local_data): Kill, no longer used. | |
7386 | (tree_ssa_dominator_optimize): Initialize new global varrays. | |
7387 | Update callbacks in dominator walker structure. | |
7388 | (dom_opt_initialize_block): Add markers to NONZERO_VAR_STACK and | |
7389 | VRP_VARIABLES_STACK. | |
7390 | (restore_nonzero_vars_to_original_value): Update now that we have | |
7391 | a single global varray of SSA_NAMEs that need restoring. | |
7392 | (dom_opt_finalize_block): Similarly for VRP_VARIABLES_STACK. | |
7393 | Remove unused variables. | |
7394 | (optimize_stmt): Remove unused variable. | |
7395 | ||
0eac5feb JH |
7396 | 2004-09-18 Jan Hubicka <jh@suse.cz> |
7397 | ||
4d539f68 JH |
7398 | * tree-cfg.c (thread_jumps): Fix updating of the profile. |
7399 | ||
0eac5feb JH |
7400 | * tree-optimize.c (tree_rest_of_compilation): Kill forgotten |
7401 | verify_cgraph call. | |
7402 | ||
454ff5cb KH |
7403 | 2004-09-18 Kazu Hirata <kazu@cs.umass.edu> |
7404 | ||
7405 | * alias.c, crtstuff.c, dbxout.c, domwalk.c, domwalk.h, gcc.c, | |
7406 | gcse.c, global.c, lambda-code.c, loop.c, mips-tdump.c, | |
7407 | optabs.h, predict.c, reg-stack.c, regclass.c, sched-rgn.c, | |
7408 | tree-optimize.c, tree-ssa-dom.c, tree-ssa-forwprop.c, | |
7409 | tree-ssa-operands.c, tree-ssa-phiopt.c, | |
7410 | tree-ssa-threadupdate.c: Fix comment typos. | |
7411 | ||
112cdef5 KH |
7412 | 2004-09-18 Kazu Hirata <kazu@cs.umass.edu> |
7413 | ||
7414 | * config/darwin-c.c, config/arc/arc.c, config/arc/arc.md, | |
7415 | config/arm/README-interworking, config/arm/arm-cores.def, | |
7416 | config/arm/arm.c, config/arm/arm.h, config/arm/pe.c, | |
7417 | config/arm/vfp.md, config/c4x/c4x.c, config/c4x/c4x.h, | |
7418 | config/cris/cris.c, config/cris/cris.h, config/fr30/fr30.c, | |
7419 | config/fr30/fr30.h, config/fr30/fr30.md, config/frv/frv.c, | |
7420 | config/frv/frv.md, config/i386/winnt.c, | |
7421 | config/ia64/unwind-ia64.c, config/iq2000/iq2000.c, | |
7422 | config/iq2000/iq2000.h, config/m68hc11/m68hc11.c, | |
7423 | config/m68hc11/m68hc11.md, config/m68k/m68k.c, | |
7424 | config/mcore/mcore.c, config/mips/mips.h, | |
7425 | config/mn10300/mn10300.md, config/pa/pa.c, | |
7426 | config/pa/pa64-regs.h, config/pdp11/pdp11.c, | |
7427 | config/rs6000/rs6000.c, config/sh/symbian.c, | |
7428 | config/sparc/sparc.h: Fix comment typos. Follow spelling | |
7429 | conventions. | |
7430 | ||
ad97f4be JM |
7431 | 2004-09-18 Joseph S. Myers <jsm@polyomino.org.uk> |
7432 | ||
7433 | PR c/17424 | |
7434 | * c-typeck.c (c_expr_sizeof_expr): Check for error_mark_node. | |
7435 | ||
57e28d7d DN |
7436 | 2004-09-18 Diego Novillo <dnovillo@redhat.com> |
7437 | ||
7438 | * tree-ssa-alias.c (setup_pointers_and_addressables): Don't | |
7439 | remove TREE_ADDRESSABLE from RESULT_DECL. | |
7440 | ||
d804d490 DN |
7441 | 2004-09-18 Diego Novillo <dnovillo@redhat.com> |
7442 | ||
7443 | * tree-ssa-alias.c (dump_alias_info): Ignore NULL SSA_NAMEs. | |
7444 | ||
8b547e44 JH |
7445 | 2004-09-18 Jan Hubicka <jh@suse.cz> |
7446 | ||
7447 | * tree-into-ssa.c (rewrite_ssa_into_ssa): Expect ssa_name to return | |
7448 | NULL. | |
7449 | * tree-ssa-alias.c (init_alias_info): Likewise. | |
7450 | * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise. | |
7451 | (verify_ssa): Likewise. | |
7452 | * tree-ssanames.c (make_ssa_name): Clear out ssa_names arrays. | |
7453 | ||
b8771ace JH |
7454 | 2004-09-18 Jan Hubicka <jh@suse.cz> |
7455 | ||
7456 | * i386.c (legitimize_pic_address): Fix splitting of PLUS with | |
7457 | huge offset. | |
7458 | ||
f4966f8c KK |
7459 | 2004-09-18 Kaz Kojima <kkojima@gcc.gnu.org> |
7460 | ||
7461 | * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove. | |
7462 | * config/sh/sh.h (ASM_PREFERRED_EH_DATA_FORMAT): Use | |
7463 | DW_EH_PE_sdata* for data. | |
7464 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise. | |
7465 | ||
a396f8ae GK |
7466 | 2004-09-17 Geoffrey Keating <geoffk@apple.com> |
7467 | ||
7468 | * tree-inline.c (copy_tree_r): Don't duplicate constants, they're | |
7469 | shared anyway. | |
7470 | ||
7471 | PR pch/13361 | |
7472 | * c-typeck.c (constructor_asmspec): Delete. | |
7473 | (struct initializer_stack): Delete field 'asmspec'. | |
7474 | (start_init): Delete saving of asmspec. | |
7475 | (finish_init): Don't update constructor_asmspec. | |
7476 | * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. | |
7477 | * stmt.c (expand_asm): Duplicate strings from tree. | |
7478 | (expand_asm_operands): Likewise. | |
7479 | * tree.c (tree_size): Update computation of size of STRING_CST. | |
7480 | (make_node): Don't make STRING_CST nodes. | |
7481 | (build_string): Allocate string with tree node. | |
7482 | (tree_code_size): Clean up assertions, don't allow requests | |
7483 | for "the size of a STRING_CST". | |
7484 | * tree.def (STRING_CST): Update comment. | |
7485 | * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. | |
7486 | (tree_string): Place contents of string in tree node. | |
7487 | * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string | |
7488 | from tree. | |
7489 | ||
9aa44508 ZW |
7490 | 2004-09-17 Zack Weinberg <zack@codesourcery.com> |
7491 | ||
7492 | * Makefile.in (c-parse.o): Depend on $(C_PRAGMA_H). | |
7493 | * objc/Make-lang.in (objc/objc-parse.o): Likewise. | |
7494 | ||
bf3b7cd3 JD |
7495 | 2004-09-17 Jones Desougi <jones@ingate.com> |
7496 | ||
7497 | * configure.ac: Replace AC_COMPILE_CHECK_SIZEOF with AC_CHECK_SIZEOF. | |
7498 | * configure, config.in: Regenerate. | |
7499 | ||
b85e3643 ZW |
7500 | 2004-09-17 Zack Weinberg <zack@codesourcery.com> |
7501 | ||
7502 | * tree.c, tree.h (tree_class_strings): Make array const. | |
7503 | Reindent per coding convention. Move asterisk to proper place | |
7504 | per coding convention. | |
7505 | ||
6e336333 AS |
7506 | 2004-09-18 Andreas Schwab <schwab@suse.de> |
7507 | ||
7508 | * Makefile.in (gimple-low.o): Depend on $(EXPR_H). | |
7509 | (tree-vectorizer.o): Likewise. | |
7510 | (targhooks.o): Likewise. | |
7511 | ||
6615c446 JO |
7512 | 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com> |
7513 | Zack Weinberg <zack@codesourcery.com> | |
7514 | ||
7515 | * alias.c (find_base_decl): Remove unreachable case '3' block. | |
7516 | * expr.c (safe_from_p): Abort if passed a type. | |
7517 | * tree-gimple.c (recalculate_side_effects): Abort if passed | |
7518 | anything other than an expression. | |
7519 | * tree-ssa-pre.c (phi_translate): Return expr immediately if | |
7520 | is_gimple_min_invariant is true for it. Reorder cases for clarity. | |
7521 | Abort on un-handled tree classes. | |
7522 | (valid_in_set): Likewise. | |
7523 | * tree.c (tree_code_class_strings): New static data. | |
7524 | ||
7525 | * tree.h (enum tree_code_class): New. | |
7526 | (tree_code_class_strings): Declare. | |
7527 | (TREE_CODE_CLASS_STRING, EXCEPTIONAL_CLASS_P, CONSTANT_CLASS_P) | |
7528 | (REFERENCE_CLASS_P, COMPARISON_CLASS_P, UNARY_CLASS_P, BINARY_CLASS_P) | |
7529 | (STATEMENT_CLASS_P, EXPRESSION_CLASS_P, IS_TYPE_OR_DECL_P): New macros. | |
7530 | (TYPE_P, DECL_P, IS_NON_TYPE_CODE_CLASS, IS_EXPR_CODE_CLASS) | |
7531 | (checking macros, EXPR_LOCATION, SET_EXPR_LOCATION, EXPR_LOCUS): Update. | |
7532 | ||
7533 | * tree.def, c-common.def, objc/objc-tree.def: Use | |
7534 | tree_code_class enumeration constants instead of code letters. | |
7535 | ||
7536 | * alias.c, builtins.c, c-common.c, c-format.c, c-lang.c, c-pragma.c | |
7537 | * c-typeck.c, cgraphunit.c, convert.c, dbxout.c, dwarf2out.c | |
7538 | * emit-rtl.c expr.c, fold-const.c, gimplify.c, lambda-code.c | |
7539 | * langhooks.c, langhooks.h, predict.c, print-tree.c, reload1.c, stmt.c | |
7540 | * tree-browser.c, tree-cfg.c, tree-chrec.c, tree-complex.c, tree-dfa.c | |
7541 | * tree-dump.c, tree-eh.c, tree-gimple.c, tree-inline.c, tree-nested.c | |
7542 | * tree-outof-ssa.c, tree-pretty-print.c, tree-sra.c, tree-ssa-ccp.c | |
7543 | * tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-forwprop.c, tree-ssa-live.c | |
7544 | * tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c | |
7545 | * tree-ssa-phiopt.c, tree-ssa-pre.c, tree-ssa-propagate.c | |
7546 | * tree-ssa.c, tree-ssanames.c, tree-tailcall.c, tree.c, varasm.c | |
7547 | * config/sol2-c.c, config/arm/arm.c, config/i386/winnt.c | |
7548 | * config/pa/pa.c, config/pa/pa.h, config/sh/sh.c, objc/objc-lang.c | |
7549 | Update to match. | |
7550 | ||
7551 | * LANGUAGES: Add note about change. | |
7552 | ||
823f0809 DN |
7553 | 2004-09-17 Diego Novillo <dnovillo@redhat.com> |
7554 | ||
7555 | PR tree-optimization/17319 | |
7556 | * tree-ssa-alias.c (compute_points_to_and_addr_escape): Also | |
7557 | examine pointers on the LHS of an assignment. | |
7558 | (collect_points_to_info_r): Handle RETURN_EXPR. | |
7559 | ||
b5fefcf6 JL |
7560 | 2004-09-17 Jeff Law <law@redhat.com> |
7561 | ||
7562 | * tree-ssa-dom.c (const_and_copies_stack): New. | |
7563 | (dom_walk_block_data): Remove const_and_copies field. | |
7564 | (record_const_or_copy): No longer need to pass in varray_type *. | |
7565 | Use CONST_AND_COPIES_STACK rather than passed in block local stack. | |
7566 | Callers updated. | |
7567 | (record_equality): Similarly. | |
7568 | (restore_vars_to_original_value): Similarly. Revamp to use new | |
7569 | single global stack rather than per-block stacks. | |
7570 | (tree_ssa_dominator_optimize): Initialize the CONST_AND_COPIES_STACK. | |
7571 | (thread_across_edge): Remove now unused parameters. | |
7572 | (dom_opt_initialize_block_local_data): No longer test the block | |
7573 | local CONST_AND_COPIES. | |
7574 | (dom_opt_initialize_block): Push a marker on CONST_AND_COPIES_STACK. | |
7575 | ||
2c459e74 JH |
7576 | 2004-09-17 Jan Hubicka <jh@suse.cz> |
7577 | ||
7578 | PR tree-optimization/17509 | |
7579 | * tree-optimize.c (update_inlined_to_pointers): New function. | |
7580 | (tree_rest_of_compilation): Use it. | |
7581 | ||
0456cbf6 DP |
7582 | 2004-09-17 Devang Patel <dpatel@apple.com> |
7583 | ||
7584 | * dbxout.c (get_lang_number): New. | |
7585 | (dbxout_init): Include lang number in N_SO stab. | |
7586 | * dbxout.h (N_SO_AS, N_SO_C, N_SO_ANSI_C, N_SO_CC, N_SO_FORTRAN, | |
7587 | N_SO_PASCAL, N_SO_FORTRAN90, N_SO_OBJC, N_SO_OBJCPLUS): New #define. | |
6615c446 | 7588 | |
7eae8eb2 DN |
7589 | 2004-09-17 Diego Novillo <dnovillo@redhat.com> |
7590 | ||
7591 | PR tree-optimization/17273 | |
7592 | * tree-ssa.c (replace_immediate_uses): Call fold_stmt if the | |
7593 | replacement is a constant. | |
7594 | ||
98c3a782 JM |
7595 | 2004-09-17 Joseph S. Myers <jsm@polyomino.org.uk> |
7596 | ||
7597 | * c-tree.h (enum c_typespec_keyword): New. | |
7598 | (struct c_declspecs): Adjust description of "type". Remove | |
7599 | specbits, explicit_int_p and explicit_char_p. Rename | |
7600 | typedef_signed_p to explicit_signed_p. Add default_int_p, long_p, | |
7601 | short_p, signed_p, unsigned_p and complex_p. | |
7602 | (finish_declspecs): New. | |
7603 | * c-parse.in (datadef, datadecl, setspecs, decl, component_decl, | |
7604 | typename): Call finish_declspecs. | |
7605 | * c-decl.c (finish_declspecs): New. | |
7606 | (declspecs_add_type): Check for combinations which cannot occur in | |
7607 | valid specifier lists. Update comments. | |
7608 | (shadow_tag_warned): Remove checks done in finish_declspecs. | |
7609 | Don't report useless type name if type defaulted to int. | |
7610 | (grokdeclarator): Remove checks and actions done in | |
7611 | finish_declspecs. Don't allow for type being NULL. Update for | |
7612 | datastructures changes. Initialize decl_attr. | |
7613 | (build_null_declspecs, quals_from_declspecs): Update for | |
7614 | datastructures changes. | |
7615 | ||
254ea84c SP |
7616 | 2004-09-17 Sylvain Pion <Sylvain.Pion@sophia.inria.fr> |
7617 | ||
6615c446 | 7618 | * doc/extend.texi: Fix duplicated word. |
254ea84c | 7619 | |
fa151acf TM |
7620 | 2004-09-17 Toon Moene <toon@moene.indiv.nluug.nl> |
7621 | ||
7622 | * doc/invoke.texi: Remove stray explanation on | |
7623 | -freduce-all-givs and -fmove-all-movables. | |
7624 | ||
cd1a8088 JM |
7625 | 2004-09-17 James Morrison <phython@gcc.gnu.org> |
7626 | ||
7627 | * doc/cfg.texi: Use @smallexample. | |
7628 | * doc/md.texi: Likewise. | |
7629 | * doc/tree-ssa.texi: Likewise. | |
7630 | * doc/extend.texi: Likewise. Use @r{} in comments. | |
7631 | * doc/trouble.texi: Use @r{} in comments. | |
7632 | ||
58ea87a9 HPN |
7633 | 2004-09-17 Hans-Peter Nilsson <hp@bitrange.com> |
7634 | ||
7635 | * configure.ac (gcc_cv_gld_version): Handle whitespace before | |
7636 | "VERSION=". | |
7637 | * aclocal.m4 (_gcc_COMPUTE_GAS_VERSION): Ditto. | |
7638 | * configure: Regenerate. | |
7639 | ||
788bb47d JR |
7640 | 2004-09-17 J"orn Rennecke <joern.rennecke@superh.com> |
7641 | ||
7642 | * sh.c (sh_gimplify_va_arg_expr): Don't call pass_by_reference. | |
7643 | (sh_pass_by_reference): Work around std_gimplify_va_arg_expr bug. | |
7644 | * t-sh (MULTILIB_CPUS): s/ML_m/ML_sh/g . | |
7645 | * t-sh64 (MULTILIB_CPU_DIRS): Likewise. Match dashes and trailing | |
7646 | slashes in substitutions. | |
7647 | (MULTILIB_DIRNAMES): Remove defunct removal of /media32. | |
7648 | ||
b01d837f KH |
7649 | 2004-09-17 Kazu Hirata <kazu@cs.umass.edu> |
7650 | ||
7651 | * basic-block.h, c-decl.c, c-parse.in, cgraphunit.c, ddg.c, | |
7652 | gimplify.c, lambda-code.c, optabs.c, predict.c, | |
7653 | tree-scalar-evolution.c, tree-sra.c, tree-ssa-loop-ch.c, | |
7654 | tree-ssa.c, vec.h: Fix comment typos. Follow spelling | |
7655 | conventions. | |
7656 | ||
4ec7afd7 KH |
7657 | 2004-09-17 Kazu Hirata <kazu@cs.umass.edu> |
7658 | ||
7659 | * doc/compat.texi, doc/cpp.texi, doc/cppopts.texi, | |
7660 | doc/extend.texi, doc/install.texi, doc/invoke.texi, | |
7661 | doc/sourcebuild.texi, doc/tm.texi, doc/tree-ssa.texi, | |
7662 | doc/trouble.texi: Use @option around options. | |
7663 | ||
6eab2bc3 RS |
7664 | 2004-09-17 Richard Sandiford <rsandifo@redhat.com> |
7665 | ||
7666 | * Makefile.in (gen-protos.o): Depend on errors.h. | |
7667 | ||
275a4187 SB |
7668 | 2004-09-17 Steven Bosscher <stevenb@suse.de> |
7669 | ||
6615c446 | 7670 | PR tree-optimization/17513 |
275a4187 SB |
7671 | * cfgexpand.c (construct_init_block): Clear EDGE_EXECUTABLE |
7672 | for successors of the entry block. | |
7673 | ||
b355f222 UB |
7674 | 2004-09-17 Uros Bizjak <uros@kss-loka.si> |
7675 | ||
7676 | PR rtl-optimization/15187 | |
7677 | * ifcvt.c (noce_try_cmove_arith): Exit early if total | |
7678 | insn_rtx_cost of both branches > BRANCH_COST | |
7679 | ||
7a116211 DN |
7680 | 2004-09-16 Diego Novillo <dnovillo@redhat.com> |
7681 | ||
7682 | PR tree-optimization/17528 | |
7683 | * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Do not | |
7684 | erase the may-alias set for a tag when merging it with | |
7685 | another. | |
7686 | ||
e57450ce KK |
7687 | 2004-09-16 Kaz Kojima <kkojima@gcc.gnu.org> |
7688 | ||
7689 | * config/sh/sh.md (call): Extend 32-bit addresses to DImode | |
7690 | for 32-bit TARGET_SHMEDIA. | |
7691 | (call_value): Likewise. | |
7692 | ||
1800536a DN |
7693 | 2004-09-16 Diego Novillo <dnovillo@redhat.com> |
7694 | ||
7695 | * tree-ssa-operands.c (add_call_clobber_ops): Make read-only | |
7696 | test apply only to TREE_STATIC and DECL_EXTERNAL. | |
7697 | ||
42759f1e ZD |
7698 | 2004-09-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7699 | ||
7700 | * Makefile.in (tree-cfg.o): Add CFGLAYOUT_H dependency. | |
7701 | * basic-block.h (get_dominated_by_region): Declare. | |
7702 | * dominance.c (get_dominated_by_region): New function. | |
7703 | * tree-cfg.c: Include cfglayout.h. | |
7704 | (tree_duplicate_bb): Duplicate also phi nodes. | |
7705 | (struct ssa_name_map_entry): New type. | |
7706 | (add_phi_args_after_copy_bb, add_phi_args_after_copy, | |
7707 | ssa_name_map_entry_hash, ssa_name_map_entry_eq, | |
7708 | allocate_ssa_names, rewrite_to_new_ssa_names_def, | |
7709 | rewrite_to_new_ssa_names_use, rewrite_to_new_ssa_names_bb, | |
7710 | rewrite_to_new_ssa_names, tree_duplicate_sese_region): New functions. | |
7711 | * tree-flow.h (tree_duplicate_sese_region, add_phi_args_after_copy_bb, | |
7712 | add_phi_args_after_copy, rewrite_to_new_ssa_names_bb, | |
7713 | rewrite_to_new_ssa_names, allocate_ssa_names, | |
7714 | rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): Declare. | |
7715 | * tree-ssa-loop-ch.c (duplicate_blocks): Removed. | |
7716 | (copy_loop_headers): Use tree_duplicate_sese_region. | |
7717 | ||
2731cf24 FCE |
7718 | 2004-09-16 Frank Ch. Eigler <fche@redhat.com> |
7719 | ||
7720 | * profile.c (branch_prob): Restore support for USE_MAPPED_LOCATION. | |
7721 | ||
9fae925b JL |
7722 | 2004-09-16 Jeff Law <law@redhat.com> |
7723 | ||
7724 | * tree-into-ssa.c (block_defs_stack): New toplevel varray. | |
7725 | (rewrite_block_data): Remove, no longer used. | |
7726 | (rewrite_initialize_block_local_data): Remove, no longer used. | |
7727 | (rewrite_initialize_block): Mark parameters as unused as needed. | |
7728 | Change references to the block local block_defs to be block_defs_stack. | |
7729 | Push a marker onto the block_defs_stack. | |
7730 | (ssa_rewrite_initialize_block): Similarly. | |
7731 | (rewrite_stmt, ssa_rewrite_stmt): Similarly. | |
7732 | (ssa_register_new_def): No longer needs varray argument. Use | |
7733 | block_defs_stack instead. No longer handle possibly null block_defs | |
7734 | varray. Reverse order of items we push on the stack to make it | |
7735 | easier to identify our marker. | |
7736 | (register_new_def): No longer handle possibly null block_defs | |
7737 | varray. | |
7738 | (rewrite_finalize_block): Revamp to look for markers in the global | |
7739 | block_defs_stack varray rather than wiping a block local varray. | |
7740 | Mark arguments as unused as needed. | |
7741 | (ssa_rewrite_finalize_block): Similarly. | |
7742 | (rewrite_into_ssa): Update initialization of dom walker structure | |
7743 | to reflect that we don't need block local data anymore. Initialize | |
7744 | the block_defs_stack varray. | |
7745 | (rewrite_ssa_into_ssa): Similarly. | |
7746 | * tree-ssa-dom.c (block_defs_stack): New toplevel varray. | |
7747 | (struct dom_walk_data): Kill block_defs field. | |
7748 | (tree_ssa_dominator_optimize): Initialize block_defs_stack. | |
7749 | (thread_across_edge): Use the global block_defs_stack instead of | |
7750 | the old block_defs varray. | |
7751 | (dom_opt_initialize_block_local_data): Update now that we don't have | |
7752 | block_defs field to check anymore. | |
7753 | (dom_opt_initialize_block): Push a marker onto block_defs_stack. | |
7754 | (restore_currdefs_to_original_value): Use the new block_defs_stack | |
7755 | instead of a block local varray. | |
7756 | (dom_opt_finalize_block): Similarly. | |
7757 | (record_equivalencs_from_phis): Similarly. | |
7758 | (optimize_stmt, register_definitions_for_stmt): Similarly. | |
7759 | ||
49f48e9f AM |
7760 | 2004-09-16 Andrew MacLeod <amacleod@redhat.com> |
7761 | ||
7762 | PR tree-optimization/17517 | |
6615c446 | 7763 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't |
49f48e9f AM |
7764 | coalesce same-root variables without checking for abnormal PHI usage. |
7765 | ||
f67d92e9 | 7766 | 2004-09-16 Daniel Berlin <dberlin@dberlin.org> |
6615c446 | 7767 | |
f67d92e9 DB |
7768 | * cfgloop.h (duplicate_loop): Add prototype. |
7769 | * cfgloopmanip.c (duplicate_loop): Make non-static. | |
7770 | * lambda-code.c (perfect_nestify): Factor out test whether | |
7771 | we can handle this loop into separate function. | |
7772 | Call it. | |
7773 | (can_convert_to_perfect_nest): New function. | |
7774 | (replace_uses_of_x_with_y): Add modify_stmt call. | |
7775 | * tree-loop-linear.c (linear_transform_loops): Call | |
7776 | rewrite_into_loop_closed_ssa and free_df. | |
7777 | ||
7778 | 2004-09-16 Daniel Berlin <dberlin@dberlin.org> | |
7779 | ||
7780 | * lambda-code.c (invariant_in_loop): is_gimple_min_invariant is | |
7781 | loop invariant as well. | |
7782 | (perfect_nestify): new function. | |
7783 | (gcc_loop_to_lambda_loop): New parameters to track lower bounds, | |
6615c446 | 7784 | upper bounds, and steps. |
f67d92e9 DB |
7785 | Set outerinductionvar properly. |
7786 | (gcc_loopnest_to_lambda_loopnest): Add loops and need_perfect | |
7787 | parameters. | |
7788 | Return NULL if we need a perfect loop and can't make one. | |
7789 | (lambda_loopnest_to_gcc_loopnest): Correct algorithm. | |
7790 | (not_interesting_stmt): New function. | |
7791 | (phi_loop_edge_uses_def): Ditto. | |
7792 | (stmt_uses_phi_result): Ditto. | |
7793 | (stmt_is_bumper_for_loop): Ditto. | |
7794 | (perfect_nest_p): Ditto. | |
7795 | (nestify_update_pending_stmts): Ditto. | |
7796 | (replace_uses_of_x_with_y): Ditto. | |
7797 | (stmt_uses_op): Ditto. | |
7798 | (perfect_nestify): Ditto. | |
7799 | * lambda-mat.c (lambda_matrix_id_p): New function. | |
7800 | * lambda-trans.c (lambda_trans_matrix_id_p): Ditto. | |
7801 | * lambda.h: Update prototypes. | |
7802 | * tree-loop-linear (linear_transform_loop): Use new | |
7803 | perfect_nest_p. Detect and ignore identity transform. | |
7804 | * tree-ssa-loop.c (pass_linear_transform): Use TODO_write_loop_closed. | |
7805 | ||
7806 | 2004-09-16 Sebastian Pop <pop@cri.ensmp.fr> | |
7807 | ||
7808 | * tree-loop-linear.c (gather_interchange_stats): Add more comments. | |
6615c446 | 7809 | Gather also strides of accessed data. Pass in the data references |
f67d92e9 | 7810 | array. |
6615c446 | 7811 | (try_interchange_loops): Add a new heuristic for handling the temporal |
f67d92e9 DB |
7812 | locality. Pass in the data references array. |
7813 | (linear_transform_loops): Pass the data references array to | |
7814 | try_interchange_loops. | |
7815 | ||
83c99486 KH |
7816 | 2004-09-16 Kazu Hirata <kazu@cs.umass.edu> |
7817 | ||
7818 | * doc/invoke.texi: Fix typos. Follow spelling conventions. | |
7819 | ||
4b30ad7e NS |
7820 | 2004-09-16 Nathan Sidwell <nathan@codesourcery.com> |
7821 | ||
7822 | * doc/c-tree.texi (Classes): Remove index entries for | |
7823 | TREE_VIA_{PUBLIC,PROTECTED,PRIVATE}. | |
7824 | ||
2f4675b4 ZD |
7825 | 2004-09-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7826 | ||
7827 | * fold-const.c (fold): Fold difference of addresses. | |
7828 | (ptr_difference_const): Moved from tree-ssa-loop-ivopts, based on | |
7829 | get_inner_reference. | |
7830 | * tree-ssa-loop-ivopts.c (peel_address): Removed. | |
7831 | (ptr_difference_const): Moved to fold-const.c. | |
7832 | (split_address_cost): Use get_inner_reference instead of peel_address. | |
7833 | (ptr_difference_cost): Change type of diff to HOST_WIDE_INT. | |
7834 | * tree.h (ptr_difference_const): Export. | |
7835 | ||
7836 | * tree-ssa-loop-ivopts.c (dump_iv, dump_use, dump_cand): Add induction | |
7837 | variable type to the dump. Fix indentation. | |
7838 | (idx_find_step): Handle nonconstant array_ref_element_size and | |
7839 | array_ref_low_bound. | |
7840 | (idx_record_use): Handle array_ref_element_size and | |
7841 | array_ref_low_bound. | |
7842 | (find_interesting_uses_stmt): Handle memory = nontrivial_expression | |
7843 | statements correctly. | |
7844 | (get_computation_at, iv_value): Do not unshare expressions here. | |
7845 | (rewrite_use_outer): Unshare the expression before it is emitted | |
7846 | to code. | |
7847 | * tree-ssa-loop-niter.c (unsigned_type_for, signed_type_for): | |
7848 | Moved to tree.c. | |
7849 | * tree.c (unsigned_type_for, signed_type_for): Moved from | |
7850 | tree-ssa-loop-niter.c. Use langhooks. | |
7851 | * tree.h (signed_type_for): Export. | |
7852 | ||
8210e4c4 DE |
7853 | 2004-09-16 David Edelsohn <edelsohn@gnu.org> |
7854 | ||
7855 | * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Update | |
7856 | prototype. | |
7857 | ||
3dd53121 AP |
7858 | 2004-09-15 Andrew Pinski <pinskia@physics.uc.edu> |
7859 | ||
7860 | PR target/11572 | |
7861 | * c-incpath.h (target_c_incpath_s): Add extra_pre_includes. | |
7862 | Add two parameters to extra_includes. | |
7863 | (C_INCPATH_INIT): Remove. | |
7864 | * c-incpath.c (register_include_chains): Call extra_pre_includes | |
7865 | before adding the standard include directory. | |
7866 | Update call to extra_includes. | |
7867 | (!defined TARGET_EXTRA_INCLUDES): Update | |
7868 | hook_void_charptr_charptr_int and add !define | |
7869 | TARGET_EXTRA_PRE_INCLUDES. | |
7870 | (!define TARGET_EXTRA_INCLUDES): Define as | |
7871 | hook_void_charptr_charptr_int. | |
7872 | (!define TARGET_EXTRA_PRE_INCLUDES): Likewise. | |
7873 | (target_c_incpath): Always declare. | |
7874 | * fixinclude.c (defined TARGET_EXTRA_INCLUDES): Declare a | |
7875 | empty function. | |
7876 | (define TARGET_EXTRA_PRE_INCLUDES): Likewise. | |
7877 | * config/darwin.h: (darwin_register_frameworks): Update for | |
7878 | the two new parameters. | |
7879 | (darwin_register_objc_includes): Add prototype. | |
7880 | (TARGET_EXTRA_PRE_INCLUDES): Define. | |
7881 | * config/darwin-c.c (darwin_register_objc_includes): New function. | |
7882 | (darwin_register_frameworks): Update for the two new parameters. | |
7883 | (target_c_incpath): Remove. | |
7884 | * config/t-darwin (darwin-c.o): Add $(PREPROCESSOR_DEFINES) to | |
7885 | the compile line. | |
7886 | * doc/tm.texi (TARGET_EXTRA_INCLUDES): Document the two new | |
7887 | parameters. | |
7888 | (TARGET_EXTRA_PRE_INCLUDES): Document. | |
7889 | ||
7890 | * gcc.c (spec_function): Add replace-outfile. | |
7891 | (replace_outfile_spec_function): New function. | |
7892 | * config/darwin.h (LINK_SPEC): Add replace | |
7893 | -lobjc with -lobjc-gnu if -fgnu-runtime is | |
7894 | supplied. | |
7895 | * invoke.texi (replace-outfile): Document. | |
7896 | ||
42f97fd2 JH |
7897 | 2004-09-13 Jan Hubicka <jh@suse.cz> |
7898 | ||
7899 | * predict.c (expr_expected_value, strip_builtin_expect): New function. | |
7900 | (tree_predict_by_opcode): Use it. | |
7901 | (tree_estimate_probability): Add, for now disabled, | |
7902 | strip_builtin_expect call. | |
7903 | ||
097f3d48 JW |
7904 | 2004-09-15 James E Wilson <wilson@specifixinc.com> |
7905 | ||
7906 | PR target/17455 | |
7907 | * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Return false | |
7908 | if current_function_decl is a sibcall. | |
7909 | ||
04a75188 MM |
7910 | 2004-09-15 Mark Mitchell <mark@codesourcery.com> |
7911 | ||
7912 | * varasm.c (default_function_rdodata_section): Make sure to pass | |
7913 | along a decl for a link-once section. | |
7914 | ||
e776368b RH |
7915 | 2004-09-15 Richard Henderson <rth@redhat.com> |
7916 | ||
7917 | * tree-ssa-operands.c (add_call_clobber_ops): Fix unused variable | |
7918 | warning with code disable. Fix formatting. | |
7919 | ||
c7f90219 SB |
7920 | 2004-09-15 Steven Bosscher <stevenb@suse.de> |
7921 | ||
7922 | * Makefile.in (tree-ssa-dom.o): Depend on tree-ssa-propagate.h. | |
7923 | * tree-ssa-dom.c (cprop_into_stmt): Recompute TREE_INVARIANT | |
6615c446 | 7924 | after propagating into an ADDR_EXPR. |
c7f90219 | 7925 | |
2f021b67 AP |
7926 | 2004-09-15 Andrew Pinski <apinski@apple.com> |
7927 | ||
7928 | PR rtl-opt/17427 | |
7929 | * gcse.c (process_insert_insn): insn_invalid_p has side effects. | |
7930 | Move it out of gcc_assert. | |
7931 | ||
971801ff JM |
7932 | 2004-09-15 Joseph S. Myers <jsm@polyomino.org.uk> |
7933 | ||
7934 | * attribs.c, builtins.c, c-format.c, c-pch.c, coverage.c, | |
7935 | except.c, fold-const.c, function.c, langhooks.c, params.c, | |
7936 | reload.c, reload1.c, stmt.c, stor-layout.c, toplev.c, tree-cfg.c, | |
7937 | tree-dump.c, tree-mudflap.c, tree.c, varasm.c: Use %<, %> and %q | |
7938 | for quoting in diagnostics going through pretty-print.c. Use '' | |
7939 | for quoting in other diagnostic text. | |
7940 | * langhooks.c: Include intl.h. Mark text locating diagnostics for | |
7941 | translation. | |
7942 | * Makefile.in (langhooks.o): Update dependencies. | |
7943 | * pretty-print.h (pp_printf): Mark as accepting GCC diagnostic | |
7944 | formats. | |
7945 | ||
c18a5b6c MM |
7946 | 2004-09-15 Mark Mitchell <mark@codesourcery.com> |
7947 | ||
7948 | * configure.ac: Check for COMDAT support. Robustify check for | |
7949 | SHF_MERGE support. | |
7950 | * configure: Regenerated. | |
7951 | * config.in: Likewise. | |
7952 | * langhooks-def.h (lhd_comdat_group): New function. | |
7953 | (LANG_HOOKS_COMDAT_GROUP): New macro. | |
7954 | (LANG_HOOKS_DECLS): Use it. | |
7955 | * langhooks.c (lhd_comdat_group): Define. | |
7956 | * langhooks.h (lang_hooks_for_decls): Add comdat_group. | |
7957 | * output.h (named_section_flags): Make it a macro. | |
7958 | (named_section_real): New function. | |
7959 | (default_no_named_section): Add decl parameter. | |
7960 | (default_elf_asm_named_section): Likewise. | |
7961 | (default_coff_asm_named_section): Likewise. | |
7962 | (default_pe_asm_named_section): Likewise. | |
7963 | * target.h (gcc_target): Adjust type of named_section. | |
7964 | * varasm.c (named_section_flags): Rename to named_section_real. | |
7965 | Add decl parameter. | |
7966 | (default_no_named_section): Add decl parameter. | |
7967 | (default_elf_asm_named_section): Use COMDAT, if available. Deal | |
7968 | with the case that ASM_COMMENT_START is "@". | |
7969 | (default_coff_asm_named_section): Add decl parameter. | |
7970 | (default_pe_asm_named_section): Likewise. | |
7971 | * config/alpha/alpha.c (vms_asm_named_section): Add decl | |
7972 | parameter. | |
7973 | (unicosmk_asm_named_section): Likewise. | |
7974 | * config/arm/arm.c (arm_elf_asm_named_section): Remove. | |
7975 | * config/arm/elf.h (TARGET_ASM_NAMED_SECTION): Likewise. | |
7976 | * config/c4x/c4x.c (c4x_asm_named_section): Add decl parameter. | |
7977 | * config/cris/cris-protos.h (cris_target_asm_named_section): | |
7978 | Likewise. | |
7979 | * config/cris/cris.c (cris_target_asm_named_section): | |
7980 | Likewise. | |
7981 | * config/darwin/darwin-protos.h (darwin_asm_named_section): | |
7982 | Likewise. | |
7983 | * config/darwin/darwin.c (darwin_asm_named_section): Likewise. | |
7984 | * config/h8300/h8300.c (h8300_asm_named_section): Likewise. | |
7985 | * config/i386/i386-protos.h (i386_pe_asm_named_section): | |
7986 | Likewise. | |
7987 | * config/i386/winnt.c (i386_pe_asm_named_section): Likewise. | |
7988 | * config/m68k/m68k.c (m68k_coff_asm_named_section): Likewise. | |
7989 | * config/mcore/mcore.c (mcore_asm_named_section): Likewise. | |
7990 | * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): | |
7991 | Likewise. | |
7992 | * config/sparc/sparc.c (sparce_elf_asm_named_section): Likewise. | |
7993 | * cp/cp-lang.h (LANG_HOOKS_COMDAT_GROUP): Define. | |
7994 | * cp/cp-tree.h (cxx_comdat_group): Declare. | |
7995 | * cp/decl.c (cxx_comdat_group): New function. | |
7996 | ||
fe7139ac JH |
7997 | 2004-09-15 Jan Hubicka <jh@suse.cz> |
7998 | ||
87527e4b JH |
7999 | * tree-ssa.c (verify_flow_sensitive_alias_info): Do not walk dead nodes. |
8000 | * tree-tailcall.c (eliminate_tail_call): Release SSA name. | |
8001 | ||
fe7139ac JH |
8002 | * tree-cfg.c (remove_bb): Release SSA defs. |
8003 | ||
1a141fe1 KH |
8004 | 2004-09-15 Kazu Hirata <kazu@cs.umass.edu> |
8005 | ||
8006 | * doc/tm.texi: Follow spelling conventions. | |
8007 | ||
b3a27618 KH |
8008 | 2004-09-15 Kazu Hirata <kazu@cs.umass.edu> |
8009 | ||
8010 | * tree-ssa-dom.c: Fix comment typos. | |
8011 | ||
43e7c6a4 AM |
8012 | 2004-09-15 Alan Modra <amodra@bigpond.net.au> |
8013 | ||
8014 | * config/rs6000/linux-unwind.h (struct gcc_pt_regs): Extend to | |
8015 | include ccr. | |
8016 | (ppc_fallback_frame_state): Save location of CR. | |
8017 | ||
9a520f40 JJ |
8018 | 2004-09-15 Jakub Jelinek <jakub@redhat.com> |
8019 | ||
a45f71f5 JJ |
8020 | * expr.c (string_constant): Handle also read-only variables |
8021 | initialized to string literals. | |
8022 | ||
9a520f40 JJ |
8023 | * builtins.c (expand_builtin_memmove): Optimize memmove (x, y, 1) |
8024 | into memcpy (x, y, 1) if memcpy can be expanded inline. | |
8025 | ||
b1d16eff ZD |
8026 | 2004-09-15 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8027 | ||
8028 | PR tree-optimization/17468 | |
8029 | * tree-ssa.c (verify_use, verify_phi_args, verify_ssa): Verify that | |
8030 | definition inside a block precede uses. | |
8031 | * tree-tailcall.c (adjust_return_value): Emit statements in the | |
8032 | correct order. | |
8033 | ||
36579192 RS |
8034 | 2004-09-15 Richard Sandiford <rsandifo@redhat.com> |
8035 | ||
8036 | * config/mips/mips.h (POINTERS_EXTEND_UNSIGNED): Delete. | |
8037 | ||
7c2f2b41 EB |
8038 | 2004-09-15 Eric Botcazou <ebotcazou@libertysurf.fr> |
8039 | ||
8040 | * doc/install.texi (sparc-sun-solaris2*): Properly format warning. | |
8041 | ||
a5c965c1 JL |
8042 | 2004-09-14 Jeff Law <law@redhat.com> |
8043 | ||
48732f23 JL |
8044 | * tree-ssa-dom.c (avail_exprs_stack): New global varray. |
8045 | (struct dom_walk_block_data): Remove avail_exprs member. | |
8046 | (tree_ssa_dominator_optimize): Initialize avail_exprs_stack. | |
8047 | (lookup_avail_expr): No longer need to pass in address of | |
8048 | the block local available exprs stack. All callers changed. | |
8049 | (simplify_cond_and_lookup_avail_expr): Similarly. | |
8050 | (simplify_switch_and_lookup_avail_expr): Similarly. | |
8051 | (get_eq_expr_value, record_cond): Likewise. | |
8052 | (record_dominating_conditions): Likewise. | |
8053 | (update_rhs_and_lookup_avail_expr): Likewise. | |
8054 | (record_equivalences_from_stmt): Likewise. | |
8055 | (dom_opt_initialize_block_local_data): No longer test state of | |
8056 | block local avail_exprs. | |
8057 | (dom_opt_initialize_block): Mark unwind point in the global | |
8058 | avail_expr stack. | |
8059 | (remove_expressions_from_table): Update to unwind to the | |
8060 | most recent unwind marker in the global avail_expr stack. | |
8061 | All callers changed. | |
8062 | (dom_opt_finalize_block): Mark unwind point in the global | |
8063 | avail_expr stack as needed. | |
8064 | (record_cond): Push elements into the global avail_exprs stack. | |
8065 | ||
a5c965c1 JL |
8066 | * tree-dfa.c (free_df_for_stmt): No longer static. |
8067 | (free_df): Update comments. | |
8068 | * tree-flow.h (free_df_for_stmt): Prototype. | |
8069 | * tree-ssa-dse.c (dse_optimize_stmt): Call free_df_for_stmt. Also | |
8070 | call release_defs. | |
8071 | ||
391f9afb DN |
8072 | 2004-09-14 Diego Novillo <dnovillo@redhat.com> |
8073 | ||
8074 | PR tree-optimization/17252 | |
8075 | * tree-ssa-alias.c (may_alias_p): Don't assume that a | |
8076 | pointer may not point to itself when using relaxed | |
8077 | aliasing rules. | |
8078 | ||
67f23620 RH |
8079 | 2004-09-14 Richard Henderson <rth@redhat.com> |
8080 | ||
8081 | PR middle-end/17397 | |
8082 | * gimplify.c (gimplify_addr_expr): Don't inadvertently change types | |
8083 | while folding <ADDR_EXPR <INDIRECT_REF X>>. | |
8084 | ||
5ffcd779 AP |
8085 | 2004-09-14 Andrew Pinski <apinski@apple.com> |
8086 | ||
8087 | * tree-ssa-copy.c (may_propagate_copy): Don't check the aliasing | |
8088 | sets of the pointers but the aliasing sets of what they point to. | |
8089 | ||
f6ae6c51 RS |
8090 | 2004-09-14 Roger Sayle <roger@eyesopen.com> |
8091 | ||
8092 | PR rtl-optimization/9771 | |
8093 | * regclass.c (CALL_REALLY_USED_REGNO_P): New macro to eliminate | |
8094 | conditional compilation in init_reg_sets_1. | |
8095 | (init_reg_sets_1): Let global_regs[i] take priority over the frame | |
8096 | (but not stack) pointer exceptions to regs_invalidated_by_call. | |
8097 | (globalize_reg): Globalizing a fixed register may need to update | |
8098 | regs_invalidated_by_call. | |
8099 | ||
1810f6ed DN |
8100 | 2004-09-14 Diego Novillo <dnovillo@redhat.com> |
8101 | ||
8102 | PR tree-optimization/15262 | |
8103 | * tree-dfa.c (dump_variable): Also print the type of the | |
8104 | variable. | |
8105 | * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If two | |
8106 | memory tags are of conflicting alias sets but have no aliased | |
8107 | symbols in common, add one tag to the alias set of the other. | |
8108 | (setup_pointers_and_addressables): Remove hack to deal with | |
8109 | programs with no aliased symbols. | |
8110 | (may_alias_p): Don't special case aggregate types. | |
8111 | ||
0e6d31fb JM |
8112 | 2004-09-14 Joseph S. Myers <jsm@polyomino.org.uk> |
8113 | ||
8114 | PR c/15498 | |
8115 | * doc/invoke.texi (Environment Variables): Correct example locale. | |
8116 | ||
ab3b6795 JH |
8117 | 2004-09-14 Jan Hubicka <jh@suse.cz> |
8118 | ||
8119 | * cfg.c (expunge_block): Revert previous change adding ggc_free call. | |
8120 | ||
0c0f8409 MM |
8121 | 2004-09-14 Mark Mitchell <mark@codesourcery.com> |
8122 | ||
8123 | * config.gcc: Do not build a shared libgcc for arm-none-eabi. | |
8124 | ||
3b53cddc JM |
8125 | 2004-09-14 Joseph S. Myers <jsm@polyomino.org.uk> |
8126 | ||
8127 | * c-tree.h (struct c_declspecs): Add const_p, volatile_p and | |
8128 | restrict_p. | |
8129 | (struct c_declarator): Change u.array.quals and pointer_quals to | |
8130 | int. Add u.array.attrs. | |
8131 | (quals_from_declspecs): New. | |
8132 | * c-decl.c (quals_from_declspecs): New. | |
8133 | (shadow_tag_warned): Give more specific message for useless type | |
8134 | qualifiers. | |
8135 | (build_array_declarator, set_array_declarator_inner, | |
8136 | grokdeclarator, make_pointer_declarator, build_null_declspecs, | |
8137 | declspecs_add_qual): Update for changed structures. | |
8138 | ||
a6e1aa26 JL |
8139 | 2004-09-14 Jeff Law <law@redhat.com> |
8140 | ||
8141 | * tree-ssa-dom.c (stmts_to_rescan): Move from a block-local | |
6615c446 | 8142 | to a global varray. |
a6e1aa26 JL |
8143 | (tree_ssa_dominator_optimize): Allocate stmts_to_rescan. |
8144 | (dom_opt_initialize_block_local_data): No longer test state | |
8145 | of stmts_to_rescan. | |
8146 | (dom_opt_finalize_block): Update due to change in scope of | |
8147 | stmts_to_rescan. | |
8148 | (optimize_stmt): Similarly. | |
8149 | ||
8e3c61c5 KH |
8150 | 2004-09-14 Kazu Hirata <kazu@cs.umass.edu> |
8151 | ||
8152 | * cgraph.h, cgraphunit.c, fold-const.c, lambda-mat.c, | |
8153 | lambda.h, profile.c, tree-optimize.c, tree-sra.c, vec.h: Fix | |
8154 | comment typos. Follow spelling conventions. | |
8155 | ||
0e40b5f2 KH |
8156 | 2004-09-14 Kazu Hirata <kazu@cs.umass.edu> |
8157 | ||
8158 | * config/darwin-c.c, config/alpha/alpha.c, config/i386/i386.c, | |
8159 | config/i386/predicates.md, config/sparc/sparc.c: Follow | |
8160 | spelling conventions. | |
8161 | ||
113d659a ZD |
8162 | 2004-09-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8163 | Steven Bosscher <stevenb@suse.de> | |
8164 | ||
8165 | * Makefile.in (loop-unroll.o): Add HASHTAB_H and RECOG_H dependency. | |
8166 | * basic-block.h (struct reorder_block_def): Add copy_number field. | |
8167 | * cfgloop.h (biv_p): Declare. | |
8168 | * cfgloopmanip.c (duplicate_loop_to_header_edge): Set copy_number. | |
8169 | * common.opt (fsplit-ivs-in-unroller): New flag. | |
8170 | * loop-iv.c (biv_p): New function. | |
8171 | * loop-unroll.c: Include hashtab.h and recog.h. | |
8172 | (struct iv_to_split, struct split_ivs_info): New types. | |
8173 | (analyze_ivs_to_split, si_info_start_duplication, split_ivs_in_copies, | |
8174 | free_si_info, si_info_hash, si_info_eq, analyze_iv_to_split_insn, | |
8175 | determine_split_iv_delta, get_ivts_expr, allocate_basic_variable, | |
8176 | insert_base_initialization, split_iv): New functions. | |
8177 | (peel_loop_completely, unroll_loop_constant_iterations, | |
8178 | unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid): | |
8179 | Use them. | |
8180 | * doc/invoke.texi (-fsplit-ivs-in-unroller): Document. | |
8181 | ||
d840495b ZD |
8182 | 2004-09-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8183 | ||
8184 | * tree-cfg.c (thread_jumps): Update dominators correctly in | |
8185 | case destination of threaded edge dominates its source. | |
8186 | ||
c94583fe ZD |
8187 | 2004-09-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8188 | ||
8189 | * unroll.c: Removed. | |
8190 | * loop.h: Removed. | |
8191 | * Makefile.in (LOOP_H, unroll.o): Removed. | |
8192 | (toplev.o, passes.o, stmt.o, integrate.o, loop.o): Remove LOOP_H | |
8193 | dependency. | |
8194 | * alias.c (init_alias_analysis): Remove flag_old_unroll_loops | |
8195 | reference. | |
8196 | * cfgloop.h (LOOP_PREFETCH, loop_optimize): Moved from loop.h. | |
8197 | * common.opt (fold-unroll-loops, fold-unroll-all-loops): Removed. | |
8198 | * loop.c: Do not include loop.h. | |
8199 | (LOOP_INFO, LOOP_MOVABLES, LOOP_REGS, LOOP_IVS, INSN_LUID, | |
8200 | REGNO_FIRST_LUID, REGNO_LAST_LUID, enum g_types, struct induction, | |
8201 | struct iv_class, enum iv_mode, struct iv, REG_IV_TYPE, REG_IV_INFO, | |
8202 | REG_IV_CLASS, struct loop_ivs, struct loop_mem_info, struct loop_reg, | |
8203 | struct loop_regs, struct loop_movables, struct loop_info): Moved | |
8204 | from loop.h. | |
8205 | (back_branch_in_range_p, fold_rtx_mult_add, biv_total_increment, | |
8206 | reg_dead_after_loop, final_biv_value, loop_find_equiv_value, | |
8207 | find_common_reg_term, loop_iterations, final_giv_value): Moved | |
8208 | from unroll.c. | |
8209 | (uid_luid, uid_loop, max_uid_for_loop, max_reg_before_loop, | |
8210 | loop_dump_stream, for_each_insn_in_loop, express_from, | |
8211 | extend_value_for_giv, loop_iv_add_mult_emit_before, | |
8212 | loop_iv_add_mult_sink, loop_iv_add_mult_hoist, | |
8213 | loop_insn_first_p, get_condition_for_loop, | |
8214 | loop_insn_emit_before, loop_insn_hoist, | |
8215 | loop_insn_sink): Made static. | |
8216 | (loop_invariant_p): Made static. Removed flag_old_unroll_loops | |
8217 | reference. | |
8218 | (strength_reduce): Do not call unroller. | |
8219 | (record_giv): Do not initialize unrolled field. | |
8220 | (prescan_loop): Do not set loop_info->preconditioned. | |
8221 | * passes.c: Do not include loop.h. | |
8222 | (rest_of_handle_loop_optimize): Do not call unroller. | |
8223 | * predict.c: Do not include loop.h. | |
8224 | * rtl.h (NOTE_PRECONDITIONED): Removed. | |
8225 | * stmt.c: Do not include loop.h. | |
8226 | * toplev.c: Do not include loop.h. | |
8227 | (process_options): Do not handle flag_old_unroll_loops. | |
8228 | ||
8229 | * doc/invoke.texi (fold-unroll-loops, fold-unroll-all-loops): | |
8230 | Documentation removed. | |
8231 | * doc/passes.texi (unroll.c, loop.h): Documentation removed. | |
8232 | ||
03261822 NS |
8233 | 2004-09-14 Nathan Sidwell <nathan@codesourcery.com> |
8234 | ||
8235 | * Makefile.in (STAGE1_CHECKING): New variable. | |
8236 | (stage1_build): Use it. | |
8237 | * tree-ssa.c (verify_ssa): Preserve state of dominance | |
8238 | information. | |
8239 | ||
869d095e UB |
8240 | 2004-09-14 Uros Bizjak <uros@kss-loka.si> |
8241 | ||
8242 | * config/i386/i386.c (output_fp_compare): Add generation | |
8243 | of ftst instruction. | |
8244 | * config/i386/i386.md (*cmpfp_0_sf, cmpfp_0_df, cmpfp_0_xf): | |
8245 | Use output_fp_compare () function. | |
8246 | (cmpfp_i, *cmpfp_i_sse, *cmpfp_i_sse_only): Fix insn constraint. | |
8247 | (fix_truncdi_memory): Remove operands[5] copy. | |
8248 | ||
19525b57 KH |
8249 | 2004-09-14 Kazu Hirata <kazu@cs.umass.edu> |
8250 | ||
8251 | * config/m32r/m32r.md, config/m68k/m68kelf.h, | |
8252 | config/mcore/mcore.md, config/rs6000/linux64.h, | |
8253 | config/rs6000/rs6000.c, config/sparc/sparc.c: Fix comment | |
8254 | typos. | |
8255 | ||
a140c081 JW |
8256 | 2004-09-13 James E Wilson <wilson@specifixinc.com> |
8257 | ||
8258 | * Makefile.in (GEN_PROTOS_OBJS): Add $(BUILD_ERRORS). | |
8259 | * gen-protos.c: Include errors.h. | |
8260 | (progname): Delete. | |
8261 | ||
b6acab32 JH |
8262 | 2004-09-14 Jan Hubicka <jh@suse.cz> |
8263 | ||
8264 | * Makefile.in (predict.o): Depend on tree-scalar-evolution.h | |
8265 | * predict.c: Include tree-scalar-evolution.h and cfgloop.h | |
8266 | (predict_loops): Use number_of_iterations_exit to predict | |
8267 | number of iterations on trees. | |
8268 | ||
c1bbfd3c DJ |
8269 | 2004-09-13 Dale Johannesen <dalej@apple.com> |
8270 | ||
8271 | PR 17408 | |
8272 | PR 17409 | |
8273 | * c-decl.c (start_decl): Repair TREE_STATIC for initialized | |
8274 | objects declared extern. | |
8275 | ||
b9705a21 PB |
8276 | 2004-09-14 Paul Brook <paul@codesourcery.com> |
8277 | ||
8278 | * config/arm/arm.c (arm_expand_prologue): Make args_to_push a | |
8279 | HOST_WIDE_INT. | |
8280 | ||
b9193259 DJ |
8281 | 2004-09-13 Daniel Jacobowitz <dan@debian.org> |
8282 | ||
8283 | * fold-const.c (fold_checksum_tree): Ignore TYPE_CACHED_VALUES. | |
8284 | Only use TYPE_BINFO for aggregates. | |
8285 | ||
3ab0f290 DJ |
8286 | 2004-09-13 Daniel Jacobowitz <dan@debian.org> |
8287 | ||
8288 | * expmed.c (synth_mult): Initialize latency. Check cost before | |
8289 | checking ops count. | |
8290 | ||
fa9be75f | 8291 | 2004-09-13 Kenneth Zadeck <Kenneth.Zadeck@NaturalBridge.com> |
6674a6ce | 8292 | |
6674a6ce KZ |
8293 | * tree-ssa-operands.c (get_call_expr_operands): Added parm to |
8294 | add_call_clobber_ops and add_call_read_ops. | |
8295 | (add_call_clobber_ops, add_call_read_ops): Added code to reduce | |
8296 | the number of vdefs and vuses inserted based on analysis of global | |
8297 | variables across calls. * tree-dfa.c (find_referenced_vars): | |
8298 | Needed to reset static var maps before each function is compiled. | |
8299 | * cgraphunit.c: | |
8300 | (static_vars_to_consider_by_tree,static_vars_to_consider_by_uid, | |
8301 | static_vars_info,functions_to_static_vars_info,module_statics_escape, | |
8302 | all_module_statics,searchc_env,dfs_info): New fields to support | |
8303 | analysis of static global variables. | |
8304 | (print_order, convert_UIDs_in_bitmap, new_static_vars_info, | |
8305 | cgraph_reset_static_var_maps, get_global_static_vars_info, | |
8306 | get_global_statics_not_read, get_global_statics_not_written, | |
8307 | searchc, cgraph_reduced_inorder, has_proper_scope_for_analysis, | |
8308 | check_rhs_var, check_lhs_var, get_asm_expr_operands, | |
8309 | process_call_for_static_vars, scan_for_static_refs, | |
8310 | cgraph_characterize_statics_local, cgraph_get_static_name_by_uid, | |
8311 | clear_static_vars_maps, cgraph_propagate_bits, | |
8312 | cgraph_characterize_statics): New. Functions to support analysis | |
8313 | of static global variables. | |
8314 | (cgraph_mark_local_and_external_functions): Renamed from: | |
8315 | (cgraph_mark_local_functions) | |
8316 | (cgraph_expand_all_functions): Remove call to | |
8317 | cgraph_mark_local_and_external_functions. | |
8318 | (cgraph_optimize): Added driver to analyze static variables whose | |
8319 | scope is within the compilation unit. * cgraph.h (struct | |
8320 | cgraph_local_info, GTY): Added statics_read, statics_written, | |
8321 | local, calls_read_all, calls_write_all, for_functions_valid. | |
8322 | (struct cgraph_node): Added next_cycle. * cgraph.c | |
8323 | (dump_cgraph_node): Added print routines for new fields. * | |
8324 | makefile.in: macroized cgraph.h, added cgraphunit.c to the ggc | |
8325 | list. | |
8326 | ||
61f4f1cc JM |
8327 | 2004-09-13 Joseph S. Myers <jsm@polyomino.org.uk> |
8328 | ||
8329 | * c-decl.c (grokdeclarator): Correct comments about where storage | |
8330 | class specifiers are rejected by grammar and add corresponding | |
8331 | asserts. Diagnose typedefs and parameters declared inline. | |
8332 | Change warning for inline main to a pedwarn. Only diagnose inline | |
8333 | main if hosted. | |
8334 | (declspecs_add_scspec): Allow duplicate "inline". | |
8335 | ||
88ed5ef5 SE |
8336 | 2004-09-13 Steve Ellcey <sje@cup.hp.com> |
8337 | ||
8338 | * config/ia64/ia64.c (ia64_scalar_mode_supported_p): New. | |
8339 | (TARGET_SCALAR_MODE_SUPPORTED_P): New. | |
8340 | ||
a5bfe141 RH |
8341 | 2004-09-13 Richard Henderson <rth@redhat.com> |
8342 | ||
8343 | PR 17436 | |
8344 | * tree.h (TYPE_CONTAINS_PLACEHOLDER_INTERNAL): New. | |
8345 | (tree_type): Replace spare with contains_placeholder_bits. | |
8346 | (type_contains_placeholder_1): Rename from type_contains_placeholder_p, | |
8347 | make static. Remove seen_types list. | |
8348 | (type_contains_placeholder_p): New. | |
8349 | ||
1823bf53 JW |
8350 | 2004-09-13 James E Wilson <wilson@specifixinc.com> |
8351 | ||
8352 | * config/mips/mips.c (CODE_FOR_mips_sqrt_ps): New. | |
8353 | (sb1_bdesc, bdesc_map, bdesc_arrays): New. | |
8354 | (mips_expand_builtin): Add SB-1 support. Use bdesc_map and | |
8355 | bdesc_arrays instead of mips_bdesc. | |
8356 | (mips_init_builtins): Likewise. | |
8357 | * config/mips/mips.h (TARGET_SB1): New. | |
8358 | (HAVE_SQRT_P): Delete. | |
8359 | * config/mips/mips.md (divide_condition): Support V2SF. | |
8360 | (sqrt_condition, recip_condition): New. | |
8361 | (div<mode>3): Use ANYF instead of SCALARF. | |
8362 | (*div<mode>3): Use ANYF instead of SCALARF. Use UNITMODE instead of | |
8363 | MODE. | |
8364 | (*recip<mode>3, *rsqrt<mode>a, *rsqrt<mode>b): Use recip_condition | |
8365 | instead of ISA_HAS_FP4. Use ANYF instead of SCALARF. Use UNITMODE | |
8366 | instead of MODE. | |
8367 | (sqrt<mode>2): Use sqrt_condition instead of HAVE_SQRT_P. Use ANYF | |
8368 | instead of SCALARF. Use UNITMODE instead of MODE. | |
8369 | ||
c8a52525 ZW |
8370 | 2004-09-13 Zack Weinberg <zack@codesourcery.com> |
8371 | ||
8372 | * config.in: Regenerate after removal of libbanshee. | |
8373 | ||
a78e238e AM |
8374 | 2004-09-13 Andrew MacLeod <amacleod@redhat.com> |
8375 | ||
8376 | PR tree-optimization/17400 | |
8377 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
8378 | coalesce partitions when one occurs in an abnormal PHI. | |
6615c446 | 8379 | |
5547b982 AP |
8380 | 2004-09-13 Andrew Pinski <apinski@apple.com> |
8381 | ||
8382 | * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Change variable size's | |
8383 | name to _new_size. | |
8384 | ||
0d87c765 | 8385 | 2004-09-13 Richard Henderson <rth@redhat.com> |
c8a52525 | 8386 | |
c892972f SB |
8387 | PR inline-asm/6806 |
8388 | * cselib.c (cselib_invalidate_rtx): Export. Remove unused args. | |
8389 | (cselib_invalidate_rtx_note_stores): New. | |
8390 | (cselib_record_sets, cselib_process_insn): Update to match. | |
8391 | * cselib.h (cselib_invalidate_rtx): Declare. | |
8392 | * postreload.c (reload_cse_simplify): Invalidate asm clobbers. | |
0d87c765 | 8393 | |
84cce55d RH |
8394 | 2004-09-13 Richard Henderson <rth@redhat.com> |
8395 | ||
8396 | PR tree-opt/10528 | |
8397 | * tree-inline.c (copy_body_r): Recompute bits for ADDR_EXPR, | |
8398 | after copying its argument. | |
8399 | ||
bda67431 JM |
8400 | 2004-09-13 Joseph S. Myers <jsm@polyomino.org.uk> |
8401 | ||
8402 | * c-common.c, c-decl.c, c-lex.c, c-objc-common.c, c-opts.c, | |
8403 | c-parse.in, c-pragma.c, c-typeck.c: Use %q, %< and %> for quoting | |
8404 | in diagnostics. Use %' for English apostrophes. | |
8405 | * c-tree.h (ATTRIBUTE_GCC_CDIAG): Define. | |
8406 | (pedwarn_c90, pedwarn_c99): Use it. | |
8407 | * c-decl.c (lookup_label): Quote label name in diagnostic. | |
8408 | * c-parse.in (yyprint): Use ' instead of ` for left quote. | |
8409 | * c-typeck.c (warn_for_assignment): Likewise. | |
8410 | ||
ad7b96a9 JH |
8411 | 2004-09-13 Jan Hubicka <jh@suse.cz> |
8412 | ||
8413 | * i386.c (x86_schedule): New global variable. | |
8414 | (override_options): Disable scheduling when not supported. | |
8415 | * i386.h (x86_schedule): Declare. | |
8416 | (TARGET_SCHEDULE): New macro. | |
8417 | ||
373c0e7f RH |
8418 | 2004-09-12 Richard Henderson <rth@redhat.com> |
8419 | ||
8420 | PR c++/16254 | |
8421 | * fold-const.c (fold) <case CLEANUP_POINT_EXPR>: Remove. | |
8422 | * tree.c, tree.h (has_cleanups): Remove. | |
8423 | ||
7fac6722 ZD |
8424 | 2004-09-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8425 | ||
8426 | * tree-ssa-loop-manip.c (split_loop_exit_edge): Handle non-ssaname | |
8427 | arguments of the phi nodes correctly. | |
8428 | ||
85914593 JH |
8429 | 2004-09-12 Jan Hubicka <jh@suse.cz> |
8430 | ||
8431 | * ggc-common.c (cmp_statistics): Fix sorting. | |
8432 | ||
3d520aaf DE |
8433 | 2004-09-12 David Edelsohn <edelsohn@gnu.org> |
8434 | ||
8435 | PR target/16795 | |
8436 | * expmed.c (expand_divmod): If cheap power of 2 divide is | |
8437 | available, use it for negative constant as well. | |
8438 | ||
8f8ccdf3 AP |
8439 | 2004-09-12 Andrew Pinski <apinski@apple.com> |
8440 | ||
c92d8761 AP |
8441 | * darwin.h (ASM_OUTPUT_COMMON): Make sure we do not have a |
8442 | size of 0. | |
8443 | ||
8f8ccdf3 AP |
8444 | * tree-chrec.c (initialize_scalar_evolutions_analyzer): Remove. |
8445 | ||
93330ea1 RH |
8446 | 2004-09-12 Richard Henderson <rth@redhat.com> |
8447 | ||
8448 | * config/i386/i386.c (ix86_split_ashldi): Special case op1 as one | |
8449 | or minus one. | |
8450 | (ix86_split_ashrdi, ix86_split_lshrdi): Clean up conditions for | |
8451 | post-reload, and scratch NULL. | |
8452 | * config/i386/i386.md (testqi_1): Use FLAGS_REG name. | |
8453 | (x86_shift_adj_2): Use ix86_expand_clear. | |
8454 | (ashldi3): Remove CMOVE expansion difference. | |
8455 | (ashldi3_1): Remove. | |
8456 | (*ashldi3_1): Rename from *ashldi3_2. Use reg_or_pm1_operand and | |
8457 | add constraints for immediates. New peephole for split-with-temp. | |
8458 | Run splitter after peep2 pass. | |
8459 | (ashrdi3, ashrdi3_1, ashrdi3_2): Similarly. | |
8460 | (lshrdi3, lshrdi3_1, lshrdi3_2): Similarly. | |
8461 | (setcc_2): Rename with *. | |
8462 | * config/i386/predicates.md (reg_or_pm1_operand): New. | |
8463 | (ashldi_input_operand): New. | |
8464 | ||
21076c8e RH |
8465 | 2004-09-12 Richard Henderson <rth@redhat.com |
8466 | ||
8467 | * print-rtl.c (print_decl_name): New. | |
8468 | (print_mem_expr): Use it. | |
8469 | ||
f6a41d17 RH |
8470 | 2004-09-12 Richard Henderson <rth@redhat.com |
8471 | ||
c892972f SB |
8472 | PR 17186, part deux |
8473 | * except.c (sjlj_emit_function_exit): Fix logic locating | |
8474 | sjlj_exit_after in final block. | |
f6a41d17 | 8475 | |
a924fe34 TM |
8476 | 2004-09-12 Toon Moene <toon@moene.indiv.nluug.nl> |
8477 | ||
8478 | * common.opt: Remove flags -fmove-all-movables and | |
8479 | -freduce-all-givs. | |
8480 | * loop-invariant.c (find_invariants_to_move): | |
8481 | Remove all uses of flag_move_all_movables. | |
8482 | * loop.c (move_movables): Remove all uses of | |
8483 | flag_move_all_movables. | |
8484 | (strength_reduce): Remove all uses of | |
8485 | flag_reduce_all_givs. | |
8486 | * doc/invoke.texi: Remove documentation of flags | |
8487 | -fremove-all-movables and -freduce-all-givs. | |
8488 | ||
ec76a0e0 RS |
8489 | 2004-09-11 Roger Sayle <roger@eyesopen.com> |
8490 | ||
8491 | PR middle-end/17411 | |
8492 | * tree-sra.c (generate_element_zero): Revert recent build_int_cst | |
8493 | change. elt->type may be a floating point type, so use fold_convert. | |
8494 | ||
ca472546 GK |
8495 | 2004-09-11 Geoffrey Keating <geoffk@apple.com> |
8496 | ||
8497 | * config/darwin.c (machopic_validate_stub_or_non_lazy_ptr): Mark | |
8498 | the thing referenced as used, not the stub itself. | |
8499 | ||
9a26d6ee JM |
8500 | 2004-09-11 Joseph S. Myers <jsm@polyomino.org.uk> |
8501 | ||
8502 | * c-tree.h (enum c_storage_class): New. | |
8503 | (struct c_declspecs): Add storage_class, inline_p and thread_p. | |
8504 | * c-decl.c (shadow_tag_warned): Give errors for "inline" in empty | |
8505 | declarations and "auto" or "register" in file scope empty | |
8506 | declarations. Give more specific warnings for other cases of | |
8507 | storage class specifiers in empty declarations. | |
8508 | (grokdeclarator): Update for new structures. Don't check for | |
8509 | multiple storage classes. Diagnose file-scope "register" if | |
8510 | pedantic. | |
8511 | (build_null_declspecs): Update. | |
8512 | (declspecs_add_scspec): Update. Diagnose multiple storage class | |
8513 | specifiers and invalid uses of "__thread". | |
8514 | ||
a38b644b ZW |
8515 | 2004-09-11 Zack Weinberg <zack@codesourcery.com> |
8516 | ||
8517 | * tree.c (tree_code_size): New function, bulk of code from tree_size. | |
8518 | (tree_size, make_node): Use it. | |
8519 | * tree-ssa-pre.c (init_pre): Use it. | |
8520 | * tree.h: Prototype it. | |
8521 | ||
30d396e3 ZD |
8522 | 2004-09-11 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
8523 | ||
8524 | * tree-cfg.c (set_bb_for_stmt): Use PHI_BB. | |
8525 | * tree-dfa.c (compute_immediate_uses, add_immediate_use, | |
8526 | redirect_immediate_use): Use PHI_DF. | |
8527 | * tree-flow-inline.h (stmt_ann): Abort on phi nodes. | |
8528 | (bb_for_stmt): Use PHI_BB. | |
8529 | (get_immediate_uses): Use PHI_DF. | |
8530 | * tree-ssa-dse.c (max_stmt_uid): New variable. | |
8531 | (get_stmt_uid): New function. | |
8532 | (dse_optimize_stmt, dse_record_phis, tree_ssa_dse): Do not use phi | |
8533 | node annotations. | |
8534 | * tree-ssa-loop-im.c (LIM_DATA): Do not use phi statement annotations. | |
8535 | (max_uid): Renamed to max_stmt_uid. | |
8536 | (get_stmt_uid): New function. | |
8537 | (maybe_queue_var, single_reachable_address, determine_lsm): Do not use | |
8538 | phi node annotations. | |
8539 | * tree-ssa.c (replace_immediate_uses): Do not use phi node annotations. | |
8540 | * tree.h (PHI_BB, PHI_DF): New accessor functions. | |
8541 | (struct tree_phi_node): Add bb and df fields. | |
8542 | ||
f4a6d54e RH |
8543 | 2004-09-11 Richard Henderson <rth@redhat.com> |
8544 | ||
8545 | PR middle-end/17416 | |
8546 | * cfgexpand.c (expand_used_vars_for_block): Fix off-by-one bug | |
8547 | in conflict loop. | |
8548 | ||
f43329a5 JH |
8549 | 2004-09-11 Jan Hubicka <jh@suse.cz> |
8550 | ||
1d1df0df JH |
8551 | * i386.h (MODE_NEEDED): Calls need UNINITIALIZED mode; add comment. |
8552 | (EMIT_MODE_SET): UNINITIALIZED mode needs no set. | |
8553 | * i386.md (i387_cw): Add 'uninitialized' mode. | |
8554 | ||
f43329a5 JH |
8555 | * profile.c (BB_TO_GCOV_INDEX): move more to the front. |
8556 | (output_location): Break out from .... | |
8557 | (branch_prob): ... here; handle gcov output on trees. | |
8558 | * toplev.c (process_options): No longer be sorry about coverage for | |
8559 | trees. | |
8560 | ||
05cf561d SB |
8561 | 2004-09-11 Steven Bosscher <stevenb@suse.de> |
8562 | ||
8563 | PR c++/17412 | |
8564 | * fold-const.c (fold): Do not try to fold the operand of a | |
8565 | CLEANUP_POINT_EXPR if that operand does itself not have any | |
8566 | operands. | |
8567 | ||
8568 | PR middle-end/17417 | |
8569 | * langhooks.c (lhd_decl_printable_name): Make sure that this | |
8570 | function is called with is a decl node that has an identifier. | |
8571 | * tree-pretty-print.c (dump_function_name): New function to | |
8572 | wrap PRINT_FUNCTION_NAME and dump_decl_name. | |
8573 | (print_call_name): Use it. | |
8574 | ||
547d057d ME |
8575 | 2004-09-11 Mohan Embar <gnustuff@thisiscool.com> |
8576 | ||
8577 | * ggc-none.c: Include "bconfig.h" if -DGENERATOR_FILE, | |
8578 | "config.h" if not. | |
8579 | ||
a17ea89b JJ |
8580 | 2004-09-11 Jakub Jelinek <jakub@redhat.com> |
8581 | ||
8582 | * tree-ssa-alias.c (collect_points_to_info_r): Handle | |
8583 | pointing to PTR + OFFSET as PTR, not as pointing to PTR or pointing | |
8584 | to OFFSET. | |
8585 | ||
70bb498a RH |
8586 | 2004-09-11 Richard Henderson <rth@redhat.com> |
8587 | ||
8588 | * expr.c (expand_expr_addr_expr_1) Rename from expand_expr_addr_expr. | |
8589 | (expand_expr_addr_expr): New function. Take ADDR_EXPR instead of the | |
8590 | operand of the ADDR_EXPR. | |
8591 | (expand_expr_real_1): Update to match. | |
8592 | ||
0c94cda4 DE |
8593 | 2004-09-11 David Edelsohn <edelsohn@gnu.org> |
8594 | ||
d1909f7b | 8595 | PR target/17277 |
0c94cda4 DE |
8596 | * config/rs6000/aix.h (MD_FROB_UPDATE_CONTEXT): Use __64BIT__ to |
8597 | choose 64-bit version. | |
8598 | ||
5e55f99d RH |
8599 | 2004-09-11 Richard Henderson <rth@redhat.com> |
8600 | ||
8601 | PR c/17396 | |
8602 | * c-typeck.c (build_unary_op): Add legacy offsetof hack. | |
8603 | ||
431ae0bf KH |
8604 | 2004-09-11 Kazu Hirata <kazu@cs.umass.edu> |
8605 | ||
8606 | * doc/cfg.texi, doc/hostconfig.texi, doc/install.texi, | |
8607 | doc/invoke.texi, doc/md.texi, doc/tm.texi, doc/tree-ssa.texi: | |
8608 | Insert @: after i.e. or e.g. | |
8609 | ||
70601cc2 GK |
8610 | 2004-09-10 Geoffrey Keating <geoffk@apple.com> |
8611 | ||
8612 | * tree-pretty-print.c (dump_decl_name): Print unnamed decls as | |
8613 | D.xxx rather than <Dxxx>. | |
8614 | ||
a38b644b | 8615 | 2004-09-10 Adam Nemet <anemet@lnxw.com> |
8a45d680 AN |
8616 | |
8617 | * configure.ac (AC_MSG_CHECKING(what linker to use)): | |
8618 | in_tree_ld_is_elf should be true for LynxOS. | |
a38b644b | 8619 | * configure: Regenerate. |
8a45d680 | 8620 | |
ecc50d72 AN |
8621 | 2004-09-10 Adam Nemet <anemet@lnxw.com> |
8622 | ||
8623 | * Makefile.in (all.cross): Add srcextra. | |
8624 | ||
3ae472c2 RS |
8625 | 2004-09-10 Roger Sayle <roger@eyesopen.com> |
8626 | ||
8627 | PR middle-end/17024 | |
8628 | * fold-const.c (fold_cond_expr_with_comparison): Handle unordered | |
8629 | floating point comparison operators. Change aborts to gcc_asserts. | |
8630 | ||
dc9d0b14 GK |
8631 | 2004-09-10 Geoffrey Keating <geoffk@apple.com> |
8632 | ||
8633 | * final.c (output_asm_insn): Correct problem with -fverbose-asm. | |
8634 | ||
a73b091d JW |
8635 | 2004-09-10 James E Wilson <wilson@specifixinc.com> |
8636 | ||
1c8c309b JW |
8637 | * Makefile.in (LIBGCC_DEPS): Delete duplicate stmp-int-hdrs reference. |
8638 | (stmp-fixproto): Change stmp-int-headers to stmp-int-hdrs in comment. | |
8639 | ||
273d67e7 JW |
8640 | * convert.c (convert_to_vector): Replace recursive call with |
8641 | error_mark_node. | |
8642 | ||
a73b091d JW |
8643 | * emit-rtl.c (gen_const_vector): Renamed from gen_const_vector_0. |
8644 | Add integer argument named constant. Use const_tiny_rtx instead of | |
8645 | CONST0_RTX. | |
8646 | (gen_rtx_CONST_VECTOR): Rewrite to handle checks for both CONST0_RTX | |
8647 | and CONST1_RTX. | |
8648 | (init_emit_once): Fix users of gen_const_vector. Set CONST1_RTX for | |
8649 | vector types. | |
8650 | * expr.c (const_vector_from_tree): Call gen_rtx_CONST_VECTOR instead | |
8651 | of gen_rtx_raw_CONST_VECTOR. | |
8652 | ||
110fce11 EC |
8653 | 2004-09-10 Eric Christopher <echristo@redhat.com> |
8654 | ||
8655 | PR c/16046 | |
8656 | * c-parse.in (attribute): Add NULL_TREE for error case | |
8657 | for error recovery. | |
8658 | ||
5d709b00 ZW |
8659 | 2004-09-10 Zack Weinberg <zack@codesourcery.com> |
8660 | ||
8661 | * c-common.h (struct c_fileinfo): Comment moved here from cp-tree.h. | |
8662 | (extract_interface_info): Delete prototype. | |
8663 | * c-decl.c (extract_interface_info): Delete stub. | |
8664 | * c-lex.c (get_fileinfo): Initialize file_info_tree here, if | |
8665 | it's not already been done ... | |
8666 | (init_c_lex): ... not here. | |
110fce11 EC |
8667 | (fe_file_change): Don't call extract_interface_info. |
8668 | ||
616aeba2 JM |
8669 | 2004-09-11 Joseph S. Myers <jsm@polyomino.org.uk> |
8670 | ||
8671 | * c-tree.h (struct c_declspecs): Remove typedef_decl. Add | |
8672 | typedef_p and typedef_signed_p. | |
8673 | * c-decl.c (shadow_tag_warned): Check typedef_p, not typedef_decl. | |
8674 | (grokdeclarator): Don't use typedef_decl for warn_deprecated_use. | |
8675 | Check typedef_p and typedef_signed_p, not typedef_decl. | |
8676 | (grokfield): Check typedef_p, not typedef_decl. | |
8677 | (build_null_declspecs): Initialize typedef_p and typedef_signed_p, | |
8678 | not typedef_decl. | |
8679 | (declspecs_add_type): Set typedef_p and typedef_signed_p, not | |
8680 | typedef_decl. | |
8681 | ||
a8508d51 KH |
8682 | 2004-09-10 Kazu Hirata <kazu@cs.umass.edu> |
8683 | ||
8684 | * doc/tm.texi, doc/tree-ssa.texi: Fix typos. | |
8685 | ||
18b3a02a GK |
8686 | 2004-09-10 Geoffrey Keating <geoffk@apple.com> |
8687 | ||
769da818 GK |
8688 | * gimplify.c (create_tmp_var_raw): Don't name otherwise-nameless |
8689 | temporary variables. | |
8690 | ||
375d2edc GK |
8691 | * dbxout.c (dbxout_block): Update for |
8692 | current_function_func_begin_label a string. | |
8693 | * dwarf2out.c (dwarf2out_begin_prologue): Likewise. | |
8694 | * except.c (dw2_output_call_site_table): Likewise. | |
8695 | * toplev.c (current_function_func_begin_label): Likewise. | |
8696 | * tree.h (current_function_func_begin_label): Likewise. | |
8697 | * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Likewise. | |
8698 | ||
c383c15f GK |
8699 | * final.c (output_asm_insn): Use strtoul instead of atoi, save a |
8700 | loop. | |
8701 | ||
1adaa117 GK |
8702 | * config/darwin.c: Include target.h. |
8703 | (struct machopic_indirection): Make ptr_name a string. | |
8704 | (machopic_indirection_hash): Update for ptr_name a string. | |
8705 | (machopic_indirection_eq): Likewise. | |
8706 | (machopic_indirection_name): Likewise. | |
8707 | (machopic_output_indirection): Likewise. | |
8708 | (machopic_validate_stub_or_non_lazy_ptr): Update for ptr_name a | |
8709 | string. Don't expect stub names to be in the identifier hash table. | |
8710 | Do call strip_name_encoding before looking up entry in ID hash table. | |
8711 | * config/t-darwin (darwin.o): Add target.h to dependencies. | |
5d709b00 | 8712 | |
fb5c67a7 GK |
8713 | * gcc/config/rs6000/rs6000.c (print_operand): Use fputs instead |
8714 | of fprintf for register names. | |
5d709b00 | 8715 | |
5f11bc8b GK |
8716 | * output.h (unlikely_section_label): Delete declaration. |
8717 | (unlikely_text_section_name): Likewise. | |
8718 | * varasm.c (unlikely_section_label_printed): Make static. | |
8719 | (unlikely_section_label): Likewise. | |
8720 | (unlikely_text_section_name): Likewise. | |
8721 | (assemble_start_function): Use reconcat. | |
8722 | ||
18b3a02a GK |
8723 | * rtl.def (REG): Add comment to describe third field. |
8724 | ||
76f60aa5 AP |
8725 | 2004-09-10 Andrew Pinski <apinski@apple.com> |
8726 | ||
8727 | * config/darwin.c (machopic_mcount_stub_name): Call | |
8728 | machopic_indirection_name instead of making the string | |
8729 | ourselves. | |
8730 | ||
e30b0ae2 DN |
8731 | 2004-09-10 Diego Novillo <dnovillo@redhat.com> |
8732 | ||
8733 | Revert | |
8734 | ||
8735 | 2004-09-08 Jie Zhang <zhangjie@magima.com.cn> | |
8736 | ||
8737 | * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type | |
8738 | memory tag is call clobbered, so are its aliases. | |
8739 | (group_aliases): When two memory tags being grouped, if one is | |
8740 | call clobbered, so are the other and its aliases. | |
8741 | (add_may_alias): Remove call-clobbering stuff. | |
8742 | (replace_may_alias): Likewise. | |
8743 | (merge_pointed_to_info): Merge pt_global_mem | |
8744 | ||
89dbed81 KH |
8745 | 2004-09-10 Kazu Hirata <kazu@cs.umass.edu> |
8746 | ||
8747 | * bb-reorder.c, c-common.c, c-incpath.c, c-typeck.c, | |
8748 | genrecog.c, lambda-code.c, mips-tdump.c, mips-tfile.c, | |
8749 | passes.c, tree-data-ref.c, tree-data-ref.h, tree-mudflap.c, | |
8750 | tree-scalar-evolution.c, tree-ssa-copyrename.c, | |
8751 | tree-ssa-live.c, tree-ssa-live.h: Fix comment typos. | |
8752 | ||
094e84fa RS |
8753 | 2004-09-10 Richard Sandiford <rsandifo@redhat.com> |
8754 | ||
8755 | * config/frv/frv.md (UNSPEC_MASACCS, UNSPEC_MDASACCS): New constants. | |
8756 | (maddaccs, msubaccs, *maddacc): Turn operand 0 into a single ACC/ACCG | |
8757 | pair. Remove match_dup from inputs. Remove masaccs handling. | |
8758 | (mdaddaccs, mdsubaccs, *mdaddacc): Likewise a dual ACC/ACCG pair. | |
8759 | (masaccs, mdasaccs): Turn into define_insns. | |
8760 | ||
85d62520 RS |
8761 | 2004-09-10 Richard Sandiford <rsandifo@redhat.com> |
8762 | ||
8763 | * tree-tailcall.c (process_assignment): Only do accumulator transforms | |
8764 | for floating-point types if flag_unsafe_math_optimizations. | |
8765 | ||
c112cf2b KH |
8766 | 2004-09-10 Kazu Hirata <kazu@cs.umass.edu> |
8767 | ||
8768 | * config/darwin.c, config/alpha/alpha.h, config/arm/arm.c, | |
8769 | config/arm/arm.h, config/arm/arm.md, config/arm/bpabi.h, | |
8770 | config/arm/predicates.md, config/frv/frv.c, config/frv/frv.md, | |
8771 | config/h8300/h8300.md, config/i386/gmm_malloc.h, | |
8772 | config/ia64/ia64.md, config/ip2k/libgcc.S, | |
8773 | config/mips/mips-ps-3d.md, config/mips/mips.c, | |
8774 | config/rs6000/rs6000.c, config/s390/s390.c, | |
8775 | config/sh/symbian.c: Fix comment typos. | |
8776 | ||
2790879f AK |
8777 | 2004-09-10 Andreas Krebbel <krebbel1@de.ibm.com> |
8778 | ||
8779 | * config/s390/s390.c (s390_emit_prologue): Added missing | |
8780 | "{}" brackets. | |
8781 | ||
27ef2cdd KH |
8782 | 2004-09-10 Kazu Hirata <kazu@cs.umass.edu> |
8783 | ||
8784 | * doc/extend.texi, doc/invoke.texi, doc/passes.texi: Fix | |
8785 | typos. Follow spelling conventions. | |
8786 | ||
108ebf88 JM |
8787 | 2004-09-10 Joseph S. Myers <jsm@polyomino.org.uk> |
8788 | ||
8789 | * toplev.c (warn_deprecated_use): Correct logic for saying "type" | |
8790 | in diagnostic. Don't dereference NULL TYPE_NAME. | |
8791 | ||
6cb38cd4 KH |
8792 | 2004-09-10 Kazu Hirata <kazu@cs.umass.edu> |
8793 | ||
8794 | * c-common.c, c-pch.c, defaults.h, lambda-code.c, passes.c, | |
8795 | tree-data-ref.c, tree-flow.h, tree-ssa-operands.c, | |
8796 | tree-ssa-threadupdate.c, tree-vectorizer.c, tree-vectorizer.h, | |
8797 | value-prof.c: Fix comment typos. Follow spelling conventions. | |
8798 | ||
b829f3fa JH |
8799 | 2004-09-10 Jan Hubicka <jh@suse.cz> |
8800 | ||
8801 | * tree-ssa-dce.c (remove_dead_stmt): Update profile. | |
8802 | * tree-split_edge.c (tree_split_edge): Likewise. | |
8803 | (thread_jumps): Likewise. | |
8804 | ||
229031d0 KH |
8805 | 2004-09-10 Kazu Hirata <kazu@cs.umass.edu> |
8806 | ||
8807 | * cgraphunit.c, predict.c, tree-ssa-loop-ivopts.c: Fix comment | |
8808 | typos. | |
8809 | ||
9b3e897d PB |
8810 | 2004-09-10 Paolo Bonzini <bonzini@gnu.org> |
8811 | ||
8812 | * cgraph.h (cgraph_dump_file): Do not declare. | |
8813 | * cgraphunit.c (cgraph_dump_file): Declare as static. | |
8814 | (init_cgraph): New. | |
8815 | * toplev.c (cgraph_dump_file): Do not declare. | |
8816 | (compile_file): Call init_cgraph. | |
8817 | * tree-dump.c (dump_files): Add IPA dump file, remove | |
8818 | XML dump of call graph. | |
8819 | (get_dump_file_name): Support IPA dump file naming scheme. | |
8820 | * tree.h (enum tree_dump_index): Add IPA dump file, remove | |
8821 | XML dump of call graph. | |
8822 | * doc/invoke.texi (Debugging Options): Document the new options. | |
8823 | ||
c3ee0579 RS |
8824 | 2004-09-10 Richard Sandiford <rsandifo@redhat.com> |
8825 | ||
8826 | * doc/extend.texi: Document the FR-V built-in functions. | |
8827 | ||
236f9832 JW |
8828 | 2004-09-09 James E Wilson <wilson@specifixinc.com> |
8829 | ||
8830 | * doc/sourcebuild.texi: Delete libbanshee reference. | |
8831 | ||
5a29def1 KC |
8832 | 2004-09-10 Kelley Cook <kcook@gcc.gnu.org> |
8833 | ||
8834 | * Makefile.in (s-gtype): Add $(build_exeext) to gengtype command. | |
8835 | ||
3274deff JW |
8836 | 2004-09-09 James E Wilson <wilson@specifixinc.com> |
8837 | ||
8838 | * c-typeck.c (convert_for_assignment): Check that rhs has VECTOR_TYPE | |
8839 | before calling vector_types_convertible_p. | |
8840 | (digest_init): Check that inside_init has VECTOR_TYPE before calling | |
8841 | vector_types_convertible_p. Don't give another error if | |
8842 | convert_for_assignment returns error_mark_node. | |
8843 | ||
049e524f RS |
8844 | 2004-09-09 Roger Sayle <roger@eyesopen.com> |
8845 | ||
8846 | PR middle-end/17055 | |
8847 | * fold-const.c (build_zero_vector): New function to construct a | |
8848 | vector (either floating point or integer) of zeros. | |
8849 | (fold_convert): Internally, enable conversions of integer zero | |
8850 | to arbitrary vector types, using the new build_zero_vector. | |
8851 | ||
1b83d209 RS |
8852 | 2004-09-09 Roger Sayle <roger@eyesopen.com> |
8853 | ||
8854 | * config/i386/i386.c (ix86_expand_ashlsi3_const): New function to | |
8855 | expand a left shift by an immediate constant as either an ashl or | |
8856 | a sequence of additions. | |
8857 | (ix86_split_ashldi): Use new ix86_expand_ashlsi3_const function | |
8858 | instead of calling gen_ashlsi3 with a constant directly. | |
8859 | ||
903a5059 RS |
8860 | 2004-09-09 Roger Sayle <roger@eyesopen.com> |
8861 | ||
8862 | * config/i386/i386.c (ix86_split_long_move): When optimizing for | |
8863 | size, and the low and high parts of a DImode constant are equal, | |
8864 | copy one register to another instead of loading the same immediate | |
8865 | value twice. | |
8866 | ||
469c26f1 RH |
8867 | 2004-09-09 Richard Henderson <rth@redhat.com> |
8868 | ||
8869 | PR middle-end/17367 | |
8870 | * function.c (assign_parm_setup_block): Only put PARALLELs into | |
8871 | a register if use_register_for_decl. | |
8872 | ||
1aee688e EC |
8873 | 2004-09-09 Eric Christopher <echristo@redhat.com> |
8874 | ||
8875 | * ra-colorize.c (reset_lists): Move variable declaration inside | |
8876 | ENABLE_CHECKING to avoid unused variable warnings when | |
8877 | not --enable-checking. | |
8878 | (check_colors): Ditto. | |
8879 | ||
89029cd4 MS |
8880 | 2004-09-09 Mike Stump <mrs@apple.com> |
8881 | ||
8882 | * version.c (version_string): Bump to 4.0.0. | |
693ff889 | 8883 | * doc/include/gcc-common.texi (version-GCC): Likewise. |
89029cd4 | 8884 | |
3f3174b6 JJ |
8885 | 2004-09-10 Jakub Jelinek <jakub@redhat.com> |
8886 | ||
8887 | * doc/extend.texi (nothrow attribute): The attribute is not | |
8888 | implemented in 3.2 and earlier. | |
8889 | ||
4c80d5ac SE |
8890 | 2004-09-09 Steve Ellcey <sje@cup.hp.com> |
8891 | ||
8892 | * genrecog.c (compute_predicate_codes): Use op0_codes | |
8893 | instead of codes. | |
8894 | ||
2ec3ab99 UW |
8895 | 2004-09-09 Ulrich Weigand <uweigand@de.ibm.com> |
8896 | ||
8897 | * ra-colorize.c (hardregset_to_string): Adapt to HARD_REG_SET | |
8898 | implementation changes. | |
8899 | ||
0b21d1dc UW |
8900 | 2004-09-09 Ulrich Weigand <uweigand@de.ibm.com> |
8901 | ||
8902 | * combine.c (try_combine): When swapping i2 and i3, newi2pat may be | |
8903 | a PARALLEL instead of a SET due to added clobbers. | |
8904 | ||
7bb09d15 UW |
8905 | 2004-09-09 Ulrich Weigand <uweigand@de.ibm.com> |
8906 | ||
1aee688e | 8907 | * reload.c (find_reloads_address): Pass correct operand to |
7bb09d15 UW |
8908 | maybe_memory_address_p. |
8909 | ||
0a050485 DB |
8910 | 2004-09-09 Daniel Berlin <dberlin@dberlin.org> |
8911 | ||
8912 | * Makefile.in: Remove libbanshee, tree-alias-*. | |
8913 | Remove tree-alias-common.h dependencies. | |
8914 | * common.opt: Remove -ftree-points-to. | |
8915 | * configure.ac: Remove libbanshee. | |
8916 | * flags.h: Remove pta_type, flag_tree_points_to. | |
8917 | * gengtype.c (open_base_files): Remove tree-alias-type.h. | |
8918 | * opts.c (OPT_ftree_points_to): Remove. | |
8919 | * toplev.c: Remove tree-alias-common.h, flag_tree_points_to. | |
8920 | * tree-dfa.c: Remove tree-alias-common.h | |
8921 | * tree-into-ssa.c: Ditto. | |
8922 | * tree-outof-ssa.c: Ditto. | |
8923 | * tree-ssa-copyrename.c: Ditto. | |
8924 | * tree-ssa-live.c: Ditto. | |
8925 | * tree-optimize.c: Ditto. | |
8926 | * tree-ssa.c: Ditto. | |
8927 | Remove pass_build_pta, pass_del_pta. | |
8928 | * tree-pass.h: Ditto. | |
8929 | * tree-ssa-alias.c: Remove tree-alias-common.h. | |
8930 | (struct alias_stats_d): Remove pta_queries, pta_resolved. | |
8931 | (pass_may_alias): Remove PROP_pta requirement. | |
8932 | (may_alias_p): Remove pta_queries, pta_resolved, use of andersens. | |
8933 | (get_tmt_for): Ditto. | |
8934 | (dump_alias_stats): Ditto. | |
8935 | * doc/passes.texi: Remove blurb about points-to analysis. | |
8936 | * fortran/Make-lang.in: Remove tree-alias-*.o. | |
1aee688e | 8937 | |
c1a404bd RS |
8938 | 2004-09-09 Richard Sandiford <rsandifo@redhat.com> |
8939 | ||
8940 | * genattrtab.c (write_insn_cases): New function, split out from | |
8941 | write_attr_case. Correctly handle define_peepholes when printing | |
8942 | the instruction name. | |
8943 | (write_attr_case, write_const_num_delay_slots): Use write_insn_cases. | |
8944 | ||
b2416742 HPN |
8945 | 2004-09-09 Hans-Peter Nilsson <hp@axis.com> |
8946 | ||
8947 | PR target/17377 | |
8948 | * config/cris/cris-protos.h (cris_return_address_on_stack): Declare. | |
8949 | * config/cris/cris.c (cris_return_address_on_stack): New function. | |
8950 | * config/cris/cris.md ("return"): For location of return address, | |
8951 | also check cris_return_address_on_stack. | |
8952 | ||
b49ce401 DN |
8953 | 2004-09-09 Diego Novillo <dnovillo@redhat.com> |
8954 | ||
8955 | * tree-outof-ssa.c (coalesce_abnormal_edges): Fix typo in | |
8956 | calling phi_ssa_name_p. | |
8957 | ||
116df786 RH |
8958 | 2004-09-09 Richard Henderson <rth@redhat.com> |
8959 | ||
8960 | PR c/17322 | |
8961 | * c-typeck.c (valid_compound_expr_initializer): Use only | |
8962 | initializer_constant_valid_p, and not TREE_CONSTANT. | |
8963 | (digest_init): Likewise. | |
8964 | (output_init_element): Likewise. | |
8965 | ||
41374e13 NS |
8966 | 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
8967 | ||
8968 | * ra-build.c (copy_insn_p, remember_move, defuse_overlap_p_1, | |
8969 | live_out_1, prune_hardregs_for_mode, init_one_web_common, | |
8970 | reinit_one_web, add_subweb, add_subweb_2, init_web_parts, | |
8971 | record_conflict, compare_and_free_webs, init_webs_defs_uses, | |
8972 | parts_to_webs_1, parts_to_webs, reset_conflicts, | |
8973 | check_conflict_numbers, remember_web_was_spilled, handle_asm_insn, | |
8974 | ra_build_free): Use gcc_assert and gcc_unreachable instead of abort. | |
8975 | * ra-colorize.c (push_list, put_web, reset_lists, put_web_at_end, | |
8976 | put_move, remove_move, combine, select_spill, colorize_one_web, | |
8977 | try_recolor_web, insert_coalesced_conflicts, check_colors, | |
8978 | break_precolored_alias, restore_conflicts_from_coalesce, | |
8979 | sort_and_combine_web_pairs, check_uncoalesced_moves): Likewise. | |
8980 | * ra-rewrite.c (spill_coalescing, slots_overlap_p, emit_loads, | |
8981 | reloads_to_loads, rewrite_program2, emit_colors): Likewise. | |
8982 | * ra.c (first_hard_reg, create_insn_info, find_subweb, init_ra, | |
8983 | check_df): Likewise. | |
8984 | * real.c (do_add, do_multiply, do_divide, do_compare, do_fix_trunc, | |
8985 | real_arithmetic, real_compare, real_exponent, real_ldexp, | |
8986 | real_identical, real_to_integer, real_to_integer2, real_to_decimal, | |
8987 | real_to_hexadecimal, real_from_integer, ten_to_ptwo, ten_to_mptwo, | |
8988 | real_digit, real_nan, real_maxval, round_for_format, real_convert, | |
8989 | real_to_target, real_from_target, real_hash, encode_ieee_single, | |
8990 | encode_ieee_double, encode_ieee_extended, encode_ieee_quad, | |
8991 | encode_vax_f, encode_vax_d, encode_vax_g, encode_i370_single, | |
8992 | encode_i370_double, encode_c4x_single, encode_c4x_extended): Likewise. | |
8993 | * recog.c (validate_change, validate_replace_rtx_1, asm_operand_ok, | |
8994 | extract_insn, peep2_next_insn, peep2_reg_dead_p, | |
8995 | peep2_find_free_register, peephole2_optimize, store_data_bypass_p, | |
8996 | if_test_bypass_p): Likewise. | |
8997 | * reg-stack.c (record_label_references, get_asm_operand_n_inputs, | |
8998 | stack_result, remove_regno_note, get_hard_regnum, emit_pop_insn, | |
8999 | emit_swap_insn, swap_to_top, move_for_stack_reg, | |
9000 | subst_stack_regs_pat, subst_asm_stack_regs, change_stack, | |
9001 | compensate_edge, convert_regs_1): Likewise. | |
9002 | * regclass.c (init_reg_sets, init_reg_sets_1, | |
9003 | memory_move_secondary_cost): Likewise. | |
9004 | * regrename.c (note_sets, clear_dead_regs, scan_rtx_reg, scan_rtx): | |
9005 | Likewise. | |
9006 | * reload.c (push_secondary_reload, find_valid_class, push_reload, | |
9007 | operands_match_p, decompose, immune_p, find_reloads, | |
9008 | find_reloads_toplev, find_reloads_address_1, subst_reloads, | |
9009 | copy_replacements, refers_to_regno_for_reload_p, | |
9010 | reg_overlap_mentioned_for_reload_p): Likewise. | |
9011 | * reload1.c (compute_use_by_pseudos, replace_pseudos_in, reload, | |
9012 | count_pseudo, find_reg, eliminate_regs, eliminate_regs_in_insn, | |
9013 | verify_initial_elim_offsets, finish_spills, clear_reload_reg_in_use, | |
9014 | reload_reg_free_p, reload_reg_reaches_end_p, reloads_conflict, | |
9015 | choose_reload_regs, merge_assigned_reloads, emit_input_reload_insns, | |
9016 | do_output_reload, fixup_abnormal_edges): Likewise. | |
9017 | * reorg.c (stop_search_p, emit_delay_sequence, get_jump_flags, | |
9018 | fill_slots_from_thread, relax_delay_slots): Likewise. | |
9019 | * resource.c (mark_referenced_resources, mark_set_resources): | |
9020 | Likewise. | |
9021 | * rtl.c (copy_rtx, rtx_equal_p): Likewise. | |
9022 | * rtlanal.c (insn_dependent_p, reg_overlap_mentioned_p, | |
9023 | dead_or_set_p, find_reg_fusage, remove_note, replace_rtx, | |
9024 | subreg_lsb_1, subreg_regno_offset, subreg_offset_representable_p, | |
9025 | find_first_parameter_load, can_hoist_insn_p, hoist_update_store, | |
9026 | hoist_insn_after, hoist_insn_to_edge, nonzero_bits1): Likewise. | |
9027 | * rtlhooks.c (gen_lowpart_general): Likewise. | |
9028 | * sbitmap.c (sbitmap_difference): Likewise. | |
9029 | * sched-deps.c (add_dependence, sched_analyze_1, sched_analyze_2, | |
9030 | sched_analyze, add_forward_dependence): Likewise. | |
9031 | * sched-ebb.c (fix_basic_block_boundaries, schedule_ebb): Likewise. | |
9032 | * sched-rgn.c (debug_regions, compute_trg_info, schedule_region, | |
9033 | schedule_insns): Likewise. | |
9034 | * sched-vis.c (print_pattern): Likewise. | |
9035 | * sdbout.c (sdbout_symbol, sdbout_toplevel_data): Likewise. | |
9036 | * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation, | |
9037 | simplify_const_relational_operation, simplify_ternary_operation, | |
9038 | simplify_immed_subreg, simplify_subreg, simplify_gen_subreg): | |
9039 | Likewise. | |
9040 | * sreal.c (copy, sreal_sub, sreal_div): Likewise. | |
9041 | * stmt.c (force_label_rtx, expand_goto, expand_asm_operands, | |
9042 | resolve_operand_name_1, expand_return, expand_decl, | |
9043 | expand_anon_union_decl, emit_case_bit_tests, expand_case): Likewise. | |
9044 | * stor-layout.c (put_pending_size, smallest_mode_for_size, | |
9045 | int_mode_for_mode, layout_decl, finish_builtin_struct, layout_type, | |
9046 | set_sizetype, get_mode_bounds): Likewise. | |
9047 | ||
15072eb1 ZW |
9048 | 2004-09-09 Zack Weinberg <zack@codesourcery.com> |
9049 | ||
9050 | * defaults.h (MULTIPLE_SYMBOL_SPACES): Provide default. | |
9051 | * config/arm/pecoff.h, config/i386/beos-elf.h | |
9052 | * config/i386/cygming.h, config/i386/i386-interix.h: | |
9053 | Define MULTIPLE_SYMBOL_SPACES to 1, not nothing. Remove | |
9054 | comment cloned from manual. | |
9055 | * doc/tm.texi: Update description of MULTIPLE_SYMBOL_SPACES. | |
9056 | ||
c2433d7d FCE |
9057 | 2004-09-09 Frank Ch. Eigler <fche@redhat.com> |
9058 | ||
9059 | * builtins.c (build_va_arg_indirect_ref): New function. | |
9060 | (std_gimplify_va_arg_expr): Call it instead of mudflap check and | |
9061 | build_fold_indirect_ref. | |
9062 | * config/i386/i386.c (ix86_gimplify_va_arg): Ditto. | |
9063 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Ditto. | |
9064 | * tree.h: Declare new function. | |
9065 | ||
41374e13 | 9066 | 2004-09-09 Nathan Sidwell <nathan@codesourcery.com> |
1a2caa7a NS |
9067 | |
9068 | * cgraphunit.c (cgraph_mark_functions_to_output): Renable node | |
9069 | dumping for development builds. | |
9070 | * emit-rtl.c (verify_rtx_sharing): Give verbose failure for | |
9071 | development builds only. | |
9072 | * genattrtab.c (write_eligible_delay): Fix typo in previous | |
9073 | commit. | |
9074 | * tree.c (iterative_hash_expr): Replace gcc_unreachable with | |
9075 | gcc_assert. | |
9076 | ||
41374e13 | 9077 | 2004-09-09 Nathan Sidwell <nathan@codesourcery.com> |
282899df NS |
9078 | |
9079 | * gcse.c (INSN_CUID, insert_set_in_table, find_avail_set, | |
9080 | cprop_insn, do_local_cprop, local_cprop_pass, find_bypass_set, | |
9081 | process_insert_insn, insert_insn_end_bb, pre_insert_copy_insn, | |
9082 | hoist_code, extract_mentioned_regs_helper, compute_store_table, | |
9083 | insert_store): Use gcc_assert and gcc_unreachable. | |
9084 | * ggc-common.c (ggc_splay_alloc, ggc_splay_dont_free, | |
9085 | gt_pch_note_object, gt_pch_note_reorder, relocate_ptrs, | |
9086 | ggc_record_overhead): Likewise. | |
9087 | * ggc-page.c (alloc_page, free_page, ggc_set_mark, ggc_marked_p, | |
9088 | init_ggc, ggc_push_context, ggc_recalculate_in_use_p, | |
9089 | ggc_pop_context, clear_marks, validate_free_objects, | |
9090 | ggc_pch_read): Likewise. | |
9091 | * ggc-zone.c (ggc_allocated_p, free_chunk, ggc_set_mark, | |
9092 | ggc_marked_p, ggc_get_size, init_ggc, destroy_ggc_zone, | |
9093 | ggc_push_context, check_cookies, ggc_collect, | |
9094 | ggc_print_statistics): Likewise. | |
9095 | * gimple-low.c (lower_function_body, lower_stmt, | |
9096 | lower_bind_expr): Likewise. | |
9097 | * gimplify.c (gimple_tree_eq, push_gimplify_context, | |
9098 | pop_gimplify_context, gimple_pop_condition, create_tmp_var, | |
9099 | declare_tmp_vars, gimple_add_tmp_var, annotate_all_with_locus, | |
9100 | mostly_copy_tree_r, gimplify_return_expr, gimplify_switch_expr, | |
9101 | gimplify_case_label_expr, gimplify_exit_block_expr, | |
9102 | canonicalize_component_ref, gimplify_compound_lval, | |
9103 | gimplify_self_mod_expr, gimplify_call_expr, | |
9104 | gimplify_init_ctor_eval, gimplify_init_constructor, | |
9105 | gimplify_modify_expr, gimplify_save_expr, gimplify_target_expr, | |
9106 | gimplify_expr, check_pointer_types_r, | |
9107 | force_gimple_operand): Likewise. | |
9108 | * global.c (global_alloc, build_insn_chain): Likewise. | |
9109 | * graph.c (clean_graph_dump_file, | |
9110 | finish_graph_dump_file): Likewise. | |
9111 | gcov-io.c (gcov_open): Use GCOV_CHECK. | |
9112 | ||
2a88ebca RS |
9113 | 2004-09-09 Richard Sandiford <rsandifo@redhat.com> |
9114 | ||
9115 | * config/frv/frv.c (acc_operand, accg_operand): Use REGNO. | |
9116 | ||
34132917 JH |
9117 | 2004-09-09 Jan Hubicka <jh@suse.cz> |
9118 | ||
9119 | middle-end/17128 | |
282899df NS |
9120 | * tree-inline.c (expand_call_inline): Make overactive sanity check |
9121 | happy. | |
34132917 | 9122 | |
9f7aa952 JH |
9123 | 2004-09-09 Jan Hubicka <jh@suse.cz> |
9124 | ||
9125 | * tree-ssa-loop-ivopts.c (peel_address): Fix abort on | |
9126 | VIEW_CONVERT_EXPR. | |
9127 | ||
b2d59f6f NS |
9128 | 2004-09-09 Nathan Sidwell <nathan@codesourcery.com> |
9129 | ||
9130 | * Makefile.in (gengtype): Use $(BUILD_ERRORS). | |
9131 | (gengtype.o): Depend on errors.h. | |
9132 | * genattrtab.c (strcmp_check): Use gcc_assert and gcc_unreachable. | |
9133 | (attr_rtx_1, attr_printf, attr_copy_rtx, evaluate_eq_attr, | |
9134 | attr_alt_subset_p, attr_alt_subset_of_compl_p, | |
9135 | attr_alt_intersection, attr_alt_union, optimize_attrs, gen_insn, | |
9136 | write_test_expr, write_attr_value, write_eligible_delay, | |
9137 | make_internal_attr, make_numeric_value): Likewise. | |
9138 | * genautomata.c (regexp_name, get_str_vect, | |
9139 | gen_presence_absence_set, automaton_decl_hash, | |
9140 | automaton_decl_eq_p, insn_decl_hash, insn_decl_eq_p, decl_hash, | |
9141 | decl_eq_p, process_regexp, loop_in_regexp, check_loops_in_regexps, | |
9142 | process_regexp_cycles, reserv_sets_cmp, set_unit_reserv, | |
9143 | test_unit_reserv, it_is_empty_reserv_sets, | |
9144 | reserv_sets_are_intersected, reserv_sets_shift, reserv_sets_or, | |
9145 | reserv_sets_and, output_cycle_reservs, get_free_state, | |
9146 | intersected_state_reservs_p, states_union, remove_arc, | |
9147 | copy_insn_regexp, transform_1, transform_2, transform_3, | |
9148 | regexp_transform_func, store_alt_unit_usage, | |
9149 | check_regexp_units_distribution, process_seq_for_forming_states, | |
9150 | process_alts_for_forming_states, make_automaton, | |
9151 | form_arcs_marked_by_insn, create_composed_state, | |
9152 | set_out_arc_insns_equiv_num, partition_equiv_class, | |
9153 | process_insn_equiv_class, set_insn_equiv_classes, | |
9154 | units_to_automata_heuristic_distr, form_regexp, | |
9155 | longest_path_length, output_dfa_max_issue_rate, add_vect, | |
9156 | out_state_arcs_num, add_vect_el, output_trans_table, | |
9157 | output_state_alts_table, output_dead_lock_vect, | |
9158 | output_max_insn_queue_index_def, | |
9159 | output_min_insn_conflict_delay_func, | |
9160 | output_internal_insn_latency_func, output_print_reservation_func, | |
9161 | output_cpu_unit_reservation_p, output_state_arcs, | |
9162 | make_insn_alts_attr, make_internal_dfa_insn_code_attr, | |
9163 | make_default_insn_latency_attr, | |
9164 | form_important_insn_automata_lists): Likewise. | |
9165 | * genemit.c (gen_exp, output_add_clobbers, | |
9166 | output_added_clobbers_hard_reg_p): Likewise. | |
9167 | * genextract.c (print_path, main): Likewise. | |
9168 | * genflags.c (gen_macro): Likewise. | |
9169 | * gengenrtl.c: Include errors.h | |
9170 | (type_from_format, accessor_from_format): Likewise. | |
9171 | * gengtype.c (get_file_basename, output_mangled_typename, | |
9172 | walk_type, write_types_process_field, | |
9173 | write_types_local_process_field): Likewise. | |
9174 | * genmodes.c (complete_mode): Likewise. | |
9175 | * genopinit.c (gen_insn): Likewise. | |
9176 | * genoutput.c (output_insn_data, check_constraint_len, | |
9177 | constraint_len): Likewise. | |
9178 | * genpreds.c (add_mode_tests):Likewise. | |
9179 | * gen-protos.c (add_hash): Likewise. | |
9180 | * genrecog.c (find_operand, find_matching_operand, | |
9181 | validate_pattern, add_to_sequence, maybe_both_true, | |
9182 | nodes_identical_1, merge_trees, write_switch, write_cond, | |
9183 | write_action, is_unconditional, make_insn_sequence, | |
9184 | debug_decision_2): Likewise. | |
9185 | * gensupport.c (is_predicable, collect_insn_data, | |
9186 | alter_predicate_for_insn, maybe_eval_c_test): Likewise. | |
9187 | ||
87022a6b JH |
9188 | 2004-09-09 Jan Hubicka <jh@suse.cz> |
9189 | ||
9190 | * basic-block.h (guess_outgoing_edge_probabilities): Declare. | |
b2d59f6f NS |
9191 | * cfgbuild.c (compute_outgoing_frequencies): When probability is |
9192 | missing, guess it. | |
9193 | (find_many_sub_basic_blocks): Do update profile only when it is | |
9194 | present. | |
87022a6b | 9195 | * predict.c (set_even_probabilities): Break out from ... |
b2d59f6f NS |
9196 | (combine_predictions_for_insn): ... here; deal with |
9197 | !can_predict_insn_p insns. | |
87022a6b JH |
9198 | (combine_predictions_for_bb): Use set_even_probabilities. |
9199 | (bb_estimate_probability_locally): Break out from .... | |
9200 | (estimate_probability): ... here. | |
9201 | (guess_outgoing_edge_probabilities): New entry point. | |
9202 | ||
e1537934 NS |
9203 | 2004-09-09 Nathan Sidwell <nathan@codesourcery.com> |
9204 | ||
3b5edfee NS |
9205 | * gcc.c (add_sysrooted_prefix, execute, do_self_spec, do_spec_1, |
9206 | handle_braces, process_brace_body, main, used_arg, | |
9207 | set_multilib_dir, print_multilib_info): Use fatal, not abort. | |
9208 | ||
d73d4593 NS |
9209 | * tree-nested.c (create_tmp_var_for): Correct missinverted assert. |
9210 | ||
e1537934 NS |
9211 | * tree-outof-ssa.c (free_temp_expr_table): Add missed assert. |
9212 | * tree-ssa-ccp.c (set_lattice_value): Correct missapplied de | |
9213 | Morgan's theorem in last checkin. | |
9214 | ||
1e128c5f GB |
9215 | 2004-09-09 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
9216 | Nathan Sidwell <nathan@codesourcery.com> | |
9217 | ||
9218 | * targhooks.c (default_unwind_emit, default_scalar_mode_supported_p): | |
9219 | Use gcc_assert, gcc_unreachable & internal_error instead of abort. | |
9220 | * timevar.c (timevar_push, timevar_pop, timevar_start, | |
9221 | timevar_stop): Likewise. | |
9222 | * toplev.c (default_pch_valid_p): Likewise. | |
9223 | * tracer.c (tail_duplicate): Likewise. | |
9224 | * tree-alias-common.c (get_alias_var_decl, | |
9225 | get_values_from_constructor, create_alias_var, delete_alias_vars, | |
9226 | empty_points_to_set, same_points_to_set, ptr_may_alias_var): | |
9227 | Likewise. | |
9228 | * tree.c (tree_size, make_node_stat, copy_node_stat, | |
9229 | build_int_cst_wide, integer_all_onesp, list_length, chainon, | |
9230 | tree_node_structure, type_contains_placeholder_p, substitute_in_expr, | |
9231 | substitute_placeholder_in_expr, tabilize_reference_1, build0_stat, | |
9232 | build1_stat, build2_stat, build3_stat, build4_stat, is_attribute_p, | |
9233 | lookup_attribute, type_hash_canon, host_integerp, iterative_hash_expr, | |
9234 | build_method_type_directly, decl_type_context, get_callee_fndecl, | |
9235 | get_set_constructor_bits, build_vector_type_for_mode, int_cst_value, | |
9236 | tree_fold_gcd): Likewise. | |
9237 | * tree-cfg.c (create_bb, make_ctrl_stmt_edges, make_exit_edges, | |
9238 | make_cond_expr_edges, group_case_labels, tree_merge_blocks, | |
9239 | cleanup_control_expr_graph, find_taken_edge, | |
9240 | find_taken_edge_switch_expr, phi_alternatives_equal, | |
9241 | is_ctrl_altering_stmt, disband_implicit_edges, set_bb_for_stmt, | |
9242 | stmt_for_bsi, tree_find_edge_insert_loc, bsi_insert_on_edge_immediate, | |
9243 | tree_split_edge, tree_verify_flow_info, thread_jumps, | |
9244 | tree_redirect_edge_and_branch, tree_flow_call_edges_add): Likewise. | |
9245 | * tree-chrec.c (chrec_fold_poly_cst, chrec_fold_plus_poly_poly, | |
9246 | chrec_fold_multiply_poly_poly): Likewise. | |
9247 | * tree-complex.c (extract_component, expand_complex_division, | |
9248 | expand_complex_comparison, expand_complex_operations_1, | |
9249 | build_replicated_const, expand_vector_operations_1): Likewise. | |
9250 | * tree-data-ref.c (tree_fold_bezout, build_classic_dist_vector, | |
9251 | build_classic_dir_vector): Likewise. | |
9252 | * tree-dfa.c (compute_immediate_uses_for_phi, | |
9253 | compute_immediate_uses_for_stmt, create_var_ann, create_stmt_ann, | |
9254 | create_tree_ann, collect_dfa_stats, get_virtual_var): Likewise. | |
9255 | * tree-dump.c (dequeue_and_dump): Likewise. | |
9256 | * tree-eh.c (record_stmt_eh_region, add_stmt_to_eh_region, | |
9257 | record_in_finally_tree, replace_goto_queue_1, | |
9258 | maybe_record_in_goto_queue, verify_norecord_switch_expr, | |
9259 | do_return_redirection): Likewise. | |
9260 | * tree-if-conv.c (tree_if_convert_stmt, tree_if_convert_cond_expr, | |
9261 | add_to_dst_predicate_list, find_phi_replacement_condition, | |
9262 | replace_phi_with_cond_modify_expr, get_loop_body_in_if_conv_order): | |
9263 | Likewise. | |
9264 | * tree-inline.c (remap_decl, remap_type, remap_decls, copy_body_r, | |
9265 | initialize_inlined_parameters, declare_return_variable, | |
9266 | estimate_num_insns_1, expand_call_inline, expand_calls_inline, | |
9267 | optimize_inline_calls, copy_tree_r): Likewise. | |
9268 | * tree-into-ssa.c (rewrite_initialize_block_local_data, rewrite_stmt, | |
9269 | ssa_rewrite_stmt, rewrite_into_ssa): Likewise. | |
9270 | * tree-iterator.c (alloc_stmt_list, tsi_link_before, tsi_link_after, | |
9271 | tsi_split_statement_list_after, tsi_split_statement_list_before): | |
9272 | Likewise. | |
9273 | * tree-mudflap.c (mf_varname_tree): Likewise. | |
9274 | * tree-nested.c (create_tmp_var_for, lookup_field_for_decl, | |
9275 | lookup_tramp_for_decl, convert_all_function_calls): Likewise. | |
9276 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
9277 | * tree-outof-ssa.c (create_temp, eliminate_build, eliminate_phi, | |
9278 | coalesce_abnormal_edges, coalesce_ssa_name, eliminate_virtual_phis, | |
9279 | free_temp_expr_table, add_dependance, finish_expr, rewrite_trees): | |
9280 | Likewise. | |
9281 | * tree-phinodes.c (resize_phi_node, add_phi_arg, | |
9282 | remove_all_phi_nodes_for): Likewise. | |
9283 | * tree-pretty-print.c (op_prio, print_call_name): Likewise. | |
9284 | * tree-profile.c (tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
9285 | tree_gen_one_value_profiler, tree_gen_const_delta_profiler): Likewise. | |
9286 | * tree-sra.c (type_can_instantiate_all_elements, sra_hash_tree, | |
9287 | sra_elt_eq, sra_walk_expr, instantiate_missing_elements, | |
9288 | generate_one_element_ref, generate_element_copy, | |
9289 | generate_element_zero, scalarize_copy, scalarize_init, | |
9290 | scalarize_ldst): Likewise. | |
9291 | * tree-ssa-alias.c (delete_alias_info, group_aliases, may_alias_p, | |
9292 | add_may_alias, add_pointed_to_expr, add_pointed_to_var, | |
9293 | collect_points_to_info_r, get_tmt_for, get_ptr_info): Likewise. | |
9294 | * tree-ssa.c (walk_use_def_chains, check_phi_redundancy): Likewise. | |
9295 | * tree-ssa-ccp.c (dump_lattice_value, get_default_value, get_value, | |
9296 | set_lattice_value, likely_value, ccp_visit_phi_node, visit_assignment, | |
9297 | widen_bitfield, ccp_fold_builtin): Likewise. | |
9298 | * tree-ssa-copy.c (may_propagate_copy, merge_alias_info, | |
9299 | replace_exp_1, propagate_tree_value): Likewise. | |
9300 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Likewise. | |
9301 | * tree-ssa-dce.c (set_control_dependence_map_bit, | |
9302 | find_control_dependence, find_pdom, mark_operand_necessary, | |
9303 | mark_stmt_if_obviously_necessary, | |
9304 | mark_control_dependent_edges_necessary, remove_dead_stmt): Likewise. | |
9305 | * tree-ssa-dom.c (dom_opt_initialize_block_local_data, | |
9306 | simplify_switch_and_lookup_avail_expr, cprop_into_successor_phis, | |
9307 | eliminate_redundant_computations, avail_expr_eq): Likewise. | |
9308 | * tree-ssa-dse.c (fix_stmt_v_may_defs): Likewise. | |
9309 | * tree-ssa-loop-ch.c (should_duplicate_loop_header_p, | |
9310 | duplicate_blocks): Likewise. | |
9311 | * tree-ssa-loop-im.c (for_each_index, set_level, | |
9312 | is_call_clobbered_ref): Likewise. | |
9313 | * tree-ssa-loop-ivopts.c (dump_use, divide, stmt_after_ip_normal_pos, | |
9314 | stmt_after_increment, set_iv, contains_abnormal_ssa_name_p, | |
9315 | find_interesting_uses_outer_or_nonlin, add_derived_ivs_candidates, | |
9316 | peel_address, ptr_difference_cost, may_replace_final_value, | |
9317 | determine_use_iv_cost, rewrite_use_nonlinear_expr, rewrite_use_outer, | |
9318 | rewrite_use, rewrite_uses): Likewise. | |
9319 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa, | |
9320 | check_loop_closed_ssa_use): Likewise. | |
9321 | * tree-ssanames.c (make_ssa_name): Likewise. | |
9322 | * tree-ssa-operands.c (finalize_ssa_defs, finalize_ssa_uses, | |
9323 | finalize_ssa_v_must_defs, finalize_ssa_stmt_operands, | |
9324 | get_stmt_operands, get_expr_operands, get_asm_expr_operands, | |
9325 | get_indirect_ref_operands, add_stmt_operand): Likewise. | |
9326 | * tree-ssa-pre.c (value_exists_in_set_bitmap, | |
9327 | value_remove_from_set_bitmap, bitmap_insert_into_set, insert_into_set, | |
9328 | phi_translate, valid_in_set, compute_antic, | |
9329 | find_or_generate_expression, create_expression_by_pieces, insert_aux, | |
9330 | create_value_expr_from, eliminate): Likewise. | |
9331 | * tree-ssa-propagate.c (cfg_blocks_get): Likewise. | |
9332 | * tree-ssa-threadupdate.c (remove_last_stmt_and_useless_edges): | |
9333 | Likewise. | |
9334 | * tree-tailcall.c (independent_of_stmt_p, adjust_return_value, | |
9335 | eliminate_tail_call): Likewise. | |
9336 | * tree-vectorizer.c (vect_create_index_for_array_ref, | |
9337 | vect_align_data_ref, vect_create_data_ref, | |
9338 | vect_create_destination_var, vect_get_vec_def_for_operand, | |
9339 | vect_finish_stmt_generation, vect_transform_stmt, | |
9340 | vect_transform_loop_bound, vect_transform_loop, | |
9341 | vect_analyze_operations): Likewise. | |
9342 | * tree-vn.c (vn_compute, set_value_handle, get_value_handle): | |
9343 | Likewise. | |
9344 | * tree-flow-inline.h (var_ann, get_var_ann, get_def_from_ptr, | |
9345 | get_use_op_ptr, immediate_use, phi_ssa_name_p, bsi_start, | |
9346 | bsi_after_labels, bsi_last): Likewise. | |
9347 | * tree-ssa-live.c (var_union, change_partition_var, | |
9348 | create_ssa_var_map, calculate_live_on_entry, root_var_init, | |
9349 | type_var_init, add_coalesce, sort_coalesce_list, pop_best_coalesce): | |
9350 | Likewise. | |
9351 | * tree-ssa-live.h (partition_is_global, live_entry_blocks, | |
9352 | tpa_find_tree): Likewise. | |
9353 | (register_ssa_partition_check): Declare. | |
9354 | (register_ssa_partition): use it. | |
9355 | * tree-ssa-live.c: Include errors.h. | |
9356 | (register_ssa_partition_check): New. | |
9357 | * tree-ssa-operands.c: Include errors.h. | |
9358 | * Makefile.in (tree-ssa-operands.o): Depend on errors.h. | |
9359 | ||
c557edf4 RS |
9360 | 2004-09-09 Richard Sandiford <rsandifo@redhat.com> |
9361 | Catherine Moore <clm@redhat.com> | |
9362 | ||
9363 | * config/frv/frv-protos.h (FRV_CPU_FR550, FRV_CPU_FR450) | |
9364 | (FRV_CPU_FR405): New processor enums. | |
9365 | (frv_issue_rate, frv_acc_group): Declare. | |
9366 | * config/frv/frv.h (CPP_SPEC, CPP_FRV_SPEC, CPP_FR500_SPEC): Delete. | |
9367 | (CPP_FR400_SPEC, CPP_SIMPLE_SPEC): Delete. | |
9368 | (MASK_DEFAULT_FR550, MASK_DEFAULT_FR450): New macros. | |
9369 | (SUBTARGET_EXTRA_SPECS, EXTRA_SPECS, CPP_CPU_DEFAULT_SPEC): Delete. | |
9370 | (TARGET_CPU_CPP_BUILTINS): Define the macros that were previously | |
9371 | handled by CPP_SPEC. | |
9372 | (MASK_LONG_CALLS, TARGET_LONG_CALLS): New macros. | |
9373 | (MASK_ALIGN_LABELS, TARGET_ALIGN_LABELS): New macros. | |
9374 | (ACC_MASK): New macro. | |
9375 | (TARGET_MEDIA_REV2): Include FRV_CPU_{FR405,FR450,FR550}. | |
9376 | (TARGET_MEDIA_FR450): New macro. | |
9377 | (TARGET_FR500_FR550_BUILTINS, TARGET_FR405_BUILTINS): New macros. | |
9378 | (TARGET_SWITCHES): Add -m{no-,}align-labels and -m{no-,}long-calls. | |
9379 | (LABEL_ALIGN_AFTER_BARRIER): Define. | |
9380 | (ACC_LAST, ACCG_LAST): Add four new accumulator registers. | |
9381 | (IACC_FIRST, IACC_LAST): New pair of SPRs. | |
9382 | (ACCG_FIRST, AP_FIRST, SPR_FIRST, SPR_LAST): Adjust accordingly. | |
9383 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER) | |
9384 | (REGISTER_NAMES): Add entries for new registers. | |
9385 | (REG_CLASS_CONTENTS): Update for new register ranges. | |
9386 | (EXTRA_CONSTRAINT_FOR_S): Redefine in terms of call_operand. | |
9387 | (ISSUE_RATE, CLEAR_VLIW_START, SET_VLIW_START): Delete. | |
9388 | (PACKING_FLAG_USED_P): Delete. | |
9389 | (FRV_BUILTIN_MQLCLRHS, FRV_BUILTIN_MQLMTHS, FRV_BUILTIN_MQSLLHI) | |
9390 | (FRV_BUILTIN_MQSRAHI, FRV_BUILTIN_SMUL, FRV_BUILTIN_UMUL) | |
9391 | (FRV_BUILTIN_PREFETCH0, FRV_BUILTIN_PREFETCH, FRV_BUILTIN_SMASS) | |
9392 | (FRV_BUILTIN_SMSSS, FRV_BUILTIN_SMU, FRV_BUILTIN_SCUTSS) | |
9393 | (FRV_BUILTIN_ADDSS, FRV_BUILTIN_SUBSS, FRV_BUILTIN_SLASS) | |
9394 | (FRV_BUILTIN_IACCread{l,ll}, FRV_BUILTIN_IACCset{ll,l}) | |
9395 | (FRV_BUILTIN_SCAN): New members of frv_builtin_enum. | |
9396 | (FRV_BUILTIN_FIRST_NONMEDIA): New macro. | |
9397 | (CPU_UNITS_QUERY): Define to 1. | |
9398 | * config/frv/frv.c: Include gt-frv.h | |
9399 | (NUM_NOP_PATTERNS, NTH_UNIT, UNIT_NUMBER, PACKING_FLAG_P): New macros. | |
9400 | (SET_PACKING_FLAG, CLEAR_PACKING_FLAG, FOR_EACH_REGNO): New macros. | |
9401 | (frv_insn_group): New enumeration. | |
9402 | (frv_unit_names, frv_unit_groups, frv_unit_codes): New variables. | |
9403 | (frv_type_to_unit, frv_nops, frv_num_nops): New variables. | |
9404 | (REGSTATE_DEAD, REGSTATE_LIVE, REGSTATE_UNUSED, REGSTATE_MASK) | |
9405 | (REGSTATE_CONDJUMP): Delete. Shuffle other numbers to cover the | |
9406 | gap left by REGSTATE_LIVE. | |
9407 | (regstate_t): New typedef. | |
9408 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
9409 | (frv_default_flags_for_cpu): Handle FRV_CPU_{FR550,FR450,FR405}. | |
9410 | (frv_override_options): Check for -mcpu={fr550,fr450,fr405}. | |
9411 | Initialize frv_unit_codes[] and frv_type_to_unit[]. | |
9412 | (frv_conditional_register_usage): Remove redundant fixing of | |
9413 | accumulator registers. | |
9414 | (frv_insn_packing_flag): Update specification. | |
9415 | (frv_function_prologue): Don't set frv_insn_packing_flag here. | |
9416 | Zero out frv_nops[]. | |
9417 | (frv_expand_epilogue): Remove comments about the no-longer-present | |
9418 | SIBCALL_P argument. | |
9419 | (frv_asm_output_mi_thunk): Check frv_issue_rate() rather than | |
9420 | PACKING_FLAG_USED_P() when deciding whether to pack instructions. | |
9421 | (frv_asm_output_opcode, frv_final_prescan_insn): Simplify in light | |
9422 | of the new meaning of frv_insn_packing_flag. Emit an mnop.p if | |
9423 | packing is disabled and if INSN can only issue to M1. | |
9424 | (call_operand): Check TARGET_LONG_CALLS. | |
9425 | (acc_operand, even_acc_operand, quad_acc_operand) | |
9426 | (accg_operand): Simplify. Don't accept pseudo registers. | |
9427 | (output_move_single): Handle SPR<-zero moves. | |
9428 | (frv_issue_rate): Make non-static. Handle FRV_CPU_{FR550,FR450,FR405}. | |
9429 | (frv_registers_update, frv_registers_used_p): Delete. | |
9430 | (frv_registers_set_p): Delete. | |
9431 | (frv_acc_group_1, frv_acc_group, frv_insn_unit): New functions. | |
9432 | (frv_issues_to_branch_unit_p): New function. | |
9433 | (frv_packet): New structure. | |
9434 | (frv_cond_flags, frv_regstate_conflict_p): New functions. | |
9435 | (frv_registers_conflict_p_1, frv_registers_conflict_p): New functions. | |
9436 | (frv_registers_update_1, frv_registers_update): New functions. | |
9437 | (frv_start_packet, frv_start_packet_block, frv_finish_packet) | |
9438 | (frv_pack_insn_p, frv_add_insn_to_packet, frv_insert_nop_in_packet) | |
9439 | (frv_for_each_packet, frv_sort_insn_group_1, frv_compare_insns) | |
9440 | (frv_sort_insn_group, frv_reorder_packet): New functions. | |
9441 | (frv_pack_insns): Use frv_reorder_packet. | |
9442 | (frv_packet_address): New variable. | |
9443 | (frv_fill_unused_units, frv_align_label, frv_reorg_packet) | |
9444 | (frv_register_nop, frv_reorg): New functions. | |
9445 | (bdesc_1arg): Add __SCUTSS. | |
9446 | (bdesc_2arg): Add __MQLCLRHS, __MQLMTHS, __SMUL, __UMUL, __ADDSS, | |
9447 | __SUBSS, __SLASS and __SCAN. | |
9448 | (bdesc_2argimm): Add __MQSLLHI and __MQSRAHI. | |
9449 | (bdesc_int_void2arg, bdesc_prefetches): New arrays. | |
9450 | (frv_init_builtins): Register the above builtins. | |
9451 | (frv_int_to_acc): Use ACC_MASK to check for valid accumulator | |
15072eb1 | 9452 | registers. Turn the referenced accumulators into global registers. |
c557edf4 RS |
9453 | (frv_read_iacc_argument): New function. |
9454 | (frv_expand_int_void2arg, frv_expand_prefetches): New functions. | |
9455 | (frv_split_iacc_move): New function. | |
9456 | (frv_expand_builtin): Handle the new builtins. | |
9457 | * config/frv/frv.md: Replace old schedulers with new order-independent | |
9458 | ones. Add schedulers for the FR405, FR450 and FR550. Describe new | |
9459 | packing algorithm. | |
9460 | (cpu): Add fr550, fr450 and fr405. | |
9461 | (type): Add macc, scan, cut, fnop, fscmp, fdcmp, mnop, mqlimh and | |
9462 | mqshift. Replace fmas with fsmadd and fmad with fdmadd. Delete m7. | |
9463 | (*muladd[sd]f4, *mulsub[sd]f4): Fix types. | |
9464 | (*cmp[sd]f_cc_fp): Use new f[sd]cmp types. | |
9465 | (fnop, mnop): New patterns. | |
9466 | (UNSPEC_MQLCLRHS, UNSPEC_MQLMTHS, UNSPEC_MQSLLHI, UNSPEC_MQSRAHI): | |
9467 | New constants. | |
9468 | (mexpdhw, *cond_exec_mexpdhw): Fix destination operands. | |
9469 | (mclracca8): Use ACC_MASK to determine the upper set of accumulator | |
9470 | registers. | |
9471 | (mqlclrhs, mqlmths, mqsllhi, mqsrahi): New patterns. | |
9472 | (UNSPEC_SMUL, UNSPEC_UMUL, UNSPEC_SMU, UNSPEC_ADDSS, UNSPEC_SUBSS) | |
9473 | (UNSPEC_SLASS, UNSPEC_SCAN, UNSPEC_INTSS, UNSPEC_SCUTSS) | |
9474 | (UNSPEC_PREFETCH0, UNSPEC_PREFETCH, UNSPEC_IACCreadll) | |
9475 | (UNSPEC_IACCreadl, UNSPEC_IACCsetll, UNSPEC_IACCsetl, UNSPEC_SMASS) | |
9476 | (UNSPEC_SMSSS, UNSPEC_IMUL, IACC0_REG): New constants. | |
9477 | (smul, umul, smass, smsss, smu, addss, subss, slass, scan, scutss) | |
9478 | (frv_prefetch0, frv_prefetch): New patterns. | |
9479 | * config/frv/t-frv (MULTILIB_OPTIONS): Remove -mcpu=frv and | |
9480 | -mcpu=simple. Add -mcpu=fr550. | |
9481 | (MULTILIB_DIRNAMES): Update accordingly. | |
9482 | (MULTILIB_MATCHES): Use the fr400 multilibs for -mcpu=fr405 and | |
9483 | -mcpu=fr450. | |
9484 | * doc/invoke.texi: Document the new -mcpu={fr550,fr450,fr405}, | |
9485 | -mlong-calls and -malign-labels options for FR-V. | |
9486 | ||
deb176fa JM |
9487 | 2004-09-09 Joseph S. Myers <jsm@polyomino.org.uk> |
9488 | ||
9489 | PR c/8420 | |
9490 | * c-tree.h (struct c_declspecs): New. | |
9491 | (struct c_declarator, struct c_type_name, struct c_parm): Update | |
9492 | element types. | |
9493 | (build_array_declarator, grokfield, shadow_tag, shadow_tag_warned, | |
9494 | start_function, start_decl, build_c_parm, | |
9495 | make_pointer_declarator): Update prototypes. | |
9496 | (build_null_declspecs, declspecs_add_qual, declspecs_add_type, | |
9497 | declspecs_add_scspec, declspecs_add_attrs): New. | |
9498 | (split_specs_attrs): Remove. | |
9499 | * c-parse.in (%union): Add dsptype. | |
9500 | (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea, | |
9501 | declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea, | |
9502 | declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea, | |
9503 | declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea, | |
9504 | declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea, | |
9505 | declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea, | |
9506 | declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea, | |
9507 | declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea, declspecs_ts, | |
9508 | declspecs_nots, declspecs_ts_nosa, declspecs_nots_nosa, | |
9509 | declspecs_nosc_ts, declspecs_nosc_nots, declspecs_nosc, declspecs, | |
9510 | maybe_type_quals_attrs): Change to dsptype. | |
9511 | (struct c_declspec_stack): New. | |
9512 | (current_declspecs, declspec_stack): Change type. | |
9513 | (PUSH_DECLSPEC_STACK, POP_DECLSPEC_STACK): Update to new | |
9514 | structures. | |
9515 | (extdefs): Likewise. | |
9516 | (setspecs): Likewise. | |
9517 | (fndef): Use current_declspecs for empty declspecs list. | |
9518 | (declspecs_nosc_nots_nosa_noea, declspecs_nosc_nots_nosa_ea, | |
9519 | declspecs_nosc_nots_sa_noea, declspecs_nosc_nots_sa_ea, | |
9520 | declspecs_nosc_ts_nosa_noea, declspecs_nosc_ts_nosa_ea, | |
9521 | declspecs_nosc_ts_sa_noea, declspecs_nosc_ts_sa_ea, | |
9522 | declspecs_sc_nots_nosa_noea, declspecs_sc_nots_nosa_ea, | |
9523 | declspecs_sc_nots_sa_noea, declspecs_sc_nots_sa_ea, | |
9524 | declspecs_sc_ts_nosa_noea, declspecs_sc_ts_nosa_ea, | |
9525 | declspecs_sc_ts_sa_noea, declspecs_sc_ts_sa_ea): Update to new | |
9526 | structures and helper functions. Update comments. | |
9527 | (typespec_nonattr): Correct comment. | |
9528 | (maybe_type_quals_attrs, typename): Update to new structures. | |
9529 | * c-decl.c (grokdeclarator, build_array_declarator, grokfield, | |
9530 | shadow_tag, shadow_tag_warned, start_function, start_decl, | |
9531 | build_c_parm, make_pointer_declarator, | |
9532 | set_array_declarator_inner, groktypename): Update to new | |
9533 | structures. | |
9534 | (build_null_declspecs, declspecs_add_qual, declspecs_add_type, | |
9535 | declspecs_add_scspec, declspecs_add_attrs): New. | |
9536 | (split_specs_attrs): Remove. | |
9537 | (shadow_tag_warned): Make warning for useless type names a | |
9538 | pedwarn. Give hard error for long, short, signed, unsigned or | |
9539 | _Complex used with struct, union or enum in empty declaration. | |
9540 | Make found_tag a bool. | |
9541 | (grokdeclarator): Remove checks now done at parse time. | |
9542 | ||
f8893e47 JM |
9543 | 2004-09-09 Joseph S. Myers <jsm@polyomino.org.uk> |
9544 | ||
9545 | * c-tree.h (enum c_declarator_kind, struct c_arg_info, struct | |
9546 | c_declarator, struct c_type_name, struct c_parm): New. | |
9547 | (build_array_declarator, set_array_declarator_inner, | |
9548 | get_parm_info, grokfield, groktypename, grokparm, push_parm_decl, | |
9549 | start_function, start_decl, build_c_parm, build_attrs_declarator, | |
9550 | build_function_declarator, make_pointer_declarator, c_cast_expr, | |
9551 | store_parm_decls_newstyle, c_expr_sizeof_type): Update prototypes. | |
9552 | (build_id_declarator): New. | |
9553 | * c-typeck.c (c_cast_expr, c_expr_sizeof_type): Update to new | |
9554 | structures. | |
9555 | * c-decl.c (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, | |
9556 | ARG_INFO_OTHERS): Remove. | |
9557 | (build_id_declarator): New. | |
9558 | (build_array_declarator, set_array_declarator_inner, groktypename, | |
9559 | start_decl, grokparm, push_parm_decl, grokparms, get_parm_info, | |
9560 | grokfield, start_function, store_parm_decls_newstyle, | |
9561 | store_parm_decls_oldstyle, store_parm_decls, | |
9562 | build_c_parm, build_attrs_declarator, build_function_declarator, | |
9563 | make_pointer_declarator, grokdeclarator): Update to new | |
9564 | structures. | |
9565 | * c-parse.in (%union): Add arginfotype, dtrtype, typenametype and | |
9566 | parmtype. | |
9567 | (declarator, notype_declarator, after_type_declarator, | |
9568 | parm_declarator, parm_declarator_starttypename, | |
9569 | parm_declarator_nostarttypename, array_declarator, typename, | |
9570 | absdcl, absdcl1, absdcl1_ea, absdcl1_noea, direct_absdcl1, | |
9571 | absdcl_maybe_attribute, parm, firstparm, parms, parmlist, | |
9572 | parmlist_1, parmlist_2, parmlist_or_identifiers, | |
9573 | parmlist_or_identifiers_1): Use these types. | |
9574 | (primary, after_type_declarator, parm_declarator_starttypename, | |
9575 | notype_declarator, component_decl, component_declarator, | |
9576 | component_notype_declarator, typename, absdcl, | |
9577 | absdcl_maybe_attribute, absdcl1_ea, direct_absdcl1, parmlist_1, | |
9578 | parmlist_2, parmlist_or_identifiers_1): Update to new structures. | |
9579 | ||
bc4b653b JM |
9580 | 2004-09-09 Joseph S. Myers <jsm@polyomino.org.uk> |
9581 | ||
9582 | * c-tree.h (C_DECL_USED, parser_obstack, in_alignof, in_sizeof, | |
9583 | in_typeof, record_maybe_used_decl, pop_maybe_used, | |
9584 | c_expr_sizeof_expr, c_expr_sizeof_type): New. | |
9585 | * c-decl.c (parser_obstack): New. | |
9586 | (c_init_decl_processing): Initialize parser_obstack. | |
9587 | (c_write_global_declarations_1): Check for used but undefined | |
9588 | static functions. | |
9589 | * c-parse.in (%union): Add otype. | |
9590 | (save_obstack_position): New. | |
9591 | (extdefs): Use it. | |
9592 | (unary_expr): Update in_sizeof and in_alignof. Use | |
9593 | c_expr_sizeof_expr and c_expr_sizeof_type. | |
9594 | (sizeof): Update in_sizeof. | |
9595 | (alignof): Update in_alignof. | |
9596 | (typeof): Update in_typeof. | |
9597 | (typespec_nonreserved_nonattr): Call pop_maybe_used. | |
9598 | * c-typeck.c (in_alignof, in_sizeof, in_typeof, struct | |
9599 | maybe_used_decl, maybe_used_decls, record_maybe_used_decl, | |
9600 | pop_maybe_used, c_expr_sizeof_expr, c_expr_sizeof_type): New. | |
9601 | (build_external_ref): Set C_DECL_USED or call | |
9602 | record_maybe_used_decl if appropriate. | |
9603 | * toplev.c (check_global_declarations): Check TREE_NO_WARNING. | |
9604 | ||
f838cd94 EC |
9605 | 2004-09-08 Eric Christopher <echristo@redhat.com> |
9606 | ||
9607 | * builtins.c: Fix prototype for fold_builtin_atan. | |
9608 | ||
667bbbbb EC |
9609 | 2004-09-08 Eric Christopher <echristo@redhat.com> |
9610 | ||
9611 | * builtins.c (fold_builtin_strlen, fold_builtin_sqrt, fold_builtin_cbrt, | |
9612 | fold_builtin_pow, fold_builtin_sin, fold_builtin_cos, fold_builtin_tan, | |
9613 | fold_builtin_atan): New functions. Migrate function bodies... | |
9614 | (fold_builtin_1): ... from here. | |
9615 | ||
64045029 AM |
9616 | 2004-09-09 Alan Modra <amodra@bigpond.net.au> |
9617 | ||
9618 | * config/rs6000/rs6000.c (rs6000_stack_info): Correct alignment of | |
9619 | save_size. | |
9620 | ||
f0259218 DE |
9621 | 2004-09-08 David Edelsohn <edelsohn@gnu.org> |
9622 | ||
9623 | * config/rs6000/power4.md (power4-lmul): du4 feeds iu1. | |
9624 | * config/rs6000/power5.md (power5-lmul): Same. | |
9625 | ||
609c3937 RH |
9626 | 2004-09-08 Richard Henderson <rth@redhat.com> |
9627 | ||
9628 | PR rtl-opt/17186 | |
9629 | * function.c (expand_function_end): Have fall-off-the-end | |
9630 | return path jump around return register setup. | |
9631 | ||
4e5b002b EB |
9632 | 2004-09-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
9633 | ||
9634 | * config/sparc/sparc.c (sparc_indent_opcode): New variable. | |
9635 | (output_return): Do not test for the presence of the 'unimp' insn. | |
9636 | Use 'current_function_uses_only_leaf_regs' and 'final_sequence' | |
9637 | as predicates instead of custom ones. Return raw strings when | |
9638 | possible. | |
9639 | (output_sibcall): Likewise. Concatenate strings. | |
9640 | (output_ubranch): Remove kludge for TurboSPARC. | |
9641 | (output_cbranch): Remove 'noop' parameter. Do not output 'nop'. | |
9642 | (output_v9branch): Likewise. | |
9643 | (print_operand): Use 'final_sequence' instead of 'dbr_sequence_length'. | |
9644 | <#>: Set sparc_indent_opcode if the delay slot is filled. | |
9645 | <(>: Likewise. | |
9646 | <)>: New operand to emit the displacement from the saved PC on return. | |
9647 | <@>: Remove. | |
9648 | * config/sparc/sparc.h (sparc_indent_opcode): Declare it. | |
9649 | (ASM_OUTPUT_OPCODE): New macro. | |
9650 | (PRINT_OPERAND_PUNCT_VALID_P): Remove '^' and add ')'. | |
9651 | * config/sparc/sparc.md (normal_branch, inverted_branch, | |
9652 | normal_fp_branch, inverted_fp_branch, normal_fpe_branch, | |
9653 | inverted_fpe_branch): Adjust call to output_cbranch. | |
9654 | (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust | |
9655 | call to output_v9branch. | |
9656 | * config/sparc/sparc-protos.h (output_cbranch): Adjust. | |
9657 | (output_v9branch): Likewise. | |
9658 | ||
5826770c DP |
9659 | 2004-09-08 Devang Patel <dpatel@apple.com> |
9660 | ||
9661 | * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -segaddr, | |
9662 | -segs_read_only_addr and -segs_read_write_addr. | |
9663 | (WORD_SWITCH_TAKES_ARG): Same. | |
9664 | (LINK_SPEC): Same. | |
9665 | * doc/invoke.texi: Document -segaddr, -segs_read_only_addr and | |
9666 | -segs_read_write_addr. | |
9667 | ||
6cdd5672 RH |
9668 | 2004-09-08 Richard Henderson <rth@redhat.com> |
9669 | ||
9670 | * function.c (reference_callee_copied): New. | |
9671 | (assign_parm_setup_reg): Use it. | |
9672 | * calls.c (initialize_argument_information): Likewise. | |
9673 | (emit_library_call_value_1): Likewise. | |
9674 | * function.h (reference_callee_copied): Declare. | |
9675 | ||
9676 | * target.h (struct gcc_target): Add callee_copies. | |
9677 | * target-def.h (TARGET_CALLEE_COPIES): New. | |
9678 | (TARGET_PASS_BY_REFERENCE): Update default. | |
9679 | * expr.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9680 | * targhooks.c (hook_callee_copies_named): New. | |
9681 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Rename from | |
9682 | hook_pass_by_reference_false. | |
9683 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): New. | |
9684 | * targhooks.h: Update decls. | |
9685 | * config/arc/arc.c (TARGET_CALLEE_COPIES): New. | |
9686 | * config/arc/arc.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9687 | * config/frv/frv-protos.h (frv_function_arg_callee_copies): Remove. | |
9688 | * config/frv/frv.c (frv_function_arg_callee_copies): Remove. | |
9689 | * config/frv/frv.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9690 | * config/iq2000/iq2000.c (TARGET_CALLEE_COPIES): New. | |
9691 | * config/iq2000/iq2000.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9692 | * config/m68hc11/m68hc11.c (TARGET_CALLEE_COPIES): New. | |
9693 | * config/m68hc11/m68hc11.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9694 | * config/mips/mips.c (TARGET_CALLEE_COPIES): New. | |
9695 | (mips_callee_copies): New. | |
9696 | * config/mips/mips.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9697 | * config/mmix/mmix.c (TARGET_CALLEE_COPIES): New. | |
9698 | * config/mmix/mmix.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9699 | * config/mn10300/mn10300.c (TARGET_CALLEE_COPIES): New. | |
9700 | * config/mn10300/mn10300.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9701 | * config/pa/pa.c (TARGET_CALLEE_COPIES): New. | |
9702 | * config/pa/pa.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9703 | * config/sh/sh.c (sh_callee_copies): New. | |
9704 | (TARGET_CALLEE_COPIES): New. | |
9705 | * config/sh/sh.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9706 | * config/v850/v850.c (TARGET_CALLEE_COPIES): New. | |
9707 | * config/v850/v850.h (FUNCTION_ARG_CALLEE_COPIES): Remove. | |
9708 | * doc/tm.texi (TARGET_CALLEE_COPIES): Replace documentation | |
9709 | for FUNCTION_ARG_CALLEE_COPIES. | |
9710 | * doc/rtl.texi (CALL_INSN_FUNCTION_USAGE): Update. | |
9711 | ||
7f7e0703 DP |
9712 | 2004-09-08 Devang Patel <dpatel@apple.com> |
9713 | ||
6cdd5672 RH |
9714 | * tree-if-conv.c (find_phi_replacement_condition): Return true |
9715 | edge block. | |
9716 | (replace_phi_with_cond_modify_expr): Select conditional expr args | |
9717 | based on true edge basic block. | |
667bbbbb | 9718 | |
ed7f7d85 JH |
9719 | 2004-09-08 Jan Hubicka <jh@suse.cz> |
9720 | ||
9721 | * tree-ssa-operands.c (add_stmt_operand): Use V_MUST_DEF even for | |
9722 | variables being alias set. | |
9723 | ||
0bccc606 NS |
9724 | 2004-09-08 Nathan Sidwell <nathan@codesourcery.com> |
9725 | ||
9726 | * final.c (shorten_branches, final, get_insn_template, | |
9727 | output_alternate_entry_point, final_scan_insn, alter_subreg, | |
9728 | alter_cond, output_operand, asm_fprintf, final_forward_branch_p, | |
9729 | leaf_renumber_regs_insn): Use gcc_assert and gcc_unreachable. | |
9730 | * fix-header.c (lookup_std_proto): Likewise. | |
9731 | * flow.c (first_insn_after_basic_block_note, verify_wide_reg, | |
9732 | verify_local_live_at_start, update_life_info, mark_reg, | |
9733 | calculate_global_regs_live, allocate_reg_life_data, | |
9734 | init_propagate_block_info, mark_set_regs, flush_reg_cond_reg_1, | |
9735 | ior_reg_cond, not_reg_cond, and_reg_cond, elim_reg_cond, | |
9736 | attempt_auto_inc, mark_used_reg, mark_used_regs): Likewise. | |
9737 | * fold-const.c (force_fit_type, div_and_round_double, | |
9738 | may_negate_without_overflow_p, int_const_binop, const_binop, | |
9739 | size_binop, size_diffop, fold_convert_const, fold_convert, | |
9740 | invert_tree_comparison, swap_tree_comparison, | |
9741 | comparison_to_compcode, compcode_to_comparison, invert_truthvalue, | |
9742 | range_binop, make_range, fold_cond_expr_with_comparison, | |
9743 | fold_div_compare, fold, fold_checksum_tree, fold_negate_const, | |
9744 | fold_abs_const, fold_not_const, fold_relational_const, round_up, | |
9745 | round_down): Likewise. | |
9746 | * function.c (find_function_data, assign_stack_temp_for_type, | |
9747 | instantiate_virtual_regs_lossage, aggregate_value_p, | |
9748 | assign_parm_find_entry_rtl, assign_parm_setup_block, | |
9749 | expand_function_start, expand_function_end, keep_stack_depressed, | |
9750 | handle_epilogue_set, thread_prologue_and_epilogue_insns): Likewise. | |
9751 | ||
599eabdb DB |
9752 | 2004-09-08 Daniel Berlin <dberlin@dberlin.org> |
9753 | ||
9754 | * Makefile.in (tree-loop-linear.o): Added. | |
9755 | (OBJS-common): Add tree-loop-linear.o | |
9756 | * common.opt: New flag, ftree-loop-linear. | |
9757 | * timevar.def: New timevar, TV_TREE_LOOP_LINEAR. | |
9758 | * tree-flow.h: Add prototype for linear_transform_loops. | |
9759 | * tree-optimize.c: Add linear transform after vectorization. | |
9760 | * tree-pass.h: Add struct pass_linear_transform. | |
9761 | * tree-ssa-loop.c: Add pass_linear_transform. | |
9762 | * tree-loop-linear.c: New file. | |
9763 | * lambda-code.c: gcc_assertify. | |
9764 | (gcc_loop_to_lambda_loop): Handle all exit tests. | |
9765 | Handle case where we have (invariant >= induction var). | |
9766 | (find_induction_var_from_exit_cond): Ditto. | |
667bbbbb | 9767 | |
13f5595a JZ |
9768 | 2004-09-08 Jie Zhang <zhangjie@magima.com.cn> |
9769 | ||
9770 | * tree-ssa-alias.c (compute_flow_insensitive_aliasing): If type | |
9771 | memory tag is call clobbered, so are its aliases. | |
9772 | (group_aliases): When two memory tags being grouped, if one is | |
9773 | call clobbered, so are the other and its aliases. | |
9774 | (add_may_alias): Remove call-clobbering stuff. | |
9775 | (replace_may_alias): Likewise. | |
9776 | (merge_pointed_to_info): Merge pt_global_mem | |
9777 | ||
89480522 JH |
9778 | 2004-09-08 Jan Hubicka <jh@suse.cz> |
9779 | ||
9780 | * cgraph.c (cgraph_remove_node): Free DECL_INITIAL field of node. | |
9781 | * cgraphunit.c (verify_cgraph): Don't verify on syntax errors. | |
9782 | (cgraph_expand_function): Remove stale cgraph edges of currently | |
9783 | compiled function; fix non-unit-at-a-time code copying function | |
9784 | node for later reuse. | |
9785 | ||
4c254e68 NS |
9786 | 2004-09-08 Nathan Sidwell <nathan@codesourcery.com> |
9787 | ||
9788 | * vec.c (vec_p_reserve, vec_o_reserve): Rename to ... | |
9789 | (vec_gc_p_reserve, vec_gc_o_reserve): ... here. Clone to | |
9790 | (vec_heap_p_reserve, vec_heap_o_reserve): ... here, adjust. | |
9791 | (vec_gc_free, vec_heap_free): New. | |
9792 | * vec.h (DEF_VEC_GC_P, DEF_VEC_MALLOC_P): New. | |
9793 | (DEF_VEC_P): Add allocator argument. Adjust. | |
9794 | (DEF_VEC_GC_O, DEF_VEC_MALLOC_O): New. | |
9795 | (DEF_VEC_O): Add allocator argument. Adjust. | |
9796 | (VEC(free)): New. | |
9797 | ||
9798 | * tree.h (tree): Define a GC'd vector. | |
9799 | * lamba-code.c (lambda_loop): Likewise. | |
9800 | * value-prof.h (histogram_value): Likewise. | |
4c254e68 | 9801 | |
5b0264cb NS |
9802 | 2004-09-08 Nathan Sidwell <nathan@codesourcery.com> |
9803 | ||
9804 | * emit-rtl.c (immed_double_const): Use gcc_assert and gcc_unreachable. | |
9805 | (gen_rtx_SUBREG, gen_reg_rtx, mark_user_reg, subreg_hard_regno, | |
9806 | gen_lowpart_common, gen_highpart, gen_highpart_mode, | |
9807 | subreg_highpart_offset, operand_subword, operand_subword_force, | |
9808 | mem_expr_equal_p, set_mem_attributes_minus_bitpos, | |
9809 | set_mem_alias_set, change_address_1, verify_rtx_sharing, | |
9810 | copy_most_rtx, set_first_insn, set_last_insn, prev_cc0_setter, | |
9811 | try_split, add_insn_after, add_insn_before, remove_insn, | |
9812 | remove_unnecessary_notes, emit_insn_before, emit_jump_insn_before, | |
9813 | emit_call_insn_before, emit_insn_after, emit_jump_insn_after, | |
9814 | emit_call_insn_after, emit_insn, emit_jump_insn, emit_call_insn, | |
9815 | set_unique_reg_note, emit, push_to_full_sequence, copy_insn_1, | |
9816 | gen_const_vector_0, emit_copy_of_insn_after): Likewise. | |
9817 | * et-forest.c (set_prev, set_next, et_check_occ_sanity, | |
9818 | record_path_before_1, check_path_after_1, check_path_after): Likewise. | |
9819 | * except.c (gen_eh_region, resolve_one_fixup_region, | |
9820 | remove_unreachable_regions, convert_from_eh_region_ranges_1, | |
9821 | add_ehl_entry, duplicate_eh_region_1, build_post_landing_pads, | |
9822 | connect_post_landing_pads, sjlj_emit_function_exit, | |
9823 | remove_exception_handler_label, remove_eh_handler, | |
9824 | reachable_next_level, collect_one_action_chain, | |
9825 | output_function_exception_table): Likewise. | |
9826 | * explow.c (trunc_int_for_mode, copy_to_mode_reg, | |
9827 | optimize_save_area_alloca, allocate_dynamic_stack_space, | |
9828 | probe_stack_range, hard_function_value): Likewise. | |
9829 | * expmed.c (mode_for_extraction, store_bit_field, | |
9830 | store_fixed_bit_field, extract_bit_field, expand_shift, | |
9831 | expand_mult_const, expand_mult, choose_multiplier, | |
9832 | expand_mult_highpart, expand_divmod, emit_store_flag, | |
9833 | do_cmp_and_jump): Likewise. | |
9834 | * expr.c (convert_move, convert_modes, move_by_pieces, | |
9835 | move_by_pieces_ninsns, move_by_pieces_1, emit_block_move, | |
9836 | move_block_from_reg, gen_group_rtx, emit_group_load, | |
9837 | emit_group_move, emit_group_store, use_reg, use_regs, | |
9838 | can_store_by_pieces, store_by_pieces, store_by_pieces_1, | |
9839 | emit_move_insn, emit_move_insn_1, emit_push_insn, | |
9840 | expand_assignment, store_expr, count_type_elements, | |
9841 | store_constructor, store_field, safe_from_p, expand_var, | |
9842 | expand_expr_addr_expr, expand_expr_real_1, do_store_flag): Likewise. | |
9843 | ||
ced3f397 NS |
9844 | 2004-09-08 Nathan Sidwell <nathan@codesourcery.com> |
9845 | ||
9846 | * dbxout.c (dbxout_type, dbxout_type_name, dbxout_symbol): Use | |
9847 | gcc_assert and gcc_unreachable. | |
9848 | * ddg.c (create_ddg_dependence, add_deps_for_def, | |
9849 | add_deps_for_use, create_ddg, add_edge_to_ddg): Likewise. | |
9850 | * df.c (df_ref_unlink, df_ref_record, df_uses_record, | |
9851 | df_reg_def_chain_create, df_reg_use_chain_create, df_analyze, | |
9852 | df_insn_delete, df_refs_reg_replace, df_ref_reg_replace, | |
9853 | df_insns_modify, df_pattern_emit_before, df_bb_reg_live_start_p, | |
9854 | df_bb_reg_live_end_p, df_bb_regs_lives_compare, | |
9855 | df_bb_single_def_use_insn_find, dataflow_set_a_op_b, | |
9856 | dataflow_set_copy, hybrid_search, diagnostic.c, | |
9857 | diagnostic_build_prefix, diagnostic_count_diagnostic): Likewise. | |
9858 | * dojump.c (do_jump): Likewise. | |
9859 | * dominance.c (calc_dfs_tree_nonrec, calc_dfs_tree, | |
9860 | compute_dom_fast_query, calculate_dominance_info, | |
9861 | free_dominance_info, get_immediate_dominator, | |
9862 | set_immediate_dominator, get_dominated_by, | |
9863 | redirect_immediate_dominators, nearest_common_dominator, | |
9864 | dominated_by_p, verify_dominators, recount_dominator, | |
9865 | iterate_fix_dominators, add_to_dominance_info, | |
9866 | delete_from_dominance_info): Likewise. | |
9867 | * dwarf2asm.c (size_of_encoded_value, eh_data_format_name, | |
9868 | dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128, | |
9869 | dw2_force_const_mem, dw2_asm_output_encoded_addr_rtx): Likewise. | |
9870 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes, reg_save, | |
9871 | initial_return_save, stack_adjust_offset, dwarf2out_stack_adjust, | |
9872 | flush_queued_reg_saves, dwarf2out_frame_debug_expr, | |
9873 | dwarf2out_frame_debug, dw_cfi_oprnd1_desc, output_cfi, | |
9874 | output_call_frame_info, output_loc_operands, build_cfa_loc, | |
9875 | decl_ultimate_origin, AT_flag, AT_int, AT_unsigned, AT_string, | |
9876 | AT_string_form, add_AT_specification, AT_ref, set_AT_ref_external, | |
9877 | AT_loc, AT_loc_list, AT_addr, AT_lbl, add_child_die, | |
9878 | splice_child_die, attr_checksum, same_dw_val_p, | |
9879 | break_out_includes, build_abbrev_table, size_of_die, mark_dies, | |
9880 | unmark_dies, value_format, output_loc_list, output_die, | |
9881 | output_pubnames, output_aranges, base_type_die, is_base_type, | |
9882 | modified_type_die, dbx_reg_number, multiple_reg_loc_descriptor, | |
9883 | mem_loc_descriptor, loc_descriptor, loc_descriptor_from_tree_1, | |
9884 | field_byte_offset, add_data_member_location_attribute, | |
9885 | add_const_value_attribute, rtl_for_decl_location, | |
9886 | add_location_or_const_value_attribute, add_byte_size_attribute, | |
9887 | add_bit_offset_attribute, add_bit_size_attribute, | |
9888 | add_abstract_origin_attribute, pop_decl_scope, scope_die_for, | |
9889 | decl_start_label, gen_formal_parameter_die, | |
9890 | gen_type_die_for_member, gen_subprogram_die, gen_label_die, | |
9891 | gen_typedef_die, gen_type_die, gen_tagged_type_instantiation_die, | |
9892 | force_decl_die, force_type_die, gen_decl_die, | |
9893 | dwarf2out_imported_module_or_decl, prune_unused_types_prune, | |
9894 | dwarf2out_finish): Likewise. | |
9895 | ||
faaaf610 AT |
9896 | 2004-09-08 Andreas Tobler <toa@pop.agri.ch> |
9897 | ||
9898 | * Makefile.in (builtins.o): Depend on tree-mudflap.h. | |
9899 | * builtins.c: Include tree-mudflap.h. | |
9900 | ||
45c8c47f UB |
9901 | 2004-09-08 Uros Bizjak <uros@kss-loka.si> |
9902 | ||
9903 | * config/i386/i386.c (ix86_prepare_fp_compare_args): Do not | |
9904 | force operand 0.0 into register in XFmode. Also do not force | |
9905 | operand 0.0 into register if !TARGET_CMOVE. | |
9906 | * config/i386/i386.md (*cmpfp_0): Delete. Remove comment. | |
667bbbbb | 9907 | (*cmpfp_0_sf, cmpfp_0_df, cmpfp_0_xf): New patterns to |
45c8c47f UB |
9908 | implement ftst x87 instruction. |
9909 | (*fp_jcc_7): New insn pattern. Change corresponding split | |
9910 | pattern to handle "general_operand" instead of | |
9911 | "nonimmediate_operand". | |
9912 | ||
70d5fb1c BE |
9913 | 2004-09-08 Ben Elliston <bje@au.ibm.com> |
9914 | ||
9915 | * doc/rtl.texi (Insns): Document NOTE_INSN_FUNCTION_BEG. | |
9916 | ||
4882ad24 FCE |
9917 | 2004-09-07 Frank Ch. Eigler <fche@redhat.com> |
9918 | ||
9919 | * builtins.c (std_gimplify_va_arg_expr): Mark INDIRECT_REF nodes | |
9920 | generated from standard va_arg expansion. | |
9921 | * tree-mudflap.c (mx_xform_derefs_1): Omit instrumentation from | |
9922 | marked nodes. | |
9923 | (mf_varname_tree, mf_file_function_line_tree): Add some support | |
9924 | for column numbers if compiled with USE_MAPPED_LOCATION. | |
9925 | ||
06f624ba ZL |
9926 | 2004-09-07 Ziemowit Laski <zlaski@apple.com> |
9927 | ||
9928 | * c-decl.c (groktypename_in_parm_context): Remove function. | |
9929 | * c-tree.h (groktypename_in_parm_context): Remove prototype. | |
9930 | ||
6408ef33 ZL |
9931 | 2004-09-07 Ziemowit Laski <zlaski@apple.com> |
9932 | ||
9933 | * Makefile.in (c-parse.o): Depend on $(C_COMMON_H). | |
9934 | * c-parse.in: Include c-common.h instead of objc-act.h. | |
9935 | (ivar_decl_list, ivar_decls, ivar_decl, ivars, ivar_declarator, | |
9936 | myparms, myparm): Remove %type declarations. | |
9937 | (methodtype, optparms, OBJC_TYPE_QUAL, objc_quals, objc_qual, | |
9938 | objc_typename, objc_try_catch_stmt, optellipsis): Add %type | |
9939 | declarations. | |
9940 | (objc_inherit_code, objc_public_flag): Remove. | |
9941 | (typespec_nonreserved_nonattr): Call | |
9942 | objc_get_protocol_qualified_type() instead of get_static_reference() | |
9943 | and get_protocol_reference(). | |
9944 | (stmt_nocomp): Call grokparm() on @catch parameter. | |
9945 | (objcdef): Move semantic action to objc_finish_implementation(). | |
9946 | (classdef): Move semantic action to objc_start_class_interface(), | |
9947 | objc_continue_interface(), objc_finish_interface(), | |
9948 | objc_start_class_implementation(), objc_continue_implementation(), | |
9949 | objc_start_category_interface() and | |
9950 | objc_start_category_implementation(). | |
9951 | (protocoldef): Move semantic actions to objc_start_protocol() and | |
9952 | objc_finish_interface(). | |
9953 | (ivar_decl_list): Remove nonterminal. | |
9954 | (visibility_spec): Move semantic actions to objc_set_visibility(). | |
9955 | (ivar_decls): Remove assignment to $$. | |
9956 | (ivar_decl): Rephrase in terms of component_decl; call | |
9957 | objc_add_instance_variable(). | |
9958 | (ivars, ivar_declarator): Remove nonterminals. | |
9959 | (opt_semi): New nonterminal. | |
9960 | (methodtype): Remove semantic actions. | |
9961 | (methoddef): Move semantic actions to objc_set_method_type(), | |
9962 | objc_start_method_definition() and objc_finish_method_definition(). | |
9963 | (methodproto): Move semantic actions to objc_set_method_type() and | |
9964 | objc_add_method_declaration(). | |
9965 | (methoddecl): Use objc_typename instead of typename; move semantic | |
9966 | actions to objc_build_method_signature(). | |
9967 | (optarglist, myxdecls, mydecl, myparms, myparm): Remove nonterminals. | |
9968 | (optparmlist): Express in terms of optparms and optellipsis. | |
9969 | (optparms, optellipsis, objc_qual, objc_quals, objc_typename): New | |
9970 | nonterminals. | |
9971 | (keyworddecl): Use objc_typename instead of typename. | |
9972 | (rid_to_yy): Mark RID_IN, RID_OUT, RID_INOUT, RID_BYCOPY, RID_BYREF | |
9973 | and RID_ONEWAY as returning OBJC_TYPE_QUAL to yyparse(). | |
9974 | ||
8662eb14 AM |
9975 | 2004-09-08 Alan Modra <amodra@bigpond.net.au> |
9976 | ||
9977 | * doc/tm.texi (MD_UNWIND_SUPPORT): Document. | |
9978 | (MD_FALLBACK_FRAME_STATE_FOR): Update. | |
9979 | * unwind-dw2.c (MD_UNWIND_SUPPORT): #include if defined. | |
9980 | (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation. | |
9981 | (MD_FROB_UPDATE_CONTEXT): Remove default. | |
9982 | (uw_update_context_1): Instead #ifdef invocation. | |
9983 | * config/ia64/unwind-ia64.c (MD_UNWIND_SUPPORT): #include if defined. | |
9984 | (uw_frame_state_for): Adjust MD_FALLBACK_FRAME_STATE_FOR invocation. | |
9985 | * config/alpha/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Don't undef. | |
9986 | (MD_UNWIND_SUPPORT): Undefine this instead. | |
9987 | * config/i386/gnu.h: Likewise. | |
9988 | * config/alpha/linux-unwind.h: New file, macro converted to | |
9989 | function, extracted from.. | |
9990 | * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): ..this. | |
9991 | (MD_UNWIND_SUPPORT): Define. | |
9992 | * config/alpha/vms-unwind.h, config/alpha/vms.h: Likewise. | |
9993 | * config/i386/linux-unwind.h, config/i386/linux.h, | |
9994 | config/i386/linux64.h: Likewise. | |
9995 | * config/ia64/linux-unwind.h, config/ia64/linux.h: Likewise. | |
9996 | MD_HANDLE_UNWABI too. | |
9997 | * config/mips/linux-unwind.h, config/mips/linux.h: Likewise. | |
9998 | * config/pa/linux-unwind.h, config/pa/pa32-linux.h: Likewise. | |
9999 | * config/rs6000/darwin-unwind.h, config/rs6000/darwin.h: Likewise. | |
10000 | * config/s390/linux-unwind.h, config/s390/linux.h: Likewise. | |
10001 | * config/sparc/linux-unwind.h, config/sparc/linux.h, | |
10002 | config/sparc/linux64.h: Likewise. | |
10003 | * config/sh/linux-unwind.h, config/sh/linux.h: Likewise, but merge | |
10004 | SH_FALLBACK_FRAME_FLOAT_STATE into sh_fallback_frame_state. | |
10005 | * config/rs6000/linux-unwind.h, config/rs6000/linux.h, | |
10006 | config/rs6000/linux64.h: Likewise. Split out get_sigcontext | |
10007 | function. Use ARG_POINTER_REGNUM for 32-bit temp reg too. | |
10008 | ||
c4817ba6 JH |
10009 | 2004-09-07 Jan Hubicka <jh@suse.cz> |
10010 | ||
ec666d23 JH |
10011 | * cse.c (fold_rtx): Avoid building of |
10012 | (CONST (MINUS (CONST_INT) (SYMBOL_REF))) | |
10013 | ||
c4817ba6 JH |
10014 | * tree-ssa-pre.c (grand_bitmap_obstack): New. |
10015 | (value_insert_into_set_bitmap, bitmap_set_new): Use the obstack. | |
10016 | (init_pre): Initialize obstack. | |
10017 | (fini_pre): Free obstack. | |
10018 | ||
9f0df97a DD |
10019 | 2004-09-07 David Daney <ddaney@avtrex.com> |
10020 | ||
10021 | * config.gcc: Added support for --with-divide=[breaks|traps] for | |
10022 | mips targets. | |
10023 | * config/mips/mips.h (MASK_DIVIDE_BREAKS): New target_flags bit. | |
10024 | (TARGET_DIVIDE_TRAPS): New macro. | |
10025 | (TARGET_SWITCHES): Added -mdivide-traps and -mdivide-breaks. | |
10026 | (OPTION_DEFAULT_SPECS): Added --with-divide= support. | |
10027 | * config/mips/mips.c (mips_idiv_insns): Generate proper count on | |
10028 | GENERATE_DIVIDE_TRAPS. | |
10029 | (mips_output_division): Emit conditional trap if | |
10030 | GENERATE_DIVIDE_TRAPS is set. | |
10031 | * doc/install.texi: Document --with-divide. | |
10032 | * doc/invoke.texi: Document -mdivide-traps and -mdivide-breaks. | |
10033 | ||
9beb1c84 CT |
10034 | 2004-09-07 Caroline Tice <ctice@apple.com> |
10035 | ||
10036 | * cfgrtl.c (rtl_verify_flow_info_1): Add new edge flag, | |
10037 | EDGE_CROSSING, to flags test case. | |
667bbbbb | 10038 | |
1905940f JH |
10039 | 2004-09-07 Jan Hubicka <jh@suse.cz> |
10040 | ||
10041 | * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Deal with '<' | |
10042 | class too. | |
10043 | ||
341c100f NS |
10044 | 2004-09-07 Nathan Sidwell <nathan@codesourcery.com> |
10045 | ||
10046 | * cfganal.c (flow_depth_first_order_compute, dfs_enumerate_from, | |
10047 | cfgbuild.c, inside_basic_block_p, control_flow_insn_p, | |
10048 | make_label_edge, make_edges, find_basic_blocks_1): Use gcc_assert | |
10049 | or gcc_unreachable. | |
10050 | * cfg.c (clear_edges, initialize_bb_rbi, compact_blocks, | |
10051 | remove_edge, alloc_aux_for_blocks, free_aux_for_blocks, | |
10052 | alloc_aux_for_edges, free_aux_for_edges): Likewise. | |
10053 | * cfgcleanup.c (try_forward_edges, | |
10054 | merge_blocks_move_predecessor_nojumps, | |
10055 | merge_blocks_move_successor_nojumps): Likewise. | |
10056 | * cfgexpand.c (expand_gimple_cond_expr, | |
10057 | expand_gimple_tailcall): Likewise. | |
10058 | * cfghooks.c (duplicate_block): Likewise. | |
10059 | * cfglayout.c (record_effective_endpoints, | |
10060 | insn_locators_initialize, change_scope, fixup_reorder_chain, | |
10061 | verify_insn_chain, fixup_fallthru_exit_predecessor, | |
10062 | duplicate_insn_chain, cfg_layout_finalize): Likewise. | |
10063 | * cfgloopanal.c (check_irred): Likewise. | |
10064 | * cfgloop.c (superloop_at_depth, flow_loops_free, | |
10065 | flow_loop_entry_edges_find, flow_loops_find, | |
10066 | flow_loop_outside_edge_p, get_loop_body, | |
10067 | get_loop_body_in_dom_order, get_loop_body_in_bfs_order, | |
10068 | get_loop_exit_edges, num_loop_branches, cancel_loop, | |
10069 | verify_loop_structure): Likewise. | |
10070 | cfgloopmanip.c (find_path, remove_path, loop_delete_branch_edge, | |
10071 | duplicate_loop_to_header_edge, create_preheader, | |
10072 | create_loop_notes): Likewise. | |
10073 | * cfgrtl.c (delete_insn, try_redirect_by_replacing_jump, | |
10074 | edirect_branch_edge, force_nonfallthru_and_redirect, | |
10075 | rtl_split_edge, insert_insn_on_edge, commit_one_edge_insertion, | |
10076 | commit_edge_insertions, commit_edge_insertions_watch_calls, | |
10077 | purge_dead_edges, cfg_layout_redirect_edge_and_branch, | |
10078 | cfg_layout_redirect_edge_and_branch_force, | |
10079 | cfg_layout_merge_blocks, rtl_flow_call_edges_add): Likewise. | |
10080 | * cgraph.c (cgraph_node, cgraph_create_edge, cgraph_remove_edge, | |
10081 | cgraph_redirect_edge_callee, cgraph_global_info, cgraph_rtl_info, | |
10082 | cgraph_varpool_node): Likewise. | |
10083 | * cgraphunit.c (cgraph_finalize_function, | |
10084 | cgraph_finalize_compilation_unit, cgraph_mark_functions_to_output, | |
10085 | cgraph_expand_function, cgraph_remove_unreachable_nodes, | |
10086 | cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
10087 | cgraph_mark_inline, cgraph_expand_all_functions, | |
10088 | cgraph_build_static_cdtor): Likewise. | |
10089 | * combine.c (do_SUBST, try_combine, subst, combine_simplify_rtx, | |
10090 | simplify_logical, distribute_notes, insn_cuid): Likewise. | |
10091 | * conflict.c (conflict_graph_add, print_conflict): Likewise. | |
10092 | * coverage.c (rtl_coverage_counter_ref, tree_coverage_counter_ref, | |
10093 | coverage_checksum_string): Likewise. | |
10094 | * cse.c (make_new_qty, make_regs_eqv, insert, invalidate, | |
10095 | hash_rtx, exp_equiv_p, cse_basic_block, count_reg_usage, | |
10096 | cse_cc_succs, cse_condition_code_reg): Likewise. | |
10097 | * cselib.c (entry_and_rtx_equal_p, remove_useless_values, | |
10098 | rtx_equal_for_cselib_p, wrap_constant, cselib_hash_rtx, | |
10099 | new_cselib_val, cselib_subst_to_values, cselib_invalidate_regno, | |
10100 | cselib_record_set): Likewise. | |
10101 | ||
6b094f38 JH |
10102 | 2004-09-07 Jan Hubicka <jh@suse.cz> |
10103 | ||
10104 | * tree-ssa-loop-ivopts.c (iv_value): Avoid invalid sharing on niter. | |
10105 | ||
5212068f NS |
10106 | 2004-09-07 Nathan Sidwell <nathan@codesourcery.com> |
10107 | ||
10108 | * builtins.c (fold_builtin_strchr): Use build_int_cst, not | |
10109 | fold_convert. | |
10110 | (fold_builtin_strpbrk): Likewise. | |
10111 | * expr.c (array_ref_low_bound): Likewise. | |
10112 | * tree-scalar-evolution.c (chrec_is_positive, add_to_evolution_1, | |
10113 | interpret_rhs_modify_expr, number_of_iterations_in_loop): Likewise. | |
10114 | * tree-sra.c (generate_element_zero): Likewise. | |
10115 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. | |
10116 | * tree-ssa-loop-ivopts.c (determine_biv_step, idx_find_step, | |
10117 | add_old_iv_candidates, add_iv_candidates): Likewise. | |
10118 | * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise. | |
10119 | ||
366de0ce NS |
10120 | 2004-09-07 Nathan Sidwell <nathan@codesourcery.com> |
10121 | ||
10122 | * c-aux-info.c (gen_type): Use gcc_assert or gcc_unreachable. | |
10123 | * c-common.c (c_type_hash, c_common_nodes_and_builtins, | |
10124 | c_expand_expr, boolean_increment, nonnull_check_p, | |
10125 | check_function_arguments_recurse, fold_offsetof_1): Likewise. | |
10126 | * c-cppbuiltin.c (define__GNUC__, builtin_define_stdint_macros, | |
10127 | builtin_define_type_max): Likewise. | |
10128 | * c-decl.c (bind, pop_scope, merge_decls, pushdecl_top_level, | |
10129 | implicit_decl_warning, builtin_function, build_compound_literal, | |
10130 | complete_array_type, grokdeclarator, get_parm_info, | |
10131 | start_function, store_parm_decls_oldstyle, | |
10132 | c_write_global_declarations): Likewise. | |
10133 | * c-format.c (get_constant, decode_format_attr, | |
10134 | maybe_read_dollar_number, get_flag_spec, check_format_arg, | |
10135 | check_format_types, format_type_warning, | |
10136 | find_char_info_specifier_index, init_dynamic_asm_fprintf_info, | |
10137 | init_dynamic_diag_info, handle_format_attribute): Likewise. | |
667bbbbb | 10138 | * c-gimplify.c (push_context, pop_context, finish_bc_block): |
366de0ce NS |
10139 | * c-lex.c (c_lex_with_flags, lex_string): Likewise. |
10140 | * c-objc-common.c (c_tree_printer): Likewise. | |
10141 | * c-pch.c (pch_init): Likewise. | |
10142 | * c-pragma.c (maybe_apply_pragma_weak): Likewise. | |
10143 | * c-pretty-print.c (pp_c_tree_decl_identifier): Likewise. | |
10144 | * c-typeck.c (c_incomplete_type_error, composite_type, | |
10145 | common_pointer_type, common_type, same_translation_unit_p, | |
10146 | tagged_types_tu_compatible_p, finish_init, pop_init_level, | |
10147 | set_designator, set_nonincremental_init_from_string, | |
10148 | process_init_element, c_finish_if_stmt): Likewise. | |
10149 | * caller-save.c (init_caller_save, save_call_clobbered_regs, | |
10150 | insert_restore, insert_save, insert_one_insn): Likewise. | |
10151 | * calls.c (emit_call_1, compute_argument_block_size, | |
10152 | precompute_arguments, expand_call, emit_library_call_value_1, | |
10153 | store_one_arg): Likewise. | |
10154 | ||
e1bbfc5c NS |
10155 | 2004-09-07 Nathan Sidwell <nathan@codesourcery.com> |
10156 | ||
10157 | * configure.ac (enable-checking): Add release option. Reorganize | |
10158 | to avoid repetition. | |
10159 | * configure: Rebuilt. | |
10160 | * doc/install.texi (enable-checking): Amend documentation. | |
10161 | ||
e64dc647 L |
10162 | 2004-09-06 H.J. Lu <hongjiu.lu@intel.com> |
10163 | ||
10164 | PR bootstrap/17313 | |
10165 | * Makefile.in (specs.ready): Depend on cc1$(exeext). | |
10166 | ||
d3a583b1 JW |
10167 | 2004-09-06 James E Wilson <wilson@specifixinc.com> |
10168 | ||
cfd8e493 JW |
10169 | * config/mips/mips.md (movsf_hardfloat, movdf_hardfloat_64bit, |
10170 | movdf_hardfloat_32bit): Split fG into two alternatives. | |
10171 | (movv2sf_hardfloat_64bit): Split fYG into two alternatives. | |
10172 | ||
d3a583b1 JW |
10173 | * emit-rtl.c (try_split): Check INSN_P before may_trap_p call. |
10174 | ||
ff8cea7e EB |
10175 | 2004-09-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
10176 | ||
10177 | * final.c (output_in_slot): Delete. | |
10178 | (final_scan_insn): Revert 2004-09-03 change. | |
10179 | (output_asm_insn): Likewise. | |
10180 | * config/sparc/sparc.c (output_return): Likewise. | |
10181 | (output_sibcall): Likewise. | |
10182 | ||
8679c649 JH |
10183 | 2004-09-06 Jan Hubicka <jh@suse.cz> |
10184 | ||
10185 | * loop.c (loop_dump_aux): Do not print RTL when not available. | |
10186 | * tree-ssa-loop-ivopts.c (add_standard_iv_candidates): Do not use | |
10187 | frontend specific type nodes. | |
10188 | (produce_memory_decl_rtl): Break out from ... | |
10189 | (prepare_decl_rtl): ... here. Handle ADDR_EXPR correctly. | |
10190 | (get_computation_at): Avoid random tree sharing. | |
10191 | (tree_ssa_iv_optimize): Verify tree sharing; dump loops. | |
10192 | ||
93f8bd9e ZW |
10193 | 2004-09-06 Zack Weinberg <zack@codesourcery.com> |
10194 | ||
10195 | * Makefile.in (rtl.o, bitmap.o): Correct dependencies, remove | |
10196 | unnecessary commands. | |
10197 | ||
c802a859 ME |
10198 | 2004-09-06 Mohan Embar <gnustuff@thisiscool.com> |
10199 | ||
10200 | * Makefile.in (rtl.o): Remove -DGENERATOR_FILE. | |
10201 | (bitmap.o): Likewise. | |
10202 | ||
9f8628ba PB |
10203 | 2004-09-06 Paolo Bonzini <bonzini@gnu.org> |
10204 | ||
10205 | Unify the management of RTL and tree-level dump files. | |
10206 | ||
10207 | * cfgexpand.c (tree_expand_cfg): Fix incorrect comment. | |
10208 | Don't print function name to the dump file, the pass manager | |
10209 | would do this for us. Add code from the top of | |
10210 | rest_of_compilation, up to the initial RTL dump. | |
10211 | * passes.c (rest_of_handle_jump): Call fixup_tail_calls and | |
10212 | close the DFI_sibling dump file. | |
10213 | (rest_of_compilation): Don't do that here. Remove code up to the | |
10214 | initial RTL dump. | |
10215 | (init_optimization_passes): Remove. | |
10216 | (pass_rest_of_compilation): Change pass name to NULL. | |
10217 | * toplev.c (lang_dependent_init): Do not use an empty dump file prefix. | |
10218 | Do not call init_optimization_passes. | |
10219 | * toplev.h (init_optimization_passes): Remove. | |
10220 | ||
10221 | * graph.c (print_rtl_graph_with_bb, clean_graph_dump_file, | |
10222 | finish_graph_dump_file): Remove SUFFIX parameter. | |
10223 | * graph.h (print_rtl_graph_with_bb, clean_graph_dump_file, | |
10224 | finish_graph_dump_file): Likewise. | |
10225 | ||
10226 | * tree-pass.h (struct tree_opt_pass): Add `letter' field. | |
10227 | * cfgexpand.c (pass_expand): Adjust. | |
10228 | * gimple-low.c (pass_lower_cf, pass_remove_useless_vars): Adjust. | |
10229 | * passes.c (pass_rest_of_compilation): Adjust. | |
10230 | * predict.c (pass_profile): Adjust. | |
10231 | * tree-alias-common.c (pass_build_pta, pass_del_pta): Adjust. | |
10232 | * tree-cfg.c (pass_build_cfg, pass_remove_useless_stmts, | |
10233 | pass_split_crit_edges, pass_warn_function_return): Adjust. | |
10234 | * tree-complex.c (pass_lower_vector_ssa, pass_pre_expand): Adjust. | |
10235 | * tree-dfa.c (pass_referenced_vars): Adjust. | |
10236 | * tree-eh.c (pass_lower_eh): Adjust. | |
10237 | * tree-if-conv.c (pass_build_ssa): Adjust. | |
10238 | * tree-into-ssa.c (pass_build_ssa): Adjust. | |
10239 | * tree-mudflap.c (pass_mudflap_1, pass_mudflap_2): Adjust. | |
10240 | * tree-nomudflap.c (pass_mudflap_1, pass_mudflap_2): Adjust. | |
10241 | * tree-nrv.c (pass_nrv): Adjust. | |
10242 | * tree-optimize.c (pass_gimple, pass_all_optimizations, | |
10243 | pass_cleanup_cfg_post_optimizing, pass_free_datastructures, | |
10244 | pass_init_datastructures): Adjust. | |
10245 | * tree-outof-ssa.c (pass_del_ssa): Adjust. | |
10246 | * tree-profile.c (pass_tree_profile): Adjust. | |
10247 | * tree-sra.c (pass_sra): Adjust. | |
10248 | * tree-ssa-alias.c (pass_may_alias): Adjust. | |
10249 | * tree-ssa-ccp.c (pass_ccp, pass_fold_builtins): Adjust. | |
10250 | * tree-ssa-copyrename.c (pass_rename_ssa_copies): Adjust. | |
10251 | * tree-ssa-dce.c (pass_dce, pass_cd_dce): Adjust. | |
10252 | * tree-ssa-dom.c (pass_dominator): Adjust. | |
10253 | * tree-ssa-dse.c (pass_dse): Adjust. | |
10254 | * tree-ssa-forwprop.c (pass_forwprop): Adjust. | |
10255 | * tree-ssa-if-conv.c (pass_if_conversion): Adjust. | |
10256 | * tree-ssa-loop-ch.c (pass_ch): Adjust. | |
10257 | * tree-ssa-loop.c (pass_loop, pass_loop_init, pass_lim, | |
10258 | pass_loop_done, pass_complete_unroll, pass_iv_canon, | |
10259 | pass_iv_optimize, pass_vectorize): Adjust. | |
10260 | * tree-ssa-phiopt.c (pass_phiopt): Adjust. | |
10261 | * tree-ssa-pre.c (pass_pre, pass_fre): Adjust. | |
10262 | * tree-ssa.c (pass_redundant_phi, pass_early_warn_uninitialized, | |
10263 | pass_late_warn_uninnitialized): Adjust. | |
10264 | * tree-tailcall.c (pass_tail_recursion, pass_tail_calls): Adjust. | |
10265 | ||
10266 | * Makefile.in (tree-dump.o): Add new dependencies. | |
10267 | * cgraph.c (cgraph_remove_node): TDF_all -> TDF_tree_all. | |
10268 | * cgraphunit.c (cgraph_preserve_function_body_p, cgraph_optimize): | |
10269 | Likewise. | |
10270 | * toplev.c (dump_file_name): New. | |
10271 | * tree-dump.c (dump_enable_all): Add LETTER parameter. | |
10272 | (struct dump_file_info): Add NUM and LETTER fields. | |
10273 | (dump_files): Adjust and add RTL dump files. | |
10274 | (dump_register): Add NUM and LETTER fields. | |
10275 | (get_dump_file_name, dump_initialized_p, enable_rtl_dump_file): New. | |
10276 | (dump_begin): Use get_dump_file_name. | |
10277 | (dump_switch_p_1): Adjust call to dump_enable_all. | |
10278 | * tree-dump.h (dump_register): Adjust prototype. | |
10279 | * tree-optimize.c (register_one_dump_file): Take dump file index. | |
10280 | Support flags for RTL dumps. | |
10281 | (register_dump_files): Fill in NUM field of struct dump_file_info. | |
10282 | Track properties both when the gate is executed and when it is not. | |
10283 | (execute_todo): Dump RTL. Add PROPERTIES parameter. | |
10284 | (execute_one_pass): Pass properties to execute_todo. Handle VCG | |
10285 | dumps of RTL. | |
10286 | * tree-pass.h (dump_file_name): New. | |
10287 | * tree.h (TDF_TREE, TDF_RTL, get_dump_file_name, dump_initialized_p): | |
10288 | New. | |
10289 | ||
10290 | * Makefile.in (passes.o): Add new dependencies. | |
10291 | * passes.c (struct dump_file_info, enum dump_file_index, | |
10292 | dump_file_tbl, init_optimization_passes): Remove. | |
10293 | (open_dump_file, close_dump_file): Use tree-dumping infrastructure. | |
10294 | (rest_of_handle_new_regalloc, rest_of_handle_old_regalloc): Use | |
10295 | dump_enabled_p. | |
10296 | (finish_optimization_passes): Update finish_graph_dump_file loop. | |
10297 | (enable_rtl_dump_file): Remove. | |
10298 | * tree-dump.c (dump_files): Adjust and add RTL dump files. | |
10299 | (enable_rtl_dump_file): Add here. | |
10300 | * tree.h (enum tree_dump_index): Add RTL dump file indices. | |
10301 | * doc/invoke.texi (Debugging options): Document new RTL debugging | |
10302 | options. Update. | |
10303 | ||
8c27b7d4 KH |
10304 | 2004-09-05 Kazu Hirata <kazu@cs.umass.edu> |
10305 | ||
10306 | * c-common.c, c-decl.c, combine.c, defaults.h, fold-const.c, | |
10307 | gimplify.c, gthr-nks.h, hooks.c, lambda-code.c, lambda-mat.c, | |
10308 | stor-layout.c, target.h, tree-cfg.c, tree-chrec.c, | |
10309 | tree-if-conv.c, tree-inline.c, tree-into-ssa.c, | |
10310 | tree-mudflap.c, tree-optimize.c, tree-scalar-evolution.c, | |
10311 | tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dce.c, | |
10312 | tree-ssa-pre.c, tree-vectorizer.c, tree-vectorizer.h, tree.h, | |
10313 | vec.h: Fix comment formatting. | |
10314 | ||
2a7e31df KH |
10315 | 2004-09-05 Kazu Hirata <kazu@cs.umass.edu> |
10316 | ||
10317 | * c-common.c, cfgexpand.c, cgraphunit.c, defaults.h, | |
10318 | et-forest.c, expr.c, gimplify.c, global.c, gthr-lynx.h, | |
10319 | hard-reg-set.h, modulo-sched.c, optabs.c, postreload-gcse.c, | |
10320 | tree-data-ref.c, tree-flow.h, tree-if-conv.c, tree-inline.c, | |
10321 | tree-sra.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, | |
10322 | tree-ssa-loop-niter.c, tree-ssa-operands.c, | |
10323 | tree-ssa-operands.h, tree-ssa-propagate.c, | |
10324 | tree-ssa-propagate.h, tree-ssa-threadupdate.c, value-prof.c, | |
10325 | vec.c, vec.h: Fix comment typos. Follow spelling conventions. | |
10326 | ||
2addf926 DN |
10327 | 2004-09-05 Diego Novillo <dnovillo@redhat.com> |
10328 | ||
10329 | * tree-if-conv.c (gate_tree_if_conversion): Enable only if the | |
10330 | vectorizer is enabled. | |
10331 | ||
61b5f210 AJ |
10332 | 2004-09-05 Andreas Jaeger <aj@suse.de> |
10333 | ||
10334 | * tree-if-conv.c: Spell check comments and clean up whitespace. | |
10335 | ||
8b11a64c ZD |
10336 | 2004-09-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
10337 | ||
10338 | * tree-ssa-loop-ivopts.c: New file. | |
10339 | * Makefile.in (tree-ssa-loop-ivopts.c): Add. | |
10340 | * cfgloop.h (target_avail_regs, target_res_regs, target_small_cost, | |
10341 | target_pres_cost, target_spill_cost): Declare. | |
10342 | * cfgloopanal.c (avail_regs, res_regs, small_cost, pres_cost, | |
10343 | spill_cost): Renamed to ... | |
10344 | (target_avail_regs, target_res_regs, target_small_cost, | |
10345 | target_pres_cost, target_spill_cost): ... and exported. | |
10346 | (init_set_costs, global_cost_for_size): Work with renamed variables. | |
10347 | * common.opt (flag_ivopts): New flag. | |
10348 | * expr.c (expand_expr_real_1): Handle SSA_NAME case. Handle | |
10349 | REF_ORIGINAL. | |
10350 | * gimplify.c (struct gimplify_ctx): Add into_ssa field. | |
10351 | (internal_get_tmp_var, gimplify_modify_expr, gimplify_expr): Support | |
10352 | generating SSA form. | |
10353 | (force_gimple_operand): New function. | |
10354 | * timevar.def (TV_TREE_LOOP_IVOPTS): New timevar. | |
10355 | * tree-cfg.c (stmt_bsi): New function. | |
10356 | * params.def (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND, | |
10357 | PARAM_IV_MAX_CONSIDERED_USES): New. | |
10358 | * tree-flow.h (stmt_bsi, tree_ssa_iv_optimize, split_loop_exit_edge, | |
10359 | bsi_insert_on_edge_immediate_loop. standard_iv_increment_position, | |
10360 | ip_end_pos, ip_normal_pos, force_gimple_operand): Declare. | |
10361 | * tree-gimple.c (is_gimple_formal_tmp_var): Accept ssa names. | |
10362 | * tree-nested.c (build_addr): Export. | |
10363 | * tree-optimize.c (init_tree_optimization_passes): Add | |
10364 | pass_iv_optimize. | |
10365 | * tree-pass.h (pass_iv_optimize): Declare. | |
10366 | * tree-ssa-loop-im.c (for_each_index): Handle REALPART_EXPR and | |
10367 | IMAGPART_EXPR. | |
10368 | * tree-ssa-loop-manip.c (create_iv): Force the base to be acceptable | |
10369 | as a phi node argument. | |
10370 | (split_loop_exit_edge, bsi_insert_on_edge_immediate_loop, | |
10371 | ip_end_pos, ip_normal_pos, standard_iv_increment_position): New | |
10372 | functions. | |
10373 | * tree-ssa-loop-niter.c (zero_p, unsigned_type_for): Export. | |
10374 | * tree-ssa-loop.c (tree_ssa_loop_ivopts, gate_tree_ssa_loop_ivopts, | |
10375 | pass_iv_optimize): New pass. | |
10376 | * tree-ssa-operands.c (get_indirect_ref_operands): Handle REF_ORIGINAL. | |
10377 | * tree-ssanames.c (release_ssa_name): Allow calling with var = NULL. | |
10378 | * tree.c (build_int_cst_type, cst_and_fits_in_hwi): New functions. | |
10379 | * tree.h (REF_ORIGINAL): New macro. | |
10380 | (build_int_cst_type, unsigned_type_for, zero_p, | |
10381 | cst_and_fits_in_hwi, build_addr): Declare. | |
10382 | * doc/invoke.texi (-fivopts): Document. | |
10383 | (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND, | |
10384 | PARAM_IV_MAX_CONSIDERED_USES): Document. | |
10385 | * doc/passes.texi: Document induction variable optimizations pass. | |
10386 | ||
254986c7 KG |
10387 | 2004-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10388 | ||
10389 | * builtin-attrs.def (ATTR_NOTHROW_SENTINEL_1): New. | |
10390 | * builtins.def (BUILT_IN_EXECLE): Set ATTR_NOTHROW_SENTINEL_1. | |
10391 | * c-common.c (c_common_attribute_table): Accept parameters to | |
10392 | sentinel attribute. | |
10393 | (check_function_sentinel, handle_sentinel_attribute): Likewise. | |
10394 | * doc/extend.texi: Update accordingly. | |
10395 | ||
3d091dac KG |
10396 | 2004-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10397 | ||
10398 | * builtin-attrs.def (ATTR_SENTINEL, ATTR_SENTINEL_NOTHROW_LIST): | |
10399 | New. | |
10400 | * builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP): Add `sentinel' | |
10401 | attribute. | |
10402 | * c-common.c (handle_sentinel_attribute, check_function_sentinel): | |
10403 | New functions. | |
10404 | (c_common_attribute_table): Add `sentinel' attribute. | |
10405 | (check_function_arguments): Handle `sentinel' attribute. | |
10406 | * doc/extend.texi: Document `sentinel' attribute. | |
8f1529e6 | 10407 | |
44269c40 | 10408 | 2004-09-04 H.J. Lu <hongjiu.lu@intel.com> |
a60749f5 | 10409 | |
3d091dac KG |
10410 | * configure: Regenerated. |
10411 | ||
44269c40 KG |
10412 | 2004-09-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10413 | ||
875803a0 RK |
10414 | * gimplify.c (internal_get_tmp_var): Remove unused var CLASS. |
10415 | ||
c51c248f RK |
10416 | * tree.c (save_expr): No longer TREE_READONLY. |
10417 | ||
8d168c24 JH |
10418 | 2004-09-04 Jan Hubicka <jh@suse.cz> |
10419 | ||
10420 | * passes.c (rest_of_clean_state): Fix merge conflict made during | |
10421 | commiting the patch. | |
10422 | ||
0a9aeefd JH |
10423 | 2004-09-04 Jan Hubicka <jh@suse.cz> |
10424 | ||
10425 | * passes.c (rest_of_clean_state): Decompose the instruction stream. | |
10426 | ||
273a2526 RS |
10427 | 2004-09-04 Richard Sandiford <rsandifo@redhat.com> |
10428 | ||
10429 | * doc/md.texi (shift patterns): New anchor. Add reference to | |
10430 | TARGET_SHIFT_TRUNCATION_MASK. | |
10431 | * doc/tm.texi (TARGET_SHIFT_TRUNCATION_MASK): Document. | |
10432 | * target.h (shift_truncation_mask): New target hook. | |
10433 | * targhook.h (default_shift_truncation_mask): Declare. | |
10434 | * targhook.c (default_shift_truncation_mask): Define. | |
10435 | * target-def.h (TARGET_SHIFT_TRUNCATION_MASK): Define. | |
10436 | (TARGET_INITIALIZER): Include it. | |
10437 | * simplify-rtx.c (simplify_binary_operation): Combine ASHIFT, ASHIFTRT | |
10438 | and LSHIFTRT cases. Truncate arg1 if SHIFT_COUNT_TRUNCATED, otherwise | |
10439 | reject all out-of-range values. Fix sign-extension code for modes | |
10440 | whose width is smaller than HOST_BITS_PER_WIDE_INT. | |
10441 | * optabs.c (simplify_expand_binop, force_expand_binop): New functions. | |
10442 | (expand_superword_shift, expand_subword_shift): Likewise. | |
10443 | (expand_doubleword_shift_condmove, expand_doubleword_shift): Likewise. | |
10444 | (expand_binop): Use them to implement double-word shifts. | |
10445 | * config/arm/arm.c (arm_shift_truncation_mask): New function. | |
10446 | (TARGET_SHIFT_TRUNCATION_MASK): Define. | |
10447 | ||
caf29de7 JH |
10448 | 2004-09-04 Jan Hubicka <jh@suse.cz> |
10449 | ||
10450 | * tree.c (iterate_hash_expr): Optimize, avoid use of iterative_hash_object. | |
10451 | (mix): New macro copied from hashtab.c | |
10452 | (iterative_hash_hashval_t, iterative_hash_pointer, | |
10453 | iterative_hash_host_wide_int): New functions based on hashtab.c | |
10454 | implementation. | |
10455 | ||
e83adf94 RS |
10456 | 2004-09-04 Richard Sandiford <rsandifo@redhat.com> |
10457 | ||
10458 | * config/mips/mips.md (mask): New mode attribute. | |
10459 | (zero_extendsidi2): Add memory alternative. | |
10460 | (*zero_extendsidi2_mem): Delete. | |
10461 | (zero_extend[qh]i[sd]i2): Redefine using :GPR and :SHORT. Use | |
10462 | memory_operand in the TARGET_MIPS16 check. | |
10463 | (*zero_extend[qh]i[sd]i2{,_mips16}): Name previously unnamed patterns. | |
10464 | Redefine using :GPR and :SHORT. | |
10465 | (zero_extendqihi2): Use memory_operand in the TARGET_MIPS16 check. | |
10466 | ||
edeacc14 UB |
10467 | 2004-09-04 Uros Bizjak <uros@kss-loka.si> |
10468 | ||
10469 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_RINT{,F,L} | |
10470 | using rint_optab. | |
10471 | (expand_builtin): Expand BUILT_IN_RINT{,F,L} using | |
10472 | expand_builtin_mathfn. | |
10473 | * genopinit.c (optabs): Rename trunc_optab to btrunc_optab. Use | |
10474 | btrunc?f patterns for btrunc_optab. Implement rint_optab using | |
10475 | rint?f patterns. | |
10476 | * optabs.c (init_optabs): Initialize rint_optab. | |
10477 | * optabs.h (enum optab_index): Rename OTI_trunc to OTI_btrunc. | |
10478 | Add new OTI_rint. | |
10479 | (btrunc_optab): Rename macro from trunc_optab. | |
10480 | (rint_optab): Define corresponding macro. | |
10481 | ||
10482 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT_FLOOR, | |
10483 | UNSPEC_FRNDINT_CEIL, UNSPEC_FRNDINT_TRUNC, UNSPEC_FRNDINT_MASK_PM. | |
10484 | ||
10485 | * config/i386/i386-protos.h (emit_i387_cw_initialization): | |
10486 | Change prototype. Add new int parameter. | |
10487 | * config/i386/i386.c (emit_i387_cw_initialization): | |
10488 | Handle new rounding modes. | |
10489 | ||
10490 | * config/i386/i386.h (enum fp_cw_mode): Delete. | |
c9996000 | 10491 | (MODE_NEEDED): Handle new rounding modes. |
edeacc14 UB |
10492 | (EMIT_MODE_SET): Change condition to handle new rounding modes. |
10493 | ||
10494 | * config/i386/i386.md (UNSPEC_FRNDINT_FLOOR, UNSPEC_FRNDINT_CEIL, | |
10495 | UNSPEC_FRNDINT_TRUNC, UNSPEC_FRNDINT_MASK_PM): New unspecs to | |
10496 | represent different rounding modes of frndint insn. | |
10497 | (type): Add frndint type. | |
10498 | (i387, length, memory): Handle this type. | |
10499 | (i387_cw): New attribute definition. | |
10500 | (*fix_truncdi_1, fix_truncdi_nomemory, fix_truncdi_memory, | |
10501 | *fix_truncsi_1, fix_truncsi_nomemory, fix_truncsi_memory, | |
10502 | *fix_trunchi_1, fix_trunchi_nomemory, fix_trunchi_memory): | |
10503 | Add "i387_cw" attribute defined to "trunc". | |
10504 | (x86_fnstcw_1): Remove comment. | |
10505 | (*frndintxf2): Rename insn definition to frndintxf2. Move | |
10506 | insn definition near rint?f2 expanders. | |
10507 | (rintdf2, rintsf2, rintxf2): New expanders to implement rint, | |
10508 | rintf and rintl built-ins as inline x87 intrinsics. | |
10509 | (frndintxf2_floor): New pattern to implement floor rounding | |
10510 | mode with frndint x87 instruction. | |
10511 | (floordf2, floorsf2, floorxf2): New expanders to implement floor, | |
10512 | floorf and floorl built-ins as inline x87 intrinsics. | |
10513 | (frndintxf2_ceil): New pattern to implement ceil rounding | |
10514 | mode with frndint x87 instruction. | |
10515 | (ceildf2, ceilsf2, ceilxf2): New expanders to implement ceil, | |
10516 | ceilf and ceill built-ins as inline x87 intrinsics. | |
10517 | (frndintxf2_trunc): New pattern to implement trunc rounding | |
10518 | mode with frndint x87 instruction. | |
10519 | (btruncdf2, btruncsf2, btruncxf2): New expanders to implement trunc, | |
10520 | truncf and truncl built-ins as inline x87 intrinsics. | |
10521 | (frndintxf2_mask_pm): New pattern to implement rounding | |
10522 | mode with exceptions with frndint x87 instruction. | |
10523 | (nearbyintdf2, nearbyintsf2, nearbyintxf2): New expanders to | |
10524 | implement nearbyint, nearbyintf and nearbyintl built-ins as | |
10525 | inline x87 intrinsics. | |
10526 | ||
183f019b RS |
10527 | 2004-09-04 Richard Sandiford <rsandifo@redhat.com> |
10528 | ||
10529 | * config/mips/mips.md (SHORT): New mode macro. | |
10530 | (size): New mode attribute. | |
10531 | (extend[qh]i[sd]i2): Redefine using :GPR and :SHORT. | |
10532 | (*extend[qh]i[sd]i2): New define_insn_and_split, combining previous | |
10533 | *extend[qh]i[sd]i2 and *extend[qh]i[sd]i2_mem patterns. Use only if | |
10534 | !ISA_HAS_SEB_SEH. | |
10535 | (*extend[qh]i[sd]i2_se[bh]): New pattern, combining previous | |
10536 | *extend[qh]isi2_hw patterns and extending them to di. | |
10537 | (extendqihi2): Implement as define_insn_and_split that produces | |
10538 | extendqisi2 after reload. | |
10539 | ||
40923b20 DP |
10540 | 2004-09-03 Devang Patel <dpatel@apple.com> |
10541 | ||
10542 | * Makefile.in (OBJS-common): Add tree-if-conv.o | |
10543 | (tree-if-conv.o): New rule. | |
10544 | * cfgloop.c (flow_loop_exit_edges_find): Set EDGE_LOOP_EXIT flag. | |
10545 | (get_loop_body_in_bfs_order): New. | |
10546 | * cfgloop.h (get_loop_body_in_bfs_order): New. | |
10547 | * tree-flow.h (enum move_pos): Move here from .. | |
10548 | * tree-ssa-loop-im.c (enum move_pos): here. | |
10549 | (movement_possibility): Make externally visible. | |
10550 | * tree-optimize.c (init_tree_optimization_passes): New entry for | |
10551 | if conversion pass. | |
10552 | * tree-pass.h (pass_if_conversion): New. | |
10553 | * tree-ssa-operands.c (get_expr_operands): Handle COND_EXPR. | |
10554 | * tree-if-conv.c: New file. | |
10555 | * doc/passes.texi: Document tree if-conversion pass. | |
c9996000 | 10556 | * doc/tree-ssa.texi: Same. |
40923b20 | 10557 | |
443728bb L |
10558 | 2004-09-03 H.J. Lu <hongjiu.lu@intel.com> |
10559 | ||
10560 | PR target/14925: | |
10561 | Makefile.in (LIB2ADDEHSTATIC): New. | |
10562 | (LIB2ADDEHSHARED): New. | |
10563 | (LIBUNWIND): New. | |
10564 | (LIBUNWINDDEP): New. | |
10565 | (SHLIBUNWIND_LINK): New. | |
10566 | (SHLIBUNWIND_INSTALL): New. | |
10567 | (libgcc.mk): Pass LIB2ADDEHSTATIC, LIB2ADDEHSHARED, LIBUNWIND, | |
10568 | LIBUNWINDDEP, SHLIBUNWIND_LINK and SHLIBUNWIND_INSTALL. | |
10569 | (clean): Remove libunwind* | |
10570 | (stage1-start): Remove and copy stage1/libunwind*. | |
10571 | (stage2-start): Remove and copy stage2/libunwind*. | |
10572 | (stage3-start): Remove and copy stage3/libunwind*. | |
10573 | (stage4-start): Remove and copy stage4/libunwind*. | |
10574 | (stageprofile-start): Remove and copy stageprofile/libunwind*. | |
10575 | (stagefeedback-start): Remove and copy stagefeedback/libunwind*. | |
10576 | ||
10577 | * config.gcc (ia64*-*-linux*): Always add t-libunwind to | |
10578 | tmake_file. Add t-libunwind-elf and ia64/t-glibc-libunwind to | |
10579 | tmake_file if --with-system-libunwind isn't used. | |
10580 | ||
10581 | * config/ia64/t-glibc-libunwind: New file. | |
10582 | * config/t-libunwind-elf: Likewise. | |
10583 | * unwind-compat.c: Likewise. | |
10584 | * unwind-compat.h: Likewise. | |
10585 | * unwind-dw2-fde-compat.c: Likewise. | |
10586 | ||
10587 | * config/ia64/t-glibc (LIB2ADDEH): Updated. | |
10588 | * config/ia64/t-hpux (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS. | |
10589 | ||
10590 | * config/ia64/unwind-ia64.c: Include "unwind-compat.h". Define | |
10591 | aliases if needed. | |
10592 | * unwind-dw2-fde-glibc.c: Likewise. | |
10593 | * unwind-dw2.c: Likewise. | |
10594 | ||
10595 | * config/t-libunwind (LIB2ADDEH): Updated. | |
10596 | (LIB2ADDEHSTATIC): New. | |
10597 | (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS. | |
10598 | (TARGET_LIBGCC2_CFLAGS): Set to -DUSE_GAS_SYMVER. | |
10599 | ||
10600 | * configure.ac: Change --enable-libunwind-exceptions to | |
10601 | --with-system-libunwind. Don't define USE_LIBUNWIND_EXCEPTIONS. | |
10602 | * configure: Regenerated. | |
10603 | * config.in: Updated. | |
10604 | ||
10605 | * doc/install.texi (ia64-*-linux): Require libunwind 0.98 or | |
10606 | above and mention --with-system-libunwind. | |
10607 | (ia64-*-hpux*): Mention --enable-libunwind-exceptions is | |
10608 | removed in gcc 3.4.3 and later. | |
10609 | ||
10610 | * gcc.c (init_spec): Add -lunwind to -lgcc_s if | |
10611 | USE_LIBUNWIND_EXCEPTIONS is defined. | |
10612 | ||
10613 | * mklibgcc.in: Support libunwind. | |
10614 | ||
d20bf446 L |
10615 | 2004-09-03 H.J. Lu <hongjiu.lu@intel.com> |
10616 | ||
10617 | * config/i386/i386.c (x86_branch_hints): Remove m_PENT4 and | |
10618 | m_NOCONA. | |
10619 | ||
1f6d3a08 RH |
10620 | 2004-09-03 Richard Henderson <rth@redhat.com> |
10621 | ||
93f8bd9e ZW |
10622 | PR middle-end/9997 |
10623 | * cfgexpand.c (LOCAL_ALIGNMENT): Provide default. | |
10624 | (STACK_ALIGNMENT_NEEDED, FRAME_GROWS_DOWNWARD): Likewise. | |
10625 | (struct stack_var, EOC, stack_vars, stack_vars_alloc, stack_vars_num, | |
10626 | stack_vars_sorted, stack_vars_conflict, stack_vars_conflict_alloc, | |
10627 | frame_phase, get_decl_align_unit, add_stack_var, triangular_index, | |
10628 | resize_stack_vars_conflict, add_stack_var_conflict, | |
10629 | stack_var_conflict_p, add_alias_set_conflicts, stack_var_size_cmp, | |
10630 | union_stack_vars, partition_stack_vars, dump_stack_var_partition, | |
10631 | expand_one_stack_var_at, expand_stack_vars, expand_one_stack_var, | |
1f6d3a08 RH |
10632 | expand_one_static_var, expand_one_hard_reg_var, |
10633 | expand_one_register_var, expand_one_error_var, defer_stack_allocation, | |
10634 | expand_one_var, expand_used_vars_for_block, clear_tree_used): New. | |
93f8bd9e | 10635 | (expand_used_vars): Rewrite. |
1f6d3a08 RH |
10636 | * Makefile.in (cfgexpand.o): Update dependencies. |
10637 | ||
80d8221e JH |
10638 | 2004-09-04 Jan Hubicka <jh@suse.cz> |
10639 | ||
10640 | * cfg.c (free_edge): Use ggc_free. | |
10641 | (expunge_block): Use ggc_free. | |
10642 | * passes.c (rest_of_clean_state): Free after compilation. | |
10643 | * tree-ssa.c (delete_tree_ssa): Free annotations; call release_defs | |
10644 | * tree-ssanames.c (release_defs): Ignore non-SSA_NAME arguments. | |
10645 | ||
bb1058e4 JW |
10646 | 2004-09-03 James E Wilson <wilson@specifixinc.com> |
10647 | ||
10648 | * tree-ssa-alias.c (may_be_aliased): Move TREE_STATIC check after | |
10649 | DECL_EXTERNAL check. | |
10650 | ||
ca83de6b EB |
10651 | 2004-09-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
10652 | ||
10653 | * final.c (output_in_slot): New global variable. | |
10654 | (final_scan_insn): Add new state '2' to the 'nopeepholes' parameter. | |
10655 | Pass 2 as 'nopeepholes' to self for insns in a SEQUENCE. Set | |
10656 | 'output_in_slot' before invoking output_asm_insn. | |
10657 | (output_asm_insn): Add a space after the tab if 'output_in_slot' | |
10658 | is set. | |
10659 | * config/sparc/sparc.c (output_return): Pass 2 as 'nopeepholes' to | |
10660 | final_scan_insn. | |
10661 | (output_sibcall): Likewise. | |
10662 | ||
1e3e17d3 JH |
10663 | 2004-09-03 Jan Hubicka <jh@suse.cz> |
10664 | ||
10665 | * tree-ssa-operands.c (fini_ssa_operands): ggc_free unused arrays. | |
10666 | * tree-ssanames (init_ssanames): Likewise. | |
10667 | ||
c41e5f27 ZL |
10668 | 2004-09-03 Ziemowit Laski <zlaski@apple.com> |
10669 | ||
10670 | * stub-objc.c (objc_is_id, objc_declare_alias, objc_declare_class, | |
10671 | objc_declare_protocols, objc_start_protocol, | |
10672 | objc_start_class_interface, objc_start_category_interface, | |
10673 | objc_continue_interface, objc_finish_interface, | |
10674 | objc_add_instance_variable, objc_set_visibility, objc_set_method_type, | |
10675 | objc_start_class_implementation, objc_start_category_implementation, | |
10676 | objc_continue_implementation, objc_finish_implementation, | |
10677 | objc_add_method_declaration, objc_start_method_definition, | |
10678 | objc_finish_method_definition, objc_build_keyword_decl, | |
10679 | objc_build_method_signature, objc_build_encode_expr, | |
10680 | objc_build_protocol_expr, objc_build_selector_expr, | |
10681 | objc_build_message_expr, objc_build_string_object, | |
10682 | objc_get_class_reference, objc_get_protocol_qualified_type, | |
10683 | objc_static_init_needed_p, objc_generate_static_init_call): New stubs. | |
10684 | ||
b30d77c4 JW |
10685 | 2004-09-03 James E Wilson <wilson@specifixinc.com> |
10686 | ||
10687 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Add __mips3d. | |
10688 | ||
10689 | * config/mips/generic.md (generic_frecip_fsqrt_step): New. | |
10690 | * config/mips/mips-ps-3d.md (mips_rsqrt1_<fmt>): Use frsqrt1 type. | |
10691 | (mips_rsqrt2_<fmt>): Use frsqrt2 type. | |
10692 | (mips_recip1_<fmt>): Use frdiv1 type. | |
10693 | (mips_recip2_<fmt>): Use frdiv2 type. | |
10694 | * config/mips/mips.md (type): Add frdiv1, frdiv2, frsqrt1, frsqrt2. | |
10695 | * config/mips/sb1.md (ir_sb1_fpu_2pipes, ir_sb1_fpu_1pipe): Add frdiv1 | |
10696 | and frsqrt1. | |
10697 | (ir_sb1_fpu_step2_2pipes, ir_sb1_fpu_step2_1pipe): New. | |
10698 | ||
87cda9d6 DJ |
10699 | 2004-09-03 Daniel Jacobowitz <dan@debian.org> |
10700 | ||
10701 | * reload.c (find_reloads): Swap operand_loc pointers for | |
10702 | find_dummy_reload if we have swapped two operands. | |
10703 | ||
f671762a HPN |
10704 | 2004-09-03 Hans-Peter Nilsson <hp@axis.com> |
10705 | ||
10706 | * config/cris/cris.h (ASM_OUTPUT_CASE_END): Use prev_nonnote_insn | |
10707 | to get the tablejump-insn before the jump-table label. | |
10708 | ||
a45bcfb2 ZL |
10709 | 2004-09-03 Ziemowit Laski <zlaski@apple.com> |
10710 | ||
10711 | * c-common.h (objc_is_id, objc_declare_alias, objc_declare_class, | |
10712 | objc_declare_protocols, objc_build_message_expr, | |
10713 | objc_finish_message_expr, objc_build_selector_expr, | |
10714 | objc_build_protocol_expr, objc_build_encode_expr, | |
10715 | objc_build_string_object, objc_get_protocol_qualified_type, | |
10716 | objc_get_class_reference, objc_get_class_ivars, | |
10717 | objc_start_class_interface, objc_start_category_interface, | |
10718 | objc_start_protocol, objc_continue_interface, objc_finish_interface, | |
10719 | objc_start_class_implementation, objc_start_category_implementation, | |
10720 | objc_continue_implementation, objc_finish_implementation, | |
10721 | objc_set_visibility, objc_set_method_type, objc_build_method_signature, | |
10722 | objc_add_method_declaration, objc_start_method_definition, | |
10723 | objc_finish_method_definition, objc_add_instance_variable, | |
10724 | objc_build_keyword_decl, objc_build_throw_stmt, objc_begin_try_stmt, | |
10725 | objc_finish_try_stmt, objc_begin_catch_clause, | |
10726 | objc_finish_catch_clause, objc_build_finally_clause, | |
10727 | objc_build_synchronized, objc_static_init_needed_p, | |
10728 | objc_generate_static_init_call): New prototypes. | |
10729 | ||
9dec91d4 SE |
10730 | 2004-09-03 Steve Ellcey <sje@cup.hp.com> |
10731 | ||
10732 | * config/ia64/ia64.c (ia64_function_arg): Use PARALLEL even if there | |
10733 | is only one reg. | |
10734 | (ia64_function_value): Ditto. | |
10735 | ||
61fec9ff JB |
10736 | 2004-09-03 Jan Beulich <jbeulich@novell.com> |
10737 | ||
10738 | * config.gcc: Resurrect NetWare as a target. Handle special case of | |
10739 | Novell linker to be used (specified through --with-ld=) and threading | |
10740 | model of either Posix (default) or NKS. | |
10741 | * config/i386/i386.c (ix86_return_pops_args): Conditionalize popping | |
10742 | of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER. | |
10743 | * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New. | |
10744 | * config/i386/netware.c, config/i386/netware.h: New. | |
10745 | * config/i386/nwld.c, config/i386/nwld.h: New. | |
10746 | * config/i386/netware-crt0.c: New. | |
10747 | * config/i386/netware-libgcc.c: New. | |
10748 | * config/i386/netware-libgcc.def: New. | |
10749 | * config/i386/netware-libgcc.exp: New. | |
10750 | * config/i386/t-netware, config/i386/t-nwld: New. | |
10751 | * gthr-nks.h: New. | |
10752 | * doc/install.texi: Document NKS threading model. | |
10753 | ||
467cecf3 JB |
10754 | 2004-09-03 Jan Beulich <jbeulich@novell.com> |
10755 | ||
10756 | PR c/7054 | |
10757 | * defaults.h (TARGET_DEFAULT_PACK_STRUCT): Provide default. | |
10758 | * tree.h (initial_max_fld_align): Declare | |
10759 | * stor-layout.c (initial_max_fld_align): Define and initialize. | |
10760 | (maximum_field_alignment): Initialize to the same value. | |
10761 | * common.opt: Add -fpack-struct= variant of switch. | |
10762 | * opts.c: Handle -fpack-struct= variant of switch. | |
10763 | * c-pragma.c: Change #pragma pack() handling so that it becomes | |
10764 | compatible to other compilers: accept individual 'push' argument, | |
10765 | make final pop restore (command line) default, correct interaction | |
10766 | of push/pop and sole specification of a new alignment (so that the | |
10767 | sequence #pragma pack(push) - #pragma pack(<n>) becomes identical | |
10768 | to #pragma pack(push, <n>). | |
10769 | * doc/extend.texi: New node "Structure-Packing Pragmas" under | |
10770 | "Pragmas", describing #pragma pack. | |
10771 | * doc/invoke.texi: Document -fpack-struct=<n> variant of switch. | |
10772 | * doc/tm.texi: Adjust description for HANDLE_PRAGMA_PACK_PUSH_POP. | |
10773 | Document new TARGET_DEFAULT_PACK_STRUCT. | |
10774 | ||
90300b8c DP |
10775 | 2004-09-03 Devang Patel <dpatel@apple.com> |
10776 | ||
10777 | * dwarf2out.c (gen_field_die). Equate decl number to die. | |
c9996000 | 10778 | |
d6df6ae2 VM |
10779 | 2004-09-03 Vladimir Makarov <vmakarov@redhat.com> |
10780 | ||
10781 | PR target/15832 | |
10782 | * global.c (modify_reg_pav): New function. | |
10783 | (make_accurate_live_analysis): Call the new function. Move pavin | |
10784 | modification by earlyclobber set into the new function. | |
10785 | ||
25c99d8f AS |
10786 | 2004-09-03 Andreas Schwab <schwab@suse.de> |
10787 | ||
10788 | * config/m68k/m68k.c (output_andsi3): Use -1 instead of | |
10789 | (HOST_WIDE_INT)0xffffffff since CONST_INT value are always sign | |
10790 | extended. | |
10791 | ||
7f148c2f JB |
10792 | 2004-09-02 Jan Beulich <jbeulich@novell.com> |
10793 | ||
10794 | * Makefile.in (LIB2ADDEHDEP): Add unwind.h and unwind-pe.h. | |
10795 | * mklibgcc.in (libgcc_dep): New, covering general dependencies, but | |
10796 | not unwind code specific ones. | |
10797 | (libgcc2_c_dep): Replace general dependencies with use of libgcc_dep. | |
10798 | Remove unwind code specific dependencies. | |
10799 | (libgcov_c_dep): Replace general dependencies with use of libgcc_dep. | |
10800 | Remove gbl-ctors.h. | |
10801 | Add libgcc_dep to output generated for LIB2ADD, LIB2ADDEH, and | |
10802 | LIB2ADD_ST. Add LIB2ADDEHDEP to output generated for LIB2ADDEH. | |
10803 | * tsystem.h: Declare memcpy and memset when inhibit_libc. | |
10804 | ||
9e42ab3e | 10805 | 2004-09-02 Roman Zippel <zippel@linux-m68k.org> |
c9996000 | 10806 | |
9e42ab3e RZ |
10807 | * combine.c (try_combine): Delay modifying of insns which cannot |
10808 | be easily undone. | |
10809 | ||
1b08d87d DB |
10810 | 2004-09-02 Daniel Berlin <dberlin@dberlin.org> |
10811 | ||
10812 | * gcc/common.opt: Rename ivcanon to tree-loop-ivcanon, tree-lim to | |
10813 | tree-loop-im. | |
10814 | * gcc/tree-ssa-loop.c: Ditto | |
10815 | * gcc/tree-ssa-loop-ivcanon.c: Ditto | |
10816 | * gcc/doc/invoke.texi: Ditto. | |
10817 | ||
d4e43dff ZL |
10818 | 2004-09-02 Ziemowit Laski <zlaski@apple.com> |
10819 | ||
10820 | * c-decl.c (store_parm_decls_newstyle): Make static. | |
10821 | (store_parm_decls_from): New function. | |
10822 | * c-tree.h (store_parm_decls_newstyle): Remove prototype. | |
10823 | (store_parm_decls_from): New prototype. | |
10824 | ||
cd7d9ca4 DE |
10825 | 2004-09-02 David Edelsohn <edelsohn@gnu.org> |
10826 | ||
10827 | * config/rs6000/rs6000.c (expand_block_move): Use SImode and | |
10828 | HImode with STRICT_ALIGNMENT. | |
10829 | ||
40a1c5cb MM |
10830 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
10831 | ||
10832 | * config/arm/bpabi.h (TARGET_BPABI_CPP_BUILTINS): Define. | |
10833 | (TARGET_OS_CPP_BUILTINS): Likewise. | |
10834 | * config/arm/symbian.h (TARGET_OS_CPP_BUILTINS): Include | |
10835 | TARGET_BPABI_CPP_BUILTINS. | |
10836 | ||
b54567e2 | 10837 | 2004-09-02 Roman Zippel <zippel@linux-m68k.org> |
c9996000 | 10838 | |
b54567e2 RZ |
10839 | * combine.c (distribute_notes): Don't add REG_LABEL to jump insn. |
10840 | ||
5906d013 EC |
10841 | 2004-09-02 Eric Christopher <echristo@redhat.com> |
10842 | ||
10843 | * builtins.c (expand_builtin_cabs): Delete. | |
10844 | (expand_builtin): If unable to fold the values do a normal | |
10845 | library call for builtin_cab*. | |
10846 | (fold_builtin_cabs): Depend on optimize and optimize_size. | |
10847 | * optabs.c (expand_cmplxdiv_straight): Delete. | |
10848 | (expand_cmplxdiv_wide): Ditto. | |
10849 | (expand_vector_binop): Ditto. | |
10850 | (expand_vector_unop): Ditto. | |
10851 | (expand_complex_abs): Delete. | |
10852 | (expand_binop): Remove calls to above functions. | |
10853 | Remove open coding of complex arithmetic. | |
10854 | (expand_unop): Ditto. | |
10855 | * optabs.h: Remove prototypes. | |
10856 | ||
3041390d ZL |
10857 | 2004-09-02 Ziemowit Laski <zlaski@apple.com> |
10858 | ||
10859 | * c-decl.c (store_parm_decls_newstyle): Make externally visible. | |
10860 | * c-tree.h (store_parm_decls_newstyle): New prototype. | |
10861 | ||
5514620a GK |
10862 | 2004-09-02 Geoffrey Keating <geoffk@apple.com> |
10863 | ||
10864 | * config/rs6000/rs6000.c (expand_block_clear): Use vector | |
10865 | instructions if available. | |
10866 | (expand_block_move): Likewise. | |
10867 | ||
02f14c38 JH |
10868 | 2004-09-03 Jan Hubicka <jh@suse.cz> |
10869 | ||
10870 | * rtl.def (RANGE_INFO, RANGE_REG, RANGE_VAR, RANGE_LIVE): Kill. | |
10871 | ||
19dc705e MM |
10872 | 2004-09-02 Mark Mitchell <mark@codesourcery.com> |
10873 | ||
10874 | * config/arm/symbian.h (LIB_SPEC): Define to empty. | |
10875 | * config/arm/t-symbian (SHLIB_LC): Likewise. | |
10876 | ||
24112ed0 PB |
10877 | 2004-09-02 Paul Brook <paul@codesourcery.com> |
10878 | ||
10879 | * config/arm/bpabi.c (__aeabi_ul2d, __aeabi_ul2f): Remove. | |
10880 | ||
7ad769fe RS |
10881 | 2004-09-02 Richard Sandiford <rsandifo@redhat.com> |
10882 | ||
10883 | * config/mips/mips.c (mips_classify_symbol, mips_fetch_insns): | |
10884 | (mips_restore_gp, mips_set_return_address, mips_expand_prologue) | |
10885 | (mips16_fp_args, mips_avoid_hazard): Replace abort with gcc_assert. | |
10886 | (build_mips16_call_stub): Likewise. Remove daft CALL_INSN checks. | |
10887 | (mips_issue_rate): Remove unreachable abort. | |
10888 | (mips_symbolic_constant_p, mips_symbolic_address_p, mips_symbol_insns) | |
10889 | (mips_output_move, mips_relational_operand_ok_p, mips_arg_info) | |
10890 | (mips_block_move_straight, print_operand_address, mips_file_start) | |
10891 | (mips_initial_elimination_offset, mips16_fp_args, dump_constants_1) | |
10892 | (mips_output_conditional_branch, mips_expand_builtin_direct) | |
10893 | (mips_expand_builtin_compare): Replace abort with gcc_unreachable. | |
10894 | * config/mips/mips.md (rotr<mode>3, consttable_float): Replace abort | |
10895 | with gcc_assert. | |
10896 | ||
9f09b415 RS |
10897 | 2004-09-02 Richard Sandiford <rsandifo@redhat.com> |
10898 | ||
10899 | * config/mips/mips.md (*lea_high64): Change split condition to | |
10900 | flow2_completed. Add a peephole2 to generate a more parallel version. | |
10901 | ||
07724022 JH |
10902 | 2004-09-02 Jan Hubicka <jh@suse.cz> |
10903 | ||
10904 | * gimplify.c (gimplify_compound_lval): Move "stack" varray out of | |
10905 | GGC. | |
10906 | ||
10907 | * ggc-page.c: include tree-flow.h. | |
10908 | (extra_order_size_table): Add stmt_ann_d. | |
10909 | (STAT_LABEL): Rename from .... | |
10910 | (LABEL): ... this one. | |
10911 | * Makefile.in (ggc-page.o): Add dependency. | |
10912 | ||
10913 | * ggc-common.c (ggc_force_collect): New global variable. | |
10914 | (loc_description): Add fields "freed", "collected" | |
10915 | (ptr_hash): New static hash | |
10916 | (ptr_hash_entry): New structure. | |
10917 | (hash_ptr,eq_ptr,ggc_prune_ptr): New static functions. | |
10918 | (ggc_record_overhead): Take ptr argument, record it | |
10919 | (ggc_prune_overhead_list, ggc_free_overhead): New functions. | |
10920 | (cmp_statistics): Imrove sorting. | |
10921 | (dump_ggc_loc_statistics): Output newly collected statistics | |
10922 | * ggc-page.c (ggc_alloc): Update call of ggc_record_overhead | |
10923 | (ggc_free): Call ggc_free_overhead. | |
10924 | (ggc_collect): Force collection when asked to be forced. | |
10925 | (ggc_collect): Call ggc_prune_overhead_list. | |
10926 | * ggc.h (ggc_force_collect): Declare | |
10927 | (ggc_record_overhead): Update prototype. | |
10928 | (ggc_free_overhead, ggc_prune_overhead_list): Declare. | |
10929 | ||
10060b83 JW |
10930 | 2004-09-02 James E Wilson <wilson@specifixinc.com> |
10931 | ||
10932 | * common.opt (ftrapping-math): Default to on. | |
10933 | ||
9d2da95b RE |
10934 | 2004-09-02 Richard Earnshaw <rearnsha@arm.com> |
10935 | ||
10936 | * arm/predicates.md (arm_reload_memory_operand): Allow MEM. | |
10937 | ||
3f1f9228 DC |
10938 | 2004-09-02 Denis Chertykov <denisc@overta.ru> |
10939 | ||
10940 | PR target/16884 | |
10941 | * config/avr/avr.md ("movmemhi"): Substitute match_dup to | |
10942 | match_scratch. | |
10943 | (*movmemqi_insn): Likewise. | |
10944 | (*movmemhi): Likewise. | |
10945 | (clrmemhi): Likewise. | |
10946 | (*clrmemqi): Likewise. | |
10947 | (*clrmemhi): Likewise. | |
10948 | ||
e6fc6c9b PB |
10949 | 2004-09-02 Paul Brook <paul@codesourcery.com> |
10950 | ||
10951 | * config.gcc (arm*-*-eabi* | arm*-*-symbianelf*): Set | |
10952 | default_use_cxa_atexit=yes. | |
10953 | ||
d86c1b91 AM |
10954 | 2004-09-02 Alan Modra <amodra@bigpond.net.au> |
10955 | ||
10956 | * config/rs6000/linux64.h: Don't include signal.h or sys/ucontext.h. | |
10957 | (struct kernel_old_ucontext): Delete. | |
10958 | (struct gcc_pt_regs, gcc_sigcontext, gcc_ucontext): New. | |
10959 | (MD_FALLBACK_FRAME_STATE_FOR): Use gcc_* structs. Only define | |
10960 | when IN_LIGGCC2. | |
10961 | ||
3806400d RS |
10962 | 2004-09-02 Richard Sandiford <rsandifo@redhat.com> |
10963 | ||
10964 | * toplev.c (process_options): Fix typo. | |
10965 | ||
9969aaf6 RH |
10966 | 2004-09-01 Richard Henderson <rth@redhat.com> |
10967 | ||
10968 | PR middle-end/17258 | |
10969 | * calls.c (initialize_argument_information): Tighten pass-through | |
10970 | conditions for pass-by-reference. Remove dead TARGET_EXPR code. | |
10971 | Use build_fold_addr_expr. | |
10972 | (emit_library_call_value_1): Use build_fold_addr_expr. Remove code | |
10973 | that assumes ADDR_EXPR allocates stack space. | |
10974 | * fold-const.c (build_fold_addr_expr_with_type): Look through | |
10975 | WITH_SIZE_EXPR. | |
10976 | ||
1e8964cf DN |
10977 | 2004-09-01 Dan Nicolaescu <dann@ics.uci.edu> |
10978 | ||
10979 | * gengenrtl.c (gendef): Use rtx_alloc, don't do PUT_CODE. | |
10980 | * ggc.h (ggc_alloc_rtx): Delete. | |
10981 | ||
26276705 RS |
10982 | 2004-09-01 Roger Sayle <roger@eyesopen.com> |
10983 | ||
10984 | * expmed.c (enum alg_code): Remove long unused enumeration values. | |
7f148c2f | 10985 | (struct mult_cost): New structure to hold the "score" of a synthetic |
26276705 RS |
10986 | multiply sequence, including both a rtx_cost and a latency field. |
10987 | (MULT_COST_LESS): New macro to compare mult_cost to a constant. | |
10988 | (CHEAPER_MULT_COST): New macro to compare two mult_costs. | |
10989 | (struct algorithm): Change type of cost field to be mult_cost. | |
10990 | (synth_mult): Change type of cost_limit argument to be a | |
10991 | pointer to a mult_cost. Update all cost comparisons to use the | |
5906d013 | 10992 | new mult_cost infrastructure. For alg_add_factor and |
26276705 RS |
10993 | alg_sub_factor operations, latency is lower than the rtx_cost. |
10994 | (choose_mult_variant): Update calls to synth_mult. Perform | |
10995 | cost comparisons using the new mult_cost infrastructure. | |
10996 | (expand_mult_highpart): Use alg.cost.cost instead of alg.cost | |
10997 | to optain the total rtx_cost of a synth_mult "algorithm". | |
10998 | ||
594a3565 DE |
10999 | 2004-09-01 David Edelsohn <edelsohn@gnu.org> |
11000 | ||
11001 | * config/rs6000/power4.md: Increase store latency to 12. | |
11002 | * config/rs6000/power5.md: Same. | |
11003 | ||
130d5426 JW |
11004 | 2004-09-01 James E Wilson <wilson@specifixinc.com> |
11005 | ||
11006 | PR target/14064 | |
11007 | * config/avr/avr.c (avr_unique_section): Delete prototype and | |
11008 | definition. | |
11009 | (TARGET_ASM_UNIQUE_SECTION): Delete. | |
11010 | ||
57a6af27 ZL |
11011 | 2004-09-01 Ziemowit Laski <zlaski@apple.com> |
11012 | ||
11013 | * c-parse.in (primary): Call objc_build_message_expr(), | |
11014 | objc_build_selector_expr(), objc_build_protocol_expr(), | |
11015 | objc_build_encode_expr() and objc_build_string_object() instead of | |
11016 | build_message_expr(), build_selector_expr(), build_protocol_expr(), | |
11017 | build_encode_expr() and build_objc_string_object(), respectively. | |
11018 | (component_decl_list2): Call objc_get_class_ivars() instead of | |
11019 | get_class_ivars_from_name(). | |
11020 | (keyworddecl): Call objc_build_keyword_decl() instead of | |
11021 | build_keyword_decl(). | |
11022 | (receiver): Call objc_get_class_reference() instead of | |
11023 | get_class_reference(). | |
11024 | (reswords): Add blank line before @@ifobjc section, for clarity. | |
11025 | ||
5ec214fc FJ |
11026 | 2002-09-01 Fariborz Jahanian <fjahanian@apple.com> |
11027 | ||
11028 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Restrict alignment | |
11029 | to Altivec vetors. | |
11030 | ||
40219f96 WY |
11031 | 2004-09-01 Wu Yongwei <adah@sh163.net> |
11032 | Danny Smith <dannysmith@users.sourceforge.net> | |
11033 | ||
11034 | * gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long', | |
11035 | not Windows 'DWORD'. | |
11036 | (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Correct typo. | |
11037 | (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise. | |
11038 | (__gthr_win32_recursive_mutex_init_function): Add prototype for | |
11039 | __GTHREAD_HIDE_WIN32API case.. | |
11040 | (__gthr_win32_recursive_mutex_lock): Likewise. | |
11041 | (__gthr_win32_recursive_mutex_trylock): Likewise. | |
11042 | (__gthr_win32_recursive_mutex_unlock): Likewise. | |
11043 | (__gthread_recursive_mutex_init_function); Add definition for | |
11044 | __GTHREAD_HIDE_WIN32API case. | |
11045 | (__gthread_recursive_mutex_lock): Correct call to InterlockedDecrement. | |
11046 | * config/i386/grthr-win32.c (__gthread_recursive_mutex_lock): Correct | |
11047 | call to InterlockedDecrement. | |
11048 | ||
78ad8fbe RK |
11049 | 2004-09-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11050 | ||
ba2e294d RK |
11051 | * tree-tailcall.c (find_tail_calls): Also fail is statement has |
11052 | volatile operands. | |
11053 | ||
0705d602 RK |
11054 | * tree-ssa.c (propagate_into_addr): Properly test for LHR. |
11055 | ||
78ad8fbe RK |
11056 | * doc/c-tree.texi: Document new operands for ARRAY_REF and |
11057 | COMPONENT_REF. | |
11058 | ||
6d9901e7 ZD |
11059 | 2004-09-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11060 | ||
11061 | * Makefile.in (rtl-profile.o, value-prof.o): Add GCC_H dependency. | |
11062 | * common.opt (fspeculative-prefetching): New. | |
11063 | * flags.h (flag_speculative_prefetching_set): Declare. | |
11064 | * gcov-io.c (gcov_write_counter, gcov_read_counter): Allow negative | |
11065 | values. | |
11066 | * opts.c (flag_sepculative_prefetching_set): New variable. | |
11067 | (common_handle_option): Handle -fspeculative-prefetching. | |
11068 | * passes.c (rest_of_compilation): Ditto. | |
11069 | * profile.c (instrument_values, compute_value_histograms, branch_prob): | |
11070 | Use vectors instead of arrays. | |
11071 | * toplev.c (process_options): Handle -fspeculative-prefetching. | |
11072 | * rtl-profile.c: Include ggc.h. | |
11073 | (rtl_gen_interval_profiler, rtl_gen_pow2_profiler, | |
11074 | rtl_gen_one_value_profiler_no_edge_manipulation, | |
11075 | rtl_gen_one_value_profiler, rtl_gen_const_delta_profiler): Type of | |
11076 | argument changed. | |
11077 | * tree-profile.c (tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
11078 | tree_gen_one_value_profiler, tree_gen_const_delta_profiler): Type of | |
11079 | argument changed. | |
11080 | * value-prof.c: Include ggc.h. | |
11081 | (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX): New | |
11082 | macros. | |
11083 | (insn_prefetch_values_to_profile, find_mem_reference_1, | |
11084 | find_mem_reference_2, find_mem_reference, gen_speculative_prefetch, | |
11085 | speculative_prefetching_transform): New. | |
11086 | (value_profile_transformations): Call speculative_prefetching_transform. | |
11087 | (insn_values_to_profile): Call insn_prefetch_values_to_profile. | |
11088 | (insn_divmod_values_to_profile, rtl_find_values_to_profile, | |
11089 | tree_find_values_to_profile, find_values to profile): Use vectors | |
11090 | instead of arrays. | |
11091 | (free_profiled_values): Removed. | |
11092 | * value-prof.h (struct histogram_value): Renamed to | |
11093 | struct histogram_value_t. | |
11094 | (histogram_value, histogram_values): New types. | |
11095 | (find_values_to_profile): Declaration changed. | |
11096 | (free_profiled_values): Removed. | |
11097 | (struct profile_hooks): Type of argument of the hooks changed to | |
11098 | histogram_value. | |
11099 | * doc/invoke.texi (-fspeculative-prefetching): Document. | |
11100 | ||
d7fe1183 ZD |
11101 | 2004-09-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11102 | ||
11103 | PR rtl-optimization/16408 | |
11104 | * gcse.c (replace_store_insn): Fix LIBCALL/RETVAL notes. | |
11105 | ||
938e234b RH |
11106 | 2004-09-01 Richard Henderson <rth@redhat.com> |
11107 | ||
7f148c2f JB |
11108 | * config/ns32k/ns32k.h (TRANSFER_FROM_TRAMPOLINE): Remove. |
11109 | (TRAMPOLINE_TEMPLATE): Merge code from __trampoline inline. | |
938e234b | 11110 | |
d0879c98 JJ |
11111 | 2004-09-01 Jakub Jelinek <jakub@redhat.com> |
11112 | ||
11113 | * libgcc-std.ver (GCC_3.4.2): Export also __trampoline_setup. | |
11114 | ||
156a126c MS |
11115 | 2004-09-01 Mike Stump <mrs@apple.com> |
11116 | ||
11117 | * config/darwin.c (machopic_symbol_defined_p): In addition to | |
11118 | being SYMBOL_REF_LOCAL_P, a symbol must also be | |
11119 | ! SYMBOL_REF_EXTERNAL_P, as only those are _always_ locally | |
11120 | defined in this output file, or translation unit in the case | |
11121 | of IMA not being used. | |
11122 | (machopic_output_indirection): SYMBOL_REF_LOCAL_P symbols | |
11123 | never need .indirect_symbol when indirecting. | |
11124 | ||
a5d8b097 JJ |
11125 | 2004-09-01 Jakub Jelinek <jakub@redhat.com> |
11126 | ||
11127 | * Makefile.in (bb-reorder.o): Add several dependencies. | |
11128 | ||
266bff3a JJ |
11129 | 2004-09-01 Jakub Jelinek <jakub@redhat.com> |
11130 | ||
11131 | * fold-const.c (operand_equal_p): Require equal sign also for | |
11132 | FIX_{CEIL,TRUNC,FLOOR,ROUND}_EXPR. | |
11133 | ||
32078532 RE |
11134 | 2004-09-01 Richard Earnshaw <rearnsha@arm.com> |
11135 | ||
11136 | * config.gcc (--with-cpu on ARM): Preserve the canonical cpu name | |
11137 | for use in configargs.h. Put the cname in a separate variable. Use | |
11138 | that to set target_cpu_default2. | |
11139 | ||
c0311627 R |
11140 | 2004-09-01 J"orn Rennecke <joern.rennecke@superh.com> |
11141 | Nick Clifton <nickc@redhat.com> | |
11142 | ||
11143 | * config/sh/sh.md ("length"): Increase branch length when | |
11144 | SH1 pic code to 18: 12 bytes of instructions, 4 byte for the | |
11145 | constant, 2 byte for aligning the constant. | |
11146 | ||
d98a72fd RE |
11147 | 2004-09-01 Richard Earnshaw <rearnsha@arm.com> |
11148 | ||
11149 | * arm/arm-cores.def (ARM_CORE): Add new field for the real name of the | |
11150 | CPU. | |
11151 | (arm7tdmi-s): New CPU name. | |
11152 | * arm/arm.c (ARM_CORE): Update for new format. | |
11153 | * arm/arm.h (ARM_CORE): Likewise. | |
11154 | * arm/gentune.sh: Update for extra field. | |
11155 | * config.gcc: Likewise. | |
11156 | * arm/arm-tune.md: Regenerate. | |
11157 | * doc/invoke.texi: Document the real processor names for ARM cpus. | |
11158 | ||
0a1aa867 RE |
11159 | 2004-09-01 Richard Earnshaw <rearnsha@arm.com> |
11160 | ||
11161 | * arm/ieee754-df.S (aeabi_ul2d, aeabi_l2d, floatundidf) | |
11162 | (floatdidf): New functions. | |
11163 | * arm/ieee754-sf.S (aeabi_ul2f, aeabi_l2f, floatundisf) | |
11164 | (floatdisf): New functions. | |
11165 | * t-arm-elf: Use them. | |
11166 | ||
bc095846 ZL |
11167 | 2004-09-01 Ziemowit Laski <zlaski@apple.com> |
11168 | ||
11169 | * c-common.h (lookup_interface): Remove prototype. | |
11170 | (is_class_name): Rename to objc_is_class_name. | |
11171 | (lookup_objc_ivar): Rename to objc_lookup_ivar. | |
11172 | (get_current_scope): Rename to objc_get_current_scope. | |
11173 | * c-decl.c (get_current_scope): Rename to objc_get_current_scope. | |
11174 | * c-parse.in (parmlist_or_identifiers_1): Get rid of unused variable. | |
11175 | (yylexname): Call objc_is_class_name() instead of is_class_name(). | |
11176 | * c-typeck.c (build_external_ref): Call objc_lookup_ivar() | |
11177 | instead of lookup_objc_ivar(). | |
11178 | * stub-objc.c (lookup_interface): Remove stub. | |
11179 | (is_class_name): Rename to objc_is_class_name. | |
11180 | (lookup_objc_ivar): Rename to objc_lookup_ivar. | |
11181 | ||
14945fe6 MM |
11182 | 2004-08-31 Mark Mitchell <mark@codesourcery.com> |
11183 | ||
11184 | * config.gcc (arm*-*-symbianelf*): Do not include t-bpabi. | |
11185 | * config/arm/lib1funcs.asm: Do not include supplemental .S files | |
11186 | when compiling for Symbian. | |
11187 | * config/arm/symbian.h (RENAME_LIBRARY): New macro. | |
11188 | (TARGET_OS_CPP_BUILTINS): Likewise. | |
11189 | * config/arm/t-symbian (LIB1ASMFUNCS): Define. | |
11190 | ||
93415288 SS |
11191 | 2004-08-31 Stan Shebs <shebs@apple.com> |
11192 | ||
11193 | * toplev.c (process_options): Ensure debug_hooks is initialized. | |
11194 | ||
505970fc MM |
11195 | 2004-08-31 Mark Mitchell <mark@codesourcery.com> |
11196 | ||
11197 | * target-def.h (TARGET_CXX): Add TARGET_CXX_EXPORT_CLASS_DATA. | |
11198 | * target.h (cxx): Add export_class_data. | |
11199 | * config/arm/arm.c (arm_cxx_export_class_data): New function. | |
11200 | (TARGET_CXX_EXPORT_CLASS_DATA): Use it. | |
dc40803a | 11201 | * doc/tm.texi (TARGET_CXX_EXPORT_CLASS_DATA): Document it. |
5906d013 | 11202 | |
bee9efbc KK |
11203 | 2004-08-31 Kaz Kojima <kkojima@gcc.gnu.org> |
11204 | ||
11205 | * config/sh/sh.c (output_branch): Check the insn length possibly | |
11206 | in the delayed slot. | |
11207 | ||
a4e9ffe5 RK |
11208 | 2004-08-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11209 | ||
a0ca8e0c RK |
11210 | * tree-pretty-print.c (dump_generic_node, case CONVERT_EXPR): Add |
11211 | blank after ')'. | |
11212 | (op_symbol, case *_{DIV,MOD}_EXPR): Say what rounding is being used. | |
11213 | ||
a4e9ffe5 RK |
11214 | * c-common.c (c_alignof_expr): Use DECL_ALIGN_UNIT and TYPE_ALIGN_UNIT. |
11215 | (c_sizeof_of_alignof_type): Likewise. | |
11216 | * expr.c (array_ref_element_size): Likewise. | |
11217 | (highest_pow2_factor_for_target): Likewise. | |
11218 | * gimplify.c (canonicalize_addr_expr): Likewise. | |
11219 | (gimplify_compound_lval): Likewise. | |
11220 | * stor-layout.c (finalize_record_size, finalize_type_size): Likewise. | |
11221 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Likewise. | |
11222 | * varasm.c (assemble_variable): Likewise. | |
11223 | (output_constant_def_contents): Alignments are unsigned. | |
11224 | ||
631b67ce RK |
11225 | 2004-08-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
11226 | Jeff Law <law@redhat.com> | |
11227 | ||
11228 | * tree-cfg.c (cfg_remove_useless_stmts_bb): Also invalidate if VAL | |
11229 | gets modified. | |
11230 | ||
af287697 MM |
11231 | 2004-08-31 Mark Mitchell <mark@codesourcery.com> |
11232 | ||
11233 | * hooks.c (hook_bool_void_true): New function. | |
11234 | * hooks.h (hook_bool_void_true): Declare. | |
11235 | * target-def.h (TARGET_CXX): Add | |
11236 | TARGET_CXX_KEY_METHOD_MAY_BE_INLINE. | |
11237 | * target.h (struct cxx): Add key_method_may_be_inline. | |
11238 | * config/arm/arm.c (arm_cxx_key_method_may_be_inline): New | |
11239 | function. | |
11240 | (TARGET_CXX_KEY_METHOD_MAY_BE_INLINE): New macro. | |
11241 | * config/arm/bpabi.h: Use __THUMB_INTERWORK__ instead of | |
11242 | __THUMB_INTERWORK. | |
5906d013 | 11243 | |
678584fc DC |
11244 | 2004-08-31 Denis Chertykov <denisc@overta.ru> |
11245 | ||
11246 | PR target/15417 | |
11247 | * config/avr/avr.c (avr_hard_regno_mode_ok): Enable usage of | |
11248 | frame pointer register only in Pmode while reload in progress. | |
11249 | ||
c4c9b76e SC |
11250 | 2004-08-31 Stephane Carrez <stcarrez@nerim.fr> |
11251 | ||
11252 | PR target/15334 | |
11253 | * config/m68hc11/m68hc11.c (m68hc11_override_options): Disable -fweb | |
11254 | because it breaks the 32-bit shift patterns that rely on a match_dup. | |
11255 | ||
c61eceeb MA |
11256 | 2004-08-31 Matt Austern <austern@apple.com> |
11257 | ||
11258 | * config/darwin.c (darwin_make_decl_one_only): Allocate section | |
11259 | names once per compilation, instead of once per symbol. | |
5906d013 | 11260 | |
71b5d516 PB |
11261 | 2004-08-31 Paolo Bonzini <bonzini@gnu.org> |
11262 | ||
11263 | * Makefile.in (build_subdir): New substitution. | |
11264 | (fixinc.sh): Simplify heavily since fixincludes is already built. | |
11265 | (stmp-fixinc): Depend on specs.ready. | |
11266 | (install-mkheaders): Use new location of fixincludes. | |
11267 | (clean): Do not descend into fixinc. | |
11268 | (FORBUILD): Replace with ../$(build_subdir). | |
11269 | * configure.ac (build_subdir): Substitute. | |
11270 | (FORBUILD): Do not set. | |
11271 | (all_outputs): Remove fixinc/Makefile. | |
11272 | (default commands): Do not create links in fixinc. | |
11273 | * mkfixinc.sh: New, from fixinc/mkfixinc.sh without | |
11274 | the fixincludes configuration steps and substituting | |
11275 | @FIXINCL@ in fixinc.in. | |
11276 | * fixinc.in: New, from fixinc/fixincl.sh. | |
11277 | ||
11278 | * fixinc/*: Removed. | |
5906d013 | 11279 | |
f7b0fb68 JM |
11280 | 2004-08-31 Joseph S. Myers <jsm@polyomino.org.uk> |
11281 | ||
11282 | * attribs.c (strip_attrs): Remove. | |
11283 | (split_specs_attrs): Move ... | |
11284 | * c-decl.c: ... to here. | |
11285 | * tree.h (split_specs_attrs, strip_attrs): Remove. | |
11286 | * c-tree.h (split_specs_attrs): Declare. | |
11287 | ||
f51a38b9 RS |
11288 | 2004-08-31 Richard Sandiford <rsandifo@redhat.com> |
11289 | ||
11290 | * read-rtl.c: Disable RTL checking. | |
11291 | (apply_macro_to_rtx): Use XTMPL to access 'T' fields. | |
11292 | ||
34ebf755 RS |
11293 | 2004-08-31 Richard Sandiford <rsandifo@redhat.com> |
11294 | ||
11295 | * config/mips/mips.md (fcond): New code macro and attribute. | |
11296 | (sunordered_[sd]f, suneq_[sd]f, sunlt_[sd]f, sunle_[sd]f) | |
11297 | (seq_[sd]f, slt_[sd]f, sle_[sd]f): Redefine using :SCALARF and fcond. | |
11298 | (sgt_[sd]f, sge_[sd]f): Redefine using :SCALARF. | |
11299 | ||
9b76aa3b MM |
11300 | 2004-08-30 Mark Mitchell <mark@codesourcery.com> |
11301 | ||
11302 | Revert: | |
11303 | 2004-08-29 Mark Mitchell <mark@codesourcery.com> | |
11304 | PR rtl-optimization/16590 | |
11305 | * gcse.c (pre_delete): Do not create invalid REG_EQUAL notes. | |
11306 | ||
99fa8911 AP |
11307 | 2004-08-30 Andrew Pinski <apinski@apple.com> |
11308 | ||
5906d013 | 11309 | * hard-reg-set.h: |
992c944c AP |
11310 | s/HOST_BITS_PER_WIDES_FAST_INT/HOST_BITS_PER_WIDEST_FAST_INT. |
11311 | * ChangeLog: Fix previous ChangeLog entry. | |
11312 | ||
99fa8911 | 11313 | PR rtl-opt/13987 |
5906d013 | 11314 | * config.host (use_long_long_for_widest_fast_int): New, default is |
99fa8911 AP |
11315 | off. |
11316 | (ia64-*-hpux*): Enable use_long_long_for_widest_fast_int. | |
11317 | * configure.ac: If use_long_long_for_widest_fast_int, then | |
11318 | define USE_LONG_LONG_FOR_WIDEST_FAST_INT. | |
11319 | * configure: Regenerate. | |
11320 | * config.in: Regenerate. | |
11321 | * hwint.h (HOST_WIDEST_FAST_INT, HOST_BITS_PER_WIDEST_FAST_INT): | |
11322 | New: widest integer type supported efficiently in hardware for the | |
11323 | host. | |
11324 | * sbitmap.h (SBITMAP_ELT_BITS): Define based on | |
11325 | HOST_BITS_PER_WIDEST_FAST_INT. | |
11326 | (SBITMAP_ELT_TYPE): Define based on HOST_WIDEST_FAST_INT. | |
5906d013 | 11327 | * hard-reg-set.h (HARD_REG_ELT_TYPE): Define based on |
99fa8911 AP |
11328 | HOST_WIDEST_FAST_INT |
11329 | instead of HOST_WIDE_INT. | |
11330 | (HARD_REG_SET_LONGS): Likewise. | |
11331 | (UHOST_BITS_PER_WIDE_INT): Likewise. | |
11332 | Change the checks for the fast cases to be based on | |
992c944c | 11333 | HOST_BITS_PER_WIDEST_FAST_INT instead of HOST_BITS_PER_WIDE_INT. |
99fa8911 | 11334 | |
f4c0250b SB |
11335 | 2004-08-30 Steven Bosscher <stevenb@suse.de> |
11336 | ||
11337 | * cfgcleanup.c (merge_memattrs): Look at the value of MEM_SIZE, | |
11338 | not the pointers. | |
11339 | ||
ff164b22 GK |
11340 | 2004-08-30 Geoffrey Keating <geoffk@apple.com> |
11341 | ||
11342 | PR 12738 | |
11343 | PR 17205 | |
11344 | Radar 3460526 | |
11345 | Radar 3775729 | |
11346 | * c-decl.c (grokdeclarator): Produce error for 'static' on local | |
11347 | function declaration. | |
11348 | ||
bc482be4 RH |
11349 | 2004-08-30 Richard Henderson <rth@redhat.com> |
11350 | ||
11351 | * expr.c (array_ref_element_size): Force aligned_size back to | |
11352 | sizetype. | |
11353 | (component_ref_field_offset): Similarly for aligned_offset. | |
11354 | * tree.c (recompute_tree_invarant_for_addr_expr): Mark raw | |
11355 | low-bound, element-size, field-offset fields rather than | |
11356 | computed values. | |
11357 | ||
21611613 JM |
11358 | 2004-08-30 Joseph S. Myers <jsm@polyomino.org.uk> |
11359 | ||
11360 | * c-parse.in (parmlist_or_identifiers_1): Remove unreachable and | |
11361 | redundant code. | |
11362 | ||
7b112487 JM |
11363 | 2004-08-30 Joseph S. Myers <jsm@polyomino.org.uk> |
11364 | ||
11365 | * c-tree.h (struct language_function): Add arg_info element. | |
11366 | * c-decl.c (current_function_arg_info): New. | |
11367 | (grokdeclarator, store_parm_decls): Use it instead of | |
11368 | DECL_ARGUMENTS. | |
11369 | (c_push_function_context, c_pop_function_context): Save and | |
11370 | restore it. | |
11371 | ||
5cc200fc RH |
11372 | 2004-08-30 Richard Henderson <rth@redhat.com> |
11373 | ||
5906d013 | 11374 | * c-typeck.c (build_unary_op): Don't expand ADDR_EXPR of a |
5cc200fc RH |
11375 | COMPONENT_REF to pointer arithmetic. |
11376 | * varasm.c (initializer_constant_valid_p): Allow "&(*c).f", for | |
11377 | constant "c" as a valid constant initializer. Allow narrowing of | |
11378 | differences against the same base object, for any base object. | |
11379 | ||
6377bb9a RH |
11380 | 2004-08-30 Richard Henderson <rth@redhat.com> |
11381 | ||
11382 | * expr.c (expand_expr_addr_expr): New. | |
11383 | (expand_expr_real_1) <case ADDR_EXPR>: Use it. | |
11384 | ||
308cd611 RS |
11385 | 2004-08-30 Richard Sandiford <rsandifo@redhat.com> |
11386 | ||
11387 | * config/mips/mips.c (MIPS_FP_CONDITIONS): New macro. | |
11388 | (mips_fp_condition): New enum. | |
11389 | (mips_fp_conditions): New array. | |
11390 | (print_fcc_operand): Delete. | |
11391 | (print_operand): Remove %V, %v and %Q. Redefine %Z so that it prints | |
11392 | the operand and comma if and only if ISA_HAS_8CC. Add %Y. | |
11393 | (builtin_description): Add "cond" field. | |
11394 | (DIRECT_BUILTIN): Initialize it. | |
11395 | (CMP_{SCALAR,PS,4S}_BUILTINS, MOVTF_BUILTINS): Split INSN parameter | |
11396 | into INSN and CODE. Initialize the "cond" field. | |
11397 | (CMP_BUILTINS): Update accordingly. | |
11398 | (mips_bdesc): Use MIPS_FP_CONDITIONS to invoke CMP_BUILTINS. | |
11399 | (mips_expand_builtin_movtf, mips_expand_builtin_compare): Take the | |
11400 | mips_fp_condition as argument. Make it the final operand of the | |
11401 | comparison instruction. | |
11402 | (mips_expand_builtin): Update accordingly. | |
11403 | * config/mips/mips.md (UNSPEC_C_*, UNSPEC_CABS_*): Delete. | |
11404 | (UNSPEC_C, UNSPEC_CABS): New constants. Shuffle others to fill | |
11405 | the gaps. | |
11406 | * config/mips/mips-ps-3d.md (mips_cond_move_tf_ps, bc1any[24][ft]): | |
11407 | Don't use the 'Q' operand prefix; just print the operand normally. | |
11408 | (mips_cabs_*, mips_c_*): Delete, replacing with... | |
11409 | (mips_c_cond_{ps,4s}, mips_cabs_cond_{s,d,ps,4s}): ...these new | |
11410 | patterns. Split the 4s versions into 2 ps patterns after reload. | |
11411 | ||
88f19756 RH |
11412 | 2004-08-30 Richard Henderson <rth@redhat.com> |
11413 | ||
11414 | * fold-const.c (tree_expr_nonzero_p): Use get_base_address before | |
11415 | assuming an ADDR_EXPR is non-null. | |
11416 | ||
70008293 JM |
11417 | 2004-08-30 Jason Merrill <jason@redhat.com> |
11418 | ||
d92a3b38 | 11419 | * gthr-posix.h, gthr-dce.h: Add #pragma weaks. |
70008293 | 11420 | |
8ce16ed6 NS |
11421 | 2004-08-30 Nathan Sidwell <nathan@codesourcery.com> |
11422 | ||
11423 | * alias.c (mems_in_disjoint_alias_sets_p, record_alias_subset, | |
11424 | record_set, rtx_equal_for_memref_p, init_alias_analysis): Use | |
11425 | gcc_assert and gcc_unreachable instead of abort. | |
11426 | * alloc-pool.c (abort, fancy_abort): Remove. | |
11427 | (create_alloc_pool, free_alloc_pool, pool_alloc, pool_free): Use | |
11428 | gcc_assert or gcc_unreachable. | |
11429 | * attribs.c (init_attributes, decl_attributes): Likewise. | |
11430 | * bb-reorder.c (FREE, find_traces_1_round, copy_bb, | |
11431 | mark_bb_for_unlikely_executed_section, | |
11432 | add_labels_and_missing_jumps, fix_crossing_conditional_branches, | |
11433 | fix_crossing_unconditional_branches): Likewise. | |
11434 | * bitmap.c (bitmap_first_set_bit, bitmap_last_set_bit, | |
11435 | bitmap_operation): Likewise. | |
11436 | * bt-load.c (insn_sets_btr_p, augment_live_range, | |
11437 | move_btr_def): Likewise. | |
11438 | * builtins.c (c_readstr, expand_builtin_longjmp, apply_args_size, | |
11439 | apply_result_size, expand_builtin_apply, expand_builtin_mathfn, | |
11440 | expand_builtin_mathfn_2, expand_builtin_mathfn_3, | |
11441 | builtin_memcpy_read_str, expand_movstr, expand_builtin_stpcpy, | |
11442 | expand_builtin_memcmp, expand_builtin_args_info, | |
11443 | std_gimplify_va_arg_expr, expand_builtin_unop, | |
11444 | expand_builtin_fputs, expand_builtin_profile_func, | |
11445 | expand_builtin_fork_or_exec, fold_builtin_bitop, | |
11446 | fold_builtin_classify, fold_builtin_fputs): Likewise. | |
11447 | ||
fc6633e0 NS |
11448 | 2004-08-30 Nathan Sidwell <nathan@codesourcery.com> |
11449 | ||
e0448193 NS |
11450 | * gcov-io.c (GCOV_CHECK): Use gcc_assert when available. |
11451 | * gcov.c (abort): Remove undef. | |
11452 | ||
fc6633e0 NS |
11453 | * tree.h (BINFO_PRIMARY_BASE_OF): Remove. |
11454 | (struct tree_binfo): Remove primary field. | |
11455 | ||
89b8abbf PB |
11456 | 2004-08-30 Paolo Bonzini <bonzini@gnu.org> |
11457 | ||
11458 | * fixinc/Makefile.in (machname.h): Remove. | |
11459 | (fixincl.x): Do not pass $@ to genfixes. | |
11460 | * fixinc/genfixes: Remove code to produce machname.h. | |
11461 | * fixinc/fixincl.sh: Move it here instead. | |
11462 | * fixinc/fixlib.c: Do not conditionalize on MN_NAME_PAT's presence, | |
11463 | instead check if pz_mn_name_pat is NULL. Make mn_get_regexps | |
11464 | return a bool indicating whether pz_mn_name_pat is NULL. | |
11465 | * fixinc/fixlib.h: Do not conditionalize on MN_NAME_PAT's presence. | |
11466 | Declare extern C variables for the ENV_TABLE. | |
11467 | * fixinc/fixfixes.c: Do not conditionalize on MN_NAME_PAT's presence, | |
11468 | instead use the result of mn_get_regexps. | |
11469 | * fixinc/fixtests.c: Likewise. | |
11470 | ||
39880d37 PB |
11471 | 2004-08-30 Paolo Bonzini <bonzini@gnu.org> |
11472 | ||
11473 | * configure.ac: Do not run fixincludes after stage1 during | |
11474 | toplevel bootstrap. | |
11475 | * configure: Regenerate. | |
11476 | ||
a8b3643c RE |
11477 | 2004-08-30 Richard Earnshaw <rearnsha@arm.com> |
11478 | ||
11479 | * sched-deps.c (get_condition): Partially revert previous, by never | |
11480 | trying to extract the condition from a condjump. | |
11481 | ||
fc6633e0 NS |
11482 | 2004-08-30 Nathan Sidwell <nathan@codesourcery.com> |
11483 | ||
11484 | * c-common.c (c_sizeof_or_alignof_type): Use gcc_assert. | |
11485 | (handle_visibility_attribute, c_determine_visibility): Likewise. | |
11486 | * c-common.h (my_friendly_assert): Remove. | |
11487 | ||
afa396ff RS |
11488 | 2004-08-30 Richard Sandiford <rsandifo@redhat.com> |
11489 | ||
11490 | * config/mips/mips.md (UNSPEC_{RSQRT,RECIP}[12]_{S,D,PS}): Delete. | |
11491 | (UNSPEC_{RSQRT,RECIP}[12]): New constants. | |
11492 | (UNSPEC_MOVE_TF_PS): Renumber to avoid gaps. | |
11493 | * config/mips/mips-ps-3d.md (*movcc_v2sf_[sd]i): Use :GPR. | |
11494 | (mips_{rsqrt,recip}[12]_{s,d,ps}): Use :ANYF. | |
11495 | ||
ef6379fd DN |
11496 | 2004-08-30 Diego Novillo <dnovillo@redhat.com> |
11497 | ||
11498 | * tree-pretty-print.c (dump_generic_node): Handle VALUE_HANDLE | |
11499 | in COMPONENT_REF nodes. | |
11500 | ||
7783b402 GDR |
11501 | 2004-08-29 Gabriel Dos Reis <gdr@integrable-solutions.net> |
11502 | ||
11503 | PR c++/15378 | |
11504 | * c-opts.c (c_common_handle_option): <case OPT_Werror> set | |
11505 | global_dc->warning_as_error_requested. | |
11506 | * diagnostic.c (diagnostic_initialize): Tidy. | |
11507 | * diagnostic.h (diagnostic_context::x_data): Remove | |
11508 | (diagnostic_context::issue_warnings_are_errors_message): Rename | |
11509 | from warnings_are_errors_message. | |
11510 | (diagnostic_context::warning_as_error_requested): New. | |
11511 | ||
adf968c7 RE |
11512 | 2004-08-30 Richard Earnshaw <rearnsha@arm.com> |
11513 | ||
11514 | * sched-deps.c (get_condition): Fix breakage in previous patch. | |
11515 | ||
999f4d5e PB |
11516 | 2004-08-30 Paul Brook <paul@codesourcery.com> |
11517 | ||
11518 | * doc/install.texi: Fix broken mpfr link. | |
11519 | ||
5a0c2304 DB |
11520 | 2004-08-29 David O'Brien <obrien@FreeBSD.org> |
11521 | ||
11522 | * config/rs6000/sysv4.h (LINK_OS_FREEBSD_SPEC): Sync '-p' handling with | |
11523 | other FreeBSD platforms. | |
11524 | ||
880873be RE |
11525 | 2004-08-29 Richard Earnshaw <rearnsha@arm.com> |
11526 | ||
11527 | * arm.h (REVERSE_CONDITION): Define. | |
11528 | (REVERSIBLE_CC_MODE): All comparisons are now reversible. | |
11529 | ||
15dce812 RE |
11530 | 2004-08-29 Richard Earnshaw <rearnsha@arm.com> |
11531 | ||
11532 | * flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not | |
11533 | just the codes, call reversed_comparison_code (). | |
11534 | (ior_reg_cond): Update arguments to REVERSE_CONDEXEC_PREDICATES_P. | |
11535 | (not_reg_cond): Use reversed_comparison_code. | |
11536 | (and_reg_cond): Likewise. | |
11537 | * ifcvt.c (cond_exec_process_if_block): Likewise. | |
11538 | * doc/tm.texi (REVERSE_CONDEXEC_PREDICATES_P): Update documentation. | |
11539 | ||
6903ecd4 RE |
11540 | 2004-08-29 Richard Earnshaw <rearnsha@arm.com> |
11541 | ||
11542 | * sched-deps.c (get_condition): Rewrite using jump support functions. | |
11543 | Use reversed_comparison_code. | |
11544 | (conditions_mutex_p): Use reversed_comparison_code. | |
11545 | ||
ea9bfbf2 RS |
11546 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11547 | ||
11548 | * config/mips/mips.c (override_options): Disable hot/cold partitioning | |
11549 | for MIPS16. | |
11550 | ||
4ca1f68f RS |
11551 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11552 | ||
11553 | * config/mips/mips.h (mips_builtins, mips_cmp_choice): Delete. | |
11554 | (mips_function_type): Move to mips.c. | |
11555 | * config/mips/mips.c (mips_builtin_type): New enum. | |
11556 | (builtin_description): Replace code and ftype with builtin_type | |
11557 | and function_type. | |
11558 | (DIRECT_BUILTIN, CMP_SCALAR_BUILTINS, CMP_PS_BUILTINS, CMP_4S_BUILTINS) | |
11559 | (MOVTF_BUILTINS, CMP_BUILTINS): New macros. | |
11560 | (CODE_FOR_mips_abs_ps): Define. | |
11561 | (mips_bdesc): Use new macros. | |
11562 | (mips_expand_builtin): Use builtin_type. Update calls to subroutines. | |
11563 | (mips_init_builtins): Use the mips_bdesc[] index as the function code. | |
11564 | (mips_expand_builtin_direct): New function. | |
11565 | (mips_expand_builtin_movtf): Renamed from mips_expand_ps_cond_move_ | |
11566 | builtin. Replace boolean parameter with builtin_type. | |
11567 | (mips_expand_compare_builtin, mips_expand_scalar_compare_builtin) | |
11568 | (mips_expand_4s_compare_builtin): Delete, replacing with... | |
11569 | (mips_expand_builtin_compare): ...this new function. | |
11570 | ||
5e9f78cc MM |
11571 | 2004-08-29 Mark Mitchell <mark@codesourcery.com> |
11572 | ||
11573 | PR rtl-optimization/16590 | |
11574 | * gcse.c (pre_delete): Do not create invalid REG_EQUAL notes. | |
11575 | ||
766ff1b1 DN |
11576 | 2004-08-29 Diego Novillo <dnovillo@redhat.com> |
11577 | ||
11578 | * tree-ssa-ccp.c (ccp_visit_stmt): Remove #if 0 guards. | |
11579 | * tree-ssa-propagate.c: Fix documentation. | |
11580 | ||
2435c4c1 RS |
11581 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11582 | ||
11583 | * config/mips/mips.md (*mov[sd]f_on_*): Redefine using :SCALARF. | |
11584 | (mov[sd]fcc): Likewise. | |
11585 | ||
53d9ac3b RS |
11586 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11587 | ||
11588 | * config/mips/mips.md (cmp[sd]f): Redefine using :SCALARF. | |
11589 | ||
93898c8b RS |
11590 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11591 | ||
11592 | * config/mips/mips.md (divide_condition): New mode attribute. | |
11593 | (div[sd]f3, *div[sd]f3): Use it. Redefine using :SCALARF. | |
11594 | (sqrt[sd]f3): Redefine using SCALARF. | |
11595 | (*recip[sd]f3, *rsqrt<mode>[ab]): Likewise. Name formerly unnamed | |
11596 | patterns. | |
11597 | ||
aae0609c RS |
11598 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11599 | ||
11600 | * config/mips/mips.md (ANYF, SCALARF): New mode macros. | |
11601 | (loadx, storex, fmt, UNITMODE): New mode attributes. | |
11602 | (add{sf,df,v2sf}3, sub{sf,df,v2sf}3): Redefine using :ANYF. | |
11603 | (mul[sd]f3): Redefine using :SCALARF. | |
11604 | (*mul[sd]f3): Renamed from mul[sd]f3_internal. Use :SCALARF. | |
11605 | (*mul[sd]3_r4300): Likewise mul[sd]f3_r4300. | |
11606 | (*m{add,sub}{sf,df,v2sf}3): Name formerly unnamed patterns. Use :ANYF. | |
11607 | Check TARGET_FUSED_MADD for V2SF too. | |
11608 | (*nm{add,sub}{sf,df,v2sf}3{,_fastmath}): Likewise, except v2sf patterns | |
11609 | were already named. | |
11610 | (abs{sf,df,v2sf}3, neg{sf,df,v2sf}3): Redefine using :ANYF. | |
11611 | (*[sl][wd]xc1_[sd]i): Redefine using :ANYF. | |
11612 | ||
74fc61d1 RS |
11613 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11614 | ||
11615 | * config/mips/mips.c (mips_init_builtins): Simplify. Only create | |
11616 | V2SF_type_node if it will be needed. | |
11617 | ||
ff55fb9c RS |
11618 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11619 | ||
11620 | * config/mips/mips.h (MIPS_CMP_MOVT, MIPS_CMP_MOVF): Delete. | |
11621 | * config/mips/mips.c (mips_prepare_builtin_arg): New function. | |
11622 | (mips_prepare_builtin_target): New function. | |
11623 | (mips_expand_builtin): Use them. Update calls to subroutines. | |
11624 | (mips_expand_ps_cond_move_builtin): Use the new functions. Replace | |
11625 | cmp_choice with a boolean argument to select between movt and movf. | |
11626 | Take the comparison's icode as an argument, not the function's fcode. | |
11627 | (mips_expand_compare_builtin): New function. Rename existing function | |
11628 | to mips_expand_scalar_compare_builtin. | |
11629 | (mips_expand_scalar_compare_builtin, mips_expand_4s_compare_builtin) | |
11630 | (mips_expand_ps_compare_builtin): Use the new functions. Take the | |
11631 | comparison's icode as an argument, not the builtin's fcode. | |
11632 | ||
f691c4e3 RS |
11633 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11634 | ||
11635 | * config/mips/mips.c (print_operand): Remove '%Y' and '%y'. | |
11636 | (mips_expand_4s_compare_builtin): Redefine CCV4 to be 0 if all | |
11637 | registers are false and -1 if all registers are true. | |
11638 | (mips_expand_ps_compare_builtin): Likewise CCV2. Use subregs for | |
11639 | MIPS_CMP_UPPER and MIPS_CMP_LOWER. | |
11640 | * config/mips/mips.md (mips_cond_move_tf_ps): Use %Q rather than %y. | |
11641 | (bc1any4t, bc1any4f): Adjust for new CCV4 interpretation. | |
11642 | (bc1any2t, bc1any2f): Likewise CCV2. | |
11643 | (bc1upper2t, bc1lower2t, bc1upper2f, bc1lower2f): Delete. | |
11644 | ||
49135706 RS |
11645 | 2004-08-29 Richard Sandiford <rsandifo@redhat.com> |
11646 | ||
11647 | * config/mips/mips.md (UNSPEC_MOVE_TF_PS): New. | |
11648 | * config/mips/mips-ps-3d.md (mips_cond_move_tf_ps): Express as an | |
11649 | UNSPEC rather than an IF_THEN_ELSE. | |
11650 | * config/mips/mips.c (mips_expand_ps_cond_move_builtin): Emit | |
11651 | mips_cond_move_tf_ps by name. | |
11652 | ||
06a4ab70 CF |
11653 | 2004-08-29 Chao-ying Fu <fu@mips.com> |
11654 | James E Wilson <wilson@specifixinc.com> | |
5906d013 | 11655 | |
06a4ab70 CF |
11656 | * config/mips/mips-modes.def (V2SF, CCV2, CCV4): New modes. Give CCV2 |
11657 | 8 byte size and alignment. Give CCV4 16 byte size and alignment. | |
11658 | * config/mips/mips-ps-3d.md: New file. | |
11659 | * config/mips/mips.c (TARGET_VECTOR_MODE_SUPPORTED_P, | |
11660 | TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
11661 | (mips_const_insns): Handle CONST_VECTOR the same as CONST_DOUBLE. | |
11662 | (mips_output_move): Emit "mov.ps" for V2SFmode. | |
11663 | (mips_arg_info): Add checks for VECTOR_FLOAT_TYPE_P and | |
11664 | MODE_VECTOR_FLOAT. | |
11665 | (override_options): Check if TARGET_MIPS3D and there was an explicit | |
11666 | !TARGET_PAIRED_SINGLE_FLOAT. Set MASK_PAIRED_SINGLE, if TARGET_MIPS3D. | |
11667 | Check if TARGET_FLOAT64 and TARGET_HARD_FLOAT are both true, when | |
11668 | TARGET_PAIRED_SINGLE_FLOAT is true. Check if the ISA supports | |
11669 | TARGET_PAIRED_SINGLE_FLOAT. Allow MODE_VECTOR_FLOAT in fp registers, | |
11670 | and allow CCV2 and CCV4 to occupy two and four CC registers. | |
11671 | (print_fcc_operand): New function. | |
11672 | (print_operand): Add %Y, %y, %V, %v, %Q for CCV2, CCV4, CC. Modify | |
11673 | %Z to call print_fcc_operand. | |
11674 | (mips_function_value): Handle MODE_VECTOR_FLOAT. | |
11675 | (mips_class_max_nregs): Check for ST_REGS, and handle CCmodes. | |
11676 | (mips_vector_mode_supported_p): New function. | |
11677 | (mips_hard_regno_nregs): Check for ST_REG_P, and handle CCmodes. | |
11678 | (builtin_description): New struct. | |
11679 | (mips_bdesc): New array of struct builtin_description. | |
11680 | (mips_expand_builtin, mips_init_builtins, | |
11681 | mips_expand_ps_cond_move_builtin, mips_expand_4s_compare_builtin, | |
11682 | mips_expand_compare_builtin, mips_expand_ps_compare_builtin): New | |
11683 | functions. | |
11684 | * config/mips/mips.h (MASK_PAIRED_SINGLE, MASK_MIPS3D): New defines. | |
11685 | (TARGET_PAIRED_SINGLE_FLOAT, TARGET_MIPS3D): New defines. | |
11686 | (TARGET_CPU_CPP_BUILTINS): Add __mips_paired_single_float. | |
11687 | (TARGET_SWITCHES): Added "-mpaired-single", "-mno-paired-single", | |
11688 | "-mips3d", and "-mno-mips3d". | |
11689 | (ASM_SPEC): Map -mips3d to -mips3d in gas. | |
11690 | (EXTRA_CONSTRAINT_Y): New macro. | |
11691 | (EXTRA_CONSTRAINT_STR): Renamed from EXTRA_CONSTRAINT. Add new | |
11692 | multi-letter constraint 'Y'. | |
11693 | (CONSTRAINT_LEN): New macro. | |
11694 | (enum mips_builtins): New for MIPS builtin functions. | |
11695 | (enum mips_function_type): New for the types of MIPS builtin functions. | |
11696 | (enum mips_cmp_choice): New for the MIPS comparison builtin functions. | |
5906d013 | 11697 | * config/mips/mips.md: New constants for paired single and MIPS-3D |
06a4ab70 CF |
11698 | instructions. Include the new mips-ps-3d.md file. |
11699 | (addv2sf3, subv2sf3, mulv2sf3, absv2sf2, negv2sf2, movv2sf, | |
11700 | movv2sf_hardfloat_64bit): New named patterns. | |
11701 | (madd.ps, msub.ps, nmaddv2sf, nmaddv2sf_fastmath, nmsubv2sf, | |
11702 | nmsubv2sf_fastmath, ldxc1_v2sf_si, ldxc1_v2sf_di, sdxc1_v2sf_si, | |
11703 | sdxc1_v2sf_di): New unnamed patterns. | |
11704 | * config/mips/predicates.md (const_0_operand, const_1_operand): Add | |
11705 | const_vector support. | |
11706 | (const_0_or_1_operand): New predicate. | |
11707 | * doc/invoke.texi (MIPS Options): Add -mpaired-single and -mips3d. | |
11708 | ||
750628d8 DN |
11709 | 2004-08-29 Diego Novillo <dnovillo@redhat.com> |
11710 | ||
11711 | * Makefile.in (OBJS-common): Add tree-ssa-propagate.o | |
11712 | (tree-ssa-propagate.o): New rule. | |
11713 | (GTFILES): Add tree-ssa-propagate.c. | |
11714 | * tree-flow.h (struct stmt_ann_d): Remove field | |
11715 | in_ccp_worklist. | |
11716 | * tree-ssa-propagate.c: New file. | |
11717 | * tree-ssa-propagate.h: New file. | |
11718 | * tree-ssa-ccp.c: Re-write to use the routines from | |
11719 | tree-ssa-propagate.c. | |
11720 | ||
f108270b AP |
11721 | 2004-08-28 Andrew Pinski <apinski@apple.com> |
11722 | ||
11723 | * tree-ssa-loop.c: Remove extra include of basic-block.h. | |
11724 | ||
e5a002e3 ZL |
11725 | 2004-08-28 Ziemowit Laski <zlaski@apple.com> |
11726 | ||
11727 | * c-common.h: Update comments about ObjC/ObjC++ entry points. | |
11728 | (objc_is_reserved_word): New prototype. | |
11729 | (get_current_scope, objc_mark_locals_volatile): Move prototypes to | |
11730 | separate section; these are call-backs. | |
11731 | * c-lex.c (c_lex_with_flags): Call objc_is_reserved_word() to detect | |
11732 | ObjC/ObjC++ "@" keywords. | |
11733 | * c-tree.h (get_current_scope, objc_mark_locals_volatile): Remove | |
11734 | prototypes; they already live in c-common.h. | |
11735 | * stub-objc.c: Update copyright notice. | |
11736 | (objc_is_reserved_word): New stub. | |
11737 | ||
2c46a62f NS |
11738 | 2004-08-28 Nathan Sidwell <nathan@codesourcery.com> |
11739 | ||
11740 | * system.h (gcc_assert): Remove __builtin_expect. Evaluate EXPR | |
11741 | even when not checking. | |
11742 | ||
40aac948 JM |
11743 | 2004-08-27 Jason Merrill <jason@redhat.com> |
11744 | ||
11745 | PR c++/13684 | |
11746 | * gimplify.c (gimplify_cleanup_point_expr): Handle CLEANUP_EH_ONLY. | |
11747 | (gimple_push_cleanup): Add eh_only parm. | |
11748 | (gimplify_target_expr): Pass it. | |
11749 | * c.opt (-fno-threadsafe-statics): New option. | |
11750 | * c-opts.c (c_common_handle_option): Handle it. | |
11751 | * c-common.h (flag_threadsafe_statics): Declare it. | |
11752 | * c-common.c (flag_threadsafe_statics): Record it. | |
11753 | * doc/invoke.texi: Document it. | |
11754 | * tsystem.h (_GNU_SOURCE): Define. | |
11755 | * gthr-posix.h (__gthread_recursive_mutex_t): New typedef. | |
11756 | (__GTHREAD_RECURSIVE_MUTEX_INIT): New macro. | |
11757 | (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): New macro. | |
11758 | (__gthread_recursive_mutex_init_function): New fn. | |
11759 | (__gthread_recursive_mutex_lock): New fn. | |
11760 | (__gthread_recursive_mutex_trylock): New fn. | |
11761 | (__gthread_recursive_mutex_unlock): New fn. | |
11762 | * gthr-solaris.h, gthr-single.h, gthr-dce.h: Likewise. | |
11763 | * gthr-win32.h, gthr-vxworks.h: Likewise. | |
11764 | * gthr.h: Document. | |
11765 | ||
1494c534 DE |
11766 | 2004-08-27 David Edelsohn <edelsohn@gnu.org> |
11767 | ||
11768 | * config/rs6000/rs6000.c (rs6000_override_options): Increase | |
11769 | maximum skip to 15. Set function alignment, jump alignment, and | |
11770 | loop alignment to 16 for processors that form dispatch groups. | |
03e9c50a | 11771 | (rs6000_rtx_costs): outer_code is used. |
1494c534 | 11772 | |
ce552f75 NS |
11773 | 2004-08-27 Nathan Sidwell <nathan@codesourcery.com> |
11774 | ||
e3861d2a NS |
11775 | * stor-layout.c (sizetype_set): Remove. |
11776 | (set_sizetype): Don't test or set it. | |
11777 | ||
ce552f75 NS |
11778 | * tree.h (size_int_type): Remove. |
11779 | * fold-const.c: Do not #include gt-fold-const.h. | |
11780 | (size_htab_hash, size_htab_eq): Remove. | |
11781 | (size_int_kind): Use build_int_cst. | |
11782 | (new_const, size_htab): Remove. | |
11783 | (size_int_type): Remove. | |
11784 | (round_up): Use build_int_cst. | |
11785 | (round_down): Likewise. Remove spurious constant build. | |
11786 | ||
06c37c96 NS |
11787 | 2004-08-27 Nathan Sidwell <nathan@codesourcery.com> |
11788 | ||
11789 | * configure.ac: Add ENABLE_ASSERT_CHECKING control. | |
11790 | Add is_release variable, use it for --enable-werror and | |
11791 | --enable-checking defaults. | |
11792 | * system.h (gcc_assert, gcc_unreachable): New. | |
11793 | * doc/install.texi (--enable-checking): Update. | |
11794 | * configure, config.in: Rebuilt. | |
11795 | ||
57406c63 RS |
11796 | 2004-08-26 Richard Sandiford <rsandifo@redhat.com> |
11797 | ||
11798 | * rtl.h (read_rtx): Change prototype. | |
11799 | * read-rtl.c (read_rtx): Provide the caller with both an rtx and a | |
11800 | line number. Return true on success. | |
11801 | * gensupport.c (process_include, init_md_reader_args_cb): Adjust | |
11802 | callers accordingly. | |
11803 | ||
ee8a6a3e RH |
11804 | 2004-08-26 Richard Henderson <rth@redhat.com> |
11805 | ||
11806 | * c-typeck.c (build_offsetof): Remove. | |
11807 | * c-tree.h (build_offsetof): Remove. | |
11808 | * c-common.c (fold_offsetof_1, fold_offsetof): New. | |
11809 | * c-common.h (fold_offsetof): Declare. | |
11810 | * c-parse.in (offsetof_base): New. | |
11811 | (offsetof_member_designator): Use it. Build references, not just | |
11812 | a tree list. | |
11813 | (primary): Use fold_offsetof, not build_offsetof. | |
11814 | ||
525c6bf5 RH |
11815 | 2004-08-26 Richard Henderson <rth@redhat.com> |
11816 | ||
11817 | * tree.c (staticp): Return the static object. | |
11818 | * tree.h (staticp): Update decl. | |
11819 | * langhooks.h (struct lang_hooks): Change staticp return type to tree. | |
11820 | * langhooks.c (lhd_staticp): Return NULL_TREE. | |
11821 | * langhooks-def.h (lhd_staticp): Update decl. | |
11822 | * c-common.c (c_staticp): Return the static object. | |
11823 | * c-common.h (c_staticp): Update decl. | |
11824 | ||
d416c0b3 RH |
11825 | 2004-08-26 Richard Henderson <rth@redhat.com> |
11826 | ||
11827 | * config/alpha/alpha.h (HARD_REGNO_MODE_OK): Allow complex float | |
11828 | modes. | |
11829 | ||
0b410f0b JM |
11830 | 2004-08-26 Joseph S. Myers <jsm@polyomino.org.uk> |
11831 | ||
11832 | PR c/13801 | |
11833 | * c-decl.c (struct c_binding): Add type and inner_comp fields. | |
11834 | (bind): Set type and inner_comp fields. | |
11835 | (pop_scope): Restore type of decl to the correct type from an | |
11836 | outer scope. Give error when popping file scope for incomplete | |
11837 | arrays completed incompatibly with default initialization in an | |
11838 | inner scope. | |
11839 | (diagnose_mismatched_decls): Handle externs with initializers at | |
11840 | block scope. | |
11841 | (pushdecl): Set type of external declaration at block scope based | |
11842 | only on the visible declarations. Save type when changing the | |
11843 | type of a declaration. Merge an external declaration at block | |
11844 | scope with a visible static declaration at file scope. | |
11845 | (implicitly_declare): Give recycled old declaration the new type | |
11846 | except for incompatible declarations of built-in functions, saving | |
11847 | the old type. | |
11848 | ||
b77c7437 ZL |
11849 | 2004-08-26 Ziemowit Laski <zlaski@apple.com> |
11850 | ||
11851 | * c-parse.in (OBJC_TYPE_QUAL): New %token for ObjC use. | |
11852 | ||
a228baff DB |
11853 | 2004-08-26 Daniel Berlin <dberlin@dberlin.org> |
11854 | ||
11855 | * tree-alias-common.c (gate_pta): New function. | |
11856 | (pass_build_pta): Use it. | |
11857 | (pass_del_pta): Use it. | |
11858 | (delete_alias_vars): Don't check flag_tree_points_to. | |
11859 | ||
2e6c9641 FJ |
11860 | 2004-08-26 Fariborz Jahanian <fjahanian@apple.com> |
11861 | ||
5906d013 | 11862 | * config/rs6000/rs6000.h (HARD_REGNO_CALL_PART_CLOBBERED): Added |
2e6c9641 FJ |
11863 | TFmode as additional register mode cloberred by call. |
11864 | ||
11865 | 2004-08-26 Fariborz Jahanian <fjahanian@apple.com> | |
11866 | ||
11867 | * config/rs6000/rs6000.c (rs6000_libcall_value): Generate | |
11868 | parallel pattern for library call returning DImode in | |
11869 | mixed mode. | |
11870 | ||
11871 | 2004-08-26 Fariborz Jahanian <fjahanian@apple.com> | |
11872 | ||
11873 | * config/rs6000/rs6000.c (function_arg): Generate parallel | |
11874 | pattern for more split args. | |
11875 | ||
11876 | 2004-08-26 Fariborz Jahanian <fjahanian@apple.com> | |
11877 | ||
11878 | * config/rs6000/rs6000.c (rs6000_split_multireg_move): Call | |
11879 | either gen_movdi_di_update or gen_movdi_si_update depending on | |
11880 | target mode. | |
11881 | * config/rs6000/rs6000.md (movdi_update): Changed to movdi_<mode>_update, | |
11882 | to generate two versions. | |
5906d013 | 11883 | |
36d59cf7 DB |
11884 | 2004-08-26 Daniel Berlin <dberlin@dberlin.org> |
11885 | ||
11886 | * Makefile.in (lambda-code.o): New. | |
11887 | (lambda-trans.o): Ditto. | |
11888 | (TREE_DATA_REF_H): Ditto. | |
11889 | (LAMBDA_H): Ditto. | |
11890 | (lambda-mat.o): Use LAMBDA_H. | |
11891 | (tree-data-ref.o): Ditto. | |
11892 | * lambda-code.c: New file. Lambda code generation algorithm. | |
11893 | * lambda-trans.c: Ditto. Lambda transformation matrix support. | |
11894 | * lambda.h: Add lambda loop structures. | |
11895 | Add lambda loopnest structures. | |
11896 | Add lambda body vector structure. | |
11897 | Add lambda linear expression structures. | |
11898 | Add prototypes for functions in new files. | |
11899 | * lambda-mat.c: Include tree.h | |
11900 | ||
11901 | 2004-08-26 Daniel Berlin <dberlin@dberlin.org> | |
5906d013 EC |
11902 | Sebastian Pop <pop@cri.ensmp.fr> |
11903 | ||
11904 | * tree-data-ref.h: Include lambda.h | |
36d59cf7 | 11905 | (free_dependence_relation): Declared here. |
5906d013 | 11906 | (free_dependence_relations): Ditto. |
36d59cf7 DB |
11907 | (free_data_refs): Ditto. |
11908 | * tree-data-ref.c (free_dependence_relation): New function. | |
11909 | (free_dependence_relations): Ditto. | |
11910 | (free_data_refs): Ditot. | |
11911 | (analyze_all_data_dependences): Free datarefs and dependence_relations. | |
11912 | (build_classic_dist_vector): Store in the dependence_relations the | |
11913 | information. Each arc in the dependence_relations graph is labelled | |
11914 | with the distance and direction vectors. | |
11915 | (build_classic_dir_vector): Ditto. | |
11916 | (compute_rw_wr_ww_dependences): Renamed again compute_all_dependences. | |
11917 | Now computes again the whole dependence graph including read-read | |
11918 | relations. | |
11919 | (compute_data_dependences_for_loop): Now dependence_relations contains | |
11920 | all the data, and thus it doesn't need to initialize the classic_dir | |
11921 | and classic_dist vectors. | |
11922 | (analyze_all_data_dependences): Adjusted for using the new interface of | |
11923 | compute_data_dependences_for_loop. Remove the statistics dump. | |
5906d013 | 11924 | |
a46bbb5a BW |
11925 | 2004-08-26 Bob Wilson <bob.wilson@acm.org> |
11926 | ||
11927 | * config/xtensa/xtensa.c (xtensa_ld_opcodes, xtensa_st_opcodes): Delete. | |
11928 | (xtensa_expand_block_move): Update comment. | |
11929 | (override_options): Remove initialization of xtensa_{ld,st}_opcodes. | |
11930 | ||
52351a5e RE |
11931 | 2004-08026 Richard Earnshaw <rearnsha@arm.com> |
11932 | ||
11933 | PR target/13506 | |
11934 | * toplev.c (crash_signal): If we crashed while emitting | |
11935 | a user asm, then die more gracefully. | |
11936 | ||
b72e46f0 NC |
11937 | 2004-08-26 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
11938 | ||
11939 | PR target/17119. | |
11940 | * config/m32r.c (gen_compare): Use reg_or_int16_operand when | |
11941 | checking for a valid constant, regardless of sign. | |
11942 | ||
fd9363bf RH |
11943 | 2004-08-25 Richard Henderson <rth@redhat.com> |
11944 | ||
d416c0b3 RH |
11945 | PR target/16974 |
11946 | * config/alpha/alpha.md (adddi_fp_hack): Don't rely on splitting | |
11947 | if the constant satisfies add_operand. | |
fd9363bf | 11948 | |
45f413e4 | 11949 | 2004-08-25 Richard Henderson <rth@redhat.com> |
5906d013 | 11950 | |
d416c0b3 RH |
11951 | PR debug/10695 |
11952 | * config/alpha/alpha.c (emit_frame_store_1, emit_frame_store): New. | |
11953 | (alpha_expand_prologue): Handle >32-bit frames. Generate proper | |
11954 | unwind info for >16-bit frames. | |
45f413e4 | 11955 | |
7e233208 RK |
11956 | 2004-08-25 Richard B. Kreckel <richard.kreckel@framatome-anp.com> |
11957 | ||
11958 | PR target/17171 | |
11959 | * config/i386/gas.h (ASM_COMMENT_START): Define to "#". | |
11960 | ||
04886dc0 RH |
11961 | 2004-08-25 Richard Henderson <rth@redhat.com> |
11962 | ||
d416c0b3 RH |
11963 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): New. |
11964 | (TARGET_CANNOT_FORCE_CONST_MEM): New. | |
04886dc0 | 11965 | |
aca2bd7c AM |
11966 | 2004-08-25 Andrew MacLeod <amacleod@redhat.com> |
11967 | ||
11968 | * doc/tree-ssa.texi: Document new operand iterator. | |
11969 | ||
0423421f AM |
11970 | 2004-08-26 Alan Modra <amodra@bigpond.net.au> |
11971 | ||
11972 | PR target/16480 | |
11973 | * config/rs6000/rs6000.c (rs6000_split_multireg_move): Don't abort | |
11974 | on "(mem (symbol_ref ..))" rtl. Look at LO_SUM base regs as well | |
11975 | as PLUS base regs. | |
11976 | ||
e4dc702c PB |
11977 | 2005-08-28 Paul Brook <paul@codesourcery.com> |
11978 | ||
11979 | * config/arm/symbian.h (SUBTARGET_ASM_FLOAT_SPEC): Default to | |
11980 | -mfpu=vfp -march=armv5t | |
37d5a9a5 | 11981 | * config/arm/t-symbian: Change multilib to mfloat-abi=softfp. |
e4dc702c | 11982 | |
6dd53648 RH |
11983 | 2004-08-25 Richard Henderson <rth@redhat.com> |
11984 | ||
11985 | * target-def.h (TARGET_SCALAR_MODE_SUPPORTED_P): New. | |
11986 | * target.h (struct gcc_target): Add scalar_mode_supported_p. | |
11987 | * targhooks.c (default_scalar_mode_supported_p): New. | |
11988 | * targhooks.h (default_scalar_mode_supported_p): Declare. | |
11989 | * doc/tm.texi (TARGET_SCALAR_MODE_SUPPORTED_P): Document. | |
11990 | ||
11991 | * c-common.c (handle_mode_attribute): Query scalar_mode_supported_p | |
11992 | before attempting to create types. Tidy. | |
11993 | * expr.c (vector_mode_valid_p): Use scalar_mode_supported_p. | |
11994 | ||
11995 | * config/alpha/alpha.c (alpha_scalar_mode_supported_p): New. | |
11996 | (TARGET_SCALAR_MODE_SUPPORTED_P): New. | |
11997 | ||
bab2b22b RH |
11998 | 2004-08-25 Richard Henderson <rth@redhat.com> |
11999 | ||
12000 | * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Don't | |
12001 | set REAL_MODE_FORMAT for TFmode. | |
12002 | ||
c34be55e ZL |
12003 | 2004-08-25 Ziemowit Laski <zlaski@apple.com> |
12004 | ||
12005 | * c-decl.c (grokparm): New function. | |
12006 | * c-tree.h (grokparm): New prototype. | |
12007 | ||
4c124b4c AM |
12008 | 2004-08-25 Andrew MacLeod <amacleod@redhat.com> |
12009 | ||
12010 | * tree-ssa-operands.h (struct ssa_operand_iterator_d): New. SSA operand | |
12011 | iterator controlling structure. | |
12012 | (SSA_OP_USE, SSA_OP_DEF, SSA_OP_VUSE, SSA_OP_VMAYUSE, SSA_OP_VMAYDEF, | |
12013 | SSA_OP_VMUSTDEF, SSA_OP_VIRTUAL_USES, SSA_OP_VIRTUAL_DEFS, | |
12014 | SSA_OP_ALL_USES, SSA_OP_ALL_DEFS, SSA_OP_ALL_OPERANDS): New. Operand | |
12015 | iterator flags. | |
12016 | (FOR_EACH_SSA_TREE_OPERAND): New. Iterate over operands as trees. | |
12017 | (FOR_EACH_SSA_USE_OPERAND): New. Iterate over operands as uses. | |
12018 | (FOR_EACH_SSA_DEF_OPERAND): New. Iterate over operands as defs. | |
12019 | (FOR_EACH_SSA_MAYDEF_OPERAND): New. Iterate over V_MAY_DEFs. | |
5906d013 | 12020 | * tree-ssa-operands.c (NULL_DEF_OPERAND_P, NULL_USE_OPERAND_P): New. |
4c124b4c AM |
12021 | Empty operand pointers. |
12022 | * tree-flow-inline.h (op_iter_done): New. Return true if finished. | |
12023 | (op_iter_next_use): New. Return next use_operand_p. | |
12024 | (op_iter_next_def): New. Return next def_operand_p. | |
12025 | (op_iter_next_tree): New. Return next operands as a tree. | |
12026 | (op_iter_init): New. Initialize an iterator structure. | |
12027 | (op_iter_init_use): New. Initialize structure and get the first use. | |
12028 | (op_iter_init_def): New. Initialize structure and get the first def. | |
12029 | (op_iter_init_tree): New. Initialize structure and get the first tree. | |
12030 | (op_iter_next_maydef): New. Return next V_MAY_DEF operands. | |
5906d013 | 12031 | (op_iter_init_maydef): New. Initialize structure and get the first |
4c124b4c AM |
12032 | V_MAY_DEF operands. |
12033 | * tree-cfg.c (tree_duplicate_bb): Use new operand iterator. | |
5906d013 | 12034 | * tree-dfa.c (compute_immediate_uses_for_stmt, |
4c124b4c AM |
12035 | redirect_immediate_uses): Use new operand iterator. |
12036 | (v_may_defs_disappeared_p, v_must_defs_disappeared_p): Delete. | |
12037 | (mark_new_vars_to_rename): Use new operand iterator. Count virtual | |
12038 | operands instead of using *_disappeared_p routines. | |
12039 | * tree-into-ssa.c (mark_def_sites, ssa_mark_def_sites, rewrite_stmt, | |
12040 | ssa_rewrite_stmt): Use new operand iterator. | |
12041 | * tree-outof-ssa.c (check_replaceable, find_replaceable_in_bb, | |
12042 | rewrite_trees): Use new operand iterator. | |
12043 | * tree-pretty-print.c (dump_vops): Use new operand iterator. | |
12044 | * tree-sra.c (mark_all_v_defs): Use new operand iterator. | |
5906d013 | 12045 | * tree-ssa-alias.c (compute_points_to_and_addr_escape, |
4c124b4c | 12046 | dump_points_to_info): Use new operand iterator. |
5906d013 EC |
12047 | * tree-ssa-ccp.c (cp_lattice_meet, visit_stmt, initialize, |
12048 | replace_uses_in, replace_vuse_in, likely_value, set_rhs): Use new | |
4c124b4c | 12049 | operand iterator. |
5906d013 | 12050 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary, |
4c124b4c AM |
12051 | propagate_necessity): Use new operand iterator. |
12052 | * tree-ssa-dom.c (cprop_into_stmt, optimize_stmt): Use operand iterator. | |
12053 | (register_definitions_for_stmt): Use new operand iterator. Take stmt as | |
12054 | a parameter instead of a stmt_ann_t. | |
12055 | * tree-ssa-live.c (create_ssa_var_map, calculate_live_on_entry, | |
12056 | build_tree_conflict_graph): Use new operand iterator. | |
12057 | * tree-ssa-loop-im.c (determine_max_movement, single_reachable_address, | |
12058 | rewrite_mem_refs): Use new operand iterator. | |
5906d013 | 12059 | * tree-ssa-loop-manip.c (find_uses_to_rename_stmt, |
4c124b4c AM |
12060 | check_loop_closed_ssa_use): Use new operand iterator. |
12061 | * tree-ssa.c (verify_ssa, replace_immediate_uses): Use operand iterator. | |
12062 | * tree-ssanames.c (release_defs): Use new operand iterator. | |
12063 | * tree-vectorizer.c (vect_create_data_ref): Use new operand iterator. | |
12064 | ||
4185f1ce AN |
12065 | 2004-08-25 Adam Nemet <anemet@lnxw.com> |
12066 | ||
12067 | * tlink.c (initial_cwd): New variable. | |
12068 | (tlink_init): Initialize it. | |
12069 | (recompile_files): Use tlink_execute() instead of system(). Don't | |
12070 | duplicate verbose output of collect_execute. Restore initial_cwd. | |
12071 | Update comment before the function. | |
12072 | ||
700686fa ZL |
12073 | 2004-08-25 Ziemowit Laski <zlaski@apple.com> |
12074 | ||
12075 | * c-typeck.c (build_c_cast): In ObjC, always preserve (and silently | |
12076 | accept) a cast from one Objective-C pointer type to another. | |
12077 | ||
7fb654ef PC |
12078 | 2004-08-25 Paolo Carlini <pcarlini@suse.de> |
12079 | ||
12080 | * doc/install.texi: Document that libstdc++-v3 requires | |
12081 | now automake 1.9.1. | |
12082 | ||
8e8d5162 CT |
12083 | 2004-08-25 Caroline Tice <ctice@apple.com> |
12084 | ||
12085 | * bb-reorder.c (partition_hot_cold_basic_blocks): Add more details | |
12086 | to comments at start of function. | |
12087 | * cfgbuild.c (make_edges): Add more details to hot/cold partitioning | |
12088 | comment. | |
5906d013 EC |
12089 | * cfgcleanup.c (try_simplify_condjump, try_forward_edges, |
12090 | merge_blocks_move_predecessor_nojumps, | |
12091 | merge_blocks_move_successor_nojumps, merge_blocks_move, | |
8e8d5162 CT |
12092 | try_crossjump_to_edge, try_crossjump_bb): Likewise. |
12093 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
12094 | * cfgrtl.c (rtl_can_merge_blocks, try_redirect_by_replacing_jump, | |
12095 | cfg_layout_can_merge_blocks_p): Likewise. | |
12096 | * ifcvt.c (find_if_case_1, find_if_case_2): Likewise. | |
5906d013 | 12097 | * passes.c (rest_of_compilation): Update comments for calling |
8e8d5162 | 12098 | optimization that partitions hot/cold basic blocks. |
5906d013 | 12099 | * doc/invoke.texi: Update documentation of |
8e8d5162 | 12100 | freorder-blocks-and-partition flag. |
5906d013 | 12101 | |
41a21e1d RS |
12102 | 2004-08-25 Richard Sandiford <rsandifo@redhat.com> |
12103 | ||
12104 | * config/mips/mips.md (reg): Renamed mode attribute from ccreg. | |
12105 | (*mov*_on_*): Adjust accordingly. Add an explicit MOVECC: prefix. | |
12106 | ||
e5f14571 RS |
12107 | 2004-08-25 Richard Sandiford <rsandifo@redhat.com> |
12108 | ||
12109 | * config/mips/mips.md (any_shift): New code macro. | |
12110 | (optab, insn): New code attributes. | |
12111 | ({ashl,ashr,lshr}[sd]i3): Redefine using :GPR and any_shift. | |
12112 | Use the standard rather than internal patterns for the MIPS16 | |
12113 | double-shift optimization. | |
12114 | (*{ashl,ashr,lshr}[sd]i3): New names for the non-mips16 shift patterns. | |
12115 | Redefine using :GPR and any_shift. | |
12116 | (*{ashl,ashr,lshr}si3_extend): Generalize ashlsi3_internal1_extend | |
12117 | to cover all three shifts. | |
12118 | (*{ashl,ashr,lshr}si3_mips16): New names for the mips16 SImode shifts. | |
12119 | Redefine using any_shift. Use :GPR and any_shift to combine splitters. | |
12120 | (*{ashl,ashr,lshr}di3_mips16): New names for the mips16 DImode shifts. | |
12121 | ||
bbbb79d4 GK |
12122 | 2004-08-24 Geoffrey Keating <geoffk@apple.com> |
12123 | ||
12124 | * gimplify.c (lookup_tmp_var): Separate temporaries when not | |
12125 | optimizing. | |
12126 | ||
d711cf67 JDA |
12127 | 2004-08-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12128 | ||
12129 | PR libstdc++/17005 (fix for HP-UX 11.11) | |
12130 | * config.gcc (hppa*-*-*): Move MASK_BIG_SWITCH to target_cpu_default2. | |
12131 | (hppa*-*-hpux*): Consolidate hppa1.0-*-* code. Rework handling of | |
5906d013 | 12132 | tm_file including pa-hpux1010.h or pa-hpux1111.h when appropriate. |
d711cf67 JDA |
12133 | * config/pa/pa-hpux1010.h, config/pa/pa-hpux1111.h: New files. |
12134 | * config/pa/pa-hpux.h (TARGET_HPUX): Define. | |
12135 | (LINK_SPEC): Handle march=1.0 option. | |
12136 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Predefine _XOPEN_UNIX | |
12137 | and _XOPEN_SOURCE_EXTENDED for UNIX 95. | |
12138 | (SUBTARGET_OPTIONS): New define. | |
12139 | (LINK_SPEC): Handle march=1.0 option. | |
12140 | (STARTFILE_SPEC): New define. | |
12141 | * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Predefine _XOPEN_UNIX | |
12142 | and _XOPEN_SOURCE_EXTENDED for UNIX 95. Additionally, predefine | |
12143 | _INCLUDE__STDC_A1_SOURCE and _INCLUDE_XOPEN_SOURCE_500 for UNIX 98. | |
12144 | (SUBTARGET_OPTIONS): New define. | |
12145 | (LINK_SPEC): Handle march=1.0 option. | |
12146 | (STARTFILE_SPEC): New define. | |
12147 | * config/pa/pa.c (override_options): Add code to process -munix= option. | |
12148 | * config/pa/pa.h (pa_unix_string, flag_pa_unix): Declare. | |
12149 | (TARGET_HPUX, TARGET_HPUX_10_10, TARGET_HPUX_11_11): Provide default | |
12150 | defines. | |
12151 | (TARGET_OPTIONS): Add SUBTARGET_OPTIONS to option list. | |
12152 | (SUBTARGET_OPTIONS): Provide default define. | |
12153 | * config/pa/pa64-hpux.h (STANDARD_STARTFILE_PREFIX_1, | |
12154 | STANDARD_STARTFILE_PREFIX_2): New defines. | |
12155 | (STARTFILE_SPEC): Provide unix95.o or unix98.o startfiles as necessary. | |
12156 | (ENDFILE_SPEC): Use %O. | |
12157 | * doc/install.texi (hppa*-*-hpux*): Reword paragraph on -g and gas. | |
12158 | Mention issue caused by changing namespace and runtime to UNIX 95/98. | |
12159 | * doc/invoke.texi (HPPA options): Move misplaced text to FRV options. | |
12160 | Document -munix=std option. | |
12161 | ||
5affca01 SB |
12162 | 2004-08-25 Steven Bosscher <stevenb@suse.de> |
12163 | ||
12164 | * cse.c (cse_around_loop, cse_check_loop_start, | |
12165 | cse_set_around_loop): Remove. | |
12166 | (cse_basic_block): Remove the around_loop argument. | |
12167 | (cse_end_of_basic_block): Remove the after_loop argument. | |
12168 | (cse_main): Likewise. | |
12169 | * rtl.h (cse_main): Update prototype. | |
12170 | * passes.c (rest_of_handle_cse, rest_of_handle_cse2, | |
12171 | rest_of_handle_gcse): Update cse_main calls. | |
12172 | ||
7d60be94 NS |
12173 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
12174 | ||
12175 | * tree.h (build_int_cst): New, sign extended constant. | |
12176 | (build_int_cstu): New, zero extended constant. | |
12177 | (build_int_cst_wide): Renamed from build_int_cst. | |
12178 | * tree.c (build_int_cst, build_int_cstu): New. | |
12179 | (build_int_cst_wide): Renamed from build_int_cst. | |
12180 | (make_vector_type, build_common_tree_nodes, | |
12181 | build_common_tree_nodes_2): Adjust build_int_cst calls. | |
12182 | * builtins.c (expand_builtin_prefetch, expand_builtin_strstr, | |
12183 | expand_builtin_strpbrk, expand_builtin_fputs, | |
12184 | build_string_literal, expand_builtin_printf, | |
12185 | expand_builtin_sprintf, fold_builtin_classify_type, | |
12186 | fold_builtin_lround, fold_builtin_bitop, fold_builtin_isascii, | |
12187 | fold_builtin_toascii, fold_builtin_isdigit, | |
12188 | simplify_builtin_strstr, simplify_builtin_strpbrk, | |
12189 | fold_builtin_fputs, simplify_builtin_sprintf): Likewise. | |
12190 | * c-common.c (start_fname_decls, fix_string_type, shorten_compare, | |
12191 | DEF_ATTR_INT): Likewise. | |
12192 | * c-decl.c (complete_array_type, check_bitfield_type_and_width): | |
12193 | Likewise. | |
12194 | * c-lex.c (interpret_integer, lex_charconst): Likewise. | |
12195 | * c-parse.in (primary) <TYPES_COMPATIBLE_P> Likewise. | |
12196 | * c-pretty-print.c (pp_c_integer_constant): Likewise. | |
12197 | * c-typeck.c (really_start_incremental_init, push_init_level, | |
12198 | set_nonincremental_init_from_string): Likewise. | |
12199 | * calls.c (load_register_parameters): Likewise. | |
12200 | convert.c (convert_to_pointer): Likewise. | |
12201 | coverage.c (coverage_counter_alloc, tree_coverage_counter_ref, | |
12202 | build_fn_info_type, build_fn_info_value, build_ctr_info_value, | |
12203 | build_gcov_info): Likewise. | |
12204 | * except.c (init_eh, assign_filter_values): Likewise. | |
12205 | * expmed.c (store_fixed_bit_field, extract_bit_field, | |
12206 | extract_fixed_bit_field, extract_split_bit_field, expand_shift, | |
12207 | expand_mult_const, expand_mult_highpart_adjust, extract_high_half, | |
12208 | expand_sdiv_pow2, expand_divmod, make_tree): Likewise. | |
12209 | * expr.c (convert_move, emit_group_load, emit_group_store, | |
12210 | expand_assignment, store_constructor, store_field, | |
12211 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
12212 | fold-const.c (force_fit_type, int_const_binop, fold_convert_const, | |
12213 | invert_truthvalue, optimize_bit_field_compare, | |
12214 | decode_field_reference, all_ones_mask_p, constant_boolean_node, | |
12215 | fold_div_compare, fold, fold_read_from_constant_string, | |
12216 | fold_negate_const, fold_abs_const, fold_not_const, round_up, | |
12217 | round_down): Likewise. | |
12218 | * function.c (assign_parm_setup_block): Likewise. | |
12219 | * stmt.c (shift_return_value, expand_case, estimate_case_costs): | |
12220 | Likewise. | |
12221 | * stor-layout.c (layout_type, initialize_sizetypes, | |
12222 | set_min_and_max_values_for_integral_type): Likewise. | |
12223 | * tree-chrec.c (chrec_fold_multiply_poly_poly, | |
12224 | reset_evolution_in_loop): Likewise. | |
12225 | * tree-chrec.h (build_polynomial_chrec): Likewise. | |
12226 | * tree-complex.c (build_replicated_const): Likewise. | |
12227 | * tree-eh.c (honor_protect_cleanup_actions, | |
12228 | lower_try_finally_onedest, lower_try_finally_copy, | |
12229 | lower_try_finally_switch): Likewise. | |
12230 | * tree-mudflap.c (mf_build_string, mx_register_decls, | |
12231 | mudflap_register_call, mudflap_enqueue_constant): Likewise. | |
12232 | * tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise. | |
12233 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
12234 | * tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref): | |
12235 | Likewise. | |
12236 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. | |
12237 | * tree-ssa-loop-niter.c (number_of_iterations_cond, | |
12238 | loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type): | |
12239 | Likewise. | |
12240 | * tree-ssa-loop-ivcanon.c (create_canonical_iv, | |
12241 | canonicalize_loop_induction_variables): Likewise. | |
12242 | * tree-vectorizer.c (vect_create_index_for_array_ref, | |
12243 | vect_transform_loop_bound, vect_compute_data_ref_alignment): | |
12244 | Likewise. | |
12245 | ||
12246 | * config/alpha/alpha.c (alpha_initialize_trampoline, alpha_va_start, | |
12247 | alpha_gimplify_va_arg_1): Likewise. | |
12248 | * config/arm/arm.c (arm_get_cookie_size): Likewise. | |
12249 | * config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise. | |
12250 | * config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise. | |
12251 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise. | |
12252 | * config/mips/mips.c (mips_build_builtin_va_list, mips_va_start, | |
12253 | mips_gimplify_va_arg_expr): Likewise. | |
12254 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise. | |
12255 | * config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg, | |
12256 | add_compiler_branch_island): Likewise. | |
12257 | * config/s390/s390.c (s390_va_start): Likewise. | |
12258 | * config/sh/sh.c (sh_va_start): Likewise. | |
12259 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start): | |
12260 | Likewise. | |
12261 | * config/xtensa/xtensa.c (xtensa_va_start, | |
12262 | xtensa_gimplify_va_arg_expr): Likewise. | |
5906d013 | 12263 | |
7d60be94 NS |
12264 | * objc/objc-act.c (build_objc_string_object, |
12265 | build_objc_symtab_template, init_def_list, init_objc_symtab, | |
12266 | init_module_descriptor, generate_static_references, | |
12267 | build_selector_translation_table, get_proto_encoding, | |
12268 | build_typed_selector_reference, build_selector_reference, | |
12269 | build_next_objc_exception_stuff, | |
12270 | build_method_prototype_list_template, generate_descriptor_table, | |
12271 | generate_protocols, build_protocol_initializer, | |
12272 | build_ivar_list_template, build_method_list_template, | |
12273 | build_ivar_list_initializer, generate_ivars_list, | |
12274 | generate_dispatch_table, generate_protocol_list, | |
12275 | build_category_initializer, build_shared_structure_initializer, | |
12276 | generate_shared_structures, handle_impent, | |
12277 | generate_objc_image_info): Likewise. | |
12278 | ||
8b63d0e5 PB |
12279 | 2004-04-25 Paolo Bonzini <bonzini@gnu.org> |
12280 | ||
12281 | * cfglayout.c (duplicate_insn_chain): Remove references to | |
12282 | NOTE_INSN_LOOP_VTOP and NOTE_INSN_LOOP_CONT. | |
12283 | * cfgloop.h (struct loop): Remove fields vtop, cont and cont_dominator. | |
12284 | * cfgrtl.c (rtl_delete_block): Remove handling of NOTE_INSN_LOOP_CONT. | |
12285 | * final.c (final_scan_insn): Remove references to NOTE_INSN_LOOP_VTOP | |
12286 | and NOTE_INSN_LOOP_CONT. | |
12287 | * insn-notes.def (NOTE_INSN_LOOP_VTOP, NOTE_INSN_LOOP_CONT): Remove. | |
12288 | * jump.c (squeeze_notes): Remove references to NOTE_INSN_LOOP_VTOP | |
12289 | and NOTE_INSN_LOOP_CONT. | |
12290 | * loop.c (scan_loops, find_and_verify_loops, for_each_insn_in_loop, | |
12291 | check_dbra_loop, loop_dump_aux): Remove references to removed notes | |
12292 | and fields. | |
12293 | * reorg.c (mostly_true_jump): Do not rely on NOTE_INSN_LOOP_VTOPs. | |
12294 | * unroll.c (unroll_loop, copy_loop_body, loop_iterations): Remove | |
12295 | references to removed notes and fields. | |
12296 | (subtract_reg_term, ujump_to_loop_cont): Remove. | |
12297 | ||
078e3ffe PB |
12298 | 2004-08-25 Paolo Bonzini <bonzini@gnu.org> |
12299 | ||
8b63d0e5 | 12300 | * doc/install.texi: Document that libcpp does not require |
078e3ffe PB |
12301 | Automake any longer. Document that Automake 1.9.1 should |
12302 | work everywhere. | |
12303 | ||
f8ca7e49 ZW |
12304 | 2004-08-25 Zack Weinberg <zack@codesourcery.com> |
12305 | ||
12306 | * flags.h (enum debug_info_type): Remove DWARF_DEBUG. | |
12307 | * defaults.h (PREFERRED_DEBUGGING_TYPE): Remove check for | |
12308 | DWARF_DEBUGGING_INFO from choice-of-definition chain; | |
12309 | restructure using C89 features (#elif, #error). | |
12310 | * c-lex.c, final.c, opts.c, config/cris/cris.c, config/frv/frv.c | |
12311 | * config/sh/sh.h: Remove references to DWARF_DEBUG. | |
12312 | * doc/invoke.texi: Remove references to DWARF version 1; | |
12313 | clarify why -gdwarf-2<n> doesn't work. | |
12314 | ||
51a904c9 ZW |
12315 | 2004-08-25 Zack Weinberg <zack@codesourcery.com> |
12316 | ||
12317 | * basic-block.h (BB_SET_PARTITION): Clear old value first. | |
12318 | * cfg.c (clear_bb_flags): Don't clear partition setting. | |
69b9b0d2 | 12319 | * ifcvt.c (find_if_case_1): Remove ??? comment. |
51a904c9 | 12320 | |
e548ead9 AM |
12321 | 2004-08-25 Alan Modra <amodra@bigpond.net.au> |
12322 | ||
12323 | PR target/17052 | |
12324 | * config/rs6000/rs6000.h (machine_function): Remove sysv_varargs_p. | |
12325 | * config/rs6000/sysv4.h (RS6000_VARARGS_AREA): Use | |
12326 | current_function_stdarg in place of sysv_varargs_p. | |
12327 | * config/rs6000/rs6000.c (setup_incoming_varargs): Don't set | |
12328 | sysv_varargs_p. | |
12329 | ||
1e19ac74 RH |
12330 | 2004-08-24 Richard Henderson <rth@redhat.com> |
12331 | ||
12332 | PR target/16298 | |
12333 | * config/i386/i386.c (legitimate_constant_p): Rework to not accept | |
12334 | random codes within CONST. | |
12335 | ||
c61225e7 JW |
12336 | 2004-08-24 James E Wilson <wilson@specifixinc.com> |
12337 | ||
12338 | * Makefile.in (STAGEFEEDBACK_FLAGS_TO_PASS): Remove | |
12339 | -freorder-blocks-and-partition. | |
12340 | ||
37840132 JDA |
12341 | 2004-08-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12342 | ||
12343 | PR middle-end/17044 | |
12344 | * tree-ssa-threadupdate.c (redirection_data): Make static. | |
12345 | (thread_block): Use ggc_alloc_cleared to allocate struct | |
12346 | redirection_data. Don't free elements in redirection_data. | |
12347 | ||
cf1d880b RS |
12348 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12349 | ||
12350 | * config/mips/predicates.md (small_data_pattern): Match prefetches. | |
12351 | ||
b3393f1f ZD |
12352 | 2004-08-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12353 | ||
12354 | PR tree-optimization/17016 | |
12355 | * tree-ssa-loop-niter.c (number_of_iterations_cond, | |
12356 | number_of_iterations_exit): Use POINTER_TYPE_P instead | |
12357 | of testing for POINTER_TYPE. | |
12358 | ||
82b85a85 ZD |
12359 | 2004-08-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12360 | ||
12361 | * tree-ssa-loop-ivcanon.c: New file. | |
12362 | * tree-ssa-loop-manip.c (create_iv): New function. | |
12363 | * Makefile.in (tree-ssa-loop-ivcanon.o): Add. | |
12364 | (tree-ssa-loop.o, tree-ssa-loop-manip.o): Add SCEV_H dependency. | |
12365 | * cfgloop.c (mark_single_exit_loops): New function. | |
12366 | (verify_loop_structure): Verify single-exit loops. | |
12367 | * cfgloop.h (struct loop): Add single_exit field. | |
12368 | (LOOPS_HAVE_MARKED_SINGLE_EXITS): New constant. | |
12369 | (mark_single_exit_loops): Declare. | |
12370 | (tree_num_loop_insns): Declare. | |
12371 | * cfgloopmanip.c (update_single_exits_after_duplication): New function. | |
12372 | (duplicate_loop_to_header_edge): Use it. | |
12373 | * common.opt (fivcanon): New flag. | |
12374 | * timevar.def (TV_TREE_LOOP_IVCANON, TV_COMPLETE_UNROLL): New timevars. | |
12375 | * tree-cfg.c (tree_find_edge_insert_loc): Return newly created block. | |
12376 | (bsi_commit_edge_inserts_1): Pass null to tree_find_edge_insert_loc. | |
12377 | (bsi_insert_on_edge_immediate): New function. | |
12378 | * tree-flow.h (bsi_insert_on_edge_immediate, | |
12379 | canonicalize_induction_variables, tree_unroll_loops_completely, | |
12380 | create_iv): Declare. | |
12381 | * tree-optimize.c (init_tree_optimization_passes): Add | |
12382 | pass_iv_canon and pass_complete_unroll. | |
12383 | * tree-pass.h (pass_iv_canon, pass_complete_unroll): Declare. | |
12384 | * tree-scalar-evolution.c (get_loop_exit_condition, | |
12385 | get_exit_conditions_rec, number_of_iterations_in_loop, | |
12386 | scev_initialize): Use single_exit information. | |
12387 | * tree-ssa-loop-niter.c (number_of_iterations_cond): Record | |
12388 | missing assumptions. | |
12389 | (loop_niter_by_eval): Return number of iterations as unsigned | |
12390 | int. | |
12391 | * tree-ssa-loop.c (tree_ssa_loop_init): Mark single exit loops. | |
12392 | (tree_ssa_loop_ivcanon, gate_tree_ssa_loop_ivcanon, pass_iv_canon, | |
12393 | tree_complete_unroll, gate_tree_complete_unroll, pass_complete_unroll): | |
12394 | New passes. | |
12395 | (tree_ssa_loop_done): Call free_numbers_of_iterations_estimates. | |
12396 | * tree-ssanames.c (make_ssa_name): Allow creating ssa name before | |
12397 | the defining statement is ready. | |
12398 | * tree-vectorizer.c (vect_create_iv_simple): Removed. | |
12399 | (vect_create_index_for_array_ref, vect_transform_loop_bound): | |
12400 | Use create_iv. | |
12401 | (vect_transform_loop_bound): Use single_exit information. | |
12402 | (vect_analyze_loop_form): Cleanup bogus tests. | |
12403 | (vectorize_loops): Do not call flow_loop_scan. | |
12404 | * tree.h (may_negate_without_overflow_p): Declare. | |
12405 | * fold-const.c (may_negate_without_overflow_p): Split out from ... | |
12406 | (negate_expr_p): ... this function. | |
12407 | (tree_expr_nonzero_p): Handle overflowed constants correctly. | |
12408 | * doc/invoke.texi (-fivcanon): Document. | |
12409 | * doc/passes.texi: Document canonical induction variable creation. | |
12410 | ||
b3c90666 RS |
12411 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12412 | ||
12413 | * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): Delete. | |
12414 | * config/mips/mips.c (print_operand): Fold %B/%b handling into %T/%t, | |
12415 | using the mode of the operand to decide between them. | |
12416 | * config/mips/mips.md (MOVECC): New mode macro. | |
12417 | (ccreg): New mode attribute. | |
12418 | (*mov{si,di,sf,df}_on_{cc,si,di}): Name formerly unnamed patterns. | |
12419 | Redefine using :GPR and :MOVECC. Use %T and %t for the condition. | |
12420 | (mov[sd]icc): Redefine using :GPR. | |
12421 | ||
4767c570 RS |
12422 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12423 | ||
04550232 RS |
12424 | * config/mips/mips-protos.h (mips_emit_prefetch): Delete. |
12425 | (mips_prefetch_cookie): New function. | |
12426 | * config/mips/mips.c (print_operand_address): Fix handling of | |
12427 | ADDRESS_CONST_INT. | |
12428 | (mips_emit_prefetch): Delete. | |
12429 | (mips_prefetch_cookie): New function. | |
12430 | * config/mips/mips.md (prefetch): Turn into a define_insn. Use a | |
12431 | mode of QImode for the address_operand. Use mips_prefetch_cookie | |
12432 | to calculate the first "pref" operand. | |
12433 | (prefetch_[sd]i, prefetch_[sd]i_address): Delete. | |
12434 | (prefetch_indexed_[sd]i): Redefine using :P. Use mips_prefetch_cookie. | |
4767c570 | 12435 | |
a657c98a RE |
12436 | 2004-08-24 Richard Earnshaw <rearnsha@arm.com> |
12437 | ||
12438 | * arm.md: Include predicates.md. | |
12439 | * predicates.md: New file. | |
12440 | * arm.c (s_register_operand, arm_hard_register_operand) | |
12441 | (arm_general_register_operand, f_register_operand, reg_or_int_operand) | |
12442 | (arm_immediate_operand, arm_neg_immediate_operand) | |
12443 | (arm_not_immediate_operand, arm_rhs_operand, arm_rhsm_operand) | |
12444 | (arm_add_operand, arm_addimm_operand, arm_not_operand) | |
12445 | (offsettable_memory_operand, alignable_memory_operand) | |
12446 | (arm_reload_memory_operand, arm_float_rhs_operand) | |
12447 | (arm_float_add_operand, vfp_compare_operand, arm_float_compare_operand) | |
12448 | (index_operand, shiftable_operator, logical_binary_operator) | |
12449 | (shift_operator, equality_operator, arm_comparison_operator) | |
12450 | (minmax_operator, cc_register, dominant_cc_register) | |
12451 | (arm_extendqisi_mem_op, power_of_two_operand, nonimmediate_di_operand) | |
12452 | (di_operand, nonimmediate_soft_df_operand, soft_df_operand) | |
12453 | (const_shift_operand, load_multiple_operation) | |
12454 | (store_multiple_operation, multi_register_push, thumb_cmp_operand) | |
12455 | (thumb_cmpneg_operand, thumb_cbrch_target_operand) | |
12456 | (cirrus_register_operand, cirrus_fp_register) | |
12457 | (cirrus_shift_const): Delete, replaced with equivalents in | |
12458 | predicates.md. | |
12459 | (shift_op): Handle ROTATE. | |
12460 | * arm-protos.h: Delete declarations for above. | |
12461 | * arm.h (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Delete. | |
12462 | * t-arm (MD_INCLUDES): Add predicates.md. | |
12463 | (s-preds): Depends on MD_INCLUDES. | |
12464 | ||
886ce862 RS |
12465 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12466 | ||
12467 | * config/mips/mips.c (mips_gen_conditional_trap): Fix mode. | |
12468 | * config/mips/mips.md (*conditional_trap[sd]i): Name previously unnamed | |
12469 | patterns. Redefine using :GPR. Give the match_operator a mode. | |
12470 | Use '%2' rather than '%z2' for operand 2. | |
12471 | ||
be659abd RS |
12472 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12473 | ||
12474 | * config/mips/mips.md (load_call[sd]i): Redefine using :P. Add mode | |
12475 | attribute. | |
12476 | ||
92dcb882 RS |
12477 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12478 | ||
12479 | * config/mips/mips.md (indirect_jump): Use force_reg. Adjust names | |
12480 | of internal patterns. | |
12481 | (indirect_jump[sd]i): Renamed from indirect_jump_internal[12]. | |
12482 | Redefine using :P. | |
12483 | (tablejump): Use expand_binop to calculate address. Adjust names | |
12484 | of internal patterns. | |
12485 | (tablejump[sd]i): Renamed from tablejump_internal[12]. | |
12486 | Redefine using :P. | |
12487 | (tablejump_mips16[12]): Delete. | |
12488 | ||
a0160289 RS |
12489 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12490 | ||
12491 | * config/mips/mips.md (*seq_[sd]i, *seq_[sd]i_mips16, *sne_[sd]i) | |
12492 | (*sgt_[sd]i, *sgt_[sd]i_mips16, *sge_[sd]i, *slt_[sd]i) | |
12493 | (*slt_[sd]i_mips16, *sle_[sd]i, *sle_[sd]i_mips16, *sgtu_[sd]i) | |
12494 | (*sgtu_[sd]i_mips16, *sge_[sd]i, *sltu_[sd]i, *sltu_[sd]i_mips16) | |
12495 | (*sleu_[sd]i, *sleu_[sd]i_mips16): Redefine using :GPR. | |
12496 | ||
2c4402f4 RS |
12497 | 2004-08-24 Richard Sandiford <rsandifo@redhat.com> |
12498 | ||
12499 | * config/mips/mips.md (cmpsi, cmpdi): Redefine using :GPR. | |
12500 | (*branch_zero[sd]i): Renamed from branch_zero{,_di}. Redefine | |
12501 | using :GPR. | |
12502 | (*branch_zero[sd]i_inverted): Likewise branch_zero{,_di}_inverted. | |
12503 | (*branch_equality[sd]i): Likewise branch_equality{,_di}. | |
12504 | (*branch_equality[sd]i_inverted): Likewise | |
12505 | branch_equality{,_di}_inverted. | |
12506 | (*branch_equality[sd]i_mips16): Name formerly unnamed patterns. | |
12507 | Redefine using :GPR. | |
12508 | ||
b5c2f1d1 ZW |
12509 | 2004-08-24 Zack Weinberg <zack@codesourcery.com> |
12510 | ||
12511 | * rtl.def: Reorganize, placing all codes used only in machine | |
12512 | descriptions at the end. | |
12513 | ||
9e995780 ZW |
12514 | * rtl.def: Wrap MD-only codes in #ifdef GENERATOR_FILE. |
12515 | * gengtype.c: Don't include rtl.h. Define enum rtx_code and | |
12516 | rtx_name, rtx_format arrays by direct reference to rtl.def, | |
12517 | first undefining GENERATOR_FILE. Define enum insn_note and | |
12518 | note_insn_name array by direct reference to insn-notes.def. | |
12519 | (adjust_field_rtx_def): Remove local definition of rtx_name. | |
12520 | Use symbolic names for insn notes. | |
12521 | * Makefile.in (gengtype.o): Update dependencies. | |
12522 | ||
076c7ab8 ZW |
12523 | 2004-08-24 Zack Weinberg <zack@codesourcery.com> |
12524 | ||
12525 | * basic-block.h (struct basic_block_def): Reorder fields to | |
12526 | eliminate interior padding. Remove 'partition' field. | |
12527 | (BB_DISABLE_SCHEDULE, BB_HOT_PARTITION, BB_COLD_PARTITION) | |
12528 | (BB_UNPARTITIONED, BB_PARTITION, BB_SET_PARTITION) | |
12529 | (BB_COPY_PARTITION): New macros. | |
12530 | * bb-reorder.c, cfgcleanup.c, cfglayout.c, cfgrtl.c, ifcvt.c | |
12531 | Replace all references to the 'partition' field of a basic | |
12532 | block with new macros. | |
12533 | ||
12534 | * insn-notes.def: Delete NOTE_INSN_DISABLE_SCHED_OF_BLOCK. | |
12535 | * final.c (final_scan_insn): Don't handle it. | |
12536 | * modulo-sched.c: Set BB_DISABLE_SCHEDULE flag on g->bb | |
12537 | instead of emitting a NOTE_INSN_DISABLE_SCHED_OF_BLOCK note. | |
12538 | * sched-rgn.c (sched_is_disabled_for_current_region_p): | |
12539 | Look for a BB_DISABLE_SCHEDULE flag on the block instead of a note. | |
12540 | ||
8c1d6d62 NS |
12541 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
12542 | ||
12543 | * c-decl.c (c_init_decl_processing): Adjust | |
12544 | build_common_tree_nodes call. | |
12545 | * expmed.c (const_mult_add_overflow_p): Use | |
12546 | build_distinct_type_copy. | |
12547 | * stor-layout.c (early_type_list): Remove. | |
12548 | (layout_type): Don't append to early_type_list. | |
12549 | (initialize_sizetypes): Add signed_p argument. | |
12550 | (set_sizetype): Overwrite the stub type nodes directly. | |
12551 | * tree.c (copy_node_stat): Clear a type's value cache here ... | |
12552 | (build_distinct_type): ... not here. | |
12553 | (build_common_tree_nodes): Add signed_sizetype argument. Adjust. | |
12554 | * tree.h (initialize_sizetypes): Add signed_p argument. | |
12555 | (build_common_tree_nodes): Likewise. | |
12556 | ||
12557 | * objc/objc-act.c (get_static_reference): Use | |
12558 | build_variant_type_copy. | |
12559 | (get_protocol_reference): Likewise. | |
12560 | * objc/objc-act.h (TREE_STATIC_TEMPLATE): Use TREE_PRIVATE. | |
12561 | ||
97dc04b3 | 12562 | 2004-08-24 Richard Henderson <rth@redhat.com> |
076c7ab8 | 12563 | Andrew Pinski <apinski@apple.com> |
97dc04b3 RH |
12564 | |
12565 | * gimplify.c (gimplify_array_ref_to_plus): Delete. | |
12566 | (gimplify_addr_expr): Do not call gimplify_array_ref_to_plus | |
12567 | for ARRAY_REF. | |
12568 | ||
12569 | * config/rs6000/rs6000.c (altivec_expand_builtin): Go passed | |
12570 | ARRAY_REF also to get to the STRING_CST. | |
12571 | ||
72cdc543 PB |
12572 | 2004-08-24 Paul Brook <paul@codesourcery.com> |
12573 | ||
12574 | * config/arm/arm.c (arm_override_options): Update error message. | |
12575 | * config/arm/arm.h (TARGET_HARD_FLOAT): Rename to | |
12576 | TARGET_HARD_FLOAT_ABI. | |
12577 | (TARGET_SOFT_FLOAT_ABI): Rename to TARGET_HARD_FLOAT. | |
12578 | (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Use TARGET_HARD_FLOAT_ABI. | |
12579 | ||
bd5ca07e NC |
12580 | 2004-08-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
12581 | ||
12582 | PR target/17093 | |
12583 | * config/m32r.md (movsi_sda): Add SI mode specification to | |
12584 | UNSPEC. | |
12585 | ||
12586 | 2004-08-24 Nick Clifton <nickc@redhat.com> | |
12587 | ||
12588 | * config/m32r/m32r.h (PREDICATE_CODES): Remove duplicate definition | |
12589 | of seth_add3_operand. | |
12590 | ||
d46cd2be NS |
12591 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
12592 | ||
12593 | * Makefile.in (PROTO_OBJS): Add errors.o. | |
12594 | * protoize.c (fancy_abort): Remove. | |
12595 | * mips-tfile.c (fancy_abort): Add parameters. | |
12596 | ||
748fa294 JW |
12597 | 2004-08-24 Jonathan Wakely <redi@gcc.gnu.org> |
12598 | ||
12599 | * doc/trouble.texi (C++ misunderstandings): Fix example code. | |
12600 | ||
4505f099 AT |
12601 | 2004-08-24 Andreas Tobler <a.tobler@schweiz.ch> |
12602 | ||
12603 | * Makefile.in (HOOKS_H): Add dependency on MACHMODE_H. | |
12604 | (host-default.o): Add dependency on HOOKS_H. | |
12605 | * config/x-linux: Likewise. | |
12606 | * config/x-solaris: Likewise. | |
12607 | * config/i386/x-mingw32: Likewise. | |
12608 | * config/rs6000/x-darwin: Likewise. | |
12609 | ||
a2fe1975 JW |
12610 | 2004-08-23 James E Wilson <wilson@specifixinc.com> |
12611 | ||
12612 | * reg-notes.def (REG_NOTE): In comment, change DEF_INSN_NOTE to | |
12613 | DEF_REG_NOTE. | |
12614 | ||
c3f216e2 MM |
12615 | 2004-08-23 Mark Mitchell <mark@codesourcery.com> |
12616 | ||
12617 | PR c/14492 | |
12618 | * dwarf2out.c (loc_descriptor_from_tree): Robustify. | |
12619 | ||
2e6ae27f DN |
12620 | 2004-08-23 Diego Novillo <dnovillo@redhat.com> |
12621 | ||
12622 | * cfg.c (check_bb_profile): Fix typos. | |
12623 | * function.c (assign_parm_is_stack_parm): Likewise. | |
12624 | * tree-nested.c: Likewise. | |
12625 | ||
d685c974 DJ |
12626 | 2004-08-23 Daniel Jacobowitz <dan@debian.org> |
12627 | ||
12628 | * ggc-zone.c (struc alloc_chunk): Rearrange flag bits and SIZE. | |
12629 | Remove TYPECODE. | |
12630 | (ggc_alloc_zone_1): Mark TYPE as unused. Don't save it in the chunk. | |
12631 | ||
f676971a EC |
12632 | 2004-08-23 Eric Christopher <echristo@redhat.com> |
12633 | ||
12634 | * defaults.h (VECTOR_MODE_SUPPORTED_P): Remove macro. | |
12635 | * system.h (VECTOR_MODE_SUPPORTED_P): Poison. | |
12636 | * target-def.h (TARGET_VECTOR_MODE_SUPPORTED_P): Define. | |
12637 | * target.h: Ditto. | |
12638 | * hooks.h: Include machmode.h. | |
12639 | (hook_bool_mode_false): Declare. | |
12640 | * hooks.c (hook_bool_mode_false): Define. | |
12641 | * expr.c (vector_mode_valid_p): Use targetm.vector_mode_supported_p. | |
12642 | * stor-layout.c (layout_type): Ditto. | |
12643 | * config/alpha/alpha.c (alpha_vector_mode_supported_p): New function. | |
12644 | Define to target macro. | |
12645 | * config/alpha/alpha.h (VECTOR_MODE_SUPPORTED_P): Delete. | |
12646 | * config/arm/arm.c: Ditto. Use. | |
12647 | * config/arm/arm.h: Ditto. | |
12648 | * config/arm/arm-protos.h: Ditto. | |
12649 | * config/i386/i386.c: Ditto. | |
12650 | * config/i386/i386.h: Ditto. | |
12651 | * config/rs6000/rs6000.c: Ditto. | |
12652 | * config/rs6000/rs6000.h: Ditto. | |
12653 | * config/sh/sh.c: Ditto. | |
12654 | * config/sh/sh.h: Ditto. | |
12655 | * config/sh/sh-protos.h: Ditto. | |
12656 | * config/sh/sh.md: Use. | |
12657 | * doc/tm.texi: Move documentation for VECTOR_MODE_SUPPORTED_P | |
12658 | to TARGET_VECTOR_MODE_SUPPORTED_P. | |
12659 | ||
8dd16ecc NS |
12660 | 2004-08-23 Nathan Sidwell <nathan@codesourcery.com> |
12661 | ||
b3d1f5b4 NS |
12662 | * Makefile.in (BUILD_ERRORS): Set to build-errors. |
12663 | (errors.o): New target for host. | |
12664 | (build-errors.o): New target for build. | |
12665 | (genobjs): Replace errors.o with build-errors. | |
12666 | (gengenrtl$(buildexeext)): Add $(BUILD_ERRORS). | |
12667 | (GCOV_OBJS, GCOV_DUMP_OBJS): Add errors.o. | |
12668 | (fix-headers$(build_exeext)): Add $(BUILD_ERRORS). | |
12669 | (fix-header.o): Add errors.h | |
12670 | * collect2.c (fancy_abort): Add parameters. | |
12671 | * collect2.h (fancy_abort): Don't declare. | |
12672 | * errors.h (fancy_abort): Don't declare. | |
12673 | * errors.c: Include either bconfig.h or config.h. | |
12674 | (fancy_abort): Trim filename. | |
12675 | * fix-header.c (v_fatal, fatal): Remove. | |
12676 | (progname): Remove definition. | |
12677 | (main): Set progname here. | |
12678 | * gcc.c (fancy_abort): Add parameters. | |
12679 | * gcc.h (fancy_abort): Remove declaration. | |
12680 | * gcov.c (fancy_abort): Remove. | |
12681 | * rtl.h (fancy_abort): Don't declare. | |
12682 | (abort): Don't define. | |
12683 | * tree.h (fancy_abort): Don't declare. | |
12684 | (abort): Don't define. | |
12685 | * system.h (fancy_abort): Declare. | |
12686 | (abort): Define to fancy_abort. | |
12687 | * fixinc/Makefile.in (ALLOBJ): Add ../build-errors.o | |
12688 | ||
be88a628 NS |
12689 | * tree.h (enum size_type_kind): Remove USIZETYPE, UBITSIZETYPE. |
12690 | (usize_type, ubitsizetype): Remove. | |
12691 | * stor-layout.c (set_sizetype): Don't initialize usizetype, | |
12692 | ubitsizetype. | |
12693 | * fold-const.c (size_diffop): TYPE can never be ubitsizetype. | |
12694 | ||
8dd16ecc NS |
12695 | * tree.h (build_distinct_type_copy): New. |
12696 | (build_type_copy): ... here. Rename to ... | |
12697 | (build_variant_type_copy): ... here. | |
12698 | * tree.c (build_qualified_type): Rename build_type_copy call. | |
12699 | (build_distinct_type_copy): New, broken out of ... | |
12700 | (build_type_copy): ... here. Rename to ... | |
12701 | (build_variant_type_copy): ... here. Use | |
12702 | build_distinct_type_copy. | |
12703 | (build_common_tree_nodes_2): Rename build_type_copy call. | |
12704 | * c-common.c (c_common_nodes_and_builtins): Rename build_type_copy | |
12705 | call. | |
12706 | (handle_packed_attribute, handle_unused_attribute, | |
12707 | handle_transparanet_union_attribute, handle_aligned_attribute, | |
12708 | handle_deprecated_attribute): Likewise. | |
12709 | * c-decl.c (clone_underlying_type, store_parm_decls_oldstyle): | |
12710 | Likewise. | |
12711 | * config/arm/arm.c (arm_handle_isr_attribyte): Likewise. | |
12712 | * config/rs6000/rs6000.c (rs6000_init_builtins): Use | |
12713 | build_distinct_type_copy. | |
12714 | ||
e8bf0f3b RS |
12715 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12716 | ||
12717 | * config/mips/mips.md (mfhilo_[sd]i): Redefine using :GPR. Add mode | |
12718 | attribute. | |
12719 | ||
4d06ed0a RS |
12720 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12721 | ||
12722 | * config/mips/mips.md (length): Don't use mips_fetch_insns for indexed | |
12723 | loads and stores. | |
12724 | (*lwxc1_<mode>, *ldxc1_<mode>, *swxc1_<mode>, *sdxc1_<mode>): Name | |
12725 | formerly unnamed patterns. Redefine using :P for the address. Remove | |
12726 | explicit length attributes. | |
12727 | ||
a3631d97 ZD |
12728 | 2004-08-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12729 | ||
12730 | * tree-ssa-loop-im.c (fem_single_reachable_address, for_each_memref): | |
12731 | New functions. | |
12732 | (single_reachable_address): Use them. | |
12733 | (schedule_sm): Add dump. | |
12734 | (is_call_clobbered_ref): New function. | |
12735 | (determine_lsm_reg): Check whether the reference is call clobbered. | |
12736 | Only work for gimple_reg_type values. | |
12737 | ||
b1f58428 RS |
12738 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12739 | ||
12740 | * config/mips/mips.md (*mov<mode>_ra): Name previously unnamed MIPS16 | |
12741 | $31 store insns. Redefine using :GPR. | |
12742 | ||
237b301e RS |
12743 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12744 | ||
12745 | * config/mips/mips.md (P): New mode macro. | |
12746 | (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_page[sd]i) | |
12747 | (*load_got[sd]i, *low[sd]i, *low[sd]i_mips16): Redefine using :P. | |
12748 | Add mode attributes. | |
12749 | ||
c9081a92 RS |
12750 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12751 | ||
12752 | * config/mips/mips.md (UNSPEC_[LS][WD][LR]): Delete in favor of... | |
12753 | (UNSPEC_{LOAD,STORE}_{LEFT,RIGHT}): ...these new constants. Shuffle | |
12754 | later constants to cover the gap. | |
12755 | (load, store): New mode attributes. | |
12756 | (mov_l[wd]l, mov_l[wd]r, mov_s[wd]l, mov_s[wd]r): Redefine using :GPR. | |
12757 | Use new unspec constants. | |
12758 | ||
3d1f285d RS |
12759 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12760 | ||
12761 | * config/mips/mips.md (one_cmpl[sd]i2): Redefine using :GPR. | |
12762 | (and[sd]3, ior[sd]i3, xor[sd]i3): Likewise. Change 32-bit patterns | |
12763 | to use register_operand rather than uns_arith_operand as the predicate | |
12764 | for operand 1. Remove redundant MIPS16 force_reg() for operand 1. | |
12765 | (*and[sd]i3, *ior[sd]i3, *xor[sd]i3): Name formerly unnamed patterns. | |
12766 | Redefine using :GPR. Make same predicate change here. Extend the | |
12767 | commutativity of operands 1 and 2 from the SImode version to the | |
12768 | DImode one. | |
12769 | (*and[sd]i3_mips16, *ior[sd]i3_mips16, *xor[sd]i3_mips16): Likewise, | |
12770 | but with no predicate changes. | |
12771 | (*nor[sd]i3): Redefine using :GPR. | |
12772 | ||
c0e1b12f ZD |
12773 | 2004-08-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
12774 | ||
12775 | * tree-ssa-operands.c (get_call_expr_operands): Add VUSE operands for | |
12776 | noreturn functions. | |
12777 | ||
400a9325 RS |
12778 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12779 | ||
12780 | * config/mips/mips.h (ISA_HAS_DCLZ_DCLO): Delete. | |
12781 | * config/mips/mips.md (abs[sd]i2): Redefine using :GPR. Only use | |
12782 | branch-likely insns for absdi2 if GENERATE_BRANCHLIKELY. Use "%." | |
12783 | rather than "%z2" (with a fake const0_rtx for operand 2). | |
12784 | (ffs[sd]i2): Redefine using :GPR. | |
12785 | (clz[sd]i2): Likewise. Use ISA_HAS_CLO_CLZ for the 64-bit case. | |
12786 | ||
2222da3a RS |
12787 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12788 | ||
12789 | * config/mips/mips.md ({,u}divmod[sd]i4): Redefine using :GPR. | |
12790 | ||
15ac4ccf RS |
12791 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12792 | ||
12793 | * config/mips/mips.md (any_extend): New code macro. | |
12794 | (u, su): New code attributes. | |
12795 | ({,u}mulsidi3, {,u}mulsidi3_32bit_internal, {,u}mulsidi3_32bit_r4000) | |
12796 | ({u,s}mulsi3_highpart, {u,s}mulsi3_highpart_internal) | |
12797 | ({u,s}mulsi3_highpart_mulhi_internal, {s,u}muldi3_highpart) | |
12798 | (*{s,u}mul_acc_di): Redefine using any_extend. | |
12799 | (*{,u}muls_di, *{s,u}msac_di): Likewise. Change names of patterns | |
12800 | to reflect real insn names. | |
12801 | (*mulsidi3_64bit, *mulsidi3_64bit_parts): Replace use of match_operator | |
12802 | with an any_extend template. | |
12803 | ({u,s}mulsi3_highpart_neg_mulhi_internal): Redefine using any_extend. | |
12804 | Add '*' to name. | |
12805 | ||
d46c971d RS |
12806 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12807 | ||
12808 | * config/mips/mips.h (GENERATE_MULT3_SI): Check TARGET_MAD. | |
12809 | * config/mips/mips.md (mul[sd]i3, mul[sd]i3_internal) | |
12810 | (mul[sd]i3_r4000): Redefine using :GPR. | |
12811 | (mulsi3_mult3): Don't check TARGET_MAD separately. | |
12812 | (muldi3_mult3): Moved after mulsi_mult3. | |
12813 | ||
5811cb27 RS |
12814 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12815 | ||
12816 | * config.gcc (mips-*-*): Remove definitions of MASK_GAS and | |
12817 | OBJECT_FORMAT_ELF. Set MASK_SPLIT_ADDR by default if using GNU ld. | |
12818 | * config/mips/mips.h (MASK_GAS): Delete. Shuffle later masks down. | |
12819 | (TARGET_GAS, TARGET_MIPS_AS): Delete. | |
12820 | (TARGET_GPWORD): Define to true for n32 on IRIX. | |
12821 | (TARGET_SWITCHES): Remove -mmips-as. Turn -mgas into a no-op. | |
12822 | (MIPS_AS_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC): Delete. | |
12823 | (GAS_ASM_SPEC): Delete, folding into ASM_SPEC. | |
12824 | (ASM_ABI_DEFAULT_SPEC, TARGET_ASM_SPEC): Delete. | |
12825 | (MDEBUG_ASM_SPEC): Delete, folding into... | |
12826 | (SUBTARGET_ASM_DEBUGGING_SPEC): ...here. | |
12827 | (ASM_SPEC): Inline old GAS_ASM_SPEC. Use GNU names for ABI switches. | |
12828 | (EXTRA_SPECS): Remove mips_as_asm_spec, gas_asm_spec, target_asm_spec, | |
12829 | subtarget_mips_as_asm_spec, mdebug_asm_spec. Use MULTILIB_ABI_DEFAULT | |
12830 | to define asm_abi_default_spec. | |
12831 | (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): Delete. | |
12832 | (TARGET_ASM_SELECT_SECTION): Delete. | |
12833 | * config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): Define to 0x7ff0 | |
12834 | for non-mips16 code, removing previous workaround for SGI assemblers. | |
12835 | (TARGET_ASM_INTEGER, mips_assemble_integer): Delete. | |
12836 | (TARGET_ASM_ALIGNED_DI_OP): Define this instead. | |
12837 | (override_options): Remove !TARGET_GAS and !have_named_sections code. | |
12838 | (print_operand): Fold TARGET_GAS conditionals into asm strings. | |
12839 | (mips_output_filename): Remove !TARGET_GAS code. Replace use of | |
12840 | ASM_STABS_OP and ASM_STABN_OP. | |
12841 | (mips_file_start): Remove TARGET_MIPS_AS/TARGET_GAS checks. | |
12842 | (mips_output_aligned_decl_common): Remove mention of SGI o32 assembler. | |
12843 | (mips_output_function_prologue): Remove !TARGET_GAS code. | |
12844 | (mips_select_rtx_section): Remove !have_named_sections code. | |
12845 | (mips_select_section): Delete. | |
12846 | * config/mips/mips.md (trap): Remove !TARGET_GAS check. | |
12847 | * config/mips/linux.h (TARGET_DEFAULT): Remove use of MASK_GAS. | |
12848 | * config/mips/sdb.h (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF): Delete. | |
12849 | (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END): Fold TARGET_GAS conditional. | |
12850 | * config/mips/vxworks.h (ASM_SPEC): As for mips.h. | |
12851 | * config/mips/windiss.h (ASM_SPEC): Likewise. | |
12852 | ||
032e8348 RS |
12853 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12854 | ||
12855 | * read-rtl.c (map_value, mapping, macro_group): New structures. | |
12856 | (BELLWETHER_CODE): New macro. | |
12857 | (modes, codes, bellwether_codes): New variables. | |
12858 | (find_mode, uses_mode_macro_p, apply_mode_macro, find_code) | |
12859 | (uses_code_macro_p, apply_code_macro, apply_macro_to_string) | |
12860 | (apply_macro_to_rtx, uses_macro_p, add_condition_to_string) | |
12861 | (add_condition_to_rtx, apply_macro_traverse, add_mapping) | |
12862 | (add_map_value, initialize_macros): New functions. | |
12863 | (def_hash, def_hash_eq_p): Generalize to anything that points to, | |
12864 | or starts with, a char * field. | |
12865 | (find_macro, read_mapping, check_code_macro): New functions. | |
12866 | (read_rtx_1): New, split out from read_rtx. Handle the new | |
12867 | define_{mode,code}_{macro,attr} constructs. Use find_macro | |
12868 | to parse the name of a code or mode. Use BELLWETHER_CODE to | |
12869 | extract the format and to choose a suitable code for rtx_alloc. | |
12870 | Modify recursive invocations to use read_rtx_1. | |
12871 | (read_rtx): Call initialize_macros. Apply code and mode macros | |
12872 | to the rtx returned by read_rtx_1. Cache everything after the | |
12873 | first macro expansion for subsequent read_rtx calls. | |
12874 | * doc/md.texi: Document new .md constructs. | |
12875 | * config/mips/mips.md (GPR): New mode macro. | |
12876 | (d, si8_di5): New mode attributes. | |
12877 | (any_cond): New code macro. | |
12878 | (add[sd]i3): Redefine using :GPR. | |
12879 | (*add[sd]i3): Likewise, renaming from add[sd]i3_internal. | |
12880 | (*add[sd]i3_sp[12], *add<mode>3_mips16): Redefine using :GPR, naming | |
12881 | previously unnamed MIPS16 patterns. | |
12882 | (*addsi3_extended): Renamed from addsi3_internal_2. Fix overly long | |
12883 | lines. Don't match (plus (const_int 0) ...). | |
12884 | (*addsi3_extended_mips16): Name previously unnamed MIPS16 pattern. | |
12885 | Use a define_split to generate the addition. | |
12886 | (sub[sd]i3): Redefine using :GPR. Turn subsi3 into a define_insn. | |
12887 | (subsi3_internal): Delete. | |
12888 | (*subsi3_extended): Renamed from subsi3_internal_2. | |
12889 | (bunordered, bordered, bunlt, bunge, buneq, bltgt, bunle, bungt) | |
12890 | (beq, bne, bgt, bge, blt, ble, bgtu, bgeu, bltu, bleu): Redefine | |
12891 | using an any_cond template. | |
12892 | ||
ecce923e RS |
12893 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12894 | ||
12895 | * read-rtl.c (read_rtx): Tidy use of format_ptr. | |
12896 | ||
a269d6c8 RS |
12897 | 2004-08-23 Richard Sandiford <rsandifo@redhat.com> |
12898 | ||
12899 | * read-rtl.c (string_obstack): New file-scope variable. | |
12900 | (read_string, read_quoted_string, read_braced_string) | |
12901 | (read_escape): Remove obstack parameter and use string_obstack instead. | |
12902 | (read_rtx): Remove function-local rtl_obstack and initialize | |
12903 | string_obstack instead. Update call to read_string. | |
12904 | ||
9fc3b39a AP |
12905 | 2004-08-22 Andrew Pinski <apinski@apple.com> |
12906 | ||
12907 | PR c/15262 | |
12908 | * c-typeck.c (build_unary_op): Use &a.b if the foldded lowered | |
12909 | expression is not constant. | |
12910 | (c_finish_return): Do not go through INDIRECT_REF when looking | |
12911 | for the inner expression of an ADDR_EXPR for warning about. | |
12912 | ||
cea49550 RH |
12913 | 2004-08-22 Richard Henderson <rth@redhat.com> |
12914 | ||
12915 | PR 17075 | |
12916 | * cfgexpand.c (expand_gimple_tailcall): Detect when we can both | |
12917 | create new blocks and fall through. | |
12918 | (expand_gimple_basic_block): Update to match. | |
12919 | ||
0b540f12 UW |
12920 | 2004-08-22 Ulrich Weigand <uweigand@de.ibm.com> |
12921 | ||
12922 | * reload.c (find_reloads_address): Make return value tri-state. | |
12923 | Return -1 if LEGITIMIZE_RELOAD_ADDRESS succeeded. | |
12924 | (find_reloads): Assume that reloaded addresses match 'o' or | |
12925 | EXTRA_MEMORY_CONSTRAINT constraints only if find_reloads_address | |
12926 | returned 1 (not -1). Omit optional reloads for address operands | |
12927 | only if find_reloads_address returned 1 (not -1). | |
12928 | ||
12929 | * config/s390/s390.c (legitimize_reload_address): New function. | |
12930 | * config/s390/s390-protos.h (legitimize_reload_address): Declare. | |
12931 | * config/s390/s390.h (LEGITIMIZE_RELOAD_ADDRESS): Define. Call | |
12932 | legitimize_reload_address. | |
12933 | ||
7f5e6307 RH |
12934 | 2004-08-22 Richard Hendersion <rth@redhat.com> |
12935 | ||
12936 | * tree.h (SAVE_EXPR_RESOLVED_P): New. | |
12937 | * gimplify.c (gimplify_save_expr): Use it. | |
12938 | * expr.c (expand_expr_real_1): Likewise. Also set DECL_IGNORED_P | |
12939 | on the temporary variable. | |
12940 | ||
efd610a6 AP |
12941 | 2004-08-22 Andrew Pinski <pinskia@physics.uc.edu> |
12942 | ||
12943 | * fold-const.c (rtl_expr_nonnegative_p): Delete. | |
12944 | * tree.h (rtl_expr_nonnegative_p): Remove. | |
12945 | ||
324a6c95 SB |
12946 | 2004-08-22 Steven Bosscher <stevenb@suse.de> |
12947 | ||
12948 | * config/i386/ppro.md (ppro_complex_insn): Add missing check | |
12949 | for cpu==pentiumpro. | |
12950 | ||
12951 | * combine.c (struct reg_stat): Fix comment typo. | |
12952 | ||
41db8425 JM |
12953 | 2004-08-22 Joseph S. Myers <jsm@polyomino.org.uk> |
12954 | ||
12955 | * c-tree.h (c_sizeof_nowarn): Remove. | |
12956 | ||
00325bce JM |
12957 | 2004-08-21 Joseph S. Myers <jsm@polyomino.org.uk> |
12958 | ||
12959 | * c-decl.c (set_array_declarator_type): Rename to | |
12960 | set_array_declarator_inner. | |
12961 | (build_c_parm, build_attrs_declarator, build_function_declarator): | |
12962 | New functions. | |
12963 | (make_pointer_declarator): Call build_attrs_declarator. | |
12964 | * c-tree.h (set_array_declarator_type): Rename to | |
12965 | set_array_declarator_inner. | |
12966 | (build_c_parm, build_attrs_declarator, build_function_declarator): | |
12967 | New prototypes. | |
12968 | * c-parse.in (after_type_declarator, | |
12969 | parm_declarator_starttypename, parm_declarator_nostarttypename, | |
12970 | notype_declarator, absdcl_maybe_attribute, direct_absdcl1, parm, | |
12971 | firstparm): Use these functions | |
12972 | ||
60919bce JM |
12973 | 2004-08-21 Joseph S. Myers <jsm@polyomino.org.uk> |
12974 | ||
12975 | * c-decl.c (build_array_declarator, set_array_declarator_type, | |
12976 | start_decl, grokdeclarator, grokparms): Change boolean parameters | |
12977 | to type bool. | |
12978 | * c-tree.h (build_array_declarator, set_array_declarator_type, | |
12979 | start_decl): Update prototypes. | |
12980 | * c-decl.c, c-parse.in: All callers changed. | |
12981 | ||
bdfd0ed4 MS |
12982 | 2004-08-21 Mike Stump <mrs@apple.com> |
12983 | ||
12984 | * config/rs6000/darwin.h (SUBTARGET_OPTIONS): Move from here, to... | |
12985 | (darwin_fix_and_continue): Likewise. | |
12986 | (darwin_fix_and_continue_switch): Likewise. | |
12987 | * config/darwin.h (SUBTARGET_OPTIONS): ...here, to fix -mone-byte-bool. | |
12988 | (darwin_fix_and_continue): Likewise. | |
12989 | (darwin_fix_and_continue_switch): Likewise. | |
12990 | ||
35da8b56 | 12991 | 2004-08-21 Danny Smith <dannysmith@users.sourceforge.net> |
23d34220 DS |
12992 | |
12993 | PR c++/16030 | |
12994 | * config/i386/winnt/c (gen_stdcall_suffix, gen_fastcall_suffix): | |
12995 | Remove, merging into ... | |
12996 | (gen_stdcall_or_fastcall_suffix): New function, returning tree | |
12997 | rather than const char*, and accepting additional parameter. | |
12998 | Don't add suffix to '*'-prefixed symbols or variadic functions. | |
12999 | (i386_pe_encode_section_info): Adjust for call to new function. | |
13000 | Call change_decl_assembler_name. | |
13001 | ||
828a4fe4 MS |
13002 | 2004-08-20 Mike Stump <mrs@apple.com> |
13003 | ||
13004 | * config/darwin.c (machopic_indirect_data_reference): Mark | |
13005 | stubs as defined. | |
13006 | * config/386/386.c (darwin_local_data_pic): Add. | |
13007 | (legitimate_constant_p): Reorder so that PLUS handling runs | |
13008 | before darwin_local_data_pic to match the ordering in | |
13009 | legitimate_pic_address_disp_p and so that MINUS runs after | |
13010 | darwin_local_data_pic as otherwise the darwin_local_data_pic | |
13011 | logic can be skipped, which would be very bad. | |
13012 | (legitimate_pic_address_disp_p): Move from from here to | |
13013 | darwin_local_data_pic so it can be reused. | |
13014 | ||
85b776df AM |
13015 | 2004-08-21 Alan Modra <amodra@bigpond.net.au> |
13016 | ||
13017 | * config/rs6000/linux64.h (DOT_SYMBOLS): Define. | |
13018 | (CRT_CALL_STATIC_FUNCTION): Define !DOT_SYMBOLS version. | |
13019 | (ASM_DECLARE_FUNCTION_SIZE): Modify for !DOT_SYMBOLS. | |
13020 | (ASM_OUTPUT_SOURCE_LINE, DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Likewise. | |
13021 | (RS6000_ABI_NAME): Define as "linux". | |
13022 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Set dot_symbols. | |
13023 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Select | |
13024 | ABI_AIX when rs6000_abi_name is "linux" and TARGET_64BIT. | |
13025 | * config/rs6000/rs6000-protos.h (rs6000_output_function_entry): Decl. | |
13026 | * config/rs6000/rs6000.c (dot_symbols): New global var. | |
13027 | (rs6000_output_function_entry): New function, modified for | |
13028 | !DOT_SYMBOLS.. | |
13029 | (print_operand <case 'z'>): ..extracted from here. | |
13030 | (rs6000_assemble_visibility): Modify for !DOT_SYMBOLS. | |
13031 | (rs6000_output_function_epilogue): Likewise. | |
13032 | (rs6000_elf_declare_function_name): Likewise. | |
13033 | * config/rs6000/rs6000.h (DOT_SYMBOLS): Define. | |
13034 | (ASM_WEAKEN_DECL, ASM_OUTPUT_DEF_FROM_DECLS): Modify for !DOT_SYMBOLS. | |
13035 | * configure.ac (HAVE_LD_NO_DOT_SYMS): Add new AC_DEFINE. | |
13036 | * configure: Regenerate. | |
13037 | * config.in: Regenerate. | |
13038 | ||
14d3dc34 MM |
13039 | 2004-08-20 Mark Mitchell <mark@codesourcery.com> |
13040 | ||
0e544c37 MM |
13041 | * reload.c (find_reloads_address): Fix thinko in previous change. |
13042 | ||
14d3dc34 MM |
13043 | * reload.c (find_reloads_address): Reload the sum of a LO_SUM and |
13044 | a CONST_INT. | |
13045 | ||
f3b2657c JJ |
13046 | 2004-08-20 Jakub Jelinek <jakub@redhat.com> |
13047 | ||
13048 | PR rtl-optimization/17099 | |
13049 | * combine.c (force_to_mode): Check if inner_mask has any bits set | |
13050 | outside of GET_MODE (x) instead of op_mode. | |
13051 | ||
d2294baa MM |
13052 | 2004-08-20 Mark Mitchell <mark@codesourcery.com> |
13053 | ||
13054 | * config.gcc (arm*-*-symbianelf*): Add t-symbian Makefile | |
13055 | fragment. | |
13056 | * config/arm/bpabi.h (RENAME_LIBRARY_SET): Fix typo. | |
13057 | (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=3 to the assembler. | |
13058 | * config/arm/symbian.h (SUBTARGET_CPU_DEFAULT): Assume ARMV5 | |
13059 | architecture. | |
13060 | (SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp for hard-float | |
13061 | configurations. | |
13062 | * config/arm/t-symbian: New file. | |
13063 | ||
753d0efa AP |
13064 | 2004-08-20 Andrew Pinski <apinski@apple.com> |
13065 | ||
13066 | * regrename.c (kill_value_regno): ANSIfy. | |
13067 | ||
627b6fe2 DJ |
13068 | 2004-08-20 Dale Johannesen <dalej@apple.com> |
13069 | ||
324a6c95 | 13070 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Improve DIV/MOD. |
627b6fe2 | 13071 | |
d64d5e80 DJ |
13072 | 2004-08-20 Daniel Jacobowitz <dan@debian.org> |
13073 | ||
13074 | * regrename.c (kill_value_one_regno): Renamed from kill_value_regno. | |
13075 | (kill_value_regno): New function, derived from kill_value. | |
13076 | (kill_value): Update. | |
13077 | (copyprop_hardreg_forward_1): Update call to kill_value_regno. | |
13078 | ||
af75a7ea | 13079 | 2004-08-20 Daniel Berlin <dberlin@dberlin.org> |
f676971a | 13080 | |
af75a7ea DB |
13081 | Fix PR tree-optimization/17111 |
13082 | * tree-ssa-pre.c (create_value_expr_from): Don't change the types | |
13083 | of non-value_handles. | |
13084 | (bitmap_set_contains): All constants are in every set. | |
13085 | ||
0a936b12 NS |
13086 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
13087 | ||
13088 | * fold-const.c (round_up, round_down): Use build_int_cst. | |
13089 | Optimize common case. | |
13090 | ||
774acadf ZW |
13091 | 2004-08-20 Zack Weinberg <zack@codesourcery.com> |
13092 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
13093 | ||
324a6c95 | 13094 | * config/pa/pa-protos.h (readonly_data, one_only_readonly_data_section, |
774acadf ZW |
13095 | one_only_data_section): Rename to som_readonly_data_section, |
13096 | som_one_only_readonly_data_section and som_one_only_data_section. | |
324a6c95 | 13097 | * config/pa/pa.c (ONE_ONLY_TEXT_SECTION_ASM_OP, |
0a936b12 NS |
13098 | NEW_TEXT_SECTION_ASM_OP, DEFAULT_TEXT_SECTION_ASM_OP): Delete |
13099 | conditional defines. | |
774acadf ZW |
13100 | (som_text_section_asm_op): Replace ONE_ONLY_TEXT_SECTION_ASM_OP, |
13101 | NEW_TEXT_SECTION_ASM_OP and DEFAULT_TEXT_SECTION_ASM_OP with actual | |
13102 | string values. | |
13103 | (pa_select_section): Use renamed section functions. | |
13104 | * config/pa/pa.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, | |
324a6c95 | 13105 | SOM_READONLY_DATA_SECTION_FUNCTION, |
774acadf | 13106 | SOM_ONE_ONLY_READONLY_DATA_SECTION_FUNCTION, |
324a6c95 SB |
13107 | SOM_ONE_ONLY_DATA_SECTION_FUNCTION, FORGET_SECTION_FUNCTION): |
13108 | Define here ... | |
13109 | * config/pa/som.h: ... not here. | |
13110 | (DEFAULT_TEXT_SECTION_ASM_OP, NEW_TEXT_SECTION_ASM_OP, | |
774acadf ZW |
13111 | ONE_ONLY_TEXT_SECTION_ASM_OP, READONLY_DATA_ASM_OP, |
13112 | ONE_ONLY_READONLY_DATA_SECTION_ASM_OP, | |
324a6c95 SB |
13113 | ONE_ONLY_DATA_SECTION_ASM_OP): Delete. |
13114 | (READONLY_DATA_SECTION): Use som_readonly_data_section. | |
774acadf | 13115 | |
3224bead NS |
13116 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
13117 | ||
fabead06 NS |
13118 | * fold-const.c (int_const_binop): Don't generate non-overflowing |
13119 | size-types specially. | |
13120 | (fold_convert_const): Likewise. | |
13121 | ||
3224bead NS |
13122 | * stor-layout.c (initialize_sizetypes): Set SIZETYPE earlier, |
13123 | clear cache on copied sizetype. | |
13124 | ||
fb38008e BE |
13125 | 2004-08-20 Ben Elliston <bje@au.ibm.com> |
13126 | ||
13127 | * configure.ac: Don't escape apostrophe in --enable-coverage help. | |
13128 | * configure: Regenerate. | |
13129 | ||
a9024779 DS |
13130 | 2004-08-20 Danny Smith <dannysmith@users.sourceforge.net> |
13131 | ||
13132 | PR 5620 | |
13133 | * gcc.c (struct stat input_stat): Don't define if | |
13134 | HOST_LACKS_INODE_NUMBERS | |
13135 | (do_spec_1): If HOST_LACKS_INODE_NUMBERS, use lrealpath rather | |
13136 | than stat to determine if temp file is same as input file. | |
13137 | * doc/hostconfig.texi: Document HOST_LACKS_INODE_NUMBERS. | |
13138 | * config/i386/xm-mingw32.h: Define HOST_LACKS_INODE_NUMBERS | |
13139 | ||
82563d35 RS |
13140 | 2004-08-20 Richard Sandiford <rsandifo@redhat.com> |
13141 | ||
13142 | * configure.ac (mips*-*-*): Print an error if not using GAS. | |
13143 | * configure: Regenerated. | |
13144 | * doc/install.texi: Remove irix5 bullet from --with-gnu-as. Remove | |
13145 | comments about buggy MIPSpro assemblers. | |
13146 | * config.gcc (mips-sgi-irix[56]*): Combine stanzas. Include elfos.h | |
13147 | before mips.h and iris.h after it. Use t-iris and t-slibgcc-irix. | |
13148 | Use iris5.h only for IRIX 5 configs. Use iris6.h and t-iris6 for | |
13149 | IRIX 6 configs. Define IRIX_USING_GNU_LD if using GNU ld. | |
13150 | * config/mips/iris5.h (TARGET_IRIX, SWITCHES_NEED_SPACES) | |
13151 | (DEFAULT_SIGNED_CHAR, WORD_SWITCH_TAKES_ARG, SUBTARGET_CC1_SPEC) | |
13152 | (NO_IMPLICIT_EXTERN_C, MIPS_DEFAULT_GVALUE) | |
13153 | (TARGET_ASM_EXTERNAL_LIBCALL): Move to iris.h. | |
13154 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS): Delete in favor | |
13155 | of more general IRIX 6 definitions. | |
13156 | (OBJECT_FORMAT_ELF, ASM_OUTPUT_ASCII, ASM_WEAKEN_LABEL) | |
13157 | (HANDLE_SYSV_PRAGMA): Delete in favor of elfos.h definitions. | |
13158 | (TARGET_IRIX5, ABICALLS_ASM_OP, BSS_SECTION_ASM_OP, HAS_INIT_SECTION) | |
13159 | (LD_INIT_SWITCH, LD_FINI_SWITCH, SUBTARGET_ASM_OPTIMIZING_SPEC) | |
13160 | (ASM_FINAL_SPEC, DBX_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) | |
13161 | (PREFERRED_DEBUGGING_TYPE, DWARF2_UNWIND_INFO, SET_FILE_NUMBER) | |
13162 | (LABEL_AFTER_LOC, DOLLARS_IN_IDENTIFIERS, NO_DOLLAR_IN_LABEL) | |
13163 | (TARGET_ASM_NAMED_SECTION, EXTRA_SECTION_FUNCTIONS) | |
13164 | (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_WEAK_ALIAS) | |
13165 | (SUBTARGET_EXTRA_SPECS): Delete definitions or undefs. | |
13166 | (LINK_SPEC): Move most of definition to iris.h. | |
13167 | (SUBTARGET_LINK_SPEC): New macro. | |
13168 | (IRIX_STARTFILE_SPEC): Fold into... | |
13169 | (STARTFILE_SPEC): ...here. | |
13170 | (IRIX_ENDFILE_SPEC): Fold into... | |
13171 | (ENDFILE_SPEC): ...here. | |
13172 | * config/mips/iris6.h (TARGET_IRIX5): Remove override. | |
13173 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE) | |
13174 | (DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE, SET_ASM_OP) | |
13175 | (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES, ASM_DECLARE_OBJECT_NAME) | |
13176 | (ASM_FINISH_DECLARE_OBJECT, LOCAL_LABEL_PREFIX): Move to iris.h. | |
13177 | (TARGET_OS_CPP_BUILTINS): Likewise. Guard IRIX6-specific bits. | |
13178 | (DWARF2_UNWIND_INFO, DWARF2_GENERATE_TEXT_SECTION_LABEL) | |
13179 | (SUBTARGET_CPP_SPEC, DWARF2_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) | |
13180 | (PREFERRED_DEBUGGING_TYPE, DWARF2_FRAME_INFO, MD_EXEC_PREFIX) | |
13181 | (ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_FUNCTION_SIZE) | |
13182 | (FUNCTION_NAME_ALREADY_DECLARED, SUPPORTS_INIT_PRIORITY) | |
13183 | (POPSECTION_ASM_OP, SUBTARGET_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC) | |
13184 | (SUBTARGET_ASM_DEBUGGING_SPEC, SUBTARGET_ASM_OPTIMIZING_SPEC) | |
13185 | (BSS_SECTION_ASM_OP*, READONLY_DATA_SECTION_ASM_OP*) | |
13186 | (EH_FRAME_SECTION_NAME, MUST_USE_SJLJ_EXCEPTIONS, CTORS_SECTION_ASM_OP) | |
13187 | (DTORS_SECTION_ASM_OP, TARGET_ASM_NAMED_SECTION, EH_FRAME_SECTION_NAME) | |
13188 | (ASM_OUTPUT_ALIGN, ASM_OUTPUT_FILENAME, ASM_OUTPUT_ALIGNED_LOCAL) | |
13189 | (ASM_OUTPUT_ALIGNED_BSS): Remove definitions or undefs. | |
13190 | (TARGET_IRIX6): Define to 1. | |
13191 | (DRIVER_SELF_SPECS): Define. | |
13192 | (DWARF2_FRAME_INFO): Define to 1 rather than !TARGET_SGI_O32_AS. | |
13193 | (SUBTARGET_CC1_SPEC): Remove in favor of DRIVER_SELF_SPECS. | |
13194 | (SUBTARGET_LINK_SPEC): New macro. | |
13195 | (IRIX_STARTFILE_SPEC): Fold into... | |
13196 | (STARTFILE_SPEC): ...here. Remove !mabi=* case. | |
13197 | (SUBTARGET_{,DONT_}WARN_UNUSED_SPEC): New macros. | |
13198 | (LIB_SPEC, LIBGCC_SPEC): Use them. | |
13199 | (LIB_SPEC): Remove !mabi=* case. | |
13200 | (IRIX_ENDFILE_SPEC): Fold into... | |
13201 | (ENDFILE_SPEC): ...here. Remove !mabi=* case. | |
13202 | * config/mips/mips-protos.h (irix_output_external_libcall): Delete. | |
13203 | * config/mips/mips.h (TARGET_IRIX5, TARGET_SGI_O32_AS): Delete. | |
13204 | (TARGET_IRIX6): New macro. | |
13205 | (ASM_ABI_DEFAULT_SPEC): Remove !ELF definition. | |
13206 | (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX, SET_FILE_NUMBER) | |
13207 | (LABEL_AFTER_LOC): Delete. | |
13208 | * config/mips/mips.c (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END) | |
13209 | (TARGET_SECTION_TYPE_FLAGS): Remove TARGET_IRIX versions. | |
13210 | (mips_build_builtin_va_list): Check TARGET_IRIX6. | |
13211 | (override_options): Remove TARGET_SGI_O32_AS-related code. | |
13212 | (irix_output_external_libcall): Make static. | |
13213 | (mips_output_filename): Avoid use of SET_FILE_NUMBER and | |
13214 | LABEL_AFTER_LOC. | |
13215 | (mips_file_start): Tidy guard for ABI sections. Remove use of | |
13216 | ABICALLS_ASM_OP; use .abicalls instead. | |
13217 | (mips_output_aligned_decl_common, mips_declare_object_name) | |
13218 | (mips_finish_declare_object): Remove use of TARGET_SGI_O32_AS. | |
13219 | (mips_output_function_prologue): Set TREE_ASM_WRITTEN if emitting | |
13220 | .globl foo .text directives. | |
13221 | (irix_asm_named_section_1, irix_asm_named_section) | |
13222 | (irix_section_align_entry, irix_section_align_htab) | |
13223 | (irix_orig_asm_out_file, irix_section_align_entry_eq) | |
13224 | (irix_section_align_entry_hash, irix_asm_output_align) | |
13225 | (irix_file_start, irix_section_align_1, copy_file_data) | |
13226 | (irix_file_end, irix_section_type_flags): Delete. | |
13227 | * config/mips/irix-crti.asm (__gcc_init): Move to .gcc_init section. | |
13228 | Use standard section syntax. Remove protective "jr $31". | |
13229 | (__gcc_fini): Likewise .gcc_fini. | |
13230 | * config/mips/irix-crtn.asm: Adjust sections accordingly. | |
13231 | * config/mips/sdb.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Moved from | |
13232 | iris5gas.h. | |
13233 | * config/mips/t-iris (irix-crti.o, irix-crtn.o): New rules, moved | |
13234 | from t-irix-gld. | |
13235 | (EXTRA_MULTILIB_PARTS): Define. | |
13236 | * config/mips/t-iris6: Remove bogus comment. | |
13237 | (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS): Delete. | |
13238 | * config/mips/iris5gas.h, config/mips/iris5gld.h, | |
13239 | config/mips/iris6gas.h, config/mips/iris6gld.h, | |
13240 | config/mips/t-iris5-as, config/mips/t-iris5-gas | |
13241 | config/mips/t-irix-gld: Delete. | |
13242 | * config/mips/iris.h: New file. | |
13243 | * config/mips/t-slibgcc-irix: Renamed from t-iris5-6. | |
13244 | ||
c4cdb8e1 RE |
13245 | 2004-08-20 Richard Earnshaw <rearnsha@arm.com> |
13246 | ||
13247 | * postreload.c (reload_cse_move2add): Allow any condjump, but check | |
13248 | that the implicit set isn't clobbered in the jump insn. | |
13249 | ||
d55ab31d MM |
13250 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
13251 | ||
13252 | * defaults.h (TARGET_LIBGCC_LIBFUNCS): Remove. | |
13253 | * optabs.c (init_optabs): Don't check it. | |
13254 | * config/arm/bpabi.h (TARGET_LIBGCC_LIBFUNCS): Do not define. | |
13255 | * doc/tm.texi (TARGET_LIBGCC_FUNCS): Remove. | |
13256 | ||
d75f90f1 AK |
13257 | 2004-08-18 Andreas Krebbel <krebbel1@de.ibm.com> |
13258 | ||
13259 | * config/s390/s390.md (s390_warn_framesize_string) | |
13260 | (s390_warn_dynamic_string, s390_stack_size_string) | |
13261 | (s390_stack_guard_string): New global string variables. | |
13262 | (s390_warn_framesize, s390_warn_dynamicstack_p, s390_stack_size) | |
13263 | (s390_stack_guard): New global variables. | |
13264 | (override_options): Added checks for the new options. | |
13265 | (s390_emit_prologue): Emit stack check and trap code and perform | |
13266 | compile time stack size checking. | |
f676971a EC |
13267 | |
13268 | * config/s390/s390.h (TARGET_OPTIONS): Added new options | |
d75f90f1 AK |
13269 | "warn-framesize", "warn-dynamicstack", "stack-size" and |
13270 | "stack-guard". | |
13271 | ||
13272 | * doc/invoke.texi: Added documentation for the new options. | |
13273 | ||
ca29916b UW |
13274 | 2004-08-19 Ulrich Weigand <uweigand@de.ibm.com> |
13275 | ||
13276 | * unwind-dw2-fde.c (get_cie_encoding): Cast argument to strlen | |
13277 | to eliminate warning. | |
13278 | (linear_search_fdes): Declare p as unsigned. | |
13279 | (binary_search_mixed_encoding_fdes): Likewise. | |
13280 | * unwind-dw2.c (get_cie_encoding): Cast argument to strlen | |
13281 | to eliminate warning. | |
13282 | * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Add missing | |
13283 | type cast. | |
13284 | ||
e1d5ee28 UW |
13285 | 2004-08-19 Ulrich Weigand <uweigand@de.ibm.com> |
13286 | ||
13287 | * config/s390/s390-protos.h (preferred_la_operand_p): Adapt prototype. | |
13288 | * config/s390/s390.c (preferred_la_operand_p): Accept two operands | |
13289 | instead of one. Check for strictly legitimate address. | |
13290 | * config/s390/s390.md ("*la_31"/"*la_64" peepholes): Adapt call | |
13291 | to preferred_la_operand_p, do not call gen_rtx_PLUS in predicate. | |
13292 | ||
19114537 EC |
13293 | 2004-08-19 Eric Christopher <echristo@redhat.com> |
13294 | ||
13295 | * langhooks-def.h (LANG_HOOKS_UNSAVE_EXPR_NOW): Remove. | |
13296 | * langhooks.h (unsave_expr_now): Ditto. | |
13297 | * tree.h (unsave_expr_1): Remove prototype. | |
13298 | (lhd_unsave_expr_now): Rename to unsave_expr_now. | |
13299 | * tree-inline.c (unsave_expr_1): Move here | |
13300 | from tree.c. Make static. | |
13301 | (unsave_expr_now): Rename from lhd_unsave_expr_now. | |
13302 | * tree-sra.c: Fix up for rename. | |
13303 | * tree-ssa-copy.c: Ditto. | |
13304 | * tree-eh.c: Ditto. | |
13305 | * tree.c (unsave_expr_1): Move to tree-inline.c. | |
13306 | ||
d5bfecf2 CT |
13307 | 2004-08-19 Caroline Tice <ctice@apple.com> |
13308 | ||
324a6c95 SB |
13309 | * config/i386/cygming.h (switch_to_section): Fix typo (change |
13310 | in_unlikely_text_section to in_unlikely_executed_text). | |
19114537 | 13311 | |
58152808 DB |
13312 | 2004-08-19 Daniel Berlin <dberlin@dberlin.org> |
13313 | ||
13314 | * vec.h (VEC_lower_bound): New macro. | |
19114537 | 13315 | |
ae043003 RS |
13316 | 2004-08-19 Richard Sandiford <rsandifo@redhat.com> |
13317 | ||
13318 | PR target/16446 | |
13319 | * config/mips/mips.c (struct mips_arg_info): Delete num_bytes. | |
13320 | (mips_arg_info): Update accordingly. Remove common treatment of fpr_p; | |
13321 | treat each ABI separately. Deal with n32/n64 complex float arguments. | |
13322 | (function_arg): Add associated complex handling here. | |
13323 | ||
50ed9cea RH |
13324 | 2004-08-19 Richard Henderson <rth@redhat.com> |
13325 | ||
13326 | * config/arm/arm.c (arm_gen_load_multiple): Use | |
13327 | adjust_automodify_address. Take base memory and offset instead | |
13328 | of unchanging/struct/scalar bits. | |
13329 | (arm_gen_store_multiple): Likewise. | |
13330 | (arm_gen_movmemqi): Use adjust_automodify_address. | |
13331 | * config/arm/arm-protos.h: Update decls. | |
13332 | * config/arm/arm.md (load_multiple): Update arm_gen_load_multiple call. | |
13333 | (store_multiple): Similarly. | |
13334 | ||
74ae207d R |
13335 | 2004-08-19 J"orn Rennecke <joern.rennecke@superh.com> |
13336 | ||
13337 | * regclass.c (globalize_reg): Update call_really_used_regs. | |
13338 | ||
89b0433e NS |
13339 | 2004-08-19 Nathan Sidwell <nathan@codesourcery.com> |
13340 | ||
31ebd7c8 NS |
13341 | * doc/invoke.texi (integer-share-limit): Document. |
13342 | ||
89b0433e NS |
13343 | * tree.h (TYPE_CACHED_VALUES_P): New. |
13344 | (TYPE_CACHED_VALUES): New. | |
13345 | (TYPE_ORIG_SIZE_TYPE): Adjust. | |
13346 | * tree.def (INTEGER_CST): Update documentation. | |
13347 | * tree.c: Inlcude params.h. | |
13348 | (build_int_cst): Cache small values. | |
13349 | (build_type_copy): Do not copy the value cache. | |
13350 | * c-common.c (c_common_nodes_and_builtins): Add comment, remove | |
13351 | unneeded zeroing. | |
13352 | * c-typeck.c (build_c_cast): Add comment about OVERFLOW setting. | |
13353 | * expmed.c (const_mult_add_overflow_p): Clear type copy's value | |
13354 | cache. | |
13355 | * fold-const.c (force_fit_type): Copy value when setting | |
13356 | overflows. | |
13357 | (int_const_binop): Likewise. | |
13358 | * stor-layout.c: Include params.h | |
13359 | (set_sizetype): Create values cache. | |
13360 | (fixup_unsigned_type): Set UNSIGNED_P before caching any values. | |
13361 | * params.def (PARAM_INTEGER_SHARE_LIMIT): New. | |
13362 | * params.h (INTEGER_SHARE_LIMIT): New. | |
13363 | * Makefile.in (tree.o, stor-layout.o): Depend on PARAMS_H. | |
19114537 | 13364 | |
c2504783 PB |
13365 | 2004-08-19 Paolo Bonzini <bonzini@gnu.org> |
13366 | ||
13367 | * gimplify.c (gimplify_minimax_expr): Remove. | |
13368 | (gimplify_expr) <MIN_EXPR, MAX_EXPR>: Remove special handling. | |
13369 | ||
7a8554ce DN |
13370 | 2004-08-19 Dorit Naishlos <dorit@il.ibm.com> |
13371 | ||
19114537 | 13372 | * tree-vectorizer.c (vect_can_force_dr_alignment_p): Replace |
7a8554ce DN |
13373 | STACK_BOUDARY with PREFERRED_STACK_BOUNDARY. |
13374 | ||
1905f33d MM |
13375 | 2004-08-19 Mark Mitchell <mark@codesourcery.com> |
13376 | ||
13377 | * bpabi.h (FPUTYPE_DEFAULT): Set it to FPUTYPE_VFP. | |
13378 | ||
f1732751 AP |
13379 | 2004-08-18 Andrew Pinski <apinski@apple.com> |
13380 | ||
13381 | * varasm.c (ecode_reg_name): Do nothing if the asmspec is empty. | |
13382 | ||
8c78a388 MM |
13383 | 2004-08-18 Mark Mitchell <mark@codesourcery.com> |
13384 | ||
13385 | * config/arm/bpabi.c (__aeabi_ul2d): Give it default visibility. | |
13386 | (__aeabi_ul2f): Likewise. | |
13387 | ||
7eda7cda RH |
13388 | 2004-08-18 Richard Henderson <rth@redhat.com> |
13389 | ||
13390 | * config/xtensa/xtensa.c (xtensa_expand_block_move): Expand block | |
13391 | move to rtl completely. | |
13392 | (struct meminsnbuf, xtensa_emit_block_move): Remove. | |
13393 | (xtensa_find_mode_for_size): Remove. | |
13394 | * config/xtensa/xtensa-protos.h (xtensa_emit_block_move): Remove. | |
13395 | * config/xtensa/xtensa.md (movmemsi_internal): Remove. | |
13396 | ||
88042663 RH |
13397 | 2004-08-18 Richard Henderson <rth@redhat.com> |
13398 | ||
13399 | * config/mcore/mcore.c (mode_from_align): Remove DImode. | |
13400 | (block_move_sequence): Rewrite to use adjust_address. | |
13401 | (mcore_expand_block_move): Cleanup logic. Accept only operands. | |
13402 | Return boolean indicating success/failure. | |
13403 | * config/mcore/mcore-protos.h (mcore_expand_block_move): Update decl. | |
13404 | * config/mcore/mcore.md (movmemsi): Update to match. | |
13405 | ||
699c914a MS |
13406 | 2004-08-18 Mike Stump <mrs@apple.com> |
13407 | ||
13408 | * doc/invoke.texi (-mfix-and-continue): Add support for | |
13409 | fast turn around debugging. | |
13410 | (-ffix-and-continue): Likewise. | |
13411 | (-mindirect-data): Likewise. | |
13412 | (-findirect-data): Likewise. | |
13413 | * config/darwin.c (TARGET_FIX_AND_CONTINUE): Likewise. | |
13414 | (indirect_data): Likewise. | |
13415 | (machopic_data_defined_p): Likewise. | |
13416 | (machopic_output_indirection): Likewise. | |
13417 | (darwin_encode_section_info): Likewise. | |
13418 | (darwin_fix_and_continue): Likewise. | |
13419 | (darwin_fix_and_continue_switch): Likewise. | |
13420 | * config/darwin.h (MACHO_SYMBOL_STATIC): Likewise. | |
13421 | * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
13422 | (SUBTARGET_OPTION_TRANSLATE_TABLE): Likewise. | |
13423 | (SUBTARGET_OPTIONS): Likewise. | |
13424 | (darwin_fix_and_continue): Likewise. | |
13425 | (darwin_fix_and_continue_switch): Likewise. | |
13426 | (TARGET_FIX_AND_CONTINUE): Likewise. | |
13427 | * config/rs6000.c (rs6000_emit_prologue): Likewise. | |
13428 | ||
13429 | 2004-08-19 Steven Bosscher <stevenb@suse.de> | |
bd454efd SB |
13430 | |
13431 | * basic-block.h (struct edge_def): Remove crossing_edge. | |
13432 | (EDGE_CROSSING): New define. | |
13433 | (EDGE_ALL_FLAGS): Update. | |
13434 | * bb-reorder.c (find_traces_1_round, better_edge_p, | |
13435 | find_rarely_executed_basic_blocks_and_cr, fix_up_fall_thru_edges, | |
13436 | find_jump_block, fix_crossing_conditional_branches, | |
13437 | fix_crossing_unconditional_branches, add_reg_crossing_jump_notes): | |
13438 | Replace all occurences of crossing_edge with an edge flag check | |
13439 | or set/reset. | |
13440 | * cfgcleanup.c (try_simplify_condjump, try_forward_edges, | |
13441 | try_crossjump_bb): Likewise. | |
13442 | * cfglayout.c (fixup_reorder_chain): Likewise. | |
13443 | * cfgrtl.c (force_nonfallthru_and_redirect, | |
13444 | commit_one_edge_insertion): Likewise. | |
13445 | ||
13446 | * Makefile.in (cfganal.o): Depend on TIMEVAR_H. | |
13447 | * tree-flow.h (compute_dominance_frontiers): Move prototype... | |
13448 | * basic-block.h: ...here. | |
13449 | * tree-cfg.c (compute_dominance_frontiers_1, | |
13450 | compute_dominance_frontiers): Move from here... | |
13451 | * cfganal.c: ...to here. Include timevar.h. | |
13452 | ||
9ff6992e JW |
13453 | 2004-08-18 James E Wilson <wilson@specifixinc.com> |
13454 | ||
c831f54b | 13455 | * config/mips/mips.h (ASM_SPEC): In comment, change -meabi= to -mabi=. |
a1627d80 JW |
13456 | * config/mips/sb1.md (ir_sb1_divsf_1pipe): Renamed from ...1pipes. |
13457 | ||
9ff6992e JW |
13458 | * config/mips/mips.md (type): Add frdiv. |
13459 | (divsf3+1, divsf3+2): Change type to frdiv. | |
13460 | * config/mips/sb1.md (ir_sb1_recipsf_2pipes, ir_sb1_recipsf_1pipe, | |
13461 | ir_sb1_recipdf_2pipes, ir_sb1_recipdf_1pipe): New. | |
19114537 | 13462 | |
9ff6992e JW |
13463 | * config/mips/3000.md (r3k_fdiv_single, r3k_fdiv_double): Add frdiv. |
13464 | * config/mips/4300.md (r4300_fdiv_single, r4300_fdiv_double): Likewise. | |
13465 | * config/mips/4600.md (r4600_fdiv_single, f4600_fdiv_double): Likewise. | |
13466 | * config/mips/5000.md (r5k_fdiv_single): Likewise. | |
13467 | * config/mips/5400.md (ir_vr54_fdiv_sf, ir_vr54_fdiv_df): Likewise. | |
13468 | * config/mips/5500.md (ir_vr55_fdiv_sf, ir_vr55_fdiv_df): Likewise. | |
13469 | * config/mips/6000.md (r6k_fdiv_single, r6k_fdiv_double): Likewise. | |
13470 | * config/mips/7000.md (rm7_fp_divsqrt_df, rm7_fp_divsqrt_sf): Likewise. | |
13471 | * config/mips/9000.md (rm8k_fdivs, rm9k_fdivd): Likewise. | |
13472 | * config/mips/generic.md (generic_fdiv_single, generic_fdiv_double): | |
13473 | Likewise. | |
13474 | * config/mips/sr71k.md (ir_sr70_fdiv_sf, ir_sr70_fdiv_df): Likewise. | |
13475 | ||
c16eb900 RB |
13476 | 2004-08-18 Robert Bowdidge <bowdidge@apple.com> |
13477 | ||
13478 | * config/rs6000/x-darwin: Remove XCFLAGS -mdynamic-no-pic to | |
324a6c95 | 13479 | get regression tester working again. |
c16eb900 | 13480 | |
826c9564 ZW |
13481 | 2004-08-18 Zack Weinberg <zack@codesourcery.com> |
13482 | ||
13483 | * insn-notes.def, reg-notes.def: New files. | |
13484 | * rtl.h: Use them to define enum insn_note and enum reg_note. | |
13485 | * rtl.c: Use them to define note_insn_name and reg_note_name. | |
4b179e92 | 13486 | * Makefile.in (RTL_BASE_H): Update. |
826c9564 ZW |
13487 | |
13488 | * modulo-sched.c, sched-rgn.c, final.c: NOTE_DISABLE_SCHED_OF_BLOCK | |
13489 | renamed to NOTE_INSN_DISABLE_SCHED_OF_BLOCK. | |
13490 | ||
21b5653c RE |
13491 | 2004-08-18 Richard Earnshaw <rearnsha@arm.com> |
13492 | ||
13493 | * arm.c (arm_size_rtx_costs): New function. | |
13494 | (arm_override_options): Use it if optimizing for space. | |
13495 | ||
542a8afa RH |
13496 | 2004-08-18 Richard Henderson <rth@redhat.com> |
13497 | ||
13498 | * emit-rtl.c (gen_const_mem): New. | |
13499 | * rtl.h (gen_const_mem): Declare. | |
13500 | * expr.c (do_tablejump): Use it. | |
13501 | * varasm.c (force_const_mem): Likewise. | |
13502 | * config/darwin.c (machopic_indirect_data_reference): Likewise. | |
13503 | (machopic_legitimize_pic_address): Likewise. | |
13504 | * config/arm/arm.c (legitimize_pic_address): Likewise. | |
13505 | * config/i386/i386.c (legitimize_pic_address): Likewise. | |
13506 | (legitimize_tls_address): Likewise. | |
13507 | * config/ia64/ia64.c (ia64_expand_tls_address): Likewise. | |
13508 | * config/ia64/ia64.md (load_fptr): Likewise. | |
13509 | * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise. | |
13510 | * config/pa/pa.c (legitimize_pic_address): Likewise. | |
13511 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise. | |
13512 | (rs6000_emit_move): Likewise. | |
13513 | * config/s390/s390.c (legitimize_pic_address): Likewise. | |
13514 | (legitimize_tls_address): Likewise. | |
13515 | * config/s390/s390.md (casesi): Likewise. | |
13516 | * config/sh/sh.c (sh_reorg): Likewise. | |
13517 | * config/sparc/sparc.c (legitimize_pic_address): Likewise. | |
13518 | * config/v850/v850.md (casesi): Likewise. | |
13519 | ||
13520 | * config/darwin.c (machopic_indirect_call_target): Set MEM_NOTRAP_P. | |
13521 | * config/sh/sh.c (prepare_move_operands): Remove incorrect | |
13522 | use of MEM_READONLY_P. | |
13523 | ||
0516f6fe SB |
13524 | 2004-08-18 Steven Bosscher <stevenb@suse.de> |
13525 | ||
13526 | * Makefile.in (OBJS-common): Add postreload-gcse.c. | |
13527 | Add new postreload-gcse.o. | |
13528 | * cse.c (SAFE_HASH): Define as wrapper around safe_hash. | |
13529 | (lookup_as_function, insert, rehash_using_reg, use_related_value, | |
13530 | equiv_constant): Use SAFE_HASH instead of safe_hash. | |
13531 | (exp_equiv_p): Export. Add for_gcse argument when comparing | |
13532 | for GCSE. | |
13533 | (lookup, lookup_for_remove, merge_equiv_classes, find_best_addr, | |
13534 | find_comparison_args, fold_rtx, cse_insn): Update callers. | |
13535 | (hash_rtx): New function derived from old canon_hash and bits | |
13536 | from gcse.c hash_expr_1. | |
13537 | (canon_hash_string): Rename to hash_rtx_string. | |
13538 | (canon_hash, safe_hash): Make static inline. Call hash_rtx. | |
13539 | * cselib.c (hash_rtx): Rename to cselib_hash_rtx. | |
13540 | (cselib_lookup): Update this caller. | |
13541 | * gcse.c (modify_mem_list_set, canon_modify_mem_list_set): | |
13542 | Make static. | |
13543 | (hash_expr): Call hash_rtx. | |
13544 | (ldst_entry): Likewise. | |
13545 | (expr_equiv_p): Call exp_equiv_p. | |
13546 | (struct unoccr, hash_expr_1, hash_string_1, lookup_expr, | |
13547 | reg_used_on_edge, reg_set_between_after_reload_p, | |
13548 | reg_used_between_after_reload_p, get_avail_load_store_reg, | |
13549 | is_jump_table_basic_block, bb_has_well_behaved_predecessors, | |
13550 | get_bb_avail_insn, hash_scan_set_after_reload, | |
13551 | compute_hash_table_after_reload, | |
13552 | eliminate_partially_redundant_loads, gcse_after_reload, | |
13553 | get_bb_avail_insn, gcse_after_reload_main): Remove. | |
13554 | * postreload-gcse.c: New file, reincarnating most of the above. | |
13555 | * rtl.h (exp_equiv_p, hash_rtx): New prototypes. | |
13556 | (gcse_after_reload_main): Update prototype. | |
13557 | * timevar.def (TV_GCSE_AFTER_RELOAD): New timevar. | |
13558 | * passes.c (rest_of_handle_gcse2): Use it. | |
13559 | ||
95013377 DN |
13560 | 2004-08-18 Diego Novillo <dnovillo@redhat.com> |
13561 | ||
13562 | * tree-ssa-loop.c (pass_loop_init): Add TODO_dump_func. | |
13563 | (pass_loop_done): Likewise. | |
13564 | ||
ac9e2cff AP |
13565 | 2004-08-18 Andrew Pinski <apinski@apple.com> |
13566 | ||
826c9564 | 13567 | * config/rs6000/darwin.md: Delete the altivec patterns which are |
ac9e2cff AP |
13568 | handled differently now. |
13569 | (load_macho_picbase_di): Make sure that is only happens for TARGET_64BIT | |
13570 | (macho_correct_pic_di): Likewise. | |
13571 | (call_indirect_nonlocal_darwin64): Likewise. | |
13572 | Delete the save world/saveFP/saveVec patterns. | |
826c9564 | 13573 | |
ac9e2cff | 13574 | Revert the reversion of: 2004-08-16 Stan Shebs <shebs@apple.com> |
826c9564 ZW |
13575 | * config/darwin.c (macho_indirect_data_reference): Add DImode case. |
13576 | * config/rs6000/rs6000.md: Include darwin.md. | |
13577 | (builtin_setjmp_receiver): Add DImode case. | |
13578 | * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to | |
13579 | Darwin bits. | |
ac9e2cff | 13580 | |
92b9a671 MA |
13581 | 2004-08-18 Matt Austern <austern@apple.com> |
13582 | ||
13583 | Dead code stripping | |
13584 | * darwin.h (EH_FRAME_SECTION_ATTR): Mark so it doesn't get stripped. | |
13585 | * darwin.c (darwin_file_end): Mark file as potentially strippable. | |
826c9564 | 13586 | |
4766261d RH |
13587 | 2004-08-18 Richard Henderson <rth@redhat.com> |
13588 | ||
13589 | * alias.c (readonly_fields_p): Remove. | |
13590 | (objects_must_conflict_p): Don't call it. | |
13591 | * tree.h (readonly_fields_p): Remove. | |
13592 | * langhooks.h (struct lang_hooks): Remove honor_readonly. | |
13593 | * langhooks-def.h (LANG_HOOKS_HONOR_READONLY): Remove. | |
13594 | ||
50dc9a88 DN |
13595 | 2004-08-18 Diego Novillo <dnovillo@redhat.com> |
13596 | ||
13597 | * tree-dfa.c (add_referenced_var): Only global variables are | |
13598 | call-clobbered. | |
13599 | * tree-flow.h (struct ptr_info_def): Add field pt_global_mem. | |
13600 | * tree-ssa-alias.c (compute_points_to_and_addr_escape): Mark | |
13601 | all pointers dereferenced if the statement dereferences them. | |
13602 | (create_name_tags): Do not create memory tags for pointers | |
13603 | that have PT_ANYTHING set. | |
13604 | Also check if PT_VARS is not empty before creating a name tag. | |
13605 | (compute_flow_sensitive_aliasing): Don't mark call-clobbered | |
13606 | variables that share the same alias set with a pointer that | |
13607 | may point anywhere. | |
13608 | (add_may_alias): Add FIXME comment to remove clobbering | |
13609 | aliased variables and tags. | |
13610 | (replace_may_alias): Likewise. | |
13611 | (set_pt_anything): Do not clear PT_VARS nor IS_DEREFERENCED. | |
13612 | (merge_pointed_to_info): If the original variable has not | |
13613 | points-to information, call set_pt_anything. | |
13614 | (add_pointed_to_var): Do not prevent adding a pointed-to | |
13615 | variable if the pointers is PT_ANYTHING. | |
13616 | If the variable is a global, set PT_GLOBAL_MEM. | |
13617 | (collect_points_to_info_r): Don't assume that PLUS_EXPRs of | |
13618 | pointer type only come in PTR+OFFSET flavours. | |
13619 | Always call merge_pointed_to_info on PHI arguments that are | |
13620 | SSA_NAMEs. | |
13621 | (get_nmt_for): Mark call-clobbered tags whose pointer points | |
13622 | to global memory. | |
13623 | * tree-ssa-operands.c (opf_kill_def, opf_no_vops): Switch | |
13624 | values. | |
13625 | (get_indirect_ref_operands): Always clear OPF_KILL_DEF from | |
13626 | FLAGS. | |
13627 | (add_stmt_operand): Abort if the caller tried to add a killing | |
13628 | definition for a memory tag. | |
13629 | * tree-ssa.c (verify_flow_sensitive_alias_info): Remove | |
13630 | unnecessary checks. | |
13631 | ||
62164eb4 R |
13632 | 2004-08-18 J"orn Rennecke <joern.rennecke@superh.com> |
13633 | ||
13634 | * sh.h (CONDITIONAL_REGISTER_USAGE): Don't exclude fixed registers | |
13635 | from call_used_regs. Update call_really_used_regs. | |
13636 | (CALL_REALLY_USED_REGISTERS): Define. | |
13637 | * sh.c (output_stack_adjust, shmedia_target_regs_stack_space): | |
13638 | Replace call_used_regs with call_really_used_regs. | |
13639 | (calc_live_regs, sh_media_register_for_return): Likewise. | |
13640 | (sh5_schedule_saves, sh_expand_prologue, reg_unused_after): Likewise. | |
13641 | * sh.md (return_media): Likewise. | |
13642 | ||
f9b0ac3b AP |
13643 | 2004-08-18 Andrew Pinski <apinski@apple.com> |
13644 | ||
826c9564 | 13645 | * config/darwin.c (machopic_legitimize_pic_address): Only set |
ac9e2cff | 13646 | MEM_READONLY_P in the non TARGET_TOC case. |
f9b0ac3b | 13647 | |
f822d252 ZW |
13648 | 2004-08-18 Zack Weinberg <zack@codesourcery.com> |
13649 | ||
13650 | * rtl.def (NIL): Delete. | |
13651 | * read-rtl.c (read_rtx): Handle (nil) like (define_constants). | |
13652 | Tighten the syntax a little. | |
13653 | ||
13654 | * cfgloop.h, combine.c, cse.c, loop-iv.c, postreload.c, reload.c | |
13655 | * config/alpha/alpha.c, config/alpha/alpha.h, config/arc/arc.h | |
13656 | * config/arm/arm.h, config/frv/frv.h, config/i386/i386.c | |
13657 | * config/i386/predicates.md, config/m32r/m32r.h | |
13658 | * config/m68hc11/m68hc11.c, config/mcore/mcore.h, config/mips/mips.c | |
13659 | * config/mmix/mmix.c, config/pa/pa.h, config/sh/sh.h | |
13660 | * config/sparc/sparc.h, doc/tm.texi: | |
13661 | Replace all occurrences of NIL with UNKNOWN. | |
13662 | ||
6aaf3dde ZW |
13663 | 2004-08-18 Zack Weinberg <zack@codesourcery.com> |
13664 | ||
13665 | * dojump.c (do_jump <unordered_bcc>): Do not recursively call | |
13666 | self with a TRUTH_ORIF_EXPR; generate the appropriate jump | |
13667 | sequence inline. Move drop_through_label code into this | |
13668 | block, being the only place it is used. Adjust comments. | |
13669 | ||
d62294f5 FJ |
13670 | 2004-08-18 Fariborz Jahanian <fjahanian@apple.com> |
13671 | ||
6aaf3dde ZW |
13672 | * config/rs6000/altivec.md: Add new patterns for calls to |
13673 | save_world/rest_world functions. | |
13674 | ||
13675 | * config/rs6000/rs6000-protos.h: (save_world_operation, | |
13676 | restore_world_operation) new declarations. | |
13677 | ||
13678 | * config/rs6000/rs6000.c: (struct rs6000_stack) new world_save_p | |
13679 | field added. | |
13680 | (rs6000_stack_info): Set world_save_p field. | |
13681 | (save_world_operation): New function. | |
13682 | (restore_world_operation): New function. | |
13683 | (compute_save_world_info): New function. | |
13684 | (rs6000_stack_info): Call compute_save_world_info. | |
13685 | (rs6000_emit_prologue): Check for world_save_p and generate | |
13686 | pattern to call save_world for saving all non-volatile and | |
13687 | special registers. | |
13688 | (rs6000_emit_epilogue): Check for world_save_p and generate | |
13689 | pattern to call rest_world to restore saved registers. | |
13690 | ||
13691 | config/rs6000/rs6000.h: macros FIRST_SAVED_ALTIVEC_REGNO, | |
13692 | FIRST_SAVED_FP_REGNO, FIRST_SAVED_GP_REGNO defined. | |
13693 | (rs6000_reg_names): New entries added for save_world_operation and | |
13694 | restore_world_operation. | |
d62294f5 | 13695 | |
790ac0e1 CT |
13696 | 2004-08-18 Caroline Tice <ctice@apple.com> |
13697 | ||
6aaf3dde | 13698 | * Makefile.in (STAGEFEEDBACK_FLAGS_TO_PASS) Add |
790ac0e1 CT |
13699 | "-freorder-blocks-and-partition" to the flags used in second |
13700 | stage of profiledbootstrap. | |
13701 | * bb-reorder.c (push_to_next_round_p): Add new variable, | |
13702 | next_round_is_last; set and use variable to make sure, when | |
13703 | partitioning, that the last trace construction round consists | |
13704 | of all (and only) cold basic blocks. | |
13705 | (rotate_loop): Don't copy blocks that end in a section | |
13706 | crossing jump. | |
13707 | (copy_bb): Correctly initialize "partition" of duplicated bb. | |
13708 | (add_unlikely_executed_notes): Add a comment. | |
13709 | (find_rarely_executed_basic_blocks_and_crossing_edges): Modify | |
13710 | to make sure, if function contains hot blocks, that the | |
13711 | successors of ENTRY_BLOCK_PTR are hot; also, only look for | |
13712 | crossing edges if the architecture supports named sections. | |
13713 | (mark_bb_for_unlikely_executed_section): Modify to always | |
13714 | insert the NOTE_INSN_UNLIKELY_EXECUTED_CODE immediately after | |
13715 | the basic block note insn. | |
13716 | (fix_crossing_unconditional_branches): Remove extra space. | |
13717 | (fix_edges_for_rarely_executed_code): Modify to only do | |
13718 | partitioning work if the architecture supports named sections. | |
13719 | (reorder_basic_blocks): Modify to only add | |
13720 | NOTE_INSN_UNLIKELY_EXECUTED_CODE notes if the architecture | |
13721 | supports named sections. | |
13722 | * c-common.c (handle_section_attribute): Initialize new global | |
13723 | variable, user_defined_section_attribute, to true if user has | |
13724 | specified one. | |
13725 | * cfgcleanup.c (try_forward_edges): Modify to not attempt to | |
13726 | forward edges that cross section boundaries. | |
13727 | * cfglayout.c (fixup_reorder_chain): Modify to only fix up | |
13728 | partitioning information if the architecture supports named | |
13729 | sections. | |
13730 | * cfgrtl.c (target.h): Add statement to include this. | |
13731 | (rtl_split_block): Make sure newly created bb gets correct | |
13732 | partition. | |
13733 | (try_redirect_by_replacing_jump): Make sure redirection isn't | |
13734 | attempting to cross section boundaries. | |
13735 | (force_nonfallthru_and_redirect): Only do partition fix up if | |
13736 | architecture supports named sections. | |
13737 | (rtl_split_edge): Make sure newly created bb ends up in | |
13738 | correct partition. | |
13739 | (commit_one_edge_insertion): Remove code that incorrectly | |
13740 | updated basic block partition; Make sure partition fix up only | |
13741 | happens if architecture supports named sections and it's not | |
13742 | already done. | |
13743 | (rtl_verify_flow_info_1): Fix if-condition on test/error | |
13744 | condition that fallthru edges are not allowed to cross section | |
13745 | boundaries. | |
13746 | * defaults.h (NORMAL_TEXT_SECTION_NAME): Remove this. | |
13747 | * final.c (final_scan_insn): Remove redundant test from if-statement; | |
13748 | change calls to text_section into calls to function_section; add code | |
13749 | to only to partitioning fix up if architecture supports named | |
13750 | sections. | |
13751 | * ifcvt.c (find_if_case_1): Make sure newly created bb has correct | |
13752 | partition. | |
13753 | (if_convert): Add targetm.have_named_sections to test. | |
13754 | * output.h (unlikely_section_label): Extern declaration for new global | |
13755 | variable. | |
13756 | (unlikely_text_section_name): Likewise. | |
13757 | * opts.c (decode_options): If both partitioning and DWARF debugging | |
13758 | are turned on, issue a warning that this doesn't work, and change | |
13759 | partitiong to basic block reordering (without hot/cold partitions). | |
6aaf3dde | 13760 | * passes.c (rest_of_handle_final): Re-set new global variable, |
790ac0e1 CT |
13761 | user_defined_section_attribute, to false. |
13762 | (rest_of_compilation): Change options for calling partitioning | |
13763 | function: Don't call if the user defined the section attribute, and | |
13764 | don't call if DECL_ONE_ONLY is true for the current function. | |
13765 | * predict.c (choose_function_section): Return immediately if we | |
13766 | are doing hot/cold partitioning (i.e. let the basic block partitioning | |
13767 | determine where the function belongs). | |
13768 | * reg-stack.c (emit_swap_insn): Add condition to step over | |
13769 | NOTE_INSN_UNLIKELY_EXECUTED_CODE notes. | |
13770 | * toplev.c (user_defined_section_attribute): New global variable. | |
89b0433e NS |
13771 | * toplev.h (user_defined_section_attribute): Extern declaration |
13772 | for new global variable. | |
790ac0e1 CT |
13773 | * varasm.c (unlikely_section_label): New global variable. |
13774 | (unlikely_text_section_name): New global variable. | |
89b0433e NS |
13775 | (unlikely_text_section): Add code to initialize |
13776 | unlikely_text_section_name if necessary; modify to use | |
13777 | unlikely_text_section_name and unlikely_section_label; also to use | |
13778 | named_section properly. | |
13779 | (in_unlikely_text_section): Modify to work correctly with | |
13780 | named_section and to use unlikely_text_section_name. | |
790ac0e1 CT |
13781 | (named_section): Add code to work properly with cold section. |
13782 | (function_section): Clean up if-statement. | |
89b0433e NS |
13783 | * config/darwin.c (darwin_asm_named_section): Return to original |
13784 | code, removing use of SECTION_FORMAT_STRING. | |
6aaf3dde | 13785 | * config/arm/pe.h (switch_to_section): Add case for |
790ac0e1 CT |
13786 | in_unlikely_executed_text to switch statement. |
13787 | * config/i386/cygming.h (switch_to_section): Likewise. | |
13788 | * config/i386/darwin.h (NORMAL_TEXT_SECTION_NAME): Remove. | |
13789 | (SECTION_FORMAT_STRING): Likewise. | |
13790 | * config/mcore/mcore.h (switch_to_section): Likewise. | |
13791 | * config/rs6000/darwin.h (NORMAL_TEXT_SECTION_NAME): Remove. | |
13792 | (SECTION_FORMAT_STRING): Remove. | |
13793 | ||
3a4416fb RS |
13794 | 2004-08-18 Roger Sayle <roger@eyesopen.com> |
13795 | ||
13796 | * config/i386/i386.h (FIXED_REGISTERS): Update encoding to be | |
13797 | -ffixed-reg safe, by preserving the meanings of zero and one. | |
13798 | (CALL_USED_REGISTERS): Likewise. | |
13799 | (CONDITIONAL_REGISTER_USAGE): Update to process new encodings. | |
13800 | ||
03904fb3 KK |
13801 | 2004-08-18 Kaz Kojima <kkojima@gcc.gnu.org> |
13802 | ||
13803 | * config/sh/sh.c (split_branches): Check the result of | |
13804 | next_active_insn. | |
13805 | (sh_output_mi_thunk): Call init_flow if basic_block_info is null. | |
13806 | Call rtl_register_cfg_hooks. | |
13807 | ||
389fdba0 RH |
13808 | 2004-08-18 Richard Henderson <rth@redhat.com> |
13809 | ||
13810 | * rtl.h (MEM_READONLY_P): Replace RTX_UNCHANGING_P. | |
13811 | * alias.c (true_dependence): Update to match new semantics. | |
13812 | (canon_true_dependence, write_dependence_p): Likewise. | |
13813 | (anti_dependence, output_dependence): Update write_dependence_p args. | |
13814 | (unchanging_anti_dependence): Remove. | |
13815 | * calls.c (purge_mem_unchanging_flag): Remove. | |
13816 | (fixup_tail_calls): Don't call it. | |
13817 | (expand_call): Don't add unchanging memory to function usage. | |
13818 | * expr.c (emit_block_move_via_libcall): Likewise. | |
13819 | (clear_storage_via_libcall): Don't clobber RTX_UNCHANGING_P mems. | |
13820 | (get_subtarget): Don't use RTX_UNCHANGING_P. | |
13821 | (expand_assignment, store_constructor, expand_expr_real_1): Likewise. | |
13822 | (do_tablejump): Set MEM_READONLY_P, not RTX_UNCHANGING_P. | |
13823 | * combine.c (get_last_value_validate): Use MEM_READONLY_P. | |
13824 | * cse.c (insert): Don't use RTX_UNCHANGING_P. | |
13825 | (cse_insn, canon_hash): Use MEM_READONLY_P. | |
13826 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Use MEM_READONLY_P | |
13827 | instead of RTX_UNCHANGING_P. | |
13828 | * explow.c (maybe_set_unchanging): Remove. | |
13829 | * expr.h (maybe_set_unchanging): Remove. | |
13830 | * flow.c (insn_dead_p, mark_used_regs): Use anti_dependence. | |
13831 | * function.c (assign_stack_temp_for_type): Don't use RTX_UNCHANGING_P. | |
13832 | (assign_parm_setup_reg, expand_function_start): Likewise. | |
13833 | * integrate.c (copy_rtx_and_substitute): Likewise. | |
13834 | * ra-rewrite.c (emit_colors): Likewise. | |
13835 | * regmove.c (copy_src_to_dest, regmove_optimize): Likewise. | |
13836 | (fixup_match_1): Likewise. | |
13837 | * reload1.c (reload, alter_reg): Likewise. | |
13838 | * local-alloc.c (validate_equiv_mem): Check MEM_READONLY_P, | |
13839 | not RTX_UNCHANGING_P. | |
13840 | (equiv_init_varies_p): Likewise. | |
13841 | * loop-invariant.c (check_maybe_invariant): Likewise. | |
13842 | * resource.c (mark_referenced_resources, mark_set_resources): Likewise. | |
13843 | * loop.c (note_addr_stored): Likewise. | |
13844 | (prescan_loop): Likewise. Don't check function usage for clobbered | |
13845 | unchanging memory. | |
13846 | * rtlanal.c (rtx_unstable_p): Check MEM_READONLY_P, | |
6aaf3dde | 13847 | not RTX_UNCHANGING_P. |
389fdba0 RH |
13848 | (rtx_varies_p, modified_between_p, modified_in_p): Likewise. |
13849 | * varasm.c (force_const_mem): Likewise. | |
13850 | * stmt.c (expand_decl): Don't set RTX_UNCHANGING_P. | |
13851 | * web.c (entry_register): Likewise. | |
13852 | * tree-gimple.h (get_base_address): Move decl ... | |
13853 | * tree.h: ... here. | |
13854 | * doc/rtl.texi (MEM_READONLY_P): Replace RTX_UNCHANGING_P. | |
13855 | ||
13856 | * config/alpha/alpha.c (alpha_set_memflags_1): Rewrite to be | |
13857 | called via for_each_rtx. Copy MEM_SCALAR_P, MEM_NOTRAP_P too. | |
13858 | (alpha_set_memflags): Update to match. | |
13859 | ||
13860 | * config/darwin.c (machopic_indirect_data_reference): Set | |
13861 | MEM_READONLY_P instead of RTX_UNCHANGING_P. | |
13862 | (machopic_indirect_call_target): Likewise. | |
13863 | (machopic_legitimize_pic_address): Likewise. | |
6aaf3dde | 13864 | * config/arm/arm.c (legitimize_pic_address, arm_gen_load_multiple, |
389fdba0 RH |
13865 | arm_gen_store_multiple, arm_gen_movmemqi): Likewise. |
13866 | * config/arm/arm.md (load_multiple, store_multiple): Likewise. | |
13867 | * config/frv/frv.md (symGOT2reg): Likewise. | |
13868 | * config/i386/i386.c (legitimize_pic_address, | |
13869 | legitimize_tls_address, ix86_split_to_parts): Likewise. | |
13870 | * config/ia64/ia64.c (ia64_expand_tls_address): Likewise. | |
13871 | * config/ia64/ia64.md (load_fptr): Likewise. | |
13872 | * config/m32r/m32r.c (m32r_legitimize_pic_address): Likewise. | |
13873 | * config/m68k/m68k.c (legitimize_pic_address): Likewise. | |
13874 | * config/mcore/mcore.c (block_move_sequence): Likewise. | |
13875 | * config/mn10300/mn10300.md (symGOT2reg): Likewise. | |
13876 | * config/pa/pa.c (legitimize_pic_address): Likewise. | |
13877 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Likewise. | |
13878 | (rs6000_emit_move): Likewise. | |
13879 | * config/s390/s390.c (legitimize_pic_address): Likewise. | |
13880 | (legitimize_tls_address): Likewise. | |
13881 | * config/s390/s390.md (casesi): Likewise. | |
13882 | * config/sh/sh.c (prepare_move_operands, sh_reorg): Likewise. | |
13883 | * config/sh/sh.md (symGOT2reg): Likewise. | |
13884 | * config/sparc/sparc.c (legitimize_pic_address): Likewise. | |
13885 | * config/v850/v850.md (casesi): Likewise. | |
13886 | ||
13887 | * config/ia64/ia64.c (gen_thread_pointer): Don't set RTX_UNCHANGING_P. | |
13888 | * config/iq2000/iq2000.c (save_restore_insns): Likewise. | |
13889 | * config/mips/mips.c (mips_restore_gp): Likewise. | |
13890 | (mips_save_restore_reg, mips16_gp_pseudo_reg): Likewise. | |
13891 | * config/sh/sh.c (sh_reorg): Likewise. | |
13892 | ||
17ad5b5e RH |
13893 | 2004-08-18 Richard Henderson <rth@redhat.com> |
13894 | ||
13895 | * tree.h (struct tree_decl): Add gimple_formal_temp. | |
13896 | (DECL_GIMPLE_FORMAL_TEMP_P): New. | |
13897 | * gimplify.c (pop_gimplify_context): Clear it. | |
13898 | (lookup_tmp_var): Set it, if is_formal. | |
13899 | (gimplify_init_constructor): Use rhs_predicate_for for COMPLEX. | |
13900 | Use is_gimple_val for VECTOR. Simplify return value. | |
13901 | (gimplify_save_expr): Use and set DECL_GIMPLE_FORMAL_TEMP_P. | |
13902 | (gimplify_expr): Likewise. | |
13903 | * tree-gimple.c (is_gimple_formal_tmp_rhs): Rename from | |
13904 | is_gimple_tmp_rhs for clarity. Update all callers. | |
13905 | (is_gimple_reg_rhs): Simplify logic. | |
13906 | (is_gimple_formal_tmp_var): Rename from is_gimple_tmp_var for | |
13907 | clarity; use DECL_GIMPLE_FORMAL_TEMP_P. | |
13908 | (is_gimple_formal_tmp_reg): Similarly. | |
13909 | * tree-gimple.h: Update decls. | |
13910 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Use | |
13911 | DECL_IGNORED_P, not DECL_ARTIFICIAL. Tidy formatting. | |
13912 | * tree-ssa-live.c (var_union, type_var_init): Likewise. | |
13913 | ||
5b0eba61 PB |
13914 | 2004-08-18 Paolo Bonzini <bonzini@gnu.org> |
13915 | ||
13916 | * c4x.c (legitimize_operands): Remove calls to | |
13917 | preserve_subexpressions_p. | |
13918 | ||
07e15286 DE |
13919 | 2004-08-18 David Edelsohn <edelsohn@gnu.org> |
13920 | ||
13921 | * varasm.c (MAX_OFILE_ALIGNMENT): Move ... | |
13922 | * defaults.h (MAX_OFILE_ALIGNMENT): ... here. | |
13923 | ||
ad8c162b ZL |
13924 | 2004-08-18 Ziemowit Laski <zlaski@apple.com> |
13925 | ||
13926 | * gcc.c (default_compilers): Add info about ".mm", ".M" and ".mii" | |
13927 | Objective-C++ extensions. | |
13928 | * gengtype.c (get_file_basename): Match entire subdirectory name | |
13929 | ('cp', 'objc', 'objcp') rather than just its suffix. | |
13930 | (get_base_file_bitmap): Allow for files to belong to more than one | |
13931 | language. | |
13932 | (get_output_file_with_visibility): Treat objc/objc-act.h as a header | |
13933 | used by more than one front-end. | |
13934 | ||
d56993f2 RE |
13935 | 2004-08-18 Richard Earnshaw <rearnsha@arm.com> |
13936 | ||
13937 | * arm.md (addsi3, subsi3, andsi3, iorsi3, movsi, movhi): Rework to | |
13938 | avoid use of preserve_subexpressions_p. | |
13939 | ||
504c0e4f RH |
13940 | 2004-08-17 Richard Henderson <rth@redhat.com> |
13941 | ||
13942 | PR 17051 | |
13943 | * tree-sra.c (scalarize_use): Mark all v_defs for !is_output too. | |
13944 | ||
54e9a19d DD |
13945 | 2004-08-17 DJ Delorie <dj@redhat.com> |
13946 | ||
13947 | * doc/extend.texi: Document new xstormy16 attribute. | |
13948 | ||
13949 | * config/stormy16/stormy16.c (xstormy16_splittable_below100_operand): New. | |
13950 | (xstormy16_splittable_below100_or_register): New. | |
13951 | (combine_bnp): New. | |
13952 | (xstormy16_reorg): New. | |
13953 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
13954 | ||
54e9a19d DD |
13955 | * config/stormy16/stormy16.md (movqi_internal): Make name public. |
13956 | (movhi_internal): Likewise. | |
13957 | (cbhranchhi): Likewise. | |
13958 | (cbhranchhi_neg): Likewise. | |
13959 | (andhi3): Only allow splittable below100 operands. | |
13960 | (iorhi3): Likewise. | |
13961 | (peephole2): New and/zero_extend->and peephole. | |
13962 | (peephole2): New load/ior/save->set1 peephole. | |
13963 | (peephole2): New load/and/save->clr1 peephole. | |
13964 | (bclrx, bclrx2, bclr7, bclr15): New. | |
13965 | (bsetx, bsetx2, bset7, bset15): New. | |
13966 | ||
13967 | * config/stormy16/stormy16.c (xstormy16_print_operand): Be more | |
13968 | liberal about acceptable 'B' masks. | |
13969 | ||
13970 | * config/stormy16/stormy16-protos.h | |
13971 | (xstormy16_asm_output_aligned_common, xstormy16_below100_symbol, | |
13972 | xstormy16_below100_operand, xstormy16_below100_or_register, | |
13973 | xstormy16_onebit_set_operand, xstormy16_onebit_clr_operand): New. | |
13974 | (PREDICATE_CODES): Add new predicates. | |
6aaf3dde | 13975 | |
54e9a19d DD |
13976 | * config/stormy16/stormy16.c |
13977 | (xstormy16_asm_output_aligned_common, xstormy16_below100_symbol, | |
13978 | xstormy16_below100_operand, xstormy16_below100_or_register, | |
13979 | xstormy16_onebit_set_operand, xstormy16_onebit_clr_operand): New. | |
13980 | (xstormy16_expand_iorqi3, xstormy16_expand_andqi3): New. | |
13981 | (xstormy16_legitimate_address_p): Allow below100 symbols. | |
13982 | (xstormy16_extra_constraint_p): Add 'W' for below100 operands. | |
13983 | (xstormy16_expand_move): Leave below100 operands as-is. | |
13984 | (xstormy16_encode_section_info): Encode below100 symbols. | |
13985 | (xstormy16_strip_name_encoding): New. | |
13986 | (xstormy16_print_operand): Print 'b' as shift mask. | |
13987 | (xstormy16_attribute_table): Add below100 attributes. | |
13988 | (xstormy16_handle_below100_attribute): New. | |
13989 | ||
13990 | * config/stormy16/stormy16.h (EXTRA_SECTIONS): add in_bss100. | |
13991 | (XSTORMY16_SECTION_FUNCTION): New. | |
13992 | (EXTRA_SECTION_FUNCTIONS): Define using the above. | |
13993 | (ASM_OUTPUT_ALIGNED_DECL_COMMON, ASM_OUTPUT_ALIGNED_DECL_LOCAL): New. | |
13994 | (ASM_OUTPUT_SYMBOL_REF): Handle encoded symbols. | |
13995 | (ASM_OUTPUT_LABELREF): Define. | |
13996 | ||
13997 | * config/stormy16/stormy16.md (movqi_internal): Add below100 support. | |
13998 | (movhi_internal): Add below100 support. | |
13999 | (andhi3): Add below100 support. | |
14000 | (iorhi3): Add below100 support. | |
14001 | (iorqi3, iorqi3_internal, andqi3, andqi3_internal): New. | |
14002 | ||
4ef47bd8 JW |
14003 | 2004-08-17 James E Wilson <wilson@specifixinc.com> |
14004 | ||
14005 | * config/mips/mips.c (gen_conditional_move): Use GET_MODE (op0) instead | |
14006 | of VOIDmode for comparison code mode. | |
14007 | * config/mips/mips.md: For conditional move patterns, use mode of | |
14008 | first compare operand for comparison mode, instead of VOIDmode. | |
e17c734b JW |
14009 | |
14010 | * config/mips/mips.md: Add canonical nmadd and nmsub patterns for both | |
14011 | normal and -ffast-math code. | |
14012 | ||
1a10290c MM |
14013 | 2004-08-17 Mark Mitchell <mark@codesourcery.com> |
14014 | ||
14015 | PR c++/15871 | |
14016 | * doc/invoke.texi (-fkeep-inline-functions): Update documentation. | |
14017 | ||
f4e736dd | 14018 | 2004-08-17 Robert Bowdidge <bowdidge@apple.com> |
6aaf3dde ZW |
14019 | |
14020 | * config/rs6000/x-darwin: Add -mdynamic-no-pic to gcc build flags. | |
f4e736dd | 14021 | |
13a98f14 AT |
14022 | 2004-08-17 Andreas Tobler <a.tobler@schweiz.ch> |
14023 | ||
14024 | * config/rs6000/darwin.md (*call_nonlocal_darwin64): Add #else clause | |
14025 | for non Darwin targets. | |
14026 | (*call_value_nonlocal_darwin64): Likewise. | |
14027 | ||
d0b2079e FJ |
14028 | 2004-08-17 Fariborz Jahanian <fjahanian@apple.com> |
14029 | ||
14030 | * config/rs6000/rs6000.c (rs6000_function_value): Check for | |
14031 | altivec mode for altivec return register. | |
14032 | ||
feb3dc8b DE |
14033 | 2004-08-17 David Edelsohn <edelsohn@gnu.org> |
14034 | ||
14035 | Revert 2004-08-16 Stan Shebs <shebs@apple.com> | |
ef0e2729 | 14036 | * config/darwin.c (macho_indirect_data_reference): Add DImode case. |
feb3dc8b DE |
14037 | * config/rs6000/rs6000.md: Include darwin.md. |
14038 | (builtin_setjmp_receiver): Add DImode case. | |
14039 | * config/rs6000/rs6000.c (rs6000_emit_move): Add DImode case to | |
14040 | Darwin bits. | |
14041 | ||
79fe1b3b DN |
14042 | 2004-08-17 Dorit Naishlos <dorit@il.ibm.com> |
14043 | ||
89b0433e NS |
14044 | * tree-vectorizer.c: New File: loop vectorization on SSAed GIMPLE |
14045 | trees. | |
79fe1b3b DN |
14046 | * tree-vectorizer.h: New File: Same. |
14047 | * Makefile.in (tree-vectorizer.c, tree-vectorizer.h): Add new files. | |
14048 | * common.opt (ftree-vectorize): New flag to enable vectorization. | |
89b0433e NS |
14049 | * timevar.def (TV_TREE_VECTORIZATION): New dump file for |
14050 | vectorization pass. | |
79fe1b3b DN |
14051 | * tree-data-ref.h (init_data_ref): Additional argument. |
14052 | (array_base_name_differ_p): Moved to tree-data-ref.c. | |
14053 | * tree-data-ref.c (array_base_name_differ_p): Revised. | |
14054 | (initialize_data_dependence_relation): Call array_base_name_differ_p | |
14055 | with an extra argument. | |
14056 | (analyze_all_data_dependences): Same. | |
14057 | (init_data_ref): Additional argument is_read to set DR_IS_READ. | |
89b0433e NS |
14058 | * tree-ssa-phiopt.c (empty_block_p): Expose for usage out of this |
14059 | file. | |
79fe1b3b DN |
14060 | * tree-flow.h (vectorize_loops, empty_block_p): Add declaration. |
14061 | * tree-optimize.c (pass_vectorize): Schedule the vectorization pass. | |
6aaf3dde | 14062 | * tree-pass.h (tree_opt_pass pass_vectorize): Declare the new |
79fe1b3b DN |
14063 | vectorization pass. |
14064 | * tree-ssa-loop.c (tree_ssa_loop_init): Call scev_initialize. | |
14065 | (tree_ssa_loop_done): Call scev_finalize. | |
14066 | (tree_vectorize): Define the new vectorization pass. | |
89b0433e NS |
14067 | * defaults.h (UNITS_PER_SIMD_WORD): Allow targets to specify the |
14068 | size of the vector they support (until support for multiple vector | |
14069 | sizes is added to the vectorizer). | |
79fe1b3b DN |
14070 | * config/i386/i386.h (UNITS_PER_SIMD_WORD): Define. |
14071 | * config/rs6000/rs6000.h (UNITS_PER_SIMD_WORD): Define. | |
14072 | * invoke.texi (fdump-tree-vect, ftree-vectorize): Add | |
14073 | documentation. | |
14074 | ||
e15987c1 NS |
14075 | 2004-08-17 Nathan Sidwell <nathan@codesourcery.com> |
14076 | ||
14077 | * objc/objc-act.c (build_protocol_initializer): Fix build_int_cst | |
14078 | usage. | |
14079 | (generate_protocol_list, handle_impent): Likewise. | |
14080 | ||
e3cadb61 RS |
14081 | 2004-08-17 Roger Sayle <roger@eyesopen.com> |
14082 | ||
14083 | * regclass.c (init_reg_sets_1): Add ENABLE_CHECKING sanity tests to | |
14084 | ensure that call_used_regs is a superset of both fixed_regs and | |
14085 | call_really_used_regs. | |
14086 | ||
108a579c DB |
14087 | 2004-08-17 Daniel Bornstein <danfuzz@milk.com> |
14088 | ||
14089 | PR target/17019 | |
14090 | * arm.md (addsi3_cbranch_scratch): Correct case labels. | |
14091 | ||
62fc1d7d PB |
14092 | 2004-08-17 Paolo Bonzini <bonzini@gnu.org> |
14093 | ||
14094 | PR middle-end/17036 | |
14095 | * fold-const.c (fold): Check for integer operand when | |
14096 | folding (A >> N) & 1 ? (1 << N) : 0. Fix from Andrew | |
14097 | Pinski <pinskia@physics.uc.edu>. | |
14098 | ||
7c27e184 PB |
14099 | 2004-08-17 Paolo Bonzini <bonzini@gnu.org> |
14100 | ||
14101 | * configure.ac: Trust toplevel's notion of BISON/FLEX/MAKEINFO. | |
14102 | No need to check if in a cross configuration. | |
14103 | * configure: Regenerate. | |
14104 | ||
14105 | * calls.c (precompute_register_parameters): | |
14106 | Inline preserve_subexpressions_p (). | |
14107 | * expmed.c (expand_mult_const, emit_store_flag): Likewise. | |
14108 | * optabs.c (expand_binop, expand_twoval_binop, prepare_cmp_insn): | |
14109 | Likewise. | |
14110 | * expr.c (get_subtarget): Likewise. | |
14111 | * rtl.h (preserve_subexpressions_p): Remove. | |
14112 | * stmt.c (preserve_subexpressions_p): Remove. | |
14113 | ||
14114 | * dojump.c (do_jump) <COND_EXPR, EQ_EXPR, NE_EXPR, | |
14115 | TRUTH_ANDIF_EXPR, TRUTH_ORIF_EXPR, COMPOUND_EXPR>: | |
14116 | Abort on gimplified cases. | |
14117 | ||
d97c6333 JW |
14118 | 2004-08-16 James E Wilson <wilson@specifixinc.com> |
14119 | ||
14120 | * tree.h (VECTOR_FLOAT_TYPE_P): New. | |
14121 | (FLOAT_TYPE_P): Use it. | |
14122 | * c-typeck.c (build_binary_op): After convert calls, check for | |
14123 | check for ERROR_MARK operands. | |
14124 | ||
45c8116d ZW |
14125 | 2004-08-16 Zack Weinberg <zack@codesourcery.com> |
14126 | ||
14127 | * Makefile.in (BUILD_PREFIX, BUILD_PREFIX_1): Delete. | |
14128 | (BUILD_RTL, BUILD_PRINT, BUILD_ERRORS, BUILD_VARRAY): Update. | |
14129 | (genobjs): Add build-rtl.o, build-print-rtl.o, build-varray.o. | |
14130 | (genobjs static pattern rule): Remove %.c dependency. | |
14131 | ($(BUILD_PREFIX_1)rtl.o, print-rtl.o, $(BUILD_PREFIX_1)varray.o): | |
14132 | Rename rules; delete commands; fix dependencies. | |
14133 | (mostlyclean): Do not delete temporary source copies. | |
14134 | * configure.ac: Delete all references to BUILD_PREFIX and | |
14135 | BUILD_PREFIX_1. | |
14136 | * configure: Regenerate. | |
14137 | ||
14138 | * print-rtl.c: Include bconfig.h #ifdef GENERATOR_FILE. | |
14139 | Do not include tree.h, real.h, flags.h, hard-reg-set.h, or | |
14140 | basic-block.h #ifdef GENERATOR_FILE. Surround some more code | |
14141 | with #ifndef GENERATOR_FILE so that nothing from those headers | |
14142 | is used. | |
14143 | ||
14144 | * rtl.c, varray.c: Include bconfig.h #ifdef GENERATOR_FILE. | |
14145 | ||
4d73e20b AN |
14146 | 2004-08-16 Adam Nemet <anemet@lnxw.com> |
14147 | ||
14148 | * Makefile.in (LIBS): Move $(LIBIBERTY) after $(BANSHEELIB). | |
6aaf3dde | 14149 | |
62114438 AP |
14150 | 2004-08-16 Andrew Pinski <apinski@apple.com> |
14151 | ||
14152 | * target-def.h (TARGET_EH_RETURN_FILTER_MODE): Remove | |
14153 | extraneous semicolon. | |
14154 | ||
8e3e233b DP |
14155 | 2004-08-16 Devang Patel <dpatel@apple.com> |
14156 | ||
14157 | * c-common.c (handle_used_attribute): Set DECL_PRESERVE_P. | |
14158 | * print-tree.c (print_node): Print DECL_PRESERVE_P. | |
14159 | * target-def.h (TARGET_ASM_MARK_DECL_PRESERVED): New #define. | |
14160 | (TARGET_ASM_OUT): New member, TARGET_ASM_MARK_DECL_PRESERVED | |
14161 | * target.h (struct gcc_target): New member, mark_decl_preserved. | |
45c8116d ZW |
14162 | * hooks.c (hook_void_charptr): Rename to ... |
14163 | (hook_void_constcharptr): ... new name. | |
14164 | * hooks.h (hook_void_charptr): Rename to .. | |
14165 | (hook_void_constcharptr): ... new name. | |
8e3e233b DP |
14166 | * tree.h (DECL_PRESERVE_P): New #define. |
14167 | (struct tree_decl): New member, preserve_flag. | |
14168 | * varasm.c (assemble_start_function): Mark decl preserved. | |
14169 | (assemble_variable): Same. | |
14170 | * darwin.c (darwin_mark_decl_preserved): New function. | |
14171 | * darwin.h (TARGET_ASM_MARK_DECL_preserved): New #define. | |
14172 | * darwin-protos.h (darwin_mark_decl_preserved): New decl. | |
14173 | * doc/tm.texi (TARGET_ASM_MARK_DECL_PRESERVED): Document. | |
14174 | ||
580b3958 JM |
14175 | 2004-08-16 Joseph S. Myers <jsm@polyomino.org.uk> |
14176 | ||
14177 | * c-decl.c (grokdeclarator): Allow for function definition where | |
14178 | innermost declarator has attributes. | |
14179 | ||
93f90be6 FJ |
14180 | 2004-08-16 Fariborz Jahanian <fjahanian@apple.com> |
14181 | ||
14182 | * except.c (get_exception_filter, build_post_landing_pads, | |
14183 | dw2_build_landing_pads): Use target-specific mode for 'filter'. | |
14184 | * target-def.h (TARGET_EH_RETURN_FILTER_MODE): macro defined and used. | |
14185 | * target.h (eh_return_filter_mode): New field added. | |
14186 | * targhooks.c (default_eh_return_filter_mode): Defined. | |
14187 | * targhooks.h (default_eh_return_filter_mode): Declared. | |
14188 | * config/rs6000/rs6000.c (rs6000_eh_return_filter_mode): Defined. | |
14189 | ||
392765bf NN |
14190 | 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> |
14191 | ||
14192 | * configure.ac: Replace _GCC_TOPLEV_NONCANONICAL_TARGET with | |
14193 | ACX_NONCANONICAL_TARGET; remove now-unneeded AC_SUBST. | |
14194 | * configure: Regenerate. | |
14195 | ||
49bd1d27 SS |
14196 | 2004-08-16 Stan Shebs <shebs@apple.com> |
14197 | ||
14198 | Basic support for 64-bit Darwin. | |
14199 | * config/darwin.c (macho_indirect_data_reference): Add DImode case. | |
14200 | (machopic_legitimize_pic_address): Similarly, plus use Pmode | |
14201 | instead of SImode. | |
14202 | * config/rs6000/darwin.h (PTRDIFF_TYPE): Be "long int" if 64-bit. | |
14203 | (TARGET_OS_CPP_BUILTINS): Add 64-bit preprocessor macro. | |
14204 | (SUBTARGET_SWITCHES): Add -m32 and -m64 flags. | |
14205 | (SUBTARGET_OVERRIDE_OPTIONS): Require 64-bit processor if -m64. | |
14206 | (PROCESSOR_DEFAULT64): Define. | |
14207 | * config/rs6000/darwin.md: New file, patterns specific to 64-bit | |
14208 | Darwin. | |
14209 | * config/rs6000/rs6000.md: Include darwin.md. | |
14210 | (builtin_setjmp_receiver): Add DImode case. | |
14211 | * config/rs6000/rs6000.c (TARGET_ASM_UNALIGNED_DI_OP): Define for | |
14212 | Darwin. | |
14213 | (TARGET_ASM_ALIGNED_DI_OP): Ditto. | |
14214 | (rs6000_emit_move): Add DImode case to Darwin bits. | |
14215 | (machopic_output_stub): Use .quad if 64-bit. | |
14216 | * invoke.texi: Document -m32 and -m64. | |
14217 | ||
4e6e4e4c JJ |
14218 | 2004-08-16 Janis Johnson <janis187@us.ibm.com> |
14219 | ||
14220 | * doc/extend.texi (AltiVec builtins): Document additional differences | |
14221 | from the Motorola AltiVec PIM. | |
14222 | ||
092313ae NS |
14223 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
14224 | ||
14225 | * c-typeck.c (build_c_cast): Only copy overflow from expr nodes. | |
14226 | * tree.h (IS_NON_TYPE_CODE_CLASS): Simplify. | |
14227 | (struct tree_common): Update public_flag documentation. | |
14228 | ||
dffc9ae5 NN |
14229 | 2004-08-16 Nathanael Nerode <neroden@gcc.gnu.org> |
14230 | ||
14231 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
62fc1d7d | 14232 | Check for artificial variables, not is_gimple_tmp_var. |
dffc9ae5 NN |
14233 | * tree-ssa-live.c (var_union): Likewise. |
14234 | ||
16e9be4c NS |
14235 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
14236 | ||
14237 | * calls.c (load_register_parameters): Remove spurious FIXME token. | |
14238 | ||
9a4d6480 ZL |
14239 | 2004-08-15 Ziemowit Laski <zlaski@apple.com> |
14240 | ||
14241 | * Makefile.in (C_PRETTY_PRINT_H): Add c-pretty-print.h. | |
14242 | (c-lang.o): Depend on c-objc-common.h. | |
45c8116d | 14243 | (c-objc-common.o): Depend on $(C_PRETTY_PRINT_H) and |
9a4d6480 ZL |
14244 | c-objc-common.h; remove duplicate $(C_TREE_H) dependency. |
14245 | * c-lang.c: Include c-objc-common.h. | |
14246 | (LANG_HOOKS_FINISH, LANG_HOOKS_INIT_OPTIONS, | |
14247 | LANG_HOOKS_INITIALIZE_DIAGNOSTICS, LANG_HOOKS_HANDLE_OPTION, | |
14248 | LANG_HOOKS_MISSING_ARGUMENT, LANG_HOOKS_POST_OPTIONS, | |
45c8116d ZW |
14249 | LANG_HOOKS_GET_ALIAS_SET, LANG_HOOKS_SAFE_FROM_P, |
14250 | LANG_HOOKS_EXPAND_EXPR, LANG_HOOKS_MARK_ADDRESSABLE, | |
9a4d6480 ZL |
14251 | LANG_HOOKS_PARSE_FILE, LANG_HOOKS_TRUTHVALUE_CONVERSION, |
14252 | LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL, | |
45c8116d | 14253 | LANG_HOOKS_STATICP, LANG_HOOKS_SET_DECL_ASSEMBLER_NAME, |
9a4d6480 ZL |
14254 | LANG_HOOKS_NO_BODY_BLOCKS, LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL, |
14255 | LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_FUNCTION_ENTER_NESTED, | |
14256 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, LANG_HOOKS_DUP_LANG_SPECIFIC_DECL, | |
14257 | LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT, | |
14258 | LANG_HOOKS_COMMON_ATTRIBUTE_TABLE, LANG_HOOKS_FORMAT_ATTRIBUTE_TABLE, | |
14259 | LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN, | |
14260 | LANG_HOOKS_TREE_INLINING_DISREGARD_INLINE_LIMITS, | |
14261 | LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P, | |
14262 | LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING, | |
14263 | LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS, | |
14264 | LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN, | |
14265 | LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION, LANG_HOOKS_TYPE_FOR_MODE, | |
14266 | LANG_HOOKS_TYPE_FOR_SIZE, LANG_HOOKS_SIGNED_TYPE, | |
14267 | LANG_HOOKS_UNSIGNED_TYPE, LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE, | |
14268 | LANG_HOOKS_INCOMPLETE_TYPE_ERROR, LANG_HOOKS_TYPE_PROMOTES_TO, | |
14269 | LANG_HOOKS_REGISTER_BUILTIN_TYPE, LANG_HOOKS_WRITE_GLOBALS): | |
14270 | Move to c-objc-common.h. | |
14271 | * c-objc-common.c: Include c-objc-common.h. | |
14272 | * c-objc-common.h: New file. | |
14273 | ||
869464ba AT |
14274 | 2004-08-15 Andreas Tobler <a.tobler@schweiz.ch> |
14275 | Andrew Pinski <pinskia@physics.uc.edu> | |
14276 | ||
14277 | PR target/14931 | |
14278 | * config/rs6000/darwin-tramp.asm (L_abort$stub): Change to new stub | |
14279 | style. | |
14280 | ||
4a90aeeb NS |
14281 | 2004-08-15 Nathan Sidwell <nathan@codesourcery.com> |
14282 | ||
14283 | * tree.h (build_int_cst): New. | |
14284 | (build_int_2): Remove. | |
14285 | * tree.c (build_int_2): Remove. | |
14286 | (build_int_cst): New. | |
14287 | (make_vector_type, build_common_tree_nodes, | |
14288 | build_common_tree_nodes_2): Use build_int_cst. | |
14289 | * builtins.c (expand_builtin_prefetch, expand_builtin_strstr, | |
14290 | expand_builtin_strpbrk, expand_builtin_fputs, | |
14291 | build_string_literal, expand_builtin_printf, | |
14292 | expand_builtin_sprintf, fold_builtin_lround, fold_builtin_bitop, | |
14293 | fold_builtin_bitop, fold_builtin_isascii, fold_builtin_toascii, | |
14294 | fold_builtin_isdigit, simplify_builtin_strstr, | |
14295 | simplify_builtin_strpbrk, fold_builtin_fputs, | |
14296 | simplify_builtin_sprintf): Use build_int_cst. | |
14297 | * c-common.c (start_fname_decls, fix_string_type, | |
14298 | c_common_nodes_and_builtins, c_init_attributes, | |
14299 | shorten_compare): Likewise. | |
14300 | * c-decl.c (complete_array_type, | |
14301 | check_bitfield_type_and_width): Likewise. | |
14302 | * c-lex.c (interpret_integer, lex_charconst): Likewise. | |
14303 | * c-parse.in (primary): <TYPES_COMPATIBLE_P> Likewise. | |
14304 | * c-pretty-print.c (pp_c_integer_constant): Likewise. | |
14305 | * c-typeck.c (really_start_incremental_init, push_init_level, | |
14306 | set_nonincremental_init_from_string): Likewise. | |
14307 | * calls.c (load_register_parameters): Likewise. | |
14308 | * convert.c (convert_to_pointer): Likewise. | |
14309 | * coverage.c (coverage_counter_alloc, tree_coverage_counter_ref, | |
14310 | build_fn_info_type, build_ctr_info_value, build_gcov_info): | |
14311 | Likewise. | |
14312 | * except.c (init_eh, assign_filter_values, assign_filter_values): | |
14313 | Likewise. | |
14314 | * expmed.c (store_fixed_bit_field, extract_bit_field, | |
14315 | extract_fixed_bit_field, extract_split_bit_field, expand_shift, | |
14316 | expand_mult_const, expand_mult_highpart_adjust, extract_high_half, | |
14317 | expand_sdiv_pow2, expand_divmod, make_tree): Likewise. | |
14318 | * expr.c (convert_move, emit_group_load, emit_group_store, | |
14319 | expand_assignment, store_constructor, store_field, | |
14320 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
14321 | * fold-const.c (force_fit_type, int_const_binop, fold_convert_const, | |
14322 | invert_truthvalue, optimize_bit_field_compare, | |
14323 | decode_field_reference, all_ones_mask_p, constant_boolean_node, | |
14324 | fold_div_compare, fold, fold_read_from_constant_string, | |
14325 | fold_negate_const, fold_abs_const, fold_not_const): Likewise. | |
14326 | * function.c (assign_parm_setup_block): Likewise. | |
14327 | * stmt.c (shift_return_value, expand_end_case_type, | |
14328 | estimate_case_costs): Likewise. | |
14329 | * stor-layout.c (layout_type, initialize_sizetypes, | |
14330 | set_min_and_max_values_for_integral_type): Likewise. | |
14331 | * tree-chrec.c (chrec_fold_multiply_poly_poly, | |
14332 | reset_evolution_in_loop): Likewise. | |
14333 | * tree-chrec.h (build_polynomial_chrec): Likewise. | |
14334 | * tree-complex.c (build_replicated_const): Likewise. | |
14335 | * tree-eh.c (honor_protect_cleanup_actions, | |
14336 | lower_try_finally_onedest, lower_try_finally_copy, | |
14337 | lower_try_finally_switch): Likewise. | |
14338 | * tree-mudflap.c (mf_build_string, mx_register_decls, | |
14339 | mudflap_register_call, mudflap_enqueue_constant): Likewise. | |
14340 | * tree-nested.c (get_trampoline_type, get_nl_goto_field): Likewise. | |
14341 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
14342 | * tree-ssa-ccp.c (widen_bitfield, maybe_fold_offset_to_array_ref): | |
14343 | Likewise. | |
14344 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. | |
14345 | * tree-ssa-loop-niter.c (number_of_iterations_cond, | |
14346 | loop_niter_by_eval, upper_bound_in_type, lower_bound_in_type): | |
14347 | Likewise. | |
45c8116d | 14348 | |
4a90aeeb NS |
14349 | * config/alpha/alpha.c (alpha_initialize_trampoline, |
14350 | alpha_va_start, alpha_gimplify_va_arg_1): Use build_int_cst. | |
14351 | * config/arm/arm.c (arm_get_cookie_size): Likewise. | |
14352 | * config/c4x/c4x.c (c4x_gimplify_va_arg_expr): Likewise. | |
14353 | * config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise. | |
14354 | * config/i860/i860.c (i860_va_start): Likewise. | |
14355 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise. | |
14356 | * config/mips/mips.c (mips_build_builtin_va_list, mips_va_start, | |
14357 | mips_gimplify_va_arg_expr): Likewise. | |
14358 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise. | |
14359 | * config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg, | |
14360 | add_compiler_branch_island): Likewise. | |
14361 | * config/s390/s390.c (s390_va_start): Likewise. | |
14362 | * config/sh/sh.c (sh_va_start): Likewise. | |
14363 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start): | |
14364 | Likewise. | |
14365 | * config/xtensa/xtensa.c (xtensa_va_start, | |
14366 | xtensa_gimplify_va_arg_expr): Likewise. | |
45c8116d | 14367 | |
4a90aeeb NS |
14368 | * objc/objc-act.c (build_objc_string_object, |
14369 | build_objc_symtab_template, init_def_list, init_objc_symtab, | |
14370 | init_module_descriptor, generate_static_references, | |
14371 | build_selector_translation_table, get_proto_encoding, | |
14372 | build_typed_selector_reference, build_selector_reference, | |
14373 | build_next_objc_exception_stuff, | |
14374 | build_method_prototype_list_template, generate_descriptor_table, | |
14375 | generate_protocols, build_protocol_initializer, | |
14376 | build_ivar_list_template, build_method_list_template, | |
14377 | build_ivar_list_initializer, generate_ivars_list, | |
14378 | generate_dispatch_table, generate_protocol_list, | |
14379 | build_category_initializer, build_shared_structure_initializer, | |
14380 | generate_shared_structures, handle_impent, | |
14381 | generate_objc_image_info): Use build_int_cst. | |
14382 | ||
2a68a7de BE |
14383 | 2004-08-15 Ben Elliston <bje@au.ibm.com> |
14384 | ||
14385 | * vec.h: Comment improvements. | |
14386 | ||
53fb4de3 RS |
14387 | 2004-08-14 Roger Sayle <roger@eyesopen.com> |
14388 | ||
14389 | * c-common.c (shorten_compare, pointer_int_sum, | |
14390 | c_common_truthvalue_conversion, boolean_increment): Replace calls | |
14391 | to build with calls to buildN. | |
14392 | * c-decl.c (complete_array_type, grokdeclarator): Likewise. | |
14393 | * c-gimplify.c (c_build_bind_expr, gimplify_c_loop, | |
14394 | gimplify_switch_stmt): Likewise. | |
14395 | * c-typeck.c (default_function_array_conversion, | |
14396 | build_component_ref, build_array_ref, build_function_call, | |
14397 | pointer_diff, build_unary_op, build_conditional_expr, | |
14398 | build_compound_expr, build_modify_expr, c_finish_goto_label, | |
14399 | c_finish_goto_ptr, c_finish_return, c_finish_loop, | |
14400 | c_finish_bc_stmt, c_finish_stmt_expr, c_end_compound_stmt, | |
14401 | build_binary_op): Likewise. | |
14402 | ||
254b17dd SB |
14403 | 2004-08-15 Steven Bosscher <stevenb@suse.de> |
14404 | ||
14405 | * rtl.c (note_insn_name): Add NOTE_DISABLE_SCHED_OF_BLOCK. | |
14406 | ||
a5252c84 JDA |
14407 | 2004-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14408 | ||
14409 | * fixinc/inclhack.def (stdio_va_list): Also fix com_err.h, cps.h, | |
14410 | curses.h, krb5.h, lc_core.h, pfmt.h, wchar.h and curses_colr/curses.h. | |
14411 | * fixinc/fixincl.x: Rebuilt. | |
14412 | ||
96a30b18 RS |
14413 | 2004-08-14 Richard Sandiford <rsandifo@redhat.com> |
14414 | ||
14415 | * config/mips/mips-protos.h (mips_symbolic_constant_p) | |
14416 | (mips_atomic_symbolic_constant_p, mips_stack_address_p) | |
14417 | (mips_small_data_pattern_p): Declare. | |
14418 | * config/mips/mips.h (CONST_GP_P): Moved from mips.c. | |
14419 | (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Delete. | |
14420 | * config/mips/mips.c (mips_symbolic_constant_p): Make global. | |
14421 | (mips_atomic_symbolic_constant_p, mips_stack_address_p): New functions. | |
14422 | (uns_arith_operand, const_arith_operand, arith_operand, sle_operand) | |
14423 | (sleu_operand, small_int, reg_or_0_operand, const_float_1_operand) | |
14424 | (reg_or_const_float_1_operand, hilo_operand, extend_operator) | |
14425 | (macc_msac_operand, equality_op, cmp_op, trap_cmp_op) | |
14426 | (pc_or_label_operand, call_insn_operand, move_operand) | |
14427 | (consttable_operand, symbolic_operand, general_symbolic_operand) | |
14428 | (global_got_operand, local_got_operand, stack_operand) | |
14429 | (fp_register_operand, lo_operand, fcc_register_operand): Delete. | |
14430 | (mips_small_data_pattern_1): Renamed from small_data_pattern_1. | |
14431 | (mips_small_data_pattern_p): Replace previous small_data_pattern | |
14432 | predicate. Turn into a bool () (rtx) function. | |
14433 | * config/mips/predicates.md: New file. | |
14434 | * config/mips/mips.md: Include it. Use the target-independent | |
14435 | comparison_operator instead of cmp_op. Rename trap_cmp_op to | |
14436 | trap_comparison_operator and equality_op to equality_operator. | |
14437 | Replace uses of small_int with the equivalent const_arith_operand. | |
14438 | Rename reg_or_const_float_1_operand to reg_or_1_operand. Rename | |
14439 | const_float_1_operand to const_1_operand. Rename fcc_register_operand | |
14440 | to fcc_reload_operand. | |
14441 | * config/mips/sb1.md: Rename fp_register_operand to fpr_operand. | |
14442 | ||
e41c9fcb JDA |
14443 | 2004-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14444 | ||
14445 | PR libstdc++/17005 partial fix. | |
14446 | * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _INCLUDE__STDC_A1_SOURCE | |
14447 | except when generating ANSI/C89 code. | |
14448 | ||
af9c6659 NS |
14449 | 2004-08-14 Nathan Sidwell <nathan@codesourcery.com> |
14450 | ||
14451 | * c-common.c (shorten_compare): Use force_fit_type directly. | |
14452 | ||
37de1373 GP |
14453 | 2004-08-14 Gerald Pfeifer <gerald@pfeifer.com> |
14454 | Dimitri Papadopoulos-Orfanos <papadopo@shfj.cea.fr> | |
14455 | Dave Korn <dk@artimi.com> | |
14456 | ||
14457 | * doc/install.texi (Building): Avoid duplicate reference to GNU | |
14458 | make requirement. | |
14459 | (*-*-solaris2*): Do not recommend GNU make any longer. Simplify. | |
14460 | ||
06d69cd3 RH |
14461 | 2004-08-14 Richard Henderson <rth@redhat.com> |
14462 | ||
14463 | * config/alpha/alpha.h (PROMOTE_MODE): Don't promote vector types. | |
14464 | * config/alpha/alpha.c (function_value): Use PROMOTE_MODE. | |
14465 | ||
e427abbf RH |
14466 | 2004-08-13 Richard Henderson <rth@redhat.com> |
14467 | ||
14468 | * config/i386/i386.md (call_1, sibcall_1, call_1_rex64): Use Pmode | |
14469 | for constant_call_address_operand. | |
14470 | (call_value_pop_1, call_value_1): Likewise. | |
14471 | (sibcall_value_1, call_value_1_rex64): Likewise. | |
14472 | ||
2b407936 JW |
14473 | 2004-08-13 James E Wilson <wilson@specifixinc.com> |
14474 | ||
14475 | * config/mips/sb1.md (ir_sb1_divdf_2pipes, ir_sb1_divdf_1pipe): | |
14476 | Correct mode from SFmode to DFmode. | |
14477 | ||
3e0d5ae2 ZL |
14478 | 2004-08-13 Ziemowit Laski <zlaski@apple.com> |
14479 | ||
14480 | * config/darwin.h (EXTRA_SECTION_FUNCTIONS): Mark the __sel_fixup, | |
14481 | __cstring_object and __image_info sections with the no_dead_strip | |
14482 | attribute. | |
14483 | ||
e0704143 RS |
14484 | 2004-08-13 Roger Sayle <roger@eyesopen.com> |
14485 | David Billinghurst <David.Billinghurst@riotinto.com> | |
14486 | ||
14487 | PR libgfortran/15930 | |
14488 | * fixinc/inclhack.def (irix___generic1, irix___generic2): New. | |
14489 | * fixinc/fixincl.x: Regenerate. | |
14490 | * fixinc/tests/base/internal/math_core.h: New file. | |
14491 | ||
8768c655 RH |
14492 | 2004-08-13 Richard Henderson <rth@redhat.com> |
14493 | ||
14494 | * dbxout.c (NO_DBX_FUNCTION_END): Default to zero. | |
14495 | (dbxout_function_end): Remove ifdefs for it. | |
14496 | (dbxout_begin_prologue): Protect N_BNSYM with it, and gdb extensions. | |
14497 | ||
201312c2 RH |
14498 | 2004-08-13 Richard Henderson <rth@redhat.com> |
14499 | ||
14500 | * Makefile.in (insn-preds.o): Depend on TREE_H. | |
14501 | * genpreds.c (write_insn_preds_c): Include tree.h. | |
14502 | * config/alpha/alpha.c (reg_or_0_operand, reg_or_6bit_operand, | |
14503 | reg_or_8bit_operand, cint8_operand, add_operand, sext_add_operand, | |
14504 | const48_operand, and_operand, or_operand, mode_width_operand, | |
14505 | mode_mask_operand, mul8_operand, const0_operand, | |
14506 | hard_fp_register_operand, hard_int_register_operand, | |
14507 | reg_or_cint_operand, some_operand, some_ni_operand, input_operand, | |
14508 | samegp_function_operand, direct_call_operand, small_symbolic_operand, | |
45c8116d | 14509 | global_symbolic_operand, call_operand, symbolic_operand, |
201312c2 RH |
14510 | dtp16_symbolic_operand, dtp32_symbolic_operand, |
14511 | gotdtp_symbolic_operand, tp16_symbolic_operand, tp32_symbolic_operand, | |
14512 | gottp_symbolic_operand, alpha_comparison_operator, | |
14513 | alpha_zero_comparison_operator, alpha_swapped_comparison_operator, | |
14514 | signed_comparison_operator, alpha_fp_comparison_operator, | |
14515 | divmod_operator, fix_operator, aligned_memory_operand, | |
14516 | unaligned_memory_operand, reg_or_unaligned_mem_operand, | |
14517 | any_memory_operand, reg_not_elim_operand, normal_memory_operand, | |
14518 | reg_no_subreg_operand, addition_operation): Move to predicates.md. | |
14519 | (reg_or_const_int_operand): Remove. Replace all users with | |
14520 | reg_or_cint_operand. | |
14521 | (tls_symbolic_operand_1): Export. Don't check mode or for CONST. | |
14522 | (resolve_reload_operand): Split out of aligned_memory_operand. | |
14523 | * config/alpha/alpha-protos.h: Update for exports. | |
14524 | * config/alpha/alpha.h (PREDICATE_CODES): Remove. | |
14525 | * config/alpha/alpha.md: Include predicates.md. | |
14526 | * config/alpha/predicates.md: New file. | |
14527 | ||
1e9c8405 RS |
14528 | 2004-08-13 Richard Sandiford <rsandifo@redhat.com> |
14529 | ||
14530 | * genattrtab.c (insn_ent): Replace insn_code, insn_index and lineno | |
14531 | fields with a pointer to the instruction definition. | |
14532 | (get_attr_value, fill_attr, make_length_attrs, remove_insn_ent) | |
14533 | (insert_insn_ent, simplify_test_exp, optimize_attrs, write_attr_get) | |
14534 | (write_attr_case, write_const_num_delay_slots): Update accordingly. | |
14535 | (write_attr_case, write_const_num_delay_slots): Write the name of | |
14536 | an insn next to its case statement. | |
14537 | * genoutput.c (data): Add a filename field. | |
14538 | (gen_insn, gen_peephole, gen_expand, gen_split): Set it. | |
14539 | (output_insn_data): Print the location of each insn definition. | |
14540 | * genrecog.c (write_action): Print the name of an insn above | |
14541 | the statement that returns its code. | |
14542 | ||
1e5f1716 AP |
14543 | 2004-08-12 Andrew Pinski <pinskia@physics.uc.edu> |
14544 | ||
14545 | * config/darwin-c.c (find_subframework_file): Fix spelling of cannot. | |
14546 | * config/libgloss.h: Likewise. | |
14547 | * config/arm/arm.c (arm_gen_load_multiple): Likewise. | |
14548 | * c4x/c4x-modes.def: Likewise. | |
14549 | * config/c4x/c4x.c (c4x_hard_regno_rename_ok): Likewise. | |
14550 | (c4x_rptb_nop_p): Likewise. | |
14551 | (c4x_rptb_valid_p): Likewise. | |
14552 | (c4x_rptb_insert): Likewise. | |
14553 | (c4x_address_conflict): Likewise. | |
14554 | * config/c4x/c4x.md: Likewise. | |
14555 | * config/frv/frv.md: Likewise. | |
14556 | * config/i386/athlon.md: Likewise. | |
14557 | * config/i386/i386.md: Likewise. | |
14558 | * config/i386/predicates.md: Likewise. | |
14559 | * config/ia64/ia64.c: Likewise. | |
14560 | * config/ia64/itanium1.md: Likewise. | |
14561 | * config/ia64/itanium2.md: Likewise. | |
14562 | * config/iq2000/iq2000.md: Likewise. | |
14563 | * config/mcore/mcore.c: Likewise. | |
14564 | * config/mips/mips.c: Likewise. | |
14565 | * config/mips/r3900.h: Likewise. | |
14566 | * config/mips/sb1.md: Likewise. | |
14567 | * config/pa/milli64.S: Likewise. | |
14568 | * config/pa/pa.c: Likewise. | |
14569 | * config/pa/pa.h: Likewise. | |
14570 | * config/rs6000/8540.md: Likewise. | |
14571 | ||
9bcc9490 DB |
14572 | 2004-08-13 Daniel Berlin <dberlin@dberlin.org> |
14573 | ||
14574 | * Makefile.in (BOOT_CFLAGS): Remove accidental addition of -dU. | |
14575 | ||
68fe56fc R |
14576 | 2004-08-13 J"orn Rennecke <joern.rennecke@superh.com> |
14577 | ||
14578 | * sh.md (cbranch define_delay) Use cond_delay_slot for | |
14579 | non-anulled condition too. | |
14580 | ||
85d346f1 DE |
14581 | 2004-08-12 David Edelsohn <edelsohn@gnu.org> |
14582 | ||
14583 | * config/rs6000/rs6000.c (any_parallel_operand): New predicate. | |
14584 | * config/rs6000/rs6000.h (PREDICATE_CODES): Add | |
14585 | any_parallel_operand, lmw_operation, stmw_operation, | |
a688b3ac | 14586 | mfcr_operation, mtcrf_operation. Remove PARALLEL from any_operand. |
85d346f1 DE |
14587 | * config/rs6000/rs6000.md (save_fpregs_{si,di}): Use |
14588 | any_parallel_operand. | |
14589 | (return_and_restore_fpregs_{si,di}): Same. | |
14590 | ||
47d2cee5 ZW |
14591 | 2004-08-12 Zack Weinberg <zack@codesourcery.com> |
14592 | ||
14593 | * genrecog.c (add_to_sequence): When processing a MATCH_PARALLEL, | |
14594 | if pred->singleton != PARALLEL, issue a warning and pretend it was. | |
14595 | Also issue a warning for any predicate we don't know about. | |
14596 | ||
8fe75e43 RH |
14597 | 2004-08-12 Richard Henderson <rth@redhat.com> |
14598 | ||
14599 | * config/i386/i386.c (internal_label_prefix): Export. | |
14600 | (internal_label_prefix_len, struct ix86_address, | |
14601 | ix86_decompose_address, maybe_get_pool_constant, | |
14602 | ix86_fp_compare_code_to_integer, ix86_fp_comparison_codes, | |
14603 | memory_address_length): Export. | |
47d2cee5 | 14604 | (any_fp_register_operand, fp_register_operand, |
8fe75e43 | 14605 | register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand, |
47d2cee5 | 14606 | x86_64_general_operand, x86_64_szext_general_operand, |
8fe75e43 RH |
14607 | x86_64_nonmemory_operand, x86_64_movabs_operand, |
14608 | x86_64_szext_nonmemory_operand, x86_64_immediate_operand, | |
14609 | x86_64_zext_immediate_operand, const_int_1_31_operand, | |
14610 | symbolic_operand, pic_symbolic_operand, local_symbolic_operand, | |
14611 | tls_symbolic_operand, global_dynamic_symbolic_operand, | |
14612 | local_dynamic_symbolic_operand, initial_exec_symbolic_operand, | |
14613 | local_exec_symbolic_operand, call_insn_operand, sibcall_insn_operand, | |
14614 | constant_call_address_operand, const0_operand, const1_operand, | |
14615 | const248_operand, const_0_to_3_operand, const_0_to_7_operand, | |
14616 | const_0_to_15_operand, const_0_to_255_operand, incdec_operand, | |
14617 | shiftdi_operand, reg_no_sp_operand, mmx_reg_operand, | |
14618 | general_no_elim_operand, nonmemory_no_elim_operand, | |
14619 | index_register_operand, q_regs_operand, flags_reg_operand, | |
14620 | non_q_regs_operand, zero_extended_scalar_load_operand, | |
14621 | vector_move_operand, no_seg_address_operand, sse_comparison_operator, | |
47d2cee5 | 14622 | ix86_comparison_operator, ix86_carry_flag_operator, |
8fe75e43 RH |
14623 | fcmov_comparison_operator, promotable_binary_operator, |
14624 | cmp_fp_expander_operand, ext_register_operand, binary_fp_operator, | |
47d2cee5 | 14625 | mult_operator, div_operator, arith_or_logical_operator, |
8fe75e43 RH |
14626 | memory_displacement_operand, cmpsi_operand, long_memory_operand, |
14627 | aligned_operand): Move to predicates.md as define_predicates. | |
14628 | (tls_symbolic_operand_1): Remove. | |
14629 | (x86_64_sign_extended_value): Merge into x86_64_immediate_operand. | |
14630 | (x86_64_zero_extended_value): Merge into x86_64_zext_immediate_operand. | |
14631 | (legitimize_address): Merge tls_symbolic_operand contents. | |
14632 | (ix86_expand_move): Likewise. | |
14633 | * config/i386/i386-protos.h: Update for exports. | |
14634 | * config/i386/i386.h (EXTRA_CONSTRAINT): Update for renames. | |
14635 | (PREDICATE_CODES, SPECIAL_MODE_PREDICATES): Remove. | |
14636 | * config/i386/i386.md: Include predicates.md. | |
14637 | * config/i386/predicates.md: New file. | |
14638 | ||
ea3d83a7 MM |
14639 | 2004-08-13 Mark Mitchell <mark@codesourcery.com> |
14640 | ||
14641 | PR c++/16924 | |
14642 | * config/i386/winnt.c (i386_pe_mark_dllexport): Set | |
14643 | SYMBOL_REF_DECL. | |
14644 | (i386_pe_mark_dllimport): Likewise. | |
14645 | (i386_pe_encode_section_info): Likewise, when overriding | |
14646 | dllimport attribute. | |
14647 | ||
414adbdd GK |
14648 | 2004-08-12 Geoffrey Keating <geoffk@apple.com> |
14649 | ||
14650 | * configure.ac: When testing for flex, nm, ar, and bison, check | |
14651 | that they will actually be built. | |
14652 | * configure: Regenerate. | |
14653 | ||
c5443745 UW |
14654 | 2004-08-12 Ulrich Weigand <uweigand@de.ibm.com> |
14655 | ||
14656 | * config/s390/s390.h (MAX_FIXED_MODE_SIZE): Define. | |
14657 | (MOVE_MAX_PIECES): Define. | |
14658 | ||
8fa5469d DP |
14659 | 2004-08-12 Devang patel <dpatel@apple.com> |
14660 | ||
14661 | * dbxout.c (dbxout_begin_prologue): New function. | |
14662 | (dbx_debug_hooks): Use new begin prologue hook. | |
14663 | (dbxout_function_end): Emit N_ENSYM. | |
14664 | * stab.def (N_BNSYM, N_ENSYM): Define and document these two new stabs. | |
47d2cee5 | 14665 | |
b0b343db JJ |
14666 | 2004-08-12 Janis Johnson <janis187@us.ibm.com> |
14667 | ||
e390eb0a JJ |
14668 | * config/rs6000/altivec.h (vec_dst): Fix C++ functions whose first |
14669 | argument is float*. | |
14670 | ||
e34b6648 JJ |
14671 | * config/rs6000/rs6000.c (altivec_init_builtins): Fix argument type |
14672 | for vec_dss. | |
14673 | ||
b0b343db JJ |
14674 | * doc/extend.texi (AltiVec builtins): Fix description for recent |
14675 | changes. Update operation list to match current support. | |
14676 | ||
adf39f8f AK |
14677 | 2004-08-12 Andreas Krebbel <krebbel1@de.ibm.com> |
14678 | ||
14679 | * config/s390/s390.c (struct s390_frame_layout): New struct as element | |
14680 | of struct machine_function. | |
14681 | (cfun->machine->frame_size): Moved into cfun->machine->frame_layout and | |
14682 | changed all uses. | |
14683 | (cfun->machine->save_fprs_p): Replaced by cfun_save_high_fprs and | |
14684 | changed all uses. | |
14685 | (cfun_frame_layout, cfun_save_high_fprs_p, cfun_gprs_save_area_size) | |
14686 | (cfun_set_fpr_bit, cfun_fpr_bit_p): New macros. | |
14687 | (s390_frame_area, s390_register_info): New functions. | |
14688 | (s390_optimize_prolog): Renamed to s390_optimize_prologue. Added check | |
14689 | for base register. | |
14690 | (s390_return_addr_rtx, s390_return_address_offset) | |
14691 | (s390_va_start, s390_gimplify_va_arg) | |
14692 | (s390_emit_prologue, s390_emit_epilogue): Adjusted for new stack | |
14693 | layouts. | |
14694 | (s390_frame_info): Functionality partly moved to s390_register_info. | |
14695 | Made adaptions for new stack layout. | |
14696 | (save_gprs, restore_gprs): Changed meaning of second parameter and | |
14697 | adapted all callers. | |
14698 | ||
14699 | * config/s390/s390.h (s390_backchain_string): New global variable. | |
14700 | (MASK_BACKCHAIN): Removed definition. | |
14701 | (TARGET_BACKCHAIN): Changed check. | |
14702 | (TARGET_KERNEL_BACKCHAIN): New macro. | |
14703 | (TARGET_SWITCHES): Removed entries of "backchain" and "no-backchain". | |
14704 | (TARGET_OPTIONS): Added "backchain", "no-backchain" and | |
14705 | "kernel-backchain". | |
14706 | (DYNAMIC_CHAIN_ADDRESS): Adjusted for new stack layouts. | |
14707 | ||
14708 | * config/s390/s390.md ("allocate_stack"): Added TARGET_KERNEL_BACKCHAIN | |
14709 | as condition. Adjusted for new stack layout. | |
14710 | ||
14711 | * doc/invoke.texi: Added documentation for new option | |
14712 | "-mkernel-backchain" and adjusted documentation of "-mbackchain" and | |
14713 | "-mno-backchain". | |
14714 | ||
db151e9d PB |
14715 | 2004-08-12 Paul Brook <paul@codesourcery.com> |
14716 | ||
14717 | * config/arm/lib1funcs.asm (ARM_FUNC_ALIAS): Also alias _L__name. | |
14718 | (aeabi_uidivmod, aeabi_idivmod): Provide thumb implementation. | |
14719 | ||
02b75262 DD |
14720 | 2004-08-12 David Daney <ddaney@avtrex.com> |
14721 | ||
db151e9d | 14722 | * java/gcj.texi: Add subsection on signal usage. |
02b75262 | 14723 | |
f64d6991 DE |
14724 | 2004-08-12 David Edelsohn <edelsohn@gnu.org> |
14725 | ||
14726 | * expr.c (move_by_pieces): Set alignment for move to minimum of | |
14727 | MOVE_MAX_PIECES mode alignment and the largest non-slow mode | |
14728 | alignment, but not less than the original alignment. | |
14729 | (move_by_pieces_ninsns): Same. | |
14730 | (can_store_by_pieces): Similar for store with STORE_MAX_PIECES. | |
14731 | (store_by_pieces_1): Same. | |
14732 | ||
c597ef4e DN |
14733 | 2004-08-12 Diego Novillo <dnovillo@redhat.com> |
14734 | ||
14735 | PR tree-optimization/16867 | |
14736 | * tree.c (is_global_var): New function. | |
14737 | (needs_to_live_in_memory): Check for TREE_ADDRESSABLE. | |
14738 | Call is_global_var. | |
14739 | * tree.h (DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL): Remove. | |
14740 | Update all users. | |
14741 | (is_global_var): Declare. | |
14742 | * tree-dfa.c (dump_variable): Display global and addressable | |
14743 | attributes. | |
14744 | (add_referenced_var): Clarify documentation when marking | |
14745 | variables call-clobbered. | |
14746 | * tree-flow-inline.h (is_call_clobbered): Call is_global_var | |
14747 | instead of needs_to_live_in_memory. | |
14748 | (mark_call_clobbered): If the variable is a tag, mark it | |
14749 | DECL_EXTERNAL. | |
14750 | * tree-gimple.c (is_gimple_reg): Don't check for | |
14751 | TREE_ADDRESSABLE. | |
14752 | (is_gimple_non_addressable): Likewise. | |
14753 | * tree-ssa-alias.c (get_nmt_for): Always check whether the tag | |
14754 | needs to be marked call-clobbered. | |
14755 | (setup_pointers_and_addressables): Call is_global_var instead | |
14756 | of needs_to_live_in_memory. | |
14757 | * tree-ssa-dce.c (need_to_preserve_store): Remove. | |
14758 | Update all users with is_global_var. | |
14759 | (mark_stmt_if_obviously_necessary): Fix processing of aliased | |
14760 | stores. Don't check the virtual definitions. Rather, check | |
14761 | whether the store is going into global memory. | |
14762 | (find_obviously_necessary_stmts): Get the symbol from the PHI | |
14763 | result. | |
14764 | * tree-ssa-operands.c (get_call_expr_operands): Do not add | |
14765 | clobbering may-defs if the call does not have side effects. | |
14766 | ||
ab5c8549 JJ |
14767 | 2004-08-12 Jakub Jelinek <jakub@redhat.com> |
14768 | ||
14769 | PR c++/16276 | |
14770 | * output.h (default_function_rodata_section, | |
14771 | default_no_function_rodata_section): New prototypes. | |
14772 | * target.h (struct gcc_target): Add asm_out.function_rodata_section. | |
14773 | * target-def.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define. | |
14774 | (TARGET_ASM_OUT): Add it. | |
14775 | * varasm.c (default_function_rodata_section, | |
14776 | default_no_function_rodata_section): New functions. | |
14777 | * final.c (final_scan_insn): Call | |
14778 | targetm.asm_out.function_rodata_section instead of | |
14779 | readonly_data_section. | |
14780 | * config/darwin.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Define. | |
14781 | * config/mcore/mcore.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
14782 | * config/ip2k/ip2k.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
14783 | * config/rs6000/xcoff.h (TARGET_ASM_FUNCTION_RODATA_SECTION): | |
14784 | Likewise. | |
14785 | * config/alpha/alpha.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
14786 | * config/i386/cygming.h (TARGET_ASM_FUNCTION_RODATA_SECTION): | |
14787 | Likewise. | |
14788 | * config/i386/i386-interix.h (TARGET_ASM_FUNCTION_RODATA_SECTION): | |
14789 | Likewise. | |
14790 | * config/arm/pe.h (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
14791 | * config/avr/avr.c (TARGET_ASM_FUNCTION_RODATA_SECTION): Likewise. | |
14792 | * doc/tm.texi (TARGET_ASM_FUNCTION_RODATA_SECTION): Document. | |
14793 | ||
5cf58f28 PB |
14794 | 2004-08-12 Paul Brook <paul@codesourcery.com> |
14795 | ||
14796 | * dwarf2out.h (dwarf2out_frame_finish): Conditionalize outputting eh | |
14797 | frame info. | |
14798 | * doc/tm.texi: Document interaction between TARGET_UNWIND_INFO and | |
14799 | DWARF2_UNWIND_INFO. | |
14800 | ||
87e184d1 BE |
14801 | 2004-08-12 Ben Elliston <bje@au.ibm.com> |
14802 | ||
14803 | PR target/16286 | |
14804 | * config/rs6000/altivec.h: Change vector to __vector throughout. | |
14805 | (Except for the `vector' macro itself). | |
14806 | ||
e543e219 ZW |
14807 | 2004-08-12 Zack Weinberg <zack@codesourcery.com> |
14808 | ||
14809 | * genpreds.c: Add capability to generate predicate bodies as | |
14810 | well as function prototypes. Write function prototypes for | |
14811 | the generic predicates too. | |
14812 | (process_define_predicate, write_tm_preds_h, write_insn_preds_c) | |
14813 | (write_predicate_subfunction, mark_mode_tests, add_mode_tests) | |
14814 | (write_match_code, write_predicate_expr, write_one_predicate_function) | |
14815 | (parse_option): New functions. | |
14816 | (output_predicate_decls): Delete. | |
14817 | (main): Read the machine description, process DEFINE_PREDICATE or | |
14818 | DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c | |
14819 | as appropriate. | |
14820 | ||
14821 | * genrecog.c (struct decision_test): Replace index with | |
14822 | struct pred_data pointer. | |
14823 | (next_index): Remove, unused. | |
14824 | (pred_table, preds, special_mode_pred_table): Delete. | |
14825 | (compute_predicate_codes, process_define_predicate): New functions. | |
14826 | (validate_pattern, add_to_sequence, write_switch): Update for | |
14827 | new data structures. | |
14828 | (main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE. | |
14829 | Check both error_count and have_error. | |
14830 | ||
14831 | * gensupport.c (in_fname, first_predicate): New globals. | |
14832 | (define_pred_queue, define_pred_tail): New RTL-pattern queue. | |
14833 | (predicate_table, last_predicate, old_pred_table) | |
14834 | (old_special_pred_table): New statics. | |
14835 | (hash_struct_pred_data, eq_struct_pred_data, lookup_predicate) | |
14836 | (add_predicate, init_predicate_table): New functions. | |
14837 | (process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE. | |
14838 | (init_md_reader_args_cb): Use the global in_fname. No need to zero | |
14839 | it or max_include_len. Call init_predicate_table. | |
14840 | (read_rtx): Run the predicate queue after the attribute queue | |
14841 | but before all the others. | |
14842 | * gensupport.h (in_fname, struct pred_data, first_predicate) | |
14843 | (lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare. | |
14844 | * rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE) | |
14845 | (DEFINE_SPECIAL_PREDICATE): New RTL codes. | |
14846 | * dummy-conditions.c: Don't include bconfig.h, system.h, | |
14847 | coretypes.h, tm.h, or system.h. Do include stddef.h. | |
14848 | Duplicate declaration of struct c_test from gensupport.h. | |
14849 | ||
14850 | * Makefile.in (OBJS-common): Add insn-preds.o. | |
14851 | (STAGESTUFF, .PRECIOUS): Add insn-preds.c. | |
14852 | (insn-preds.c, insn-preds.o): New rules. | |
14853 | (s-preds): Also generate insn-preds.c. | |
14854 | (dummy-conditions.o, genpreds$(build_exeext), genpreds.o): | |
14855 | Update dependencies. | |
14856 | (print-rtl.o, print-rtl1.o): Correct dependencies. | |
14857 | ||
14858 | * recog.h: Delete prototypes of predicate functions. | |
14859 | ||
14860 | * doc/md.texi (Predicates): New section with complete | |
14861 | documentation of operand/operator predicates. Remove some | |
14862 | incomplete documentation of predicates from other places. | |
14863 | * doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to | |
14864 | PREDICATE_CODES; indicate that both are deprecated in favor | |
14865 | of define_predicate/define_special_predicate. | |
14866 | ||
14867 | * config/ia64/ia64.c: All predicate function definitions moved | |
14868 | to ia64.md, except | |
14869 | (small_addr_symbolic_operand, tls_symbolic_operand): Delete. | |
14870 | (ia64_expand_load_address, ia64_expand_move): | |
14871 | Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand. | |
14872 | ||
14873 | * config/ia64/ia64.md: All predicates now defined here. | |
14874 | (symbolic_operand): Is now a special predicate. | |
14875 | ||
14876 | * config/ia64/ia64.h: Declare ia64_section_threshold. | |
14877 | (PREDICATE_CODES): Delete. | |
14878 | ||
174283a3 RH |
14879 | 2004-08-12 Richard Henderson <rth@redhat.com> |
14880 | ||
14881 | * c-common.h (STATEMENT_LIST_HAS_LABEL): New. | |
14882 | * c-semantics.c (add_stmt): Set it. | |
14883 | * c-decl.c (finish_decl): Use it to create a new BIND_EXPR | |
14884 | before instantiating a variable sized type. | |
14885 | ||
15931954 RH |
14886 | 2004-08-12 Richard Henderson <rth@redhat.com> |
14887 | ||
14888 | * stor-layout.c (round_up, round_down): Move ... | |
e543e219 | 14889 | * fold-const.c (round_up, round_down): ... here. Use |
15931954 RH |
14890 | multiple_of_p to avoid any arithmetic at all. |
14891 | ||
57d1dd87 RH |
14892 | 2004-08-12 Richard Henderson <rth@redhat.com> |
14893 | ||
14894 | * gimplify.c (struct gimplify_init_ctor_preeval_data): New. | |
14895 | (gimplify_init_ctor_preeval_1): New. | |
14896 | (gimplify_init_ctor_preeval): New. | |
14897 | (gimplify_init_ctor_eval): New. | |
14898 | (gimplify_init_constructor): Use them. Always gimplify the LHS | |
14899 | object first. | |
14900 | ||
46e34f96 ZL |
14901 | 2004-08-12 Ziemowit Laski <zlaski@apple.com> |
14902 | ||
14903 | (This patch is part of merge of objc-improvements-branch | |
14904 | into mainline.) | |
14905 | ||
14906 | * doc/frontends.texi: Mention Objective-C++ in addition to | |
14907 | Objective-C. | |
14908 | * doc/install.texi: Add 'obj-c++' to list of configurable | |
14909 | languages. | |
14910 | * doc/invoke.texi: Rename Objective-C option headings to | |
14911 | indicate they also apply to Objective-C++. List file | |
14912 | extensions for Objective-C++ sources. Mention that | |
14913 | ObjC and ObjC++ compilations may also use C and C++ options, | |
14914 | respectively. Point users to doc/standards.texi for | |
14915 | further info on ObjC and ObjC++. | |
14916 | * doc/sourcebuild.texi: Mention the objcp/ directory and | |
14917 | the Objective-C++ sources it contains. | |
14918 | * doc/standards.texi: Update link to Apple ObjC site; | |
14919 | add link to gcc readings.html WWW doc. | |
14920 | ||
07f12d8b AM |
14921 | 2004-08-12 Alan Modra <amodra@bigpond.net.au> |
14922 | ||
14923 | * config/rs6000/rs6000.c (function_arg_padding): Revert 2004-07-28 | |
14924 | and 2004-07-14 changes. | |
14925 | ||
89aa5a20 PB |
14926 | 2004-08-12 Paul Brook <paul@codesourcery.com> |
14927 | ||
14928 | * doc/invoke.texi: Fix typo. | |
14929 | ||
5079843a DP |
14930 | 2004-08-11 Devang Patel <dpatel@apple.com> |
14931 | ||
14932 | * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Add -dead_strip | |
14933 | and -no_dead_strip_inits_and_terms. | |
14934 | (LINK_SPEC): Same. | |
14935 | * doc/invoke.texi (Darwin Options): Document -dead_strip and | |
14936 | -no_dead_strip_inits_and_terms. | |
e543e219 | 14937 | |
876f13b0 PB |
14938 | 2004-08-11 Paul Brook <paul@codesourcery.com> |
14939 | ||
14940 | * config/arm/arm-protos.h (arm_finalize_pic) Rename ... | |
14941 | (arm_load_pic_register): ... to this. | |
14942 | * config/arm/arm.c (arm_finalize_pic): Rename ... | |
14943 | (arm_load_pic_register): ... to this. Always output insns at the | |
14944 | current location. Load via low reg in thumb mode. | |
14945 | (arm_expand_prologue): Call arm_load_pic_register. | |
14946 | (thumb_expand_prologue): Ditto. | |
14947 | * config/arm/arm.h (FINALIZE_PIC): Remove. | |
14948 | * config/arm/arm.md (builtin_setjmp_receiver): Call | |
14949 | arm_load_pic_register. | |
14950 | ||
57934c39 PB |
14951 | 2004-08-11 Paul Brook <paul@codesourcery.com> |
14952 | ||
14953 | * arm.c (thumb_force_lr_save): Add prototype. | |
14954 | (thumb_compute_save_reg_mask): New function. | |
14955 | (thumb_find_work_register): New function. | |
14956 | (arm_get_frame_offsets): Use thumb_compute_save_reg_mask. | |
14957 | (thumb_unexpanded_epilogue): Ditto. Remove redundant code. | |
14958 | Don't clobber r3 when removing pretend args. | |
14959 | (thumb_expand_prologue): Use thumb_compute_save_reg_mask. | |
14960 | (thumb_output_function_prologue): Use new functions. | |
14961 | (thumb_set_return_address): Use thumb_compute_save_reg_mask. | |
14962 | * arm.h (THUMB_REG_PUSHED_P): Remove. | |
14963 | ||
af874237 JW |
14964 | 2004-08-11 James E Wilson <wilson@specifixinc.com> |
14965 | ||
14966 | PR rtl-optimization/16490 | |
14967 | * cfgrtl.c (cfg_layout_split_edge): Set global_live_at_start and | |
14968 | global_live_at_end for new basic block if already set for other blocks. | |
14969 | ||
c1618c0c DE |
14970 | 2004-08-11 David Edelsohn <edelsohn@gnu.org> |
14971 | ||
14972 | * config/rs6000/rs6000.h (MAX_FIXED_MODE_SIZE): Define. | |
14973 | ||
14974 | * config/rs6000/rs6000.md (mfcr rlwinm patterns): Set length to 8. | |
14975 | (mfcr rlwinm rlwinm patterns): Set length to 12. | |
14976 | ||
1a24f92f AM |
14977 | 2004-08-11 Andrew MacLeod <amacleod@redhat.com> |
14978 | ||
14979 | * tree-flow-inline.h (get_def_ops, get_use_ops, get_v_may_def_ops, | |
14980 | get_vuse_ops,get_v_must_def_ops): Add operand structure reference. | |
14981 | (get_v_may_def_result_ptr, get_v_may_def_op_ptr): New access struct. | |
14982 | (start_ssa_stmt_operands): Delete. | |
e543e219 | 14983 | * tree-flow.h (struct stmt_ann_d): Replace operand vectors with new |
1a24f92f AM |
14984 | struct stmt_operands_d. |
14985 | (build_ssa_operands): New extern entry point. | |
e543e219 | 14986 | * tree-ssa-dom.c (record_equivalences_from_stmt): Remove operand |
1a24f92f AM |
14987 | building code, replace with create_ssa_artficial_load_stmt(). |
14988 | * tree-ssa-operands.c (struct voperands_d): Delete. | |
14989 | (allocate_v_may_def_optype): Allocate v_may_def_operand_type_t vector. | |
14990 | (allocate_v_must_def_optype): Use sizeof (tree), not sizeof (tree *). | |
e543e219 | 14991 | (free_uses, free_defs, free_vuses, free_v_may_defs, |
1a24f92f AM |
14992 | free_v_must_defs): Remove dealloc parameter. |
14993 | (remove_vuses, remove_v_may_def, remove_v_must_defs): Delete. | |
14994 | (finalize_ssa_defs, finalize_ssa_uses, finalize_ssa_v_may_defs, | |
14995 | finalize_ssa_vuses, finalize_ssa_v_must_defs): Perform all operand | |
14996 | vector comparisons, ssa_name reuse, and allocations here. | |
14997 | (verify_start_operands): Delete. | |
14998 | (finalize_ssa_stmt_operands): Set new operands by calling finalize | |
14999 | routines. | |
15000 | (start_ssa_stmt_operands): Move from tree-flow-inline.h. | |
15001 | (append_def, append_usei): Simplify to simple accumulation. | |
15002 | (append_v_may_def, append_vuse, append_v_must_def): Simplify to avoiding | |
15003 | duplicates and simple accumulation. | |
15004 | (free_ssa_operands): Free vectors in a stmt_operand structure. | |
15005 | (build_ssa_operands): New. Create a new stmt_operand structure from | |
e543e219 | 15006 | a stmt and an old set of stmt_operands. |
1a24f92f AM |
15007 | (get_stmt_operands): Simplify and call build_ssa_operands. |
15008 | (get_expr_operands, get_asm_expr_operands, get_indirect_ref_operands, | |
15009 | get_call_expr_operands, add_stmt_operand, add_call_clobber_ops, | |
15010 | add_call_read_ops): Don't pass prev_vops around anymore. | |
15011 | (note_addressable): Return if no stmt annotation. | |
15012 | (copy_virtual_operands): Access v_may_def operands through a struct. | |
15013 | (create_ssa_artficial_load_stmt): New. Create a load stmt for DOM's | |
15014 | hash tables without treating the stmt as a real stmt. | |
15015 | * tree-ssa-operands.h (struct v_may_def_operand_type): New. Access | |
15016 | v_may_def def and use through a struct instead of 2 array elements. | |
15017 | (struct v_may_def_optype_d): Use v_may_def_operand_type. | |
15018 | (struct stmt_operands_d): New. Struct for storing all operand vectors. | |
15019 | ||
a77655b1 NC |
15020 | 2004-08-11 Nick Clifton <nickc@redhat.com> |
15021 | ||
15022 | * config/arm/arm.c (arm_is_longcall_p): Update comment describing | |
15023 | this funciton's behaviour. Return true when the current function | |
15024 | has a section attribute and -mlong-calls is in effect. | |
15025 | * config/arm/arm.h (ARM_DECLARE_FUNCTION_SIZE): Do not set the | |
15026 | short-call marker when -mlong-calls is in effect and the function | |
15027 | has a section attribute. | |
15028 | ||
6f4a43e0 ZW |
15029 | 2004-08-10 Zack Weinberg <zack@codesourcery.com> |
15030 | ||
15031 | * stmt.c (expand_return): If asked to return the RESULT_DECL, | |
15032 | just call expand_value_return on result_rtl. | |
15033 | ||
1a186ec5 RH |
15034 | 2004-08-10 Richard Henderson <rth@redhat.com> |
15035 | ||
15036 | * builtins.def (BUILT_IN_STACK_ALLOC): Remove. | |
15037 | * builtins.c (expand_builtin) <BUILT_IN_STACK_ALLOC>: Remove. | |
15038 | * dwarf2out.c (loc_descriptor): Handle PARALLEL here ... | |
15039 | (add_location_or_const_value_attribute): ... not here. Use | |
15040 | loc_descriptor_from_tree if possible. | |
15041 | (loc_descriptor_from_tree_1): Rename from loc_descriptor_from_tree. | |
15042 | Simplify address handling. Handle DECL_VALUE_EXPR. Handle register | |
15043 | values specially. | |
15044 | (loc_descriptor_from_tree): New. Update callers. | |
15045 | * expr.c (expand_var): Ignore DECL_VALUE_EXPR variables. | |
15046 | * gimplify.c (gimplify_decl_expr): Lower variable sized types to | |
15047 | pointer plus dereference. Set DECL_VALUE_EXPR. Set save_stack. | |
15048 | (gimplify_call_expr): Do not recognize BUILT_IN_STACK_ALLOC | |
15049 | and BUILT_IN_STACK_RESTORE. | |
15050 | (gimplify_expr): Lower DECL_VALUE_EXPR decls. | |
15051 | * stmt.c (expand_stack_alloc): Remove. | |
15052 | * tree-mudflap.c (mx_register_decls): Don't look for | |
15053 | BUILT_IN_STACK_ALLOC. | |
15054 | * tree-nested.c (convert_local_reference): Likewise. | |
15055 | * tree.h (DECL_VALUE_EXPR): New. | |
15056 | ||
7109c195 RH |
15057 | 2004-08-10 Richard Henderson <rth@redhat.com> |
15058 | ||
bf4ccdd6 RH |
15059 | * stor-layout.c (round_up): Check for 0/1 before dividing. |
15060 | (round_down): Likewise. | |
15061 | ||
7109c195 RH |
15062 | * tree-tailcall.c (suitable_for_tail_opt_p): Also check DECL_EXTERNAL. |
15063 | ||
b3f8d95d MM |
15064 | 2004-08-09 Mark Mitchell <mark@codesourcery.com> |
15065 | ||
15066 | * config.gcc (arm*-*-eabi*): New target. | |
15067 | * defaults.h (TARGET_LIBGCC_FUNCS): New macro. | |
15068 | (TARGET_LIB_INT_CMP_BIASED): Likewise. | |
15069 | * expmed.c (expand_divmod): Try a two-valued divmod function as a | |
15070 | last resort. | |
15071 | * gthr.h: Remove bogus tokens at end of #pragma. | |
15072 | * optabs.c (expand_twoval_binop_libfunc): New function. | |
15073 | (prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case. | |
15074 | (prepare_float_lib_cmp): Try reversing the condition. | |
15075 | (debug_optab_libfuncs): New function. | |
15076 | * optabs.h (expand_twoval_binop_libfunc): Declare. | |
15077 | * config/arm/arm.c (arm_init_libfuncs): New function. | |
15078 | (arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT. | |
15079 | (TARGET_INIT_LIBFUNCS): Define it. | |
15080 | * config/arm/arm.h (TARGET_BPABI): New macro. | |
15081 | * config/arm/arm-protos.h | |
15082 | (arm_compute_initial_elimination_offset): Return HOST_WIDE_INT. | |
15083 | * config/arm/bpabi.S: New file. | |
15084 | * config/arm/bpabi.c: Likewise. | |
15085 | * config/arm/bpabi.h: Likewise. | |
15086 | * config/arm/ieee754-df.S (__aeabi_dneg): New function or alias. | |
15087 | (__aeabi_drsub): Likewise. | |
15088 | (__aeabi_dsub): Likewise. | |
15089 | (__aeabi_dadd): Likewise. | |
15090 | (__aeabi_ui2d): Likewise. | |
15091 | (__aeabi_i2d): Likewise. | |
15092 | (__aeabi_f2d): Likewise. | |
15093 | (__aeabi_dmul): Likewise. | |
15094 | (__aeabi_ddiv): Likewise. | |
15095 | (__aeabi_cdrcmple): Likewise. | |
15096 | (__aeabi_cdcmpeq): Likewise. | |
15097 | (__aeabi_cdcmple): Likewise. | |
15098 | (__aeabi_dcmpeq): Likewise. | |
15099 | (__aeabi_dcmplt): Likewise. | |
15100 | (__aeabi_dcmple): Likewise. | |
15101 | (__aeabi_dcmpge): Likewise. | |
15102 | (__aeabi_dcmpgt): Likewise. | |
15103 | (__aeabi_dcmpun): Likewise. | |
15104 | (__aeabi_d2iz): Likewise. | |
15105 | (__aeabi_d2uiz): Likewise. | |
15106 | (__aeabi_d2f): Likewise. | |
15107 | * config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias. | |
15108 | (__aeabi_frsub): Likewise. | |
15109 | (__aeabi_fsub): Likewise. | |
15110 | (__aeabi_fadd): Likewise. | |
15111 | (__aeabi_ui2f): Likewise. | |
15112 | (__aeabi_i2f): Likewise. | |
15113 | (__aeabi_fmul): Likewise. | |
15114 | (__aeabi_fdiv): Likewise. | |
15115 | (__aeabi_cfrcmple): Likewise. | |
15116 | (__aeabi_cfcmpeq): Likewise. | |
15117 | (__aeabi_cfcmple): Likewise. | |
15118 | (__aeabi_fcmpeq): Likewise. | |
15119 | (__aeabi_fcmplt): Likewise. | |
15120 | (__aeabi_fcmple): Likewise. | |
15121 | (__aeabi_fcmpge): Likewise. | |
15122 | (__aeabi_fcmpgt): Likewise. | |
15123 | (__aeabi_fcmpun): Likewise. | |
15124 | (__aeabi_f2iz): Likewise. | |
15125 | (__aeabi_f2uiz): Likewise. | |
15126 | * config/arm/lib1funcs.asm (ARM_CALL): New macro. | |
15127 | (__aeabi_uidivmod): New function or alias. | |
15128 | (__aeabi_idivmod): Likewise. | |
15129 | (__aeabi_idiv0): Likewise. | |
15130 | (__aeabi_ldiv0): Likewise. | |
15131 | (__aeabi_llsr): Likewise. | |
15132 | (__aeabi_lasr): Likewise. | |
15133 | (__aeabi_llsl): Likewise. | |
15134 | (bpabi.S): Include it. | |
15135 | * config/arm/libgcc-bpabi.ver: New file. | |
15136 | * config/arm/symbian.h (ARM_DEFAULT_ABI): Remove. | |
15137 | (LINK_SPEC): Remove. | |
15138 | * config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and | |
15139 | __aeabi_ulcmp. | |
15140 | * config/arm/t-bpabi: New file. | |
15141 | * doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry. | |
15142 | (TARGET_LIB_INT_CMP_BIASED): Likewise. | |
6f4a43e0 | 15143 | |
fba73eb1 DE |
15144 | 2004-08-10 David Edelsohn <edelsohn@gnu.org> |
15145 | ||
15146 | * config/rs6000/rs6000-protos.h (expand_block_clear): Declare. | |
15147 | * config/rs6000/rs6000.md (clrmemsi): New pattern. | |
15148 | * config/rs6000/rs6000.c (expand_block_clear): New function. | |
15149 | (expand_block_move): Convert alignment to bits. Use SImode and | |
15150 | HImode for unaligned addresses if not STRICT_ALIGNMENT. | |
15151 | ||
15152 | 2004-08-10 Caroline Tice <ctice@apple.com> | |
c295317d CT |
15153 | |
15154 | * varasm.c (unlikely_section_label): New global variable. | |
15155 | (unlikely_text_section_name): New global variable. | |
15156 | (text_section): Remove alignment statement. | |
6f4a43e0 | 15157 | (unlikely_text_section): Remove alignment statement; use |
c295317d CT |
15158 | unlikely_section_label rather than hard-coded string. |
15159 | (assemble_start_function): Initialize unlikely_section_label and | |
15160 | unlikely_text_section_name; make sure cold section is properly | |
15161 | aligned at start of function; output unlikely_section_label if | |
15162 | appropriate. | |
15163 | ||
68f9c5e2 UW |
15164 | 2004-08-10 Ulrich Weigand <uweigand@de.ibm.com> |
15165 | ||
15166 | * config/s390/s390-protos.h (s390_canonicalize_comparison): Declare. | |
15167 | * config/s390/s390.c (s390_canonicalize_comparison): New function. | |
15168 | * config/s390/s390.h (CANONICALIZE_COMPARISON): Define. | |
15169 | * config/s390/s390.md ("*tmdi_ext", "*tmsi_ext", "*tmqisi_ext", | |
15170 | "*tmqidi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem"): Remove. | |
15171 | ("*tmqi_mem"): Remove SUBREG from pattern. | |
15172 | ("*anddi3_cconly"): Prevent accidentally matching TM pattern. | |
15173 | ("*andsi3_cconly"): Likewise. | |
6f4a43e0 | 15174 | |
22116d84 L |
15175 | 2004-08-10 H.J. Lu <hongjiu.lu@intel.com> |
15176 | ||
15177 | PR target/16909 | |
15178 | * config/i386/i386.md (*strsetdi_rex_1): Use DI instead of SI. | |
15179 | ||
c75095b2 JJ |
15180 | 2004-08-10 Janis Johnson <janis187@us.ibm.com> |
15181 | ||
15182 | * doc/sourcebuild.texi (compat testing): Document available test | |
15183 | framework commands. Use the preferred spelling of DejaGnu. | |
15184 | ||
98975653 DB |
15185 | 2004-08-10 Daniel Berlin <dberlin@dberlin.org> |
15186 | ||
15187 | * lambda.h: Add matrix type, and prototypes for remainder of | |
15188 | matrix and vector functions. | |
15189 | (lambda_vector_mult_const): New function. | |
15190 | (lambda_vector_negate): Ditto. | |
15191 | (lambda_vector_add): Ditto. | |
15192 | (lambda_vector_add_mc): Ditto. | |
15193 | (lambda_vector_copy): Ditto. | |
15194 | (lambda_vector_zerop): Ditto. | |
15195 | (lambda_vector_equal): Ditto. | |
15196 | (lambda_vector_min_nz): Ditto. | |
15197 | (lambda_vector_first_nz): Ditto. | |
15198 | (lambda_vector_matrix_mult): Ditto. | |
15199 | * lambda-mat.c: New file. | |
15200 | * Makefile.in (lambda-mat.o): New. | |
15201 | ||
68b9f53b AM |
15202 | 2004-08-10 Andrew MacLeod <amacleod@redhat.com> |
15203 | ||
15204 | * tree-cfg.c (bsi_insert_before, bsi_insert_after): Call modify_stmt | |
15205 | after linking stmt into the program. | |
15206 | (bsi_remove): Don't call modify_stmt. | |
6f4a43e0 | 15207 | * tree-complex.c (update_complex_assignment, |
68b9f53b | 15208 | expand_complex_comparison): Call modify_stmt after changing the stmt. |
6f4a43e0 | 15209 | * tree-outof-ssa.c (rewrite_trees): Call modify_stmt only if not |
68b9f53b AM |
15210 | removing the stmt. |
15211 | * tree-ssa-ccp.c (substitute_and_fold): Call modify_stmt after changing | |
15212 | the stmt, and only if needed. | |
15213 | * tree-ssa-dom.c (thread_across_edge): Pass no annotation for a dummy | |
15214 | expression. | |
15215 | (simplify_rhs_and_lookup_avail_expr): Don't take an annotation param. | |
15216 | (simplify_cond_and_lookup_avail_expr): Use modify_stmt. | |
15217 | (simplify_switch_and_lookup_avail_expr): Don't take an annotation param. | |
6f4a43e0 | 15218 | (eliminate_redundant_computations): Don't pass an annotation. Call |
68b9f53b AM |
15219 | modify_stmt rather than setting the annotation directly. |
15220 | (record_equivalences_from_stmt): Remove unused local 'j'. | |
15221 | (cprop_operand): Take a stmt rather than an annotation as a parameter. | |
15222 | Call modify_stmt. | |
15223 | (cprop_into_stmt): Pass stmt rather than annotation. | |
15224 | (update_rhs_and_lookup_avail_expr): Call modify_stmt. | |
6f4a43e0 | 15225 | * tree-ssa-loop-im.c (schedule_sm): Call get_stmt_ann rather than |
68b9f53b AM |
15226 | modify_stmt. |
15227 | * tree-ssa.c (propagate_into_addr): Dont call modify_stmt. | |
15228 | ||
01c98570 JM |
15229 | 2004-08-10 Jason Merrill <jason@redhat.com> |
15230 | ||
6c9c4526 | 15231 | PR middle-end/16948 |
01c98570 JM |
15232 | * function.c (expand_function_start): Handle DECL_BY_REFERENCE on |
15233 | the RESULT_DECL. | |
15234 | ||
b2ddaebb GK |
15235 | 2004-08-10 Geoffrey Keating <geoffk@apple.com> |
15236 | ||
15237 | * tree-vn.c (val_expr_pair_expr_eq): Compare vuses, to match the | |
15238 | hash function. | |
15239 | ||
23657388 RS |
15240 | 2004-08-10 Roger Sayle <roger@eyesopen.com> |
15241 | ||
15242 | * config/mips/mips.md: New reciprocal square root patterns that | |
15243 | match sqrt(1.0/x) in addition to the existing 1.0/sqrt(x) insns. | |
15244 | ||
c9ca9b88 PB |
15245 | 2004-08-10 Paul Brook <paul@codesourcery.com> |
15246 | ||
15247 | * config/arm/arm-protos.h (arm_set_return_address, | |
15248 | thumb_set_return_address): Add prototypes. | |
15249 | * config/arm/arm.h (ARM_FT_EXCEPTION_HANDLER): Remove. | |
15250 | * config/arm/arm.c (arm_compute_func_type, | |
15251 | use_return_insn, arm_compute_save_reg0_reg12_mask, | |
15252 | arm_compute_save_reg_mask, arm_output_function_prologue, | |
15253 | arm_output_epilogue): Replace ARM_FT_EXCEPTION_HANDLER with | |
15254 | current_function_calls_eh_return. | |
15255 | (thumb_exit, thumb_pushpop, thumb_unexpanded_epilogue): Replace | |
15256 | old eh code. | |
15257 | (arm_set_return_address, thumb_set_return_address): New functions. | |
15258 | * config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS, DWARF2_UNWIND_INFO, | |
15259 | ARM_EH_STACKADJ_REGNUM, EH_RETURN_STACKADJ_RTX): Define. | |
15260 | * config/arm/arm.md (VUNSPEC_EH_RETURN): Add. | |
15261 | (epilogue): Use the stackadj register. | |
15262 | (eh_return, arm_eh_return, thumb_eh_return): New pattern. | |
15263 | ||
45d78e7f JJ |
15264 | 2004-08-10 Jakub Jelinek <jakub@redhat.com> |
15265 | ||
15266 | PR target/3144 | |
15267 | * expr.c (move_by_pieces_ninsns): Add max_size argument. | |
15268 | (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 to it. | |
15269 | (CLEAR_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 to it. | |
15270 | (STORE_BY_PIECES_P): Define similarly to CLEAR_BY_PIECES_P, | |
15271 | but using MOVE_RATIO. | |
15272 | (move_by_pieces): Pass max_size to move_by_pieces_ninsns. | |
15273 | (can_store_by_pieces): Change max_size type to unsigned int. | |
15274 | (store_by_pieces_1): Likewise. Pass max_size to | |
15275 | move_by_pieces_ninsns. | |
15276 | * config/s390/s390.h (STORE_BY_PIECES_P): Define. | |
15277 | * config/sh/sh.c (MOVE_BY_PIECES_P): Pass MOVE_MAX_PIECES + 1 | |
15278 | to move_by_pieces_ninsns. | |
15279 | (STORE_BY_PIECES_P): Define. | |
15280 | * config/ns32k/ns32k.h (STORE_BY_PIECES_P): Pass STORE_MAX_PIECES + 1 | |
15281 | to move_by_pieces_ninsns. | |
15282 | * doc/tm.texi (STORE_BY_PIECES_P): Document changed default. | |
15283 | ||
15284 | * config/i386/i386.h (CLEAR_RATIO): Define. | |
15285 | ||
25f3e06c PB |
15286 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
15287 | ||
15288 | * expr.c (expand_expr_real_1): Add back code that was not dead. | |
15289 | ||
6a3203c8 AP |
15290 | 2004-08-09 Andrew Pinski <apinski@apple.com> |
15291 | ||
15292 | * c-common.c (c_common_get_alias_set): Set the aliasing set of the type | |
15293 | which is found to be compatible before returning the aliasing set. | |
15294 | ||
b9bfca81 DJ |
15295 | 2004-08-09 Daniel Jacobowitz <dan@debian.org> |
15296 | ||
15297 | * ggc-zone.c (struct alloc_zone): Add statistics counters. | |
15298 | (always_collect): New flag. | |
15299 | (ggc_alloc_zone_1): Update statistics support. Don't include | |
15300 | overhead in allocated counter. | |
15301 | (sweep_pages): Update allocated counter for large pages. Don'y | |
15302 | include overhead. | |
15303 | (ggc_collect_1): Always collect. | |
15304 | (ggc_collect): Honor always_collect flag. Sum all zones to decide | |
15305 | whether to collect. | |
15306 | (SCALE, LABEL): New macros. | |
15307 | (ggc_print_statistics): Add statistics support. | |
15308 | ||
fdded401 RS |
15309 | 2004-08-09 Roger Sayle <roger@eyesopen.com> |
15310 | ||
15311 | * expmed.c (sdiv_pow2_cheap, smod_pow2_cheap): Change type to bool. | |
15312 | (init_expmed): Fix potential overrun problem with "all.reg". | |
15313 | (expand_sdiv2_pow2): Add an alternate implementation for signed | |
15314 | division, if the target provides a suitable conditional move insn. | |
15315 | ||
9d8646d7 PB |
15316 | 2004-08-09 Paul Brook <paul@codesourcery.com> |
15317 | Richard Henderson <rth@redhat.com> | |
15318 | ||
15319 | * unwind-dw2.c (uw_install_context_1): Update target saved stack | |
15320 | pointer. | |
15321 | ||
d37e6b50 GK |
15322 | 2004-08-09 Geoffrey Keating <geoffk@apple.com> |
15323 | ||
15324 | * ggc-common.c (ggc_rlimit_bound): Don't check RSS limit. | |
15325 | Check DATA limit only if there's no AS limit. Ignore insanely | |
15326 | low DATA limits. | |
15327 | (ggc_min_heapsize_heuristic): Don't divide AS or RSS limits by 8, | |
15328 | but take care that the AS limit isn't overrun. | |
15329 | * doc/invoke.texi: Update documentation of min-heapsize parameter. | |
15330 | ||
56b043c8 JL |
15331 | 2004-08-09 Jeff Law <law@redhat.com> |
15332 | ||
15333 | * Makefile.in (OBJC-common): Add tree-ssa-threadupdate.c | |
15334 | (tree-ssa-threadupdate.o): Add dependencies. | |
15335 | * tree-ssa-threadupdate.c: New file. | |
15336 | * tree-flow.h (incoming_edge_threaded): New flag in block annotation. | |
15337 | (rewrite_vars_out_of_ssa): Remove prototype. | |
15338 | (cleanup_tree_cfg): Returns a bool. | |
15339 | * tree.h (thread_through_all_blocks): Prototype. | |
15340 | * tree-outof-ssa.c (SSANORM_*): Move into here. | |
15341 | (remove_ssa_form): Now static. | |
15342 | (rewrite_vars_out_of_ssa): Kill. | |
15343 | * tree-ssa-live.c (register_ssa_partitions_for_vars): Kill. | |
15344 | * tree-ssa-live.h (SSANORM_*): Moved into tree-outof-ssa.c. | |
15345 | (remove_ssa_form, register_partitions_for_vars): Kill declarations. | |
15346 | * tree-cfg.c (cleanup_tree_cfg): Return a value indicating if | |
15347 | anything was changed. | |
15348 | * tree-phinodes.c (add_phi_arg): Get the block for the PHI | |
15349 | from the PHI's annotation rather than the edge associated with | |
15350 | the new argument. | |
15351 | * tree-ssa-dom.c (redirection_edges): Kill. | |
15352 | (redirect_edges_and_update_ssa_graph): Kill. | |
15353 | (tree_ssa_dominator_optimize): Do not reset forwardable flag | |
15354 | for blocks anymore. Do not initialize redirection_edges. | |
15355 | Call thread_through_all_blocks. Simplify code for cleanup | |
15356 | of the CFG and iterating. No longer call cleanup_tree_cfg | |
15357 | outside the iteration loop. | |
15358 | (thread_across_edge): No longer mess with forwardable blocks. | |
15359 | ||
9b305d55 ZW |
15360 | 2004-08-09 Zack Weinberg <zack@codesourcery.com> |
15361 | ||
15362 | * explow.c (memory_address): Use memory_address_p. | |
15363 | * recog.c (general_operand): Likewise. | |
15364 | * regrename.c: No need to define REG_OK_STRICT. | |
15365 | ||
27fb79ad SB |
15366 | 2004-08-09 Steven Bosscher <stevenb@suse.de> |
15367 | ||
15368 | * timevar.def (TV_CPROP1, TV_CPROP2, TV_PRE, TV_HOIST, TV_LSM): | |
15369 | New timers. | |
15370 | * gcse.c: Include timevar.h. | |
15371 | (const_prop_count, copy_prop_count): Rename to global_const_prop_count | |
15372 | and global_copy_prop_count. | |
15373 | (local_const_prop_count, local_copy_prop_count): New static globals. | |
15374 | (gcse_main): Set the right timevar for each pass. | |
15375 | (cprop_jump): Increment global_const_prop_count when a constant is | |
15376 | propagated. Add "GLOBAL" to dump output. | |
15377 | (cprop_insn): Increment global_const_prop_count when a constant is | |
15378 | propagated, or global_copy_prop_count when a copy is propagated. | |
15379 | (do_local_cprop): Likewise for local_const_prop_count and | |
15380 | local_copy_prop_count. | |
15381 | (one_cprop_pass): Initialize const/cprop counters to zero. | |
15382 | Print out results of local and global const/cprop separately. | |
15383 | (bypass_block): Break over-length line. | |
702d4b73 SB |
15384 | * Makefile.in (gcse.o): Add TIMEVAR_H dependency. Fix dependencies |
15385 | for bb-reorder.o and tracer.o. | |
27fb79ad | 15386 | |
7efcb746 PB |
15387 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
15388 | ||
15389 | * Makefile.in (GTFILES): Remove stmt.c | |
15390 | (stmt.o): Do not depend on gt-stmt.h. | |
15391 | * emit-rtl.c (emit_line_note): Do not call | |
15392 | set_file_and_line_for_stmt. | |
15393 | * expr.c (expand_expr_real_1) <SWITCH_EXPR>: Let expand_case | |
15394 | do everything. | |
15395 | * function.c (free_after_parsing): Do not free STMT field. | |
15396 | (allocate_struct_function): Do not call init_stmt_for_function. | |
15397 | (assign_stack_temp_for_type): Do not accept values of keep | |
15398 | other than 0 or 1. | |
15399 | (init_temp_slots): Do not initialize removed variables. | |
15400 | * function.h (struct function): Remove STMT, X_TARGET_TEMP_SLOT_LEVEL | |
15401 | and X_VAR_TEMP_SLOT_LEVEL fields. | |
15402 | * rtl.h (set_file_and_line_for_stmt): Remove. | |
15403 | * stmt.c (struct nesting, ALLOC_NESTING, POPSTACK, | |
15404 | struct stmt_status, cond_stack, case_stack, nesting_stack, | |
15405 | nesting_depth, emit_locus, set_file_and_line_for_stmt, | |
15406 | same_case_target_p, init_stmt_for_function, emit_nop, | |
15407 | expand_start_cond, expand_start_elseif, expand_start_else, | |
15408 | expand_elseif, expand_end_cond): Remove. | |
15409 | (preserve_subexpressions_p): Remove references to CFUN->STMT. | |
15410 | (expand_start_case, expand_end_case_type): Remove, merge into... | |
15411 | (expand_case): ... this one, including other bits from | |
15412 | expand_expr_real_1. Inline same_case_target_p. Turn members | |
15413 | of CASE_STACK into local variables. | |
15414 | (emit_case_bit_tests): Inline same_case_target_p. | |
15415 | (add_case_node): Add HEAD argument, return new head of the list, | |
15416 | do not handle default label here. | |
15417 | * tree.h (expand_start_cond, expand_end_cond, expand_start_else, | |
15418 | expand_start_elseif, current_nesting_level, expand_start_case, | |
15419 | expand_end_case_type, expand_end_case, add_case_node, | |
15420 | init_stmt_for_function, expand_elseif): Remove prototypes. | |
15421 | (expand_case): Add prototype. | |
15422 | ||
c4d70ce3 PB |
15423 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> |
15424 | ||
15425 | * expr.c (expand_expr_real_1): Use optab_for_tree_code. | |
15426 | ||
15427 | 2004-08-09 Paolo Bonzini <bonzini@gnu.org> | |
e5bacf32 PB |
15428 | |
15429 | * expr.c (var_rtx): Remove. | |
15430 | (expand_expr_real_1) <LOOP_EXPR, EXIT_EXPR, | |
15431 | LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, TRUTH_ANDIF_EXPR, | |
15432 | TRUTH_ORIF_EXPR, COMPOUND_EXPR, CONJ_EXPR, INIT_EXPR>: | |
15433 | Abort. | |
15434 | (expand_expr_real_1) <COND_EXPR>: Remove most special cases. | |
15435 | * optabs.c (emit_clr_insn, emit_0_to_1_insn): Remove. | |
15436 | * optabs.h (emit_clr_insn, emit_0_to_1_insn): Remove. | |
15437 | ||
d72372e4 MH |
15438 | 2004-08-08 Mostafa Hagog <mustafa@il.ibm.com> |
15439 | Ayal Zaks <zaks@il.ibm.com> | |
15440 | ||
15441 | * common.opt (freschedule-modulo-scheduled-loops): New flag. | |
15442 | * final.c (final_scan_insn): Handle NOTE_DISABLE_SCHED_OF_BLOCK. | |
15443 | * modulo-sched.c (sms_schedule): Emit a note to disable scheduling | |
15444 | when -freschedule-modulo-scheduled-loops flag is not specified. | |
15445 | (sms_schedule_by_order, ps_insn_advance_column, add_node_to_ps, | |
15446 | add_node_to_ps, ps_has_conflicts, ps_add_node_check_conflicts): | |
15447 | More accurate placing of insn in row of partial schedule. | |
15448 | (ps_insn_find_column): New function. | |
15449 | * rtl.h (NOTE_DISABLE_SCHED_OF_BLOCK): New note. | |
15450 | * sched-rgn.c (sched_is_disabled_for_current_region_p): New. | |
15451 | (schedule_region): Use sched_is_disabled_for_current_region_p. | |
15452 | * docs/invoke.texi: Document -freschedule-modulo-scheduled-loops. | |
15453 | ||
0737fbff L |
15454 | 2004-08-07 H.J. Lu <hongjiu.lu@intel.com> |
15455 | ||
15456 | * config/i386/i386.c (ix86_expand_clrmem): Revert the last | |
15457 | change. | |
15458 | ||
11c4576f L |
15459 | 2004-08-07 H.J. Lu <hongjiu.lu@intel.com> |
15460 | ||
15461 | * config/i386/i386.c (ix86_expand_clrmem): Properly call | |
15462 | gen_strset for 64bit target. | |
15463 | ||
34def210 OH |
15464 | 2004-08-07 Olivier Hainque <hainque@act-europe.fr> |
15465 | ||
15466 | * config/vxworks.h (HANDLE_SYSV_PRAGMA): Remove definition. | |
15467 | ||
5201931e JM |
15468 | 2004-08-07 Jason Merrill <jason@redhat.com> |
15469 | ||
cc77ae10 JM |
15470 | Make return in memory explicit. |
15471 | * function.c (aggregate_value_p): Check DECL_BY_REFERENCE. | |
15472 | (assign_parm_find_data_types): Remove code for old front end | |
15473 | invisible reference handling. | |
15474 | (assign_parms): Handle DECL_BY_REFERENCE on the RESULT_DECL. | |
15475 | (expand_function_end): Likewise. | |
15476 | * gimplify.c (gimplify_return_expr): Handle a dereferenced | |
15477 | RESULT_DECL. | |
15478 | * tree-inline.c (copy_body_r): Don't bother looking for &* anymore. | |
15479 | (declare_return_variable): Handle DECL_BY_REFERENCE. | |
15480 | * cp/cp-gimplify.c (is_invisiref_parm): Also handle RESULT_DECL. | |
15481 | (cp_genericize_r): Use convert_from_reference. | |
15482 | Don't dereference a RESULT_DECL directly inside a RETURN_EXPR. | |
15483 | (cp_genericize): Handle the RESULT_DECL. Unset TREE_ADDRESSABLE. | |
15484 | ||
5201931e JM |
15485 | * c-common.c (c_warn_unused_result): Check TREE_USED before |
15486 | warning about a CALL_EXPR with an unused value. | |
15487 | ||
2ed9e527 MM |
15488 | 2004-08-06 Mark Mitchell <mark@codesourcery.com> |
15489 | ||
15490 | * config/arm/symbian.h (CC1_SPEC): Avoid passing duplicate options | |
15491 | to the compiler. Use -fshort-wchar by default. | |
15492 | ||
12183e0f PH |
15493 | 2004-08-06 Pat Haugen <pthaugen@us.ibm.com> |
15494 | ||
15495 | * params.def (PARAM_MIN_CROSSJUMP_INSNS): New. | |
15496 | * cfgcleanup.c (try_crossjump_to_edge): Add minimum insn match | |
15497 | threshhold. | |
15498 | * doc/invoke.texi (param): Document min-crossjump-insns. | |
15499 | ||
eaac4679 RS |
15500 | 2004-08-06 Richard Sandiford <rsandifo@redhat.com> |
15501 | ||
15502 | PR c/13282 | |
15503 | * c.opt (Wmissing-field-initializers): New option. | |
15504 | * c-opts.c (c_common_post_options): Make -Wextra turn it on by default. | |
15505 | * c-typeck.c (pop_init_level): Guard the missing field warning with | |
15506 | warn_missing_field_initializers rather than extra_warnings. | |
15507 | * doc/invoke.texi (-Wmissing-field-initializers): Document, moving | |
15508 | some of the explanation from... | |
15509 | (-Wextra): ...here. Say that the missing field warning can be | |
15510 | seperately controlled by -Wmissing-field-initializers. | |
15511 | ||
caad9f81 PB |
15512 | 2004-08-06 Paolo Bonzini <bonzini@gnu.org> |
15513 | ||
15514 | * expr.c (expand_expr_real_1) <ENTRY_VALUE_EXPR>: Remove. | |
15515 | * tree-inline.c (estimate_num_insns_1) <ENTRY_VALUE_EXPR>: Remove. | |
15516 | * tree-pretty-print.c (dump_generic_node) <ENTRY_VALUE_EXPR>: Remove. | |
15517 | * tree.def (ENTRY_VALUE_EXPR): Remove. | |
15518 | ||
6b32b628 JJ |
15519 | 2004-08-06 Jakub Jelinek <jakub@redhat.com> |
15520 | ||
15521 | * config/i386/i386.c (ix86_expand_clrmem): Move gen_cld down to | |
15522 | the places where it is actually needed. Don't use repz; stosb | |
15523 | for -Os with sufficiently small constant sizes. | |
15524 | For sufficiently small repz; stos{l,q} repeat counts use a sequence | |
15525 | of stos{l,q} instructions instead. | |
15526 | ||
6797f908 ZD |
15527 | 2004-08-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
15528 | ||
15529 | PR tree-optimization/16807 | |
15530 | * loop-iv.c (dump_iv_info): Dump invariants correctly. | |
15531 | (iv_subreg, iv_extend): Express value of invariant purely in | |
15532 | base field. | |
15533 | ||
866cf037 MM |
15534 | 2004-08-06 Mark Mitchell <mark@codesourcery.com> |
15535 | ||
15536 | * config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums. | |
15537 | (CC1PLUS_SPEC): Define it to be the same as CC1_SPEC. | |
15538 | ||
9652c531 | 15539 | 2004-08-06 Roman Zippel <zippel@linux-m68k.org> |
9b305d55 | 15540 | |
27fb79ad SB |
15541 | * config/m68k/m68k.c (post_inc_operand,pre_dec_operand): New. |
15542 | * config/m68k/m68k.h (PREDICATE_CODES): add post_inc_operand, | |
15543 | pre_dec_operand. | |
15544 | * config/m68k/m68k.md (zero_extend*2): delay the splitting of the | |
15545 | pattern until reload is finished to allow better code generation | |
15546 | and split them completely into separate instrunctions. | |
15547 | (*andsi3_split): New pattern. | |
9652c531 | 15548 | |
b2ca3702 MM |
15549 | 2004-08-05 Mark Mitchell <mark@codesourcery.com> |
15550 | ||
15551 | * tree.c (handle_dll_attribute): Move here from i383/winnt.c. | |
15552 | Replace use of DECL_INLINE with DECL_DECLARED_INLINE_P. Set | |
15553 | DECL_VISIBLITY. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
15554 | * tree.h (handle_dll_attribute): Declare. Test | |
15555 | TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
15556 | * c-common.h (c_determine_visibility): Declare. | |
15557 | * c-common.c (c_determine_visibility): New function. | |
15558 | * c-decl.c (finish_decl): Use it. | |
15559 | (finish_function): Likewise. | |
15560 | * defaults.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define it to | |
15561 | zero, by default. Use #if, not #ifdef, to test it. | |
15562 | * config/arm/arm.c (arm_attribute_table): Use | |
15563 | handle_dll_attribute. Test TARGET_DLLIMPORT_DECL_ATTRIBUTES with | |
15564 | #if. | |
15565 | * config/arm/pe.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define to 1. | |
15566 | * config/i386/cygming.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
15567 | to 1. | |
15568 | * config/i386/i386-protos.h (ix86_handle_dll_attribute): Remove. | |
15569 | * config/i386/i386.c (ix86_attribute_table): Use | |
15570 | handle_dll_attribute for dllimport/dllexport. Test | |
15571 | TARGET_DLLIMPORT_DECL_ATTRIBUTES with #if. | |
15572 | * config/i386/winnt.c (ix86_handle_dll_attribute): Remove. | |
15573 | * config/mcore/mcore.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
15574 | it to 1. | |
15575 | * config/mcore/mcore.c (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Test it | |
15576 | with #if. | |
15577 | * config/sh/symbian-pre.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define | |
15578 | it to 1. | |
15579 | * doc/extend.texi (dllexport): Clarify and correct documentation. | |
15580 | (dllimport): Likewise. | |
15581 | * doc/tm.texi (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Mention | |
15582 | handle_dll_attribute. | |
9b305d55 | 15583 | |
c913f08a ZD |
15584 | 2004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
15585 | ||
15586 | * tree-ssa-loop-manip.c: New file. | |
15587 | * Makefile.in (tree-ssa-loop-manip.o): Add. | |
15588 | * tree-flow.h (rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): | |
15589 | Declare. | |
15590 | * tree-ssa-loop.c (tree_loop_optimizer_init): Create loop closed ssa | |
15591 | form. | |
15592 | (tree_ssa_loop_done): Verify loop closed ssa form. | |
15593 | * tree-ssa-loop-im.c (move_computations): Update loop closed ssa form. | |
15594 | ||
d4482715 JDA |
15595 | 2004-08-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15596 | ||
15597 | * pa.c (pa_asm_output_aligned_bss, pa_asm_output_aligned_common, | |
15598 | pa_asm_output_aligned_local): New functions. | |
15599 | * pa-protos.h: Add prototypes for pa_asm_output_aligned_bss, | |
15600 | pa_asm_output_aligned_common and pa_asm_output_aligned_local. | |
15601 | * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Use | |
15602 | pa_asm_output_aligned_common. | |
15603 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
15604 | * pa.h (ASM_OUTPUT_ALIGNED_BSS): New macro. | |
15605 | (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. | |
15606 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
15607 | * pa64-hpux.h (MAX_OFILE_ALIGNMENT): New macro. | |
15608 | (ASM_OUTPUT_ALIGNED_COMMON): Use pa_asm_output_aligned_common. | |
15609 | (ASM_OUTPUT_ALIGNED_LOCAL): Use pa_asm_output_aligned_local. | |
15610 | * som.h (MAX_OFILE_ALIGNMENT): Provide maximum alignment of global | |
15611 | common data. | |
15612 | ||
21149a79 AP |
15613 | 2004-08-05 Andrew Pinski <apinski@apple.com> |
15614 | ||
15615 | * objc/objc-act.c (build_objc_string_object): Mark the address | |
15616 | expression as constant. | |
15617 | ||
d5861a7a DE |
15618 | 2004-08-05 David Edelsohn <edelsohn@gnu.org> |
15619 | ||
15620 | * config/rs6000/rs6000.c (rs6000_rtx_costs): Fix mask_operand | |
15621 | and mask64_operand thinkos. Handle ZERO_EXTRACT. Handle | |
15622 | SIGN_EXTEND / ZERO_EXTEND of MEM. Handle rlwinm patterns. | |
15623 | ||
0a2b72a6 JM |
15624 | 2004-08-05 Joseph S. Myers <jsm@polyomino.org.uk> |
15625 | ||
15626 | * config/linux.h, config/i386/linux.h, config/sparc/linux.h: | |
15627 | Remove definitions conditioned on USE_GNULIBC_1 or conditioned | |
15628 | out, and associated obsolete comments. | |
15629 | ||
ca7a3bd7 NS |
15630 | 2004-08-05 Nathan Sidwell <nathan@codesourcery.com> |
15631 | ||
15632 | * tree.h (force_fit_type): Return a tree, take three flags. | |
15633 | * fold-const.c (force_fit_type): Set TREE_OVERFLOW and | |
15634 | TREE_CONSTANT_OVERFLOW here. | |
15635 | (int_const_binop, const_binop): Adjust. | |
15636 | (size_int_type): Do sign extension here. | |
15637 | (fold_convert_const, optimize_bit_field_compare, | |
15638 | decode_field_reference, all_ones_mask_p, fold_div_compare, fold, | |
15639 | fold_negate_const, fold_abs_const, fold_not_const): Adjust. | |
15640 | * tree.c (size_in_bytes, int_fits_type_p): Adjust. | |
15641 | ||
d36837f4 ZD |
15642 | 2004-08-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
15643 | ||
15644 | PR tree-optimization/16864 | |
15645 | * tree-tailcall.c (eliminate_tail_call): Do not create phi nodes | |
15646 | for ssa names without default_def. | |
15647 | ||
ea5f7a19 RS |
15648 | 2004-08-05 Richard Sandiford <rsandifo@redhat.com> |
15649 | ||
15650 | * config/i386/i386.c (ix86_expand_prologue): If the function uses a | |
15651 | frame pointer, restore eax with an ebp-relative address. | |
15652 | ||
0e6df31e GK |
15653 | 2004-08-04 Geoffrey Keating <geoffk@apple.com> |
15654 | ||
15655 | PR 14516 | |
15656 | * c-common.c (c_expand_decl): Don't special-case static VAR_DECLs. | |
15657 | * c-common.h (make_rtl_for_local_static): Delete. | |
15658 | * c-decl.c (shadow_tag_warned): Clean up comment. | |
15659 | (finish_decl): Clean up spacing. Use set_user_assembler_name when | |
15660 | appropriate. Don't pass asmspec to rest_of_decl_compilation. | |
15661 | * c-semantics.c (make_rtl_for_local_static): Delete. | |
15662 | * expr.c (init_block_move_fn): Use set_user_assembler_name. | |
15663 | (init_block_clear_fn): Likewise. | |
15664 | * passes.c (rest_of_decl_compilation): Remove asmspec parameter, | |
15665 | expect it to be in DECL_ASSEMBLER_NAME. Update callers in many files. | |
15666 | * toplev.h (rest_of_decl_compilation): Remove asmspec parameter. | |
15667 | * tree.h (make_decl_rtl): Remove second parameter. | |
15668 | (set_user_assembler_name): New. | |
15669 | * varasm.c (set_user_assembler_name): New. | |
15670 | (make_decl_rtl): Remove second parameter. Update callers in many | |
15671 | files. | |
15672 | ||
4f587cb0 AN |
15673 | 2004-08-05 Adam Nemet <anemet@lnxw.com> |
15674 | ||
15675 | * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0. | |
15676 | (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update | |
15677 | to LynxOS 4.0. | |
15678 | * gthr-lynx.h: New file. | |
15679 | * config/lynx-ng.h: Remove file. | |
15680 | * config/lynx.h: Update to LynxOS 4.0. | |
15681 | * config/t-lynx: New file. | |
15682 | * config/i386/lynx-ng.h: Remove file. | |
15683 | * config/i386/lynx.h: Update to LynxOS 4.0. | |
15684 | * config/rs6000/lynxbase.h: Remove file. | |
15685 | * config/rs6000/lynx.h: Update to LynxOS 4.0. | |
15686 | * config/rs6000/t-lynx: New file. | |
15687 | * doc/install.texi (Options specification): Remove reference to | |
15688 | LynxOS from systems where --with-gnu-as makes a difference. | |
15689 | ||
85291069 JM |
15690 | 2004-08-05 Joseph S. Myers <jsm@polyomino.org.uk> |
15691 | ||
15692 | * c-common.c (c_stddef_cpp_builtins): Define __INTMAX_TYPE__ and | |
15693 | __UINTMAX_TYPE__. | |
15694 | * c-cppbuiltin.c (builtin_define_stdint_macros): New. Define | |
15695 | __INTMAX_MAX__. | |
15696 | (c_cpp_builtins): Call it. | |
15697 | * doc/cpp.texi: Update. | |
15698 | ||
30a555d9 DE |
15699 | 2004-08-04 David Edelsohn <edelsohn@gnu.org> |
15700 | ||
15701 | * config/rs6000/rs6000.c (rs6000_rtx_costs): LABEL_REFs are zero | |
15702 | cost. | |
15703 | ||
878f99d2 JH |
15704 | 2004-08-04 Jan Hubicka <jh@suse.cz> |
15705 | ||
15706 | * basic-block.h (profile_staus): New global variable. | |
15707 | * cfg.c (profile_status): Declare. | |
15708 | (check_bb_profile): Break out from ....; use profile_status | |
15709 | (dump_flow_info): ... here. | |
15710 | * cfgbuild.c (find_basic_blocks): Set profile_status. | |
15711 | * cfgexpand.c (tree_expand_cfg): Likewise. | |
15712 | * predict.c (estimate_probability): Likewise. | |
15713 | * profile.c (branch_prob): Likewise. | |
15714 | * tree-cfg.c (build_tree_cfg): Likewise. | |
15715 | (dump_function_to_file): Use check_bb_profile. | |
15716 | * tree-pretty-print (dump_bb_header): Likewise. | |
15717 | * tree-profile.c (do_tree_profiling): Cleanup. | |
15718 | ||
7e7ec48e ZW |
15719 | 2004-08-04 Zack Weinberg <zack@codesourcery.com> |
15720 | ||
15721 | * Makefile.in (RTL_BASE_H, RTL_H): Correct. | |
15722 | (BUILD_RTL): Remove $(BUILD_PREFIX) from ggc-none.o. | |
15723 | (genobjs): Add errors.o, ggc-none.o, and min-insn-modes.o. | |
15724 | (read-rtl.o, gensupport.o, genconfig.o, genflags.o, gencodes.o) | |
15725 | (genconstants.o, genemit.o, genopinit.o, genrecog.o, genextract.o) | |
15726 | (genpeep.o, genattr.o, genattrtab.o, genautomata.o, genoutput.o) | |
15727 | (genconditions.o): Depend on $(RTL_BASE_H) not $(RTL_H). | |
15728 | (ggc-none.o, errors.o): Move rule to generators section; | |
15729 | correct dependencies. | |
15730 | (min-insn-modes.o): Move rule to generators section; remove | |
15731 | unnecessary explicit command; correct dependencies. | |
15732 | (print-rtl.o, print-rtl1.o): Correct dependencies. | |
15733 | ($(BUILD_PREFIX_1)errors.o. $(BUILD_PREFIX_1)ggc-none.o): Delete rule. | |
15734 | (mostlyclean): Update. | |
15735 | ||
15736 | * errors.c: Include bconfig.h not config.h. Correct comment. | |
15737 | * gengtype.c, genpreds.c: Don't define NO_GENRTL_H. | |
15738 | * ggc-none.c: Include bconfig.h; not config.h or tm.h. | |
15739 | * print-rtl.c: Don't include tm_p.h. | |
15740 | ||
15741 | * rtl.h: Move forward-decl of struct function down where it's | |
15742 | needed. Include genrtl.h #ifndef GENERATOR_FILE, not | |
15743 | #ifndef NO_GENRTL_H. Remove unnecessary #ifdef BUFSIZ statements. | |
15744 | ||
b0382c67 ZD |
15745 | 2004-08-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
15746 | Jeff Law <law@redhat.com> | |
15747 | ||
15748 | * tree-cfg.c (tree_duplicate_bb): Mark duplicated definitions. | |
15749 | * tree-flow.h (rewrite_ssa_into_ssa): Declaration changed. | |
15750 | * tree-into-ssa.c (rewrite_ssa_into_ssa): Use new interface to | |
15751 | manipulate the duplicated ssa names. | |
15752 | * tree-ssanames.c (ssa_names_to_rewrite): New variable. | |
15753 | (marked_for_rewrite_p, any_marked_for_rewrite_p, mark_for_rewrite, | |
15754 | unmark_all_for_rewrite, marked_ssa_names, release_ssa_name_force): | |
15755 | New functions. | |
15756 | (release_ssa_name): Do not release ssa names that may have multiple | |
15757 | definitions. | |
15758 | * tree.h (release_ssa_name_force, mark_for_rewrite, | |
15759 | unmark_all_for_rewrite, marked_for_rewrite_p, any_marked_for_rewrite_p, | |
15760 | marked_ssa_names): Declare. | |
15761 | * tree-ssa-loop-ch.c (mark_defs_for_rewrite): Remove. | |
15762 | (duplicate_blocks): Remove call to mark_defs_for_rewrite. | |
15763 | Update call to rewrite_ssa_into_ssa. | |
15764 | ||
63c5b495 MM |
15765 | 2004-08-04 Mark Mitchell <mark@codesourcery.com> |
15766 | ||
15767 | * defaults.h (TARGET_DECLSPEC): New macro. | |
15768 | * c-cppbuiltin.c (c_cpp_builtins): Handle TARGET_DECLSPEC. | |
15769 | * config/arm/pe.h (SUBTARGET_CPP_SPEC): Remove __declspec support. | |
b2ca3702 | 15770 | * config/arm/symbian.h (TARGET_DLLIMPORT_DECL_ATTRIBUTES): Define. |
63c5b495 MM |
15771 | * config/i386/beof-elf.h (TARGET_OS_CPP_BUILTINS): Remove |
15772 | __declspec support. | |
15773 | (TARGET_DECLSPEC): Define. | |
15774 | * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Remove | |
15775 | __declspec support. | |
15776 | * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS): Remove | |
15777 | __declspec support. | |
15778 | (TARGET_DECLSPEC): Define. | |
15779 | * config/mcore/mcore.h (TARGET_CPU_CPP_BUILTINS): Remove | |
15780 | __declspec support. | |
15781 | * config/sh/symbian-pre.h (SUBTARGET_CPP_SPEC): Remove __declspec | |
15782 | support. | |
15783 | * doc/tm.texi (TARGET_DECLSPEC): Document. | |
15784 | ||
15785 | * doc/extend.texi: Fix typo in comment. | |
15786 | ||
44d10c10 PB |
15787 | 2004-08-04 Paul Brook <paul@codesourcery.com> |
15788 | ||
15789 | * target-def.h (TARGET_CXX_CDTOR_RETURNS_THIS): Define. | |
15790 | (TARGET_CXX): Use it. | |
15791 | * target.h (struct gcc_target): Add cdtor_returns_this. | |
15792 | * config/arm/arm.c (arm_cxx_cdtor_returns_this): New function. | |
15793 | (TARGET_CXX_CDTOR_RETURNS_THIS): Define. | |
15794 | * doc/tm.texi: Document TARGET_CXX_CDTOR_RETURNS_THIS. | |
15795 | ||
5e9754af NS |
15796 | 2004-08-03 Nathan Sidwell <nathan@codesourcery.com> |
15797 | ||
15798 | * c-lex.c (narrowest_unsigned_type, narrowest_signed_type): Take | |
15799 | low/high pair. Do range checking directly. | |
15800 | (interpret_integer): Adjust. | |
15801 | ||
2acc29bd NC |
15802 | 2004-08-04 Nick Clifton <nickc@redhat.com> |
15803 | ||
15804 | * config/sh/sh.h (TARGET_SWITCHES): Add no-renesas to select the | |
15805 | GCC ABI. | |
15806 | * doc/invoke.texi: Document this new switch and also the -mrenesas | |
15807 | switch. | |
15808 | ||
2496942a NS |
15809 | 2004-08-04 Nathan Sidwell <nathan@codesourcery.com> |
15810 | ||
15811 | * cfglayout.c (insn_locators_initialize): Update the current | |
15812 | location before initializing a location. | |
15813 | ||
7e2e8179 ZW |
15814 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
15815 | ||
403f8503 ZW |
15816 | * dbxout.c (dbxout_function_decl): Always call dbxout_function_end. |
15817 | (dbxout_function_end): Return after emitting the "Lscope" symbol | |
15818 | under the same conditions that this function formerly wasn't called. | |
15819 | Add explanatory comments. | |
15820 | ||
bcc7f708 | 15821 | PR 14860 |
ca043393 ZW |
15822 | * c-decl.c (record_builtin_type): Call debug_hooks->type_decl |
15823 | on the new decl. | |
15824 | ||
bcc7f708 | 15825 | PR 13956 |
7e2e8179 ZW |
15826 | * dbxout.c (dbx_output_lbrac, dbx_output_rbrac): New |
15827 | functions, broken out of dbxout_block. | |
15828 | (dbxout_block): The block at depth 0 should get LBRAC/RBRAC | |
15829 | stabs too, if it contains symbols. Use the begin_label and | |
15830 | the Lscope label (emitted by dbxout_function_end) for the | |
15831 | range of this block. | |
15832 | ||
5d75ba94 NN |
15833 | 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org> |
15834 | ||
15835 | * doc/install.texi: Update autoconf version requirements. | |
15836 | ||
2e4e72b1 ZW |
15837 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
15838 | ||
15839 | * defaults.h (LEGITIMATE_PIC_OPERAND_P): Provide default definition. | |
15840 | * recog.c (general_operand, immediate_operand, nonmemory_operand) | |
15841 | (asm_operand_ok): Remove #ifdefs on LEGITIMATE_PICOPERAND_P. | |
15842 | * regclass.c (record_reg_classes): Likewise. | |
15843 | * reload.c (find_reloads): Likewise. | |
15844 | * reload1.c (reload): Likewise. | |
15845 | ||
f9942f4e ZW |
15846 | 2004-08-03 Zack Weinberg <zack@codesourcery.com> |
15847 | ||
15848 | * gensupport.c (init_md_reader_args_cb): Renamed from | |
15849 | init_md_reader_args. Add third option, callback function for | |
15850 | parsing program-specific options. Add diagnosis of incorrect | |
15851 | number of input files. | |
15852 | (init_md_reader): Fold into init_md_reader_args_cb. | |
15853 | (init_md_reader_args): Now a thin wrapper around | |
15854 | init_md_reader_args_cb. | |
15855 | * gensupport.h: Update prototypes. | |
15856 | ||
15857 | * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c | |
15858 | * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c | |
15859 | * genrecog.c: No need to diagnose lack of an input file; | |
15860 | init_md_reader_args will handle it. | |
15861 | * genconditions.c: Likewise, and use init_md_reader_args. | |
15862 | * genconstants.c: Likewise, and no need to call read_md_rtx. | |
15863 | ||
9cbe78fb JM |
15864 | 2004-08-03 Joseph S. Myers <jsm@polyomino.org.uk> |
15865 | ||
15866 | * c-decl.c (implicitly_declare): Diagnose incompatible implicit | |
15867 | declarations. | |
15868 | ||
3e558e80 MS |
15869 | 2004-08-03 Mike Stump <mrs@apple.com> |
15870 | ||
15871 | * config/darwin-c.c: Don't search in "/Local/Library/Frameworks" | |
15872 | for frameworks. | |
15873 | * doc/invoke.texi (Darwin Options): Update to reflect above. | |
15874 | ||
a0fac73d RS |
15875 | 2004-08-03 Roger Sayle <roger@eyesopen.com> |
15876 | ||
15877 | PR middle-end/16790 | |
15878 | * fold-const.c (extract_muldiv_1) <NOP_EXPR>: Disallow local | |
15879 | truncations, not just global truncations. | |
15880 | ||
cddbddb7 AP |
15881 | 2004-08-03 Andrew Pinski <apinski@apple.com> |
15882 | ||
15883 | PR bootstrap/16865 | |
15884 | * loop-iv.c (simplify_using_assignment): Initialize lhs. | |
15885 | ||
bebf829d PB |
15886 | 2004-08-03 Paul Brook <paul@codesourcery.com> |
15887 | ||
15888 | * gcc/doc/install.texi: Document MPFR requirement. | |
15889 | ||
cddbddb7 | 15890 | 2004-08-03 Maciej W. Rozycki <macro@linux-mips.org> |
3b0727a0 | 15891 | |
f9942f4e ZW |
15892 | * aclocal.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Check for <sys/mman.h> |
15893 | and mmap() explicitly instead of relying on preset autoconf cache | |
3b0727a0 MR |
15894 | variables. |
15895 | * configure: Regenerate. | |
15896 | ||
f6bc51cb L |
15897 | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> |
15898 | ||
15899 | PR target/16570 | |
15900 | * config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc | |
15901 | to tmake_file. | |
15902 | (i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise. | |
15903 | (i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc | |
15904 | to tmake_file. | |
15905 | ||
15906 | * config/i386/t-gmm_malloc: New file. | |
15907 | * config/i386/t-pmm_malloc: Likewise. | |
f9942f4e | 15908 | |
f6bc51cb L |
15909 | * config/i386/xmmintrin.h: Include <mm_malloc.h>. |
15910 | ||
15911 | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> | |
0ddcd94f | 15912 |