]>
Commit | Line | Data |
---|---|---|
39bc1876 NS |
1 | 2004-06-22 Nathan Sidwell <nathan@codesourcery.com> |
2 | ||
3 | * doc/invoke.texi (Machine Dependent Options): Alphabetize. | |
4 | (Submodel Options): Likewise. | |
5 | ||
f6bf7bb6 AP |
6 | 2004-06-21 Andrew Pinski <apinski@apple.com> |
7 | ||
8 | Radar #: 3701874 | |
9 | * c-decl.c (push_file_scope): Return early if we already | |
10 | have a file scope. | |
11 | ||
c0d578e6 GK |
12 | 2004-06-21 Geoffrey Keating <geoffk@apple.com> |
13 | ||
14 | * c-opts.c (c_common_handle_option): Handle -fpch-preprocess. | |
15 | * c-common.h (flag_pch_preprocess): Declare. | |
16 | (c_common_pch_pragma): Likewise. | |
17 | * c-common.c (flag_pch_preprocess): New. | |
18 | * c-pch.c (c_common_read_pch): Support -fpreprocess-only. | |
19 | (c_common_pch_pragma): New. | |
20 | * c-ppoutput.c (cb_read_pch): New. | |
21 | (init_pp_output): Support -fpch-preprocess. | |
22 | * c-pragma.c (init_pragma): Support #pragma GNUC pch_preprocess. | |
23 | * c.opt (fpch-preprocess): New. | |
24 | * gcc.c (cpp_options): When save-temps, pass -fpch-preprocess. | |
25 | * doc/cppopts.texi: Document -fpch-preprocess. | |
26 | * doc/invoke.texi (Precompiled Headers): Mention that | |
27 | -fpreprocessed is safe for PCH. Mention that if an option is | |
28 | listed as safe that doesn't mean it does what you expect. | |
29 | ||
f6144c34 BE |
30 | 2004-06-22 Ben Elliston <bje@au.ibm.com> |
31 | ||
32 | * tree-ssa.c (ssa_redirect_edge): Correct leading comment. | |
33 | ||
44de5aeb RK |
34 | 2004-06-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
35 | ||
2b27ff64 | 36 | * Makefile.in (gimplify.o): Add cgraph.h. |
44de5aeb RK |
37 | * alias.c (adjust_offset_for_component_ref): Use |
38 | component_ref_field_offset. | |
39 | * c-decl.c (build_array_declarator): Add news args for ARRAY_REF. | |
40 | * c-gimplify.c (gimplify_expr_stmt): Use alloc_stmt_list. | |
41 | (gimplify_decl_stmt): Call gimplify_type_sizes for type. | |
42 | For decl, call gimplify_one_sizepos and use statement list. | |
43 | (gimplify_compound_literal_expr): New arg PRE_P. | |
44 | Add statement to PRE_P list and return DECL. | |
45 | (c_gimplify_expr, case COMPOUND_LITERAL_EXPR): Add arg to | |
46 | gimplify_compound_literal_expr. | |
47 | * c-tree.h (getdecls): Deleted. | |
48 | * c-typeck.c (build_component_ref): Add operand for COMPONENT_REF. | |
49 | (build_array_ref): Add two operands for ARRAY_REF. | |
50 | (build_unary_op): Set TREE_INVARIANT and TREE_CONSTANT for | |
51 | COMPOUND_LITERAL_EXPR. | |
52 | * coverage.c (tree_coverage_counter_ref): Add new operands | |
53 | for ARRAY_REF. | |
54 | * emit-rtl.c (component_ref_for_mem_expr): Add new operand | |
55 | for COMPONENT_REF. | |
56 | (set_mem_attributes_minus_bitpos): Use array_ref_low_bound | |
57 | and array_ref_element_size. | |
58 | (widen_memory_access):Use component_ref_field_offset. | |
59 | * explow.c (update_nonlocal_goto_save_area): Add two operands | |
60 | for ARRAY_REF. | |
61 | * expr.c (array_ref_element_size, array_ref_low_bound): New functions. | |
62 | (component_ref_field_offset): Likewise. | |
63 | (get_inner_reference): Use them. | |
64 | (expand_expr_real_1, case ARRAY_REF): Use array_ref_low_bound. | |
65 | * fold-const.c (fold, case EQ_EXPR): Properly handle DECL_SIZE. | |
66 | (fold_read_from_constant_string): Use array_ref_low_bound. | |
67 | Verify that result is a character type. | |
68 | (build_fold_indirect_ref): Add two operands for ARRAY_REF. | |
69 | * function.c (expand_function_start): Likewise. | |
70 | * gimple-low.c (expand_var_p): Delete duplicated line. | |
71 | * gimplify.c: Add static decls for local functions. | |
72 | (cgraph.h): Now included. | |
73 | (create_tmp_var): Remove check for ARRAY_TYPE. | |
74 | (copy_if_shared_r): Look at bounds and sizes of types. | |
75 | (build_and_jump): Return alloc_stmt_list instead of build_empty_stmt. | |
76 | (gimplify_exit_expr, shortcut_cond_expr): Likewise. | |
77 | (gimplify_save_expr, gimple_push_cleanup): Likewise. | |
78 | (gimplify_init_constructor): Likewise. | |
79 | WANT_VALUE now bool. | |
80 | If empty list with no result wanted, return GS_UNHANDLED. | |
81 | Add additional operands for ARRAY_REF and COMPONENT_REF. | |
82 | (canonicalize_component_ref): Convert to &array[L]. | |
83 | (gimplify_array_ref_to_plus): Use array_ref_element_size and | |
84 | array_ref_lower_bound. | |
85 | (build_addr_expr_with_type, build_addr_expr): New functions. | |
86 | (gimplify_compound_lval): WANT_LVALUE now bool. | |
87 | Major rework to allow handle_component_p and initialize and | |
88 | gimplify new operands for ARRAY_REF, ARRAY_RANGE_REF, and | |
89 | COMPONENT_REF. | |
90 | (gimplify_array_ref): Deleted. | |
91 | (gimplify_self_mod_expr): WANT_VALUE now bool. | |
92 | (gimplify_modify_expr): Gimplify to_p and from_p later. | |
93 | Factor out code into gimplify_modify_expr_rhs and call twice. | |
94 | Move variable-size code earlier and handle PLACEHOLDER_EXPR. | |
95 | (gimplify_modify_expr_rhs, gimplify_variable_sized_compare): New fns. | |
96 | (gimplify_addr_expr, case VIEW_CONVERT_EXPR): New case. | |
97 | (gimplify_expr, case ARRAY_REF): Delete special case. | |
98 | Instead handle like COMPONENT_REF; also do ARRAY_RANGE_REF, | |
99 | IMAGPART, and REALPART the same way. | |
100 | (gimplify_expr, case VIEW_CONVERT_EXPR): New case. | |
101 | (gimplify_expr): Call gimplify_variable_sized_compare if applicable. | |
102 | Call alloc_stmt_list instead of build_empty_stmt. | |
103 | Deal with _REF that's volatile. | |
104 | (gimplify_type_sizes, gimplify_one_sizepos): New functions. | |
105 | (unshare_body, unvisit_body): New functions. | |
106 | (gimplify_body): Call them. | |
107 | * stmt.c (expand_stack_alloc): Don't expand TYPE_MAX_VALUE. | |
108 | * stor-layout.c (get_pending_sizes): Don't change SAVE_EXPR_CONTEXT. | |
109 | * tree-alias-common.c (get_alias_var): Also skip ARRAY_RANGE_REF. | |
110 | * tree-cfg.c (tree_node_can_be_shared): Treat ARRAY_RANGE_REF | |
111 | like ARRAY_REF. | |
112 | (verify_expr, case ADDR_EXPR): Use handled_component_p. | |
113 | * tree-dfa.c (get_virtual_var): Likewise. | |
114 | * tree-dump.c (dequeue_and_dump, case COMPONENT_REF, ARRAY_REF): | |
115 | New cases to dump new operands; likewise for ARRAY_RANGE_REF. | |
116 | * tree-eh.c (tree_could_trap, case ARRAY_RANGE_REF): Like ARRAY_REF. | |
117 | * tree-gimple.c (is_gimple_addr_expr_arg): Add ARRAY_RANGE_REF | |
118 | and INDIRECT_REF. | |
119 | (get_base_address): Use handled_component_p. | |
120 | * tree-gimple.h (gimplify_type_sizes, gimplify_one_sizepos): New. | |
121 | * tree-inline.c (walk_tree): Walk more things for types and decls. | |
122 | * tree-mudflap.c (mf_build_check_statement_for): Add new operands | |
123 | for ARRAY_REF and COMPONENT_REF. | |
124 | (mx_xform_derefs_1): Clean up usage of decl sizes. | |
125 | * tree-nested.c (build_addr): Use handled_component_p. | |
126 | (walk_stmts, case CATCH_EXPR): Add missing "break". | |
127 | (get_static_chain, get_frame_field): Add new operand for COMPONENT_REF. | |
128 | (finalize_nesting_tree_1): Likewise. | |
129 | (convert_nonlocal_reference, case ARRAY_RANGE_REF): Like ARRAY_REF | |
130 | and process additional operands. | |
131 | (convert_local_reference): Likewise. | |
132 | * tree-outof-ssa.c (discover_nonconstant_array_refs_r): Treat | |
133 | ARRAY_RANGE_REF similarly to ARRAY_REF. | |
134 | * tree-pretty-print.c (dump_generic_node, case QUAL_UNION_TYPE): Handle | |
135 | like RECORD_TYPE. | |
136 | (dump_generic_node, case COMPONENT_REF): Print offset operand. | |
137 | (dump_generic_node, case ARRAY_RANGE_REF): Treat like ARRAY_REF | |
138 | and print lower bound and element size for both. | |
139 | (op_prio, case ARRAY_RANGE_REF): Like ARRAY_REF. | |
140 | * tree-sra.c (csc_build_component_ref): Add new operand. | |
141 | (scalarize_call_expr): Use get_base_address. | |
142 | * tree-ssa-ccp.c (widen_bitfield): Clean up size handling. | |
143 | (maybe_fold_offset_to_array_ref): Rework to handle input having an | |
144 | ARRAY_REF, refine handling of lower bound, and add new operands | |
145 | for ARRAY_REF. | |
146 | (maybe_fold_to_component_ref): Add new operand for COMPONENT_REF. | |
147 | (maybe_fold_stmt_indirect): Only fold *&B to B if types match. | |
148 | (maybe_fold_stmt_addition): Only handle constant lower bound. | |
149 | * tree-ssa-operands.c (get_expr_operands): Minor rearrangements. | |
150 | Treat ARRAY_REF and ARRAY_RANGE_REF the same; look at extra operands. | |
151 | Look at new offset operand of COMPONENT_REF. | |
152 | * tree-ssa.c (set_is_used): Use handled_component_p. | |
153 | * tree.c (substitute_in_expr, case COMPONENT_REF): Add new operand. | |
154 | (stabilize_reference, case COMPONENT_REF): Likewise. | |
155 | (stabilize_reference, case ARRAY_RANGE_REF, ARRAY_REF): Similarly. | |
156 | (recompute_tree_invariant_for_addr_expr): Completely rework to | |
157 | be more precise. Also set TREE_SIDE_EFFECTS. | |
158 | (build1_stat, case ARRAY_EXPR): Don't handle TREE_SIDE_EFFECTS here. | |
159 | (build2_stat, build3_stat, build4_stat): For references, | |
160 | propagate TREE_THIS_VOLATILE. | |
161 | (get_unwidened): Add new operand for COMPONENT_REF. | |
162 | (get_narrower): Likewise; use host_integerp for DECL_SIZE. | |
163 | * tree.def (COMPONENT_REF): Add new operand. | |
164 | (ARRAY_REF, ARRAY_RANGE_REF): Add two new operands. | |
165 | * tree.h (array_ref_element_size, array_ref_low_bound): New decls. | |
166 | (component_ref_field_offset): Likewise. | |
167 | * config/alpha/alpha.c (alpha_va_start): Add new op for COMPONENT_REF. | |
168 | (alpha_gimplify_va_arg): Likewise. | |
169 | * config/i386/i386.c (ix86_va_start, ix86_gimplify_va_arg): Likewise. | |
170 | * config/i860/i860.c (i860_va_start, i860_va_arg): Likewise. | |
171 | * config/iq2000/iq2000.c (iq2000_va_arg): Likewise. | |
172 | * config/mips/mips.c (mips_va_start, mips_va_arg): Likewise. | |
173 | * config/rs6000/rs6000.c (rs6000_va_start, rs6000_gimplify_va_arg): | |
174 | Likewise. | |
175 | * config/s390/s390.c (s390_va_start, s390_gimplify_va_arg): Likewise. | |
176 | * config/sh/sh.c (sh_va_start, sh_va_arg): Likewise. | |
177 | * config/stormy16/stormy16.c (xstormy1_expand_builin_va_start): | |
178 | Likewise. | |
179 | (xstormy16_expand_builtin_va_arg): Likewise. | |
180 | * config/xtensa/xtensa.c (xtensa_va_start, xtensa_va_arg): Likewise. | |
181 | * objc/objc-act.c (generate_static_references): Likewise. | |
182 | (generate_strings, build_method_prototype_list_template): Likewise. | |
183 | (generate_protocol_list): Likewise. | |
184 | ||
cae80939 JDA |
185 | 2004-06-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
186 | ||
187 | PR rtl-optimization/14782 | |
188 | * pa.c (emit_move_sequence): Use SFmode for 4-byte modes when doing | |
189 | the address checks for secondary reloads for loads from and stores | |
190 | to floating-point registers. | |
191 | * pa.h (EXTRA_CONSTRAINT, case T): Use SFmode for 4-byte modes | |
192 | in the address check. Move work around for ELF32 targets to | |
193 | GO_IF_LEGITIMATE_ADDRESS. | |
194 | (GO_IF_LEGITIMATE_ADDRESS): Require constant offsets to be | |
195 | correctly aligned for DImode loads and stores. Don't allow long | |
196 | SFmode displacements on ELF32. | |
197 | ||
a90fc8e0 RH |
198 | 2004-06-21 Richard Henderson <rth@redhat.com> |
199 | ||
200 | PR rtl-opt/16114 | |
201 | * cse.c (merge_equiv_classes): Also rehash in response to | |
202 | delete_reg_equiv changes. | |
203 | (rehash_using_reg): Don't exclude REGs from rehashing. | |
204 | ||
5088b058 RH |
205 | 2004-06-21 Richard Henderson <rth@redhat.com> |
206 | ||
207 | * c-common.def (RETURN_STMT): Remove. | |
208 | * c-common.h (RETURN_STMT_EXPR): Remove. | |
209 | (c_expand_return, build_return_stmt): Remove. | |
210 | (c_common_stmt_codes): Remove RETURN_STMT. | |
211 | * c-dump.c (dump_next_stmt): Remove. | |
212 | (c_dump_tree): Remove RETURN_STMT. | |
213 | * c-decl.c (finish_function): Use c_finish_return. | |
214 | * c-parse.in (stmt): Likewise. | |
215 | * c-gimplify.c (gimplify_return_stmt): Remove. | |
216 | (c_gimplify_expr): Remove RETURN_STMT. | |
217 | * c-pretty-print.c (pp_c_statement): Likewise. | |
218 | * c-semantics.c (build_return_stmt): Remove. | |
219 | * c-tree.h (c_finish_return): Declare. | |
220 | * c-typeck.c (c_finish_return): Rename from c_expand_return. | |
221 | Return void. Build RETURN_EXPR directly. | |
222 | * tree-dump.h (dump_next_stmt): Remove. | |
223 | ||
0b4da8a1 ZW |
224 | 2004-06-21 Zack Weinberg <zack@codesourcery.com> |
225 | ||
226 | * c-decl.c (start_function): Don't call make_decl_rtl. Don't | |
227 | look at TREE_ADDRESSABLE of symbol name. | |
228 | ||
8e2cd6dd KC |
229 | 2004-06-21 Kelley Cook <kcook@gcc.gnu.org> |
230 | ||
231 | PR target/15551 | |
232 | * config/i386/i386.md: Change UNSPEC_STACK_PROBE to UNSPECV_STACK_PROBE. | |
233 | (allocate_stack_worker): Make unspec_volatile. | |
234 | (allocate_stack_worker_rex64): Likewise. | |
235 | (allocate_stack_worker_postreload): Likewise. | |
236 | (allocate_stack_worker_rex64_postreload): Likewise. | |
237 | ||
56db793a | 238 | 2004-06-21 Daniel Berlin <dberlin@dberlin.org> |
0b4da8a1 | 239 | |
f648d1e4 KC |
240 | Fix PR optimization/15982 |
241 | * tree-ssa-pre.c: Update a few comments and todos to | |
242 | reflect constants change. | |
243 | (get_value_handle): Constants now value number to themselves. | |
244 | (lookup): Constants lookup to themselves. | |
245 | (add_to_value): Adjust to always be on. | |
246 | (set_contains_value): Adjust for constants change. | |
247 | (find_leader): Ditto. | |
248 | (phi_translate): 'r' nodes are never ANTIC right now. | |
249 | (valid_in_set): Ditto. | |
250 | (get_expr_set): New function. | |
251 | (find_or_generate_expression): New function, broken out from | |
252 | insert_aux. | |
253 | (create_expression_by_pieces): Ditto, plus additional | |
254 | machinery to handle complex values. | |
255 | (compute_avail): Remove dead RETURN_EXPR handling. | |
56db793a | 256 | |
8bc527af SB |
257 | 2004-06-21 Steven Bosscher <stevenb@suse.de> |
258 | ||
259 | * config/i386/i386.c: Include insn-codes.h | |
260 | * config/i386/i386.h (FLAGS_REG, FPSR_REG, DIRFLAG_REG): Don't | |
261 | define here. | |
262 | * config/i386/i386.md (BP_REG, SP_REG, FLAGS_REG, FPSR_REG, | |
263 | DIRFLAG_REG): New define_constants. Use them everywhere. | |
264 | ||
da28a3b9 JR |
265 | 2004-06-21 Kaz Kojima <kkojima@gcc.gnu.org> |
266 | ||
267 | * config/sh/t-linux (MULTILIB_OPTIONS): Remove. | |
268 | ||
269 | 2004-06-21 J"orn Rennecke <joern.rennecke@superh.com> | |
270 | ||
271 | * sh.h (SUPPORT_SH1, SUPPORT_SH2E, SUPPORT_SH4): Conditionanlly define. | |
272 | (SUPPORT_SH4_SINGLE): Likewise. | |
273 | (TARGET_SWITCHES): Break out switches for cpu subtargets: | |
274 | (TARGET_SWITCH_SH1, TARGET_SWITCH_SH2, TARGET_SWITCH_SH2E): Define. | |
275 | (TARGET_SWITCH_SH3, TARGET_SWITCH_SH3E): Likewise. | |
276 | (TARGET_SWITCH_SH4_SINGLE_ONLY, TARGET_SWITCH_SH4_SINGLE): Likewise. | |
277 | (TARGET_SWITCH_SH4_NOFPU, TARGET_SWITCH_SH4): Likewise. | |
278 | (TARGET_SWITCH_SH5_64MEDIA, TARGET_SWITCH_SH5_64MEDIA_NOFPU): Likewise. | |
279 | (TARGET_SWITCHES_SH5_32MEDIA): Likewise. | |
280 | (TARGET_SWITCHES_SH5_32MEDIA_NOFPU): Likewise. | |
281 | (SELECT_SH5_64, SELECT_SH5_64_NOFPU): Rename to: | |
282 | (SELECT_SH5_64MEDIA, SELECT_SH5_64MEDIA_NOFPU) | |
283 | (SELECT_SH5_32, SELECT_SH5_32_NOFPU): Rename to: | |
284 | (SELECT_SH5_32MEDIA, SELECT_SH5_32MEDIA_NOFPU). | |
285 | (SH_MULTILIB_CPU_DEFAULT, MULTILIB_DEFAULTS): Define. | |
286 | (ASM_ISA_SPEC_DEFAULT, ASM_ISA_DEFAULT_SPEC): Likewise. | |
287 | * sh64.h (ASM_SPEC, LINK_DEFAULT_CPU_EMUL): Don't redefine. | |
288 | (TARGET_DEFAULT): Likewise. | |
289 | * config/sh/t-elf: Amend comment. | |
290 | * config/sh/t-1e, config/sh/t-mlib-sh1: New files. | |
291 | * config/sh/t-mlib-sh2, config/sh/t-mlib-sh2e: Likewise. | |
292 | * config/sh/t-mlib-sh3, config/sh/t-mlib-sh3e: Likewise. | |
293 | * config/sh/t-mlib-sh4, config/sh/t-mlib-sh4-nofpu: Likewise. | |
294 | * config/sh/t-mlib-sh4-single: Likewise. | |
295 | * config/sh/t-mlib-sh4-single-only: Likewise. | |
296 | * config/sh/t-mlib-sh5-32media: Likewise. | |
297 | * config/sh/t-mlib-sh5-32media-nofpu: Likewise. | |
298 | * config/sh/t-mlib-sh5-64media: Likewise. | |
299 | * config/sh/t-mlib-sh5-64media-nofpu: Likewise. | |
300 | * config/sh/t-mlib-sh5-compact: Likewise. | |
301 | * config/sh/t-mlib-sh5-compact-nofpu: Likewise. | |
302 | * config/sh/t-sh: (MULTILIB_ENDIAN): Add mb. | |
303 | (MULTILIB_CPUS): Define. | |
304 | (MULTILIB_OPTIONS): Use MULTILIB_CPUS. | |
305 | (MULTILIB_MATCHES): Use some shell code to calculate it. | |
306 | (MULTILIB_EXCEPTIONS): Change to ml/m1. | |
307 | * config/sh/elf.h (SUBTARGET_ASM_ISA_SPEC): Use ASM_ISA_DEFAULT_SPEC. | |
308 | * config/sh/netbsd-elf.h: Update code which sets TARGET_VERSION_CPU. | |
309 | (LINK_DEFAULT_CPU_EMUL): Don't redefine. | |
310 | (NO_PROFILE_COUNTERS): Define to 1. | |
311 | * config/sh/t-netbsd (MULTILIB_OPTIONS): Don't append to. | |
312 | (MULTILIB_DIRNAMES, MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Don't zap. | |
313 | * config/sh/t-netbsd-sh5-64 (MULTILIB_OPTIONS): Don't redefine. | |
314 | (MULTILIB_MATCHES): Don't zap. | |
315 | (MULTILIB_DIRNAMES): Use MULTILIB_RAW_DIRNAMES. | |
316 | * config/sh/t-sh64 (MULTILIB_OPTIONS): Don't redefine. | |
317 | (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Don't zap. | |
318 | (MULTILIB_RAW_DIRNAMES): Define. | |
319 | (MULTILIB_DIRNAMES): Use it. | |
320 | * config.gcc: Also set cpu_type / need_64bit_hwint for sh[be]*-*-*. | |
321 | (sh*linux configurations): Merge into: | |
322 | (sh*elf / sh*kaos configurations). Support --with-endian, --with-cpu, | |
323 | --with-multilib-list options. Support sh-superh-elf configuration. | |
324 | (sh*-netbsd*): Use SELECT_SH* macros. | |
325 | (supported_defaults): sh[123456ble]-*-* | sh-*-* support "cpu". | |
326 | Merge sh*-*-netbsd* configurations into sh-elf configurations. | |
b16c5d49 | 327 | * config/sh/t-netbsd-sh5, config/sh/t-be, config/sh/t-le: Delete. |
da28a3b9 JR |
328 | * config/sh/t-monolib: Likewise. |
329 | ||
de6f27a8 PB |
330 | 2004-06-21 Paul Brook <paul@codesourcery.com> |
331 | ||
332 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Soft-float need | |
333 | not imply FPA. | |
334 | ||
54d581a2 RS |
335 | 2004-06-21 Roger Sayle <roger@eyesopen.com> |
336 | ||
337 | * fold-const.c (operand_equal_p): Pass flags in recursive calls for | |
338 | binary and relational operations. Add support for TRUTH_ANDIF_EXPR, | |
339 | TRUTH_ORIF_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR and TRUTH_XOR_EXPR. | |
340 | * tree.c (commutative_tree_code): Also list UNORDERED_EXPR, | |
341 | ORDERED_EXPR, UNEQ_EXPR, LTGT_EXPR, TRUTH_AND_EXPR, TRUTH_OR_EXPR | |
342 | and TRUTH_XOR_EXPR. | |
343 | ||
19aec195 PB |
344 | 2004-06-21 Paolo Bonzini <bonzini@gnu.org> |
345 | ||
346 | * rtlanal.c (may_trap_p): Mark LTGT as trapping. | |
347 | ||
b40410b9 JM |
348 | 2004-06-21 Joseph S. Myers <jsm@polyomino.org.uk> |
349 | ||
350 | * tree-alias-common.h (struct tree_alias_ops): Change ip and | |
351 | ip_partial to unsigned int. | |
352 | ||
3a5b9284 RH |
353 | 2004-06-21 Richard Henderson <rth@redhat.com> |
354 | ||
355 | * c-common.c (verify_sequence_points): Export. | |
356 | (c_expand_expr_stmt): Move to c-typeck.c. | |
357 | * c-common.h (c_expand_expr_stmt): Remove. | |
358 | (verify_sequence_points): Declare. | |
359 | * c-mudflap.c (mflang_flush_calls): Use c_finish_expr_stmt. | |
360 | * c-parse.in (for_init_stmt, stmt): Likewise. | |
361 | * c-tree.h (c_finish_expr_stmt): Declare. | |
362 | (c_tree_expr_nonnegative_p): Remove. | |
363 | * c-typeck.c (c_tree_expr_nonnegative_p): Remove. | |
364 | (build_conditional_expr, build_binary_op): Use tree_expr_nonnegative_p. | |
365 | (emit_side_effect_warnings): New. | |
366 | (c_finish_expr_stmt): Rename from c_expand_expr_stmt. Use it. | |
367 | (c_finish_stmt_expr): Work without EXPR_STMT. Handle eh regions. | |
368 | Use emit_side_effect_warnings. | |
369 | (push_cleanup): Copy STATEMENT_LIST_STMT_EXPR. | |
370 | * fold-const.c (tree_expr_nonnegative_p): Handle TARGET_EXPR. | |
371 | * gimplify.c (gimplify_modify_expr): Don't discard TARGET_EXPR | |
372 | with void initializer. | |
373 | (gimplify_target_expr): Handle void BIND_EXPR initializer. | |
374 | * tree-inline.c (estimate_num_insns_1): Fix type lookup for | |
375 | INIT_EXPR and MODIFY_EXPR. | |
376 | * objc/objc-act.c (build_module_descriptor): Use add_stmt | |
377 | instead of c_expand_expr_stmt. | |
378 | ||
2c486ea7 PB |
379 | 2004-06-21 Paolo Bonzini <bonzini@gnu.org> |
380 | ||
381 | * fold-const.c (fold_cond_expr_with_comparison): | |
382 | New function, extracted from fold. | |
383 | (fold): Extract code to fold A op B ? A : C, use | |
384 | it to fold A op B ? C : A. Really optimize | |
385 | A & N ? N : 0 where N is a power of two. Avoid | |
386 | relying on canonicalization and recursion for | |
387 | foldings of COND_EXPR to happen. | |
0b4da8a1 | 388 | |
5c234cd7 DA |
389 | 2004-06-20 David Ayers <d.ayers@inode.at> |
390 | ||
391 | * objc/objc-act.h (get_object_reference): Rename to | |
392 | get_protocol_reference. | |
393 | (super_type): Rename to objc_super_type. | |
394 | (selector_type): Rename to objc_selector_type. | |
395 | (id_type): Rename to objc_id_type. | |
396 | (instance_type): Rename to objc_instance_type. | |
397 | (protocol_type): Rename to objc_protocol_type. | |
398 | (IS_ID): Update reference to id_type. | |
399 | * objc/objc-act.c (get_object_reference): Rename to | |
400 | get_protocol_reference; add documentation; update references to | |
401 | id_type. | |
402 | (lookup_method_in_protocol_list): Rename class_meth to | |
403 | is_class; add documentation. | |
404 | (finish_message_expr): Rename is_class to class_tree. | |
405 | (synth_module_prologue, objc_is_object_ptr, objc_build_exc_ptr, | |
406 | next_sjlj_build_try_catch_finally, objc_begin_catch_clause, | |
407 | build_next_objc_exception_stuff, get_arg_type_list, | |
408 | build_objc_method_call): Update references to id_type. | |
409 | (synth_module_prologue, build_objc_symtab_template, | |
410 | build_selector_reference_decl, build_selector, | |
411 | build_selector_translation_table, build_typed_selector_reference, | |
412 | get_arg_type_list, synth_self_and_ucmd_args, get_arg_type_list, | |
413 | synth_self_and_ucmd_args): Update references to selector_type. | |
414 | (build_private_template, build_ivar_reference): Update references | |
415 | to instance_type. | |
416 | (synth_module_prologue, build_protocol_reference, | |
417 | build_protocol_expr, start_protocol): Update references to | |
418 | protocol_type. | |
419 | (synth_module_prologue, get_arg_type_list, build_objc_method_call): | |
420 | Update references to super_type. | |
421 | * c-parse.in: (typespec_nonreserved_nonattr): Update | |
422 | references to get_object_reference. | |
423 | * objc/objc-tree.def: Add C mode identifier sequence. | |
424 | ||
5e962776 ZD |
425 | 2004-06-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
426 | ||
427 | * loop-invariant.c: New file. | |
428 | * Makefile.in (loop-invariant.o): New. | |
429 | * cfgloop.h (global_cost_for_size, init_set_costs, | |
430 | move_loop_invariants): Declare. | |
431 | * cfgloopanal.c (seq_cost, init_set_costs, global_cost_for_size): New | |
432 | functions. | |
433 | (avail_regs, res_regs, small_cost, pres_cost, spill_cost): New | |
434 | variables. | |
435 | * common.opt (floop-optimize2, fmove-loop-invariants): New options. | |
436 | * loop-init.c (loop_optimizer_init): Call init_set_costs. | |
437 | * passes.c (rest_of_handle_loop2): Call move_loop_invariants. | |
438 | (rest_of_compilation): Check flag_loop_optimize2. | |
439 | * toplev.c (process_options): Handle flag_loop_optimize2. | |
440 | * doc/invoke.texi (-floop-optimize2, -fmove-loop-invariants): Document. | |
441 | * doc/passes.texi (loop-invariant.c): Document. | |
442 | ||
2e24fa83 ZD |
443 | 2004-06-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
444 | ||
445 | * tree-ssa-pre.c (compute_antic): Keep BB_VISITED flag zeroed. | |
446 | ||
b9861bff RH |
447 | 2004-06-20 Richard Henderson <rth@redhat.com> |
448 | ||
449 | * stmt.c (warn_if_unused_value): Add locus argument. | |
450 | * tree.h (warn_if_unused_value): Update decl. | |
451 | * c-typeck.c (internal_build_compound_expr): Update call. | |
452 | * c-gimplify.c (gimplify_expr_stmt): Likewise. | |
453 | ||
91278841 AP |
454 | 2004-06-20 Andrew Pinski <pinskia@physics.uc.edu> |
455 | ||
456 | PR middle-end/16089 | |
457 | * builtins.c (entry_of_function): Move to ... | |
458 | * cfgrtl.c (entry_of_function): Here and make non-static. | |
459 | * integrate.c (emit_initial_value_sets): Use entry_of_function. | |
460 | * rtl.h (entry_of_function): Prototype. | |
461 | ||
e0c00392 RS |
462 | 2004-06-20 Roger Sayle <roger@eyesopen.com> |
463 | ||
464 | * config/i386/i386.c (pentium4_cost): Increase "lea" cost from 1 to 3. | |
465 | (ix86_rtx_costs) <ASHIFT, PLUS>: Consider ix86_cost->lea even when | |
466 | TARGET_DECOMPOSE_LEA. | |
467 | ||
543a0daa RH |
468 | 2004-06-20 Richard Henderson <rth@redhat.com> |
469 | ||
470 | * c-common.h (add_decl_stmt): Move to cp-tree.h. | |
471 | * c-decl.c (finish_decl): Don't use add_decl_stmt. | |
472 | * c-parse.in: Likewise. | |
473 | * c-gimplify.c (gimplify_expr_stmt): Don't build CLEANUP_POINT_EXPR. | |
474 | (gimplify_c_loop, gimplify_return_stmt, gimplify_decl_stmt): Likewise. | |
475 | * c-semantics.c (add_decl_stmt): Move to cp/semantics.c. | |
476 | ||
5a508662 RH |
477 | 2004-06-20 Richard Henderson <rth@redhat.com> |
478 | ||
479 | * c-common.def (IF_STMT, CLEANUP_STMT): Move to cp-tree.def. | |
480 | * c-common.h (IF_COND, THEN_CLAUSE, ELSE_CLAUSE, CLEANUP_BODY, | |
481 | CLEANUP_EXPR, CLEANUP_DECL): Move to cp-tree.h. | |
482 | (c_common_stmt_codes): Remove IF_STMT, CLEANUP_STMT. | |
483 | * c-dump.c (c_dump_tree): Move IF_STMT, CLEANUP_STMT to cp_dump_tree. | |
484 | * c-pretty-print.c (pp_c_statement): Similarly. | |
485 | * c-gimplify.c (gimplify_cleanup_stmt, gimplify_cleanup_stmts, | |
486 | gimplify_if_stmt): Move to cp-gimplify.c. | |
487 | (c_genericize, c_gimplify_expr): Don't call them. | |
488 | * c-semantics.c (push_cleanup): Move to cp/semantics.c. | |
489 | * c-typeck.c (push_cleanup): New. | |
490 | (c_begin_if_stmt, c_finish_if_cond, c_finish_then, c_finish_else, | |
491 | c_finish_if_stmt): Use COND_EXPR. | |
492 | * tree.h (CLEANUP_EH_ONLY): Update documentation. | |
493 | ||
84b8b0e0 ZW |
494 | 2004-06-20 Zack Weinberg <zack@codesourcery.com> |
495 | ||
496 | * c-common.h (has_c_linkage): New interface. | |
497 | * c-cppbuiltin.c: Include target.h. | |
498 | (c_cpp_builtins): Define __PRAGMA_REDEFINE_EXTNAME and | |
499 | __PRAGMA_EXTERN_PREFIX when appropriate. | |
500 | * c-pragma.c: Include target.h. | |
501 | Document clarified semantics of symbol-renaming #pragmas. | |
502 | (handle_pragma_redefine_extname, handle_pragma_extern_prefix) | |
503 | (maybe_apply_renaming_pragma): Rewrite according to clarified | |
504 | semantics. Always recognize, but do not necessarily execute. | |
505 | (init_pragma): Unconditionally register symbol-renaming pragmas. | |
506 | * system.h: Poison HANDLE_PRAGMA_REDEFINE_EXTNAME | |
507 | and HANDLE_PRAGMA_EXTERN_PREFIX. | |
508 | * target.h (struct gcc_target): Add handle_pragma_redefine_extname | |
509 | and handle_pragma_extern_prefix flags. | |
510 | * target-def.h: Add defaults for TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME | |
511 | and TARGET_HANDLE_PRAGMA_EXTERN_PREFIX. | |
512 | * Makefile.in (c-pragma.o, c-cppbuiltin.o): Update dependencies. | |
513 | * config/sol2.h: Define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME, | |
514 | not HANDLE_PRAGMA_REDEFINE_EXTNAME. | |
515 | (TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_REDEFINE_EXTNAME. | |
516 | (TRANSFER_FROM_TRAMPOLINE): Prototype mprotect. | |
517 | * config/alpha/osf.h: Define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX, | |
518 | not HANDLE_PRAGMA_EXTERN_PREFIX. | |
519 | (TARGET_OS_CPP_BUILTINS): No need to define __PRAGMA_EXTERN_PREFIX. | |
520 | * doc/extend.texi (Solaris Pragmas, Tru64 Pragmas): Combine | |
521 | into one section "Symbol-Renaming Pragmas"; clarify; document | |
522 | adjusted semantics. | |
523 | ||
524 | * builtins.c (expand_builtin): Do not issue error for a builtin | |
525 | with no special case code and no DECL_ASSEMBLER_NAME; just do the | |
526 | library call. | |
527 | * c-decl.c (builtin_function): Don't call make_decl_rtl. | |
528 | * c-objc-common.c (has_c_linkage): Stub implementation. | |
529 | * cgraphunit.c (cgraph_expand_function) | |
530 | (cgraph_remove_unreachable_nodes): Don't clear DECL_ARGUMENTS. | |
531 | ||
14f661f1 RS |
532 | 2004-06-19 Roger Sayle <roger@eyesopen.com> |
533 | ||
534 | * builtins.c (fold_builtin_unordered_cmp): Take an EXP argument | |
535 | instead of both an ARGLIST and a result TYPE. Handle these C99 | |
536 | comparison functions as "polymorphic" builtins. Also handle | |
537 | lowering of BUILT_IN_ISUNORDERED to an UNORDERED_EXPR tree node. | |
538 | (fold_builtin_1): Update calls to fold_builtin_unordered_cmp. | |
539 | Move handling of BUILT_IN_ISUNORDERED from here to there. | |
540 | ||
541 | 2004-06-19 Richard Henderson <rth@redhat.com> | |
7c34ced1 RH |
542 | |
543 | * c-common.c, c-common.h (lang_gimplify_stmt): Remove. | |
544 | * c-gimplify.c: Remove unnecessary prototypes. | |
545 | (c_gimplify_stmt): Merge into ... | |
546 | (c_gimplify_expr): ... here. Don't play with prep_stmt. | |
547 | * c-semantics.c (prep_stmt): Remove. | |
548 | * gimplify.c (annotate_one_with_locus): Break out from ... | |
549 | (annotate_all_with_locus): ... here. | |
550 | (gimplify_expr): Add locus to expressions even if pre/post queues | |
551 | are not present. | |
552 | ||
ebca59c3 RH |
553 | 2004-06-19 Richard Henderson <rth@redhat.com> |
554 | ||
555 | PR target/15941 | |
556 | * function.c (assign_parms): If not padding upward or intentionally | |
557 | forcing upward padding, take offset_rtx into account when determining | |
558 | the alignment for stack_parm. | |
559 | ||
8426c25e RH |
560 | 2004-06-19 Richard Henderson <rth@redhat.com> |
561 | ||
562 | PR target/15550 | |
563 | * ifcvt.c (noce_try_move): Recognize all generated instructions. | |
564 | ||
eb4e1c01 JH |
565 | 2004-06-19 Jan Hubicka <jh@suse.cz> |
566 | ||
567 | * function.c (free_after_compilation): Do not free computed_goto_common*. | |
568 | * function.h (struct function): Kill computed_goto_common*. | |
569 | * stmt.c (expand_computed_goto): Do not commonize the computed gotos. | |
570 | * tree-cfg.c (disband_implicit_edges): Do not forward across the | |
571 | commonized computed goto. | |
572 | ||
bc443e6d JDA |
573 | 2004-06-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
574 | ||
575 | * doc/invoke.texi: Remove obsolete comment regarding PA 2.0 support | |
576 | in binutils. | |
577 | ||
f44703b5 AP |
578 | 2004-06-19 Andrew Pinski <apinski@apple.com> |
579 | ||
580 | PR c++/15721 | |
581 | * toplev.c (wrapup_global_declarations): Do not check | |
582 | TREE_SYMBOL_REFERENCED of the DECL_ASSEMBLER_NAME but check | |
583 | cgraph_varpool_node's needed field. | |
584 | ||
242229bb JH |
585 | 2004-06-19 Jan Hubicka <jh@suse.cz> |
586 | Steven Bosscher <stevenb@suse.de> | |
587 | ||
588 | CFG transparent RTL expansion: | |
589 | * Makefile.in (cfgexpand.o): New object file. | |
590 | (builtins.o): Add dependency on basic-block.h | |
591 | * builtins.c: Include basic-block.h | |
592 | (entry_of_function): New function. | |
593 | (expand_builtin_apply_args, expand_builtin_saveargs): Use it. | |
594 | * cfgexpand.c: New file. | |
595 | * expr.c (execute_expand, pass_expand): Kill. | |
596 | * pass.c (rest_of_compilation): Do not build CFG unless called from | |
597 | coverage code. | |
598 | * tree-cfg.c (delete_tree_cfg): Rename to.. | |
599 | (delete_tree_cfg_annotations): ... this one; Do not remove the CFG itself. | |
600 | * tree-flow.h (delete_tree_cfg_annotations): Declare. | |
601 | (dleete_tree_cfg): Kill. | |
602 | * tree-optimize.c (execute_rebuild_bind, pass_rebuild_bind): Kill. | |
603 | (execute_del_cfg): Rename to... | |
604 | (execute_free_datastructures): This one... | |
605 | (pass_del_cfg): Rename to... | |
606 | (pass_free_datastructures): ... this one; Do not kill PROP_cfg. | |
607 | (init_tree_optimization_passes): Make cfg build and profiling to happen | |
608 | unconditionally. | |
609 | ||
610 | 2004-06-19 Steven Bosscher <stevenb@suse.de> | |
611 | ||
612 | * tree-mudflap.c (mf_decl_cache_locals): Skip labels before | |
613 | inserting the cache variables. | |
614 | ||
615 | * tree-mudflap.c: Include headers to make basic_block available. | |
616 | Move functions around such that related functions are near each | |
617 | other. Add prototypes for all static functions. Add comments | |
618 | briefly explaining what IR the mudflap1 and mudflap2 work on and | |
619 | what they do. | |
620 | (mudflap_function_decls): Rename to execute_mudflap_function_decls. | |
621 | (mudflap_function_ops): Rename to execute_mudflap_function_ops. | |
622 | (pass_mudflap_1, pass_mudflap_2): Update. | |
623 | (mf_decl_cache_locals): Make it work on the CFG instead of the saved | |
624 | function tree. | |
625 | (mf_build_check_statement_for): Make it work on the CFG. | |
626 | (mf_xform_derefs_1): Likewise. Cleanup code style. | |
627 | (mf_xform_derefs): Likewise. | |
628 | ||
629 | 2004-06-19 Jan Hubicka <jh@suse.cz> | |
630 | ||
631 | * tree-cfg.c (label_to_block): Invent the label destination for | |
632 | undefined labels. | |
633 | (cleanup_dead_labels): Update table in the case label_to_block added | |
634 | new label. | |
635 | ||
ff98621c RH |
636 | 2004-06-18 Richard Henderson <rth@redhat.com> |
637 | ||
84b8b0e0 | 638 | PR c++/16036 |
ff98621c RH |
639 | * gimple-low.c (lower_function_body): Generate return statement for |
640 | fall off the end of the function here ... | |
641 | * tree-cfg.c (make_edges): ... instead of here. | |
642 | * gimplify.c (gimplify_return_expr): Mark return temp TREE_NO_WARNING. | |
643 | ||
048d9936 ZD |
644 | 2004-06-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
645 | ||
646 | * tree-ssa.c (raise_value): Removed. | |
647 | (get_eq_name, check_phi_redundancy): New functions. | |
648 | (kill_redundant_phi_nodes): Use standard ssa minimalization algorithm. | |
649 | ||
ee8db92b RS |
650 | 2004-06-18 Roger Sayle <roger@eyesopen.com> |
651 | ||
652 | * fold-const.c (fold) <UNORDERED_EXPR, ORDERED_EXPR, UNLT_EXPR, | |
653 | UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR>: Add | |
654 | constant folding for unordered comparison tree nodes. If both | |
655 | operands are real constants, call fold_relational_const. If either | |
656 | operand is a NaN, evaluate the other for side-effects and return a | |
657 | constant. Optimize (double)float1 CMP (double)float2 into the | |
658 | equivalent float1 CMP float2. | |
659 | (nondestructive_fold_binary_to_constant) <UNORDERED_EXPR, | |
660 | ORDERED_EXPR, UNLT_EXPR, UNLE_EXPR, UNGT_EXPR, UNGE_EXPR, UNEQ_EXPR, | |
661 | LTGT_EXPR>: Call fold_relational_const for constant operands. | |
662 | (fold_relational_const): Add support for unordered comparison tree | |
663 | nodes. Don't constant fold "ordered" floating point comparisons | |
664 | against NaN if when flag_trapping_math is set. | |
665 | ||
e1af8299 JJ |
666 | 2004-06-19 Jakub Jelinek <jakub@redhat.com> |
667 | ||
668 | * fold-const.c (build_range_check): If !in_p and recursive call | |
669 | fails, exit immediately. If high - low overflows and etype is | |
670 | a signed type, retry with unsigned etype. | |
671 | (merge_ranges): If !in0_p and !in1_p, handle even range2 adjacent | |
672 | to range1 at TYPE_MAX_VALUE and TYPE_MIN_VALUE. | |
673 | ||
caf2523d RH |
674 | 2004-06-18 Richard Henderson <rth@redhat.com> |
675 | ||
676 | * c-gimplify.c (gimplify_condition): Remove. | |
677 | (gimplify_c_loop, gimplify_if_stmt, gimplify_switch_stmt): Don't | |
678 | call it. | |
679 | ||
7465ed07 RH |
680 | 2004-06-18 Richard Henderson <rth@redhat.com> |
681 | ||
682 | * tree-eh.c (decide_copy_try_finally): Fix scaling of copy and | |
683 | switch estimates. | |
684 | ||
a9042bb4 AP |
685 | 2004-06-18 Andrew Pinski <pinskia@physics.uc.edu> |
686 | ||
687 | * config/i386/darwin.h (HOT_TEXT_SECTION_NAME): Define. | |
688 | (NORMAL_TEXT_SECTION_NAME): Define. | |
689 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. | |
690 | (SECTION_FORMAT_STRING): Define. | |
691 | ||
3b1cce6a SB |
692 | 2004-06-18 Steven Bosscher <stevenb@suse.de> |
693 | ||
694 | * config/xtensa/xtensa.c | |
695 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define. | |
696 | * xtensa.md: Replace the old pipeline description with a DFA model. | |
697 | ||
64e1e4c4 SB |
698 | 2004-06-18 Steven Bosscher <stevenb@suse.de> |
699 | Ulrich Weigand <Ulrich.Weigand@de.ibm.com> | |
700 | ||
701 | * config/s390/s390.md: Remove the generic pipeline description. | |
702 | * config/s390/2064.md: Make all insn reservations apply to | |
703 | the z900, g5 and g6. | |
704 | * config/s390/s390.c (s390_use_dfa_pipeline_interface): Remove. | |
705 | (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): | |
706 | Define to hook_int_void_1. | |
707 | (s390_adjust_cost): Cleanup. Don't check address dependency here. | |
708 | (s390_first_cycle_multipass_dfa_lookahead): Always return 4. | |
709 | ||
06d72ee6 DB |
710 | 2004-06-18 Daniel Berlin <dberlin@dberlin.org> |
711 | Diego Novillo <dnovillo@redhat.com> | |
712 | ||
713 | * tree-dfa.c (create_var_ann): tree_ann -> tree_ann_t. | |
714 | (create_stmt_ann): Ditto. | |
715 | (create_tree_ann): New function. | |
716 | (create_cst_ann): Remove. | |
717 | (create_expr_ann): Ditto. | |
718 | ||
719 | * tree-flow-inline.h (cst_ann): Remove. | |
720 | (get_cst_ann): Ditto. | |
721 | (get_expr_ann): Ditto. | |
722 | (expr_ann): Ditto. | |
723 | (get_tree_ann): New function. | |
724 | (tree_ann): Ditto. | |
725 | (ann_type): tree_ann -> tree_ann_t. | |
726 | * tree-flow.h (tree_ann_type): CST_ANN, EXPR_ANN removed. | |
727 | (struct cst_ann_d): Removed. | |
728 | (struct expr_ann_d): Ditto. | |
729 | (union tree_ann_d): Removed cst and expr. | |
730 | (tree_ann): Renamed to tree_ann_t. | |
731 | * tree-ssa-ccp.c (set_rhs): tree_ann -> tree_ann_t. | |
732 | * tree-ssa-pre.c (get_value_handle): Rewrite for single common | |
733 | annotation. | |
734 | (set_value_handle): Ditto. | |
735 | (phi_translate): Ditto. | |
736 | * tree-tailcall.c (adjust_return_value): tree_ann -> tree_ann_t. | |
737 | ||
d627e19f KK |
738 | 2004-06-18 Kaz Kojima <kkojima@gcc.gnu.org> |
739 | ||
740 | * config/sh/t-linux64: New file. | |
741 | * config.gcc: Add it to tmake_file for sh64*-*-linux*. | |
742 | ||
fd743bc1 PB |
743 | 2004-06-18 Paolo Bonzini <bonzini@gnu.org> |
744 | ||
745 | * emit-rtl.c (unshare_all_rtl_1): New name of unshare_all_rtl. | |
746 | (unshare_all_rtl_again): Call unshare_all_rtl_1. | |
747 | (unshare_all_rtl): New. | |
748 | * function.c (instantiate_virtual_regs): Remove parameters. | |
749 | * function.h (instantiate_virtual_regs): Add prototype. | |
750 | * rtl.h (unshare_all_rtl): Add prototype. | |
751 | * tree.h (instantiate_virtual_regs, unshare_all_rtl): Remove | |
752 | prototype. | |
753 | * passes.c: Remove assertions on the parameters to | |
754 | rest_of_handle_* functions. Remove the parameters to | |
755 | the functions, replacing decl with current_function_decl | |
756 | and insns with get_insns (). | |
757 | ||
9bb80bb2 RS |
758 | 2004-06-17 Roger Sayle <roger@eyesopen.com> |
759 | ||
760 | * fold-const.c (constant_boolean_node): Handle boolean_type_node | |
761 | directly, return either boolean_true_node or boolean_false_node. | |
762 | ||
776dc15d KC |
763 | 2004-06-18 Kelley Cook <kcook@gcc.gnu.org> |
764 | ||
765 | * opts.sh: Delete. Break out generated code to next four files. | |
766 | * opt-gather.awk: New file. | |
767 | * optc-gen.awk: New file. | |
768 | * opth-gen.awk: New file. | |
769 | * opt-functions.awk: New common file. | |
770 | * Makefile.in: Update for above. | |
771 | * configure.ac: Update comment. | |
772 | * configure: Regenerate. | |
773 | ||
093c7153 RH |
774 | 2004-06-17 Richard Henderson <rth@redhat.com> |
775 | ||
776 | * c-common.c (flag_objc_sjlj_exceptions): New. | |
777 | * c-common.h (flag_objc_sjlj_exceptions): Declare. | |
778 | * c-opts.c (c_common_handle_option): Set it. | |
779 | (c_common_post_options): Handle interation of different | |
780 | objective-c exception and runtime switches. | |
781 | * c-decl.c (c_eh_initialized_p): New. | |
782 | (finish_decl): Use it instead of local eh_initialized_p. | |
783 | * c-parse.in (nested_function, notype_nested_function): Record | |
784 | the result of compstmt. | |
785 | (compstmt_or_error): Likewise. | |
786 | (compstmt): Don't add_stmt the result. | |
787 | (stmt): Don't return anything. Rewrite objc try and sync rules. | |
788 | (objc_try_stmt, objc_catch_list): Remove. | |
789 | (objc_catch_block, objc_finally_block): Remove. | |
790 | (objc_catch_prefix, objc_catch_clause, objc_opt_catch_list): New. | |
791 | (objc_try_catch_clause, objc_finally_clause): New. | |
792 | (objc_try_catch_stmt): Rewrite. | |
793 | * c-tree.h (c_eh_initialized_p): Declare. | |
794 | * c-opt (fobjc-sjlj-exceptions): New. | |
795 | * except.c (output_function_exception_table): Don't call cgraph | |
796 | on non-decls. | |
797 | * objc/objc-act.c (UTAG_EXCDATA_VAR, UTAG_CAUGHTEXC_VAR, | |
798 | UTAG_RETHROWEXC_VAR, UTAG_EVALONCE_VAR, struct val_stack, | |
799 | catch_count_stack, exc_binding_stack, if_nesting_count, | |
800 | blk_nesting_count, objc_enter_block, objc_exit_block, | |
84b8b0e0 | 801 | objc_declare_variable, val_stack_push, val_stack_pop, |
093c7153 RH |
802 | objc_build_try_enter_fragment, objc_build_extract_expr, |
803 | objc_build_try_exit_fragment, objc_build_extract_fragment, | |
84b8b0e0 | 804 | objc_build_try_prologue, objc_build_try_epilogue, |
093c7153 RH |
805 | objc_build_catch_stmt, objc_build_catch_epilogue, |
806 | objc_build_finally_prologue, objc_build_finally_epilogue, | |
807 | objc_build_try_catch_finally_stmt, objc_build_synchronized_prologue, | |
808 | objc_build_synchronized_epilogue): Remove. | |
809 | (objc_create_temporary_var, struct objc_try_context, cur_try_context, | |
810 | objc_eh_runtime_type, objc_init_exceptions, objc_build_exc_ptr, | |
811 | next_sjlj_build_try_exit, next_sjlj_build_enter_and_setjmp, | |
812 | next_sjlj_build_exc_extract, next_sjlj_build_catch_list, | |
813 | next_sjlj_build_try_catch_finally, objc_begin_try_stmt, | |
814 | objc_begin_catch_clause, objc_finish_catch_clause, | |
815 | objc_build_finally_clause, objc_finish_try_stmt, | |
816 | objc_build_synchronized): New. | |
817 | (objc_is_object_id, objc_is_class_id): New. | |
818 | (objc_comptypes): Use them. | |
819 | (build_next_objc_exception_stuff): Break NeXT sjlj out from | |
820 | build_objc_exception_stuff. | |
821 | (synth_module_prologue): Update to match. | |
822 | (objc_build_throw_stmt): Use cur_try_context to decide if | |
823 | we're in a @catch. | |
824 | * objc/objc-act.h: Update prototypes. | |
825 | (OCTI_EXCEPTION_BLK_STACK, objc_exception_block_stack): Remove. | |
826 | ||
398ce3dd AP |
827 | 2004-06-17 Andrew Pinski <apinski@apple.com> |
828 | ||
829 | * c-typeck.c (tagged_types_tu_compatible_p <case UNION_TYPE>): | |
830 | Use TYPE_FIELDS instead of TYPE_VALUES. | |
831 | ||
2692eb7d JM |
832 | 2004-06-17 Jason Merrill <jason@redhat.com> |
833 | ||
834 | PR c++/16015 | |
835 | * gimplify.c (gimplify_target_expr): Handle void initializer. | |
836 | * expr.c (expand_expr_real_1) [TARGET_EXPR]: Likewise. | |
837 | * doc/c-tree.texi (Expression trees): Update TARGET_EXPR | |
838 | and AGGR_INIT_EXPR. | |
839 | ||
1382f0f0 RS |
840 | 2004-06-17 Roger Sayle <roger@eyesopen.com> |
841 | ||
842 | * fold-const.c (fold_relational_const): Use constant_boolean_node. | |
843 | ||
0620be18 JH |
844 | 2004-06-17 Jan Hubicka <jh@suse.cz> |
845 | ||
846 | PR target/15433 | |
847 | * i386.md (SSE SF cmov 0 splitter): The conditional is VOIDmode; fix | |
848 | operand numbering in the output template. | |
849 | (SSE DF cmov 0 splitter): The conditional is VOIDmode. | |
850 | ||
851 | 2004-06-17 Jan Hubicka <jh@suse.cz> | |
852 | ||
853 | * except.c (can_throw_internal): Recognize RESX expresisons. | |
854 | ||
2df6cea5 JH |
855 | 2004-06-17 Jan Hubicka <jh@suse.cz> |
856 | ||
857 | * cfgbuild.c (make_edges): Do not use label_value_list. | |
858 | (find_basic_blocks_1): Do not collect label_value_list. | |
859 | (find_sub_basic_blocks): Update call of make_edges. | |
860 | ||
d00ad49b AM |
861 | 2004-06-17 Andrew MacLeod <amacleod@redhat.com> |
862 | ||
863 | * tree-cfg.c (tree_make_forwarder_block): Use SET_PHI_RESULT. | |
864 | * tree-flow-inline.h (get_use_op_ptr): Return a use_operand_p. | |
865 | (get_use_from_ptr, get_def_from_ptr): New. Return operand pointers. | |
866 | (get_def_op_ptr): Return a def_operand_p instead of a 'tree *'. | |
867 | (get_v_may_def_result_ptr): Return a def_operand_p. | |
868 | (get_v_may_def_op_ptr, get_vuse_op_ptr): Return a use_operand_p. | |
869 | (get_v_must_def_op_ptr): Return a def_operand_p. | |
870 | (get_phi_result_ptr): New. Return a pointer to the result of a PHI. | |
871 | (get_phi_arg_def_ptr): New. Return a pointer to an argument of a PHI. | |
872 | (phi_element_for_edge): Remove. | |
873 | * tree-flow.h (propagate_value, replace_exp): Change prototype. | |
874 | (propagate_tree_value): Add new prototype. | |
875 | (phi_element_for_edge): Remove prototype. | |
876 | * tree-into-ssa.c (mark_def_sites): Use new operand types. | |
877 | (prepare_operand_for_rename): Split into two functions. | |
878 | (prepare_use_operand_for_rename): Prepare use operands. | |
879 | (prepare_def_operand_for_rename): Prepare def operands. | |
880 | (rewrite_stmt): Use new operand types. | |
881 | (rewrite_operand): Use new operand types, change parameter type. | |
882 | * tree-outof-ssa.c (replace_variable): Split into two functions. | |
883 | (replace_use_variable): Rewrite uses. | |
884 | (replace_def_variable): Rewrite defs. | |
885 | (rewrite_trees, rewrite_vars_out_of_ssa): Use new operand types. | |
886 | * tree-phinodes.c (make_phi_node, resize_phi_node): Use new types. | |
887 | (add_phi_arg, remove_phi_arg_num): Use new operand types. | |
888 | * tree-ssa-ccp.c (substitute_and_fold): Use new operand types. | |
889 | (ccp_fold, replace_uses_in): Use new operand types. | |
890 | * tree-ssa-copy.c (replace_ssa_names): Rename to replace_ssa_names_ann | |
891 | and no longer set the value, change parameter type. | |
892 | (replace_exp_1): Use new operand types. | |
893 | (propagate_value): Change parameter type, use new operand types. | |
894 | (propagate_tree_value): Propagate_value without SSA operands. | |
895 | (replace_exp, cprop_operand, cprop_into_stmt): Use new operand types. | |
896 | (cprop_into_successor_phis): Use new operand types. | |
897 | * tree-ssa-dom.c (thread_across_edge): Use new operand types. | |
898 | (eliminate_redundant_computations): Use new operand types. | |
899 | * tree-ssa-dse.c (fix_phi_uses): Use new operand_types. | |
900 | (fix_stmt_v_may_defs): Use new operand_types. | |
901 | * tree-ssa-live.c (create_ssa_var_map): Use new operand_types. | |
902 | (build_tree_conflict_graph): Use new operand_types. | |
903 | * tree-ssa-loop.c (duplicate_blocks): Use PHI_ARG_DEF_FROM_EDGE. | |
904 | * tree-ssa-operands.c (struct freelist_d): Remove. | |
905 | (check_optype_freelist, add_optype_freelist): Remove. | |
906 | (allocate_def_optype, allocate_use_optype, allocate_v_may_def_optype, | |
907 | allocate_vuse_optype, allocate_v_must_def_optype): Call ggc_alloc. | |
908 | (free_uses, free_defs, free_vuses, free_v_may_defs, free_v_must_defs): | |
909 | Call ggc_free instead of add_optype_freelist. | |
910 | (init_ssa_operands, fini_ssa_operands): Remove free list code. | |
911 | (finalize_ssa_defs, finalize_ssa_uses): Set new use/def operands. | |
912 | * tree-ssa-operands.h (struct def_optype_d): Change underlying type. | |
913 | (struct use_optype_d): Change underlying type. | |
914 | (def_operand_p, use_operand_p): New types for pointers to operands. | |
84b8b0e0 | 915 | (USE_OP, DEF_OP, V_MAY_DEF_RESULT, V_MAY_DEF_OP, VUSE_OP, |
d00ad49b | 916 | V_MUST_DEF_OP): Use new pointer type instead of dereferencing directly. |
84b8b0e0 | 917 | (USE_FROM_PTR, DEF_FROM_PTR): New macros to "dereference" operand |
d00ad49b AM |
918 | pointer types. |
919 | (SET_USE, SET_DEF): New macros to set operands from their pointer. | |
920 | (SET_USE_OP, SET_DEF_OP, SET_V_MAY_DEF_RESULT, SET_V_MAY_DEF_OP, | |
921 | SET_VUSE_OP, SET_V_MUST_DEF_OP): New SET routines for operands. | |
922 | (PHI_RESULT_PTR, PHI_RESULT, SET_PHI_RESULT): Macros to manage the | |
923 | PHI result as an operand. | |
924 | (PHI_ARG_DEF_PTR, PHI_ARG_DEF, SET_PHI_ARG_DEF, PHI_ARG_DEF_FROM_EDGE, | |
925 | PHI_ARG_DEF_PTR_FROM_EDGE): Macros to manage the PHI arguments. | |
926 | * tree-ssa-pre.c (eliminate): Call propagate_tree_value. | |
927 | * tree-tailcall.c (independent_of_stmt_p, propagate_through_phis): Use | |
928 | PHI_ARG_DEF_FROM_EDGE. | |
929 | * tree.h (PHI_RESULT): Renamed to PHI_RESULT_TREE. | |
930 | (PHI_ARG_DEF): Renamed to PHI_ARG_DEF_TREE. | |
931 | ||
d7621d3c ZD |
932 | 2004-06-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
933 | ||
934 | PR tree-optimization/15991 | |
935 | * tree-cfg.c (tree_block_label): Export. | |
936 | * tree-flow-inline.h (bsi_after_labels): New function. | |
937 | * tree-flow.h (bsi_after_labels, tree_block_label): Declare. | |
938 | * tree-ssa.c (propagate_into_addr): New function. | |
939 | (replace_immediate_uses): Handle propagation of pointer constants. | |
940 | (raise_value): Do not restrict propagation of pointer constants. | |
941 | * tree-ssanames.c (duplicate_ssa_name): New function. | |
942 | * tree.h (duplicate_ssa_name): Declare. | |
943 | ||
f2b5cf97 | 944 | 2004-06-17 David Ayers <d.ayers@inode.at> |
84b8b0e0 | 945 | |
f2b5cf97 DA |
946 | * c-parse.in: Unify Objective-C token names. |
947 | ||
c50a0116 ZW |
948 | 2004-06-17 Zack Weinberg <zack@codesourcery.com> |
949 | ||
950 | Bug 14610 | |
951 | * Makefile.in (min-insn-modes.o): Correct dependencies. | |
952 | * real.c (encode_ieee_extended, decode_ieee_extended): Always | |
953 | produce/consume 12-byte little-endian Intel format. | |
954 | (encode_ieee_extended_128, decode_ieee_extended_128): Delete. | |
955 | (encode_ieee_extended_motorola, decode_ieee_extended_motorola) | |
956 | (encode_ieee_extended_intel_96, decode_ieee_extended_intel_96) | |
957 | (encode_ieee_extended_intel_128, decode_ieee_extended_intel_128): | |
958 | New functions which convert between 12-byte little-endian Intel | |
959 | format and the desired format. | |
960 | (ieee_extended_motorola_format, ieee_extended_intel_96_round_53_format) | |
961 | (ieee_extended_intel_96_format, ieee_extended_intel_128_format): | |
962 | Update. | |
963 | ||
42eb30b5 ZW |
964 | 2004-06-17 Zack Weinberg <zack@codesourcery.com> |
965 | ||
966 | * expmed.c (expand_mult_const): In sanity check, compare only | |
967 | the bits of val and val_so_far that are significant in the | |
968 | result mode. | |
969 | ||
ca072a31 DB |
970 | 2004-06-17 Daniel Berlin <dberlin@dberlin.org> |
971 | ||
972 | * tree-ssa-pre.c: Update comments. | |
973 | (val_expr_pair_eq): Factor code from here. | |
974 | (expr_pred_trans_eq): and here. | |
975 | (expressions_equal_p): To here. | |
976 | (print_value_set): Print value for expression. | |
977 | (phi_trans_lookup): Rename some variables. | |
978 | (lookup): Ditto. | |
979 | (value_exists_in_set_bitmap): Ditto. | |
980 | (value_remove_from_set_bitmap): Ditto. | |
981 | (value_insert_into_set_bitmap): Ditto. | |
982 | ||
5d880bd2 UW |
983 | 2004-06-17 Ulrich Weigand <uweigand@de.ibm.com> |
984 | ||
985 | * config/s390/s390-modes.def (CCL3mode): New machine mode. | |
986 | * config/s390/s390.c (s390_match_ccmode_set): Support CCL3mode. | |
987 | (s390_alc_comparison, s390_slb_comparison): Likewise. | |
988 | (s390_branch_condition_mask): Likewise. | |
989 | * config/s390/s390.md ("*subdi3_cc2", "*subdi3_cconly2"): New. | |
990 | ("*subsi3_cc2", "*subsi3_cconly2"): New. | |
991 | ||
992 | * config/s390/s390.h (PREDICATE_CODE): Accept SIGN_EXTEND and | |
993 | ZERO_EXTEND for s390_alc_comparison and s390_slb_comparison. | |
994 | * config/s390/s390.c (s390_alc_comparison, s390_slb_comparison): | |
995 | Handle SIGN_EXTEND and ZERO_EXTEND. | |
996 | ||
997 | * config/s390/s390-protos.h (s390_expand_addcc): New prototype. | |
998 | * config/s390/s390.c (s390_expand_addcc): New function. | |
999 | * config/s390/s390.md ("adddicc", "addsicc"): New expanders. | |
1000 | ("*sconddi", "*scondsi", "*sconddi_neg", "*scondsi_neg"): New insns. | |
1001 | ("sltu", "sgtu", "sleu", "sgeu"): New expanders. | |
1002 | ||
d96f6b59 BE |
1003 | 2004-06-17 Ben Elliston <bje@au.ibm.com> |
1004 | ||
ac534736 BE |
1005 | * tree-alias-common.c: Add whitespace. |
1006 | * tree-inline.c: Correct comment about this file's purpose. | |
1007 | * tree-optimize.c: Likewise. | |
1008 | * tree-tailcall.c: Likewise. | |
c50a0116 | 1009 | |
d96f6b59 BE |
1010 | * tree-alias-ander.h: Add standard top-of-file comment. |
1011 | * tree-alias-common.h: Likewise. | |
1012 | * tree-alias-type.h: Likewise. | |
1013 | ||
f44272ee DB |
1014 | 2004-06-16 Daniel Berlin <dberlin@dberlin.org> |
1015 | ||
1016 | * tree-ssa-pre.c (compute_avail): Value number uses as well. | |
1017 | Strip useless type conversions. | |
1018 | Casts have to be treated slightly different than normal unaries. | |
1019 | ||
5882f0f3 RH |
1020 | 2004-06-16 Richard Henderson <rth@redhat.com> |
1021 | ||
1022 | * c-common.def (COMPOUND_STMT): Remove. | |
1023 | * c-common.c (finish_fname_decls): Don't look through it. | |
1024 | * c-typeck.c (c_tree_expr_nonnegative_p): Likewise. | |
1025 | * c-common.h (COMPOUND_BODY): Remove. | |
1026 | (c_common_stmt_codes): Remove COMPOUND_STMT. | |
1027 | * c-dump.c (c_dump_tree): Likewise. | |
1028 | * c-gimplify.c (c_gimplify_stmt): Likewise. | |
1029 | * c-pretty-print.c (pp_c_statement): Likewise. | |
1030 | * tree.h (DECL_SAVED_TREE): Update commentary. | |
1031 | * doc/c-tree.texi (ASM_EXPR): Rename from ASM_STMT. | |
1032 | (CASE_LABEL_EXPR): Rename from CASE_LABEL. | |
1033 | (GOTO_EXPR): Rename from GOTO_STMT. | |
1034 | (GOTO_FAKE_P): Remove. | |
1035 | (COMPOUND_STMT): Remove. | |
1036 | (HANDLER): Update wrt COMPOUND_STMT. | |
1037 | (STMT_EXPR): Likewise. | |
1038 | (LABEL_EXPR): Rename from LABEL_STMT. | |
1039 | (SCOPE_STMT): Remove. | |
1040 | * objc/objc-act.c (objc_build_try_catch_finally_stmt): Don't look | |
1041 | through COMPOUND_STMT. | |
1042 | ||
9e51cf9d RH |
1043 | 2004-06-16 Richard Henderson <rth@redhat.com> |
1044 | ||
1045 | * c-common.h (c_begin_if_stmt, c_begin_while_stmt, | |
1046 | c_finish_while_stmt_cond): Remove decls. | |
1047 | * c-parse.in (if_prefix): Don't save c_begin_if_stmt result. | |
1048 | * c-typeck.c (c_begin_if_stmt): Return void. | |
1049 | (c_begin_else): Tidy. Save stmt_count. | |
1050 | * c-tree.h (c_begin_if_stmt): Update decl. | |
1051 | ||
1052 | * objc/objc-act.c (objc_build_try_enter_fragment, | |
1053 | objc_build_extract_fragment, objc_build_try_epilogue, | |
1054 | objc_build_catch_stmt, objc_build_catch_epilogue, | |
1055 | objc_build_finally_prologue, objc_build_finally_epilogue): Update | |
1056 | for if builder function changes. | |
1057 | ||
b767fc11 UW |
1058 | 2004-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
1059 | ||
1060 | * config/s390/s390.c (struct machine_function): New member | |
1061 | last_restore_gpr. | |
1062 | (s390_frame_info): Add BASE_USED and RETURN_ADDR_USED parameters. | |
1063 | Do not modify machine->save_return_addr_p or regs_ever_live. | |
1064 | Fill in machine->last_restore_gpr. | |
1065 | (s390_optimize_prolog): Use s390_frame_info to compute registers | |
1066 | to save/restore, remove duplicated code. | |
1067 | (s390_arg_frame_offset): Use s390_frame_info to compute frame | |
1068 | size, remove duplicated code. | |
1069 | (s390_emit_prologue): Adapt s390_frame_info call. Update | |
1070 | machine->save_return_addr_p and regs_ever_live. | |
1071 | (s390_emit_epilogue): Use machine->last_restore_gpr instead of | |
1072 | machine->last_save_gpr. | |
1073 | ||
16865eaa RH |
1074 | 2004-06-16 Richard Henderson <rth@redhat.com> |
1075 | ||
1076 | * c-parse.in (if_stmt_locus): Remove. | |
1077 | (if_prefix): Increment stmt_count; pass it to c_finish_if_cond. | |
1078 | (select_or_iter_stmt): Move empty if warnings to c-typeck.c. | |
1079 | * c-typeck.c (if_elt): Sort by expected size. Rename locus to | |
1080 | empty_locus. Add stmt_count, saw_else. | |
1081 | (c_begin_if_stmt): Push if_stack here. | |
1082 | (c_finish_if_cond): Rename from c_expand_end_cond. Record stmt_count. | |
1083 | (c_finish_then, c_finish_else): Record empty_locus. | |
1084 | (c_begin_else): Rename from c_expand_start_else. Record stmt_count. | |
1085 | (c_finish_if_stmt): Rename from c_expand_end_cond. Warn for empty | |
1086 | if or else body. | |
1087 | * c-tree.h: Update prototypes. | |
1088 | ||
17192884 SB |
1089 | 2004-06-16 Steven Bosscher <stevenb@suse.de> |
1090 | ||
1091 | * tree.h (PHI_CHAIN): New. | |
1092 | * (tree-cfg.c, tree-dfa.c, tree-flow-inline.h, tree-into-ssa.c, | |
1093 | tree-outof-ssa.c, tree-phinodes.c, tree-pretty-print.c, | |
1094 | tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-dse.c, | |
1095 | tree-ssa-live.c, tree-ssa-loop.c, tree-ssa-phiopt.c, tree-ssa-pre.c, | |
1096 | tree-ssa.c, tree-tailcall.c): Use PHI_CHAIN instead of TREE_CHAIN | |
1097 | when traversing a list of PHI_NODEs. | |
1098 | ||
a7d840c7 BI |
1099 | 2004-06-16 Bernardo Innocenti <bernie@develer.com> |
1100 | ||
1101 | PR target/13292 | |
1102 | * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040_ONLY | |
1103 | on -msoft-float. | |
1104 | (TARGET_FLT_EVAL_METHOD): Don't advertise extended precision for | |
1105 | 68040 and soft-float. | |
1106 | * config/m68k/m68k.md (truncdfsf2): Explicitly require TARGET_68881 | |
1107 | in the TARGET_68040_ONLY case. | |
1108 | ||
1109 | 2004-06-16 Peter Barada <peter@the-baradas.com> | |
5e04daf3 PB |
1110 | |
1111 | * config/m68k/m68k.md (movsi_cfv4): New pattern to allow mov3q. | |
1112 | (movsi_cf): Make named, don't match TARGET_CFV4. | |
1113 | (pushexthisi_const): Use mov3q if possible. | |
1114 | (extendhisi2, cvf4_extendhisi2): Split extendhisi2 pattern | |
1115 | to special case mvz.w for ColdFire V4. | |
1116 | (extendqisi2, cvf4_extendqisi2): Split extendhisi2 pattern | |
1117 | to special case mvz.b for ColdFire V4. | |
1118 | (udivmodhi4, divmodhi4): Use mvz to zero extend arg for | |
1119 | divide. | |
1120 | (iorsi3, xorsi3, andsi3): Use bitfield instructions if possible. | |
1121 | * config/m68k/m68k.c(valid_mov3q_const): New function. | |
1122 | (const_method): SWAP is valid for ColdFire. | |
1123 | (MULL_COST, MULW_COST): Fix costs for ColdFire V3/V4. | |
1124 | * config/m68k/m68k-protos.h (valid_mov3q_const): Prototype here. | |
1125 | ||
8c161995 RH |
1126 | 2004-06-16 Richard Henderson <rth@redhat.com> |
1127 | ||
1128 | * c-common.def (CASE_LABEL): Remove. | |
1129 | * c-common.c (c_add_case_label): Use CASE_LABEL, not CASE_LABEL_DECL. | |
1130 | (match_case_to_enum_1): Likewise. | |
1131 | * c-common.h (c_common_stmt_codes): Remove CASE_LABEL. | |
1132 | * c-dump.c (c_dump_tree): Likewise. | |
1133 | * c-gimplify.c (c_gimplify_stmt): Likewise. | |
1134 | * c-pretty-print.c (pp_c_statement): Likewise. | |
1135 | * c-semantics.c (build_case_label): Use CASE_LABEL_EXPR. | |
1136 | * tree.h (CASE_LOW): Update commentary. | |
1137 | ||
e130a54b RH |
1138 | 2004-06-16 Richard Henderson <rth@redhat.com> |
1139 | ||
1140 | * c-common.def (ASM_STMT): Remove. | |
1141 | * c-common.h (c_common_stmt_codes): Remove ASM_STMT. | |
1142 | * c-dump.c (c_dump_tree): Likewise. | |
1143 | * c-gimplify.c (c_gimplify_stmt): Likewise. | |
1144 | * c-pretty-print.c (pp_c_statement): Likewise. | |
1145 | * c-typeck.c (build_asm_expr): Use ASM_EXPR. | |
1146 | * tree.h: Fix commentary. | |
1147 | ||
9e14e18f RH |
1148 | 2004-06-16 Richard Henderson <rth@redhat.com> |
1149 | ||
1150 | * c-common.def (GOTO_STMT, LABEL_STMT): Remove. | |
1151 | * c-common.c (c_add_case_label): Use LABEL_EXPR. | |
1152 | * c-common.h (GOTO_FAKE_P, LABEL_STMT_LABEL): Remove. | |
1153 | (c_common_stmt_codes): Remove GOTO_STMT, LABEL_STMT. | |
1154 | * c-dump.c (c_dump_tree): Likewise. | |
1155 | * c-gimplify.c (c_gimplify_stmt): Likewise. | |
1156 | * c-pretty-print.c (pp_c_statement): Likewise. | |
1157 | * c-parse.in (stmt): Use GOTO_EXPR. | |
1158 | (label): Use LABEL_EXPR. | |
1159 | * c-semantics.c (build_stmt): Set TREE_TYPE to void. | |
1160 | * tree-inline.c (copy_body_r): Don't build empty BLOCKs. | |
1161 | ||
2f52c531 R |
1162 | 2004-06-16 J"orn Rennecke <joern.rennecke@superh.com> |
1163 | ||
1164 | * cfgcleanup.c (try_simplify_condjump): Update test to make | |
1165 | sure we have a conditional branch around am unconditional branch. | |
1166 | ||
5d44aeed DB |
1167 | 2004-06-16 Daniel Berlin <dberlin@dberlin.org> |
1168 | ||
1169 | * tree-cfg.c (pass_split_crit_edge): Give it a name and a dump file. | |
42eb30b5 | 1170 | |
d85428e2 DJ |
1171 | 2004-06-16 Dale Johannesen <dalej@apple.com> |
1172 | ||
17192884 SB |
1173 | * loop.c (loop_givs_reduce): Avoid miscompilation of |
1174 | loops entered at bottom. | |
d85428e2 | 1175 | |
d9c75fe0 JR |
1176 | 2004-06-16 J"orn Rennecke <joern.rennecke@superh.com> |
1177 | ||
1178 | * cfglayout.c (fixup_reorder_chain): Handle case where the | |
1179 | destination of E_FALL is EXIT_BLOCK_PTR. | |
1180 | ||
f75ce96a VM |
1181 | 2004-06-16 Vladimir Makarov <vmakarov@redhat.com> |
1182 | ||
1183 | PR target/15653 | |
1184 | * config/ia64/ia64.c (ia64_dfa_new_cycle): Do not insert nops | |
1185 | after shifts before asm. | |
1186 | ||
f11e087e ZD |
1187 | 2004-06-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1188 | ||
1189 | PR tree-optimization/15993 | |
1190 | * tree-ssa-dom.c (thread_across_edge): Do not thread edge if its | |
1191 | destination is unchanged. | |
1192 | ||
b9034bbd AJ |
1193 | 2004-06-16 Andreas Jaeger <aj@suse.de> |
1194 | ||
1195 | * doc/install.texi (Configuration): Update description for | |
1196 | --enable-version-specific-runtime-libs. | |
1197 | ||
bf9a420e PB |
1198 | 2004-06-16 Paolo Bonzini <bonzini@gnu.org> |
1199 | ||
1200 | * doc/install.texi: boehm-gc now uses automake 1.8.5. | |
1201 | ||
6bbba4c7 PB |
1202 | 2004-06-16 Paolo Bonzini <bonzini@gnu.org> |
1203 | ||
1204 | * toplev.h (rest_of_compilation): Adjust prototype. | |
1205 | ||
1206 | 2004-06-16 Paolo Bonzini <bonzini@gnu.org> | |
1207 | ||
1208 | * coverage.c: Remove argument to rest_of_compilation. | |
1209 | * expr.c (execute_expand, set_save_expr_context, pass_expand): New. | |
1210 | * passes.c (rest_of_compilation): Remove argument. | |
1211 | (pass_rest_of_compilation): New. | |
1212 | (rest_of_handle_final, rest_of_handle_delay_slots, | |
1213 | rest_of_handle_stack_regs, rest_of_handle_variable_tracking | |
1214 | rest_of_handle_machine_reorg, rest_of_handle_regrename | |
1215 | rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_gcse2 | |
1216 | rest_of_handle_regmove, rest_of_handle_tracer | |
1217 | rest_of_handle_if_conversion, rest_of_handle_if_after_combine | |
1218 | rest_of_handle_web, rest_of_handle_branch_prob | |
1219 | rest_of_handle_value_profile_transformations, rest_of_handle_cfg | |
1220 | rest_of_handle_addressof, rest_of_handle_jump_bypass | |
1221 | rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2): | |
1222 | Check that the two arguments are actually superfluous. | |
1223 | * tree-optimize.c (register_dump_files): Add properties argument. | |
1224 | Track validity of passes. Only initialize dump files for | |
1225 | tree-based passes. Store the full set of provided passes in | |
1226 | the pass. | |
1227 | (init_tree_optimization_passes): Register pass_expand and | |
1228 | pass_rest_of_compilation. | |
1229 | (execute_one_pass): Do not track the presence of required properties | |
1230 | here. Set in_gimple_form. Do not update current_properties. | |
1231 | (current_properties): Remove. | |
1232 | (set_save_expr_context): Remove. | |
1233 | (tree_rest_of_compilation): Do not set in_gimple_form. Do not | |
1234 | expand to RTL here, and do not call rest_of_compilation. Push | |
1235 | GGC context even before gimplification. | |
1236 | * tree-pass.h (PROP_rtl, PROP_trees): New flags. | |
1237 | (pass_expand, pass_rest_of_compilation): Declare. | |
1238 | ||
fd660b1b JL |
1239 | 2004-06-15 Jeff Law <law@redhat.com> |
1240 | ||
1241 | * fold-const.c (swap_tree_comparison): No longer static. | |
1242 | (tree_swap_operands_p): Similarly. Return true if both operands | |
1243 | are SSA_NAMEs and the first operand has a higher version number than | |
1244 | the second operand. | |
1245 | * tree.h (swap_tree_comparison): Prototype. | |
1246 | (tree_swap_operands_p): Prototype. | |
1247 | * tree-ssa-operands.c (get_expr_operands): For commutative | |
1248 | operators and relational comparisons, canonicalize the | |
1249 | order of the operands. | |
1250 | ||
325c3691 RH |
1251 | 2004-06-15 Richard Henderson <rth@redhat.com> |
1252 | ||
1253 | * c-common.c (lang_gimplify_stmt): Remove next_p argument. | |
1254 | (if_elt, if_stack, if_stack_space, c_expand_start_cond, c_finish_then, | |
1255 | c_expand_end_cond, c_expand_start_else, c_finish_else, c_begin_if_stmt, | |
1256 | c_begin_while_stmt, c_finish_while_stmt_cond): Move to c-typeck.c. | |
1257 | (finish_fname_decls, fname_decl): Use statement_lists. | |
1258 | (c_expand_expr_stmt): Don't set last_expr_type. | |
1259 | (c_type_hash): Fix indentation. | |
1260 | (c_safe_from_p): Don't follow TREE_CHAIN. | |
1261 | (c_tree_chain_matters_p): Remove. | |
1262 | * c-common.def (SCOPE_STMT): Remove. | |
1263 | (CLEANUP_STMT): Redefine to contain its own body. | |
1264 | * c-common.h (struct stmt_tree_s): Remove x_last_stmt, | |
1265 | x_last_expr_type, x_last_expr_filename, x_scope_stmt_stack. | |
1266 | Add x_cur_stmt_list. | |
1267 | (last_tree, last_expr_type, last_expr_filename, RECHAIN_STMTS): Remove. | |
1268 | (cur_stmt_list): New. | |
1269 | (STATEMENT_LIST_STMT_EXPR): New. | |
1270 | (SCOPE_BEGIN_P, SCOPE_END_P, SCOPE_STMT_BLOCK, SCOPE_NULLIFIED_P, | |
1271 | SCOPE_NO_CLEANUPS_P, SCOPE_PARTIAL_P, NEW_FOR_SCOPE_P): Remove. | |
1272 | (CLEANUP_BODY): New. | |
1273 | (CLEANUP_DECL): Move to operand 2. | |
1274 | (c_common_stmt_codes): Remove SCOPE_STMT. | |
1275 | (COMPOUND_STMT_NO_SCOPE, COMPOUND_STMT_BODY_BLOCK): Remove. | |
1276 | * c-decl.c (c_scope_stmt_stack, current_scope_stmt_stack): Remove. | |
1277 | (c_push_function_context, c_pop_function_context): Don't save it. | |
1278 | (finish_decl): Set TREE_USED on the decl for a cleanup. | |
1279 | Use push_cleanup. | |
1280 | (store_parm_decls): Use statement lists. | |
1281 | (finish_function): Remove compstmt rule workaround. Use statement | |
1282 | lists. Call finish_fname_decls after finalizing the body. | |
1283 | (c_begin_compound_stmt): Move to c-typeck.c. | |
1284 | * c-dump.c (c_dump_tree): Remove SCOPE_STMT. | |
1285 | * c-gimplify.c (gimplify_cleanup_stmt, gimplify_cleanup_stmts): New. | |
1286 | (c_genericize): Invoke them. | |
1287 | (c_gimplify_stmt): Don't look through TREE_CHAIN. Kill SCOPE_STMT. | |
1288 | (c_build_bind_expr): Export. | |
1289 | (gimplify_block, gimplify_cleanup): Remove. | |
1290 | (gimplify_condition): Use gimplify_stmt. | |
1291 | (gimplify_for_stmt): Remove FOR_INIT_STMT chaining hack. | |
1292 | (gimplify_if_stmt): Remove recursion hack. | |
1293 | (c_gimplify_expr): Remove STMT_EXPR handling. | |
1294 | (stmt_expr_last_stmt, gimplify_stmt_expr): Remove. | |
1295 | (is_last_stmt_of_scope): Remove. | |
1296 | * c-lang.c (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): Remove. | |
1297 | * c-mudflap.c (mflang_flush_calls): Use c_begin_compound_stmt, | |
1298 | c_end_compound_stmt. | |
1299 | * c-objc-common.c (build_cdtor): Likewise. | |
1300 | * c-parse.in (primary): Use c_finish_stmt_expr. | |
1301 | (push_scope, pop_scope): Remove. | |
1302 | (c99_block_start, compstmt_start): Use c_begin_compound_stmt. | |
1303 | (c99_block_end, compstmt): Use c_end_compound_stmt. | |
1304 | (c99_block_lineno_labeled_stmt): Likewise. | |
1305 | (compstmt_primary_start): Use c_begin_stmt_expr. | |
1306 | (simple_if, select_or_iter_stmt): Update calls to stmt builders. | |
1307 | (do_stmt_start): Fill in body directly. | |
1308 | (lineno_stmt): Avoid setting lineno on constants. | |
1309 | * c-pretty-print.c (pp_c_statement): Handle STATEMENT_LIST. | |
1310 | Remove SCOPE_STMT. | |
1311 | * c-semantics.c (begin_stmt_tree): Remove. | |
1312 | (push_stmt_list, re_push_stmt_list, pop_stmt_list): New. | |
1313 | (add_stmt): Use statement lists. | |
1314 | (add_scope_stmt, finish_stmt_tree): Remove. | |
1315 | (push_cleanup): New. | |
1316 | * c-tree.h: Move some decls from c-common.h. | |
1317 | * c-typeck.c (c_tree_expr_nonnegative_p): Simplify for statement lists. | |
1318 | (do_case, c_finish_case): Likewise. | |
1319 | (c_finish_then): Take body for then as argument. | |
1320 | (c_finish_else): Similarly. | |
1321 | (c_begin_for_stmt, c_finish_for_stmt_init, c_finish_for_stmt_cond, | |
1322 | c_finish_for_stmt_incr, c_finish_for_stmt): New. | |
1323 | (c_begin_stmt_expr, c_finish_stmt_expr): New. | |
1324 | (c_begin_compound_stmt): Do scope management. | |
1325 | (c_end_compound_stmt): New. | |
1326 | * fold-const.c (tree_expr_nonnegative_p): Fix BIND_EXPR. | |
1327 | * gimplify.c (voidify_wrapper_expr): Accept temporary argument. | |
1328 | Look through exception handling constructs. | |
1329 | (gimplify_bind_expr): Accept temporary argument. | |
1330 | (gimplify_target_expr): Special case BIND_EXPR bodies. | |
1331 | (gimplify_expr): Handle fallback == fb_none like a statement. | |
1332 | * langhooks-def.h (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): Kill. | |
1333 | * langhooks.c (lhd_tree_inlining_tree_chain_matters_p): Remove. | |
1334 | * langhooks.h (tree_chain_matters_p): Remove. | |
1335 | * stub-objc.c (objc_clear_super_receiver): New. | |
1336 | * tree-gimple.h (voidify_wrapper_expr): Update decl. | |
1337 | (append_to_statement_list, append_to_statement_list_force): Move | |
1338 | to tree-iterator.h. | |
1339 | * tree-inline.c (expand_call_inline): Update call. | |
1340 | (clone_body): Use statement lists. | |
1341 | (walk_tree): Don't check tree_chain_matters_p. | |
1342 | (copy_tree_r): Likewise. | |
1343 | * tree-iterator.c (alloc_stmt_list): Clear lang bits. | |
1344 | (tsi_link_before, tsi_link_after): Set TREE_SIDE_EFFECTS properly. | |
1345 | * tree-iterator.h (append_to_statement_list, | |
1346 | append_to_statement_list_force): Moved from tree-gimple.h. | |
1347 | * tree-pretty-print.c (dump_generic_node): Clean up TARGET_EXPR dump. | |
1348 | * objc/objc-act.c (build_module_descriptor): Use c_begin_compound_stmt. | |
1349 | (objc_enter_block): Likewise. | |
1350 | (objc_exit_block): Use c_end_compound_stmt. | |
1351 | (objc_build_try_enter_fragment): Add #error and comment for | |
1352 | rewriting for OBJCPLUS. | |
1353 | (objc_build_extract_fragment, objc_build_try_epilogue, | |
1354 | objc_build_catch_stmt, objc_build_finally_prologue, | |
1355 | objc_build_finally_epilogue): Update for C statement builders. | |
1356 | * objc/objc-lang.c (LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P): | |
1357 | Remove. | |
1358 | ||
161b0a84 ZD |
1359 | 2004-06-15 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1360 | ||
1361 | * df.c (df_reg_clobber_gen): Removed. | |
1362 | (df_bb_rd_local_compute, df_insn_refs_record, df_rd_local_compute): | |
1363 | Make more effective for hard regs. | |
1364 | * ra-build.c (livethrough_conflicts_bb): Check contains_call. | |
1365 | ||
0173bb6f AO |
1366 | 2004-06-15 Alexandre Oliva <aoliva@redhat.com> |
1367 | ||
1368 | * c-pragma.h (c_lex_string_translate): Change type to int. | |
1369 | * c-parse.in: Change all assignments of c_lex_string_translate | |
1370 | to true and false to 1 and 0. | |
1371 | * c-lex.c (c_lex_string_translate): Likewise. | |
1372 | (lex_string): Convert string without translation in the -1 | |
1373 | case. | |
1374 | ||
d0b25f9a MA |
1375 | 2004-06-15 Mark G. Adams <mark.g.adams@sympatico.ca> |
1376 | ||
1377 | * convert.h: Add include guards | |
1378 | ||
0566b51e DB |
1379 | 2004-06-15 Daniel Berlin <dberlin@dberlin.org> |
1380 | ||
1381 | * tree-flow-inline.h: Document all functions. | |
b9034bbd | 1382 | |
c8a6f154 DB |
1383 | 2004-06-15 Daniel Berlin <dberlin@dberlin.org> |
1384 | ||
1385 | * tree-flow-inline.h (stmt_ann): Remove use of is_essa_node. | |
1386 | * tree-dfa.c (create_stmt_ann): Ditto. | |
1387 | * tree-pretty-print.c (dump_generic_node): Remove E* node handling. | |
1388 | * tree-inline.c (estimate_num_insns_1): Ditto. | |
1389 | * tree.c (tree_size): Ditto. | |
1390 | (make_node_stat): Ditto. | |
1391 | (tree_node_structure): Ditto. | |
1392 | (ephi_node_elt_check_failed): Remove. | |
1393 | (is_essa_node): Ditto. | |
1394 | * tree.def (EPHI_NODE): Ditto. | |
1395 | (EEXIT_NODE): Ditto. | |
1396 | (EUSE_NODE): Ditto. | |
1397 | (EKILL_NODE): Ditto. | |
1398 | * tree.h (EREF_NODE_CHECK): Remove. | |
1399 | (EPHI_NODE_ELT_CHECK): Ditto. | |
1400 | (struct tree_eref_common): Ditto. | |
1401 | (struct tree_euse_node): Ditto. | |
1402 | (struct ephi_arg_d): Ditto. | |
1403 | (struct tree_ephi_node): Ditto. | |
1404 | (ephi_node_elt_check_failed): Remove prototype. | |
1405 | (is_essa_node): Ditto. | |
1406 | (enum tree_node_structure_enum): Remove TS_E*_NODE. | |
1407 | (union tree_node): Remove E*_NODE uses. | |
1408 | ||
f8cfc6aa JQ |
1409 | 2004-06-15 Jerry Quinn <jlquinn@optonline.net> |
1410 | ||
1411 | * alias.c (record_set, record_base_value, canon_rtx, get_addr, | |
1412 | nonlocal_mentioned_p_1, init_alias_analysis): Use REG_P. | |
1413 | * bt-load.c (find_btr_reference, insn_sets_btr_p, note_btr_set): | |
1414 | Likewise. | |
1415 | * builtins.c (expand_builtin_setjmp, expand_builtin_apply, | |
1416 | expand_builtin_mathfn, expand_builtin_strlen, expand_builtin_memcmp, | |
1417 | expand_builtin_strcmp, expand_builtin_strncmp, | |
1418 | expand_builtin_frame_address): Likewise. | |
1419 | * caller-save.c (mark_set_regs, add_stored_regs, mark_referenced_regs, | |
1420 | insert_one_insn): Likewise. | |
1421 | * calls.c (prepare_call_address, precompute_register_parameters, | |
1422 | precompute_arguments, expand_call, emit_library_call_value_1): Likewise. | |
1423 | * cfganal.c (flow_active_insn_p): Likewise. | |
1424 | * combine.c (set_nonzero_bits_and_sign_copies, can_combine_p, | |
1425 | combinable_i3pat, try_combine, find_split_point, COMBINE_RTX_EQUAL_P, | |
1426 | subst, combine_simplify_rtx, simplify_if_then_else, simplify_set, | |
1427 | make_extraction, recog_for_combine, gen_lowpart_for_combine, | |
1428 | simplify_comparison, record_dead_and_set_regs_1, | |
1429 | record_dead_and_set_regs, record_promoted_value, | |
1430 | check_promoted_subreg, get_last_value_validate, get_last_value, | |
1431 | reg_dead_at_p_1, reg_bitfield_target_p, distribute_notes, | |
1432 | unmentioned_reg_p_1): Likewise. | |
1433 | * conflict.c (mark_reg): Likewise. | |
1434 | * cse.c (HASH, COST, COST_IN, approx_reg_cost_1, notreg_cost, | |
1435 | mention_regs, insert_regs, lookup, lookup_for_remove, insert, | |
1436 | merge_equiv_classes, flush_hash_table, invalidate, | |
1437 | remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg, | |
1438 | invalidate_for_call, use_related_value, canon_hash, exp_equiv_p, | |
1439 | cse_rtx_varies_p, canon_reg, find_best_addr, fold_rtx, equiv_constant, | |
1440 | record_jump_cond, cse_insn, addr_affects_sp_p, | |
1441 | invalidate_from_clobbers, cse_process_notes, cse_around_loop, | |
1442 | cse_set_around_loop, count_reg_usage, set_live_p, cse_change_cc_mode, | |
1443 | cse_cc_succs, cse_condition_code_reg): Likewise. | |
1444 | * cselib.c (cselib_reg_set_mode, rtx_equal_for_cselib_p, | |
1445 | cselib_lookup, cselib_invalidate_regno, cselib_invalidate_rtx, | |
1446 | cselib_record_set, cselib_record_sets): Likewise. | |
1447 | * dbxout.c (dbxout_symbol_location, dbxout_parms, dbxout_reg_parms, | |
1448 | dbxout_block): Likewise. | |
1449 | * df.c (df_ref_record, df_def_record_1, df_uses_record): Likewise. | |
1450 | * dojump.c (do_jump): Likewise. | |
1451 | * dwarf2out.c (dwarf2out_frame_debug_expr, is_pseudo_reg, | |
1452 | is_based_loc, rtl_for_decl_location): Likewise. | |
1453 | * emit-rtl.c (set_reg_attrs_for_parm, set_decl_rtl, | |
1454 | set_decl_incoming_rtl, mark_user_reg): Likewise. | |
1455 | * explow.c (copy_all_regs, copy_all_regs, memory_address, force_reg, | |
1456 | copy_to_suggested_reg, allocate_dynamic_stack_space, | |
1457 | probe_stack_range, hard_function_value): Likewise. | |
1458 | * expmed.c (store_bit_field, store_fixed_bit_field, | |
1459 | store_split_bit_field, extract_bit_field, extract_fixed_bit_field, | |
1460 | extract_split_bit_field, expand_divmod, emit_store_flag_force): | |
1461 | Likewise. | |
1462 | * expr.c (convert_move, convert_modes, | |
1463 | block_move_libcall_safe_for_call_parm, emit_group_load, use_reg, | |
1464 | use_group_regs, emit_move_insn, emit_move_insn_1, | |
1465 | compress_float_constant, push_block, emit_single_push_insn, | |
1466 | emit_push_insn, get_subtarget, expand_assignment, store_expr, | |
1467 | store_constructor, store_field, force_operand, safe_from_p, | |
1468 | expand_expr_real_1, expand_increment, do_store_flag, do_tablejump): | |
1469 | Likewise. | |
1470 | * final.c (profile_function, final_scan_insn, alter_subreg, | |
1471 | get_mem_expr_from_op, output_asm_operand_names, output_operand, | |
1472 | only_leaf_regs_used, leaf_renumber_regs_insn): Likewise. | |
1473 | * flow.c (verify_wide_reg_1, mark_regs_live_at_end, | |
1474 | find_regno_partial, propagate_one_insn, init_propagate_block_info, | |
1475 | insn_dead_p, libcall_dead_p, mark_set_1, not_reg_cond, | |
1476 | attempt_auto_inc, find_auto_inc, mark_used_regs, | |
1477 | count_or_remove_death_notes_bb): Likewise. | |
1478 | * function.c (find_temp_slot_from_address, update_temp_slot_address, | |
1479 | preserve_temp_slots, put_var_into_stack, fixup_var_refs_insn, | |
1480 | fixup_var_refs_1, fixup_stack_1, optimize_bit_field, flush_addressof, | |
1481 | put_addressof_into_stack, purge_addressof_1, insns_for_mem_walk, | |
1482 | purge_single_hard_subreg_set, instantiate_decl, | |
1483 | instantiate_virtual_regs_1, aggregate_value_p, assign_parms, | |
1484 | promoted_input_arg, setjmp_vars_warning, setjmp_args_warning, | |
1485 | setjmp_protect, setjmp_protect_args, fix_lexical_addr, | |
1486 | expand_function_start, diddle_return_value, clobber_return_register, | |
1487 | expand_function_end, keep_stack_depressed, handle_epilogue_set, | |
1488 | update_epilogue_consts): Likewise. | |
1489 | * genemit.c (gen_exp, gen_insn): Likewise. | |
1490 | * genrecog.c (make_insn_sequence): Likewise. | |
1491 | * global.c (global_conflicts, expand_preferences, mark_reg_store, | |
1492 | mark_reg_conflicts, set_preference, reg_becomes_live, | |
1493 | build_insn_chain, mark_reg_change): Likewise. | |
1494 | * haifa_sched.c (CONST_BASED_ADDRESS_P, find_set_reg_weight): | |
1495 | Likewise. | |
1496 | * ifcvt.c (noce_try_abs, noce_get_condition, noce_process_if_block): | |
1497 | Likewise. | |
1498 | * integrate.c (copy_rtx_and_substitute, try_constants, | |
1499 | subst_constants, mark_stores, allocate_initial_values): Likewise. | |
1500 | * jump.c (reversed_comparison_code_parts, delete_prior_computation, | |
1501 | delete_computation, rtx_renumbered_equal_p, true_regnum, | |
1502 | reg_or_subregno): Likewise. | |
1503 | * lcm.c (reg_dies, reg_becomes_live): Likewise. | |
1504 | * local-alloc.c (validate_equiv_mem_from_store, validate_equiv_mem, | |
1505 | update_equiv_regs, no_equiv, block_alloc, combine_regs, reg_is_set, | |
1506 | wipe_dead_reg, no_conflict_p): Likewise. | |
1507 | * loop-iv.c (simple_reg_p, simple_set_p, kill_sets, | |
1508 | iv_get_reaching_def, iv_analyze_biv, altered_reg_used, mark_altered, | |
1509 | simple_rhs_p, simplify_using_assignment, implies_p): Likewise. | |
1510 | * loop.c (scan_loop, combine_movables, rtx_equal_for_loop_p, | |
1511 | move_movables, note_set_pseudo_multiple_uses, consec_sets_invariant_p, | |
1512 | find_single_use_in_loop, count_one_set, loop_bivs_init_find, | |
1513 | loop_givs_rescan, check_insn_for_bivs, check_insn_for_givs, | |
1514 | valid_initial_value_p, simplify_giv_expr, consec_sets_giv, | |
1515 | loop_regs_update, check_dbra_loop, maybe_eliminate_biv, | |
1516 | maybe_eliminate_biv_1, record_initial, update_reg_last_use, | |
1517 | canonicalize_condition, loop_regs_scan, load_mems, try_copy_prop, | |
1518 | try_swap_copy_prop): Likewise. | |
1519 | * optabs.c (expand_binop, expand_vector_binop, expand_vector_unop, | |
1520 | expand_abs, emit_no_conflict_block, emit_libcall_block, expand_float): | |
1521 | Likewise. | |
1522 | * postreload.c (reload_cse_simplify, reload_cse_simplify_set, | |
1523 | reload_cse_simplify_operands, reload_combine, | |
1524 | reload_combine_note_store, reload_combine_note_use, | |
1525 | reload_cse_move2add, move2add_note_store): Likewise. | |
1526 | * print-rtl.c (print_rtx): Likewise. | |
1527 | * ra-build.c (copy_insn_p, remember_move, init_one_web_common, | |
1528 | contains_pseudo, handle_asm_insn): Likewise. | |
1529 | * ra-debug.c (ra_print_rtx_object, dump_constraints, | |
1530 | dump_static_insn_cost): Likewise. | |
1531 | * ra-rewrite.c (slots_overlap_p, emit_colors, | |
1532 | remove_suspicious_death_notes): Likewise. | |
1533 | * recog.c (validate_replace_rtx_1, find_single_use_1, find_single_use, | |
1534 | register_operand, scratch_operand, nonmemory_operand, | |
1535 | constrain_operands): Likewise. | |
1536 | * reg-stack (check_asm_stack_operands, remove_regno_note, | |
1537 | emit_swap_insn, swap_rtx_condition, subst_stack_regs_pat, | |
1538 | subst_asm_stack_regs): Likewise. | |
1539 | * regclass.c (scan_one_insn, record_reg_classes, copy_cost, | |
1540 | record_address_regs, reg_scan_mark_refs): Likewise. | |
1541 | * regmove.c (discover_flags_reg, replacement_quality, | |
1542 | copy_src_to_dest, reg_is_remote_constant_p, regmove_optimize, | |
1543 | fixup_match_1): Likewise. | |
1544 | * regrename.c (note_sets, clear_dead_regs, build_def_use, kill_value, | |
1545 | kill_set_value, copyprop_hardreg_forward_1): Likewise. | |
1546 | * reload.c (MATCHES, push_secondary_reload, find_reusable_reload, | |
1547 | reload_inner_reg_of_subreg, can_reload_into, push_reload, | |
1548 | combine_reloads, find_dummy_reload, hard_reg_set_here_p, | |
1549 | operands_match_p, decompose, find_reloads, find_reloads_toplev, | |
1550 | find_reloads_address, subst_indexed_address, find_reloads_address_1, | |
1551 | find_reloads_subreg_address, find_replacement, | |
1552 | refers_to_regno_for_reload_p, reg_overlap_mentioned_for_reload_p, | |
1553 | refers_to_mem_for_reload_p, find_equiv_reg, regno_clobbered_p): Likewise. | |
1554 | * reload1.c (replace_pseudos_in, reload, calculate_needs_all_insns, | |
1555 | find_reg, delete_dead_insn, alter_reg, eliminate_regs, | |
1556 | elimination_effects, eliminate_regs_in_insn, scan_paradoxical_subregs, | |
1557 | forget_old_reloads_1, reload_reg_free_for_value_p, choose_reload_regs, | |
1558 | emit_input_reload_insns, emit_output_reload_insns, do_input_reload, | |
1559 | do_output_reload, emit_reload_insns, gen_reload, | |
1560 | delete_address_reloads_1, inc_for_reload): Likewise. | |
1561 | * reorg.c (update_reg_dead_notes, fix_reg_dead_note, | |
1562 | update_reg_unused_notes, fill_slots_from_thread): Likewise. | |
1563 | * resource.c (update_live_status, mark_referenced_resources, | |
1564 | mark_set_resources, mark_target_live_regs): Likewise. | |
1565 | * rtlanal.c (nonzero_address_p, get_jump_table_offset, | |
1566 | global_reg_mentioned_p_1, reg_mentioned_p, reg_referenced_p, | |
1567 | reg_set_p, set_noop_p, find_last_value, refers_to_regno_p, | |
1568 | note_stores, dead_or_set_p, dead_or_set_regno_p, find_regno_note, | |
1569 | find_reg_fusage, find_regno_fusage, replace_regs, regno_use_in, | |
1570 | parms_set, find_first_parameter_load, keep_with_call_p, | |
1571 | hoist_test_store, hoist_update_store, address_cost, nonzero_bits1, | |
1572 | num_sign_bit_copies1): Likewise. | |
1573 | * rtlhooks.c (gen_lowpart_general): Likewise. | |
1574 | * sched-deps.c (deps_may_trap_p, sched_analyze_1, sched_analyze_insn, | |
1575 | sched_analyze): Likewise. | |
1576 | * sched-rgn.c (check_live_1, update_live_1, sets_likely_spilled_1): | |
1577 | Likewise. | |
1578 | * sdbout.c (sdbout_symbol, sdbout_parms, sdbout_reg_parms): Likewise. | |
1579 | * simplify-rtx.c (simplify_replace_rtx, simplify_unary_operation, | |
1580 | simplify_binary_operation, simplify_const_relational_operation, | |
1581 | simplify_subreg): Likewise. | |
1582 | * stmt.c (decl_conflicts_with_clobbers_p, expand_asm_operands, | |
1583 | expand_end_stmt_expr, expand_return, expand_decl, | |
1584 | expand_anon_union_decl): Likewise. | |
1585 | * unroll.c (precondition_loop_p, calculate_giv_inc, copy_loop_body, | |
1586 | find_splittable_regs, find_splittable_givs, find_common_reg_term, | |
1587 | loop_iterations): Likewise. | |
1588 | * var-tracking.c (variable_union, variable_part_different_p, | |
1589 | variable_different_p, count_uses, add_uses, add_stores, | |
1590 | compute_bb_dataflow, set_variable_part, delete_variable_part, | |
1591 | emit_notes_in_bb, vt_get_decl_and_offset, vt_add_function_parameters): | |
1592 | Likewise. | |
1593 | * varasm.c (assemble_variable): Likewise. | |
1594 | ||
347b63a2 CD |
1595 | 2004-06-15 Chris Demetriou <cgd@broadcom.com> |
1596 | ||
1597 | * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove | |
1598 | definition. | |
1599 | * config/mips/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove | |
1600 | #undef and #if 0'd definition. | |
1601 | ||
e8679703 R |
1602 | 2004-06-15 J"orn Rennecke <joern.rennecke@superh.com> |
1603 | ||
1604 | * combine.c (distribute_notes): Comment typo fix. | |
1605 | ||
0792ab19 RS |
1606 | 2004-06-15 Roger Sayle <roger@eyesopen.com> |
1607 | ||
1608 | * expmed.c (synth_mult): Mask bits of the multiplier to the | |
1609 | machine mode of the multiplication. Don't consider shifts | |
1610 | by more than (or equal to) the width of the operation's mode. | |
1611 | ||
0dce8934 PB |
1612 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
1613 | ||
1614 | * doc/install.texi: Yet another update for autoconf | |
1615 | and automake versions. | |
1616 | ||
096f22f4 PB |
1617 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
1618 | ||
1619 | * function.h (struct function): Remove cannot_inline field. | |
1620 | (current_function_cannot_inline): Remove. | |
1621 | * passes.c (rest_of_compilation): Reset DECL_DEFER_OUTPUT. | |
1622 | Simplify conditionals to ignore warn_return_type. | |
1623 | * tree-optimize.c (tree_rest_of_compilation): Do not reset | |
1624 | DECL_DEFER_OUTPUT. | |
1625 | * objc/objc-act.c (build_module_descriptor, finish_method_def): | |
1626 | Do not set current_function_cannot_inline. | |
1627 | ||
8cff2a95 R |
1628 | 2004-06-15 J"orn Rennecke <joern.rennecke@superh.com> |
1629 | ||
1630 | * cfglayout.c (fixup_reorder_chain): Handle case where the | |
1631 | destination of E_TAKEN is EXIT_BLOCK_PTR. | |
1632 | ||
9264db16 DN |
1633 | 2004-06-15 Diego Novillo <dnovillo@redhat.com> |
1634 | ||
1635 | * tree-ssa-copy.c (cprop_into_successor_phis): Fix typo. | |
1636 | ||
3dd8069d PB |
1637 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
1638 | ||
1639 | * fold-const.c (operand_equal_p): Update comment. | |
1640 | ||
7b14411a KI |
1641 | 2004-06-15 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
1642 | ||
1643 | * config/m32r/m32r.h (RETURN_ADDR_RTX): Define. | |
1644 | (INCOMING_RETURN_ADDR_RTX): Define. | |
1645 | * config/m32r/m32r-protos.h (m32r_return_addr): Added. | |
1646 | * config/m32r/m32r.c (m32r_exppand_prologue): Changed for | |
1647 | __builtin_return_address(0). | |
1648 | (m32r_return_addr): Added for __builtin_return_address(0). | |
1649 | (m32r_reload_lr): Ditto. | |
1650 | ||
b9034bbd AJ |
1651 | * longlong.h: Fix macros for m32r add_ssaaaa and sub_ddmmss. |
1652 | ||
cf11c05c PB |
1653 | 2004-06-15 Paolo Bonzini <bonzini@gnu.org> |
1654 | ||
1655 | * doc/install.texi (Prerequisites): Update libbanshee, | |
1656 | fastjar, libcpp, libjava/libltdl entries to | |
1657 | automake 1.8.5. | |
1658 | ||
4d7694fc | 1659 | 2004-06-15 Eric Botcazou <ebotcazou@act-europe.fr> |
17192884 | 1660 | Olivier Hainque <hainque@act-europe.fr> |
4d7694fc EB |
1661 | |
1662 | * function.c (fixup_var_refs): Also adjust the start of sequence | |
1663 | after fixing up the insns. | |
1664 | ||
1f28d175 GB |
1665 | 2004-06-15 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
1666 | ||
1667 | * gccbug.in: Update optimization -> tree-optimization/rtl-optimization. | |
1668 | ||
3a8c5d8c BK |
1669 | 2004-06-14 Benjamin Kosnik <bkoz@redhat.com> |
1670 | ||
1671 | * doc/install.texi (Prerequisites): Update libstdc++ entry to | |
1672 | automake 1.8.5. | |
1673 | ||
f26c1794 EC |
1674 | 2004-06-14 Eric Christopher <echristo@redhat.com> |
1675 | ||
1676 | * config/s390/s390.h (TARGET_SWITCHES): Change -mtpf (-mno-tpf) | |
1677 | to -mtpf-trace (-mno-tpf-trace). | |
1678 | * doc/invoke.texi (S/390 and zSeries Options): Add tpf option | |
1679 | documentation. | |
1680 | ||
36598e94 EB |
1681 | 2004-06-14 Eric Botcazou <ebotcazou@libertysurf.fr> |
1682 | ||
1683 | * real.c: Fix bit count in head comment. | |
1684 | ||
daa2b95a JL |
1685 | 2004-06-14 Jeff Law <law@redhat.com> |
1686 | ||
1687 | * tree-ssa.c (kill_redundant_phi_nodes): More correctly handle | |
1688 | PHIs where the destination or an argument is marked with | |
1689 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
1690 | ||
6355b2d5 JJ |
1691 | 2004-06-14 Jakub Jelinek <jakub@redhat.com> |
1692 | ||
1693 | PR middle-end/15945 | |
1694 | * simplify-rtx.c (simplify_binary_operation): Don't optimize out | |
1695 | Inf + -Inf, Inf - Inf, Inf / Inf and 0 * Inf if flag_trapping_math. | |
1696 | ||
44930935 ZD |
1697 | 2004-06-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1698 | ||
1699 | * opts.sh (var_args): Fix regexp. | |
1700 | ||
25178498 JJ |
1701 | 2004-06-14 Jakub Jelinek <jakub@redhat.com> |
1702 | ||
1703 | PR target/15178 | |
1704 | * config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Define. | |
1705 | ||
fc9c8ce1 PB |
1706 | 2004-06-14 Paul Brook <paul@codesourcery.com> |
1707 | ||
1708 | * dwarf2out.c (output_call_frame_info): Support dwarf3 cie entries. | |
1709 | ||
50431bc4 ZD |
1710 | 2004-06-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
1711 | ||
1712 | * Makefile.in (FLAGS_H): New. | |
1713 | (flags.h): Replace by FLAGS_H. | |
1714 | * c.opt: Document Var, VarExists, Init and Report attributes. | |
1715 | * common.opt: Fill the values of the attributes. | |
1716 | * diagnostic.c (flag_fatal_errors): Do not define. | |
1717 | * except.c (flag_non_call_exceptions): Do not define. | |
1718 | * flags.h: Include options.h. Remove declarations conflicting with | |
1719 | the automatically defined ones. | |
1720 | * opts.c: Remove automatically defined variables. | |
1721 | (handle_option): Perform default initialization. | |
1722 | (common_handle_option): Do not handle options covered by the | |
1723 | default initialization. | |
1724 | * opts.h (struct cl_option): Add flag_var, has_set_value and set_value | |
1725 | fields. | |
1726 | (CL_REPORT): New. | |
1727 | * opts.sh: Generate variable declarations, handle CL_REPORT. | |
1728 | * toplev.c: Remove automatically defined variables. | |
1729 | (f_options): Removed. | |
1730 | (print_switch_values): Use cl_options instead of f_options. | |
1731 | * toplev.h (version_flag): Declaration removed. | |
1732 | ||
1c2cdd56 ILT |
1733 | 2004-06-14 Ian Lance Taylor <ian@wasabisystems.com> |
1734 | ||
715f8bb8 ILT |
1735 | * config/sparc/sparc.h: Correct comment about availability of |
1736 | little endian option. | |
1737 | ||
1c2cdd56 ILT |
1738 | * config.gcc: Remove sparc64-*-aout*. |
1739 | * config/sparc/sparc.c (sparc_aout_select_rtx_section): Remove. | |
1740 | * config/sparc/sp64-aout.h: Remove. | |
1741 | * config/sparc/aout.h: Remove. | |
1742 | ||
63694b5e UW |
1743 | 2004-06-14 Ulrich Weigand <uweigand@de.ibm.com> |
1744 | ||
1745 | * config/s390/s390.c: Include "tree-gimple.h". | |
1746 | (s390_gimplify_va_arg): New function. | |
1747 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. | |
1748 | (s390_va_arg): Remove. | |
1749 | * config/s390/s390-protos.h (s390_va_arg): Remove. | |
1750 | * config/s390/s390.h (EXPAND_BUILTIN_VA_ARG): Call abort (). | |
1751 | ||
623a66fa R |
1752 | 2004-06-14 J"orn Rennecke <joern.rennecke@superh.com> |
1753 | ||
1754 | * basic-block.h (could_fall_through): Declare. | |
1755 | * cfganal.c (can_fallthru): Succeed if the target is EXIT_BLOCK_PTR. | |
1756 | Fail if the source already has a fallthrough edge to the exit | |
1757 | block pointer. | |
1758 | (could_fall_through): New function. | |
1759 | * cfgbuild.c (make_edges): Check if we already have a fallthrough | |
1760 | edge to the exit block pointer. | |
1761 | * cfglayout.c (fixup_fallthru_exit_predecessor): Check that it is | |
1762 | not called before reload has completed. | |
1763 | Handle special case of first block having a fall-through exit edge. | |
1764 | (cfg_layout_finalize): Don't call it before reload or if we have | |
1765 | rtl epilogues. | |
1766 | (fixup_reorder_chain): A fall through to the exit block does not | |
1767 | require the block to come last. Add sanity checks. | |
1768 | * cfgrtl.c (rtl_split_edge): Add special handling of fall through | |
1769 | edges to the exit block. | |
1770 | * function.c (cfglayout.h): #include. | |
1771 | (thread_prologue_and_epilogue_insns): If we have neither return nor | |
1772 | epilogue, but a fall through to the exit block from mid-function, | |
1773 | force a non-fall-through exit. | |
1774 | * Makefile.in (function.o): Depend on CFGLAYOUT_H. | |
1775 | ||
93ae5495 AM |
1776 | 2004-06-14 Alan Modra <amodra@bigpond.net.au> |
1777 | ||
1778 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Handle -mpowerpc64 and -mcpu | |
1779 | for power5 and rs64a. Correct condition for default. Correct power3, | |
1780 | 620, 630, 7400, 7450, G4, 970 and G5 -mcpu entries. Add -many. | |
1781 | ||
6e72d1e9 SB |
1782 | 2004-06-13 Steven Bosscher <stevenb@suse.de> |
1783 | ||
1784 | * gcse.c (hash_scan_set, hash_scan_insn, mark_set, mark_oprs_set): | |
1785 | Revert previous change, don't use CALL_P. | |
1786 | ||
e5da415c JM |
1787 | 2004-06-13 Jason Merrill <jason@redhat.com> |
1788 | ||
1789 | * tree.h: Move std_gimplify_va_arg_expr protoype here. | |
1790 | * tree-gimple.h: From here. | |
1791 | ||
ce25943a DB |
1792 | 2004-06-13 Daniel Berlin <dberlin@dberlin.org> |
1793 | ||
1794 | Fix PR tree-optimization/15979 | |
1795 | Fix PR tree-optimization/15981 | |
1796 | * tree-ssa-pre.c (insert_aux): Fix faulty logic so that we don't | |
1797 | try to insert values undefined along some path. | |
1798 | ||
3bce843e DB |
1799 | 2004-06-13 Daniel Berlin <dberlin@dberlin.org> |
1800 | ||
1801 | * tree-ssa-pre.c (add_to_value): is_gimple_min_invariant things | |
1802 | are available everywhere too. | |
1803 | ||
a40de696 AP |
1804 | 2004-06-13 Andrew Pinski <pinskia@physics.uc.edu> |
1805 | ||
1806 | * fold-const.c (fold_checksum_tree <case 't'>): Only | |
1807 | look at TREE_VALUES if the EXPR is an ENUMERAL_TYPE. | |
1808 | Only look at TYPE_MIN_VALUE and TYPE_MAX_VALUE if | |
1809 | EXPR is an INTEGERAL_TYPE or a scalar float type. | |
1810 | ||
a18f61f8 DN |
1811 | 2004-06-13 Diego Novillo <dnovillo@redhat.com> |
1812 | ||
1813 | * tree-sra.c (tree_sra): Update documentation. | |
1814 | ||
132da1a5 JM |
1815 | 2004-06-13 Joseph S. Myers <jsm@polyomino.org.uk> |
1816 | ||
1817 | * c-typeck.c (comptypes, tagged_types_tu_compatible_p, | |
1818 | function_types_compatible_p, type_lists_compatible_p): Remove | |
1819 | flags parameter. | |
1820 | * c-tree.h (comptypes): Likewise. | |
1821 | (COMPARE_STRICT): Remove. | |
1822 | * c-decl.c, c-lang.c, c-parse.in, c-typeck.c, objc/objc-act.c: All | |
1823 | callers changed. | |
1824 | ||
118a3a8b EC |
1825 | 2004-06-13 Eric Christopher <echristo@redhat.com> |
1826 | ||
1827 | * c-decl.c (diagnose_mismatched_decls): Improve error message. | |
1828 | Remove unused code. | |
1829 | * c-typeck.c (comptypes): Add location in standard we're checking. | |
1830 | ||
9f680e79 KK |
1831 | 2004-06-13 Kaz Kojima <kkojima@gcc.gnu.org> |
1832 | ||
1833 | * config/sh/libgcc-std.ver: Add __unorddf2 and __unordsf2 with | |
1834 | version 3.3.4. | |
1835 | ||
965703ed RS |
1836 | 2004-06-12 Roger Sayle <roger@eyesopen.com> |
1837 | ||
1838 | * expmed.c (shift_cost, shiftadd_cost, shiftsub_cost): Additionally | |
1839 | index by machine mode. | |
1840 | (init_expmed): Initialize shift_cost, shiftadd_cost and shiftsub_cost | |
1841 | tables inside the loop over machine modes. | |
1842 | (synth_mult, expand_mult_highpart_optab, expand_mult_highpart, | |
1843 | expand_divmod): Index shift*_cost by the appropriate machine mode. | |
1844 | ||
3839e36a EC |
1845 | 2004-06-12 Eric Christopher <echristo@redhat.com> |
1846 | ||
1847 | * config/s390/s390.h: Rename TARGET_TPF to TARGET_TPF_PROFILING. | |
1848 | * config/s390/s390.md: Ditto. | |
1849 | * config/s390/s390.c: Ditto. | |
1850 | (s390_frame_info): Conditionalize frame and setup info on | |
1851 | TARGET_TPF_PROFILING. | |
1852 | (s390_arg_frame_offset): Ditto. | |
1853 | ||
08039bd8 RS |
1854 | 2004-06-12 Roger Sayle <roger@eyesopen.com> |
1855 | ||
1856 | * fold-const.c (omit_two_operands): New function. | |
1857 | * tree.h (omit_two_operands): Prototype here. | |
1858 | * builtins.c (fold_builtin_unordered_cmp): New function to lower | |
1859 | C99 unordered comparison builtins to the appropriate tree nodes. | |
1860 | (fold_builtin_1): Use fold_builtin_unordered_cmp to lower | |
1861 | BUILT_IN_ISGREATER, BUILT_IN_ISGREATEREQUAL, BUILT_IN_ISLESS, | |
1862 | BUILT_IN_ISLESSEQUAL and BUILT_IN_ISLESSGREATER. Manually lower | |
1863 | BUILT_IN_ISUNORDERED comparisons to an UNORDERED_EXPR tree node. | |
1864 | (simplify_builtin_memcmp, simplify_builtin_strncmp, | |
1865 | simplify_builtin_strncat, simplify_builtin_strspn): Use the new | |
1866 | omit_two_operands function to build the required COMPOUND_EXPRs. | |
1867 | ||
7b1b4aed SB |
1868 | 2004-06-12 Steven Bosscher <stevenb@suse.de>, |
1869 | Andreas Jaeger <aj@suse.de> | |
1870 | ||
1871 | * gcse.c (record_set_info): Use predicates like REG_P. | |
1872 | (mems_conflict_for_gcse_p): Likewise. | |
1873 | (load_killed_in_block_p): Likewise. | |
1874 | (hash_expr_1): Likewise. | |
1875 | (insert_set_in_table): Likewise. | |
1876 | (gcse_constant_p): Likewise. | |
1877 | (hash_scan_set): Likewise. | |
1878 | (hash_scan_insn): Likewise. | |
1879 | (canon_list_insert): Likewise. | |
1880 | (record_last_mem_set_info): Likewise. | |
1881 | (record_last_set_info): Likewise. | |
1882 | (compute_hash_table_work): Likewise. | |
1883 | (mark_set): Likewise. | |
1884 | (mark_clobber): Likewise. | |
1885 | (mark_oprs_set): Likewise. | |
1886 | (compute_transp): Likewise. | |
1887 | (find_avail_set): Likewise. | |
1888 | (cprop_insn): Likewise. | |
1889 | (do_local_cprop): Likewise. | |
1890 | (cprop): Likewise. | |
1891 | (find_implicit_sets): Likewise. | |
1892 | (find_bypass_set): Likewise. | |
1893 | (bypass_conditional_jumps): Likewise. | |
1894 | (insert_insn_end_bb): Likewise. | |
1895 | (pre_insert_copy_insn): Likewise. | |
1896 | (compute_transpout): Likewise. | |
1897 | (next_ls_expr): Likewise. | |
1898 | (invalidate_any_buried_refs): Likewise. | |
1899 | (compute_ld_motion_mems): Likewise. | |
1900 | (reg_set_info): Likewise. | |
1901 | (reg_clear_last_set): Likewise. | |
1902 | (find_moveable_store): Likewise. | |
1903 | (compute_store_table): Likewise. | |
1904 | (find_loads): Likewise. | |
1905 | (store_killed_in_insn): Likewise. | |
1906 | (insert_insn_start_bb): Likewise. | |
1907 | (reg_set_between_after_reload_p): Likewise. | |
1908 | (reg_used_between_after_reload_p): Likewise. | |
1909 | (is_jump_table_basic_block): Likewise. | |
1910 | (gcse_after_reload): Likewise. | |
1911 | (hash_scan_set_after_reload): Likewise. | |
1912 | (compute_hash_table_after_reload): Likewise. | |
1913 | ||
3d27dbd0 SB |
1914 | 2004-06-12 Steven Bosscher <stevenb@suse.de> |
1915 | ||
1916 | * rtl.h (MEM_P, NONJUMP_INSN_P, CALL_INSN_P): New predicates. | |
1917 | (INSN_P): Don't look at the rtx code class, just explicitly | |
1918 | check for one of the tree RTX_INSN codes. | |
1919 | ||
019c8e80 ZW |
1920 | 2004-06-11 Zack Weinberg <zack@codesourcery.com> |
1921 | ||
1922 | * c-typeck.c (default_function_array_conversion): Use | |
1923 | build_pointer_type not TYPE_POINTER_TO. | |
1924 | ||
2fac9c01 ZW |
1925 | 2004-06-11 Zack Weinberg <zack@codesourcery.com> |
1926 | ||
1927 | * configure.ac: Don't invoke ACX_HEADER_STDBOOL. | |
1928 | * configure, config.in: Regenerate. | |
1929 | * system.h: Unconditionally define bool as unsigned char, | |
1930 | BOOL_BITFIELD as unsigned int. | |
1931 | * domwalk.h: Use BOOL_BITFIELD. | |
1932 | ||
9ade2479 AJ |
1933 | 2004-06-12 Andreas Jaeger <aj@suse.de> |
1934 | ||
1935 | * libgcc-std.ver: Add __unorddf2 and __unordsf2 with version 3.3.4. | |
1936 | * libgcc-darwin.ver: Likewise. | |
1937 | ||
b605eb59 PJ |
1938 | 2004-06-12 Peter Jakubek <peter@laseranimation.com> |
1939 | ||
1940 | * reload.c (find_reloads): Force reload for pseudo registers on big | |
1941 | endian machines. | |
1942 | ||
7e6eb623 DB |
1943 | 2004-06-11 Steven Bosscher <stevenb@suse.de> |
1944 | ||
1945 | * tree-ssa-dce.c (mark_control_dependent_edges_necessary): | |
1946 | Don't try to mark anything control dependent on the entry or | |
1947 | exit blocks. | |
1948 | ||
1949 | 2004-06-11 Daniel Berlin <dberlin@dberlin.org> | |
9ade2479 | 1950 | |
7e6eb623 DB |
1951 | Fix Bug 15899 |
1952 | Fix Bug 15460 | |
1953 | * tree.h (SSA_NAME_VALUE): New macro. | |
1954 | (struct tree_ssa_name): Add value_handle member. | |
1955 | * tree-ssa-pre.c: Replaced. | |
1956 | * tree-flow.h (tree_ann_type): Add CST_ANN, EXPR_ANN. | |
1957 | (struct cst_ann_d): New. | |
1958 | (struct expr_ann_d): New. | |
1959 | (union tree_ann_d): Add cst_ann, expr_ann. | |
1960 | * tree-dfa.c (create_cst_ann): New function. | |
1961 | (create_expr_ann): Ditto. | |
1962 | * tree-flow-inline.h (cst_ann): New function. | |
1963 | (expr_ann): Ditto. | |
1964 | (get_cst_ann): Ditto. | |
1965 | (get_expr_ann): Ditto.. | |
1966 | ||
9839edf1 JDA |
1967 | 2004-06-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1968 | ||
e2ddd6ca JDA |
1969 | * pa.c (pa_hpux_init_libfunc): Add support for unord_optab. |
1970 | * pa/quadlib.c (enum qfcmp_magic): Define magic values for call to | |
1971 | _U_Qfcmp library function. | |
1972 | (_U_Qfltgt, _U_Qfunle, _U_Qfunlt, _U_Qfunge, _U_Qfungt, _U_Qfuneq, | |
1973 | _U_Qfunord, _U_Qford): Add more TFmode builtin compare functions. | |
1974 | ||
9839edf1 JDA |
1975 | * pa.c (legitimize_pic_address): Use UNSPEC_DLTIND14R to identify |
1976 | unspec used for loading address from DLT. | |
1977 | * pa.md: Define constants for the uses of UNSPEC and UNSPEC_VOLATILE. | |
1978 | Change all users of UNSPEC and UNSPEC_VOLATILE to use new constants. | |
1979 | Don't use short code sequence when loading the address of a nonlocal | |
1980 | label. | |
1981 | (nonlocal_goto): New expander. | |
1982 | (indirect_goto): New jump pattern for nonlocal gotos. | |
1983 | (short_jump): Remove extra whitespace. | |
1984 | (builtin_longjmp): Clobber memory and hard frame pointer. Restore | |
1985 | frame pointer via virtual_stack_vars_rtx when we have a nonlocal goto | |
1986 | pattern. | |
1987 | ||
41c64ac0 RS |
1988 | 2004-06-11 Roger Sayle <roger@eyesopen.com> |
1989 | ||
1990 | * expmed.c (synth_mult): Add an additional MODE argument for the | |
1991 | machine mode of the multiplication. Update recursive calls. Use | |
1992 | mode instead of word_mode for determining operation costs. | |
1993 | (choose_mult_variant): Update calls to synth_mult with "mode". | |
1994 | ||
9098a3ec RH |
1995 | 2004-06-11 Richard Henderson <rth@redhat.com> |
1996 | ||
1997 | * tree-ssa-operands.c (get_stmt_operands): Clear makes_aliased_loads | |
1998 | and makes_aliased_stores. | |
1999 | ||
55c45226 AP |
2000 | 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu> |
2001 | ||
2002 | * doc/install.text (--enable-shared): Fix typo. | |
2003 | ||
65da5a20 RH |
2004 | 2004-06-11 Richard Henderson <rth@redhat.com> |
2005 | ||
2006 | * config/alpha/alpha.c (alpha_gimplify_va_arg_1): Remove post_p | |
2007 | argument. Use internal post for call to gimplify_expr. Tidy | |
2008 | rounded type size computation. | |
2009 | (alpha_gimplify_va_arg): Use get_formal_tmp_var and | |
2010 | get_initialized_tmp_var. | |
2011 | ||
07659e97 AP |
2012 | 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu> |
2013 | ||
65da5a20 RH |
2014 | * doc/install.texi (--enable-shared): Update libobjc's shared library |
2015 | status. Remove reference to libf2c. | |
07659e97 | 2016 | |
67c605a5 JM |
2017 | 2004-06-11 Jason Merrill <jason@redhat.com> |
2018 | ||
2019 | * config/i386/i386.h (EXPAND_BUILTIN_VA_ARG): Just abort. | |
2020 | * config/i386/i386.c (ix86_va_arg): Remove. | |
2021 | * config/rs6000/rs6000.h (EXPAND_BUILTIN_VA_ARG): Just abort. | |
2022 | * config/rs6000/rs6000.c (rs6000_va_arg): Remove. | |
2023 | * config/alpha/alpha.h (EXPAND_BUILTIN_VA_ARG): Just abort. | |
2024 | * config/alpha/alpha.c (alpha_va_arg): Remove. | |
2025 | * config/sparc/sparc.h (EXPAND_BUILTIN_VA_ARG): Just abort. | |
2026 | * config/sparc/sparc.c (sparc_va_arg): Remove. | |
2027 | ||
2028 | * tree-ssa-operands.c (get_stmt_operands): Use a V_MAY_DEF if the | |
2029 | assignment might throw. | |
2030 | * tree-eh.c (tree_could_throw_p): Support non-call exceptions in | |
2031 | expressions. | |
2032 | ||
e6ff425c R |
2033 | 2004-06-11 J"orn Rennecke <joern.rennecke@superh.com> |
2034 | ||
67fc0c0f | 2035 | PR 15886: |
e6ff425c R |
2036 | * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx. |
2037 | ||
ccfca4ae JM |
2038 | 2004-06-11 Joseph S. Myers <jsm@polyomino.org.uk> |
2039 | ||
2040 | * doc/install.texi (Prerequisites): Update documentation of | |
2041 | required versions of autoconf and automake. Remove mention of | |
2042 | libf2c. | |
2043 | ||
5f393b25 JM |
2044 | 2004-06-11 Jason Merrill <jason@redhat.com> |
2045 | ||
2046 | * config/sparc/sparc.c (sparc_gimplify_va_arg): New fn. | |
2047 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. | |
2048 | ||
5801c467 JQ |
2049 | 2004-06-11 Jerry Quinn <jlquinn@optonline.net> |
2050 | ||
2051 | * typeclass.h: Add GPL plus exception license. Add include | |
2052 | guard. | |
2053 | ||
3bcb4e37 JM |
2054 | 2004-06-10 Jason Merrill <jason@redhat.com> |
2055 | ||
2056 | * gimplify.c (gimplify_modify_expr): Don't force a temporary | |
2057 | of an aggregate_value_p type. | |
2058 | ||
3100d647 JL |
2059 | 2004-06-10 Jeff Law <law@redhat.com> |
2060 | ||
2061 | * fold-const.c (fold_inf_compare): Avoid creating non-gimple | |
2062 | code when we are in gimple form. | |
2063 | ||
95a3742c DN |
2064 | 2004-06-10 Diego Novillo <dnovillo@redhat.com> |
2065 | ||
2066 | * Makefile.in (tree-ssanames.o): Depend on TREE_FLOW_H. | |
2067 | * tree-flow.h (ssa_names, num_ssa_names, ssa_name): Declare. | |
2068 | (highest_ssa_version): Remove. | |
2069 | * tree-outof-ssa.c (new_temp_expr_table): Replace | |
2070 | highest_ssa_version with num_ssa_names. | |
2071 | (dump_replaceable_exprs): Likewise. | |
2072 | (rewrite_vars_out_of_ssa): Likewise. | |
2073 | * tree-ssa-ccp.c (initialize): Likewise | |
2074 | * tree-ssa-copyrename.c (rename_ssa_copies): Likewise. | |
2075 | * tree-ssa-dce.c (tree_dce_init): Likewise. | |
2076 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise. | |
2077 | * tree-ssa-live.c (create_ssa_var_map): Likewise. | |
2078 | (dump_var_map): Likewise. | |
2079 | * tree-ssa.c (verify_ssa): Likewise. | |
2080 | (kill_redundant_phi_nodes): Likewise. | |
2081 | Do not build a local array of SSA_NAMEs. Use the ssa_names table. | |
2082 | * tree-ssanames.c: Include tree-flow.h | |
2083 | (ssa_names): New varray. | |
2084 | (init_ssa_names): Initialize ssa_names. | |
2085 | Reserve the first slot of the ssa_names table. | |
2086 | (make_ssa_name): Push the newly created SSA_NAME into ssa_names. | |
2087 | Assign version numbers using num_ssa_names. | |
2088 | ||
a72967cd JM |
2089 | 2004-06-10 Joseph S. Myers <jsm@polyomino.org.uk> |
2090 | ||
2091 | * doc/sourcebuild.texi (Front End): Add details of more | |
2092 | installation documentation required. | |
2093 | ||
a32b97a2 BB |
2094 | 2004-06-10 Brian Booth <bbooth@redhat.com> |
2095 | ||
2096 | * doc/tree-ssa.texi: Remove references to VDEF and add descriptions | |
2097 | of V_MAY_DEF and V_MUST_DEF. | |
2098 | * tree-dfa.c (dfa_stats_d): Add num_v_must_defs and rename | |
2099 | num_vdefs to num_v_may_defs. | |
2100 | (compute_immediate_uses_for_stmt): Rename occurences of vdef | |
2101 | to v_may_def. | |
2102 | (redirect_immediate_uses): Ditto. | |
2103 | (dump_dfa_stats): Ditto. Also added code to dump num_v_must_defs. | |
2104 | (collect_dfa_stats_r): Rename occurences of vdef to v_may_def. | |
2105 | Also add code to sum up the number of v_must_defs. | |
2106 | (vdefs_disappeared_p): Replace with... | |
2107 | (v_may_defs_disappeared_p): This. | |
2108 | (v_must_defs_disappeared_p): New function. | |
2109 | (mark_new_vars_to_rename): Rename occurences of vdef to v_may_def. | |
2110 | Also add code to mark new variables found in V_MUST_DEFs for | |
2111 | renameing. | |
2112 | * tree-flow.h (stmt_ann_d): Add v_must_def_ops and replace | |
2113 | vdef_ops to v_may_def_ops. | |
2114 | (get_vdef_ops): Replace with... | |
2115 | (get_v_may_def_ops): This. | |
2116 | * tree-flow-inline.h (get_vdef_ops): Replace with... | |
2117 | (get_v_may_def_ops): This. | |
2118 | (get_v_must_def_ops): New function. | |
2119 | (get_vdef_result_ptr): Replace with... | |
2120 | (get_v_may_def_result_ptr): This. | |
2121 | (get_vdef_op_ptr): Ditto with... | |
2122 | (get_v_may_def_op_ptr); This. | |
2123 | (get_v_must_def_op_ptr): New function. | |
2124 | * tree-into-ssa.c (mark_def_sites): Rename occurences of vdef | |
2125 | to v_may_def. Also add code to mark statements with | |
2126 | V_MUST_DEFs as definition sites. | |
9ade2479 | 2127 | (rewrite_stmt): Rename occurences of vdef to v_may_def. Also |
a32b97a2 BB |
2128 | add code to register new V_MUST_DEFs made by the statement. |
2129 | * tree-outof-ssa.c (VIRTUAL_PARTITION): Update comments. | |
9ade2479 | 2130 | (check_replaceable): Rename occurences of vdef to v_may_def. Also |
a32b97a2 BB |
2131 | add check for V_MUST_DEFs. |
2132 | (find_replaceable_in_bb): Ditto. | |
2133 | * tree-pretty-print.c (dump_vops): Rename occurences of vdef | |
2134 | to v_may_def. Also add code to dump V_MUST_DEFs. | |
2135 | * tree-sra.c (mark_all_vdefs): Replace with... | |
2136 | (mark_all_v_may_defs): This. | |
2137 | (mark_all_v_must_defs): New function. | |
2138 | (create_scalar_copies): Replace call to mark_all_vdefs with | |
2139 | calls to mark_all_v_may_defs and mark_all_v_must_defs. | |
9ade2479 | 2140 | (scalarize_structures): Rename occurences of vdef to v_may_def. |
a32b97a2 BB |
2141 | Also add a check for V_MUST_DEFs. |
2142 | (scalarize_modify_expr): Rename occurences of vdef to v_may_def. | |
2143 | * tree-ssa-alias.c (global_var): Update comment. | |
2144 | (compute_may_aliases): Ditto. | |
2145 | (compute_points_to_and_addr_escape): Rename occurences of vdef | |
9ade2479 | 2146 | to v_may_def. Also add code to mark variables in V_MUST_DEF |
a32b97a2 BB |
2147 | operands as being written to. |
2148 | (group_aliases): Update comment. | |
2149 | (maybe_create_global_var): Ditto. | |
2150 | * tree-ssa.c (verify_ssa): Rename occurences of vdef to v_may_def. | |
2151 | Also add a check for V_MUST_DEFs on GIMPLE registers. | |
2152 | (replace_immediate_uses): Rename occurences of vdef to v_may_def. | |
2153 | * tree-ssa-ccp.c (visit_stmt): Rename occurences of vdef | |
9ade2479 | 2154 | to v_may_def. Also add code to mark all V_MUST_DEF operands |
a32b97a2 BB |
2155 | VARYING. |
2156 | (initialize): Ditto. | |
2157 | (set_rhs): Rename occurences of vdef to v_may_def. Also add | |
2158 | code to update SSA_NAMEs in V_MUST_DEFs. | |
2159 | * tree-ssa-copy.c (cprop_into_stmt): Rename occurences of vdef | |
2160 | to v_may_def. | |
9ade2479 | 2161 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Rename |
a32b97a2 BB |
2162 | occurences of vdef to v_may_def. Also add code to mark statements |
2163 | with V_MUST_DEFs as necessary. | |
2164 | (propagate_necessity): Rename occurences of vdef to v_may_def. | |
9ade2479 | 2165 | * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Rename |
a32b97a2 BB |
2166 | occurences of vdef to v_may_def. Also add code to mark operands |
2167 | in V_MUST_DEFs for renaming. | |
2168 | (eliminate_redundant_computations): Rename occurences of vdef | |
2169 | to v_may_def. | |
2170 | (record_equivalences_from_stmt): Rename occurences of vdef | |
2171 | to v_may_def. Also add code to record VUSEs for V_MUST_DEFs. | |
2172 | (optimize_stmt): Remove unnesessary variable vdefs. Update | |
2173 | comment. | |
2174 | (register_definitions_for_stmt): Rename occurences of vdef | |
2175 | to v_may_def. Also add code to register definitions made with | |
2176 | V_MUST_DEFs. | |
2177 | * tree-ssa-dse.c (fix_stmt_vdefs): Replace with... | |
2178 | (fix_stmt_v_may_defs): This. | |
2179 | (fix_phi_uses): Rename occurences of vdef to v_may_def. | |
2180 | (dse_optimize_stmt): Ditto. | |
2181 | * tree-ssa-live.c (create_ssa_var_map): Rename occurences of vdef | |
2182 | to v_may_def. Also add code to mark V_MUST_DEF operands as being | |
2183 | used in virtual operators. | |
9ade2479 | 2184 | * tree-ssa-loop.c (mark_defs_for_rewrite): Rename occurences of |
a32b97a2 BB |
2185 | vdef to v_may_def. Also add code to mark V_MUST_DEF operands for |
2186 | renaming. | |
9ade2479 | 2187 | * tree-ssa-operands.c (opf_kill_def): New flag for killing |
a32b97a2 BB |
2188 | definitions. |
2189 | (build_vdefs): Renamed to... | |
2190 | (build_v_may_defs): This. | |
2191 | (build_v_must_defs): New variable. | |
2192 | (voperands_d): Add v_must_def_ops and replace vdef_ops with | |
2193 | v_may_def_ops. | |
2194 | (append_vdef): Replace with... | |
2195 | (append_v_may_def): This. | |
2196 | (append_v_must_def): New function. | |
2197 | (NUM_FREE): Increment for V_MUST_DEF | |
2198 | (optype_freelist): Increment its size for V_MUST_DEF | |
2199 | (allocate_vdef_optype): Replace with... | |
2200 | (allocate_v_may_def_optype): This. | |
2201 | (allocate_v_must_def_optype): New function. | |
2202 | (free_vdefs): Replace with... | |
2203 | (free_v_may_defs): This. | |
2204 | (free_v_must_defs): New function. | |
2205 | (remove_vdefs): Replace with... | |
2206 | (remove_v_may_defs): This. | |
2207 | (remove_v_must_defs): New function. | |
2208 | (init_ssa_operands): Rename occurences of vdef to v_may_def. Also | |
2209 | add code to initialize build_v_must_defs. | |
2210 | (finalize_ssa_vdefs): Replace with... | |
2211 | (finalize_ssa_v_may_defs): This. | |
2212 | (finalize_ssa_vuses): Rename occurences of vdef to v_may_def. | |
2213 | (finalize_ssa_v_must_defs): New function. | |
2214 | (finalize_ssa_stmt_operands): Replace call to finalize_ssa_vdefs | |
2215 | with calls to finalize_ssa_v_may_defs and finalize_ssa_v_must_defs. | |
2216 | (verify_start_operands): Rename occurences of vdef to v_may_def. | |
2217 | Also add check for build_v_must_defs. | |
2218 | (get_stmt_operands): Rename occurences of vdef to v_may_def. | |
2219 | Also add code to handle V_MUST_DEFs and to use opf_kill_def for | |
2220 | killing definitions. | |
2221 | (get_expr_operands): Update comment and use opf_kill_def for | |
2222 | killing definitions. | |
2223 | (add_stmt_operand): Replace code that appends VDEFs with code | |
2224 | that appends V_MUST_DEFs when opf_kill_def is set and V_MAY_DEFs | |
2225 | otherwise. | |
2226 | (add_call_clobber_ops): Update comments. | |
2227 | * tree-ssa-operands.h (vdef_optype_d): Replace with... | |
2228 | (v_may_def_optype_d): This. | |
2229 | (v_must_def_optype_d): New structure. | |
2230 | (VDEF_OPS): Replace with... | |
2231 | (V_MAY_DEF_OPS): This. | |
2232 | (STMT_VDEF_OPS): Same with... | |
2233 | (STMT_V_MAY_DEF_OPS): This. | |
2234 | (NUM_VDEFS): And... | |
2235 | (NUM_V_MAY_DEFS): This. | |
2236 | (VDEF_RESULT_PTR): As well as... | |
2237 | (V_MAY_DEF_RESULT_PTR): This. | |
2238 | (VDEF_RESULT): Same goes for... | |
2239 | (V_MAY_DEF_RESULT): This. | |
2240 | (VDEF_OP_PTR): And... | |
2241 | (V_MAY_DEF_OP_PTR): This. | |
2242 | (VDEF_OP): And... | |
2243 | (V_MAY_DEF_OP): This. | |
2244 | (V_MUST_DEF_OPS): New macro. | |
2245 | (STMT_V_MUST_DEF_OPS): Ditto. | |
2246 | (NUM_V_MUST_DEFS): Ditto. | |
2247 | (V_MUST_DEF_OP_PTR): Ditto. | |
2248 | (V_MUST_DEF_OP): Ditto. | |
2249 | (remove_vdefs): Replace signature with... | |
2250 | (remove_v_may_defs): This. | |
2251 | (remove_v_must_defs): New function signature. | |
2252 | * tree-ssa-pre.c (subst_phis): Replace call to remove_vdefs | |
2253 | with calls to remove_v_may_defs and remove_v_must_defs. | |
2254 | (process_left_occs_and_kills): Rename occurences of vdef to v_may_def. | |
2255 | Also add code that marks left occurences of operands in V_MUST_DEFs. | |
9ade2479 | 2256 | * tree-tailcall.c (find_tail_calls): Rename occurences of vdef |
a32b97a2 BB |
2257 | to v_may_def. Also add check for V_MUST_DEFs. |
2258 | (eliminate_tail_call):Rename occurences of vdef to v_may_def. | |
2259 | ||
d57f1617 VM |
2260 | 2004-06-10 Vladimir Makarov <vmakarov@redhat.com> |
2261 | ||
2262 | PR target/15653 | |
2263 | * haifa-sched.c (schedule_block): Finish cycle after issuing asm | |
2264 | insn. | |
2265 | ||
322afd16 VR |
2266 | 2004-06-10 Volker Reichelt <reichelt@igpm.rwth-aachen.de> |
2267 | ||
2268 | PR web/15263 | |
2269 | * doc/install.texi: Remove superfluous linebreak. | |
2270 | ||
aa6c7c3a RS |
2271 | 2004-06-10 Roger Sayle <roger@eyesopen.com> |
2272 | ||
2273 | * builtins.c (expand_builtin): Fall back to library function call for | |
2274 | conj, conjf, conjl, creal, crealf, creall, cimag, cimagf and cimagl. | |
2275 | (fold_builtin_1): Lower built-ins BUILT_IN_CONJ{,F,L} to CONJ_EXPR, | |
2276 | BUILT_IN_CREAL{,F,L} to REALPART_EXPR, and BUILT_IN_CIMAG{,F,L} to | |
2277 | IMAGPART_EXPR respectively. | |
2278 | ||
078c8b08 R |
2279 | 2004-06-10 J"orn Rennecke <joern.rennecke@superh.com> |
2280 | ||
2281 | * sh.c (dump_table): New argument start. Changed caller. | |
2282 | (fixup_mova): New function. | |
2283 | (find_barrier): Use it. | |
2284 | (sh_reorg): Likewise. Check for CODE_FOR_casesi_worker_2. | |
2285 | If the label a mova refers to is above the mova itself, change | |
2286 | the mova into a load. | |
2287 | * sh.md (*casesi_worker): Rename to: | |
2288 | (casesi_worker_1). | |
2289 | (casesi_worker_2): New insn. | |
2290 | ||
23a60a04 JM |
2291 | 2004-06-10 Jason Merrill <jason@redhat.com> |
2292 | ||
9ade2479 | 2293 | * target.h (struct gcc_target): Change gimplify_va_arg_expr |
23a60a04 JM |
2294 | hook signature. |
2295 | * tree-gimple.h: Adjust. | |
2296 | * config/alpha/alpha.c (alpha_gimplify_va_arg): Adjust. | |
2297 | * config/i386/i386.c (ix86_gimplify_va_arg): Adjust. | |
2298 | Use fold_convert. | |
2299 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Adjust. | |
2300 | * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust. | |
2301 | Use COMPLEX_EXPR for complex numbers. Use fold_convert. | |
2302 | * builtins.c (std_gimplify_va_arg_expr): Adjust. Use fold_convert. | |
2303 | (gimplify_va_arg_expr): Return GS_ERROR in error case. | |
2304 | Gimplify valist rather than calling stabilize_va_list. | |
2305 | ||
9bf7acfc ZD |
2306 | 2004-06-10 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2307 | ||
2308 | * Makefile.in (df.o): Remove fibheap dependency. | |
2309 | * df.h: Do not include sbitmap.h. | |
2310 | (struct ref): New field "data". | |
2311 | (DF_REF_DATA): New accessor macro. | |
2312 | (struct df): Field "dom" removed. | |
2313 | (df_analyze_subcfg): New function. | |
2314 | (transfer_function_sbitmap, transfer_function_bitmap): Replaced by ... | |
2315 | (transfer_function): ... new type. | |
2316 | (iterative_dataflow_sbitmap, iterative_dataflow_bitmap): Replaced by ... | |
2317 | (iterative_dataflow): ... new function. | |
2318 | (enum set_representation, struct dataflow): New. | |
2319 | * df.c: Do not include fibheap.h. | |
2320 | ||
2321 | (df_reg_def_chain_clean, df_reg_use_chain_clean, | |
2322 | (df_bb_table_realloc, df_analyse_subcfg, free_reg_ref_chain, | |
2323 | prune_to_subcfg, df_bb_modify): New functions. | |
2324 | (df_bitmaps_alloc, df_reg_def_chain_create, df_reg_use_chain_create, | |
2325 | df_refs_update, df_reg_table_realloc, df_ref_create, | |
2326 | df_bb_reg_def_chain_create, df_bb_reg_use_chain_create, | |
2327 | df_bb_rd_local_compute, df_bb_ru_local_compute, df_bb_lr_local_compute, | |
2328 | df_analyse_1, df_insn_modify): Support analysing only a part of the cfg. | |
9ade2479 | 2329 | |
9bf7acfc ZD |
2330 | (dataflow_set_a_op_b, dataflow_set_copy): New functions. |
2331 | (df_rd_transfer_function, df_ru_transfer_function, | |
2332 | df_lr_transfer_function): Type of bitmaps changed to void *. | |
2333 | (hybrid_search_bitmap, hybrid_search_sbitmap): Merge into ... | |
2334 | (hybrid_search): ... new function. | |
2335 | (iterative_dataflow_bitmap, iterative_dataflow_sbitmap): Merge into ... | |
2336 | (iterative_dataflow): ... new function. Avoid use of fibheaps for | |
2337 | a worklist. Do not process basic blocks unnecessarily. | |
2338 | ||
9655d83b RS |
2339 | 2004-06-10 Roger Sayle <roger@eyesopen.com> |
2340 | ||
2341 | * fold-const.c (fold_abs_const): Make extern. | |
2342 | * tree.h (fold_abs_const): Prototype here. | |
2343 | * builtins.c (fold_builtin_fabs): New function to transform | |
2344 | fabs, fabsf and fabsl builtins into ABS_EXPR tree nodes. | |
2345 | (fold_builtin_abs): New function to transform abs, labs, llabs | |
2346 | and imaxabs builtins into ABS_EXPR tree nodes. | |
2347 | (expand_builtin): Fall back to a function call for abs, labs, | |
2348 | llabs and imaxabs builtins that survive constant folding. | |
2349 | (fold_builtin_1): Call fold_builtin_fabs for FABS, FABSF and | |
2350 | FABSL, and fold_builtin_abs for ABS, LABS, LLABS and IMAXABS. | |
2351 | ||
897105a1 JJ |
2352 | 2004-06-10 Jakub Jelinek <jakub@redhat.com> |
2353 | ||
2354 | * config/ia64/unwind-ia64.c (uw_frame_state_for): Don't assume a | |
2355 | leaf function without unwind info at RP 0. | |
2356 | ||
498c0f27 JJ |
2357 | 2004-06-10 Jakub Jelinek <jakub@redhat.com> |
2358 | ||
2359 | PR c++/14791 | |
2360 | * tree.h (enum tree_index): Add TI_FILEPTR_TYPE. | |
2361 | (fileptr_type_node): Define. | |
2362 | * tree.c (build_common_tree_nodes_2): Initialize | |
2363 | fileptr_type_node to ptr_type_node. | |
2364 | * c-common.c (c_common_nodes_and_builtins): For C++, make | |
2365 | fileptr_type_node a distinct type copy. | |
2366 | * builtin-types.def (BT_FILEPTR, BT_FN_INT_CONST_STRING_FILEPTR, | |
2367 | BT_FN_INT_INT_FILEPTR, BT_FN_INT_FILEPTR_CONST_STRING_VALIST_ARG, | |
2368 | BT_FN_SIZE_CONST_PTR_SIZE_SIZE_FILEPTR, | |
2369 | BT_FN_INT_FILEPTR_CONST_STRING_VAR): Add. | |
2370 | (BT_FN_INT_CONST_STRING_PTR, BT_FN_INT_INT_PTR, | |
2371 | BT_FN_SIZE_CONST_PTR_SIZE_SIZE_PTR, BT_FN_INT_PTR_CONST_STRING_VAR, | |
2372 | BT_FN_INT_PTR_CONST_STRING_VALIST_ARG): Remove. | |
2373 | * builtins.def (BUILT_IN_FPRINTF, BUILT_IN_FPRINTF_UNLOCKED, | |
2374 | BUILT_IN_FPUTC, BUILT_IN_FPUTC_UNLOCKED, BUILT_IN_FPUTS, | |
2375 | BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FSCANF, BUILT_IN_FWRITE, | |
2376 | BUILT_IN_FWRITE_UNLOCKED, BUILT_IN_VFPRINTF, BUILT_IN_VFSCANF): Use | |
2377 | the above *FILEPTR* types instead of *PTR*. | |
2378 | ||
fce66145 DB |
2379 | 2004-06-09 Daniel Berlin <dberlin@dberlin.org> |
2380 | ||
9ade2479 | 2381 | * tree-ssa.c (verify_ssa): Verify that vdefs/makes_aliased_stores |
fce66145 DB |
2382 | match. |
2383 | ||
a653e758 RS |
2384 | 2004-06-09 Roger Sayle <roger@eyesopen.com> |
2385 | ||
2386 | * fold-const.c (fold_not_const): New function. | |
2387 | (fold) <ABS_EXPR>: Don't bother testing wins. | |
2388 | (fold) <BIT_NOT_EXPR>: Call fold_not_const. | |
2389 | (nondestructive_fold_unary_to_constant) <BIT_NOT_EXPR>: Likewise. | |
2390 | ||
e66e7856 | 2391 | 2004-06-09 Richard Henderson <rth@redhat.com> |
9ade2479 | 2392 | |
498c0f27 JJ |
2393 | PR middle-end/15228 |
2394 | * function.c (assign_parms): Always set_mem_align with the computed | |
2395 | FUNCTION_ARG_BOUNDARY. Don't clear stack_parm if !STRICT_ALIGNMENT. | |
e66e7856 | 2396 | |
4b5b9613 RH |
2397 | 2004-06-09 Richard Henderson <rth@redhat.com> |
2398 | ||
2399 | PR opt/15108 | |
2400 | * tree-tailcall.c (find_tail_calls): Don't check early for | |
2401 | tail_recursion failure. | |
2402 | ||
313679b0 DN |
2403 | 2004-06-09 Diego Novillo <dnovillo@redhat.com> |
2404 | ||
2405 | Move SSA_NAME annotations into tree_ssa_name. | |
2406 | ||
2407 | * tree-dfa.c (create_ssa_name_ann): Remove. | |
2408 | * tree-flow-inline.h (ssa_name_ann, get_ssa_name_ann): Remove. | |
2409 | * tree-flow.h (enum tree_ann_type): Remove SSA_NAME_ANN. | |
2410 | (struct ssa_name_ann_d): Remove. | |
2411 | (union tree_ann_d): Update. | |
2412 | (ssa_name_ann_t): Remove. | |
2413 | * tree-ssa-alias.c: (get_ptr_info): New local function. | |
2414 | Replace references to ssa_name_ann_t with struct ptr_info_def. | |
2415 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
2416 | * tree.h (SSA_NAME_PTR_INFO): Define. | |
2417 | (struct ptr_info_def): Declare. | |
2418 | (struct tree_ssa_name): Add field 'ptr_info'. | |
2419 | ||
33300a2e DS |
2420 | 2004-06-09 Danny Smith <dannysmith@users.sourceforge.net> |
2421 | ||
8041d6ab | 2422 | * config/i386/winnt.c (i386_pe_output_labelref): Correct |
33300a2e DS |
2423 | misplaced ')'. |
2424 | ||
8695f61e SB |
2425 | 2004-06-09 Steven Bosscher <stevenb@suse.de> |
2426 | ||
2427 | * config/i386/k6.md: Rewrite using the DFA model. | |
2428 | * config/i386/i386.c (ix86_adjust_cost): Don't increase the | |
2429 | cost of load-operation insns for the K6. | |
2430 | (ia32_use_dfa_pipeline_interface): Add TARGET_K6. | |
2431 | (ia32_multipass_dfa_lookahead): Likewise. | |
2432 | ||
28245018 RH |
2433 | 2004-06-09 Richard Henderson <rth@redhat.com> |
2434 | ||
2435 | * config/alpha/alpha.c (alpha_gimplify_va_arg_1, | |
2436 | alpha_gimplify_va_arg, TARGET_GIMPLIFY_VA_ARG_EXPR): New. | |
2437 | ||
bb394606 RH |
2438 | 2004-06-09 Richard Henderson <rth@redhat.com> |
2439 | ||
2440 | * expmed.c (emit_store_flag): Cope with FLOAT_STORE_FLAG_VALUE. | |
2441 | ||
d8044160 GK |
2442 | 2004-06-09 Geoffrey Keating <geoffk@apple.com> |
2443 | ||
2444 | * Makefile.in (CPPLIB_H): Put files in order of inclusion. | |
2445 | (CPP_ID_DATA_H): New. | |
2446 | (gtype-desc.o): Update dependencies. | |
2447 | (GTFILES): Use CPP_ID_DATA_H. | |
2448 | ||
0e5b7cfa MM |
2449 | 2004-06-09 Mark Mitchell <mark@codesourcery.com> |
2450 | ||
2451 | Revert: | |
2452 | PR c++/15815 | |
2453 | 2004-06-07 Mark Mitchell <mark@codesourcery.com> | |
2454 | * doc/extend.texi: Deprecate #pragma interface and #pragma | |
2455 | implementation. | |
2456 | ||
5162e02a DM |
2457 | 2004-06-09 David S. Miller <davem@nuts.davemloft.net> |
2458 | ||
2459 | * config/sparc/sparc.h (MOVE_RATIO): New definition. | |
2460 | ||
62b857ea RH |
2461 | 2004-06-09 Richard Henderson <rth@redhat.com> |
2462 | ||
2463 | * basic-block.h (struct edge_def): Add goto_locus. | |
2464 | * tree-cfg.c (make_goto_expr_edges): Set it. | |
2465 | (disband_implicit_edges): Use it. | |
2466 | * tree-pretty-print.c (dump_implicit_edges): Print it. | |
2467 | ||
93a9f7d6 AP |
2468 | 2004-06-08 Anil Paranjpe <anilp1@kpitcummins.com> |
2469 | ||
2470 | * h8300.md (ldm_h8300s_4): Fix condition for expander. | |
2471 | ||
cd3ce9b4 JM |
2472 | 2004-06-08 Jason Merrill <jason@redhat.com> |
2473 | ||
2474 | Gimplify VA_ARG_EXPR into simpler forms. | |
2475 | * target.h: Add gimplify_va_arg_expr hook. | |
2476 | * target-def.h: Add TARGET_GIMPLIFY_VA_ARG_EXPR. | |
2477 | * fold-const.c (build_fold_addr_expr) | |
2478 | (build_fold_addr_expr_with_type): Move from gimplify.c. | |
2479 | * tree.h: Declare them. | |
2480 | * gimplify.c (gimplify_and_add): New fn. | |
2481 | (build_addr_expr, build_addr_expr_with_type): Move to fold-const.c. | |
2482 | (gimplify_array_ref_to_plus, gimplify_modify_expr) | |
2483 | (gimplify_expr): Use build_fold_*. | |
2484 | (copy_if_shared_r): Only mark VA_ARG_EXPR volatile if we | |
2485 | don't know how to gimplify it. | |
2486 | * builtins.c (std_gimplify_va_arg_expr): New fn. | |
2487 | (dummy_object): New static fn. | |
2488 | (gimplify_va_arg_expr): New fn. | |
2489 | (stabilize_va_list): Use build_fold_*. | |
2490 | * tree-gimple.h: Declare new fns. | |
2491 | * config/i386/i386.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. | |
2492 | (ix86_gimplify_va_arg): New fn. | |
373614fc | 2493 | * config/ia64/ia64.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. |
cd3ce9b4 | 2494 | (ia64_gimplify_va_arg): New fn. |
373614fc | 2495 | * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): New fn. |
cd3ce9b4 | 2496 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. |
cd3ce9b4 | 2497 | * alias.c (get_varargs_alias_set): Just return 0 for now. |
9ade2479 | 2498 | |
cd3ce9b4 JM |
2499 | * c-objc-common.c (c_tree_printer): Improve handling of %T. |
2500 | ||
e072ae27 AP |
2501 | 2004-06-09 Andrew Pinski <pinskia@physics.uc.edu> |
2502 | ||
2503 | * tree-complex.c (expand_complex_comparison): Use fold_convert instead | |
2504 | of convert. | |
2505 | * tree-inline.c (setup_one_parameter): Likewise. | |
2506 | * tree-sra.c (csc_build_component_ref): Likewise. | |
2507 | * tree-ssa-ccp.c (ccp_fold): Likewise. | |
2508 | * tree-ssa-copy.c (cprop_operand): Likewise. | |
2509 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Likewise. | |
2510 | * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise. | |
2511 | ||
b40742a5 R |
2512 | 2004-06-09 J"orn Rennecke <joern.rennecke@superh.com> |
2513 | ||
2514 | PR rtl-optimization/15521: | |
2515 | * sched-int.h (in_post_call_group_p): Change type to enum. | |
2516 | * sched-deps.c (sched_analyze_insn): | |
2517 | (sched_analyze): When in_post_call_group_p is post_call_initial, | |
2518 | don't add a dependency, but still set SCHED_GROUP_P and CANT_MOVE, | |
2519 | and also reset in_post_call_group_p to post_call. | |
2520 | (sched_analyze): When the previous basic block ended in a CALL_INSN, | |
2521 | initialize in_post_call_group_p as post_call_initial. | |
2522 | (init_deps): initialize in_post_call_group_p to not_post_call. | |
9ade2479 | 2523 | |
e22df315 AC |
2524 | 2004-06-09 Arnaud Charlet <charlet@act-europe.fr> |
2525 | ||
2526 | PR ada/6637 | |
2527 | * doc/install.texi: List ada, libada as options to --enable-shared | |
2528 | ||
ad6717df PB |
2529 | 2004-06-09 Paolo Bonzini <bonzini@gnu.org> |
2530 | ||
2531 | * aclocal.m4 (gcc_AC_PROG_LN): Remove. | |
2532 | (gcc_AC_CHECK_DECLS): Use AH_TEMPLATE to generate | |
2533 | config.in entries. | |
2534 | * configure.ac: Call ACX_PROG_LN, falling back to $LN_S | |
2535 | if hard links are not available. | |
2536 | * configure: Regenerate. | |
2537 | * config.in: Regenerate. | |
2538 | ||
74ee1642 PB |
2539 | 2004-06-08 Per Bothner <per@bothner.com> |
2540 | ||
2541 | * configure.ac: New --enable-mapped-location sets USE_MAPPED_LOCATION. | |
2542 | ||
144cbad0 RK |
2543 | 2004-06-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
2544 | ||
2545 | * toplev.c (floor_log2_wide): Correct casts for 64-bit hosts. | |
2546 | Correct formatting. | |
2547 | ||
02760d2f JW |
2548 | 2004-06-08 James E Wilson <wilson@specifixinc.com> |
2549 | ||
2550 | PR target/15790 | |
2551 | * config/i386/i386-coff.h (ASM_OUTPUT_ALIGN): Define. | |
2552 | ||
908d0773 AP |
2553 | 2004-06-08 Andrew Pinski <pinskia@physics.uc.edu> |
2554 | ||
2555 | * fold-const.c (fold_convert): Treat OFFSET_TYPE like | |
2556 | POINTER_TYPE and INTEGER_TYPE. | |
2557 | ||
d7777192 BI |
2558 | 2004-06-08 Bernardo Innocenti <bernie@develer.com> |
2559 | ||
2560 | * modulo-sched.c: Compile only when INSN_SCHEDULING is | |
2561 | defined. | |
2562 | ||
2d488668 JL |
2563 | 2004-06-08 Jeff Law <law@redhat.com> |
2564 | ||
8695f61e SB |
2565 | * doc/contrib.texi: Add entries for Stefan Olsson and |
2566 | Ola Ronnerup. | |
2d488668 | 2567 | |
73d10efa DD |
2568 | 2004-06-08 DJ Delorie <dj@redhat.com> |
2569 | ||
2570 | * toplev.c (floor_log2_wide): Replace loop with faster bit | |
2571 | operations. | |
2572 | (exact_log2_wide): Define in terms of the above. | |
2573 | * toplev.h (floor_log2): Use _builtin_clz family of builtins if | |
2574 | available. | |
2575 | ||
3b48085e AP |
2576 | 2004-06-08 Andrew Pinski <pinskia@physics.uc.edu> |
2577 | ||
2578 | * config/rs6000/rs6000.c (print_operand, <case 'z'>): | |
2579 | Make sure that we are in INDIRECT mode when getting the | |
2580 | stub name. | |
2581 | ||
3d5c8546 AP |
2582 | 2004-06-08 Anil Paranjpe <anilp1@kpitcummins.com> |
2583 | ||
2584 | * h8300.md (extendqisi2_h8300): Add constraints. | |
2585 | (ldm_h8300s_4_normal): Fix typo. | |
2586 | ||
71877985 RH |
2587 | 2004-06-08 Richard Henderson <rth@redhat.com> |
2588 | ||
8695f61e SB |
2589 | * gimple-low.c (struct lower_data): Replace the_return_label and |
2590 | one_return_stmt with return_statements. | |
2591 | (lower_function_body): Process the entire list of return_statements. | |
9ade2479 | 2592 | (lower_return_expr): Check source value before unifying return_exprs. |
8695f61e SB |
2593 | * gimplify.c (gimplify_return_expr): Force the use of a temporary |
2594 | for !aggregate_value_p. | |
2595 | * tree-gimple.c: Update RETURN_EXPR grammer. | |
71877985 | 2596 | |
de101ad2 VM |
2597 | 2004-06-08 Vladimir Makarov <vmakarov@redhat.com> |
2598 | ||
2599 | PR target/15598 | |
2600 | * config/ia64/ia64.c (bundling): Add missed TYPE_A. | |
2601 | ||
d599f329 ZD |
2602 | 2004-06-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
2603 | ||
2604 | PR rtl-optimization/15717 | |
2605 | * config/i386/i386.c (legitimate_constant_p): Do not allow | |
2606 | x - symbol_ref. | |
2607 | ||
0b1d52f7 AO |
2608 | 2004-06-08 Alexandre Oliva <aoliva@redhat.com> |
2609 | ||
2610 | * gimplify.c (copy_if_shared_r): Revert: | |
2611 | 2004-05-21 Richard Henderson <rth@redhat.com> | |
2612 | * gimplify.c [...] Don't mark VA_ARG_EXPRs volatile here. | |
2613 | ||
58777718 RS |
2614 | 2004-06-07 Roger Sayle <roger@eyesopen.com> |
2615 | ||
2616 | * expmed.c (add_cost, neg_cost, sdiv_pow2_cheap, smod_pow2_cheap): | |
2617 | Make arrays indexed by machine mode. Rename negate_cost to neg_cost. | |
2618 | (init_expmed): Initialize these cost arrays as appropriate. | |
2619 | (store_bit_field, extract_bit_field): Correct whitespace. | |
2620 | (synth_mult, choose_mult_variant, expand_mult, expand_mult_highpart, | |
2621 | expand_mult_highpart_optab, expand_divmod): Update uses of add_cost, | |
2622 | neg_cost, sdiv_pow2_cheap, smod_pow2_cheap to index with mode, | |
2623 | word_mode or compute_mode as appropriate. | |
2624 | ||
85bbb21f EB |
2625 | 2004-06-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
2626 | ||
2627 | PR target/15783 | |
2628 | * config/sparc/sparc.c (function_arg_union_value): Add 'mode' | |
2629 | parameter. Enumerate the registers inside the PARALLEL. | |
2630 | (function_arg): Adjust call to function_arg_union_value. | |
2631 | (function_value): Likewise. | |
2632 | ||
2633 | * config/sparc/sparc.c (sparc_function_epilogue): Properly format. | |
2634 | ||
67057c53 RS |
2635 | 2004-06-07 Roger Sayle <roger@eyesopen.com> |
2636 | ||
2637 | * real.c (real_copysign): New function to implement libm's copysign. | |
2638 | * real.h (real_copysign): Prototype here. | |
2639 | * fold-const.c (tree_expr_nonnegative_p): The result of sqrt, sqrtf | |
2640 | and sqrtl can be negative, as sqrt(-0.0) = -0.0. Correct whitespace. | |
2641 | * builtins.c (fold_builtin_isascii, fold_builtin_toascii, | |
2642 | fold_builtin_isdigit): Add function prototypes. | |
2643 | (fold_builtin_copysign): New function to fold copysign, copysignf | |
2644 | and copysignl. Optimize copysign(x,x) as x. Evaluate copysign of | |
2645 | constant arguments at compile-time using real_copysign. Fold | |
2646 | copysign(X,Y) as fabs(X) if Y is always non-negative. | |
2647 | (fold_builtin_1): Correct minor whitespace/style issues. Call | |
2648 | fold_builtin_copysign for BUILT_IN_COPYSIGN{,F,L}. | |
2649 | ||
f29b9db9 R |
2650 | 2004-06-07 J"orn Rennecke <joern.rennecke@superh.com> |
2651 | ||
2652 | * tree.c (iterative_hash_expr): Use real_hash. | |
2653 | ||
45b0c94c JM |
2654 | 2004-06-07 Joseph S. Myers <jsm@polyomino.org.uk> |
2655 | ||
2656 | PR c/14765 | |
2657 | * c-parse.in (compstmt_primary_start): Set last_expr_type to | |
2658 | NULL_TREE. | |
2659 | ||
3743236e MM |
2660 | 2004-06-07 Mark Mitchell <mark@codesourcery.com> |
2661 | ||
2662 | PR c++/15815 | |
2663 | * doc/extend.texi: Deprecate #pragma interface and #pragma | |
2664 | implementation. | |
2665 | ||
0b395e19 AO |
2666 | 2004-06-07 Alexandre Oliva <aoliva@redhat.com> |
2667 | ||
2668 | PR middle-end/15666 | |
2669 | * c-decl.c (finish_decl): Use change_decl_assembler_name for the | |
2670 | builtin decl as well. | |
2671 | ||
bf730f15 RS |
2672 | 2004-06-07 Roger Sayle <roger@eyesopen.com> |
2673 | ||
2674 | PR c/14649 | |
2675 | * c-typeck.c (require_constant_value, require_constant_elements): | |
2676 | Move declarations to the top of the file. | |
2677 | (build_function_call): If we require a constant value, fold with | |
2678 | fold_initializer. If the result is a constant, and the function | |
2679 | wasn't called using __builtin_foo, issue a pedantic warning. | |
2680 | (build_unary_op): If we require a constant value, fold tree with | |
2681 | fold_initializer. | |
2682 | (build_binary_op): Use require_constant_value to determine whether | |
2683 | to call fold or fold_initializer. | |
2684 | ||
f5a76aea RH |
2685 | 2004-06-07 Richard Henderson <rth@redhat.com> |
2686 | ||
2687 | * gimple-low.c (struct lower_data): Add the_return_label and | |
2688 | one_return_stmt. | |
2689 | (lower_function_body): Initialize and use them. | |
2690 | (lower_return_expr): New. | |
2691 | (lower_stmt): Call it. | |
2692 | * gimplify.c (gimplify_return_expr): Force the argument to be either | |
2693 | null or a result_decl. | |
2694 | * tree-gimple.c: Update gimple grammer to match. | |
2695 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Deny | |
2696 | coalescing of result_decls. | |
2697 | ||
5c64c900 RH |
2698 | 2004-06-07 Richard Henderson <rth@redhat.com> |
2699 | ||
2700 | PR rtl-opt/15193 | |
2701 | * expmed.c (extract_bit_field): Fix vector_extract return. | |
2702 | ||
2703 | * config/i386/i386.md (negv4sf2): New pattern. | |
2704 | ||
d5a10cf0 MM |
2705 | 2004-06-07 Mark Mitchell <mark@codesourcery.com> |
2706 | ||
2707 | PR c++/15337 | |
07d5edd2 | 2708 | * c-common.c (c_sizeof_or_alignof_type): Use more detailed error |
d5a10cf0 MM |
2709 | message. |
2710 | ||
2af5538b PB |
2711 | 2004-06-06 Paolo Bonzini <bonzini@gnu.org> |
2712 | ||
2713 | * config.in: Regenerate. | |
2714 | ||
7853504d SB |
2715 | 2004-06-06 Steven Bosscher <stevenb@suse.de> |
2716 | ||
2717 | * tree-cfg.c (tree_verify_flow_info): Make sure that labels in | |
2718 | SWITCH_LABELS are always sorted. | |
2719 | ||
e4638a72 SB |
2720 | 2004-06-06 Steven Bosscher <stevenb@suse.de> |
2721 | ||
2722 | * hooks.c (hook_int_void_1): New generic hook. | |
2723 | * hooks.h (hook_int_void_1): Add prototype. | |
2724 | * config/c4x/c4x.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): | |
2725 | Define to hook_int_void_1. | |
2726 | * config/c4x/c4x.md: Replace dummies for the old pipeline model | |
2727 | with dummies for the new one. | |
2728 | ||
25a1a39e RS |
2729 | 2004-06-06 Roger Sayle <roger@eyesopen.com> |
2730 | ||
2731 | * tree.h (lvalue_or_else): Delete function prototype. | |
2732 | * c-typeck.c (lvalue_or_else): Make static. Add static prototype. | |
2733 | ||
37f40c9c SC |
2734 | 2004-06-06 Stephane Carrez <stcarrez@nerim.fr> |
2735 | ||
2736 | PR target/14542 | |
2737 | * config/m68hc11/m68hc11.md (move peephole2): Emit a use note to avoid | |
2738 | a live change of a register after peephole replacement. | |
2739 | ||
10bc1b1b JM |
2740 | 2004-06-06 Joseph S. Myers <jsm@polyomino.org.uk> |
2741 | ||
2742 | PR c/13519 | |
2743 | * c-typeck.c (composite_type, common_pointer_type): New functions. | |
2744 | (common_type): Split parts into composite_type and | |
2745 | common_pointer_type. Ensure that arithmetic operations return | |
2746 | unqualified types without attributes. Don't make composite type | |
2747 | of signed enum and compatible integer be unsigned. | |
2748 | (build_conditional_expr, build_binary_op): Use | |
2749 | common_pointer_type. | |
2750 | * c-decl.c (merge_decls): Use composite_type. | |
2751 | * c-tree.h (composite_type): Declare. | |
2752 | ||
ff24b820 SC |
2753 | 2004-06-06 Stephane Carrez <stcarrez@nerim.fr> |
2754 | ||
2755 | PR target/14457 | |
2756 | * config/m68hc11/m68hc11.c (splitable_operand): New predicate. | |
2757 | * config/m68hc11/m68hc11-protos.h (splitable_operand): Declare. | |
2758 | * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register it. | |
2759 | (inhibit_libc): Must define. | |
2760 | * config/m68hc11/m68hc11.md ("movhi_const0"): Use splitable_operand. | |
2761 | ("*andhi3_gen", "iorhi3", "*iorhi3_gen"): Likewise. | |
2762 | ("xorhi3"): Likewise. | |
2763 | ||
2ddbba80 EB |
2764 | 2004-06-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
2765 | ||
2766 | * cgraphunit.c (cgraph_decide_inlining): Adjust dump lines in | |
2767 | always_inline pass. | |
2768 | ||
0eef99c1 DM |
2769 | 2004-06-05 David S. Miller <davem@nuts.davemloft.net> |
2770 | ||
2771 | * config/sparc/linux.h (TARGET_C99_FUNCTIONS): Set. | |
2772 | * config/sparc/linux64.h (TARGET_C99_FUNCTIONS): Likewise. | |
2773 | ||
1ee19633 BI |
2774 | 2004-06-05 Bernardo Innocenti <bernie@develer.com> |
2775 | ||
2776 | * regclass.c (init_reg_sets): Check for missing registers in target | |
2777 | initializer macros FIXED_REGISTERS and CALL_USED_REGISTERS. | |
2778 | ||
c6e83800 ZW |
2779 | 2004-06-05 Zack Weinberg <zack@codesourcery.com> |
2780 | ||
2781 | * Makefile.in (MKDEPS_H): New shorthand. | |
2782 | (c-opts.o): Update dependencies. | |
2783 | * c-opts.c: Include mkdeps.h. | |
2784 | (handle_deferred_opts): Use cpp_get_deps and deps_add_target, | |
2785 | not cpp_add_dependency_target. | |
2786 | ||
dbeff3e5 SB |
2787 | 2004-06-05 Steven Bosscher <stevenb@suse.de> |
2788 | ||
2789 | * config/v850/v850.c (v850_use_dfa_pipeline_interface): New. | |
2790 | * config/v850/v850.md: Convert to DFA scheduler description. | |
2791 | ||
3e31938b | 2792 | 2004-06-05 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de> |
bda4d063 TS |
2793 | |
2794 | PR fortran/15478 | |
2795 | * doc/install.texi: Document GMP as prerequisite. Document | |
2796 | --with-gmp and --with-gmp-dir configure options. | |
2797 | * fortran/gfortran.texi: Remove section "Compiling and testing", | |
c6e83800 | 2798 | remove TOC reference to it. |
bda4d063 | 2799 | |
446f52f4 GS |
2800 | 2004-06-05 Graham Stott <graham.stott@btinternet.com> |
2801 | ||
2802 | * combine.c(simplify_shift_const): Check shift amount is a | |
2803 | CONST_INT. | |
2804 | ||
90aa6719 DS |
2805 | 2004-06-05 Danny Smith <dannysmith@users.sourceforge.net> |
2806 | ||
446f52f4 | 2807 | * toplev.c (init_asm_output): Add explicit 'b' to mode when |
c6e83800 | 2808 | opening asm_out_file. |
446f52f4 GS |
2809 | * c-pch.c (c_common_write_pch): Remove unnecessary fflush before |
2810 | reading asm_out_file. Replace fflush after reading asm_out_file | |
2811 | with fseek. | |
2812 | * hosthooks-def.h (HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY): Define | |
c6e83800 | 2813 | default and add to HOST_HOOKS_INITIALIZER. |
446f52f4 GS |
2814 | * hosthooks.h (gt_pch_alloc_granularity): Declare hook function. |
2815 | * ggc-common.c (default_gt_pch_alloc_granularity): New function. | |
c6e83800 | 2816 | (gt_pch_save): Use host_hooks.gt_pch_alloc_granularity |
446f52f4 GS |
2817 | to set mmi.offset padding. |
2818 | * config.gcc (i[34567]86-*-mingw32*): Set target_gtfiles to | |
2819 | $(srcdir)/config/i386/winnt.c. | |
2820 | (i[34567]86-*-pe | i[34567]86-*-cygwin*): Likewise. | |
2821 | (i[34567]86-*-uwin*): Likewise. | |
2822 | *i[34567]86-*-interix3*): Likewise. | |
2823 | * config.host (i[34567]86-*-mingw32*): Set out_host_hook_obj. | |
2824 | * config/i386/host-mingw32.c: New file. | |
2825 | * config/i386/x-mingw32: Add rule for host-mingw32.o. | |
2826 | * config/i386/winnt.c: (struct extern_list) Tag as GTY. | |
2827 | (extern_head): Likewise. | |
2828 | (struct export_list) Likewise. | |
2829 | (export_head): Likewise. | |
2830 | (i386_pe_record_external_function): Use ggc_alloc. | |
2831 | (i386_pe_record_exported_symbol): Likewise. | |
2832 | Include "gt-winnt.h" at end. | |
2833 | * doc/hostconfig.texi: Document | |
90aa6719 DS |
2834 | HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY. |
2835 | ||
859711c5 BI |
2836 | 2004-06-04 Bernardo Innocenti <bernie@develer.com> |
2837 | ||
2838 | * config/m68k/m68k.h: Remove comments copied over from tm.texi. | |
2839 | Rename 68000 and 68k to m68k for consistency in comments. Remove | |
2840 | trailing whitespace before EOLs and before TABs. | |
2841 | (MAX_CODE_ALIGN): Remove unused macro. | |
2842 | (CALL_USED_REGISTERS): Reformat and add comments. | |
2843 | ||
f4d8a9ae FCE |
2844 | 2004-06-04 Frank Ch. Eigler <fche@redhat.com> |
2845 | ||
2846 | * gcc.c (MFLIB_SPEC): Remove library references, to require users | |
2847 | to enumerate -lmudflap* and dependencies when linking. | |
2848 | ||
14bbffa1 PB |
2849 | 2004-06-04 Paolo Bonzini <bonzini@gnu.org> |
2850 | ||
2851 | PR target/15822 | |
2852 | * dojump.c (do_jump): Fix uninitialized variable tcode1. | |
2853 | ||
3a786c62 JQ |
2854 | 2004-06-04 Jerry Quinn <jlquinn@optonline.net> |
2855 | ||
2856 | * Makefile.in (insn-conditions.o): Back out removal of reload.h. | |
2857 | * genconditions.c (write_header): Back out removal of reload.h. | |
2858 | ||
2e2052b1 JH |
2859 | 2004-06-04 Jan Hubicka <jh@suse.cz> |
2860 | ||
2861 | Re-apply hopefully fixed patch: | |
2862 | * i386.md (UNSPECV_EH_RETURN): Kill. | |
2863 | (eh_return): Use jump_insn. | |
2864 | (eh_return_si, eh_return_di): Change pattern to jump instruction. | |
2865 | ||
9cf84a3c JL |
2866 | 2004-06-04 Jeff Law <law@redhat.com> |
2867 | ||
2868 | * cfgrtl.c (try_redirect_by_replacing_jump): Fix return value. | |
2869 | ||
f698d217 SB |
2870 | 2004-06-04 Steven Bosscher <stevenb@suse.de> |
2871 | ||
2872 | * except.c (for_each_eh_region): New function. | |
2873 | * except.h (for_each_eh_region): Add a prototype for it. | |
2874 | * tree-cfg.c (update_eh_labels): New function, callback for | |
2875 | for_each_eh_region. | |
2876 | (label_for_bb): Make global static, unfortunately. | |
2877 | (cleanup_dead_labels): Also update label references for | |
2878 | exception regions. | |
2879 | ||
c759d454 CD |
2880 | 2004-06-03 Chris Demetriou <cgd@broadcom.com> |
2881 | ||
2882 | * config/mips/mips.c (struct irix_section_align_entry): Fix | |
2883 | GTY marker. | |
2884 | ||
3d98fa14 GK |
2885 | 2004-06-03 Geoffrey Keating <geoffk@apple.com> |
2886 | ||
2887 | * toplev.c (check_global_declarations): Don't ask for | |
2888 | DECL_ASSEMBLER_NAME unless the function really is declared | |
2889 | static and not defined. | |
2890 | ||
0524c91d MA |
2891 | 2004-06-03 Matt Austern <austern@apple.com> |
2892 | ||
2893 | PR c++/15428 | |
2894 | * default.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): New name | |
2895 | for TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, with reversed sense. | |
2896 | * config/darwin.h (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Likewise. | |
2897 | * doc/tm.texi (TARGET_WEAK_NOT_IN_ARCHIVE_TOC): Rewrite | |
c6e83800 | 2898 | documentation to reflect the new macro name and to clarify its |
0524c91d | 2899 | meaning. |
c6e83800 | 2900 | |
f698d217 | 2901 | 2004-06-03 Steven Bosscher <stevenb@suse.de> |
ed5947c9 SB |
2902 | |
2903 | * rtl.def (VAR_LOCATION): Make RTX_EXTRA. | |
2904 | ||
c0d594f1 AP |
2905 | 2004-06-03 Andrew Pinski <pinskia@physics.uc.edu> |
2906 | ||
2907 | * config/darwin.c (machopic_indirect_data_reference): Copy | |
2908 | the SYMBOL_REF_DECL from the original RTX for the new | |
2909 | non-lazy pointer RTX. | |
2910 | ||
ed5947c9 | 2911 | 2004-06-03 Mark G. Adams <mark.g.adams@sympatico.ca> |
a757585a MA |
2912 | |
2913 | * tree.h: Remove include of version.h | |
2914 | * c-cppbuiltin.c: Include version.h | |
2915 | * diagnostic.c: Include version.h | |
2916 | * dwarf2out.c: Include version.h | |
2917 | * toplev.c: Include version.h | |
2918 | * vmsdbgout.c: Include version.h | |
2919 | * Makefile.in: Remove dependency on version.h from TREE_H, and | |
2920 | add dependencies to required .o targets | |
2921 | ||
59587b18 JQ |
2922 | 2004-06-03 Jerry Quinn <jlquinn@optonline.net> |
2923 | ||
2924 | * Makefile.in (RA_H, RESOURCE_H, SCHED_INT_H, CFGLAYOUT_H, | |
2925 | CFGLOOP_H, DF_H, DDG_H, TREE_SSA_LIVE_H): New. | |
2926 | (TARGET_H): Add insn-modes.h. | |
2927 | (tree-ssa.o, tree-cfg.o, tree-ssa-loop.o, toplev.o, passes.o, | |
2928 | loop.o, loop-doloop.o, unroll.o, cfgloop.o, cfgloopanal.o, | |
2929 | loop-iv.o, cfgloopmanip.o, loop-init.o, loop-unswitch.o, | |
2930 | loop-unroll.o, ddg.o, modulo-sched.o, predict.o, | |
2931 | cfglayout.o, ifcvt.o): Replace cfgloop.h with CFGLOOP_H. | |
2932 | (toplev.o, passes.o, cfghooks.o, cfgloopmanip.o, loop-init.o, | |
2933 | loop-unswitch.o, loop-unroll.o, ddg.o, modulo-sched.o, | |
2934 | bb-reorder.o, tracer.o, cfglayout.o): Replace cfglayout.h with | |
2935 | CFGLAYOUT_H. | |
2936 | (ra.o, ra-build.o, ra-colorize.o, ra-debug.o, ra-rewrite.o): | |
2937 | Replace ra.h with RA_H. | |
2938 | (resource.o, regrename.o, insn-conditions.o, insn-emit.o, | |
2939 | insn-recog.o): Replace resource.h with RESOURCE_H. | |
2940 | (ddg.o, modulo-sched.o, haifa-sched.o, sched-deps.o, sched-rgn.o, | |
2941 | sched-ebb.o, sched-vis.o, out_object_file): Replace sched-int.h | |
2942 | with SCHED_INT_H. | |
2943 | (web.o, lcm.o, df.o, ra.o, ra-build.o, ra-colorize.o, ra-debug.o, | |
2944 | ra-rewrite.o): Replace df.h with DF_H. | |
2945 | (ddg.o, modulo-sched.o): Replace ddf.h with DDG_H. | |
2946 | (tree-outof-ssa.o, tree-ssa-live.o, tree-ssa-copyrename.o): | |
2947 | Replace tree-ssa-live.h with TREE_SSA_LIVE_H. | |
2948 | (insn-conditions.o): Remove unused reload.h. | |
2949 | * cfglayout.h: Add include guard. Include basic-block.h. | |
2950 | * cfgloop.h: Add include guard. Include basic-block.h, rtl.h. | |
2951 | * ddg.h: Include sbitmap.h, basic-block.h, df.h. | |
2952 | * df.h: Add include guard. Include bitmap.h, sbitmap.h, | |
2953 | basic-block.h. | |
2954 | * genconditions.c: Remove reload.h. | |
2955 | * ra.h: Add include guard. Include bitmap.h, sbitmap.h, | |
2956 | hard-reg-set.h, insn-modes.h. | |
2957 | * resource.h: Add include guard. Include hard-reg-set.h. | |
2958 | * sched-int.h: Add include guard. Include insn-attr.h, | |
2959 | basic-block.h, rtl.h. | |
2960 | * target.h: Add include guard. Include insn-modes.h. | |
2961 | * tree-ssa-live.h: Include partition.h. | |
2962 | ||
95eec0d6 DB |
2963 | 2004-06-03 Daniel Berlin <dberlin@dberlin.org> |
2964 | Kenneth Zadeck <zadeck@naturalbridge.com> | |
2965 | ||
2966 | * tree-ssa-ccp.c (varying_ssa_edges): New worklist. | |
2967 | (add_var_to_ssa_edges_worklist): Add value argument. | |
2968 | Update callers. | |
2969 | Use new worklist. | |
2970 | (process_ssa_edge_worklist): New function. | |
c6e83800 | 2971 | (tree_ssa_ccp): Move worklist processing core to |
95eec0d6 DB |
2972 | process_ssa_edge_worklist, and just call that for the two worklists. |
2973 | ||
2974 | 2004-06-03 Steven Bosscher <stevenb@suse.de> | |
6ce2bcb7 SB |
2975 | |
2976 | * basic-block.c (tail_recursion_label_list): Don't declare. | |
2977 | (CLEANUP_PRE_SIBCALL): Remove. Renumber the other CLEANUP_* | |
2978 | accordingly. | |
2979 | * cfgbuild.c (find_label_refs): Remove. | |
2980 | (find_basic_blocks_1): Don't handle CALL_PLACEHOLDER insns. | |
2981 | * cfgcleanup.c (tail_recursion_label_p): Remove. | |
2982 | (merge_blocks_move): Do not check for tail recursion. | |
2983 | (try_optimize_cfg): Likewise. | |
2984 | (cleanup_cfg): Never handle CLEANUP_PRE_SIBCALL. | |
2985 | * cfgrtl.c (tail_recursion_label_list): Remove. | |
2986 | * except.c (remove_unreachable_regions): Don't handle | |
2987 | CALL_PLACEHOLDER insns. | |
2988 | (convert_from_eh_region_ranges_1, can_throw_internal, | |
2989 | can_throw_external): Likewise. | |
2990 | * function.c (free_after_compilation): Don't clear | |
2991 | x_tail_recursion_label. | |
2992 | (fixup_var_refs_insns): Don't handle CALL_PLACEHOLDER insns. | |
2993 | (identify_blocks_1): Don't recurse for CALL_PLACEHOLDER insns. | |
2994 | (reorder_blocks_1): Likewise. | |
2995 | * function.h (struct function): Remove x_tail_recursion_label | |
2996 | member. Don't define tail_recursion_label. | |
2997 | * jump.c (mark_all_labels): Don't handle CALL_PLACEHOLDER insns. | |
2998 | * print-rtl.c (print_rtx): Likewise. | |
2999 | * rtl.def (CALL_PLACEHOLDER): Remove. | |
3000 | * rtl.h (sibcall_use_t): Remove enum. | |
3001 | (optimize_sibling_and_tail_recursive_calls, | |
3002 | replace_call_placeholder): Remove function prototypes. | |
3003 | * stmt.c (tail_recursion_args): Remove. | |
3004 | (optimize_tail_recursion): Remove. | |
3005 | (expand_return): Don't check for possible tail recursion. | |
3006 | * tree.h (optimize_tail_recursion): Remove prototype. | |
3007 | ||
ce068299 JH |
3008 | 2004-06-02 Jan Hubicka <jh@suse.cz> |
3009 | ||
3010 | * tree-cfg.c (tree_find_edge_insert_loc): Allow inserting before | |
3011 | return_stmt. | |
3012 | ||
b25a8933 JM |
3013 | 2004-06-02 Jason Merrill <jason@redhat.com> |
3014 | ||
3015 | * Makefile.in (TAGS): Don't mess with c-parse.[ch]. | |
3016 | Do include c-parse.in. | |
3017 | ||
3aeb3655 EC |
3018 | 2004-06-02 Eric Christopher <echristo@redhat.com> |
3019 | ||
3020 | * c-typeck.c (common_type): Don't lose type qualifiers | |
3021 | when creating new variants. | |
3022 | ||
3facc4b6 AP |
3023 | 2004-06-02 Andrew Pinski <pinskia@physics.uc.edu> |
3024 | ||
3025 | PR tree-optimization/14042 | |
3026 | PR tree-optimization/14729 | |
3027 | PR tree-optimization/14736 | |
03a4c969 AP |
3028 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): |
3029 | Check the type which the pointer points to | |
3facc4b6 AP |
3030 | instead of the pointer types. |
3031 | ||
91fa0e3d KH |
3032 | 2004-06-02 Kazu Hirata <kazu@cs.umass.edu> |
3033 | ||
3034 | PR tree-optimization/15738. | |
3035 | * builtins.c (fold_builtin_strchr): Transform | |
3036 | strrchr (s, '\0') to strchr (s, '\0'). | |
3037 | ||
dff008b4 SB |
3038 | 2004-06-02 Steven Bosscher <stevenb@suse.de> |
3039 | ||
3040 | * i386.c (ix86_adjust_cost): Don't increase the cost for | |
3041 | load+operation for PROCESSOR_PENTIUMPRO, it is already | |
3042 | modelled in the DFA description | |
3043 | ||
78528714 JQ |
3044 | 2004-06-01 Jerry Quinn <jlquinn@optonline.net> |
3045 | ||
3046 | * Makefile.in (EXPR_H): Add insn-config.h, function.h, | |
3047 | $(RTL_H), flags.h, $(TREE_H), $(MACHMODE_H), $(EXPR_H). | |
3048 | (ALIAS_H, EMIT_RTL_H): New. | |
3049 | (cselib.o): Replace EXPR_H with EMIT_RTL_H. | |
3050 | (cfgcleanup.o): Add EMIT_RTL_H. | |
3051 | (alias.o): Replace EXPR_H with EMIT_RTL_H and ALIAS_H. | |
3052 | * alias.c: Replace expr.h with emit-rtl.h and alias.h. | |
3053 | * attribs.c, c-lex.c, c-obj-common.c, c-semantics.c: Remove expr.h. | |
3054 | * cfgcleanup.c, cselib.c: Replace expr.h with emit-rtl.h. | |
3055 | * expr.h: Add include guard. Include function.h, rtl.h, flags.h, | |
3056 | tree.h, machmode.h, insn-config.h, alias.h, emit-rtl.h. | |
3057 | (get_varargs_alias_set, get_frame_alias_set, record_base_value, | |
3058 | record_alias_subset, new_alias_set, can_address_p): Move to alias.h. | |
3059 | (set_mem_alias_set, set_mem_align, set_mem_expr, set_mem_offset, | |
3060 | set_mem_size): Move to emit-rtl.h. | |
3061 | * emit-rtl.h: New. | |
3062 | * alias.h: New. | |
3063 | ||
95c73b23 EB |
3064 | 2004-06-01 Eric Botcazou <ebotcazou@act-europe.fr> |
3065 | ||
3066 | * function.c (walk_fixup_memory_subreg): New parameter 'var'. | |
3067 | Call fixup_memory_subreg only if the MEM is equal to 'var'. | |
3068 | Adjust recursive calls to self. | |
3069 | (fixup_var_refs_insn): Pass 'var' to walk_fixup_memory_subreg. | |
3070 | ||
7a3ea201 RH |
3071 | 2004-06-01 Richard Henderson <rth@redhat.com> |
3072 | Andrew Pinski <pinskia@physics.uc.edu> | |
3073 | ||
3074 | * c-parse.in (OFFSETOF, offsetof_member_designator): New. | |
3075 | (primary): Handle offsetof. Add error productions for faux functions. | |
3076 | Move component_ref objc checking to build_component_ref. | |
3077 | (reswords): Add offsetof. | |
3078 | (rid_to_yy): Add offsetof. | |
3079 | * c-tree.h (build_offsetof): Declare. | |
3080 | * c-common.h (objc_is_public): Declare. | |
3081 | * c-typeck.c (build_component_ref): Check objc_is_public. | |
3082 | (build_offsetof): New. | |
3083 | * stub-objc.c (objc_is_public): New. | |
3084 | * objc/objc-act.c, objc/objc-act.h (objc_is_public): Rename | |
3085 | from is_public. | |
3086 | * ginclude/stddef.h (offsetof): Use __builtin_offsetof. | |
3087 | * doc/extend.texi (Offsetof): Move from C++ section to C section | |
3088 | and rewrite for __builtin_offsetof. | |
3089 | ||
5050d266 | 3090 | 2004-06-01 Peter Barada <peter@the-baradas.com> |
dff008b4 | 3091 | Peter Jakubek <peter@laseranimation.com> |
5050d266 PB |
3092 | |
3093 | * config/m68k/m68k.c(m68k_output_mi_thunk): For ColdFire, use %d0 as | |
3094 | a scratch to perform an add to memory. | |
3095 | ||
225d221a BI |
3096 | 2004-06-01 Bernardo Innocenti <bernie@develer.com> |
3097 | ||
3098 | PR target/14018 | |
3099 | * config/m68k/m68k.c (m68k_align_loops_string, m68k_align_jumps_string, | |
3100 | m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps, | |
3101 | m68k_align_funcs): Remove. | |
3102 | (override_options): Remove code to handle -malign-* options. | |
3103 | * config/m68k/m68k.h (TARGET_OPTIONS): Remove -malign-* options. | |
3104 | (FUNCTION_BOUNDARY, LOOP_ALIGN, LOOP_ALIGN_AFTER_BARRIER): Remove. | |
3105 | (m68k_align_loops_string, m68k_align_jumps_string, | |
3106 | m68k_align_funcs_string, m68k_align_loops, m68k_align_jumps, | |
3107 | m68k_align_funcs): Remove definitions. | |
3108 | ||
1460af95 PE |
3109 | 2004-06-01 Paul Eggert <eggert@cs.ucla.edu> |
3110 | ||
3111 | PR target/15626 | |
3112 | * doc/install.texi (sparc-sun-solaris2*): Document messages issued | |
3113 | by the Sun linker in conjunction with the Sun assembler. | |
3114 | (sparc-sun-solaris2.7): Update revision info for Sun patch 106950. | |
3115 | ||
225d221a | 3116 | 2004-06-01 Jeff Law <law@redhat.com> |
0b068ee9 | 3117 | |
dff008b4 SB |
3118 | * stmt.c (expand_decl): Be more selective about calling |
3119 | mark_reg_pointer. | |
0b068ee9 | 3120 | |
61c627ed NP |
3121 | 2004-06-01 Nicola Pero <nicola@brainstorm.co.uk> |
3122 | ||
9ade2479 | 3123 | PR objc/7993 |
61c627ed NP |
3124 | * objc-act.c (is_private): Do not emit the 'instance variable %s |
3125 | is declared private' error. | |
3126 | (is_public): Emit the error after calling is_private. | |
3127 | (lookup_objc_ivar): If the instance variable is private, return 0 | |
3128 | - the instance variable is invisible here. | |
3129 | ||
d3144423 EB |
3130 | 2004-06-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
3131 | ||
3132 | * doc/invoke.texi (-static-libgcc): Explicitly mention | |
3133 | non-GNU linkers. | |
3134 | ||
5847e53e BI |
3135 | 2004-06-01 Bernardo Innocenti <bernie@develer.com> |
3136 | ||
3137 | PR target/12968 | |
3138 | * doc/invoke.texi: Document stack alignment side-effect of -mshort. | |
3139 | ||
ec3e6835 JM |
3140 | 2004-05-31 Joseph S. Myers <jsm@polyomino.org.uk> |
3141 | ||
3142 | PR c/15749 | |
3143 | * c-decl.c (grokdeclarator, finish_struct): Don't pedwarn for | |
3144 | misuses of structures with flexible array members if | |
3145 | in_system_header. | |
3146 | ||
a4a90b84 EB |
3147 | 2004-05-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
3148 | ||
3149 | PR target/15693 | |
3150 | * config/sparc/sparc.c (compare_operand): New predicate. | |
3151 | * config/sparc/sparc.h (PREDICATE_CODES): Add it. | |
3152 | * config/sparc/sparc.md (cmpsi expander): Use it. If the first | |
3153 | operand is a ZERO_EXTRACT and the second operand is not zero, | |
3154 | force the former to a register. | |
3155 | (cmpdi expander): Likewise. | |
3156 | ||
133f7a77 GK |
3157 | 2004-05-31 Geoffrey Keating <geoffk@apple.com> |
3158 | ||
3159 | * gengtype-lex.l: Catch stray GTY markers in the files gengtype | |
3160 | looks at. | |
3161 | * alias.c (alias_invariant_size): Make alias_invariant_size | |
3162 | static, fix GTY marker. | |
3163 | ||
09d98c72 KH |
3164 | 2004-05-31 Kazu Hirata <kazu@cs.umass.edu> |
3165 | ||
3166 | PR tree-optimization/15743. | |
3167 | * builtins.c (fold_builtin_1): Fold index() and rindex(). | |
3168 | ||
1f7a8dcc RS |
3169 | 2004-05-31 Roger Sayle <roger@eyesopen.com> |
3170 | ||
3171 | PR middle-end/15069 | |
3172 | * fold-const.c (fold_single_bit_test): Only perform "(X & C) != 0" | |
3173 | into "X < 0" (where C is the signbit) if X's type is a full mode. | |
3174 | ||
1027314a JDA |
3175 | 2004-05-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3176 | ||
3177 | * pa.md: Disable the peephole2 patterns that generate indexed | |
3178 | floating-point stores when indexing is disabled. | |
3179 | ||
41fd3bac GDR |
3180 | 2004-05-31 Gabriel Dos Reis <gdr@integrable-solutions.net> |
3181 | ||
3182 | * c-pretty-print.c (pp_c_left_bracket): Make a function. | |
3183 | (pp_c_right_bracket): Likewise. | |
3184 | (pp_c_star): Likewise. | |
3185 | (pp_c_ampersand): Define. | |
3186 | * c-pretty-print.h (pp_c_left_bracket): Declare. | |
3187 | (pp_c_right_bracket): Likewise. | |
3188 | (pp_c_star): Likewise. | |
3189 | (pp_c_ampersand): Likewise. | |
3190 | ||
d3157fb6 EB |
3191 | 2004-05-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
3192 | ||
3193 | * config/sol2.h (__enable_execute_stack): ANSIfy function | |
3194 | definition. | |
3195 | ||
421563d5 DS |
3196 | 2004-05-31 Danny Smith <dannysmith@users.sourceforge.net> |
3197 | ||
3198 | * c-incpath.c (add_path): Canonicalize paths to use '/' if | |
3199 | HAVE_DOS_BASED_FILESYSTEM. | |
3200 | ||
1c052514 SB |
3201 | 2004-05-31 Steven Bosscher <stevenb@suse.de> |
3202 | ||
3203 | * tree-ssa-dom.c (record_equivalences_from_incoming_edge): | |
3204 | Only look at case labels if the immediate dominator is also | |
3205 | the only predecessor. Don't look for more case labels if the | |
3206 | first seen is a case range. | |
3207 | ||
e784e649 KH |
3208 | 2004-05-31 Kazu Hirata <kazu@cs.umass.edu> |
3209 | ||
3210 | * builtins.c: Add a prototype for fold_builtin_strchr(). | |
3211 | ||
1999435c PB |
3212 | 2004-05-31 Paolo Bonzini <bonzini@gnu.org> |
3213 | ||
3214 | Revert this patch: | |
3215 | 2004-05-27 Paolo Bonzini <bonzini@gnu.org> | |
3216 | ||
3217 | * combine.c (gen_binary): Remove. | |
3218 | (known_cond, simplify_shift_const | |
3219 | find_split_point, combine_simplify_rtx, | |
3220 | simplify_if_then_else, simplify_set, | |
3221 | simplify_logical, expand_field_assignment, | |
3222 | extract_left_shift, force_to_mode, | |
3223 | if_then_else_cond, apply_distributive_law, | |
3224 | simplify_and_const_int, simplify_shift_const, | |
3225 | gen_lowpart_for_combine, simplify_comparison, | |
3226 | reversed_comparison): Replace with | |
3227 | simplify_gen_binary, simplify_gen_relational or | |
3228 | distribute_and_simplify_rtx. | |
3229 | (distribute_and_simplify_rtx): New function. | |
3230 | ||
97509a89 JDA |
3231 | 2004-05-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3232 | ||
3233 | * pa.c (emit_move_sequence): Fix loading of non 14-bit CONST operands | |
3234 | when generating PIC code. | |
3235 | ||
3c79fa86 AP |
3236 | 2004-05-30 Andrew Pinski <pinskia@physics.uc.edu> |
3237 | ||
3238 | * c-decl.c (c_expand_body_1): Remove and fold back into ... | |
3239 | (c_expand_body): here. | |
3240 | (c_expand_decl): Move to ... | |
3241 | * c-common.c (c_expand_decl): Here and remove check for nested | |
3242 | functions. | |
3243 | * c-common.h (c_expand_decl): Add prototype. | |
3244 | * c-tree.h (c_expand_decl): Remove. | |
3245 | ||
1b0f3e79 RS |
3246 | 2004-05-30 Roger Sayle <roger@eyesopen.com> |
3247 | ||
3248 | * fold-const.c (combine_comparisons, optimize_bit_field_compare, | |
3249 | range_binop, fold_truthop, fold_binary_op_with_conditional_arg, | |
3250 | fold_mathfn_compare, fold_inf_compare, fold, | |
3251 | fold_relational_hi_lo, nondestructive_fold_binary_to_constant): | |
3252 | Use constant_boolean_node where appropriate. Don't bother using | |
3253 | fold_convert on the second argument to omit_one_operand. | |
3254 | ||
29d64660 RS |
3255 | 2004-05-30 Roger Sayle <roger@eyesopen.com> |
3256 | ||
3257 | * doc/c-tree.texi (Expressions): Document FLOOR_DIV_EXPR, | |
3258 | CEIL_DIV_EXPR, ROUND_DIV_EXPR, FLOOR_MOD_EXPR, CEIL_MOD_EXPR, | |
3259 | ROUND_MOD_EXPR, EXACT_DIV_EXPR. Improve documentation of | |
3260 | TRUNC_DIV_EXPR, TRUNC_MOD_EXPR and comparison operations. | |
3261 | Add missing (but documented) tree nodes to the index. | |
3262 | ||
b3dd9f35 SB |
3263 | 2004-05-30 Steven Bosscher <stevenb@suse.de> |
3264 | ||
3265 | PR tree-optimization/14819 | |
3266 | * builtins.c (fold_builtin_strchr): New. | |
3267 | (fold_builtin_1): Handle BUILT_IN_STRCHR and BUILT_IN_STRRCHR | |
3268 | with fold_builtin_strchr(). | |
3269 | ||
9cf737f8 KH |
3270 | 2004-05-30 Kazu Hirata <kazu@cs.umass.edu> |
3271 | ||
3272 | * bb-reorder.c, builtins.c, c-common.c, c-gimplify.c, | |
3273 | c-incpath.c, cgraphunit.c, ddg.c, defaults.h, dwarf2out.c, | |
3274 | expmed.c, flags.h, gcc.c, gensupport.c, gimplify.c, global.c, | |
3275 | passes.c, reg-stack.c, target.h, toplev.c, tree-alias-ander.c, | |
3276 | tree-alias-common.c, tree-cfg.c, tree-complex.c, tree-dfa.c, | |
3277 | tree-eh.c, tree-mudflap.c, tree-mudflap.h, tree-outof-ssa.c, | |
3278 | tree-phinodes.c, tree-pretty-print.c, tree-ssa-alias.c, | |
3279 | tree-ssa-ccp.c, tree-ssa-live.c, tree-ssa-live.h, | |
3280 | tree-ssa-pre.c, tree.h, value-prof.h, varasm.c: Fix comment | |
3281 | formatting. | |
3282 | ||
0f1f6967 SB |
3283 | 2004-05-30 Steven Bosscher <stevenb@suse.de> |
3284 | ||
3285 | * gimplify.c (sort_case_labels): New. Split out from... | |
3286 | (gimplify_switch_expr): ...here. Use it. | |
3287 | * tree-eh.c (lower_try_finally_switch): Sort the labels of | |
3288 | the SWITCH_EXPR created here before leaving the function. | |
3289 | * tree.c (sort_case_labels): Add prototype. | |
3290 | ||
d22b7e14 AP |
3291 | 2004-05-30 Andrew Pinski <pinskia@physics.uc.edu> |
3292 | ||
3293 | * fold-const.c (fold) [case TRUTH_NOT_EXPR]: Make sure the type is | |
3294 | of BOOLEAN_TYPE. | |
3295 | ||
1ea7e6ad KH |
3296 | 2004-05-30 Kazu Hirata <kazu@cs.umass.edu> |
3297 | ||
3298 | * c-common.c, calls.c, cfgcleanup.c, cgraph.c, cgraphunit.c, | |
3299 | ddg.c, ddg.h, df.c, df.h, except.c, expr.c, flags.h, | |
3300 | fold-const.c, gcc.c, gimplify.c, haifa-sched.c, | |
3301 | modulo-sched.c, tree-inline.c, tree-into-ssa.c, tree-nested.c, | |
3302 | tree-nrv.c, tree-ssa-ccp.c, tree-ssa-dom.c, tree-ssa-live.c, | |
3303 | tree-ssa-loop.c, tree-ssa-pre.c, tree-tailcall.c, tree.h: Fix | |
3304 | comment typos. Follow spelling conventions. | |
3305 | ||
b453c95f GK |
3306 | 2004-05-29 Geoffrey Keating <geoffk@apple.com> |
3307 | ||
3308 | * gengtype-yacc.y: Add NESTED_PTR token. | |
3309 | (option): Record `nested_ptr' option. | |
3310 | * gengtype-lex.l: Handle `nested_ptr' keyword. | |
3311 | * gengtype.c (walk_type): Process `nested_ptr' option. | |
3312 | * gengtype.h (struct nested_ptr_data): New. | |
3313 | * doc/gty.texi (GTY Options): Document `nested_ptr' option. | |
3314 | * stringpool.c (struct string_pool_data): Make 'entries' point to | |
3315 | ht_identifier instead of tree. | |
3316 | (gt_pch_save_stringpool): Don't adjust pointers. | |
3317 | (gt_pch_restore_stringpool): Call ht_load. | |
3318 | ||
be00f578 JM |
3319 | 2004-05-29 Jason Merrill <jason@redhat.com> |
3320 | ||
3321 | * gimplify.c (gimplify_expr): Don't build a statement list | |
3322 | if no gimplification was necessary. | |
3323 | ||
ca09cd34 JM |
3324 | 2004-05-29 Joseph S. Myers <jsm@polyomino.org.uk> |
3325 | ||
3326 | * pretty-print.c (pp_base_format_text): Support %< instead of %` | |
3327 | and %> as well as %'. | |
3328 | * c-format.c: Use %< and %>. | |
3329 | (gcc_diag_char_table, gcc_cdiag_char_table, | |
3330 | gcc_cxxdiag_char_table): Update. | |
3331 | ||
5305f6d7 JM |
3332 | 2004-05-29 Joseph S. Myers <jsm@polyomino.org.uk> |
3333 | ||
3334 | * c-typeck.c (common_type): Correct comment. | |
3335 | ||
d1fe6168 PB |
3336 | 2004-05-29 Peter Barada <peter@the-baradas.com> |
3337 | ||
28bad6d1 PB |
3338 | * config/m68k/m68k.c (CONST_METHOD): Add MVZ, MVS. |
3339 | * config/m68k/m68k.c (const_method): Likewise. | |
3340 | * config/m68k/m68k.c (const_int_cost): Likewise. | |
3341 | * config/m68k/m68k.c (const_int_cost): Likewise. | |
3342 | * config/m68k/m68k.c (output_move_const_into_data_reg): Likewise. | |
3343 | ||
3344 | 2004-05-29 Peter Barada <peter@the-baradas.com> | |
3345 | ||
3346 | * config/m68k/m68k.h (EXTRA_CONSTRAINT): add 'U' for register offset | |
d1fe6168 PB |
3347 | addressing. |
3348 | * config/m68k/m68k.md: Add 'U,U' alternative to ColdFire variants of | |
3349 | movsi,movhi,movqi insn patterns. | |
3350 | ||
94632047 | 3351 | 2004-05-28 Andrew Pinski <pinskia@physics.uc.edu> |
f935f97b | 3352 | |
27e1a8d2 AP |
3353 | * c-semantics.c (emit_local_var): Remove code for DECL_INITIAL. |
3354 | ||
f935f97b AP |
3355 | PR target/15720 |
3356 | * config/darwin.c (machopic_indirect_call_target): Copy | |
3357 | the SYMBOL_REF_DECL from the original RTX for the new | |
3358 | stub RTX. | |
3359 | ||
5182fafe DD |
3360 | 2004-05-28 DJ Delorie <dj@redhat.com> |
3361 | ||
3362 | * stor-layout.c (place_field): Revert erroneous commit. | |
3363 | ||
bfefd4d5 ZL |
3364 | 2004-05-28 Ziemowit Laski <zlaski@apple.com> |
3365 | ||
3366 | * config/rs6000/altivec.h (vec_ctf, vec_vcfsx, vec_vcfux, vec_cts, | |
3367 | vec_ctu, vec_dss, vec_dst, vec_dstst, vec_dststt, vec_dstt, vec_ld, | |
3368 | vec_ldl, vec_lvsl, vec_lvsr, vec_sld, vec_splat, vec_vspltw, | |
3369 | vec_vsplth, vec_vspltb, vec_splat_s8, vec_splat_s16, vec_splat_s32, | |
3370 | vec_splat_u8, vec_splat_u16, vec_splat_u32, vec_st, vec_stl, | |
3371 | vec_ste): Remove type checks for integral parameters and literals | |
3372 | from '..._args_eq' macros. | |
3373 | ||
e851b373 AH |
3374 | 2004-05-28 Aldy Hernandez <aldyh@redhat.com> |
3375 | ||
3376 | * c-common.c (fname_as_string): Fix xcalloc to xmalloc. | |
3377 | ||
0d0bc036 AH |
3378 | 2004-05-28 Aldy Hernandez <aldyh@redhat.com> |
3379 | ||
3380 | * testsuite/g++.dg/charset/function.cc: New. | |
3381 | ||
3382 | * testsuite/gcc.dg/charset/function.c: New. | |
3383 | ||
3384 | * c-decl.c (c_make_fname_decl): Free return value from | |
3385 | fname_as_string. | |
3386 | ||
3387 | * cp/decl.c (cp_make_fname_decl): Free return value from | |
3388 | fname_as_string. | |
3389 | ||
3390 | * c-common.c (fname_as_string): Translate if necessary. | |
3391 | ||
4bb4ae96 GK |
3392 | 2004-05-28 Geoffrey Keating <geoffk@apple.com> |
3393 | ||
3394 | * stringpool.c: Add comments to PCH saving/restoring routines. | |
3395 | ||
09b01df8 AP |
3396 | 2004-05-28 Andrew Pinski <pinskia@physics.uc.edu> |
3397 | ||
2fec96c1 AP |
3398 | * c-common.c (c_estimate_num_insns_1): Kill. |
3399 | (c_estimate_num_insns): Kill. | |
3400 | * c-common.h (c_estimate_num_insns): Kill. | |
3401 | ||
3402 | * gthr-posix.h: Check for _POSIX_PRIORITY_SCHEDULING | |
3403 | when checking for _POSIX_THREAD_PRIORITY_SCHEDULING. | |
3404 | Remove comment about not checking for | |
3405 | _POSIX_PRIORITY_SCHEDULING. | |
3406 | * gthr-posix.c: Likewise. | |
09b01df8 | 3407 | |
d1a7edaf PB |
3408 | 2004-05-28 Paolo Bonzini <bonzini@gnu.org> |
3409 | Roger Sayle <roger@eyesopen.com> | |
3410 | ||
3411 | PR rtl-optimization/15649 | |
3412 | Add LTGT_EXPR and improve pretty-printing of unordered | |
3413 | comparisons. | |
3414 | * c-common.c (c_common_truthvalue_conversion): | |
3415 | Handle LTGT_EXPR. | |
3416 | * c-typeck.c (build_binary_op): Likewise. | |
3417 | * dojump.c (do_jump): Likewise. | |
3418 | * expr.c (expand_expr_real_1, do_store_flag): Likewise. | |
3419 | * predict.c (tree_predict_by_opcode): Likewise. | |
3420 | * real.c (real_compare): Likewise. | |
3421 | * tree-cfg.c (verify_expr): Likewise. | |
3422 | * tree-inline.c (estimate_num_insns_1): Likewise. | |
3423 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
3424 | Handle ORDERED_EXPR, UNORDERED_EXPR. | |
3425 | (op_symbol): Print unordered comparisons differently | |
3426 | than ordered ones. | |
3427 | * tree.def (LTGT_EXPR): New '<' tree code. | |
3428 | * doc/c-tree.texi (Expressions): Document floating-point | |
3429 | comparison nodes. | |
3430 | ||
3431 | Fold comparisons between floating point values. | |
3432 | * fold-const.c (enum comparison_code): New, from | |
3433 | #define'd constants. Define compcodes for unordered | |
3434 | comparisons and for invalid transformations. | |
3435 | (invert_tree_comparison): Add "honor_nans" parameter. | |
3436 | (fold_truthop): Revamp to work on floating-point types too. | |
3437 | (comparison_to_compcode): Support unordered comparisons. | |
3438 | Use new enum comparison_code. | |
3439 | (compcode_to_comparison): Likewise. | |
3440 | (combine_compcodes): New function. | |
3441 | (invert_truthvalue): Let invert_tree_comparison decide | |
3442 | whether it is valid to fold the comparison. Fold ORDERED | |
3443 | and UNORDERED even if flag_unsafe_math_optimizations is off, | |
3444 | and the remaining even if flag_unsafe_math_optimizations | |
3445 | is off but we are under -fno-trapping-math. | |
3446 | (fold_relational_const): Integer modes do not honor NaNs. | |
61c627ed | 3447 | |
2966b00e PB |
3448 | 2004-05-28 Paul Brook <paul@codesourcery.com> |
3449 | ||
3450 | * config/arm/arm.c (arm_output_epilogue): Remove redundant code. | |
3451 | ||
3c7ad43e PB |
3452 | 2004-05-28 Paul Brook <paul@codesourcery.com> |
3453 | ||
3454 | * config/arm/arm.c (thumb_force_lr_save): New function. | |
3455 | (arm_get_frame_offsets, thumb_unexpanded_epilogue, | |
3456 | thumb_output_function_prologue): Use it. | |
3457 | (thumb_expand_prologue): Set lr_save_eliminated. | |
3458 | ||
a97a3e73 RS |
3459 | 2004-05-28 Richard Sandiford <rsandifo@redhat.com> |
3460 | ||
3461 | * config/mips/mips.md (extendsidi2): Tie the source and destination | |
3462 | of the register alternative. Split it into nothing. | |
3463 | ||
6c2511d3 RS |
3464 | 2004-05-28 Richard Sandiford <rsandifo@redhat.com> |
3465 | ||
3466 | * rtl.h (skip_consecutive_labels): Declare. | |
3467 | * emit-rtl.c (skip_consecutive_labels): New function. | |
3468 | * reorg.c (relax_delay_slots, dbr_schedule): Use it. | |
3469 | * jump.c (follow_jumps): Say what null return values mean. | |
3470 | ||
4fbf3498 KK |
3471 | 2004-05-28 Kaz Kojima <kkojima@gcc.gnu.org> |
3472 | ||
3473 | PR target/13250 | |
3474 | * config/sh/sh.md (rotlsi3): Use emit_move_insn. | |
3475 | ||
cc212178 KK |
3476 | 2004-05-27 Kaz Kojima <kkojima@gcc.gnu.org> |
3477 | ||
3478 | * config/sh/t-linux (SHLIB_MAPFILES): Use sh specific | |
3479 | libgcc-std.ver. | |
3480 | * config/sh/libgcc-std.ver: New file. | |
3481 | ||
aed30657 BM |
3482 | 2004-05-27 Bryce McKinlay <mckinlay@redhat.com> |
3483 | ||
3484 | * except.c: Revert change of 2004-05-26. | |
3485 | * config/i386/i386.md: Revert change of 2004-05-27. | |
3486 | ||
13f05fd0 BM |
3487 | 2004-05-27 Bryce McKinlay <mckinlay@redhat.com> |
3488 | ||
3489 | * configure.ac: Remove --enable-tree-browser option. | |
3490 | Define TREEBROWSER when ac_tree_checking is defined. | |
3491 | * configure: Rebuilt. | |
3492 | ||
7c50e202 OH |
3493 | 2004-05-27 Olivier Hainque <hainque@act-europe.fr> |
3494 | ||
3495 | * expr.c (store_constructor): Restore sanity check on | |
3496 | the size of the type before clearing. | |
3497 | ||
baf8706c JH |
3498 | 2004-05-27 Jan Hubicka <jh@suse.cz> |
3499 | ||
3500 | * cfgbuild.c (control_flow_insn_p): Notice noreturn call | |
3501 | ||
1999435c | 3502 | 2004-05-27 Paolo Bonzini <bonzini@gnu.org> |
dce1438a PB |
3503 | |
3504 | * combine.c (gen_binary): Remove. | |
3505 | (known_cond, simplify_shift_const | |
3506 | find_split_point, combine_simplify_rtx, | |
3507 | simplify_if_then_else, simplify_set, | |
3508 | simplify_logical, expand_field_assignment, | |
3509 | extract_left_shift, force_to_mode, | |
3510 | if_then_else_cond, apply_distributive_law, | |
3511 | simplify_and_const_int, simplify_shift_const, | |
3512 | gen_lowpart_for_combine, simplify_comparison, | |
3513 | reversed_comparison): Replace with | |
3514 | simplify_gen_binary, simplify_gen_relational or | |
3515 | distribute_and_simplify_rtx. | |
3516 | (distribute_and_simplify_rtx): New function. | |
3517 | * simplify-rtx.c (simplify_binary_operation): | |
3518 | Use nonzero_bits to simplify ANDs where we are | |
3519 | turning off bits already known to be off in OP0. | |
3520 | ||
42f806e5 AM |
3521 | 2004-05-27 Alan Modra <amodra@bigpond.net.au> |
3522 | ||
3523 | PR target/14478 | |
3524 | * config/rs6000/rs6000.c (reg_or_neg_short_operand): Don't allow zero. | |
3525 | ||
e314a036 JZ |
3526 | 2004-05-27 Josef Zlomek <zlomekj@suse.cz> |
3527 | ||
3528 | PR middle-end/14084 | |
3529 | * emit-rtl.c (gen_rtx_REG_offset): Adjust the offset according | |
3530 | to size of decl. | |
3531 | ||
61bea3b0 AH |
3532 | 2004-05-26 Aldy Hernandez <aldyh@redhat.com> |
3533 | ||
3534 | PR/14924 | |
3535 | * config/rs6000/rs6000.c (spe_expand_stv_builtin): New. | |
3536 | ||
cdc9d803 RS |
3537 | 2004-05-26 Roger Sayle <roger@eyesopen.com> |
3538 | ||
3539 | * tree.h: Fix comment typo. | |
3540 | ||
f667741c SB |
3541 | 2004-05-27 Steven Bosscher <stevenb@suse.de> |
3542 | ||
3543 | * gimplify.c (compare_case_labels): New function. | |
3544 | (gimplify_switch_expr): Sort case labels, and make sure the | |
3545 | last label in the label vector is the default case. | |
3546 | * tree-cfg.c (group_case_labels): New function. | |
3547 | (build_tree_cfg): Cleanup redundant labels and group case labels | |
3548 | before creating edges. | |
3549 | (cleanup_dead_labels): Handle GOTO_EXPRs. | |
3550 | (find_case_label_for_value): Use a binary search to find the | |
3551 | case label for the given value. | |
3552 | * tree-gimple.c: Mention that labels are sorted, and that the | |
3553 | last label must be the default. | |
3554 | ||
e4efa971 JH |
3555 | 2004-05-27 Jan Hubicka <jh@suse.cz> |
3556 | ||
3557 | * cfgcleanup.c (try_optimize_cfg): Do not merge across jumptables. | |
3558 | ||
dabbc722 JH |
3559 | 2004-05-27 Jan Hubicka <jh@suse.cz> |
3560 | ||
3561 | * i386.md (UNSPECV_EH_RETURN): Kill. | |
3562 | (eh_return): Use jump_insn. | |
3563 | (eh_return_si, eh_return_di): Change pattern to jump instruction. | |
3564 | ||
43acb4c4 JH |
3565 | 2004-05-26 Jan Hubicka <jh@suse.cz> |
3566 | ||
3567 | * cfgcleanup.c (try_forward_edges): Do not check loop structure when | |
3568 | not loop optimizing. | |
43acb4c4 | 3569 | |
f00d196d JH |
3570 | 2004-05-26 Jan Hubicka <jh@suse.cz> |
3571 | ||
3572 | * except.c (can_throw_internal): Notice RESX instructions. | |
3573 | ||
42048866 EB |
3574 | 2004-05-26 Eric Botcazou <ebotcazou@act-europe.fr> |
3575 | ||
3576 | * varasm.c (output_constant) <INTEGER_TYPE>: Pass the minimum | |
3577 | of the two sizes to assemble_integer. | |
3578 | ||
b31ad637 PB |
3579 | 2004-05-25 Paul Brook <paul@codesourcery.com> |
3580 | ||
3581 | * config/arm/arm.c (thumb_exit, thumb_unexpanded_epilogue): Remove | |
3582 | pointless #ifdef. | |
3583 | ||
5da9128a PB |
3584 | 2004-04-25 Paolo Bonzini <bonzini@gnu.org> |
3585 | ||
3586 | * Makefile.in (top_builddir): Define to . | |
3587 | ||
08d105fa AO |
3588 | 2004-05-25 Alexandre Oliva <aoliva@redhat.com> |
3589 | ||
3590 | * configure.ac (gcc_cv_ld): Prefer in-tree ld over whatever the | |
3591 | top-level detects, except when in-tree ld is being cross-built. | |
3592 | (gcc_cv_as): Likewise for as. Use AS_FOR_TARGET otherwise, and | |
3593 | then AS only if target is host. | |
3594 | * configure: Rebuilt. | |
3595 | ||
9abe5d07 VM |
3596 | 2004-05-25 Vladimir Makarov <vmakarov@redhat.com> |
3597 | ||
3598 | * global.c (global_alloc): Call make_accurate_live_analysis. | |
3599 | (record_one_conflict): Remove dead code. | |
3600 | (mark_reg_clobber): Remove ATTRIBUTE_UNUSED for parameter data. | |
3601 | (bb_info): New structure. | |
3602 | (BB_INFO, BB_INFO_BY_INDEX): New macros. | |
3603 | (allocate_bb_info, free_bb_info, mark_reg_change, | |
3604 | calculate_local_reg_bb_info, set_up_bb_rts_numbers, rpost_cmp, | |
3605 | modify_bb_reg_pav, calculate_reg_pav, | |
3606 | make_accurate_live_analysis): New functions. | |
61c627ed | 3607 | |
f411a73a DP |
3608 | 2004-05-25 Devang Patel <dpatel@apple.com> |
3609 | ||
3610 | * alias.c (init_alias_analysis): Use ggc_calloc instead of | |
3611 | xrealloc. | |
3612 | (end_alias_analysis): Use ggc_free instead fo free. | |
61c627ed | 3613 | |
104a4010 AP |
3614 | 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu> |
3615 | ||
3616 | PR target/15546 | |
3617 | * config/ia64/ia64.h (ASM_OUTPUT_FDESC): Mark the DECL | |
3618 | as needed to be outputted. | |
3619 | ||
d601c996 JH |
3620 | 2004-05-25 Jan Hubicka <jh@suse.cz> |
3621 | ||
3622 | * builtins.def (__builtin_expect): Mark the function as const¬hrow. | |
3623 | ||
e5626198 AZ |
3624 | 2004-05-25 Ayal Zaks <zaks@il.ibm.com> |
3625 | Mostafa Hagog <mustafa@il.ibm.com> | |
3626 | ||
3627 | * Makefile.in (modulo-sched.o, ddg.o): New. | |
3628 | * ddg.h, ddg.c, modulo-sched.c: New files. | |
3629 | * cfglayout.c (duplicate_insn_chain): Remove "static" and push | |
3630 | internals to "dupicate_insn". | |
3631 | (duplicate_insn): New function. | |
3632 | * cfglayout.h (duplicate_insn_chain, duplicate_insn): New | |
3633 | declarations. | |
3634 | * common.opt (fmodulo-sched): New flag. | |
3635 | * df.c (df_bb_regno_last_use_find, df_bb_regno_first_def_find): | |
3636 | Remove static and forward declaration. | |
3637 | (df_find_def, df_reg_used, df_bb_regno_last_def_find): New | |
3638 | functions. | |
3639 | * df.h (df_bb_regno_last_use_find, df_bb_regno_first_def_find, | |
3640 | df_bb_regno_last_def_find, df_find_def, df_reg_used): New | |
3641 | declarations. | |
3642 | * flags.h (flag_modulo_sched): New flag. | |
3643 | * opts.c (common_handle_option): Handle modulo-sched flag. | |
3644 | * params.def (max-sms-loop-number, sms-max-ii-factor, | |
3645 | sms-dfa-history, sms-loop-average-count-threshold): New | |
3646 | parameters. | |
3647 | * params.h (MAX_SMS_LOOP_NUMBER, SMS_MAX_II_FACTOR, | |
3648 | SMS_DFA_HISTORY, SMS_LOOP_AVERAGE_COUNT_THRESHOLD): New | |
3649 | parameters. | |
3650 | * passes.c ("sms", "sms-vcg"): New dumps. | |
3651 | (rest_of_handle_sched): Call sms_schedule. | |
3652 | * rtl.h (sms_schedule): New declaration. | |
3653 | * timevar.def (TV_SMS): New. | |
3654 | * toplev.c (flag_modulo_sched): Initialize. | |
3655 | (f_options): Handle -fmodulo-sched option. | |
3656 | * docs/invoke.texi: Document -fmodulo-sched & -dm options. | |
3657 | * docs/passes.texi: Document new SMS pass. | |
3658 | ||
2f93eea8 PB |
3659 | 2004-05-25 Paolo Bonzini <bonzini@gnu.org> |
3660 | ||
3661 | * Makefile.in (OBJS): Add rtlhooks.o. | |
3662 | (rtlanal.o): Depend on function.h. | |
3663 | (cse.o): Depend on rtlhooks-def.h. | |
3664 | (combine.o): Depend on rtlhooks-def.h. | |
3665 | (rtlhooks.o): New rule. | |
3666 | * combine.c: Include rtlhooks-def.h. | |
3667 | (nonzero_bits, cached_nonzero_bits, nonzero_bits1, | |
3668 | num_sign_bit_copies, cached_num_sign_bit_copies, | |
3669 | num_sign_bit_copies1): Move most of the code to rtlanal.c. | |
3670 | (reg_nonzero_bits_for_combine, | |
3671 | reg_num_sign_bit_copies_for_combine): New functions holding | |
3672 | the remnants of the above. | |
3673 | (combine_rtl_hooks): New. | |
3674 | (combine_instructions): Set rtl_hooks instead of gen_lowpart. | |
3675 | * cse.c: Include rtlhooks-def.h. | |
3676 | (cse_rtl_hooks): New. | |
3677 | (cse_main): Set rtl_hooks instead of gen_lowpart. | |
3678 | * emit-rtl.c (gen_lowpart): Remove. | |
3679 | (gen_lowpart_general): Move to rtlhooks.c. | |
3680 | * rtl.h (nonzero_bits, num_sign_bit_copies, | |
3681 | struct rtl_hooks, rtl_hooks, general_rtl_hooks): New. | |
3682 | (gen_lowpart_general): Remove. | |
3683 | (gen_lowpart): Temporarily redefine as a macro. | |
3684 | * rtlanal.c: Include function.h. | |
3685 | (nonzero_bits, cached_nonzero_bits, nonzero_bits1, | |
3686 | num_sign_bit_copies, cached_num_sign_bit_copies, | |
3687 | num_sign_bit_copies1): New, from combine.c. | |
61c627ed | 3688 | * rtlhooks.c: New file. |
789550d1 | 3689 | * rtlhooks-def.h: New file. |
2f93eea8 | 3690 | |
11338cda SS |
3691 | 2004-05-25 Svein E. Seldal <Svein.Seldal@solidas.com> |
3692 | ||
3693 | * config/avr/avr.h (LONG_LONG_TYPE_SIZE): Changed long long type | |
3694 | to support 32-bit -mint8 mode. | |
3695 | ||
3696 | * doc/invoke.texi (-mint8): Added documentation for the -mint8 | |
61c627ed | 3697 | option in the AVR architecture. |
11338cda | 3698 | |
cfc984b5 MS |
3699 | 2004-05-24 Mike Stump <mrs@apple.com> |
3700 | ||
3701 | * doc/install.texi: Document that dejagnu 1.4.4 is required. | |
3702 | ||
a668adb2 JM |
3703 | 2004-05-24 Joseph S. Myers <jsm@polyomino.org.uk> |
3704 | ||
3705 | * intl.h (open_quote, close_quote): New. | |
3706 | * intl.c (open_quote, close_quote): New. | |
3707 | (gcc_init_libintl): Set them. | |
3708 | * pretty-print.c: Include "intl.h". | |
3709 | (pp_base_format_text): Support 'q' format flag and %` and %' | |
3710 | formats. Use ' instead of ` in comments. | |
3711 | * c-format.c (gcc_diag_flag_specs, gcc_cxxdiag_flag_specs, | |
3712 | gcc_diag_char_table, gcc_cdiag_char_table, gcc_cxxdiag_char_table, | |
3713 | foramt_types_orig): Describe these new formats. | |
3714 | (decode_format_attr, check_function_format, | |
3715 | check_format_info_main): Use these new formats. | |
3716 | (status_warning): Use ATTRIBUTE_GCC_DIAG. | |
3717 | * toplev.c (ATTRIBUTE_GCC_DIAG): Increase required GCC version to | |
3718 | check these formats to 3.5. | |
3719 | ||
6046b0ed RO |
3720 | 2004-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3721 | ||
3722 | * Makefile.in (CPPLIBS): Renamed to CPPLIB. | |
3723 | (BACKEND): Reflect this. | |
3724 | (LIBDEPS): Move CPPLIB before LIBIBERTY. | |
3725 | (LIBS): Likewise. | |
3726 | ||
aef0afc4 UW |
3727 | 2004-05-24 Ulrich Weigand <uweigand@de.ibm.com> |
3728 | ||
3729 | PR tree-optimization/14197 | |
3730 | * builtins.c: Include "tree-gimple.h" | |
61c627ed | 3731 | (readonly_data_expr): Use get_base_address. Make sure to call |
aef0afc4 UW |
3732 | decl_readonly_section only on trees it can handle. |
3733 | * tree-gimple.c (get_base_address): Accept STRING_CST and | |
3734 | CONSTRUCTOR expressions. | |
3735 | * Makefile.in: Update dependencies. | |
3736 | ||
4f4e53dd PB |
3737 | 2004-05-23 Paolo Bonzini <bonzini@gnu.org> |
3738 | ||
3739 | Move libcpp to the toplevel. | |
3740 | * Makefile.in: Remove references to libcpp files, | |
3741 | use CPPLIBS instead of libcpp.a. Define SYMTAB_H | |
3742 | and change hashtable.h to that. | |
3743 | * aclocal.m4 (gcc_AC_HEADER_STDBOOL, | |
3744 | gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove. | |
3745 | * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests. | |
3746 | * configure: Regenerate. | |
3747 | * config.in: Regenerate. | |
3748 | * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h. | |
3749 | * cppcharset.c: Removed. | |
3750 | * cpperror.c: Removed. | |
3751 | * cppexp.c: Removed. | |
3752 | * cppfiles.c: Removed. | |
3753 | * cpphash.c: Removed. | |
3754 | * cpphash.h: Removed. | |
3755 | * cppinit.c: Removed. | |
3756 | * cpplex.c: Removed. | |
3757 | * cpplib.c: Removed. | |
3758 | * cpplib.h: Removed. | |
3759 | * cppmacro.c: Removed. | |
3760 | * cpppch.c: Removed. | |
3761 | * cpptrad.c: Removed. | |
3762 | * cppucnid.h: Removed. | |
3763 | * cppucnid.pl: Removed. | |
3764 | * cppucnid.tab: Removed. | |
3765 | * hashtable.c: Removed. | |
3766 | * hashtable.h: Removed. | |
3767 | * line-map.c: Removed. | |
3768 | * line-map.h: Removed. | |
3769 | * mkdeps.c: Removed. | |
3770 | * mkdeps.h: Removed. | |
3771 | * stringpool.h: Include symtab.h instead of hashtable.h. | |
3772 | * tree.h: Include symtab.h instead of hashtable.h. | |
3773 | * system.h (O_NONBLOCK, O_NOCTTY): Do not define. | |
3774 | ||
76391e5a PB |
3775 | 2004-05-23 Paolo Bonzini <bonzini@gnu.org> |
3776 | ||
3777 | * gcc.c (struct prefix_list): Add forward declaration. | |
3778 | (do_spec_path): New function, extracted from... | |
3779 | (do_spec_1) <'D'>: ... here. Drop support for | |
3780 | SPACE_AFTER_L_OPTION. | |
3781 | (do_spec_1) <'I'>: Use do_spec_path. | |
3782 | (process_command): Do not store the 'include' suffix | |
3783 | in include_prefixes. | |
3784 | * system.h: Poison SPACE_AFTER_L_OPTION. | |
3785 | ||
8d4a2ff6 RS |
3786 | 2002-05-23 Roger Sayle <roger@eyesopen.com> |
3787 | ||
3788 | * fold-const.c (non_lvalue): Explicitly list the tree codes that | |
3789 | need to be wrapped by NON_LVALUE_EXPR, instead of those that don't. | |
3790 | ||
6972898c JM |
3791 | 2004-05-23 Joseph S. Myers <jsm@polyomino.org.uk> |
3792 | ||
3793 | * doc/gcc.texi, doc/gccint.texi, doc/include/gcc-common.texi: | |
3794 | Update based on printed manual. Enable setting of offsets for | |
3795 | FSFPRINT and move it to gcc-common.texi. | |
3796 | * doc/gcc.texi: Update FSF printing details. | |
3797 | * doc/gccint.texi: Remove FSF printing details. | |
3798 | ||
68ca1923 AP |
3799 | 2004-05-23 Andrew Pinski <pinskia@physics.uc.edu> |
3800 | ||
3801 | * config/rs6000/t-rs6000: Remove the disabling -Werror. | |
3802 | ||
d6dc556b RS |
3803 | 2004-05-22 Roger Sayle <roger@eyesopen.com> |
3804 | ||
3805 | * builtins.c (expand_builtin_strstr, expand_builtin_strchr, | |
3806 | expand_builtin_strrchr, expand_builtin_strpbrk, | |
3807 | expand_builtin_mempcpy, expand_builtin_memcmp, | |
3808 | expand_builtin_strcmp, expand_builtin_strncmp, | |
3809 | expand_builtin_strcat, std_expand_builtin_va_start, | |
3810 | std_expand_builtin_va_arg, expand_builtin_va_copy, | |
3811 | expand_builtin_signbit, fold_builtin_cabs, | |
3812 | fold_builtin_logarithm, fold_builtin_mempcpy, | |
3813 | fold_builtin_signbit, fold_builtin_isascii, | |
3814 | fold_builtin_toascii, fold_builtin_isdigit, | |
3815 | fold_builtin_1, build_function_call_expr, | |
3816 | simplify_builtin_strchr, simplify_builtin_strrchr, | |
3817 | simplify_builtin_strpbrk, simplify_builtin_strncpy, | |
3818 | simplify_builtin_memcmp, simplify_builtin_strcmp, | |
3819 | simplify_builtin_strncmp, simplify_builtin_strncat, | |
3820 | simplify_builtin_strspn, simplify_builtin_strcspn, | |
3821 | simplify_builtin_fputs, simplify_builtin_sprintf): Replace calls | |
3822 | to build with calls to build2, build3 or omit_one_operand. | |
3823 | ||
0a0de3bf RS |
3824 | 2004-05-22 Richard Sandiford <rsandifo@redhat.com> |
3825 | ||
8e657c46 | 3826 | * config/mips/mips.c (mips_file_start): Emit a .gcc_compiled_longXX |
0a0de3bf RS |
3827 | section when generating EABI code. |
3828 | ||
79bba51c AP |
3829 | 2004-05-22 Andrew Pinski <pinskia@physics.uc.edu> |
3830 | ||
3831 | PR 15546 | |
3832 | * config/i386/i386.c (output_pic_addr_const <case SYMBOL_REF>): | |
3833 | Call mark_decl_referenced on the SYMBOL_REF_DECL. | |
3834 | ||
6f312d18 ZW |
3835 | 2004-05-22 Andrew Pinski <pinskia@physics.uc.edu> |
3836 | ||
3837 | * c-common.c (c_common_truthvalue_conversion): Handle | |
3838 | UNEQ_EXPR, UNLE_EXPR, UNGE_EXPR, UNLT_EXPR, UNGT_EXPR, | |
3839 | ORDERED_EXPR, and UNORDERED_EXPR as comparison operators, | |
3840 | i.e. set the type to truthvalue_type_node and return. | |
3841 | ||
3842 | 2004-05-22 Zack Weinberg <zack@codesourcery.com> | |
3843 | ||
3844 | * tree.h (struct tree_decl): Add possibly_inlined bit. | |
3845 | (DECL_POSSIBLY_INLINED): New accessor macro. | |
3846 | * cgraph.h: Remove declaration of cgraph_inline_hash. | |
3847 | * cgraph.c: Remove definition of cgraph_inline_hash. | |
3848 | (hash_node): Revert to hashing DECL_UID. | |
3849 | (eq_node): Take two pointers to cgraph_node structures. | |
3850 | Compare DECL_UIDs. | |
3851 | (cgraph_remove_node): Pass the node directly to htab_find_slot. | |
3852 | (cgraph_varpool_hash_node): Rename hash_varpool_node; | |
3853 | hash on DECL_UID. | |
3854 | (eq_cgraph_varpool_node): Rename eq_varpool_node; take two | |
3855 | pointers to cgraph_varpool_node structures; compare DECL_UIDs. | |
3856 | (cgraph_node): Allocate a temporary node on the stack, fill in | |
3857 | its DECL field, and pass that to htab_find_slot. | |
3858 | (cgraph_varpool_node): Likewise. | |
3859 | (cgraph_function_possibly_inlined_p): If global info is ready, | |
3860 | return the DECL_POSSIBLY_INLINED bit. | |
3861 | * cgraphunit.c (cgraph_mark_inline_edge): Set DECL_POSSIBLY_INLINED | |
3862 | instead of mucking with cgraph_inline_hash. | |
3863 | ||
2dec00bf JM |
3864 | 2004-05-22 Joseph S. Myers <jsm@polyomino.org.uk> |
3865 | ||
3866 | * doc/contrib.texi: Add g77 contributors. | |
3867 | ||
9fd47435 RS |
3868 | 2004-05-22 Richard Sandiford <rsandifo@redhat.com> |
3869 | ||
3870 | * calls.c (initialize_argument_information): Forbid sibcalls if a | |
3871 | callee-copied argument is stored in the current function's frame. | |
3872 | ||
0bc0f41d EC |
3873 | 2004-05-22 Eric Christopher <echristo@redhat.com> |
3874 | ||
3875 | * fix-header.c (read_scan_file): Update for add_path change. | |
3876 | ||
b02398bd BE |
3877 | 2004-05-22 Ben Elliston <bje@au.ibm.com> |
3878 | ||
3879 | * c.opt (Wmissing-include-dirs): New. | |
3880 | * c-opts.c (c_common_handle_option): Pass true for user_supplied_p | |
3881 | to add_path () for -I, but false for OPT_idirafter, OPT_iquote and | |
3882 | OPT_isystem. Handle case OPT_Wmissing_include_dirs. | |
3883 | * c-incpath.h (add_path): Add fourth (bool) argument. | |
3884 | * c-incpath.c (add_env_var_paths): Pass false to add_path (). | |
3885 | (add_standard_paths): Likewise. | |
3886 | (remove_duplicates) [REASON_NOENT]: Warn if -Wmissing-include-dirs | |
3887 | is used and the directory was user-supplied via -I. | |
3888 | (add_path): Set p->user_supplied_p. Remove duplicated code by | |
3889 | using add_cpp_dir_path (). | |
3890 | * cpplib.h (struct cpp_options): Add warn_missing_include_dirs. | |
3891 | (struct cpp_dir): Add user_supplied_p. | |
3892 | * doc/invoke.texi (Warning Options): Document new option. | |
3893 | ||
12fea1f9 UW |
3894 | 2004-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
3895 | ||
3896 | * fold-const.c (fold_read_from_constant_string): Convert result to | |
3897 | requested type. | |
3898 | ||
f0638e1d RH |
3899 | 2004-05-21 Richard Henderson <rth@redhat.com> |
3900 | ||
3901 | * gimplify.c (mostly_copy_tree_r): Don't attempt to copy decls. | |
3902 | (copy_if_shared_r): Don't copy decls, types, constants, BINDs. | |
3903 | Don't mark VA_ARG_EXPRs volatile here. | |
3904 | (gimplify_modify_expr): Unshare TYPE_SIZE_UNIT. | |
3905 | ||
11ed191c RH |
3906 | 2004-05-21 Richard Henderson <rth@redhat.com> |
3907 | ||
3908 | * Makefile.in (tree-dump.o): Depend on tree-iterator.h. | |
3909 | * tree-dump.c (dequeue_and_dump): Dump STATEMENT_LISTs. | |
3910 | ||
b953ebd6 RS |
3911 | 2004-05-21 Roger Sayle <roger@eyesopen.com> |
3912 | ||
3913 | * fold-const.c (fold, fold_relational_hi_lo, | |
3914 | nondestructive_fold_binary_to_constant, | |
3915 | fold_read_from_constant_string): Use fold_convert instead of convert. | |
3916 | * builtins.c (simplify_builtin, simplify_builtin_strstr, | |
3917 | simplify_builtin_strchr, simplify_builtin_strrchr, | |
3918 | simplify_builtin_strpbrk): Use fold_convert instead of convert. | |
3919 | ||
e54d0214 DN |
3920 | 2004-05-21 Diego Novillo <dnovillo@redhat.com> |
3921 | ||
3922 | * tree-flow-inline.h (num_immediate_uses): Don't abort if DF | |
3923 | is NULL. | |
3924 | ||
942e0f44 JJ |
3925 | 2004-05-21 Jakub Jelinek <jakub@redhat.com> |
3926 | ||
3927 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): If SPARC_BI_ARCH, | |
3928 | override sparc.h definition. | |
3929 | ||
59ce6d6b RS |
3930 | 2004-05-20 Roger Sayle <roger@eyesopen.com> |
3931 | ||
3932 | * tree.c (array_type_nelts, save_expr, substitute_in_expr, | |
3933 | get_unwidened, get_narrower): Replace build with build2. | |
3934 | * fold-const.c (negate_expr, associate_trees, size_binop, | |
3935 | fold_convert, eval_subst, omit_one_operand, invert_truthvalue, | |
3936 | pedantic_omit_one_operand, distribute_bit_expr, | |
3937 | make_bit_field_ref, optimize_bit_field_compare, | |
3938 | decode_field_reference, range_binop, make_range, | |
3939 | build_range_check, fold_range_test, fold_truthop, | |
0bc0f41d | 3940 | optimize_minmax_comparison, extract_muldiv_1, |
59ce6d6b RS |
3941 | fold_binary_op_with_conditional_arg, fold_mathfn_compare, |
3942 | fold_inf_compare, fold_single_bit_test, fold, | |
3943 | fold_relational_hi_lo, nondestructive_fold_binary_to_constant): | |
3944 | Likewise replace build with either build2 or build3. | |
3945 | ||
3972995b ILT |
3946 | 2004-05-20 Ian Lance Taylor <ian@wasabisystems.com> |
3947 | ||
3948 | * system.h: Poison NO_RECURSIVE_FUNCTION_CSE. | |
3949 | * calls.c (prepare_call_address): Don't test | |
3950 | NO_RECURSIVE_FUNCTION_CSE. | |
3951 | * config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define. | |
3952 | * config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3953 | * config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3954 | * config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3955 | * config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3956 | * config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3957 | * config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3958 | * config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3959 | * config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3960 | * config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3961 | * config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3962 | * config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE): | |
3963 | Likewise. | |
3964 | * config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. | |
3965 | * config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment. | |
3966 | * doc/tm.texi (Costs): Remove documentation for | |
3967 | NO_RECURSIVE_FUNCTION_CSE. | |
3968 | ||
0ef54a47 PB |
3969 | 2004-05-20 Paul Brook <paul@codesourcery.com> |
3970 | ||
3971 | * unwind-dw2-fde.c (get_cie_encoding): Handle dwarf3 CIE format. | |
3972 | * unwind-dw2.c (extract_cie_info): Ditto. | |
3973 | (_Unwind_FrameState): Change retaddr_column to word type. | |
3974 | ||
f4085d4c RS |
3975 | 2004-05-20 Roger Sayle <roger@eyesopen.com> |
3976 | ||
3977 | PR middle-end/3074 | |
3978 | * fold-const.c (strip_compound_expr): Delete function. | |
3979 | (count_cond): Delete function. | |
3980 | (fold_binary_op_with_conditional_arg): Only perform transformations | |
3981 | "a + (b?c:d) -> b ? a+c : a+d" and "(b?c:d) + a -> b ? c+a : d+a" | |
3982 | when a is constant. This greatly simplifies this routine. | |
3983 | ||
3984 | * tree.c (saved_expr_p): Delete function. | |
3985 | * tree.h (saved_expr_p): Delete function prototype. | |
3986 | ||
b8850dd2 AP |
3987 | 2004-05-20 Andrew Pinski <pinskia@physics.uc.edu> |
3988 | ||
3989 | * common.opt (ftree-loop-optimize): Remove. | |
3990 | ||
4ac29b33 DJ |
3991 | 2004-05-20 Daniel Jacobowitz <dan@debian.org> |
3992 | ||
3993 | * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET) | |
3994 | (NM_FOR_TARGET): Use := and $(shell). | |
3995 | (mainversion): Remove unused variable. | |
3996 | ||
52fe4de8 JDA |
3997 | 2004-05-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3998 | ||
3999 | * reorg.c (delete_from_delay_slot): If we have a barrier after the | |
4000 | sequence containing the insn to be deleted, always reemit it. | |
4001 | ||
7e140280 RH |
4002 | 2004-05-20 Richard Henderson <rth@redhat.com> |
4003 | ||
4004 | PR 15454 | |
4005 | * tree-nested.c (get_chain_decl): Create a PARM_DECL by hand. | |
4006 | * function.c (expand_function_start): Expand static_chain_decl by hand. | |
4007 | * gimplify.c (create_tmp_var_name): Export. | |
4008 | * tree-gimple.h (create_tmp_var_name): Declare. | |
4009 | ||
9bf6462a AP |
4010 | 2004-05-20 Andrew Pinski <pinskia@physics.uc.edu> |
4011 | ||
4012 | * rs6000.c (print_operand) <case 'z'>: Call | |
4013 | mark_decl_referenced before assemble_name. | |
4014 | ||
30719c65 ZW |
4015 | 2004-05-20 Zack Weinberg <zack@codesourcery.com> |
4016 | ||
4017 | * cgraph.c (hash_node, eq_node, cgraph_node, cgraph_remove_node) | |
4018 | (cgraph_varpool_hash_node, eq_cgraph_varpool_node) | |
4019 | (cgraph_varpool_node): Hash on the pointer to the decl, not | |
4020 | the DECL_UID. Fixes 64-bit bootstrap failure. | |
4021 | ||
69260355 RE |
4022 | 2004-05-20 Richard Earnshaw <rearnsha@arm.com> |
4023 | ||
4024 | * arm.md (ite_ne_zeroextractsi, ite_ne_zeroextractsi_shifted): Ensure | |
4025 | we don't earlyclobber operands used in the second insn. | |
4026 | ||
1ffae628 SB |
4027 | 2004-05-20 Steven Bosscher <stevenb@suse.de> |
4028 | ||
4029 | * tree-mudflap.c: Formatting fixes. | |
4030 | ||
965ccc5a R |
4031 | 2004-05-20 J"orn Rennecke <joern.rennecke@superh.com> |
4032 | ||
4033 | * Makefile.in (GTFILES): Add $(srcdir)/reload.h. | |
4034 | * gengtype.c (open_base_files): Include reload.h in ifiles. | |
4035 | * reload.h (reg_equiv_memory_loc_varray): Declare. | |
4036 | * reload1.c (reg_equiv_memory_loc_varray): New variable. | |
4037 | (init_reload): Initialize it. | |
4038 | (reload): Instead of freeing reg_equiv_memory_loc, 'grow' | |
4039 | reg_equiv_memory_loc_varray to size 0. | |
4040 | * ra.c (reg_alloc): Allocate reg_equiv_memory_loc by | |
4041 | growing reg_equiv_memory_loc_varray to the desired size. | |
4042 | * passes.c (rest_of_handle_old_regalloc): Likewise. | |
4043 | * reload.c: Amend comment on calling init_reload. | |
4044 | ||
4ccfc10a NC |
4045 | 2004-05-20 Nick Clifton <nickc@redhat.com> |
4046 | ||
4047 | * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Replace 'tramp' | |
4048 | with 'TRAMP' in the body of the macro definition. | |
4049 | ||
6bc709c1 L |
4050 | 2004-05-19 H.J. Lu <hongjiu.lu@intel.com> |
4051 | ||
4052 | PR target/15383 | |
4053 | * config/ia64/ia64.c (ia64_expand_compare): Don't check | |
4054 | TARGET_HPUX for TFmode compare. Abort if op0 is in TFmode and | |
4055 | cmptf_libfunc isn't set. | |
4056 | (ia64_init_libfuncs): Rename TFmode libfuncs using the HPUX | |
4057 | conventions. | |
4058 | (ia64_sysv4_init_libfuncs): New. | |
4059 | ||
4060 | * config/ia64/sysv4.h (TARGET_INIT_LIBFUNCS): New. Defined as | |
4061 | ia64_sysv4_init_libfuncs. | |
4062 | ||
d3a7ef9a FH |
4063 | 2004-05-20 Falk Hueffner <falk@debian.org> |
4064 | ||
4065 | PR other/15526 | |
4066 | * libgcc2.c (__mulvsi3): Fix overflow test. | |
4067 | ||
e916e1d0 AP |
4068 | 2004-05-19 Andrew Pinski <pinskia@physics.uc.edu> |
4069 | ||
dc44e18a | 4070 | PR c/14171 |
d2032ad8 AP |
4071 | * reg-stack.c (nan): Rename to ... |
4072 | (not_a_num): Here. | |
4073 | (reg_to_stack): Rename nan to not_a_num. | |
4074 | (subst_stack_regs_pat): Likewise. | |
4075 | (convert_regs_entry): Likewise. | |
4076 | (convert_regs_1): Likewise. | |
4077 | ||
e916e1d0 AP |
4078 | * tree-cfg.c (find_case_label_for_value): Replace call to |
4079 | simple_cst_equal with tree_int_cst_equal. | |
4080 | ||
84c672b9 JL |
4081 | 2004-05-19 Jeff Law <law@redhat.com> |
4082 | ||
34eb8991 JL |
4083 | * tree-into-ssa.c (prepare_operand_for_rename): New argument is_use. |
4084 | If the operand is for a use, then strip away the SSA_NAME, do not | |
4085 | strip away the SSA_NAME for a set. Never call release_ssa_name. | |
4086 | (mark_def_sites): Appropriately pass additional argument to | |
4087 | prepare_operand_for_rename. If a VDEF_RESULT is not an SSA_NAME, | |
4088 | then set the VDEF_RESULT to the VDEF_OP. | |
4089 | (set_def_block): Strip away any SSA_NAME to get to the real | |
4090 | underlying variable. | |
4091 | ||
84c672b9 JL |
4092 | * tree-ssa-phiopt.c (value_replacement): Handle the case where |
4093 | the desired edge out of COND_BLOCK reaches OTHER_BLOCK rather than | |
4094 | BB directly. | |
4095 | ||
0aea6467 ZD |
4096 | 2004-05-19 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
4097 | ||
4098 | PR c++/15463 | |
4099 | * loop-iv.c (iv_number_of_iterations): Use trunc_int_for_mode on | |
4100 | result of inverse. | |
4101 | ||
4102 | PR rtl-optimization/15274 | |
4103 | * loop-iv.c (determine_max_iter, shorten_into_mode, | |
4104 | iv_number_of_iterations): Handle constants correctly. | |
4105 | * rtl.h (get_mode_bounds): Declaration changed. | |
4106 | * stor-layout.c (get_mode_bounds): Return a constant suitable for | |
4107 | the target mode. | |
4108 | ||
4109 | PR rtl-optimization/14692 | |
4110 | * loop-unswitch.c (may_unswitch_on): Try folding the result. | |
4111 | (unswitch_single_loop): Work correctly when may_unswitch_on | |
4112 | returns a folded constant. | |
4113 | ||
4114 | * loop-iv.c (implies_p): Handle A < B ==> A + 1 <= B. | |
4115 | * simplify-rtx.c (simplify_const_relational_operation): Optimize | |
4116 | comparisons with mode bounds. | |
4117 | ||
4118 | * function.c (struct temp_slot): Add new field prev. | |
4119 | (free_after_compilation, init_temp_slots): Free new fields. | |
4120 | (cut_slot_from_list, insert_slot_to_list, | |
4121 | temp_slots_at_level, max_slot_level, move_slot_to_level, | |
4122 | make_slot_available): New functions. | |
4123 | (assign_stack_temp_for_type, combine_temp_slots, | |
4124 | find_temp_slot_from_address, preserve_temp_slots, | |
4125 | preserve_rtl_expr_result, free_temp_slots, | |
4126 | free_temps_for_rtl_expr, pop_temp_slots): Work with | |
4127 | the new structure of lists. | |
4128 | (mark_all_temps_used): Removed. | |
4129 | * function.h (struct function): Field x_temp_slots | |
4130 | replaced by x_used_temp_slots and x_avail_temp_slots. | |
4131 | (temp_slots): Replaced by ... | |
4132 | (used_temp_slots, avail_temp_slots): New. | |
4133 | * tree.h (mark_all_temps_used): Declaration removed. | |
4134 | ||
4135 | * loop-iv.c (mark_single_set, get_biv_step_1, iv_analyze, | |
4136 | simplify_using_assignment): Take the expression out of | |
4137 | the expr_list wrapper. | |
4138 | ||
4139 | * loop-iv.c (iv_number_of_iterations): Improve clasification of | |
4140 | infinite loops. | |
4141 | ||
31a52b86 RS |
4142 | 2004-05-19 Roger Sayle <roger@eyesopen.com> |
4143 | ||
4144 | * doc/tm.texi (TARGET_RTX_COSTS): Document that instruction | |
4145 | costs should be based on code size when optimizing for size. | |
4146 | ||
d28f752b PB |
4147 | 2004-05-19 Paolo Bonzini <bonzini@gnu.org> |
4148 | ||
4149 | * fold-const.c: Remove non-printable character 160. | |
4150 | ||
d55b55aa NC |
4151 | 2004-05-19 Nick Clifton <nickc@redhat.com> |
4152 | ||
34a86306 NC |
4153 | * doc/invoke.texi (ARM Options): Fix typo. |
4154 | Remove descrption of -mshort-load-bytes and | |
4155 | -mno-short-load-bytes. | |
4156 | ||
d55b55aa NC |
4157 | * config/ip2k/ip2k.c (ip2k_composite_xexp_not_uses_reg_p): Add |
4158 | missing parenthesis. | |
4159 | * config/ip2k/ip2k.c (ip2k_unary_operator): Likewise. | |
4160 | * config/ip2k/ip2k.c (ip2k_binary_operator): Likewise. | |
4161 | ||
6af8eb57 SB |
4162 | 2004-05-19 Steven Bosscher <stevenb@suse.de> |
4163 | ||
4164 | * expr.c (store_constructor): Build loop start and end by hand | |
4165 | instead of via loop functions from stmt.c. | |
4166 | (expand_expr_real_1): Abort if we see an EXIT_EXPR or a LOOP_EXPR. | |
4167 | Remove the code to expand them. | |
4168 | ||
4169 | * stmt.c (loop_stack): Remove this and everything related. | |
4170 | (struct nesting, enum nesting_desc): Update. | |
4171 | (expand_fixup): Likewise. | |
4172 | (expand_loop_start, expand_start_loop_continue_elsewhere, | |
4173 | expand_start_null_loop, expand_loop_continue_here, expand_end_loop, | |
4174 | expand_end_null_loop, expand_continue_loop, expand_exit_loop, | |
4175 | expand_exit_loop_if_false, expand_exit_loop_top_cond, | |
4176 | expand_exit_something): Remove. | |
4177 | * tree.h: Remove prototypes. | |
4178 | ||
eeab4d81 MS |
4179 | 2004-05-18 Mike Stump <mrs@apple.com> |
4180 | Devang Patel <dpatel@apple.com> | |
4181 | ||
4182 | * doc/tm.texi (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument to indicate | |
4183 | if this label is for eh. | |
4184 | * config/darwin-protos.h (darwin_emit_unwind_label): Likewise. | |
4185 | * config/darwin.c (darwin_emit_unwind_label): Likewise. | |
4186 | * dwarf2out.c (output_call_frame_info): Likewise. | |
4187 | * output.h (default_emit_unwind_label): Likewise. | |
4188 | * target.h (unwind_label): Likewise. | |
4189 | * varasm.c (default_emit_unwind_label): Likewise. | |
4190 | ||
4191 | * config/darwin.h (DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE, | |
4192 | DEBUG_FRAME_SECTION, DEBUG_INFO_SECTION, DEBUG_ABBREV_SECTION, | |
4193 | DEBUG_ARANGES_SECTION, DEBUG_MACINFO_SECTION, DEBUG_LINE_SECTION, | |
4194 | DEBUG_LOC_SECTION, DEBUG_PUBNAMES_SECTION, DEBUG_STR_SECTION, | |
4195 | DEBUG_RANGES_SECTION): Define. | |
4196 | ||
bb9a388d ZW |
4197 | 2004-05-18 Zack Weinberg <zack@codesourcery.com> |
4198 | ||
4199 | * cgraph.c (hash_node, eq_node, cgraph_node, cgraph_remove_node) | |
4200 | (cgraph_varpool_hash_node, eq_cgraph_varpool_node) | |
4201 | (cgraph_varpool_node): | |
4202 | Use DECL_UID for the key, not DECL_ASSEMBLER_NAME. | |
4203 | (cgraph_function_possibly_inlined_p): Use the decl itself for | |
4204 | the key, not DECL_ASSEMBLER_NAME. | |
4205 | (change_decl_assembler_name): No need to muck with the hash tables. | |
4206 | (cgraph_node_for_identifier, cgraph_varpool_node_for_identifier): | |
4207 | Delete. | |
4208 | * cgraphunit.c (cgraph_mark_inline_edge): Use the decl itself | |
4209 | for the key, not DECL_ASSEMBLER_NAME. | |
4210 | * cgraph.h: Remove prototypes of deleted functions. | |
4211 | * varasm.c (mark_referenced): Just set TREE_SYMBOL_REFERENCED. | |
4212 | (mark_decl_referenced): New function. | |
4213 | * tree.h: Prototype mark_decl_referenced. | |
4214 | * final.c (output_addr_const) <case SYMBOL_REF>: Call | |
4215 | mark_decl_referenced before assemble_name. | |
4216 | * c-decl.c (finish_decl): Use mark_decl_referenced. | |
4217 | ||
3a3f4da9 AP |
4218 | 2004-05-18 Andrew Pinski <pinskia@physics.uc.edu> |
4219 | Jeff Law <law@redhat.com> | |
4220 | ||
cc52902d AP |
4221 | * tree-ssa-phiopt.c (abs_replacement): New function. |
4222 | (empty_block_p): New function extracted from... | |
4223 | (candidate_bb_for_phi_optimization): Break out empty block test. | |
4224 | (conditional_replacement): Use empty_block_p. | |
4225 | (value_replacement): Similarly. | |
4226 | ||
3a3f4da9 AP |
4227 | * Makefile.in (tree-ssa-phiopt.o): Depends on flags.h. |
4228 | * tree-ssa-phiopt.c: Include flags.h. | |
4229 | (conditional_replacement): Remove argument names from prototype. | |
4230 | Minor formatting and comment fixes. | |
4231 | (tree_ssa_phiopt): If conditional_replacement returns false, then | |
4232 | call value_replacement. | |
4233 | (value_replacement): New function. | |
4234 | ||
14886ab7 JL |
4235 | 2004-05-18 Jeff Law <law@redhat.com> |
4236 | ||
1833df5c JL |
4237 | * tree-ssa-phiopt.c (replace_phi_with_stmt): New function extracted |
4238 | from conditional_replacement. | |
4239 | (candidate_bb_for_phi_optimization): Similarly. | |
4240 | (conditional_replacement): Use replace_phi_with_stmt and | |
4241 | candidate_bb_for_phi_optimization. | |
4242 | ||
14886ab7 JL |
4243 | * tree-ssa-phiopt.c: Fix various formatting issues. |
4244 | ||
70315fcd SB |
4245 | 2004-05-18 Steven Bosscher <stevenb@suse.de> |
4246 | ||
4247 | * config/s390/s390.c (s390_expand_movstr, s390_expand_clrstr, | |
4248 | s390_expand_cmpmem): Do not use expand_start_loop and | |
4249 | expand_end_loop, instead build the loop manually. | |
4250 | ||
f82ddcae AM |
4251 | 2004-05-18 Alan Modra <amodra@bigpond.net.au> |
4252 | ||
4253 | * config/rs6000/rs6000.md (ctrsi_internal3): Delete. | |
4254 | (ctrsi_internal4, ctrdi_internal3, ctrdi_internal4): Delete. | |
4255 | ||
dd747311 JL |
4256 | 2004-05-17 Jeff Law <law@redhat.com> |
4257 | ||
4258 | * toplev.h (flag_delete_null_pointer_checks): Move from here to... | |
4259 | * flags.h (flag_delete_null_pointer_checks): Here. | |
4260 | * tree-flow.h (cprop_into_successor_phis): Add argument to prototype. | |
4261 | * tree-phinodes.c (resize_phi_node): Initialize PHI_ARG_NONZERO. | |
4262 | (add_phi_arg, remove_phi_arg_num): Similarly. | |
4263 | * tree-ssa-copy.c (cprop_into_successor_phis): Propagate nonzero | |
4264 | property into PHI nodes. | |
4265 | * tree-ssa-dom.c: Remove redundant inclusion of flags.h. | |
4266 | (record_equivalences_from_phis): If all PHI arguments are known to be | |
4267 | nonzero, then the result must be nonzero as well. | |
8eb14e2e SB |
4268 | (cprop_into_phis): Pass nonzero_vars bitmap to cprop_into_successor_phis. |
4269 | (record_equivalences_from_stmt): Check flag_delete_null_pointer_checks | |
dd747311 JL |
4270 | appropriately. Walk the USE-DEF chains and propagate nonzero property |
4271 | as appropriate. | |
4272 | * tree.h (PHI_ARG_NONZERO): Define. | |
4273 | (phi_arg_d): Add nonzero flag. | |
4274 | ||
b4117c30 ZW |
4275 | 2004-05-17 Zack Weinberg <zack@codesourcery.com> |
4276 | ||
4277 | * f: Entire directory removed | |
4278 | ||
4279 | * c-common.h (CTI_G77_INTEGER_TYPE, CTI_G77_UINTEGER_TYPE) | |
4280 | (CTI_G77_LONGINT_TYPE, CTI_G77_ULONGINT_TYPE) | |
4281 | (g77_integer_type_node, g77_uinteger_type_node) | |
4282 | (g77_longint_type_node, or g77_ulongint_type_node): Delete. | |
4283 | * c-common.c (c_common_nodes_and_builtins): Do not initialize | |
4284 | the above set of variables. | |
4285 | ||
4286 | * config/i386/uwin.h: No need to define WIN32_UWIN_TARGET. | |
4287 | * doc/invoke.texi, doc/standards.texi: Remove cross-references | |
4288 | to g77 manual. | |
4289 | ||
6944d9dd SB |
4290 | 2004-05-17 Steven Bosscher <stevenb@suse.de> |
4291 | ||
5e806501 | 4292 | PR tree-optimization/15438 |
6944d9dd SB |
4293 | * tree-ssa-operands.c (get_expr_operands): Do not treat malloc |
4294 | attributed functions as pure or const. | |
4295 | ||
e1564e1d FCE |
4296 | 2004-05-17 Frank Ch. Eigler <fche@redhat.com> |
4297 | ||
4298 | * tree-mudflap.c (mx_register_decls): Tolerate decl trees resulting | |
4299 | from source code with errors. | |
4300 | ||
a2824db3 RM |
4301 | 2004-05-17 Ranjit Mathew <rmathew@hotmail.com> |
4302 | ||
4303 | Enable tree browser for all front ends. | |
4304 | * Makefile.in (cc1): Moved @TREEBROWSER@ from here... | |
4305 | (BACKEND): ...to here. | |
4306 | ||
2c6b27c3 JH |
4307 | 2004-05-17 Jan Hubicka <jh@suse.cz> |
4308 | ||
4309 | * i386.c (construct_container): Do not produce BLKmode registers. | |
4310 | (classify_argument): Properly compute alignment of complex types. | |
4311 | ||
044b3892 L |
4312 | 2004-05-17 H.J. Lu <hongjiu.lu@intel.com> |
4313 | ||
4314 | PR target/15084 | |
4315 | * config/i386/i386.md (*movsi_insv_1_rex64): Changed to DImode | |
4316 | and renamed to movdi_insv_1_rex64. | |
4317 | (insv): Support SImode for 32bit and DImode for 64bit. | |
4318 | ||
646ca712 RS |
4319 | 2004-05-17 Richard Sandiford <rsandifo@redhat.com> |
4320 | ||
4321 | * config/mips/mips.h (MASK_DEBUG_G, TARGET_DEBUG_G_MODE): Delete. | |
4322 | (TARGET_SWITCHES): Remove debugg. | |
4323 | * config/mips/mips.md (adddi3, ashldi3, ashrdi3, lshrdi3): Only handle | |
4324 | TARGET_64BIT. | |
4325 | (subdi3): Replace the define_expand with a define_insn, the latter | |
4326 | renamed from subdi3_internal_3. | |
4327 | (negdi2): Likewise negdi2_internal_2. | |
4328 | (adddi3_internal_[12], subdi3_internal, ashldi3_internal{,2,3}) | |
4329 | (ashrdi3_internal{,2,3}, lshrdi3_internal{,2,3}): Remove patterns | |
4330 | and associated define_splits. | |
4331 | (adddi3_internal): Renamed from adddi3_internal_3. | |
4332 | (ashldi3_internal): Likewise ashldi3_internal4. | |
4333 | (ashrdi3_internal): Likewise ashrdi3_internal4. | |
4334 | (lshrdi3_internal): Likewise lshrdi3_internal4. | |
4335 | ||
d83aba0f RS |
4336 | 2004-05-17 Richard Sandiford <rsandifo@redhat.com> |
4337 | ||
4338 | * optabs.c (expand_unop): Try implementing negation using subtraction | |
4339 | from zero. | |
4340 | ||
15581992 JDA |
4341 | 2004-05-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4342 | ||
4343 | * pa.md: Fix typo from last change. Remove DFmode move to and from | |
4344 | SAR register. | |
4345 | ||
2a2789d8 RE |
4346 | 2004-05-16 Richard Earnshaw <rearnsha@arm.com> |
4347 | ||
4348 | PR target/10982 | |
4349 | * arm.md (ne_zeroextractsi): Convert to insn-and-split. | |
4350 | (ne_zeroextractsi_shifted): New pattern. | |
4351 | (ite_ne_zeroextractsi): New pattern. | |
4352 | (ite_ne_zeroextractsi_shifted): New pattern. | |
4353 | ||
673fda6b SB |
4354 | 2004-05-15 Steven Bosscher <stevenb@suse.de> |
4355 | ||
4356 | * c-gimplify.c (c_genericize): | |
4357 | Replace calls via (*lang_hooks.foo) with lang_hooks.foo. | |
4358 | * c-parse.in <expr_no_commas>: Likewise. | |
4359 | <if_prefix>: Likewise. | |
4360 | <select_or_iter_stmt>: Likewise. | |
4361 | * expr.c (expand_var, expand_expr_real_1): Likewise. | |
4362 | * expr.h (expand_expr): Make it a static inline function. | |
4363 | Move prototype for expand_expr_real up before this. | |
4364 | * fold-const.c (fold_relational_hi_lo, fold_relational_const): | |
4365 | Likewise. | |
4366 | * gimplify.c (gimple_boolify, gimplify_addr_expr, | |
4367 | gimplify_asm_expr, gimplify_expr): Likewise. | |
4368 | * tree-cfg.c (dump_tree_cfg, dump_cfg_stats, tree_cfg2vcg, | |
4369 | dump_function_to_file): Likewise. | |
4370 | * tree-dfa.c (dump_immediate_uses, dump_dfa_stats): Likewise. | |
4371 | * tree-inline.c (remap_block, save_body, walk_tree): Likewise. | |
4372 | * tree-into-ssa.c (dump_tree_ssa): Likewise. | |
4373 | * tree-mudflap.c (mf_varname_tree, mf_file_function_line_tree): | |
4374 | Likewise. | |
4375 | * tree-optimize.c (execute_one_pass): Likewise. | |
4376 | * tree-pretty-print.c (dump_generic_bb_buff): Likewise. | |
4377 | * tree-ssa-alias.c (dump_alias_stats, dump_alias_info): Likewise. | |
4378 | ||
4379 | * objc/objc-act.c (objc_build_try_enter_fragment, | |
4380 | objc_build_try_epilogue, objc_build_catch_stmt, | |
4381 | objc_build_finally_prologue): Replace calls via (*lang_hooks.foo) | |
4382 | with lang_hooks.foo (). | |
4383 | ||
e2bb53e5 RS |
4384 | 2004-05-15 Roger Sayle <roger@eyesopen.com> |
4385 | ||
4386 | * builtins.c (simplify_builtin_strcpy): Avoid use of chainon, so | |
4387 | that simplify_builtin doesn't destructively modify its argument. | |
4388 | ||
dc491742 RE |
4389 | 2004-05-15 Richard Earnshaw <reanrsha@arm.com> |
4390 | ||
b4117c30 | 4391 | * arm/lib1funcs.asm (_lshrdi3, _ashrdi3, _ashldi3): Add ASM |
dc491742 RE |
4392 | implementations for ARM and Thumb. |
4393 | * arm/t-arm-elf (LIB1ASMFUNCS): Use them. | |
4394 | ||
428d4d76 TQ |
4395 | 2004-05-15 Thomas Quinot <quinot@act-europe.fr> |
4396 | ||
4397 | * prefix.c (update_path): Replace PREFIX with KEY only | |
4398 | when it matches a full directory name in PATH. | |
4399 | ||
61f0ccff RE |
4400 | 2004-05-15 Richard Earnshaw <reanrsha@arm.com> |
4401 | ||
4402 | * arm.h (TARGET_APCS_32): Delete. | |
4403 | (TARGET_MMU_TRAPS): Delete. | |
4404 | (TARGET_CPU_CPP_BUILTINS): Unconditionally define __APCS_32__. Never | |
4405 | define __APCS_26__. | |
4406 | (CPP_SPEC): Remove checking of -mapcs-{26,32}. | |
4407 | (ARM_FLAG_APCS_32, ARM_FLAG_MMU_TRAPS): Delete. | |
4408 | (TARGET_SWITCHES): Remove alignment_traps and apcs-{26,32} switches. | |
4409 | (prog_mode_type): Delete. | |
4410 | (PROMOTE_MODE): Always promote unsigned for HImode. | |
4411 | (SECONDARY_INPUT_RELOAD_CLASS): Simplify. | |
4412 | (MASK_RETURN_ADDR): Simplify. | |
4413 | * arm.c (arm_prgmode): Delete. | |
4414 | (arm_override_options, arm_gen_rotated_half_load): Simplify. | |
4415 | (print_multi_reg, output_return_instruction): Simplify. | |
4416 | (arm_output_epilogue, arm_final_prescan_insn): Simplify. | |
4417 | (arm_return_addr): Simplify. | |
4418 | * arm.md (prog_mode): Delete. | |
4419 | (conds): Simplify. | |
4420 | (zero_extendhisi2, extendhisi2, movhi, movhi_bytes): Simplify. | |
4421 | (rotated_loadsi, movhi_insn_littleend, movhi_insn_bigend): Delete. | |
4422 | (loadhi_si_bigend, loadhi_preinc, loadhi_shiftpreinc): Delete. | |
4423 | (loadhi_shiftpredec): Delete. | |
4424 | (peephole for post-increment on HImode load): Delete. | |
4425 | * arm/crtn.asm: (FUNC_END): Simplify. | |
4426 | * arm/lib1funcs.asm: Remove APCS-26 return macros. | |
4427 | * arm/aof.h, arm/coff.h arm/elf.h arm/linux-elf.h arm/netbsd-elf.h | |
b4117c30 | 4428 | * arm/netbsd.h arm/pe.h arm/semi.h arm/semiaof.h arm/unknown-elf.h |
61f0ccff RE |
4429 | * arm/vxworks.h arm/wince-pe.h: Tidy TARGET_DEFAULTS and |
4430 | MULTILIB_DEFAULTS as required. | |
4431 | * arm/t-arm-elf arm/t-linux arm/t-pe arm/t-semi arm/t-wince-pe | |
4432 | * arm/t-xscale-coff arm/t-xscale-elf arm/uclinux-elf: Tidy MULTILIB | |
4433 | variables as required. | |
4434 | * doc/invoke.texi (ARM Options): Remove obsolete flags. | |
4435 | ||
11c01dcc AM |
4436 | 2004-05-15 Alan Modra <amodra@bigpond.net.au> |
4437 | ||
4438 | * config/rs6000/rs6000.c (rs6000_va_arg <ABI_V4>): Don't use | |
4439 | UNITS_PER_WORD to calculate gpr size. Re-instate code to set reg | |
4440 | count to 8 to handle n_reg > 2. | |
4441 | ||
aaa67502 JM |
4442 | 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk> |
4443 | ||
4444 | * doc/extend.texi: Update WG14 URL. | |
4445 | ||
827c06b6 SB |
4446 | 2004-05-15 Steven Bosscher <stevenb@suse.de> |
4447 | ||
4448 | * basic-block.h (life_analysis, delete_noop_moves): | |
4449 | Update prototypes. | |
4450 | * bt-load.c (branch_target_load_optimize): Don't take the | |
4451 | insns stream as an argument. Update the life_analysis calls. | |
4452 | * combine.c (combine_instructions): Update delete_noop_moves | |
4453 | calls. | |
4454 | * flow.c (notice_stack_pointer_modification): Don't take the | |
4455 | insns stream as an argument. Work on the flow graph. | |
4456 | (life_analysis): Likewise. | |
4457 | (delete_noop_moves): Likewise. | |
4458 | * passes.c (rest_of_handle_stack_regs): Update reg_to_stack call. | |
4459 | (rest_of_handle_life): Update life_analysis call. | |
4460 | (rest_of_compilation): Likewise, and also update | |
4461 | branch_target_load_optimize call. | |
4462 | * ra.c (reg_alloc): Update life_analysis call. | |
4463 | * reg-stack.c (reg_to_stack): Likewise. Also, don't take | |
4464 | the insns stream as an argument. | |
4465 | * regrename.c (copyprop_hardreg_forward): Update delete_noop_moves | |
4466 | call. | |
4467 | * rtl.c (branch_target_load_optimize, reg_to_stack): Update | |
4468 | prototypes. | |
4469 | * value-profile.c (branch_prob): Update life_analysis call. | |
4470 | * web.c (web_main): Work on the CFG, not on the insns stream. | |
4471 | ||
4472 | * config/ip2k/ip2k.c (ip2k_reorg): Update life_analysis calls. | |
4473 | * config/m68hc11/m68hc11.c (m68hc11_reorg): Likewise. | |
4474 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
4475 | ||
e9a75776 JM |
4476 | 2004-05-15 Joseph S. Myers <jsm@polyomino.org.uk> |
4477 | ||
4478 | PR c/15444 | |
4479 | * c-format.c (avoid_dollar_number): New function. | |
4480 | (check_format_info_main): Call avoid_dollar_number when operand | |
4481 | numbers might occur but has_operand_number == 0. | |
4482 | ||
3053b100 RE |
4483 | 2004-05-14 Richard Earnshaw <rearnsha@arm.com> |
4484 | ||
4485 | * arm.md (all peephole2 patterns): Use predicates that validate | |
4486 | register classes as appropriate. | |
4487 | ||
b89e96ac SB |
4488 | 2004-05-14 Steven Bosscher <stevenb@suse.de> |
4489 | ||
4490 | PR opt/14472 | |
4491 | * tree-tailcall.c (process_assignment): Use STRIP_NOPS to | |
4492 | ignore type conversions that do not inhibit tail calling. | |
4493 | (find_tail_calls): Likewise. | |
4494 | ||
14bc8dc2 JL |
4495 | 2004-05-14 Jeff Law <law@redhat.com> |
4496 | ||
91cde0c3 JL |
4497 | * tree-ssa-dom.c (redirect_edges_and_update_ssa_graph): Don't even |
4498 | bother marking bypassed virtuals for out-of-ssa. Instead merge | |
827c06b6 | 4499 | bypassed virtuals into vars_to_rename just before into-ssa pass. |
91cde0c3 | 4500 | |
14bc8dc2 JL |
4501 | * tree-ssa-dom.c (simplify_rhs_and_lookup_avail_expr): Reorganize |
4502 | so that it picks up more opportunities to eliminate ABS expressions | |
4503 | or turn them into negations. | |
4504 | ||
e83f4801 SB |
4505 | 2004-05-14 Steven Bosscher <stevenb@suse.de> |
4506 | ||
4507 | * passes.c (rest_of_handle_null_pointer): Remove. | |
4508 | (rest_of_handle_cse): Don't call rest_of_handle_null_pointer. | |
4509 | (rest_of_compilation): Likewise. | |
4510 | * rtl.h (delete_null_pointer_checks): Remove prototype. | |
4511 | * gcse.c (rd_kill, rd_gen, reaching_defs, rd_out, ae_in, ae_out): | |
4512 | Remove declarations. | |
4513 | (get_bitmap_width, alloc_rd_mem, free_rd_mem, handle_rd_kill_set, | |
4514 | compute_kill_rd, compute_rd, alloc_avail_expr_mem, | |
4515 | free_avail_expr_mem, compute_ae_gen, expr_killed_p, compute_ae_kill, | |
4516 | expr_reaches_here_p, computing_insn, def_reaches_here_p, | |
4517 | can_disregard_other_sets, handle_avail_expr, classic_gcse, | |
4518 | one_classic_gcse_pass, invalidate_nonnull_info, | |
4519 | delete_null_pointer_checks_1, delete_null_pointer_checks, | |
4520 | expr_reached_here_p_work): Remove. | |
4521 | (gcse_main): Do not perform classic GCSE when optimizing for size. | |
4522 | (alloc_pre_mem, free_pre_mem): Don't touch ae_in and ae_out, they | |
4523 | are never used. | |
4524 | ||
571325db AP |
4525 | 2004-05-14 Andrew Pinski <pinskia@physics.uc.edu> |
4526 | ||
4527 | PR optimization/14466 | |
4528 | * tree-complex.c (make_temp): Remove. | |
4529 | (gimplify_val): Replace make_temp with make_rename_temp | |
4530 | and add NULL as the second argument. | |
4531 | (expand_complex_div_wide): Likewise. | |
4532 | * tree-dfa.c (make_rename_temp): New function. | |
4533 | * tree-flow.h (make_rename_temp): Declare. | |
4534 | * tree-sra.c (make_temp): Remove. | |
4535 | (lookup_scalar): Replace make_temp with make_rename_temp. | |
4536 | (create_scalar_copies): Likewise. | |
4537 | * tree-ssa-phiopt.c (conditional_replacement): When we | |
4538 | get non gimple create a temporary variable to hold the | |
4539 | casted expression. | |
4540 | ||
13c1cd82 PB |
4541 | 2004-05-14 Paul Brook <paul@codesourcery.com> |
4542 | ||
4543 | * stor-layout.c (update_alignment_for_field): Use | |
4544 | targetm.align_anon_bitfield. | |
4545 | * target-def.h (TARGET_ALIGN_ANON_BITFIELD): Define. | |
4546 | (TARGET_INITIALIZER): Use it. | |
4547 | * target.h (struct gcc_target): Add align_anon_bitfield. | |
4548 | * config/arm/arm.c (arm_align_anon_bitfield): New function. | |
4549 | (TARGET_ALIGN_ANON_BITFIELD): Define. | |
4550 | * doc/tm.texi: Document TARGET_ALIGN_ANON_BITFIELD. | |
4551 | ||
90afe2c9 ZW |
4552 | 2004-05-13 Zack Weinberg <zack@codesourcery.com> |
4553 | ||
4554 | * tree.def (documentation): Remove mention of class 'b'. | |
4555 | (BLOCK): Now in class 'x'. | |
4556 | * c-common.c (verify_tree): Remove case 'b'. | |
4557 | * c-typeck.c (same_translation_unit_p): Change 'b' to 'x'. | |
4558 | * calls.c (calls_function_1): Control cannot get past the switch | |
4559 | when exp is a BLOCK. | |
4560 | * print-tree.c (print_node): Move code for class 'b' to the class | |
4561 | 'c'/'x' switch, as case BLOCK. | |
4562 | * tree.c (tree_size, make_node_stat, tree_node_structure): Likewise. | |
4563 | (unsafe_for_reeval, substitute_placeholder_in_expr) | |
4564 | (stabilize_reference_1): Remove case 'b'. | |
4565 | * tree-browser.c (browse_tree): Change all tests for TREE_CODE_CLASS | |
4566 | of something being 'b' to tests for TREE_CODE of something being | |
4567 | BLOCK. | |
4568 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
4569 | ||
eadf906f DN |
4570 | 2004-05-13 Diego Novillo <dnovillo@redhat.com> |
4571 | ||
4572 | * tree-gimple.c: Rename from tree-simple.c. | |
4573 | * tree-gimple.h: Rename from tree-simple.h. | |
4574 | * c-gimplify.c: Rename from c-simplify.c | |
4575 | * Makefile.in, c-decl.c, gimple-low.c, gimplify.c, | |
4576 | langhooks.c, tree-alias-ander.c, tree-alias-common.c, | |
4577 | tree-complex.c, tree-dfa.c, tree-flow.h, tree-inline.c, | |
4578 | tree-into-ssa.c, tree-iterator.c, tree-mudflap.c, | |
4579 | tree-nested.c, tree-nomudflap.c, tree-outof-ssa.c, tree-sra.c, | |
4580 | tree-ssa-alias.c, tree-ssa-ccp.c, tree-ssa-copyrename.c, | |
4581 | tree-ssa-dce.c, tree-ssa-live.c, tree-ssa-pre.c, tree-ssa.c: | |
4582 | Update. | |
4583 | ||
fc55c95e RM |
4584 | 2004-05-14 Ranjit Mathew <rmathew@hotmail.com> |
4585 | ||
4586 | * doc/sourcebuild.texi: Mention libbanshee and libmudflap. | |
4587 | ||
2b648957 AP |
4588 | 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> |
4589 | ||
6b9bee8e AP |
4590 | * tree-ssa.c (delete_tree_ssa): XFREE |
4591 | bitmaps allocated with BITMAP_XMALLOC. | |
4592 | ||
15342341 AP |
4593 | * tree-ssa-pre.c (execute_pre): Free ephi_use_pool and |
4594 | idfs_cache at the end of the function. | |
4595 | ||
4596 | * tree-ssa-live.c (calculate_live_on_entry): Free saw_def | |
623f4556 AP |
4597 | at the end of the function. |
4598 | ||
960076d9 AP |
4599 | * tree-ssa-dce.c (perform_tree_ssa_dce): Free |
4600 | el at the end of the function. | |
4601 | ||
8b752086 AP |
4602 | * tree-into-ssa.c (insert_phi_nodes_for): XFREE |
4603 | bitmaps allocated with BITMAP_XMALLOC. | |
4604 | ||
77e23325 AP |
4605 | * loop-unswitch.c (unswitch_single_loop): Free bbs at |
4606 | the end. | |
4607 | ||
07a1f795 AP |
4608 | * final.c (shorten_branches): Free uid_shuid before |
4609 | reallocating it. | |
4610 | ||
2b648957 AP |
4611 | * bb-reoder.c (connect_traces): Free cold_traces at the end. |
4612 | ||
91581bcc JL |
4613 | 2004-05-13 Jeff Law <law@redhat.com> |
4614 | ||
02ea8d06 JL |
4615 | * tree-ssa-live.c (calculate_live_on_entry): Ignore virtual |
4616 | variables. Simplify slightly by using USE_OP/DEF_OP instead | |
4617 | of USE_OP_PTR/DEF_OP_PTR and dereferencing the result. | |
4618 | ||
6c875a31 JL |
4619 | * tree-into-ssa.c (compute_global_livein): Use EXECUTE_IF_SET_IN_BITMAP |
4620 | rather than iterating through the blocks testing each bit in | |
4621 | livein to initialize the worklist. | |
4622 | (mark_def_sites): Remove useless checks of KILLS for virtual | |
4623 | operands. | |
4624 | ||
91581bcc JL |
4625 | * tree-ssa-forwprop.c (record_single_argument_cond_exprs): Accept |
4626 | new parameters for the statement and variable worklist as well | |
4627 | as a bitmap of interesting SSA_NAMEs. Walk over the statement | |
4628 | worklist recording interesting variables in the variable worklist | |
4629 | and bitmap. Handle casts between integral and boolean types. | |
4630 | (substitute_single_use_vars): Accept new parameters for the statement | |
4631 | and variable worklist. When a substitution is made add a new | |
4632 | entry to the statement worklist. Handle casts between integral | |
4633 | and boolean types. | |
4634 | (tree_ssa_forward_propagate_single_use_vars): Rework to pass | |
4635 | worklists to children. Iterate until the statement worklist | |
4636 | is empty. | |
4637 | ||
0b87eff5 AP |
4638 | 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu> |
4639 | ||
520f0c48 AP |
4640 | * tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at |
4641 | the end of the block. | |
4642 | ||
f472590a AP |
4643 | * tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated |
4644 | with BITMAP_XMALLOC. | |
4645 | ||
d1f9044b AP |
4646 | * tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated |
4647 | with BITMAP_XMALLOC. | |
4648 | ||
cfa4cb00 AP |
4649 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): |
4650 | Free nonzero_vars at the end of the function. | |
4651 | ||
0b87eff5 AP |
4652 | * convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a |
4653 | need to generate code instead of a NOP_EXPR. | |
4654 | ||
eb18fd8d ILT |
4655 | 2004-05-13 Ian Lance Taylor <ian@wasabisystems.com> |
4656 | ||
4657 | * gcc.c (default_compilers): Fill out initializers for new Fortran | |
4658 | entries. | |
4659 | ||
d81d0bdd PB |
4660 | 2004-05-13 Paul Brook <paul@codesourcery.com> |
4661 | ||
4662 | * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define. | |
4663 | ||
6b045785 PB |
4664 | 2004-05-13 Paul Brook <paul@codesourcery.com> |
4665 | ||
4666 | * config/arm/arm.c (arm_default_short_enums): New function. | |
4667 | (TARGET_DEFAULT_SHORT_ENUMS): Define. | |
4668 | ||
6de9cd9a DN |
4669 | 2004-05-13 Diego Novillo <dnovillo@redhat.com> |
4670 | ||
4671 | Merge from tree-ssa-20020619-branch. | |
4672 | ||
4673 | * Makefile.in (reload1.o-warn): Add. | |
4674 | (tree-alias-ander.o-warn): Add. | |
4675 | (GMPLIBS): Define. | |
4676 | (GMPINC): Define. | |
4677 | (BANSHEELIB): Define. | |
4678 | (BANSHEEINC): Define. | |
4679 | (TREE_DUMP_H): Define. | |
4680 | (TREE_SIMPLE_H): Define. | |
4681 | (TREE_FLOW_H): Define. | |
4682 | (LIBDEPS): Add BANSHEELIB. | |
4683 | (INCLUDES): Add BANSHEEINC and GMPINC. | |
4684 | (C_AND_OBJC_OBJS): Add c-simplify.o, tree-mudflap.o, | |
4685 | c-mudflap.o and c-pretty-print.o. | |
4686 | (C_OBJS): Remove c-pretty-print.o. | |
4687 | (OBJS-common): Remove sibcall.o. | |
4688 | Add tree-cfg.o, tree-dfa.o, tree-eh.o, | |
4689 | tree-ssa.o, tree-optimize.o, tree-simple.o, | |
4690 | tree-alias-type.o, gimplify.o, tree-pretty-print.o, | |
4691 | tree-into-ssa.o, tree-outof-ssa.o, tree-alias-common.o, | |
4692 | tree-ssa-ccp.o, @ANDER@, tree-ssa-dce.o, tree-ssa-copy.o, | |
4693 | tree-nrv.o, tree-ssa-copyrename.o, tree-ssa-pre.o, | |
4694 | tree-ssa-live.o, tree-ssa-operands.o, tree-ssa-alias.o, | |
4695 | tree-ssa-phiopt.o, tree-ssa-forwprop.o, tree-nested.o, | |
4696 | tree-ssa-dse.o, tree-ssa-dom.o, domwalk.o, | |
4697 | tree-tailcall.o, gimple-low.o, tree-iterator.o, | |
4698 | tree-phinodes.o, tree-ssanames.o, tree-sra.o, | |
4699 | tree-complex.o, tree-ssa-loop.o, rtl-profile.o and | |
4700 | tree-profile.o. | |
4701 | (OBJC-archive): Add tree-nomudflap.o. | |
4702 | (cc1): Add dependency on @TREEBROWSER@. | |
4703 | (c-decl.o): Add dependency on TREE_DUMP_H. | |
4704 | (c-dump.o): Likewise. | |
4705 | (c-common.o): Add dependency on tree-iterator.h | |
4706 | (c-pretty-print.o): Add dependency on DIAGNOSTIC_H. | |
4707 | (gtype-desc.o): Add dependency on TREE_FLOW_H. | |
4708 | (tree.o): Add dependency on tree-iterator.h, | |
4709 | BASIC_BLOCK_H and TREE_FLOW_H. | |
4710 | (tree-dump.o): Depend on TREE_DUMP_H instead of tree-dump.h. | |
4711 | (langhooks.o): Add dependency on TREE_SIMPLE_H. | |
4712 | (tree-alias-type.o, tree-alias-ander.o, | |
4713 | tree-alias-common.o, tree-ssa.o, tree-into-ssa.o, | |
4714 | tree-outof-ssa.o, tree-ssa-dse.o, tree-ssa-forwprop.o, | |
4715 | tree-ssa-phiopt.o, tree-nrv.o, tree-ssa-copy.o, | |
4716 | tree-ssa-dom.o, tree-ssanames.o, tree-phinodes.o, | |
4717 | domwalk.o, tree-ssa-live.o, tree-ssa-copyrename.o, | |
4718 | tree-ssa-pre.o, tree-cfg.o, tree-tailcall.o, | |
4719 | tree-nested.o, tree-iterator.o, tree-dfa.o, | |
4720 | tree-ssa-operands.o, tree-eh.o, tree-ssa-loop.o, | |
4721 | tree-ssa-alias.o, tree-optimize.o, c-simplify.o, | |
4722 | gimplify.o, gimple-low.o, tree-browser.o, tree-simple.o, | |
4723 | tree-mudflap.o, c-mudflap.o, tree-nomudflap.o, | |
4724 | tree-pretty-print.o, tree-ssa-dce.o, tree-ssa-ccp.o, | |
4725 | tree-sra.o, tree-complex.o, tree-profile.o, | |
4726 | rtl-profile.o): New rules. | |
4727 | (function.o): Add dependency on basic-block.h | |
4728 | (expr.o): Add dependency on tree-iterator.h. | |
4729 | (sibcall.o): Remove. | |
4730 | (profile.o): Depend on TREE_FLOW_H instead of TREE_H. | |
4731 | (cfg.o): Add dependency on TIMEVAR_H. | |
4732 | (cfghooks.o): Add dependency on TREE_FLOW_H. | |
4733 | (reg-stack.o): Add dependency on basic-block.h. | |
4734 | (GTFILES): Add hwint.h, tree-mudflaph.c, tree-flow.h, | |
4735 | c-objc-common.c, c-common.c, c-parse.in, tree-ssanames.c, | |
4736 | tree-eh.c, tree-phinodes.c, tree-cfg.c, tree-dfa.c, | |
4737 | tree-ssa-ccp.c, tree-iterator.c, gimplify.c, | |
4738 | tree-alias-type.h, tree-alias-common.h, | |
4739 | tree-alias-type.c, tree-alias-common.c, | |
4740 | tree-ssa-operands.h, tree-ssa-operands.c, tree-profile.c, | |
4741 | rtl-profile.c and tree-nested.c. | |
4742 | (gt-tree-alias-common.h, gt-tree-mudflap.h, | |
4743 | gt-tree-ssa-ccp.h, gt-tree-eh.h, gt-tree-ssanames.h, | |
4744 | gt-tree-iterator.h, gt-gimplify.h, gt-tree-phinodes.h, | |
4745 | gt-tree-cfg.h, gt-tree-nested.h): New rules. | |
4746 | (TEXI_GCCINT_FILES): Add cfg.texi and tree-ssa.texi. | |
4747 | * basic-block.h: Include predict.h | |
4748 | (struct edge_def): Add GTY marker. | |
4749 | Change field 'insns' to be a union of tree and rtx. | |
4750 | (EDGE_TRUE_VALUE): Define. | |
4751 | (EDGE_FALSE_VALUE): Define. | |
4752 | (EDGE_EXECUTABLE): Define. | |
4753 | (struct bb_ann_d): Forward declare. | |
4754 | (struct basic_block_def): Add GTY marker. | |
4755 | Remove fields head_tree and end_tree. | |
4756 | Add fields stmt_list, rbi and tree_annotations. | |
4757 | (struct reorder_block_def): Define. | |
4758 | (basic_block_info): Add GTY marker. | |
4759 | (ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR): Change to global | |
4760 | variables instead of macros. | |
4761 | (flow_call_edges_add): Remove declaration. | |
4762 | (make_eh_edge): Remove declaration. | |
4763 | (brief_dump_cfg, find_edge, tree_predicted_by_p, | |
4764 | rtl_predicted_by_p, tree_predict_edge, rtl_predict_edge, | |
4765 | predict_edge_def, rtl_make_eh_edge, find_basic_blocks, | |
4766 | cleanup_cfg, delete_unreachable_blocks, merge_seq_blocks, | |
4767 | alloc_rbi_pool, initialize_bb_rbi, free_rbi_pool): Declare. | |
4768 | (try_redirect_by_replacing_jump): Modfiy return type to | |
4769 | edge instead of bool. | |
4770 | * bb-reorder.c (copy_bb): Call duplicate_block | |
4771 | instead of cfg_layout_duplicate_bb. | |
4772 | (copy_bb_p): Call can_duplicate_block_p instead of | |
4773 | cfg_layout_can_duplicate_bb_p. | |
4774 | * bitmap.c (bitmap_first_set_bit): Abort if word | |
4775 | wasn't found. | |
4776 | (bitmap_last_set_bit): Likewise. | |
4777 | * builtin-types.def (DEF_FUNCTION_TYPE_2): Add | |
4778 | (DEF_FUNCTION_TYPE_3): Add. | |
4779 | * builtins.c (c_strlen): Make extern. | |
4780 | (builtin_save_expr): New. | |
4781 | (expand_builtin_nonlocal_goto): New. | |
4782 | (expand_builtin_constant_p): Remove. | |
4783 | (expand_builtin_mathfn): Call builtin_save_expr instead | |
4784 | of save_expr. | |
4785 | (expand_builtin_mathfn_2): Likewise. | |
4786 | (expand_builtin_strcmp): Likewise. | |
4787 | (expand_builtin_strncmp): Likewise. | |
4788 | (expand_builtin_strcat): Likewise. | |
4789 | (fold_builtin_cabs): Likewise. | |
4790 | (expand_builtin_alloca): Don't trigger if -fmudflap is | |
4791 | given. | |
4792 | (build_string_literal): Set TREE_INVARIANT on new node. | |
4793 | (expand_builtin_profile_fun): New. | |
4794 | (round_trampoline_addr): New. | |
4795 | (expand_builtin_init_trampoline): New. | |
4796 | (expand_builtin_adjust_trampoline): New. | |
4797 | (expand_builtin) <BUILT_IN_NEXT_ARG>: Call simplify_builtin_next_arg. | |
4798 | <BUILT_IN_CONSTANT_P>: Return const0_rtx; | |
4799 | <BUILT_IN_STACK_ALLOC, BUILT_IN_STACK_SAVE, | |
4800 | BUILT_IN_STACK_RESTORE, BUILT_IN_NONLOCAL_GOTO, | |
4801 | BUILT_IN_PROFILE_FUNC_ENTER, BUILT_IN_PROFILE_FUNC_EXIT, | |
4802 | BUILT_IN_INIT_TRAMPOLINE, BUILT_IN_ADJUST_TRAMPOLINE>: | |
4803 | Handle. | |
4804 | (fold_builtin_expect): New. | |
4805 | (fold_builtin_isascii): Don't return non-constant results | |
4806 | in GIMPLE form. | |
4807 | (fold_builtin_isdigit): Likewise. | |
4808 | (fold_builtin_1): New. | |
4809 | (fold_builtin): Call it. | |
4810 | (build_function_call_expr): Update call to build a new | |
4811 | CALL_EXPR. | |
4812 | (purge_builtin_constant_p): Remove. | |
4813 | (simplify_builtin, simplify_builtin_memcmp, | |
4814 | simplify_builtin_strcmp, simplify_builtin_strncmp, | |
4815 | simplify_builtin_strpbrk, simplify_builtin_strstr, | |
4816 | simplify_builtin_strchr, simplify_builtin_strrchr, | |
4817 | simplify_builtin_strcat, simplify_builtin_strncat, | |
4818 | simplify_builtin_strspn, simplify_builtin_strcspn, | |
4819 | simplify_builtin_next_arg, simplify_builtin_va_start, | |
4820 | simplify_builtin_sprintf): New. | |
4821 | * builtins.def (BUILT_IN_STACK_ALLOC, | |
4822 | BUILT_IN_STACK_SAVE, BUILT_IN_STACK_RESTORE, | |
4823 | BUILT_IN_INIT_TRAMPOLINE, BUILT_IN_ADJUST_TRAMPOLINE, | |
4824 | BUILT_IN_NONLOCAL_GOTO, BUILT_IN_PROFILE_FUNC_ENTER, | |
4825 | BUILT_IN_PROFILE_FUNC_EXIT): Define. | |
4826 | * c-common.c: Include tree-iterator.h and hashtab.h. | |
4827 | (lang_statement_code_p): Declare. | |
4828 | (lang_gimplify_stmt): Declare. | |
4829 | (fix_string_type): Set TREE_INVARIANT for value. | |
4830 | (pointer_int_sum): Rely on build to set TREE_CONSTANT. | |
4831 | (c_type_hash): New. | |
4832 | (c_common_get_alias_set): Handle multiple type nodes | |
4833 | referring to "the same" type, currently for C90 only. | |
4834 | (c_add_case_label): Use create_artificial_label. | |
4835 | (finish_label_address_expr): Don't set TREE_CONSTANT on | |
4836 | result. | |
4837 | (c_expand_expr): Don't handle STMT_EXPR. | |
4838 | (handle_alias_attribute): Marke aliased variables to be | |
4839 | TREE_STATIC. | |
4840 | (handle_nonnull_attribute): Initialize arg_num. | |
4841 | (check_function_nonnull): Likewise. | |
4842 | (c_walk_subtrees): New. | |
4843 | (c_estimate_num_insns_1): Don't handle | |
4844 | EXPR_WITH_FILE_LOCATION nor FILE_STMT. | |
4845 | (c_decl_uninit_1): Remove. | |
4846 | (c_decl_uninit): Remove. | |
4847 | (c_warn_unused_result): New. | |
4848 | * c-common.def (ASM_STMT): Change number of operands | |
4849 | to 4. | |
4850 | (FILE_STMT): Remove. | |
4851 | * c-common.h (lang_expand_stmt, lang_expand_decl_stmt): | |
4852 | Remove. | |
4853 | (lang_gimplify_stmt): Add. | |
4854 | (expand_stmt): Remove. | |
4855 | (ASM_CV_QUAL, ASM_STRING, ASM_OUTPUTS, ASM_INPUTS, | |
4856 | ASM_CLOBBERS, STMT_EXPR_WARN_UNUSED_RESULT, | |
4857 | ASM_VOLATILE_P, FILE_STMT_FILENAME_NODE, | |
4858 | FILE_STMT_FILENAME, STMT_LINENO, STMT_LINENO_FOR_FN_P, | |
4859 | ASM_INPUT_P, DECL_C_HARD_REGISTER): Remove. | |
4860 | (genrtl_do_pushlevel, genrtl_goto_stmt, genrtl_expr_stmt, | |
4861 | genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt, | |
4862 | genrtl_while_stmt, genrtl_do_stmt, genrtl_return_stmt, | |
4863 | genrtl_for_stmt, genrtl_break_stmt, genrtl_continue_stmt, | |
4864 | genrtl_scope_stmt, genrtl_switch_stmt, genrtl_case_label, | |
4865 | genrtl_compound_stmt, genrtl_asm_stmt, | |
4866 | genrtl_cleanup_stmt, c_decl_uninit): Remove. | |
4867 | (c_do_switch_warnings, c_gimplify_expr, c_walk_subtrees, | |
4868 | c_tree_chain_matters_p, c_warn_unused_result, | |
4869 | c_genericize, c_gimplify_stmt, stmt_expr_last_stmt): | |
4870 | Declare. | |
4871 | * c-convert.c (convert): Make convert work when | |
4872 | converting to compatible types across translation unit. | |
4873 | * c-decl.c: Include langhooks.h, tree-mudflap.h, | |
4874 | tree-simple.h, diagnostic.h and tree-dump.h | |
4875 | (merge_decls): Initialize oldtype to NULL. | |
4876 | (finish_decl): Use DECL_HARD_REGISTER instead of | |
4877 | DECL_C_HARD_REGISTER. | |
4878 | (check_bitfield_type_and_width): Check for null | |
4879 | lang_type_specific when check the precision of an enum. | |
4880 | (grokdeclarator): Immediately layout an ARRAY_TYPE used | |
4881 | in a pointer-to-array declarator. | |
4882 | (finish_struct): Clear allocated struct lang_type. | |
4883 | (finish_enum): Set enum_min and enum_max. Set | |
4884 | TYPE_MIN/MAX_VALUE to the limits of the compatible type, | |
4885 | not to the enumerators. | |
4886 | (set_decl_nonlocal): New. | |
4887 | (store_parm_decls): Use it via walk_tree. | |
4888 | (c_finalize): New. | |
4889 | (finish_function): When !targetm.have_ctors_dtors, | |
4890 | record static constructors and destructors here... | |
4891 | (c_expand_body_1): ... not here. | |
4892 | (c_expand_decl): Rename from c_expand_decl_stmt. | |
4893 | Handle all C-specific expansion semantics. | |
4894 | * c-dump.c (dump_stmt): Use EXPR_LOCUS instead of | |
4895 | STMT_LINENO. | |
4896 | * c-format.c (handle_format_arg_attribute): Initialize | |
4897 | format_num. | |
4898 | * c-lang.c: Include tree-inline.h | |
4899 | (LANG_HOOKS_EXPAND_DECL, | |
4900 | LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P, | |
4901 | LANG_HOOKS_TREE_INLINING_WALK_SUBTREES, | |
4902 | LANG_HOOKS_TREE_INLINING_TREE_CHAIN_MATTERS_P, | |
4903 | LANG_HOOKS_GIMPLIFY_EXPR, LANG_HOOKS_TYPES_COMPATIBLE_P): Define. | |
4904 | (LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_STMT, | |
4905 | LANG_HOOKS_TREE_INLINING_ESTIMATE_NUM_INSNS): Remove. | |
4906 | (c_types_compatible_p): New. | |
4907 | * c-mudflap.c: New file. | |
4908 | * c-objc-common.c: Include tree-mudflap.h | |
4909 | (start_cdtor, finish_cdtor): Collapse | |
4910 | together into | |
4911 | (build_cdtor): ...here. Update to construct a complete tree | |
4912 | for the function. No need to call push_scope, pop_scope, or | |
4913 | clear_last_expr, or set current_function_cannot_inline. | |
4914 | (c_missing_noreturn_ok_p): Change prototype to return | |
4915 | bool. | |
4916 | (c_objc_common_init): Don't set lang_missing_noreturn_ok_p. | |
4917 | * c-opts.c (c_common_handle_option): Move handling of -fdump- to | |
4918 | opts.c. | |
4919 | (c_common_post_options): Don't ever use rtl inlining. | |
4920 | * c-parse.in: Use EXPR_LOCUS instead of STMT_LINENO. | |
4921 | * c-pragma.c (handle_pragma_redefine_extname): Define | |
4922 | always. | |
4923 | (init_pragma): Activate #pragma redefine_extname for mudflap. | |
4924 | * c-pretty-print.c (pp_c_statement): Remove FILE_STMT. | |
4925 | (pp_c_initializer): Accept any type CONSTRUCTOR. | |
4926 | (pp_c_initializer_list): Fix code expectations for VECTOR_TYPE and | |
4927 | COMPLEX_TYPE. | |
4928 | (decl_name_str): New local function. | |
4929 | (pp_c_direct_declarator): Call it. | |
4930 | (pp_c_primary_expression): Call it. | |
4931 | (pp_c_id_expression): Call it. | |
4932 | (pp_c_statement): Call it. | |
4933 | (print_c_tree): Create new pp object. | |
4934 | * c-pretty-print.h (pp_c_tree_decl_identifier, | |
4935 | print_c_tree): Declare. | |
4936 | * c-semantics.c: Include langhooks.h | |
4937 | (lang_expand_stmt, lang_expand_decl_stmt, | |
4938 | find_reachable_label_1, find_reachable_label, | |
4939 | expand_unreachable_if_stmt, expand_unreachable_stmt, | |
4940 | genrtl_do_stmt_1): Remove. | |
4941 | (begin_stmt_tree): Don't check for changed filename. | |
4942 | Call annotate_with_locus. | |
4943 | (finish_stmt_tree): Don't set line for end of function. | |
4944 | (build_stmt): Don't check type nodes for | |
4945 | side effects. | |
4946 | (build_stmt): Set TREE_SIDE_EFFECTS. | |
4947 | Set EXPR_LOCUS instead of STMT_LINENO. | |
4948 | (lang_expand_stmt, lang_expand_decl_stmt, | |
4949 | expand_cond, genrtl_do_pushlevel, genrtl_goto_stmt, genrtl_expr_stmt, | |
4950 | genrtl_expr_stmt_value, genrtl_decl_stmt, genrtl_if_stmt, | |
4951 | genrtl_while_stmt, genrtl_do_stmt_1, genrtl_do_stmt, | |
4952 | genrtl_return_stmt, genrtl_for_stmt, genrtl_break_stmt, | |
4953 | genrtl_continue_stmt, genrtl_scope_stmt, genrtl_switch_stmt, | |
4954 | genrtl_case_label, genrtl_compound_stmt, genrtl_asm_stmt, | |
4955 | genrtl_cleanup_stmt, expand_stmt, find_reachable_label, | |
4956 | find_reachable_label_1, expand_unreachable_if_stmt, | |
4957 | expand_unreachable_stmt): Remove. | |
4958 | (prep_stmt): Use EXPR_LOCUS instead of STMT_LINENO. | |
4959 | * c-simplify.c: New file. | |
4960 | * c-tree.h (C_LANG_TREE_NODE_CHAIN_NEXT): Define. | |
4961 | (struct lang_type): Add fields enum_min and enum_max. | |
4962 | (c_expand_decl_stmt, c_missing_noreturn_ok_p): Remove. | |
4963 | (c_expand_decl, c_missing_noreturn_ok_p, | |
4964 | c_types_compatible_p): Declare. | |
4965 | * c-typeck.c (tagged_types_tu_compatible_p): Allow for | |
4966 | compiler-generated TYPE_DECLs without a DECL_ORIGINAL_TYPE. | |
4967 | (default_function_array_conversion): Rely on build to | |
4968 | set TREE_CONSTANT. | |
4969 | (parser_build_binary_op, pointer_diff): Likewise. | |
4970 | (build_unary_op, build_binary_op): Likewise. | |
4971 | (build_array_ref): | |
4972 | (build_external_ref): Set TREE_INVARIANT. | |
4973 | (build_c_cast, pop_init_level): Likewise. | |
4974 | (process_init_element): Use ASM_VOLATILE_P. | |
4975 | (build_asm_expr): Adapt to GENERIC/GIMPLE syntax. | |
4976 | (c_finish_case): Call c_do_switch_warnings. | |
4977 | * c.opt (fdump-): Remove. | |
4978 | * calls.c (try_to_integrate): Remove. | |
4979 | (prepare_call_address): Replace fndecl arg with a | |
4980 | precomputed static chain value. | |
4981 | (emit_call_1): New argument for full call expr. | |
4982 | (flags_from_decl_or_type): Call special_function_p. | |
4983 | (initialize_argument_information): Add argument | |
4984 | may_tailcall. | |
4985 | (purge_reg_equiv_notes): New. | |
4986 | (expand_call): Do not try to expand calls inline. | |
4987 | (fixup_tail_calls): New. | |
4988 | * cfg.c: Include timevar.h and ggc.h. | |
4989 | (bb_pool, edge_pool): Remove. | |
4990 | (ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR): Declare. | |
4991 | (entry_exit_blocks): Remove. | |
4992 | (rbi_pool): Declare. | |
4993 | (init_flow): Do not create pools. | |
4994 | Allocate entry/exit block. | |
4995 | (free_edge, alloc_block, expunge_block, unchecked_make_edge): Use GGC. | |
4996 | (alloc_rbi_pool, free_rbi_pool, initialize_bb_rbi): New. | |
4997 | (unlink_block): Clear b->prev_bb and b->next_bb. | |
4998 | (compact_blocks): Clear all slots of BASIC_BLOCK array. | |
4999 | (dump_flow_info): Work on trees too. | |
5000 | (dump_cfg_bb_info): New. | |
5001 | (brief_dump_cfg): New. | |
5002 | * cfganal.c (need_fake_edge_p, flow_call_edges_add): Remove. | |
5003 | (find_edge): New. | |
5004 | * cfgbuild.c (rtl_make_eh_edge): Rename from | |
5005 | make_eh_edge. Update all users. | |
5006 | (find_basic_blocks): Don't call VARRAY_FREE on | |
5007 | basic_block_info. | |
5008 | * cfgcleanup.c (outgoing_edges_match): Initialize newpos1 | |
5009 | and newpos2. | |
5010 | (delete_unreachable_blocks): Return changed status. | |
5011 | (merge_seq_blocks): New. | |
5012 | * cfghooks.c: Include tree-flow.h | |
5013 | (tree_register_cfg_hooks, ir_type): New. | |
5014 | (redirect_edge_and_branch): Change return type to edge. | |
5015 | (predict_edge, predicted_by_p, can_duplicate_block_p, | |
5016 | duplicate_block, block_ends_with_call_p, | |
5017 | block_ends_with_condjump_p, flow_call_edges_add): New. | |
5018 | * cfghooks.h (redirect_edge_and_branch): Change return | |
5019 | type to edge. | |
5020 | (predict_edge, predicted_by_p, can_duplicate_block_p, | |
5021 | duplicate_block, block_ends_with_call_p, | |
5022 | block_ends_with_condjump_p, flow_call_edges_add): Declare. | |
5023 | (redirect_edge_and_branch): Change return type to edge. | |
5024 | (struct cfg_hooks): Add fields block_ends_with_call_p, | |
5025 | block_ends_with_condjump_p, flow_call_edges_add, | |
5026 | predict_edge, predicted_by_p, can_duplicate_block_p and | |
5027 | duplicate_block. | |
5028 | (tree_cfg_hooks, ir_type, tree_register_cfg_hooks): Declare. | |
5029 | * cfglayout.c (cfg_layout_pool, cfg_layout_initialize_rbi): Removed. | |
5030 | (fixup_reorder_chain): Use initialize_bb_rbi. | |
5031 | (cfg_layout_can_duplicate_bb_p, cfg_layout_duplicate_bb): Hookized. | |
5032 | (cfg_layout_initialize): Use cfg.c rbi pool manipulation functions. | |
5033 | (can_copy_bbs_p, copy_bbs): Use cfghooks for bb duplication. | |
5034 | (insn_locators_initialize): Use new info about blocks. | |
5035 | * cfglayout.h (typedef struct reorder_block_def): Moved to | |
5036 | basic_block.h. | |
5037 | (cfg_layout_can_duplicate_bb_p, cfg_layout_duplicate_bb): Declaration | |
5038 | removed. | |
5039 | * cfgloop.c: Include tree.h and tree-flow.h. | |
5040 | * cfgloop.h (create_loop_notes): Declare. | |
5041 | * cfgloopmanip.c (create_loop_notes): New. | |
5042 | * cfgrtl.c (cfg_layout_create_basic_block): Use initialize_bb_rbi. | |
5043 | (rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Fill in can_duplicate_block_p | |
5044 | and duplicate_block fields. | |
5045 | (create_basic_block_structure): Don't look at | |
5046 | RTX_INTEGRATED_P. | |
5047 | (rtl_block_ends_with_call_p): New. | |
5048 | (rtl_block_ends_with_condjump_p): New. | |
5049 | (need_fake_edge_p): Moved from cfganal.c. | |
5050 | (rtl_flow_call_edges_add): Moved from cfganal.c (flow_call_edges_add). | |
5051 | (rtl_cfg_hooks): Add rtl_block_ends_with_call_p, | |
5052 | rtl_block_ends_with_condjump_p, rtl_flow_call_edges_add. | |
5053 | (cfg_layout_rtl_cfg_hooks): Ditto. | |
5054 | * cgraph.c (cgraph_mark_reachable_node): Don't force nested | |
5055 | functions to be reachable. | |
5056 | * cgraphunit.c (decide_is_function_needed): | |
5057 | * cgraphunit.c (decide_is_function_needed): Nested functions of extern | |
5058 | inline functions don't need to be output. | |
5059 | (cgraph_assemble_pending_functions): Don't do anything | |
5060 | special for nested functions. | |
5061 | (cgraph_mark_functions_to_output): Likewise. | |
5062 | (cgraph_finalize_function): Don't zap DECL_STRUCT_FUNCTION. | |
5063 | (cgraph_analyze_function): Use estimate_num_insns. | |
5064 | (cgraph_mark_functions_to_output): Likewise. | |
5065 | (cgraph_estimate_growth, cgraph_clone_inlined_nodes): Likewise. | |
5066 | (cgraph_expand_function): Allow functions to not be | |
5067 | emitted. | |
5068 | (cgraph_remove_unreachable_nodes): | |
5069 | (cgraph_recursive_inlining_p): Simplify. | |
5070 | (lookup_recursive_calls, | |
5071 | cgraph_decide_recursive_inlining): New. | |
5072 | (cgraph_decide_inlining_*): Update calls of | |
5073 | cgraph_mark_inline. | |
5074 | * combine.c (get_pos_from_mask): Always set *plen. | |
5075 | * common.opt (fdump-, fmudflap, fmudflapth, fmudflapir, | |
5076 | ftree-based-profiling, ftree-ccp, ftree-ch, | |
5077 | ftree-combine-temps, ftree-copyrename, ftree-dce, | |
5078 | ftree-dominator-opts, ftree-dse, ftree-loop-optimize, | |
5079 | ftree-points-to, ftree-pre, ftree-sra, ftree-ter, | |
5080 | ftree-lrs): Add. | |
5081 | * config.in (HAVE_LD_PIE, HAVE_BANSHEE, PREFIX_INCLUDE_DIR): | |
5082 | Undefine. | |
5083 | * configure.ac: Add --enable-tree-browser option. | |
5084 | Add --with-libbanshee option. | |
5085 | Add GMPLIBS and GMPINC. | |
5086 | * configure: Regenerate. | |
5087 | * coverage.c (tree_ctr_tables): New. | |
5088 | (coverage_counter_alloc): Use it. | |
5089 | (build_ctr_info_value): Ditto. | |
5090 | (coverage_counter_ref): Ditto. Rename to rtl_coverage_counter_ref. | |
5091 | (tree_coverage_counter_ref): New. | |
5092 | * coverage.h (coverage_counter_ref): Remove declaration. | |
5093 | (rtl_coverage_counter_ref): Declare. | |
5094 | (tree_coverage_counter_ref): Declare. | |
5095 | * cppexp.c (append_digit): Rearrange unsignedp/overflow setting. | |
5096 | (eval_token, num_binary_op, num_part_mul, num_div_op): Likewise. | |
5097 | * cse.c (fold_rtx): Do not handle CONSTANT_P_RTX. | |
5098 | (struct cse_basic_block_data): Rename enum values to not | |
5099 | conflict with profile.h; update all uses. | |
5100 | * dbxout.c (dbxout_symbol_location): Don't mention integrate.c | |
5101 | in comments. | |
5102 | * defaults.h (TRAMPOLINE_ALIGNMENT): Move from function.c. | |
5103 | * diagnostic.h (debug_output_buffer, dump_generic_node, | |
5104 | print_generic_stmt, print_generic_stmt_indented, | |
5105 | print_generic_expr, print_generic_decl, | |
5106 | debug_generic_expr, debug_generic_stmt, debug_c_tree): | |
5107 | Declare. | |
5108 | * dominance.c: Cache immediate dominators. | |
5109 | * domwalk.c: New file. | |
5110 | * domwalk.h: New file. | |
5111 | * dwarf2out.c (is_fortran): Support DW_LANG_Fortran95. | |
5112 | (gen_subprogram_die): Generate a DIE for a named | |
5113 | return value. | |
5114 | (loc_descriptor_from_tree): Treat RESULT_DECL like VAR_DECL. | |
5115 | (add_location_or_const_value_attribute): Likewise. | |
5116 | (add_bound_info): Likewise. | |
5117 | (gen_decl_die): Likewise. | |
5118 | * emit-rtl.c (maybe_set_first_label_num): New. | |
5119 | (copy_most_rtx): Don't copy the integrated flag. | |
5120 | Copy the new return_val flag. | |
5121 | * et-forest.c (MAX_NODES): Define. | |
5122 | (record_path_before_1): Abort if len is greater than | |
5123 | MAX_NODES. | |
5124 | * except.c (gen_eh_region, gen_eh_region_cleanup, gen_eh_region_try, | |
5125 | gen_eh_region_catch, gen_eh_region_allowed, | |
5126 | gen_eh_region_must_not_throw, get_eh_region_number, | |
5127 | get_eh_region_may_contain_throw, get_eh_region_tree_label, | |
5128 | set_eh_region_tree_label, expand_resx_expr): New. | |
5129 | (expand_eh_region_start, expand_start_catch): Use them. | |
5130 | (expand_end_catch): Tidy. | |
5131 | (note_eh_region_may_contain_throw): Take region argument. | |
5132 | (note_current_region_may_contain_throw): New. | |
5133 | (get_exception_filter): Export. | |
5134 | (collect_eh_region_array): Export. | |
5135 | (remove_unreachable_regions): Check ERT_TRY based on reachability | |
5136 | of catches, not reachability of continue_label. Never remove | |
5137 | ERT_MUST_NOT_THROW regions. | |
5138 | (collect_rtl_labels_from_trees): New. | |
5139 | (convert_from_eh_region_ranges): Use it. | |
5140 | (connect_post_landing_pads): Handle dying cleanups. | |
5141 | (struct reachable_info): Add callback data. | |
5142 | (add_reachable_handler): Invoke the callback. | |
5143 | (foreach_reachable_handler): New. | |
5144 | (reachable_handlers): Use it. | |
5145 | (arh_to_landing_pad, arh_to_label): New. | |
5146 | (can_throw_internal_1): Split out from can_throw_internal. | |
5147 | (can_throw_external_1): Similarly. | |
5148 | * except.h: Update. | |
5149 | * explow.c (emit_stack_save): Remove savearea mode check. | |
5150 | (update_nonlocal_goto_save_area): New. | |
5151 | (allocate_dynamic_stack_space): Use it. | |
5152 | (probe_stack_range): Never emit loop notes. | |
5153 | * expmed.c (extract_fixed_bit_field): Always propagate the | |
5154 | target for the shift if it is a REG. | |
5155 | * expr.c: Include tree-iterator.h | |
5156 | (is_zeros_p): Remove. | |
5157 | (categorize_ctor_elements_1, categorize_ctor_elements): New. | |
5158 | (count_type_elements): New. | |
5159 | (mostly_zeros_p): Use them. | |
5160 | (expr_wfl_stack): Remove. | |
5161 | (convert_move): Do nothing if to and from are the same. | |
5162 | (emit_block_move_via_loop): Don't emit LOOP notes. | |
5163 | (emit_move_insn): Don't handle CONSTANT_P_RTX. | |
5164 | (emit_move_insn_1): Don't generate inline warnings. | |
5165 | (expand_vars, expand_var): Split from ... | |
5166 | (expand_expr_1): ... here. | |
5167 | (expand_expr_real, expand_expr_real_1): Use new macros | |
5168 | EXPR_LOCATION and EXPR_HAS_LOCATION. | |
5169 | * expr.h (simplify_builtin_fputs, | |
5170 | simplify_builtin_strcpy, simplify_builtin_strncpy, | |
5171 | expand_var, fixup_tail_calls, | |
5172 | update_nonlocal_goto_save_area): Declare. | |
5173 | (lookup_static_chain, expand_inline_function, | |
5174 | mark_seen_cases): Remove. | |
5175 | (prepare_call_address): Change type of 2nd argument to | |
5176 | rtx. | |
5177 | * final.c (profile_function): Update static chain test. | |
5178 | (final): Don't look at RTX_INTEGRATED_P. | |
5179 | * flags.h (flag_mudflap, flag_mudflap_threads, | |
5180 | flag_mudflap_ignore_reads, flag_tree_pre, flag_tree_ccp, | |
5181 | flag_tree_dce, flag_tree_combine_temps, | |
5182 | flag_tree_live_range_split, flag_tree_dom, flag_tree_ch, | |
5183 | flag_tree_dse, flag_tree_sra, flag_tree_copyrename, | |
5184 | flag_tree_points_to): Declare. | |
5185 | (enum pta_type): Declare. | |
5186 | * flow.c (lang_missing_noreturn_ok_p): Remove. | |
5187 | (check_function_return_warnings): Remove. | |
5188 | (update_life_info): Update comments. | |
5189 | (free_basic_block_vars): Don't call VARRAY_FREE for | |
5190 | basic_block_info. | |
5191 | (regno_uninitialized): Remove. | |
5192 | * fold-const.c (int_const_binop): Make extern. | |
5193 | (non_lvalue): Rely on build to set TREE_CONSTANT. | |
5194 | (operand_equal_p): Replace only_const argument with | |
5195 | flags. Allow pure functions if OEP_PURE_SAME. | |
5196 | (fold): Use OEP_ONLY_CONST. | |
5197 | (invert_truthvalue) <NOP_EXPR> Break if argument is of | |
5198 | boolean type. | |
5199 | (fold_relational_hi_lo, | |
5200 | nondestructive_fold_binary_to_constant, | |
5201 | nondestructive_fold_unary_to_constant, | |
5202 | fold_read_from_constant_string): New. | |
5203 | * function.c (struct function): Remove calls_constant_p. | |
5204 | (current_function_calls_constant_p): Remove. | |
5205 | (inline_function_decl): Remove. | |
5206 | (put_var_into_stack): Don't use it. | |
5207 | (fix_lexical_addr): Likewise. | |
5208 | (inline_function_decl): Remove extern declaration. | |
5209 | (TRAMPOLINE_ALIGNMENT): Move to defaults.h. | |
5210 | (trampolines_created): Move to varasm.c. | |
5211 | (free_after_compilation): Update for removed fields. | |
5212 | (allocate_struct_function): Likewise. | |
5213 | (delete_handlers, lookup_static_chain): Remove. | |
5214 | (fix_lexical_addr): Don't consider non-local variable refs. | |
5215 | (trampoline_address): Remove. | |
5216 | (round_trampoline_addr): Move to builtins.c. | |
5217 | (adjust_trampoline_addr): Remove. | |
5218 | (expand_function_start): Update for changes to static chain | |
5219 | and nonlocal goto handling. | |
5220 | (initial_trampoline): Move to varasm.c. | |
5221 | (expand_function_end): Don't build trampolines or kill | |
5222 | unreferenced nonlocal goto labels. | |
5223 | (free_after_compilation): Don't set it. | |
5224 | (expand_function_end): Likewise. | |
5225 | (setjmp_vars_warning): Rename from | |
5226 | uninitialized_vars_warning, remove uninitialized vars warning. | |
5227 | (uninitialized_vars_warning): Remove old comment | |
5228 | and check for DECL_INITIAL, replace with a check of TREE_NO_WARNING | |
5229 | and do not call the langhook. | |
5230 | (expand_function_start, expand_function_end): Don't do | |
5231 | function instrumentation here. | |
5232 | (clear_block_marks): Rename from reorder_blocks_0, export. | |
5233 | (blocks_nreverse): Export. | |
5234 | (uninitialized_vars_warning): Use DECL_RTL_SET_P to test for presence | |
5235 | of rtl. | |
5236 | (reset_block_changes, record_block_change, finalize_block_changes, | |
5237 | check_block_change, free_block_changes): New functions. | |
5238 | (assign_parms): Setting of current_function_stdarg | |
5239 | moved ... | |
5240 | (allocate_struct_function): ... here. | |
5241 | * function.h (struct function): Remove x_nonlocal_labels, | |
5242 | x_nonlocal_goto_handler_slots, x_nonlocal_goto_stack_level, | |
5243 | x_context_display, x_trampoline_list, needs_context. | |
5244 | Add static_chain_decl, nonlocal_goto_save_area. | |
5245 | (struct function): Remove x_clobber_return_insn. | |
5246 | Add tail_call_emit field, last_label_uid, | |
5247 | unexpanded_var_list, dont_emit_block_notes, | |
5248 | ib_boundaries_block, function_end_locus and saved_tree/saved_args. | |
5249 | (clear_block_marks): Declare. | |
5250 | * gcc.c (MFWRAP_SPEC, MFLIB_SPEC): Add -fmudflapth support. | |
5251 | (mfwrap_spec, mflib_spec): Declare. | |
5252 | (cpp_unique_options, cc1_options): Ditto. | |
5253 | (default_compilers): Add .F and .f90. | |
5254 | (static_specs): Add mfwrap and mflib. | |
5255 | * gcse.c (want_to_gcse_p, gcse_constant_p): Don't handle | |
5256 | CONSTANT_RTX_P. | |
5257 | (reg_used_on_edge, reg_killed_on_edge, bypass_block): | |
5258 | Update to match insns field in struct edge_def. | |
5259 | * gdbinit.in (pgs, pge): Define. | |
5260 | * genattrtab.c (ATTR_PERMANENT_P): Use the return_val flag | |
5261 | instead of the integrated flag. | |
5262 | * gengtype-lex.l (IWOrD): Add HOST_WIDEST_INT | |
5263 | * gengtype-yacc.y (bitfieldlen): Add empty action. | |
5264 | (struct_fields): Accept unnamed bitfields. | |
5265 | (bitfieldlen): Split from ... | |
5266 | (bitfieldopt): ... here. | |
5267 | * gengtype.c (ifiles): Add tree-alias-type.h and | |
5268 | tree-flow.h. | |
5269 | * genrecog.c (validate_pattern): Do not handle | |
5270 | CONSTANT_P_RTX. | |
5271 | * gimple-low.c: New file. | |
5272 | * gimplify.c: New file. | |
5273 | * haifa-sched.c (priority): Do not handle CONSTANT_P_RTX. | |
5274 | (restore_line_notes): Do not set RTX_INTEGRATED_P. | |
5275 | * ifcvt.c (dead_or_predicable): Initialize local variable | |
5276 | 'earliest'. | |
5277 | * input.h (expr_wfl_stack): Remove. | |
5278 | * integrate.c (INTEGRATE_THRESHOLD): Remove. | |
5279 | (setup_initial_hard_reg_value_integration): Likewise. | |
5280 | (initialize_for_inline): Likewise. | |
5281 | (note_modified_parmregs): Likewise. | |
5282 | (integrate_parm_decls): Likewise. | |
5283 | (process_reg_param): Likewise. | |
5284 | (save_parm_insns): Likewise. | |
5285 | (copy_insn_list): Likewise. | |
5286 | (copy_insn_notes): Likewise. | |
5287 | (compare_blocks): Likewise. | |
5288 | (find_block): Likewise. | |
5289 | (inlining): Likewise. | |
5290 | (function_cannot_inline_p): Likewise. | |
5291 | (parmdecl_map): Likewise. | |
5292 | (in_nonparam_insns): Likewise. | |
5293 | (save_for_inline): Likewise. | |
5294 | (FIXED_BASE_PLUS): Likewise. | |
5295 | (expand_inline_function): Likewise. | |
5296 | (copy_rtx_and_substitute): Don't look at map->integrating, | |
5297 | map->inline_target, and inlining, since we are never copying | |
5298 | for integrating. | |
5299 | Don't abort on RTX_INTEGRATED_P. | |
5300 | (old_fun): Remove. | |
5301 | (output_inline_function): Remove. | |
5302 | * integrate.h (struct inline_map): Remove fields integrating, | |
5303 | block_map, leaf_reg_map, inline_target, and local_return_label. | |
5304 | * jump.c (next_nonnote_insn_in_loop, duplicate_loop_exit_test, | |
5305 | copy_loop_headers, never_reached_warning): Removed. | |
5306 | (any_uncondjump_p): Reject nonlocal goto. | |
5307 | * langhooks-def.h (lhd_types_compatible_p, | |
5308 | lhd_expand_decl, lhd_gimplify_expr): Declare. | |
5309 | (LANG_HOOKS_EXPAND_DECL, LANG_HOOKS_TYPES_COMPATIBLE_P, | |
5310 | LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P, | |
5311 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, | |
5312 | LANG_HOOKS_FUNCTION_MISSING_NORETURN_OK_P, | |
5313 | LANG_HOOKS_GIMPLIFY_EXPR, | |
5314 | LANG_HOOKS_GIMPLE_BEFORE_INLINING, | |
5315 | LANG_HOOKS_EXPAND_DECL, LANG_HOOKS_TYPES_COMPATIBLE_P, | |
5316 | LANG_HOOKS_GIMPLIFY_EXPR, | |
5317 | LANG_HOOKS_GIMPLE_BEFORE_INLINING): Define. | |
5318 | (LANG_HOOKS_DECL_UNINIT, LANG_HOOKS_RTL_EXPAND_START, | |
5319 | LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_RTL_EXPAND_END, | |
5320 | LANG_HOOKS_FUNCTION_LEAVE_NESTED, | |
5321 | LANG_HOOKS_RTL_EXPAND_INITIALIZER, | |
5322 | LANG_HOOKS_DECL_UNINIT, | |
5323 | LANG_HOOKS_RTL_EXPAND_INITIALIZER): Remove. | |
5324 | * langhooks.c: Include tree-simple.h. | |
5325 | (lhd_expand_decl): New. | |
5326 | (lhd_types_compatible_p): New. | |
5327 | (lhd_decl_uninit): Remove. | |
5328 | (lhd_gimplify_expr): New. | |
5329 | * langhooks.h (struct lang_hooks_for_rtl_expansion): | |
5330 | Remove. | |
5331 | (struct lang_hooks_for_functions): Add field | |
5332 | missing_noreturn_ok_p. | |
5333 | (struct lang_hooks): Add field expand_decl, | |
5334 | types_compatible_p, gimplify_expr and | |
5335 | gimple_before_inlining. | |
5336 | Remove fields decl_uninit and rtl_expand | |
5337 | * opts.c (decode_options): Set flag_tree_ccp, | |
5338 | flag_tree_dce, flag_tree_dom, flag_tree_dse, | |
5339 | flag_tree_pre, flag_tree_ter, | |
5340 | flag_tree_live_range_split, flag_tree_sra, | |
5341 | flag_tree_copyrename and flag_tree_ch at -O1 and higher. | |
5342 | (common_handle_option): Handle OPT_fdump_, OPT_fmudflap, | |
5343 | OPT_fmudflapth, OPT_fmudflapir, | |
5344 | OPT_ftree_based_profiling, OPT_ftree_ccp, OPT_ftree_dce, | |
5345 | OPT_ftree_combine_temps, OPT_ftree_ter, OPT_ftree_lrs, | |
5346 | OPT_ftree_dominator_opts, OPT_ftree_copyrename, | |
5347 | OPT_ftree_ch, OPT_ftree_dse, OPT_ftree_sra, | |
5348 | OPT_ftree_points_to_ and OPT_ftree_pre. | |
5349 | * output.h (regno_uninitialized, find_basic_blocks, | |
5350 | cleanup_cfg, delete_unreachable_blocks, | |
5351 | check_function_return_warnings): Remove. | |
5352 | * params.def (PARAM_MAX_INLINE_INSNS_RECURSIVE, | |
5353 | PARAM_MAX_INLINE_INSNS_RECURSIVE_AUTO, | |
5354 | PARAM_MAX_INLINE_RECURSIVE_DEPTH, | |
5355 | PARAM_MAX_INLINE_RECURSIVE_DEPTH_AUTO, | |
5356 | PARAM_GLOBAL_VAR_THRESHOLD, PARAM_MAX_ALIASED_VOPS): | |
5357 | * params.h (GLOBAL_VAR_THRESHOLD, MAX_ALIASED_VOPS): | |
5358 | Define. | |
5359 | * passes.c (rest_of_decl_compilation): | |
5360 | (rest_of_handle_sibling_calls): Remove. | |
5361 | (rest_of_handle_inlining): Remove. | |
5362 | (rest_of_handle_gcse): Do not run | |
5363 | purge_builtin_constant_p. | |
5364 | (rest_of_compilation): Update. | |
5365 | Do not call copy_loop_headers. | |
5366 | Do rtl-based profiling only when | |
5367 | !flag_tree_based_profiling. Register rtl-based profiling | |
5368 | hooks. | |
5369 | * predict.c: Include tree-flow.h, ggc.h, tree-dump.h | |
5370 | (predicted_by_p): Rename to ... | |
5371 | (rtl_predicted_by_p): .. this one; make global | |
5372 | (tree_predicted_by_p): New. | |
5373 | (dump_prediction): Add FILE argument. | |
5374 | (predict_edge): Rename to ... | |
5375 | (rtl_predict_edge): .. this one. | |
5376 | (tree_predict_edge): New. | |
5377 | (combine_predictions_for_insn): Update calls of predict_edge. | |
5378 | (predict_loops): Break out from ... | |
5379 | (estimate_probability): ... here; update comments; move updating | |
5380 | of unknown probabilities from ... | |
5381 | (estimate_bb_frequencies): ... here. | |
5382 | (combine_predictions_for_bb): New. | |
5383 | (tree_predict_by_opcode): New. | |
5384 | (tree_estimate_probability): New. | |
5385 | * predict.def (PRED_TREE_POINTER, PRED_TREE_OPCODE_POSITIVE, | |
5386 | PRED_TREE_OPCODE_NONEQUAL, PRED_TREE_FPOPCODE): New predictors. | |
5387 | * predict.h: Add include guard. | |
5388 | (predict_edge, predict_edge_def): Move prototypes to basic_block.h | |
5389 | * pretty-print.c (pp_write_text_to_stream): Make extern. | |
5390 | * pretty-print.h (pp_write_text_to_stream): Declare. | |
5391 | * print-rtl.c (print_rtx): Don't print the integrated flag. | |
5392 | Print the return_val flag. | |
5393 | * print-tree.c: Use TREE_FILENAME and TREE_LINENO instead | |
5394 | of DECL_SOURCE_FILE and DECL_SOURCE_LINE respectively. | |
5395 | Remove support for EXPR_WITH_FILE_LOCATION nodes. | |
5396 | (print_node): Print TREE_INVARIANT and TREE_VISITED. | |
5397 | * profile.c: Include cfghooks.h, tree-flow.h. | |
5398 | (profile_hooks): New. | |
5399 | (profile_dump_file): New. | |
5400 | (instrument_edges): Use hooks instead of RTL-specific code. | |
5401 | (instrument_values): Ditto. | |
5402 | (get_exec_counts): Ditto. | |
5403 | (compute_branch_probabilities): Ditto. | |
5404 | (compute_value_histograms): Ditto. | |
5405 | (branch_prob): Ditto. | |
5406 | (find_spanning_tree): Ditto. | |
5407 | (end_branch_prob): Ditto. | |
5408 | (gen_edge_profiler): Move to rtl-profile.c (rtl_gen_edge_profiler). | |
5409 | (gen_interval_profiler): Ditto (rtl_gen_interval_profiler). | |
5410 | (gen_pow2_profiler): Ditto (rtl_gen_pow2_profiler). | |
5411 | (gen_one_value_profiler): Ditto (rtl_gen_one_value_profiler). | |
5412 | (tree_register_profile_hooks): New. | |
5413 | (rtl_register_profile_hooks): New. | |
5414 | * ra-rewrite.c (rewrite_program): Clear variable info. | |
5415 | * recog.c (immediate_operand): Do not handle CONSTANT_P_RTX. | |
5416 | * regs.h: Add include guards. | |
5417 | * reload.c (decompose): Clear val using memset. | |
5418 | * rtl.def (CONSTANT_P_RTX): Remove. | |
5419 | * rtl.h (CONSTANT_P): Do not handle CONSTANT_P_RTX. | |
5420 | (copy_loop_headers): Remove. | |
5421 | (struct rtx_def): Replace the integrated flag with the | |
5422 | return_val flag. | |
5423 | (maybe_set_first_label_num): Declare. | |
5424 | (init_branch_prob): Move declaration to value-prof.h. | |
5425 | (end_branch_prob): Ditto. | |
5426 | (branch_prob): Ditto. | |
5427 | (never_reached_warning): Don't declare it. | |
5428 | * rtlanal.c (get_related_value): Initialize get_jump_table_offset | |
5429 | (hoist_insn_to_edge): Update to match field insns in | |
5430 | struct edge_def. | |
5431 | * sbitmap.c (sbitmap_realloc): New. | |
5432 | * sbitmap.h (sbitmap_realloc): Declare. | |
5433 | * sibcall.c: Remove file. | |
5434 | * simplify-rtx.c (simplify_rtx): Do not handle | |
5435 | CONSTANT_P_RTX. | |
5436 | * stmt.c (parse_output_constraint): Don't warn for read-write | |
90afe2c9 | 5437 | memory operand. |
6de9cd9a DN |
5438 | (tail_recursion_args): Use types_compatible_p langhook. |
5439 | (force_label_rtx): Don't look at inline_function_decl. | |
5440 | (label_rtx): Set LABEL_PRESERVE_P appropriately. | |
5441 | (expand_label): Handle DECL_NONLOCAL and FORCED_LABEL. | |
5442 | (declare_nonlocal_label): Remove. | |
5443 | (expand_goto): Don't handle nonlocal gotos. | |
5444 | (expand_nl_handler_label): Remove. | |
5445 | (expand_nl_goto_receivers): Remove. | |
5446 | (expand_end_bindings): Don't expand_nl_goto_receivers. Use | |
5447 | update_nonlocal_goto_save_area. | |
5448 | (expand_expr_stmt_value): Check TREE_NO_WARNING. | |
5449 | (warn_if_unused_value): Likewise. | |
5450 | (expand_start_loop, expand_loop_continue_here, | |
5451 | expand_end_loop): Don't create loop notes. | |
5452 | (all_cases_count, BITARRAY_TEST, BITARRAY_SET, | |
5453 | mark_seen_cases, check_for_full_enumeration_handling): Remove. | |
5454 | (expand_end_case_type): Don't do warn_switch handling. | |
5455 | (pushcase, pushcase_range) Update add_case_node calls. | |
5456 | (add_case_node): Add dont_expand_label argument. | |
5457 | (same_case_target_p): Don't search rtl. | |
5458 | (expand_start_bindings_and_block, expand_end_bindings): | |
5459 | Don't emit block notes when dont_emit_block_notes. | |
5460 | (using_eh_for_cleanups_p): Export. | |
5461 | (expand_return): Allow any typed rhs. | |
5462 | (expand_stack_alloc): New. | |
5463 | (expand_stack_save, expand_stack_restore): New. | |
5464 | (containing_blocks_have_cleanups_or_stack_level): New | |
5465 | function. | |
5466 | (asm_op_is_mem_input): New fn. | |
5467 | (expand_asm_expr): New fn. | |
5468 | (warn_if_unused_value): Check operand 0 of SAVE_EXPR | |
5469 | nodes. | |
5470 | * stor-layout.c (layout_type): Just return if type is | |
5471 | error_mark_node. | |
5472 | (update_alignment_for_field): Export. | |
5473 | (variable_size): We don't care about global_bindings_p if | |
5474 | the frontend doesn't want a list of the expressions. | |
5475 | * system.h: Poison INTEGRATE_THRESHOLD. | |
5476 | * timevar.def (TV_TREE_GIMPLIFY, TV_TREE_EH, TV_TREE_CFG, | |
5477 | TV_TREE_CLEANUP_CFG, TV_TREE_PTA, TV_TREE_MAY_ALIAS, | |
5478 | TV_TREE_INSERT_PHI_NODES, TV_TREE_SSA_REWRITE_BLOCKS, | |
5479 | TV_TREE_SSA_OTHER, TV_TREE_OPS, | |
5480 | TV_TREE_SSA_DOMINATOR_OPTS, TV_TREE_SRA, TV_TREE_CCP, | |
5481 | TV_TREE_SPLIT_EDGES, TV_TREE_PRE, TV_TREE_PHIOPT, | |
5482 | TV_TREE_FORWPROP, TV_TREE_DCE, TV_TREE_CD_DCE, | |
5483 | TV_TREE_DSE, TV_TREE_LOOP, TV_TREE_CH, | |
5484 | TV_TREE_SSA_TO_NORMAL, TV_TREE_SSA_TO_NORMAL, | |
5485 | TV_TREE_NRV, TV_TREE_COPY_RENAME, TV_TREE_SSA_VERIFY, | |
5486 | TV_TREE_STMT_VERIFY, TV_DOM_FRONTIERS, | |
5487 | TV_CONTROL_DEPENDENCES): Define. | |
5488 | * toplev.c: Include tree-alias-common.h | |
5489 | (current_file_decl, flag_mudflap, flag_mudflap_threads, | |
5490 | flag_mudflap_ignore_reads, flag_tree_based_profiling, | |
5491 | flag_tree_gvn, flag_tree_points_to, flag_tree_ccp, | |
5492 | flag_tree_dce, flag_tree_ch, flag_tree_sra, | |
5493 | flag_tree_combine_temps, flag_tree_ter, | |
5494 | flag_tree_live_range_split, flag_tree_dom, | |
5495 | flag_tree_copyrename, flag_tree_dse): Declare. | |
5496 | (f_options): Add tree-based-profiling, tree-gvn, | |
5497 | tree-pre, tree-ccp, tree-dce, | |
5498 | tree-dominator-opts, tree-copyrename, tree-dse, | |
5499 | tree-combine-temps, tree-ter, tree-lrs and tree-ch. | |
5500 | (wrapup_global_declarations): Don't output nested inlined functions. | |
5501 | (general_init): Call init_tree_optimization_passes. | |
5502 | (process_options): Sorry for -ftree-based-profiling plus | |
5503 | -ftest-coverage or -fprofile-values. | |
5504 | * toplev.h (init_tree_optimization_passes, | |
5505 | flag_tree_based_profiling): Declare. | |
5506 | * tracer.c (tail_duplicate): Use cfghooks for bb duplication. | |
5507 | * tree-alias-ander.c: New file. | |
5508 | * tree-alias-ander.h: New file. | |
5509 | * tree-alias-common.c: New file. | |
5510 | * tree-alias-common.h: New file. | |
5511 | * tree-alias-type.c: New file. | |
5512 | * tree-alias-type.h: New file. | |
5513 | * tree-browser.c: New file. | |
5514 | * tree-browser.def: New file. | |
5515 | * tree-cfg.c: New file. | |
5516 | * tree-complex.c: New file. | |
5517 | * tree-dfa.c: New file. | |
5518 | * tree-dump.c (dump_enable_all): New. | |
5519 | (dequeue_and_dump): Do not handle EXPR_WITH_FILE_LOCATION. | |
5520 | (dump_node): Remove const from field suffix and swtch. | |
5521 | (dump_files): Add null entry, .generic, .nested, .vcg, | |
5522 | .xml and a match-all entry. | |
5523 | (extra_dump_files, extra_dump_files_in_use, | |
5524 | extra_dump_files_alloced): Declare | |
5525 | (dump_option_value_info): Add raw, details, stats, | |
5526 | blocks, vops, lineno, uid and all. | |
5527 | (dump_register): New. | |
5528 | (get_dump_file_info): New. | |
5529 | (dump_begin): Call it. | |
5530 | Do nothing for TDI_none. | |
5531 | (dump_begin): Include phase number in dump filename. | |
5532 | (dump_enable_all): New. | |
5533 | (dump_switch_p_1): Split out from dump_switch_p. | |
5534 | (dump_switch_p): Handle extra_dump_files. | |
5535 | Start our scan at TDI_none + 1. | |
5536 | If -fdump-tree-all was given, call dump_enable_all. | |
5537 | * tree-dump.h: Include splay-tree.h. | |
5538 | (dump_function, dump_function_to_file, dump_register): | |
5539 | Declare. | |
5540 | * tree-eh.c: New file. | |
5541 | * tree-flow-inline.h: New file. | |
5542 | * tree-flow.h: New file. | |
5543 | * tree-inline.c: Re-write to handle inlining on GIMPLE. | |
5544 | * tree-inline.h (walk_tree, | |
5545 | walk_tree_without_duplicates): Move to tree.h. | |
5546 | (estimate_num_insns): Declare. | |
5547 | * tree-into-ssa.c: New file. | |
5548 | * tree-iterator.c: New file. | |
5549 | * tree-iterator.h: New file. | |
5550 | * tree-mudflap.c: New file. | |
5551 | * tree-mudflap.h: New file. | |
5552 | * tree-nested.c: New file. | |
5553 | * tree-nomudflap.c: New file. | |
5554 | * tree-nrv.c: New file. | |
5555 | * tree-optimize.c (dump_flags, vars_to_rename, | |
5556 | in_gimple_form, all_passes, pass_gimple, | |
5557 | pass_rebuild_bind, pass_all_optimizations, pass_del_cfg): Declare. | |
5558 | (execute_gimple, execute_rebuild_bind, | |
5559 | gate_all_optimizations, execute_del_cfg, | |
5560 | register_one_dump_file, register_dump_files, dup_pass_1, | |
5561 | init_tree_optimization_passes, execute_todo, | |
5562 | execute_one_pass, execute_pass_list): New. | |
5563 | (clear_decl_rtl): Remove. | |
5564 | (tree_rest_of_compilation): Update to use tree | |
5565 | optimizers. | |
5566 | * tree-outof-ssa.c: New file. | |
5567 | * tree-pass.h: New file. | |
5568 | * tree-phinodes.c: New file. | |
5569 | * tree-pretty-print.c: New file. | |
5570 | * tree-profile.c: New file. | |
5571 | * tree-simple.c: New file. | |
5572 | * tree-simple.h: New file. | |
5573 | * tree-sra.c: New file. | |
5574 | * tree-ssa-alias.c: New file. | |
5575 | * tree-ssa-ccp.c: New file. | |
5576 | * tree-ssa-copy.c: New file. | |
5577 | * tree-ssa-copyrename.c: New file. | |
5578 | * tree-ssa-dce.c: New file. | |
5579 | * tree-ssa-dom.c: New file. | |
5580 | * tree-ssa-dse.c: New file. | |
5581 | * tree-ssa-forwprop.c: New file. | |
5582 | * tree-ssa-live.c: New file. | |
5583 | * tree-ssa-live.h: New file. | |
5584 | * tree-ssa-loop.c: New file. | |
5585 | * tree-ssa-operands.c: New file. | |
5586 | * tree-ssa-operands.h: New file. | |
5587 | * tree-ssa-phiopt.c: New file. | |
5588 | * tree-ssa-pre.c: New file. | |
5589 | * tree-ssa.c: New file. | |
5590 | * tree-ssanames.c: New file. | |
5591 | * tree-tailcall.c: New file. | |
5592 | * tree.c: Include tree-iterator.h, basic-block.h and | |
5593 | tree-flow.h. | |
5594 | (tree_node_kind): Add phi_nodes and ssa names. | |
5595 | (tree_size): Handle PHI_NODE, EPHI_NODE, SSA_NAME, | |
5596 | EUSE_NODE, EKILL_NODE, EEXIT_NODE and STATEMENT_LIST. | |
5597 | (make_node_stat): Handle PHI_NODE and SSA_NAME. | |
5598 | <'c'> Set TREE_INVARIANT. | |
5599 | (copy_node_stat): Abort if trying to copy a | |
5600 | STATEMENT_LIST. | |
5601 | Clear TREE_VISITED. | |
5602 | Clear annotation field. | |
5603 | (build_constructor): Copy TREE_INVARIANT from vals. | |
5604 | Don't clear TREE_CONSTANT. | |
5605 | (expr_first, expr_last, expr_length): Remove. | |
5606 | (staticp): Pass unknown component references to the language. | |
5607 | (save_expr): Check TREE_INVARIANT instead of TREE_CONSTANT. | |
5608 | (skip_simple_arithmetic): Likewise. | |
5609 | (stabilize_reference_1): Likewise. | |
5610 | (tree_node_structure): Handle PHI_NODE, EPHI_NODE, | |
5611 | EUSE_NODE, EKILL_NODE, EEXIT_NODE, SSA_NAME and | |
5612 | STATEMENT_LIST. | |
5613 | (lhd_unsave_expr_now): Remove. | |
5614 | (unsafe_for_reeval): Handle LABEL_EXPR and BIND_EXPR. | |
5615 | (recompute_tree_invarant_for_addr_expr): New. | |
5616 | (build1_stat): Clear EXPR_LOCUS and TREE_BLOCK. | |
5617 | Call recompute_tree_invarant_for_addr_expr. | |
5618 | Set TREE_INVARIANT accordingly. | |
5619 | (build2_stat): Don't handle CALL_EXPR. | |
5620 | (build3_stat): Don't call build2_stat for CALL_EXPRs. | |
5621 | (build_expr_wfl): Remove. | |
5622 | (annotate_with_file_line, annotate_with_locus): New. | |
5623 | (simple_cst_equal): Call simple_cst_list_equal to compare | |
5624 | CONSTRUCTOR_ELTS pointers. | |
5625 | (iterative_hash_expr): Don't hash types associated | |
5626 | with conversions. Instead hash on the signedness of the | |
5627 | toplevel object and the operand of the conversion. | |
5628 | (dump_tree_statistics): Call ssanames_print_statistics | |
5629 | and phinodes_print_statistics. | |
5630 | (ephi_node_elt_check_failed, phi_node_elt_check_failed, | |
5631 | add_var_to_bind_expr, build_empty_stmt, is_essa_node, | |
5632 | needs_to_live_in_memory): New. | |
5633 | (initializer_zerop): Handle VECTOR_CST. Don't check | |
5634 | AGGREGATE_TYPE_P for CONSTRUCTOR. | |
5635 | * tree.def (FILTER_EXPR, CASE_LABEL_EXPR, RESX_EXPR, | |
5636 | SSA_NAME, EUSE_NODE, EKILL_NODE, EPHI_NODE, EEXIT_NODE, | |
5637 | PHI_NODE, CATCH_EXPR, EH_FILTER_EXPR, STATEMENT_LIST): Define. | |
5638 | (GOTO_SUBROUTINE_EXPR): Change type to 's'. | |
5639 | (CALL_EXPR): Add another operand. | |
5640 | (EXPR_WITH_FILE_LOCATION): Remove. | |
5641 | (SWITCH_EXPR): Add another operand. | |
5642 | * tree.h: Update various comments. | |
5643 | (union tree_ann_d): Forward declare. | |
5644 | (struct tree_common): Add fields nowarning_flag, | |
5645 | invariant_flag and visited. | |
5646 | (EREF_NODE_CHECK, EPHI_NODE_ELT_CHECK, | |
5647 | PHI_NODE_ELT_CHECK, EREF_NODE_CHECK, PHI_NODE_ELT_CHECK, | |
5648 | EPHI_NODE_ELT_CHECK, TREE_BLOCK, | |
5649 | STRIP_USELESS_TYPE_CONVERSION, CALL_EXPR_TAILCALL, | |
5650 | TREE_NO_WARNING, FORCED_LABEL, TREE_INVARIANT, | |
5651 | IS_EMPTY_STMT, EXPR_LOCUS, SET_EXPR_LOCUS, EXPR_FILENAME, | |
5652 | EXPR_LINENO, EXPR_LOCATION, EXPR_HAS_LOCATION, | |
5653 | EXIT_EXPR_COND, SWITCH_COND, SWITCH_BODY, SWITCH_LABELS, | |
5654 | CASE_LOW, CASE_HIGH, CASE_LABEL, BIND_EXPR_VARS, | |
5655 | BIND_EXPR_BODY, BIND_EXPR_BLOCK, GOTO_DESTINATION, | |
5656 | ASM_STRING, ASM_OUTPUTS, ASM_INPUTS, ASM_CLOBBERS, | |
5657 | ASM_INPUT_P, ASM_VOLATILE_P, COND_EXPR_COND, | |
5658 | COND_EXPR_THEN, COND_EXPR_ELSE, LABEL_EXPR_LABEL, | |
5659 | CATCH_TYPES, CATCH_BODY, EH_FILTER_TYPES, | |
5660 | EH_FILTER_FAILURE, EH_FILTER_MUST_NOT_THROW, | |
5661 | SSA_NAME_VAR, SSA_NAME_DEF_STMT, SSA_NAME_VERSION, | |
5662 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI, SSA_NAME_IN_FREE_LIST, | |
5663 | PHI_RESULT, PHI_REWRITTEN, PHI_NUM_ARGS, | |
5664 | PHI_ARG_CAPACITY, PHI_ARG_ELT, PHI_ARG_EDGE, PHI_ARG_DEF, | |
5665 | EREF_PROCESSED, EREF_ID, EREF_NAME, EREF_STMT, | |
5666 | EREF_RELOAD, EREF_SAVE, EREF_CLASS, EREF_INJURED, | |
5667 | EREF_TEMP, EUSE_DEF, EUSE_PHIOP, EUSE_INSERTED, | |
5668 | EUSE_LVAL, EPHI_NUM_ARGS, EPHI_ARG_CAPACITY, | |
5669 | EPHI_ARG_ELT, EPHI_ARG_EDGE, EPHI_ARG_PRED, EPHI_ARG_DEF, | |
5670 | EPHI_ARG_INJURED, EPHI_ARG_DELAYED_RENAME, | |
5671 | EPHI_ARG_HAS_REAL_USE, EPHI_ARG_STOPS, | |
5672 | EPHI_ARG_PROCESSED2, EPHI_IDENTITY, EPHI_IDENT_INJURED, | |
5673 | EPHI_REP_OCCUR_KNOWN, EPHI_IDENTICAL_TO, EPHI_DOWNSAFE, | |
5674 | EPHI_CANT_BE_AVAIL, EPHI_DEAD, EPHI_USES, EPHI_STOPS, | |
5675 | TREE_VISITED, SSA_VAR_P, DECL_NUM_STMTS, | |
5676 | DECL_HARD_REGISTER, DECL_PTA_ALIASVAR, LABEL_DECL_UID, | |
5677 | DECL_NEEDS_TO_LIVE_IN_MEMORY_INTERNAL, | |
5678 | STATEMENT_LIST_HEAD, STATEMENT_LIST_TAIL, TDF_RAW, | |
5679 | TDF_DETAILS, TDF_STATS, TDF_BLOCKS, TDF_VOPS, TDF_LINENO, | |
5680 | TDF_UID,): Define. | |
5681 | (TREE_NO_UNUSED_WARNING, EXPR_WFL_EMIT_LINE_NOTE, | |
5682 | EXPR_WFL_NODE, EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, | |
5683 | EXPR_WFL_LINECOL, EXPR_WFL_LINENO, EXPR_WFL_COLNO, | |
5684 | EXPR_WFL_SET_LINECOL): Remove. | |
5685 | (phi_node_elt_check_failed, ephi_node_elt_check_failed, | |
5686 | make_phi_node, init_phinodes, fini_phinodes, | |
5687 | release_phi_node, phinodes_print_statistics, | |
5688 | init_ssanames, fini_ssanames, make_ssa_name, | |
5689 | release_ssa_name, ssanames_print_statistics, | |
5690 | annotate_with_file_line, build_empty_stmt, | |
5691 | annotate_with_locus, expr_only, categorize_ctor_elements, | |
5692 | count_type_elements, add_var_to_bind_expr, is_essa_node, | |
5693 | expand_stack_alloc, expand_stack_save, | |
5694 | expand_stack_restore, add_case_node, operand_equal_p, | |
5695 | nondestructive_fold_unary_to_constant, | |
5696 | nondestructive_fold_binary_to_constant, | |
5697 | fold_read_from_constant_string, int_const_binop, | |
5698 | strip_float_extensions, simplify_builtin, c_strlen, | |
5699 | recompute_tree_invarant_for_addr_expr, | |
5700 | needs_to_live_in_memory, make_vector, | |
5701 | setjmp_vars_warning, update_alignment_for_field, | |
5702 | expand_asm_expr, asm_op_is_mem_input, | |
5703 | containing_blocks_have_cleanups_or_stack_level, | |
5704 | create_artificial_label, gimplify_function_tree, | |
5705 | get_name, unshare_expr, walk_tree, | |
5706 | walk_tree_without_duplicates, in_gimple_form): Declare. | |
5707 | (struct tree_exp): Add fields locus and block. | |
5708 | (struct tree_ssa_name, struct edge_def, struct | |
5709 | tree_phi_node, struct tree_eref_common, struct | |
5710 | tree_euse_node, struct ephi_arg_d, struct tree_ephi_node, | |
5711 | union alias_var_def, struct tree_statement_list_node, | |
5712 | struct tree_statement_list, enum operand_equal_flag): Declare. | |
5713 | (enum tree_node_structure_enum): Add TS_SSA_NAME, | |
5714 | TS_PHI_NODE, TS_EPHI_NODE, TS_EUSE_NODE, TS_EREF_NODE, | |
5715 | TS_STATEMENT_LIST. | |
5716 | (union tree_node): Add fields ssa_name, phi, eref, ephi, | |
5717 | euse and stmt_list. | |
5718 | (function_cannot_inline_p, uninitialized_vars_warning, | |
5719 | save_for_inline, output_inline_function, all_cases_count, | |
5720 | check_for_full_enumeration_handling, | |
5721 | declare_nonlocal_label): Remove. | |
5722 | (enum tree_dump_index): Add TDI_none, TDI_tu, | |
5723 | TDI_generic, TDI_nested, TDI_vcg, TDI_xml. | |
5724 | * unroll.c (unroll_loop): Don't clear map->inline_target. | |
5725 | * unwind-sjlj.c (uw_install_context): Make a proper static inline | |
5726 | function. | |
5727 | * value-prof.c (value_prof_hooks): New. | |
5728 | (find_values_to_profile): Rename to rtl_find_values_to_profile. | |
5729 | Move rtl-specific bits in from branch_prob. | |
5730 | (value_profile_transformations): Rename to | |
5731 | rtl_value_profile_transformations. | |
5732 | (struct value_prof_hooks): New. | |
5733 | (rtl_value_prof_hooks): New. | |
5734 | (rtl_register_value_prof_hooks): New. | |
5735 | (tree_find_values_to_profile): New stub. | |
5736 | (tree_value_profile_transformations): New stub. | |
5737 | (tree_value_prof_hooks): New stub. | |
5738 | (tree_register_value_prof_hooks): New stub. | |
5739 | (find_values_to_profile): New. | |
5740 | (value_profile_transformations): New. | |
5741 | * value-prof.h: Add multiple inclusion guard. | |
5742 | (struct histogram_value): Change rtx fields to void *. | |
5743 | (rtl_register_value_prof_hooks): New declaration. | |
5744 | (tree_register_value_prof_hooks): New declaration. | |
5745 | (find_values_to_profile): New declaration. | |
5746 | (free_profiled_values): New declaration. | |
5747 | (value_profile_transformations): New declaration. | |
5748 | (struct profile_hooks): New declaration. | |
5749 | (init_branch_prob): Declaration moved from rtl.h. | |
5750 | (branch_prob): Declaration moved from rtl.h. | |
5751 | (end_branch_prob): Declaration mooved from rtl.h. | |
5752 | (tree_register_profile_hooks): New declaration. | |
5753 | (rtl_register_profile_hooks): New declaration. | |
5754 | (tree_profile_hooks): New declaration. | |
5755 | (rtl_profile_hooks): New declaration. | |
5756 | * varasm.c: Include tree-mudflap.h. | |
5757 | (TRAMPOLINE_ALIGNMENT): Remove. | |
5758 | (make_decl_rtl): Call mudflap_enqueue_decl. | |
5759 | (assemble_static_space): | |
5760 | (assemble_trampoline_template): Set and return | |
5761 | TRAMPOLINE_ALIGNMENT. | |
5762 | * varray.c (element): Add GENERIC_PTR_NOGC entry. | |
5763 | Add entry for 'tree *'. | |
5764 | Add entry for struct edge_def *. | |
5765 | (varray_copy): New. | |
5766 | * varray.h (enum varray_data_enum): Add | |
5767 | VARRAY_DATA_GENERIC_NOGC, VARRAY_DATA_EDGE and | |
5768 | VARRAY_DATA_TREE_PTR. | |
5769 | (union varray_data_tag): Corresponding changes. | |
5770 | (VARRAY_GENERIC_PTR_NOGC_INIT, VARRAY_EDGE_INIT, | |
5771 | VARRAY_TREE_PTR_INIT, VARRAY_GENERIC_PTR_NOGC, | |
5772 | VARRAY_EDGE, VARRAY_TREE_PTR, | |
5773 | VARRAY_PUSH_GENERIC_PTR_NOGC, VARRAY_PUSH_EDGE, | |
5774 | VARRAY_PUSH_TREE_PTR, VARRAY_TOP_GENERIC_PTR_NOGC, | |
5775 | VARRAY_TOP_EDGE, VARRAY_TOP_TREE_PTR): Define. | |
5776 | ||
5777 | * config/*/*: Various updates for changed macros, tree | |
5778 | codes, etc. Check ChangeLog.tree-ssa. | |
5779 | ||
5780 | * doc/cfg.texi: New file. | |
5781 | * doc/tree-ssa.texi: New file. | |
5782 | * doc/c-tree.texi: Document new codes. | |
5783 | * doc/gccint.texi: Include new files. | |
5784 | * doc/install.texi: Document new features. | |
5785 | * doc/invoke.texi: Document new switches. | |
5786 | * doc/passes.texi: Document new passes. | |
5787 | * doc/rtl.texi: Update changed RTL codes. | |
5788 | * doc/sourcebuild.texi: Update build instructions. | |
5789 | * doc/standards.texi: Document Fortran changes. | |
5790 | * doc/tm.texi: Update. | |
5791 | ||
5eaad481 PB |
5792 | 2004-05-12 Paolo Bonzini <bonzini@gnu.org> |
5793 | ||
5794 | Replace several arrays with a struct of arrays. | |
90afe2c9 ZW |
5795 | * combine.c (struct reg_stat): New. |
5796 | (init_reg_last_arrays): Renamed to... | |
5797 | (init_reg_last): ...this. Callers adjusted. | |
5798 | (reg_stat): New. | |
5799 | (combine_instructions): Allocate it and use it. | |
5800 | (reg_last_death, reg_last_set, reg_last_set_value, | |
5801 | reg_last_set_label, reg_last_set_table_tick, | |
5802 | reg_last_set_invalid, reg_nonzero_bits, reg_sign_bit_copies, | |
5803 | reg_last_set_mode, reg_last_set_nonzero_bits, | |
5804 | reg_last_set_sign_bit_copies): Replace throughout | |
5805 | with items of reg_stat. | |
5eaad481 | 5806 | |
e51f9159 KK |
5807 | 2004-05-11 Kaz Kojima <kkojima@gcc.gnu.org> |
5808 | ||
5809 | PR optimization/15100 | |
5810 | * combine.c (distribute_notes): Don't create a dangling | |
5811 | REG_LIBCALL/REG_RETVAL note. | |
5812 | ||
6a599451 AH |
5813 | 2004-05-11 Aldy Hernandez <aldyh@redhat.com> |
5814 | ||
5815 | * config/rs6000/spe.md (spe_evneg): Rename to negv2si2. | |
5816 | ||
5817 | * config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to | |
5818 | negv2si2. | |
5819 | ||
425a2bde AH |
5820 | 2004-05-11 Aldy Hernandez <aldyh@redhat.com> |
5821 | ||
5822 | * doc/md.texi (Standard Names): Fix typo in vec_init description. | |
5823 | ||
bed7b8f1 GK |
5824 | 2004-05-11 Geoffrey Keating <geoffk@apple.com> |
5825 | ||
5826 | * doc/gty.texi (GTY Options): Clarify example. | |
5827 | ||
7958a2a6 FJ |
5828 | 2004-05-11 Fariborz Jahanian <fjahanian@apple.com> |
5829 | ||
5830 | * config/rs6000/rs6000.c (rs6000_handle_altivec_attribute): | |
5831 | Add const qualifier to altivec vector type if one is needed. | |
5832 | ||
32770746 PB |
5833 | 2004-05-11 Paul Brook <paul@codesourcery.com> |
5834 | ||
5835 | * flags.h (flag_short_enums): Update comment. | |
5836 | * opts.c (decode_options): Set flag_short_enums to 2. | |
5837 | * toplev.c (flag_short_enums): Update comment. | |
5838 | (process_options): Call default_short_enums target hook. | |
5839 | ||
78f59f3e AP |
5840 | 2004-05-11 Andrew Pinski <pinskia@gcc.gnu.org> |
5841 | ||
5842 | PR target/14063 | |
5843 | * config/rs6000/altivec.md (altivec_dssall): | |
5844 | Change to unspec_volatile. | |
5845 | (altivec_dss): Likewise. | |
5846 | ||
39302b6a AH |
5847 | 2004-05-10 Aldy Hernandez <aldyh@redhat.com> |
5848 | ||
5849 | * config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to | |
5850 | vnor. | |
5851 | ("one_cmplv8hi2"): Same. | |
5852 | ("one_cmplv4si2"): Same. | |
5853 | ||
726d4cb7 KK |
5854 | 2004-05-10 Kaz Kojima <kkojima@gcc.gnu.org> |
5855 | ||
5856 | PR target/15130 | |
5857 | * config/sh/sh-protos.h (sh_expand_epilogue): Change prototype. | |
5858 | * config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue | |
5859 | into account. Compute the correct number of general registers | |
5860 | for the return value. Generate a special push/pop sequence when | |
5861 | failing to get a temporary register for non SHmedia epilogue. | |
5862 | (sh_expand_epilogue): Add an argument to show whether it's for | |
5863 | sibcall or not. Set the 3rd argument of output_stack_adjust to | |
5864 | -1 if needed. | |
5865 | (sh_need_epilogue): Call sh_expand_epilogue with 0. | |
5866 | * config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue | |
5867 | with 1. | |
5868 | (epilogue): Call sh_expand_epilogue with 0. | |
5869 | ||
0c196bf9 AP |
5870 | 2004-05-10 Andrew Pinski <pinskia@physics.uc.edu> |
5871 | ||
5872 | * gcse.c (eliminate_partially_redundant_loads): Instead of returning early, | |
5873 | goto a cleanup label. After the cleanup, free the allocated memory. | |
5874 | ||
16cfa3dc ZL |
5875 | 2004-05-10 Ziemowit Laski <zlaski@apple.com> |
5876 | ||
5877 | * config/rs6000/altivec.h (vec_sld): Add overloads for | |
5878 | argument/return types of 'vector bool int', 'vector bool short' | |
5879 | and 'vector bool char'. | |
5880 | ||
3358cae0 ZW |
5881 | 2004-05-10 Zack Weinberg <zack@codesourcery.com> |
5882 | ||
5883 | * c-decl.c (store_parm_decls_newstyle): Correct test for a | |
5884 | nested function. | |
5885 | ||
62d45923 RS |
5886 | 2004-05-10 Richard Sandiford <rsandifo@redhat.com> |
5887 | ||
5888 | * read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted, | |
5889 | treating missing ones as "". | |
5890 | * config/mips/mips.md: Remove constraints from match_operands and | |
5891 | match_scratches if they appear in define_expands (except reload*), | |
5892 | define_peephole2s, define_splits or attribute specifications. | |
5893 | * config/mips/7000.md, config/mips/sb1.md: Remove match_operand | |
5894 | constraint strings. | |
5895 | ||
b2d04ecf AM |
5896 | 2004-05-10 Alan Modra <amodra@bigpond.net.au> |
5897 | ||
5898 | * config/rs6000/rs6000.c (function_arg_boundary): Always align | |
5899 | AltiVec vectors. | |
5900 | (function_arg_advance): Pass TARGET_32BIT -mabi=no-altivec AltiVec | |
5901 | vectors by refererence. Align the same for TARGET_64BIT to a 16 | |
5902 | byte boundary. Remove useless code. Add function comment. | |
5903 | (function_arg): Similarly. Move gpr rs6000_mixed_function_arg | |
5904 | call to where it belongs. | |
5905 | (function_arg_partial_nregs): Return true for all TARGET_32BIT | |
5906 | -mabi=no-altivec AltiVec vectors. Fix debug output. | |
5907 | (rs6000_va_arg): Adjust for AltiVec change. | |
5908 | ||
b6685939 PB |
5909 | 2004-05-10 Paul Brook <paul@codesourcery.com> |
5910 | ||
5911 | * config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. | |
5912 | * config/arm/arm.h (TARGET_AAPCS_BASED): Define. | |
5913 | (TARGET_DOUBLEWORD_ALIGN): Use it. | |
5914 | (WCHAR_TYPE): Define. | |
5915 | (WCHAR_SIZE_TYPE): Define. | |
5916 | (SIZE_TYPE): Define. | |
5917 | ||
4ed78545 AM |
5918 | 2004-05-10 Alan Modra <amodra@bigpond.net.au> |
5919 | ||
5920 | * config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4 | |
5921 | when size is 8 bytes. | |
5922 | (function_arg_advance): Account for stack space used by AltiVec | |
3358cae0 | 5923 | args when -mabi=altivec. Simplify alignment calculations. For |
4ed78545 AM |
5924 | ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec. |
5925 | (function_arg): Similarly. | |
5926 | (function_arg_pass_by_reference): True for ABI_V4 AltiVec when | |
5927 | not AltiVec ABI. | |
5928 | (rs6000_va_arg): Correct fp arg test. Adjust for AltiVec change. | |
5929 | Correct alignment, and align before testing reg count. Remove | |
5930 | TREE_THIS_VOLATILE from reg. Don't emit unused labels. | |
5931 | (rs6000_complex_function_value): Check TARGET_HARD_FLOAT and | |
5932 | TARGET_FPRS here.. | |
5933 | (rs6000_function_value): .. not here before call. | |
5934 | ||
f350ff00 AH |
5935 | 2004-05-09 Aldy Hernandez <aldyh@redhat.com> |
5936 | ||
5937 | * config/rs6000/spe.md ("tstsflt_gpr"): Fix typo in unspec. | |
5938 | ||
eecec698 ZW |
5939 | 2004-05-09 Zack Weinberg <zack@codesourcery.com> |
5940 | ||
5941 | PR 15007 | |
5942 | * c-decl.c (current_file_decl): Rename to all_translation_units, | |
5943 | adjust comment. | |
5944 | (pop_scope): If popping file_scope, construct a | |
5945 | TRANSLATION_UNIT_DECL and make it the context of all the | |
5946 | symbols in the scope. | |
5947 | (push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here. | |
5948 | (pushdecl): Clarify comment. Do not set DECL_CONTEXT of | |
5949 | anything to current_file_decl. | |
5950 | (pushdecl_top_level): Likewise. | |
5951 | (store_parm_decls_newstyle): Adjust check for nested function. | |
4ed78545 AM |
5952 | (c_write_global_declarations): Update for renamed variable. |
5953 | ||
2aa4498c AH |
5954 | 2004-05-09 Aldy Hernandez <aldyh@redhat.com> |
5955 | ||
5956 | * config/rs6000/rs6000-protos.h | |
5957 | (rs6000_conditional_register_usage): Protoize. | |
5958 | ||
5959 | * config/rs6000/rs6000.c (rs6000_conditional_register_usage): New. | |
5960 | ||
5961 | * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Call | |
5962 | function. | |
5963 | ||
8dc2384c RS |
5964 | 2004-05-08 Roger Sayle <roger@eyesopen.com> |
5965 | ||
5966 | * fold-const.c (fold_div_compare): New function to optimize X/C1 op C2 | |
5967 | where op is a comparison operator and C1 and C2 are integer constants | |
5968 | into a range check. | |
5969 | (fold): Call fold_div_compare. | |
5970 | ||
ae81c844 EB |
5971 | 2004-05-08 Eric Botcazou <ebotcazou@libertysurf.fr> |
5972 | ||
5973 | * doc/install.texi (sparc-sun-solaris2*): Document bootstrap | |
5974 | problems with earlier versions of the GNU compiler. | |
5975 | ||
0d1fbc8c AH |
5976 | 2004-05-07 Aldy Hernandez <aldyh@redhat.com> |
5977 | ||
5978 | * config/rs6000/rs6000-protos.h (rs6000_hard_regno_mode_ok_p): | |
5979 | Declare. | |
5980 | ||
5981 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok_p): New. | |
5982 | (rs6000_hard_regno_mode_ok): New. | |
5983 | (rs6000_init_hard_regno_mode_ok): New. | |
5984 | (rs6000_override_options): Call rs6000_init_hard_regno_mode_ok. | |
5985 | ||
5986 | * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Use precomputed | |
5987 | result. | |
5988 | ||
f95d9272 ZL |
5989 | 2004-05-07 Ziemowit Laski <zlaski@apple.com> |
5990 | ||
5991 | * config/rs6000/altivec.h (vector, pixel, bool): Do not | |
5992 | define as macros #ifdef __APPLE_ALTIVEC__. | |
5993 | ||
5994 | 2004-05-07 Fariborz Jahanian <fjahanian@apple.com> | |
5995 | ||
36a454e1 FJ |
5996 | * config/rs6000/rs6000.c (rs6000_mixed_function_arg): |
5997 | Generate appropriate parallels for vector arguments | |
5998 | passed to vararg functions. (function_arg): make the call | |
5999 | to rs6000_mixed_function_arg for vector args as needed. | |
eecec698 | 6000 | |
f7dbd289 RS |
6001 | 2004-05-07 Richard Sandiford <rsandifo@redhat.com> |
6002 | ||
6003 | * config/mips/mips.c (mips_va_arg): Fix calculation of osize for | |
6004 | EABI_FLOAT_VARARGS_P. | |
6005 | ||
5c8a81d5 RS |
6006 | 2004-05-07 Richard Sandiford <rsandifo@redhat.com> |
6007 | ||
6008 | * config/mips/mips.h (ISA_HAS_BRANCHLIKELY): Remove TARGET_MIPS5500. | |
6009 | * config/mips/mips.c (override_options): Disable branch likely | |
6010 | instructions if TUNE_MIPS5500. | |
6011 | ||
9045f39a RS |
6012 | 2004-05-07 Richard Sandiford <rsandifo@redhat.com> |
6013 | ||
6014 | * config/mips/mips.c (override_options): Allow the hi and lo registers | |
6015 | to store any integral mode, not just MODE_INTs. | |
6016 | ||
bc21b3f3 PB |
6017 | 2004-05-07 Paul Brook <paul@codesourcery.com> |
6018 | ||
6019 | * config/arm/arm.c (arm_promote_prototypes): Use TARGET_AAPCS_BASED. | |
6020 | * config/arm/arm.h (TARGET_AAPCS_BASED): Define. | |
6021 | (TARGET_DOUBLEWORD_ALIGN): Use it. | |
6022 | (WCHAR_TYPE): Define. | |
6023 | (WCHAR_SIZE_TYPE): Define. | |
6024 | (SIZE_TYPE): Define. | |
6025 | ||
2484cc35 UB |
6026 | 2004-05-07 Uros Bizjak <uros@kss-loka.si> |
6027 | ||
6028 | * config/i386/i386.c (ix86_emit_fp_unordered_jump): Use | |
6029 | testb $4, %ah insn instead of sahf insn if !TARGET_USE_SAHF. | |
6030 | ||
7600f094 AP |
6031 | 2004-05-07 Andrew Pinski <pinskia@physics.uc.edu> |
6032 | ||
6033 | * loop-doloop.c (doloop_valid_p): Make sure that body | |
6034 | gets freed. | |
6035 | ||
bfb23806 EB |
6036 | 2004-05-07 Eric Botcazou <ebotcazou@act-europe.fr> |
6037 | ||
6038 | * config/sparc/sparc-protos.h (sparc_skip_caller_unimp): New | |
6039 | declaration. | |
6040 | * config/sparc/sparc.c (SKIP_CALLERS_UNIMP_P): Delete. | |
6041 | (sparc_skip_caller_unimp): New global variable. | |
6042 | (sparc_function_epilogue): Set 'sparc_skip_caller_unimp'. | |
6043 | Use it instead of SKIP_CALLERS_UNIMP_P. | |
6044 | * config/sparc/sparc.md (call expander): Add sanity check. | |
6045 | (call_address_struct_value_sp32): Re-sync with expander. | |
6046 | (call_symbolic_struct_value_sp32): Likewise. | |
6047 | (return peepholes): Use 'sparc_skip_caller_unimp' instead | |
6048 | of custom predicate. | |
6049 | ||
92ff0c41 EB |
6050 | 2004-05-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
6051 | ||
6052 | PR c++/14962 | |
6053 | * c-pragma.c (handle_pragma_redefine_extname): Only change | |
6054 | the assembler name of FUNCTION_DECLs and VAR_DECLs. | |
6055 | ||
c2fcfa4f UB |
6056 | 2004-05-07 Uros Bizjak <uros@kss-loka.si> |
6057 | ||
6058 | * optabs.h (enum optab_index): Add new OTI_log1p. | |
6059 | (log1p_optab): Define corresponding macro. | |
6060 | * optabs.c (init_optabs): Initialize log1p_optab. | |
6061 | * genopinit.c (optabs): Implement log1p_optab using log1p?f2 | |
6062 | patterns. | |
6063 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG1P{,F,L} | |
6064 | using log1p_optab. | |
6065 | (expand_builtin): Expand BUILT_IN_LOG1P{,F,L} using | |
6066 | expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
6067 | ||
6068 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2XP1. | |
6069 | ||
6070 | * config/i386/i386.c (ix86_emit_i387_log1p): New function. | |
6071 | * config/i386/i386-protos.h (ix86_emit_i387_log1p): | |
6072 | Prototype here. | |
6073 | * config/i386/i386.md (UNSPEC_FYL2XP1): New unspec to represent | |
6074 | x87's fyl2xp1 instruction. | |
6075 | (*fyl2x_xf3): Rename insn definition to fyl2x_xf3. | |
6076 | (fyl2xp1_xf3): New pattern to implement fyl2xp1 x87 instruction. | |
6077 | (log1psf2, log1pdf2, log1pxf2): New expanders to implement log1pf, | |
6078 | log1p and log1pl built-ins as inline x87 intrinsics. | |
6079 | ||
4d980568 LR |
6080 | 2004-05-07 Loren James Rittle <ljrittle@acm.org> |
6081 | ||
3c4392aa | 6082 | * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Proper redefinition. |
4d980568 LR |
6083 | * config/arm/freebsd.h: Likewise. |
6084 | * config/ia64/freebsd.h: Likewise. | |
6085 | * config/sparc/freebsd.h: Likewise. | |
6086 | ||
afce2847 HPN |
6087 | 2004-05-07 Hans-Peter Nilsson <hp@axis.com> |
6088 | ||
6089 | PR optimization/15296 | |
6090 | * reorg.c (fill_simple_delay_slots): Use next_real_insn when | |
6091 | getting last consecutive label at a branch. | |
6092 | (relax_delay_slots): Similar, near top of loop. | |
6093 | ||
9acf97b6 JDA |
6094 | 2004-05-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6095 | ||
6096 | PR target/15202 | |
6097 | * pa.md (movdi, movsi, movhi, movqi): Support move from shift amount | |
6098 | register to general register. | |
6099 | ||
19fb36e3 AM |
6100 | 2004-05-07 Alan Modra <amodra@bigpond.net.au> |
6101 | ||
6102 | * config/rs6000/rs6000.h (STACK_BOUNDARY): Use 128 bit for either | |
6103 | TARGET_ALTIVEC or TARGET_ALTIVEC_ABI. | |
6104 | * config/rs6000/sysv4.h (ABI_STACK_BOUNDARY): Likewise. | |
6105 | (STACK_BOUNDARY): Delete. | |
6106 | ||
db643b91 | 6107 | 2004-05-06 Stuart Hastings <stuart@apple.com> |
2484cc35 | 6108 | |
db643b91 SH |
6109 | * gcc/doc/invoke.texi: Restore -fgcse-after-reload doc from 1.421, |
6110 | mistakenly clobbered by 1.423. | |
19fb36e3 | 6111 | |
dc884a86 RS |
6112 | 2004-05-06 Richard Sandiford <rsandifo@redhat.com> |
6113 | ||
6114 | * doc/invoke.texi: Document -mvr4130-align. | |
6115 | * config/mips/mips.h (MASK_VR4130_ALIGN, TARGET_VR4130_ALIGN) | |
6116 | (TUNE_MIPS4120, TUNE_MIPS4130): New macros. | |
6117 | (TUNE_MACC_CHAINS): Include TUNE_MIPS4120 and TUNE_MIPS4130. | |
6118 | (TARGET_SWITCHES): Add -mvr4130-align and -mno-vr4130-align. | |
6119 | * config/mips/mips.md: Include sched-int.h. | |
6120 | (USEFUL_INSN_P, SEQ_BEGIN, SEQ_END, FOR_EACH_SUBINSN): New macros. | |
6121 | (mips_rtx_costs): Set integer multiplication costs for TUNE_MIPS4130. | |
6122 | (override_options): Enable -mvr4130-align at -O3 and above. | |
6123 | (mips_sim_insn): New variable. | |
6124 | (mips_sim): New structure. | |
6125 | (mips_sim_reset, mips_sim_init, mips_sim_next_cycle, mips_sim_wait_reg) | |
6126 | (mips_sim_wait_regs_2, mips_sim_wait_regs_1, mips_sim_wait_regs) | |
6127 | (mips_sim_wait_units, mips_sim_wait_insn, mips_sim_record_set) | |
6128 | (mips_sim_issue_insn, mips_sim_issue_nop, mips_sim_finish_insn) | |
6129 | (vr4130_avoid_branch_rt_conflict, vr4130_align_insns): New functions. | |
6130 | (mips_reorg): Call vr4130_align_insns. | |
6131 | (vr4130_last_insn): New variable. | |
6132 | (vr4130_true_reg_dependence_p_1, vr4130_true_reg_dependence_p) | |
6133 | (vr4130_swap_insns_p, vr4130_reorder): New functions. | |
6134 | (mips_sched_reorder, mips_variable_issue): Hook in vr4130 code. | |
6135 | (mips_issue_rate): Return 2 for PROCESSOR_R4130. | |
6136 | (mips_use_dfa_pipeline_interface): Return true for the same. | |
6137 | * config/mips/4130.md: New file. | |
6138 | * config/mips/mips.md: Include it. Add a peephole2 to convert | |
6139 | "mult;mflo" into "mtlo;macc". | |
6140 | (*macc, *umul_acc_di, *smul_acc_di): Use $1 rather than $0 as the | |
6141 | target of maccs. | |
6142 | (*msac_using_macc): New pattern. | |
6143 | ||
615ccdd3 RS |
6144 | 2004-05-06 Richard Sandiford <rsandifo@redhat.com> |
6145 | ||
6146 | * config/mips/5500.md (ir_vr55_store): Set latency to 0. | |
6147 | (ir_vr55_hilo): Split into... | |
6148 | (ir_vr55_mfhilo, ir_vr55_mthilo): ...these new reservations. | |
6149 | (ir_vr55_imul_si, ir_vr55_imadd): Change latency to 5. | |
6150 | (ir_vr55_imul_di): Change latency to 9. Reserve vr55_mac for 4 cycles. | |
6151 | Add various multiplication bypasses. | |
6152 | * config/mips/mips.c (mips_rtx_costs): Adjust VR5500 costs for integer | |
6153 | multiplication. | |
6154 | ||
152e3565 UB |
6155 | 2004-05-06 Uros Bizjak <uros@kss-loka.si> |
6156 | ||
6157 | * config/i386/i386.md (*fscalexf4): Correct insn "mode" | |
6158 | attribute to "XF". | |
6159 | ||
5ae27cfa UB |
6160 | 2004-05-05 Uros Bizjak <uros@kss-loka.si> |
6161 | ||
6162 | * optabs.h (enum optab_index): Add new OTI_fmod and OTI_drem. | |
152e3565 | 6163 | (fmod_optab, drem_optab): Define corresponding macros. |
5ae27cfa UB |
6164 | * optabs.c (init_optabs): Initialize fmod_optab and drem_optab. |
6165 | * genopinit.c (optabs): Implement fmod_optab and drem_optab | |
6166 | using fmod?f3 and drem?f3 patterns. | |
6167 | * builtins.c (expand_builtin_mathfn_2): Handle BUILT_IN_FMOD{,F,L} | |
6168 | using fmod_optab and BUILT_IN_DREM{,F,L} using drem_optab. | |
6169 | (expand_builtin): Expand BUILT_IN_FMOD{,F,L} and | |
6170 | BUILT_IN_DREM{,F,L} using expand_builtin_mathfn_2 if | |
6171 | flag_unsafe_math_optimizations is set. | |
6172 | ||
6173 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FPREM_F, | |
6174 | UNSPEC_FPREM_U, UNSPEC_FPREM1_F and UNSPEC_FPREM1_U. | |
6175 | ||
6176 | * config/i386/i386.c (ix86_emit_fp_unordered_jump): New function. | |
6177 | * config/i386/i386-protos.h (ix86_emit_fp_unordered_jump): | |
6178 | Prototype here. | |
6179 | * config/i386/i386.md (UNSPEC_FPREM_F, UNSPEC_FPREM_U, | |
6180 | UNSPEC_FPREM1_F, UNSPEC_FPREM1_U): New unspecs to represent x87's | |
6181 | fprem and fprem1 instructions. | |
6182 | (*x86_fnstsw_1): Change input parameter to (reg:CCFP 18). | |
6183 | Rename insn definition to x86_fnstsw_1. | |
6184 | (fpremxf4, fprem1xf4): New patterns to implement fprem and fprem1 | |
6185 | x87 instructions. | |
6186 | (fmodsf3, fmoddf3, fmodxf3): New expanders to implement fmodf, fmod | |
6187 | and fmodl built-ins as inline x87 intrinsics. | |
6188 | (dremsf3, dremdf3, dremxf3): New expanders to implement dremf, drem | |
6189 | and dreml built-ins as inline x87 intrinsics. | |
6190 | ||
cf9c6ca5 RS |
6191 | 2004-05-05 Roger Sayle <roger@eyesopen.com> |
6192 | ||
6193 | * reload1.c (inherit_piecemeal_p): Mark parameters potentially unused. | |
6194 | ||
32dd2dc9 ILT |
6195 | 2004-05-05 Ian Lance Taylor <ian@wasabisystems.com> |
6196 | ||
6197 | PR driver/9822 | |
6198 | * doc/invoke.texi (Spec Files): Remove documentation of %c. | |
6199 | ||
4a6f766d CD |
6200 | 2004-05-05 Chris Demetriou <cgd@broadcom.com> |
6201 | ||
6202 | * config/mips/mips.md: Update the msub define_split for new mflo/mfhi | |
6203 | representation. | |
6204 | ||
fdd695fd PB |
6205 | 2004-05-06 Paul Brook <paul@codesourcery.com> |
6206 | ||
6207 | * config/arm/arm-protots.h (vfp_mem_operand): Rename ... | |
6208 | (arm_coproc_mem_operand): ... To this. | |
6209 | * config/arm/arm.c (arm_legitimate_address_p): Allow ldrd modes. | |
6210 | (arm_legitimate_index_p): Ditto. | |
6211 | (vfp_mem_operand): Rename ... | |
6212 | (arm_coproc_mem_operand): ... To this. Handle writeback modes. | |
6213 | (vfp_secondary_reload_class): Use it. | |
6214 | (output_move_double): Use doubleword load/store instructions. | |
6215 | (arm_hard_regno_mode_ok): Only allow even reg pairs for ldrd. | |
6216 | * config/arm/arm.h (TARGET_LDRD): Define. | |
6217 | (EXTRA_CONSTRAINT_STR_ARM): Add 'Uy'. | |
6218 | * config/gcc/arm/arm.md (arm_movdi): Allow all valid memory operands. | |
6219 | New splitter for invalid doubleword loads. | |
6220 | * config/arm/iwmmxt.md (iwmmxt_arm_movdi): Use Uy constraint. | |
6221 | * config/arm/vfp.md (arm_movdi_vfp): Allow all valid memory operands. | |
6222 | * doc/md.texi: Document Uy constraint. | |
6223 | ||
59af0b6a JH |
6224 | 2004-05-05 Jan Hubicka <jh@suse.cz> |
6225 | ||
6226 | PR opt/14980 | |
6227 | * cgraphunit.c (cgraph_remove_unreachable_nodes): Deal properly with | |
6228 | inline clones. | |
6229 | ||
9953b5e1 L |
6230 | 2004-05-05 H.J. Lu <hongjiu.lu@intel.com> |
6231 | ||
6232 | PR target/15290 | |
6233 | * config/i386/i386.c (ix86_split_to_parts): Use real_to_target | |
6234 | instead of REAL_VALUE_TO_TARGET_LONG_DOUBLE. | |
6235 | ||
e3c287c9 MS |
6236 | 2004-05-05 Mike Stump <mrs@apple.com> |
6237 | ||
6238 | * config/darwin-c.c (add_framework): Copy the directory name as it | |
6239 | can be freed later. Also, ensure we always allocate enough room | |
6240 | for the cached framework information. | |
6241 | (find_subframework_header): Keep track of the directory where the | |
6242 | subframework header was found. | |
6243 | (framework_construct_pathname): Speed up by not trying to re-add a | |
6244 | framework. | |
6245 | * cppfiles.c (search_path_exhausted): Arrange for the missing | |
6246 | header callback to be able to set the directory where the header | |
6247 | was found. | |
6248 | (cpp_get_dir): Add. | |
6249 | * cpplib.h (missing_header_cb): Add a parameter. | |
6250 | (cpp_get_dir): Add. | |
6251 | ||
6252 | 2004-05-03 Mike Stump <mrs@apple.com> | |
4bed3787 MS |
6253 | |
6254 | * doc/invoke.texi (Directory Options): Document -iquote. | |
6255 | * doc/cpp.texi: Likewise. | |
6256 | * doc/cppopts.texi: Likewise. | |
6257 | * c-opts.c (c_common_missing_argument): Add -iquote processing. | |
6258 | (c_common_handle_option): Likewise. | |
6259 | * c.opt (iquote): Add. | |
6260 | * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add -iquote. | |
6261 | * c-incpath.c (merge_include_chains): Update comment to use -iquote. | |
6262 | ||
6263 | * c-opts.c (case OPT_I): Deprecate -I- support. | |
6264 | * doc/invoke.texi: Likewise. | |
6265 | * doc/cpp.texi: Likewise. | |
6266 | * doc/cppopts.texi: Likewise. | |
6267 | ||
bb8a619e SB |
6268 | 2004-05-05 Steven Bosscher <stevenb@suse.de> |
6269 | ||
6270 | * basic-block.h (free_basic_block_vars): Update prototype. | |
6271 | * flow.c (free_basic_block_vars): Remove the keep_head_end_p | |
6272 | argument. | |
6273 | (life_analysis): Update call. | |
6274 | * ifcvt.c (if_convert): Likewise. | |
6275 | * sibcall.c (optimize_sibling_and_tail_recursive_call): Likewise. | |
6276 | * passes.c (rest_of_handle_final): Likewise. | |
6277 | (rest_of_compilation): Likewise. | |
6278 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
6279 | ||
6280 | * emit-rtl.c (next_real_insn): Use INSN_P. | |
6281 | (prev_real_insn): Likewise. | |
6282 | ||
2e592dce EC |
6283 | 2004-05-05 Eric Christopher <echristo@redhat.com> |
6284 | ||
6285 | * config/mips/mips.md: Update the madd define_split for new mflo/mfhi | |
6286 | representation. | |
6287 | ||
7c62e993 PB |
6288 | 2004-05-05 Paolo Bonzini <bonzini@gnu.org> |
6289 | ||
6290 | * config/rs6000/rs6000.c (build_opaque_vector_type): | |
6291 | New function. | |
6292 | (rs6000_init_builtins): Use it. | |
6293 | ||
87fac4e3 BG |
6294 | 2004-05-04 Bernard Giroud <bgiroud2@free.fr> |
6295 | ||
6296 | * gcc/gcc/vmsdbgout.c (vms_func_node, vms_func_ref): New. | |
6297 | (func_table): Change type from char ** to vms_func_ref. | |
6298 | (write_rtnbeg): Update to reflect func_table change. Use | |
6299 | fde->funcdef_number instead of rtnnum in output. | |
6300 | (write_rtnend, vmxdbgout_begin_function, vmsdbgout_init): Likewise. | |
6301 | ||
cc27e657 PB |
6302 | 2004-05-04 Paolo Bonzini <bonzini@gnu.org> |
6303 | Richard Henderson <rth@redhat.com> | |
6304 | ||
6305 | PR target/14899 | |
6306 | ||
6307 | * c-common.c (vector_types_convertible_p): New function. | |
6308 | * c-typeck.c (comptypes): Recurse on vector types. | |
6309 | (convert_for_assignment): Use vector_types_convertible_p. | |
6310 | (digest_init): Use vector_types_convertible_p to check | |
6311 | validness of constant vector initializers; otherwise treat | |
6312 | them as scalars. | |
6313 | * tree.c (make_or_reuse_type): New. | |
6314 | (build_common_tree_nodes): Use it. | |
6315 | * cp/call.c (standard_conversion): Likewise. | |
6316 | * cp/typeck.c (comptypes): Recurse on vector types. | |
6317 | (convert_for_assignment): Use vector_types_convertible_p. | |
cc27e657 | 6318 | |
6fc8a30a CD |
6319 | 2004-05-04 Chris Demetriou <cgd@broadcom.com> |
6320 | ||
6321 | * config/mips/mips.c (override_options): Default to no | |
6322 | generation of branch-likely operations when tuning for | |
6323 | CPUs where they tend to have a negative performance impact | |
6324 | (e.g., SB-1). | |
6325 | ||
6c89c39a RK |
6326 | 2004-05-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6327 | ||
6328 | * expr.c (store_constructor_field): Don't call store_constructor | |
6329 | if bitsize is not a multiple of a byte. | |
6330 | ||
b5ba341f RS |
6331 | 2004-05-04 Richard Sandiford <rsandifo@redhat.com> |
6332 | ||
6333 | * reload1.c (inherit_piecemeal_p): New function. | |
6334 | (emit_reload_insns): When reloading a group of hard registers, use | |
6335 | inherit_piecemeal_p to decide whether the values of individual hard | |
6336 | registers can be inherited. | |
6337 | ||
c6c8779b L |
6338 | 2004-05-04 H.J. Lu <hongjiu.lu@intel.com> |
6339 | ||
6340 | * config/ia64/t-ia64 (LIB2ADDEH): Remove gthr-gnat.c. | |
6341 | * config/s390/t-tpf (LIB2ADDEHDEP): Likewise. | |
6342 | * config/t-linux (LIB2ADDEHDEP): Likewise. | |
6343 | ||
82c732f9 PB |
6344 | 2004-05-04 Paul Brook <paul@codesourcery.com> |
6345 | ||
6346 | * config/arm/crti.asm: Push an even number of registers. | |
6347 | * config/arm/crtn.asm: And restore them. Load via sp. | |
6348 | ||
92e838e2 PB |
6349 | 2004-05-04 Paolo Bonzini <bonzini@gnu.org> |
6350 | ||
6351 | * ggc-zone.c (ggc_alloc_zone_1): Add MEM_STAT_DECL parameter. | |
6352 | Collect overhead information. | |
6353 | (ggc_alloc_stat): New name of ggc_alloc. Add MEM_STAT_DECL | |
6354 | parameter and pass it through. | |
6355 | (ggc_alloc_typed_stat): New name of ggc_alloc_typed. Add | |
6356 | MEM_STAT_DECL parameter and pass it through. | |
6357 | (ggc_alloc_zone_stat): New name of ggc_alloc_zone. Add | |
6358 | MEM_STAT_DECL parameter and pass it through. | |
6359 | ||
d8ecbcdb AH |
6360 | 2004-05-03 Aldy Hernandez <aldyh@redhat.com> |
6361 | ||
6362 | * config/rs6000/rs6000-protos.h: Protoize rs6000_hard_regno_nregs. | |
6363 | ||
6364 | * config/rs6000/rs6000.c (rs6000_hard_regno_nregs): New. | |
6365 | ||
6366 | * config/rs6000/rs6000.h (HARD_REGNO_NREGS): Call | |
6367 | rs6000_hard_regno_nregs. | |
6368 | ||
2f7e5a0d EC |
6369 | 2004-05-03 Eric Christopher <echristo@redhat.com> |
6370 | ||
6371 | * config/s390/s390.c (s390_emit_prologue): Call unspec tpf | |
6372 | prologue insn instead of setting up call. | |
6373 | (s390_emit_epilogue): Ditto. | |
6374 | * config/s390/s390.md (prologue_tpf, epilogue_tpf): New patterns. | |
6375 | (define_constants): Add numbers for above patterns. | |
6376 | ||
38899e29 EC |
6377 | 2004-05-03 Eric Christopher <echristo@redhat.com> |
6378 | ||
6379 | * config/s390/s390.h (CONDITIONAL_REGISTER_USAGE): Move body... | |
6380 | * config/s390/s390.c (s390_conditional_register_usage): ...here. | |
6381 | * config/s390/s390-protos.h: Prototype. | |
6382 | ||
97d62313 JB |
6383 | 2004-05-03 Joe Buck <jbuck@welsh-buck.org> |
6384 | ||
6385 | * cppfiles.c (pchf_adder): Eliminate use of |= in d->have_once_only | |
6386 | assignment. | |
6387 | ||
03a53989 EC |
6388 | 2004-05-03 Eric Christopher <echristo@redhat.com> |
6389 | ||
6390 | * config/mips/mips.md: Fix branch length attribute definition. | |
6391 | ||
318fec6d AH |
6392 | 2004-05-03 Aldy Hernandez <aldyh@redhat.com> |
6393 | ||
6394 | * config.gcc: Remove --enable-altivec support. | |
6395 | ||
6396 | * config/rs6000/altivec-defs.h: Remove. | |
6397 | ||
553cba65 RO |
6398 | 2004-05-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6399 | ||
6400 | * fixinc/inclhack.def (svr4_profil): Don't apply on IRIX 5/6. | |
6401 | * fixinc/fixincl.x: Regenerate. | |
6402 | ||
6adcf89d UB |
6403 | 2004-05-03 Uros Bizjak <uros@kss-loka.si> |
6404 | ||
6405 | * config/i386/i386.md (*fyl2x_sfxf3, *fyl2x_dfxf3): Remove insn | |
6406 | definition. | |
6407 | (log?f2, log10?f2, log2?f2): Reimplement expanders with | |
6408 | float_truncate insn. | |
6409 | (*fxtractsf3, *fxtractdf3): Remove insn definition. | |
6410 | (logb?f2): Reimplement expanders with float_truncate insn. | |
6411 | ||
834eb1f0 GS |
6412 | 2004-05-03 Graham Stott <graham.stott@btinternet.com> |
6413 | ||
6414 | PR 14718 | |
6415 | * dwarf2out.c (dwarf2out_imported_module_or_decl): Use | |
6416 | force_type_die for CONST_DECL. | |
6417 | ||
bb8a619e SB |
6418 | 2004-05-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
6419 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
178af0f3 EB |
6420 | |
6421 | * config.gcc (sparc64-*-solaris2*, sparcv9-*-solaris2*): Add | |
6422 | tm-dwarf2.h to tm_file. | |
6423 | (sparc-*-solaris2*): Add tm-dwarf2.h to tm_file for Solaris 7+. | |
6424 | * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Delete. | |
6425 | (ASM_DEBUG_SPEC): Delete. | |
6426 | ||
7a8e07c7 UB |
6427 | 2004-05-03 Uros Bizjak <uros@kss-loka.si> |
6428 | ||
6429 | * optabs.h (enum optab_index): Add new OTI_expm1. | |
6430 | (expm1_optab): Define corresponding macro. | |
6431 | * optabs.c (init_optabs): Initialize expm1_optab. | |
6432 | * genopinit.c (optabs): Implement expm1_optab using expm1?f2 | |
6433 | patterns. | |
6434 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXPM1{,F,L} | |
6435 | using expm1_optab. | |
6436 | (expand_builtin): Expand BUILT_IN_EXPM1{,F,L} using | |
6437 | expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
6438 | ||
6439 | * config/i386/i386.md (expm1df2, expm1sf2, expm1xf2): New expanders | |
6440 | to implement expm1, expm1f and expm1l built-ins as inline x87 | |
6441 | intrinsics. | |
6442 | ||
5f2b9599 AO |
6443 | 2004-05-02 Alexandre Oliva <aoliva@redhat.com> |
6444 | ||
6445 | 2003-11-19 Richard Sandiford <rsandifo@redhat.com> | |
6446 | * config/frv/frv.md (*return_true, *return_false): New patterns. | |
6447 | ||
1e5b67ff KH |
6448 | 2004-05-02 Kazu Hirata <kazu@cs.umass.edu> |
6449 | ||
6450 | * rtl.h (PHI_NODE_P): Remove. | |
6451 | ||
cfa29a4c EB |
6452 | 2004-05-02 Eric Botcazou <ebotcazou@act-europe.fr> |
6453 | ||
6454 | PR middle-end/14988 | |
6455 | * function.c (assign_stack_local_1): Use BITS_PER_UNIT alignment | |
6456 | when passed -2 as 'align'. | |
6457 | (put_var_into_stack): Use 'bool' as the type for the three local | |
6458 | predicates. Adjust calls to put_reg_into_stack. | |
6459 | When passed a CONCAT, instruct put_reg_into_stack to use | |
6460 | a consecutive stack slot for the second part. | |
6461 | (put_reg_into_stack): Remove 'promoted_mode' parameter, add | |
6462 | 'consecutive_p' parameter. Turn the three predicates into 'bool' | |
6463 | parameters. Retrieve the register mode from 'reg'. | |
6464 | When consecutive_p is true, instruct assign_stack_local_1 to use | |
6465 | BITS_PER_UNIT alignment. | |
6466 | (put_addressof_into_stack): Use 'bool' as the type for the two | |
6467 | local predicates. Adjust call to put_reg_into_stack. | |
6468 | ||
fc627530 KG |
6469 | 2004-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6470 | ||
6471 | * fold-const.c (fold_convert_const, fold): Add missing | |
6472 | FIX_ROUND_EXPR case. | |
6473 | ||
afbe7e61 AO |
6474 | 2004-05-02 Alexandre Oliva <aoliva@redhat.com> |
6475 | ||
9850f34a AO |
6476 | * configure.ac (FLEX, BISON): Only use tools from the build tree |
6477 | if build equals host. | |
6478 | * configure: Rebuilt. | |
6479 | ||
764678d1 AO |
6480 | * config/frv/frv-protos.h (frv_expand_epilogue, |
6481 | frv_expand_fdpic_call): Add bool argument. | |
6482 | * config/frv/frv.c (frv_function_ok_for_sibcall): New. | |
6483 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to it. | |
6484 | (frv_expand_epilogue): Use new argument to decide whether to emit | |
6485 | return instruction or copy the return address to LR. | |
6486 | (frv_expand_fdpic_call): Inline PLT entry when emitting direct | |
6487 | sibcalls. | |
6488 | (sibcall_operand): New. | |
6489 | * config/frv/frv.h (PREDICATE_CODES): call_operand doesn't match | |
6490 | PLUS nor LABEL_REF. Add sibcall_operand. | |
6491 | * config/frv/frv.md (call, call_value): Pass false to | |
6492 | frv_expand_fdpic_call. | |
6493 | (call_fdpicdi, call_value_fdpicdi): Insert %i0 in calll. | |
6494 | (sibcall, sibcall_internal, sibcall_fdpicdi, sibcall_value, | |
6495 | sibcall_value_internal, sibcall_value_fdpicdi): New. | |
6496 | (return_unsigned_true, return_unsigned_false): New. | |
6497 | (epilogue): Adjust call to frv_expand_epilogue. | |
6498 | (sibcall_epilogue): New. | |
6499 | ||
afbe7e61 AO |
6500 | * config/frv/frv.h (ASM_SPEC): Pass -mno-fdpic as -mnopic. |
6501 | (CPP_SPEC, CPP_SIMPLE_SPEC): Undefine __FRV_ACC__ and __FRV_FPR__ | |
6502 | before redefining them. | |
6503 | ||
ca3df643 KG |
6504 | 2004-05-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6505 | ||
6506 | * builtins.c (fold_fixed_mathfn): New function. | |
6507 | (fold_builtin_lround, fold_builtin): Use it. | |
6508 | ||
f2c0cb15 JJ |
6509 | 2004-05-01 Jakub Jelinek <jakub@redhat.com> |
6510 | ||
6511 | * config/sparc/linux64.h (TARGET_DEFAULT): Make 64-bit by default | |
6512 | also for TARGET_CPU_DEFAULT == TARGET_CPU_ultrasparc3. | |
6513 | ||
ea2637eb KH |
6514 | 2004-05-01 Kazu Hirata <kazu@cs.umass.edu> |
6515 | ||
6516 | * config/cris/cris.h: Revert my "fix comment typos" patch. | |
6517 | ||
d0cb84e9 RS |
6518 | 2004-05-01 Richard Sandiford <rsandifo@redhat.com> |
6519 | ||
6c3db3ab | 6520 | * config/mips/mips.h (TUNE_MACC_CHAINS): Fix comment. |
d0cb84e9 | 6521 | |
ebade076 FH |
6522 | 2004-05-01 Falk Hueffner <falk@debian.org> |
6523 | ||
6524 | * config/alpha/alpha.md (builtin_insbl, builtin_inswl, | |
6525 | builtin_insll): Disallow 0 as first input operand. | |
6526 | ||
0962c33d FH |
6527 | 2004-05-01 Falk Hueffner <falk@debian.org> |
6528 | ||
6529 | * config/alpha/alpha.c (alpha_rtx_costs): Fix shiftadd costs. | |
6530 | ||
e2655d15 | 6531 | 2004-05-01 Ulrich Weigand <uweigand@de.ibm.com> |
03a53989 | 6532 | |
e2655d15 | 6533 | PR middle-end/15054 |
03a53989 | 6534 | * expr.c (expand_expr_real): Do not call preserve_temp_slots |
e2655d15 UW |
6535 | on a TARGET_EXPR temp. |
6536 | * function.c (assign_stack_temp_for_type): Set 'keep' flag for | |
6537 | TARGET_EXPR temp slots. | |
6538 | ||
77306e3e PB |
6539 | 2004-05-01 Paolo Bonzini <bonzini@gnu.org> |
6540 | ||
6541 | * simplify-rtx.c (simplify_ternary_operation): When | |
6542 | converting an IF_THEN_ELSE to a relational op, return | |
6543 | correct mode. | |
6544 | ||
3bf05748 KG |
6545 | 2004-04-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6546 | ||
6547 | * builtins.c (fold_builtin_round): Fix comment typo. | |
6548 | (fold_builtin_lround): New function. | |
6549 | (fold_builtin): Use it. | |
6550 | ||
c0873231 AP |
6551 | 2004-04-20 Andrew Pinski <pinskia@physics.uc.edu> |
6552 | ||
6553 | PR target/11608 | |
6554 | * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it | |
6555 | more like the one in config/dbxelf.h. | |
6556 | ||
5c5214a9 ZW |
6557 | 2004-04-30 Zack Weinberg <zack@codesourcery.com> |
6558 | ||
6559 | * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK | |
6560 | and adjust definition accordingly. | |
6561 | (TYPE_DOMAIN): Allow only SET_TYPE and ARRAY_TYPE. | |
6562 | (TYPE_DEBUG_REPRESENTATION_TYPE): Allow only VECTOR_TYPE. | |
6563 | * expr.c (store_constructor): Do not access TYPE_DOMAIN of a | |
6564 | VECTOR_TYPE. | |
6565 | ||
67214984 JM |
6566 | 2004-04-30 Jason Merrill <jason@redhat.com> |
6567 | ||
6568 | PR c++/14587 | |
6569 | * config/i386/winnt.c (associated_type): Look for attributes on | |
6570 | the TYPE_MAIN_VARIANT of *this. | |
6571 | * attribs.c (decl_attributes): If ATTR_FLAG_TYPE_IN_PLACE, also | |
6572 | apply the attributes to the variants. | |
6573 | ||
b73f075a PB |
6574 | 2004-04-30 Paul Brook <paul@codesourcery.com> |
6575 | ||
6576 | * config.gcc: Simplify arm --with-{cpu,tune} test. | |
6577 | * config/arm/arm-cores.def: Document whitespace restrictions. | |
6578 | ||
5076da17 RO |
6579 | 2004-04-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
6580 | ||
6581 | PR other/1963 | |
6582 | * config/alpha/osf.h (SWITCHES_NEED_SPACES): Define. | |
6583 | ||
8a897bf9 | 6584 | 2004-04-30 Brian Ford <ford@vss.fsi.com> |
bb8a619e SB |
6585 | DJ Delorie <dj@redhat.com> |
6586 | ||
6587 | * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] | |
6588 | (DWARF2_DEBUGGING_INFO): Define to enable. | |
6589 | (DBX_REGISTER_NUMBER): Define to use the svr4 register map for | |
6590 | DWARF2. | |
6591 | * configure.ac (Target-specific assembler checks) | |
6592 | <i[34567]86-*-[cygwin*|pe|mingw32*]>: New test for .secrel32 | |
6593 | relocs. | |
6594 | * configure: Regenerate. | |
6595 | * config.in: Likewise. | |
6596 | ||
6597 | * config/i386/cygming.h [HAVE_GAS_PE_SECREL32_RELOC] | |
6598 | (ASM_OUPUT_DWARF_OFFSET): Define. | |
8a897bf9 | 6599 | |
ed9676cf AK |
6600 | 2004-04-29 Andreas Krebbel <krebbel1@de.ibm.com> |
6601 | ||
6602 | * config/s390/s390-protos.h (s390_emit_epilogue): Parameter added. | |
6603 | (s390_emit_call): New function prototype added. | |
6604 | (s390_tls_get_offset): Function removed. | |
6605 | * config/s390/s390.c (s390_function_ok_for_sibcall, | |
6606 | s390_call_saved_register_used_p): New functions. | |
6607 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Definition of target macro added. | |
6608 | (s390_tls_get_offset): Function merged into s390_emit_tls_call_insn. | |
6609 | (s390_emit_tls_call_insn): New function. | |
6610 | (legitimize_tls_address): Call s390_emit_tls_call_insn instead of | |
6611 | emit_call_insn. | |
6612 | (s390_emit_prologue): Use s390_emit_call instead of emit_call_insn. | |
5c5214a9 | 6613 | (s390_emit_epilogue): Like s390_emit_prologue. Parameter for sibcalls |
ed9676cf | 6614 | added. |
5c5214a9 | 6615 | * config/s390/s390.h (SIBCALL_REGNUM): New macro representing the |
ed9676cf AK |
6616 | register number used to hold the target address for sibcalls. |
6617 | * config/s390/s390.md ("sibcall", "sibcall_value", "sibcall_epilogue"): | |
6618 | New expanders. | |
5c5214a9 | 6619 | ("*sibcall_br", "*sibcall_brc", "*sibcall_brcl", "*sibcall_value_br", |
ed9676cf | 6620 | "*sibcall_value_brc", "*sibcall_value_brcl"): New insns. |
5c5214a9 | 6621 | ("call_exp", "call_value_exp", "call_value_tls", "call_value_tls_exp"): |
ed9676cf AK |
6622 | Expanders removed. |
6623 | ("call", "call_value"): Call s390_emit_call to emit the call patterns. | |
5c5214a9 | 6624 | ("*bras", "*brasl", "*bras_r", "*brasl_r", "*bras_tls", "*brasl_tls", |
ed9676cf AK |
6625 | "*basr", "*basr_r", "*basr_tls"): Added constraint: !SIBLING_CALL_P. |
6626 | ("epilogue"): Changed the call to s390_emit_epilogue to use the | |
6627 | new parameter. | |
6628 | ||
1ae58c30 KH |
6629 | 2004-04-30 Kazu Hirata <kazu@cs.umass.edu> |
6630 | ||
6631 | * bb-reorder.c, c-opts.c, cfglayout.c, cgraph.c, cgraphunit.c, | |
6632 | cppfiles.c, fold-const.c, ggc-zone.c, loop-doloop.c, optabs.c, | |
6633 | reg-stack.c, varasm.c, config/alpha/ev4.md, | |
6634 | config/alpha/ev5.md, config/alpha/ev6.md, config/arm/arm.c, | |
6635 | config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.c, | |
6636 | config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, | |
6637 | config/frv/frv.h, config/frv/frv.md, config/h8300/h8300.c, | |
6638 | config/i386/i386.c, config/i386/i386.md, config/i386/winnt.c, | |
6639 | config/ia64/itanium2.md, config/ip2k/ip2k.c, | |
6640 | config/mips/mips.c, config/mips/mips.h, config/mips/sr71k.md, | |
6641 | config/pa/pa.c, config/s390/s390.c, config/sh/sh.c: Fix | |
6642 | comment typos. | |
6643 | ||
78011587 PB |
6644 | 2004-04-30 Paul Brook <paul@codesourcery.com> |
6645 | ||
2d84a437 | 6646 | * config.gcc: Default ep9312 to hard-float. |
78011587 PB |
6647 | * config/arm/arm-cores.def: Add ARCH field. |
6648 | * config/arm/arm.c (FL_FOR_ARCH*): Define. | |
6649 | (arm_arch_cirrus): New variable. | |
6650 | (all_cores): Set and use arch. | |
6651 | (all_architectures): Ditto. | |
6652 | (arm_arch_name): New variable. | |
6653 | (arm_override_options): Set it. Use [SUB]TARGET_CPU_DEFAULT. | |
6654 | Set and use arm_arch_cirrus. | |
6655 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set arch defines. | |
6656 | (enum processor_type): Update ARM_CORE define. | |
6657 | (enum target_cpus): Add. Replaces TARGET_CPU_* defines. | |
6658 | (CPP_SPEC): Remove %(cpp_cpu_arch). | |
6659 | (CPP_ARCH_DEFAULT_SPEC): Remove. | |
6660 | (CPP_CPU_ARCH_SPEC): Remove. | |
6661 | (EXTRA_SPECS): Don't use CPP_*ARCH*_SPEC. | |
6662 | (FPUTYPE_DEFAULT): Don't define here. | |
6663 | ||
e344dbf3 R |
6664 | 2004-04-30 J"orn Rennecke <joern.rennecke@superh.com> |
6665 | ||
6666 | * flow.c (propagate_one_insn): Call mark_set_regs for stack pointer | |
6667 | updates too. | |
6668 | ||
65a939f7 PB |
6669 | 2004-04-30 Paul Brook <paul@codesourcery.com> |
6670 | ||
6671 | * arm.c (arm_needs_doubleword_align): Use mode alignment. | |
6672 | ||
0bf87ea5 PB |
6673 | 2004-04-30 Paolo Bonzini <bonzini@gnu.org> |
6674 | ||
6675 | * config/altivec/altivec.h [__cplusplus] (vec_subsubs): Rename to | |
6676 | vec_sububs. | |
6677 | [__cplusplus] (vec_subsuhs): Rename to vec_subuhs, without | |
6678 | duplicates. | |
6679 | ||
a6bf61c7 UB |
6680 | 2004-04-30 Uros Bizjak <uros@kss-loka.si> |
6681 | ||
65a939f7 PB |
6682 | * config/i386/i386.md (atansf2, atandf2, atanxf2): Move near |
6683 | atan2?f3 expanders. | |
a6bf61c7 | 6684 | |
150e407a NC |
6685 | 2004-04-29 Nick Clifton <nickc@redhat.com> |
6686 | ||
6687 | Bug 14093 | |
6688 | * config/sh/sh-protos.h (sh_promote_prototypes): Declare. | |
6689 | * config/sh/sh.c (sh_promote_prototypes): Remove declaration. | |
6690 | Delete static from definition. | |
6691 | * config/sh/sh.h (FUNCTION_VALUE): Add sh_promote_prototypes call. | |
6692 | ||
6862f97f UB |
6693 | 2004-04-30 Uros Bizjak <uros@kss-loka.si> |
6694 | ||
65a939f7 PB |
6695 | * reg-stack.c (subst_stack_regs_pat): <UNSPEC_SIN, UNSPEC_COS, |
6696 | UNSPEC_FRNDINT, UNSPEC_F2XM1>: abort() if src1 dies. | |
6697 | <UNSPEC_SINCOS_COS, UNSPEC_TAN_ONE, UNSPEC_XTRACT_FRACT>: Same. | |
6698 | <UNSPEC_SINCOS_SIN, UNSPEC_TAN_TAN, UNSPEC_XTRACT_EXP>: Same. | |
6862f97f | 6699 | |
c65a01af RG |
6700 | 2004-04-29 Richard Guenther <richard.guenther@uni-tuebingen.de> |
6701 | ||
6702 | * commom.opt (Wfatal-errors): Add it. | |
6703 | * diagnostic.c (flag_fatal_errors): Define it. | |
6704 | (diagnostic_action_after_output): Check for flag_fatal_errors. | |
6705 | * flags.h (flag_fatal_errors): Declare it. | |
6706 | * opts.c (common_handle_option): Add OPT_Wfatal_errors. | |
6707 | * doc/invoke.texi (Warning Options): Document -Wfatal-errors. | |
6708 | ||
d1c6a401 JZ |
6709 | 2004-04-30 Josef Zlomek <zlomekj@suse.cz> |
6710 | ||
6711 | * gcse.c (remove_reachable_equiv_notes): Delete notes also in | |
6712 | blocks which have kill flag set. | |
6713 | ||
99c012a8 BE |
6714 | 2004-04-29 Ben Elliston <bje@au.ibm.com> |
6715 | ||
6716 | * configure.ac (--with-as): Abort if user-supplied assembler | |
6717 | cannot be executed. | |
6718 | (--with-ld): Likewise for the linker. | |
6719 | * configure: Regenerate. | |
6720 | ||
d2be4368 KG |
6721 | 2004-04-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6722 | ||
6723 | * convert.c (convert_to_integer): Ensure `long_integer_type_node' | |
6724 | isn't NULL before using it. | |
6725 | ||
15a6f2c3 RS |
6726 | 2004-04-29 Richard Sandiford <rsandifo@redhat.com> |
6727 | ||
6728 | PR target/15189 | |
6729 | * config/mips/mips.md (load_df_low): Use default length. | |
6730 | (load_df_high, store_df_high): Likewise. | |
6731 | ||
effa5d5d KH |
6732 | 2004-04-29 Kazu Hirata <kazu@cs.umass.edu> |
6733 | ||
6734 | * config/mips/mips.md, config/mips/sb1.md, | |
6735 | config/rs6000/rs6000.c: Fix comment typos. | |
6736 | ||
2b8a92de KH |
6737 | 2004-04-29 Kazu Hirata <kazu@cs.umass.edu> |
6738 | ||
6739 | * builtins.c, cgraph.c, cgraphunit.c, final.c, fold-const.c: | |
6740 | Fix comment typos. | |
6741 | ||
8fd58397 DR |
6742 | 2004-04-29 Douglas B Rupp <rupp@gnat.com> |
6743 | ||
6744 | * gcc.c (DELETE_IF_ORDINARY): New macro default definition. | |
6745 | (delete_if_ordinary): Use above macro. | |
6746 | * config/alpha/xm-vms.h (DELETE_IF_ORDINARY): New macro VMS definition. | |
6747 | Update copyright. | |
6748 | * doc/hostconfig.texi (DELETE_IF_ORDINARY): Document new macro. | |
6749 | ||
56141a6a RE |
6750 | 2004-04-29 Richard Earnshaw <rearnsha@arm.com> |
6751 | ||
6752 | * c-decl.c (get_parm_info): Use the correct tag keywords when | |
6753 | warning about type declarations in prototypes. | |
6754 | ||
2682e19f PB |
6755 | 2004-04-29 Paul Brook <paul@codesourcery.com> |
6756 | ||
6757 | * config.gcc: Pull list of cores from arm-cores.def. | |
6758 | ||
c6fb08ad PB |
6759 | 2004-04-29 Paolo Bonzini <bonzini@gnu.org> |
6760 | ||
6761 | * combine.c (combine_simplify_rtx): Adjust call to use | |
6762 | simplify_relational_operation. Do not use SELECT_CC_MODE | |
6763 | when a comparison already has a MODE_CC mode. | |
0bf87ea5 PB |
6764 | |
6765 | 2004-04-29 Paolo Bonzini <bonzini@gnu.org> | |
6766 | ||
c6fb08ad PB |
6767 | (simplify_set): simplify_relational_operation may now |
6768 | return another relational expression. | |
6769 | * cse.c (fold_rtx): simplify_relational_operation now | |
6770 | takes of computing the comparison mode. | |
6771 | * dojump.c (compare_from_rtx): Use simplify_relational_operation, | |
6772 | remove dead code. | |
6773 | (do_compare_rtx_and_jump): Likewise. | |
6774 | * integrate.c (subst_constants): simplify_relational_operation | |
6775 | may now return another relational expression. | |
6776 | * simplify-rtx.c (simplify_gen_relational): Move most code to | |
6777 | the new simplify_relational_operation and | |
6778 | simplify_relational_operation_1 functions. | |
6779 | (simplify_relational_operation): Rewritten. | |
6780 | (simplify_relational_operation_1): New function. | |
6781 | (simplify_ternary_operation): simplify_relational_operation | |
6782 | may now return another relational expression. | |
5c5214a9 | 6783 | (simplify_rtx): Remove unnecessary temp variable. |
c6fb08ad | 6784 | |
f964bd29 UB |
6785 | 2004-04-29 Uros Bizjak <uros@kss-loka.si> |
6786 | ||
2682e19f PB |
6787 | * reg-stack.c (swap_to_top): New function. |
6788 | (subst_stack_regs_pat): UNSPEC_FPATAN, UNSPEC_FYL2X: Use | |
6789 | swap_to_top(). | |
6790 | (subst_stack_regs_pat): UNSPEC_FSCALE: Remove. | |
5c5214a9 | 6791 | (subst_stack_regs_pat): Handle UNSPEC_FSCALE_FRACT and |
2682e19f | 6792 | UNSPEC_FSCALE_EXP. |
f964bd29 | 6793 | |
2682e19f PB |
6794 | * config/i386/i386.md (UNSPEC_FSCALE): Remove. |
6795 | (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): Remove insn pattern. | |
6796 | (UNSPEC_FSCALE_FRACT, UNSPEC_FSCALE_EXP): New unspecs to represent | |
6797 | x87's fscale insn. | |
6798 | (*fscalexf4: Define new insn pattern to implement x87 fscale insn. | |
6799 | (exp?f2, exp10?f2, exp2?f2): Use *fscalexf4 and float_truncate | |
6800 | patterns. | |
f964bd29 | 6801 | |
cb83302c SB |
6802 | 2004-04-28 Serge Belyshev <1319@bot.ru> |
6803 | ||
6804 | PR 14944 | |
6805 | * coverage.c (read_counts_file): Fix usage of warning () call. | |
6806 | * pretty-print.c (pp_base_format_text): Fix typo in the comment. | |
6807 | ||
5ad7ae7f BE |
6808 | 2004-04-28 Ben Elliston <bje@au.ibm.com> |
6809 | ||
6810 | * doc/invoke.texi (Objective-C Dialect Options): Don't prefix | |
6811 | options with "-" in the option index. | |
6812 | (SPARC Options): Likewise. | |
6813 | (M32R/D Options): Likewise. | |
6814 | ||
332d782c KG |
6815 | 2004-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6816 | ||
6817 | * convert.c (convert_to_integer): Convert (long)round -> lround, | |
6818 | etc. | |
6819 | ||
90f81f99 AP |
6820 | 2004-04-28 Andrew Pinski <pinskia@physics.uc.edu> |
6821 | ||
6822 | * config/rs6000/rs6000.c (registers_ok_for_quad_peep): | |
6823 | Return false if we do not have fp register. | |
6824 | (addrs_ok_for_quad_peep): Rename to ... | |
6825 | (mems_ok_for_quad_peep): this. | |
6826 | Add check for volatile memory. | |
6827 | * config/rs6000/rs6000-protos.h (addrs_ok_for_quad_peep): | |
6828 | Rename to ... | |
6829 | (mems_ok_for_quad_peep): this. | |
6830 | * config/rs6000/rs6000.md: Change peephole's for lfq/stq | |
6831 | to peephole2's. | |
6832 | (lfq_power2): New instruction. | |
6833 | (stfq_power2): Likewise. | |
6834 | ||
902edd36 JH |
6835 | 2004-04-28 Jan Hubicka <jh@suse.cz> |
6836 | ||
6837 | PR c/15004 | |
6838 | * function.c (do_warn_unused_parameter): Break out form ... | |
6839 | (expand_function_end): ... here; warn only when not using cgraphunit. | |
6840 | * function.h (do_warn_unused_parameter): Declare. | |
6841 | * cgraphunit.c: Include function.h. | |
6842 | (cgraph_finalize_function): Do unused parameter warning. | |
6843 | * Makefile.in (cgraphunit.o): Depend on function.h | |
6844 | ||
a89f5df3 JM |
6845 | 2004-04-28 Joseph S. Myers <jsm@polyomino.org.uk> |
6846 | ||
6847 | * Makefile.in ($(DESTDIR)$(infodir)/%.info): Don't condition | |
6848 | calling install-info on $(DESTDIR)$(infodir)/dir already being | |
6849 | present. | |
6850 | ||
40f0b3ee PB |
6851 | 2004-04-28 Paul Brook <paul@codesourcery.com> |
6852 | ||
6853 | * dwarf2out.c (mem_loc_descriptor): Handle shifts. | |
6854 | ||
c2e2375e UW |
6855 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6856 | ||
5c5214a9 | 6857 | * gcse.c (find_moveable_store): Do not accept store insns with |
c2e2375e UW |
6858 | REG_EH_REGION note. |
6859 | ||
9e1622ed PB |
6860 | 2004-04-28 Paul Brook <paul@codesourcery.com> |
6861 | ||
6862 | * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. | |
6863 | * function.c (assign_temp): Ditto. | |
6864 | * system.h (PROMOTE_FOR_CALL_ONLY): Poison. | |
6865 | ||
e0d4a859 PB |
6866 | 2004-04-28 Paul Brook <paul@codesourcery.com> |
6867 | ||
6868 | * config/arm/lib1funcs.asm: Recognize armv5tej and armv6. | |
6869 | ||
83532fb7 JZ |
6870 | 2004-04-28 Josef Zlomek <zlomekj@suse.cz> |
6871 | ||
6872 | * var-tracking.c (variable_different_p): Add a parameter | |
6873 | compare_current_location, compare current location of variable parts | |
6874 | if it is true. | |
6875 | (dataflow_set_different_1): Pass compare_current_location == false. | |
6876 | (dataflow_set_different_2): Pass compare_current_location == false. | |
6877 | (emit_notes_for_differences_1): Pass compare_current_location == true. | |
6878 | ||
cfa29496 UW |
6879 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6880 | ||
6881 | * config/s390/s390.md ("casesi"): Mark jump table access as | |
6882 | non-trapping and unchanging. | |
6883 | ||
23959f19 JDA |
6884 | 2004-04-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6885 | ||
6886 | PR debug/14829 | |
6887 | * dwarf2out.c (reg_number): Rename to dbx_reg_number. Adjust all | |
6888 | callers. | |
6889 | (multiple_reg_loc_descriptor, reg_loc_descriptor): Use gcc register | |
6890 | number for indexing hard_regno_nregs array. | |
5c5214a9 | 6891 | |
2f70eed1 GK |
6892 | 2004-04-27 Geoffrey Keating <geoffk@apple.com> |
6893 | ||
6894 | * config/darwin.h (STARTFILE_SPEC): Use %s to find crt2.o. | |
6895 | * config/darwin-crt2.c: Only have contents on __ppc__. | |
6896 | ||
f1dfe704 BW |
6897 | 2004-04-27 Bob Wilson <bob.wilson@acm.org> |
6898 | ||
6899 | * config/xtensa/xtensa.c (call_insn_operand): Check | |
6900 | SYMBOL_REF_EXTERNAL_P in addition to SYMBOL_REF_LOCAL_P. | |
6901 | * config/xtensa/xtensa.h (LEGITIMATE_PIC_OPERAND): Likewise. | |
6902 | * config/xtensa/xtensa.md (call, call_value): Likewise. | |
6903 | ||
80408cac WY |
6904 | 2004-04-27 Wu Yongwei <adah@sh163.net> |
6905 | ||
6906 | * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure. | |
6907 | (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. | |
6908 | (__gthread_mutex_init_function): Replace CreateMutex with | |
6909 | initialization of custom mutex using CreateSemaphore. | |
6910 | (__gthread_mutex_lock): Use InterlockedIncrement. | |
6911 | (__gthread_mutex_trylock): Use InterlockedCompareExchange. | |
6912 | (__gthread_mutex_unlock): Use InterlockedDecrement and | |
6913 | ReleaseSemaphore to unlock | |
6914 | * config/i386/gthr-win32.c (__gthread_mutex_init_function, | |
6915 | __gthread_mutex_lock, __gthread_mutex_trylock, | |
6916 | __gthread_mutex_unlock): Adjust to match inline versions in | |
6917 | gthr-win32.h. | |
6918 | ||
70301b45 PB |
6919 | 2004-04-27 Paul Brook <paul@codesourcery.com> |
6920 | ||
6921 | * config/arm/arm.c (arm_promote_prototypes): New function. | |
6922 | (TARGET_PROMOTE_PROTOTYPES): Use it. | |
6923 | ||
4b763d77 PB |
6924 | 2004-04-27 Paul Brook <paul@codesourcery.com> |
6925 | ||
6926 | * config/arm/arm.c (arm_expand_epilogue): Count blocks of 4 regs. | |
6927 | ||
7053a0e2 BG |
6928 | 2004-04-26 Bernard Giroud <bgiroud@free.fr> |
6929 | ||
6930 | * config/alpha.c (alpha_end_function): For OpenVMS gas, | |
6931 | correctly output .pdesc directive before .end. | |
6932 | ||
6d7870d1 JW |
6933 | 2004-04-26 James E Wilson <wilson@specifixinc.com> |
6934 | ||
6935 | Bug 14927 | |
6936 | * config/ia64/ia64.md (movxf): New local op0. Handle case where | |
6937 | operands[0] is a SUBREG. Handle case where operands[1] is a GR reg. | |
6938 | ||
7dd7fb88 ZW |
6939 | 2004-04-26 Zack Weinberg <zack@codesourcery.com> |
6940 | ||
6941 | * config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++. | |
6942 | * config/pa/pa-hpux10.h: Likewise. | |
6943 | * config/pa/pa-hpux11.h: Likewise. | |
6944 | ||
488061c8 GK |
6945 | 2004-04-26 Geoffrey Keating <geoffk@apple.com> |
6946 | ||
6947 | * doc/invoke.texi (Overall Options): Document default for -o | |
6948 | for PCH files. | |
6949 | ||
2b92e7f5 RK |
6950 | 2004-04-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6951 | ||
6952 | * builtins.c (expand_builtin_update_setjmp_buf): New function. | |
6953 | (expand_builtin, case BUILT_IN_UPDATE_SETJMP_BUF): New case. | |
6954 | * builtins.def (BUILT_IN_UPDATE_SETJMP_BUF): New code. | |
6955 | ||
3657dc3e PB |
6956 | 2004-04-26 Paul Brook <paul@codesourcery.com> |
6957 | ||
6958 | * config/arm/arm.c (arm_legitimate_index_p): Correct iwmmxt offsets. | |
6959 | ||
778ebdd9 PB |
6960 | 2004-04-26 Paul Brook <paul@codesourcery.com> |
6961 | ||
6962 | * config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets. | |
6963 | ||
7c95f621 RS |
6964 | 2004-04-25 Roger Sayle <roger@eyesopen.com> |
6965 | ||
6966 | * fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to | |
6967 | fold (build1 (NEGATE_EXPR, ...)). Optimize X / -1 as -X and | |
6968 | X % -1 as 0. | |
6969 | ||
29c246a7 HPN |
6970 | 2004-04-26 Hans-Peter Nilsson <hp@bitrange.com> |
6971 | ||
6972 | PR bootstrap/15141 | |
6973 | * except.c (connect_post_landing_pads): Delete insns after the | |
6974 | barrier when generating a unwind_resume_libfunc call. | |
6975 | ||
95df09f0 RK |
6976 | 2004-04-25 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6977 | ||
6978 | PR/c++ 15119 | |
6979 | * tree.c (substitute_placeholder_in_expr, case 4): New case, | |
6980 | for TARGET_EXPR. | |
6981 | ||
6982 | 2004-04-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> | |
060c5f00 ZD |
6983 | |
6984 | * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, | |
6985 | __gcov_execv, __gcov_execvp, __gcov_execve): Do not declare when | |
6986 | inhibit_libc is defined. | |
6987 | ||
39ba1719 RS |
6988 | 2004-04-25 Richard Sandiford <rsandifo@redhat.com> |
6989 | ||
6990 | * config/mips/mips-protos.h (mips_linked_macc_p): Declare. | |
6991 | * config/mips/mips.h (TUNE_MACC_CHAINS): New macro. | |
6992 | * config/mips/mips.c (TARGET_SCHED_REORDER): Define. | |
6993 | (TARGET_SCHED_VARIABLE_ISSUE): Define. | |
6994 | (mips_adjust_cost): Move later in file, next to other sched hooks. | |
6995 | (mips_macc_chains_last_hilo): New variable. | |
6996 | (mips_linked_madd_p, mips_macc_chains_record, mips_macc_chains_reorder) | |
6997 | (mips_promote_ready, mips_sched_reorder, mips_variable_issue): New. | |
6998 | * config/mips/mips.md (may_clobber_hilo): New attribute. | |
6999 | ||
d3535e80 RS |
7000 | 2004-04-24 Roger Sayle <roger@eyesopen.com> |
7001 | Bruce Korb <bkorb@gnu.org> | |
7002 | ||
7003 | * fixinc/inclhack.def (aix_syswait_2): New fix. | |
7004 | * fixinc/fixincl.x: Regenerate. | |
7005 | * fixinc/tests/base/sys/wait.h: Update for new test. | |
7006 | ||
44688022 AM |
7007 | 2004-04-24 Alan Modra <amodra@bigpond.net.au> |
7008 | ||
7009 | PR target/14960 | |
7010 | * config/rs6000/rs6000.c (rs6000_stack_info): Rename total_raw_size | |
7011 | to non_fixed_size, and leave out fixed_size from the sum. | |
7012 | (generate_set_vrsave): Correct clobbers. | |
7013 | (rs6000_emit_epilogue): Test TARGET_ALTIVEC with TARGET_ALTIVEC_SAVE. | |
7014 | (rs6000_function_value): Test TARGET_ALTIVEC and TARGET_ALTIVEC_ABI. | |
7015 | (rs6000_libcall_value): Likewise. | |
7016 | * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Likewise. | |
7017 | (FUNCTION_ARG_REGNO_P): Likewise. | |
7018 | ||
77278891 UW |
7019 | 2004-04-24 Ulrich Weigand <uweigand@de.ibm.com> |
7020 | ||
7021 | * expmed.c (expand_mult_highpart_adjust): Do not assume OP1 | |
7022 | is a CONST_INT. | |
7023 | (expand_mult_highpart_optab): Call expand_mult_highpart_adjust | |
7024 | with NARROW_OP1 instead of OP1. | |
7025 | ||
170f9e63 UW |
7026 | 2004-04-24 Ulrich Weigand <uweigand@de.ibm.com> |
7027 | ||
7028 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __s390__ | |
7029 | and __s390x__ hosts. | |
7030 | ||
d1c38823 ZD |
7031 | 2004-03-23 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
7032 | ||
7033 | * Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp, | |
7034 | _gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve. | |
7035 | * builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID, | |
7036 | BT_FN_INT_CONST_STRING_PTR_CONST_STRING, | |
7037 | BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New. | |
7038 | * builtins.c (expand_builtin_fork_or_exec): New. | |
7039 | (expand_builtin): Call it. | |
7040 | * builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE, | |
7041 | BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New. | |
7042 | * c-common.c (PID_TYPE): New macro. | |
7043 | (c_common_nodes_and_builtins): Initialize pid_type_node. | |
7044 | * calls.c (special_function_p): Do not handle fork and exec. | |
7045 | (expand_call): Do not handle ECF_FORK_OR_EXEC. | |
7046 | * gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, | |
7047 | __gcov_execv, __gcov_execvp, __gcov_execve): Declare. | |
7048 | * libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle, | |
7049 | __gcov_execv, __gcov_execvp, __gcov_execve): New. | |
7050 | * tree.h (enum tree_index): Add TI_PID_TYPE. | |
7051 | (pid_type_node): New macro. | |
7052 | (ECF_FORK_OR_EXEC): Removed. | |
7053 | ||
1548580c EB |
7054 | 2004-04-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
7055 | ||
7056 | PR optimization/13985 | |
7057 | * cfgloopmanip.c (fix_loop_placements): New prototype. | |
7058 | Call fix_bb_placements on the preheader of loops that have | |
7059 | been reparented. | |
7060 | (remove_path): Adjust call to fix_loop_placements. | |
7061 | ||
9b2d02a0 AP |
7062 | 2004-04-23 Andrew Pinski <pinskia@physics.uc.edu> |
7063 | ||
7064 | * config/darwin7.h: New file. | |
7065 | * config.gcc (*-*-darwin*): Add darwin7.h if the | |
7066 | version is greater than 6. | |
7067 | * config/darwin.h (TARGET_C99_FUNCTIONS): Define. | |
7068 | (MATH_LIBRARY): Wrap in ifdefs. | |
7069 | ||
01d4c813 DJ |
7070 | 2004-04-23 Daniel Jacobowitz <drow@mvista.com> |
7071 | ||
7072 | * config/arm/arm.c (arm_output_epilogue): Reverse the order of | |
7073 | loading iWMMXt registers with a frame pointer. Use post-increment | |
7074 | without a frame pointer. | |
7075 | (arm_expand_prologue): Reverse the order of saving iWMMXt registers. | |
7076 | ||
7797ff53 PB |
7077 | 2004-04-23 Paolo Bonzini <bonzini@gnu.org> |
7078 | ||
7079 | * doc/invoke.texi (Optimize Options): Refer to "unit-at-a-time | |
7080 | mode" rather than "-funit-at-a-time" since -O2 enables it | |
7081 | without requiring -f* options. Refer to -fprofile-generate and | |
7082 | -fprofile-use correctly. Move -funit-at-a-time among options | |
7083 | enabled by -O. Add information about unit-at-a-time caveats. | |
7084 | ||
500bee0a PB |
7085 | 2004-04-22 Per Bothner <per@bothner.com> |
7086 | ||
7087 | * line-map.h (struct line_maps): New field highest_line. | |
7088 | (linemap_position_for_column): Make non-inline function. | |
7089 | (LINEMAP_POSITION_FOR_COLUMN): New macro. | |
7090 | * line-map.c (linemap_init): Clear highest_line field. | |
7091 | (linemap_add): Set highest_line field. | |
7092 | (linemap_line_start): Minor optimization - use highest_line field. | |
7093 | Reduce maximum column hint to 10000. Update highest_line field. | |
7094 | (linemap_position_for_column): Moved from line-map.h. Optimize a bit. | |
7095 | * cpphash.h (struct cpp_reader): Remove line field - instead use | |
7096 | line_table->highest_line. | |
7097 | (saved_line): Remove unused field. | |
7098 | (CPP_INCREMENT_FILE): Don't do linemap_lookup - just use newest map. | |
7099 | Use line_table's highest_line field instead of cpp_reader's line. | |
7100 | * cpplib.c (start_directive): Likewise use highest_line field. | |
7101 | (do_line, do_linemarker): Likewise just use newest map. | |
7102 | (_cpp_do_file_change): Don't need to set cpp_reader's line field. | |
7103 | * cpperror.c (cpp_error): Likewise use highest_line field. | |
7104 | * cppfiles.c (open_file_failed: Likewise. | |
7105 | (cpp_make_system_header): Likewise use newest map and highest_line. | |
7106 | * cppinit.c (cpp_create_reader): Don't initialize removed field. | |
7107 | * cpplex.c (_cpp_process_line_notes, _cpp_skip_block_comment, | |
7108 | skip_line_comment, skip_whitespace, _cpp_get_fresh_line, | |
7109 | _cpp_lex_direct): Likewise use highest_line. | |
7110 | (_cpp_lex_direct): Use new LINEMAP_POSITION_FOR_COLUMN macro. | |
7111 | * cppmacro.c (_cpp_builtin_macro_text): Likewise use highest_line, | |
7112 | and use newest map. | |
7113 | * cpppch.c (cpp_read_state): Don't save+restore cpp_reader's line. | |
7114 | * cpptrad.c (_cpp_overlay_buffer): Don't save cpp_reader's line. | |
7115 | (copy_comment, _cpp_scan_out_logical_line): Likewise use highest_line. | |
7116 | ||
8efcd34f AM |
7117 | 2004-04-23 Alan Modra <amodra@bigpond.net.au> |
7118 | ||
9344fdb9 | 7119 | PR bootstrap/14992 |
8efcd34f AM |
7120 | * gcc.c (init_gcc_specs): Test USE_LD_AS_NEEDED, not HAVE_LD_AS_NEEDED. |
7121 | * config/linux.h (USE_LD_AS_NEEDED): Define. | |
7122 | * gcc/config/alpha/linux.h (USE_LD_AS_NEEDED): Define. | |
7123 | * gcc/config/arm/linux-elf.h (USE_LD_AS_NEEDED): Define. | |
7124 | * gcc/config/rs6000/linux.h (USE_LD_AS_NEEDED): Define. | |
7125 | * gcc/config/rs6000/linux64.h (USE_LD_AS_NEEDED): Define. | |
7126 | * gcc/config/sh/linux.h (USE_LD_AS_NEEDED): Define. | |
7127 | * gcc/config/sparc/linux.h (USE_LD_AS_NEEDED): Define. | |
7128 | * gcc/config/sparc/linux64.h (USE_LD_AS_NEEDED): Define. | |
7129 | ||
3092d0fc PB |
7130 | 2004-04-22 Per Bothner <per@bothner.com> |
7131 | ||
7132 | * cppinit.c (cpp_read_main_file): Return NULL rather than false. | |
7133 | Fixes PR preprocessor/15067. | |
7134 | ||
e203404e AS |
7135 | 2004-04-23 Andreas Schwab <schwab@suse.de> |
7136 | ||
7137 | * config/ia64/ia64intrin.h: Add intermediate cast to void * to | |
7138 | avoid aliasing warning. | |
7139 | ||
bade3a00 | 7140 | 2004-04-22 Jan Hubicka <jh@suse.cz> |
bdabb153 | 7141 | Mostafa Hagog <mustafa@il.ibm.com> |
bade3a00 JH |
7142 | |
7143 | * cfgloopmanip.c (scale_bbs_frequencies): Use RDIV macro | |
7144 | * cfgloopanal.c (expected_loop_iterations): Change the return value | |
7145 | ||
fb5d4a68 JJ |
7146 | 2004-04-22 Jakub Jelinek <jakub@redhat.com> |
7147 | ||
7148 | * cselib.h (struct elt_loc_list): Remove canon_loc field. | |
7149 | * cselib.c (new_elt_loc_list): Remove canon_loc initialization. | |
7150 | (cselib_invalidate_mem): Remove all canon_loc and canon_x | |
7151 | traces. | |
7152 | ||
b10e5b3a JZ |
7153 | 2004-04-22 Josef Zlomek <zlomekj@suse.cz> |
7154 | ||
7155 | Revert | |
7156 | 2004-04-20 Josef Zlomek <zlomekj@suse.cz> | |
7157 | ||
7158 | * var-tracking.c (variable_part_different_p): Variable parts | |
7159 | differ when the most recent locations differ. | |
7160 | ||
827555ea RS |
7161 | 2004-04-22 Richard Sandiford <rsandifo@redhat.com> |
7162 | ||
7163 | * doc/invoke.texi: Remove the MIPS -membedded-pic option. | |
7164 | * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): Delete. | |
7165 | (embedded_pic_offset): Delete. | |
7166 | * config/mips/mips.h (MASK_EMBEDDED_PIC): Delete. Shuffle other | |
7167 | MASK_* constants. | |
7168 | (TARGET_EMBEDDED_PIC): Delete. | |
7169 | (TARGET_SWITCHES): Remove -m{no-,}embedded-pic. | |
7170 | (ASM_SPEC): Remove -membedded-pic. | |
7171 | (ASM_OUTPUT_ADDR_DIFF_ELT): Remove embedded-pic handling. | |
7172 | (ASM_OUTPUT_CASE_LABEL): Likewise. | |
7173 | * config/mips/vxworks.h (ASM_SPEC): Remove -membedded-pic. | |
7174 | * config/mips/windiss.h (ASM_SPEC): Likewise. | |
7175 | * config/mips/mips.c (struct machine_function): Remove | |
7176 | embedded_pic_fnaddr_rtx. | |
7177 | (TARGET_ENCODE_SECTION_INFO): Remove override. | |
7178 | (embedded_pic_fnaddr_reg, embedded_pic_offset): Delete. | |
7179 | (override_options): Remove -membedded-pic handling. | |
7180 | (print_operand): Remove handling of '%S'. | |
7181 | (mips_select_section: Remove -membedded-pic handling. | |
7182 | (mips_encode_section_info): Delete. | |
7183 | (mips_output_conditional_branch): Remove mention of -membedded-pic. | |
7184 | * config/mips/mips.md (define_attr length, movsi, movdi, jump): Remove | |
7185 | -membedded-pic handling. | |
7186 | (casesi, casesi_internal, casesi_internal_di, get_fnaddr): Delete. | |
7187 | ||
00ca716b AM |
7188 | 2004-04-22 Alan Modra <amodra@bigpond.net.au> |
7189 | ||
7190 | * var-tracking.c (frame_base_decl): Remove useless GTY. | |
7191 | ||
e4463bf1 AH |
7192 | 2004-04-21 Aldy Hernandez <aldyh@redhat.com> |
7193 | ||
7194 | * config/rs6000/rs6000.c (rs6000_override_options): Error when | |
7195 | user wants altivec and e500 instructions. | |
7196 | ||
e24e0aa7 L |
7197 | 2004-04-21 H.J. Lu <hongjiu.lu@intel.com> |
7198 | ||
7199 | PR target/14813 | |
7200 | * config/ia64/crtend.asm: Move pointer to __do_global_ctors_aux | |
7201 | in .init_array section to ... | |
7202 | * config/ia64/crtbegin.asm: Here. | |
7203 | ||
7204 | * config/ia64/crtend.asm: Mark __do_global_ctors_aux global | |
7205 | and hidden if HAVE_INITFINI_ARRAY is defined. | |
7206 | ||
cb7761f5 JW |
7207 | 2004-04-21 James E Wilson <wilson@specifixinc.com> |
7208 | ||
50d32cf6 JW |
7209 | * config/mips/mips-protos.h (fp_register_operand, lo_operand): Declare. |
7210 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Declare. | |
7211 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): New. | |
7212 | (fp_register_operand, lo_operand): New. | |
7213 | (mips_rtx_costs): Add TUNE_SB1 support. | |
7214 | (mips_issue_rate): Add comment. Add PROCESSOR_SB1 support. | |
7215 | (mips_use_dfa_pipeline_interface): Add PROCESSOR_SB1 support. | |
7216 | (mips_multipass_dfa_lookahead): New. | |
7217 | * config/mips/mips.h (MASK_FP_EXCEPTIONS, TARGET_FP_EXCEPTIONS, | |
7218 | TUNE_SB1): New. | |
7219 | (TARGET_SWITCHES): Add -mfp-exceptions support. | |
7220 | (TARGET_FP_EXCEPTIONS_DEFAULT): New. | |
7221 | (BRANCH_COST): Fix whitespace. | |
7222 | * config/mips/mips.md: Include sb1.md. | |
7223 | * config/mips/sb1.md: New file. | |
7224 | * doc/invoke.texi: Document -mfp-exceptions. | |
7225 | ||
cb7761f5 JW |
7226 | * Makefile.in (fixinc.sh): Don't set or export WARN_CFLAGS. Fix |
7227 | comment. | |
7228 | * fixinc/Makefile.in (FL_LIST): Don't mention WARN_CFLAGS. | |
7229 | (fixincl.o-warn): Delete. | |
7230 | ||
a031e781 AP |
7231 | 2004-04-21 Andrew Pinski <pinskia@physics.uc.edu> |
7232 | ||
7233 | * config/rs6000/rs6000 (print_operand) ['z']: | |
7234 | Change ifdef of TARGET_MACHO to if TARGET_MACHO. | |
7235 | ||
06a6469a DJ |
7236 | 2004-04-21 Daniel Jacobowitz <drow@mvista.com> |
7237 | ||
7238 | * config.gcc: Support --with-arch=iwmmxt for ARM. | |
7239 | ||
665acd1e RK |
7240 | 2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7241 | ||
7242 | * expmed.c (expand_mult_highpart_optab): Use narrower version of OP1 | |
7243 | in two more places; remove unneeded force_reg | |
7244 | ||
f9da97f0 AP |
7245 | 2004-04-21 Andrew Pinski <pinskia@physics.uc.edu> |
7246 | ||
7247 | * config/rs6000/rs6000.c (symbol_ref_operand): Remove hack | |
7248 | for TARGET_MACHO. | |
7249 | (print_operand): For TARGET_MACHO check to see if we need a stub | |
7250 | and output one if we need it. | |
de3c6d93 AP |
7251 | |
7252 | PR debug/15033 | |
7253 | * dwarf2out.c (rtl_for_decl_location): Check for NULL | |
7254 | rtl. | |
7255 | ||
75293ad6 JW |
7256 | 2004-04-20 James E Wilson <wilson@specifixinc.com> |
7257 | ||
7258 | * config/ia64/ia64.md (call_value_nogp): Add constraints for op0. | |
7259 | (vall_value_gp): Likewise. | |
7260 | ||
8b495402 | 7261 | 2004-04-20 DJ Delorie <dj@redhat.com> |
7dd7fb88 | 7262 | |
8b495402 DD |
7263 | * dwarf2out.c (rtl_for_decl_location): Adjust rtl for byte |
7264 | variables stored in word registers, then in memory. | |
7265 | ||
77a705e4 EC |
7266 | 2004-04-20 Eric Christopher <echristo@redhat.com> |
7267 | ||
7268 | * cp/parser.c (cp_parser_declaration): Move translate | |
7269 | up before tokens are lexed. | |
7270 | ||
c56122d8 UB |
7271 | 2004-04-20 Uros Bizjak <uros@kss-loka.si> |
7272 | ||
7273 | * optabs.h (enum optab_index): Add new OTI_asin and OTI_acos. | |
7274 | (asin_optab, acos_optab): Define corresponding macros. | |
7275 | * optabs.c (init_optabs): Initialize asin_optab and acos_optab. | |
7276 | * genopinit.c (optabs): Implement asin_optab and acos_optab | |
7277 | using asin?f2 and acos?f2 patterns. | |
7278 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_ASIN{,F,L} | |
7279 | using asin_optab, and BUILT_IN_ACOS{,F,L} using acos_optab. | |
7280 | (expand_builtin): Expand BUILT_IN_ASIN{,F,L} and BUILT_IN_ACOS{,F,L} | |
7281 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
7282 | ||
7283 | * config/i386/i386.md (asindf2, asinsf2, asinxf2, acosdf2, | |
7284 | acossf2, acosxf2): New expanders to implement asin, asinf, asinl, | |
7285 | acos, acosf and acosl built-ins as inline x87 intrinsics. | |
7286 | ||
386d3a16 PB |
7287 | 2004-04-20 Paul Brook <paul@codesourcery.com> |
7288 | ||
7289 | * config/arm/arm.c (arm_legitimate_address_p): Use rtx_equal_p. | |
7290 | ||
7aebacee PB |
7291 | 2004-04-20 Paul Brook <paul@codesourcery.com> |
7292 | ||
7293 | * config/arm/arm.c (arm_expand_prologue): Fix size calculation. | |
7294 | ||
a7b1dc36 PB |
7295 | 2004-04-20 Paolo Bonzini <bonzini@gnu.org> |
7296 | ||
7297 | Revert part of 2004-04-17 change that moved -frename-registers | |
7298 | to -O1. -frename-registers is buggy. | |
7299 | ||
7300 | * toplev.c (flag_rename_registers): Initialize to 0. | |
7301 | * doc/invoke.texi (Optimize options): Move -frename-registers | |
7302 | to "Not triggered by any -O level" section. Adjust commentary | |
7303 | accordingly. | |
77a705e4 | 7304 | |
1548580c | 7305 | 2004-04-20 Anil Paranjpe <anilp1@kpitcummins.com> |
57bef48e AP |
7306 | |
7307 | * toplev.c (compile_file): Move targetm.asm_out.file_end call to end. | |
7308 | ||
169304de RS |
7309 | 2004-04-20 Richard Sandiford <rsandifo@redhat.com> |
7310 | ||
7311 | * config/mips/mips.c (mips_legitimize_move): Generate special patterns | |
7312 | for mflo and mfhi instructions. | |
7313 | (mips_output_move): Remove mflo and mfhi handling. | |
7314 | * config/mips/mips.md (UNSPEC_MFHILO): New unspec. | |
7315 | (*mulsidi3_64bit): Update for new mfhi/mflo representation. | |
7316 | Likewise various define_peephole2s. | |
7317 | (*movdi_32bit, *movdi_64bit, *movsi_internal): Merge x<-J and x<-d | |
7318 | alternatives. | |
7319 | (*movdi_64bit, *movdi_64bit_mips16, *mov[shq]i_internal) | |
7320 | (*mov[shq]i_mips16): Remove mflo and mfhi alternatives. | |
7321 | (mfhilo_di, mfhilo_si): New patterns. | |
7322 | ||
c6ca23fb JZ |
7323 | 2004-04-20 Josef Zlomek <zlomekj@suse.cz> |
7324 | ||
7325 | * function.c (assign_parms): Force | |
7326 | MEM_EXPR (DECL_INCOMING_RTL (parm)) == parm. | |
7327 | ||
6f615a28 JZ |
7328 | 2004-04-20 Josef Zlomek <zlomekj@suse.cz> |
7329 | ||
7330 | * var-tracking.c (variable_part_different_p): Variable parts differ | |
7331 | when the most recent locations differ. | |
7332 | ||
a1bac22c JW |
7333 | 2004-04-19 James E Wilson <wilson@specifixinc.com> |
7334 | ||
7335 | * rtl.h (reg_set_last): Delete declaration. | |
7336 | * rtlanal.c (reg_set_last): Delete. | |
7337 | ||
e419fe91 RS |
7338 | 2004-04-19 Roger Sayle <roger@eyesopen.com> |
7339 | ||
7340 | * fold-const.c (fold_convert): Make function extern/public. | |
7341 | * tree.h (fold_convert): Prototype here. | |
7342 | * builtins.c (expand_builtin_strstr, expand_builtin_strchr, | |
7343 | expand_builtin_strrchr, expand_builtin_strpbrk, | |
7344 | expand_builtin_mempcpy, expand_builtin_bcopy, | |
7345 | expand_builtin_bzero, expand_builtin_memcmp, | |
7346 | expand_builtin_strcmp, expand_builtin_strncmp, | |
7347 | stabilize_va_list, expand_builtin_sprintf, | |
7348 | fold_trunc_transparent_mathfn, fold_builtin_logarithm, | |
7349 | fold_builtin_exponent, fold_builtin_mempcpy, | |
7350 | fold_builtin_strcpy, fold_builtin_strcmp, fold_builtin_strncmp, | |
7351 | fold_builtin_signbit, fold_builtin_isdigit, fold_builtin): Prefer | |
7352 | fold_convert to "convert" or "fold (build1 (NOP_EXPR, ...))". | |
7353 | ||
423c1189 AH |
7354 | 2004-04-19 Aldy Hernandez <aldyh@redhat.com> |
7355 | ||
7dd7fb88 ZW |
7356 | * config/rs6000/rs6000.md (UNSPEC_MV_CR_GT): New constant. |
7357 | (move_from_CR_gt_bit): New. | |
7358 | (cceq_ior_compare): Name previously unnamed pattern. Disable for | |
7359 | E500. | |
7360 | (cceq_rev_compare): Name previously unnamed pattern. Allow for | |
7361 | E500. | |
7362 | ||
7363 | * config/rs6000/spe.md (cmpsfeq_gpr): Rewrite as unspec. | |
7364 | (tstsfeq_gpr): Same. | |
7365 | (cmpsfgt_gpr): Same. | |
7366 | (tstsfgt_gpr): Same. | |
7367 | (cmpsflt_gpr): Same. | |
7368 | (tstsflt_gpr): Same. | |
7369 | (e500_cceq_ior_compare): New. | |
7370 | (e500_flip_gt_bit): New. | |
7371 | ||
7372 | * config/rs6000/rs6000.c (ccr_bit): Remove E500 specific code. | |
7373 | (print_operand): Add 'c' and 'D'. | |
7374 | (rs6000_generate_compare): Rewrite to generate correct rtl. | |
7375 | (rs6000_emit_sCOND): Handle E500. | |
7376 | (output_cbranch): Adjust for changes in rs6000_generate_compare. | |
7377 | (output_e500_flip_gt_bit): New. | |
7378 | ||
7379 | * config/rs6000/rs6000-protos.h (output_e500_flip_gt_bit): | |
7380 | Protoize. | |
423c1189 | 7381 | |
d2beeae7 EC |
7382 | 2004-04-19 Eric Christopher <echristo@redhat.com> |
7383 | ||
7384 | * config/mips/mips.h (DWARF2_ADDR_SIZE): New. | |
7385 | ||
06e7f299 DE |
7386 | 2004-04-19 David Edelsohn <edelsohn@gnu.org> |
7387 | ||
7388 | * doc/install.texi (*-ibm-aix*): Add AIX 5.1 assembler and archiver | |
7389 | fix information. | |
d2beeae7 | 7390 | |
8df5a2b4 RO |
7391 | 2004-04-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7392 | ||
7393 | * doc/install.texi (Specific, mips-sgi-irix5): Fix IRIX 5.3 IDO | |
7394 | download URL. | |
7395 | ||
9ca75f15 DJ |
7396 | 2004-04-19 Daniel Jacobowitz <drow@mvista.com> |
7397 | ||
7398 | * stor-layout.c (layout_decl): Check DECL_PACKED before calling | |
7399 | ADJUST_FIELD_ALIGN. Check maximum_field_alignment after. | |
7400 | ||
4b493aa5 AP |
7401 | 2004-04-19 Andrew PInski <pinskia@physics.uc.edu> |
7402 | ||
66a5d24b AP |
7403 | * builtins.c (fold_builtin_cabs): Remove fndecl parameter. |
7404 | (fold_builtin): Update caller to match. | |
7405 | ||
4b493aa5 AP |
7406 | PR bootstrap/15009 |
7407 | * bb-reorder.c (fix_up_fall_thru_edges): Init cond_jump. | |
7408 | ||
7409 | PR bootstrap/14999 | |
7410 | * builtins.c (fold_builtin_cabs): Mark fndecl as unused. | |
7411 | ||
3d8f2528 RK |
7412 | 2004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7413 | ||
a3d71605 RK |
7414 | * varasm.c (compare_constant, case VIEW_CONVERT_EXPR): Add case. |
7415 | ||
3d8f2528 RK |
7416 | * expmed.c (expand_mult_highpart_adjust): Make OP1 valid for MODE. |
7417 | (expand_mult_highpart_optab): Likewise. | |
7418 | (expand_mult_highpart): Make OP1 valid for WIDER_MODE, not MODE. | |
7419 | ||
6f6c1f6d PB |
7420 | 2004-04-19 Paul Brook <paul@codesourcery.com> |
7421 | ||
7422 | * config/arm/arm.md (fixuns_truncsfsi2, fixuns_truncdfsi2, | |
7423 | floatunssisf2, floatunssidf2): New patterns. | |
7424 | ||
fea77ed9 MM |
7425 | 2004-04-18 Mark Mitchell <mark@codesourcery.com> |
7426 | ||
33adcb6c MM |
7427 | PR other/14918 |
7428 | * doc/invoke.texi (-fprofile-generate): Document requirement to | |
7429 | use -fprofile-generate when linking. | |
7430 | ||
fea77ed9 MM |
7431 | * doc/extend.texi (Strong Using): Warn users against using this |
7432 | feature. | |
7433 | ||
76cbf5bf RS |
7434 | 2004-04-18 Richard Sandiford <rsandifo@redhat.com> |
7435 | ||
7436 | * config/mips/mips-protos.h (m16_usym8_4, m16_usym5_4): Delete. | |
7437 | * config/mips/mips.h (mips_entry, mips_string_length): Delete. | |
7438 | (CONSTANT_POOL_BEFORE_FUNCTION, ASM_OUTPUT_POOL_EPILOGUE): Undefine. | |
7439 | * config/mips/mips.c (struct mips16_constant): Renamed from struct | |
7440 | constant. Propogate change throughout file. | |
7441 | (struct machine_function): Remove insns_len. | |
7442 | (mips_string_length, mips16_strings, string_constants): Delete. | |
7443 | (mips_classify_symbol): Return SYMBOL_CONSTANT_POOL for LABEL_REFs | |
7444 | when generating mips16 code. Remove special mips16 treatment of | |
7445 | string constants. | |
7446 | (mips_symbolic_constant_p): Allow mips16 constant pool accesses | |
7447 | to have the form LABEL+CONSTANT. | |
7448 | (mips_symbolic_address_p): Fix comment. | |
7449 | (m16_usym8_4, m16_usym5_4): Delete. | |
7450 | (mips_output_function_epilogue): Remove mips16 string handling. | |
7451 | (mips_output_mi_thunk): Call mips16_lay_out_constants. | |
7452 | (mips_select_section, mips_encode_section_info): Remove mips16 | |
7453 | string handling. | |
7454 | (struct mips16_constant_pool): New. | |
7455 | (add_constant): Take a mips16_constant_pool structure. Keep pool | |
7456 | sorted into order of ascending mode size. Keep track of the highest | |
7457 | possible start address, taking padding and the masking of the base PC | |
7458 | value into account. | |
7459 | (dump_constants_1): New function, split out from dump_constants. | |
7460 | Handle vector constants. Use gen_consttable_{int,float} rather than | |
7461 | separate functions for each mode. | |
7462 | (dump_constants): Simplify. Use GET_MODE_ALIGNMENT. Use gen_align | |
7463 | rather than separate functions for each alignment. | |
7464 | (mips_find_symbol): Delete. | |
7465 | (mips16_insn_length): New function, split out from | |
7466 | mips16_lay_out_constants. | |
7467 | (mips16_rewrite_pool_refs): New function. | |
7468 | (mips16_lay_out_constants): Rework. Remove string handling. | |
7469 | Always create an inline constant pool. | |
7470 | * config/mips/mips.md (UNSPEC_CONSTTABLE_INT, UNSPEC_CONSTTABLE_FLOAT) | |
7471 | (UNSPEC_ALIGN): New constants. | |
7472 | (UNSPEC_CONSTTABLE_[QHSD]I, UNSPEC_CONSTTABLE_[SD]F): Delete. | |
7473 | (UNSPEC_ALIGN_[248]): Delete. | |
7474 | (consttable_int, consttable_float, align): New patterns. | |
7475 | (consttable_[qhsd]i, consttable_[sd]f, align_[248]): Delete. | |
7476 | ||
8d33585c AH |
7477 | 2004-04-17 Aldy Hernandez <aldyh@redhat.com> |
7478 | ||
7479 | * config/rs6000/altivec.h (vec_any_numeric): Correct typo in | |
7480 | __unn_args_eq. | |
7481 | ||
03e007d7 AM |
7482 | 2004-04-17 Alan Modra <amodra@bigpond.net.au> |
7483 | ||
7484 | PR target/14715 | |
7485 | * config/rs6000/rs6000.c (rs6000_stack_info): Make parm_size agree | |
7486 | with STARTING_FRAME_OFFSET. | |
7487 | ||
3bd06df7 RS |
7488 | 2004-04-17 Richard Sandiford <rsandifo@redhat.com> |
7489 | ||
7490 | * config/mips/mips.h (PREDICATE_CODES): Add macc_msac_operand. | |
7491 | * config/mips/mips.c (macc_msac_operand): New function. | |
7492 | * config/mips/mips.md (*msac): Move after *macc. | |
7493 | (*msac2): New. Generalize macc-related peepholes so that they apply | |
7494 | to msac too. | |
7495 | ||
38d396e5 PB |
7496 | 2004-04-17 Paolo Bonzini <bonzini@gnu.org> |
7497 | ||
7498 | * opts.c (decode_options): Do not enable flag_rename_registers | |
7499 | and flag_web at -O3. | |
7500 | * toplev.c (flag_rename_registers): Initialize | |
7501 | flag_rename_registers and flag_web to | |
7502 | AUTODETECT_FLAG_VAR_TRACKING. | |
7503 | (default_debug_hooks): New global. | |
7504 | (process_options): Initialize default_debug_hooks. Warn if | |
7505 | -fvar-tracking specified but not supported by the current | |
7506 | debug format. Do not run var tracking at -O0 or if not | |
7507 | supported by the current debug format, even if | |
7508 | -fvar-tracking was given. If -fno-rename-registers | |
7509 | is not specified, always run register renaming if var | |
7510 | tracking is supported by the default debugging information | |
7511 | format for the target, and we are at -O1 or higher; similarly | |
7512 | for -fweb, but only at -O2 or higher. | |
7513 | * doc/invoke.texi (Optimize Options): Document this. | |
7514 | ||
82e923f6 RS |
7515 | 2004-04-17 Richard Sandiford <rsandifo@redhat.com> |
7516 | ||
7517 | * configure.ac (gcc_cv_ld_as_needed): Use AC_CACHE_CHECK. | |
7518 | * configure: Regenerate. | |
7519 | ||
f645e2bd RS |
7520 | 2004-04-17 Richard Sandiford <rsandifo@redhat.com> |
7521 | ||
7522 | * gcc.c (used_arg): Check whether an option has been removed. | |
7523 | ||
04db08db RO |
7524 | 2004-04-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7525 | ||
7526 | * config.gcc (i[34567]86-*-solaris2*): Default to DWARF-2 | |
7527 | debugging on Solaris 7 and up. | |
7528 | ||
7e270317 RO |
7529 | 2004-04-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
7530 | ||
7531 | * doc/install.texi (Specific, mips-sgi-irix5): Reflect working | |
7532 | IRIX 5 port. | |
7533 | Remove -save-temps workaround, handled automatically. | |
7534 | Require GNU binutils 2.15 for debugging. | |
7535 | Remove SGI make warnings since GNU make is now required. | |
7536 | (Specific, mips-sgi-irix6): Some markup fixes. | |
7537 | Describe MIPSpro C problems and workarounds. | |
7538 | Mention working O32 ABI support. | |
7539 | Recommend GNU as 2.15 for O32 with debugging. | |
7540 | Remove description of fixed structure pass/return bug. | |
7541 | ||
2d49ce67 DD |
7542 | 2004-04-16 DJ Delorie <dj@redhat.com> |
7543 | ||
7544 | * sdbout.c (sdbout_one_type): Use TYPE_VALUES for enums, not | |
7545 | TYPE_FIELDS. | |
7546 | (sdbout_finish): Don't free deferred_global_decls; it's GC'd. | |
7547 | ||
41067a2f JDA |
7548 | 2004-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7549 | ||
e6b75edc JDA |
7550 | * pa.md: Remove unnecessary declarations for asm_out_file. |
7551 | ||
7945b276 JDA |
7552 | * pa64-regs.h (DBX_REGISTER_NUMBER): Simplify and correct mapping of |
7553 | SAR register. Fix comment. | |
7554 | (ADDITIONAL_REGISTER_NAMES): Correct register number of SAR register | |
7555 | (%cr11). | |
7556 | ||
41067a2f JDA |
7557 | * pa64-hpux.h (LIB_SPEC): Fix library specification used with GNU ld. |
7558 | ||
c805f22e NC |
7559 | 2004-04-16 Nick Clifton <nickc@redhat.com> |
7560 | ||
7561 | * config/arm/arm.c (arm_override_options): Revert previous patch. | |
7562 | * config/arm/t-xscale-elf: Disable iwmmxt multilibs until they can | |
7563 | be safely built. | |
7564 | ||
7b14411a | 7565 | 2004-04-16 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
8a897efe KI |
7566 | |
7567 | * config/m32r/m32r.h (BIG_ENDIAN_BIT): Deleted to fix endian | |
7568 | bug. | |
7569 | (TARGET_LITTLE_ENDIAN, TARGET_BIG_ENDIAN, | |
7570 | TARGET_DEFAULT): Changed. Ditto. | |
7571 | (LITTLE_ENDIAN_BIT, TARGET_CPU_DEFAULT, | |
7572 | TARGET_ENDIAN_DEFAULT): Added. Ditto. | |
7573 | * config/m32r/little.h (TARGET_LITTLE_ENDIAN): Deleted. | |
7574 | (TARGET_ENDIAN_DEFAULT): Added. | |
7575 | ||
b069dd3f KG |
7576 | 2004-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7577 | ||
7578 | * builtins.def (BUILT_IN_ISDIGIT, BUILT_IN_ISXDIGIT): Mark with | |
7579 | ATTR_CONST_NOTHROW_LIST. | |
7580 | ||
df28deda KG |
7581 | 2004-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7582 | ||
7583 | PR/middle-end 14915 | |
7584 | * builtins.c (expand_builtin_signbit): Test BYTES_BIG_ENDIAN, not | |
7585 | BITS_BIG_ENDIAN. | |
7586 | ||
c87fbb0a PH |
7587 | 2004-04-15 Pat Haugen <pthaugen@us.ibm.com> |
7588 | ||
7589 | * ra-debug.c (ra_print_rtx): Add break's to case legs. | |
7590 | ||
ea7b98d0 JW |
7591 | 2004-04-14 James E Wilson <wilson@specifixinc.com> |
7592 | ||
7593 | * Makefile.in (fixinc.sh): Set WARN_CFLAGS to empty string. | |
7594 | ||
69f9a345 NN |
7595 | 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org> |
7596 | ||
7597 | * libada-mk.in: New file. | |
7598 | * configure.ac: Create libada-mk from libada-mk.in. | |
7599 | * configure: Regenerate. | |
7600 | ||
88b28a31 UB |
7601 | 2004-04-14 Uros Bizjak <uros@kss-loka.si> |
7602 | ||
7603 | * optabs.h (enum optab_index): Add new OTI_logb and OTI_ilogb. | |
7604 | (logb_optab, ilogb_optab): Define corresponding macros. | |
7605 | * optabs.c (init_optabs): Initialize logb_optab and ilogb_optab. | |
7606 | * genopinit.c (optabs): Implement logb_optab and ilogb_optab | |
7607 | using logb?f2 and ilogb?i2 patterns. | |
7608 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOGB{,F,L} | |
7609 | using logb_optab, and BUILT_IN_ILOGB{,F,L} using ilogb_optab. | |
7610 | (expand_builtin): Expand BUILT_IN_LOGB{,F,L} and BUILT_IN_ILOGB{,F,L} | |
7611 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
7612 | ||
7613 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_XTRACT_FRACT | |
7614 | and UNSPEC_XTRACT_EXP. | |
7615 | ||
7616 | * config/i386/i386.md (*fxtractdf3, *fxtractsf3, *fxtractxf3): New | |
7617 | patterns to implement fxtract x87 instruction. | |
7618 | (logbdf2, logbsf2, logbxf2, ilogbsi2): New expanders to implement | |
7619 | logb, logbf, logbl, ilogb, ilogbf and ilogbl built-ins as inline x87 | |
7620 | intrinsics. | |
7621 | (UNSPEC_XTRACT_FRACT, UNSPEC_XTRACT_EXP): New unspecs to represent | |
7622 | x87's fxtract insn. | |
7623 | ||
ec6e4092 EC |
7624 | 2004-04-14 Eric Christopher <echristo@redhat.com> |
7625 | ||
7626 | * config/mips/t-elf: Enable multilibs by default. | |
7627 | ||
ef482a86 AT |
7628 | 2004-04-14 Andreas Tobler <a.tobler@schweiz.ch> |
7629 | ||
7630 | * bb-reorder.c (fix_crossing_conditional_branches): Adjust the | |
7631 | previous fix to check HAVE_return at runtime too. | |
7632 | ||
cd2b7af0 NC |
7633 | 2004-04-14 Nick Clifton <nickc@redhat.com> |
7634 | ||
7635 | * config/arm/arm.c (arm_override_options): If the user has not | |
7636 | specified an ABI, then default to AAPCS for the iWMMXt processor. | |
7637 | * config/arm/t-xscale-elf: Remove redundant multilib specifications. | |
7638 | * config/arm/t-xscale-coff: Likewise. | |
7639 | ||
61218d19 KG |
7640 | 2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7641 | ||
7642 | * builtins.c (fold_builtin_isdigit): New. | |
7643 | (fold_builtin): Handle BUILT_IN_ISDIGIT. | |
7644 | * defaults.h: Add TARGET_DIGIT0 and sort. | |
7645 | * doc/tm.texi: Add TARGET_BS and TARGET_DIGIT0. | |
7646 | ||
a69934e0 KG |
7647 | 2004-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7648 | ||
7649 | * builtins.c (fold_builtin_cabs, fold_builtin): Use | |
7650 | `mathfn_built_in' to determine the new builtin. | |
7651 | * fold-const.c (fold): Likewise. | |
7652 | ||
74b9f2d5 RS |
7653 | 2004-04-14 Richard Sandiford <rsandifo@redhat.com> |
7654 | ||
7655 | * doc/invoke.texi: Rename MIPS's -mfix-vr4122-bugs to -mfix-vr4120. | |
7656 | * config/mips/mips.h (MASK_FIX_VR4120): Renamed from MASK_FIX_VR4122. | |
7657 | (TARGET_FIX_VR4120): Likewise TARGET_FIX_VR4122. | |
7658 | (TARGET_SWITCHES): Replace -mfix-vr4122-bugs with -mfix-vr4120. | |
7659 | (ASM_SPEC): Update accordingly. | |
7660 | * config/mips/mips.c: Update after above renaming. | |
7661 | * config/mips/mips.md, config/mips/t-vr, config/mips/vr.h: Likewise. | |
7662 | * config/mips/vr4120-div.S: Renamed from vr4122-div.S. | |
7663 | ||
540554f4 JW |
7664 | 2004-04-13 James E Wilson <wilson@specifixinc.com> |
7665 | ||
7666 | * c-opt.c (c_common_post_options): If this_input_filename is NULL, | |
7667 | increment errorcount and return false instead of true. | |
7668 | ||
a072d43b UB |
7669 | 2004-04-13 Uros Bizjak <uros@kss-loka.si>: |
7670 | ||
7671 | * optabs.c (expand_twoval_unop): Reorder function arguments. | |
7672 | * builtins.c (expand_builtin_mathfn_3): Update calls to | |
7673 | expand_twoval_unop. | |
7674 | ||
7675 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_TAN_ONE | |
7676 | and UNSPEC_TAN_TAN. Add missing comment. | |
7677 | ||
7678 | * config/i386/i386.md (*tandf3_1, *tansf3_1, *tanxf3_1): New | |
7679 | patterns to implement fptan x87 instruction. | |
7680 | (tandf2, tansf2, tanxf2): New expanders to implement tan, tanf | |
7681 | and tanl built-ins as inline x87 intrinsics. Define corresponding | |
7682 | peephole2 optimizers for 'fptan; fstp %st(0); fld1' sequence. | |
7683 | (UNSPEC_TAN_ONE, UNSPEC_TAN_TAN): New unspecs to represent | |
7684 | x87's fptan insn. | |
7685 | ||
b50b729d RH |
7686 | 2004-03-13 Richard Henderson <rth@redhat.com> |
7687 | ||
7688 | * bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode | |
7689 | for LABEL_REFs. | |
7690 | ||
3a4bdd05 RH |
7691 | * defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot. |
7692 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise. | |
7693 | * doc/invoke.texi: Update to match. | |
7694 | ||
73ad3de5 RH |
7695 | * varasm.c (unlikely_text_section): Use assemble_align instead of |
7696 | ASM_OUTPUT_ALIGN. Use it in the correct place with an approximately | |
7697 | correct alignment argument. | |
7698 | ||
9532c14f UW |
7699 | 2004-04-13 Ulrich Weigand <uweigand@de.ibm.com> |
7700 | ||
7701 | * reload1.c (emit_reload_insns): Set reg_has_output_reload to one | |
7702 | after setting reg_last_reload_reg for optional output reloads. | |
7703 | ||
3d3947a9 FJ |
7704 | 2004-04-12 Fariborz Jahanian <fjahanian@apple.com> |
7705 | ||
7706 | * config/rs6000/altivec.h (vec_mergeh, vec_mergel): | |
7707 | Definition of these two macros are corrected by adding | |
7708 | matchine right paren. | |
7709 | ||
f778cbf0 JL |
7710 | 2004-04-12 Jonathan Larmour <jifl@eCosCentric.com> |
7711 | ||
7712 | * fix-header.c: kill(), putenv() and tzset() are POSIX not ANSI. | |
7713 | ||
5ea9cb6e RS |
7714 | 2004-04-12 Roger Sayle <roger@eyesopen.com> |
7715 | ||
7716 | * config/i386/i386.c (output_387_reg_move): New function. | |
7717 | * config/i386/i386-protos.h (output_387_reg_move): Prototype here. | |
7718 | * config/i386/i386.md (*movsf_1, *movsf1_nointerunit, | |
7719 | *movdf_nointeger, *movdf_integer, *movxf_nointeger, *movxf_integer, | |
7720 | *extendsfdf2_1, *extendsfxf2_1, *extenddfxf2_1, truncdfsf2_noop, | |
7721 | truncxfsf2_noop, truncxfdf2_noop): Call output_387_reg_move. | |
7722 | ||
1c9766da RK |
7723 | 2004-04-12 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
7724 | ||
7725 | * c-decl.c (finish_decl): Make a decl_stmt for a variable-sized | |
7726 | TYPE_DECL. | |
7727 | * c-semantics.c (genrtl_decl_stmt): Handle TYPE_DECL. | |
7728 | * stmt.c (expand_decl): Remove redundant expansion of TYPE_DOMAIN. | |
7729 | * stor-layout.c (variable_size): Don't check for MINUS_EXPR. | |
7730 | Use skip_simple_arithmetic to find SAVE_EXPR. | |
7731 | (force_type_save_exprs, force_type_save_exprs_1): New functions. | |
7732 | * tree-inline.c (remap_type, case POINTER_TYPE, case REFERENCE_TYPE): | |
7733 | Properly chain multiple pointers. | |
7734 | (copy_tree_r): Copy a TYPE_DECL. | |
7735 | * tree.c (variably_modified_type_p): Add some missing tests and | |
7736 | make some other minor changes. | |
7737 | * tree.h (force_type_save_exprs): New declaration. | |
7738 | ||
1e9b78b0 RS |
7739 | 2004-04-12 Roger Sayle <roger@eyesopen.com> |
7740 | ||
7741 | * simplify-rtx.c (simplify_binary_operation) <UDIV, DIV, UMOD, MOD>: | |
7742 | Remove fall throughs. Convert 0/x and 0%x into x&0 when x has | |
7743 | side-effects. Don't convert x/1.0 into x if we honor signaling NaNs. | |
7744 | Convert x/-1.0 into -x if we don't honor signaling NaNs. Convert | |
7745 | x/-1 into -x. Optimize x%1 into x&0 if x has side-effects. Optimize | |
7746 | x%-1 into 0 (or x&0 if x has side-effects). | |
7747 | ||
fef98bf2 AH |
7748 | 2004-04-11 Aldy Hernandez <aldyh@redhat.com> |
7749 | ||
7750 | * config/rs6000/rs6000.md: Document why a pattern is not | |
7751 | available. | |
7752 | ||
7753 | * config/rs6000/rs6000.c (rs6000_emit_cmove): Disable comparisons | |
7754 | of floats on the E500. | |
7755 | (branch_positive_comparison_operator): Do not allow NE even on the | |
7756 | E500. | |
7757 | ||
642af3be AH |
7758 | 2004-04-11 Aldy Hernandez <aldyh@redhat.com> |
7759 | ||
7760 | * config/rs6000/rs6000.c (rs6000_assemble_integer): Change | |
7761 | in_text_unlikely_section to in_unlikely_text_section. | |
7762 | ||
b3e65ebb RS |
7763 | 2004-04-11 Roger Sayle <roger@eyesopen.com> |
7764 | ||
7765 | * fold-const.c (fold_binary_op_with_conditional_arg): Tweak | |
7766 | calling convention to allow a NULL_TREE to be returned. Factor | |
7767 | sanity checks from callers, return NULL_TREE when appropriate. | |
7768 | (fold): Handle COMPOUND_EXPR operands of binary expressions | |
7769 | before COND_EXPR operands. Use reorder_operands_p(a,b) to check | |
7770 | whether a op (b,c) can be rewritten as (b, a op c). Simplify | |
7771 | calls to fold_binary_op_with_conditional_arg. | |
7772 | ||
19d33948 KG |
7773 | 2004-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7774 | ||
7775 | * config/mips/iris5.h (current_section_flags): Add | |
7776 | in_unlikely_executed_text and default case. | |
7777 | ||
cf22ce3c AT |
7778 | 2004-04-11 Andreas Tobler <a.tobler@schweiz.ch> |
7779 | ||
7780 | * bb-reorder.c (fix_crossing_conditional_branches): Fix bootstrap | |
7781 | failure on solaris. Place ifdef HAVE_return around gen_ret call. | |
7782 | * cfgrtl.c (force_nonfallthru_and_redirect): Remove ifdef | |
7783 | HAVE_return and place it around the place where it is needed. | |
7784 | ||
34982294 AP |
7785 | 2004-04-11 Andrew Pinski <pinskia@physics.uc.edu> |
7786 | ||
7787 | * varasm.c (text_section): Use TEXT_SECTION_ASM_OP and | |
7788 | ASM_OUTPUT_ALIGN instead of SECTION_FORMAT_STRING | |
7789 | and NORMAL_TEXT_SECTION_NAME. | |
7790 | (unlikely_text_section): Check targetm.have_named_sections | |
7791 | instead of TARGET_ASM_NAMED_SECTION and use TEXT_SECTION_ASM_OP | |
7792 | instead of SECTION_FORMAT_STRING. | |
7793 | * config/mips/iris5.h (current_section_name): Add | |
7794 | in_unlikely_executed_text case and move the abort into the switch. | |
7795 | * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME): Remove. | |
7796 | (NORMAL_TEXT_SECTION_NAME): Remove. | |
7797 | (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Remove. | |
7798 | (SECTION_FORMAT_STRING): Remove. | |
7799 | * defaults.h (SECTION_FORMAT_STRING): Remove. | |
7800 | * tm.texi (NORMAL_TEXT_SECTION_NAME): Remove. | |
7801 | (SECTION_FORMAT_STRING): Remove. | |
7802 | ||
c7e1876b JM |
7803 | 2004-04-10 Joseph S. Myers <jsm@polyomino.org.uk> |
7804 | ||
7805 | * c-typeck.c (common_type): Prefer long long to long when same | |
7806 | precision. | |
7807 | ||
7c3ac422 ZW |
7808 | 2004-04-09 Zack Weinberg <zack@codesourcery.com> |
7809 | ||
7810 | PR 14887 | |
7811 | * config/ia64/hpux.h (MEMBER_TYPE_FORCES_BLK): Look only at | |
7812 | mode argument. | |
7813 | * config/ia64/ia64.c (ia64_hpux_file_end): Check | |
7814 | TREE_SYMBOL_REFERENCED on DECL_ASSEMBLER_NAME, not DECL_NAME. | |
7815 | ||
0b24db88 RS |
7816 | 2004-04-09 Roger Sayle <roger@eyesopen.com> |
7817 | ||
7818 | * simplify-rtx.c (mode_signbit_p): New function to check whether | |
7819 | an RTX is an immediate constant that represents the most significant | |
7820 | bit of a given machine mode. | |
7821 | (simplify_unary_operation) <NOT>: Optimize ~(X+C) as X ^ ~C, where | |
7822 | C is the sign bit. | |
7823 | (simplify_binary_operation) <PLUS>: Optimize (X^C1) + C2 as X^(C1^C2) | |
7824 | when C2 is the sign bit. | |
7825 | (simplify_binary_operation) <XOR>: Canonicalize X^C as X+C when C | |
7826 | is the sign bit. Optimize (X+C1) ^ C2 as X^(C1^C2) when C1 is the | |
7827 | sign bit. | |
7828 | ||
ce58118c KG |
7829 | 2004-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
7830 | ||
7831 | * builtins.c (mathfn_built_in): Check TYPE_MAIN_VARIANT, not | |
7832 | TYPE_MODE. | |
7833 | ||
c29726e2 AP |
7834 | 2004-04-09 Andrew Pinski <pinskia@physics.uc.edu> |
7835 | ||
7836 | * c-common.c (handle_noreturn_attribute): Use TYPE_READONLY instead | |
7837 | of TREE_READONLY for types. | |
7838 | ||
750054a2 CT |
7839 | 2004-04-09 Caroline Tice <ctice@apple.com> |
7840 | ||
7c3ac422 | 7841 | * basic-block.h (struct edge_def): Add new field, crossing_edge. |
750054a2 CT |
7842 | (struct basic_block_def): Add new field, partition. |
7843 | (UNPARTITIONED, HOT_PARTITION, COLD_PARTITION): New constant macro | |
7844 | definitions. | |
7c3ac422 | 7845 | (partition_hot_cold_basic_blocks): Add extern function |
750054a2 | 7846 | declaration. |
7c3ac422 | 7847 | * bb-reorder.c (function.h, obstack.h, expr.h, regs.h): Add four new |
750054a2 CT |
7848 | include statements. |
7849 | (N_ROUNDS): Increase the maximum number of rounds by 1. | |
7850 | (branch_threshold): Add array value for new round. | |
7851 | (exec_threshold): Add array value for new round. | |
7852 | (push_to_next_round_p): New function. | |
7853 | (add_unlikely_executed_notes): New function. | |
7854 | (find_rarely_executed_basic_blocks_and_crossing_edges): New function. | |
7855 | (mark_bb_for_unlikely_executed_section): New function. | |
7856 | (add_labels_and_missing_jumps): New function. | |
7857 | (add_reg_crossing_jump_notes): New function. | |
7858 | (fix_up_fall_thru_edges): New function. | |
7859 | (find_jump_block): New function. | |
7860 | (fix_crossing_conditional_branches): New function. | |
7861 | (fix_crossing_unconditional_branches): New function. | |
7862 | (fix_edges_for_rarely_executed_code): New function. | |
7863 | (partition_hot_cold_basic_blocks): New function. | |
7864 | (find_traces): Add an extra round for partitioning hot/cold | |
7865 | basic blocks. | |
7866 | (find_traces_1_round): Add a parameter. Modify to push all cold blocks, | |
7867 | and only cold blocks, into the last (extra) round of collecting traces. | |
7c3ac422 | 7868 | (better_edge_p): Add a parameter. Modify to favor non-crossing edges |
750054a2 | 7869 | over crossing edges. |
7c3ac422 | 7870 | (bb_to_key): Add code to correctly identify cold blocks when |
750054a2 CT |
7871 | doing partitioning. |
7872 | (connect_traces): Modify to connect all the non-cold traces first, then | |
7873 | go back and connect up all the cold traces. | |
7874 | (reorder_basic_blocks): Add call to add_unlikely_executed_notes. | |
7875 | * cfg.c (entry_exit_blocks): Add initialization for partition field in | |
7876 | entry and exit blocks. | |
7c3ac422 | 7877 | * cfgbuild.c (make_edges): Update current_function_has_computed_jump |
750054a2 CT |
7878 | if we are doing hot/cold partitioning. |
7879 | * cfgcleanup.c (cfglayout.h): Add new include statement. | |
7c3ac422 | 7880 | (try_simplify_condjump): Modify to not attempt on blocks with jumps |
750054a2 CT |
7881 | that cross section boundaries. |
7882 | (try_forward_edges): Likewise. | |
7883 | (merge_blocks_move_predecessor_nojumps): Likewise. | |
7884 | (merge_blocks_move_successor_nojumps): Likewise. | |
7885 | (merge_blocks_move): Likewise. | |
7886 | (try_crossjump_to_edge): Modify to not attempt after we have done | |
7887 | the block partitioning. | |
7888 | (try_crossjump_bb): Modify to not attempt on blocks with jumps that | |
7889 | cross section boundaries. | |
7890 | (try_optimize_cfg): Likewise. | |
7891 | * cfghooks.c (tidy_fallthru_edges): Modify to not remove indirect | |
7892 | jumps that cross section boundaries. | |
7c3ac422 | 7893 | * cfglayout.c (flags.h): Add new include statement. |
750054a2 | 7894 | (update_unlikely_executed_notes): New function. |
7c3ac422 ZW |
7895 | (fixup_reorder_chain): Add code so when a new jumping basic block is |
7896 | added, it's UNLIKELY_EXECUTED_CODE and REG_CROSSING_JUMP notes are | |
750054a2 CT |
7897 | updated appropriately. |
7898 | (duplicate_insn_chain): Add code to duplicate the new NOTE insn | |
7899 | introduced by this optimization. | |
7c3ac422 ZW |
7900 | * cfglayout.h (scan_ahead_for_unlikely_executed_note): Add new |
7901 | extern function declaration. | |
750054a2 CT |
7902 | * cfgrtl.c (can_delete_note_p): Add NOTE_INSN_UNLIKELY_EXECUTED_CODE to |
7903 | list of notes that can be deleted. | |
7904 | (create_basic_block_structure): Add initialization for partition field. | |
7905 | (rtl_can_merge_blocks): Modify to test blocks for jumps that cross | |
7906 | section boundaries. | |
7907 | (try_redirect_by_replacing_jump): Modify to not attempt on jumps that | |
7908 | cross section boundaries. | |
7909 | (commit_one_edge_insertion): Add code so newly created basic block | |
7c3ac422 | 7910 | ends up in correct (hot or cold) section. Modify to disallow |
750054a2 CT |
7911 | insertions before NOTE_INSN_UNLIKELY_EXECUTED_CODE notes. |
7912 | (rtl_verify_flow_info_1): Add code to verify that no fall_thru edge | |
7913 | crosses section boundaries. | |
7914 | (cfg_layout_can_merge_blocks_p): Modify to test blocks for jumps that | |
7915 | cross section boundaries. | |
7916 | (force_nonfallthru_and_redirect): Modify to make sure new basic block | |
7917 | ends up in correct section, with correct notes attached. | |
7c3ac422 ZW |
7918 | * common.opt (freorder-blocks-and-partition): Add new flag for this |
7919 | optimization. | |
7920 | * dbxout.c (dbx_function_end): Add code to make sure scope labels at | |
7921 | the end of functions are written into the correct (hot or cold) | |
7922 | section. | |
750054a2 CT |
7923 | (dbx_source_file): Add code so writing debug file information |
7924 | doesn't incorrectly change sections. | |
7c3ac422 | 7925 | * defaults.h (NORMAL_TEXT_SECTION_NAME): New constant macro, for use |
750054a2 | 7926 | in partitioning hot/cold basic blocks into separate sections. |
7c3ac422 | 7927 | (SECTION_FORMAT_STRING): New constant macro, for linux/i386 hot/cold |
750054a2 CT |
7928 | section partitioning. |
7929 | (HAS_LONG_COND_BRANCH): New constant macro, indicating whether or not | |
7930 | conditional branches can span all of memory. | |
7931 | (HAS_LONG_UNCOND_BRANCH): New constant macro, indicationg whether or not | |
7932 | unconditional branches can span all of memory. | |
7c3ac422 ZW |
7933 | * final.c (scan_ahead_for_unlikely_executed_note): New function. |
7934 | (final_scan_insn): Add code to check for NOTE instruction indicating | |
7935 | whether basic block belongs in hot or cold section, and to make sure | |
7936 | the current basic block is being written to the appropriate section. | |
7937 | Also added code to ensure that jump table basic blocks end up in the | |
7938 | correct section. | |
7939 | * flags.h (flag_reorder_blocks_and_partition): New flag. | |
750054a2 CT |
7940 | * ifcvt.c (find_if_case_1): Modify to not attempt if conversion if |
7941 | one of the branches has a jump that crosses between sections. | |
7942 | (find_if_case_2): Likewise. | |
7c3ac422 | 7943 | (ifcvt): Modify to not attempt to mark loop exit edges after |
750054a2 | 7944 | hot/cold partitioning has occurred. |
7c3ac422 ZW |
7945 | * opts.c (decode_options): Code to handle new flag, |
7946 | flag_reorder_blocks_and_partition; also to turn it off if | |
750054a2 | 7947 | flag_exceptions is on. |
7c3ac422 ZW |
7948 | (common_handle_option): Code to handle new flag, |
7949 | flag_reorder_blocks_and_partition. | |
7950 | * output.h (unlikely_text_section): New extern function declaration. | |
750054a2 | 7951 | (in_unlikely_text_section): New extern function declaration. |
7c3ac422 ZW |
7952 | * passes.c (rest_of_handle_stack_regs): Add |
7953 | flag_reorder_blocks_and_partition as an 'or' condition for calling | |
750054a2 | 7954 | reorder_basic_blocks. |
7c3ac422 | 7955 | (rest_of_handle_reorder_blocks): Add flag_reorder_blocks_and_partition |
750054a2 CT |
7956 | as an 'or' condition for calling reorder_basic_blocks. |
7957 | (rest_of_compilation): Add call to partition_hot_cold_basic_blocks. | |
7c3ac422 ZW |
7958 | * print-rtl.c (print_rtx): Add code for handling new note, |
7959 | NOTE_INSN_UNLIKELY_EXECUTED_CODE | |
7960 | * rtl.c (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note insn (see below). | |
750054a2 CT |
7961 | (REG_CROSSING_JUMP): New kind of reg_note, to mark jumps that |
7962 | cross between section boundaries. | |
7c3ac422 ZW |
7963 | * rtl.h (NOTE_INSN_UNLIKELY_EXECUTED_CODE): New note instruction, |
7964 | indicating the basic block containing it belongs in the cold section. | |
750054a2 CT |
7965 | (REG_CROSSING_JUMP): New type of reg_note, to mark jumps that cross |
7966 | between hot and cold sections. | |
7c3ac422 ZW |
7967 | * toplev.c (flag_reorder_blocks_and_partition): Add code to |
7968 | initialize this flag, and to tie it to the command-line option | |
7969 | freorder-blocks-and-partition. | |
7970 | * varasm.c (cfglayout.h): Add new include statement. | |
7971 | (unlikely_section_label_printed): New global variable, used for | |
7972 | determining when to output section name labels for cold sections. | |
750054a2 CT |
7973 | (in_section): Add in_unlikely_executed_text to enum data structure. |
7974 | (text_section): Modify code to use SECTION_FORMAT_STRING and | |
7975 | NORMAL_TEXT_SECTION_NAME macros. | |
7976 | (unlikely_text_section): New function. | |
7977 | (in_unlikely_text_section): New function. | |
7c3ac422 ZW |
7978 | (function_section): Add code to make sure beginning of function is |
7979 | written into correct section (hot or cold). | |
7980 | (assemble_start_function): Add code to make sure stuff is written to | |
7981 | the correct section. | |
7982 | (assemble_zeros): Add in_unlikely_text_section as an 'or' condition | |
7983 | to an if statement that was checking 'in_text_section'. | |
7984 | (assemble_variable): Add 'in_unlikely_text_section' as an 'or' | |
7985 | condition to an if statement that was checking 'in_text_section'. | |
7986 | (default_section_type_flags_1): Add check: if in cold section | |
7987 | flags = SECTION_CODE. | |
750054a2 CT |
7988 | * config/darwin.c (darwin_asm_named_section): Modify to use |
7989 | SECTION_FORMAT_STRING if we are partitioning hot/cold blocks. | |
7c3ac422 | 7990 | * config/i386/i386.h (HAS_LONG_COND_BRANCH): Defined this macro |
750054a2 CT |
7991 | specifically for the i386. |
7992 | (HAS_LONG_UNCOND_BRANCH): Defined this macro specifically for the i386. | |
7c3ac422 | 7993 | * config/rs6000/darwin.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Change |
750054a2 CT |
7994 | text string to something more informative. |
7995 | (NORMAL_TEXT_SECTION_NAME): Add new definition. | |
7996 | (SECTION_FORMAT_STRING): Add new definition. | |
7c3ac422 ZW |
7997 | * config/rs6000/rs6000.c (rs6000_assemble_integer): Add |
7998 | '!in_unlikely_text_section' as an 'and' condition to an if statement | |
7999 | that was already checking '!in_text_section'. | |
8000 | * config/rs6000/sysv4.h (HOT_TEXT_SECTION_NAME,NORMAL_TEXT_SECTION_NAME, | |
8001 | UNLIKELY_EXECUTED_TEXT_SECTION_NAME,SECTION_FORMAT_STRING): Make | |
8002 | sure these are properly defined for linux on ppc. | |
8003 | * doc/invoke.texi (freorder-blocks-and-partition): Add documentation | |
8004 | for this new flag. | |
750054a2 CT |
8005 | * doc/rtl.texi (REG_CROSSING_JUMP): Add documentation for new |
8006 | reg_note. | |
7c3ac422 ZW |
8007 | * doc/tm.texi (NORMAL_TEXT_SECTION_NAME, SECTION_FORMAT_STRING, |
8008 | HAS_LONG_COND_BRANCH, HAS_LONG_UNCOND_BRANCH): Add documentation for | |
750054a2 CT |
8009 | these new macros. |
8010 | ||
88673361 RS |
8011 | 2004-04-08 Roger Sayle <roger@eyesopen.com> |
8012 | ||
8013 | * function.c (gen_mem_addressof): When changing the RTX from a REG | |
8014 | to a MEM, clear MEM_VOLATILE_P which was formerly REG_USERVAR_P. | |
8015 | ||
82a6a758 RS |
8016 | 2004-04-08 Roger Sayle <roger@eyesopen.com> |
8017 | ||
8018 | PR target/14888 | |
8019 | * config/i386/i386.md (truncdfsf2_noop, truncxfsf2_noop, | |
8020 | truncxfdf2_noop): Provide dummy "fmov" implementations. | |
8021 | ||
febc5365 ILT |
8022 | 2004-04-08 Ian Lance Taylor <ian@wasabisystems.com> |
8023 | ||
2a782c52 ILT |
8024 | * gcc.c (default_compilers): Add missing initializers. |
8025 | ||
febc5365 ILT |
8026 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): |
8027 | Return 1 if file was successfully mapped. | |
8028 | ||
f07e9f0f GK |
8029 | 2004-04-08 Geoffrey Keating <geoffk@apple.com> |
8030 | ||
54e109ed GK |
8031 | PR pch/13419 |
8032 | PR pch/14137 | |
8033 | Radar #: 3315288 | |
8034 | * doc/invoke.texi (Precompiled Headers): Suggest -o | |
8035 | to put an output file in a particular place. Be more detailed | |
8036 | about which options affect PCH validity and which options | |
8037 | might not work. | |
8038 | * c-pch.c (pch_matching): New. | |
8039 | (MATCH_SIZE): New. | |
8040 | (struct c_pch_validity): New field 'match'. | |
8041 | (pch_init): Handle pch_matching. | |
8042 | (c_common_valid_pch): Check pch_matching. | |
8043 | ||
f07e9f0f GK |
8044 | * explow.c: Fix typo defining default of PROMOTE_FUNCTION_MODE. |
8045 | ||
f7b6f250 MM |
8046 | 2004-04-08 Mark Mitchell <mark@codesourcery.com> |
8047 | ||
8048 | * doc/invoke.texi (Precompiled Headers): Warn about known | |
8049 | problems. | |
8050 | ||
4a77e08c DS |
8051 | 2004-04-08 Danny Smith <dannysmith@users.sourceforge.net> |
8052 | ||
8053 | PR c++/14808 | |
8054 | * defaults.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): New macro. Default | |
8055 | to 1 if ASM_OUTPUT_DEF is defined. | |
8056 | * doc/tm.texi (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document. | |
8057 | * config/i386/cygming.h (TARGET_USE_LOCAL_THUNK_ALIAS_P): Define. | |
8058 | Set to non-zero iff not a one_only decl. | |
8059 | ||
cc81dde8 PB |
8060 | 2004-04-08 Paul Brook <paul@codesourcery.com> |
8061 | ||
8062 | * arm.h (CLASS_LIKELY_SPILLED_P): Define. | |
8063 | ||
d4453b7a PB |
8064 | 2004-04-08 Paul Brook <paul@codesourcery.com> |
8065 | ||
8066 | * explow.c (promote_mode): Use PROMOTE_FUNCTION_MODE instead of | |
8067 | PROMOTE_FOR_CALL_ONLY. | |
8068 | * config/arm/arm-protos.h (arm_function_value): Declare. | |
8069 | * config/arm/arm.h (TARGET_PROMOTE_FUNCTION_ARGS): Define. | |
8070 | (TARGET_PROMOTE_PROTOTYPES): Return false. | |
8071 | (arm_function_value): New function. | |
8072 | * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Define. | |
8073 | (FUNCTION_VALUE): Call arm_function_value. | |
8074 | * config/cris/cris.h (PROMOTE_MODE): Rename ... | |
8075 | (PROMOTE_FUNCTION_MODE): ... to this. | |
8076 | (PROMOTE_FOR_CALL_ONLY): Remove. | |
8077 | * config/mmix/mmix.h: Likewise. | |
8078 | * config/s390/s390.h: Likewise. | |
8079 | * config/sparc/sparc.h: Likewise. | |
8080 | * config/sparc/sparc.c: Update comments about PROMOTE_MODE. | |
8081 | * doc/tm.texi (PROMOTE_FUNCTION_MODE): Document. | |
8082 | (TARGET_PROMOTE_FUNCTION_MODE, TARGET_PROMOTE_FUNCTION_RETURN): Update. | |
8083 | (PROMOTE_FOR_CALL_ONLY): Remove. | |
8084 | ||
c00e272e JS |
8085 | 2004-04-08 Joel Sherrill <joel@oarcorp.com> |
8086 | ||
8087 | PR ada/14538 | |
8088 | * ada/5rosinte.adb: Remove fake mprotect() body. | |
8089 | * ada/5rosinte.ads: Add SA_SIGINFO. | |
8090 | * ada/5rtpopsp.adb: Rewrite to use new interface. | |
8091 | * ada/init.c: Reorder so the simple single OS conditional __rtems__ | |
8092 | is tested before more complex ones which mix UNIX and embedded | |
8093 | systems in the conditional. | |
8094 | ||
4afae4b9 JS |
8095 | 2004-04-08 Joel Sherrill <joel@oarcorp.com> |
8096 | ||
8097 | PR ada/14665 | |
8098 | * ada/osint.adb (Find_Program_Name): Rework to properly handle | |
8099 | filenames which end in .exe or have versioning suffixes like VMS. | |
8100 | ||
bfbdca0b AP |
8101 | 2004-04-08 Andrew Pinski <pinskia@physics.uc.edu> |
8102 | ||
467f3af0 | 8103 | PR target/10129 |
bfbdca0b AP |
8104 | * config/darwin.c (darwin_encode_section_info): When the decl has |
8105 | a DECL_INITIAL, it is only defined also when it is not a common. | |
8106 | ||
df0785d6 KG |
8107 | 2004-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8108 | ||
8109 | * builtins.c (fold_builtin_isascii, fold_builtin_toascii): New. | |
8110 | (fold_builtin): Handle BUILT_IN_ISASCII and BUILT_IN_TOASCII. | |
8111 | ||
2897f1d4 L |
8112 | 2004-04-07 H.J. Lu <hongjiu.lu@intel.com> |
8113 | ||
8114 | * config/ia64/ia64.c (ia64_encode_section_info): Don't prod | |
8115 | global register variables. | |
8116 | ||
6ed6a1b9 JM |
8117 | 2004-04-07 Joseph S. Myers <jsm@polyomino.org.uk> |
8118 | ||
8119 | * fixinc/inclhack.def (rpc_xdr_lvalue_cast_a, | |
8120 | rpc_xdr_lvalue_cast_b): New fixes. | |
8121 | * fixinc/fixincl.x: Regenerate. | |
8122 | * fixinc/tests/base/rpc/xdr.h: Add new tests. | |
8123 | ||
fc091c8e DE |
8124 | 2004-04-07 David Edelsohn <edelsohn@gnu.org> |
8125 | ||
8126 | * config/rs6000/rs6000.c (processor_target_table): Add MASK_MFCRF | |
8127 | to power4 and power5 entries. | |
8128 | ||
7876228d GK |
8129 | 2004-04-06 Geoffrey Keating <geoffk@apple.com> |
8130 | ||
8131 | * c-common.h (pending_lang_change): Mark for PCH. | |
8132 | ||
b21292d0 CT |
8133 | 2004-04-07 Caroline Tice <ctice@apple.com> |
8134 | ||
8135 | * gcc.c (main): Move 'break' in main loops (on an error) | |
8136 | to wait until error processing has occurred. | |
7c3ac422 | 8137 | |
615be2cf NN |
8138 | 2004-04-06 Nathanael Nerode <neroden@gcc.gnu.org> |
8139 | ||
8140 | * config.gcc: Stop changing enable_threads midstream. | |
8141 | Replace uses of enable_threads_flag with enable_threads. | |
8142 | * configure.ac: Replace uses of enable_threads_flag with | |
8143 | enable_threads. Improve autoconf quotation in one place. | |
8144 | * configure: Regenerate. | |
8145 | ||
6c7cf1f0 UB |
8146 | 2004-04-06 Uros Bizjak <uros@kss-loka.si> |
8147 | ||
8148 | * builtins.c: Implement support for sincos function. | |
8149 | (expand_builtin_mathfn): Remove BUILT_IN_SIN{,F,L} and | |
8150 | BUILT_IN_COS{,F,L}. | |
8151 | (expand_builtin_mathfn_3): New function. | |
8152 | (expand_builtin): Expand BUILT_IN_SIN{,F,L} and | |
8153 | BUILT_IN_COS{,F,L} using expand_builtin_mathfn_3 if | |
8154 | flag_unsafe_math_optimization is set. | |
8155 | ||
8156 | * optabs.h (enum optab_index): Add new OTI_sincos. | |
8157 | (sincos_optab): Define corresponding macro. | |
8158 | ||
8159 | * optabs.c (init_optabs): Initialize sincos_optab. | |
8160 | (expand_twoval_unop): New function. | |
8161 | ||
8162 | * genopinit.c (optabs): Implement sincos_optab using sincos?f3 | |
8163 | patterns. | |
8164 | ||
8165 | * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_SINCOS_COS | |
8166 | and UNSPEC_SINCOS_SIN. | |
8167 | ||
8168 | * config/i386/i386.md (sincosdf3, sincossf3, *sincosextendsfdf3, | |
8169 | sincosxf3): New patterns to implement sincos, sincosf and sincosl | |
8170 | built-ins as inline x87 intrinsics. Define splits for | |
8171 | sindf2, sinsf2, *sinextendsfdf2, sinxf2, cosdf2, | |
8172 | cossf2, *cosextendsfdf2 and cosxf2 patterns from corresponding | |
8173 | sincos patterns. | |
8174 | (sindf2, sinsf2, sinxf2): Rename to *sindf2, *sinsf2, *sinxf2. | |
8175 | (cosdf2, cossf2, cosxf2): Rename to *cosdf2, *cossf2, *cosxf2. | |
8176 | ||
a072d43b UB |
8177 | (UNSPEC_SINCOS_SIN, UNSPEC_SINCOS_COS): New unspecs to represent |
8178 | x87's fsincos insn. | |
6c7cf1f0 | 8179 | |
23bd1514 DP |
8180 | 2004-04-06 Devang Patel <dpatel@apple.com> |
8181 | ||
8182 | PR 14467 | |
8183 | * config/darwin.h (LINK_COMMAND_SPEC): Use c++filt instead of c++filt3. | |
7c3ac422 | 8184 | |
c5124497 JDA |
8185 | 2004-04-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8186 | ||
8187 | * doc/install.texi: Update HP-UX 11 installation procedure. | |
8188 | ||
485d61a7 PB |
8189 | 2004-04-06 Paul Brook <paul@codesourcery.com> |
8190 | ||
8191 | * doc/sourcebuild.texi: Remove obsolete contraint on testcases. | |
8192 | ||
13ecc9e0 KK |
8193 | 2004-04-05 Kaz Kojima <kkojima@gcc.gnu.org> |
8194 | ||
8195 | * config/sh/sh.c (prepare_move_operands): Use emit_call_insn | |
8196 | when the TLS address is generated by a function call. | |
8197 | * config/sh/sh.md (tls_global_dynamic): Use a call expression. | |
8198 | (tls_local_dynamic): Likewise. | |
8199 | ||
e0e4ac7f AP |
8200 | 2004-04-05 Andrew Pinski <pinskia@physics.uc.edu> |
8201 | ||
8202 | * tree.c (reconstruct_complex_type): Use TYPE_READONLY | |
8203 | and TYPE_VOLATILE. | |
8204 | ||
0855eab7 CT |
8205 | 2004-04-05 Caroline Tice <ctice@apple.com> |
8206 | ||
485d61a7 | 8207 | * gcc.c (combine_flag): New global variable, for new driver option. |
0855eab7 CT |
8208 | (struct compiler): Add two new fields, to be used when |
8209 | combining multiple input files in a single pass (IMA). | |
7c3ac422 ZW |
8210 | (default_compilers): Add values for the new fields to all |
8211 | compiler entries. Modify the "@c" compiler entry for doing IMA | |
0855eab7 CT |
8212 | properly with "-save-temps" and the "combine" flag. |
8213 | (option_map): Add new driver option, "--combine", to tell driver | |
8214 | to pass multiple input files to compiler at one time. | |
8215 | (have_o_argbuf_index): New global variable. | |
8216 | (store_arg): Modify to assign value to have_o_argbuf_index. | |
8217 | (struct infile): Add three new fields, to help with IMA. | |
8218 | (display_help): Add help for new "combine" option. | |
8219 | (process_command): Remove local variable have_o; add code to check | |
8220 | for new "combine" option; remove assignment to combine_inputs. | |
8221 | (do_spec_1): Modify to deal with IMA better. | |
8222 | (main): Make variable 'lang_n_infiles' local to entire function | |
7c3ac422 ZW |
8223 | rather than to a single block. Use flag combine_flag to |
8224 | determine whether to do IMA or not; Modify loop initializing | |
0855eab7 CT |
8225 | infiles to deal properly with linker files. |
8226 | Add code for doing preprocessing in presence of | |
8227 | IMA with "-save-temps" flag. Modify "main" loop to handle | |
8228 | multiple input files, in multiple languages, with or without | |
8229 | preprocessing, gracefully. | |
8230 | * toplev.c (set_src_pwd): Modify to not complain if attempting to | |
8231 | re-set it to same directory it's previously been set to (avoid | |
7c3ac422 | 8232 | irritating, meaningless warning messages when doing IMA with |
0855eab7 CT |
8233 | save-temps). |
8234 | * doc/invoke.texi: Add "-combine" to list of Overall Options; | |
8235 | remove documentation about IMA that is no longer accurate; Add | |
8236 | documentation explaining what "-combine" does. | |
8237 | * ada/lang-specs.h: Add initialization values for new fields in | |
8238 | "struct compiler". | |
8239 | * cp/lang-specs.h: Likewise. | |
8240 | * f/lang-specs.h: Likewise. | |
8241 | * java/lang-specs.h: Likewise. | |
8242 | * objc/lang-specs.h: Likewise. | |
8243 | * treelang/lang-specs.h: Likewise. | |
8244 | ||
26be75db DE |
8245 | 2004-04-05 David Edelsohn |
8246 | ||
8247 | * config/rs6000/rs6000.c (VTABLE_NAME_P): Add _ZTI to special | |
8248 | symbol handling. | |
8249 | ||
fda935a2 | 8250 | 2004-04-05 Jakub Jelinek <jakub@redhat.com> |
26be75db | 8251 | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
fda935a2 JJ |
8252 | |
8253 | PR optimization/13424 (hppa), bootstrap/14462, c/14828 | |
8254 | * pa.md: Use replace_equiv_address to retain the attributes of the | |
8255 | memory operands used in the split and peephole2 patterns for optimizing | |
8256 | the pre-reload movstrsi, movstrdi, clrstrsi and clrstrdi patterns. | |
8257 | ||
4f976745 RK |
8258 | 2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8259 | ||
8260 | * c-decl.c (build_compound_literal): Use TYPE_READONLY. | |
8261 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
8262 | * objc/objc-act.c (adorn_decl, gen_declspecs): Likewise. | |
8263 | * c-typeck.c (decl_constant_value): Don't access DECL_INITIAL of a | |
8264 | PARM_DECL. | |
8265 | * calls.c (flags_from_decl_or_type): Use TYPE_READONLY and do so only | |
8266 | for a type. | |
8267 | * print-tree.c (print_node): Properly handle side-effects, readonly, | |
8268 | and constant flags. | |
8269 | * tree.c (build1_stat, build_expr_wfl): Only look at TREE_SIDE_EFFECTS | |
8270 | and TREE_CONSTANT if not a type. | |
8271 | * tree.h (IS_NON_TYPE_CODE_CLASS): New macro. | |
8272 | (IS_EXPR_CODE_CLASS): Write 'E', not 'e'. | |
8273 | (NON_TYPE_CHECK): New macro. | |
8274 | (TREE_SIDE_EFFECT, TREE_READONLY, TREE_CONSTANT: Add check. | |
8275 | ||
5ffc4730 EB |
8276 | 2004-04-05 Eric Botcazou <ebotcazou@libertysurf.fr> |
8277 | ||
8278 | * config/sparc/sol2-bi.h (PREFERRED_DEBUGGING_TYPE): Set | |
8279 | to DWARF2_DEBUG unconditionally. | |
8280 | (ASM_DEBUG_SPEC): Set the default to --gdwarf2 unconditionally. | |
8281 | ||
c38f02df ILT |
8282 | 2004-04-04 Ian Lance Taylor <ian@wasabisystems.com> |
8283 | Nathanael Nerode <neroden@gcc.gnu.org> | |
8284 | ||
8285 | PR target/14548 | |
8286 | * config.host: Set the shell variable host_can_use_collect2. | |
8287 | Set it to yes by default, and to no for alpha*-dec-*vms*, | |
8288 | i[34567]86-*-mingw32*, and powerpc-*-beos*. | |
8289 | * configure.ac: Set and substitute the shell variable collect2. | |
8290 | Give an error if use_collect2 is yes and host_can_use_collect2 is | |
8291 | no. | |
8292 | * Makefile.in (COLLECT2): Rename from USE_COLLECT2. Change all | |
8293 | uses. Initialize to @collect2@. | |
8294 | (STAGESTUFF): Remove $(USE_COLLECT2). | |
8295 | * config/alpha/x-vms (USE_COLLECT2): Don't set. | |
8296 | * config/i386/t-mingw32 (USE_COLLECT2): Likewise. | |
8297 | * config/rs6000/t-beos (USE_COLLECT2): Likewise. | |
8298 | * config/pa/t-pa64: Remove commented out USE_COLLECT2. | |
8299 | * configure: Regenerate. | |
8300 | ||
9d317251 RS |
8301 | 2004-04-04 Roger Sayle <roger@eyesopen.com> |
8302 | ||
8303 | * simplify-rtx.c (simplify_binary_operation): Constant fold | |
8304 | DIV, MOD, UDIV and UMOD using div_and_round_double. | |
8305 | ||
64480988 MM |
8306 | 2004-04-04 Mark Mitchell <mark@codesourcery.com> |
8307 | ||
8308 | PR c++/14804 | |
8309 | * varasm.c (initializer_constant_valid_p): Allow NOP_EXPRs to | |
8310 | RECORD_TYPEs. | |
8311 | ||
aaf3c6d9 MM |
8312 | 2004-04-04 Mark Mitchell <mark@codesourcery.com> |
8313 | ||
8314 | * doc/invoke.texi (-mabi=o64): Create link to O64 ABI | |
8315 | documentation. | |
cd3f11a6 | 8316 | |
d8b7ec41 RS |
8317 | 2004-04-04 Roger Sayle <roger@eyesopen.com> |
8318 | ||
8319 | * cse.c (cse_insn): Correct usage of simplify_replace_rtx when | |
8320 | updating the REG_EQUAL note on an insn's libcall_insn. | |
8321 | ||
4012b7db RS |
8322 | 2004-04-04 Roger Sayle <roger@eyesopen.com> |
8323 | ||
8324 | * df.h: Tidy up whitespace in the definitions of the DF_ flags. | |
8325 | ||
2f63a457 RS |
8326 | 2004-04-03 Roger Sayle <roger@eyesopen.com> |
8327 | ||
8328 | * fold-const.c (fold) <PLUS_EXPR>: Guard (-A)+B -> B-A transformation | |
8329 | with reorder_operands_p. | |
8330 | ||
ef1140a9 JH |
8331 | 2004-04-03 Jan Hubicka <jh@suse.cz> |
8332 | ||
8333 | * md.texi (vec_set, vec_extract, vec_init): Document. | |
8334 | ||
f736cb3e GL |
8335 | 2004-04-02 Gabor Loki <loki@inf.u-szeged.hu> |
8336 | ||
8337 | * opts.c (decode_options): Do function inlining with very small | |
8338 | max-inline-insns-* parameters when optimizing for size. | |
8339 | ||
89c43c0a VM |
8340 | 2004-04-02 Vladimir Makarov <vmakarov@redhat.com> |
8341 | ||
8342 | * config/i386/i386.h (TARGET_NOCONA): New macro. | |
8343 | (TARGET_CPU_CPP_BUILTINS): Add code for Nocona. | |
8344 | (processor_type): Add PROCESSOR_NOCONA. | |
7c3ac422 | 8345 | |
89c43c0a VM |
8346 | * config/i386/i386.md (cpu): Add nocona to the attribute values. |
8347 | ||
8348 | * config/i386/i386.c (nocona_cost): New variable. | |
8349 | (m_NOCONA): New macro. | |
8350 | (x86_push_memory, x86_movx, x86_cmove, x86_deep_branch, | |
8351 | x86_branch_hints, x86_use_sahf, x86_single_stringop, | |
8352 | x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8, | |
8353 | x86_integer_DFmode_moves, x86_partial_reg_dependency, | |
8354 | x86_memory_mismatch_stall, x86_accumulate_outgoing_args, | |
8355 | x86_decompose_lea, x86_arch_always_fancy_math_387, | |
8356 | x86_sse_partial_reg_dependency, x86_sse_load0_by_pxor, | |
8357 | x86_ext_80387_constants, x86_four_jump_limit): | |
8358 | (override_options): Add nocona_cost to processor_target_table. | |
8359 | Set up PROCESSOR_NOCONA for Nocona entry in processor_alias_table. | |
8360 | (incdec_operand): Prevent inc/dec generation for Nocona too. | |
8361 | (ix86_issue_rate): Add PROCESSOR_NOCONA. | |
7c3ac422 | 8362 | |
cd798543 AP |
8363 | 2004-04-01 Andrew Pinski <pinskia@physics.uc.edu> |
8364 | ||
8365 | * rtlanal.c (find_reg_note): Manually | |
8366 | unswitch the loop. | |
8367 | ||
a406f566 MM |
8368 | 2004-04-01 Mark Mitchell <mark@codesourcery.com> |
8369 | ||
8370 | * genemit.c (gen_split): Change prototype of generated code. | |
8371 | * genrecog.c (write_action): Adjust prototype for and calls to | |
8372 | gen_split_*. | |
8373 | * gensupport.c (struct queue_elem): Add split field. | |
8374 | (queue_pattern): Return a value. Clear the split field. | |
8375 | (process_rtx): Maintain an association between an insn and the | |
8376 | split generated from it for a define_insn_and_split. | |
8377 | (process_one_cond_exec): Generate a new split for a | |
8378 | define_insn_and_split. | |
8379 | * config/arm/arm-protos.h (arm_split_constant): Add insn | |
8380 | parameter. | |
8381 | (emit_constant_insn): New function. | |
8382 | (arm_gen_constant): Use it. | |
8383 | * config/arm/arm.md: Adjust calls to arm_split_constant. | |
8384 | ||
18c6ada9 JH |
8385 | 2004-04-02 Jan Hubicka <jh@suse.cz> |
8386 | ||
8387 | * cgraph.c: Add overall comment. | |
8388 | (cgraph_inline_hash): New global variable. | |
8389 | (cgraph_create_node): Break out from ... | |
8390 | (cgraph_node): ... here. | |
8391 | (cgraph_edge): New function. | |
8392 | (cgraph_create_edge): New CALL_EXPR argument; some sanity checking. | |
8393 | (cgraph_remove_edge): Accept edge, intead of source and destination. | |
8394 | (cgraph_redirect_edge_callee): New. | |
8395 | (cgraph_remove_node): Update all new datastructures. | |
8396 | (cgraph_record_call, cgraph_remove_call): Kill. | |
8397 | (dump_cgraph_node): Break out from ... ; dump new datastructures. | |
8398 | (dump_cgraph): ... here. | |
8399 | (cgraph_function_possibly_inlined_p): Use new hashtable. | |
8400 | (cgraph_clone_edge, cgraph_clone_node): New. | |
8401 | * cgraph.h: Include hashtab.h | |
8402 | (struct cgraph_global_info): Kill cloned_times, inline_once, will_be_output | |
8403 | fields, add inlined_to pointer. | |
8404 | (cgraph_node): Add pointer to next_clone. | |
8405 | (cgraph_remove_edge, cgraph_create_edge): Update prototype. | |
8406 | (cgraph_remove_call, cgraph_record_call): Kill. | |
8407 | (cgraph_inline_hash): Declare. | |
8408 | (dump_cgraph_node, cgraph_edge, cg4raph_clone_edge, cgraph_clone_node, | |
8409 | cgraph_redirect_edge_callee): Declare. | |
8410 | (cgraph_create_edges, cgraph_inline_p): Update prorotype. | |
8411 | (cgraph_preserve_function_body_p, verify_cgraph, verify_cgraph_node, | |
8412 | cgraph_mark_inline_edge, cgraph_clone_inlined_nodes): Declare. | |
8413 | * cgraphunit.c: Add overall comment. | |
8414 | (cgraph_optimize_function): Kill. | |
8415 | (cgraph_assemble_pending_functions): Do not assemble inline clones. | |
8416 | (cgraph_finalize_function): Update call of cgraph_remove_node | |
8417 | (record_call_1): Record call sites. | |
8418 | (cgraph_create_edges): Accept node instead of decl argument. | |
8419 | (error_found): New static variable. | |
8420 | (verify_cgraph_node_1, verify_cgraph_node, verify_cgraph): New functions. | |
8421 | (cgraph_analyze_function): Update for new datastructures. | |
8422 | (cgraph_finalize_compilation_unit): Plug memory leak. | |
8423 | (cgraph_optimize_function): Kill. | |
8424 | (cgraph_expand_function): Do not use cgraph_optimize_function. | |
8425 | (INLINED_TIMES, SET_INLINED_TIMES, cgraph_inlined_into, | |
8426 | cgraph_inlined_callees): Kill. | |
8427 | (cgraph_remove_unreachable_nodes): Verify cgraph; update handling of | |
8428 | clones. | |
8429 | (estimate_growth): Simplify. | |
8430 | (cgraph_clone_inlined_nodes): New function. | |
8431 | (cgraph_mark_inline_edge): Re-implement. | |
8432 | (cgraph_mark_inline): Likewise. | |
8433 | (cgraph_check_inline_limits): Simplify. | |
8434 | (cgraph_recursive_inlining_p): New. | |
8435 | (update_callee_keys): Break out from ... | |
8436 | (cgraph_decide_inlining_of_small_functions): ... here; simplify. | |
8437 | (cgraph_decide_inlining, cgraph_decide_inlining_incrementally): | |
8438 | Likewise. | |
8439 | (cgraph_expand_all_functions): Remove inline clones from the ordered | |
8440 | list. | |
8441 | (cgraph_preserve_function_body_p): New predicate. | |
8442 | (cgraph_optimize): Verify cgraph. | |
8443 | * function.h (struct function): Add fields saved_tree/saved_args. | |
8444 | * timevar.def (TV_CGRAPH_VERIFY): Use verifier. | |
8445 | * toplev.c (rest_of_compilation): Do not free cfun. | |
8446 | * tree-inline.c: Include function.h | |
8447 | (struct inline_data): Add saving_p field; replace decl/current_decl by | |
8448 | node/current_node. | |
8449 | (insert_decl_map): New function. | |
8450 | (copy_body_r): Handle saving; update cgraph datastructure. | |
8451 | (copy_body): Handle recursive inlining. | |
8452 | (initialize_inlined_parameters): Likewise. | |
8453 | (expand_call_inline): Propagate node attributes; update cgraph. | |
8454 | (optimize_inline_calls): Verify that datastructure still match. | |
8455 | (save_body): New function. | |
8456 | * tree-inline.h (save_body): New. | |
8457 | * tree-optimize.c (tree_rest_of_compilation): preserve function body; do inlining. | |
8458 | * langhooks-def.c (LANG_HOOKS_UPDATE_DECL_AFTER_SAVING): New. | |
8459 | * langhooks.c (lang_hooks): Add update_decl_after_saving. | |
8460 | ||
717415ad SB |
8461 | 2004-04-01 Serge Belyshev <1319@bot.ru> |
8462 | ||
7c3ac422 ZW |
8463 | PR target/14702 |
8464 | * config/i386/i386.md: fix source operand constraints in | |
8465 | mmx_pshufw, sse2_pshufd, sse2_pshuflw, sse2_pshufhw | |
717415ad | 8466 | |
af5bdf6a WH |
8467 | 2004-04-01 Waldek Hebisch <hebisch@math.uni.wroc.pl> |
8468 | ||
8469 | * fold-const.c (folda): Preserve types of comparisons. | |
8470 | ||
54fdc910 RH |
8471 | 2004-04-01 Richard Henderson <rth@redhat.com> |
8472 | ||
8473 | * toplev.c (backend_init): Move init_optimization_passes call ... | |
8474 | (lang_dependent_init): ... here. | |
8475 | ||
765f1bf9 AM |
8476 | 2004-04-01 Alan Modra <amodra@bigpond.net.au> |
8477 | Jakub Jelinek <jakub@redhat.com> | |
8478 | ||
8479 | * gcc.c (init_gcc_specs): If HAVE_LD_AS_NEEDED, link with | |
8480 | -lgcc --as-needed -lgcc_s --no-as-needed by default. | |
8481 | * configure.ac (HAVE_LD_AS_NEEDED): Check for ld --as-needed. | |
8482 | * configure: Rebuilt. | |
8483 | * config.in: Rebuilt. | |
8484 | * Makefile.in (stage1-start): Copy also libgcc_s*$(SHLIB_EXT). | |
8485 | (stage2-start, stage3-start, stage4-start): Likewise. | |
8486 | (stageprofile-start, stagefeedback-start): Likewise. | |
8487 | ||
45dcc026 JJ |
8488 | 2004-04-01 Jakub Jelinek <jakub@redhat.com> |
8489 | ||
8490 | * config/sparc/sparc.h (DITF_CONVERSION_LIBFUNCS): Define to 0. | |
8491 | * config/sparc/linux.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. | |
8492 | * config/sparc/linux64.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. | |
8493 | * config/sparc/sol2.h (DITF_CONVERSION_LIBFUNCS): Redefine to 1. | |
8494 | (SOLARIS_CONVERSION_LIBFUNCS): Rename to SUN_CONVERSION_LIBFUNCS. | |
8495 | * config/sparc/sparc.c (sparc_init_libfuncs): Initialize optabs | |
8496 | with _Q_qtoll, _Q_qtoull and _Q_lltoq if DITF_CONVERSION_LIBFUNCS. | |
8497 | * config.gcc (sparc-*-linux*): Revert 2004-03-23 change. | |
8498 | * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Likewise. | |
8499 | * config/sparc/t-linux: Removed. | |
8500 | ||
0b612185 JJ |
8501 | 2004-04-01 Jakub Jelinek <jakub@redhat.com> |
8502 | ||
8503 | PR c++/14755 | |
8504 | * fold-const.c (fold) <EQ_EXPR>: Properly compute newconst in | |
8505 | "bitfld++ == const" to "++bitfld == const + incr" transformations. | |
8506 | ||
a150de29 RK |
8507 | 2004-04-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8508 | ||
8509 | * expr.c (get_inner_reference): Use DECL_UNSIGNED, not TREE_UNSIGNED. | |
8510 | * stor-layout.c (layout_decl): Likewise. | |
8511 | * tree.c (get_narrower): Likewise and also use BIT_FIELD_REF_UNSIGNED. | |
8512 | * fold-const.c (make_bit_field_ref): Use BIT_FIELD_REF_UNSIGNED. | |
8513 | * print-tree.c (print_node): Handle various used of unsigned_flag. | |
8514 | * tree.def (BIT_FIELD_REF): Update comment. | |
8515 | * tree.h (TREE_UNSIGNED): Deleted. | |
8516 | (DECL_UNSIGNED, BIT_FIELD_REF_UNSIGNED): New macros. | |
8517 | ||
8df83eae RK |
8518 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8519 | ||
8520 | * builtins.c, c-aux-info.c, c-common.c, c-cppbuiltin.c, c-decl.c: | |
8521 | Change most occurrences of TREE_UNSIGNED to TYPE_UNSIGNED. | |
8522 | * c-format.c, c-opts.c, c-pretty-print.c, c-typeck.c: Likewise. | |
8523 | * calls.c, convert.c, dbxout.c, dojump.c, dwarf2out.c: Likewise. | |
8524 | * expmed.c, expr.c, fold-const.c, function.c, integrate.c: Likewise. | |
8525 | * optabs.c, sdbout.c, stmt.c, stor-layout.c, tree-dump.c: Likewise. | |
8526 | * tree.c, config/iq2000/iq2000.c, config/m32r/m32r.c: Likewise. | |
8527 | * config/mips/mips.c, config/rs6000/rs6000.c: Likewise. | |
8528 | * config/s390/s390.c, config/sparc/sparc.c, objc/objc-act.c: Likewise. | |
8529 | * stor-layout.c (layout_type, case COMPLEX_TYPE): Test for | |
8530 | REAL_TYPE, not INTEGER_TYPE. | |
8531 | (layout_type, case VECTOR_TYPE): Simplify code. | |
8532 | * tree.c (build_vector_type_for_mode): Remove dup unsigned setting. | |
8533 | * tree.h: Update comments. | |
8534 | (STRIP_NOPS): Use TYPE_UNSIGNED. | |
8535 | (TYPE_UNSIGNED): New macro. | |
8536 | (TYPE_TRAP_SIGNED): Remove now redundant check. | |
8537 | (SAVE_EXPR_NOPLACEHOLDER): Don't use TREE_UNSIGNED. | |
8538 | ||
8465edcc RK |
8539 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8540 | ||
8541 | * function.c (put_var_into_stack): Properly set orig_reg for indirect. | |
8542 | ||
8543 | 2004-03-31 Andrew Pinski <pinskia@physics.uc.edu> | |
efdc5d91 AP |
8544 | |
8545 | * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): | |
8546 | Add darwin-fpsave.asm, darwin-vecsave.asm, | |
8547 | and darwin-world.asm. | |
8548 | (TARGET_LIBGCC2_CFLAGS): Add -Wa,-force_cpusubtype_ALL | |
8549 | as the asm files contain altivec instructions. | |
8550 | * config/rs6000/darwin-fpsave.asm: New file. | |
8551 | * config/rs6000/darwin-vecsave.asm: New file. | |
8552 | * config/rs6000/darwin-world.asm: New file. | |
8553 | ||
5fece182 ZW |
8554 | 2004-03-31 Zack Weinberg <zack@codesourcery.com> |
8555 | ||
8556 | * gengtype-yacc.y (option, stringseq): Add missing | |
8557 | terminating semicolon. | |
8558 | ||
b150f4f3 DE |
8559 | 2004-03-30 David Edelsohn <edelsohn@gnu.org> |
8560 | ||
8561 | * config/rs6000/rs6000.md (tls_gd_32, tls_gd_64, | |
8562 | tls_ld_32, tls_ld_64, tls_dtprel_32, tls_dtprel_64, | |
8563 | tls_dtprel_ha_32, tls_dtprel_ha_64, | |
8564 | tls_dtprel_lo_32, tls_dtprel_lo_64, | |
8565 | tls_got_dtprel_64, tls_tprel_32, tls_tprel_64, | |
8566 | tls_tprel_ha_32, tls_tprel_ha_64, | |
8567 | tls_tprel_lo_32, tls_tprel_lo_64, | |
8568 | tls_got_tprel_32, tls_got_tprel_64, | |
8569 | tls_tls_32, tls_tls_64): Replace register_operand with | |
8570 | gpc_reg_operand. | |
8571 | ||
8572 | 2004-03-30 Mostafa Hagog <mustafa@il.ibm.com> | |
8573 | ||
8574 | * config/rs6000/rs6000.md (*ctrsi_internal1, *ctrsi_internal2, | |
8575 | *ctrdi_internal1, *ctrdi_internal2, *ctrsi_internal3, | |
8576 | *ctrsi_internal4, *ctrdi_internal3, *ctrdi_internal4, | |
8577 | *ctrsi_internal5, *ctrsi_internal6, *ctrdi_internal5, | |
8578 | *ctrdi_internal6): Replace register_operand with | |
8579 | nonimmediate_operand. | |
8580 | ||
0af5da7f FJ |
8581 | 2004-03-29 Fariborz Jahanian <fjahanian@apple.com> |
8582 | ||
5fece182 ZW |
8583 | * fold-const.c (fold): Reassociate multiply expression |
8584 | with an adjacent non-multiply expression to use | |
8585 | architecture's multiply-add instruction. | |
0af5da7f | 8586 | |
1431042e ZW |
8587 | 2004-03-30 Zack Weinberg <zack@codesourcery.com> |
8588 | ||
8589 | * gengtype.c (create_option): New function. | |
8590 | * gengtype.h: Prototype it. | |
8591 | * gengtype-yacc.y (stringseq): New rule. | |
8592 | (option): Use create_option. Add new bare ID production. Use | |
8593 | stringseq, not STRING directly. | |
8594 | ||
8595 | * alias.c, bitmap.c, c-decl.c, cgraph.h, cpplib.h, cselib.h | |
8596 | * dwarf2out.c, emit-rtl.c, function.h, lists.c, tree.h | |
8597 | * varray.h, config/alpha/alpha.c: | |
8598 | Use new shorter form of GTY markers. | |
8599 | ||
8600 | * doc/gty.texi: Rewrite. | |
8601 | ||
9ffab06b AP |
8602 | 2004-03-30 Andrew Pinski <pinskia@physics.uc.edu> |
8603 | ||
8604 | * config/darwin.c (machopic_function_base_name): | |
8605 | Remove current_name and getting the name of the | |
8606 | current function. | |
8607 | ||
a2246edc NC |
8608 | 2004-03-30 Nick Clifton <nickc@redhat.com> |
8609 | ||
8610 | * config/arm/arm.md (thumb_jump): Reduce the backward branch | |
8611 | range, and increase the forward branch range, to allow for | |
8612 | the fact that the PC will be off by 4. | |
8613 | ||
547799a7 AM |
8614 | 2004-03-30 Alan Modra <amodra@bigpond.net.au> |
8615 | ||
8616 | * .cvsignore: Add GPATH, GRTAGS, GSYMS and GTAGS (GNU GLOBAL) | |
8617 | ||
452a7d36 HP |
8618 | 2004-03-30 Hartmut Penner <hpenner@de.ibm.com> |
8619 | ||
1431042e ZW |
8620 | * config/rs6000/rs6000.c (output_vec_const_move): |
8621 | Find all cases of EASY_VECTOR_15_ADD_SELF. | |
8622 | (easy_vector_constant_add_self): Accept | |
8623 | all vector constant loadable by vsplt* and vadd*. | |
452a7d36 HP |
8624 | (easy_vector_same): Use easy_vector_splat_const. |
8625 | (easy_vector_const): Use easy_vector_splat_const. | |
1431042e | 8626 | (easy_vector_splat_const): New function. |
452a7d36 | 8627 | (gen_easy_vector_constant_add_self): New function. |
1431042e | 8628 | |
452a7d36 HP |
8629 | * config/rs6000/rs6000-protos.c (gen_easy_vector_constant_add_self): |
8630 | New prototype. | |
8631 | ||
1431042e | 8632 | * config/rs6000/altivec.md (movv4si splitter): Change to |
452a7d36 HP |
8633 | emit move insn with halfed vector constant. |
8634 | (*movv8hi splitter): Likewise. | |
8635 | (*movv16qi splitter): Likewise. | |
1431042e | 8636 | |
708d2456 HP |
8637 | 2004-03-30 Hartmut Penner <hpenner@de.ibm.com> |
8638 | ||
1431042e ZW |
8639 | PR 11591 |
8640 | * config/rs6000/rs6000.c (rs6000_legitimate_address): | |
708d2456 HP |
8641 | Allow any offset to argument pointer in no-strict case. |
8642 | ||
6868bb1c JH |
8643 | 2004-03-30 Jan Hubicka <jh@suse.cz> |
8644 | ||
8645 | * toplev.c (backend_init): Add missing call to inint_optimization_passes. | |
8646 | * passes.c (init_optimization_passes, finish_optimization_passes): Output cgraph | |
8647 | dump file in non-unit-at-a-time mode. | |
8648 | ||
43537bf6 HPN |
8649 | 2004-03-29 Hans-Peter Nilsson <hp@axis.com> |
8650 | ||
8651 | * config/cris/cris.h: Correct #ifdef to test for | |
8652 | HAVE_AS_NO_MUL_BUG_ABORT_OPTION, not | |
8653 | HAVE_AS_MUL_BUG_ABORT_OPTION. | |
8654 | ||
97955d55 RK |
8655 | 2004-03-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
8656 | ||
8657 | * function.c (put_var_into_stack): If old RTL was ADDRESSOF, update | |
8658 | the address inside the old RTL. | |
8659 | ||
18d5f982 ZW |
8660 | 2004-03-28 Zack Weinberg <zack@codesourcery.com> |
8661 | ||
8662 | * c-decl.c: Verify that C_SIZEOF_STRUCT_LANG_IDENTIFIER is correct. | |
8663 | (struct c_binding, struct c_scope): Add chain_next | |
8664 | attributes to GTY markers. | |
8665 | (struct lang_identifier, struct lang_tree_node): Define | |
8666 | here... | |
8667 | * c-tree.h: ... not here. No longer need to declare struct | |
8668 | c_binding either. Do define C_SIZEOF_STRUCT_LANG_IDENTIFIER. | |
8669 | * c-lang.c, objc/objc-lang.c: Set LANG_HOOKS_IDENTIFIER_SIZE | |
8670 | to C_SIZEOF_STRUCT_LANG_IDENTIFIER. | |
8671 | ||
8672 | PR 14734, 11944 | |
8673 | * c-decl.c (get_parm_info): If error_mark_node is encountered | |
8674 | in the bindings chain, unbind and discard it; don't abort. | |
8675 | ||
e20f3dd1 | 8676 | 2004-03-28 Olga Golovonevsky <olga@il.ibm.com> |
18d5f982 | 8677 | Dorit Naishlos <dorit@il.ibm.com> |
e20f3dd1 | 8678 | |
18d5f982 ZW |
8679 | * config/rs6000/altivec.md: (andvv16qi3, andv8hi3, one_cmplv16qi2, |
8680 | one_cmplv8hi2, one_cmplv4si2, iorv16qi3, iorv8hi3,): New modelling. | |
e20f3dd1 | 8681 | |
d5ebbf58 SC |
8682 | 2004-03-28 Stephane Carrez <stcarrez@nerim.fr> |
8683 | ||
8684 | * config/m68hc11/m68hc11-protos.h (m68hc11_page0_symbol_p): Declare. | |
8685 | ||
8686 | * config/m68hc11/m68hc11.c (m68hc11_handle_page0_attribute): New. | |
8687 | (m68hc11_attribute_table): New attribute "page0" to mark a global | |
8688 | variable as being allocated from within page0 section. | |
8689 | (m68hc11_encode_label): New function. | |
8690 | (m68hc11_strip_name_encoding): New function. | |
8691 | (m68hc11_page0_symbol_p): New function. | |
8692 | (m68hc11_indirect_p): Accept global variables marked in page0. | |
8693 | (m68hc11_encode_section_info): Lookup "page0" attribute. | |
8694 | ||
8695 | * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): 'R' constraint also | |
8696 | represents access to page0 variables. | |
8697 | ||
8698 | * config/m68hc11/m68hc11.md ("*logicalsi3_zexthi"): Use gen_rtx_REG. | |
8699 | ("*logicalsi3_silshl16_zext"): Likewise. | |
8700 | ("*ashldi3_const32"): Likewise. | |
8701 | (peephole2 ashift): Likewise. | |
8702 | ||
5baeaac0 JM |
8703 | 2004-03-28 Joseph S. Myers <jsm@polyomino.org.uk> |
8704 | ||
8705 | * c-tree.h (C_DECL_REGISTER): New. | |
8706 | * c-aux-info.c (gen_decl), c-decl.c (objc_mark_locals_volatile, | |
8707 | finish_decl, grokdeclarator, get_parm_info), c-typeck.c | |
8708 | (build_array_ref, c_mark_addressable): Set and use it. | |
8709 | * c-decl.c (grokdeclarator), c-typeck.c (c_mark_addressable): | |
8710 | Allow structures with volatile fields to be declared register. | |
8711 | Don't check TREE_ADDRESSABLE before warning about taking address | |
8712 | of register. | |
8713 | * c-decl.c (finish_decl): Don't allow structures with volatile | |
8714 | fields to be placed in named register. | |
8715 | * doc/trouble.texi: Remove reference to structures with volatile | |
8716 | fields in registers. | |
8717 | ||
84c1fa24 UW |
8718 | 2004-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
8719 | ||
8720 | * function.c (thread_prologue_and_epilogue): Move | |
8721 | NOTE_INSN_FUNCTION_END and NOTE_INSN_FUNCTION_BEG notes | |
8722 | before the epilogue. | |
8723 | ||
053ee101 UW |
8724 | 2004-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
8725 | ||
8726 | * expr.c (store_constructor): Use gen_int_mode to correctly | |
8727 | sign-extend CONST_INT value. | |
8728 | ||
ca4944e1 KG |
8729 | 2004-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8730 | ||
8731 | * builtin-types.def (BT_WINT, BT_FN_INT_WINT, BT_FN_WINT_WINT): New. | |
8732 | * builtins.def (DEF_C94_BUILTIN): New. Add wctype builtins. | |
8733 | * doc/extend.texi: Likewise. | |
8734 | ||
eb1a2c88 DN |
8735 | 2004-03-26 Diego Novillo <dnovillo@redhat.com> |
8736 | ||
8737 | * c-typeck.c (comptypes): Replace calls to TYPE_DOMAIN | |
8738 | with TYPE_ORIG_SIZE_TYPE. | |
8739 | ||
eabe2b29 | 8740 | 2004-03-25 Aldy Hernandez <aldyh@redhat.com> |
18d5f982 ZW |
8741 | |
8742 | PR 14219 | |
8743 | * c-typeck.c (build_binary_op): Do not allow comparisons of | |
8744 | vectors. | |
eabe2b29 | 8745 | |
9e1395f1 JM |
8746 | 2004-03-26 James A. Morrison <ja2morri@uwaterloo.ca> |
8747 | ||
8748 | * config.gcc: Remove sparc-tti-*. | |
8749 | * config/sparc/pbd.h: Delete. | |
8750 | ||
8751 | * config/sparc/sol2.h: Remove note about Sun OS 4.x. | |
8752 | * config/sparc/aout.h: Likewise. | |
8753 | ||
8754 | * config/sparc/sparc.h: Remove if 0'd code. | |
8755 | * config/sparc/sparc.md (call): Remove if 0'd code. | |
8756 | (call_value): Likewise. | |
8757 | (nonlocal_goto): Likewise. | |
8758 | (unimp_insn): Delete. | |
8759 | ||
22e63bd3 RS |
8760 | 2004-03-25 Roger Sayle <roger@eyesopen.com> |
8761 | ||
8762 | * fold-const.c (tree_expr_nonnegative_p): Handle BIT_XOR_EXPR like | |
8763 | BIT_IOR_EXPR; A^B is nonnegative when A and B are nonnegative. | |
8764 | ||
0066ef9c RH |
8765 | 2004-03-25 Richard Henderson <rth@redhat.com> |
8766 | ||
8767 | PR 11527 | |
18d5f982 ZW |
8768 | * c-typeck.c (pop_init_level): Emit pending init elements earlier |
8769 | rather than later. | |
0066ef9c | 8770 | |
3a048383 KG |
8771 | 2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8772 | ||
8773 | * builtins.c (fold_builtin): Fix error in last change. | |
8774 | ||
0d63bf21 RS |
8775 | 2004-03-25 Richard Sandiford <rsandifo@redhat.com> |
8776 | ||
8777 | * config/mips/mips.h: Formatting fix. | |
8778 | ||
740e5b6f KG |
8779 | 2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8780 | ||
8781 | * builtins.def: Add ctype builtins. | |
8782 | * doc/extend.texi: Likewise. | |
8783 | ||
e19f6bde KG |
8784 | 2004-03-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
8785 | ||
8786 | * builtins.c (fold_builtin): Add new builtin optimizations for | |
8787 | sqrt and/or cbrt. | |
8788 | * fold-const.c (fold): Likewise. | |
8789 | ||
ec507f2d DE |
8790 | 2004-03-25 David Edelsohn <edelsohn@gnu.org> |
8791 | ||
8792 | * config/rs6000/rs6000.c (rs6000_always_hint): New variable. | |
8793 | (rs6000_sched_groups): New variable. | |
8794 | (processor_target_table): Add power5. | |
8795 | (rs6000_override_options): Set rs6000_sched_insert_nops, | |
8796 | rs6000_sched_costly_dep and rs6000_sched_restricted_insns_priority | |
8797 | from rs6000_sched_groups. | |
8798 | (output_cbranch): Use rs6000_always_hint. | |
8799 | (rs6000_variable_issue): Use rs6000_sched_groups. | |
8800 | (rs6000_adjust_cost): Add CPU_POWER5. | |
8801 | (is_microcoded_insn): Use rs6000_sched_groups. | |
8802 | (is_dispatch_slot_restricted): Use rs6000_sched_groups. | |
8803 | Return 2 for POWER5 cracked instructions. | |
8804 | (is_cracked_insn): Use rs6000_sched_groups. | |
8805 | (is_branch_slot_insn): Use rs6000_sched_groups. | |
8806 | (rs6000_issue_rate): Add CPU_POWER5. | |
8807 | (rs6000_sched_finish): Use rs6000_sched_groups. | |
8808 | (rs6000_rtx_costs): Add PROCESSOR_POWER5. | |
8809 | * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_POWER5. | |
8810 | (DEFAULT_SCHED_COSTLY_DEP): Delete. | |
8811 | (DEFAULT_RESTRICTED_INSNS_PRIORITY): Delete. | |
8812 | (DEFAULT_SCHED_FINISH_NOP_INSERTION_SCHEME): Delete. | |
8813 | * config/rs6000/rs6000.md (define_attr "cpu"): Add power5. | |
8814 | * config/rs6000/power5.md: New file. | |
8815 | * doc/invoke.texi: Add power5 option. | |
8816 | ||
666c27b9 KH |
8817 | 2004-03-25 Kazu Hirata <kazu@cs.umass.edu> |
8818 | ||
8819 | * cfgrtl.c, dbxout.c, tree.def, config/darwin.h, | |
8820 | config/arm/arm.c, objc/objc-act.c: Fix comment typos. | |
8821 | * doc/invoke.texi: Fix a typo. | |
8822 | ||
43a21dfc KH |
8823 | 2004-03-25 Kazu Hirata <kazu@cs.umass.edu> |
8824 | ||
8825 | PR optimization/9707. | |
8826 | * stmt.c (emit_case_nodes): Emit equality comparisons instead | |
8827 | of recursing if both children are single-valued cases with no | |
8828 | children. | |
8829 | ||
9728c9d1 PB |
8830 | 2004-03-25 Paul Brook <paul@codesourcery.com> |
8831 | ||
8832 | * config/arm/arm.c (vfp_print_multi): Remove. | |
8833 | (arm_output_fldmx): New function. | |
8834 | (vfp_emit_fstmx): Return block size, not insn. Add ARM10 VFPr1 bugfix. | |
8835 | (arm_expand_prologue): Update to match. | |
8836 | (arm_get_vfp_saved_size): New Function. | |
8837 | (arm_get_frame_offsets): Use it. | |
8838 | (arm_output_epilogue): Use new functions. | |
8839 | ||
bb1acb3e RH |
8840 | 2004-03-24 Richard Henderson <rth@redhat.com> |
8841 | ||
8842 | * alias.c (alias_invariant, alias_invariant_size): Mark GTY. | |
8843 | (reg_known_value, reg_known_value_size): Likewise; make static. | |
8844 | (reg_known_equiv_p): Make static. | |
8845 | (clear_reg_alias_info): Update for new indexing. | |
8846 | (get_reg_known_value, set_reg_known_value): New. | |
8847 | (get_reg_known_equiv_p, set_reg_known_equiv_p): New. | |
8848 | (canon_rtx): Use them. | |
8849 | (init_alias_analysis): Likewise. Allocate reg_known_value with gc. | |
8850 | Don't play queer offsetting games with reg_known_value and | |
8851 | reg_known_equiv_p. | |
8852 | (end_alias_analysis): Free reg_known_value with gc. | |
8853 | * rtl.h (get_reg_known_value, get_reg_known_equiv_p): Declare. | |
8854 | * sched-deps.c (reg_known_equiv_p, reg_known_value): Remove. | |
8855 | (deps_may_trap_p, sched_analyze_1, sched_analyze_2): Use the new | |
8856 | functions instead. | |
8857 | ||
ef335eb8 KH |
8858 | 2004-03-24 Kazu Hirata <kazu@cs.umass.edu> |
8859 | ||
8860 | * dwarf2asm.c, loop.h, pretty-print.c, pretty-print.h, | |
8861 | config/i386/mmintrin.h: Update copyright. | |
8862 | ||
09a9c095 NN |
8863 | 2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> |
8864 | ||
8865 | * configure.ac: Add --enable-werror-always (for top level bootstrap | |
8866 | support). | |
8867 | * configure: Regenerate. | |
8868 | ||
f75963f5 ZL |
8869 | 2004-03-24 Ziemowit Laski <zlaski@apple.com> |
8870 | ||
8871 | * objc/objc-act.c (objc_comptypes): Treat comparisons | |
8872 | between 'Class' and '<class> *' as explicitly invalid. | |
8873 | ||
8d3b3fb7 DE |
8874 | 2004-03-24 David Edelsohn <edelsohn@gnu.org> |
8875 | ||
827c06b6 | 8876 | * doc/invoke.texi (-frename-registers): Add enabled at -O3. |
8d3b3fb7 DE |
8877 | (-fprofile-values): Add enabled with profile-{generate,use}. |
8878 | (-fvpt): Same. | |
8879 | (-ftracer): Add enabled with profile-use. | |
8880 | (-funit-at-a-time): Add enabled at -O2,-O3. | |
8881 | (-funroll-loops): Add enabled with profile-use. | |
8882 | (-funswitch-loops): Add enabled with profile-use. Remove duplicates. | |
8883 | (max-gcse-passes): Mention default. | |
8884 | (max-cse-path-length): Mention default. | |
8885 | ||
643d3bd2 NN |
8886 | 2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> |
8887 | ||
8888 | * Makefile.in (STRICT2_WARN): Reorder. | |
8889 | * configure.ac: Check for -Wold-style-definition, and use it | |
8890 | in strict1_warn if it's available. | |
8891 | * configure: Regnerate. | |
8892 | ||
5848830f PB |
8893 | 2004-03-24 Paul Brook <paul@nowt.org> |
8894 | ||
8895 | * config.gcc <arm>: Add --with-abi= | |
8896 | * config/arm/arm-protos.h (arm_get_frame_size, thumb_get_frame_size, | |
8897 | thumb_far_jump_used): Remove prototypes. | |
8898 | (arm_needs_doubleword_align): Add prototype. | |
8899 | (thumb_compute_initial_elimination_offset): Ditto. | |
8900 | * config/arm/arm.c (arm_get_frame_offsets): New function. | |
8901 | (use_return_insn, output_return_instruction, arm_output_epilogue, | |
8902 | arm_output_function_epilogue, arm_compute_initial_elimination_offset, | |
8903 | arm_expand_prologue, thumb_expand_epilogue): Use it. | |
8904 | (arm_abi, target_abi_name, all_arm_abis): New variables. | |
8905 | (arm_override_options): Set them. Set structure padding for AAPCS. | |
8906 | (arm_return_in_memory): Update ABI check. | |
8907 | (arm_init_cumulative_args): Initialize can_split. | |
8908 | (arm_needs_doubleword_align): New function. | |
8909 | (arm_function_arg): Don't split args after pushing to stack. Handle | |
8910 | doubleword/even reg alignment. | |
8911 | (arm_va_arg): Handle all doubleword aligned args. | |
8912 | (add_minpoolforward ref, dump_minpool, push_minpool_fix): Align based | |
8913 | on ABI, not CPU. | |
8914 | (arm_compute_save_reg0_reg12_mask): Fix comment. | |
8915 | (thumb_get_frame_size, thumb_get_frame_size): Remove. | |
8916 | (thumb_jump_far_used_p): Remove superfluous argument. Return save | |
8917 | value for alignment. | |
8918 | (thumb_unexpanded_epilogue, thumb_output_function_prologue): Change | |
8919 | to match. | |
8920 | (thumb_compute_initial_elimination_offset): New function. | |
8921 | (thumb_expand_prologue): Use arm_get_frame_offsets. Remove | |
8922 | unneccessary rounding. | |
8923 | * config/arm/arm.h (target_abi_name): Declare. | |
8924 | (ARM_DOUBLEWORD_ALIGN, DOUBLEWORD_ALIGNMENT, TARGET_IWMMXT_ABI, | |
8925 | arm_abi_type, ARM_DEFAULT_ABI): Define. | |
8926 | (ARM_FLAG_ATPCS): Remove. | |
8927 | (TARGET_OPTIONS, OPTION_DEFAULT_SPECS): Add -mabi=. | |
8928 | (BIGGEST_ALIGNMENT, PREFERRED_STACK_BOUNDARY, STACK_BOUNDARY): Use it. | |
8929 | (ADJUST_FIELD_ALIGN, DATA_ALIGNMENT, LOCAL_ALIGNMENT, | |
8930 | TYPE_NEEDS_IWMMXT_ALIGNMENT): Remove. | |
8931 | (LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): | |
8932 | Contitionalize on ABI, not CPU. | |
8933 | (struct arm_stack_offsets): Define. | |
8934 | (struct machine_function): Add stack_offsets. Remove frame_size. | |
8935 | (FUNCTION_ARG_PARTIAL_NREGS): Don't split if previous args have been | |
8936 | pushed. | |
8937 | (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_BOUNDARY): Handle general | |
8938 | doubleword alignment. | |
8939 | (THUMB_INITIAL_ELIMINATION_OFFSET, | |
8940 | ARM_INITIAL_ELIMINATION_OFFSET): Remove. | |
8941 | (INITIAL_ELIMINATION_OFFSET): Call functions directly. | |
8942 | * config/arm/arm.md (align_8): Enable for all targets. | |
8943 | * config/arm/netbsd-elf.h (TARGET_DEFAULT): Remove TARGET_ATPCS. | |
8944 | (ARM_DEFAULT_ABI): Define. | |
8945 | * doc/invoke.texi <ARM>: Document -mabi=. Update documentation for | |
8946 | -mstructure-size-boundary. | |
8947 | ||
b5472e1d NN |
8948 | 2004-03-24 Nathanael Nerode <neroden@gcc.gnu.org> |
8949 | ||
8950 | * configure.ac: Check for -Wno-variadic-macros; don't use | |
8951 | -pedantic (in stage 1 or a simple 'make all') unless it's available, | |
8952 | and if it's available, use it. Also, clean up check for | |
8953 | -Wno-long-long. | |
8954 | * configure: Regenerate. | |
8955 | ||
c1077e1e RS |
8956 | 2004-03-24 Richard Sandiford <rsandifo@redhat.com> |
8957 | ||
8958 | * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Remove tm_defines. | |
8959 | * config/mips/vr.h (DEFAULT_VR_ARCH): New macro, defined to vr4130. | |
8960 | (MULTILIB_DEFAULTS): Use it. | |
8961 | (MIPS_CPU_STRING_DEFAULT): Remove. | |
8962 | (MIPS_ABI_DEFAULT, MIPS_MARCH_CONTROLS_SOFT_FLOAT): Define. | |
8963 | (DRIVER_SELF_SPECS): Make -mfix-vr4122-bugs imply -march=vr4120. Make | |
8964 | EABI64 -mlong32 the default ABI. Enforce the default architecture. | |
8965 | * config/mips/t-vr (MULTILIB_OPTIONS): Add mfix-vr4122-bugs, | |
398a9492 | 8966 | march=vr4130, march=vr4300, march=vr5000 and march=vr5500. |
c1077e1e RS |
8967 | (MULTILIB_MATCHES): Use -mfix-vr4122-bugs multilibs for -march=vr4120. |
8968 | (MULTILIB_EXCEPTIONS): Change choice of multilibs. Update comments | |
8969 | accordingly. | |
8970 | ||
c235ddf2 DD |
8971 | 2004-03-24 DJ Delorie <dj@redhat.com> |
8972 | Richard Sandiford <rsandifo@redhat.com> | |
8973 | ||
8974 | * config/mips/mips.h (MASK_FIX_VR4122, TARGET_FIX_VR4122): New macros. | |
8975 | (TARGET_SWITCHES): Add -mfix-vr4122-bugs and -mno-fix-vr4122-bugs. | |
8976 | (ASM_SPEC): Pass down -mfix-vr4122-bugs. | |
8977 | * config/mips/mips.c (mips_avoid_hazards): Don't emit whole functions | |
8978 | in .set noreorder and .set nomacro if TARGET_FIX_VR4122. | |
8979 | (mips_init_libfuncs): Use special functions for divsi3 and modsi3 | |
8980 | if TARGET_FIX_VR4122. | |
8981 | * config/mips/mips.md (define_attr length): Account for nops inserted | |
8982 | after macc and dmult when using -mfix-vr4122-bugs. | |
8983 | (umuldi3_highpart, divmodsi4, divmoddi4): Disable if TARGET_FIX_VR4122. | |
8984 | * config/mips/t-vr (LIB2FUNCS_STATIC_EXTRA): Define instead of | |
8985 | LIB2FUNCS_EXTRA. Add config/mips/vr4122-div.S. | |
8986 | * config/mips/vr4122-div.S: New file. | |
8987 | * doc/invoke.texi: Document -mfix-vr4122-bugs. | |
8988 | ||
cf768d70 RS |
8989 | 2004-03-24 Richard Sandiford <rsandifo@redhat.com> |
8990 | ||
8991 | * config/mips/mips.h (PROCESSOR_R4130): New processor_type. | |
8992 | (TARGET_MIPS4130): New macro. | |
8993 | (ISA_HAS_MACC): Return true if TARGET_MIPS4130 && !TARGET_MIPS16. | |
8994 | * config/mips/mips.c (mips_cpu_info_table): Add a vr4130 entry. | |
8995 | (override_options): Extend MIPS_MARCH_CONTROLS_SOFT_FLOAT to deal | |
8996 | with PROCESSOR_R4130. | |
8997 | * config/mips/mips.md (define_attr cpu): Add r4130. | |
8998 | * doc/invoke.texi: Document vr4130 as a supported MIPS architecture. | |
8999 | ||
5ef1a99d MR |
9000 | 2004-03-24 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
9001 | Richard Sandiford <rsandifo@redhat.com> | |
9002 | ||
9003 | * doc/invoke.texi: Apply missed hunk from 2004-03-03 change. | |
9004 | ||
ae87624f AO |
9005 | 2004-03-24 Alexandre Oliva <aoliva@redhat.com> |
9006 | ||
9007 | PR preprocessor/14438 | |
9008 | * cpplib.c (do_pragma): Remove line_change call after pragma | |
9009 | handler. | |
9010 | ||
d63851eb ILT |
9011 | 2004-03-23 Ian Lance Taylor <ian@wasabisystems.com> |
9012 | ||
9013 | * doc/extend.texi (ARM Built-in Functions): Replace with correct | |
9014 | declarations. | |
9015 | ||
0c5faf29 RS |
9016 | 2004-03-23 Roger Sayle <roger@eyesopen.com> |
9017 | ||
9018 | * reg-stack.c (get_true_reg): Handle FLOAT_TRUNCATE like FLOAT_EXTEND | |
9019 | if flag_unsafe_math_optimizations. | |
9020 | * config/i386/i386.md (truncdfsf2): If flag_unsafe_math_optimizations | |
9021 | and TARGET_80387 expand using truncdfsf2_noop pattern. | |
9022 | (truncxfsf2): Likewise using truncxfsf2_noop. | |
9023 | (truncxfdf2): Likewise using truncxfdf2_noop. | |
9024 | (truncdfsf2_noop, truncxfsf2_noop, truncxfdf2_noop): New patterns. | |
9025 | ||
f18eca82 ZL |
9026 | 2004-03-23 Ziemowit Laski <zlaski@apple.com> |
9027 | ||
9028 | * hooks.c (hook_constcharptr_tree_null): New hook. | |
9029 | * hooks.h (hook_constcharptr_tree_null): New prototype. | |
9030 | * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): New target hook. | |
9031 | * target.h (mangle_fundamental_type): New target hook. | |
9032 | * config/rs6000/rs6000.c (TARGET_MANGLE_FUNDAMENTAL_TYPE): Point | |
9033 | target hook at rs6000_mangle_fundamental_type. | |
9034 | (rs6000_mangle_fundamental_type): New function. | |
9035 | * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Document. | |
9036 | ||
f75fbaf7 ZW |
9037 | 2004-03-23 Zack Weinberg <zack@codesourcery.com> |
9038 | ||
1b1d85bd | 9039 | PR 12267, 12391, 12560, 13129, 14114, 14133 |
f75fbaf7 ZW |
9040 | * c-tree.h: Forward declare struct c_binding. Declare |
9041 | c_override_bindings_to_false. Update prototypes. | |
9042 | (struct lang_identifier): Update comments. Change fields to be | |
9043 | struct c_binding *. | |
9044 | (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE) | |
9045 | (IDENTIFIER_LABEL_VALUE, C_DECL_INVISIBLE) | |
9046 | (KEEP_NO, KEEP_YES, KEEP_MAYBE): Delete. | |
9047 | (C_DECL_IN_EXTERNAL_SCOPE, C_DECL_DECLARED_BUILTIN): New. | |
9048 | * c-common.h: Update prototypes. | |
9049 | * c-decl.c (struct c_scope): Update commentary. Remove names, | |
9050 | names_last, parms, parms_last, tags, and shadowed fields. Add | |
9051 | bindings and depth fields. | |
9052 | (scope_freelist): Move to more appropriate location. | |
9053 | (c_print_identifier): Update for changes to struct lang_identifier. | |
9054 | (objc_mark_locals_volatile): Update for new bindings structures. | |
9055 | (global_bindings_p): Honor c_override_global_bindings_to_false. | |
9056 | (pushlevel): Rename to push_scope; take no arguments; use the | |
9057 | scope_freelist; initialize scope->depth and check for overflow. | |
9058 | (poplevel): Rename to pop_scope; totally rewritten for new bindings | |
9059 | structures. | |
9060 | (diagnose_mismatched_decls): Use C_DECL_DECLARED_BUILTIN, not | |
9061 | C_DECL_INVISIBLE, for certain decisions. Adjust some diagnostics. | |
9062 | Improve some commentary. Adjust handling of forward parm decls. | |
9063 | (merge_decls): Set C_DECL_DECLARED_BUILTIN when appropriate. | |
9064 | Preserve C_DECL_IN_EXTERNAL_SCOPE. | |
9065 | (warn_if_shadowing): Correct indentation. Improve diagnostics. | |
9066 | (pushdecl): Remove unnecessary assertion. Short-circuit anonymous | |
9067 | decls. Rewrite for new bindings structures. Improve commentary. | |
9068 | Eliminate the copy_node call. | |
9069 | (implicit_decl_warning): Use the "diag" idiom (as seen in | |
9070 | locate_old_decl) to reduce code duplication; call locate_old_decl | |
9071 | if appropriate. Relocate to remove need for forward declaration. | |
9072 | (implicitly_declare): Adjust for new bindings structures. Kludge | |
9073 | around Objective-C not-really-builtin functions. | |
9074 | (undeclared_variable): Improve diagnostics. If current_function_decl | |
9075 | is nonnull but current_function_scope is null, use current_scope. | |
9076 | Use bind. | |
9077 | (lookup_tag): Adjust for new bindings structures. Kludge around | |
9078 | Objective-C's tag declarations that wind up in the external scope. | |
9079 | (lookup_name): Adjust for new bindings structures. Kludge around | |
9080 | c-common.c's pseudo-typedefs that wind up in the external scope. | |
9081 | (lookup_name_current_level): Rename lookup_name_in_scope; take a | |
9082 | second argument indicating the scope to examine; rewrite for | |
9083 | new bindings structures. | |
9084 | (c_init_decl_processing): Adjust for renamed functions. Do not | |
9085 | initialize current_file_decl, first_builtin_decl, last_builtin_decl. | |
9086 | First scope pushed is the external scope, not the global scope. | |
9087 | (builtin_function): Use bind, not pushdecl. Adjust other bits | |
9088 | for new data structures. Keep track of builtins that should be | |
9089 | made visible automatically. | |
9090 | (start_decl): Adjust diagnostics. Remove unnecessary call to | |
9091 | expand_decl. | |
9092 | (grokparms): Return 0 if arg_types is error_mark_node. | |
9093 | (get_parm_info): Rename "void_at_end" argument to "ellipsis", with | |
9094 | reversed sense. Rewrite for new bindings structures. Do not | |
9095 | leave any decls in the scope, to prevent pop_scope from doing | |
9096 | contradictory things with them. | |
9097 | (finish_struct, finish_enum): Remove redundant diagnostics. | |
9098 | (build_enumerator): Don't cascade diagnostics for error_mark_node. | |
9099 | Mark location where -pedantic changes the meaning of the program. | |
9100 | (store_parm_decls_newstyle, store_parm_decls_oldstyle): Load the | |
9101 | parameter decls into the function's scope structure using bind. | |
9102 | Warn here about function definitions in the wrong style. | |
9103 | Adjust diagnostics. | |
9104 | (store_parm_decls): Correct the determination of whether a | |
9105 | function was defined with a prototype. | |
9106 | (c_write_global_declarations): Operate on all file decls and on | |
9107 | the external scope. Split body of the loop to... | |
9108 | (c_write_global_declarations_1): ... this new function, to avoid | |
9109 | code duplication. | |
9110 | (truly_local_externals, first_builtin_decl, last_builtin_decl) | |
9111 | (make_scope, pop_scope, in_parm_level_p, set_block) | |
9112 | (any_external_decl, record_external_decl, bind_label, getdecls) | |
9113 | (link_hash_hash, link_hash_eq, merge_translation_unit_decls) | |
9114 | (c_reset_state): Delete. | |
9115 | (visible_builtins, c_override_global_bindings_to_false) | |
9116 | (c_binding, I_SYMBOL_BINDING, I_SYMBOL_DECL, I_TAG_BINDING) | |
9117 | (I_TAG_DECL, I_LABEL_BINDING, I_LABEL_DECL, file_scope) | |
9118 | (external_scope, binding_freelist, bind, free_binding_and_advance) | |
9119 | (push_file_scope, pop_file_scope): New. | |
9120 | (pushtag, pushdecl_top_level, lookup_label, declare_label) | |
9121 | (define_label, c_make_fname_decl, finish_decl) | |
9122 | (mark_forward_parm_decls, build_compound_literal) | |
9123 | (grokdeclarator, start_function, check_for_loop_decls) | |
9124 | (identifier_global_value, record_builtin_type): Minor adjustments | |
9125 | for new bindings structures. Improve diagnostics and commentary. | |
9126 | * c-objc-common.c (start_cdtor, finish_cdtor): Adjust calls to | |
9127 | pushlevel/poplevel respectively. | |
9128 | (c_objc_common_finish_file): Don't call merge_translation_unit_decls. | |
9129 | * c-opts.c (c_common_parse_file): Remove spurious ATTRIBUTE_UNUSED. | |
9130 | Warn about YYDEBUG not being defined only if -dy. Remove no-longer- | |
9131 | correct loop over multiple translation units; call fatal_error if | |
9132 | requested to compile more than one file at once. (This disables | |
9133 | IMA temporarily - an up-front error being preferable to a crash.) | |
9134 | * c-parse.in (pushlevel, poplevel rules): Rename push_scope, pop_scope. | |
9135 | (all actions): Adjust calls to pushlevel/poplevel. | |
9136 | (parsing_iso_function_signature): Delete. | |
9137 | (extdef_1): Fold into extdef. | |
9138 | (old_style_parm_decls_1): Fold into old_style_parm_decls. Don't | |
9139 | warn here about function definitions in the wrong style. | |
9140 | (after_tyle_declarator, parm_declarator_starttypename) | |
9141 | (parm_declarator_nostarttypename, notype_declarator): Remove | |
9142 | commented-out productions. | |
9143 | (parmlist_1, parmlist_2): Use make_node, not tree_cons, to create | |
9144 | an empty TREE_LIST node. Adjust calls to get_parm_info. | |
9145 | (parmlist_2 : ELLIPSIS): Tag the arg-info block with error_mark_node | |
9146 | to suppress -Wold-style-definition after this error. | |
9147 | (c_parse_file): Don't clear the binding stack or call | |
9148 | finish_fname_decls here. Correct comment. | |
9149 | * c-typeck.c (same_translation_unit_p): Export. | |
9150 | (common_type): Use c_override_global_bindings_to_false, not | |
9151 | pushlevel/poplevel/declare_parm_level. | |
9152 | * c-lang.c: Override LANG_HOOKS_CLEAR_BINDING_STACK, | |
9153 | LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK, | |
9154 | and LANG_HOOKS_GETDECLS with do-nothing stubs. | |
9155 | * objc/objc-lang.c: Likewise. | |
9156 | * objc/objc-act.c: Adjust all calls to pushlevel, poplevel, | |
9157 | get_parm_info. | |
9158 | (OBJC_VOID_AT_END): Delete; replace all uses | |
9159 | with void_list_node. | |
9160 | (generate_forward_declaration_to_string_table): Delete. | |
9161 | * objc/objc-act.h (OCTI_STRG_DECL, UOBJC_STRINGS_decl): Delete. | |
9162 | ||
9163 | * coverage.c (create_coverage): Don't pushdecl anything. | |
9164 | * langhooks.c (lhd_clear_binding_stack): Call | |
9165 | lang_hooks.decls.poplevel, not poplevel. | |
9166 | * tree.c (list_length): If ENABLE_TREE_CHECKING, abort on a | |
9167 | circular list rather than going into an infinite loop. | |
9168 | ||
0c0ab0f1 OH |
9169 | 2004-03-23 Olivier Hainque <hainque@act-europe.fr> |
9170 | ||
f75fbaf7 ZW |
9171 | * optabs.c (expand_binop): When synthesizing double word rotates |
9172 | from single word shifts, use a new register target if the provided | |
9173 | target is not a REG already. | |
0c0ab0f1 | 9174 | |
22421b79 RK |
9175 | 2004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9176 | ||
9177 | * alias.c (get_alias_set): Add support for TYPE_REF_CAN_ALIAS_ALL. | |
9178 | * c-common.c (handle_mode_attribute): Add extra arg to | |
9179 | build_pointer_type_for_mode and build_reference_type_for_mode. | |
9180 | * c-typeck.c (build_c_cast): Only look at TREE_CONSTANT_OVERFLOW | |
9181 | for INTEGER_CST. | |
9182 | * tree.c (build_pointer_type_for_mode): Add arg CAN_ALIAS_ALL. | |
9183 | Chain pointers via TYPE_NEXT_PTR_TO. | |
9184 | (build_reference_type_for_mode): Similarly. | |
9185 | (build_type_no_quals): Add extra arg to build_pointer_type_for_mode | |
9186 | and build_reference_type_for_mode. | |
9187 | (tree_check4_failed): New function. | |
9188 | * tree.h (TREE_CHECK4, PTR_OR_REF_CHECK): New macros. | |
9189 | (TYPE_REF_CAN_ALIAS_ALL, TYPE_NEXT_PTR_TO, TYPE_NEXT_REF_TO): Likewise. | |
9190 | (TREE_NO_UNSUED_WARNING, TREE_VIA_VIRTUAL, TREE_CONSTANT_OVERFLOW): | |
9191 | Add check. | |
9192 | ||
b1500d00 RS |
9193 | 2004-03-23 Roger Sayle <roger@eyesopen.com> |
9194 | ||
9195 | * fold-const.c (tree_expr_nonnegative_p): A&B is nonnegative when | |
9196 | A is nonnegative or B is nonnegative. Similarly A|B is nonnegative | |
9197 | when both A and B are nonnegative. | |
9198 | (tree_expr_nonzero_p): A|B is nonzero when A is nonzero or B is | |
9199 | nonzero. | |
9200 | ||
73b91357 KH |
9201 | 2004-03-23 Kazu Hirata <kazu@cs.umass.edu> |
9202 | ||
9203 | * fold-const.c (fold): Remove cases for INTEGER_CST, REAL_CST, | |
9204 | VECTOR_CST, STRING_CST, COMPLEX_CST, and CONSTRUCTOR. | |
9205 | ||
bb3a37ac RS |
9206 | 2004-03-23 Kazu Hirata <kazu@cs.umass.edu> |
9207 | ||
9208 | PR optimization/14669 | |
9209 | * fold-const.c (fold): Only unwiden integer comparisons for equality | |
9210 | and inequality operators, or when the signedness doesn't change. | |
9211 | ||
f2c79f80 JJ |
9212 | 2004-03-23 Jakub Jelinek <jakub@redhat.com> |
9213 | ||
9214 | * config.gcc (sparc-*-linux*): Add sparc/t-linux to tmake_file. | |
9215 | * config/sparc/t-linux64 (TARGET_LIBGCC2_CFLAGS): Set. | |
9216 | * config/sparc/t-linux: New file. | |
9217 | ||
1707bafa RS |
9218 | 2004-03-23 Richard Sandiford <rsandifo@redhat.com> |
9219 | ||
9220 | * gcse.c (can_assign_to_reg_p): New function, split out from... | |
9221 | (want_to_gcse_p): ...here. | |
9222 | (compute_ld_motion_mems): Use can_assign_to_reg_p to validate | |
9223 | the rhs of a store. | |
9224 | ||
63185fab DN |
9225 | 2004-03-22 Diego Novillo <dnovillo@redhat.com> |
9226 | ||
9227 | * c-typeck.c (same_translation_unit_p): Fix pasto. | |
9228 | ||
f72c6b56 DE |
9229 | 2004-03-22 David Edelsohn <edelsohn@gnu.org> |
9230 | ||
9231 | * params.def (PARAM_MAX_SCHED_REGION_BLOCKS): New. | |
9232 | (PARAM_MAX_SCHED_REGION_INSNS): New. | |
9233 | * sched-rgn.c: Include params.h | |
9234 | (MAX_RGN_BLOCKS): Delete. | |
9235 | (MAX_RGN_INSNS): Delete. | |
9236 | (too_large): Return bool. Convert to PARAM_VALUE. | |
0483ab6e | 9237 | * Makefile.in (sched-rgn.o): Depend on $(PARAMS_H). |
f72c6b56 DE |
9238 | * doc/invoke.texi (param): Document max-sched-region-blocks and |
9239 | max-sched-region-insns. | |
9240 | ||
d6672e91 JB |
9241 | 2004-03-22 Joel Brobecker <brobecker@gnat.com> |
9242 | ||
9243 | * dwarf2out.c (is_subrange_type): Do not emit a subrange_type DIE | |
9244 | for base types. | |
9245 | ||
886de2d4 JB |
9246 | 2004-03-22 Joel Brobecker <brobecker@gnat.com> |
9247 | ||
9248 | * dwarf2out.c (is_subrange_type): Minor code rework. No behavior | |
9249 | change. | |
9250 | ||
d915eec0 JJ |
9251 | 2004-03-22 Jakub Jelinek <jakub@redhat.com> |
9252 | ||
9253 | PR c/14069 | |
9254 | * c-decl.c (finish_struct): Change type of incorrect flexible array | |
9255 | field into error_mark_node. | |
9256 | ||
aa6d25c9 AP |
9257 | 2004-03-22 Andrew Pinski <pinskia@physics.uc.edu> |
9258 | ||
19a03303 | 9259 | PR target/14580 |
aa6d25c9 AP |
9260 | * config/rs6000/rs6000.c (symbol_ref_operand): Reject symbols |
9261 | who are not local for Darwin PIC. | |
9262 | ||
ead61c1d UW |
9263 | 2004-03-22 Ulrich Weigand <uweigand@de.ibm.com> |
9264 | ||
9265 | * regrename.c (regrename_optimize): Set regs_ever_live for all | |
9266 | registers introduced as replacement. | |
9267 | ||
1bbd65cd EB |
9268 | 2004-03-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
9269 | ||
9270 | PR middle-end/14470 | |
9271 | * expr.c (mark_queue): New function. | |
9272 | (emit_insns_enqueued_after_mark): New function replacing | |
9273 | emit_queue. Clear the body of emitted queued insns. | |
9274 | (emit_queue): Call emit_insns_enqueued_after_mark. | |
9275 | (store_expr): Mark the increment queue on entry. Emit | |
9276 | only the incrementations queued when expanding the source. | |
9277 | ||
6dd297da NN |
9278 | 2004-03-22 Nathanael Nerode <neroden@gcc.gnu.org> |
9279 | ||
9280 | * configure.ac: Allow --disable-coverage-flags (for the future benefit | |
9281 | of top level bootstrap, and consistency). Reindent. | |
9282 | * configure: Regenerate. | |
9283 | ||
400e39e3 KH |
9284 | 2004-03-21 Kazu Hirata <kazu@cs.umass.edu> |
9285 | ||
9286 | * bt-load.c, builtins.c, cfghooks.c, cfgrtl.c, gcse.c, | |
9287 | ggc-page.c, integrate.c, var-tracking.c, web.c: Remove | |
9288 | unnecessary casts. | |
9289 | ||
bd8ec6a7 DS |
9290 | 2004-03-22 Danny Smith <dannysmith@users.sourceforge.net> |
9291 | ||
9292 | PR target/14291 | |
9293 | * gcov-io.h (gcov_truncate): Define ftruncate as _chsize for | |
9294 | __MINGW32__. | |
9295 | ||
bd446804 UW |
9296 | 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
9297 | ||
9298 | * config/s390/s390.md ("*doloop_si"): Change predicate for operand 2 | |
9299 | to nonimmediate_operand. | |
9300 | ("*doloop_di"): Likewise. | |
9301 | ||
1e92bbb9 AO |
9302 | 2004-03-21 Alexandre Oliva <aoliva@redhat.com> |
9303 | ||
9304 | * real.h (struct real_value): Use the same type for all | |
9305 | bitfields. Rename exp to uexp. | |
9306 | (REAL_EXP, SET_REAL_EXP): New accessor macros for uexp. | |
9307 | Adjust all uses of exp... | |
9308 | * builtins.c: ... here, ... | |
9309 | * emit-rtl.c: ... here, and ... | |
9310 | * real.c: ... and here. | |
9311 | ||
b9b44fb9 GDR |
9312 | 2004-03-21 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9313 | ||
9314 | * pretty-print.c (pp_base_maybe_space): New function. | |
9315 | * pretty-print.h (pp_base_maybe_space): Declare. | |
9316 | (pp_maybe_space): New macro. | |
9317 | ||
1c7b1b7e UW |
9318 | 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
9319 | ||
9320 | * config/s390/s390.md ("addti3", "subti3"): New insns and splitters. | |
9321 | ||
f258e38b UW |
9322 | 2004-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
9323 | ||
9324 | * expmed.c (choose_mult_variant): Pass MULT_COST as argument instead | |
9325 | of using register multiplication cost. | |
9326 | (expand_mult): Adapt choose_mult_variant call. | |
9327 | (expand_mult_highpart): Call choose_mult_variant with WIDER_MODE | |
9328 | of MODE; pass appropriate cost bound. Adjust result when | |
9329 | performing signed multiplication by a negative constant. | |
9330 | Don't use intermediate modes larger than word_mode. | |
9331 | ||
6fce44af RK |
9332 | 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9333 | ||
9334 | * alias.c (get_alias_set): Remove handling of PLACEHOLDER_EXPR. | |
9335 | * emit-rtl.c (component_ref_for_mem_expr): Likewise. | |
9336 | (set_mem_attributes_minus_bitpos): Call SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
9337 | * explow.c (expr_size): Likewise. | |
9338 | * expr.h (placeholder_list, find_placeholder): Deleted. | |
9339 | * expr.c (store_constructor): Likewise. | |
9340 | (get_inner_reference): Likewise. Also don't call find_placeholder. | |
9341 | (placeholder_list, find_placeholder): Deleted. | |
9342 | (is_aligning_offset): Don't handle WITH_RECORD_EXPR, PLACEHOLDER_EXPR. | |
9343 | (expand_expr_real, cases PLACEHOLDER_EXPR, WITH_RECORD_EXPR): Likewise. | |
9344 | (highest_pow2_factor, case WITH_RECORD_EXPR): Remove. | |
9345 | * dojump.c (do_jump, case WITH_RECORD_EXPR): Likewise. | |
9346 | * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): | |
9347 | Likewise. | |
9348 | * fold-const.c (invert_truthvalue, case WITH_RECORD_EXPR): Likewise. | |
9349 | (extract_muldiv, case WITH_RECORD_EXPR): Likewise. | |
9350 | * tree.c (expr_align, case WITH_RECORD_EXPR): Likewise. | |
9351 | (contains_placeholder_p): Don't handle WITH_RECORD_EXPR. | |
9352 | Clean up by using first_rtl_op. | |
9353 | (substitute_in_expr): Use SUBSTITUTE_IN_EXPR for recursive call. | |
9354 | (substitute_placeholder_in_expr): New function. | |
9355 | * tree.def (WITH_RECORD_EXPR): Deleted. | |
9356 | * tree.h (SUBSTITUTE_IN_EXPR, SUBSTITUTE_PLACEHOLDER_IN_EXPR): New. | |
9357 | (substitute_placeholder_in_expr): New. | |
9358 | ||
0f005f33 AP |
9359 | 2004-03-21 Andrew Pinski <pinskia@gcc.gnu.org> |
9360 | ||
9361 | * dojump.c (prefer_and_bit_test): Fix which part of | |
9362 | the and_test is replaced. | |
9363 | ||
f80352b8 JM |
9364 | 2004-03-21 Joseph S. Myers <jsm@polyomino.org.uk> |
9365 | ||
9366 | * frontends.texi: Add missing line. | |
9367 | ||
6ad79f18 | 9368 | 2004-03-21 Zack Weinberg <zack@codesourcery.com> |
f75fbaf7 ZW |
9369 | Chris Devers <cdevers@pobox.com> |
9370 | Joseph S. Myers <jsm@polyomino.org.uk> | |
6ad79f18 JM |
9371 | |
9372 | * doc/frontends.texi: Rewrite. | |
9373 | * doc/gcc.texi: Update last modification date. | |
9374 | ||
eabd7d31 JZ |
9375 | 2004-03-21 Josef Zlomek <zlomekj@suse.cz> |
9376 | ||
9377 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Print the debug | |
9378 | message before redirecting the edge. | |
9379 | ||
f8ad8d7c ZD |
9380 | 2004-03-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
9381 | ||
9382 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Set MEM_POINTER | |
9383 | flag. | |
9384 | * explow.c (force_not_mem): Set REG_POINTER flag according to | |
9385 | MEM_POINTER one. | |
9386 | * rtl.h (MEM_POINTER): New macro. | |
9387 | (struct rtx_def): Use integrated for MEM_SCALAR_P and frame_related | |
9388 | for MEM_POINTER. | |
9389 | ||
8cce3d04 RS |
9390 | 2004-03-20 Roger Sayle <roger@eyesopen.com> |
9391 | ||
9392 | PR target/13889 | |
9393 | * cse.c (fold_rtx): Avoid substituting constants into unary | |
687c3ea5 | 9394 | conversion operations. |
8cce3d04 | 9395 | |
05fe5c67 KH |
9396 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9397 | ||
9398 | * fold-const.c (fold): Replace "expr" with "t". | |
9399 | ||
dea984dc ILT |
9400 | 2004-03-20 Ian Lance Taylor <ian@wasabisystems.com> |
9401 | ||
9402 | PR c/12373 | |
9403 | * c-typeck.c (tagged_types_tu_compatible_p): Don't use | |
9404 | DECL_ORIGINAL_TYPE if there isn't one. | |
9405 | ||
079f946d KH |
9406 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9407 | ||
9408 | * fold-const.c (fold): Replace "final_type" with "type". | |
9409 | Remove variable "final_type". | |
9410 | ||
8d3784af KH |
9411 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9412 | ||
9413 | * fold-const.c (fold): Constify "type". | |
9414 | Replace "TREE_TYPE (t)" with "type". | |
9415 | ||
245f1bfa KH |
9416 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9417 | ||
9418 | * bb-reorder.c, bt-load.c, c-decl.c, cfgcleanup.c, coverage.c, | |
9419 | dwarf2asm.c, ifcvt.c, stor-layout.c, varasm.c: Replace calls | |
9420 | via (*targetm.foo) () with targetm.foo (). | |
9421 | ||
802f6d4b JM |
9422 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
9423 | ||
9424 | PR other/14630 | |
9425 | * doc/install.texi: Add info directory category and entry. | |
9426 | ||
ea993805 KH |
9427 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9428 | ||
9429 | * fold-const.c (fold): Replace "t" with "tem" where it is used | |
9430 | as a temporary variable. Remove "orig_t" and all of its uses. | |
9431 | ||
8e7b3a43 KH |
9432 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9433 | ||
9434 | * fold-const.c (fold): Remove variable "invert". | |
9435 | Move the handling of relational expressions that can be folded | |
9436 | to a constant ... | |
9437 | (fold_relational_const): ... here. | |
9438 | (tree_expr_nonzero_p): New. | |
9439 | ||
b1c2d04a JM |
9440 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
9441 | ||
9442 | PR c/14635 | |
9443 | * builtins.def (nan, nanf, nanl, nans, nansf, nansl): Change to | |
9444 | DEF_GCC_BUILTIN. | |
9445 | ||
dbf833ee RS |
9446 | 2004-03-20 Richard Sandiford <rsandifo@redhat.com> |
9447 | ||
9448 | * Makefile.in (dojump.o): Depend on $(GGC_H) and dojump.h. | |
9449 | (GTFILES): Add $(srcdir)/dojump.h. | |
9450 | (gt-dojump.h): New dependency. | |
9451 | * dojump.c (and_reg, and_test, shift_test): New static variables. | |
9452 | (prefer_and_bit_test): New function. | |
9453 | (do_jump): Use it to choose between (X & (1 << C)) and (X >> C) & 1. | |
9454 | ||
d1a6adeb KH |
9455 | 2004-03-20 Kazu Hirata <kazu@cs.umass.edu> |
9456 | ||
9457 | * c-common.c, cfgcleanup.c, cgraphunit.c, c-pretty-print.c, | |
9458 | expmed.c, ggc-common.c, jump.c, passes.c, recog.c, regmove.c, | |
9459 | reorg.c, tree.h: Fix comment typos. | |
9460 | ||
5fd9b178 KH |
9461 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
9462 | ||
9463 | * alias.c, attribs.c, bt-load.c, builtins.c, c-common.c, | |
9464 | c-decl.c, c-objc-common.c, c-typeck.c, calls.c, cfglayout.c, | |
9465 | cse.c, dbxout.c, dwarf2out.c, except.c, final.c, | |
9466 | haifa-sched.c, integrate.c, passes.c, rtlanal.c, sched-rgn.c, | |
9467 | sched-vis.c, simplify-rtx.c, stor-layout.c, tree.c, varasm.c, | |
9468 | vmsdbgout.c: Replace calls via (*targetm.foo) () with | |
9469 | targetm.foo (). | |
9470 | ||
86e7df90 ZL |
9471 | 2004-03-19 Ziemowit Laski <zlaski@apple.com> |
9472 | ||
9473 | * config/rs6000/altivec.h (vec_dst, vec_dstst, vec_dststt, | |
9474 | vec_dstt, vec_sld, vec_splat): Add prototypes, marked with | |
9475 | always_inline attribute. | |
9476 | * config/rs6000/rs6000.c (altivec_expand_dst_builtin): | |
9477 | Treat expansion as completed even if literal argument is | |
9478 | invalid (so that other expansions are not tried in vain). | |
9479 | ||
147d77b6 KH |
9480 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
9481 | ||
9482 | * loop-doloop.c (add_test): Replace GEN_INT (0) with | |
9483 | const0_rtx. | |
9484 | ||
73c4ab99 KH |
9485 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
9486 | ||
9487 | * fold-const.c (fold) <ABS_EXPR>: Move the handling of constants | |
9488 | ... | |
9489 | (fold_abs_const): ... here. | |
9490 | ||
a6002f8d RK |
9491 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9492 | ||
9493 | * tree.h (TYPE_ARRAY_MAX_SIZE): Use type.maxval directly. | |
9494 | ||
829bde68 DC |
9495 | 2004-03-19 Denis Chertykov <denisc@overta.ru> |
9496 | ||
d0aa5f10 | 9497 | PR target/11520 |
829bde68 DC |
9498 | * config/avr/avr.md ("call_insn"): Handle explicit integer |
9499 | specially. | |
9500 | (call_value_insn): Likewise. | |
9501 | ||
9d2a492d RK |
9502 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9503 | ||
9504 | * tree.c (substitute_in_expr): Rewrite to simplify and be more generic. | |
9505 | ||
33d13fac KH |
9506 | 2004-03-19 Kazu Hirata <kazu@cs.umass.edu> |
9507 | ||
9508 | * fold-const.c (negate_expr): Move the handling of constants | |
9509 | ... | |
9510 | (fold_negate_const): ... here. | |
9511 | ||
7548281d RK |
9512 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9513 | ||
9514 | * langhooks-def.h (LANG_HOOKS_HASH_TYPES): New macro and hook. | |
9515 | * langhooks.h (struct lang_hooks_for_types): New field hash_types. | |
9516 | * tree.c (debug_no_type_hash): Deleted. | |
9517 | (type_hash_canon): Abort if passed a variant. | |
9518 | Check lang_hooks.types.hash_types. | |
9519 | (build_type_no_quals): Copy mode of POINTER_TYPE and REFERENCE_TYPE. | |
9520 | (build_array_type): Remove unnecessary allocation of pointer type. | |
9521 | (build_complex_type): Properly qualify resulting type. | |
9522 | ||
7e463bda PB |
9523 | 2004-03-19 Paolo Bonzini <bonzini@gnu.org> |
9524 | ||
9525 | * config/rs6000/rs6000.c (rs6000_init_builtins): Fix typo. | |
9526 | ||
8efc8980 RS |
9527 | 2004-03-19 Richard Sandiford <rsandifo@redhat.com> |
9528 | ||
9529 | * expmed.c (choose_mult_variant, expand_mult_const): New, split from... | |
9530 | (expand_mult): ...here. | |
9531 | (extract_high_half): New, split out from expand_mult_highpart. | |
9532 | (expand_highpart_optab): Likewise. Don't clobber target prematurely. | |
9533 | (expand_highpart): Evaluate the cost of a shift/add sequence, | |
9534 | then see if any of the specialized optabs are cheaper. | |
9535 | ||
ff3fcb8a ILT |
9536 | 2004-03-18 Ian Lance Taylor <ian@wasabisystems.com> |
9537 | ||
9538 | * mklibgcc.in: Remove obsolete MAYBE_USE_COLLECT2. | |
9539 | ||
1fb7e3af KG |
9540 | 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9541 | ||
9542 | * convert.c (convert_to_real): Add more math builtins. | |
9543 | ||
b3810360 KG |
9544 | 2004-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9545 | ||
9546 | * convert.c (convert_to_real): Reformat using switch stmt. | |
9547 | ||
9d363a56 MM |
9548 | 2004-03-18 Mark Mitchell <mark@codesourcery.com> |
9549 | ||
9550 | * c-common.c (pointer_int_sum): Do not complain about using | |
9551 | pointers to pointers-to-members. | |
9552 | ||
c3690d79 KH |
9553 | 2004-03-18 Kazu Hirata <kazu@cs.umass.edu> |
9554 | ||
9555 | * system.h (MD_ASM_CLOBBERS): Move to "Old target macros that | |
9556 | have moved to the target hooks structure". | |
9557 | ||
c3840092 JW |
9558 | 2004-03-18 James E Wilson <wilson@specifixinc.com> |
9559 | ||
9560 | * config/mips/mips.md (type): Split move into arith and fmove. Split | |
9561 | hilo into mthilo and mfhilo. Add trap. Delete icmp. Fix all uses. | |
9562 | * config/mips/5400.md (ir_vr54_hilo, ir_vr54_arith, ir_vr54_fabs): | |
9563 | Likewise. | |
9564 | * config/mips/5500.md (ir_vr55_hilo, ir_vr55_arith, ir_vr55_fabs): | |
9565 | Likewise. | |
9566 | * config/mips/7000.md (rm7_int_other, rm7_mthilo, rm7_mfhilo, | |
9567 | rm7_fp_quick): Likewise. | |
9568 | * config/mips/9000.md (rm9k_int, rm9k_mfhilo, rm9k_mthilo, | |
9569 | rm9k_fquick): Likewise. | |
9570 | * config/mips/sr71k.md (ir_sr70_hilo, ir_sr70_arith, ir_sr70_fabs): | |
9571 | Likewise. | |
9572 | (ir_sr70_icmp): Delete. | |
9573 | ||
eb34af89 | 9574 | 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
f75fbaf7 | 9575 | |
eb34af89 RK |
9576 | * tree.h (TREE_CHECK2, TREE_CHECK3, TREE_CHECK5): New macros. |
9577 | (tree_check2_failed, tree_check3_failed, tree_check5_failed): New decl. | |
9578 | (FUNC_OR_METHOD_CHECK, SET_ARRAY_OR_VECTOR_CHECK): New macros. | |
9579 | (REC_OR_UNION_CHECK, NUMERICAL_TYPE_CHECK): Likewise. | |
9580 | (TYPE_VALUES, TYPE_DOMAIN, TYPE_FIELDS, TYPE_METHODS, TYPE_VFIELD): | |
9581 | Protect with proper check. | |
9582 | (TYPE_ARG_TYPES, TYPE_METHOD_BASETYPE, TYPE_OFFSET_BASETYPE): Likewise. | |
9583 | (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Likewise. | |
9584 | * tree.c (type_hash_eq): Rewrite to access proper fields for each type. | |
9585 | (tree_check2_failed, tree_check3_failed, tree_check5_failed): New. | |
9586 | * c-typeck.c (build_array_ref): Use TYPE_DOMAIN, not TYPE_VALUES. | |
9587 | * dwarf2out.c (gen_enumeration_type_die): Use TYPE_VALUES, | |
9588 | not TYPE_FIELDS. | |
d3b6a5fb | 9589 | * stor-layout.c (set_sizetype): Use TYPE_ORIG_SIZE_TYPE. |
eb34af89 | 9590 | |
2171cb85 MH |
9591 | 2004-03-18 Mostafa Hagog <mustafa@il.ibm.com> |
9592 | ||
9593 | * gcse.c (eliminate_partially_redundant_loads): Reject change if | |
9594 | dest is set between beginning and current insn. | |
9595 | ||
4ada538b MM |
9596 | 2004-03-18 Mark Mitchell <mark@codesourcery.com> |
9597 | ||
9598 | * c-decl.c (grokdeclarator): Do not complain about redeclaring | |
9599 | visible "static" identifiers "extern" in a local scope. | |
9600 | * dwarf2out.c (loc_descriptor_from_tree): Handle pre- and | |
9601 | post-increments/decrements. | |
9602 | ||
79e9ebdc BW |
9603 | 2004-03-18 Bob Wilson <bob.wilson@acm.org> |
9604 | ||
9605 | * config/xtensa/xtensa.c (current_function_arg_words): Delete. | |
9606 | (xtensa_builtin_saveregs): Use current_function_args_info.arg_words. | |
9607 | (xtensa_va_start): Remove assignment to current_function_arg_words. | |
9608 | ||
5da6f168 RS |
9609 | 2004-03-18 Richard Sandiford <rsandifo@redhat.com> |
9610 | ||
9611 | * alias.c (record_set): Detect the case where a register is assigned | |
9612 | a new value that has the same base term as the old one. | |
9613 | ||
689ba89d ZD |
9614 | 2004-03-18 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
9615 | ||
9616 | * doloop.c: Removed. | |
9617 | * loop-doloop.c: New file. | |
9618 | * Makefile.in (doloop.o): Remove. | |
9619 | (loop-doloop.o): New. | |
9620 | * cfgloop.h (get_loop_level, doloop_optimize_loops): Declare. | |
9621 | * cfgloopanal.c (get_loop_level): New function. | |
9622 | * loop-iv.c (iv_number_of_iterations): Handle case when loop | |
9623 | is leaved immediatelly. | |
9624 | * loop.c (strength_reduce): Do not call doloop optimization. | |
9625 | * loop.h (LOOP_BCT): Removed. | |
9626 | * passes.c (rest_of_handle_loop_optimize): Do not use LOOP_BCT. | |
9627 | (rest_of_handle_loop2): Call doloop_optimize_loops. | |
9628 | (rest_of_compilation): Test for optimizations moved to | |
9629 | rest_of_handle_loop2. | |
9630 | ||
327e5343 FJ |
9631 | 2004-03-17 Fariborz Jahanian <fjahanian@apple.com> |
9632 | ||
f75fbaf7 ZW |
9633 | * config/rs6000/rs6000.c (rs6000_stack_info): correct reg_size |
9634 | for mixed mode. | |
9635 | (rs6000_emit_prologue): Ditto. | |
9636 | (rs6000_emit_epilogue): Ditto. | |
9637 | * config/rs6000/rs6000.h: Definition of DWARF_CIE_DATA_ALIGNMENT | |
9638 | macro for mixed mode. | |
327e5343 | 9639 | |
214ee4a2 JH |
9640 | 2004-03-18 Jan Hubicka <jh@suse.cz> |
9641 | ||
9642 | * predict.c (propagate_freq): Compute correctly frequency of | |
9643 | EXIT_BLOCK. | |
9644 | ||
33521f7d EC |
9645 | 2004-03-17 Eric Christopher <echristo@redhat.com> |
9646 | ||
9647 | * builtins.c (apply_args_size): Use reg_raw_mode. | |
9648 | (apply_result_size): Ditto. | |
9649 | ||
d3daf7bb RC |
9650 | 2004-03-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
9651 | ||
9652 | PR target/14620 | |
9653 | * config/rtems.h: Add STD_LIB_SPEC and LIB_SPEC. | |
9654 | ||
bb6df272 JJ |
9655 | 2004-03-17 Jakub Jelinek <jakub@redhat.com> |
9656 | ||
9657 | * config/rs6000/t-linux64 (bispecs): Don't add -mlong-double-128 for | |
9658 | 32-bit builds when defaulting to 32-bit. | |
9659 | ||
7eca0767 JH |
9660 | 2004-03-17 Jan Hubicka <jh@suse.cz> |
9661 | ||
9662 | * cfgrtl.c (rtl_create_basic_block): Pre-allocate basic_block_info | |
9663 | array. | |
9664 | ||
3a3ae5e5 JW |
9665 | 2004-03-17 James E Wilson <wilson@specifixinc.com> |
9666 | ||
9667 | * config/mips/mips.md (zero_extendsidi2): Add length attribute. | |
9668 | (hazard_nop): Change type to nop. | |
9669 | (type): Split arith into arith, shift, slt, clz. Delete darith. | |
9670 | Fix all uses. Change arith to multi if more than one insn emitted. | |
9671 | * config/mips/5400.md (ir_vr54_arith): Likewise. | |
9672 | * config/mips/5500.md (ir_vr55_arith): Likewise. | |
9673 | * config/mips/7000.md (rm7_int_other): Likewise. | |
9674 | * config/mips/9000.md (rm9k_int): Likewise. | |
9675 | * config/mips/sr71k.md (ir_sr70_arith): Likewise. | |
9676 | ||
6582c808 JB |
9677 | 2004-03-17 Joel Brobecker <brobecker@gnat.com> |
9678 | ||
9679 | * dwarf2out.c (subrange_type_die): Define new variable "subtype" | |
9680 | to hold the subtype tree instead of recomputing it several times. | |
9681 | ||
7ae4afcb KH |
9682 | 2004-03-17 Kazu Hirata <kazu@cs.umass.edu> |
9683 | ||
9684 | * config/mn10300/mn10300.c (notice_update_cc): Don't handle | |
9685 | CC_INVERT. | |
9686 | * config/mn10300/mn10300.md (cc): Remove "invert". | |
9687 | ||
b57051b2 KG |
9688 | 2004-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9689 | ||
d093738d KG |
9690 | * builtins.c (integer_valued_real_p): Add builtin rint. |
9691 | (fold_builtin): Likewise. | |
9692 | * convert.c (convert_to_real): Likewise. | |
9693 | ||
b57051b2 KG |
9694 | * convert.c (convert_to_real): Fix typos in `long double' |
9695 | builtins. | |
9696 | ||
88020bd8 MM |
9697 | 2004-03-16 Mark Mitchell <mark@codesourcery.com> |
9698 | ||
9699 | PR c++/14481 | |
9700 | * fold-const.c (fold): Set TREE_NO_UNUSED_WARNING on implicitly | |
9701 | generated COMPOUND_EXPRs. | |
9702 | ||
bf3864fe RC |
9703 | 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
9704 | ||
9705 | * config/h8300/t-rtems (h8300-*-rtems*): New. | |
9706 | ||
bc4c01b7 EC |
9707 | 2004-03-16 Eric Christopher <echristo@redhat.com> |
9708 | ||
9709 | * doc/cppopts.texi(fwide-exec-charset): Fix typo. | |
9710 | ||
3c5cb3e4 KH |
9711 | 2004-03-16 Kazu Hirata <kazu@cs.umass.edu> |
9712 | ||
9713 | * config/i386/i386-protos.h: Add a prototype for | |
9714 | ix86_reverse_condition. | |
9715 | * config/i386/i386.c (ix86_reverse_condition): New. | |
9716 | * config/i386/i386.h (REVERSE_CONDITION): Use | |
9717 | ix86_reverse_condition. | |
9718 | * config/i386/i386.md: Use ix86_reverse_condition instead of | |
9719 | REVERSE_CONDITION. | |
9720 | ||
fd5580cb B |
9721 | 2004-03-16 J. Brobecker <brobecker@gnat.com> |
9722 | ||
9723 | * dwarf2out.c (loc_descriptor_from_tree): Add handling for MIN_EXPR. | |
9724 | ||
78fab00f NN |
9725 | 2004-03-16 Nathanael Nerode <neroden@gcc.gnu.org> |
9726 | ||
9727 | PR bootstrap/12974 | |
9728 | * Makefile.in: Pass $(INCLUDES) down to libgcc.mk explicitly. | |
9729 | ||
4a5eab38 PB |
9730 | 2004-03-16 Paolo Bonzini <bonzini@gnu.org> |
9731 | ||
9732 | * c-common.c (c_common_type_for_mode): Build vector types on | |
9733 | demand. | |
9734 | (handle_mode_attribute): Deprecate using the mode attribute | |
9735 | to create vector types. Fix indentation. | |
9736 | (vector_type_node_list): Remove. | |
9737 | (handle_vector_size_attribute): Create vector types on demand. | |
9738 | Strip a NON_LVALUE_EXPR from the attribute if there is one. | |
9739 | * c-typeck.c (comptypes): Make vector types compatible if they | |
9740 | have the same underlying mode. | |
9741 | (convert_for_assignment): Use comptypes to convert between | |
9742 | vector types. | |
9743 | * tree.c (build_common_tree_nodes_2): Do not create vector types. | |
9744 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Create necessary | |
9745 | vector types. | |
9746 | * tree.h: Remove vector types. | |
9747 | * config/i386/i386.c (i386_init_mmx_sse_builtins): Likewise. | |
9748 | * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise. | |
9749 | (V16QI_type_node, V2SI_type_node, V2SF_type_node, V4HI_type_node, | |
9750 | V4SI_type_node, V4SF_type_node, V8HI_type_node): New globals. | |
9751 | * doc/extend.texi (Vector Types): Document how to use the | |
9752 | vector_size attribute to create vectors, rather than mode. | |
9753 | ||
9754 | * config/arm/mmintrin.h: Use vector_size attribute, not mode. | |
9755 | * config/i386/emmintrin.h: Likewise. | |
9756 | * config/i386/mmintrin.h: Likewise. | |
9757 | * config/i386/xmmintrin.h: Likewise. | |
9758 | * config/sh/ushmedia.h: Likewise. | |
9759 | ||
b862b3b3 KH |
9760 | 2004-03-16 Kazu Hirata <kazu@cs.umass.edu> |
9761 | ||
9762 | * config/freebsd-spec.h, config/arc/arc-protos.h, | |
9763 | config/arm/aout.h, config/arm/elf.h, config/arm/freebsd.h, | |
9764 | config/arm/linux-gas.h, config/arm/semi.h, | |
9765 | config/cris/cris-protos.h, config/i386/xm-djgpp.h, | |
9766 | config/ia64/freebsd.h, config/mips/7000.md, | |
9767 | config/mips/9000.md, config/ns32k/ns32k-protos.h, | |
9768 | config/sparc/pbd.h: Update copyright. | |
9769 | ||
314733e2 RC |
9770 | 2004-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de> |
9771 | ||
9772 | PR target/14577 | |
9773 | * config.gcc: Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff. | |
9774 | ||
6621d78e PB |
9775 | 2004-03-16 Paolo Bonzini <bonzini@gnu.org> |
9776 | ||
9777 | * combine.c (combine_simplify_rtx): Remove the "last" | |
9778 | parameter and its documentation. Adjust recursive calls. | |
9779 | (simplify_logical): Always perform the only simplification | |
9780 | controlled by "last", if the simplified expression is | |
9781 | actually different. | |
9782 | (try_combine): Do not pass the "last" parameter to | |
9783 | combine_simplify_rtx. | |
9784 | ||
4e7edcca RS |
9785 | 2004-03-16 Richard Sandiford <rsandifo@redhat.com> |
9786 | ||
9787 | PR target/14599 | |
9788 | * config/mips/mips.md (UNSPEC_GP): New constant. | |
9789 | * config/mips/mips.c (CONST_GP_P): Expect the CONST to contain | |
9790 | an UNSPEC instead of (reg $gp). | |
9791 | (mips16_gp_pseudo_reg): Change accordingly. | |
9792 | (print_operand): Print $gp directly when handling CONST_GP_P. | |
9793 | ||
9794 | 2004-03-16 Richard Zidlicky <rz@linux-m68k.org> | |
3704aae9 RZ |
9795 | |
9796 | * config.gcc, config/m68k/linux.h: Implement with-cpu for m68k-linux. | |
9797 | * longlong.h: Make code 68060 clean when compiling for m68060. | |
9798 | ||
4e7edcca | 9799 | 2004-03-16 Richard Zidlicky <rz@linux-m68k.org> |
8ac658b6 RZ |
9800 | |
9801 | * config/m68k/m68k.md: Fix constraints for bitfield instructions. | |
9802 | * doc/md.texi: Clarify description of "i" constraint. | |
9803 | ||
1a478672 JW |
9804 | 2004-03-15 James E Wilson <wilson@specifixinc.com> |
9805 | ||
9806 | * config/mips/mips.md (type): Split load into load, fpload, fpidxload. | |
9807 | Split store into store, fpstore, fpidxstore. Fix all uses. | |
9808 | * config/mips/5400.md (ir_vr54_load, ir_vr54_store, ir_vr54_fstore): | |
9809 | Likewise. | |
9810 | * config/mips/5500.md (ir_vr55_load, i5_vr55_store): Likewise. | |
9811 | * config/mips/7000.md (rm7_ld, rm7_st): Likewise. | |
9812 | * config/mips/9000.md (rm9k_load, rm9k_store): Likewise. | |
9813 | * config/mips/sr71k.md (ir_sr70_load, ir_sr70_store, ir_sr70_fload, | |
9814 | ir_sr70_fstore): Likewise. | |
9815 | ||
0977ab3a RH |
9816 | 2004-03-15 Richard Henderson <rth@redhat.com> |
9817 | ||
9818 | PR middle-end/14535 | |
9819 | * except.c (collect_one_action_chain): Record action for cleanup | |
9820 | outer of exception spec. | |
9821 | ||
4e4083ad ILT |
9822 | 2004-03-15 Ian Lance Taylor <ian@wasabisystems.com> |
9823 | ||
9824 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): | |
9825 | Fix the check for abort and only do the mmap if we can. | |
9826 | ||
ed38d6fe EB |
9827 | 2004-03-15 Eric Botcazou <ebotcazou@act-europe.fr> |
9828 | ||
9829 | * config/sparc/sparc.h: Rework comments about the code model | |
9830 | in 64-bit environment and the mode 'Pmode'. | |
9831 | * doc/invoke.texi (SPARC options): Rework description of the | |
9832 | different code models supported in 64-bit environment. | |
9833 | ||
1f8551b2 KH |
9834 | 2004-03-15 Kazu Hirata <kazu@cs.umass.edu> |
9835 | ||
9836 | * defaults.h (REVERSIBLE_CC_MODE): Define. | |
9837 | * jump.c (reversed_comparison_code_parts): Don't check if | |
9838 | REVERSIBLE_CC_MODE is defined. | |
9839 | ||
ca2b05ba KH |
9840 | 2004-03-15 Kazu Hirata <kazu@cs.umass.edu> |
9841 | ||
9842 | * c-incpath.c, c-incpath.h, c-pch.c, c.opt, cppexp.c, | |
9843 | et-forest.h, genattr.c, ggc-none.c, hosthooks-def.h, | |
9844 | hosthooks.h, params.h, ra-colorize.c, web.c, | |
9845 | config/darwin-c.c, config/alpha/freebsd.h, config/arm/pe.c, | |
9846 | config/avr/avr-protos.h, config/avr/avr.md, | |
9847 | config/fr30/fr30-protos.h, config/fr30/fr30.md, | |
9848 | config/h8300/fixunssfsi.c, config/i386/darwin.h, | |
9849 | config/i386/freebsd.h, config/i386/freebsd64.h, | |
9850 | config/ia64/hpux.h, config/ia64/unwind-ia64.c, | |
9851 | config/ip2k/libgcc.S, config/m32r/xm-m32r.h, | |
9852 | config/mmix/mmix-modes.def, config/ns32k/netbsd.h, | |
9853 | config/ns32k/ns32k.md, config/pa/pa64-hpux.h, | |
9854 | config/pa/pa64-regs.h, config/rs6000/aix41.h, | |
9855 | config/rs6000/aix43.h, config/rs6000/host-darwin.c, | |
9856 | config/sparc/aout.h, config/sparc/freebsd.h, | |
9857 | config/sparc/litecoff.h, config/vax/vax-protos.h, | |
9858 | doc/hostconfig.texi, doc/include/gcc-common.texi: Update | |
9859 | copyright. | |
9860 | ||
983e6484 PB |
9861 | 2004-03-15 Paul Brook <paul@codesourcery.com> |
9862 | ||
9863 | * config/arm/arm.c (thumb_expand_prologue): Tie prologue insns to fp. | |
9864 | ||
5c3c69f4 GDR |
9865 | 2004-03-15 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9866 | ||
9867 | * c-pretty-print.c (pp_c_semicolon): Fix formatting. | |
9868 | (pp_c_cv_qualifier): Document. | |
9869 | (pp_c_space_for_pointer_operator): Likewise. | |
9870 | (pp_c_integer_constant): Likewise. | |
9871 | (pp_c_identifier): Likewise. | |
9872 | (pp_c_init_declarator): Don't print function body. | |
9873 | ||
2dd76960 JM |
9874 | 2004-03-14 Joseph S. Myers <jsm@polyomino.org.uk> |
9875 | ||
9876 | * doc/contrib.texi, doc/extend.texi, doc/gcov.texi, | |
9877 | doc/install.texi, doc/invoke.texi, doc/makefile.texi, | |
9878 | doc/sourcebuild.texi, doc/tm.texi, doc/trouble.texi: Capitalize | |
9879 | "gcc", "g++" and "g77" or mark up with appropriate markup. Adjust | |
9880 | wording and grammar. | |
9881 | ||
ae2bcd98 RS |
9882 | 2004-03-14 Roger Sayle <roger@eyesopen.com> |
9883 | ||
9884 | * alias.c (get_alias_set): Replace calls via (*lang_hooks.foo) () | |
9885 | with lang_hooks.foo (). | |
9886 | * builtins.c (expand_builtin_va_arg): Likewise. | |
9887 | * c-common.c (fname_as_string, c_common_truthvalue_conversion, | |
9888 | c_common_type_for_mode, c_common_nodes_and_builtins, | |
9889 | handle_mode_attribute, handle_vector_size_attribute): Likewise. | |
9890 | * c-convert.c (convert): Likewise. | |
9891 | * c-format.c (check_format_types): Likewise. | |
9892 | * c-objc-common.c (c_tree_printer): Likewise. | |
9893 | * c-typeck.c (build_unary_op, build_conditional_expr, | |
9894 | build_binary_op): Likewise. | |
9895 | * calls.c (try_to_integrate, expand_call, | |
9896 | emit_library_call_value_1): Likewise. | |
9897 | * cgraph.c (cgraph_node_name, cgraph_function_possibly_inlined_p): | |
9898 | Likewise. | |
9899 | * cgraphunit.c (record_call_1, cgraph_analyze_function, | |
9900 | cgraph_expand_function): Likewise. | |
9901 | * convert.c (convert_to_pointer, convert_to_integer): Likewise. | |
9902 | * coverage.c (build_fn_info_type, build_ctr_info_type, | |
9903 | build_gcov_info, create_coverage): Likewise. | |
9904 | * dbxout.c (dbxout_init): Likewise. | |
9905 | * diagnostic.c (diagnostic_report_current_function): Likewise. | |
9906 | * dojump.c (do_jump): Likewise. | |
9907 | * dwarf2out.c (dwarf2_name): Likewise. | |
9908 | * except.c (init_eh): Likewise. | |
9909 | * explow.c (expr_size, int_expr_size): Likewise. | |
9910 | * expmed.c (make_tree, const_mult_add_overflow_p, expand_mult_add): | |
9911 | Likewise. | |
9912 | * expr.c (store_expr, store_constructor, safe_from_p, | |
9913 | expand_expr_real, do_store_flag, try_casesi): Likewise. | |
9914 | * function.c (push_function_context_to, pop_function_context_from, | |
9915 | free_after_parsing, assign_stack_local_1, assign_stack_temp_for_type, | |
9916 | put_var_into_stack, allocate_struct_function, current_function_name): | |
9917 | Likewise. | |
9918 | * integrate.c (copy_decl_for_inlining, expand_inline_function): | |
9919 | Likewise. | |
9920 | * langhooks.c (lhd_clear_binding_stack, write_global_declarations, | |
9921 | lhd_print_error_function): Likewise. | |
9922 | * opts.c (handle_option, decode_options): Likewise. | |
9923 | * passes.c (open_dump_file): Likewise. | |
9924 | * print-tree.c (print_node): Likewise. | |
9925 | * stmt.c (expand_fixup, fixup_gotos, expand_asm_operands, | |
9926 | expand_decl_cleanup, emit_case_nodes): Likewise. | |
9927 | * stor-layout.c (variable_size): Likewise. | |
9928 | * toplev.c (announce_function, wrapup_global_declarations, | |
9929 | check_global_declarations, compile_file, default_tree_printer, | |
9930 | process_options, lang_dependent_init, finalize): Likewise. | |
9931 | * tree-dump.c (dequeue_and_dump): Likewise. | |
9932 | * tree-inline.c (remap_decl, remap_block, copy_body_r, | |
9933 | initialize_inlined_parameters, declare_return_variable, | |
9934 | inlinable_function_p, expand_call_inline, optimize_inline_calls, | |
9935 | walk_tree, copy_tree_r): Likewise. | |
9936 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
9937 | * tree.c (decl_assembler_name, tree_size, size_in_bytes, staticp, | |
9938 | unsafe_for_reeval, get_unwidened, get_narrower, get_callee_fndecl, | |
9939 | variably_modified_type_p, dump_tree_statistics): Likewise. | |
9940 | * varasm.c (assemble_variable, compare_constant, copy_constant, | |
9941 | force_const_mem, compute_reloc_for_constant, output_constant, | |
9942 | output_addressed_constants, initializer_constant_valid_p): Likewise. | |
9943 | ||
89acbae0 KC |
9944 | 2004-03-14 Kelley Cook <kcook@gcc.gnu.org> |
9945 | ||
9946 | * doc/install.texi: Make autoconf 2.13 the exception, not the rule. | |
9947 | ||
d01b30dc AT |
9948 | 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch> |
9949 | ||
9950 | * doc/install.texi: Reflect autoconf and automake version for | |
9951 | libffi. Update autoconf version to 2.59. | |
9952 | ||
5785c7de RS |
9953 | 2004-03-13 Roger Sayle <roger@eyesopen.com> |
9954 | ||
9955 | * fold-const.c (negate_expr, operand_equal_for_comparison_p, | |
9956 | optimize_bit_field_compare, decode_field_reference, all_ones_mask_p, | |
9957 | make_range, build_range_check, fold_range_test, unextend, | |
9958 | constant_boolean_node, fold_binary_op_with_conditional_arg, | |
9959 | fold_truthop, fold_mathfn_compare, fold_inf_compare, | |
9960 | fold_single_bit_test, fold): Replace calls via (*lang_hooks.foo) () | |
9961 | with lang_hooks.foo (). | |
9962 | ||
edc62122 RE |
9963 | 2004-03-14 Richard Earnshaw <rearnsha@arm.com> |
9964 | ||
9965 | * arm.h (EXTRA_CONSTRAINT_STR_ARM): Update comment. | |
9966 | ||
7db956db DH |
9967 | 2004-03-13 Dara Hazeghi <dhazeghi@yahoo.com> |
9968 | ||
9969 | * doc/install.texi: Note status of -fnew-ra. | |
9970 | ||
e6d55fd7 EB |
9971 | 2004-03-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
9972 | ||
9973 | PR middle-end/14470 | |
9974 | * expr.c (store_expr): Call emit_queue before generating the move | |
9975 | from the temporary to the original target. Protect the temporary | |
9976 | from emit_queue. | |
9977 | ||
cfbab41c JJ |
9978 | 2004-03-13 Jakub Jelinek <jakub@redhat.com> |
9979 | ||
9980 | PR target/14533 | |
9981 | * config/s390/s390.c (legitimize_pic_address): Don't abort on UNSPEC | |
9982 | other than UNSPEC_GOTOFF. | |
9983 | ||
1e1ab407 RE |
9984 | 2004-03-13 Richard Earnshaw <rearnsha@arm.com> |
9985 | ||
9986 | * arm.c (arm_legitimate_address_p): New argument, OUTER. Pass through | |
9987 | to arm_legitimate_index_p. Update all callers with SET as default | |
9988 | value. | |
9989 | (arm_legitimate_index_p): New argument, OUTER. Restrict the index | |
9990 | range if OUTER is a sign-extend operation on QImode. Correctly | |
9991 | reject shift operations on sign-extended QImode addresses. | |
9992 | (bad_signed_byte_operand): Delete. | |
9993 | (arm_extendqisi_mem_op): New function. | |
9994 | * arm.h (EXTRA_CONSTRAINT_ARM): Delete. Replace with... | |
9995 | (EXTRA_CONSTRAINT_STR_ARM): ... this. Handle extended address | |
9996 | constraints. | |
9997 | (CONSTRAINT_LEN): New. | |
9998 | (EXTRA_CONSTRAINT): Delete. Replace with... | |
9999 | (EXTRA_CONSTRAINT_STR): ... this. | |
10000 | (PREDICATE_CODES): Remove bad_signed_byte_operand. | |
10001 | * arm.md (extendqihi_insn): Use new constraint Uq. Rework. Length | |
10002 | is now always default. | |
10003 | (define_splits for bad sign-extend loads): Delete. | |
10004 | (arm_extendqisi, arm_extendqisi_v5): Likewise. | |
10005 | * arm/vfp.md (arm_movsi_vfp, arm_movdi_vfp, movsf_vfp, movdf_vfp): | |
10006 | Rework 'U' constraint to 'Uv'. | |
10007 | * arm-protos.h: Remove bad_signed_byte_operand. Add | |
10008 | arm_extendqisi_mem_op. | |
10009 | * doc/md.texi (ARM constraints): Rename VFP constraint (now Uv). | |
10010 | Add Uq constraint. | |
10011 | ||
c53bdcf5 AM |
10012 | 2004-03-13 Alan Modra <amodra@bigpond.net.au> |
10013 | ||
fa78dbea AM |
10014 | * config/rs6000/rs6000.c (rs6000_va_arg): Replace SPLIT_COMPLEX_ARGS |
10015 | with targetm version. | |
10016 | ||
c53bdcf5 AM |
10017 | PR target/14567 |
10018 | * config/rs6000/rs6000.h (UNITS_PER_ARG, RS6000_ARG_SIZE): Delete. | |
10019 | (HARD_REGNO_MODE_OK): Disallow TFmode for fp31. | |
10020 | * config/rs6000/rs6000.c (rs6000_arg_size): New function. | |
10021 | Update all users of RS6000_ARG_SIZE. | |
10022 | (function_arg_advance): Count fregno using mode size. | |
10023 | (function_arg): Handle long double split over regs and memory. | |
10024 | (function_arg_partial_nregs): Likewise. | |
10025 | (rs6000_va_arg): Repackage complex args. | |
10026 | ||
992ab122 DF |
10027 | 2004-03-13 Dean Ferreyra <dferreyra@igc.org> |
10028 | ||
10029 | PR target/14047 | |
10030 | * config/avr/avr.c (avr_progmem_p): Add "attributes" parameter. | |
10031 | (avr_insert_attributes): Pass "attributes" to avr_progmem_p. | |
10032 | * config/avr/avr-protos.h (avr_progmem_p): Change prototype. | |
10033 | ||
c973d557 JJ |
10034 | 2004-03-12 Jakub Jelinek <jakub@redhat.com> |
10035 | ||
10036 | * config/rs6000/rs6000-protos.h (rs6000_output_dwarf_dtprel): Add | |
10037 | prototype. | |
10038 | * config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): New. | |
10039 | * config/rs6000/rs6000.h (ASM_OUTPUT_DWARF_DTPREL): Define. | |
10040 | ||
94632047 | 10041 | 2004-03-12 Andrew Pinski <apinski@apple.com> |
4319ac92 AP |
10042 | |
10043 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_use_address): | |
10044 | Use ret instead of result. Use addr instead of base. | |
10045 | ||
bb674cef DE |
10046 | 2004-03-12 David Edelsohn <edelsohn@gnu.org> |
10047 | ||
10048 | * doc/install.texi (*-ibm-aix*): Document assembler and achiver | |
10049 | fixes required by libstdc++ and update installation instructions | |
10050 | for libstdc++.a. | |
10051 | ||
b1f123c7 DS |
10052 | 2004-03-12 Danny Smith <dannysmith@users.sourceforge.net> |
10053 | ||
10054 | * config/i386/winnt.c (i386_pe_strip_name_encoding_full): Strip | |
10055 | leading '@' on fastcall symbols before stripping suffix. | |
10056 | ||
67962db5 RS |
10057 | 2004-03-12 Roger Sayle <roger@eyesopen.com> |
10058 | ||
10059 | * combine.c (unmentioned_reg_p): New function to check whether an | |
10060 | expression is a "specialization" of another, i.e. that there are | |
10061 | no registers or memory references mentioned in the first that don't | |
10062 | appear in the second. | |
10063 | (unmentioned_reg_p_1): New helper subroutine of unmentioned_reg_p. | |
10064 | (combine_instructions): Also try combining instructions using the | |
10065 | REG_EQUAL note from a preceding log-linked instruction. | |
10066 | ||
8937b6a2 RS |
10067 | 2004-03-12 Roger Sayle <roger@eyesopen.com> |
10068 | ||
10069 | * config/i386/i386.c (ix86_split_ashrdi): Optimize shift by 63. | |
10070 | ||
4746cf84 MA |
10071 | 2004-03-12 Matt Austern <austern@apple.com> |
10072 | ||
10073 | * target.h (struct gcc_target): New target hook, unwind_label. | |
10074 | * target-def.h (TARGET_ASM_EMIT_UNWIND_LABEL): New hook. | |
10075 | * output.h (default_emit_unwind_label): New function. | |
10076 | * default.h (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): New macro. | |
10077 | (TARGET_USES_WEAK_UNWIND_INFO): New target macro. | |
10078 | (TARGET_SUPPORTS_HIDDEN): New target macro. | |
10079 | * dwarf2out.c (struct dw_fde_struct): Add field for function decl | |
10080 | that corresponds to this FDE. | |
10081 | (FRAME_BEGIN_LABEL): Allow target to override default label. | |
10082 | (output_call_frame_info): If FDEs are linknonce, then use extra | |
c53bdcf5 | 10083 | indirection for FDE encoding, output a label for each FDE, and |
4746cf84 MA |
10084 | output an empty label for each function without an FDE. |
10085 | (dwarf2out_begin_prologue): Set up decl field when creating an FDE. | |
10086 | * varasm.c (globalize_decl): Call ASM_MAKE_LABEL_LINKONCE for | |
10087 | decls with DECL_ONE_ONLY set, if that macro is defined. | |
10088 | (make_decl_one_only): Don't use DECL_COMMON if we're compiling | |
10089 | for a SUPPORTS_ONE_ONLY target. | |
10090 | * config/darwin-protos.h (darwin_unique_section): Declare. | |
10091 | (darwin_asm_named_section): Likewise. | |
10092 | (darwin_section_type_flags): Likewise. | |
10093 | (darwin_non_lazy_pcrel): Likewise. | |
10094 | (darwin_emit_unwind_label): Likewise. | |
10095 | (darwin_make_decl_one_only): Likewise. | |
10096 | * config/darwin.c (machopic_finish): Get rid of tweak that | |
10097 | eliminate stubs for symbols that are defined. | |
10098 | (darwin_encode_section_info): Don't treat weak functions as defined. | |
10099 | (darwin_make_decl_one_only): Define. | |
10100 | (darwin_asm_named_section): Likewise. | |
10101 | (darwin_section_type_flags): Likewise. | |
10102 | (darwin_unique_section): Likewise. | |
10103 | (darwin_emit_unwind_label): Likewise. | |
10104 | (darwin_non_lazy_pcrel): Likewise. | |
10105 | (darwin_asm_output_dwarf_delta): Difference between two labels is | |
10106 | local only if both labels are local. | |
10107 | * config/darwin.h (MAKE_DECL_ONE_ONLY): Define. | |
10108 | (ASM_MAKE_LABEL_LINKONCE): Likewise. | |
10109 | (TARGET_SUPPORTS_HIDDEN): Likewise. | |
10110 | (TARGET_USES_WEAK_UNWIND_INFO): Likewise. | |
10111 | (TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY): Likewise. | |
10112 | (FRAME_BEGIN_LABEL): Likewise. | |
10113 | (ASM_DECLARE_OBJECT_NAME): Make references to weak symbols indirect. | |
10114 | (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
10115 | (darwin_eh_frame_section): Give __eh_frame section the coalesced flag. | |
10116 | (TARGET_ASM_UNIQUE_SECTION): Define. | |
10117 | (EH_FRAME_SECTION_NAME): Define. | |
10118 | (EH_FRAME_SECTION_ATTR): Likewise. | |
10119 | (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Likewise. | |
10120 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
10121 | (TARGET_SECTION_TYPE_FLAGS): Likewise. | |
10122 | * doc/tm.texi: Document TARGET_USES_WEAK_UNWIND_INFO, | |
10123 | TARGET_EXPLICIT_INSTANTIATIONS_ONE_ONLY, TARGET_SUPPORTS_HIDDEN, | |
10124 | TARGET_ASM_EMIT_UNWIND_LABEL. | |
bc4c01b7 | 10125 | |
fd0c8c8d KG |
10126 | 2004-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10127 | ||
10128 | * builtins.c (expand_builtin_mathfn): Add pow10* to the | |
10129 | existing exp10* case. | |
10130 | (expand_builtin): Likewise. | |
10131 | ||
ca0b6e3b EB |
10132 | 2004-03-12 Eric Botcazou <ebotcazou@libertysurf.fr> |
10133 | ||
10134 | * doc/tm.texi (registers) <Values in Registers>: Add | |
10135 | entry for REGMODE_NATURAL_SIZE. | |
10136 | ||
42ba5130 RH |
10137 | 2004-03-12 Richard Henderson <rth@redhat.com> |
10138 | ||
10139 | PR target/14547 | |
10140 | * target.h (struct gcc_target): Move calls substructure before | |
10141 | booleans. Add split_complex_arg. | |
10142 | * function.c (assign_parms, split_complex_args): Use it. | |
c53bdcf5 AM |
10143 | * calls.c (expand_call): Likewise. |
10144 | (split_complex_values): Likewise. Check for splittable types | |
10145 | before allocating memory. | |
10146 | (split_complex_types): Likewise. | |
42ba5130 RH |
10147 | * system.h (SPLIT_COMPLEX_ARGS): Poison. |
10148 | * expr.h (SPLIT_COMPLEX_ARGS): Remove. | |
10149 | * target-def.h (TARGET_SPLIT_COMPLEX_ARG): New. | |
10150 | * config/alpha/alpha.c (alpha_split_complex_arg): New. | |
10151 | (TARGET_SPLIT_COMPLEX_ARG): New. | |
10152 | * config/alpha/alpha.h (SPLIT_COMPLEX_ARGS): Remove. | |
10153 | * config/rs6000/rs6000.c (TARGET_SPLIT_COMPLEX_ARG): New. | |
10154 | (rs6000_override_options): Zap it for non-AIX. | |
10155 | (rs6000_function_value): Use targetm.calls.split_complex_arg. | |
10156 | * config/rs6000/rs6000.h (SPLIT_COMPLEX_ARGS): Remove. | |
10157 | * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): New. | |
10158 | * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Remove. | |
10159 | * doc/tm.texi (TARGET_SPLIT_COMPLEX_ARG): Modify from old | |
10160 | SPLIT_COMPLEX_ARGS entry. | |
10161 | ||
75959f0a RH |
10162 | 2004-03-11 Richard Henderson <rth@redhat.com> |
10163 | ||
10164 | * config/alpha/alpha.c (xfloating_ops, vax_cvt_ops): New. | |
10165 | (alpha_lookup_xfloating_lib_func): Use them, return rtx. | |
10166 | (alpha_emit_xfloating_arith): Update to match. | |
10167 | (alpha_emit_xfloating_compare): Likewise. | |
10168 | (alpha_emit_xfloating_cvt): Likewise. | |
10169 | (alpha_emit_xfloating_libcall): Take already built symbol, | |
10170 | mark call const. | |
10171 | * config/alpha/alpha.md (extendsftf2, extenddftf2): Take | |
10172 | op1 in a register. | |
10173 | ||
e5e10fb4 RH |
10174 | 2004-03-11 Richard Henderson <rth@redhat.com> |
10175 | ||
10176 | PR target/14539 | |
10177 | * config/alpha/alpha.h (STACK_BOUNDARY): Set to 128. | |
10178 | ||
55cf9d62 RH |
10179 | * simplify-rtx.c (simplify_relational_operation): Fix typo. |
10180 | ||
9caad63a RH |
10181 | 2004-03-11 Richard Henderson <rth@redhat.com> |
10182 | ||
10183 | PR middle-end/14477 | |
10184 | * except.c (remove_unreachable_regions): Look thru CALL_PLACEHOLDER. | |
10185 | ||
03ca1672 UW |
10186 | 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
10187 | ||
10188 | PR target/14262 | |
10189 | * calls.c (load_register_parameters): If BLOCK_REG_PADDING is not | |
10190 | defined, pass small BLKmode values in registers in the low-order part. | |
10191 | ||
bbe708a3 UW |
10192 | 2004-03-11 Ulrich Weigand <uweigand@de.ibm.com> |
10193 | ||
10194 | * combine.c (if_then_else_cond): Check for NULL return value of | |
10195 | simplify_gen_subreg. | |
10196 | ||
0e808055 RS |
10197 | 2004-03-11 Richard Sandiford <rsandifo@redhat.com> |
10198 | ||
10199 | PR target/14496 | |
10200 | * config/mips/mips.h (UNITS_PER_FPVALUE): Fix value for | |
10201 | TARGET_SINGLE_FLOAT. | |
10202 | ||
1f7aa7cd SE |
10203 | 2004-03-11 Steve Ellcey <sje@cup.hp.com> |
10204 | ||
10205 | * config/ia64/hpux.h (TARGET_INIT_LIBFUNCS): Add undef. | |
10206 | * config/ia64/ia64.h (TARGET_INIT_LIBFUNCS): Add define. | |
10207 | * config/ia64/ia64.c (ia64_init_libfuncs): New. | |
10208 | (ia64_hpux_init_libfuncs): Add call to ia64_init_libfuncs. | |
10209 | ||
239a625e RS |
10210 | 2004-03-11 Roger Sayle <roger@eyesopen.com> |
10211 | ||
10212 | * fold-const.c (negate_expr_p) <RSHIFT_EXPR>: We can optimize | |
10213 | -((int)X>>C) where C is an integer constant one bit less than the | |
10214 | size of X into (unsigned)X>>C. Similarly for unsigned->signed. | |
10215 | (negate_expr) <RSHIFT_EXPR>: Implement the above transformations. | |
10216 | ||
10217 | * simplify-rtx.c (simplify_unary_operation): Also implement the | |
10218 | above transformations at the RTL level. | |
10219 | ||
40131a38 AM |
10220 | 2004-03-11 Alan Modra <amodra@bigpond.net.au> |
10221 | ||
10222 | * real.c (encode_ibm_extended): Do round low word. | |
10223 | ||
df8e2ad0 BE |
10224 | 2004-03-11 Ben Elliston <bje@wasabisystems.com> |
10225 | ||
10226 | * config/arm/arm.md (is_xscale): Comment this attribute and move | |
10227 | it a bit further up in the file, closer to related attributes. | |
10228 | ||
d1704a35 EB |
10229 | 2004-03-11 Eric Botcazou <ebotcazou@libertysurf.fr> |
10230 | ||
10231 | * config/host-solaris.c (sol_gt_pch_use_address): Add | |
10232 | missing terminating marker to comment. | |
10233 | ||
fc31c7ca RS |
10234 | 2004-03-11 Richard Sandiford <rsandifo@redhat.com> |
10235 | ||
10236 | * config/mips/mips.md: Use move_operand in splitters for 64-bit moves. | |
10237 | (movdi, movsi, movhi, movqi, movsf, movdf): Remove predicates. | |
10238 | (*movdi_32bit_mips16, *movsi_mips16, *movhi_mips16, *movqi_mips16) | |
10239 | (*movsf_mips16, *movdf_mips16): Name unnamed patterns. Use | |
10240 | move_operand as source predicate in all cases. | |
10241 | (*movdi_32bit): Renamed from movdi_internal. Remove 'F' constraint. | |
10242 | Test reg_or_0_operand. Use move_operand as source predicate. | |
10243 | (*movdi_64bit): Renamed from movdi_internal2. Test reg_or_0_operand. | |
10244 | (*movdi_64bit_mips16): Renamed from movdi_internal2_mips16. | |
10245 | (*movsi_internal): Renamed from movsi_internal. Test reg_or_0_operand. | |
10246 | (movhi, movqi, movsf, movdf): Use mips_legitimize_move. | |
10247 | (*movhi_internal): Renamed from movhi_internal. Test reg_or_0_operand. | |
10248 | Use move_operand as source predicate. Remove 'K' constraint. | |
10249 | (*movqi_internal): Likewise movqi_internal. | |
10250 | (*movsf_hardfloat): Renamed from movsf_internal1. Test | |
10251 | reg_or_0_operand. Use move_operand as source predicate. | |
10252 | (*movsf_softfloat): Likewise movsf_internal2. | |
10253 | (*movdf_hardfloat_64bit): Likewise movsf_internal1a. | |
10254 | (*movdf_hardfloat_32bit): Likewise movsf_internal1b. | |
10255 | (*movdf_softfloat): Likewise movdf_internal2. | |
10256 | * config/mips/mips.c (move_operand): Match arbitrary CONST_INTs | |
10257 | for DImode if !TARGET_64BIT. | |
10258 | (mips_legitimize_move): Simplify accordingly. | |
10259 | ||
81f2eadb JZ |
10260 | 2004-03-11 Josef Zlomek <zlomekj@suse.cz> |
10261 | ||
10262 | PR/14362 | |
10263 | * var-tracking.c (struct variable_def): Added field refcount. | |
10264 | (variable_htab_free): Decrease the refcount and delete variable | |
10265 | only if there are no more references. | |
10266 | (unshare_variable): New function. | |
10267 | (vars_copy_1): Increase refcount instead of copying the variable. | |
10268 | (variable_union): Share the variables where possible, unshare | |
10269 | the variables if needed. | |
10270 | (variable_different_p): Return false if var1 and var2 are | |
10271 | the same structure. | |
10272 | (variable_was_changed): Init the refcount of new variable. | |
10273 | (set_frame_base_location): Unshare variable if needed. | |
10274 | (set_variable_part): Init the refcount of new variable. | |
10275 | Unshare the variables if needed. | |
c53bdcf5 | 10276 | (delete_variable_part): Unshare the variables if needed. |
81f2eadb JZ |
10277 | (emit_notes_for_differences_1): Init the refcount of new variable. |
10278 | (vt_add_function_parameters): Do not add function parameters to | |
10279 | IN set of ENTRY_BLOCK_PTR because it is unused anyway. | |
10280 | (vt_initialize): Do not add frame_base_decl to IN set of | |
10281 | ENTRY_BLOCK_PTR because it is unused anyway. | |
10282 | ||
11599d14 JZ |
10283 | 2004-03-11 Josef Zlomek <zlomekj@suse.cz> |
10284 | ||
10285 | * var-tracking.c (vars_copy_1): Cleanup and speedup chain operations. | |
10286 | (vars_copy): Likewise. | |
10287 | (variable_union): Likewise. | |
10288 | (set_variable_part): Likewise. | |
10289 | (delete_variable_part): Likewise. | |
10290 | ||
71cc389b KH |
10291 | 2004-03-11 Kazu Hirata <kazu@cs.umass.edu> |
10292 | ||
10293 | * c-typeck.c, combine.c, cse.c, dominance.c, et-forest.h, | |
10294 | ggc-page.c, var-tracking.c, config/fp-bit.c, config/c4x/c4x.c, | |
10295 | config/cris/cris.c, config/i386/ppro.md, config/i860/i860.c, | |
10296 | config/i860/i860.h, config/m32r/m32r.h, config/m32r/xm-m32r.h, | |
10297 | config/m68hc11/m68hc11.h, config/m68hc11/m68hc11.md, | |
10298 | config/mips/mips.c, config/mmix/mmix.c, config/ns32k/ns32k.h, | |
10299 | config/pa/pa.c, config/pa/pa32-regs.h, config/pa/pa64-regs.h, | |
10300 | config/pdp11/pdp11.h, config/rs6000/rs6000.c, | |
10301 | config/stormy16/stormy16.c: Fix comment typos and formatting. | |
10302 | ||
f3c9f174 NN |
10303 | 2004-03-11 Nathanael Nerode <neroden@gcc.gnu.org> |
10304 | ||
10305 | * configure: Regenerate, since I forgot to while committing Paolo's | |
10306 | changes. | |
10307 | ||
e4c9c075 PB |
10308 | 2004-03-08 Paolo Bonzini <bonzini@gnu.org> |
10309 | ||
10310 | PR ada/14131 | |
10311 | Move language detection to the top level. | |
10312 | * configure.ac: Remove code to detect languages, | |
10313 | it now lives exclusively in the top level. | |
10314 | * aclocal.m4 (gcc_AC_PROG_GNAT): Moved to the | |
10315 | top level, renamed to ACX_PROG_GNAT. | |
10316 | ||
4d0c31e6 RH |
10317 | 2004-03-10 Richard Henderson <rth@redhat.com> |
10318 | ||
10319 | * c-pch.c (c_common_no_more_pch): Update for gt_pch_use_address | |
10320 | extra arguments. | |
10321 | * config.host (*-*-solaris2*, *-*-linux*): Add out_host_hook_obj | |
10322 | and host_xmake_file fragments. | |
10323 | * ggc-common.c (gt_pch_save): Update for gt_pch_get_address change. | |
10324 | (gt_pch_restore): Similarly for gt_pch_use_address. | |
10325 | (default_gt_pch_get_address): New. | |
10326 | (mmap_gt_pch_get_address): Split out of gt_pch_save. | |
10327 | (default_gt_pch_use_address): Split out of gt_pch_restore. | |
10328 | (mmap_gt_pch_use_address): Likewise. | |
10329 | * hooks.c (hook_voidp_size_t_null): Remove. | |
10330 | (hook_bool_voidp_size_t_false): Remove. | |
10331 | * hooks.h: Likewise. | |
10332 | * hosthooks-def.h (HOST_HOOKS_GT_PCH_GET_ADDRESS): Use one of the | |
10333 | default_ or mmap_ definitions. | |
10334 | (HOST_HOOKS_GT_PCH_USE_ADDRESS): Likewise. | |
10335 | * hosthooks.h (struct host_hooks): Update gt_pch_get_address | |
10336 | and gt_pch_use_address. | |
10337 | * config/host-linux.c, config/host-solaris.c: New files. | |
10338 | * config/x-linux, config/x-solaris: New files. | |
bc4c01b7 | 10339 | * config/rs6000/host-darwin.c (darwin_rs6000_gt_pch_get_address): |
4d0c31e6 RH |
10340 | Update for changed definition. |
10341 | (darwin_rs6000_gt_pch_use_address): Likewise. | |
10342 | * doc/hostconfig.texi: Update docs. | |
10343 | ||
28fca7e4 RH |
10344 | 2004-03-10 Richard Henderson <rth@redhat.com> |
10345 | ||
10346 | PR c/14517 | |
10347 | * c-decl.c (grokdeclarator): Don't warn for duplicate qualifiers | |
10348 | except for pedantic c90 mode. | |
10349 | ||
8ab705be KC |
10350 | 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> |
10351 | ||
10352 | * configure.ac: Bump AC_PREREQ to 2.59. | |
10353 | * configure: Regenerate. | |
10354 | ||
a251102e UB |
10355 | 2004-03-10 Uros Bizjak <uros@kss-loka.si> |
10356 | ||
10357 | * optabs.h (enum optab_index): Add new OTI_exp10 and OTI_exp2. | |
10358 | (exp10_optab, exp2_optab): Define corresponding macros. | |
10359 | * optabs.c (init_optabs): Initialize exp10_optab and exp2_optab. | |
10360 | * genopinit.c (optabs): Implement exp10_optab and exp2_optab | |
10361 | using exp10?f2 and exp2?f2 patterns. | |
10362 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP10{,F,L} | |
10363 | using exp10_optab, and BUILT_IN_EXP2{,F,L} using exp2_optab. | |
10364 | (expand_builtin): Expand BUILT_IN_EXP10{,F,L} and BUILT_IN_EXP2{,F,L} | |
10365 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
10366 | ||
10367 | * config/i386/i386.md (exp10sf2, exp10df2, exp10xf2, exp2sf2, | |
10368 | exp2df2, exp2xf2): New patterns to implement exp10, exp10f, exp10l, | |
10369 | exp2, exp2f and exp2l built-ins as inline x87 intrinsics. | |
10370 | ||
11f01d37 AG |
10371 | 2004-03-10 Anthony Green <green@redhat.com> |
10372 | ||
10373 | * doc/invoke.texi (ARM Options): Fix -mpfu typo. | |
10374 | ||
bb904c1a DE |
10375 | 2004-03-10 David Edelsohn <edelsohn@gnu.org> |
10376 | ||
10377 | * config/rs6000/aix.h (TARGET_OS_CPP_BUILTINS): Rename to ... | |
10378 | (TARGET_OS_AIX_CPP_BUILTINS): this. Conditionally define | |
10379 | __LONGDOUBLE128. | |
10380 | * config/rs6000/aix41.h (TARGET_OS_CPP_BUILTINS): Use | |
10381 | TARGET_OS_AIX_CPP_BUILTINS. | |
10382 | * config/rs6000/aix43.h (TARGET_OS_CPP_BUILTINS): Same. | |
10383 | * config/rs6000/aix51.h (TARGET_OS_CPP_BUILTINS): Same. | |
10384 | * config/rs6000/aix52.h (TARGET_OS_CPP_BUILTINS): Same. | |
10385 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Revert | |
10386 | previous change. | |
10387 | ||
b45d3a36 KG |
10388 | 2004-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10389 | ||
10390 | * fold-const.c (tree_expr_nonnegative_p): Add more builtin cases. | |
10391 | ||
35ae04ba DE |
10392 | 2004-03-10 David Edelsohn <edelsohn@gnu.org> |
10393 | ||
10394 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
10395 | __LONGDOUBLE128 on AIX. | |
10396 | ||
ffad84cd AH |
10397 | 2004-03-10 Andrew Haley <aph@redhat.com> |
10398 | ||
f7b48371 | 10399 | PR optimization/14381 |
ffad84cd AH |
10400 | * function.c (expand_function_end): Emit a blockage insn before |
10401 | the epilogue when -fnon-call-exceptions is used. | |
10402 | ||
10403 | * except.c (expand_start_all_catch): Make comment more accurate. | |
10404 | ||
65cd26a6 JS |
10405 | 2004-03-08 Joel Sherrill <joel@oarcorp.com> |
10406 | ||
10407 | PR target/14480 | |
10408 | * config/rs6000/t-rtems: Add missing file on branch. | |
10409 | ||
452c159e UW |
10410 | 2004-03-10 Ulrich Weigand <uweigand@de.ibm.com> |
10411 | ||
10412 | * dbxout.c (dbxout_symbol_location): Do not output references | |
10413 | to optimized-out constant pool symbols. | |
10414 | ||
5f1b2068 AS |
10415 | 2004-03-10 Andreas Schwab <schwab@suse.de> |
10416 | ||
10417 | * config/ia64/ia64.md (divsi3, udivsi3): Remove unused variable | |
10418 | twon34_r. | |
10419 | ||
5399d643 JW |
10420 | 2004-03-09 James E Wilson <wilson@specifixinc.com> |
10421 | ||
10422 | * alias.c (alias_sets_might_conflict_p): New. | |
10423 | * c-typeck.c (build_c_cast): Call it if warn_strict_aliasing > 1. | |
10424 | * common.opt (Wstrict-aliasing=): New. | |
10425 | * flags.h (warn_strict_aliasing): Change type to int. | |
10426 | * opts.c (warn_strict_aliasing): Change type to int. | |
10427 | (common_handle_option): Handle OPT_Wstrict_aliasing_. | |
10428 | * tree.h (alias_sets_might_conflict_p): Declare it. | |
10429 | * doc/invoke.tex (-Wstrict-aliasing=2): Document it. | |
10430 | ||
a4e9467d RZ |
10431 | 2004-03-10 Roman Zippel <zippel@linux-m68k.org> |
10432 | ||
10433 | PR bootstrap/12371 | |
10434 | * config/m68k/m68k.h (FIXED_REGISTERS): Add arg pointer. | |
10435 | (CALL_USED_REGISTERS): Likewise. | |
c53bdcf5 | 10436 | (REG_CLASS_CONTENTS): Likewise. |
a4e9467d RZ |
10437 | (REG_ALLOC_ORDER): New. |
10438 | (REGNO_REG_CLASS): Use regno_reg_class. | |
10439 | * config/m68k/m68k.c: Add regno_reg_class array. | |
10440 | ||
9aec7fb4 SE |
10441 | 2004-03-09 Steve Ellcey <sje@cup.hp.com> |
10442 | ||
10443 | * config/ia64/ia64.md (divsi3): Fix algorithm. | |
10444 | (udivsi3): Ditto. | |
10445 | (setf_exp_xf): Remove '*' from name. | |
10446 | * testsuite/gcc.dg/20040309-1.c: New test. | |
10447 | ||
9acd4a03 ILT |
10448 | 2004-03-09 Ian Lance Taylor <ian@wasabisystems.com> |
10449 | ||
10450 | * system.h (SUNOS4_SHARED_LIBRARIES): Poison. | |
10451 | * collect2.c: Remove SUNOS4_SHARED_LIBRARIES code. | |
10452 | * config/sparc/aout.h (TARGET_ASM_SELECT_SECTION): Don't define. | |
10453 | * config/sparc/sparc.c (sparc_aout_select_section): Remove. | |
10454 | (sparc_aout_select_rtx_section): Don't check | |
10455 | SUNOS4_SHARED_LIBRARIES. | |
10456 | * config/sparc/sparc.h (SUNOS4_SHARED_LIBRARIES): Don't define. | |
10457 | ||
a5249a21 HPN |
10458 | 2004-03-10 Hans-Peter Nilsson <hp@axis.com> |
10459 | ||
10460 | PR other/14474 | |
10461 | * doc/md.texi (Pattern Ordering, Dependent Patterns) | |
10462 | (Jump Patterns, Looping Patterns): Wrap in separate "@ifset | |
10463 | INTERNALS". | |
10464 | ||
e373cdb4 ZW |
10465 | 2004-03-09 Zack Weinberg <zack@codesourcery.com> |
10466 | ||
10467 | * config/ia64/hpux.h (MULTILIB_DEFAULTS): Define. | |
10468 | (LIBGCC_SPEC): Update to match. | |
10469 | ||
77dbdb57 ZW |
10470 | 2004-03-09 Zack Weinberg <zack@codesourcery.com> |
10471 | ||
10472 | * c-decl.c (last_function_parms, last_function_parm_tags) | |
10473 | (last_function_parm_others, current_function_parms) | |
10474 | (current_function_parm_tags, current_function_parm_others): | |
10475 | Delete. | |
10476 | (ARG_INFO_PARMS, ARG_INFO_TAGS, ARG_INFO_TYPES, ARG_INFO_OTHERS): | |
10477 | New macros. | |
10478 | (grokdeclarator): For function definitions, save the arg-info | |
10479 | block from the declarator in DECL_ARGUMENTS. | |
10480 | (grokparms): Do not write to last_function_parm*. Use ARG_INFO_* | |
10481 | macros to operate on arg-info block. Can assume ARG_INFO_PARMS | |
10482 | contains only PARM_DECLs. Improve diagnostics. | |
10483 | (get_parm_info): Use ARG_INFO_* macros. Improve comments and | |
10484 | diagnostics. Disable some expensive checks if not ENABLE_CHECKING. | |
10485 | (store_parm_decls_newstyle): Take the function to operate on, | |
10486 | and an arg-info block, as arguments; don't get anything from | |
10487 | current_function_* globals. | |
10488 | (store_parm_decls_oldstyle): Likewise. | |
10489 | (store_parm_decls): Pass fndecl and its arg-info block down to | |
10490 | store_parm_decls_newstyle/oldstyle. Send functions with empty | |
10491 | argument lists through store_parm_decls_newstyle to reduce | |
10492 | overhead. | |
10493 | (pushdecl): Comment on the problems with the call to copy_node. | |
10494 | Clear DECL_ARGUMENTS of the old node after copying it, if it | |
10495 | is an arg-info block instead of a chain of decls. | |
10496 | (start_function): Do not manipulate current_function_parm* or | |
10497 | last_function_parm*. | |
10498 | ||
305eeaeb RS |
10499 | 2004-03-09 Roger Sayle <roger@eyesopen.com> |
10500 | Andrew Pinski <pinskia@physics.uc.edu> | |
10501 | ||
10502 | * ifcvt.c (noce_try_sign_mask): New function to transform | |
10503 | "x = (y < 0) ? z : 0" into the equivalent "x = (y >> C) & z". | |
10504 | (noce_process_if_block): Call noce_try_sign_mask. | |
10505 | ||
f38f747d AP |
10506 | 2004-03-09 Andrew Pinski <apinski@apple.com> |
10507 | ||
10508 | * c-typeck.c (tagged_types_tu_compatible_p): | |
10509 | Fix typo. | |
10510 | ||
7ce3e360 RS |
10511 | 2004-03-09 Roger Sayle <roger@eyesopen.com> |
10512 | ||
10513 | * simplify-rtx.c (simplify_const_relational_operation): New function | |
10514 | renamed from simplify_relational_operation. | |
10515 | (simplify_relational_operation): Change prototype to accept an | |
10516 | additional mode argument. Call simplify_const_relational_operation. | |
10517 | (simplify_gen_relational): Update simplify_relational_operation call. | |
10518 | (simplify_ternary_operation): Update simplify_relational_operation | |
10519 | subroutine call to use simplify_const_relational_operation instead. | |
10520 | ||
10521 | * rtl.h (simplify_const_relational_operation): Prototype here. | |
10522 | (simplify_relational_operation): Add addtional mode argument. | |
10523 | ||
10524 | * combine.c (combine_simplify_rtx): Update calls to | |
10525 | simplify_relational_operation. | |
10526 | (simplify_set): Likewise. | |
10527 | (gen_binary): Likewise. | |
10528 | * cse.c (fold_rtx): Likewise. | |
10529 | * dojump.c (compare_from_rtx): Likewise. | |
10530 | (do_compare_rtx_and_jump): Likewise. | |
10531 | * integrate.c (subst_constants): Likewise. | |
10532 | * unroll.c (simplify_cmp_and_jump_insns): Likewise. | |
10533 | ||
c0e63064 KH |
10534 | 2004-03-09 Kazu Hirata <kazu@cs.umass.edu> |
10535 | ||
10536 | * config/m32r/m32r.md: Remove all define_peephole's. | |
10537 | ||
6ae08853 AM |
10538 | 2004-03-09 Alan Modra <amodra@bigpond.net.au> |
10539 | ||
10540 | * config/rs6000/rs6000.md: Remove trailing whitespace. | |
10541 | ||
5340bbea EC |
10542 | 2004-03-08 Eric Christopher <echristo@redhat.com> |
10543 | ||
10544 | * Makefile.in (site.exp): Add libiconv variable definition. | |
10545 | ||
3beb1315 HPN |
10546 | 2004-03-09 Hans-Peter Nilsson <hp@axis.com> |
10547 | ||
10548 | * configure: Regenerate for config/accross.m4 correction. | |
10549 | ||
c589970a JS |
10550 | 2004-03-08 Joel Sherrill <joel@oarcorp.com> |
10551 | ||
10552 | PR target/14480 | |
10553 | * config/rs6000/t-rtems: Add missing file on branch. | |
10554 | ||
e697b20f RS |
10555 | 2004-03-08 Roger Sayle <roger@eyesopen.com> |
10556 | ||
10557 | PR middle-end/14289 | |
10558 | * c-typeck.c (c_mark_addressable): A register variable should | |
10559 | be considered global if its not automatic, i.e. TREE_PUBLIC, | |
10560 | TREE_STATIC or DECL_EXTERNAL. | |
10561 | * function.c (put_var_into_stack): Call abort when placing a | |
10562 | hard register into the stack, if x_parm_reg_stack_loc is NULL. | |
10563 | ||
59f8a8be UW |
10564 | 2004-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
10565 | ||
10566 | * config/s390/s390.md ("*extendqidi2_short_displ"): Add CC clobber. | |
10567 | ("*extendqisi2_short_displ"): Likewise. | |
10568 | ||
23bd99da KH |
10569 | 2004-03-08 Kazu Hirata <kazu@cs.umass.edu> |
10570 | ||
10571 | * config/pdp11/pdp11.c (comparison_operator_index): Remove. | |
10572 | (comp_operator): Likewise. | |
10573 | * config/pdp11/pdp11-protos.h: Remove corresponding | |
10574 | prototypes. | |
10575 | ||
d50a16c4 EB |
10576 | 2004-03-08 Eric Botcazou <ebotcazou@act-europe.fr> |
10577 | ||
10578 | * expr.c (highest_pow2_factor_for_type): Rename into | |
10579 | highest_pow2_factor_for_target. Use DECL_ALIGN instead of | |
10580 | TYPE_ALIGN when the target is a COMPONENT_REF. | |
10581 | (expand_assignment): Ajust call to highest_pow2_factor_for_type. | |
10582 | ||
957211c3 AM |
10583 | 2004-03-08 Alan Modra <amodra@bigpond.net.au> |
10584 | ||
b1917422 AM |
10585 | * config/rs6000/rs6000.c: Formatting fix. |
10586 | (legitimate_offset_address_p): Correct offset range check. | |
10587 | ||
957211c3 AM |
10588 | * config/rs6000/rs6000.c (rs6000_override_options): Don't override |
10589 | -msoft-float by -mcpu. Consolidate similar code for MASK_MULTIPLE | |
10590 | and MASK_STRING. | |
10591 | ||
97727e85 | 10592 | 2004-03-07 Aldy Hernandez <aldyh@redhat.com> |
5340bbea | 10593 | |
77dbdb57 ZW |
10594 | * config/rs6000/rs6000.md (ashrdi3): Do not call ashrdi3_no_power |
10595 | for little endian. | |
10596 | ("ashrdi3_no_power"): Disable for little endian. | |
97727e85 AH |
10597 | (ashrdi3): Same. |
10598 | ||
280e63ec KG |
10599 | 2004-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10600 | ||
10601 | * fold-const.c (tree_expr_nonnegative_p): Reformat checks for | |
10602 | builtins. | |
10603 | ||
86da66b5 HPN |
10604 | 2004-03-08 Hans-Peter Nilsson <hp@axis.com> |
10605 | ||
10606 | PR target/14471 | |
10607 | * configure.ac (Target-specific assembler checks) <cris-*-*>: New | |
10608 | case, checking for -no-mul-bug-abort option. | |
10609 | * configure, config.in: Regenerate. | |
10610 | * doc/invoke.texi (CRIS Options): Document -mmul-bug-workaround | |
10611 | and -mno-mul-bug-workaround. | |
10612 | * config/cris/cris.md ("smulsi3_highpart", "umulsi3_highpart") | |
10613 | ("mulsidi3", "umulsidi3"): Prefix output template with "%!". | |
10614 | ("umulhisi3", "umulqihi3", "mulsi3", "mulqihi3", "mulhisi3"): | |
10615 | Ditto. Make attribute "slottable" dependent on TARGET_MUL_BUG. | |
10616 | * config/cris/mulsi3.asm (__Mul) [__CRIS_arch_version >= 10]: Make | |
10617 | sure mulu.d is not last on cache-line. | |
10618 | * config/cris/cris.h (ASM_SPEC): Translate -mno-mul-bug-workaround | |
10619 | into -no-mul-bug-abort depending on HAVE_AS_MUL_BUG_ABORT_OPTION. | |
10620 | (TARGET_MASK_MUL_BUG, TARGET_MUL_BUG): New macros. | |
10621 | (TARGET_SWITCHES): New options -mmul-bug-workaround and | |
10622 | -mno-mul-bug-workaround. | |
10623 | (TARGET_DEFAULT): Include TARGET_MASK_MUL_BUG. | |
10624 | (PRINT_OPERAND_PUNCT_VALID_P): Include '!'. | |
10625 | * config/cris/cris.c (cris_operand_extend_operator): Clarify | |
10626 | relation to MULT in head comment. | |
10627 | (cris_op_str): Abort for MULT. | |
10628 | (cris_print_operand) <case '!'>: New case. | |
10629 | ||
e7ee3914 AM |
10630 | 2004-03-08 Alan Modra <amodra@bigpond.net.au> |
10631 | ||
10632 | PR debug/11983 | |
10633 | * dwarf2out.c (enum dw_val_class): Rename dw_val_class_float to | |
10634 | dw_val_class_vec. Replace use throughout file. | |
10635 | (dw_float_const): Delete. | |
10636 | (dw_vec_const): New. | |
10637 | (dw_val_struct_union): Rename val_float to val_vec. Replace use | |
10638 | throughout file. | |
10639 | (add_AT_vec): Rename from add_AT_float. Add elt_size param. | |
10640 | (same_dw_val_p): Adjust vec comparison. Use memcmp. | |
10641 | (size_of_die): Adjust dw_val_class_vec sizing. | |
10642 | (output_die): Output dw_val_class_vec. | |
10643 | (insert_int, extract_int, insert_float): New functions. | |
10644 | (add_const_value_attribute): Use insert_float for CONST_DOUBLE. | |
10645 | Handle CONST_VECTOR. | |
10646 | (add_location_or_const_value_attribute): Handle CONST_VECTOR. | |
5cc73f91 AH |
10647 | |
10648 | 2004-03-07 Aldy Hernandez <aldyh@redhat.com> | |
10649 | ||
10650 | * config/rs6000/rs6000.c (rs6000_parse_abi_options): SPE and | |
10651 | AltiVec abi cannot co-exist. | |
10652 | ||
10653 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Same. | |
10654 | ||
a61bf177 JH |
10655 | 2004-03-07 Jan Hubicka <jh@suse.cz> |
10656 | ||
10657 | * except.c (emit_to_new_bb_before): Break fallthru edges. | |
10658 | ||
17c60946 SC |
10659 | 2004-03-07 Stephane Carrez <stcarrez@nerim.fr> |
10660 | ||
10661 | * config/m68hc11/m68hc11.md ("*lshrsi3_const"): Disable for 68HC12. | |
10662 | ("*lshrsi3"): Also accept an immediate for 68HC12. | |
10663 | ("*ashrsi3_const"): Likewise. | |
10664 | ("*ashrsi3"): Likewise. | |
10665 | ("*ashlsi3_const"): Likewise. | |
10666 | ("*ashlsi3"): Likewise. | |
10667 | ("cmphi_1_hc12"): Compare two hard register by pushing them and | |
10668 | comparing with a pop; don't use a split for that. | |
10669 | ("cmphi split"): Disable compare split for 68HC12. | |
10670 | ||
10671 | * config/m68hc11/m68hc11.c (m68hc11_notice_update_cc): Invalidate | |
10672 | the status operands if they have side effects. | |
10673 | ||
3e759eda KH |
10674 | 2004-03-07 Kazu Hirata <kazu@cs.umass.edu> |
10675 | ||
10676 | * defaults.h (LEGITIMIZE_ADDRESS): Provide a default | |
10677 | definition. | |
10678 | * config/arc/arc.h, config/fr30/fr30.h, config/frv/frv.h, | |
10679 | config/h8300/h8300.h, config/ia64/ia64.h, | |
10680 | config/mcore/mcore.h, config/mmix/mmix.h, | |
10681 | config/ns32k/ns32k.h, config/pdp11/pdp11.h, | |
10682 | config/stormy16/stormy16.h, config/v850/v850.h, | |
10683 | config/vax/vax.h (LEGITIMIZE_ADDRESS): Remove. | |
10684 | * doc/tm.texi (LEGITIMIZE_ADDRESS): Mention the default | |
10685 | definition. | |
10686 | ||
cd2f1c7a RS |
10687 | 2004-03-07 Roger Sayle <roger@eyesopen.com> |
10688 | ||
10689 | * fold-const.c (fold) <IOR_EXPR>: Fold x | x as x. | |
10690 | <XOR_EXPR>: Fold x ^ x as zero. | |
10691 | <AND_EXPR>: Fold x & x as x. | |
10692 | ||
350f4ea8 RS |
10693 | 2004-03-07 Roger Sayle <roger@eyesopen.com> |
10694 | ||
10695 | * fold-const.c (fold) <EQ_EXPR>: Rewrite optimization to transform | |
10696 | "foo++ == const" into "++foo == const+incr". | |
10697 | ||
91455597 RS |
10698 | 2004-03-07 Richard Sandiford <rsandifo@redhat.com> |
10699 | ||
10700 | * config/mips/mips.c (mips_in_small_data_p): Return false if | |
10701 | TARGET_ABICALLS. | |
10702 | ||
a75ea627 SC |
10703 | 2004-03-06 Stephane Carrez <stcarrez@nerim.fr> |
10704 | ||
10705 | * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Use 2,-sp to push | |
10706 | the stack register. | |
10707 | (expand_prologue): Don't make an interrupt or a trap handler a far | |
10708 | symbol. | |
10709 | (m68hc11_initial_elimination_offset): Likewise. | |
10710 | ||
7179b6db RH |
10711 | 2004-03-06 Richard Henderson <rth@redhat.com> |
10712 | ||
10713 | * config/alpha/alpha.c (alpha_in_small_data_p): False for functions. | |
10714 | ||
eff3c926 KH |
10715 | 2004-03-06 Kazu Hirata <kazu@cs.umass.edu> |
10716 | ||
10717 | * config/ns32k/ns32k-protos.h: Add a prototype for | |
10718 | ns32k_notice_update_cc. | |
10719 | * config/ns32k/ns32k.c (ns32k_notice_update_cc): New. | |
10720 | * config/ns32k/ns32k.h (NOTICE_UPDATE_CC): Call | |
10721 | ns32k_notice_update_cc. | |
10722 | ||
22ea6b4f UW |
10723 | 2004-03-06 Ulrich Weigand <uweigand@de.ibm.com> |
10724 | ||
10725 | * config/s390/s390.md ("load_multiple", "*load_multiple_di", | |
10726 | "*load_multiple_si"): Allow only if reload_completed. | |
10727 | ("store_multiple", "*store_multiple_di", "*store_multiple_si"): | |
10728 | Likewise. | |
10729 | ||
af0ec113 KH |
10730 | 2004-03-06 Kazu Hirata <kazu@cs.umass.edu> |
10731 | ||
10732 | * config/vax/vax-protos.h: Add a prototype for | |
10733 | vax_notice_update_cc. | |
10734 | * config/vax/vax.c (vax_notice_update_cc): New. | |
10735 | * config/vax/vax.h (NOTICE_UPDATE_CC): Call | |
10736 | vax_notice_update_cc. | |
10737 | ||
aaef9b06 DE |
10738 | 2004-03-06 David Edelsohn <edelsohn@gnu.org> |
10739 | ||
10740 | * collect2.c (main): Only export initfunc and finifunc if | |
10741 | LD_INIT_SWITCH not defined. | |
10742 | (scan_prog_file): Only export constructors and destructors if | |
10743 | LD_INIT_SWITCH not defined. Only export symbols not found in | |
10744 | shared objects. | |
10745 | ||
7a9a5a44 JDA |
10746 | 2004-03-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10747 | ||
10748 | * pa.md (icacheflush): Reorder operands to make match_scratch operand | |
10749 | last. | |
10750 | * pa.h (INITIALIZE_TRAMPOLINE): Remove unnecessary scratch argument | |
10751 | from calls to gen_icacheflush. | |
10752 | ||
0f15adbd RH |
10753 | 2004-03-06 Richard Henderson <rth@redhat.com> |
10754 | ||
10755 | * config/alpha/alpha.h (MASK_LONG_DOUBLE_128): New. | |
10756 | (TARGET_LONG_DOUBLE_128): New. | |
10757 | (TARGET_SWITCHES): Add long-double-{128,64}. | |
10758 | (TARGET_HAS_XFLOATING_LIBS): Default to TARGET_LONG_DOUBLE_128. | |
10759 | (LONG_DOUBLE_TYPE_SIZE): Honor TARGET_LONG_DOUBLE_128. | |
10760 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New. | |
10761 | (WIDEST_HARDWARE_FP_SIZE): New. | |
10762 | (TARGET_CPU_CPP_BUILTINS): Define __LONG_DOUBLE_128__. | |
10763 | * config/alpha/alpha.c (override_options): Clear MASK_LONG_DOUBLE_128 | |
10764 | if TARGET_VAX_FLOAT. | |
10765 | * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): Remove. | |
10766 | (TARGET_DEFAULT): Set MASK_LONG_DOUBLE_128. | |
10767 | ||
b9c685ae RH |
10768 | 2004-03-06 Richard Henderson <rth@redhat.com> |
10769 | ||
10770 | * config/alpha/alpha.c (alpha_swapped_comparison_operator): Fix | |
10771 | botched rtx class conversion. | |
10772 | ||
82b4201f KG |
10773 | 2004-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10774 | ||
10775 | * tree.h (BUILTIN_EXP10_P, BUILTIN_EXPONENT_P, BUILTIN_SQRT_P, | |
10776 | BUILTIN_CBRT_P, BUILTIN_ROOT_P): New macros. | |
10777 | ||
10778 | * builtins.c (fold_builtin_logarithm, fold_builtin): Use new | |
10779 | macros. | |
10780 | * fold-const.c (fold_mathfn_compare, fold): Likewise. | |
10781 | ||
84289c76 EB |
10782 | 2004-03-06 Eric Botcazou <ebotcazou@libertysurf.fr> |
10783 | ||
10784 | PR target/14343 | |
10785 | * config/i386/i386.md (movv2di_internal): Conditionalize on | |
10786 | TARGET_SSE, not TARGET_SSE2. | |
10787 | ||
3fdf09a1 CD |
10788 | 2004-03-05 Chris Demetriou <cgd@broadcom.com> |
10789 | ||
10790 | * config.gcc (mips64orion-*-elf*, mips64orionel-*-elf*): Delete | |
10791 | duplicated line. | |
10792 | ||
f2f4e976 KG |
10793 | 2004-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
10794 | ||
10795 | * builtins.c: Consistently use logN not log* in comments. | |
10796 | ||
2b3493c8 AK |
10797 | 2004-03-05 Andreas Krebbel <krebbel1@de.ibm.com> |
10798 | ||
10799 | * rtl.h (mem_expr_equal_p): Function prototype added. | |
10800 | * cfgcleanup.c (merge_memattrs): New function. | |
10801 | (flow_find_cross_jump): Call merge_memattrs for matching insns. | |
10802 | * emit-rtl.c (mem_expr_equal_p): New function. | |
10803 | ||
1a4a7065 ZL |
10804 | 2004-03-05 Ziemowit Laski <zlaski@apple.com> |
10805 | ||
10806 | * objc/objc-act.c (synth_module_prologue): Const-qualify | |
10807 | objc_selector type if using the GNU runtime; fix generated | |
10808 | signatures for objc_msg_lookup and objc_msg_lookup_super | |
10809 | to match what GNU ObjC headers provide; reformat and clean up. | |
10810 | (synth_self_and_ucmd_args): Use previously constructed (and | |
10811 | hence possibly const-qualified) objc_selector type. | |
10812 | ||
150c9fe8 KH |
10813 | 2004-03-05 Kazu Hirata <kazu@cs.umass.edu> |
10814 | ||
10815 | * doc/tm.texi (HARD_REGNO_RENAME_OK): Document. | |
10816 | ||
fd917e0d JM |
10817 | 2004-03-05 Jason Merrill <jason@redhat.com> |
10818 | ||
10819 | * tree.h (TYPE_HASH): Use TYPE_UID. | |
10820 | (TREE_HASH): New macro with old definition of TYPE_HASH. | |
10821 | * tree.c (build_type_attribute_variant): Use iterative_hash_object. | |
10822 | (build_array_type, build_function_type): Likewise. | |
10823 | (build_method_type_directly): Likewise. | |
10824 | (build_offset_type, build_complex_type): Likewise. | |
10825 | (type_hash_list, attribute_hash_list): Likewise. Now static. | |
10826 | * except.c: s/TYPE_HASH/TREE_HASH/. | |
10827 | ||
822e895c BW |
10828 | 2004-03-05 Bob Wilson <bob.wilson@acm.org> |
10829 | ||
10830 | * config/xtensa/xtensa.c (function_arg): Handle 16-byte aligned args. | |
10831 | (xtensa_va_start): Initialize __va_stk to ($arg_ptr - 32). Adjust | |
10832 | __va_ndx by 2 words when referencing an argument on the stack. | |
10833 | (xtensa_va_arg): Handle 16-byte aligned args. Adjust __va_ndx by 2 | |
10834 | words when an arg on the stack is first seen. | |
10835 | ||
2eb83715 PB |
10836 | 2004-03-05 Paul Brook <paul@codesourcery.com> |
10837 | ||
10838 | * arm.h (ARM_FLAG_VFP): Remove. | |
10839 | (ARM_FLAG_ATPCS, CIRRUS_FIX_INVALID_INSNS): Renumber. | |
10840 | * netbsd-elf.h (ARM_FLAG_VFP): Remove. | |
10841 | ||
ce407aa9 PB |
10842 | 2004-03-05 Paul Brook <paul@codesourcery.com> |
10843 | ||
10844 | * function.c (assign_parms): Include pretend alignment offset. | |
10845 | ||
019dd4ec RK |
10846 | 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10847 | ||
10848 | * stor-layout.c (layout_type, case FUNCTION_TYPE): Make size | |
10849 | FUNCTION_BOUNDARY, not POINTER_SIZE * 2. | |
10850 | ||
33e70558 ILT |
10851 | 2004-03-05 Ian Lance Taylor <ian@wasabisystems.com> |
10852 | ||
10853 | * configure.ac: When passing --enable-languages to subdir | |
10854 | configure when host != build, make sure we don't pass an empty | |
10855 | value. | |
10856 | * configure: Regenerate. | |
10857 | ||
ab786753 NS |
10858 | 2004-03-05 Nathan Sidwell <nathan@codesourcery.com> |
10859 | ||
10860 | PR 13577 | |
10861 | * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o | |
10862 | options. | |
10863 | ||
d2782048 PB |
10864 | 2004-03-05 Paolo Bonzini <bonzini@gnu.org> |
10865 | ||
10866 | * simplify-rtx.c (simplify_relational_operation): If | |
10867 | flag_wrapv is set, do not move terms between the two | |
10868 | side of a relational operator. | |
10869 | ||
f894b69b PB |
10870 | 2004-03-05 Paolo Bonzini <bonzini@gnu.org> |
10871 | ||
10872 | * rtlanal.c: Include target.h and output.h | |
10873 | (rtx_cost, address_cost, default_address_cost): Move from... | |
10874 | * cse.c (rtx_cost, address_cost, default_address_cost): | |
10875 | ... this file. | |
10876 | * rtl.h (rtx_cost, address_cost): Move under rtlanal.c. | |
10877 | * Makefile.in: Adjust dependencies. | |
10878 | ||
86caf04d PB |
10879 | 2004-03-05 Paolo Bonzini <bonzini@gnu.org> |
10880 | ||
10881 | * cse.c (cse_end_of_basic_block): Make static. | |
10882 | * local-alloc.c (function_invariant_p): Move to | |
10883 | reload1.c. | |
10884 | * loop.c (libcall_other_reg, record_excess_regs): | |
10885 | Make static. | |
10886 | * reload1.c (function_invariant_p): Moved here | |
10887 | from local-alloc.c, made static. | |
10888 | * rtl.h (cse_end_of_basic_block, function_invariant_p, | |
10889 | libcall_other_reg, record_excess_regs): Remove | |
10890 | declarations. | |
10891 | ||
d0fe265e KH |
10892 | 2004-03-05 Kazu Hirata <kazu@cs.umass.edu> |
10893 | ||
10894 | * config/m32r/m32r.c (signed_comparison_operator): Add a | |
10895 | missing parenthesis. | |
10896 | ||
ee0d75ef ILT |
10897 | 2004-03-04 Ian Lance Taylor <ian@wasabisystems.com> |
10898 | ||
10899 | * ggc-common.c (gt_pch_restore): Don't unmap addr unless we are | |
10900 | going to call mmap again. Read the file into the right place. | |
10901 | Give a fatal error if we have to relocate. | |
10902 | ||
6e5ff6e7 BW |
10903 | 2004-03-04 Bob Wilson <bob.wilson@acm.org> |
10904 | ||
10905 | * config/xtensa/xtensa.c (xtensa_return_in_msb): New function. | |
10906 | (TARGET_RETURN_IN_MSB): Define to xtensa_return_in_msb. | |
10907 | ||
fc7b80e4 HPN |
10908 | 2004-03-05 Hans-Peter Nilsson <hp@axis.com> |
10909 | ||
fd9361f7 | 10910 | PR other/14354 |
fc7b80e4 HPN |
10911 | * config/fp-bit.c (_fpdiv_parts): Do not round when pack_d would |
10912 | round the same. When rounding, clear bits that would cause a | |
10913 | second rounding in pack_d. | |
10914 | (_fpmul_parts): Ditto. Remove #if 0:d code. | |
10915 | ||
b9e4e5d1 ZL |
10916 | 2004-03-04 Ziemowit Laski <zlaski@apple.com> |
10917 | ||
10918 | PR c++/14425, c++/14426 | |
10919 | * config/rs6000/altivec.h (vec_splat_s8, vec_splat_s16, | |
10920 | vec_splat_s32, vec_splat_u8, vec_splat_u16, vec_splat_u32): | |
10921 | Change C++ definitions to accept a 'const int' argument; | |
10922 | the prototypes already do. | |
10923 | * config/rs6000/rs6000.c (rs6000_common_init_builtins): | |
10924 | Rename v4si_ftype_char, v8hi_ftype_char, v16qi_ftype_char, | |
10925 | v4sf_ftype_v4si_char, v4si_ftype_v4sf_char, v4si_ftype_v4si_char, | |
10926 | v8hi_ftype_v8hi_char, v16qi_ftype_v16qi_char, | |
10927 | v16qi_ftype_v16qi_v16qi_char, v8hi_ftype_v8hi_v8hi_char, | |
10928 | v4si_ftype_v4si_v4si_char and v4sf_ftype_v4sf_v4sf_char to | |
10929 | end in ..._int; change them to accept an int instead of a char | |
10930 | as the last parameter. | |
10931 | ||
8653fed7 PE |
10932 | 2004-03-04 Phil Edwards <phil@codesourcery.com> |
10933 | ||
10934 | * genmultilib: Change '=' to '-' when translating option names | |
10935 | to directory names. | |
10936 | ||
daae8185 RK |
10937 | 2004-03-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
10938 | ||
10939 | * expr.c (expand_expr_real, case COMPONENT_REF): Get proper type of | |
10940 | stack slot for temp used for result of BLKmode but in integral mode. | |
10941 | ||
f345f21a JH |
10942 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
10943 | ||
10944 | * reload.c (find_reloads): Reorganize if seqeunce to switch. | |
10945 | ||
10946 | * cfgrtl.c (rtl_redirect_edge_and_branch): Set the source BB as dirty. | |
10947 | (cfglayout_redirect_edge_and_branch): Set the source BB as dirty. | |
10948 | ||
aa42f99d SE |
10949 | 2004-03-04 Steve Ellcey <sje@cup.hp.com> |
10950 | ||
10951 | * config/ia64/ia64.md (divdf3_internal_thr): Fix algorithm. | |
10952 | * testsuite/gcc.dg/20040303-1.c: New test. | |
10953 | ||
56bab446 SB |
10954 | 2004-03-04 Steven Bosscher <stevenb@suse.de> |
10955 | ||
10956 | * ppro.md: Rewrite as a DFA pipeline description. | |
10957 | * i386.md: Remove all uses of the ppro_uops attribute. | |
10958 | * i386.c: (ix86_safe_ppro_uops, ix86_dump_ppro_packet, | |
10959 | ix86_reorder_insn, ix86_sched_reorder_ppro, ix86_sched_init, | |
10960 | ix86_sched_reorder, ix86_variable_issue, | |
10961 | struct ix86_sched_data, TARGET_SCHED_VARIABLE_ISSUE, | |
10962 | TARGET_SCHED_INIT, TARGET_SCHED_REORDER): Remove. | |
10963 | (ia32_use_dfa_pipeline_interface): Add TARGET_PENTIUMPRO. | |
10964 | (ia32_multipass_dfa_lookahead): Add TARGET_PENTIUMPRO. | |
10965 | * athlon.md (athlon_ssecmp_load): Fix comment | |
10966 | ||
5a26b329 | 10967 | 2004-03-04 Stuart Hastings <stuart@apple.com> |
56bab446 | 10968 | |
5a26b329 SH |
10969 | * gcc/doc/invoke.texi: Document -mlongcall for Darwin/PPC. |
10970 | ||
2e5d2af9 | 10971 | 2004-03-04 Stuart Hastings <stuart@apple.com> |
56bab446 | 10972 | |
2e5d2af9 SH |
10973 | * gcc/config/i386/darwin.h: Darwin/x86 doesn't support CPUs before |
10974 | 686, tell Darwin assembler to allow prefetch insns, non-empty def | |
10975 | of SUBTARGET_OPTION_TRANSLATE_TABLE. | |
10976 | ||
58f206d6 DD |
10977 | 2004-03-04 DJ Delorie <dj@redhat.com> |
10978 | ||
10979 | PR optimization/14282 | |
10980 | * sched-deps.c (sched_analyze_insn): Allow a stack adjustment | |
10981 | between a call and the assignment of its return value. | |
10982 | ||
e9eba255 KH |
10983 | 2004-03-04 Kazu Hirata <kazu@cs.umass.edu> |
10984 | ||
10985 | * config/h8300/h8300.c: Put a comment for every function. | |
10986 | ||
d3c40837 KH |
10987 | 2004-03-04 Kazu Hirata <kazu@cs.umass.edu> |
10988 | ||
10989 | * config/h8300/h8300.md: Add comments about peephole2's. | |
10990 | ||
eb3d7f9d SB |
10991 | 2004-03-04 Steven Bosscher <stevenb@suse.de> |
10992 | ||
10993 | * i386.h (TARGET_CPU_DEFAULT_nocona): Fix value. | |
10994 | ||
463301c3 JH |
10995 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
10996 | ||
10997 | * cfgcleanup.c (thread_jump): Update call of cselib_init. | |
10998 | * cselib.c (cselib_record_memory): New static variable. | |
10999 | (cselib_lookup_mem, cselib_record_set, cselib_record_sets): | |
11000 | Give up on memories when asked for. | |
11001 | (cselib_init): Accept new argument. | |
11002 | * cselib.h (cselib_init): Update prototype. | |
11003 | * gcse.c (local_cprop_pass): Update call of cselib_init. | |
11004 | * loop.c (load_mems): Update call of cselib_init. | |
11005 | * postreload.c (reload_cse_regs_1): Update call of cselib_init. | |
11006 | * sched-deps.c (sched_analyze): Update call of cselib_init. | |
11007 | ||
3b6ce0af DE |
11008 | 2004-03-04 David Edelsohn <edelsohn@gnu.org> |
11009 | GP <gp@qnx.com> | |
11010 | ||
11011 | * config/rs6000/rs6000.c (output_function_profiler): Append @plt | |
11012 | when compiling PIC. | |
11013 | ||
af931390 JZ |
11014 | 2004-03-04 Josef Zlomek <zlomekj@suse.cz> |
11015 | ||
11016 | PR/14362 | |
11017 | * var-tracking.c (track_expr_p): Do not track variables which | |
11018 | should be ignored for debugging purposes. | |
11019 | ||
ddc68564 AM |
11020 | 2004-03-04 Alan Modra <amodra@bigpond.net.au> |
11021 | ||
11022 | * real.c (encode_ibm_extended): Don't bother rounding low double. | |
11023 | * c-cppbuiltin.c (builtin_define_float_constants): Tweak MAX | |
11024 | when fmt->pnan < fmt->p. | |
11025 | ||
ca87076c EC |
11026 | 2004-03-04 Eric Christopher <echristo@redhat.com> |
11027 | ||
11028 | * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Fix to check | |
11029 | only range of valid arg registers and fixed_regs. | |
11030 | ||
1a402dc1 AM |
11031 | 2004-03-04 Alan Modra <amodra@bigpond.net.au> |
11032 | ||
11033 | PR target/14406 | |
11034 | * config/rs6000/rs6000.md (abstf2, abstf2+1): Delete define_insn. | |
11035 | (abstf2, abstf2_internal): New define_expand. | |
11036 | ||
6a2d136b EB |
11037 | 2004-03-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
11038 | ||
11039 | PR optimization/14235 | |
11040 | * expr.c (convert_move): Copy the source to a new pseudo | |
11041 | when converting from a sub-word source to a larger-than-word | |
11042 | register which conflicts with the source. | |
11043 | ||
3205a71e ZW |
11044 | 2004-03-03 Zack Weinberg <zack@codesourcery.com> |
11045 | ||
11046 | PR 13728 | |
11047 | * c-decl.c (diagnose_mismatched_decls): Issue an error for two | |
11048 | parameters with the same name, unless one is a forward decl. | |
11049 | Do not issue a redundant-redeclaration warning for forward | |
11050 | decls of parameters. | |
11051 | ||
e8d8a034 DE |
11052 | 2004-03-04 David Edelsohn <edelsohn@gnu.org> |
11053 | ||
11054 | * doc/install.texi (*-ibm-aix*): Document use of Bash to speed up | |
11055 | configuration. | |
11056 | ||
ebe29bbf ILT |
11057 | 2004-03-03 Ian Lance Taylor <ian@wasabisystems.com> |
11058 | ||
11059 | * ggc-zone.c (ggc_pch_write_object): Don't align file pointer. | |
11060 | ||
7cd60054 AM |
11061 | 2004-03-04 Alan Modra <amodra@bigpond.net.au> |
11062 | ||
11063 | * target-def.h (TARGET_OPTF): Delete. | |
11064 | * c-opts.c (TARGET_OPTF): Define. | |
11065 | ||
e654c19e JH |
11066 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
11067 | ||
11068 | * cselib.c (cselib_finish): Fix another miss-application of my previous | |
11069 | patch. | |
11070 | ||
94d1613b MS |
11071 | 2004-03-03 Mike Stump <mrs@apple.com> |
11072 | ||
11073 | Add framework support for darwin. | |
11074 | ||
11075 | * c-incpath.c: Include target.h and machmode.h. | |
11076 | (add_path): Use a consistent style for cpp_dir. Initialize | |
11077 | p->construct to 0. | |
11078 | (add_cpp_dir_path): New. | |
11079 | (register_include_chains): Add use of extra_includes callback. | |
11080 | (hook_void_int): Add. | |
11081 | (target_c_incpath): Add. | |
11082 | * c-incpath.h (add_cpp_dir_path): New. | |
11083 | (target_c_incpath_s): Add. | |
11084 | (target_c_incpath): Add. | |
11085 | (C_INCPATH_INIT): Add. | |
11086 | * c-opts.c (c_common_missing_argument, | |
11087 | c_common_handle_option): Add -F argument processing. | |
11088 | * c.opt: Add -F argument processing. | |
11089 | * gcc.c (trad_capable_cpp): Add -F argument processing. | |
11090 | * cppfiles.c (find_file_in_dir): Update to use construct | |
11091 | callback. | |
11092 | (search_path_exhausted, cpp_get_path, cpp_get_buffer, | |
11093 | cpp_get_prev): New. | |
11094 | (_cpp_find_file): Use search_path_exhausted. | |
11095 | (make_cpp_dir): Initialize construct to 0. | |
11096 | * cpplib.h (missing_header_cb | |
11097 | cpp_get_path, cpp_get_buffer, cpp_get_file, cpp_get_prev): New. | |
11098 | (cpp_callbacks): Add missing_header | |
11099 | (cpp_dir): Add construct. | |
11100 | * target-def.h: (TARGET_OPTF): New. | |
11101 | * hooks.c (hook_void_int, hook_void_charptr): Add. | |
11102 | * hooks.h (hook_void_int, hook_void_charptr): Add. | |
11103 | * Makefile.in (c-incpath.o) : Add $(TARGET_H) and | |
11104 | $(MACHMODE_H) dependencies. | |
11105 | * doc/invoke.texi (Darwin Options): Document -F. | |
11106 | * doc/tm.texi (TARGET_EXTRA_INCLUDES): Add. | |
11107 | (TARGET_OPTF): Add. | |
11108 | * fix-header.c (target_c_incpath): Add. | |
11109 | ||
11110 | * config/darwin-c.c: Add c-incpath.h include. | |
11111 | (using_frameworks, find_subframework_file, | |
11112 | find_subframework_header, add_system_framework_path, | |
11113 | frameworks_in_use, num_frameworks, max_frameworks, | |
11114 | add_framework, find_framework, struct framework_header, | |
11115 | framework_header_dirs, framework_construct_pathname, | |
11116 | find_subframework_file, add_system_framework_path, | |
11117 | add_framework_path, framework_defaults, | |
11118 | darwin_register_frameworks, find_subframework_header): Add. | |
11119 | * config/darwin.h (TARGET_EXTRA_INCLUDES, TARGET_OPTF): New. | |
11120 | (TARGET_OPTION_TRANSLATE_TABLE): Add -framework support. | |
11121 | (CPP_SPEC): Add __APPLE_CC__ support. | |
11122 | * t-darwin (darwin-c.o): Add c-incpath.h dependency. | |
11123 | ||
0fc0c4c9 JH |
11124 | 2004-03-04 Jan Hubicka <jh@suse.cz> |
11125 | ||
11126 | * cselib.c (cselib_finish): Fix miss-application of my previous | |
11127 | patch. | |
11128 | ||
67dfe110 KH |
11129 | 2004-03-03 Kazu Hirata <kazu@cs.umass.edu> |
11130 | ||
11131 | * hooks.c (hook_tree_tree_identity): New. | |
11132 | * hooks.h: Add a prototype for hook_tree_tree_identity. | |
11133 | * stmt.c (expand_asm_operands): Use targetm.md_asm_clobbers | |
11134 | instead of MD_ASM_CLOBBERS. | |
11135 | * system.h (MD_ASM_CLOBBERS): Poison. | |
11136 | * target-def.h (TARGET_MD_ASM_CLOBBERS): New. | |
11137 | (TARGET_INITIALIZER): Add TARGET_MD_ASM_CLOBBERS. | |
11138 | * target.h (gcc_target): Add md_asm_clobbers. | |
11139 | * config/i386/i386.c (TARGET_MD_ASM_CLOBBERS): New. | |
11140 | (ix86_md_asm_clobbers): New. | |
11141 | * config/i386/i386.h (MD_ASM_CLOBBERS): Remove. | |
11142 | * doc/tm.texi (MD_ASM_CLOBBERS): Change to | |
11143 | TARGET_MD_ASM_CLOBBERS. | |
11144 | ||
d79944f4 | 11145 | 2004-03-03 Stuart Hastings <stuart@apple.com> |
67dfe110 | 11146 | |
d79944f4 | 11147 | * gcc/config.gcc: Arrange for Darwin/x86 to build libgcc_eh.a. |
3205a71e | 11148 | |
fc9232c9 EB |
11149 | 2004-03-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
11150 | ||
11151 | * config/sparc/sparc.c (noov_compare64_op): Fix typo. | |
11152 | ||
11153 | * config/sparc/sparc.h (ASM_FLOAT): Delete. | |
11154 | (ASM_DOUBLE): Likewise. | |
11155 | (ASM_LONGDOUBLE): Likewise. | |
11156 | * config/sparc/pbd.h (ASM_INT_OP): Delete. | |
11157 | ||
94632047 | 11158 | 2004-03-03 Richard Henderson <rth@redhat.com> |
b7048ab7 RH |
11159 | |
11160 | PR opt/13862 | |
11161 | * cselib.c (cselib_record_sets): Don't record multiple sets in | |
11162 | asm insns. | |
11163 | ||
f9957958 MH |
11164 | 2004-03-03 Mostafa Hagog <mustafa@il.ibm.com> |
11165 | ||
11166 | * common.opt: Add description of the new -fgcse-after-reload flag. | |
11167 | ||
11168 | * flags.h (flag_gcse_after_reload): Declaration of global variable. | |
11169 | ||
11170 | * gcse.c (reg_used_on_edge ,reg_set_between_after_reload_p, | |
11171 | reg_used_between_after_reload_p, rtx get_avail_load_store_reg, | |
11172 | is_jump_table_basic_block, bb_has_well_behaved_predecessors, | |
11173 | get_bb_avail_insn, hash_scan_set_after_reload, | |
11174 | compute_hash_table_after_reload, eliminate_partially_redundant_loads, | |
11175 | gcse_after_reload, get_bb_avail_insn): New functions to implement | |
11176 | gcse-after-reload. | |
11177 | (gcse_after_reload_main): New function, the main entry point to | |
11178 | gcse-after-reload. | |
11179 | ||
11180 | * rtl.h (gcse_after_reload_main): Declaration of the new function. | |
11181 | ||
11182 | * opts.c (common_handle_option): Handle the -fgcse-after-reload flag. | |
11183 | ||
11184 | * toplev.c (flag_gcse_after_reload): Initialization. | |
11185 | ||
11186 | * passes.c (rest_of_handl_gcse2): Call gcse_after_reload_main. | |
11187 | ||
11188 | * params.def (PARAM_GCSE_AFTER_RELOAD_PARTIAL_FRACTION, | |
11189 | PARAM_GCSE_AFTER_RELOAD_CRITICAL_FRACTION): New parameters for tuning | |
11190 | the gcse after reload optimization. | |
11191 | ||
11192 | * params.h (GCSE_AFTER_RELOAD_PARTIAL_FRACTION, | |
11193 | GCSE_AFTER_RELOAD_CRITICAL_FRACTION): Two macros to access the tuning | |
11194 | parameters. | |
11195 | ||
11196 | * doc/invoke.texi: Documentation for the new flag gcse-after-reload. | |
11197 | ||
6f6dedf5 NP |
11198 | 2004-03-03 Nicolas Pitre <nico@cam.org> |
11199 | ||
11200 | * config/arm/ieee754-df.S (muldf3, divdf3): Fix denormalization of | |
11201 | small negative values. | |
11202 | ||
6790d1ab JH |
11203 | 2004-03-03 Jan Hubicka <jh@suse.cz> |
11204 | ||
11205 | * cselib.c (hash_table): Remove GTY marker. | |
11206 | (reg_values): Turn into array. | |
11207 | (used_regs): Likewise. | |
11208 | (n_used_regs): New static variable. | |
11209 | (reg_values_old): Kill. | |
11210 | (clear_table): Update uses of arrays. | |
11211 | (cselib_lookup): Likewise. | |
11212 | (cselib_record_set): Likewise. | |
11213 | (cselib_init): Likewise. | |
11214 | (cselib_finish): Likewise. | |
11215 | (cselib_udpate_varray_sizes): Kill. | |
11216 | * cselib.h (cselib_update_varray_sizes): Kill. | |
11217 | ||
33e6a97a PB |
11218 | 2004-03-03 Paul Brook <paul@codesourcery.com> |
11219 | ||
11220 | * flow.c (ior_reg_cond, and_reg_cond): Remove stray ")". | |
11221 | ||
b9dcdee4 JH |
11222 | 2004-03-03 Jan Hubicka <jh@suse.cz> |
11223 | ||
11224 | * ggc-common.c (ggc_alloc_cleared_stat, ggc_realloc_stat): | |
11225 | Rename from ...; make statistics transparent. | |
11226 | (ggc_alloc_cleared, ggc_realloc_stat): ... these. | |
11227 | (loc_descriptor): New structure. | |
11228 | (hash_descriptor, eq_descriptor, loc_descriptor, cmp_statistics, | |
11229 | add_statistics): | |
11230 | New static function. | |
11231 | (ggc_record_overhead, dump_statistics): New global function. | |
11232 | * ggc-none.c (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat, | |
11233 | ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Rename | |
11234 | from ...; accept locations | |
11235 | (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared, | |
11236 | ggc_realloc, ggc_alloc_typed): ... this one. | |
11237 | from ...; accept locations | |
11238 | * ggc-page.c (ggc_alloc_typed_stat, ggc_alloc_zone_stat, | |
11239 | ggc_alloc_stat): Rename from ... ; pass locations | |
11240 | * ggc-page.c (ggc_alloc_typed, ggc_alloc_zone, ggc_alloc): | |
11241 | ... this one. | |
11242 | (ggc_alloc_stat): Record overehead. | |
11243 | * ggc.h (ggc_alloc_types, ggc_alloc, ggc_alloc_zone, ggc_alloc_cleared, | |
11244 | ggc_realloc, ggc_alloc_typed): Turn to macros | |
11245 | (ggc_alloc_types_stat, ggc_alloc_stat, ggc_alloc_zone_stat, | |
11246 | ggc_alloc_cleared_stat, ggc_realloc_stat, ggc_alloc_typed_stat): Declare. | |
11247 | (dump_ggc_loc_satistics, ggc_record_overehead): Declare. | |
11248 | * langhooks.h (lhd_make_node): Declare. | |
11249 | (LANG_HOOKS_MAKE_TYPE): Default to new function, | |
11250 | * langhooks.c (lhd_make_node): New. | |
11251 | * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Rename from ... ; pass | |
11252 | locations. | |
11253 | (rtx_alloc, swallow_copy_rtx): ... this one. | |
11254 | * rtl.h (rtx_alloc, swallow_copy_rtx): Turn to macros. | |
11255 | * rtl.c (rtx_alloc_stat, swallow_copy_rtx_stat): Declare. | |
11256 | * toplpev.c (finalize): Dump stats. | |
11257 | * tree.c (make_node_stat, copy_node_stat, make_tree_vec_stat, | |
11258 | build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat): | |
11259 | Rename from ... ; pass locators. | |
11260 | (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons, | |
11261 | build?, build_decl): Declare. | |
11262 | * tree.h (make_node_stat, copy_node_stat, make_tree_vec_stat, | |
11263 | build_tree_list_stat, tree_cons_stat, build?_stat, build_decl_stat): | |
11264 | Declare. | |
11265 | (make_node, copy_node, make_tree_vec, build_tree_list, tree_cons, | |
11266 | build?, build_decl): New macros. | |
11267 | * Makefile.in (RTL_H, TREE_H): Add statistics.h dependency. | |
11268 | * statistics.h: New file. | |
11269 | ||
6ba7b547 MR |
11270 | 2004-03-03 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
11271 | Richard Sandiford <rsandifo@redhat.com> | |
11272 | ||
11273 | * config/mips/mips.h (MASK_FIX_SB1): Bump. | |
11274 | (MASK_FIX_R4400, TARGET_FIX_R4400): New macros. | |
11275 | (TARGET_SWITCHES): Add -mfix-r4400 and -mno-fix-r4400. | |
11276 | * config/mips/mips.c (mips_output_division): Fill the branch delay | |
11277 | slot with a nop if TARGET_FIX_R4000. Extend R4000 workarounds to | |
11278 | TARGET_FIX_R4400. | |
11279 | (mips_output_division): Adjust accordingly. | |
11280 | (override_options): Make -march=r4400 imply -mfix-r4400 by default. | |
11281 | * doc/invoke.texi: Document -mfix-r4400 and new errata workarounds. | |
11282 | ||
ec8e098d PB |
11283 | 2004-03-03 Paolo Bonzini <bonzini@gnu.org> |
11284 | ||
11285 | * alias.c (rtx_equal_for_memref_p): Use predicates | |
11286 | to test rtx classes and new rtx class codes, possibly | |
11287 | splitting conditionals that tested against '<' and 'o'. | |
11288 | * caller-save.c (save_call_clobbered_regs): Likewise. | |
11289 | * combine.c (contains_muldiv, find_split_point, subst, | |
11290 | combine_simplify_rtx, simplify_if_then_else, | |
11291 | simplify_set, simplify_logical, expand_compound_operation, | |
11292 | make_compound_operation, if_then_else_cond, known_cond, | |
11293 | apply_distributive_law, cached_nonzero_bits, | |
11294 | cached_num_sign_bit_copies, simplify_shift_const, | |
11295 | gen_binary, simplify_comparison, update_table_tick, | |
11296 | record_value_for_reg, get_lsat_value_validate): Likewise. | |
11297 | * cse.c (mention_regs, find_best_addr, find_comparison_args, | |
11298 | fold_rtx, cse_insn, invalidate_memory, cse_basic_block): | |
11299 | Likewise. | |
11300 | * emit-rtl.c (copy_insn_1): Likewise. | |
11301 | * expr.c (force_operand): Likewise. | |
11302 | * final.c (final_scan_insn, get_mem_expr_from_op): Likewise. | |
11303 | * flow.c (notice_stack_pointer_modification_1, | |
11304 | invalidate_mems_from_autoinc, ior_reg_cond, not_reg_cond, | |
11305 | and_reg_cond, elim_reg_cond): Likewise. | |
11306 | * function.c (update_epilogue_consts): Likewise. | |
11307 | * genattrtab.c (attr_rtx_1): Likewise. | |
11308 | * genopinit.c (gen_insn): Likewise. | |
11309 | * integrate.c (subst_constants): Likewise. | |
11310 | * jump.c (reversed_comparison_code_parts, | |
11311 | reversed_comparison_code, delete_related_insns, | |
11312 | rtx_renumbered_equal_p): Likewise. | |
11313 | * local-alloc.c (block_alloc): Likewise. | |
11314 | * loop.c (rtx_equal_for_prefetch_p, maybe_eliminate_biv, | |
11315 | canonicalize_condition): Likewise. | |
11316 | * loop-iv.c (simplify_using_conditions, iv_number_of_iterations): | |
11317 | Likewise. | |
11318 | * optabs.c (add_equal_node, expand_binop): Likewise. | |
11319 | * predict.c (estimate_probability): Likewise. | |
11320 | * ra-debug.c (ra_print_rtx_2op, ra_print_rtx): Likewise. | |
11321 | * recog.c (validate_replace_rtx_1, comparison_operator, | |
11322 | offsettable_address_p, constrain_operands): Likewise. | |
11323 | * reg-stack.c (swap_rtx_condition_1, subst_stack_regs_pat): | |
11324 | Likewise. | |
11325 | * regclass.c (scan_one_insn): Likewise. | |
11326 | * regmove.c (stable_and_no_regs_but_for_p): Likewise. | |
11327 | * regrename.c (kill_autoinc_value): Likewise. | |
11328 | * reload.c (find_reusable_reload, find_reloads, | |
11329 | reg_overlap_mentioned_for_reload_p): Likewise. | |
11330 | * reload1.c (gen_reload, delete_address_reloads_1): Likewise. | |
11331 | * rtl.c (copy_rtx): Likewise. | |
11332 | * rtl.h (CONSTANT_P, INSN_P): Likewise. | |
11333 | * rtlanal.c (commutative_operand_precedence): Likewise. | |
11334 | * sched-deps.c (conditions_mutex_p): Likewise. | |
11335 | * sched-rgn.c (is_cfg_nonregular): Likewise. | |
11336 | * simplify-rtx.c (simplify_gen_binary, | |
11337 | simplify_gen_relational, simplify_replace_rtx, | |
11338 | simplify_unary_operation, simplify_binary_operation, | |
11339 | simplify_ternary_operation, simplify_rtx): Likewise. | |
11340 | * unroll.c (reg_dead_after_loop): Likewise. | |
11341 | * config/alpha/alpha.c (alpha_swapped_comparison_operator, | |
11342 | print_operand): Likewise. | |
11343 | * config/arc/arc.c (proper_comparison_operator): Likewise. | |
11344 | * config/arm/arm.c (arm_arm_address_cost, arm_select_cc_mode): | |
11345 | Likewise. | |
11346 | * config/avr/avr.c (_reg_unused_after): Likewise. | |
11347 | * config/frv/frv.c (frv_ifcvt_modify_tests, | |
11348 | frv_ifcvt_modify_insn, frv_pack_insn): Likewise. | |
11349 | * config/i386/i386.c (ix86_comparison_operator, | |
11350 | ix86_carry_flag_operator, fcmov_comparison_operator, | |
11351 | arith_or_logical_operator, print_operand, | |
11352 | ix86_expand_binary_operator, ix86_binary_operator_ok): | |
11353 | Likewise. | |
11354 | * config/i386/i386.md: Likewise. | |
11355 | * config/ia64/ia64.c (not_postinc_memory_operand, | |
11356 | ia64_print_operand, update_set_flags, errata_emit_nops): | |
11357 | Likewise. | |
11358 | * config/ia64/ia64.h (PREFERRED_RELOAD_CLASS, | |
11359 | CONSTRAINT_OK_FOR_S): Likewise. | |
11360 | * config/ip2k/ip2k.c (mdr_resequence_xy_yx, | |
11361 | mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref, | |
11362 | ip2k_xexp_not_uses_reg_for_mem, ip2k_xexp_not_uses_reg_p, | |
11363 | ip2k_composite_xexp_not_uses_reg_p, ip2k_unary_operator): | |
11364 | Likewise. | |
11365 | * config/iq2000/iq2000.c (cmp_op, symbolic_expression_p, | |
11366 | eqne_comparison_operator, signed_comparison_operator): | |
11367 | Likewise. | |
11368 | * config/mips/mips.c (cmp_op, symbolic_expression_p): | |
11369 | Likewise. | |
11370 | * config/mmix/mmix (mmix_foldable_comparison_operator, | |
11371 | mmix_comparison_operator): Likewise. | |
11372 | * config/pa/pa.c (hppa_legitimize_address): Likewise. | |
11373 | * config/rs6000/rs6000.c (stmw_operation, | |
11374 | branch_comparison_operator, trap_comparison_operator, | |
11375 | ccr_bit): Likewise. | |
11376 | * config/rs6000/rs6000.h (SELECT_CC_MODE): Likewise. | |
11377 | * config/s390/s390.c (s390_alc_comparison, | |
11378 | s390_slb_comparison):L Likewise. | |
11379 | * config/sh/sh.c (gen_block_redirect, reg_unused_after): | |
11380 | Likewise. | |
11381 | * config/sparc/sparc.c (eq_or_neq, normal_comp_operator, | |
11382 | noov_compare_op, noov_compare64_op, v9_regcmp_op, | |
11383 | emit_hard_tfmode_operation, reg_unused_after) | |
11384 | * doc/md.texi, doc/rtl.texi: Likewise. | |
11385 | ||
11386 | * ra-debug.c: Add 2004 to list of copyright years. | |
11387 | * unroll.c: Likewise. | |
11388 | ||
11389 | * combine.c (simplify_logical): Remove dummy test, | |
11390 | (apply_distributive_law): Fix typo in comment. | |
11391 | GET_CODE (x) == AND so x is a commutative binary op. | |
11392 | * jump.c (delete_related_insns): simplify loop | |
11393 | condition, move testing of RTX codes inside the loop. | |
11394 | (rtx_renumbered_equal_p): do not use RTX_CODE. | |
11395 | * rtl.c (rtx_class): Declare as enum rtx_class. | |
11396 | * rtl.def (EQ, NE, UNEQ, LTGT, UNORDERED, ORDERED): | |
11397 | Move to RTX_COMM_COMPARE class. | |
11398 | (HIGH, SYMBOL_REF, LABEL_REF, CONST, CONST_INT, CONST_DOUBLE): | |
11399 | Move to RTX_CONST_OBJ class. | |
11400 | * rtl.h (enum rtx_class): New declaration, | |
11401 | (RTX_OBJ_MASK, RTX_OBJ_RESULT, RTX_COMPARE_MASK, | |
11402 | RTX_COMPARE_RESULT, RTX_ARITHMETIC_MASK, RTX_ARITHMETIC_RESULT, | |
11403 | RTX_BINARY_MASK, RTX_BINARY_RESULT, RTX_COMMUTATIVE_MASK, | |
11404 | RTX_COMMUTATIVE_RESULT, RTX_NON_COMMUTATIVE_RESULT, | |
11405 | RTX_EXPR_FIRST, RTX_EXPR_LAST, UNARY_P, BINARY_P, | |
11406 | ARITHMETIC_P, COMMUTATIVE_ARITHMETIC_P, COMPARISON_P, | |
11407 | SWAPPABLE_OPERANDS_P, NON_COMMUTATIVE_P, COMMUTATIVE_P, | |
11408 | OBJECT_P): New macros. | |
11409 | * config/sparc/sparc.c (noov_compare_op): Remove register | |
11410 | from parameter. | |
11411 | ||
a841ab8b KH |
11412 | 2004-03-03 Kazu Hirata <kazu@cs.umass.edu> |
11413 | ||
11414 | * target.h: Remove texi jargons in comments. | |
11415 | ||
cb36ddba KH |
11416 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11417 | ||
11418 | * config/h8300/lib1funcs.asm (___fixunssfsi): Change the | |
11419 | threshold to 0x4f. | |
11420 | ||
11421 | Revert: | |
11422 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> | |
11423 | * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300 | |
11424 | as well. | |
11425 | * config/h8300/lib1funcs.asm (___fixunssfsi): Remove. | |
11426 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm. | |
11427 | ||
66c87bae KH |
11428 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11429 | ||
11430 | * doc/md.texi (cbranchmode4): New. | |
11431 | ||
91e01231 EC |
11432 | 2004-03-02 Eric Christopher <echristo@redhat.com> |
11433 | ||
11434 | * config/mips/mips16.S: Change fixsfsi and fixdfsi to | |
11435 | fix_trunc. | |
11436 | * config/mips/mips.c (mips_init_libfuncs): Change accordingly. | |
11437 | * config/mips/t-elf (LIB1ASMFUNCS): Ditto. | |
11438 | * config/mips/t-isa3264 (LIB1ASMFUNCS): Ditto. | |
11439 | * config/mips/t-r3900 (LIB1ASMFUNCS): Ditto. | |
11440 | ||
27ab3e91 RH |
11441 | 2004-03-02 Richard Henderson <rth@redhat.com> |
11442 | ||
3205a71e ZW |
11443 | PR middle-end/11767 |
11444 | * coverage.c (coverage_counter_ref): Set MEM_NOTRAP_P. | |
11445 | * optabs.c (prepare_cmp_insn): Force trapping memories to registers | |
11446 | before the compare, if flag_non_call_exceptions. | |
27ab3e91 | 11447 | |
0eadce52 RH |
11448 | 2004-03-02 Richard Henderson <rth@redhat.com> |
11449 | ||
11450 | PR middle-end/14327 | |
11451 | * stmt.c (expand_computed_goto): Do do_pending_stack_adjust before | |
11452 | emitting the label, not after. | |
11453 | ||
de70723b SC |
11454 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
11455 | ||
11456 | * config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable. | |
11457 | (m68hc11_mov_addr_mode): Likewise. | |
11458 | (m68hc11_override_options): Initialize them based on target. | |
11459 | (register_indirect_p): Allow a MEM for indirect addressing modes and | |
11460 | use flags to control what is allowed. | |
11461 | (m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for | |
11462 | supported addressing modes. | |
11463 | (m68hc11_register_indirect_p): Use m68hc11_addr_mode. | |
11464 | (go_if_legitimate_address_internal): Likewise. | |
11465 | (m68hc11_indirect_p): Likewise and check the mode. | |
11466 | (print_operand): Allow a (MEM (MEM)) and generate indirect addressing. | |
11467 | ||
d6da68b9 KH |
11468 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11469 | ||
11470 | * builtins.c (BUILTIN_SETJMP_FRAME_VALUE): Remove. | |
11471 | (expand_builtin_setjmp_setup): Use | |
11472 | targetm.builtin_setjmp_frame_value instead of | |
11473 | BUILTIN_SETJMP_FRAME_VALUE. | |
11474 | * system.h (BUILTIN_SETJMP_FRAME_VALUE): Poison. | |
11475 | * target-def.h (TARGET_BUILTIN_SETJMP_FRAME_VALUE): New. | |
11476 | (TARGET_INITIALIZER): Add TARGET_BUILTIN_SETJMP_FRAME_VALUE. | |
11477 | * target.h (gcc_target): Add builtin_setjmp_frame_value. | |
11478 | * targhooks.c (default_builtin_setjmp_frame_value): New. | |
11479 | * targhooks.h: Add a prototype for | |
11480 | default_builtin_setjmp_frame_value. | |
11481 | * doc/tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Change to | |
11482 | TARGET_BUILTIN_SETJMP_FRAME_VALUE. | |
11483 | ||
d87e83b9 SC |
11484 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
11485 | ||
11486 | * config/m68hc11/m68hc11.md (move peephole2): New peepholes to optimize | |
11487 | sequences of moves. | |
11488 | (add peepholes): New peepholes to optimize sequences adding small | |
11489 | constants. | |
11490 | (bset peepholes): New peepholes to transform an OR in a bset form | |
11491 | (bclr peepholes): Likewise for bclr form. | |
11492 | (cmp peepholes): New peepholes to avoid register copies when comparing. | |
11493 | ||
d5111c9c SC |
11494 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
11495 | ||
11496 | * config/m68hc11/m68hc11.md ("*pushdi_internal"): New insn and split | |
11497 | to separate push from moves. | |
11498 | ("*pushdf_internal"): Likewise. | |
11499 | ("*pushsf_internal"): Likewise. | |
11500 | ("*pushsi_internal"): Likewise. | |
11501 | ("movdi_internal"): Use define_insn_and_split; non push operand. | |
11502 | ("movdf_internal"): Likewise. | |
11503 | ("movsf_internal"): Likewise. | |
11504 | ("movsi_internal"): Likewise. | |
11505 | ("*movhi_68hc12", "*addhi3_68hc12"): Fix and tune constraints | |
11506 | ("*addhi3", "*subhi3", "*andhi3_mem", "*iorhi3_mem"): Likewise. | |
11507 | ("*ashlsi3_const1", "*lshrsi3_const1"): Likewise. | |
11508 | ||
9449502d SC |
11509 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
11510 | ||
11511 | * config/m68hc11/m68hc11.md ("tstqi_z_used"): Use define_insn_and_split. | |
11512 | ("cmphi_z_used", "cmpqi_z_used"): Likewise. | |
11513 | ("movstrictsi", "movstricthi", "movstrictqi"): Likewise. | |
11514 | ("anddi3", "andsi3", "iordi3", "iorsi3"): Likewise. | |
11515 | ("xordi3", "xorsi3", "*logicalsi3_zexthi"): Likewise. | |
11516 | ("*logicalsi3_zextqi", "*logicalhi3_zexthi_ashift8"): Likewise. | |
11517 | ("logicalhi3_zexthi", "*logicalsi3_silshr16"): Likewise. | |
11518 | ("*logicalsi3_silshl16", "*logicalsi3_silshl16_zext"): Likewise. | |
11519 | ("*ashldi3_const32", "*ashldi3_const1", "addsi_silshr16"): Likewise. | |
11520 | ("addsi_andshr16", "*ashlsi3_const16_zexthi"): Likewise. | |
11521 | ("*lshrdi3_const32", "*lshrdi_const1"): Likewise. | |
11522 | ||
b90f3299 SC |
11523 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
11524 | ||
11525 | * config/m68hc11/m68hc11.md (SOFT_TMP_REGNUM): Define. | |
11526 | (SOFT_XY_REGNUM): Define. | |
11527 | (cmp split): Use the above instead of hard coded numbers. | |
11528 | (8-bit op split): No need to check the mode; allow Q_REG. | |
11529 | (ashift split): Adjust the first operand if it uses the SP and we | |
11530 | are pushing the shifted value. | |
11531 | (plus shift split): Fix when a source is in register D+X. | |
11532 | ("doloop_end"): Pass dummy arguments to gen_rtx_NE. | |
11533 | ||
77d2a36d SC |
11534 | 2004-03-02 Stephane Carrez <stcarrez@nerim.fr> |
11535 | ||
11536 | * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix when | |
11537 | comparing with Z register. | |
11538 | ||
f2dca510 ZD |
11539 | 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11540 | ||
11541 | * cfgloop.h (struct loop_desc): Removed. | |
11542 | (struct loop): Fields simple, desc and has_desc removed. | |
11543 | (simple_loop_p, count_loop_iterations): Declaration removed. | |
11544 | * cfgloopanal.c (struct unmark_altered_insn_data): Removed. | |
11545 | (unmark_altered, blocks_invariant_registers, unmark_altered_insn | |
11546 | blocks_single_set_registers, invariant_rtx_wrto_regs_p_helper, | |
11547 | invariant_rtx_wrto_regs_p, test_for_iteration, constant_iterations, | |
11548 | simple_loop_exit_p, variable_initial_value, variable_initial_values, | |
11549 | simple_condition_p, simple_increment, count_strange_loop_iterations, | |
11550 | inverse, fits_in_mode_p, simple_loop_p, count_loop_iterations): | |
11551 | Removed. | |
11552 | * loop-iv.c (check_simple_exit, find_simple_exit): Update comments. | |
11553 | ||
87ca8b8c KH |
11554 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11555 | ||
11556 | * genattrtab.c: Don't handle MATCH_INSN. | |
11557 | * genrecog.c: Likewise. | |
11558 | * gensupport.c: Likewise. | |
11559 | * rtl.def (match_insn): Remove. | |
11560 | * doc/md.texi (match_insn, match_insn2): Remove. | |
11561 | ||
bdc2893c MM |
11562 | 2004-03-02 Mark Mitchell <mark@codesourcery.com> |
11563 | ||
11564 | * doc/c-tree.texi (DECL_ASSEMBLER_NAME): Mention that using this | |
11565 | macro results in memory allocation. | |
11566 | ||
2de2f846 DB |
11567 | 2004-03-02 David O'Brien <obrien@FreeBSD.org> |
11568 | ||
11569 | * config/freebsd-spec.h (FBSD_DYNAMIC_LINKER): Add. | |
11570 | * config/alpha/freebsd.h (SUBTARGET_EXTRA_SPECS): Define | |
11571 | %(fbsd_dynamic_linker), | |
11572 | (LINK_SPEC): Use %(fbsd_dynamic_linker), and sync style with | |
11573 | config/i386/freebsd.h | |
11574 | * config/arm/freebsd.h: Ditto. | |
11575 | * config/i386/freebsd.h: Ditto. | |
11576 | * config/i386/freebsd64.h: Ditto. | |
11577 | * config/ia64/freebsd.h: Ditto. | |
11578 | * config/rs6000/sysv4.h: Ditto. | |
11579 | * config/sparc/freebsd.h: Ditto. | |
11580 | ||
f08dc6c1 LR |
11581 | 2004-03-02 Loren James Rittle <ljrittle@acm.org> |
11582 | ||
11583 | * gcc/doc/install.texi (*-*-freebsd*): Update target information. | |
11584 | ||
c24938d4 KH |
11585 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11586 | ||
11587 | * rtl.def (define_combine): Remove. | |
11588 | ||
ba29f5de KH |
11589 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11590 | ||
11591 | * config/h8300/h8300.md: Tweak formatting. | |
11592 | ||
a5a0ab45 KH |
11593 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11594 | ||
11595 | * config/h8300/h8300.md (*cmphi_h8300): Rename to | |
11596 | *cmphi_h8300_znvc. | |
11597 | (*cmphi_h8300hs): Rename to *cmphi_h8300hs_znvc. | |
11598 | ||
e451301f MM |
11599 | 2004-03-01 Mark Mitchell <mark@codesourcery.com> |
11600 | ||
11601 | PR bootstrap/14356 | |
11602 | * gcc.c (process_command): Remove const-qualification from argv. | |
11603 | (main): Likewise. | |
11604 | ||
b698e58b KH |
11605 | 2004-03-02 Kazu Hirata <kazu@cs.umass.edu> |
11606 | ||
11607 | * config/h8300/h8300.md (pushqi1_h8300hs): Rename to | |
11608 | pushqi1_h8300hs_advanced. Adjust its caller. | |
11609 | (pushhi1_h8300hs): Rename to pushhi1_h8300hs_advanced. | |
11610 | Adjust its caller. | |
11611 | ||
a5c40cfb | 11612 | 2004-03-02 Nicolas Roche <roche@act-europe.fr> |
3a41db81 NR |
11613 | |
11614 | * Makefile.in (install-libgcc, install-multilib): Pass | |
11615 | mkinstalldirs var to libgcc.mk. | |
11616 | ||
fdf89bf5 KH |
11617 | 2004-03-01 Kazu Hirata <kazu@cs.umass.edu> |
11618 | ||
11619 | * system.h (DBX_OUTPUT_STANDARD_TYPES): Poison. | |
11620 | * doc/tm.texi (DBX_OUTPUT_STANDARD_TYPES): Remove. | |
11621 | ||
0e26895c KH |
11622 | 2004-03-01 Kazu Hirata <kazu@cs.umass.edu> |
11623 | ||
11624 | * config/h8300/h8300.c (gtle_operator): Accept GT and LE. | |
11625 | * config/h8300/h8300.md: Split several peephole2's, each into | |
11626 | two. | |
11627 | ||
738ed977 ZD |
11628 | 2004-03-02 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11629 | ||
11630 | * dominance.c (recount_dominator): Handle postdominators. | |
11631 | ||
e245bd81 RS |
11632 | 2004-03-01 Richard Sandiford <rsandifo@redhat.com> |
11633 | ||
11634 | * config/mips/mips-protos.h (enum mips_symbol_type): Move from mips.h. | |
11635 | (NUM_SYMBOL_TYPES): Likewise. | |
11636 | (SYMBOL_64_HIGH, SYMBOL_64_MID, SYMBOL_64_LOW): New symbol types. | |
11637 | (mips_unspec_address): Declare. | |
11638 | (mips_gotoff_page, mips_gotoff_global): Delete. | |
11639 | * config/mips/mips.h (PREDICATE_CODES): Add general_symbolic_operand. | |
11640 | * config/mips/mips.c (enum mips_symbol_type, NUM_SYMBOL_TYPES): Delete. | |
11641 | (mips_symbolic_constant_p, mips_symbolic_address_p) | |
11642 | (mips_symbol_insns): Handle new symbol types. | |
11643 | (general_symbolic_operand): New predicate. | |
11644 | (mips_unspec_address): Make extern. | |
11645 | (mips_gotoff_page, mips_gotoff_global): Delete. | |
11646 | (override_options): Allow -mabi=64 -mno-abicalls -mexplicit-relocs. | |
11647 | Handle new symbol types. | |
11648 | * config/mips/mips.md (*lea_high64, *lea64): New patterns. | |
11649 | (*xgot_hi[sd]i, *xgot_lo[sd]i, *got_disp[sd]i, *got_disp[sd]i): Call | |
11650 | mips_unspec_address directly. | |
11651 | * doc/invoke.texi: Remove the -mabi=64 -mno-abicalls exception from | |
11652 | the documentation of -mexplicit-relocs. | |
11653 | ||
9bf793f9 JL |
11654 | 2004-03-01 Jeff Law <law@redhat.com> |
11655 | ||
11656 | * fold-const.c (fold): An equality comparison of a non-weak object | |
11657 | against zero has a known result. Similarly an equality comparison | |
11658 | of the address of two non-weak, unaliased symbols has a known result. | |
91e01231 | 11659 | |
9bf793f9 JL |
11660 | * ggc-page.c (struct page_entry): New field PREV. |
11661 | (ggc_alloc): Update PREV field appropriately. | |
11662 | (sweep_pages): Likewise. | |
11663 | (ggc_free): Likewise. Use PREV field rather than loop to | |
11664 | improve ggc_free performance. | |
91e01231 | 11665 | |
c9e0ce37 RS |
11666 | 2004-03-01 Richard Sandiford <rsandifo@redhat.com> |
11667 | ||
11668 | * config/mips/mips.c (mips_output_division): Use the division | |
11669 | instruction to fill the delay slot of a zero check. | |
11670 | (mips_idiv_insns): Adjust accordingly. | |
11671 | ||
65d151a7 NN |
11672 | 2004-03-01 Nathanael Nerode <neroden@gcc.gnu.org> |
11673 | ||
11674 | * config.gcc: Create a default tmake_file for linux, and use | |
11675 | it in all but two linux clauses. Comment those two. | |
11676 | ||
9a5a17f3 PB |
11677 | 2004-03-01 Paolo Bonzini <bonzini@gnu.org> |
11678 | ||
11679 | * combine.c (try_combine): Do not refer to is_replaced. | |
11680 | (gen_lowpart_for_combine): Perverse subregs now have a | |
11681 | more politically correct name. | |
11682 | * cse.c (cse_insn): Likewise. | |
11683 | * jump.c: Fix bogus reference to delete_insn. | |
11684 | ||
c5b6f18e MM |
11685 | 2004-02-29 Mark Mitchell <mark@codesourcery.com> |
11686 | ||
5bb2ed2c MM |
11687 | PR debug/14328 |
11688 | * dwarf2out.c (gen_enumeration_type_die): Output all enumeration | |
11689 | constants as signed values. | |
11690 | ||
c5b6f18e MM |
11691 | PR middle-end/13448 |
11692 | * c-tree.h (readonly_warning): Rename to ... | |
11693 | (readonly_error): ... this. | |
11694 | * c-typeck.c (build_unary_op): Adjust accordingly. | |
11695 | (readonly_warning): Rename to ... | |
11696 | (readonly_error): ... this and issue errors, not warnings. | |
11697 | (build_modify_expr): Call readonly_error, not readonly_warning. | |
11698 | (c_expand_asm_operands): Likewise. | |
11699 | * tree-inline.c (optimize_inline_calls): Do not inline functions | |
11700 | after errors have occurred. | |
11701 | ||
8bb915b6 NN |
11702 | 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org> |
11703 | ||
11704 | * configure.ac: Rearrange some threading code for clarity; | |
11705 | add section comment. | |
11706 | * configure: Regenerate. | |
11707 | ||
4ee31f1e KH |
11708 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
11709 | ||
11710 | * passes.c, config/frv/frv.c, config/sh/sh.c: Fix comment | |
11711 | typos. | |
11712 | * doc/cppopts.texi: Fix a typo. | |
11713 | ||
15ec19b9 KH |
11714 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
11715 | ||
11716 | * config/i386/i386.md: Fix formatting. | |
11717 | ||
cbff2c1c NN |
11718 | 2004-02-29 Nathanael Nerode <neroden@gcc.gnu.org> |
11719 | ||
630327c3 NN |
11720 | * configure.ac: Add some comments delineating sections of code. |
11721 | ||
38fe9090 NN |
11722 | * doc/install.texi: Note that libada uses autoconf 2.57 also. |
11723 | ||
42fce956 NN |
11724 | * doc/install.texi: Fix idiot typo in previous commit. |
11725 | ||
cbff2c1c NN |
11726 | * doc/install.texi: Update for conversion of intl to autoconf 2.57. |
11727 | ||
c8574b54 KH |
11728 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
11729 | ||
11730 | * config/h8300/h8300.md: Add comments about peephole2's. | |
11731 | ||
2f537af9 KH |
11732 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
11733 | ||
11734 | * config/h8300/h8300.md: Tweak operand numbers of some | |
11735 | peephole2's. | |
11736 | ||
a207f649 KH |
11737 | 2004-02-29 Kazu Hirata <kazu@cs.umass.edu> |
11738 | ||
11739 | * config/h8300/h8300.md: Tweak comments about peephole2's. | |
11740 | ||
bc41842b RS |
11741 | 2004-02-29 Waldek Hebisch <hebisch@math.uni.wroc.pl> |
11742 | ||
11743 | PR middle-end/14203 | |
11744 | * function.c (uninitialized_vars_warning): Use DECL_RTL_SET_P | |
11745 | instead of testing whether DECL_RTL is not NULL. | |
11746 | ||
832a3292 KH |
11747 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
11748 | ||
11749 | * config/sh/sh.c: Fix formatting. | |
11750 | ||
508ea1c5 KH |
11751 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
11752 | ||
11753 | * config/sh/sh.c: Convert to ISO-C. | |
11754 | ||
dd833c7b | 11755 | 2004-02-28 Andrew Pinski <pinskia@physics.uc.edu> |
91e01231 | 11756 | |
8cd6bdd1 AP |
11757 | * c-typeck.c (tagged_types_tu_compatible_p): Fix pasto in |
11758 | my previous patch. | |
dd833c7b AP |
11759 | |
11760 | * config/darwin.h (machopic_finish): Output stub even if the | |
11761 | symbol is already defined. | |
11762 | ||
5f190838 JDA |
11763 | 2004-02-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
11764 | ||
11765 | * pa64-hpux.h (LIB_SPEC): Fix linking under HP-UX 11.00 with -p and -pg. | |
11766 | ||
c1a41c2f KH |
11767 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
11768 | ||
11769 | * genattr.c (main): Don't define | |
11770 | TRADITIONAL_PIPELINE_INTERFACE or DFA_PIPELINE_INTERFACE. | |
11771 | * system.h (TRADITIONAL_PIPELINE_INTERFACE): Poison. | |
11772 | (DFA_PIPELINE_INTERFACE): Likewise. | |
11773 | * doc/tm.texi (TRADITIONAL_PIPELINE_INTERFACE): Remove. | |
11774 | (DFA_PIPELINE_INTERFACE): Likewise. | |
11775 | ||
757f9053 RS |
11776 | 2004-02-28 Richard Sandiford <rsandifo@redhat.com> |
11777 | ||
11778 | * config/mips/mips.md (tstsi, tstdi): Delete. | |
11779 | ||
23cf6987 MR |
11780 | 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
11781 | ||
91e01231 | 11782 | * config/mips/mips.c (override_options): Remove an obsolete |
23cf6987 MR |
11783 | duplicate definition of the "e" constraint. |
11784 | * config/mips/mips.h: Update a comment accordingly. | |
11785 | ||
bddbfe5f MR |
11786 | 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
11787 | ||
11788 | * config/mips/mips.md: Complete the unfinished R4000 | |
11789 | multiply/shift errata workaround. Improve documentation. | |
11790 | (hazard): Use TARGET_FIX_R4000 to decide whether an "imul" instruction | |
11791 | has a hilo hazard. | |
11792 | (mulsi3, mulsi3_internal, mulsi3_r4000): Use TARGET_FIX_R4000. | |
11793 | (muldi3, muldi3_internal): Likewise. | |
11794 | (muldi3_internal2): Remove, replacing with... | |
11795 | (muldi3_mult3, muldi3_r4000): ...these new patterns. | |
11796 | (mulsidi3): Take the errata into account. | |
11797 | (mulsidi3_32bit): Remove, replacing with... | |
11798 | (mulsidi3_32bit_internal, mulsidi3_32bit_r4000): ...these new patterns. | |
11799 | (mulsidi3_64bit, mulsidi3_64bit_parts): Disable if TARGET_FIX_R4000. | |
11800 | (umulsidi3): Take the errata into account. | |
11801 | (umulsidi3_32bit): Remove, replacing with.. | |
11802 | (umulsidi3_32bit_internal, umulsidi3_32bit_r4000): ...these patterns. | |
11803 | (umulsi3_highpart, umulsi3_highpart_internal): Disable if | |
11804 | TARGET_FIX_R4000. | |
11805 | (smulsi3_highpart, smulsi3_highpart_internal): Likewise. | |
11806 | (smuldi3_highpart, umuldi3_highpart): Likewise. | |
11807 | * doc/invoke.texi: Document the errata workaround. | |
11808 | ||
46490403 MR |
11809 | 2004-02-28 Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
11810 | ||
11811 | * config/mips/mips-protos.h (mips_idiv_insns): Declare. | |
11812 | * config/mips/mips.h (MASK_FIX_SB1): Bump. | |
11813 | (MASK_FIX_R4000, TARGET_FIX_R4000): New macros. | |
11814 | (TARGET_SWITCHES): Add -mfix-r4000 and -mno-fix-r4000. | |
11815 | * config/mips/mips.c (mips_idiv_insns): New function. | |
11816 | (override_options): Make -march=r4000 imply -mfix-r4000 by default. | |
11817 | (mips_output_division): Add a workaround for the R4000 divide/shift | |
11818 | errata. | |
11819 | * config/mips/mips.md (length): Use mips_idiv_insns() to calculate | |
11820 | the length of an "idiv" instruction. | |
11821 | * doc/invoke.texi: Document the new switches. | |
11822 | ||
1b2c3767 KH |
11823 | 2004-02-28 Kazu Hirata <kazu@cs.umass.edu> |
11824 | ||
11825 | * doc/tm.texi (IS_COSTLY_DEPENDENCE): Change to | |
11826 | TARGET_SCHED_IS_COSTLY_DEPENDENCE. | |
11827 | ||
79771cc4 ZD |
11828 | 2004-02-28 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
11829 | ||
11830 | PR optimization/14229 | |
11831 | * cfgrtl.c (rtl_tidy_fallthru_edge): Do not fail for !onlyjump jump. | |
11832 | ||
68a1a5da EB |
11833 | 2004-02-28 Eric Botcazou <ebotcazou@act-europe.fr> |
11834 | ||
11835 | * fold-const.c (fold): Strip NOPs that change the signedness | |
11836 | for RSHIFT too. Expand comment. | |
11837 | ||
a10016d3 ILT |
11838 | 2004-02-27 Ian Lance Taylor <ian@wasabisystems.com> |
11839 | ||
11840 | PR optimization/7871 | |
11841 | * flow.c (mark_set_1): Don't add LOG_LINKS for global registers | |
68a1a5da | 11842 | from or to call insns. |
a10016d3 ILT |
11843 | |
11844 | 2004-02-27 Eric Botcazou <ebotcazou@libertysurf.fr> | |
11845 | ||
11846 | PR optimization/7871 | |
11847 | * flow.c (propagate_one_insn): Interpret calls as setting global | |
11848 | registers, not merely clobbering them. | |
11849 | ||
b30e1617 | 11850 | 2004-02-27 Dale Johannesen <dalej@apple.com> |
a10016d3 | 11851 | |
b30e1617 DJ |
11852 | * config/darwin.c (machopic_output_possible_stub_label): Remove. |
11853 | config/darwin-protos.h: Ditto. | |
11854 | config/darwin.h: Remove call to it. | |
11855 | * combine.c (distribute_notes): Do not place a REG_DEAD note | |
11856 | when value is both set and used. | |
11857 | ||
bbc51dc2 KH |
11858 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> |
11859 | ||
11860 | * config/h8300/fixunssfsi.c (__fixunssfsi): Enable on H8/300 | |
11861 | as well. | |
11862 | * config/h8300/lib1funcs.asm (___fixunssfsi): Remove. | |
11863 | * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _fixunssfsi_asm. | |
11864 | ||
dedbabed AP |
11865 | 2004-02-27 Andrew Pinski <apinski@apple.com> |
11866 | ||
11867 | * c-typeck.c (tagged_types_tu_compatible_p) <ENUMERAL_TYPE>: | |
11868 | Speedup common case of the type values being in the same order. | |
11869 | ||
b6b979d4 SE |
11870 | 2004-02-27 Steve Ellcey <sje@cup.hp.com> |
11871 | ||
11872 | * config/ia64/ia64.h (no-inline-float-divide): New option. | |
11873 | * config/ia64/ia64.h (no-inline-int-divide): New option. | |
11874 | * config/ia64/ia64.h (no-inline-sqrt): New option. | |
11875 | (TARGET_DEFAULT): Add MASK_INLINE_FLOAT_DIV_THR to define. | |
11876 | * config/ia64/hpux.h (TARGET_DEFAULT): Ditto. | |
11877 | * config/ia64/ia64.c (ia64_override_options): Modify error | |
11878 | checking for inlined division/sqrt. | |
11879 | ||
88462c42 KH |
11880 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> |
11881 | ||
11882 | * bb-reorder.c, cfgbuild.c, diagnostic.c, explow.c, profile.c, | |
11883 | ra-build.c, read-rtl.c, tracer.c, unwind-dw2-fde-glibc.c, | |
11884 | value-prof.c, config/darwin-protos.h, config/frv/frv-abi.h, | |
11885 | config/i386/pmmintrin.h, config/pa/pa-hpux.h: Update | |
11886 | copyright. | |
11887 | ||
53c428d0 PB |
11888 | 2004-02-27 Paul Brook <paul@codesourcery.com> |
11889 | ||
11890 | * function.c (assign_parms): Don't count pretend args for alignment. | |
11891 | ||
f6db1481 RH |
11892 | 2004-02-27 Richard Henderson <rth@redhat.com> |
11893 | ||
11894 | * passes.c: New file. | |
11895 | * Makefile.in (OBJS-common): Add it. | |
11896 | * diagnostic.c (rtl_dump_and_exit): Move decl ... | |
11897 | * flags.h (rtl_dump_and_exit): ... here. | |
91e01231 | 11898 | * output.h (size_directive_output, last_assemble_variable_decl): |
f6db1481 RH |
11899 | Move from toplev.c. |
11900 | * rtl.h (reg_alloc): Move from toplev.c. | |
11901 | * toplev.c (HAVE_conditional_execution, DUMPFILE_FORMAT, | |
11902 | struct dump_file_info, enum dump_file_index, dump_file_tbl, | |
11903 | open_dump_file, close_dump_file, rest_of_decl_compilation, | |
11904 | rest_of_type_compilation, rest_of_handle_final, | |
91e01231 | 11905 | rest_of_handle_delay_slots, rest_of_handle_stack_regs, |
f6db1481 RH |
11906 | rest_of_handle_variable_tracking, rest_of_handle_machine_reorg, |
11907 | rest_of_handle_new_regalloc, rest_of_handle_old_regalloc, | |
11908 | rest_of_handle_regrename, rest_of_handle_reorder_blocks, | |
11909 | rest_of_handle_sched, rest_of_handle_sched2, rest_of_handle_regmove, | |
91e01231 | 11910 | rest_of_handle_tracer, rest_of_handle_if_conversion, |
f6db1481 RH |
11911 | rest_of_handle_if_after_combine, rest_of_handle_web, |
11912 | rest_of_handle_branch_prob, | |
11913 | rest_of_handle_value_profile_transformations, rest_of_handle_cfg, | |
91e01231 | 11914 | rest_of_handle_addressof, rest_of_handle_sibling_calls, |
f6db1481 RH |
11915 | rest_of_handle_jump_bypass, rest_of_handle_inlining, |
11916 | rest_of_handle_null_pointer, rest_of_handle_combine, | |
11917 | rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2, | |
91e01231 | 11918 | rest_of_handle_gcse, rest_of_handle_loop_optimize, |
f6db1481 RH |
11919 | rest_of_handle_loop2, rest_of_compilation): Move to passes.c. |
11920 | (decode_d_option): Use enable_rtl_dump_file. | |
11921 | (compile_file, finalize, do_compile): Move profile+combine+graph | |
11922 | cleanup to finish_optimization_passes. | |
11923 | * toplev.h (init_optimization_passes, finish_optimization_passes, | |
11924 | enable_rtl_dump_file): Declare. | |
11925 | ||
288dc1ea | 11926 | 2004-02-27 Eric Botcazou <ebotcazou@act-europe.fr> |
3205a71e | 11927 | Roger Sayle <roger@eyesopen.com> |
288dc1ea EB |
11928 | |
11929 | * fold-const.c (fold): Revert 2004-02-25 change. Use the original | |
11930 | operands to build a tree with swapped operands. | |
11931 | * expr.c (expand_expr_real) <MAX_EXPR>: Consistently use the | |
11932 | 'unsignedp' predicate to specify the signedness. | |
11933 | ||
a1105617 KH |
11934 | 2004-02-27 Kazu Hirata <kazu@cs.umass.edu> |
11935 | ||
11936 | * c-decl.c, c-ppoutput.c, combine.c, cppfiles.c, dwarf2out.c, | |
11937 | expr.c, fold-const.c, gcc.c, haifa-sched.c, loop-iv.c, | |
11938 | params.def, read-rtl.c, rtl.c, rtlanal.c, toplev.c: Fix | |
11939 | comment typos and formatting. Follow spelling conventions. | |
11940 | ||
d095928f AH |
11941 | 2004-02-26 Aldy Hernandez <aldyh@redhat.com> |
11942 | ||
11943 | * config/rs6000/rs6000.md: Add fixuns_truncsfsi2 and | |
11944 | fix_truncsfsi2. | |
11945 | ||
11946 | * config/rs6000/spe.md: Delete spe_efsctuiz. | |
11947 | Add spe_fixuns_truncsfsi2. | |
11948 | Add spe_fix_truncsfsi2. | |
91e01231 | 11949 | |
21526606 EC |
11950 | 2004-02-26 Eric Christopher <echristo@redhat.com> |
11951 | ||
11952 | * c-lex.c (c_lex_string_translate): New variable. | |
11953 | (lex_string): Use to determine string translation. | |
11954 | * c-pragma.h: Prototype. | |
11955 | * c-parse.in (start_string_translation): New. Set above. | |
11956 | (stop_string_translation): Ditto. | |
11957 | (attribute, attribute_list, asm_def, asm_stmt, | |
11958 | asm_operand): Use above functions. | |
11959 | * cp/parser.c (cp_parser_declaration): Translate strings | |
11960 | unless token is RID_EXTERN. Set c_lex_string_translate | |
11961 | for recursive use. | |
11962 | (cp_parser_asm_definition): Only translate argument strings | |
11963 | to asms. | |
11964 | (cp_parser_asm_operand_list): Ditto. | |
11965 | (cp_parser_attribute_list): Do not translate attribute strings. | |
11966 | ||
e8eebd31 KH |
11967 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
11968 | ||
11969 | * stmt.c (expand_start_case_dummy): Remove. | |
11970 | * tree.h: Remove the corresponding prototype. | |
11971 | ||
8f2de5f1 KH |
11972 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
11973 | ||
11974 | * builtins.c (apply_args_register_offset): Remove. | |
11975 | * tree.h: Remove the corresponding prototype. | |
11976 | ||
c7924937 KH |
11977 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
11978 | ||
11979 | * stor-layout.c (is_pending_size): Remove. | |
11980 | * tree.h: Remove the corresponding prototype. | |
11981 | ||
ca0afc29 KH |
11982 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
11983 | ||
11984 | * recog.c (validate_replace_src): Remove. | |
11985 | * recog.h: Remove the corresponding prototype. | |
11986 | ||
6c5caf00 KH |
11987 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
11988 | ||
11989 | * calls.c: Don't reference FINAL_REG_PARM_STACK_SPACE or | |
11990 | MAYBE_REG_PARM_STACK_SPACE. | |
11991 | * function.c: Likewise. | |
11992 | * system.h (FINAL_REG_PARM_STACK_SPACE): Poison. | |
11993 | (MAYBE_REG_PARM_STACK_SPACE): Likewise. | |
11994 | * doc/tm.texi (FINAL_REG_PARM_STACK_SPACE): Remove. | |
11995 | (MAYBE_REG_PARM_STACK_SPACE): Likewise. | |
11996 | ||
17fd9cb9 KH |
11997 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
11998 | ||
11999 | * c-decl.c (c_expand_deferred_function): Remove. | |
12000 | * c-tree.h: Remove the corresponding prototype. | |
12001 | ||
ec5de8d8 KH |
12002 | 2004-02-26 Kazu Hirata <kazu@cs.umass.edu> |
12003 | ||
12004 | * postreload.c (reload_cse_move2add): Generate just a PLUS | |
12005 | instead of an entire SET. | |
12006 | ||
5bbeea44 JH |
12007 | 2004-02-26 Jan Hubicka <jh@suse.cz> |
12008 | ||
12009 | * config.gcc: Add support for nocoma/prescott/pentium-m/pentium3m | |
12010 | /pentium4m. | |
12011 | * i386.c (override_options): Add support for new CPUs. | |
12012 | * i386.h (TARGET_CPU_DEFAULT_NAMES): New names. | |
12013 | (TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_pentium4e): New | |
12014 | constants. | |
12015 | * invoke.texi: Extend documentation of -mtune/-march for new CPUs. | |
12016 | ||
48c0150c BW |
12017 | 2004-02-26 Bob Wilson <bob.wilson@acm.org> |
12018 | ||
12019 | * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define __xtensa__. | |
12020 | ||
b178305d EB |
12021 | 2004-02-26 Eric Botcazou <ebotcazou@act-europe.fr> |
12022 | ||
12023 | * config/sparc/sparc-protos.h (sparc_emit_floatunsdi): Add 'mode'. | |
12024 | (sparc_emit_fixunsdi): New prototype. | |
12025 | * config/sparc/sparc.c (sparc_emit_floatunsdi): Use 'mode' argument. | |
12026 | (sparc_emit_fixunsdi): New function. | |
12027 | * config/sparc/sparc.md (floatunsdisf2): Use 'general_operand' for | |
12028 | operand 1. Pass SFmode to sparc_emit_floatunsdi. | |
12029 | (floatunsdidf2): Use 'general_operand' for operand 1. Pass DFmode | |
12030 | to sparc_emit_floatunsdi. | |
12031 | (fixuns_truncsfdi2): New expander. | |
12032 | (fixuns_truncdfdi2): Likewise. | |
12033 | ||
fb643f64 AM |
12034 | 2004-02-26 Alan Modra <amodra@bigpond.net.au> |
12035 | ||
12036 | * gcse.c (delete_null_pointer_checks_1): Do not delete CC setter | |
12037 | unless HAVE_cc0. | |
12038 | ||
4a4f95d9 RH |
12039 | 2004-02-25 Richard Henderson <rth@redhat.com> |
12040 | ||
12041 | * explow.c (force_reg): Call mark_reg_pointer as appropriate. | |
12042 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Don't | |
12043 | use (op0-op1) == 0 if op0 is a pointer. | |
12044 | * config/alpha/alpha.md (cmpdi): Use some_operand. | |
12045 | (three comparison combine splits): Remove. | |
12046 | ||
f6a76b9f RH |
12047 | 2004-02-25 Richard Henderson <rth@redhat.com> |
12048 | ||
0d593f31 | 12049 | PR c/12794 |
f6a76b9f RH |
12050 | * c-common.c (handle_alias_attribute): Reject the attribute if |
12051 | current_function_decl is set. | |
12052 | ||
30500d84 KC |
12053 | 2004-02-25 Kelley Cook <kcook@gcc.gnu.org> |
12054 | ||
12055 | * config.gcc: Add comment describing extra_gcc_objs. | |
12056 | i[34567]86-*-cygwin*): Replace host_extra_gcc_objs with extra_gcc_objs. | |
12057 | * configure.ac (extra_gcc_objs): New substitution variable. | |
12058 | (host_extra_gcc_objs): Don't substitute. | |
12059 | * configure: Regenerate. | |
12060 | * Makefile.in: Use extra_gcc_objs. | |
12061 | ||
ed80fa2e KC |
12062 | 2004-02-25 Kelley Cook <kcook@gcc.gnu.org> |
12063 | ||
12064 | * doc/contrib.texi: Add an entry for myself. | |
12065 | ||
12c3874e JH |
12066 | 2004-02-25 Jan Hubicka <jh@suse.cz> |
12067 | ||
12068 | * basic-block.h (make_eh_edge, break_superblocks): Declare. | |
12069 | * cfgbuild.c (make_eh_edge): Make global. | |
12070 | * cfglayout.c (break_superblocks): Likewise; fix memory leak. | |
12071 | * except.c (build_post_landing_pads, connect_post_landing_pads, | |
12072 | dw2_build_landing_pads, sjlj_emit_function_enter, | |
21526606 | 12073 | sjlj_emit_function_exit, sjlj_emit_dispatch_table, |
12c3874e JH |
12074 | sjlj_build_landing_pads): Update CFG. |
12075 | (emit_to_new_bb_before): New function. | |
12076 | (finish_eh_generation): Do not rebuild the CFG. | |
12077 | ||
7b79fe71 JDA |
12078 | 2004-02-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12079 | ||
12080 | * config.gcc (hppa*-*-*, parisc*-*-*): Add MASK_BIG_SWITCH to all | |
12081 | target_cpu_default defines. | |
12082 | * pa-hpux.h (TARGET_DEFAULT): Add MASK_BIG_SWITCH to define. | |
12083 | * pa.h (TARGET_DEFAULT): Likewise. | |
12084 | ||
81fbecac EB |
12085 | 2004-02-25 Eric Botcazou <ebotcazou@act-europe.fr> |
12086 | ||
12087 | * fold-const.c (fold): Treat MAX_EXPR and MIN_EXPR like | |
12088 | comparisons with regard to signedness. | |
12089 | ||
6f5b4f3e RE |
12090 | 2004-02-25 Richard Earnshaw <rearnsha@arm.com> |
12091 | ||
12092 | * arm.c (thumb_legitimize_address): New function. | |
12093 | * arm-protos.h: Prototype it. | |
12094 | * arm.h (THUMB_LEGITIMIZE_ADDRESS): Define. | |
12095 | (LEGITIMIZE_ADDRESS): Use it. | |
12096 | ||
4ab51fb5 R |
12097 | 2004-02-25 J"orn Rennecke <joern.rennecke@superh.com> |
12098 | ||
12099 | * reload1.c (reload): Only spill eliminable register with multiple | |
12100 | adjacent elimination alternatives if all alternatives fail. | |
12101 | ||
e1471c91 RE |
12102 | 2004-02-25 Richard Earnshaw <rearnsha@arm.com> |
12103 | ||
12104 | * arm.c (arm_legitimate_index_p): For QImode the range of an offset | |
12105 | is -4095...+4095 inclusive. | |
12106 | ||
94b18ec1 EB |
12107 | 2004-02-25 Eric Botcazou <ebotcazou@libertysurf.fr> |
12108 | ||
12109 | * doc/install.texi (sparc-sun-solaris2* specific notes): Document | |
12110 | the bootstrap failure with Sun CC 5.4 and 5.5. | |
12111 | ||
2e802a6f KH |
12112 | 2004-02-24 Kazu Hirata <kazu@cs.umass.edu> |
12113 | ||
12114 | * cse.c (cse_change_cc_mode_insns): Stop at any instruction | |
12115 | which modifies NEWREG. | |
12116 | (cse_condition_code_reg): Update the mode of CC_REG in | |
12117 | CC_SRC_INSN on our own. | |
12118 | ||
89ab2b79 MM |
12119 | 2004-02-24 Michael Matz <matz@suse.de> |
12120 | ||
12121 | * config/i386/i386.c (ix86_comp_type_attributes): Check for | |
12122 | regparm attributes. | |
12123 | ||
c263766c RH |
12124 | 2004-02-24 Richard Henderson <rth@redhat.com> |
12125 | ||
12126 | * toplev.c (dump_file_tbl): Rename from dump_file. | |
12127 | * bb-reorder.c, bt-load.c, cfgcleanup.c, cfglayout.c, cfgloopanal.c, | |
c53bdcf5 | 12128 | cfgloopmanip.c, cfgrtl.c, config/arm/arm.c, config/frv/frv.c, |
c263766c RH |
12129 | config/i386/i386.c, config/ia64/ia64.c, config/mips/mips.c, |
12130 | config/sh/sh.c, cse.c, flow.c, ifcvt.c, loop-iv.c, loop-unroll.c, | |
12131 | loop-unswitch.c, output.h, predict.c, profile.c, ra-build.c, | |
12132 | ra-colorize.c, ra-debug.c, ra-rewrite.c, ra.c, regrename.c, reload1.c, | |
12133 | toplev.c, tracer.c, value-prof.c, var-tracking.c, web.c: | |
12134 | s/rtl_dump_file/dump_file/g. | |
12135 | ||
dba2921d AH |
12136 | 2004-02-24 Aldy Hernandez <aldyh@redhat.com> |
12137 | ||
3205a71e ZW |
12138 | * config/rs6000/spe.md (spe_fix_truncsfsi2): Delete. |
12139 | (spe_fixuns_truncsfsi2): Delete. | |
dba2921d | 12140 | |
3205a71e ZW |
12141 | * config/rs6000/rs6000.md (fix_truncsfsi2): Delete. |
12142 | (fixuns_truncsfsi2): Delete. | |
dba2921d | 12143 | |
173cd571 JZ |
12144 | 2004-02-24 Josef Zlomek <zlomekj@suse.cz> |
12145 | ||
12146 | PR/14240 | |
12147 | * rtlanal.c (replace_label): Fix replacing labels in constant pool. | |
12148 | ||
8db4d7a1 GK |
12149 | 2004-02-24 Geoffrey Keating <geoffk@apple.com> |
12150 | ||
12151 | * config/darwin.h (TARGET_HAS_F_SETLKW): Define. | |
12152 | ||
896c3aa3 JM |
12153 | 2004-02-24 Jason Merrill <jason@redhat.com> |
12154 | ||
12155 | * tree.c (check_qualified_type): New fn. | |
12156 | (get_qualified_type): Use it. If type already has the desired | |
12157 | quals, just return it. | |
12158 | * tree.h: Declare it. | |
896c3aa3 | 12159 | |
94632047 | 12160 | 2004-02-24 Sanjiv Kumar Gupta <sanjivg@noida.hcltech.com> |
58565a33 SKG |
12161 | |
12162 | * target-def.h (TARGET_SCHED_INIT_GLOBAL, | |
12163 | TARGET_SCHED_FINISH_GLOBAL): New macros. | |
12164 | ||
12165 | * target.h (md_init_global, md_finish_global): Function | |
12166 | declarations corresponding to new target macros. | |
12167 | ||
12168 | * haifa-sched.c (sched_init, sched_finish): Allow target to | |
12169 | call the new schedular hooks. | |
12170 | ||
12171 | * flow.c (recompute_reg_usage): Add PROP_DEATH_NOTES flag in | |
12172 | call to update_life_info. | |
12173 | ||
12174 | * config/sh/sh.h (OVERRIDE_OPTIONS): Re-enable | |
12175 | flag_schedule_insns for SH4. | |
12176 | ||
12177 | * config/sh/sh.c (sh_md_init_global, sh_md_finish_global, | |
12178 | find_set_regmode_weight, find_insn_regmode_weight, | |
12179 | find_regmode_weight), sh_md_init, sh_dfa_new_cycle, | |
12180 | sh_variable_issue, high_pressure, ready_reorder, | |
12181 | rank_for_reorder, swap_reorder, sh_reorder, sh_reorder2): New | |
12182 | functions used to throttle the insn movement in first | |
12183 | scheduling pass for SH. | |
12184 | ||
12185 | * gcc/doc/tm.texi: Document TARGET_SCHED_INIT_GLOBAL and | |
12186 | TARGET_SCHED_FINISH_GLOBAL. | |
12187 | ||
34208acf AO |
12188 | 2004-02-24 Alexandre Oliva <aoliva@redhat.com> |
12189 | ||
12190 | Implement FR-V FDPIC ABI support for frv-uclinux and frv-linux. | |
12191 | 2004-02-05 Alexandre Oliva <aoliva@redhat.com> | |
12192 | * config/frv/frv.c (frv_emit_movsi): Use GOT relocations for | |
12193 | symbols in sections named by the user. | |
12194 | 2004-01-30 Alexandre Oliva <aoliva@redhat.com> | |
12195 | * config/frv/linux.h (TARGET_OS_CPP_BUILTINS): New. | |
12196 | 2004-01-27 Alexandre Oliva <aoliva@redhat.com> | |
12197 | * config.gcc (frv-*-*linux*): Handle like *-*-linux*. | |
12198 | * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Remove, obviated by | |
12199 | the above. | |
12200 | 2004-01-20 Alexandre Oliva <aoliva@redhat.com> | |
12201 | * config/frv/frv.md (symGOT2reg_hilo, symGOTOFF2reg_hilo): Add | |
12202 | one more pseudo to further improve code generation. | |
12203 | 2004-01-19 Alexandre Oliva <aoliva@redhat.com> | |
12204 | * config/frv/frv.md (movdi_ldd): Introduce explicit indirection | |
12205 | inside UNSPEC. | |
12206 | 2004-01-16 Alexandre Oliva <aoliva@redhat.com> | |
12207 | * config/frv/frv.c (frv_legitimate_address_p): Added | |
12208 | allow_double_reg_p argument. Adjust all callers. Use it to | |
12209 | decide whether to enable double-register indirect addressing. | |
12210 | (frv_funcdesc_alias_set): Remove. | |
12211 | (frv_expand_fdpic_call): Force non-SYMBOL_REF operand into | |
12212 | register. Emit movdi_ldd. | |
12213 | (ldd_address_operand): New. | |
12214 | * config/frv/frv-protos.h (frv_legitimate_address_p): Adjust. | |
12215 | * config/frv/frv.h (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
12216 | (PREDICATE_CODES): Add ldd_address_operand. | |
12217 | * config/frv/frv.md (movdi_ldd): New. | |
12218 | (symGOT2reg_hilo, symGOTOFF2reg_hilo): Use separate pseudo for | |
12219 | intermediate computations if possible. | |
12220 | (symGOTOFF2reg_i): Fix harmless typo. | |
12221 | 2003-12-18 Alexandre Oliva <aoliva@redhat.com> | |
12222 | * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Cast | |
12223 | relocated p_vaddr to vaddr type. | |
12224 | * config/frv/frv-protos.h (frv_expand_fdpic_call): Return void. | |
12225 | * config/frv/frv.c (frv_get_funcdesc_alias_set): New. | |
12226 | (frv_expand_fdpic_call): Propagate incoming MEM's expr to funcdesc | |
12227 | MEM, or use a funcdesc alias set. Use regular move instead of | |
12228 | ldd. | |
12229 | (dbl_memory_one_insn_operand): Recognize function descriptors by | |
12230 | type or by alias set, and don't split them. | |
12231 | * config/frv/frv.md (call, call_value): Never use call_internal | |
12232 | for fdpic. | |
12233 | (call_internal, call_value_internal): Never match for FDPIC. | |
12234 | (call_fdpicdi, call_fdpicsi, call_value_fdpicdi, | |
12235 | call_value_fdpicsi): Require FDPIC. | |
12236 | (ldd): Removed. | |
12237 | 2003-12-17 Alexandre Oliva <aoliva@redhat.com> | |
12238 | * config/frv/frv.h (CRT_GET_RFIB_DATA): Define for __FRV_FDPIC__. | |
12239 | * unwind-dw2-fde-glibc.c: Don't include elf-fdpic.h any more. | |
12240 | (_Unwind_IteratePhdrCallback): Adjust type of load_base for FRV | |
12241 | FDPIC. Compute data base address. | |
12242 | * config/frv/linux.h (SUBTARGET_DRIVER_SELF_SPECS): Enable -mfdpic | |
12243 | before the other self-specs are processed. | |
12244 | * config/frv/t-linux (CRTSTUFF_T_CFLAGS, TARGET_LIBGCC2_CFLAGS): | |
12245 | Build with -fPIC. | |
12246 | 2003-12-15 Alexandre Oliva <aoliva@redhat.com> | |
12247 | * unwind-dw2-fde-glibc.c: Don't include bits/elf-fdpic.h if | |
12248 | inhibit_libc is defined. | |
12249 | 2003-12-12 Alexandre Oliva <aoliva@redhat.com> | |
12250 | * unwind-dw2-fde-glibc.c: Include bits/elf-fdpic.h for | |
12251 | __FRV_FDPIC__. | |
12252 | (__RELOC_POINTER): Define. | |
12253 | (_Unwind_IteratePhdrCallback): Use it. | |
12254 | * config/frv/frv.h (Twrite): Define. | |
12255 | (TRANSFER_FROM_TRAMPOLINE): Use it. | |
12256 | * config/frv/linux.h (INVOKE__main): Undefine. | |
12257 | (Twrite): Override. | |
12258 | 2003-12-05 Richard Sandiford <rsandifo@redhat.com> | |
12259 | * doc/invoke.texi (-mlong-calls, -mlinked-fp): Document FRV options. | |
12260 | (-mlibrary-pic): Emphasize that this option generates EABI code. | |
12261 | (-mcpu): Add fr550. | |
12262 | (-mpack): Remove. | |
12263 | 2003-11-30 Alexandre Oliva <aoliva@redhat.com> | |
12264 | * config/frv/frv.c (int_2word_operand): Reject LABELs, SYMBOL_REFs | |
12265 | and CONSTs in FDPIC mode. | |
12266 | * gcc/config.gcc (with_cpu): Default to fr400 on frv-*-*linux*. | |
12267 | 2003-11-29 Richard Sandiford <rsandifo@redhat.com> | |
12268 | * config/frv/frv.c (move_source_operand): Don't accept symbolic | |
12269 | constants. | |
12270 | * config/frv/frv.md (*movhi_internal, *movsi_internal): Use an 'n' | |
12271 | rather than 'i' constraint for the 2-instruction alternative. | |
12272 | (*movsi_2word): New, incorporating existing int_2word_operand splitter. | |
12273 | 2003-11-29 Richard Sandiford <rsandifo@redhat.com> | |
12274 | * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Q): Renamed from | |
12275 | EXTRA_CONSTRAINT_FOR_Y. | |
12276 | (EXTRA_CONSTRAINT): Remove handling of 'Y'. | |
12277 | * config/frv/frv.md (*movsi_internal): Remove 'Q' constraint. | |
12278 | (addsi3): Change 'Y' constraint to 'Q'. | |
12279 | 2003-11-27 Richard Sandiford <rsandifo@redhat.com> | |
12280 | * reload.c (CONST_POOL_OK_P): New macro. | |
12281 | (find_reloads): Use it to decide whether a constant can be forced | |
12282 | into memory. | |
12283 | * config/frv/frv.h (LEGITIMATE_PIC_OPERAND_P): Return true if the | |
12284 | constant satisfies got12_operand. | |
12285 | (frv_cannot_force_const_mem): Always return true for TARGET_FDPIC. | |
12286 | (frv_legitimate_address_p): Check for valid unspec offsets using | |
12287 | got12_operand rather than frv_legitimate_fdpic_operand_p. | |
12288 | (frv_legitimate_fdpic_operand_p): Delete. | |
12289 | (frv_emit_movsi): Abort if we try to use the FDPIC register during | |
12290 | or after reload. | |
12291 | (frv_legitimate_constant_p): Return LEGITIMATE_PIC_OPERAND_P if | |
12292 | TARGET_FDPIC. | |
12293 | * config/frv/frv.md (*movdf_double): Add alternatives for CONST_DOUBLE. | |
12294 | 2003-11-19 Richard Sandiford <rsandifo@redhat.com> | |
12295 | * config/frv/frv-protos.h (fdpic_operand, fdpic_got12_operand) | |
12296 | (frv_fdpic_fptr_operand): Don't declare here. | |
12297 | * config/frv/frv.h (EXTRA_CONSTRAINT_FOR_Y): Call got12_operand | |
12298 | rather than fdpic_got12_operand. | |
12299 | (PREDICATE_CODES): Remove symbolic_operand entry. Add entries for | |
12300 | got12_operand and const_unspec_operand. | |
12301 | * config/frv/frv.c (got12_operand): Renamed from fdpic_got12_operand. | |
12302 | (gpr_or_int12_operand, dbl_memory_one_insn_operand): Update calls. | |
12303 | (symbolic_operand): Remove. | |
12304 | (const_unspec_operand): New predicate. | |
12305 | * config/frv/frv.md (*movsi_got): Use got12_operand. | |
12306 | (*movsi_high_got, *movsi_lo_sum_got): Use const_unspec_operand. | |
12307 | 2003-11-18 Richard Sandiford <rsandifo@redhat.com> | |
12308 | * config/frv/frv-protos.h (frv_output_addr_const_extra): Remove. | |
12309 | * config/frv/frv.h (OUTPUT_ADDR_CONST_EXTRA): Remove definition. | |
12310 | * config/frv/frv.c (frv_unspec): New structure. | |
12311 | (frv_small_data_reloc_p, frv_const_unspec_p): New functions. | |
12312 | (frv_print_operand_memory_reference): Use frv_const_unspec_p to | |
12313 | validate CONST indices. Use frv_output_const_unspec to print them. | |
12314 | (frv_print_operand): Update call to unspec_got_name. Use | |
12315 | frv_output_const_unspec to print constant unspecs. | |
12316 | (frv_legitimate_fdpic_operand_p): Return true if frv_const_unspec_p. | |
12317 | Reject UNSPECs otherwise. | |
12318 | (unspec_got_name): Take the relocation number as argument, not an | |
12319 | rtx containing it. | |
12320 | (frv_output_addr_const_extra): Remove, replacing with... | |
12321 | (frv_output_const_unspec): ...this new function. | |
12322 | (frv_find_base_term): Use frv_const_unspec_p & frv_small_data_reloc_p. | |
12323 | (gpr_or_int12_operand): Use fdpic_got12_operand. | |
12324 | (dbl_memory_one_insn_operand): Likewise. | |
12325 | (fdpic_got12_operand): Use frv_const_unspec_p. | |
12326 | (frv_emit_movsi): Use frv_const_unspec_p to check for CONSTs that | |
12327 | are already legitimate. Use frv_small_data_reloc_p when deciding | |
12328 | whether to use HIGH/LO_SUM for R_FRV_GOTOFF12 and R_FRV_GPREL12. | |
12329 | 2003-11-18 Alexandre Oliva <aoliva@redhat.com> | |
12330 | * config/frv/t-linux (SHLIB_MAPFILES): Override so as to export... | |
12331 | * config/frv/libgcc-frv.ver: ... frv-specific symbols. New file. | |
12332 | * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local | |
12333 | label, for real this time. | |
12334 | * config/frv/frv.c (frv_local_funcdesc_p): Update to new | |
12335 | representation of visibility. | |
12336 | (fdpic_got12_operand, symbolic_operand): Mark unused arguments as | |
12337 | such. | |
12338 | 2003-11-17 Richard Sandiford <rsandifo@redhat.com> | |
12339 | * config/frv/frv.h (MASK_LINKED_FP, TARGET_LINKED_FP): New macros. | |
12340 | (TARGET_SWITCHES): Add -mlinked-fp and -mno-linked-fp. | |
12341 | * config/frv/frv.c (frv_override_options): Set MASK_LINKED_FP unless | |
12342 | it was explicitly disabled. | |
12343 | (frv_stack_info): There is no need to save the link register in every | |
12344 | frame unless TARGET_LINKED_FP is true. | |
12345 | (frv_frame_pointer_required): If !TARGET_LINKED_FP, only require a | |
12346 | frame pointer if the stack pointer might change value. | |
12347 | (frv_return_addr_rtx): Check and process "count" argument. | |
12348 | 2003-11-14 Richard Sandiford <rsandifo@redhat.com> | |
12349 | * config/frv/frv-protos.h (frv_legitimize_address): Remove. | |
12350 | (frv_find_base_term): Declare. | |
12351 | * config/frv/frv.h (LEGITIMIZE_ADDRESS): Do nothing. | |
12352 | (FIND_BASE_TERM): Define. | |
12353 | (PREDICATE_CODES): Remove pic_register_operand, pic_symbolic_operand, | |
12354 | small_data_register_operand, small_data_symbolic_operand. Add | |
12355 | symbolic_operand. | |
12356 | * config/frv/frv.c (const_small_data_p, plus_small_data_p): Delete. | |
12357 | (frv_print_operand_memory_reference, output_move_single): Remove | |
12358 | special handling for unlegitimized sdata addresses. | |
12359 | (frv_legitimate_address_p): Don't allow sums of SDA_BASE_REG | |
12360 | and symbolic addresses. | |
12361 | (frv_legitimize_address, frv_legitimize_fdpic_address): Delete. | |
12362 | (frv_find_base_term): New function. | |
12363 | (int_2word_operand): Check specifically for symbolic address constants. | |
12364 | (pic_register_operand, pic_symbolic_operand): Delete. | |
12365 | (small_data_register_operand, small_data_symbolic_operand): Delete. | |
12366 | (dbl_memory_one_insn_operand): Don't call plus_small_data_p. | |
12367 | Allow UNSPEC_GOT constants if !TARGET_FDPIC. | |
12368 | (move_source_operand): Only accept CONSTs if they're a two-insn | |
12369 | symbolic constant. | |
12370 | (fdpic_got12_operand): Don't require TARGET_FDPIC. | |
12371 | (frv_emit_movsi): Legitimize sdata and -mlibrary-pic addresses | |
12372 | using gen_symGOTOFF2reg*. | |
12373 | (frv_ifcvt_rewrite_mem): Remove (plus gr16 ...) special cases. | |
12374 | (frv_rtx_costs): Give all MEM addresses a cost of 0. Give MEMs | |
12375 | themselves a cost of 3 insns. | |
12376 | * config/mips/mips.md (*movsi_got): Allow for !TARGET_FDPIC too. | |
12377 | Change predicate to symbolic_operand. | |
12378 | (*movsi_high_got, *movsi_lo_sum_got): Likewise. | |
12379 | (*movsi_lda_sdata): Delete. | |
12380 | (*movsi_pic, movsi_high_pic, movsi_lo_sum_pic): Delete. | |
12381 | 2003-11-05 Alexandre Oliva <aoliva@redhat.com> | |
12382 | * config.gcc: Add t-slibgcc-elf-ver and support --with-cpu for | |
12383 | frv-*-*linux*. | |
12384 | * config/frv/frv-abi.h (CREATE_DOUBLE_SHIFT): Use branch to local | |
12385 | label. | |
12386 | * config/frv/frv.h (DRIVER_SELF_SPECS): Add blank before | |
12387 | -multilib-library-pic. | |
12388 | (LINK_SPEC): Add -z text for -mfdpic. | |
12389 | * config/frv/frvbegin.c (__ROFIXUP_LIST__): Don't define on FDPIC. | |
12390 | * config/frv/frvend.c (__ROFIXUP_END__): Likewise. | |
12391 | * config/frv/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): | |
12392 | Override. | |
12393 | (OPTION_DEFAULT_SPECS, HAS_INIT_SECTION, INIT_SECTION_ASM_OP, | |
12394 | FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION): Define. | |
12395 | * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Use | |
12396 | crtstuff-generated files. | |
12397 | 2003-10-31 Alexandre Oliva <aoliva@redhat.com> | |
12398 | * config.gcc: Add frv-*-*linux*. | |
12399 | * config/frv/linux.h, config/frv/t-linux: New. | |
12400 | 2003-10-06 Alexandre Oliva <aoliva@redhat.com> | |
12401 | * config/frv/frv.h (LINK_SPEC): Pass -melf32frvfd to the linker | |
12402 | when -mfdpic even if a linker script is explicitly listed. | |
12403 | 2003-10-02 Alexandre Oliva <aoliva@redhat.com> | |
12404 | * config/frv/frv.c (frv_override_options): Clear asm_out | |
12405 | unaligned_op for SImode on FDPIC. | |
12406 | (frv_emit_movsi): Use compute_reloc_for_constant to compute the | |
12407 | argument passed to decl_readonly_section. | |
12408 | (frv_assemble_integer): Revert 2003-09-30's change, but make the | |
12409 | whole block run with FDPIC even with -fno-PIC. | |
12410 | 2003-10-02 Alexandre Oliva <aoliva@redhat.com> | |
12411 | * config/frv/frv.c (frv_cannot_force_const_mem): Don't force | |
12412 | symbol or label plus offset to memory. | |
12413 | (frv_emit_movsi): Emit GPREL only if -mgprel-ro. Emit 32-bit | |
12414 | GOTOFF and GPREL for LABEL_REF. | |
12415 | * config/frv/frv.h (DRIVER_SELF_SPECS): Add -mgprel-ro with | |
12416 | -mfdpic unless -mno-gprel-ro, -fpic or -fpie. | |
12417 | (MASK_GPREL_RO, TARGET_GPREL_RO): New. | |
12418 | (TARGET_SWITCHES): Added gprel-ro and no-gprel-ro. | |
12419 | * doc/invoke.texi: Document them. | |
12420 | 2003-09-30 Alexandre Oliva <aoliva@redhat.com> | |
12421 | * config/frv/frv-protos.h (frv_gen_GPsym2reg): Declare. | |
12422 | (frv_splittable_got_operand): Removed. | |
12423 | * config/frv/frv.c (frv_cannot_force_const_mem): Reject HIGH and | |
12424 | LO_SUM. Add comments. | |
12425 | (frv_override_options): Moved enabling of FDPIC to | |
12426 | DRIVER_SELF_SPECS. Don't enable MASK_DWORD. | |
12427 | (frv_local_funcdesc_p): Remove unnecessary heck for flag_pie. | |
12428 | (frv_legitimize_fdpic_address): Don't duplicate logic in | |
12429 | frv_emit_movsi. | |
12430 | (frv_gen_GPsym2reg): New. | |
12431 | (unspec_got_name): Added gprel. | |
12432 | (frv_expand_fdpic_call): Add support for inlining PLTs. | |
12433 | (fdpic_fptr_operand): Renamed from frv_fdpic_fptr_operand. | |
12434 | (gpr_or_int12_operand): Added GPREL12. | |
12435 | (pic_symbolic_operand): Match even if !flag_pic for FDPIC. | |
12436 | (small_data_symbolic_operand): Fail if FDPIC. | |
12437 | (fdpic_splittable_got_operand): Removed. | |
12438 | (fdpic_got12_operand): Added GPREL12. | |
12439 | (frv_emit_movsi): Reorganize to avoid duplication. Emit GPREL | |
12440 | when appropriate. Fix sdata GOTOFF. | |
12441 | (frv_legitimate_constant_p): Require legitimate PIC operand for | |
12442 | FDPIC with pic, but only a legitimate fdpic operand for non-pic. | |
12443 | (frv_assemble_integer): Move FDPIC funcdesc handling out of | |
12444 | flag_pic case. | |
12445 | (frv_asm_out_constructor, frv_asm_out_destructor): Abort if | |
12446 | frv_assemble_integer fails. | |
12447 | * config/frv/frv.h (DRIVER_SELF_SPECS): New. | |
12448 | (SUBTARGET_DRIVER_SELF_SPECS): New. | |
12449 | (ASM_SPEC): Don't pass -mno-fdpic. | |
12450 | (LINK_SPEC): Pass -melf32frvfd for FDPIC. | |
12451 | (MASK_INLINE_PLT, TARGET_INLINE_PLT): New. | |
12452 | (TARGET_SWITCHES): Add -minline-plt, -mno-inline-plt and | |
12453 | -multilib-library-pic. | |
12454 | (PREDICATE_CODES): Added fdpic_operand, fdpic_fptr_operand, | |
12455 | condexec_si_media_operator, condexec_sf_add_operator and | |
12456 | condexec_sf_conv_operator. Removed condexec_sf_binary_operator | |
12457 | and condexec_sf_unary_operator. | |
12458 | * config/frv/frv.md (R_FRV_GPREL12, R_FRV_GPRELHI, R_FRV_GPRELLO): | |
12459 | New. | |
12460 | (movsi_got, movsi_high_got, movsi_lo_sum_got): Move before | |
12461 | movsi_internal. Give them internal names. movsi_got has type | |
12462 | int. | |
12463 | (fdpic got splitters): Remove. | |
12464 | (symGPREL2reg, symGPREL2reg_hilo): New. | |
12465 | * config/frv/t-frv (MULTILIB_MATCHES): Don't map -fpic and -fPIC | |
12466 | to -mlibrary-pic. Map -multilib-library-pic to it. | |
12467 | * doc/invoke.texi: -mfdpic, -minline-plt, -multilib-library-pic: | |
12468 | Document. | |
12469 | 2003-09-28 Alexandre Oliva <aoliva@redhat.com> | |
12470 | * config/frv/frv.c (frv_function_symbol_referenced_p): Declare. | |
12471 | (TARGET_CANNOT_FORCE_CONST_MEM): Define to... | |
12472 | (frv_cannot_force_const_mem): New function. | |
12473 | (const_small_data_p, plus_small_data_p): Update comments on sdata | |
12474 | on FDPIC. | |
12475 | (frv_override_options): Set flag_pie for FDPIC too. | |
12476 | (frv_conditional_register_usage): Mark gr16 and gr17 as non-fixed, | |
12477 | call-saved registers on FDPIC. | |
12478 | (frv_stack_info): Don't preserve the PIC register on FDPIC, and | |
12479 | don't force LR to be preserved. | |
12480 | (frv_expand_prologue): Likewise. | |
12481 | (frv_asm_output_mi_thunk): Use 12-bit funcdesc gotoff for -fpic. | |
12482 | (frv_frame_pointer_required): Don't force it just because the | |
12483 | FDPIC register is used. | |
12484 | (frv_legitimate_address_p) <CONST>: Accept a legitimate FDPIC | |
12485 | operand only if !condexec_p. | |
12486 | (frv_legitimize_address): Return the FDPIC-legitimized address. | |
12487 | Don't match small data here on FDPIC. | |
12488 | (frv_legitimate_fdpic_operand_p): Don't accept unadorned function | |
12489 | symbols. Use TRUE/FALSE instead of 1/0. | |
12490 | (frv_local_funcdesc_p): New. | |
12491 | (frv_legitimize_fdpic_address): Rewrite to use GOTOFF and 12-bit | |
12492 | immediates when possible. | |
12493 | (pic_symbolic_operand): Accept SYMBOL_REFs and CONSTs in FDPIC. | |
12494 | (dbl_memory_one_insn_operand): Accept addresses that add a REG and | |
12495 | an UNSPEC_GOT. | |
12496 | (frv_emit_movsi): Handle FDPIC before small data. Use GOTOFF and | |
12497 | 12-bit immediates when possible. | |
12498 | (frv_legitimate_constant_p): In FDPIC, reject SImode operands that | |
12499 | are not legitimate pic operands. | |
12500 | (frv_in_small_data_p): Re-enable for FDPIC. | |
12501 | * config/frv/frv.h (SDA_BASE_REG): Remove comment about FDPIC. | |
12502 | (FRV_GLOBAL_P): Removed. | |
12503 | * config/frv/frv.md: Add modes to CONSTs. | |
12504 | (movsi_got): New. | |
12505 | (movsi_lo_sum_got): Use separate matches instead of match_dup. | |
12506 | (movsi_high_pic, movsi_lo_sum_pic): Match on non-FDPIC only. | |
12507 | (fdpic splittable operations): Match on flag_pic != 1. | |
12508 | 2003-09-22 Alexandre Oliva <aoliva@redhat.com> | |
12509 | * config/frv/frv.c (frv_asm_out_constructor, | |
12510 | frv_asm_out_destructor): Pass to frv_assemble_integer the size in | |
12511 | bytes, not bits. | |
12512 | 2003-09-19 Alexandre Oliva <aoliva@redhat.com> | |
12513 | * config/frv/frv.c (frv_assemble_integer): Reject complex | |
12514 | expressions referencing function SYMBOL_REFs. | |
12515 | * config/frv/frv.c (frv_function_symbol_referenced_p): New. | |
12516 | (move_source_operand): Reject CONSTs that reference function | |
12517 | SYMBOL_REFs on FDPIC. | |
12518 | (frv_emit_movsi): If we get such a CONST, break it up. | |
12519 | * config/frv/frv.h (CPP_SPEC): Define __FRV_FDPIC__ for -mfdpic. | |
12520 | (TRANSFER_FROM_TRAMPOLINE): Use different definitions for FDPIC. | |
12521 | * config/frv/frv.c (frv_print_operand) <I>: Recognize PLUS without | |
12522 | MEM. | |
12523 | (frv_assemble_integer): Don't use funcdesc for LABEL_REFs. | |
12524 | (frv_trampoline_size): Increase for FDPIC. | |
12525 | * config/frv/frv.h (TRAMPOLINE_ALIGNMENT): Bump to 64 for FDPIC. | |
12526 | (TRANSFER_FROM_TRAMPOLINE): Handle FDPIC trampolines. | |
12527 | * config/frv/frv.c (frv_legitimize_fdpic_address, frv_emit_movsi): | |
12528 | Disable use of GOTOFF for now. | |
12529 | (const_small_data_p, plus_small_data_p, frv_in_small_data_p): | |
12530 | Disable use of small data in FDPIC for now. | |
12531 | (frv_asm_output_mi_thunk): Implement for FDPIC. | |
12532 | * config/frv/frv.h (SDA_BASE_REG): Set to -1 with FDPIC. | |
12533 | * config/frv/frv.c (frv_asm_out_constructor): Use | |
12534 | frv_assemble_integer for FDPIC pointers. | |
12535 | (frv_asm_out_destructor): Likewise. | |
12536 | * config/frv/frv.md (ldd): Fix order of operands. Use | |
12537 | address_operand for input. | |
12538 | 2003-09-18 DJ Delorie <dj@redhat.com> | |
12539 | * config/frv/frv.c (frv_legitimate_fdpic_operand_p): Remove UNSPEC_PIC. | |
12540 | (unspec_got_name): Correct typo. | |
12541 | (frv_emit_movsi): Pre-expand splittable GOTs. | |
12542 | (frv_expand_fdpic_call): Rename gen_lddi to gen_ldd. | |
12543 | * config/frv/frv.md (lddi): Fix syntax error, rename to ldd. | |
12544 | (symGOT2reg_hilo, symGOTOFF2reg_hilo): New. | |
12545 | * config/frv/t-frv: Add -mfdpic multilibs. | |
12546 | * config/frv/frv.h (ASM_SPEC): Pass -mfdpic/-mno-fdpic. | |
12547 | (TARGET_SWITCHES): Add -mno-fdpic, fix documentation. | |
12548 | * config/frv/frv.c (frv_override_options): -mfdpic assumes | |
12549 | flag_pic, default to 32-bit pics, require DWORD ops. | |
12550 | (frv_override_options): Add W and Z constraints. | |
12551 | (frv_expand_prologue): No pic prologue for -mfdpic. | |
12552 | (frv_asm_output_mi_thunk): Support -mfdpic (soon). | |
12553 | (frv_print_operand_memory_reference): Handle GOT constants. | |
12554 | (frv_legitimate_address_p): Allow GOT constants. | |
12555 | (frv_legitimize_address): Handle GOT addresses too. | |
12556 | (frv_legitimate_fdpic_operand_p): New. | |
12557 | (frv_legitimize_fdpic_address): New. | |
12558 | (unspec_got_name): New. | |
12559 | (frv_output_addr_const_extra): New. | |
12560 | (frv_expand_fdpic_call): New. | |
12561 | (frv_fdpic_fptr_operand): New. | |
12562 | (gpr_or_int12_operand): Handle GOT operands. | |
12563 | (int_2word_operand): Handle GOT operands. | |
12564 | (fdpic_operand): New. | |
12565 | (fdpic_splittable_got_operand): New. | |
12566 | (fdpic_got12_operand): New. | |
12567 | (frv_emit_movsi): Handle GOT operands. | |
12568 | (frv_assemble_integer): -mfdpic doesn't use rofixups. | |
12569 | (frv_print_operand): Support 'g' code for GOT operands. | |
12570 | * config/frv/frv-protos.h: Add prototypes as needed. | |
12571 | * config/frv/frv.md (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, | |
12572 | R_FRV_FUNCDESC, R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, | |
12573 | R_FRV_FUNCDESC_GOTLO, R_FRV_FUNCDESC_VALUE, | |
12574 | R_FRV_FUNCDESC_GOTOFF12, R_FRV_FUNCDESC_GOTOFFHI, | |
12575 | R_FRV_FUNCDESC_GOTOFFLO, R_FRV_GOTOFF12, R_FRV_GOTOFFHI, | |
12576 | R_FRV_GOTOFFLO): New. | |
12577 | (movsi_high_got, movsi_lo_sum_got): New. | |
12578 | (*movsi_pic): Don't use this splitter for -mfdpic. | |
12579 | (addsi3): Allow GOT references also. | |
12580 | (call, call_value): Handle -mfdpic separately. | |
12581 | (call_fdpicdi, call_fdpicsi, lddi, call_value_fdpicdi, | |
12582 | call_value_fdpicsi): New. | |
12583 | (symGOT2reg, symGOT2reg_i, got splitters, symGOTOFF2reg, | |
12584 | symGOTOFF2reg_i): New. | |
12585 | * config/frv/frv.h (MASK_FDPIC): New. | |
12586 | (TARGET_FDPIC): New. | |
12587 | (TARGET_SWITCHES): Add -mfdpic. | |
12588 | (FDPIC_FPTR_REGNO): New. | |
12589 | (FDPIC_REGNO): New. | |
12590 | (OUR_FDPIC_REG): New. | |
12591 | (enum reg_class): Add FDPIC_REGS, FDPIC_FPTR_REGS, and | |
12592 | FDPIC_CALL_REGS. | |
12593 | (REG_CLASS_NAMES): Likewise. | |
12594 | (REG_CLASS_CONTENTS): Likewise. | |
12595 | (EXTRA_CONSTRAINT_FOR_Y): New, for 12-bit GOTs. | |
12596 | (EXTRA_CONSTRAINT): Add it here. | |
12597 | (FRV_GLOBAL_P): New. | |
12598 | (OUTPUT_ADDR_CONST_EXTRA): New. | |
12599 | ||
7e26b0e3 KH |
12600 | 2004-02-24 Kazu Hirata <kazu@cs.umass.edu> |
12601 | ||
12602 | * config/sparc/sparc.h: Remove commented-out definitions of | |
12603 | TARGET_EDOM and GEN_ERRNO_RTX. | |
12604 | ||
b57f2e10 KH |
12605 | 2004-02-24 Kazu Hirata <kazu@cs.umass.edu> |
12606 | ||
12607 | * df.c, df.h, ra-build.c, ra-rewrite.c, ra.c, web.c: Replace | |
12608 | df_analyse with df_analyze. | |
12609 | ||
cb7c3c3f AM |
12610 | 2004-02-24 Alan Modra <amodra@bigpond.net.au> |
12611 | ||
12612 | * gcse.c (delete_null_pointer_checks_1): Set stop_insn to end, not | |
12613 | beginning of block. | |
12614 | ||
3638733b JW |
12615 | 2004-02-23 James E Wilson <wilson@specifixinc.com> |
12616 | ||
238470bd | 12617 | * calls.c (precompute_arguments): Update comment. |
3638733b | 12618 | |
fa0ac78a KH |
12619 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
12620 | ||
12621 | * et-forest.c: Replace et_occurences with et_occurrences. | |
12622 | ||
6d4e0ecc KH |
12623 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
12624 | ||
12625 | * cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse | |
12626 | with iv_analyze. | |
12627 | ||
9e200aaf KC |
12628 | 2004-02-23 Kelley Cook <kcook@gcc.gnu.org> |
12629 | ||
12630 | * config/i386/i386.c: Rename pni to sse3. | |
12631 | * config/i386/i386.h: Likewise. | |
3205a71e | 12632 | * config/i386/i386.md: Likewise. |
9e200aaf KC |
12633 | * config/i386/pmmintrin.h: Likewise. |
12634 | * doc/extend.texi: Likewise. | |
12635 | * doc/invoke.texi: Likewise. | |
12636 | ||
3521b33c ZW |
12637 | 2004-02-23 Zack Weinberg <zack@codesourcery.com> |
12638 | Kazu Hirata <kazu@cs.umass.edu> | |
12639 | ||
12640 | Remove -fwritable-strings. | |
12641 | * c-common.c (fix_string_type): Don't check | |
12642 | flag_writable_strings. | |
12643 | (fix_string_type): Likewise. | |
12644 | * c-opts.c (set_std_c89): Don't initialize | |
12645 | flag_writable_strings. | |
12646 | (set_std_c99): Likewise. | |
12647 | * common.opt (fwritable-strings): Remove. | |
12648 | * flags.h: Remove the external declaration of | |
12649 | flag_writable_strings. | |
12650 | * opts.c (common_handle_option) <OPT_fwritable_strings>: | |
12651 | Remove. | |
12652 | * toplev.c (flag_writable_strings): Remove. | |
12653 | (f_options): Remove an entry for writable-strings. | |
12654 | * varasm.c (const_hash_1) <STRING_CST>: Don't check | |
12655 | flag_writable_strings. | |
12656 | (compare_constant) <STRING_CST>: Likewise. | |
12657 | (build_constant_desc): Likewise. | |
12658 | * config/darwin.c (machopic_select_section): Likewise. | |
12659 | * config/arm/arm.c (AOF_ASSEMBLER): Likewise. | |
12660 | * config/arm/pe.c (arm_pe_encode_section_info): Likewise. | |
12661 | * config/iq2000/iq2000.c (iq2000_select_section): Likewise. | |
12662 | * config/mips/mips.c (mips_select_section): Likewise. | |
12663 | (mips_encode_section_info): Likewise. | |
12664 | * config/pa/pa.c (pa_select_section): Likewise. | |
12665 | * config/pa/pa.h (TEXT_SPACE_P): Likewise. | |
12666 | * config/v850/v850.c (v850_select_section): Likewise. | |
12667 | * doc/invoke.texi (-fwritable-strings): Remove. | |
12668 | (-fno-const-strings): Don't mention -fwritable-strings. | |
12669 | * doc/trouble.texi: Don't mention -fwritable-strings. | |
12670 | ||
94632047 | 12671 | 2004-02-23 Nathanael Nerode <neroden@gcc.gnu.org> |
eb6bddf6 NN |
12672 | |
12673 | * doc/install.texi: Update for switch of boehm-gc to autoconf 2.57. | |
12674 | ||
e0740893 DJ |
12675 | 2004-02-23 Dale Johannesen <dalej@apple.com> |
12676 | ||
12677 | * config/rs6000.md (movsf_hardfloat): Add POWER form of nop. | |
12678 | (movdf_hardfloat64): Ditto. | |
12679 | (movdf_softfloat64): Ditto. | |
12680 | ||
e91fa876 | 12681 | 2004-02-23 Fariborz Jahanian <fjahanian@apple.com> |
3205a71e | 12682 | * config/rs6000/rs6000.c (function_arg): call to |
e91fa876 | 12683 | rs6000_mixed_function_arg for DFmode moved to allow |
21526606 | 12684 | normal DFmode incoming register assignment. |
e91fa876 | 12685 | |
ae6669e7 DJ |
12686 | 2004-02-23 Dale Johannesen <dalej@apple.com> |
12687 | ||
12688 | * config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy. | |
12689 | (movdf_hardfloat64): Ditto. | |
12690 | ||
2a9f2ad3 KH |
12691 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
12692 | ||
12693 | * convert.c, gcov-io.c, libgcov.c, sched-int.h, sibcall.c, | |
12694 | config/rs6000/linux.h, config/rs6000/rs6000-c.c: Update | |
12695 | copyright. | |
12696 | ||
aa5fa0fc AP |
12697 | 2004-02-23 Andrew Pinski <pinskia@physics.uc.edu> |
12698 | ||
a2f1f4c3 AP |
12699 | PR c/14156 |
12700 | * c-typeck.c (c_expand_return): Change check for VAR_DECL | |
12701 | to use DECL_P instead. | |
12702 | ||
aa5fa0fc AP |
12703 | * config/rs6000/linux.h (OS_MISSING_POWERPC64): Define. |
12704 | * config/rs6000/linux64.h (OS_MISSING_POWERPC64): Define. | |
12705 | ||
221ee7c9 KH |
12706 | 2004-02-23 Kazu Hirata <kazu@cs.umass.edu> |
12707 | ||
12708 | * Makefile.in (opts.o): Depend on target.h. | |
12709 | * opts.c (decode_options): Use targetm.default_short_enums | |
12710 | instead of DEFAULT_SHORT_ENUMS. | |
12711 | * system.h (DEFAULT_SHORT_ENUMS): Poison. | |
12712 | * target-def.h (TARGET_DEFAULT_SHORT_ENUMS): New. | |
12713 | (TARGET_INITIALIZER): Add TARGET_DEFAULT_SHORT_ENUMS. | |
12714 | * target.h (gcc_target): Add default_short_enums. | |
12715 | * config/cris/cris.h: Remove a comment about | |
12716 | DEFAULT_SHORT_ENUMS. | |
12717 | * config/ip2k/ip2k.h: Likewise. | |
12718 | * doc/tm.texi (DEFAULT_SHORT_ENUMS): Change to | |
12719 | TARGET_DEFAULT_SHORT_ENUMS. Update the description. | |
12720 | ||
bba745c1 | 12721 | 2004-02-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
3205a71e | 12722 | Falk Hueffner <falk@debian.org> |
bba745c1 EB |
12723 | |
12724 | PR c/14188 | |
12725 | * builtins.c (expand_builtin_va_arg): Emit an informative message | |
12726 | if a trap is generated. | |
12727 | * c-typeck.c (build_function_call): Likewise. | |
12728 | ||
c2cd64b5 JJ |
12729 | 2004-02-22 Jakub Jelinek <jakub@redhat.com> |
12730 | ||
12731 | * gcov-io.c (gcov_open) [GCOV_LOCKED]: Use open + fdopen instead of | |
12732 | fopen. | |
12733 | * libgcov.c: Include sys/stat.h. | |
12734 | * config/rs6000/linux.h (TARGET_HAS_F_SETLKW): Define. | |
12735 | * config/rs6000/linux64.h (TARGET_HAS_F_SETLKW): Define. | |
12736 | * config/sparc/linux.h (TARGET_HAS_F_SETLKW): Define. | |
12737 | * config/sparc/linux64.h (TARGET_HAS_F_SETLKW): Define. | |
12738 | ||
fcfcb20e KH |
12739 | 2004-02-22 Kazu Hirata <kazu@cs.umass.edu> |
12740 | ||
12741 | * reorg.c: Remove comments about dead ports. | |
12742 | ||
56d03a40 CF |
12743 | 2004-02-22 Christopher Faylor <cgf@redhat.com> |
12744 | ||
12745 | * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): *Really* specify | |
12746 | extra host object file when targetting cygwin rather than generic | |
12747 | object files. | |
12748 | ||
5e20bdd7 JZ |
12749 | 2004-02-22 Josef Zlomek <zlomekj@suse.cz> |
12750 | ||
12751 | Merge from tree-ssa: | |
12752 | 2003-11-20 Richard Henderson <rth@redhat.com> | |
12753 | ||
12754 | * tree-inline.c (insert_decl_map): New. | |
12755 | (remap_decl, remap_type, remap_block, copy_body_r, | |
12756 | initialize_inlined_parameters, declare_return_variable, | |
12757 | remap_save_expr): Use it. | |
12758 | ||
12759 | * function.c (copy_body_r): Add mapping from id->ret_label to | |
12760 | id->ret_label. Revert test for ret_label. | |
12761 | ||
4112be4a JJ |
12762 | 2004-02-22 Jakub Jelinek <jakub@redhat.com> |
12763 | ||
12764 | * genoutput.c (process_template): Strip trailing whitespace in @ | |
12765 | templates and issue a warning if there was any. | |
12766 | ||
3a6efa98 | 12767 | 2004-02-21 Christopher Faylor <cgf@redhat.com> |
dc4a2f32 CF |
12768 | |
12769 | * config.gcc (i[34567]86-*-pe|i[34567]86-*-cygwin*): Specify extra host | |
12770 | object file when targetting cygwin. | |
12771 | * config/i386/t-cygwin (EXTRA_GCC_OBJS): Remove definition since it is | |
12772 | overridden by top-level Makefile. | |
12773 | ||
22cc69c4 RS |
12774 | 2004-02-21 Roger Sayle <roger@eyesopen.com> |
12775 | ||
12776 | * config/i386/i386.c (standard_80387_constant_p): Also prefer | |
12777 | the x87's load constant instructions when optimizing for size. | |
12778 | ||
bee07d3f KH |
12779 | 2004-02-21 Kazu Hirata <kazu@cs.umass.edu> |
12780 | ||
12781 | * combine.c (SHIFT_COUNT_TRUNCATED): Remove. | |
12782 | * defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default. | |
12783 | * expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined. | |
12784 | * fold-const.c: Likewise. | |
12785 | * simplify-rtx.c: Likewise. | |
12786 | ||
da6fdad3 AM |
12787 | 2004-02-21 Alan Modra <amodra@bigpond.net.au> |
12788 | ||
12789 | * combine.c (can_combine_p): Don't ignore SETs marked with | |
12790 | REG_EH_REGION notes. | |
12791 | (try_combine): When attemting to fix unrecognized insns, don't | |
12792 | split a PARALLEL that contains the original i2. | |
12793 | ||
8bb418a3 ZL |
12794 | 2004-02-21 Ziemowit Laski <zlaski@apple.com> |
12795 | ||
12796 | * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Refer to | |
12797 | SUBTARGET_OPTION_TRANSLATE_TABLE for architecture-specific options. | |
12798 | * config/i386/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): Define it. | |
12799 | * config/rs6000/altivec.h: #error out if '-maltivec' not specified. | |
12800 | (vector, pixel, bool): #define to __vector, __pixel and __bool. | |
12801 | (__un_args_eq, __bin_args_eq, __tern_args_eq): Move to C-specific | |
12802 | portion of header. | |
12803 | (__altivec_link_error_invalid_argument): Remove prototype; will use | |
12804 | __builtin_altivec_compiletime_error("vec_*") instead. | |
12805 | (vec_*): Fix/complete set of available operation overloads given the | |
12806 | existence of distinct 'vector bool ...' and 'vector pixel' types; tighten | |
12807 | cv-correctness of pointer arguments; in C, always check for correct | |
12808 | argument types before macro expansion. | |
12809 | * config/rs6000/darwin.h (SUBTARGET_OPTION_TRANSLATE_TABLE): New macro | |
12810 | defining Darwin/PowerPC-specific '-f[no-]altivec' and | |
12811 | '-W[no-]altivec-long-deprecated' switches. | |
12812 | * config/rs6000/rs6000-c (rs6000_cpu_cpp_builtins): Pre-define | |
12813 | '__vector', '__pixel' and '__bool' macros using | |
12814 | '__attribute__((altivec(...)))' types. | |
12815 | * config/rs6000/rs6000.c (bool_char_type_node, bool_short_type_node, | |
12816 | bool_int_type_node, pixel_type_node, bool_V16QI_type_node, | |
12817 | bool_V8HI_type_node, bool_V4SI_type_node, pixel_V8HI_type_node): | |
12818 | New type nodes. | |
12819 | (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): New, for | |
12820 | handling '-W[no-]altivec-long-deprecated'. | |
12821 | (rs6000_override_options): Handle '-W[no-]altivec-long-deprecated'. | |
12822 | (rs6000_expand_binop_builtin, rs6000_expand_ternop_builtin, | |
12823 | altivec_expand_dst_builtin): Remove casts from integer literals. | |
12824 | (altivec_expand_builtin): Likewise; handle expansion of new | |
12825 | '__builtin_altivec_compiletime_error' function. | |
12826 | (rs6000_init_builtins): Initialize 'vector bool ...' and 'vector pixel' | |
12827 | types, and make them distinct from other vector types; register | |
12828 | '__builtin_altivec_compiletime_error' function. | |
12829 | (print_operand): For 'P', print a full target register name instead of | |
12830 | merely its number. | |
12831 | (rs6000_attribute_table): Add "altivec" attribute. | |
12832 | (rs6000_handle_altivec_attribute): New function. | |
21526606 | 12833 | * config/rs6000/rs6000.h (TARGET_OPTIONS): Describe |
8bb418a3 ZL |
12834 | '-m[no-]-warn-altivec-long' (which '-W[no-]altivec-long-deprecated' |
12835 | maps to). | |
12836 | (rs6000_warn_altivec_long, rs6000_warn_altivec_long_switch): Forward | |
12837 | declare. | |
12838 | (ALTIVEC_BUILTIN_COMPILETIME_ERROR): New built-in enumeration. | |
12839 | ||
06a419ff JW |
12840 | 2004-02-20 James E Wilson <wilson@specifixinc.com> |
12841 | ||
12842 | * config/ia64/ia64.md (shift_mix4left+1): Delete reload_completed | |
12843 | check. | |
12844 | (shift_mix4left+2): Delete redundant pattern. | |
12845 | ||
d220de0e KH |
12846 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
12847 | ||
12848 | * alias.c (OUTGOING_REGNO): Don't define the default. | |
12849 | * builtins.c (OUTGOING_REGNO): Likewise. | |
12850 | (INCOMING_REGNO): Likewise. | |
12851 | (apply_args_register_offset): Always use OUTGOING_REGNO. | |
12852 | * combine.c (OUTGOING_REGNO): Likewise. | |
12853 | * sibcall.c (OUTGOING_REGNO): Likewise. | |
12854 | * defaults.h (INCOMING_REGNO): Provide the default. | |
12855 | (OUTGOING_REGNO): Likewise. | |
12856 | ||
701ad47e JH |
12857 | 2004-02-21 Jan Hubicka <jh@suse.cz> |
12858 | ||
12859 | * params.def (max-peeled-insns, max-completely-peeled-insns, | |
12860 | max-once-peeled-insns): Set to 400. | |
12861 | ||
7a3e01c4 JDA |
12862 | 2004-02-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12863 | ||
3205a71e | 12864 | PR c++/12007 |
7a3e01c4 JDA |
12865 | * dbxout.c (dbxout_parms): Check that DECL_RTL and DECL_INCOMING_RTL |
12866 | are set for parameters before outputing debugging information. | |
12867 | ||
f4d9988b FH |
12868 | 2004-02-20 Falk Hueffner <falk@debian.org> |
12869 | ||
12870 | PR target/14201 | |
12871 | * config/alpha/alpha.md (*fix_truncsfsi_ieee): Fix typoed operand | |
12872 | numbers. | |
12873 | ||
2ae5c785 PB |
12874 | 2004-02-20 Per Bothner <per@bothner.com> |
12875 | ||
12876 | * input.h: Don't #include line-map.h. It may cause link problems | |
12877 | with undefined linemap_line_start when line-map.h is included but | |
12878 | line-map.o is not linked, as currently happens with gengtype on | |
12879 | compilers that don't support inline. | |
12880 | * toplev.c: So we do have to explicitly #include line-map.h here. | |
12881 | ||
7c4d376d RH |
12882 | 2004-02-20 Richard Henderson <rth@redhat.com> |
12883 | ||
12884 | * doc/invoke.texi: Add -Wvariadic-macros. | |
12885 | ||
2c598860 KH |
12886 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
12887 | ||
12888 | * haifa-sched.c (sched_emit_insn): Remove. | |
12889 | * sched-int.h: Remove the corresponding prototype. | |
12890 | ||
35afa569 KH |
12891 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
12892 | ||
12893 | Revert: | |
12894 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> | |
12895 | * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. | |
12896 | * system.h (DEFAULT_SHORT_ENUMS): Poison. | |
12897 | * config/cris/cris.h: Remove a comment about | |
12898 | DEFAULT_SHORT_ENUMS. | |
12899 | * config/ip2k/ip2k.h: Likewise. | |
12900 | * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove. | |
12901 | ||
c1c3bb0c ME |
12902 | 2004-02-20 Mohan Embar <gnustuff@thisiscool.com> |
12903 | Tom Tromey <tromey@redhat.com> | |
12904 | ||
12905 | * doc/install.texi: Moved --disable-libgcj and | |
12906 | --with-system-zlib documentation to new section for | |
12907 | Java-specific options. | |
12908 | Added explicit Cross-Compiler-Specific Options subheading. | |
12909 | Added section for Java-specific options. | |
12910 | ||
ee095310 MK |
12911 | 2004-02-20 Matt Kraai <kraai@alumni.cmu.edu> |
12912 | ||
12913 | * doc/install.texi (Building the Ada compiler): Remove | |
3205a71e | 12914 | example. |
ee095310 | 12915 | |
15316a6f JW |
12916 | 2004-02-20 James E Wilson <wilson@specifixinc.com> |
12917 | ||
12918 | * toplev.c (dump_file_index, dump_file): Put ce3 before rnreg. | |
12919 | ||
9f76f909 KH |
12920 | 2004-02-20 Kazu Hirata <kazu@cs.umass.edu> |
12921 | ||
12922 | * gcc.c (process_command): Allow translation of the copyright | |
12923 | symbol but not the rest of the copyright message. | |
12924 | * gcov.c (print_version): Likewise. Allow translation of the | |
12925 | message about warranty. | |
12926 | ||
f38a62ff HPN |
12927 | 2004-02-20 Hans-Peter Nilsson <hp@axis.com> |
12928 | ||
12929 | * config/cris/cris.md ("*andsi_movu"): Correct parentheses in | |
12930 | predicate. | |
12931 | ("*andsi_clear"): Tweak constraints to not match postincrement. | |
12932 | Adjust the predicate to exclude a volatile memory reference. | |
12933 | ("*andhi_clear"): Ditto. Rename from "*andhi_clear_signed". | |
12934 | ("*andhi_clear_unsigned"): Remove, non-matching pattern. | |
12935 | ||
88e3a2a3 MK |
12936 | 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu> |
12937 | ||
12938 | * move-if-change: Remove. | |
12939 | * Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck) | |
12940 | (s-specs, s-options, s-config, s-conditions, s-flags, s-codes) | |
12941 | (s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep) | |
12942 | (s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds) | |
12943 | (s-gtyp-gen, s-iov): Use the top level move-if-change. | |
12944 | * objc/Make-lang.in (objc/objc-parse.y): Likewise. | |
12945 | ||
e0c34369 JW |
12946 | 2004-02-19 James E Wilson <wilson@specifixinc.com> |
12947 | ||
12948 | * config/i386/i386.md (doloop_end_internal): Use nonimmediate_operand | |
12949 | for operand2. Add condition that requires register_operand operand2 | |
12950 | before reload. | |
12951 | ||
656f37ee | 12952 | 2004-02-19 Richard Sandiford <rsandifo@redhat.com> |
2b5f287b | 12953 | Maciej W. Rozycki <macro@ds2.pg.gda.pl> |
656f37ee RS |
12954 | |
12955 | * config/mips/mips.c (mips_address_insns): Treat BLKmode specially. | |
12956 | * config/mips/mips.md: Expand comment above unaligned loads and stores. | |
12957 | ||
4221057e RH |
12958 | 2004-02-19 Richard Henderson <rth@redhat.com> |
12959 | ||
12960 | * Makefile.in (STRICT2_WARN): Add -Wno-variadic-macros. | |
12961 | * tree.c (build0, build1, build2, build3, build4): Split out from... | |
12962 | (build): ... here. Call them. | |
12963 | * tree.h (build, _buildN1, _buildN2, _buildC1, _buildC2): New. | |
12964 | ||
12965 | * convert.c (convert_to_integer): Remove extra build argument. | |
12966 | * tree-inline.c (expand_call_inline): Likewise. | |
12967 | ||
e5b79219 RH |
12968 | 2004-02-19 Richard Henderson <rth@redhat.com> |
12969 | ||
12970 | * c-opts.c (warn_variadic_macros): New. | |
12971 | (c_common_handle_option): Set it. | |
12972 | (sanitize_cpp_opts): Copy it to cpp_opts. | |
12973 | * c.opt (Wvariadic-macros): New. | |
12974 | * cpplib.h (struct cpp_options): Add warn_variadic_macros. | |
12975 | * cppinit.c (cpp_create_reader): Initialize it. | |
12976 | * cppmacro.c (parse_params): Check it. | |
12977 | ||
18586cb7 DD |
12978 | 2004-02-19 David Daney <ddaney@avtrex.com> |
12979 | ||
12980 | PR preprocessor/14198 | |
12981 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Add | |
12982 | builtin_assert ("machine=mips") | |
12983 | ||
37a46828 KH |
12984 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
12985 | ||
12986 | * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. | |
12987 | * system.h (DEFAULT_SHORT_ENUMS): Poison. | |
12988 | * config/cris/cris.h: Remove a comment about | |
12989 | DEFAULT_SHORT_ENUMS. | |
12990 | * config/ip2k/ip2k.h: Likewise. | |
12991 | * doc/tm.texi (DEFAULT_SHORT_ENUMS): Remove. | |
12992 | ||
f9c887ac ZW |
12993 | 2004-02-19 Zack Weinberg <zack@codesourcery.com> |
12994 | ||
12995 | * config/ia64/ia64.c (ia64_function_arg): In big-endian mode, | |
12996 | when passing single SFmode quantities in general registers, | |
12997 | put them in the high half. | |
12998 | ||
0e1d7f32 | 12999 | 2004-02-19 Aldy Hernandez <aldyh@redhat.com> |
f9c887ac ZW |
13000 | |
13001 | * doc/md.texi (Standard Names): Document additional dependency on | |
13002 | fix pattern. | |
13003 | ||
13004 | * optabs.c (ftruncify): Remove. | |
13005 | (expand_fix): Manually inline ftruncify above. | |
13006 | (can_fix_p): Add FIXME note. | |
0e1d7f32 | 13007 | |
c6e9f0eb | 13008 | 2004-02-19 Aldy Hernandez <aldyh@redhat.com> |
f9c887ac ZW |
13009 | |
13010 | * config/rs6000/spe.md (spe_fixunssfsi2): Rename to | |
13011 | spe_fixuns_truncsfsi2. | |
13012 | ||
13013 | * config/rs6000/rs6000.md (fixunssfsi2): Rename to | |
13014 | fixuns_truncsfsi2. | |
c6e9f0eb | 13015 | |
919b531d SE |
13016 | 2004-02-19 Steve Ellcey <sje@cup.hp.com> |
13017 | ||
13018 | * config/ia64/ia64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro. | |
13019 | * testsuite/gcc.dg/20040219-1.c: New test. | |
13020 | ||
4dbb5970 UW |
13021 | 2004-02-19 Ulrich Weigand <uweigand@de.ibm.com> |
13022 | ||
13023 | * config/s390/s390.md ("*subdf3_cc", "*subdf3_cconly", "*subsf3_cc", | |
13024 | "*subsf3_cconly"): Subtraction is not commutative. | |
13025 | ||
16edbbf0 ZW |
13026 | 2004-02-19 Zack Weinberg <zack@codesourcery.com> |
13027 | ||
13028 | * sdbout.c (preinit_symbols, sdbout_initialized): New statics. | |
13029 | (sdbout_symbol): If called before sdbout_init, queue DECL for | |
13030 | later and return. | |
13031 | (sdbout_init): Set sdbout_initialized true, process decls | |
13032 | queued earlier by sdbout_symbol. | |
13033 | (sdbout_finish): Use size_t for index variable. | |
13034 | ||
f46e5baa | 13035 | 2004-02-19 Jeff Law <law@redhat.com> |
16edbbf0 | 13036 | |
f46e5baa JL |
13037 | * fold-const.c (invert_truthvalue): Do not call invert_tree_comparison |
13038 | for unordered comparison codes. | |
13039 | ||
d754127f ILT |
13040 | 2004-02-19 Ian Lance Taylor <ian@wasabisystems.com> |
13041 | ||
13042 | * reload1.c (reload): Correct comment. | |
13043 | (scan_paradoxical_subregs): Remove #if 0 and old comment. | |
13044 | * doc/extend.texi (Local Reg Vars): Remove obsolete comment that | |
13045 | register variables are not used by reload. | |
13046 | ||
428eae94 HPN |
13047 | 2004-02-19 Hans-Peter Nilsson <hp@axis.com> |
13048 | ||
13049 | PR target/14209 | |
13050 | * config/cris/cris.md ("*andsi_movu", "*andhi_movu"): Tweak | |
13051 | constraints to not match postincrement. Adjust the predicate to | |
13052 | exclude a volatile memory reference. | |
13053 | ||
a5ee8d80 KH |
13054 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
13055 | ||
13056 | * config/mcore/mcore.h (ASM_OUTPUT_EXTERNAL): Remove. | |
13057 | ||
45ea6431 KH |
13058 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
13059 | ||
13060 | * hooks.c (hook_void_tree_int): Remove. | |
13061 | (hook_void_constcharptr): Likewise. | |
13062 | (hook_int_void_0): Likewise. | |
13063 | * hooks.h: Remove the prototypes for the above three | |
13064 | functions. | |
13065 | * targhooks.c (hook_bool_machine_mode_true): Remove. | |
13066 | * targhooks.h: Remove the prototype for | |
13067 | hook_bool_machine_mode_true. | |
13068 | ||
c59102b4 KH |
13069 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
13070 | ||
13071 | * emit-rtl.c (subreg_realpart_p): Remove. | |
13072 | (reorder_insns_with_line_notes): Likewise. | |
13073 | (end_full_sequence): Likewise. | |
13074 | * rtl.h: Remove the prototype for the above functions. | |
13075 | ||
3ad17f7b KH |
13076 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
13077 | ||
13078 | * config/arc/arc.h, config/arm/arm.h, config/frv/frv.h, | |
13079 | config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, | |
13080 | config/iq2000/iq2000.h, config/m32r/m32r.h, | |
13081 | config/pdp11/pdp11.h, config/sparc/sparc.h, | |
13082 | config/xtensa/xtensa.h: Remove commented-out or useless | |
13083 | definitions of CASE_VECTOR_PC_RELATIVE. | |
13084 | ||
a3b182a7 KH |
13085 | 2004-02-19 Kazu Hirata <kazu@cs.umass.edu> |
13086 | ||
13087 | * loop.c (all_sets_invariant_p): Remove. | |
13088 | ||
1b5963f7 EB |
13089 | 2004-02-19 Eric Botcazou <ebotcazou@libertysurf.fr> |
13090 | ||
13091 | PR target/12916 | |
13092 | * config/sparc/sparc.h (NPARM_REGS): Delete. | |
13093 | (BASE_RETURN_VALUE_REG): Likewise. | |
13094 | (BASE_OUTGOING_VALUE_REG): Likewise. | |
13095 | (BASE_PASSING_ARG_REG): Likewise. | |
13096 | (BASE_INCOMING_ARG_REG): Likewise. | |
13097 | * config/sparc/sparc.c (sparc_strict_argument_naming): Test | |
13098 | TARGET_ARCH64, not TARGET_V9. | |
13099 | (function_arg_slotno): Dispatch based on the mode class. | |
13100 | Handle vector modes like floating-point modes. | |
13101 | (function_arg_record_value_1): Handle vector types like | |
13102 | floating-point types. | |
13103 | (function_arg_record_value_2): Likewise. | |
13104 | Calculate regno after mode transformation. | |
13105 | (function_arg): Handle vector modes like floating-point modes. | |
13106 | (function_arg_partial_nregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX. | |
13107 | If ARCH64, do not recheck alignment. | |
13108 | (function_arg_pass_by_reference): Reorder the conditions. | |
13109 | (sparc_return_in_memory): Move after function_arg_padding. | |
13110 | Implement calling conventions for vector modes. | |
13111 | (sparc_struct_value_rtx): Move after sparc_return_in_memory. | |
13112 | (function_value): Move scope of 'regbase'. | |
13113 | Implement calling conventions for vector modes. | |
13114 | (sparc_builtin_saveregs): Replace NPARM_REGS by SPARC_INT_ARG_MAX | |
13115 | and BASE_INCOMING_ARG_REG by SPARC_INCOMING_INT_ARG_FIRST. | |
13116 | (sparc_va_arg): Use function_arg_pass_by_reference to test whether | |
13117 | the argument is passed by reference. | |
13118 | (sparc_type_code): Handle vector types. | |
13119 | ||
196c42cd AM |
13120 | 2004-02-19 Alan Modra <amodra@bigpond.net.au> |
13121 | ||
13122 | * function.c (assign_parms): When building decl_rtl for | |
13123 | SPLIT_COMPLEX_ARGS, ensure inner modes of concat match outer. | |
13124 | ||
c0cfc691 OH |
13125 | 2004-02-19 Olivier Hainque <hainque@act-europe.fr> |
13126 | ||
13127 | * expr.c (is_aligning_offset): Check if we are aligning the | |
13128 | expressions's address over BIGGEST_ALIGNMENT in bytes, not | |
13129 | in bits. | |
13130 | ||
94632047 | 13131 | 2004-02-18 Matt Austern <austern@apple.com> |
328163dc MA |
13132 | |
13133 | * gcc.c (LIBGCC_SPEC): If REAL_LIBGCC_SPEC is defined, and | |
13134 | LIBGCC_SPEC isn't, set LIBGCC_SPEC to REAL_LIBGCC_SPEC. | |
13135 | (init_gcc_spec): Don't define or call if REAL_LIBGCC_SPEC is | |
13136 | defined. Instead use REAL_LIBGCC_SPEC, unmodifed, as the libgcc | |
13137 | spec string. | |
13138 | * doc/tm.texi (REAL_LIBGCC_SPEC): Document. | |
16edbbf0 | 13139 | |
57d4f65c ZW |
13140 | 2004-02-18 Zack Weinberg <zack@codesourcery.com> |
13141 | ||
13142 | * dwarf2out.c (loclabel_num): Move outside #ifdef | |
13143 | DWARF2_DEBUGGING_INFO and mark with GTY(()). | |
13144 | * config/ia64/ia64.c (struct extern_func_list,extern_func_head): | |
13145 | Mark with GTY(()). | |
13146 | (ia64_hpux_add_extern_decl): Save the decl, not the name string. | |
13147 | Allocate memory with ggc_alloc. No need to copy anything. | |
13148 | (ia64_hpux_file_end): Update to match. | |
13149 | ||
3fec9fa9 JJ |
13150 | 2004-02-18 Jakub Jelinek <jakub@redhat.com> |
13151 | ||
13152 | * config/i386/i386.c (override_options): Don't imply 3DNow! for -m64 | |
13153 | by default. | |
13154 | ||
5665e398 UW |
13155 | 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
13156 | ||
13157 | * config/s390/s390.md ("divmodtidi3"): Use canonical RTL. | |
13158 | ("divmodtisi3"): Likewise. | |
13159 | ("udivmoddi4", "udivmodtidi3"): Likewise. | |
13160 | ("divmodsi4", "divmoddisi3"): Likewise. | |
13161 | ("udivmodsi4", "udivmoddisi3"): Likewise. | |
13162 | ("udivsi3", "umodsi3"): Likewise. | |
13163 | ||
d76e8439 UW |
13164 | 2004-02-18 Ulrich Weigand <uweigand@de.ibm.com> |
13165 | ||
13166 | * config/s390/s390.c (s390_mainpool_start): Delete the main pool | |
13167 | placeholder insn when chunkifying the pool. | |
13168 | ||
3cf7104e JDA |
13169 | 2004-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13170 | ||
13171 | * pa.h (PIC_OFFSET_TABLE_REGNUM): Define to INVALID_REGNUM when not | |
13172 | generating PIC code. | |
13173 | ||
8981ecd3 KH |
13174 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13175 | ||
13176 | * config/h8300/h8300-protos.h: Add a prototype for | |
13177 | h8300_expand_branch. | |
13178 | * config/h8300/h8300.c (h8300_expand_branch): New. | |
13179 | * config/h8300/h8300.md (ble, bleu, bge, bgeu, blt, bltu, bgt, | |
13180 | bgtu, beq, bne): Call h8300_expand_branch(). | |
13181 | ||
07ee3b58 KH |
13182 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13183 | ||
13184 | * config/h8300/h8300-protos.h: Add prototypes for | |
13185 | h8300_hard_regno_nregs and h8300_hard_regno_mode_ok. | |
13186 | * config/h8300/h8300.c (h8300_hard_regno_nregs): New. | |
13187 | (h8300_hard_regno_mode_ok): Likewise. | |
13188 | * config/h8300/h8300.h (HARD_REGNO_NREGS): Call | |
13189 | h8300_hard_regno_nregs(). | |
13190 | (HARD_REGNO_MODE_OK): Call h8300_hard_regno_mode_ok(). | |
13191 | ||
22234f56 PB |
13192 | 2004-02-18 Per Bothner <per@bothner.com> |
13193 | ||
13194 | * cpphash.h (struct cpp_buffer): Restore return_at_eof field. This | |
13195 | partly reverts my 2003-10-01 change, because we're back to logically | |
13196 | including <command line> inside the main line. | |
13197 | * cpplex.c (_cpp_get_fresh_line): Check return_at_eof field. | |
13198 | * cppmacro.c (cpp_scan_nooutput): Set return_at_eof of current buffer. | |
13199 | Fixes PR preprocessor/14103. | |
13200 | ||
13201 | * cppfiles.c (_cpp_stack_include): When appropriate decrement | |
13202 | line_table's highest_location, fixing LAST_SOURCE_LINE_LOCATION. | |
13203 | (cpp_push_include): Don't need to increment pfile's line field. | |
13204 | * line-map.h (LAST_SOURCE_LINE_LOCATION): Only decrement by 1. | |
13205 | ||
13206 | * c-ppoutput.c (print struct): New first_time field. | |
13207 | (init_pp_output): Set print.first_time. | |
13208 | (pp_file_change): Use print.first_time, rather than MAIN_FILE_P, | |
13209 | which is set also for (say) <command line>. Clear print.first_time. | |
13210 | ||
13211 | * cppfiles.c (struct _cpp_file): Comment and type for pch field | |
13212 | does not match the code, so fix both. | |
13213 | (should_stack_file): Inline include_pch_p function. | |
13214 | (include_pch_p): Remove pointless function. | |
13215 | ||
13216 | * cpphash.h (struct cpp_buffer): Remove unused search_cached field. | |
13217 | ||
5a6d9a81 KH |
13218 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13219 | ||
13220 | * config/h8300/h8300.md (four define_peephole2's): Use | |
13221 | h8300_regs_ok_for_stm(). | |
13222 | ||
3d2e90d6 KH |
13223 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13224 | ||
13225 | * config/h8300/h8300-protos.h: Update the prototype for | |
13226 | expand_a_rotate(). | |
13227 | * config/h8300/h8300.c (expand_a_rotate): Remove the first | |
13228 | argument. | |
13229 | * config/h8300/h8300.md: Update all callers. | |
13230 | ||
79ae63b1 JH |
13231 | 2004-02-18 Jan Hubicka <jh@suse.cz> |
13232 | ||
13233 | * simplify-rtx.c (simplify_unary_operation): Deal with logicals on | |
13234 | floats. | |
13235 | (simplify_binary_operation): Deal with logicals on floats. | |
13236 | ||
13237 | * i386.md (SSE fabs splitters): Emit new patterns. | |
13238 | (SSE cmov splitters): Likewise. | |
13239 | (sse_andv4sf3, sse_nandv4sf3, sse_iorv4sf3, sse_xorv4sf3 | |
13240 | (sse_andv2df3, sse_nandv2df3, sse_iorv2df3, sse_xorv2df3): Do not use | |
13241 | subregs. | |
13242 | (sse_andsf3, sse_nandsf3, sse_xorsf3): Kill. | |
13243 | (sse_anddf3, sse_nanddf3, sse_xordf3): Kill. | |
13244 | ||
01ab5574 KH |
13245 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13246 | ||
13247 | * config/h8300/h8300.c (expand_a_rotate): Don't generate insns | |
13248 | by hand. | |
13249 | (output_a_rotate): Tweak a comment. | |
13250 | * config/h8300/h8300.md (*rotlqi3_1): Change to rotlqi3_1. | |
13251 | (*rotlhi3_1): Change to rotlhi3_1. | |
13252 | (*rotlsi3_1): Change to rotlsi3_1. | |
13253 | ||
d5f7d2d0 RE |
13254 | 2004-02-18 Richard Earnshaw <rearnsha@arm.com> |
13255 | ||
13256 | PR target/13866 | |
13257 | * arm.c (load_multiple_operation): Don't insist that the source reg | |
13258 | of a post-increment component is the same as the destination. | |
13259 | (store_multiple_operation): Likewise. | |
13260 | ||
b0c8a821 KH |
13261 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13262 | ||
13263 | * config/h8300/h8300.md: Move movsf patterns into one section | |
13264 | of the file. | |
13265 | ||
aa335b76 KH |
13266 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13267 | ||
13268 | * cfgloop.h, cfgloopanal.c, cpplex.c, except.h, loop-init.c, | |
13269 | loop-unroll.c, scan-decls.c, scan.h, stor-layout.c, | |
13270 | xcoffout.c, xcoffout.h, config/arm/mmintrin.h, | |
13271 | config/mips/linux64.h, config/pa/pa-64.h, | |
13272 | config/rs6000/aix51.h, config/rs6000/aix52.h, | |
13273 | config/rs6000/spe.md, config/sparc/linux.h, | |
13274 | config/sparc/linux64.h: Update copyright. | |
13275 | ||
5a64541a KH |
13276 | 2004-02-18 Kazu Hirata <kazu@cs.umass.edu> |
13277 | ||
13278 | * config/h8300/h8300.md: Move push patterns into one | |
13279 | section of the file. | |
13280 | ||
8d04e6db MM |
13281 | 2004-02-18 Mark Mitchell <mark@codesourcery.com> |
13282 | ||
13283 | PR c++/11326 | |
13284 | * config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL | |
13285 | fntype. | |
13286 | ||
e978d62e PB |
13287 | 2004-02-18 Paul Brook <paul@codesourcery.com> |
13288 | ||
13289 | * rtlanal.c (rtx_varies_p): Return 0 for NULL_RTX | |
13290 | ||
cdbafce1 PB |
13291 | 2004-02-18 Paul Brook <paul@codesourcery.com> |
13292 | ||
c5fe5036 | 13293 | PR debug/12934 |
cdbafce1 PB |
13294 | * dwarf2out.c (loc_descriptor_from_tree): Handle |
13295 | EXPR_WITH_FILE_LOCATION. | |
13296 | ||
5a0855a0 JJ |
13297 | 2004-02-18 Jakub Jelinek <jakub@redhat.com> |
13298 | ||
13299 | * config/i386/i386.md (zero_extendqidi2, zero_extendqidi2, | |
13300 | testdi_1_rex64, anddi_2, xordi_1_rex64, xordi_2_rex64): Remove | |
13301 | trailing whitespace from instructions. | |
13302 | ||
9c56033f GK |
13303 | 2004-02-17 Geoffrey Keating <geoffk@apple.com> |
13304 | ||
13305 | * configure.ac: When generating auto-build.h, pass | |
13306 | --enable-languages to the sub-configure. | |
13307 | Put quotes around ${program_transform_name} when generating | |
13308 | name of as, ld, nm, objdump. | |
13309 | * configure: Regenerate. | |
13310 | ||
80bcb4d2 MK |
13311 | 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu> |
13312 | ||
13313 | * Makefile.in (s-check, s-config, s-conditions, s-flags) | |
13314 | (s-codes, s-constants, s-emit, s-recog, s-opinit, s-extract) | |
13315 | (s-peep, s-attr, s-attrtab, s-output, s-genrtl, s-modes) | |
13316 | (s-preds, s-iov): Do not depend on move-if-change. | |
13317 | ||
ce7b36a4 JW |
13318 | 2004-02-17 James E Wilson <wilson@specifixinc.com> |
13319 | ||
13320 | * caller-save.c (insert_restore): Pass mem through copy_rtx. | |
13321 | (insert_save): Likewise. | |
13322 | ||
f8b58e56 KH |
13323 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13324 | ||
13325 | * config/h8300/h8300.c (h8300_emit_stack_adjustment): Fix a | |
13326 | warning. | |
13327 | ||
8d82e1d8 KH |
13328 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13329 | ||
13330 | * config/h8300/h8300.md (*one_complsi2_h8300): Change to | |
13331 | *one_cmplsi2_h8300. | |
13332 | (*one_complsi2_h8300hs): Change to *one_cmplsi2_h8300hs. | |
13333 | ||
4093985c KH |
13334 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13335 | ||
13336 | * config/h8300/h8300-protos.h: Update the prototype of | |
13337 | fix_bit_operand(). | |
13338 | * config/h8300/h8300.c (fix_bit_operand): Remove the second | |
13339 | argument "what". | |
13340 | * config/h8300/h8300.md: Update all callers. | |
13341 | ||
fd57a6e4 KH |
13342 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13343 | ||
13344 | * config/h8300/h8300.c (fix_bit_operand): Change the name of | |
13345 | the last argument to "code" from "type". | |
13346 | ||
6a415867 KH |
13347 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13348 | ||
13349 | * config/h8300/h8300.c: Remove an extern declaration of | |
13350 | rtx_equal_function_value_matters. | |
13351 | ||
a3579575 KH |
13352 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13353 | ||
13354 | * config/h8300/h8300.c (fix_bit_operand): Don't generate insns | |
13355 | by hand. | |
13356 | * config/h8300/h8300.md (*andqi3_1): Change to andqi3_1. | |
13357 | (*iorqi3_1): Change to iorqi3_1. | |
13358 | (*xorqi3_1): Change to xorqi3_1. | |
13359 | ||
321440fd KH |
13360 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13361 | ||
13362 | * c-common.c, cfghooks.c, rtlanal.c, varasm.c: Fix comment | |
13363 | typos. | |
13364 | ||
7b50a809 JH |
13365 | 2004-02-17 Jan Hubicka <jh@suse.cz> |
13366 | ||
13367 | * i386.c (x86_prologue_using_move, x86_epilogue_using_move): Disable for P4. | |
13368 | ||
8051c2eb AM |
13369 | 2004-02-18 Alan Modra <amodra@bigpond.net.au> |
13370 | ||
13371 | PR optimization/14119 | |
13372 | * combine.c (try_combine): When attemting to fix unrecognized insns, | |
13373 | don't delete SETs marked with REG_EH_REGION notes. | |
13374 | ||
db33236e UW |
13375 | 2004-02-17 Ulrich Weigand <uweigand@de.ibm.com> |
13376 | ||
57d4f65c | 13377 | * combine.c (simplify_if_then_else): Do not replace |
db33236e UW |
13378 | (if_then_else (ne reg 0) (0) (const_int)) by (reg) if the |
13379 | modes differ. | |
13380 | ||
1da326c3 SB |
13381 | 2004-02017 Steven Bosscher <stevenb@suse.de> |
13382 | ||
13383 | * (c-decl.c, c-semantics.c, calls.c, cgraph.c, cgraphunit.c, | |
13384 | function.c, integrate.c, print-tree.c, toplev.c, tree-optimize.c, | |
13385 | tree.h): Replace DECL_SAVED_INSNS with DECL_STRUCT_FUNCTION. | |
13386 | * ada/utils.c: Likewise. | |
13387 | * cp/decl.c: Likewise. | |
13388 | * f/com.c: Likewise. | |
13389 | * java/class.c: Likewise. | |
13390 | ||
65c07641 KH |
13391 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13392 | ||
13393 | * config/h8300/h8300.md: Fix comment typos. | |
13394 | ||
3e35cb0c RO |
13395 | 2004-02-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
13396 | ||
13397 | * config/mips/t-iris6gld: Renamed to ... | |
13398 | * config/mips/t-irix-gld: ... this. | |
13399 | * config.gcc (mips-sgi-irix6*): Reflect this | |
13400 | (mips-sgi-irix5*): Use it with GNU ld. | |
57d4f65c | 13401 | |
3e35cb0c RO |
13402 | * config/mips/irix6-crti.asm, config/mips/irix6-crtn.asm: Renamed |
13403 | to ... | |
13404 | * config/mips/irix-crti.asm, config/mips/irix-crtn.asm: ... this. | |
13405 | * config/mips/t-irix-gld: Reflect this. | |
13406 | * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
57d4f65c | 13407 | |
3e35cb0c RO |
13408 | * config/mips/iris5gld.h: New file. |
13409 | * config.gcc (mips-sgi-irix5*): Use it with GNU ld. | |
13410 | Only use collect2 without gas. | |
57d4f65c | 13411 | |
3e35cb0c RO |
13412 | * config/mips/iris6.h (IRIX6_STARTFILE_SPEC, IRIX6_ENDFILE_SPEC): |
13413 | Renamed to IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC. | |
13414 | (STARTFILE_SPEC, ENDFILE_SPEC, SUBTARGET_EXTRA_SPECS): Reflect this. | |
13415 | * config/mips/iris6gld.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. | |
57d4f65c | 13416 | |
3e35cb0c RO |
13417 | * config/mips/iris6.h (SUBTARGET_EXTRA_SPECS): Moved ... |
13418 | * config/mips/iris5.h: ... here. | |
13419 | ||
13420 | * config/mips/iris5.h (STARTFILE_SPEC, ENDFILE_SPEC): Renamed to | |
57d4f65c | 13421 | IRIX_STARTFILE_SPEC, IRIX_ENDFILE_SPEC. |
3e35cb0c | 13422 | (STARTFILE_SPEC, ENDFILE_SPEC): Define. |
57d4f65c | 13423 | |
3e35cb0c RO |
13424 | * config/mips/iris5gas.h (STARTFILE_SPEC, ENDFILE_SPEC): Simplify |
13425 | using irix_startfile_spec, irix_endfile_spec. | |
13426 | ||
1f0282cb GN |
13427 | 2004-02-16 Gunther Nikl <gni@gecko.de> |
13428 | ||
13429 | * config/m68k/m68k.c: Remove obsolete support for HPUX_ASM. | |
13430 | ||
6552458a KH |
13431 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13432 | ||
13433 | * config/h8300/h8300.c (h8300_expand_prologue): Don't generate | |
13434 | insns by hand. | |
13435 | ||
017b3258 ZD |
13436 | 2004-02-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13437 | ||
13438 | * cfghooks.c (split_edge): Speed up updating of dominators. | |
13439 | ||
57782ad8 MM |
13440 | 2004-02-17 Mark Mitchell <mark@codesourcery.com> |
13441 | ||
13442 | PR c++/11326 | |
13443 | * c-common.c (flag_abi_version): Remove. | |
13444 | * c-common.h (flag_abi_version): Likewise. | |
13445 | * c-opts.c (c_common_handle_option): Remove OPT_fabi_version case. | |
13446 | * c.opt (fabi-version): Remove. | |
13447 | * calls.c (expand_call): Always pass a function type to | |
13448 | struct_value_rtx. Use convert_memory_address. | |
13449 | * common.opt (fabi-version): Add it. | |
13450 | * flags.h (flag_abi_version): Likewise. | |
13451 | (abi_version_at_least): New macro. | |
13452 | * opts.c (common_handle_option): Add OPT_fabi_version. | |
13453 | * toplev.c (flag_abi_version): Define it. | |
13454 | * config/ia64/ia64.c (ia64_struct_retval_addr_is_first_parm_p): | |
13455 | New function. | |
13456 | (ia64_output_mi_thunk): Use it. | |
13457 | (ia64_struct_value_rtx): Likewise. | |
57d4f65c | 13458 | |
72b1de44 KH |
13459 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13460 | ||
13461 | * config/h8300/h8300.c (h8300_emit_stack_adjustment): | |
13462 | Don't generate insns by hand. | |
13463 | ||
d150ccef AP |
13464 | 2004-02-17 Andrew Pinski <pinskia@physics.uc.edu> |
13465 | ||
13466 | PR c++/14178 | |
13467 | * doc/invoke.texi (fabi-version): The default is 2 now. | |
13468 | ||
50654f6c ZD |
13469 | 2004-02-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13470 | ||
13471 | * loop-iv.c: New file. | |
13472 | * Makefile.in (loop-iv.o): New. | |
13473 | * basic_block.h (FOR_BB_INSNS, FOR_BB_INSNS_REVERSE): New macros. | |
13474 | * cfgloop.c (fill_sons_in_loop, get_loop_body_in_dom_order, | |
13475 | num_loop_branches): New functions. | |
13476 | * cfgloop.h (get_loop_body_in_dom_order, num_loop_branches, | |
13477 | iv_analysis_loop_init, iv_get_reaching_def, iv_analyse, get_iv_value, | |
13478 | find_simple_exit, iv_number_of_iterations, iv_analysis_done, | |
13479 | get_simple_loop_desc, free_simple_loop_desc): Declare. | |
13480 | (simple_loop_desc): New inline function. | |
13481 | (struct rtx_iv, struct niter_desc): New. | |
13482 | * cfgloopmanip.c (loopify): Specify semantics more precisely. | |
13483 | * expr.c (force_operand): Handle subregs of expressions created by | |
13484 | loop unroller. | |
13485 | * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): Move | |
13486 | parts of the initialization to toplev.c | |
13487 | * loop-unroll.c (loop_exit_at_end_p): New. | |
13488 | (unroll_and_peel_loops): Call iv_analysis_done. | |
13489 | (decide_peel_once_rolling, decide_peel_completely, | |
13490 | decide_unroll_stupid, decide_unroll_constant_iterations, | |
13491 | decide_unroll_runtime_iterations, decide_peel_simple, | |
13492 | peel_loop_simple, unroll_loop_stupid, unroll_loop_constant_iterations, | |
13493 | unroll_loop_runtime_iterations): Use new simple loop analysis. | |
13494 | * loop-unswitch.c (compare_and_jump_seq): New. | |
13495 | (may_unswitch_on_p): Renamed to ... | |
13496 | (may_unswitch_on): Use new iv analysis. | |
13497 | (reversed_condition): Export. | |
13498 | (unswitch_single_loop, unswitch_loop): Use new iv analysis. | |
13499 | * predict.c (estimate_probability): Use new simple loop analysis. | |
13500 | * rtl.h (get_mode_bounds, reversed_condition,compare_and_jump_seq, | |
13501 | canon_condition, simplify_using_condition): Declare. | |
13502 | * stor-layout.c (get_mode_bounds): New. | |
13503 | * toplev.c (rest_of_handle_loop2): Some parts of | |
13504 | initialization/finalization moved here from loop-init.c. | |
13505 | ||
ef3f573f KH |
13506 | 2004-02-17 Kazu Hirata <kazu@cs.umass.edu> |
13507 | ||
13508 | * config/h8300/h8300.h (FIXED_REGISTERS): Add the soft frame | |
13509 | pointer. | |
13510 | (CALL_USED_REGISTERS): Likewise. | |
13511 | (REG_ALLOC_ORDER): Likewise. | |
13512 | (REG_CLASS) <GENERAL_REGS>: Likewise. | |
13513 | ||
e3d6e740 GK |
13514 | 2004-02-16 Geoffrey Keating <geoffk@apple.com> |
13515 | ||
13516 | * doc/md.texi (Insn Canonicalizations): Document left-chaining | |
13517 | in associative operators. | |
13518 | * rtlanal.c (commutative_operand_precedence): Create some new | |
13519 | variables. Prefer a commutative operand on the left, then | |
13520 | binary expressions, then NEG and NOT. | |
13521 | ||
8c958ed2 MK |
13522 | 2004-02-16 Matthias Klose <doko@debian.org> |
13523 | ||
57d4f65c ZW |
13524 | * config/t-slibgcc-elf-ver: Define SHLIB_NAME and SHLIB_SONAME |
13525 | in terms of SHLIB_SOVERSION. | |
13526 | * config/m68k/t-slibgcc-elf-ver: New file. | |
13527 | * config/pa/t-slibgcc-elf-ver: New file. | |
13528 | * config.gcc (m68k-linux, parisc-linux): Use them when not | |
8c958ed2 MK |
13529 | sjlj exceptions are not configured. |
13530 | ||
42a5f3c0 EB |
13531 | 2004-02-16 Eric Botcazou <ebotcazou@libertysurf.fr> |
13532 | ||
13533 | * config/sparc/sparc.c (get_pc_symbol_name): Mark with GTY(()). | |
13534 | ||
1729e46c ZW |
13535 | 2004-02-16 Zack Weinberg <zack@codesourcery.com> |
13536 | ||
13537 | * sdbout.c (sdb_debug_hooks): Correct the type_decl entry. | |
13538 | ||
0acdc221 JM |
13539 | 2004-02-16 Joseph S. Myers <jsm@polyomino.org.uk> |
13540 | ||
13541 | * doc/sourcebuild.texi: Mention backends.html. | |
13542 | ||
9ac97460 KH |
13543 | 2004-02-16 Kazu Hirata <kazu@cs.umass.edu> |
13544 | ||
13545 | * c-decl.c, c-ppoutput.c, cpphash.h, cpplib.h, dbxout.c, | |
13546 | line-map.c, line-map.h, var-tracking.c: Fix comment | |
13547 | formatting. | |
13548 | ||
9dcb4381 RH |
13549 | 2004-02-16 Richard Henderson <rth@redhat.com> |
13550 | ||
13551 | * cse.c (cse_insn): Don't lose REG_NON_LOCAL_GOTO note. | |
13552 | ||
1729e46c | 13553 | * fold-const.c (operand_equal_p): Fix VECTOR_CST comparison. |
875427f0 | 13554 | |
1472042a KH |
13555 | 2004-02-15 Kazu Hirata <kazu@cs.umass.edu> |
13556 | ||
13557 | * config/h8300/h8300.md: Remove unnecessary parallels from | |
13558 | all define_insn and define_split patterns. | |
13559 | ||
24f29b06 KH |
13560 | 2004-02-15 Kazu Hirata <kazu@cs.umass.edu> |
13561 | ||
13562 | * config/h8300/h8300.md: Remove explicit (set_attr "cc" | |
13563 | "clobber"). | |
13564 | ||
ac5f9961 BI |
13565 | 2004-02-15 Bernardo Innocenti <bernie@develer.com> |
13566 | ||
13567 | * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Restore support for | |
13568 | '%#'. | |
13569 | ||
68776c43 KH |
13570 | 2004-02-15 Kazu Hirata <kazu@cs.umass.edu> |
13571 | ||
13572 | * config/ia64/ia64.c, config/mips/mips.c, | |
13573 | config/mmix/mmix-modes.def: Fix comment typos. | |
13574 | ||
7501c4e4 RS |
13575 | 2004-02-15 Roger Sayle <roger@eyesopen.com> |
13576 | ||
13577 | * c-common.h (GET_DIRECTIVE_LINE): Remove unused macro. | |
13578 | (get_directive_line): Remove unused function prototype. | |
13579 | ||
5852680b JZ |
13580 | 2004-02-14 Josef Zlomek <zlomekj@suse.cz> |
13581 | ||
13582 | * tree-inline.c (copy_body_r): Do not replace ret_label. | |
13583 | ||
be04394b JH |
13584 | 2004-02-14 Jan Hubicka <jh@suse.cz> |
13585 | ||
13586 | * i386.c (x86_four_jump_limit): New variable. | |
13587 | (k8_avoid_jump_misspredicts): Rename to ... | |
13588 | (ix86_avoid_jump_misspredicts): .. this one. | |
13589 | (ix86_pad_returns): Break out from ... | |
13590 | (ix86_reorg): ... this one; do ix86_avoid_jump_misspredicts when asked | |
13591 | to. | |
13592 | * i386.h (TARGET_FOUR_JUMP_LIMIT): New macro. | |
13593 | ||
d4afac5b JZ |
13594 | 2004-02-14 Josef Zlomek <zlomekj@suse.cz> |
13595 | ||
13596 | * emit-rtl.c (set_decl_incoming_rtl): Check whether the 0th element of | |
13597 | PARALLEL is NULL. | |
13598 | ||
c7762b44 PB |
13599 | 2004-02-14 Per Bothner <per@bothner.com> |
13600 | ||
13601 | * fix-header.c (line_table): Move local variable in main to global. | |
13602 | * scan.h (line_table): Use it. | |
13603 | * scan-decls.c (scan_decls): Need to call linemap_lookup on token's | |
13604 | line (recently renamed to src_loc) before calling recognized_function. | |
13605 | ||
cb7c0b5a MK |
13606 | 2004-02-14 Matt Kraai <kraai@alumni.cmu.edu> |
13607 | ||
13608 | * Makefile.in: Fix comment typos. | |
13609 | ||
45f9877a EB |
13610 | 2004-02-14 Olivier Hainque <hainque@act-europe.fr> |
13611 | ||
13612 | * loop.c (check_dbra_loop): Use gen_int_mode instead of GEN_INT | |
13613 | for start_value when it is directly moved into reg, and factorize | |
13614 | the retrieval of GET_MODE (reg). | |
13615 | ||
544142d8 RS |
13616 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
13617 | ||
13618 | * config/mips/mips-protos.h (mips_load_got_page): Delete. | |
13619 | (mips_load_got_global): Delete. | |
13620 | (mips_gotoff_page): Declare. | |
13621 | * config/mips/mips.md (UNSPEC_LOAD_GOT): New constant. | |
13622 | (*xgot_lo[sd]i, *got_disp[sd]i, *got_page[sd]i): Build an | |
13623 | UNSPEC_LOAD_GOT pattern rather than a MEM. | |
13624 | (*load_got[sd]i): New patterns. | |
13625 | * config/mips/mips.c (mips_got_alias_set, mips_load_got): Delete. | |
13626 | (mips_load_got_page, mips_load_got_global): Delete. | |
13627 | (mips_gotoff_page): New function. | |
13628 | (override_options): Don't initialize mips_got_alias_set. | |
13629 | ||
d2888f1d RS |
13630 | 2004-02-14 Richard Sandiford <rsandifo@redhat.com> |
13631 | ||
13632 | * config/mips/mips.h (MASK_DEBUG_[ABEFI], TARGET_DEBUG_[ABEFI]_MODE) | |
13633 | (TARGET_MIPS4100, TARGET_MIPS4300, TARGET_MIPS4KC, TARGET_MIPS5KC) | |
13634 | (TARGET_SB1, TUNE_SB1, TUNE_SR71K, BIGGEST_MAX_ARGS_IN_REGISTERS) | |
13635 | (GO_PRINTF, GO_PRINTF2, GO_DEBUG_RTX, DFMODE_NAN, SFMODE_NAN): Delete. | |
13636 | (TARGET_SWITCHES): Remove MASK_DEBUG_[ABEFI]. | |
13637 | * config/mips/mips.c: Fix some overly-long lines. | |
13638 | (SINGLE_WORD_MODE_P, PIC_OFFSET_TABLE_MASK): Delete. | |
13639 | (init_cumulative_args): Remove TARGET_DEBUG_E_MODE handling. | |
13640 | ||
19baba0b RO |
13641 | 2004-02-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
13642 | ||
13643 | * configure.ac: Search for as, ld below libexec/gcc. | |
13644 | * configure: Regenerate. | |
13645 | ||
f07a6b21 BE |
13646 | 2004-02-14 Ben Elliston <bje@wasabisystems.com> |
13647 | ||
13648 | * config/arm/mmintrin.h (_mm_setwcx): Reverse arguments in call to | |
13649 | __builtin_arm_setwcx (). | |
13650 | * config/arm/arm.c (arm_expand_builtin): Generate operands | |
13651 | correctly and reverse their order in call to gen_iwmmxt_tmcr (). | |
13652 | ||
13653 | 2004-02-14 Ben Elliston <bje@wasabisystems.com> | |
13654 | ||
13655 | * config/arm/arm.c (bdesc_2arg): Correct builtin names "wmulsh" | |
13656 | and "wmuluh" to "wmulsm" and "wmulum", respectively. | |
13657 | * config/arm/arm.h (enum arm_builtins): Rename enumerators to | |
13658 | ARM_BUILTIN_WMULSM and ARM_BUILTIN_WMULUM. | |
13659 | * config/arm/mmintrin.h (_mm_mulhi_pi16): Update intrinsic call. | |
13660 | (_mm_mulhi_pu16): Likewise. | |
13661 | ||
f433554b ZW |
13662 | 2004-02-13 Zack Weinberg <zack@codesourcery.com> |
13663 | ||
13664 | * xcoffout.c (xcoff_assign_fundamental_type_number): Check | |
13665 | DECL_NAME != 0 before dereferencing. | |
13666 | ||
faeb9bb6 UW |
13667 | 2004-02-13 Ulrich Weigand <uweigand@de.ibm.com> |
13668 | ||
13669 | * config/s390/s390-protos.h (s390_output_symbolic_const): Remove. | |
13670 | (s390_output_addr_const_extra): Declare. | |
13671 | (s390_output_pool_entry): Remove FILE * argument. | |
13672 | * config/s390/s390.c (s390_output_symbolic_const): Remove. | |
13673 | (s390_output_addr_const_extra): New function. | |
13674 | (print_operand_address): Call output_addr_const instead of | |
13675 | s390_output_symbolic_const. | |
13676 | (print_operand): Likewise. | |
13677 | (s390_output_pool_entry): Use assemble_integer for symbolic constants. | |
13678 | Remove FILE * argument. | |
13679 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Define. | |
13680 | * config/s390/s390.md ("*pool_entry"): Adapt s390_output_pool_entry | |
13681 | call. | |
13682 | ||
cfbe3efe ZD |
13683 | 2004-02-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
13684 | ||
13685 | * cfgloopanal.c (mark_irreducible_loops): Rewriten. | |
13686 | (struct edge, struct vertex, struct graph): New. | |
13687 | (dump_graph, new_graph, add_edge, dfs, check_irred, for_each_edge, | |
13688 | free_graph): New functions. | |
13689 | ||
d349192c CD |
13690 | 2004-02-12 Chris Demetriou <cgd@broadcom.com> |
13691 | ||
13692 | * config/mips/mips.md (casesi_internal, casesi_internal_di): | |
13693 | Use ".set macro" to avoid warnings about multi-instruction | |
13694 | macros, since they're intentional. | |
13695 | ||
52ccb3d2 GK |
13696 | 2004-02-12 Geoffrey Keating <geoffk@apple.com> |
13697 | ||
213c4a8a GK |
13698 | * config/darwin.h: Add include guards. Remove old, now incorrect, |
13699 | comment about STANDARD_EXEC_PREFIX. | |
13700 | ||
52ccb3d2 GK |
13701 | * Makefile.in (install-man): Use $(CPP_INSTALL_NAME) and |
13702 | $(GCOV_INSTALL_NAME) to install manpages. Remove generic rule | |
13703 | for installing .1 manpages. Add rules for installing cpp | |
13704 | and gcov manpages under their installed names. | |
13705 | ||
1a543d25 AO |
13706 | 2004-02-12 Alexandre Oliva <aoliva@redhat.com> |
13707 | ||
13708 | * configure.ac (gcc_cv_ld): Don't set to LD if target is not | |
13709 | host, but try LD_FOR_TARGET first. | |
13710 | * configure: Rebuilt. | |
13711 | ||
8507c40a ZW |
13712 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
13713 | ||
13714 | * dbxout.c: Move declaration of dbxout_type_decl outside | |
13715 | #ifdef DBX_DEBUGGING_INFO. | |
13716 | * c-parse.in: Don't give the asmdef production a type. | |
13717 | ||
21d13d83 ZW |
13718 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
13719 | ||
13720 | * debug.h (struct gcc_debug_hooks): Add type_decl field. | |
13721 | (debug_nothing_tree_int): Prototype. | |
13722 | (dwarf_debug_hooks): Delete, unused. | |
13723 | * debug.c (do_nothing_debug_hooks): Update. | |
13724 | (debug_nothing_tree_int): New function. | |
13725 | * langhooks.h (struct lang_hooks_for_decls): | |
13726 | Remove builtin_type_decls field. | |
13727 | * langhooks-def.h (LANG_HOOKS_BUILTIN_TYPE_DECLS): Delete. | |
13728 | (LANG_HOOKS_DECLS): Update. | |
13729 | * toplev.c (rest_of_decl_compilation, rest_of_type_compilation): | |
13730 | Use debug_hooks->type_decl. | |
13731 | * dbxout.c (preinit_symbols): New static. | |
13732 | (dbx_debug_hooks, xcoff_debug_hooks): Update. | |
13733 | (dbxout_init): Don't call DBX_OUTPUT_STANDARD_TYPES or | |
13734 | lang_hooks.decls.builtin_type_decls. Do scan preinit_symbols | |
13735 | for symbols to output. | |
13736 | (dbxout_type_decl): New function. | |
13737 | (dbxout_symbol): If called before dbxout_init has run, queue | |
13738 | the symbol for later. Apply DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER | |
13739 | to TYPE_DECLs before emitting them. | |
13740 | * xcoffout.c (assign_type_number): Delete. | |
13741 | (xcoff_type_numbers): New static table. | |
13742 | (xcoff_assign_fundamental_type_number): New function. | |
13743 | * xcoffout.h: Define DBX_ASSIGN_FUNDAMENTAL_TYPE_NUMBER, not | |
13744 | DBX_OUTPUT_STANDARD_TYPES. Remove unnecessary #ifdefs. | |
13745 | * sdbout.c: Include varray.h. | |
13746 | (deferred_global_decls): New static. | |
13747 | (sdb_debug_hooks): Update. | |
13748 | (sdbout_global_decl): If we can't emit something right now, | |
13749 | remember it in deferred_global_decls. | |
13750 | (sdbout_finish): Just scan deferred_global_decls; don't call getdecls. | |
13751 | (sdbout_init): Initialize deferred_global_decls. | |
13752 | * Makefile.in: Update dependencies of sdbout.o. | |
13753 | * dwarf2out.c (dwarf2out_type_decl): New function. | |
13754 | (dwarf2_debug_hooks): Update. | |
13755 | * vmsdbgout.c (vmsdbg_debug_hooks): Update. | |
13756 | * c-decl.c (getdecls): Just return 0. | |
13757 | (check_for_loop_decls): Don't use getdecls. | |
13758 | (record_builtin_type): Call debug_hooks->type_decl on the TYPE_DECL. | |
13759 | * c-objc-common.c (c_objc_common_finish_file): Don't use getdecls. | |
13760 | ||
a90a16f3 UW |
13761 | 2004-02-12 Ulrich Weigand <uweigand@de.ibm.com> |
13762 | ||
13763 | * config/s390/s390.c (s390_sched_reorder2): Remove. | |
13764 | (TARGET_SCHED_REORDER2): Do not redefine. | |
13765 | ||
9f0e2d86 ZW |
13766 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
13767 | ||
13768 | * c-parse.in (maybe_type_qual): Delete. | |
13769 | (maybe_volatile, simple_asm_expr, asmdef, asm_stmt) | |
13770 | (asm_argument): New grammar rules. | |
13771 | (extdef_1): Use asmdef. | |
13772 | (maybeasm): Move down with other asm rules; use simple_asm_expr. | |
13773 | (xexpr): Move up with other expression rules. | |
13774 | (stmt): Use asm_stmt. | |
13775 | ||
13776 | * c-typeck.c (build_asm_expr): New function - body mostly | |
13777 | pulled from build_asm_stmt. | |
13778 | (build_asm_stmt): Just handle tacking on the volatile qualifier. | |
13779 | * c-tree.h (build_asm_expr, build_asm_stmt): Update prototypes. | |
13780 | ||
35f5add9 RS |
13781 | 2004-02-12 Richard Sandiford <rsandifo@redhat.com> |
13782 | ||
13783 | PR bootstrap/13617 | |
13784 | * config/mips/mips-protos.h (mips_output_aligned_decl_common): Declare. | |
13785 | (mips_declare_object): Make variadic. | |
13786 | * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use | |
13787 | mips_output_aligned_decl_common. | |
13788 | * config/mips/mips.c (mips_output_aligned_decl_common): New function. | |
13789 | (mips_declare_object): Make variadic. | |
13790 | ||
a5e9c810 RK |
13791 | 2004-02-12 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
13792 | ||
8fbc67c0 RK |
13793 | * function.c (update_epilogue_consts): Teach about binary operations. |
13794 | ||
a5e9c810 RK |
13795 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Don't kill |
13796 | previous MEM_VOLATILE in REF. | |
13797 | * function.c (fixup_var_refs): Save volatile_ok and set to 1. | |
13798 | * expr.c (emit_block_move_via_movstr): Save and restore volatile_ok. | |
13799 | ||
7ea98c5a GN |
13800 | 2004-02-12 Gunther Nikl <gni@gecko.de> |
13801 | ||
13802 | * config.gcc: Restore support for m68k-openbsd. | |
13803 | ||
8f6a8d03 JH |
13804 | 2004-02-12 Jan Hubicka <jh@suse.cz> |
13805 | ||
13806 | * tree-optimize.c (tree_rest_of_compilation): Do not release | |
13807 | DECL_ARGUMENTS. | |
13808 | ||
c2910edf MK |
13809 | 2004-02-11 Matt Kraai <kraai@alumni.cmu.edu> |
13810 | ||
13811 | * doc/install.texi: Fix the spelling of "explicitly". | |
13812 | ||
423e95e2 EC |
13813 | 2004-02-11 Eric Christopher <echristo@redhat.com> |
13814 | ||
13815 | * cppcharset.c (_cpp_interpret_string_notranslate): Rename and | |
13816 | duplicate argument structure of cpp_interpret_string. | |
13817 | * cpphash.h: Move prototype... | |
13818 | * cpplib.h: Here. | |
13819 | * cpplib.c: Fix calls to match new function signature. | |
13820 | ||
32e8aa9a JM |
13821 | 2004-02-11 Joseph S. Myers <jsm@polyomino.org.uk> |
13822 | ||
13823 | PR c/456 | |
13824 | * cppexp.c (num_binary_op): Don't allow comma operators in #if | |
13825 | constant expressions at all outside C99 mode if pedantic. | |
13826 | ||
3b8e0c91 UB |
13827 | 2004-02-11 Uros Bizjak <uros@kss-loka.si> |
13828 | ||
13829 | * optabs.h (enum optab_index): Add new OTI_log10 and OTI_log2. | |
13830 | (log10_optab, log2_optab): Define corresponding macros. | |
13831 | * optabs.c (init_optabs): Initialize log10_optab and log2_optab. | |
13832 | * genopinit.c (optabs): Implement log10_optab and log2_optab | |
13833 | using log10?f2 and log2?f2 patterns. | |
13834 | * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_LOG10{,F,L} | |
13835 | using log10_optab, and BUILT_IN_LOG2{,F,L} using log2_optab. | |
13836 | (expand_builtin): Expand BUILT_IN_LOG10{,F,L} and BUILT_IN_LOG2{,F,L} | |
13837 | using expand_builtin_mathfn if flag_unsafe_math_optimizations is set. | |
13838 | ||
13839 | * config/i386/i386.md (log10sf2, log10df2, log10xf2, log2sf2, | |
13840 | log2df2, log2xf2): New patterns to implement log10, log10f, log10l, | |
13841 | log2, log2f and log2l built-ins as inline x87 intrinsics. | |
13842 | ||
a6abdce3 RH |
13843 | 2004-02-11 Richard Henderson <rth@redhat.com> |
13844 | ||
888ff7a1 | 13845 | PR target/1532 |
a6abdce3 RH |
13846 | * flow.c (insn_dead_p): A clobber of a dead hard register is a |
13847 | dead insn after reload. | |
13848 | ||
05ac140e UW |
13849 | 2004-02-11 Ulrich Weigand <uweigand@de.ibm.com> |
13850 | ||
13851 | * tree.h (frame_base_decl): Add GTY marker. | |
13852 | * var-tracking.c (frame_base_decl): Likewise. | |
13853 | ||
e193b408 DB |
13854 | 2004-02-11 Daniel Berlin <dberlin@dberlin.org> |
13855 | ||
13856 | * dwarf2out.c (output_loc_list): Remove no longer necessary, and now | |
13857 | incorrect, hunk. | |
13858 | (add_location_or_const_value_attribute): Use text_section_label, | |
13859 | not TEXT_SECTION_NAME. | |
12f9df4e PB |
13860 | |
13861 | 2004-02-11 Per Bothner <per@bothner.com> | |
13862 | ||
13863 | Represent column numbers using line-map's source_location. | |
13864 | The "next available source_location" is now managed internally by | |
13865 | line-maps.c rather than by clients. | |
13866 | * line-map.h (struct line_map): New field column_bits. | |
13867 | <from_line>: Rename field to start_location. | |
13868 | (struct line_maps): New fields highest_location and max_column_hint. | |
13869 | (linemap_check_files_exited): New declaration. | |
13870 | (linemap_line_start): New declaration. | |
13871 | (linemap_add): Remove from_line parameter; use highest_location field. | |
13872 | (SOURCE_LINE, LAST_SOURCE_LINE): Modify to use column_bits. | |
13873 | (SOURCE_COLUMN, LAST_SOURCE_LINE_LOCATION): New macros. | |
13874 | (CURRENT_LINE_MAP): Remove macro. | |
13875 | (linemap_position_for_column): New inline function. | |
13876 | * line-map.c (linemap_init): Clear new fields. | |
13877 | (linemap_check_files_exited): New function, extracted from ... | |
13878 | (linemap_free): Use linemap_check_files_exited. | |
13879 | (linemap_add): Remove from_line parameter. Various updates. | |
13880 | (linemap_line_start): New function. | |
13881 | (linemap_lookeup): Update for new field names. | |
13882 | * cpphash.h (struct cpp_reader) <map>: Field removed. Because | |
13883 | linemap_position_for_column may unpredictably change the current map, | |
13884 | it is cleaner and simpler for us to not cache it in cpp_reader. | |
13885 | (struct cpp_buffer): New sysp field. | |
13886 | Changed warned_cplusplus_comments and from_stage3 to bitfields. | |
13887 | * cppinit.c (cpp_read_min_file): pfile->map no longer exists. | |
13888 | * cpplib.c (do_line, do_linemarker, _cpp_do_file_change): Get | |
13889 | current map using linemap_lookup. | |
13890 | (do_linemarker): Also set buffer's sysp field. | |
13891 | (destringize_and_run): No longer need to decrement current line. | |
13892 | * cppfiles.c (_cpp_stack_file): Set sysp from and in buffer. | |
13893 | (search_path_head, open_file_failed): Use buffer's sysp. | |
13894 | (cpp_make_system_header): Get current map using linemap_lookup. | |
13895 | Also set buffer's sysp flag. | |
13896 | * cppmacro.c (_cpp_builtin_macro_text): Likewise use linemap_lookup. | |
13897 | * cpphash.h (CPP_INCREMENT_LINE): New macro. | |
13898 | (struct cpp_buffer): Moved fields saved_cur, saved_rlimit to ... | |
13899 | (struct cpp_reader): ... and adding saved_line_base field. | |
13900 | * cpptrad.c (_cpp_overlay_buffer, _cpp_remove_overlay): | |
13901 | Update accordingly. Don't adjust line. | |
13902 | (_cpp_scan_out_logical_line): Use CPP_INCREMENT_LINE. | |
13903 | * cpphash.c (CPP_IN_SYSTEM_HEADER): Replaced macro by ... | |
13904 | (cpp_in_system_header): ... new inline function, using buffer's sysp. | |
13905 | * cpperror.c (_cpp_begin_message): Update to use cpp_in_system_header. | |
13906 | * cpplex.c (_cpp_lex_direct): Likewise. | |
13907 | * cppmacro.c (_cpp_builtin_macro_text): Likewise. | |
13908 | * cppmacro.c (_cpp_create_definition): Use buffer's sysp field. | |
13909 | * cpplib.h (struct cpp_token): Rename line field to src_loc. | |
13910 | Remove col field as it is now subsumed by src_loc. | |
13911 | * cpperror.c: Update various field, parameter, and macro names. | |
13912 | (print_location): If col==0, try SOURCE_COLUMN of line. | |
13913 | (cpp_error): Use cur_token's src_loc field, rather than line+col. | |
13914 | * cpplib.c (do_diagnostic): Token's src_loc fields replaces line+col. | |
13915 | * cpplex.c (_cpp_process_line_notes, _cpp_lex_direct, | |
13916 | _cpp_skip_block_comment): Use CPP_INCREMENT_LINE. | |
13917 | (_cpp_temp_token): Replace cpp_token's line+col fields by src_loc. | |
13918 | (_cpp_get_fresh_line): Don't need to adjust line for missing newline. | |
13919 | (_cpp_lex_direct): Use linemap_position_for_column. | |
13920 | * c-ppoutput.c (maybe_print_line, print_line): Don't take map | |
13921 | parameter. Instead get it from the line_table global. Adjust callers. | |
13922 | (print): Remove map field. Replace line field to src_line. | |
13923 | (init_pp_output, account_for_newlines, maybe_print_line): Adjust. | |
13924 | (cb_line_change): Use SOURCE_COLUMN. Minor optimizations. | |
13925 | (pp_file_change): Use MAIN_FILE_P since we cannot checked print.map. | |
13926 | Use LAST_SOURCE_LINE_LOCATION to "catch up" after #include. | |
13927 | * cpptrad.c (copy_comment): Rename variable. | |
13928 | * c-lex.c (map): Remove static variable, for same reason we removed | |
13929 | cpp_reader's map field. | |
13930 | (cb_line_change, cb_def_pragma, cb_define, cb_undef): Hence we need | |
13931 | to call linemap_lookup. | |
13932 | (cb_line_change): Token's line field replaced by src_loc. | |
13933 | (fe_file_change): Use MAINFILE_P and LAST_SOURCE_LINE macros. | |
13934 | Don't save new_map. | |
13935 | ||
13936 | * cpphash.h, cpperror.c, cpplib.h: Some renames of fileline to | |
13937 | source_location. | |
13938 | ||
e086f51d | 13939 | 2004-02-11 Hartmut Penner <hpenner@de.ibm.com> |
423e95e2 | 13940 | |
e086f51d HP |
13941 | * config/rs6000/altivec.md (*movv4si_internal): At least one |
13942 | operand must be register_operand. | |
13943 | (*movv8hi_internal1): Likewise. | |
13944 | (*movv16qi_internal1): Likewise. | |
13945 | (*movv4sf_internal1): Likewise. | |
13946 | ||
e66b2fcf | 13947 | 2004-02-10 Aldy Hernandez <aldyh@redhat.com> |
8914b65e AH |
13948 | |
13949 | * config/rs6000/spe.md ("*movv2si_internal"): Check for register | |
13950 | operand. | |
13951 | (movv4hi_internal): Same. | |
13952 | (movv2sf_internal): Same. | |
13953 | (movv1di_internal): Same. | |
e66b2fcf | 13954 | |
7f9be256 TS |
13955 | 2004-02-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> |
13956 | ||
13957 | * config/mips/mips.h (TARGET_OLDABI): Define. Use TARGET_NEWABI and | |
c0689841 | 13958 | TARGET_OLDABI consistently. |
7f9be256 TS |
13959 | * config/mips/mips.c (function_arg,mips_setup_incoming_varargs, |
13960 | mips_va_arg,override_options,compute_frame_size, | |
13961 | mips_initial_elimination_offset,mips16_fp_args,build_mips16_call_stub | |
13962 | ,mips_return_in_memory,mips_strict_argument_naming): Use TARGET_NEWABI | |
c0689841 | 13963 | and TARGET_OLDABI consistently. |
7f9be256 TS |
13964 | * config/mips/mips.md (exception_receiver): Likewise. |
13965 | * config/mips/linux64.h: Likewise. | |
13966 | ||
6d0ef01e HP |
13967 | 2004-02-11 Hartmut Penner <hpenner@de.ibm.com> |
13968 | ||
13969 | * gcc/config/rs6000/rs6000.c (rs6000_override_options) | |
13970 | Set AltiVec ABI and vrsave as default for ppc64 linux. | |
13971 | (init_cumulative_args): Post error, if try to return | |
13972 | value in AltiVec register without enable AltiVec. | |
423e95e2 | 13973 | (function_arg_advance): Ditto for passing arguments. |
6d0ef01e | 13974 | |
7537fc90 RS |
13975 | 2004-02-11 Richard Sandiford <rsandifo@redhat.com> |
13976 | ||
13977 | * emit-rtl.c (mark_label_nuses): Check that a LABEL_REF refers to | |
13978 | a label before updating its usage count. | |
13979 | ||
1e9f1674 MK |
13980 | 2004-02-10 Matt Kraai <kraai@alumni.cmu.edu> |
13981 | ||
9f0e2d86 | 13982 | * doc/install.texi: Remove extra cd. |
1e9f1674 | 13983 | |
b34417a4 ZL |
13984 | 2004-02-10 Ziemowit Laski <zlaski@apple.com> |
13985 | ||
13986 | * c-common.c (vector_size_helper): Remove; call | |
13987 | reconstruct_complex_type() instead. | |
13988 | * tree.c (reconstruct_complex_type): New function | |
13989 | (formerly vector_size_helper() in c-common.c). | |
13990 | (make_vector): Make externally visible. | |
13991 | * tree.h (reconstruct_complex_type, make_vector): Add prototypes. | |
13992 | ||
a466bea3 KH |
13993 | 2004-02-10 Kazu Hirata <kazu@cs.umass.edu> |
13994 | ||
13995 | * config/h8300/h8300-protos.h: Add a prototype for | |
13996 | h8300_regs_ok_for_stm. | |
13997 | * config/h8300/h8300.c (h8300_regs_ok_for_stm): New. | |
13998 | * config/h8300/h8300.md (stm_h8300s_2_advanced, | |
13999 | stm_h8300s_2_normal, stm_h8300s_2, stm_h8300s_3_advanced, | |
14000 | stm_h8300s_3_normal, stm_h8300s_3, stm_h8300s_4_advanced, | |
14001 | stm_h8300s_4_normal, stm_h8300s_4, ldm_h8300s_2_advanced, | |
14002 | ldm_h8300s_2_normal, ldm_h8300s_2, ldm_h8300s_3_advanced, | |
14003 | ldm_h8300s_3_normal, ldm_h8300s_3, ldm_h8300s_4_advanced, | |
14004 | ldm_h8300s_4_normal, ldm_h8300s_4): Use | |
14005 | h8300_regs_ok_for_stm(). | |
14006 | ||
52bac949 DS |
14007 | 2004-02-10 Danny Smith <dannysmith@users.sourceforge.net> |
14008 | ||
14009 | PR c/14088 | |
896c3aa3 | 14010 | * real.c (real_from_string): Look for 'X' as well as 'x' in |
52bac949 DS |
14011 | hexfloat strings. |
14012 | ||
2493deee KH |
14013 | 2004-02-10 Kazu Hirata <kazu@cs.umass.edu> |
14014 | ||
14015 | * config/h8300/h8300.md: Remove an incorrect comment about | |
14016 | peephole2. Add comments. | |
14017 | ||
fbe6ec81 JZ |
14018 | 2004-02-10 Josef Zlomek <zlomekj@suse.cz> |
14019 | ||
14020 | PR/14058 | |
14021 | * emit-rtl.c (set_decl_incoming_rtl): New. | |
14022 | * tree.h (set_decl_incoming_rtl): New. | |
14023 | * function.c (assign_parms): Use set_decl_incoming_rtl for setting | |
14024 | DECL_INCOMING_RTL. | |
14025 | * ada/misc.c (adjust_decl_rtl): Likewise. | |
14026 | ||
8a4baa83 PB |
14027 | 2004-02-10 Per Bothner <per@bothner.com> |
14028 | ||
14029 | * c-opts.c (c_common_post_options): Don't emit working directory | |
14030 | in cpp output if -P was specified. | |
14031 | ||
31cc6081 PB |
14032 | 2004-02-10 Paolo Bonzini <bonzini@gnu.org> |
14033 | ||
14034 | PR c/14092 | |
14035 | * fold-const.c (fold) <NEGATE_EXPR>: Convert result of | |
14036 | negate_expr back to the original type. | |
14037 | ||
d1d5c836 AM |
14038 | 2004-02-10 Alan Modra <amodra@bigpond.net.au> |
14039 | ||
14040 | * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Don't | |
14041 | bump retaddr here. | |
14042 | ||
dad822d3 PB |
14043 | 2004-02-10 Paolo Bonzini <bonzini@gnu.org> |
14044 | ||
14045 | * rtl.h (schedule_insns, schedule_ebbs, fix_sched_param, | |
14046 | gen_lowpart_SUBREG): Move under the file in which they | |
14047 | are actually declared. | |
14048 | ||
cd271054 AC |
14049 | 2004-02-10 Arnaud Charlet <charlet@act-europe.fr> |
14050 | ||
14051 | * doc/sourcebuild.texi: Add libada documentation. | |
14052 | ||
14053 | * doc/install.texi: Update documentation on Ada build, now | |
14054 | that the GNAT lib and tools are built automatically. | |
14055 | ||
117c5858 RS |
14056 | 2004-02-10 Richard Sandiford <rsandifo@redhat.com> |
14057 | ||
14058 | * config/mips/mips.h (TARGET_GPWORD): Return false for TARGET_NEWABI | |
14059 | && TARGET_IRIX. | |
14060 | ||
42a1b62e ZL |
14061 | 2004-02-09 Ziemowit Laski <zlaski@apple.com> |
14062 | ||
14063 | * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' | |
14064 | boundaries outside build_component_ref() call (a macro in ObjC++). | |
14065 | ||
997b8b4d BW |
14066 | 2004-02-09 Bob Wilson <bob.wilson@acm.org> |
14067 | ||
14068 | * config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update. | |
14069 | (init_cumulative_args): Likewise. | |
14070 | (a7_overlap_mentioned_p): Delete prototype. | |
14071 | * config/xtensa/xtensa.c (struct machine_function): Replace | |
14072 | incoming_a7_copied field with need_a7_copy and vararg_a7 flags. | |
14073 | Add set_frame_ptr_insn field. | |
14074 | (xtensa_emit_move_sequence): Update call to xtensa_copy_incoming_a7. | |
14075 | (xtensa_copy_incoming_a7): Rewrite to check need_a7_copy flag and check | |
14076 | if the operand is an argument in a7. If so, copy a7 to a new pseudo | |
14077 | at the function entry and replace the operand with the pseudo. | |
14078 | (init_cumulative_args): Remove unused arguments. Add new "incoming" | |
14079 | argument and record this flag in CUMULATIVE_ARGS. | |
14080 | (function_arg): Remove result_mode and special-case code to handle | |
14081 | arguments in a7. Instead, set need_a7_copy flag when there is an | |
14082 | incoming argument in a7. | |
14083 | (xtensa_expand_prologue): Remove code to search for set_frame_ptr insn | |
14084 | and use the value recorded in cfun->machine->set_frame_ptr_insn. | |
14085 | (xtensa_builtin_saveregs): Check for negative gp_left value. Set | |
14086 | need_a7_copy and vararg_a7 flags. Use move_block_from_reg instead of | |
14087 | special-case code. | |
14088 | (a7_overlap_mentioned_p): Delete. | |
14089 | * config/xtensa/xtensa.h (CUMULATIVE_ARGS): Add "incoming" flag. | |
14090 | (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Remove useless | |
14091 | arguments to init_cumulative_args and pass "incoming" flag instead. | |
14092 | (BLOCK_REG_PADDING): Delete. | |
14093 | * config/xtensa/xtensa.md (movdi, movsf, movdf): Remove unnecessary | |
14094 | checks for reload_in_progress and reload_completed. Update calls to | |
14095 | xtensa_copy_incoming_a7. | |
14096 | (ashlsi3): Rename existing insn to ashlsi3_internal. Add expander | |
14097 | to call xtensa_copy_incoming_a7. | |
14098 | ||
10709fbf DD |
14099 | 2004-02-09 DJ Delorie <dj@redhat.com> |
14100 | ||
14101 | * config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): No | |
14102 | longer modify standard_exec_prefix, standard_bindir_prefix, or | |
14103 | standard_startfile_prefix. | |
14104 | ||
c76362b4 JW |
14105 | 2004-02-09 James E Wilson <wilson@specifixinc.com> |
14106 | ||
228ae085 JW |
14107 | PR c++/11295 |
14108 | * c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call | |
14109 | to expand_expr_real call, and pass in alt_rtl as last argument. | |
14110 | ||
c76362b4 JW |
14111 | PR libstdc++/5625 |
14112 | * builtin-types.def (BT_WORD, BT_FN_WORD_PTR): New. | |
14113 | * builtins.c (expand_builtin): Handle BUILT_IN_EXTEND_POINTER. | |
14114 | * builtins.def (BUILT_IN_EXTEND_POINTER): New. | |
14115 | * except.c (expand_builtin_extend_pointer): New. | |
14116 | * except.h (expand_builtin_extend_pointer): Declare. | |
14117 | ||
d886a041 DE |
14118 | 2004-02-09 David Edelsohn <edelsohn@gnu.org> |
14119 | ||
14120 | * config/rs6000/rs6000.c (rs6000_emit_move): Remove splitting slow | |
14121 | unaligned loads and stores. | |
14122 | ||
756f76d0 RO |
14123 | 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14124 | ||
14125 | * config/mips/iris5.h (BSS_SECTION_ASM_OP): Define. | |
14126 | * config/mips/iris6.h (BSS_SECTION_ASM_OP): Undef. | |
14127 | ||
14128 | * config/mips/iris6.h (TARGET_ASM_NAMED_SECTION): Moved ... | |
14129 | * config/mips/iris5.h: ... here. | |
14130 | * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Remove. | |
14131 | ||
14132 | * config/mips/iris6.h (EXTRA_SECTION_FUNCTIONS): Move ... | |
14133 | * config/mips/iris5.h: ... here. | |
14134 | ||
426ca3ca RO |
14135 | 2004-02-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14136 | ||
14137 | * configure.ac: Remove default executable files before AC_PROG_CC. | |
14138 | * configure: Regenerate. | |
14139 | ||
500fc80f KH |
14140 | 2004-02-09 Kazu Hirata <kazu@cs.umass.edu> |
14141 | ||
14142 | PR target/13721 | |
14143 | * config/h8300/h8300.c (byte_reg): Call abort() if asked to | |
14144 | print a operand other than a register. | |
14145 | ||
b83c4036 RS |
14146 | 2004-02-09 Roger Sayle <roger@eyesopen.com> |
14147 | ||
14148 | * fold-const.c (fold) <NOP_EXPR>: Use the original type conversion | |
14149 | tree code rather than call fold_convert, which doesn't specify a | |
14150 | default floating point to integer conversion. | |
14151 | ||
3b4b85c9 BI |
14152 | 2004-02-08 Bernardo Innocenti <bernie@develer.com> |
14153 | ||
14154 | * config/m68k/m68k.c, config/m68k/m68k.md (SGS, SGS_CMP_ORDER): Remove | |
14155 | code to support SGS assembler. Reformat adjacent code where possible. | |
b83c4036 RS |
14156 | * config/m68k/m68k.c (switch_table_difference_label_flag): Remove |
14157 | definition. | |
14158 | * config/m68k/m68k.h (PRINT_OPERAND_PUNCT_VALID_P): Remove support | |
14159 | for '%#'. | |
3b4b85c9 | 14160 | * config/m68k/linux.h, config/m68k/m68k.c, |
b83c4036 RS |
14161 | * config/m68k/math-68881.h: Replace `%#' with `#' in inline asm |
14162 | macros and asm_printf() format strings. | |
3b4b85c9 BI |
14163 | * config/m68k/m68kelf.h (ASM_OUTPUT_CASE_END): Remove macro definition. |
14164 | * config/m68k/linux.h: Update copyright. | |
14165 | * config/m68k/linux.h, config/m68k/m68k.c: Remove traling whitespace. | |
14166 | ||
01bbf777 | 14167 | 2004-02-08 Andreas Schwab <schwab@suse.de> |
9f0e2d86 | 14168 | Bernardo Innocenti <bernie@develer.com> |
01bbf777 AS |
14169 | |
14170 | * config/m68k/m68k.h (REGISTER_NAMES): Prefix each name with | |
14171 | REGISTER_PREFIX. | |
14172 | * (M68K_FP_REG_NAME): New macro to specify an alternate name for the | |
14173 | frame pointer register, overridable by OS targets. | |
14174 | * (M68K_REGNAME): Macro to obtain register name for asm output, | |
14175 | eventually replacing %a6 with M68K_FP_REG_NAME. | |
14176 | * config/m68k/coff.h (REGISTER_NAMES): Don't redefine. | |
14177 | * config/m68k/linux.h (REGISTER_NAMES): Likewise. | |
14178 | * config/m68k/m68kelf.h (REGISTER_NAMES): Likewise. | |
14179 | * config/m68k/netbsd-elf.h (REGISTER_NAMES): Likewise. | |
14180 | * config/m68k/m68k.c: Use M68K_REGNAME(x) in place of reg_names[x]. | |
14181 | ||
1f6acb82 KH |
14182 | 2004-02-08 Kazu Hirata <kazu@cs.umass.edu> |
14183 | ||
14184 | * target-def.h (TARGET_STRUCT_VALUE_RTX): Define as | |
14185 | hook_rtx_tree_int_null. | |
14186 | * targhooks.c (default_struct_value_rtx): Remove. | |
14187 | * targhooks.h: Remove the prototype for | |
14188 | default_struct_value_rtx. | |
14189 | * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c, | |
14190 | config/fr30/fr30.c, config/h8300/h8300.c, config/i386/i386.c, | |
14191 | config/ip2k/ip2k.c, config/iq2000/iq2000.c, | |
14192 | config/m32r/m32r.c, config/mcore/mcore.c, config/mips/mips.c, | |
14193 | config/mn10300/mn10300.c, config/pdp11/pdp11.c, | |
14194 | config/rs6000/rs6000.c, config/s390/s390.c, | |
14195 | config/stormy16/stormy16.c, config/v850/v850.c, | |
14196 | config/xtensa/xtensa.c (TARGET_STRUCT_VALUE_RTX): Remove. | |
14197 | * doc/tm.texi (TARGET_STRUCT_VALUE_RTX): Document the default. | |
14198 | ||
b46b8fb4 JM |
14199 | 2004-02-08 Joseph S. Myers <jsm@polyomino.org.uk> |
14200 | ||
14201 | * README.Portability: Change "ISO C89" to "ISO C90". | |
14202 | * c-parse.in (primary, initelt): Likewise. | |
14203 | ||
7c476bde RS |
14204 | 2004-02-08 Richard Sandiford <rsandifo@redhat.com> |
14205 | ||
14206 | * real.c (encode_ibm_extended): Normalize the input value before | |
14207 | converting it to a double. Handle the case where a normal value | |
14208 | rounds to infinity. | |
14209 | ||
56ae04af KH |
14210 | 2004-02-08 Kazu Hirata <kazu@cs.umass.edu> |
14211 | ||
f934561e KH |
14212 | * c-objc-common.c (c_cannot_inline_tree_fn): Fix a typo in a |
14213 | warning. | |
56ae04af KH |
14214 | * cse.c (preferrable): Change to preferable. Update all of its |
14215 | callers. | |
14216 | * genautomata.c (ainsn): Change | |
14217 | first_ainsn_with_given_equialence_num to | |
14218 | first_ainsn_with_given_equivalence_num. Update all of its | |
14219 | references. | |
14220 | ||
ec1dbfca JH |
14221 | 2004-02-08 Jan Hubicka <jh@suse.cz> |
14222 | ||
14223 | * schedule-ebb.c (schedule_ebbs): Do not allocate reg life data. | |
14224 | ||
f276fb54 DE |
14225 | 2004-02-07 David Edelsohn <edelsohn@gnu.org> |
14226 | ||
14227 | * function.c (assign_parms): Fix formatting. | |
14228 | ||
fefcb65c KH |
14229 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
14230 | ||
14231 | * default.h (PROMOTE_PROTOTYPES): Remove. | |
14232 | * system.h (PROMOTE_FUNCTION_RETURN, PROMOTE_PROTOTYPES, | |
14233 | STRUCT_VALUE_REGNUM, SETUP_INCOMING_VARARGS, | |
14234 | EXPAND_BUILTIN_SAVEREGS): Poison. | |
14235 | * target-def.h (TARGET_PROMOTE_FUNCTION_RETURN): Define as | |
14236 | hook_bool_tree_false. | |
14237 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
14238 | * target.h: Replace SETUP_INCOMING_VARARGS with | |
14239 | targetm.calls.setup_incoming_varargs(). | |
14240 | * targhooks.c (default_promote_function_return): Remove. | |
14241 | (default_promote_prototypes): Likewise. | |
14242 | (default_struct_value_rtx): Always abort(). | |
14243 | (default_expand_builtin_saveregs): Always print an error | |
14244 | message. | |
14245 | (default_setup_incoming_varargs): Do nothing. | |
14246 | (default_pretend_outgoing_varargs_named): Don't depend on | |
14247 | SETUP_INCOMING_VARARGS. | |
14248 | * targhooks.h: Remove the prototype for | |
14249 | default_promote_function_return and | |
14250 | default_promote_prototypes. | |
14251 | ||
dc79b3b8 KH |
14252 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
14253 | ||
14254 | * system.h (SHARED_SECTION_ASM_OP): Poison. | |
14255 | * varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP. | |
14256 | * doc/tm.texi (SHARED_SECTION_ASM_OP): Remove. | |
14257 | ||
a6f78652 ZW |
14258 | 2004-02-07 Zack Weinberg <zack@codesourcery.com> |
14259 | ||
14260 | Bug 13856 | |
14261 | * c-decl.c (diagnose_mismatched_decls): Only give special | |
14262 | treatment when olddecl is DECL_BUILT_IN, if C_DECL_INVISIBLE | |
14263 | is also true. | |
14264 | (merge_decls): Don't clear DECL_BUILT_IN_CLASS and | |
14265 | DECL_FUNCTION_CODE when defining a built-in function. | |
14266 | Don't update DECL_ESTIMATED_INSNS. | |
14267 | * dwarf2out.c (dwarf2out_decl): Don't ignore built-in | |
14268 | FUNCTION_DECLs. | |
14269 | * tree.h: Delete DECL_ESTIMATED_INSNS. | |
14270 | * tree-inline.c (struct inline_data): Delete inlined_insns field. | |
14271 | (expand_call_inline, optimize_inline_calls): Don't update | |
14272 | DECL_ESTIMATED_INSNS nor inlined_insns. | |
14273 | * cgraphunit.c (cgraph_analyze_function): Don't update | |
14274 | DECL_ESTIMATED_INSNS. | |
14275 | ||
14276 | 2004-02-07 Zack Weinberg <zack@codesourcery.com> | |
14277 | ||
14278 | * c-common.c (shadow_warning): Delete. | |
14279 | * c-common.h (free_parser_stacks, shadow_warning, sw_kind): Delete. | |
14280 | * c-decl.c (warn_if_shadowing): Issue shadow warnings directly. | |
14281 | * c-opts.c (c_common_parse_file): Don't call free_parser_stacks. | |
14282 | * c-parse.in (free_parser_stacks): Delete. | |
14283 | ||
947c6b00 NN |
14284 | 2004-02-07 Nathanael Nerode <neroden@gcc.gnu.org> |
14285 | ||
14286 | * Makefile.in, config/t-slibgcc-darwin, config/t-slibgcc-elf-ver, | |
14287 | config/t-slibgcc-sld, config/mips/t-iris5-6, config/sh/t-linux: | |
14288 | Use the top level mkinstalldirs, not the one in the gcc subdir. | |
14289 | * mkinstalldirs: Remove (from the gcc subdir). | |
14290 | ||
088414c1 RS |
14291 | 2004-02-07 Roger Sayle <roger@eyesopen.com> |
14292 | ||
14293 | PR middle-end/13696 | |
14294 | * fold-const.c (fold_convert): New function to provide type | |
14295 | conversion to the middle-end without using convert. | |
14296 | (negate_expr, associate_trees, size_diffop, omit_one_operand, | |
14297 | operand_equal_for_comparison_p, pedantic_omit_one_operand, | |
14298 | invert_truthvalue, optimize_bit_field_compare, range_binop, | |
14299 | decode_field_reference, make_range, build_range_check, unextend, | |
14300 | fold_truthop, extract_muldiv_1, fold_mathfn_compare, | |
14301 | fold_binary_op_with_conditional_arg, fold_inf_compare, | |
14302 | fold_single_bit_test, fold, multiple_of_p): Replace all calls to | |
14303 | convert with calls to fold_convert. | |
14304 | ||
076963eb JH |
14305 | 2004-02-07 Jan Hubicka <jh@suse.cz> |
14306 | ||
14307 | * genrecog.c (find_operand): add extra argument stop. | |
14308 | (validate_pattern): Verify that mach_dup is duplicating operand | |
14309 | defined lexically earlier. | |
14310 | ||
1197924d KH |
14311 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
14312 | ||
14313 | * config.gcc: Don't mention MAX_LONG_TYPE_SIZE. | |
14314 | * system.h (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, | |
14315 | MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Poison. | |
14316 | * config/avr/avr.h, config/h8300/h8300.h, config/i386/i386.h, | |
14317 | config/ia64/ia64.h, config/ip2k/ip2k.h, | |
14318 | config/iq2000/iq2000.h, config/mips/iris5.h, | |
14319 | config/mips/mips.h, config/pa/pa-64.h, config/pa/pa.h, | |
14320 | config/rs6000/aix51.h, config/rs6000/aix52.h, | |
14321 | config/rs6000/darwin.h, config/rs6000/rs6000.h, | |
14322 | config/s390/s390.h, config/sh/sh.h, config/sparc/freebsd.h, | |
14323 | config/sparc/linux.h, config/sparc/linux64.h, | |
14324 | config/sparc/netbsd-elf.h, config/sparc/sparc.h, | |
14325 | config/xtensa/xtensa.h: Remove the definitions of | |
14326 | MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, and/or | |
14327 | MAX_WCHAR_TYPE_SIZE. | |
14328 | * doc/tm.texi (MAX_LONG_TYPE_SIZE, MAX_LONG_DOUBLE_TYPE_SIZE, | |
14329 | MAX_WCHAR_TYPE_SIZE, GCOV_TYPE_SIZE): Remove. | |
14330 | ||
883899ee SC |
14331 | 2004-02-07 Stephane Carrez <stcarrez@nerim.fr> |
14332 | ||
14333 | PR bootstrap/13990 | |
14334 | * config/m68hc11/m68hc11.md ("doloop_end"): Pass dummy arguments to | |
14335 | gen_rtx_NE. | |
14336 | ||
f6e215cc JZ |
14337 | 2004-02-07 Josef Zlomek <zlomekj@suse.cz> |
14338 | ||
14339 | * var-tracking.c (vt_add_function_parameters): Surround checkings by | |
14340 | #ifdef ENABLE_CHECKING and #endif. | |
14341 | ||
dfb36f9b RS |
14342 | 2004-02-07 Roger Sayle <roger@eyesopen.com> |
14343 | ||
14344 | * fold-const.c (negate_expr_p, negate_expr): Optimize -(A+B) into | |
14345 | either (-A)-B or (-B)-A, if A or B is easily negated respectively. | |
14346 | (fold) <MINUS_EXPR>: Optimize (A*C) - (B*C) -> (A-B)*C for both | |
14347 | integer types and floating point with unsafe_math_optimizations. | |
14348 | Add similar optimization for (A*C1) - (A*C2) -> A*(C1-C2). | |
14349 | Optimize A - B as A + (-B), if B is easily negated. | |
14350 | ||
0ea5865c KH |
14351 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
14352 | ||
14353 | * c-ppoutput.c, cfganal.c, diagnostic.h, print-rtl.c, | |
14354 | config/darwin.c, config/darwin.h, config/ia64/ia64-c.c, | |
14355 | config/m32r/linux.h, config/rs6000/ppc64-fp.c, | |
14356 | config/sparc/openbsd.h, doc/makefile.texi, doc/passes.texi: | |
14357 | Update copyright. | |
14358 | ||
fb0840fc KH |
14359 | 2004-02-07 Kazu Hirata <kazu@cs.umass.edu> |
14360 | ||
14361 | * c-ppoutput.c, var-tracking.c: Fix comment typos. | |
14362 | ||
468c45a3 JW |
14363 | 2004-02-06 James E Wilson <wilson@specifixinc.com> |
14364 | ||
14365 | * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Only define for | |
14366 | glibc 2.3 or better. | |
14367 | ||
9c917669 KH |
14368 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14369 | ||
14370 | * doc/tm.texi (TARGET_FLOAT_LIB_COMPARE_RETURNS_BOOL): Change | |
14371 | to FLOAT_LIB_COMPARE_RETURNS_BOOL. | |
14372 | ||
fb7e4164 AM |
14373 | 2004-02-07 Alan Modra <amodra@bigpond.net.au> |
14374 | ||
14375 | * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add darwin-ldouble.c. | |
14376 | (SHLIB_MAPFILES): Add libgcc-ppc64.ver. | |
14377 | (SHLIB_MKMAP_OPTS): Delete. | |
14378 | (TARGET_LIBGCC2_CFLAGS): Add -specs. | |
14379 | (bispecs): Add rule. | |
14380 | * config/rs6000/libgcc-ppc64.ver: New file. | |
14381 | * config/rs6000/ppc64-fp.c (__fixtfdi, __floatditf): New functions. | |
14382 | (__floatdidf, __floatdisf): Optimize multiply. | |
14383 | (__fixunstfdi): New function. | |
14384 | * config/rs6000/rs6000.c (rs6000_complex_function_value): Allow for | |
14385 | real and imag parts larger than one register. | |
14386 | (function_arg): Correct type of reg used when fp arg split partially | |
14387 | to stack. | |
14388 | * config/rs6000/darwin-ldouble.c: Protect with #if !_SOFT_FLOAT | |
14389 | and __MACH__ or __powerpc64__. | |
14390 | ||
254878ea RS |
14391 | 2004-02-06 Roger Sayle <roger@eyesopen.com> |
14392 | Ulrich Weigand <uweigand@de.ibm.com> | |
14393 | ||
14394 | * builtins.c (expand_builtin_signbit): Use extract_bit_field instead | |
14395 | of gen_highpart or gen_lowpart when the floating point format is | |
14396 | wider than the result mode. | |
14397 | ||
b1053160 AP |
14398 | 2004-02-06 Andrew Pinski <pinskia@physics.uc.edu> |
14399 | ||
a6f78652 | 14400 | * dwarf2out.c (loclabel_num): Move into #ifdef |
b1053160 AP |
14401 | DWARF2_DEBUGGING_INFO. |
14402 | ||
25fe8680 ZL |
14403 | 2004-02-06 Ziemowit Laski <zlaski@apple.com> |
14404 | ||
14405 | * objc/objc-act.c (build_super_template) the 'class' field of | |
14406 | 'struct _objc_super' shall be named 'super_class' #ifdef OBJCPLUS. | |
14407 | (get_super_receiver): Likewise. | |
14408 | ||
761fa0f7 KH |
14409 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14410 | ||
14411 | * reload1.c (check_eliminable_occurrences): Optimize the reset | |
14412 | of can_eliminate. | |
14413 | (eliminate_regs_in_insn): Likewise. | |
14414 | ||
0a2d3d69 | 14415 | 2004-02-06 Daniel Berlin <dberlin@dberlin.org> |
a6f78652 | 14416 | Josef Zlomek <zlomekj@suse.cz> |
0a2d3d69 DB |
14417 | |
14418 | * dwarf2out.c (struct gcc_debug_hooks): Call dwarf2out_begin_function | |
14419 | at the beginning of function, call dwarf2out_var_location for | |
14420 | NOTE_INSN_VAR_LOCATION note. | |
14421 | (struct var_loc_node, struct var_loc_list_def, loclabel_num, | |
14422 | decl_loc_table): New. | |
14423 | (lookup_decl_loc): New function. | |
14424 | (add_var_loc_to_decl): New function. | |
14425 | (based_loc_descr): Added parameter can_use_fbreg, DW_OP_fbreg is used | |
14426 | only if can_use_fbreg. | |
14427 | (mem_loc_descriptor): Added parameter can_use_fbreg, pass it to other | |
14428 | functions. | |
14429 | (loc_descriptor): Likewise. Process VAR_LOCATION. | |
14430 | (concat_loc_descriptor): Call loc_descriptor with can_use_fbreg == true. | |
14431 | (loc_descriptor_from_tree): Call mem_loc_descriptor with | |
14432 | can_use_fbreg == true. | |
14433 | (add_location_or_const_value_attribute): Added parameter enum | |
14434 | dwarf_attribute attr, generate attribute ATTR. Create the location list. | |
14435 | (add_bound_info): Call loc_descriptor with can_use_fbreg == true. | |
14436 | (gen_formal_parameter_die): Call add_location_or_const_value_attribute | |
14437 | with attr == DW_AT_location. | |
14438 | (gen_subprogram_die): Generate the location list for DW_AT_frame_base | |
14439 | if frame_base_decl is defined and has a location list. | |
14440 | (gen_variable_die): Call add_location_or_const_value_attribute with | |
14441 | attr == DW_AT_location. | |
14442 | (dwarf2out_var_location): New function. | |
14443 | (dwarf2out_begin_function): New function. | |
14444 | (dwarf2out_init): Create decl_loc_table. | |
14445 | ||
1f0db3df UW |
14446 | 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
14447 | ||
14448 | * loop.c (force_movables): Transitively increase the priorities of | |
14449 | all insns forces by an insn, not just the first one. | |
14450 | ||
014a1138 | 14451 | 2004-02-06 Josef Zlomek <zlomekj@suse.cz> |
a6f78652 | 14452 | Daniel Berlin <dberlin@dberlin.org> |
014a1138 JZ |
14453 | |
14454 | Josef Zlomek <zlomekj@suse.cz> | |
14455 | * Makefile.in (var-tracking.o): New. | |
14456 | * common.opt (fvar-tracking): New. | |
14457 | * flags.h (flag_var_tracking): New. | |
14458 | * gengtype.c (adjust_field_rtx_def): NOTE_INSN_VAR_LOCATION was added. | |
14459 | * opts.c (common_handle_option): Add OPT_fvar_tracking. | |
14460 | * print-rtl.c (print_rtx): NOTE_INSN_VAR_LOCATION was added. | |
a6f78652 ZW |
14461 | * rtl.c (note_insn_name): Likewise. |
14462 | * rtl.def (VAR_LOCATION): New. | |
14463 | * rtl.h (NOTE_VAR_LOCATION): New. | |
14464 | (NOTE_VAR_LOCATION_DECL): New. | |
14465 | (NOTE_VAR_LOCATION_LOC): New. | |
14466 | (enum insn_note): NOTE_INSN_VAR_LOCATION was added. | |
14467 | (variable_tracking_main): New exported function. | |
14468 | * timevar.def (TV_VAR_TRACKING): New. | |
14469 | * toplev.c (enum dump_file_index): Added DFI_vartrack. | |
14470 | (dump_file): "vartrack" was added (-dV). | |
14471 | (flag_var_tracking): New. | |
14472 | (f_options): "var-tracking" was added. | |
014a1138 | 14473 | (rest_of_handle_variable_tracking): New function. |
a6f78652 | 14474 | (rest_of_compilation): Run variable tracking. |
014a1138 JZ |
14475 | (process_options): If user has not specified flag_var_tracking set it |
14476 | according to optimize, debug_info_level and debug_hooks. | |
14477 | * tree.h (frame_base_decl): New. | |
a6f78652 | 14478 | * var-tracking.c: New file. |
014a1138 JZ |
14479 | * config/ia64/ia64.c (ia64_flag_var_tracking): New variable. |
14480 | (ia64_override_options): Set flags to run variable tracking in machine | |
14481 | dependent reorg instead of toplev.c. | |
14482 | (ia64_reorg): Run variable tracking if wanted. | |
a6f78652 | 14483 | * doc/invoke.texi: Mention variable tracking in -dV, |
014a1138 | 14484 | add and -fvar-tracking. |
a6f78652 | 14485 | * doc/passes.texi: Added variable tracking pass. |
014a1138 JZ |
14486 | |
14487 | Daniel Berlin <dberlin@dberlin.org> | |
14488 | * debug.h (struct gcc_debug_hooks): Added var_location debug hook. | |
14489 | * dbxout.c (dbx_debug_hooks): Likewise. | |
14490 | (xcoff_debug): Likewise. | |
14491 | * debug.c (do_nothing_debug_hooks): Likewise. | |
14492 | * dwarf2out.c (dwarf2_debug_hooks): Likewise. | |
14493 | * dwarfout.c (dwarf_debug_hooks): Likewise. | |
14494 | * sdbout.c (sdb_debug_hooks): Likewise. | |
14495 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
a6f78652 ZW |
14496 | * final.c (final_scan_insn): Call var_location debug hook for each |
14497 | NOTE_INSN_VAR_LOCATION. | |
014a1138 | 14498 | |
298c28a8 JH |
14499 | 2004-02-06 Jan Hubicka <jh@suse.cz> |
14500 | ||
14501 | * flow.c (update_life_info): Allocate reg_deaths when called from | |
14502 | scheudler. | |
14503 | (attempt_auto_inc): Update life ranges accordingly. | |
14504 | ||
3199cb41 UW |
14505 | 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
14506 | ||
14507 | PR debug/11816 | |
14508 | * dwarf2out.c (gen_decl_die): Handle anonymous struct members. | |
14509 | ||
1a6dd8a2 UW |
14510 | 2004-02-06 Ulrich Weigand <uweigand@de.ibm.com> |
14511 | ||
14512 | * cfganal.c (flow_call_edges_add): Never split a libcall block. | |
14513 | ||
1711adc2 DB |
14514 | 2004-02-06 Daniel Berlin <dberlin@dberlin.org> |
14515 | ||
14516 | * dwarf2out.c (output_loc_list): Don't use deltas if we have | |
14517 | a separate line info table in use. | |
14518 | Use the correct size for terminators. | |
14519 | (output_die): Use offset, not delta. | |
14520 | ||
b1e5a971 L |
14521 | 2004-02-06 H.J. Lu <hongjiu.lu@intel.com> |
14522 | ||
14523 | * doc/invoke.texi: Remove the pni option from -mfpmath=. | |
14524 | ||
736b64dd JH |
14525 | 2004-02-06 Jan Hubicka <jh@suse.cz> |
14526 | ||
14527 | * recog.c (split_all_insns): Do not update reg info. | |
14528 | * regrename.c (regrename_optimize): Likewise. | |
14529 | * toplev.c (rest_of_handle_reorder_blocks): Likewise. | |
14530 | * flow.c (struct propagate_block_info): Add insn_num field. | |
14531 | (reg_deaths): New array. | |
14532 | (life_analysis): Free reg_deaths info. | |
14533 | (allocate_reg_life_data): Allocate reg_deaths array. | |
14534 | (propagate_one_insn): Use new array. | |
14535 | (init_propagate_block): Initialize it. | |
14536 | (free_propagate_block_info): Finish compuation of | |
14537 | REG_LIVE_LENGTH | |
14538 | (attempt_auto_inc): Sanity check that REG_INFO is not | |
14539 | computed at same time. | |
14540 | (mark_used_regs): Update new array. | |
14541 | ||
14542 | * reg-stack.c (subst_stack_regs): Unshare clobbers before | |
14543 | substitution. | |
14544 | ||
eb457a7a KH |
14545 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14546 | ||
14547 | * config/s390/s390.md (*extendsiqi2_short_displ): Change to | |
14548 | *extendqisi2_short_displ. | |
14549 | ||
0f6937fe AM |
14550 | 2004-02-06 Alan Modra <amodra@bigpond.net.au> |
14551 | ||
14552 | * doc/tm.texi (INIT_CUMULATIVE_ARGS): Update doco. | |
14553 | * calls.c (expand_call): Pass n_named_args to INIT_CUMULATIVE_ARGS. | |
14554 | (emit_library_call_value_1): Likewise pass nargs. | |
14555 | * expr.c (block_move_libcall_safe_for_call_parm): Pass 3 here. | |
14556 | * function.c (assign_parms): Pass -1 to INIT_CUMULATIVE_ARGS. | |
14557 | * config/rs6000/rs6000.c (init_cumulative_args): Use n_named_args | |
14558 | parameter instead of scanning TYPE_ARGS_TYPES to count args. | |
14559 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Update | |
14560 | prototype. | |
14561 | * config/rs6000/rs6000.h (INIT_CUMULATIVE_ARGS): Pass extra arg. | |
14562 | (INIT_CUMULATIVE_INCOMING_ARGS): Set extra arg to 1000. | |
14563 | (INIT_CUMULATIVE_LIBCALL_ARGS): Set extra arg to 0. | |
14564 | * config/sh/sh.c (sh_output_mi_thunk): Pass 1 as n_named_args to | |
14565 | INIT_CUMULATIVE_ARGS. | |
14566 | * config/alpha/alpha.h (INIT_CUMULATIVE_ARGS): Update. | |
14567 | * config/alpha/unicosmk.h, config/alpha/vms.h, config/arc/arc.h, | |
14568 | config/arm/arm.h, config/avr/avr.h, config/c4x/c4x.h, | |
14569 | config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.h, | |
14570 | config/h8300/h8300.h, config/i386/i386.h, config/i860/i860.h, | |
14571 | config/ia64/ia64.h, config/ip2k/ip2k.h, config/iq2000/iq2000.h, | |
14572 | config/iq2000/iq2000.c, config/m32r/m32r.h, config/m68hc11/m68hc11.h, | |
14573 | config/m68k/m68k.h, config/mcore/mcore.h, config/mips/mips.h, | |
14574 | config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h, | |
07711f53 | 14575 | config/pa/pa.h, config/pdp11/pdp11.h, config/s390/s390.h, |
0f6937fe AM |
14576 | config/sh/sh.h, config/sparc/sparc.h, config/stormy16/stormy16.h, |
14577 | config/v850/v850.h, config/vax/vax.h, config/xtensa/xtensa.h: Likewise. | |
14578 | ||
11b635fe KH |
14579 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14580 | ||
14581 | * genemit.c (gen_exp) [CONST_INT]: Use const_int_rtx whenever | |
14582 | possible. | |
14583 | ||
ace3ffcd KH |
14584 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14585 | ||
14586 | * reload1.c (eliminate_regs_in_insn): If a set has a REG_EQUAL | |
14587 | note containing (plus (reg) (const_int)), where reg is an | |
14588 | eliminable reg, then perform the register elimination without | |
14589 | depending on eliminate_regs(). | |
14590 | ||
78bc94a2 KH |
14591 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14592 | ||
14593 | * config/arc/arc.c (arc_return_in_memory): Check the return | |
14594 | value of int_size_in_bytes against -1. Don't check | |
14595 | TREE_ADDRESSABLE. | |
14596 | * config/avr/avr.c (avr_return_in_memory): Check the return | |
14597 | value of int_size_in_bytes against -1. | |
14598 | * config/ip2k/ip2k.c (ip2k_return_in_memory): Likewise. | |
14599 | * config/m68hc11/m68hc11.c (m68hc11_return_in_memory): | |
14600 | Likewise. | |
14601 | * config/mcore/mcore.c (mcore_return_in_memory): Likewise. | |
14602 | * config/stormy16/stormy16.c (xstormy16_return_in_memory): | |
14603 | Likewise. | |
14604 | ||
d8c2bed3 KH |
14605 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14606 | ||
14607 | * config/frv/frv-protos.h: Remove the prototype for | |
14608 | frv_setup_incoming_varargs. | |
14609 | * config/frv/frv.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
14610 | (frv_setup_incoming_varargs): Make it static. | |
14611 | * config/frv/frv.h (SETUP_INCOMING_VARARGS): Remove. | |
14612 | ||
3e29e2aa KH |
14613 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14614 | ||
14615 | * config/fr30/fr30-protos.h: Remove the prototype for | |
14616 | fr30_setup_incoming_varargs. | |
14617 | Update the prototypes for fr30_num_arg_regs and | |
14618 | fr30_function_arg_partial_nregs. | |
14619 | * config/fr30/fr30.c (TARGET_STRUCT_VALUE_RTX): New. | |
14620 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
14621 | (fr30_setup_incoming_varargs): Make it static. | |
14622 | Add argument second_time. Don't do anything when second_time | |
14623 | is nonzero. | |
14624 | (fr30_num_arg_regs): Change the type of the first argument to | |
14625 | enum machine_mode. | |
14626 | (fr30_function_arg_partial_nregs): Change the type of the | |
14627 | second argument to enum machine_mode. | |
14628 | * config/fr30/fr30.h (STRUCT_VALUE): Remove. | |
14629 | (SETUP_INCOMING_VARARGS): Remove. | |
14630 | ||
07ba2efb KH |
14631 | 2004-02-06 Kazu Hirata <kazu@cs.umass.edu> |
14632 | ||
14633 | * config/arc/arc-protos.h: Remove the prototype for | |
14634 | arc_setup_incoming_varargs. | |
14635 | * config/arc/arc.c (TARGET_ASM_EXTERNAL_LIBCALL): New. | |
14636 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
14637 | (arc_setup_incoming_varargs): Make it static. | |
14638 | (arc_external_libcall): Likewise. | |
14639 | * config/arc/arc.h (SETUP_INCOMING_VARARGS): Remove. | |
14640 | Remove the commented-out definition of | |
14641 | ASM_OUTPUT_EXTERNAL_LIBCALL. | |
14642 | ||
f4954ff1 ST |
14643 | 2004-02-05 SUGIOKA Toshinobu <sugioka@itonet.co.jp> |
14644 | ||
14645 | * config/sh/t-linux (SHLIB_INSTALL): Prepend $$(DESTDIR) | |
14646 | to $$(slibdir) in the installation commands. | |
14647 | ||
403c659c DE |
14648 | 2004-02-05 David Edelsohn <edelsohn@gnu.org> |
14649 | ||
14650 | * reload.c (refers_to_regno_for_reload_p): Index hard_regno_nregs | |
14651 | with inner_regno, not regno. | |
14652 | * rtlanal.c (refers_to_regno_p): Same. | |
14653 | ||
5b547172 KH |
14654 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
14655 | ||
14656 | * config.gcc: Remove i370 support. | |
14657 | ||
ce5c1cf3 KC |
14658 | 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> |
14659 | ||
14660 | * doc/install.texi: Update automake and autoconf version | |
14661 | requirements. Note where to find gcj automake version. | |
14662 | ||
14663 | 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> | |
14664 | ||
14665 | * Makefile.in (generate-manpages): Move dependencies to ... | |
14666 | (man): here. | |
14667 | * doc/makefile.texi: Document new targets. | |
14668 | * doc/sourcebuild.texi (Make-lang.in): Document new langhooks. | |
14669 | ||
02ba6b22 KC |
14670 | 2004-02-05 Kelley Cook <kcook@gcc.gnu.org> |
14671 | ||
14672 | PR/13485 | |
14673 | Makefile.in (srcextra): Add a level of indirection to ... | |
14674 | (gcc.srcextra): ... here. | |
14675 | (po-generated): Delete. | |
14676 | (po/$(PACKAGE).pot: Use srcextra instead of po-generated. Depend on | |
14677 | options.c. | |
14678 | (start.encap): Remove superfluous lang.srcextra dependency. | |
14679 | objc/Make-lang.in (po-generated): Delete. | |
14680 | ||
66fcab25 KH |
14681 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
14682 | ||
14683 | * config/ia64/ia64.c (REG_GP): Remove. | |
14684 | ||
89a95129 RO |
14685 | 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14686 | ||
14687 | * config/mips/iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define. | |
14688 | ||
9733d507 DP |
14689 | 2004-02-05 Devang Patel <dpatel@apple.com> |
14690 | ||
14691 | * dwarf2out.c (force_type_die): Look up input type itself | |
14692 | instead of root_type() of type. | |
a6f78652 | 14693 | |
19796784 AK |
14694 | 2004-02-05 Andreas Krebbel <krebbel1@de.ibm.com> |
14695 | ||
14696 | * config/s390/s390.md ("*tmqidi_ext"): New insn. | |
14697 | ("*extendqidi2_short_displ", "*extendsiqi2_short_displ"): Old | |
14698 | pre-reload splitters are transformed to post-reload | |
14699 | define_insn_and_split patterns. | |
14700 | ("*tmqisi_ext"): Renamed old "*tmqi_ext". | |
14701 | ||
136e64db KH |
14702 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
14703 | ||
14704 | * config/cris/cris.h: Replace PROMOTE_PROTOTYPES with | |
14705 | TARGET_PROMOTE_PROTOTYPES. | |
14706 | ||
839ee4bc RO |
14707 | 2004-02-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14708 | ||
14709 | PR middle-end/13750 | |
14710 | Revert: | |
14711 | 2004-01-15 Geoffrey Keating <geoffk@apple.com> | |
14712 | PR pch/13361 | |
14713 | * c-typeck.c (constructor_asmspec): Delete. | |
14714 | (struct initializer_stack): Delete field 'asmspec'. | |
14715 | (start_init): Delete saving of asmspec. | |
14716 | (finish_init): Don't update constructor_asmspec. | |
14717 | * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. | |
14718 | * stmt.c (expand_asm): Duplicate strings from tree. | |
14719 | (expand_asm_operands): Likewise. | |
14720 | * tree.c (tree_size): Update computation of size of STRING_CST. | |
14721 | (make_node): Don't make STRING_CST nodes. | |
14722 | (build_string): Allocate string with tree node. | |
14723 | * tree.def (STRING_CST): Update comment. | |
14724 | * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. | |
14725 | (tree_string): Place contents of string in tree node. | |
14726 | * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string | |
14727 | from tree. | |
14728 | ||
687d688e JM |
14729 | 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk> |
14730 | ||
14731 | * diagnostic.h (DEFINE_DIAGNOSTIC_KIND): Change parameter M to | |
14732 | msgid. | |
14733 | ||
20a20bf0 DN |
14734 | 2004-02-05 Dorit Naishlos <dorit@il.ibm.com> |
14735 | ||
14736 | * config/rs6000/altivec.md (*movv4si_internal): At least one | |
14737 | operand must be altivec_register_operand. | |
14738 | (*movv8hi_internal1): Likewise. | |
14739 | (*movv16qi_internal1): Likewise. | |
14740 | (*movv4sf_internal1): Likewise. | |
14741 | ||
6b37db3c DE |
14742 | 2004-02-05 David Edelsohn <edelsohn@gnu.org> |
14743 | ||
14744 | * configure.ac (gcc_cv_as_powerpc_mfcrf): Correct test for mfcr. | |
14745 | * configure: Regenerate. | |
14746 | ||
e0b24bce JW |
14747 | 2004-02-05 Jonathan Wakely <redi@gcc.gnu.org> |
14748 | ||
14749 | * doc/install.texi: Update description of --gxx-include-dir to | |
14750 | give correct default value. | |
14751 | ||
2dca8ddb KH |
14752 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
14753 | ||
14754 | * config/h8300/h8300.h (REG_OK_FOR_BASE_NONSTRICT_P): Replace | |
14755 | 8 with MAC_REG. | |
14756 | ||
92fd5e41 KH |
14757 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
14758 | ||
14759 | * config/pa/pa.c (emit_hpdiv_const): Replace gen_rtx with | |
14760 | gen_rtx_PARALLEL. | |
14761 | ||
f822fcf7 KH |
14762 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
14763 | ||
14764 | * emit-rtl.c: Update the comment about the file. | |
14765 | ||
4ef84575 JM |
14766 | 2004-02-05 Joseph S. Myers <jsm@polyomino.org.uk> |
14767 | ||
14768 | * sourcebuild.texi (Test Idioms): Update testcase naming | |
14769 | conventions. | |
14770 | ||
8e9ea4d7 PB |
14771 | 2004-02-04 Per Bothner <per@bothner.com> |
14772 | ||
14773 | Partially revert/redo 2003-10-01 change; fix -fworking-directory. | |
14774 | * c-ppoutput.c (pp_dir_change): New function. | |
14775 | * c-common.h (pp_dir_change): New declaration. | |
14776 | * cpplib.h (struct cpp_options): Remove working_directory field. | |
14777 | * cppinit.c (cpp_find_main_file, cpp_push_main_file): Merge back to | |
14778 | (cpp_read_main_file): as before 10-01. Call _cpp_stack_file. | |
14779 | Don't handle -fworking_directory here, but in c_common_post_options. | |
14780 | (read_original_directory): Don't back up when done. | |
14781 | Don't clear no-longer used working_directory flag. | |
14782 | * cpplib.h: Update declarations to match. | |
14783 | * c-lex.c (cb_dir_change): Move to c-opts.c. | |
14784 | (init_c_lex): Don't set dir_change callback here, since we want | |
14785 | to set it even if flag_preprocess_only. | |
14786 | * c-opts.c (cb_dir_change): Function moved from c-lex.c. | |
14787 | (c_common_post_options): Set dir_change callback. | |
14788 | Call pp_dir_change if approporiate. | |
14789 | (finish_options): Don't call cpp_find_main_file here. Hence remove | |
14790 | unneeded parameter and result. Do LC_RENAME for <built-in>. | |
14791 | (c_common_post_options): Call cpp_read_main_file here instead. | |
14792 | (c_common_init): Update accordingly. | |
14793 | (push_command_line_include): Don't cpp_push_main_file. | |
14794 | Do LC_RENAME rather than LC_LEASE to get back to main file. | |
14795 | Compared to pre-10-01 version, inline cpp_rename_to_main_file. | |
14796 | (c_common_parse_file): Call cpp_read_main_file for subsequent main | |
14797 | files, but call finish_options for all files. | |
14798 | * c-opts.c (sanitize_cpp_opts): Don't set cpp_opts->working_directory. | |
14799 | * fix-header.c (read_scan_file): Call cpp_read_main_file instead of | |
14800 | cpp_find_main_file + cpp_push_main_file. | |
14801 | * c-lex.c (fe_file_change): Don't set main_input_filename here. | |
14802 | * opts.c (handle_options): Only set main_input_filename first time. | |
14803 | ||
5384443a ILT |
14804 | 2004-02-05 Ian Lance Taylor <ian@wasabisystems.com> |
14805 | ||
14806 | * config/arm/arm.h (REG_CLASS_NAMES): Add missing comma. | |
14807 | ||
3c241c19 GK |
14808 | 2004-02-04 Geoffrey Keating <geoffk@apple.com> |
14809 | ||
14810 | * reload.c (find_equiv_reg): When checking for register overlap, | |
14811 | don't index hard_regno_nregs with a pseudo-reg. | |
14812 | ||
a322288b UW |
14813 | 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14814 | ||
14815 | * config/s390/s390.c (s390_trampoline_template): Remove gen_rtx(). | |
14816 | ||
859b9c1d DE |
14817 | 2004-02-04 David Edelsohn <edelsohn@gnu.org> |
14818 | ||
14819 | * reload.c (refers_to_regno_for_reload_p): Test regno, not inner_regno, | |
14820 | against FIRST_PSEUDO_REGISTER. | |
14821 | ||
7e63a64e RO |
14822 | 2004-02-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
14823 | ||
14824 | * Makefile.in: Move target, host overrides after per-language | |
14825 | fragments. | |
14826 | ||
14827 | * config/mips/t-iris5-as (FORCE_DEBUG_ADAFLAGS): Clear. | |
14828 | (GNATLIBCFLAGS): Remove -g. | |
14829 | ||
5efb1046 KH |
14830 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14831 | ||
14832 | * config/alpha/alpha.c, config/arc/arc.c, config/avr/avr.c, | |
14833 | config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, | |
14834 | config/ia64/ia64.c, config/ia64/unwind-ia64.c, | |
14835 | config/m32r/m32r.c, config/ns32k/ns32k.c, config/pa/pa.c, | |
14836 | config/pdp11/pdp11.c, config/rs6000/rs6000.c, | |
14837 | config/sparc/sparc.c, config/vax/vax.c: Revert the | |
14838 | replacements of "FALLTHRU" with "Fall through" done in the | |
14839 | previous patch. | |
14840 | ||
ff482c8d KH |
14841 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14842 | ||
14843 | * config/darwin.c, config/darwin.h, config/freebsd-spec.h, | |
14844 | config/arm/arm.c, config/arm/arm.md, | |
14845 | config/cris/cris-protos.h, config/fr30/fr30.c, | |
14846 | config/fr30/fr30.h, config/h8300/h8300.c, config/i386/i386.h, | |
14847 | config/i860/i860.c, config/i860/i860.h, config/ia64/ia64-c.c, | |
14848 | config/ia64/ia64.c, config/ia64/ia64.h, config/ip2k/ip2k.h, | |
14849 | config/ip2k/ip2k.md, config/ip2k/libgcc.S, | |
14850 | config/m32r/linux.h, config/m32r/m32r.c, config/m32r/m32r.h, | |
14851 | config/m68k/m68k.c, config/m68k/netbsd-elf.h, | |
14852 | config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.md, | |
14853 | config/ns32k/netbsd.h, config/ns32k/ns32k.c, | |
14854 | config/ns32k/ns32k.h, config/pdp11/pdp11.h, | |
14855 | config/rs6000/darwin-ldouble.c, config/s390/s390.h, | |
14856 | config/s390/s390.md, config/sparc/netbsd-elf.h, | |
14857 | config/sparc/openbsd.h, config/sparc/sparc.c, | |
14858 | config/xtensa/lib2funcs.S: Fix comment formatting. | |
14859 | ||
59b9a953 KH |
14860 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14861 | ||
14862 | * config/alpha/alpha.c, config/arc/arc.c, | |
14863 | config/arm/arm-cores.def, config/arm/arm.c, config/arm/arm.h, | |
14864 | config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, | |
14865 | config/arm/arm926ejs.md, config/arm/vfp.md, config/avr/avr.c, | |
14866 | config/c4x/c4x.c, config/cris/cris.c, config/frv/frv.md, | |
14867 | config/i386/i386.c, config/i386/i386.h, config/i386/i386.md, | |
14868 | config/ia64/ia64.c, config/ia64/unwind-ia64.c, | |
14869 | config/iq2000/iq2000.c, config/m32r/m32r.c, | |
14870 | config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h, | |
14871 | config/ns32k/ns32k.c, config/pa/pa.c, config/pdp11/pdp11.c, | |
14872 | config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, | |
14873 | config/rs6000/rs6000.h, config/sparc/sparc.c, | |
14874 | config/vax/vax.c: Fix comment typos. Follow spelling | |
14875 | conventions. | |
14876 | ||
e146f815 KH |
14877 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14878 | ||
14879 | * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h, | |
14880 | caller-save.c, df.h, genconfig.c, global.c, lcm.c, | |
14881 | ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c, | |
14882 | sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md, | |
14883 | config/arm/fpa.md, config/arm/iwmmxt.md, | |
14884 | config/arm/netbsd-elf.h, config/arm/netbsd.h, | |
14885 | config/m68hc11/m68hc11.md, config/mips/iris5.h, | |
14886 | config/mn10300/mn10300.md, config/rs6000/altivec.md, | |
14887 | config/sparc/netbsd-elf.h: Update copyright. | |
14888 | ||
e2a17f6e EB |
14889 | 2004-02-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
14890 | ||
14891 | * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1 | |
14892 | for all modes whose size is greater than 8 bytes if ARCH32. | |
14893 | (sparc_va_arg): Handle all modes whose size is greater than 8 bytes | |
14894 | by reference if ARCH32. | |
14895 | ||
e0cc7f73 | 14896 | 2004-02-04 Aldy Hernandez <aldyh@redhat.com> |
a6f78652 ZW |
14897 | |
14898 | * cgraphunit.c (cgraph_postorder): Fix typo in comment. | |
e0cc7f73 | 14899 | |
7bdff56f UW |
14900 | 2004-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14901 | ||
14902 | * config/s390/s390.md ("*la_64" + peepholes, "reload_indi"): Move | |
14903 | to before adddi3 insn patterns. | |
14904 | ("*la_31" + peepholes, "*la_31_and", "*la_31_and_cc", "force_la_31", | |
14905 | "reload_insi"): Move to before addsi3 insn patterns. | |
14906 | ||
dd292d0a MM |
14907 | 2004-02-04 Mark Mitchell <mark@codesourcery.com> |
14908 | ||
14909 | * calls.c (initialize_argument_information): Add CALL_FROM_THUNK_P | |
14910 | parameter. Use it instead of current_function_is_thunk. | |
14911 | * function.h (struct function): Update documentation for is_thunk. | |
14912 | * tree.h (CALL_FROM_THUNK_P): New macro. | |
14913 | * config/alpha/alpha.c (alpha_sa_mask): Do not check | |
14914 | no_new_pseudos when testing current_function_is_thunk. | |
14915 | * config/rs6000/rs6000.c (rs6000_ra_ever_killed): Likeiwse. | |
14916 | ||
c2379679 KH |
14917 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14918 | ||
14919 | * doc/tm.texi: Replace SETUP_INCOMING_VARARGS with | |
14920 | TARGET_SETUP_INCOMING_VARARGS. | |
14921 | ||
a2a8cc44 KH |
14922 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14923 | ||
14924 | * emit-rtl.c (gen_rtx): Remove. | |
14925 | * genattrtab.c: Don't mention gen_rtx in a comment. | |
14926 | * rtl.h: Remove the prototype for gen_rtx. | |
14927 | * doc/md.texi: Replace gen_rtx with gen_rtx_REG. | |
14928 | ||
f61c92c3 KH |
14929 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14930 | ||
14931 | * config/arc/arc.h, config/fr30/fr30.h | |
14932 | (SETUP_INCOMING_VARARGS): Remove the target-independent | |
14933 | comments. | |
14934 | * doc/tm.texi: Don't mention deprecated target macros. | |
14935 | ||
c35c17c1 KH |
14936 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14937 | ||
14938 | * config/fr30/fr30.h (FUNCTION_VALUE): Remove the | |
14939 | target-independent comment. | |
14940 | ||
cea28603 KH |
14941 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14942 | ||
14943 | * doc/interface.texi, doc/tm.texi, doc/trouble.texi: Don't | |
14944 | mention deprecated target macros. | |
14945 | ||
a4a4b1d3 KH |
14946 | 2004-02-04 Kazu Hirata <kazu@cs.umass.edu> |
14947 | ||
14948 | * config.gcc: Remove obsolete ports and configurations. | |
14949 | * config/linux-aout.h, config/netware.h, | |
14950 | config/t-linux-gnulibc1, config/d30v/abi, | |
14951 | config/d30v/d30v-protos.h, config/d30v/d30v.c, | |
14952 | config/d30v/d30v.h, config/d30v/d30v.md, | |
14953 | config/d30v/libgcc1.asm, config/d30v/t-d30v, | |
14954 | config/dsp16xx/dsp16xx-modes.def, | |
14955 | config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c, | |
14956 | config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md, | |
14957 | config/i370/README, config/i370/i370-c.c, | |
14958 | config/i370/i370-protos.h, config/i370/i370.c, | |
14959 | config/i370/i370.h, config/i370/i370.md, config/i370/linux.h, | |
14960 | config/i370/mvs.h, config/i370/oe.h, config/i370/t-i370, | |
14961 | config/i386/freebsd-aout.h, config/i386/linux-aout.h, | |
14962 | config/i386/moss.h, config/i386/netware.h, | |
14963 | config/i386/svr3.ifile, config/i386/svr3dbx.h, | |
14964 | config/i386/svr3gas.h, config/i386/svr3z.ifile, | |
14965 | config/i386/t-udk, config/i386/udk.h, config/i386/vsta.h, | |
14966 | config/i960/i960-c.c, config/i960/i960-coff.h, | |
14967 | config/i960/i960-modes.def, config/i960/i960-protos.h, | |
14968 | config/i960/i960.c, config/i960/i960.h, config/i960/i960.md, | |
14969 | config/i960/rtems.h, config/i960/t-960bare, | |
14970 | config/m68k/hp310.h, config/m68k/hp320.h, | |
14971 | config/m68k/hp320base.h, config/m68k/m68kv4.h, | |
14972 | config/m68k/netbsd.h, config/m68k/sgs.h, config/m68k/t-hp320: | |
14973 | Remove. | |
14974 | * doc/extend.texi, doc/install.texi, doc/invoke.texi, | |
14975 | doc/md.texi: Remove mentions of obsolete ports. | |
14976 | ||
40e02b4a JH |
14977 | 2004-02-04 Jan Hubicka <jh@suse.cz> |
14978 | ||
14979 | * alias.c (find_base_term, get_addr): Do not dereference NULL | |
14980 | pointer when all VALUE's locations has been invalidated. | |
14981 | (rtx_equal_for_memref_p): Simplify checking of VALUEs. | |
14982 | ||
a6f78652 | 14983 | 2004-02-03 Wolfgang Bangerth <bangerth@dealii.org> |
1c02f6f2 WB |
14984 | |
14985 | * doc/invoke.texi (x86 options): Fix spelling/wording. | |
14986 | ||
584e5527 RS |
14987 | 2004-02-03 Richard Sandiford <rsandifo@redhat.com> |
14988 | ||
14989 | * config/mips/iris5.h (ASM_OUTPUT_ASCII): Use mips_output_ascii to | |
14990 | put the original string in a comment. | |
14991 | * config/mips/mips-protos.h (mips_output_ascii): Add prefix argument. | |
14992 | * config/mips/mips.c (mips_output_ascii): Likewise. | |
14993 | * config/mips/mips.h (ASM_OUTPUT_ASCII): Adjust accordingly. | |
14994 | ||
9b2b3375 KH |
14995 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
14996 | ||
14997 | * system.h (GIV_SORT_CRITERION): Poison. | |
14998 | * config/avr/avr.h (GIV_SORT_CRITERION): Remove. | |
14999 | * config/ip2k/ip2k.h (GIV_SORT_CRITERION): Likewise. | |
15000 | ||
888d65b5 RS |
15001 | 2004-02-03 Roger Sayle <roger@eyesopen.com> |
15002 | ||
15003 | PR target/9348 | |
15004 | * expr.c (expand_expr_real) <MULT_EXPR>: When performing widening | |
15005 | multiplies with a multiplication of the wrong signedness, its the | |
15006 | signedness of the multiplication that we've performed that needs to | |
15007 | be passed to expand_mult_highpart_adjust. Avoid emitting a nop-move | |
15008 | if expand_mult_highpart_adjust places the result in target. | |
15009 | ||
a8c0bbc7 RH |
15010 | 2004-02-03 Richard Henderson <rth@redhat.com> |
15011 | ||
15012 | * varasm.c (const_desc_rtx_sym_eq): Compare symbol strings. | |
15013 | ||
a8f0f22e R |
15014 | 2004-02-03 J"orn Rennecke <joern.rennecke@superh.com> |
15015 | ||
15016 | * config.gcc (sh[234]l): Use little endian fragments. | |
15017 | ||
e621b588 PK |
15018 | 2004-02-03 Paul Koning <pkoning@equallogic.com> |
15019 | ||
15020 | * config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls. | |
15021 | * config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add. | |
15022 | * config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f, | |
15023 | encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11 | |
15024 | floating point format. | |
15025 | (pdp11_f_format, pdp11_d_format): New real_format descriptors for | |
15026 | the above functions. | |
15027 | (output_move_quad): Output float values in correct target format. | |
15028 | (legitimate_const_double_p): New function. | |
15029 | * config/pdp11/pdp11.h: Fix typos. | |
15030 | (FLOAT_WORDS_BIG_ENDIAN): Add definition. | |
15031 | (TARGET_FLOAT_FORMAT): Ditto. | |
15032 | (pdp11_f_format, pdp11_d_format): Add external declarations. | |
15033 | (MAX_REGS_PER_ADDRESS): Corrected. | |
15034 | (LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p(). | |
15035 | (PRINT_OPERAND): Output float literals in target format. | |
15036 | ||
5a98fa7b MM |
15037 | 2004-02-03 Mark Mitchell <mark@codesourcery.com> |
15038 | ||
15039 | PR c++/13975 | |
15040 | * tree.h (enum tree_index): Add TI_PUBLIC, TI_PROTECTED, and | |
15041 | TI_PRIVATE. | |
15042 | (access_public_node): Redefine. | |
15043 | (access_protected_node): Likewise. | |
15044 | (access_private_node): Likewise. | |
15045 | * tree.c (build_common_tree_nodes): Create access_public_node, | |
15046 | access_protected_node, and access_private_node. | |
15047 | ||
0263e6bf SE |
15048 | 2004-02-03 Steve Ellcey <sje@cup.hp.com> |
15049 | ||
15050 | * config/ia64/ia64.h (MASK_INLINE_INT_DIV_LAT): Change value. | |
15051 | (MASK_INLINE_INT_DIV_THR): Ditto. | |
15052 | (MASK_INLINE_SQRT_LAT): Ditto. | |
15053 | (MASK_INLINE_SQRT_THR): Ditto. | |
15054 | (MASK_DWARF2_ASM): Ditto. | |
15055 | (MASK_EARLY_STOP_BITS): Ditto. | |
15056 | ||
9b66ebb1 PB |
15057 | 2004-02-02 Paul Brook <paul@codesourcery.com> |
15058 | ||
15059 | Merge from csl-arm-branch. | |
15060 | ||
15061 | 2004-01-30 Paul Brook <paul@codesourcery.com> | |
15062 | ||
15063 | * aof.h (REGISTER_NAMES): Add vfp reg names | |
15064 | (ADDITIONAL_REGISTER_NAMES): Ditto. | |
15065 | * aout.h (REGISTER_NAMES): Ditto. | |
15066 | (ADDITIONAL_REGISTER_NAMES): Ditto. | |
15067 | * arm-protos.h: Update/Add Prototypes. | |
15068 | * arm.c (init_fp_table): Rename from init_fpa_table. Update users. | |
15069 | Only allow 0.0 for VFP. | |
15070 | (fp_consts_inited): Rename from fpa_consts_inited. Update users. | |
15071 | (values_fp): Rename from values_fpa. Update Users. | |
15072 | (arm_const_double_rtx): Rename from const_double_rtx_ok_for_fpa. | |
15073 | Update users. Only check valid constants for this hardware. | |
15074 | (arm_float_rhs_operand): Rename from fpa_rhs_operand. Update Users. | |
15075 | Only allow consts for FPA. | |
15076 | (arm_float_add_operand): Rename from fpa_add_operand. Update users. | |
15077 | Only allow consts for FPA. | |
15078 | (use_return_insn): Check for saved VFP regs. | |
15079 | (arm_legitimate_address_p): Handle VFP DFmode addressing. | |
15080 | (arm_legitimize_address): Ditto. | |
15081 | (arm_general_register_operand): New function. | |
15082 | (vfp_mem_operand): New function. | |
15083 | (vfp_compare_operand): New function. | |
15084 | (vfp_secondary_reload_class): New function. | |
15085 | (arm_float_compare_operand): New function. | |
15086 | (vfp_print_multi): New function. | |
15087 | (vfp_output_fstmx): New function. | |
15088 | (vfp_emit_fstm): New function. | |
15089 | (arm_output_epilogue): Output VPF reg restore code. | |
15090 | (arm_expand_prologue): Output VFP reg save code. | |
15091 | (arm_print_operand): Add 'P'. | |
15092 | (arm_hard_regno_mode_ok): Return modes for VFP regs. | |
15093 | (arm_regno_class): Return classes for VFP regs. | |
15094 | (arm_compute_initial_elimination_offset): Include space for VFP regs. | |
15095 | (arm_get_frame_size): Ditto. | |
15096 | * arm.h (FIXED_REGISTERS): Add VFP regs. | |
15097 | (CALL_USED_REGISTERS): Ditto. | |
15098 | (CONDITIONAL_REGISTER_USAGE): Enable VFP regs. | |
15099 | (FIRST_VFP_REGNUM): Define. | |
15100 | (LAST_VFP_REGNUM): Define. | |
15101 | (IS_VFP_REGNUM): Define. | |
15102 | (FIRST_PSEUDO_REGISTER): Include VFP regs. | |
15103 | (HARD_REGNO_NREGS): Handle VFP regs. | |
15104 | (REG_ALLOC_ORDER): Add VFP regs. | |
15105 | (enum reg_class): Add VFP_REGS. | |
15106 | (REG_CLASS_NAMES): Ditto. | |
15107 | (REG_CLASS_CONTENTS): Ditto. | |
15108 | (CANNOT_CHANGE_MODE_CLASS) Handle VFP Regs. | |
15109 | (REG_CLASS_FROM_LETTER): Add 'w'. | |
15110 | (EXTRA_CONSTRAINT_ARM): Add 'U'. | |
15111 | (EXTRA_MEMORY_CONSTRAINT): Define. | |
15112 | (SECONDARY_OUTPUT_RELOAD_CLASS): Handle VFP regs. | |
15113 | (SECONDARY_INPUT_RELOAD_CLASS): Ditto. | |
15114 | (REGISTER_MOVE_COST): Ditto. | |
15115 | (PREDICATE_CODES): Add arm_general_register_operand, | |
15116 | arm_float_compare_operand and vfp_compare_operand. | |
15117 | * arm.md (various): Rename as above. | |
15118 | (divsf3): Enable when TARGET_VFP. | |
15119 | (divdf3): Ditto. | |
15120 | (movdfcc): Ditto. | |
15121 | (sqrtsf2): Ditto. | |
15122 | (sqrtdf2): Ditto. | |
15123 | (arm_movdi): Disable when TARGET_VFP. | |
15124 | (arm_movsi_insn): Ditto. | |
15125 | (movsi): Only split with general regs. | |
15126 | (cmpsf): Use arm_float_compare_operand. | |
15127 | (push_fp_multi): Restrict to TARGET_FPA. | |
15128 | (vfp.md): Include. | |
15129 | * vfp.md: New file. | |
15130 | * fpa.md (various): Rename as above. | |
15131 | * doc/md.texi: Document ARM w and U constraints. | |
15132 | ||
15133 | 2004-01-15 Paul Brook <paul@codesourcery.com> | |
15134 | ||
15135 | * config.gcc: Add with_fpu. Allow with-float=softfp. | |
15136 | * config/arm/arm.c (arm_override_options): Rename *-s to *s. | |
15137 | Break out of loop when we find a float-abi. Fix typo. | |
15138 | * config/arm/arm.h (OPTION_DEFAULT_SPECS): Add "fpu". | |
15139 | Set -mfloat-abi=. | |
15140 | * doc/install.texi: Document --with-fpu. | |
15141 | ||
15142 | 2003-01-14 Paul Brook <paul@codesourcery.com> | |
15143 | ||
15144 | * config.gcc (with_arch): Add armv6. | |
15145 | * config/arm/arm.h: Rename TARGET_CPU_*_s to TARGET_CPU_*s. | |
15146 | * config/arm/arm.c (arm_overrride_options): Ditto. | |
15147 | ||
15148 | 2004-01-08 Richard Earnshaw <rearnsha@arm.com> | |
15149 | ||
15150 | * arm.c (FL_ARCH3M): Renamed from FL_FAST_MULT. | |
15151 | (FL_ARCH6): Renamed from FL_ARCH6J. | |
15152 | (arm_arch3m): Renamed from arm_fast_multiply. | |
15153 | (arm_arch6): Renamed from arm_arch6j. | |
15154 | * arm.h: Update all uses of above. | |
15155 | * arm-cores.def: Likewise. | |
15156 | * arm.md: Likewise. | |
15157 | ||
15158 | * arm.h (CPP_CPU_ARCH_SPEC): Emit __ARM_ARCH_6J__ define for armV6j, | |
15159 | not arm6j. Add entry for arch armv6. | |
15160 | ||
15161 | 2004-01-07 Richard Earnshaw <rearnsha@arm.com> | |
15162 | ||
15163 | * arm.c (arm_emit_extendsi): Delete. | |
15164 | * arm-protos.h (arm_emit_extendsi): Delete. | |
15165 | * arm.md (zero_extendhisi2): Also handle zero-extension of | |
15166 | non-subregs. | |
15167 | (zero_extendqisi2, extendhisi2, extendqisi2): Likewise. | |
15168 | (thumb_zero_extendhisi2): Only match if not v6. | |
15169 | (arm_zero_extendhisi2, thumb_zero_extendqisi2, arm_zero_extendqisi2) | |
15170 | (thumb_extendhisi2, arm_extendhisi2, arm_extendqisi) | |
15171 | (thumb_extendqisi2): Likewise. | |
15172 | (thumb_zero_extendhisi2_v6, arm_zero_extendhisi2_v6): New patterns. | |
15173 | (thumb_zero_extendqisi2_v6, arm_zero_extendqisi2_v6): New patterns. | |
15174 | (thumb_extendhisi2_insn_v6, arm_extendhisi2_v6): New patterns. | |
15175 | (thumb_extendqisi2_v6, arm_extendqisi_v6): New patterns. | |
15176 | (arm_zero_extendhisi2_reg, arm_zero_extendqisi2_reg): Delete. | |
15177 | (arm_extendhisi2_reg, arm_extendqisi2_reg): Delete. | |
15178 | (arm_zero_extendhisi2addsi): Remove subreg. Add attributes. | |
15179 | (arm_zero_extendqisi2addsi, arm_extendhisi2addsi): Likewise. | |
15180 | (arm_extendqisi2addsi): Likewise. | |
15181 | ||
15182 | 2003-12-31 Mark Mitchell <mark@codesourcery.com> | |
15183 | ||
15184 | Revert this change: | |
15185 | * config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG | |
15186 | + REG addressing modes. | |
15187 | ||
15188 | * config/arm/arm.h (THUMB_LEGTITIMIZE_RELOAD_ADDRESS): Reload REG | |
15189 | + REG addressing modes. | |
15190 | ||
15191 | 2003-12-30 Mark Mitchell <mark@codesourcery.com> | |
15192 | ||
15193 | * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept | |
15194 | CONSTANT_P_RTX. | |
15195 | ||
15196 | 2003-30-12 Paul Brook <paul@codesourcery.com> | |
15197 | ||
15198 | * longlong.h: protect arm inlines with !defined (__thumb__) | |
15199 | ||
15200 | 2003-30-12 Paul Brook <paul@codesourcery.com> | |
15201 | ||
15202 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Always define __arm__. | |
15203 | ||
15204 | 2003-12-30 Nathan Sidwell <nathan@codesourcery.com> | |
15205 | ||
15206 | * builtins.c (expand_builtin_apply_args_1): Fix typo in previous | |
15207 | change. | |
15208 | ||
15209 | 2003-12-29 Nathan Sidwell <nathan@codesourcery.com> | |
15210 | ||
15211 | * builtins.c (expand_builtin_apply_args_1): Add pretend args size | |
15212 | to the virtual incoming args pointer for downward stacks. | |
15213 | ||
15214 | 2003-12-29 Paul Brook <paul@codesourcery.com> | |
15215 | ||
15216 | * config/arm/arm-cores.def: Add cost function. | |
15217 | * config/arm/arm.c (arm_*_rtx_costs): New functions. | |
15218 | (arm_rtx_costs): Remove | |
15219 | (struct processors): Add rtx_costs field. | |
15220 | (all_cores, all_architectures): Ditto. | |
15221 | (arm_override_options): Set targetm.rtx_costs. | |
15222 | (thumb_rtx_costs): New function. | |
15223 | (arm_rtx_costs_1): Remove cases handled elsewhere. | |
15224 | * config/arm/arm.h (processor_type): Add COSTS parameter. | |
15225 | ||
15226 | 2003-12-29 Nathan Sidwell <nathan@codesourcery.com> | |
15227 | ||
15228 | * config/arm/arm.md (generic_sched): arm926 has its own scheduler. | |
15229 | (arm926ejs.md): Include it. | |
15230 | * config/arm/arm926ejs.md: New pipeline description. | |
15231 | ||
15232 | 2003-12-24 Paul Brook <paul@codesourcery.com> | |
15233 | ||
15234 | * config/arm/arm.c (arm_arch6j): New variable. | |
15235 | (arm_override_options): Set it. | |
15236 | (arm_emit_extendsi): New function. | |
15237 | * config/arm/arm-protos.h (arm_emit_extendsi): Add prototype. | |
15238 | * config/arm/arm.h (arm_arch6j): Declare. | |
15239 | * config/arm/arm.md: Add sign/zero extend insns. | |
15240 | ||
15241 | 2003-12-23 Paul Brook <paul@codesourcery.com> | |
15242 | ||
15243 | * config/arm/arm.c (all_architectures): Add armv6. | |
15244 | * doc/invoke.texi: Document it. | |
15245 | ||
15246 | 2003-12-19 Paul Brook <paul@codesourcery.com> | |
15247 | ||
15248 | * config/arm/arm.md: Add load1 and load_byte "type" attrs. Modify | |
15249 | insn patterns to match. | |
15250 | * config/arm/arm-generic.md: Ditto. | |
15251 | * config/arm/cirrus.md: Ditto. | |
15252 | * config/arm/fpa.md: Ditto. | |
15253 | * config/amm/iwmmxt.md: Ditto. | |
15254 | * config/arm/arm1026ejs.md: Ditto. | |
15255 | * config/arm/arm1135jfs.md: Ditto. Add insn_reservation and bypasses | |
15256 | for 11_loadb. | |
15257 | ||
15258 | 2003-12-18 Nathan Sidwell <nathan@codesourcery.com> | |
15259 | ||
15260 | * config/arm/arm-protos.h (arm_no_early_alu_shift_value_dep): Declare. | |
15261 | * config/arm/arm.c (arm_adjust_cost): Check shift cost for | |
15262 | TYPE_ALU_SHIFT and TYPE_ALU_SHIFT_REG. | |
15263 | (arm_no_early_store_addr_dep, arm_no_early_alu_shift_dep, | |
15264 | arm_no_early_mul_dep): Correctly deal with conditional execution, | |
15265 | parallels and single shift operations. | |
15266 | (arm_no_early_alu_shift_value_dep): Define. | |
15267 | * arm.md (attr type): Replace 'normal' with 'alu', | |
15268 | 'alu_shift' and 'alu_shift_reg'. | |
15269 | (attr core_cycles): Adjust. | |
15270 | (*addsi3_carryin_shift, andsi_not_shiftsi_si, *arm_shiftsi3, | |
15271 | *shiftsi3_compare0, *notsi_shiftsi, *notsi_shiftsi_compare0, | |
15272 | *not_shiftsi_compare0_scratch, *cmpsi_shiftsi, *cmpsi_shiftsi_swp, | |
15273 | *cmpsi_neg_shiftsi, *arith_shiftsi, *arith_shiftsi_compare0, | |
15274 | *arith_shiftsi_compare0_scratch, *sub_shiftsi, | |
15275 | *sub_shiftsi_compare0, *sub_shiftsi_compare0_scratch, | |
15276 | *if_shift_move, *if_move_shift, *if_shift_shift): Set type | |
15277 | attribute appropriately. | |
15278 | * config/arm/arm1026ejs.md (alu_op): Adjust. | |
15279 | (alu_shift_op, alu_shift_reg_op): New. | |
15280 | * config/arm/arm1136.md: Add better bypasses for early | |
15281 | registers. Remove load[234] and store[234] bypasses. | |
15282 | (11_alu_op): Adjust. | |
15283 | (11_alu_shift_op, 11_alu_shift_reg_op): New. | |
15284 | ||
15285 | 2003-12-15 Nathan Sidwell <nathan@codesourcery.com> | |
15286 | ||
15287 | * config/arm/arm-protos.h (arm_no_early_store_addr_dep, | |
15288 | arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Declare. | |
15289 | * config/arm/arm.c (arm_no_early_store_addr_dep, | |
15290 | arm_no_early_alu_shift_dep, arm_no_early_mul_dep): Define. | |
15291 | * config/arm/arm1026ejs.md: Add load-store bypass. | |
15292 | * config/arm/arm1136jfs.md (11_alu_op): Take 2 cycles. | |
15293 | Add bypasses between instructions. | |
15294 | ||
15295 | 2003-12-10 Paul Brook <paul@codesourcery.com> | |
15296 | ||
15297 | * config/arm/arm.c (arm_fpu_model): New variable. | |
15298 | (arm_fload_abi): New variable. | |
15299 | (target_fpe_name): Rename from target_fp_name. | |
15300 | (target_fpu_name): New variable. | |
15301 | (arm_is_cirrus): Remove. | |
15302 | (fpu_desc): New struct. | |
15303 | (all_fpus): Define. | |
15304 | (pf_model_for_fpu): Define. | |
15305 | (all_loat_abis): Define. | |
15306 | (arm_override_options): Set fp arch flags based on -mfpu= | |
15307 | and -float-abi=. | |
15308 | (FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM. | |
15309 | (LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM. | |
15310 | (*): Use new TARGET_* flags. | |
15311 | * config/arm/arm.h (TARGET_ANY_HARD_FLOAT): Remove. | |
15312 | (TARGET_HARD_FLOAT): No longer implies TARGET_FPA. | |
15313 | (TARGET_SOFT_FLOAT): Ditto. | |
15314 | (TARGET_SOFT_FLOAT_ABI): New. | |
15315 | (TARGET_MAVERICK): Rename from TARGET_CIRRUS. No longer implies | |
15316 | TARGET_HARD_FLOAT. | |
15317 | (TARGET_VFP): No longer implies TARGET_HARD_FLOAT. | |
15318 | (TARGET_OPTIONS): Add -mfpu=. | |
15319 | (FIRST_FPA_REGNUM): Rename from FIRST_ARM_FP_REGNUM. | |
15320 | (LAST_FPA_REGNUM): Rename from LAST_ARM_FP_REGNUM. | |
15321 | (arm_pf_model): Define. | |
15322 | (arm_float_abi_type): Define. | |
15323 | (fputype): Add FPUTYPE_VFP. Change SOFT_FPA->NONE | |
15324 | * config/arm/arm.md: Use new TARGET_* flags. | |
15325 | * config/arm/cirrus.md: Ditto. | |
15326 | * config/arm/fpa.md: Ditto. | |
15327 | * config/arm/elf.h (ASM_SPEC): Pass -mfloat-abi= and -mfpu=. | |
15328 | * config/arm/semi.h (ASM_SPEC): Ditto. | |
15329 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Specify vfp. | |
15330 | (FPUTYPE_DEFAULT): Set to VFP. | |
15331 | * doc/invoke.texi: Document -mfpu= and -mfloat-abi=. | |
15332 | ||
15333 | 2003-11-22 Phil Edwards <phil@codesourcery.com> | |
15334 | ||
15335 | PR target/12476 | |
15336 | * config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use | |
15337 | 'bx' instead of 'b' to avoid branch range restrictions. Output | |
15338 | the thunk immediately before the thunked-to function. | |
15339 | * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit | |
15340 | .thumb_func if a thunk is being generated. Emit .code 16 along | |
15341 | with .thumb_func if a thunk is not being generated. | |
15342 | ||
15343 | 2003-11-15 Nicolas Pitre <nico@cam.org> | |
15344 | ||
15345 | * config/arm/arm.md (ashldi3, arm_ashldi3_1bit, ashrdi3, | |
15346 | arm_ashrdi3_1bit, lshrdi3, arm_lshrdi3_1bit): New patterns. | |
15347 | * config/arm/iwmmxt.md (ashrdi3_iwmmxt): Renamed from ashrdi3. | |
15348 | (lshrdi3_iwmmxt): Renamed from lshrdi3. | |
15349 | * config/arm/arm.c (IWMMXT_BUILTIN2): Renamed argument accordingly. | |
15350 | ||
15351 | 2003-11-12 Steve Woodford <scw@wasabisystems.com> | |
15352 | Ian Lance Taylor <ian@wasabisystems.com> | |
15353 | ||
15354 | * config/arm/lib1funcs.asm (ARM_DIV_BODY, ARM_MOD_BODY): Add new | |
15355 | code for __ARM_ARCH__ >= 5 && ! defined (__OPTIMIZE_SIZE__). | |
15356 | ||
15357 | 2003-11-05 Phil Edwards <phil@codesourcery.com> | |
15358 | ||
15359 | * config/arm/arm.md (insn): Add new V6 instruction names. | |
15360 | (generic_sched): New attr. | |
15361 | * config/arm/arm-generic.md: Use generic_sched here. | |
15362 | * config/arm/arm1026ejs.md: Do not model fetch/issue/decode | |
15363 | stages of pipeline. Adjust latency counts accordingly. | |
15364 | * config/arm/arm1136jfs.md: New file. | |
15365 | ||
15366 | 2003-10-28 Mark Mitchell <mark@codesourcery.com> | |
15367 | ||
15368 | * config/arm/arm.h (processor_type): New enumeration type. | |
15369 | (CPP_ARCH_DEFAULT_SPEC): Set appropriately for ARM 926EJ-S, | |
15370 | ARM1026EJ-S, ARM1136J-S, and ARM1136JF-S processor cores. | |
15371 | (CPP_CPU_ARCH_SPEC): Likewise. | |
15372 | * config/arm/arm.c (arm_tune): New variable. | |
15373 | (all_cores): Use cores.def. | |
15374 | (all_architectures): Add representative processor. | |
15375 | (arm_override_options): Restructure way in which tuning | |
15376 | information is deduced. | |
15377 | * arm.md: Update "insn" and "type" attributes throughout. | |
15378 | (insn): New attribute. | |
15379 | (type): Compute "mult" from "insn" attribute. Add load2, | |
15380 | load3, load4 alternatives. | |
15381 | (arm automaton): Move to arm-generic.md. | |
15382 | * config/arm/arm-cores.def: New file. | |
15383 | * config/arm/arm-generic.md: Likewise. | |
15384 | * config/arm/arm1026ejs.md: Likewise. | |
15385 | ||
60b85c4c EB |
15386 | 2004-02-03 Eric Botcazou <ebotcazou@libertysurf.fr> |
15387 | ||
15388 | * doc/invoke.texi (SPARC options): Remove -mflat and | |
15389 | all -mxxx (xxx:chip) options. | |
15390 | * config/sparc/aout.h (DBX_REGISTER_NUMBER): Delete. | |
15391 | * config/sparc/litecoff.h (DBX_REGISTER_NUMBER): Likewise. | |
15392 | * config/sparc/netbsd-elf.h (DBX_REGISTER_NUMBER): Likewise. | |
15393 | * config/sparc/sol2.h (DBX_REGISTER_NUMBER): Likewise. | |
15394 | * config/sparc/sparc-protos.h: Delete sparc_flat_* prototypes. | |
15395 | * config/sparc/sparc.c: Likewise. | |
15396 | (sparc_output_function_prologue): Remove TARGET_FLAT handling. | |
15397 | (sparc_nonflat_function_prologue): Rename into sparc_function_prologue. | |
15398 | (sparc_output_function_epilogue): Remove TARGET_FLAT handling. | |
15399 | (sparc_nonflat_function_epilogue): Rename into sparc_function_epilogue. | |
15400 | (struct sparc_frame_info, current_frame_info, zero_frame_info): Delete. | |
15401 | (sparc_flat_must_save_register_p): Likewise. | |
15402 | (sparc_flat_compute_frame_size): Likewise. | |
15403 | (sparc_flat_save_restore): Likewise. | |
15404 | (sparc_flat_function_prologue): Likewise. | |
15405 | (sparc_flat_function_epilogue): Likewise. | |
15406 | (sparc_flat_epilogue_delay_slots): Likewise. | |
15407 | (sparc_flat_eligible_for_epilogue_delay): Likewise. | |
15408 | (sparc_function_ok_for_sibcall): Remove TARGET_FLAT handling. | |
15409 | * config/sparc/sparc.h (MASK_FLAT, TARGET_FLAT): Delete. | |
15410 | (TARGET_SWITCHES): Remove -mflat and all -mxxx (xxx:chip) options. | |
15411 | (SPARC_INCOMING_INT_ARG_FIRST): Remove TARGET_FLAT handling. | |
15412 | (CONDITIONAL_REGISTER_USAGE): Likewise. | |
15413 | (FRAME_POINTER_REQUIRED): Likewise. | |
15414 | (INITIAL_ELIMINATION_OFFSET): Likewise. | |
15415 | (BASE_RETURN_VALUE_REG): Likewise. | |
15416 | (BASE_OUTGOING_VALUE_REG): Likewise. | |
15417 | (BASE_PASSING_ARG_REG): Likewise. | |
15418 | (BASE_INCOMING_ARG_REG): Likewise. | |
15419 | (INCOMING_REGNO): Likewise. | |
15420 | (OUTGOING_REGNO): Likewise. | |
15421 | (LOCAL_REGNO): Likewise. | |
15422 | (DELAY_SLOTS_FOR_EPILOGUE): Likewise. | |
15423 | (ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise. | |
15424 | (EPILOGUE_USES): Likewise. | |
15425 | * config/sparc/sparc.md ("isa" attribute): Change "v6" into "v7". | |
15426 | ("flat" attribute): Delete. | |
15427 | (do_builtin_setjmp_setup): Remove TARGET_FLAT and "flat" attribute | |
15428 | handling. | |
15429 | (call followed by jump define_peephole's): Delete. | |
15430 | (exception_receiver): Likewise. | |
15431 | (builtin_setjmp_receiver): Likewise. | |
15432 | * config/sparc/t-sparclite (MULTILIB_OPTIONS): Remove -mflat. | |
15433 | ||
e57e265b PB |
15434 | 2004-02-03 Paolo Bonzini <bonzini@gnu.org> |
15435 | ||
15436 | PR c/11658 | |
15437 | PR c/13994 | |
15438 | * Makefile.in (c-parse.o, c-convert.o, c-typeck.o): Depend | |
15439 | on langhooks.h. | |
15440 | * objc/Make-lang.in (objc-parse.o): Depend on langhooks.h. | |
15441 | * c-parse.in, c-convert.c, c-typeck.c, objc/objc-act.c: | |
15442 | Include langhooks.h. Replace c_common_truthvalue_conversion | |
15443 | with the truthvalue_conversion language hook throughout. | |
15444 | (expr_no_commas): Call default_conversion before save_expr | |
15445 | for the first term of the production 'x ? : y'. | |
15446 | * c-common.c (c_common_truthvalue_conversion): Remove | |
15447 | obsolete block. Invoke recursively the hook instead | |
15448 | of this function. | |
15449 | * c-convert.c (convert): handle ERROR_MARK_NODE. | |
15450 | * c-typeck.c (build_binary_op): handle ERROR_MARK_NODE | |
15451 | returned by the truthvalue_conversion language hook. | |
15452 | * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use | |
15453 | c_objc_common_truthvalue_conversion. | |
15454 | * c-objc-common.c (c_objc_common_truthvalue_conversion): | |
15455 | New function. | |
15456 | * c-tree.h (c_objc_common_truthvalue_conversion): Declare it. | |
15457 | * objc/objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Use | |
15458 | c_objc_common_truthvalue_conversion. | |
15459 | ||
a7a2225a KH |
15460 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
15461 | ||
15462 | * config/c4x/c4x.h (FUNCTION_VALUE): Use gen_rtx_REG instead | |
15463 | of gen_rtx. | |
15464 | (LIBCALL_VALUE): Likewise. | |
15465 | * config/ip2k/ip2k.c (mdr_try_propagate_clr_sequence): Use | |
15466 | gen_rtx_CC0 instead of gen_rtx. | |
15467 | * config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Use | |
15468 | gen_rtx_fmt_e and gen_rtx_fmt_ee instead of gen_rtx. | |
15469 | (m68hc11_expand_compare): Use gen_rtx_fmt_ee instead of | |
15470 | gen_rtx. | |
15471 | (m68hc11_emit_logical): Likewise. | |
15472 | ||
a556fd39 KH |
15473 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
15474 | ||
15475 | * config/alpha/alpha.c, config/arm/arm.c, config/c4x/c4x.c, | |
15476 | config/fr30/fr30.md, config/frv/frv.c, config/frv/frv.md, | |
15477 | config/h8300/h8300.c, config/ia64/ia64.c, config/ip2k/ip2k.md, | |
15478 | config/m32r/m32r.md, config/m68hc11/m68hc11.c, | |
15479 | config/mips/mips.md, config/mmix/mmix.c, | |
15480 | config/mn10300/mn10300.c, config/mn10300/mn10300.md, | |
15481 | config/ns32k/ns32k.c, config/pa/pa.md, config/pdp11/pdp11.c, | |
15482 | config/rs6000/altivec.md, config/s390/s390.c, | |
15483 | config/s390/s390.h, config/s390/s390.md, config/sh/sh.c, | |
15484 | config/sh/sh.h, config/sh/sh.md, config/stormy16/stormy16.c: | |
15485 | Use const0_rtx instead of GEN_INT (0). Do the same for other | |
15486 | constants that are readily available. | |
15487 | ||
60c81c89 KH |
15488 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
15489 | ||
15490 | * doloop.c, optabs.c, regmove.c, sched-deps.c, | |
15491 | config/i386/i386.c, config/i386/i386.md: Use const0_rtx | |
15492 | instead of GEN_INT (0). Do the same for other constants that | |
15493 | are readily available. | |
15494 | ||
2fb00d7f KH |
15495 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
15496 | ||
15497 | * combine.c (simplify_set): Use gen_rtx_fmt_e instead of | |
15498 | gen_rtx. | |
15499 | * emit-rtl.c (init_emit_once): Use gen_rtx_PC and gen_rtx_CC0 | |
15500 | instead of gen_rtx. | |
15501 | * reload1.c (init_elim_table): Use gen_rtx_fmt_e instead of | |
15502 | gen_rtx. | |
15503 | * config/ns32k/ns32k.md (udivmodhi4): Use gen_rtx_IOR and | |
15504 | gen_rtx_ASHIFT instead of gen_rtx. | |
15505 | (udivmodqi4): Likewise. | |
15506 | ||
b0dccb00 RH |
15507 | 2004-02-02 Richard Henderson <rth@redhat.com> |
15508 | ||
a6f78652 ZW |
15509 | PR target/13789 |
15510 | * expr.c (store_expr): Use force_operand before emit_move_insn. | |
b0dccb00 | 15511 | |
3168cb99 JL |
15512 | 2004-02-02 Jeff Law <law@redhat.com> |
15513 | Roger Sayle <roger@eyesopen.com> | |
15514 | ||
15515 | * tree.c (commutative_tree_code, associative_tree_code): New | |
15516 | functions. | |
15517 | (iterative_hash_expr): Use commutative_tree_code. | |
15518 | * tree.h (commutative_tree_code, associative_tree_code): Declare. | |
15519 | * fold-const.c (operand_equal_p): Use commutative_tree_code | |
15520 | rather than inlining the commutativity check. | |
15521 | (fold): Likewise. | |
15522 | ||
040333a7 KH |
15523 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
15524 | ||
15525 | * system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison. | |
15526 | * config/frv/frv-protos.h: Remove the prototype for | |
15527 | frv_function_arg_keep_as_reference. | |
15528 | * config/frv/frv.c (frv_function_arg_keep_as_reference): | |
15529 | Remove. | |
15530 | * config/frv/frv.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Likewise. | |
15531 | * config/stormy16/stormy16.h: Remove the commented-out | |
15532 | definition of FUNCTION_ARG_KEEP_AS_REFERENCE. | |
15533 | ||
79d69d75 AM |
15534 | 2004-02-03 Alan Modra <amodra@bigpond.net.au> |
15535 | ||
15536 | PR target/13914 | |
15537 | * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Use ap | |
15538 | for retaddr_column. | |
15539 | ||
600555f5 KH |
15540 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
15541 | ||
15542 | * genemit.c (gen_exp): Generate gen_rtx_fmt_e* instead of | |
15543 | gen_rtx. | |
15544 | ||
16dd5cfe | 15545 | 2004-02-02 Eric Christopher <echristo@redhat.com> |
a6f78652 | 15546 | Zack Weinberg <zack@codesourcery.com> |
16dd5cfe EC |
15547 | |
15548 | * c-opts.c (c_common_handle_option): Add -finput-charset. | |
a6f78652 ZW |
15549 | * c.opt: Ditto. |
15550 | * cppcharset.c (one_iso88591_to_utf8): Remove. | |
15551 | (convert_iso88591_utf8): Ditto. | |
15552 | (conversion_tab): Remove 8859-1 converter. | |
15553 | (_cpp_input_to_utf8): Remove. | |
15554 | (_cpp_init_iconv_buffer): Ditto. | |
15555 | (_cpp_close_iconv_buffer): Ditto. | |
15556 | (_cpp_convert_input): New function. | |
15557 | (_cpp_default_encoding): Ditto. | |
15558 | * cpphash.h: Add/remove prototypes for above. | |
15559 | * cppfiles.c (read_file_guts): Use _cpp_convert_input. | |
15560 | * cppinit.c (cpp_create_reader): Use _cpp_default_encoding | |
15561 | for narrow execution and input character sets. | |
15562 | * cpplib.c (cpp_push_buffer): Delete uses of removed functions. | |
15563 | * doc/cppopts.texi: Document -finput-charset. | |
16dd5cfe | 15564 | |
8ad0d964 DE |
15565 | 2004-02-02 David Edelsohn <edelsohn@gnu.org> |
15566 | ||
15567 | * rtlanal.c (refers_to_regno_p): Test regno, not inner_regno, | |
15568 | against FIRST_PSEUDO_REGISTER. | |
15569 | ||
238b11b5 EB |
15570 | 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
15571 | ||
15572 | * doc/invoke.texi (SPARC options): Further improve. | |
15573 | ||
0f4c242b KH |
15574 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
15575 | ||
15576 | * config/arm/arm.md, config/c4x/c4x.md, config/cris/cris.md, | |
15577 | config/h8300/h8300.c, config/ip2k/ip2k.md, | |
15578 | config/iq2000/iq2000.c, config/mips/mips.c, | |
15579 | config/rs6000/rs6000.c, config/rs6000/rs6000.md, | |
15580 | config/sh/sh.c, config/sh/sh.md, config/stormy16/stormy16.c, | |
15581 | config/v850/v850.md: Fix indentation. | |
15582 | ||
d560b0aa EB |
15583 | 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
15584 | ||
15585 | * config/sparc/sparc.c (function_arg_slotno): Align TImode | |
15586 | arguments on a 16-byte boundary in the parameter array if ARCH64. | |
15587 | Split handling of TFmode. | |
15588 | ||
6f626d1b PB |
15589 | 2004-02-02 Paolo Bonzini <bonzini@gnu.org> |
15590 | ||
15591 | * rtlanal.c (reg_overlap_mentioned_p) [!ENABLE_CHECKING]: | |
15592 | Don't test CONSTANT_P (x). | |
15593 | (reg_overlap_mentioned_p): Merge check for STRICT_LOWPART, | |
15594 | ZERO_EXTRACT, SIGN_EXTRACT with the switch statement. | |
15595 | Fix misindentation. | |
15596 | ||
e789e9c4 EB |
15597 | 2004-02-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
15598 | ||
15599 | * doc/invoke.texi (SPARC options): Document that -mflat is deprecated. | |
15600 | ||
1c563bed KH |
15601 | 2004-02-02 Kazu Hirata <kazu@cs.umass.edu> |
15602 | ||
15603 | * config/arc/arc.md, config/arm/arm.c, config/arm/arm.md, | |
15604 | config/c4x/c4x.c, config/c4x/c4x.md, config/cris/cris.md, | |
15605 | config/frv/frv.c, config/h8300/h8300.c, config/ip2k/ip2k.md, | |
15606 | config/iq2000/iq2000.c, config/m32r/m32r.c, | |
15607 | config/mcore/mcore.c, config/mips/mips.c, config/mmix/mmix.md, | |
15608 | config/mn10300/mn10300.c, config/rs6000/rs6000.c, | |
15609 | config/rs6000/rs6000.md, config/sh/sh.c, config/sh/sh.md, | |
15610 | config/stormy16/stormy16.c, config/v850/v850.md, | |
15611 | config/xtensa/xtensa.c: Replace gen_rtx with gen_rtx_fmt_e*. | |
15612 | ||
67245ad3 KH |
15613 | 2004-02-01 Kazu Hirata <kazu@cs.umass.edu> |
15614 | ||
15615 | * config/mcore/mcore.c (block_move_sequence): Replace | |
15616 | gen_rtx_CONST_INT with GEN_INT. | |
15617 | ||
66fd46b6 JH |
15618 | 2004-02-02 Jan Hubicka <jh@suse.cz> |
15619 | ||
15620 | * alias.c (record_set): Use hard_regno_nregs. | |
15621 | * bt-load.c (find_btr_reference, note_btr_set): Likewise. | |
15622 | * builtins.c (apply_args_size): Likewise. | |
15623 | * caller-save.c (setup_save_areas, save_call_clobbered_regs, | |
15624 | mark_set_regs, add_stored_regs, mark_referenced_regs, | |
15625 | insert_restore, insert_save, insert_one_insn): Likewise. | |
15626 | * cfgcleanup.c: Include regs.h | |
15627 | (mark_effect, mentions_nonequal_regs): Likewise. | |
15628 | * cfgrtl.c (mark_killed_regs): Likewise | |
15629 | * combine.c (update_table_tick, record_value_for_reg, | |
15630 | record_dead_and_set_regs, get_last_value_validate, use_crosses_set_p, | |
15631 | reg_dead_at_p_1, reg_dead_at_p, mark_used_regs_combine, move_deaths, | |
15632 | reg_bitfield_target_p, distribute_notes): Likewise. | |
15633 | * cse.c (mention_regs, insert, invalidate, invalidate_for_call, | |
15634 | exp_equiv_p, cse_insn): Likewise. | |
15635 | * cselib.c (cselib_lookup): Likewise. | |
15636 | (cselib_invalidate_regno, cselib_record_set): Likewise. | |
15637 | * df.c (df_ref_record): Likewise. | |
15638 | * dwarf2out.c (reg_loc_descriptor, multiple_reg_loc_descriptor): | |
15639 | Likewise. | |
15640 | * flow.c (mark_reg, insn_dead_p, mark_set_1, mark_used_reg, | |
15641 | count_or_remove_death_notes_bb): Likewise. | |
15642 | * function.c (aggregate_value_p, keep_stack_depressed): Likewise. | |
15643 | * gloval.c (global_alloc, find_reg, mark_reg_store, mark_reg_conflicts, | |
15644 | mark_reg_death, set_preference, reg_becomes_live, reg_dies): Likewise. | |
15645 | * integrate.c (mark_stores): Likewise. | |
15646 | * jump.c (delete_prior_computation): Likewise. | |
15647 | * lcm.c (reg_dies, reg_becomes_live): Likewise. | |
15648 | * local-alloc.c (combine_regs, find_free_reg, post_mark_life): Likewise. | |
15649 | * loop.c (LOOP_REGNO_NREGS): Likewise. | |
15650 | * postreload.c (reload_combine, reload_combine_note_store, | |
15651 | reload_combine_note_use, reload_cse_move2add, move2add_note_store): Likewise. | |
15652 | * ra-colorize.c (combine, color_usable_p, get_free_reg, | |
16dd5cfe | 15653 | calculate_dont_begin, calculate_dont_begin, colorize_one_web, |
66fd46b6 JH |
15654 | try_recolor_web, insert_coalesced_conflicts, check_colors, |
15655 | break_precolored_alias): Likewise. | |
15656 | * ra-debug.c: Include regs.h | |
15657 | (ra_print_rtx_object): Likewise. | |
15658 | * ra-rewrite (choose_spill_colors): Likewise. | |
15659 | (spill_same_color_p, update_spill_colors, spill_is_free): Likewise. | |
15660 | * ra.c (init_ra): Likewise. | |
15661 | * recog.c (reg_fits_class_p, peep2_reg_dead_p, | |
15662 | peep2_find_free_register): Likewise. | |
15663 | * reg-stack.c (subst_stack_regs_pat, convert_regs_exit): Likewise. | |
15664 | * regclass.c (hard_regno_nregs): New array. | |
15665 | (init_reg_modes_once): Initialize it. | |
15666 | (choose_hard_reg_mode): Use it. | |
15667 | (record_reg_classes): Likewise. | |
15668 | * regmove.c (mark_flags_life_zones): Likewise. | |
15669 | * regrename.c (note_sets, clear_dead_regs, regrename_optimize, | |
15670 | scan_rtx_reg, dump_def_use_chain, kill_value, set_value_regno, | |
15671 | copy_value, maybe_mode_change, find_oldest_value_reg, | |
15672 | copyprop_hardreg_forward_1): | |
15673 | * regs.h (hard_regno_nregs): Declare. | |
15674 | * realod.c (reload_inner_reg_of_subreg): Use it. | |
15675 | (push_reload, combine_reloads, find_dummy_reload, | |
15676 | hard_reg_set_here_p, operands_match_p, decompose, find_reloads, | |
15677 | refers_to_regno_for_reload_p, find_equiv_reg, regno_clobbered_p, | |
15678 | reload_adjust_reg_for_mode): Likewise. | |
15679 | * reload1.c (compute_use_by_pseudos, count_pseudo, | |
15680 | count_spilled_pseudo, find_reg, find_reload_regs, mark_home_live, | |
15681 | spill_hard_reg, forget_old_reloads_1, mark_reload_reg_in_use, | |
15682 | clear_reload_reg_in_use, reload_reg_free_for_value_p, free_for_value_p | |
15683 | allocate_reload_reg, choose_reload_regs, emit_reload_insns, | |
15684 | delete_output_reload): Likewise. | |
15685 | * resource.c (update_live_status, mark_referenced_resources, | |
15686 | mark_set_resources, mark_target_live_regs): Likewise. | |
15687 | * rtlanal.c: Include regs.h | |
15688 | (refers_to_regno_p, reg_overlap_mentioned_p, dead_or_set_p, | |
15689 | dead_or_set_regno_p, find_regno_note, find_reg_fusage, | |
15690 | subreg_regno_offset, subreg_offset_representable_p, | |
15691 | hoist_test_store): Likewise. | |
15692 | * sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise. | |
15693 | * sched-rgn.c (check_live_1, update_live_1): Likewise. | |
15694 | * stmt.c: Include regs.h | |
15695 | (decl_conflicts_with_clobbers_p): Likewise. | |
15696 | * varasm.c (make_decl_rtl): Likewise. | |
15697 | * Makefile.in (cfgcleanup.o, rtlanal.o, ra-debug.o): Add regs.h dependnecy. | |
15698 | ||
f1c25d3b KH |
15699 | 2004-02-01 Kazu Hirata <kazu@cs.umass.edu> |
15700 | ||
15701 | * config/arm/arm.c, config/arm/arm.h, config/arm/arm.md, | |
15702 | config/arm/linux-gas.h, config/arm/netbsd-elf.h, | |
15703 | config/arm/netbsd.h, config/arm/pe.c, config/avr/avr.c, | |
15704 | config/avr/avr.h, config/avr/avr.md, config/c4x/c4x.h, | |
15705 | config/cris/cris.h, config/fr30/fr30.h, config/frv/frv.c, | |
15706 | config/frv/frv.h, config/ip2k/ip2k.c, config/iq2000/iq2000.c, | |
15707 | config/iq2000/iq2000.h, config/m32r/m32r.c, | |
15708 | config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, | |
15709 | config/m68hc11/m68hc11.md, config/m68k/m68k.md, | |
15710 | config/mcore/mcore.c, config/mcore/mcore.h, | |
15711 | config/mcore/mcore.md, config/mips/mips.c, | |
15712 | config/ns32k/ns32k.h, config/ns32k/ns32k.md, | |
15713 | config/rs6000/rs6000.c, config/s390/s390.c, | |
15714 | config/s390/s390.md, config/sparc/sparc.c, config/v850/v850.c, | |
15715 | config/xtensa/xtensa.h, config/xtensa/xtensa.md: Replace | |
15716 | "gen_rtx (FOO, " with "gen_rtx_FOO (". | |
15717 | ||
e0a24727 KH |
15718 | 2004-02-01 Kazu Hirata <kazu@cs.umass.edu> |
15719 | ||
15720 | * config/h8300/h8300.md (two peephole2's): New. | |
15721 | ||
5202c5fe EB |
15722 | 2004-02-01 Eric Botcazou <ebotcazou@libertysurf.fr> |
15723 | ||
15724 | * config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3. | |
15725 | (CPP_CPU_SPEC): Handle -mcpu=ultrasparc3. | |
15726 | (ASM_CPU_SPEC): Likewise | |
15727 | * config/sparc/sol2.h: Handle TARGET_CPU_ultrasparc3. | |
15728 | (ASM_CPU_SPEC): Remove -mcpu=v8plus. Handle -mcpu=ultrasparc3. | |
15729 | ||
13b59849 RS |
15730 | 2004-02-01 Roger Sayle <roger@eyesopen.com> |
15731 | ||
15732 | * builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations | |
15733 | isn't set, don't call expand_builtin_mathfn_2 to use the pow optab. | |
15734 | (expand_builtin): Always call expand_builtin_pow. | |
15735 | ||
ef79730c RS |
15736 | 2004-02-01 Roger Sayle <roger@eyesopen.com> |
15737 | ||
15738 | * builtins.def (BUILT_IN_SIGNBIT, BUILT_IN_SIGNBITF, | |
15739 | BUILT_IN_SIGNBITL): New GCC builtins. | |
15740 | * builtins.c (expand_builtin_signbit): New function to RTL expand | |
15741 | calls to signbit, signbitf and signbitl as inline intrinsics. | |
15742 | (expand_builtin): Call expand_builtin_signbit for BUILT_IN_SIGNBIT*. | |
15743 | (fold_builtin_signbit): New function to perform constant folding | |
15744 | of signbit, signbitf and signbitl. | |
15745 | (fold_builtin): Call fold_builtin_signbit for BUILT_IN_SIGNBIT*. | |
15746 | ||
15747 | * doc/extend.texi: Document new signbit{,f,l} builtins. | |
15748 | ||
a80cdb0f RS |
15749 | 2004-02-01 Richard Sandiford <rsandifo@redhat.com> |
15750 | ||
15751 | * config/mips/mips.md (adddi3_internal_2): Remove superfluous %s. | |
15752 | ||
2efe2033 CD |
15753 | 2004-02-01 Chris Demetriou <cgd@broadcom.com> |
15754 | ||
15755 | * config/mips/mips.h (PREDICATE_CODES): Remove entries for | |
15756 | "mips_const_double_ok" and "simple_memory_operand", which were | |
15757 | removed from the MIPS port with the mips-3_4-rewrite branch merge. | |
15758 | * config/mips/mips.c (mips16_lay_out_constants): Update comment | |
15759 | for removal of simple_memory_operand. | |
15760 | ||
d37eb705 KH |
15761 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15762 | ||
15763 | * config/c4x/c4x.md: Use GEN_INT instead of | |
15764 | gen_rtx (CONST_INT, ...). | |
15765 | ||
fadeed3b RH |
15766 | 2004-01-31 Richard Henderson <rth@redhat.com> |
15767 | ||
15768 | * varasm.c (output_constant_pool): Don't zap the pool. | |
15769 | ||
ccdc1703 KH |
15770 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15771 | ||
15772 | * genrecog.c (decision_type): Add DT_const_int. | |
15773 | (write_cond) [DT_const_int]: Print a comparison against small | |
15774 | constant. | |
15775 | (write_node): Simplify comparisons against small constants | |
15776 | before printing tests. | |
16dd5cfe | 15777 | |
aeba8f80 KH |
15778 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15779 | ||
15780 | * config/m32r/m32r.c (m32r_load_pic_register): Use GEN_INT | |
15781 | instead of gen_rtx_CONST_INT. | |
15782 | ||
400ce94c KH |
15783 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15784 | ||
15785 | * config/xtensa/xtensa.h (DYNAMIC_CHAIN_ADDRESS): Use GEN_INT | |
15786 | instead of gen_rtx_CONST_INT. | |
15787 | ||
8dfa8fcd KH |
15788 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15789 | ||
15790 | * target-def.h (TARGET_STRICT_ARGUMENT_NAMING): Define as | |
15791 | hook_bool_CUMULATIVE_ARGS_false. | |
15792 | * targhooks.c (default_strict_argument_naming): Rename to | |
15793 | hook_bool_CUMULATIVE_ARGS_false. | |
15794 | * targhooks.h: Update the prototype for | |
15795 | default_strict_argument_naming. | |
15796 | ||
c0d4e710 KH |
15797 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15798 | ||
15799 | * config/sh/sh.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". | |
15800 | * config/sh/sh.h: Likewise. | |
15801 | * config/sh/sh.md: Likewise. | |
15802 | ||
fdf064f2 EB |
15803 | 2004-01-31 Eric Botcazou <ebotcazou@libertysurf.fr> |
15804 | ||
15805 | * doc/invoke.texi (SPARC options): Restructure and update. | |
15806 | ||
b602b7b6 KH |
15807 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15808 | ||
15809 | * system.h (PROMOTE_FUNCTION_ARGS, STRUCT_VALUE_INCOMING, and | |
15810 | STRICT_ARGUMENT_NAMING): Poison. | |
15811 | * target-def.h (TARGET_PROMOTE_FUNCTION_ARGS): Define as | |
15812 | hook_bool_tree_false. | |
15813 | * targhooks.c (default_promote_function_args): Remove. | |
15814 | (default_struct_value_rtx): Don't use STRUCT_VALUE_INCOMING. | |
15815 | Don't check incoming. | |
15816 | (default_strict_argument_naming): Don't use | |
15817 | STRICT_ARGUMENT_NAMING. | |
15818 | * targhooks.h: Remove the prototype for | |
15819 | default_promote_function_args. | |
15820 | ||
a0524eb3 KH |
15821 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15822 | ||
15823 | * config/i386/i386-protos.h: Remove the prototype for | |
15824 | ix86_setup_incoming_varargs. | |
15825 | * config/i386/i386.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
15826 | (ix86_setup_incoming_varargs): Make it static. | |
15827 | * config/i386/i386.h (SETUP_INCOMING_VARARGS): Remove. | |
15828 | ||
a457ee07 KH |
15829 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15830 | ||
15831 | * alloc-pool.c: Fix comment typos. | |
15832 | * builtin-types.def: Likewise. | |
15833 | * builtins.def: Likewise. | |
15834 | * c-pretty-print.c: Likewise. | |
15835 | * df.h: Likewise. | |
15836 | * reload1.c: Likewise. | |
15837 | ||
a451b0bd KH |
15838 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15839 | ||
15840 | * doc/invoke.texi: Follow spelling conventions. | |
15841 | * doc/tm.texi: Likewise. | |
15842 | ||
e53e0c56 KH |
15843 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15844 | ||
15845 | * doc/install.texi: Fix typos. | |
15846 | * doc/invoke.texi: Likewise. | |
15847 | ||
025b17a4 UW |
15848 | 2004-01-31 Ulrich Weigand <uweigand@de.ibm.com> |
15849 | ||
15850 | * config/s390/s390.c (s390_decompose_address): Do not treat virtual | |
15851 | registers as pointers. | |
15852 | * config/s390/s390.md ("*la_31" second peephole2): Fix incorrect mode. | |
15853 | ||
4de249d9 PB |
15854 | 2004-01-31 Paolo Bonzini <bonzini@gnu.org> |
15855 | ||
c53bdcf5 | 15856 | * combine.c (cse_main): Set gen_lowpart to gen_lowpart_for_combine |
4de249d9 PB |
15857 | and restore it to gen_lowpart_general on exit. |
15858 | (gen_lowpart_for_combine): Adjust all callers to go through | |
15859 | gen_lowpart. | |
15860 | * cse.c (cse_main): Set gen_lowpart to gen_lowpart_if_possible | |
15861 | and restore it to gen_lowpart_general on exit. | |
15862 | (gen_lowpart_if_possible): Adjust all callers to go through | |
15863 | gen_lowpart. | |
15864 | * emit-rtl.c (gen_lowpart_general): New name of gen_lowpart. | |
15865 | (gen_lowpart): Declare as pointer to function, initialized to | |
15866 | gen_lowpart_general. | |
15867 | * rtl.h (gen_lowpart): Declare as pointer to function. | |
15868 | ||
f84d109f KH |
15869 | 2004-01-31 Kazu Hirata <kazu@cs.umass.edu> |
15870 | ||
15871 | * bt-load.c: Replace "gen_rtx (FOO, " with "gen_rtx_FOO (". | |
15872 | * calls.c: Likewise. | |
15873 | * emit-rtl.c: Likewise. | |
15874 | * function.c: Likewise. | |
15875 | * reload1.c: Likewise. | |
15876 | * config/i386/cygming.h: Likewise. | |
15877 | * config/i386/i386.c: Likewise. | |
15878 | * config/i386/winnt.c: Likewise. | |
15879 | ||
354b7da5 DH |
15880 | 2004-01-30 Dara Hazeghi <dhazeghi@yahoo.com> |
15881 | ||
15882 | PR bootstrap/9249 | |
15883 | * doc/install.texi: document --enable-__cxa_atexit option. | |
15884 | * configure.ac: Disable __cxa_atexit if not supported. | |
15885 | * configure: Regenerate. | |
15886 | ||
94632047 | 15887 | 2004-01-30 Daniel Berlin <dberlin@dberlin.org> |
9781b6da DB |
15888 | |
15889 | * ggc-zone.c (ggc_free): New function. | |
15890 | ||
283334f0 KH |
15891 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
15892 | ||
15893 | alloc-pool.c, c-lex.c, c-pragma.h, c-semantics.c, cfghooks.c, | |
15894 | cfghooks.h, cfglayout.c, cfgloopmanip.c, debug.c, debug.h, | |
15895 | flow.c, genextract.c, ggc-common.c, ggc-page.c, ggc.h, | |
15896 | ifcvt.c, jump.c, loop-unswitch.c, timevar.c, timevar.def, | |
15897 | tree-optimize.c, vmsdbgout.c, config/fp-bit.c, | |
15898 | config/alpha/alpha.c, config/alpha/alpha.h, | |
15899 | config/alpha/alpha.md, config/alpha/unicosmk.h, | |
15900 | config/alpha/vms.h, config/arm/linux-elf.h, config/avr/avr.c, | |
15901 | config/c4x/c4x-protos.h, config/c4x/c4x.md, | |
15902 | config/d30v/d30v.h, config/frv/frv.md, config/frv/frvbegin.c, | |
15903 | config/frv/frvend.c, config/i386/cygming.h, | |
15904 | config/i386/djgpp.h, config/i386/emmintrin.h, | |
15905 | config/i386/gthr-win32.c, config/i386/i386-interix.h, | |
15906 | config/i386/i386-protos.h, config/i386/openbsd.h, | |
15907 | config/i386/winnt.c, config/i386/xm-mingw32.h, | |
15908 | config/i386/xmmintrin.h, config/ia64/ia64.md, | |
15909 | config/iq2000/iq2000.md, config/m32r/m32r.md, | |
15910 | config/m68k/m68k.md, config/mcore/mcore-elf.h, | |
15911 | config/mcore/mcore.md, config/mips/elf.h, config/mips/elf64.h, | |
15912 | config/mips/iris5gas.h, config/mips/iris6.h, | |
15913 | config/mips/iris6gas.h, config/mips/linux.h, | |
15914 | config/mips/mips.md, config/mips/netbsd.h, | |
15915 | config/mips/openbsd.h, config/mips/windiss.h, | |
15916 | config/pa/fptr.c, config/rs6000/aix.h, | |
15917 | config/rs6000/altivec.h, config/rs6000/darwin.h, | |
15918 | config/rs6000/xcoff.h, config/s390/s390-protos.h, | |
15919 | config/s390/s390.c, config/s390/s390.h, config/s390/s390.md, | |
15920 | config/sh/netbsd-elf.h, config/sh/sh.h, config/sh/vxworks.h, | |
15921 | config/sparc/sol2.h: Update copyright. | |
15922 | ||
71cbe2c1 KC |
15923 | 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> |
15924 | ||
15925 | * Makefile.in (abs_docdir, abs_srcdir): Define. | |
15926 | (doc/%.dvi, doc/gccinstall.dvi): Use $(abs_docdir). | |
15927 | ||
bfb2d661 KH |
15928 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
15929 | ||
15930 | * genconfig.c (main): Have CC0_P check its operand even on a | |
15931 | target without cc0. | |
15932 | ||
bd5bd7ac KH |
15933 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
15934 | ||
15935 | * config/alpha/alpha.c: Remove mentions of deprecates macros | |
15936 | in comments, remove some target-independent comments about target | |
15937 | macros, and/or add minimal function comments for target hook | |
15938 | implementations. | |
15939 | * config/avr/avr.c: Likewise. | |
15940 | * config/ia64/ia64.h: Likewise. | |
15941 | * config/ip2k/ip2k.c: Likewise. | |
15942 | * config/iq2000/iq2000.c: Likewise. | |
15943 | * config/m32r/m32r.h: Likewise. | |
15944 | * config/m68hc11/m68hc11.c: Likewise. | |
15945 | * config/mcore/mcore.c: Likewise. | |
15946 | * config/mmix/mmix.c: Likewise. | |
15947 | * config/mn10300/mn10300.c: Likewise. | |
15948 | * config/pa/pa.c: Likewise. | |
15949 | * config/pdp11/pdp11.c: Likewise. | |
15950 | * config/rs6000/rs6000.h: Likewise. | |
15951 | * config/sh/sh.c: Likewise. | |
15952 | * config/sh/sh.h: Likewise. | |
15953 | * config/sparc/sparc.c: Likewise. | |
15954 | * config/sparc/sparc.h: Likewise. | |
15955 | * config/stormy16/stormy16.c: Likewise. | |
15956 | * config/xtensa/xtensa.c: Likewise. | |
15957 | ||
808ededc UW |
15958 | 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
15959 | ||
15960 | PR optimization/12147 | |
15961 | * reload1.c (reload_reg_free_p): RELOAD_OTHER conflicts with | |
15962 | RELOAD_FOR_OPADDR_ADDR. | |
15963 | (reload_reg_reaches_end_p): RELOAD_FOR_OTHER_ADDRESS register | |
15964 | might be reused as RELOAD_FOR_OPADDR_ADDR register. | |
15965 | ||
98e5e087 JH |
15966 | 2004-01-30 Jan Hubicka <jh@suse.cz> |
15967 | ||
bd5bd7ac | 15968 | * reload.c (get_secondary_mem): Fix updating of |
98e5e087 JH |
15969 | secondary_memlocs_elim_used. |
15970 | ||
3234b52d RH |
15971 | 2004-01-30 Richard Henderson <rth@redhat.com> |
15972 | ||
15973 | * varasm.c (struct rtx_const, struct pool_constant): Remove. | |
15974 | (MAX_RTX_HASH_TABLE): Remove. | |
15975 | (const_rtx_hash_table, const_rtx_sym_hash_table): Remove. | |
15976 | (first_pool, last_pool, pool_offset): Remove. | |
15977 | (struct rtx_constant_pool): Split out from ... | |
15978 | (struct varasm_status): ... here. Reference one via pointer. | |
15979 | (struct constant_descriptor_rtx): Merge struct pool_constant. | |
15980 | (SYMHASH): Remove. | |
15981 | (decode_rtx_const): Remove. | |
15982 | (const_hash_rtx, compare_constant_rtx): Remove. | |
15983 | (record_constant_rtx): Remove. | |
15984 | (const_desc_rtx_hash, const_desc_rtx_eq): New. | |
15985 | (const_desc_rtx_sym_hash, const_desc_rtx_sym_eq): New. | |
15986 | (const_rtx_hash_1, const_rtx_hash): New. | |
15987 | (init_varasm_status): Allocate a rtx_constant_pool, and its hashes. | |
15988 | (simplify_subtraction): Use simplify_rtx. | |
15989 | (force_const_mem): Rewrite to use new data structures. | |
15990 | (find_pool_constant): Likewise. | |
15991 | (get_pool_constant, get_pool_constant_mark, | |
15992 | get_pool_constant_for_function, get_pool_mode, | |
15993 | get_pool_mode_for_function, get_pool_offset, get_pool_size): Likewise. | |
15994 | (output_constant_pool_2): Split out from output_constant_pool. | |
15995 | (output_constant_pool_1): Likewise. Use new pool datastructures. | |
15996 | (output_constant_pool): Zap entire pool datastructure. | |
15997 | (mark_constant): Use new pool datastructures. | |
15998 | (mark_constants): Use for_each_rtx. | |
15999 | (mark_constant_pool): Use new pool datastructures. | |
16000 | ||
be77d9e7 | 16001 | 2004-01-30 Fariborz Jahanian <fjahanian@apple.com> |
16dd5cfe | 16002 | |
a6f78652 | 16003 | * config/rs6000/rs6000.c (rs6000_emit_move): Remove #if 0. |
be77d9e7 FJ |
16004 | Copy operands[1] to pseudo for simplify_gen_subreg. |
16005 | ||
f0cad2d5 KH |
16006 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
16007 | ||
16008 | * gcse.c (bypass_block): Fix a typo in the previous check-in | |
16009 | to the file. | |
16010 | ||
40ca90bf AP |
16011 | 2004-01-30 Andrew Pinski <pinskia@physics.uc.edu> |
16012 | ||
16013 | * toplev.c: Include alloc-pool.h. | |
16dd5cfe | 16014 | * Makefile.in (toplev.c): Update dependencies. |
40ca90bf | 16015 | |
39a44a4e RK |
16016 | 2004-01-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
16017 | ||
16018 | * combine.c (simplify_shift_const, case XOR): Be careful when | |
16019 | commuting XOR with ASHIFTRT. | |
16020 | ||
3e2cc1d1 | 16021 | 2004-01-30 Kazu Hirata <kazu@cs.umass.edu> |
a6f78652 | 16022 | Eric Botcazou <ebotcazou@libertysurf.fr> |
3e2cc1d1 KH |
16023 | |
16024 | * config/sparc/sparc-protos.h: Remove the prototype for | |
16025 | sparc_builtin_saveregs. | |
16026 | * config/sparc/sparc.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
16027 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
16028 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16029 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16030 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16031 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16032 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
16033 | (sparc_builtin_saveregs): Make it static. | |
16034 | (sparc_promote_prototypes): New. | |
16035 | (sparc_struct_value_rtx): Likewise. | |
16036 | (sparc_return_in_memory): Likewise. | |
16037 | * config/sparc/sparc.h: (PROMOTE_FUNCTION_ARGS): Remove. | |
16038 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16039 | (RETURN_IN_MEMORY): Likewise. | |
16040 | (STRUCT_VALUE): Likewise. | |
16041 | (STRUCT_VALUE_INCOMING): Likewise. | |
16042 | (EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16043 | (STRICT_ARGUMENT_NAMING): Likewise. | |
16044 | (PROMOTE_PROTOTYPES): Likewise. | |
16045 | ||
16046 | * config/sparc/sparc.h (PROMOTE_MODE): Use word_mode. | |
16047 | ||
5e9295fa EB |
16048 | 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr> |
16049 | ||
16050 | PR c/12818 | |
16051 | * varasm.c (const_hash_1) <STRING_CST>: Use the | |
16052 | address to compute the hash value if flag_writable_strings. | |
16053 | (compare_constant) <STRING_CST>: Compare the addresses | |
16054 | if flag_writable_strings. | |
16055 | (build_constant_desc): Do not copy the expression for a | |
16056 | STRING_CST if flag_writable_strings. | |
16057 | ||
1f2eae8d JH |
16058 | 2004-01-30 Jan Hubicka <jh@suse.cz> |
16059 | ||
1e0f41c9 JH |
16060 | * alloc-pool.c: Include hashtab.h |
16061 | (alloc_pool_descriptor): New structure | |
16062 | (alloc_pool_hash): New global variable. | |
16063 | (hash_descriptor, eq_descriptor, alloc_pool_descriptor): New. | |
16064 | (create_alloc_pool): Update statistics. | |
16065 | (free_alloc_pool): Likewise. | |
16066 | (pool_alloc): Likewise. | |
16067 | (output_info): New structure | |
16068 | (print_statistics, dump_alloc_pool_statistics): New function. | |
16069 | * alloc-pool.h (alloc_pool_def): Turn name to be constant. | |
16070 | (dump_alloc_pool_statistics): Declare. | |
16071 | * toplev.c (finalize): Dump statistics. | |
16072 | ||
1f2eae8d JH |
16073 | * reload.c (secondary_memlocs_elim_used): New static variable. |
16074 | (get_secondary_mem): Update it. | |
16075 | (find_reloads): Use it. | |
16076 | ||
80a08664 SB |
16077 | 2004-01-30 Steven Bosscher <s.bosscher@student.tudelft.nl> |
16078 | ||
16079 | * toplev.c: Fix broken checkin of 2003-12-30, again. | |
16080 | ||
57116d8d UW |
16081 | 2004-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
16082 | ||
16083 | * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for | |
16084 | s390*-*-* targets by specifying a 'nop' insn. | |
16085 | * configure: Regenerate. | |
16086 | ||
5fddd9fe EB |
16087 | 2004-01-30 Eric Botcazou <ebotcazou@libertysurf.fr> |
16088 | ||
16089 | PR target/11475 | |
16090 | * config/sparc/sparc.md (movhi_lo_sum): Tighten predicates. | |
16091 | ||
64fc7c00 JJ |
16092 | 2004-01-29 Jakub Jelinek <jakub@redhat.com> |
16093 | ||
16094 | * emit-rtl.c (change_address): Use XEXP (memref, 0) instead | |
16095 | of addr when creating MEM copy. | |
16096 | ||
ed672aa8 DP |
16097 | 2004-01-29 Devang Patel <dpatel@apple.com> |
16098 | ||
16099 | * dwarf2out.c (gen_field_die): Do not equate decl number to die. | |
16dd5cfe | 16100 | |
7e3aa041 ILT |
16101 | 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com> |
16102 | ||
16103 | PR inline-asm/6162 | |
16104 | * reload.c (find_reloads): Only support one pair of commutative | |
16105 | operands. | |
16106 | ||
06f12aa0 RS |
16107 | 2004-01-29 Roger Sayle <roger@eyesopen.com> |
16108 | ||
16109 | PR java/13824 | |
16110 | * tree.c (unsafe_for_reeval): Handle EXIT_BLOCK_EXPR nodes specially | |
16111 | as their EXIT_BLOCK_LABELED_BLOCK operands can lead to unbounded | |
16112 | recursion. | |
16113 | ||
b88cf82e KH |
16114 | 2004-01-29 Kazu Hirata <kazu@cs.umass.edu> |
16115 | ||
16116 | * config/frv/frv.c: Don't mention deprecated macros in | |
16117 | comments. Remove some target-independent comments about | |
16118 | target macros. | |
16119 | * config/frv/frv.h: Likewise. | |
16120 | ||
3ae4a5b1 ZD |
16121 | 2004-01-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
16122 | ||
16123 | * cfghooks.c (split_block): Set probability and count of the | |
16124 | new edge. | |
16125 | ||
94632047 | 16126 | 2004-01-29 Josef Zlomek <zlomekj@suse.cz> |
636c7bc4 JZ |
16127 | |
16128 | * dwarf2out.c (struct die_struct): Added field decl_id. | |
16129 | (decl_die_table): Changed to hash table. | |
16130 | (decl_die_table_allocated): Deleted. | |
16131 | (decl_die_table_in_use): Deleted. | |
16132 | (DECL_DIE_TABLE_INCREMENT): Deleted. | |
16133 | (decl_die_table_hash): New function. | |
16134 | (decl_die_table_eq): New function. | |
16135 | (lookup_decl_die): Lookup in a hash table. | |
16136 | (equate_decl_number_to_die): Insert into a hash table. | |
16137 | (dwarf2out_init): Init hash table decl_die_table. | |
16138 | ||
4e44c1ef JJ |
16139 | 2004-01-29 Jakub Jelinek <jakub@redhat.com> |
16140 | ||
16141 | PR optimization/13424 | |
16142 | * expr.c (store_constructor): Revert 2003-12-03 change. | |
16143 | ||
16144 | * emit-rtl.c (change_address): Check also if MEM_ATTRS is set as | |
16145 | expected before returning early. Avoid sharing RTL if they | |
16146 | need to be changed. | |
16147 | ||
16148 | * config/i386/i386.c (ix86_expand_movstr): Rework rep_mov and strmov | |
16149 | handling so that memory attributes are preserved. Don't call | |
16150 | ix86_set_move_mem_attrs. | |
16151 | (ix86_set_move_mem_attrs_1, ix86_set_move_mem_attrs): Removed. | |
16152 | (ix86_expand_clrstr): Rename src argument to | |
16153 | dst. Rework rep_stos and strset handling so that memory attributes | |
16154 | are preserved. | |
16155 | (ix86_expand_strlen): Pass src argument to | |
16156 | ix86_expand_strlensi_unroll_1. Rework strlenqi_1 handling so that | |
16157 | memory attributes are preserved. | |
16158 | (ix86_expand_strlensi_unroll_1): Add src argument. Use | |
16159 | change_address instead of gen_rtx_MEM. | |
16160 | * config/i386/i386.md (strmov, strmov_singleop, rep_mov): New | |
16161 | expanders. | |
16162 | (strmovdi_rex64, strmovsi, strmovsi_rex64, strmovhi, strmovhi_rex64, | |
16163 | strmovqi, strmovqi_rex64): Remove. | |
16164 | (rep_mov*, strmov*): Prefix insn names with *. | |
16165 | (strset, strset_singleop, rep_stos): New expanders. | |
16166 | (strsetdi_rex64, strsetsi, strsetsi_rex64, strsethi, strsethi_rex64, | |
16167 | strsetqi, strsetqi_rex64): Remove. | |
16168 | (rep_stos*, strset*): Prefix insn names with *. | |
16169 | (rep_stosqi_rex64): Likewise. Fix mode of dirflag reg from DImode | |
16170 | to SImode. | |
16171 | (cmpstrsi): Rework cmpstrqi_1 handling so that memory attributes | |
16172 | are preserved. | |
16173 | (cmpstrqi_nz_1, cmpstrqi_nz_rex_1, cmpstrqi_1, cmpstrqi_rex_1): | |
16174 | Prefix insn names with *. | |
16175 | (cmpstrqi_nz_1, cmpstrqi_1): New expanders. | |
16176 | (strlenqi_1, strlenqi_rex_1): Prefix insn names with *. | |
16177 | (strlenqi_1): New expander. | |
16178 | * config/i386/i386.h (ix86_set_move_mem_attrs): Remove prototype. | |
16179 | ||
f470c378 ZD |
16180 | 2004-01-29 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
16181 | ||
16182 | * Makefile.in (cfghooks.o): Add TIMEVAR_H and toplev.h dependency. | |
16183 | * basic-block.h (tidy_fallthru_edge, tidy_fallthru_edges, dump_bb, | |
16184 | verify_flow_info): Declaration removed. | |
16185 | * cfg.c (verify_flow_info, dump_bb): Moved to cfghooks.c. | |
16186 | (debug_bb, debug_bb_n): Add argument to dump_bb call. | |
16187 | * cfgcleanup.c (try_simplify_condjump, try_crossjump_to_edge, | |
16188 | try_optimize_cfg, delete_unreachable_blocks): Use delete_basic_block | |
16189 | instead of delete_block. | |
16190 | * cfghooks.c: Include timevar.h and toplev.h. | |
16191 | (cfg_hooks): Define here. | |
16192 | (verify_flow_info, dump_bb): Moved from cfg.c. | |
16193 | (redirect_edge_and_branch, redirect_edge_and_branch_force, | |
16194 | split_block, split_block_after_labels, move_block_after, | |
16195 | delete_basic_block, split_edge, create_basic_block, | |
16196 | create_empty_bb, can_merge_blocks_p, merge_blocks, | |
16197 | make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges): | |
16198 | New functions. | |
16199 | * cfghooks.h (struct cfg_hooks): Added fields name, | |
16200 | make_forwarder_block, tidy_fallthru_edge and | |
16201 | move_block_after. Changed type of verify_flow_info, dump_bb, | |
16202 | split_block fields. Renamed cfgh_split_edge and delete_block | |
16203 | fields. | |
16204 | (redirect_edge_and_branch, redirect_edge_and_branch_force, | |
16205 | split_block, delete_block, split_edge, create_basic_block, | |
16206 | can_merge_blocks_p, merge_blocks): Macros removed. | |
16207 | (cfg_hooks): Do not export. | |
16208 | (verify_flow_info, dump_bb, redirect_edge_and_branch, | |
16209 | redirect_edge_and_branch_force, split_block, split_block_after_labels, | |
16210 | move_block_after, delete_basic_block, split_edge, create_basic_block, | |
16211 | create_empty_bb, can_merge_blocks_p, merge_blocks, | |
16212 | make_forwarder_block, tidy_fallthru_edge, tidy_fallthru_edges): | |
16213 | Declare. | |
16214 | (cfg_layout_rtl_cfg_hooks): Declare. | |
16215 | * cfgloop.c (update_latch_info, mfb_keep_just, mfb_keep_nonlatch): | |
16216 | New functions. | |
16217 | (canonicalize_loop_headers): Use new semantics of make_forwarder_block. | |
16218 | (redirect_edge_with_latch_update): Removed. | |
16219 | (make_forwarder_block): Moved to cfghooks.c, semantics changed. | |
16220 | * cfgloopmanip.c (remove_bbs): Do not update dominators here. | |
16221 | * cfgrtl.c (cfg_layout_split_block, rtl_split_block, rtl_dump_bb, | |
16222 | rtl_delete_block, rtl_split_block, rtl_merge_blocks, | |
16223 | tidy_fallthru_edge, rtl_split_edge, cfg_layout_delete_block, | |
16224 | cfg_layout_merge_blocks, cfg_layout_split_edge): Partly moved to | |
16225 | cfghooks.c. | |
16226 | (rtl_create_basic_block): Coding style fix. | |
16227 | (rtl_tidy_fallthru_edge, rtl_move_block_after, | |
16228 | rtl_make_forwarder_block): New functions. | |
16229 | (update_cfg_after_block_merging): Removed. | |
16230 | (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): Fill in new entries. | |
16231 | * flow.c (verify_wide_reg, verify_local_live_at_start): Add argument | |
16232 | to dump_bb. | |
16233 | * ifcvt.c (merge_if_block, find_cond_trap, find_if_case_1, | |
16234 | find_if_case_2): Don't update dominators. | |
16235 | * timevar.def (TV_CFG_VERIFY): New. | |
16236 | * loop-unswitch.c (unswitch_loop): Don't call add_to_dominance_info. | |
16237 | * cfglayout.c (copy_bbs): Don't call add_to_dominance_info. | |
16238 | * cfgloopmanip.c (split_loop_bb): Don't update dominators. | |
16239 | (remove_bbs): Don't call remove_bbs. | |
16240 | (create_preheader): Use make_forwarder_block. | |
16241 | (mfb_keep_just, mfb_update_loops): New static functions. | |
16242 | ||
3cea4788 KH |
16243 | 2004-01-29 Kazu Hirata <kazu@cs.umass.edu> |
16244 | ||
16245 | * config/avr/avr.h: Remove target-independent comments about | |
16246 | target macros. | |
16247 | ||
75e853f2 | 16248 | 2004-01-28 Daniel Berlin <dberlin@dberlin.org> |
16dd5cfe | 16249 | |
75e853f2 DB |
16250 | * timevar.c (timevar_print): Mention when checking is enabled. |
16251 | ||
7625e73d GB |
16252 | 2004-01-28 Giovanni Bajo <giovannibajo@gcc.gnu.org> |
16253 | ||
16254 | * c-lex.c (c_lex): Rename to... | |
16255 | (c_lex_with_flags): Add new parameter to get CPP flags. | |
16256 | (c_lex): Thunk to c_lex_with_flags while keeping the old interface. | |
16257 | * c-pragma.h (c_lex_with_flags): Declare. | |
16258 | ||
dc7efe6e KH |
16259 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16260 | ||
16261 | * config/mcore/mcore.c (mcore_external_libcall): Add a | |
16262 | comment. | |
16263 | (mcore_return_in_memory): Likewise. | |
16264 | ||
09a2b93a KH |
16265 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16266 | ||
16267 | * config/mcore/mcore-protos.h: Remove the prototype for | |
16268 | mcore_setup_incoming_varargs. | |
16269 | * config/mcore/mcore.c (TARGET_ASM_EXTERNAL_LIBCALL): New. | |
16270 | (TARGET_PROMOTE_FUNCTION_ARGS): Likewise. | |
16271 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
16272 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16273 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16274 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16275 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
16276 | (mcore_setup_incoming_varargs): Make it static. Receive the | |
16277 | first argument by reference. Add argument second_time. | |
16278 | (mcore_external_libcall): New. | |
16279 | (mcore_return_in_memory): Likewise. | |
16280 | * config/mcore/mcore.h (PROMOTE_FUNCTION_ARGS): New. | |
16281 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16282 | (STRUCT_VALUE): Likewise. | |
16283 | (RETURN_IN_MEMORY): Likewise. | |
16284 | (SETUP_INCOMING_VARARGS): Likewise. | |
16285 | (PROMOTE_PROTOTYPES): Likewise. | |
16286 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
16287 | ||
a7ed00da KH |
16288 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16289 | ||
16290 | * config/m32r/m32r-protos.h: Remove the prototype for | |
16291 | m32r_setup_incoming_varargs. | |
16292 | * config/m32r/m32r.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16293 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16294 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16295 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
16296 | (m32r_return_in_memory): New. | |
16297 | (m32r_setup_incoming_varargs): Make it static. | |
16298 | * config/m32r/m32r.h: Remove #undef of | |
16299 | ASM_OUTPUT_EXTERNAL_LIBCALL. Remove the commented-out | |
16300 | definitions of PROMOTE_FUNCTION_ARGS and | |
16301 | PROMOTE_FUNCTION_RETURN. | |
16302 | (PROMOTE_PROTOTYPES): Remove. | |
16303 | (RETURN_IN_MEMORY): Likewise. | |
16304 | (STRUCT_VALUE): Likewise. | |
16305 | ||
8636be86 KH |
16306 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16307 | ||
16308 | * config/m68k/m68k.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16309 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16310 | (m68k_struct_value_rtx): Likewise. | |
16311 | * config/m68k/m68k.h (STRUCT_VALUE_REGNUM): Rename to | |
16312 | STRUCT_VALUE_REGNUM. | |
16313 | (PROMOTE_PROTOTYPES): Remove. | |
16314 | * config/m68k/m68kelf.h (STRUCT_VALUE_REGNUM): Rename to | |
16315 | STRUCT_VALUE_REGNUM. | |
16316 | * config/m68k/m68kv4.h (STRUCT_VALUE_REGNUM): Likewise. | |
16317 | * config/m68k/netbsd-elf.h (STRUCT_VALUE_REGNUM): Likewise. | |
16318 | ||
f2f61ee7 KH |
16319 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16320 | ||
16321 | * config/stormy16/stormy16.c | |
16322 | (TARGET_BUILD_BUILTIN_VA_LIST_TYPE): Rename to | |
16323 | TARGET_BUILD_BUILTIN_VA_LIST. | |
16324 | ||
fb7bc7fb KH |
16325 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16326 | ||
16327 | * config/v850/v850.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16328 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16329 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16330 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
16331 | (v850_return_in_memory): Likewise. | |
16332 | (v850_setup_incoming_varargs): Likewise. | |
16333 | * config/v850/v850.h (PROMOTE_PROTOTYPES): Remove. | |
16334 | (SETUP_INCOMING_VARARGS): Likewise. | |
16335 | (RETURN_IN_MEMORY): Likewise. | |
16336 | (STRUCT_VALUE): Likewise. | |
16337 | ||
0fd818e7 KH |
16338 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16339 | ||
16340 | * config/fr30/fr30.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16341 | (fr30_setup_incoming_varargs): Don't use | |
16342 | STRICT_ARGUMENT_NAMING. | |
16343 | * config/fr30/fr30.h (PROMOTE_PROTOTYPES): Remove. | |
16344 | (STRICT_ARGUMENT_NAMING): Likewise. | |
16345 | ||
8ac411c7 KH |
16346 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16347 | ||
16348 | * config/frv/frv-protos.h: Remove the prototype for | |
16349 | frv_expand_builtin_saveregs. | |
16350 | * config/frv/frv.c (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16351 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16352 | (frv_stack_info): Use FRV_STRUCT_VALUE_REGNUM instead of | |
16353 | STRUCT_VALUE_REGNUM. | |
16354 | (frv_expand_builtin_saveregs): Make it static. | |
16355 | (frv_struct_value_rtx): New. | |
16356 | * config/frv/frv.h (EXPAND_BUILTIN_SAVEREGS): Remove. | |
16357 | ||
d173e685 JH |
16358 | 2004-01-29 Jan Hubicka <jh@suse.cz> |
16359 | ||
16360 | PR c++/12850 | |
16361 | * cgraph.c (cgraph_remove_node): Clear out saved/insns/arguments and | |
16362 | initial pointers. | |
16363 | * cgraphunit.c (cgraph_finalize_function): Clear out DECL_SAVED_INSNS | |
16364 | for functions that will be only inlined. | |
16365 | (cgraph_mark_function_to_output): Likewise. | |
16366 | (cgraph_expand_function): Sanity check that DECL_DEFER_OUTPUT is clear; | |
16367 | do not clear function body. | |
16368 | * tree-optimize.c (clear_decl_rtl): Use decl_function_context. | |
16369 | (tree_rest_of_compilation): Reorganize the logic releasing function | |
16370 | body to use callgraph datastructure. | |
16371 | ||
f7a1010e JDA |
16372 | 2004-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16373 | ||
16374 | * pa.md: Change predicate of a peephole2 pattern from reg_or_0_operand | |
16375 | to register_operand. | |
16376 | ||
e7f47f83 ZW |
16377 | 2004-01-28 Zack Weinberg <zack@codesourcery.com> |
16378 | ||
16379 | * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di) | |
16380 | (cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and | |
16381 | match_operand expressions so that all match_dups appear | |
16382 | lexically after their corresponding match_operands. | |
16383 | ||
1807b726 KH |
16384 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16385 | ||
16386 | * config/h8300/h8300.c (WORD_REG_USED): Use | |
16387 | HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM. | |
16388 | (compute_saved_regs): Likewise. | |
16389 | (h8300_expand_prologue): Likewise. Allocate locals after | |
16390 | saving registers. | |
16391 | (h8300_expand_epilogue): Use HARD_FRAME_POINTER_REGNUM instead | |
16392 | of FRAME_POINTER_REGNUM. Deallocate locals before saving | |
16393 | registers. | |
16394 | (h8300_initial_elimination_offset): Adjust for the new frame | |
16395 | layout, which swaps flips the order of locals and saved | |
16396 | registers. | |
16397 | * config/h8300/h8300.h (FIRST_PSEUDO_REGISTER): Change to 12. | |
16398 | (HARD_FRAME_POINTER_REGNUM): New. | |
16399 | (ELIMINABLE_REGS): Add an elimination rule from | |
16400 | FRAME_POINTER_REGNUM to HARD_FRAME_POINTER_REGNUM. | |
16401 | (REGISTER_NAMES): Add fp. | |
16402 | * config/h8300/h8300.md (FP_REG): Change to 11. | |
16403 | (HFP_REG): New. | |
16404 | ||
be2c39f8 KH |
16405 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16406 | ||
16407 | * genrecog.c (write_node): Remove a useless local variable. | |
16408 | ||
469ef4a3 ILT |
16409 | 2004-01-28 Ian Lance Taylor <ian@wasabisystems.com> |
16410 | ||
16411 | * Makefile.in (options.c options.h): Use stamp file s-options to | |
16412 | avoid unnecessary rebuilds. | |
16413 | (options.o): New target listing dependencies. | |
16414 | (gtyp-gen.h): Use stamp file s-gtyp-gen. | |
16415 | (STAGESTUFF): Add s-gtyp-gen. | |
16416 | ||
685fe032 RH |
16417 | 2004-01-28 Richard Henderson <rth@redhat.com> |
16418 | ||
16419 | * ggc.h (ggc_free): Declare. | |
16420 | * ggc-common.c (ggc_realloc): Use it. | |
16421 | * ggc-page.c: Remove lots of inline markers. | |
16422 | (globals): Add free_object_list. | |
16423 | (ggc_alloc): Tidy. | |
16424 | (ggc_free, validate_free_objects): New. | |
16425 | (poison_pages): Provide default. | |
16426 | (ggc_collect): Call validate_free_objects; emit markers to | |
16427 | the debug file. | |
16428 | ||
2ffe0e02 ZW |
16429 | 2004-01-28 Zack Weinberg <zack@codesourcery.com> |
16430 | Jim Wilson <wilson@specifixinc.com> | |
16431 | ||
16432 | * config/ia64/ia64.c (ia64_split_tmode, ia64_split_tmode_move): | |
16433 | Rewrite to use POST_INC/POST_DEC/POST_MODIFY instead of a | |
16434 | scratch pointer. | |
16435 | (ia64_secondary_reload_class): Delete case GR_REGS. | |
16436 | * config/ia64/ia64.md (movti, *movti_internal, movtf, *movtf_internal): | |
16437 | Do not allocate a scratch register. | |
16438 | (reload_inti, reload_outti, reload_intf, reload_outtf): Delete. | |
16439 | ||
a544524a JH |
16440 | 2004-01-28 Jan Hubicka <jh@suse.cz> |
16441 | ||
16442 | * gcse.c (bypass_block): Prevent edges to be unified when we are | |
16443 | about to emit compenstation code. | |
16444 | ||
1b8f8174 NC |
16445 | 2004-01-28 Nick Clifton <nickc@redhat.com> |
16446 | ||
16447 | * config/arm/arm.c (arm_expand_builtin): Force second argument of | |
16448 | the setcwx insn into a register. | |
16449 | ||
faceece3 RS |
16450 | 2004-01-28 Richard Sandiford <rsandifo@redhat.com> |
16451 | ||
16452 | * config/fp-bit.c (pack_d): When using paired doubles to implement | |
16453 | a long double, round the high part separately. | |
16454 | (unpack_d): Fix the case in which the high part is a power of two | |
16455 | and the low part is a nonzero value of the opposite sign. | |
16456 | ||
28b24176 KH |
16457 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16458 | ||
16459 | * config/c4x/c4x.c (TARGET_ASM_EXTERNAL_LIBCALL): New. | |
16460 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16461 | (c4x_external_libcall): Likewise. | |
16462 | (c4x_struct_value_rtx): Likewise. | |
16463 | * config/c4x/c4x.h: Remove. | |
16464 | (STRUCT_VALUE_REGNUM): Likewise. | |
16465 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise. | |
16466 | ||
9184f892 KH |
16467 | 2004-01-28 Kazu Hirata <kazu@cs.umass.edu> |
16468 | ||
16469 | * config/i386/i386.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16470 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16471 | * config/i386/i386.h (STRUCT_VALUE_INCOMING): Remove. | |
16472 | (STRUCT_VALUE): Likewise. | |
16473 | (PROMOTE_PROTOTYPES): Likewise. | |
16474 | ||
4cce9dd8 RS |
16475 | 2004-01-27 Roger Sayle <roger@eyesopen.com> |
16476 | ||
16477 | * config/pa/pa.c (emit_move_sequence): Check that operand1 is a | |
16478 | CONST_INT before using INTVAL. | |
16479 | ||
590fcf48 UW |
16480 | 2004-01-27 Ulrich Weigand <uweigand@de.ibm.com> |
16481 | ||
16482 | * config/s390/s390.h (TARGET_DEFAULT): Default to !TARGET_BACKCHAIN. | |
16483 | * config/s390/s390.c (s390_return_addr_rtx): Fail for all but current | |
16484 | frame if !TARGET_BACKCHAIN. | |
2ffe0e02 | 16485 | * config/s390/s390.md ("allocate_stack"): Use pattern only if |
590fcf48 UW |
16486 | TARGET_BACKCHAIN. |
16487 | * doc/invoke.texi (-mbackchain/-mno-backchain): Document new default. | |
16488 | ||
826b47cc ZW |
16489 | 2004-01-27 Zack Weinberg <zack@codesourcery.com> |
16490 | ||
16491 | * ia64.c (ia64_function_arg): When placing HFAs in integer | |
16492 | registers, do not special case the mode used for complex | |
16493 | types. Do not advance int_regs until the current register | |
16494 | is full. | |
16495 | ||
83810fcb RS |
16496 | 2004-01-27 Richard Sandiford <rsandifo@redhat.com> |
16497 | ||
16498 | PR target/7297 | |
16499 | * except.c (init_eh): Use a 5-word __jbuf for __builtin_setjmp(). | |
16500 | ||
2d9db8eb DE |
16501 | 2004-01-27 David Edelsohn <edelsohn@gnu.org> |
16502 | ||
16503 | * config/rs6000/rs6000.c (rs6000_emit_move): #if 0 splitting | |
16504 | slow, unaligned loads and stores while debugging. Fix formatting. | |
16505 | ||
39e453d7 DE |
16506 | 2004-01-27 David Edelsohn <edelsohn@gnu.org> |
16507 | ||
16508 | * config/rs6000/rs6000.md (save_stack_nonlocal): Use Pmode instead | |
16509 | of computing wmode. | |
16510 | (restore_stack_nonlocal): Same. | |
16511 | ||
6097b0c3 | 16512 | 2004-01-27 Devang Patel <dpatel@apple.com> |
826b47cc | 16513 | |
6097b0c3 | 16514 | * Makefile.in (dwarf2out.o): Depend on input.h |
826b47cc | 16515 | * dbxout.c (dbx_debug_hooks): Add new empty hook for |
6097b0c3 DP |
16516 | imported_module_or_decl. |
16517 | (xcoff_debug_hooks): Same. | |
16518 | * sdbout.c (sdb_debug_hooks): Same. | |
16519 | * vmsdbgout.c (vmsdbg_debug_hooks): Same. | |
16520 | * debug.c (do_nothing_debug_hooks): Same. | |
16521 | (debug_nothing_tree_tree): New function. | |
16522 | * debug.h (gcc_debug_hooks): New hook, imported_module_or_decl. | |
16523 | * dwarf2out.c: Include input.h. | |
16524 | (dwarf2_debug_hooks): Add new hook for imported_module_or_decl. | |
16525 | (remove_child_TAG): New function. | |
16526 | (dwarf_tag_name): Handle DW_TAG_imported_module. | |
16527 | (gen_subprogram_die): Equate decl number to declaration die. Do not | |
16528 | remove all children dies while reusing declaration die for definition. | |
16529 | Instead, selectively remove only formal parameters. | |
16530 | (gen_variable_die): Equate variable decl to declaration die. | |
16531 | (gen_field_die): Equate field decl to line number. | |
16532 | (force_namespace_die): Replace it with ... | |
16533 | (force_decl_die): ... this. | |
16534 | (force_type_die): New function. | |
16535 | (setup_namespace_context): Replace use of force_namespace_die() with | |
16536 | force_decl_die(). | |
16537 | (gen_namespace_die): Same. | |
16538 | (dwarf2out_imported_module_or_decl): New function. | |
16539 | ||
e6aecf8e | 16540 | 2004-01-27 Bob Wilson <bob.wilson@acm.org> |
826b47cc | 16541 | |
e6aecf8e BW |
16542 | * config/xtensa/xtensa.c (xtensa_copy_incoming_a7): Remove SUBREG |
16543 | on CQImode and CHImode incoming arguments in register a7. | |
16544 | (function_arg): Wrap BLKmode argument in register a7 in a PARALLEL. | |
16545 | * config/xtensa/xtensa.h (BLOCK_REG_PADDING): Define. | |
16546 | * config/xtensa/xtensa.md (movdi, movdf): Only call force_reg or | |
16547 | xtensa_copy_incoming_a7 before reload. | |
826b47cc | 16548 | |
02307675 R |
16549 | 2004-01-27 J"orn Rennecke <joern.rennecke@superh.com> |
16550 | ||
16551 | * coverage.c (get_coverage_counts): Give a different message | |
16552 | if flag_guess_branch_prob is set. | |
16553 | * predict.c (counts_to_freqs): Return an int. | |
16554 | (estimate_bb_frequencies): If counts_to_freqs returns zero, | |
16555 | calculate estimates. | |
16556 | ||
69a45040 KH |
16557 | 2004-01-27 Kazu Hirata <kazu@cs.umass.edu> |
16558 | ||
16559 | * config/iq2000/iq2000-protos.h: Remove the prototype for | |
16560 | iq2000_setup_incoming_varargs. | |
16561 | * config/iq2000/iq2000.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
16562 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
16563 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16564 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16565 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16566 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
16567 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
16568 | (iq2000_return_in_memory): Likewise. | |
16569 | (iq2000_setup_incoming_varargs): Make it static. Receive the | |
16570 | first argument by reference. | |
16571 | * config/iq2000/iq2000.h (PROMOTE_FUNCTION_ARGS): Remove. | |
16572 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16573 | (PROMOTE_PROTOTYPES): Likewise. | |
16574 | (RETURN_IN_MEMORY): Likewise. | |
16575 | (STRUCT_VALUE): Likewise. | |
16576 | (SETUP_INCOMING_VARARGS): Likewise. | |
16577 | (STRICT_ARGUMENT_NAMING): Likewise. | |
16578 | ||
9cdfc8e7 JM |
16579 | 2004-01-24 James A. Morrison <ja2morri@uwaterloo.ca> |
16580 | ||
826b47cc | 16581 | * fixinc/fixinc.c (test_test): Initialize res. |
9cdfc8e7 JM |
16582 | (start_flexer): Initialize pz_cmd_save. |
16583 | ||
60ffd2fe ZW |
16584 | 2004-01-27 Zack Weinberg <zack@codesourcery.com> |
16585 | ||
16586 | * doc/rtl.texi (Arithmetic): Rewrite entries for PLUS, | |
16587 | SS_PLUS, US_PLUS, LO_SUM, MINUS, SS_MINUS, US_MINUS. | |
16588 | ||
52ad4d7b ZW |
16589 | 2004-01-27 Zack Weinberg <zack@codesourcery.com> |
16590 | ||
16591 | PR 7198 | |
16592 | * config/ia64/ia64.md (*nmaddsf4, *nmadddf4, *nmadddf4_alts) | |
16593 | (*nmadddf4_trunc, *nmaddxf4, *nmaddxf4_truncsf, *nmaddxf4_truncdf) | |
16594 | (*nmaddxf4_alts, *nmaddxf4_truncdf_alts): | |
16595 | Rewrite pattern as (minus (op 3) (mult (op 1) (op 2))). | |
16596 | Possibly rename pattern for consistency. | |
16597 | Remove ??? comments suggesting that this be done. | |
16598 | (*nmaddsf4_alts, *nmadddf4_truncsf_alts, *nmaddxf4_truncsf_alts): | |
16599 | New patterns. | |
16600 | (divsi3_internal, divdi3_internal_lat, divdi3_internal_thr) | |
16601 | (divsf3_internal_lat, divsf3_internal_thr, sqrtsf2_internal_thr) | |
16602 | (divdf3_internal_lat, divdf3_internal_thr, sqrtdf2_internal_thr) | |
16603 | (divxf3_internal_lat, divxf3_internal_thr, sqrtxf2_internal_thr): | |
16604 | Update to match. | |
16605 | ||
b034930f ILT |
16606 | 2004-01-27 Ian Lance Taylor <ian@wasabisystems.com> |
16607 | ||
16608 | * config/arm/arm.c (output_return_instruction): Only restore IP | |
16609 | into SP if frame_pointer_needed. | |
16610 | ||
be446dfc EB |
16611 | 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr> |
16612 | ||
16613 | * config/sparc/sparc.c (function_arg_pass_by_reference): Return 1 | |
16614 | for SCmode and DCmode if ARCH32. | |
16615 | (sparc_va_arg): Handle SCmode and DCmode by reference if ARCH32. | |
16616 | * config/sparc/sparc.h (RETURN_IN_MEMORY): Return 0 for TCmode | |
16617 | if ARCH32. | |
16618 | (BASE_RETURN_VALUE_REG): Return 32 for all FP modes except TFmode | |
16619 | if ARCH32. | |
16620 | (BASE_OUTGOING_VALUE_REG): Likewise. | |
16621 | ||
1b4bda70 EB |
16622 | 2004-01-27 Eric Botcazou <ebotcazou@libertysurf.fr> |
16623 | ||
16624 | PR target/10904 | |
16625 | PR target/13058 | |
16626 | * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): New. | |
16627 | Forbid mode changes from SImode for lower FP regs if ARCH64. | |
16628 | ||
1194fc79 R |
16629 | 2004-01-27 J"orn Rennecke <joern.rennecke@superh.com> |
16630 | ||
16631 | * Makefile.in (bt-load.o): Depend on except.h. | |
16632 | * bt-load.c (except.h): #include. | |
16633 | (compute_defs_uses_and_gen): If insn at end of BB can throw | |
16634 | within this function, consider registers used by it unavailable for | |
16635 | btr migration. | |
16636 | (move_btr_def): If insn at end of BB can throw, insert before rather | |
16637 | than after. | |
16638 | ||
16639 | * flags.h (flag_btr_bb_exclusive): Declare. | |
16640 | * toplev.c (flag_btr_bb_exclusive): New variable. | |
16641 | (f_options): Add btr-bb-exclusive. | |
16642 | * bt-load.c (augment_live_range): Restore old behaviour if | |
16643 | flag_btr_bb_exclusive is set. | |
16644 | * common.opt: Add entry for -fbtr-bb-exclusive. | |
16645 | * opts.c (common_handle_options): Same. | |
16646 | * doc/invoke.texi: Document -fbtr-bb-exclusive. | |
52ad4d7b | 16647 | |
1194fc79 R |
16648 | * bt-load.c (btrs_live_at_end): New variable. |
16649 | (compute_defs_uses_and_gen): Compute its pointed-to array. | |
16650 | (clear_btr_from_live_range, add_btr_to_live_range): Update it. | |
16651 | (augment_live_range): When augmenting with a new dominator, | |
16652 | use only its btrs_live_at_end set, but also add in the full set | |
16653 | of the old dominator. | |
16654 | (btr_def_live_range): Use btrs_live_at_end. | |
16655 | (move_btr_def): Set other_btr_uses_before_def, and move new set | |
16656 | to the end of the basic block, if appropriate. | |
16657 | (migrate_btr_defs): Allocate and free btrs_live_at_end. | |
52ad4d7b | 16658 | |
1194fc79 R |
16659 | * bt-load.c (basic_block_freq): Remove outdated comment. |
16660 | ||
895ea8f0 AM |
16661 | 2004-01-27 Alan Modra <amodra@bigpond.net.au> |
16662 | ||
16663 | * config/rs6000/rs6000.h: Correct target_flags free bits comment. | |
16664 | (PREDICATE_CODES): Remove duplicate. | |
16665 | * config/rs6000/linux64.h (CPP_SYSV_SPEC): Don't define. | |
16666 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Disallow 32 bit TARGET_PROFILE_KERNEL. | |
16667 | (MASK_PROFILE_KERNEL): Adjust define. | |
16668 | ||
4137ba7a JJ |
16669 | 2004-01-27 Jakub Jelinek <jakub@redhat.com> |
16670 | ||
16671 | * config/i386/i386.c (ix86_constant_alignment): Decrease alignment | |
16672 | of long string literals from 32 bytes to sizeof (void *) when !-Os | |
16673 | and to 1 with -Os. | |
16674 | ||
a4bb41cc KH |
16675 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16676 | ||
16677 | * config/h8300/h8300.c (h8300_tiny_constant_address_p): Accept | |
16678 | constant addresses in the normal mode. | |
16679 | ||
1c62e7b2 KG |
16680 | 2004-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16681 | ||
16682 | * system.h (CHAR_BITFIELD): Delete. | |
16683 | (BOOL_BITFIELD): New. | |
16684 | * c-decl.c (c_scope): Use BOOL_BITFIELD. | |
16685 | * gengtype-lex.l: Recognize BOOL_BITFIELD instead of CHAR_BITFIELD. | |
16686 | ||
96ab60fc KH |
16687 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16688 | ||
16689 | * config/arc/arc.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
16690 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
16691 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16692 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16693 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16694 | (arc_return_in_memory): Likewise. | |
16695 | * config/arc/arc.h (PROMOTE_FUNCTION_ARGS): Remove. | |
16696 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16697 | (RETURN_IN_MEMORY): Likewise. | |
16698 | (STRUCT_VALUE): Likewise. | |
16699 | ||
6d4b0a5d RH |
16700 | 2004-01-26 Richard Henderson <rth@redhat.com> |
16701 | ||
16702 | * c-parse.in (extension): Use itype. | |
16703 | (SAVE_EXT_FLAGS): Don't allocate a tree. | |
16704 | (RESTORE_EXT_FLAGS): Don't read a tree. | |
16705 | ||
18874af6 JH |
16706 | 2004-01-26 Jan Hubicka <jh@suse.cz> |
16707 | ||
16708 | * cselib.c (discard_useless_values): Clear out value pointer pointing | |
16709 | to datastructure to be recycled. | |
16710 | ||
501f88de JH |
16711 | 2004-01-25 Jan Hubicka <jh@suse.cz> |
16712 | ||
16713 | * genextract.c (main): Do not output the memset when not checking. | |
16714 | ||
d6456562 KH |
16715 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16716 | ||
16717 | * config/h8300/h8300.c (h8300_tiny_constant_address_p): Use a | |
16718 | switch statement instead of a chain of if statements. | |
16719 | ||
5cea9d5d JL |
16720 | 2004-01-26 Jeff Law <law@redhat.com> |
16721 | ||
16722 | * doc/contrib.texi: Minor cleanup for Paolo Carlini's entry. Add | |
16723 | acute accents for Petur Runolfsson's entry. | |
16724 | ||
04e9daaf KH |
16725 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16726 | ||
16727 | * config/pdp11/pdp11.c (TARGET_STRUCT_VALUE_RTX): New. | |
16728 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16729 | * config/pdp11/pdp11.h (STRUCT_VALUE): Remove. | |
16730 | (RETURN_IN_MEMORY): Likewise. | |
16731 | ||
40ca90bf | 16732 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 | 16733 | |
52ad4d7b ZW |
16734 | * config/rs6000/rs6000.c (rs6000_emit_move): split slow |
16735 | unaligned load/store into smaller loads and stores. | |
6c8066b9 | 16736 | |
40ca90bf | 16737 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 | 16738 | |
52ad4d7b ZW |
16739 | * function.c (assign_parms): Do not assign |
16740 | long long argument to memory in prologue if | |
16741 | is it loaded into register. | |
6c8066b9 | 16742 | |
40ca90bf | 16743 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 FJ |
16744 | |
16745 | PR middle-end/13779 | |
52ad4d7b ZW |
16746 | * expr.c (emit_group_load): split constant |
16747 | correctly into register components of PARALLEL insn. | |
6c8066b9 | 16748 | |
40ca90bf | 16749 | 2004-01-26 Fariborz Jahanian <fjahanian@apple.com> |
6c8066b9 FJ |
16750 | |
16751 | * gcc/config/rs6000/rs6000.md (save_stack_nonlocal): | |
16752 | Use adjust_address_nv directly with appropriate mode. | |
16753 | (restore_stack_nonlocal): Ditto. | |
16754 | ||
4c45af42 KH |
16755 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16756 | ||
16757 | * config/xtensa/xtensa-protos.h: Remove the prototype for | |
16758 | xtensa_builtin_saveregs. | |
16759 | * config/xtensa/xtensa.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
16760 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
16761 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16762 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16763 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16764 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16765 | (xtensa_builtin_saveregs): Make it static. | |
16766 | (xtensa_return_in_memory): New. | |
16767 | * config/xtensa/xtensa.h (PROMOTE_FUNCTION_ARGS: Remove. | |
16768 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16769 | (PROMOTE_PROTOTYPES): Likewise. | |
16770 | (STRUCT_VALUE): Likewise. | |
16771 | (RETURN_IN_MEMORY): Likewise. | |
16772 | (EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16773 | ||
1cc9f5f5 KH |
16774 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16775 | ||
16776 | * config/arm/arm.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
16777 | (arm_setup_incoming_varargs): Likewise. | |
16778 | * config/arm/arm.h (SETUP_INCOMING_VARARGS): Remove. | |
16779 | ||
558d352a KH |
16780 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16781 | ||
16782 | * config/cris/cris.c (TARGET_SETUP_INCOMING_VARARGS): New. | |
16783 | (cris_setup_incoming_varargs): Likewise. | |
16784 | * config/cris/cris.h (SETUP_INCOMING_VARARGS): Remove. | |
16785 | ||
2001a5cf KH |
16786 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16787 | ||
16788 | * config/ns32k/ns32k.c (TARGET_STRUCT_VALUE_RTX): New. | |
16789 | (ns32k_struct_value_rtx): Likewise. | |
16790 | * config/ns32k/ns32k.h (STRUCT_VALUE_REGNUM): Rename to | |
16791 | NS32K_STRUCT_VALUE_REGNUM. | |
16792 | ||
f9ba5949 KH |
16793 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16794 | ||
16795 | * config/arm/arm.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
16796 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16797 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16798 | (arm_struct_value_rtx): Likewise. | |
16799 | * config/arm/arm.h (PROMOTE_FUNCTION_ARGS): Remove. | |
16800 | (STRUCT_VALUE): Likewise. | |
16801 | (STRUCT_VALUE_REGNUM): Likewise. | |
16802 | (PROMOTE_PROTOTYPES): Likewise. | |
16803 | ||
351a758b KH |
16804 | 2004-01-26 Kazu Hirata <kazu@cs.umass.edu> |
16805 | ||
16806 | * config/ia64/ia64-protos.h: Remove the prototype for | |
16807 | ia64_setup_incoming_varargs and ia64_return_in_memory. | |
16808 | * config/ia64/ia64.c (TARGET_STRUCT_VALUE_RTX): New. | |
16809 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16810 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
16811 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
16812 | (ia64_setup_incoming_varargs): Adjust the arguments to meet | |
16813 | the requirement of TARGET_SETUP_INCOMING_VARARGS. | |
16814 | (ia64_return_in_memory): Make it static. Change the return | |
16815 | type to bool from int. Add an argument. | |
16816 | (ia64_struct_value_rtx): New. | |
16817 | * config/ia64/ia64.h: Remove commented-out definitions of | |
16818 | PROMOTE_FUNCTION_ARGS, PROMOTE_FUNCTION_RETURN, and | |
16819 | PROMOTE_PROTOTYPES. | |
16820 | (RETURN_IN_MEMORY): Remove. | |
16821 | (STRUCT_VALUE_REGNUM): Likewise. | |
16822 | (STRICT_ARGUMENT_NAMING): Likewise. | |
16823 | ||
a7bba6ca EB |
16824 | 2004-01-26 Eric Botcazou <ebotcazou@libertysurf.fr> |
16825 | ||
16826 | PR target/13666 | |
16827 | * config/sparc/sparc.c (function_arg_union_value): New function. | |
16828 | (function_arg): Use it to deal with unions. | |
16829 | (function_value): Likewise. Define 'regbase' only for ARCH64. | |
16830 | Replace a conditional statement by a simpler one. | |
16831 | ||
6865f4cd RS |
16832 | 2004-01-26 Richard Sandiford <rsandifo@redhat.com> |
16833 | ||
16834 | * config/mips/mips.c (mips16_optimize_gp): Delete. | |
16835 | (mips_reorg): Don't call it. | |
16836 | ||
2d6d0eb5 MH |
16837 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16838 | ||
16839 | * config/c4x/c4x.md (addqi3_noclobber): Move up pecking order. | |
16840 | (floatunsqihf2): Remove operand 6. | |
16841 | (fixhfqi_set, fix_trunchfqi2, fixuns_trunchfqi2): Group with other | |
16842 | fix patterns. | |
16843 | (ldi_conditional, ldf_conditional): Validate operands. | |
16844 | ||
8f422192 MH |
16845 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16846 | ||
16847 | * config/c4x/c4x.h (BCT_CHECK_LOOP_ITERATIONS): Remove. | |
16848 | (HAVE_GAS_HIDDEN): Undefine as interim measure. | |
52ad4d7b | 16849 | |
9c3602e4 MH |
16850 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16851 | ||
16852 | * config/c4x/c4x.c (c4x_legitimate_address_p): Invalidate direct | |
16853 | memory references if TARGET_EXPOSE_LDP nonzero. | |
16854 | ||
a026b9d6 MH |
16855 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16856 | ||
16857 | * config/c4x/c4x.c (legitimize_operands): Truncate invalid shift counts. | |
52ad4d7b | 16858 | |
b7bbb574 MH |
16859 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16860 | ||
16861 | * config/c4x/c4x.c (c4x_valid_operands): More aggressively reject | |
16862 | invalid operand combinations. | |
16863 | ||
1e903c61 MH |
16864 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
16865 | ||
16866 | * config/c4x/c4x.c (c4x_check_legit_addr): Rename to | |
16867 | c4x_legitimate_address_p. Fix post_modify check. | |
b7bbb574 | 16868 | |
1e903c61 MH |
16869 | * config/c4x/c4x-protos.h (c4x_check_legit_addr): Adjust. |
16870 | * config/c4x/c4x.h (c4x_check_legit_addr): Adjust. | |
52ad4d7b | 16871 | |
3f12cd9b KH |
16872 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16873 | ||
16874 | * config/pa/pa-protos.h: Remove the prototype for | |
16875 | hppa_builtin_saveregs. Add a prototype for | |
16876 | pa_return_in_memory. | |
16877 | * config/pa/pa.c (TARGET_PROMOTE_FUNCTION_RETURN): New. | |
16878 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16879 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16880 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16881 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16882 | (pa_struct_value_rtx): Likewise. | |
16883 | (pa_return_in_memory): Likewise. | |
16884 | * config/pa/pa.h (STRUCT_VALUE_REGNUM): Rename to | |
16885 | PA_STRUCT_VALUE_REGNUM. | |
16886 | (INIT_CUMULATIVE_ARGS): Use pa_return_in_memory. | |
16887 | (EXPAND_BUILTIN_SAVEREGS): Remove. | |
16888 | (PROMOTE_PROTOTYPES): Likewise. | |
16889 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16890 | ||
f289e226 KH |
16891 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16892 | ||
16893 | * config/vax/vax.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16894 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16895 | (vax_struct_value_rtx): Likewise. | |
16896 | * config/vax/vax.h (STRUCT_VALUE_REGNUM): Rename to | |
16897 | VAX_STRUCT_VALUE_REGNUM. | |
16898 | (PROMOTE_PROTOTYPES): Remove. | |
16899 | ||
12fb52cf | 16900 | 2004-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz> |
52ad4d7b ZW |
16901 | |
16902 | * config/c4x/c4x.h (LEGITIMIZE_RELOAD_ADDRESS): Handle symref. | |
16903 | ||
94632047 | 16904 | 2004-01-25 Chris Demetriou <cgd@broadcom.com> |
fdcf1e1e CD |
16905 | |
16906 | * config/mips/mips.h (ISA_HAS_HILO_INTERLOCKS): MIPS32, MIPS32r2, | |
16907 | and MIPS64 have HI/LO interlocks. Update comment. | |
16908 | ||
7e43c821 KH |
16909 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16910 | ||
16911 | * config/stormy16/stormy16-protos.h: Remove the prototype for | |
16912 | xstormy16_setup_incoming_varargs. | |
16913 | * config/stormy16/stormy16.c | |
16914 | (xstormy16_setup_incoming_varargs): Remove. | |
16915 | (xstormy16_return_in_memory): New. | |
16916 | (TARGET_PROMOTE_FUNCTION_ARGS): Likewise. | |
16917 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
16918 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
16919 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16920 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16921 | * config/stormy16/stormy16.h (PROMOTE_FUNCTION_ARGS): Remove. | |
16922 | (PROMOTE_FUNCTION_RETURN): Likewise | |
16923 | (PROMOTE_PROTOTYPES): Likewise | |
16924 | (RETURN_IN_MEMORY): Likewise | |
16925 | (STRUCT_VALUE): Likewise | |
16926 | (SETUP_INCOMING_VARARGS): Likewise | |
16927 | ||
62973ffe RS |
16928 | 2004-01-25 Richard Sandiford <rsandifo@redhat.com> |
16929 | ||
16930 | * config/mips/mips.c (mips_offset_within_object_p): New function. | |
16931 | (mips_symbolic_constant_p): Use it in the SYMBOL_SMALL_DATA and | |
16932 | SYMBOL_CONSTANT_POOL cases. Also use it for SYMBOL_GENERAL if the | |
16933 | ABI has 64-bit pointers and the object file only allows 32-bit symbols. | |
16934 | ||
8e67da21 KH |
16935 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16936 | ||
16937 | * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove. | |
16938 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
16939 | ||
9024ea92 KH |
16940 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16941 | ||
16942 | * config/mn10300/mn10300-protos.h: Remove the prototype for | |
16943 | mn10300_builtin_saveregs. | |
16944 | * config/mn10300/mn10300.c (TARGET_PROMOTE_PROTOTYPES): New. | |
16945 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16946 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16947 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16948 | (mn10300_return_in_memory): Likewise. | |
16949 | (mn10300_builtin_saveregs): Make it static. | |
16950 | * config/mn10300/mn10300.h (PROMOTE_PROTOTYPES): Remove. | |
16951 | (RETURN_IN_MEMORY): Likewise. | |
16952 | (STRUCT_VALUE): Likewise. | |
16953 | (EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16954 | ||
20b4e8ae EB |
16955 | 2004-01-25 Eric Botcazou <ebotcazou@act-europe.fr> |
16956 | ||
16957 | PR bootstrap/13853 | |
16958 | * cfgcleanup.c (try_optimize_cfg): Explicitly test against 0. | |
16959 | ||
cff555dc KH |
16960 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16961 | ||
16962 | * config/h8300/lib1funcs.asm (divnorm, modnorm): Optimize by | |
16963 | using ccr. | |
16964 | ||
30f58b01 KH |
16965 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16966 | ||
16967 | * config/i860/i860-protos.h: Remove the prototype for | |
16968 | i860_saveregs. | |
16969 | * config/i860/i860.c (i860_saveregs): Make it static. | |
16970 | (i860_struct_value_rtx): New. | |
16971 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16972 | (TARGET_EXPAND_BUILTIN_SAVEREGS): Likewise. | |
16973 | * config/i860/i860.h (STRUCT_VALUE_REGNUM): Rename to | |
16974 | I860_STRUCT_VALUE_REGNUM. | |
16975 | (EXPAND_BUILTIN_SAVEREGS): Remove. | |
16976 | ||
341ec191 KH |
16977 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16978 | ||
16979 | * config/m68hc11/m68hc11.c (TARGET_STRUCT_VALUE_RTX): New. | |
16980 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
16981 | (m68hc11_struct_value_rtx): Likewise. | |
16982 | (m68hc11_return_in_memory): Likewise. | |
16983 | * config/m68hc11/m68hc11.h: Remove a commented-out definition | |
16984 | of PROMOTE_PROTOTYPES. | |
16985 | (RETURN_IN_MEMORY): Remove. | |
16986 | (STRUCT_VALUE_REGNUM): Likewise. | |
16987 | ||
344caf1b KH |
16988 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
16989 | ||
16990 | * config/mmix/mmix-protos.h: Remove the prototype for | |
16991 | mmix_setup_incoming_varargs. | |
16992 | * config/mmix/mmix.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
16993 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16994 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
16995 | (mmix_setup_incoming_varargs): Make it static. | |
16996 | (mmix_struct_value_rtx): New. | |
16997 | * config/mmix/mmix.h (PROMOTE_FUNCTION_ARGS): Remove. | |
16998 | Remove a commented-out definition of PROMOTE_FUNCTION_RETURN. | |
16999 | (STRUCT_VALUE_REGNUM): Remove. | |
17000 | (SETUP_INCOMING_VARARGS): Likewise. | |
17001 | ||
0c8da560 KH |
17002 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
17003 | ||
17004 | * config/mips/mips-protos.h: Remove the prototypes for | |
17005 | mips_setup_incoming_varargs and mips_return_in_memory. | |
17006 | * config/mips/mips.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
17007 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
17008 | (TARGET_PROMOTE_PROTOTYPES): Likewise. | |
17009 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
17010 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
17011 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
17012 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
17013 | (mips_setup_incoming_varargs): Match the prototype for | |
17014 | TARGET_SETUP_INCOMING_VARARGS. | |
17015 | (mips_return_in_memory): Make it static. Add argument fntype. | |
17016 | (mips_strict_argument_naming): New. | |
17017 | * config/mips/mips.h (PROMOTE_PROTOTYPES): Remove. | |
17018 | (PROMOTE_FUNCTION_ARGS): Likewise. | |
17019 | (PROMOTE_FUNCTION_RETURN): Likewise. | |
17020 | (STRUCT_VALUE): Likewise. | |
17021 | (RETURN_IN_MEMORY): Likewise. | |
17022 | (SETUP_INCOMING_VARARGS): Likewise. | |
17023 | (STRICT_ARGUMENT_NAMING): Likewise. | |
17024 | ||
49ca372c KH |
17025 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
17026 | ||
17027 | * config/ip2k/ip2k.c (TARGET_STRUCT_VALUE_RTX): New. | |
17028 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
17029 | (TARGET_SETUP_INCOMING_VARARGS): Likewise. | |
17030 | (ip2k_return_in_memory): Likewise. | |
17031 | (ip2k_setup_incoming_varargs): Likewise. | |
17032 | * config/ip2k/ip2k.h (RETURN_IN_MEMORY): Remove. | |
17033 | (STRUCT_VALUE): Likewise. | |
17034 | (STRUCT_VALUE_INCOMING): Likewise. | |
17035 | (SETUP_INCOMING_VARARGS): Likewise. | |
17036 | ||
b069302c KH |
17037 | 2004-01-25 Kazu Hirata <kazu@cs.umass.edu> |
17038 | ||
17039 | * config/avr/avr.c (TARGET_STRUCT_VALUE_RTX): New. | |
17040 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
17041 | (TARGET_STRICT_ARGUMENT_NAMING): Likewise. | |
17042 | (avr_return_in_memory): Remove. | |
17043 | * config/avr/avr.h (RETURN_IN_MEMORY): Remove. | |
17044 | (STRUCT_VALUE): Likewise. | |
17045 | (STRUCT_VALUE_INCOMING): Likewise. | |
17046 | (STRICT_ARGUMENT_NAMING): Likewise. | |
17047 | ||
e6d83128 JH |
17048 | 2004-01-25 Jan Hubicka <jh@suse.cz> |
17049 | ||
17050 | * combine.c (recog_for_combine): Avoid allocating unnecesary RTX. | |
17051 | ||
bcbc6b7f RS |
17052 | 2004-01-25 Richard Sandiford <rsandifo@redhat.com> |
17053 | ||
17054 | * config/mips/mips-protos.h (mips_reg_mode_ok_for_base_p): Delete. | |
17055 | (mips_regno_mode_ok_for_base_p): Declare. | |
17056 | * config/mips/mips.h (ARG_POINTER_REGNUM): Renumber to 77. | |
17057 | (FRAME_POINTER_REGNUM): Renumber to 78. | |
17058 | (FIRST_PSEUDO_REGISTER): Update comment accordingly. | |
17059 | (BASE_REG_P, GP_REG_OR_PSEUDO_STRICT_P): Delete. | |
17060 | (GP_REG_OR_PSEUDO_NONSTRICT_P): Delete. | |
17061 | (REGNO_MODE_OK_FOR_BASE_P): Use mips_regno_mode_ok_for_base_p. | |
17062 | (REG_MODE_OK_FOR_BASE_P): Likewise. | |
17063 | * config/mips/mips.c (mips_reg_names, mips_sw_reg_names): Change | |
17064 | entry for 77 to "$arg" and entry for 78 to "$frame". | |
17065 | (mips_regno_to_class): Map 77 and 78 to ALL_REGS. | |
17066 | (mips_reg_mode_ok_for_base_p): Remove. | |
17067 | (mips_regno_mode_ok_for_base_p): New function, derived from old | |
17068 | BASE_REG_P macro. Don't enforce the mips16 stack pointer | |
17069 | restrictions unless we're being strict. | |
17070 | (mips_valid_base_register_p): Use mips_regno_mode_ok_for_base_p. | |
17071 | ||
1f52178b KH |
17072 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17073 | ||
17074 | * c-common.h: Fix comment typos. | |
17075 | * c-decl.c: Likewise. | |
17076 | * cgraphunit.c: Likewise. | |
17077 | * combine.c: Likewise. | |
17078 | * et-forest.c: Likewise. | |
17079 | * flow.c: Likewise. | |
17080 | * function.c: Likewise. | |
17081 | * ifcvt.c: Likewise. | |
17082 | * integrate.c: Likewise. | |
17083 | * jump.c: Likewise. | |
17084 | * postreload.c: Likewise. | |
17085 | * varray.c: Likewise. | |
17086 | ||
56ae1316 KH |
17087 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17088 | ||
17089 | * doc/frontends.texi: Update copyright. | |
17090 | * doc/gcov.texi: Likewise. | |
17091 | * doc/gty.texi: Likewise. | |
17092 | * doc/sourcebuild.texi: Likewise. | |
17093 | * doc/standards.texi: Likewise. | |
17094 | ||
b1dccb28 HB |
17095 | 2004-01-24 Herman A.J. ten Brugge <hermantenbrugge@home.nl> |
17096 | ||
17097 | PR target/12978 | |
17098 | * c4x.md: (movstrqi*) Use match_scratch instead of match_dup. | |
17099 | Remove movstrqi_small because it conflicts with movstrqi_large. | |
17100 | ||
a2fef3a4 KH |
17101 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17102 | ||
17103 | * config/cris/cris.c (TARGET_PROMOTE_FUNCTION_ARGS): New. | |
17104 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
17105 | (cris_struct_value_rtx): Likewise. | |
17106 | * config/cris/cris.h (PROMOTE_FUNCTION_ARGS): Remove. | |
17107 | (CRIS_STACKADJ_REG): Use CRIS_STRUCT_VALUE_REGNUM instead of | |
17108 | STRUCT_VALUE_REGNUM. | |
17109 | (STRUCT_VALUE_REGNUM): Rename to CRIS_STRUCT_VALUE_REGNUM. | |
17110 | ||
1f44254c ILT |
17111 | 2004-01-24 Ian Lance Taylor <ian@wasabisystems.com> |
17112 | ||
17113 | PR bootstrap/13848 | |
17114 | * cse.c (cse_cc_succs): Change the mode of the source expression | |
17115 | as soon as decide we need a new mode. Don't permit changing modes | |
17116 | if we found a match in a successor block. | |
17117 | (cse_condition_code_reg): Save original mode of source expression | |
17118 | so that we know whether we have to change the mode in other | |
17119 | insns. | |
17120 | ||
fdb1c7b3 JH |
17121 | 2004-01-24 Jan Hubicka <jh@suse.cz> |
17122 | ||
17123 | * emit-rtl.c (change_address, adjust_address_1, offset_address, | |
17124 | widen_memory_access): Return early when there is nothing to change. | |
17125 | ||
5473cfa7 JJ |
17126 | 2004-01-24 Jakub Jelinek <jakub@redhat.com> |
17127 | ||
17128 | * simplify-rtx.c (simplify_relational_operation): Don't | |
17129 | simplify address == constant into address + -constant == 0. | |
17130 | ||
a5153056 KH |
17131 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17132 | ||
17133 | * gcc.c (process_command): Don't internationalize the | |
17134 | Copyright message. | |
17135 | * mips-tfile.c (main): Likewise. | |
17136 | ||
174b84e5 AT |
17137 | 2004-01-24 Andreas Tobler <a.tobler@schweiz.ch> |
17138 | ||
17139 | * cse.c: (cse_cc_succs) Fix comparison warning. | |
17140 | ||
16537909 KH |
17141 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17142 | ||
17143 | * config/h8300/h8300.md: Remove extraneous USE in expanders. | |
17144 | ||
d0022200 KH |
17145 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17146 | ||
17147 | * config/h8300/h8300-protos.h: Provide prototypes for | |
17148 | h8300_legitimate_constant_p and h8300_legitimate_address_p. | |
17149 | * config/h8300/h8300.c (h8300_legitimate_constant_p): New. | |
17150 | (h8300_rtx_ok_for_base_p): Likewise. | |
17151 | (h8300_legitimate_address_p): Likewise. | |
17152 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Use | |
17153 | h8300_legitimate_constant_p. | |
17154 | (RTX_OK_FOR_BASE_P): Remove. | |
17155 | (GO_IF_LEGITIMATE_ADDRESS): Use h8300_legitimate_address_p. | |
17156 | ||
ca04c5a9 KH |
17157 | 2004-01-24 Kazu Hirata <kazu@cs.umass.edu> |
17158 | ||
17159 | * config/h8300/h8300.h (REG_OK_FOR_INDEX_NONSTRICT_P): New. | |
17160 | (REG_OK_FOR_BASE_NONSTRICT_P): Likewise. | |
17161 | (REG_OK_FOR_INDEX_STRICT_P): Likewise. | |
17162 | (REG_OK_FOR_BASE_STRICT_P): Likewise. | |
17163 | (REG_OK_FOR_INDEX_STRICT_P): Use REGNO_OK_FOR_INDEX_P. | |
17164 | (REG_OK_FOR_BASE_STRICT_P): Use REGNO_OK_FOR_BASE_P. | |
17165 | (REG_OK_FOR_INDEX_P): Use REG_OK_FOR_INDEX_STRICT_P. | |
17166 | (REG_OK_FOR_BASE_P): Use REG_OK_FOR_BASE_STRICT_P. | |
17167 | ||
3e2a0bd2 JH |
17168 | 2004-01-24 Jan Hubicka <jh@suse.cz> |
17169 | ||
17170 | * cselib.c (remove_useless_values): Do not access discarded values. | |
17171 | ||
b1adf557 JM |
17172 | 2004-01-24 Joseph S. Myers <jsm@polyomino.org.uk> |
17173 | ||
17174 | * c-typeck.c (build_conditional_expr): Do not allow non-lvalue | |
17175 | arrays. | |
17176 | ||
55cd4633 KH |
17177 | 2004-01-23 Kazu Hirata <kazu@cs.umass.edu> |
17178 | ||
17179 | * recog.c: Fix a typo in copyright. | |
17180 | ||
bbf294a5 AP |
17181 | 2004-01-23 Andrew Pinski <apinski@apple.com> |
17182 | ||
17183 | * config/rs6000/rs6000.md (call): Fix misappiled patch. | |
17184 | (call_value): Likewise. | |
17185 | ||
a475bff7 RH |
17186 | 2004-01-23 Richard Henderson <rth@redhat.com> |
17187 | ||
52ad4d7b ZW |
17188 | PR opt/12941 |
17189 | * combine.c (SHIFT_COUNT_TRUNCATED): Provide default value. | |
17190 | (simplify_comparison): Don't simplify (eq (zero_extract c 1 r) 0) | |
17191 | if SHIFT_COUNT_TRUNCATED is set. | |
a475bff7 | 17192 | |
3712281f BW |
17193 | 2004-01-23 Bob Wilson <bob.wilson@acm.org> |
17194 | ||
17195 | * config/xtensa/xtensa.c (xtensa_va_arg): Handle complex values as | |
17196 | separate real and imaginary parts. | |
17197 | * config/xtensa/xtensa.h (SPLIT_COMPLEX_ARGS): Define. | |
17198 | ||
99e5c00b HP |
17199 | 2004-01-23 Hartmut Penner <hpenner@de.ibm.com> |
17200 | ||
17201 | PR target/13674 | |
17202 | * config/rs6000/rs6000.md (movdf_hardfloat64): Do not disparage | |
17203 | loading into GPR. | |
17204 | ||
8b07361e JH |
17205 | 2004-01-23 Jan Hubicka <jh@suse.cz> |
17206 | ||
a74ff877 JH |
17207 | * emit-rtl.c (change_address_1): Do not re-generate the RTX if nothing |
17208 | change. | |
17209 | ||
8b07361e JH |
17210 | * alloc-pool.c (align_four): Kill. |
17211 | (create_alloc_pool): Align size to eight. | |
17212 | (free_alloc_pool, free_pool): Invalidate deallocated data. | |
17213 | ||
e129d93a ILT |
17214 | 2004-01-23 Ian Lance Taylor <ian@wasabisystems.com> |
17215 | ||
17216 | PR gcc/1532 | |
17217 | * cse.c (cse_change_cc_mode): New static function. | |
17218 | (cse_change_cc_mode_insns, cse_cc_succs): Likewise. | |
17219 | (cse_condition_code_reg): New function. | |
17220 | * rtl.h (cse_condition_code_reg): Declare. | |
17221 | * toplev.c (rest_of_handle_cse2): Call cse_condition_code_reg. | |
17222 | * target.h (struct gcc_target): Add fixed_condition_code_regs and | |
17223 | cc_modes_compatible. | |
17224 | * target-def.h (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
17225 | (TARGET_CC_MODES_COMPATIBLE): Define. | |
17226 | (TARGET_INITIALIZER): Add new initializers. | |
17227 | * targhooks.c (default_cc_modes_compatible): New function. | |
17228 | * targhooks.c (default_cc_modes_compatible): Declare. | |
17229 | * hooks.c (hook_bool_intp_intp_false): New function. | |
17230 | * hooks.h (hook_bool_intp_intp_false): Declare. | |
17231 | * config/i386/i386.c (TARGET_FIXED_CONDITION_CODE_REGS): Define. | |
17232 | (TARGET_CC_MODES_COMPATIBLE): Define. | |
17233 | (ix86_fixed_condition_code_regs): New static function. | |
17234 | (ix86_cc_modes_compatible): Likewise. | |
17235 | * doc/tm.texi (Condition Code): Document new hooks. | |
17236 | ||
f6c930a3 RO |
17237 | 2004-01-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
17238 | ||
17239 | * fixinc/inclhack.def (bad_lval): Renamed to ... | |
17240 | (alpha_bad_lval): ... this. | |
17241 | Removed file list. | |
17242 | Restrict to alpha*-dec-osf*. | |
17243 | * fixinc/fixincl.x: Regenerate. | |
17244 | * fixinc/tests/base/dirent.h: Remove, moving test ... | |
17245 | * fixinc/tests/base/testing.h: ... here, reflecting new name. | |
17246 | ||
04b8f97f ZW |
17247 | 2004-01-23 Zack Weinberg <zack@codesourcery.com> |
17248 | ||
30cab869 | 17249 | PR c/13814 |
04b8f97f ZW |
17250 | * c-decl.c (diagnose_mismatched_decls): Also discard a |
17251 | built-in if we encounter an old-style definition with the | |
17252 | same name. | |
17253 | ||
1ab1739c JJ |
17254 | 2004-01-23 Jakub Jelinek <jakub@redhat.com> |
17255 | ||
17256 | * config.gcc (powerpc*-*): Clear $with_cpu or $with_tune if it was | |
17257 | set to default{32,64}. | |
17258 | ||
02731d29 JJ |
17259 | 2004-01-21 Jakub Jelinek <jakub@redhat.com> |
17260 | ||
17261 | * config/rs6000/linux64.h (MD_FALLBACK_FRAME_STATE_FOR) | |
17262 | [!__powerpc64__]: Corrected to handle kernels with changed ucontext. | |
17263 | ||
0a944ef6 | 17264 | 2004-01-23 Eric Botcazou <ebotcazou@act-europe.fr> |
04b8f97f | 17265 | Olivier Hainque <hainque@act-europe.fr> |
0a944ef6 EB |
17266 | |
17267 | * fold-const.c (fold_binary_op_with_conditional_arg): Only | |
17268 | build a COMPOUND_EXPR if 'arg' is really a SAVE_EXPR. | |
17269 | ||
0bfb39ef DJ |
17270 | 2004-01-23 Daniel Jacobowitz <drow@mvista.com> |
17271 | ||
17272 | * config/arm/arm.c (arm_legitimate_address_p): Don't check the mode | |
17273 | size for minipool references. | |
17274 | ||
25348c94 RS |
17275 | 2004-01-23 Roger Sayle <roger@eyesopen.com> |
17276 | ||
17277 | * real.c (real_floor, real_ceil): Tweak to allow input and output | |
17278 | arguments to overlap. | |
17279 | (real_round): New function to implement round(3m) semantics. | |
17280 | * real.h (real_round): Prototype here. | |
17281 | * builtins.c (fold_builtin_round): New function to constant fold | |
17282 | round, roundf and roundl. | |
17283 | (fold_builtin): Call fold_builtin_round for BUILT_IN_ROUND{,F,L}. | |
17284 | ||
0f2b41b2 AO |
17285 | 2004-01-23 Alexandre Oliva <aoliva@redhat.com> |
17286 | ||
17287 | PR optimization/13819 | |
04b8f97f | 17288 | * config/sh/sh.c (sh_reorg): Compensate for sharing of CLOBBERs |
0f2b41b2 AO |
17289 | introduced by 2004-01-20's Jan Hubicka's copy_insn change. |
17290 | (sh_handle_sp_switch_attribute): Remove warning. | |
17291 | ||
94632047 | 17292 | 2004-01-23 Jan Hubicka <jh@suse.cz> |
72613dfa JH |
17293 | |
17294 | * i386.c (ix86_emit_restore_regs_using_mov): Deal with large offsets. | |
17295 | ||
7be4d808 R |
17296 | 2004-01-23 J"orn Rennecke <joern.rennecke@superh.com> |
17297 | ||
17298 | * doc/tm.texi: Insert some weasel words when LOAD_EXTEND_OP | |
17299 | may or may not return non-NIL. | |
17300 | * postreload.c (reload_cse_simplify_operands): In LOAD_EXTEND_OP code, | |
17301 | check CANNOT_CHANGE_MODE_CLASS | |
17302 | ||
23bd7a93 JH |
17303 | 2004-01-23 Jan Hubicka <jh@suse.cz> |
17304 | ||
17305 | * basic-block.h (PROP_POSTRELOAD): New macro. | |
17306 | (CLEANUP_LOG_LINKS): New. | |
17307 | * cfgcleanup.c (cleanup_cfg): Only PROP_LOG_LINKS when asked to. | |
17308 | * toplev.c (rest_of_handle_life): Preserve LOG_LINKS trought cleanup_cfg. | |
17309 | ||
17310 | * cselib.c (value_pool): New. | |
17311 | (new_cselib_val): Use pool. | |
17312 | (cselib_init): Initialize value_pool | |
17313 | (cselib_finish): Free pool. | |
17314 | ||
5c4f4b18 EB |
17315 | 2004-01-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
17316 | ||
17317 | * config/sparc/sparc.c (scan_record_type): New function. | |
17318 | (function_arg_slotno): Use it to determine which kinds of | |
17319 | registers the record can be passed in. | |
17320 | ||
95f576c1 JM |
17321 | 2004-01-22 James A. Mmorrison <ja2morri@uwaterloo.ca> |
17322 | ||
17323 | * config/pa/fptr.c: Fix old-style definition. | |
17324 | ||
4c442790 PB |
17325 | 2004-01-22 Paolo Bonzini <bonzini@gnu.org> |
17326 | ||
17327 | PR optimization/13724 | |
17328 | * cse.c (fold_rtx) <SUBREG>: Fold a SUBREG to zero if it | |
17329 | represents the zero bits produced by a ZERO_EXTEND operation. | |
17330 | ||
dc4bbaf7 RS |
17331 | 2004-01-22 Roger Sayle <roger@eyesopen.com> |
17332 | ||
17333 | PR optimization/13821 | |
17334 | * simplify-rtx.c (simplify_subreg): Use subreg_lowpart_offset to | |
17335 | correctly calculate the lowpart offset of the contracted subreg. | |
17336 | ||
b00567b0 ILT |
17337 | 2004-01-22 Ian Lance Taylor <ian@wasabisystems.com> |
17338 | ||
17339 | * doc/invoke.texi (Optimize Options): Note that --param arguments | |
17340 | are subject to change without notice. | |
17341 | ||
d0d969f8 RO |
17342 | 2004-01-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
17343 | ||
17344 | * config.gcc (mips-sgi-irix6*o32): Removed. | |
17345 | * config/mips/iris6-o32-as.h: Likewise. | |
17346 | * config/mips/iris6-o32-gas.h: Likewise. | |
17347 | * config/mips/iris6-o32.h: Likewise. | |
17348 | ||
7cf240d5 JH |
17349 | 2004-01-22 Jan Hubicka <jh@suse.cz> |
17350 | ||
17351 | * cfgcleanup.c (first_pass): New static variable. | |
17352 | (try_forward_edges): Add work limiting check for threading. | |
17353 | (try_crossjump_bb): Add work limiting check for crossjumping. | |
17354 | (try_optimize_cfg): Maintain first pass variable. | |
17355 | ||
b16417d6 BW |
17356 | 2004-01-22 Bob Wilson <bob.wilson@acm.org> |
17357 | ||
17358 | * config/xtensa/xtensa.c (function_arg): Generalize logic so that it | |
17359 | handles complex and vector modes. | |
17360 | ||
c8796654 KH |
17361 | 2004-01-22 Kazu Hirata <kazu@cs.umass.edu> |
17362 | ||
17363 | * config/h8300/h8300.h (REG_OK_FOR_INDEX_P_STRICT): Remove. | |
17364 | (REG_OK_FOR_BASE_P_STRICT): Likewise. | |
17365 | (STRICT): Likewise. | |
17366 | ||
10176e28 DJ |
17367 | 2004-01-22 Daniel Jacobowitz <drow@mvista.com> |
17368 | ||
17369 | * c-semantics.c (genrtl_while_stmt, genrtl_do_stmt_1) | |
17370 | (genrtl_for_stmt): Remove emit_nop calls. | |
17371 | ||
7bff636b JDA |
17372 | 2004-01-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17373 | ||
17374 | PR target/13713 | |
17375 | PR target/13324 | |
17376 | * pa.md (movstrsi_prereload, movstrsi_postreload, movstrdi_prereload, | |
17377 | movstrdi_postreload, clrstrsi_prereload, clrstrsi_postreload, | |
17378 | clrstrdi_prereload, clrstrdi_postreload): Fix constraints. | |
17379 | ||
980e61bb DJ |
17380 | 2004-01-22 Daniel Jacobowitz <drow@mvista.com> |
17381 | ||
17382 | * config/arm/arm.c: Include "debug.h". | |
04b8f97f | 17383 | (thumb_pushpop): Take two new arguments. Add some commentary. |
980e61bb DJ |
17384 | Output frame information when pushing. |
17385 | (thumb_exit, thumb_unexpanded_epilogue): Update calls to | |
17386 | thumb_pushpop. | |
17387 | (thumb_output_function_prologue): Likewise. Accumulate a CFA | |
17388 | offset, and pass it to thumb_pushpop. Output CFI information. | |
17389 | (thumb_expand_prologue): Add some frame-related markers and notes. | |
17390 | ||
0067d121 UW |
17391 | 2004-01-22 Ulrich Weigand <uweigand@de.ibm.com> |
17392 | ||
17393 | * config/s390/s390.c (s390_frame_info): Allow large frame sizes | |
17394 | for TARGET_64BIT. | |
17395 | (s390_arg_frame_offset): Change return type to HOST_WIDE_INT. | |
17396 | * config/s390/s390-protos.h (s390_arg_frame_offset): Likewise. | |
17397 | ||
bb51e270 RS |
17398 | 2004-01-22 Roger Sayle <roger@eyesopen.com> |
17399 | Paolo Bonzini <bonzini@gnu.org> | |
17400 | ||
17401 | * rtlanal.c (subreg_lsb_1): New function split out from subreg_lsb. | |
17402 | (subreg_lsb): Change to call new subreg_lsb_1 helper function. | |
17403 | * rtl.h (subreg_lsb_1): Prototype here. | |
17404 | * simplify-rtx.c (simplify_subreg): Optimize subregs of zero and | |
17405 | sign extensions. | |
17406 | ||
9c49953c KH |
17407 | 2004-01-22 Kazu Hirata <kazu@cs.umass.edu> |
17408 | ||
17409 | * doc/tm.texi (CASE_VECTOR_PC_RELATIVE): Mention that the | |
17410 | macro need not be defined if jump-tables should contain | |
17411 | relative addresses only when -fPIC or -fPIC is in effect. | |
17412 | ||
c582d54a JH |
17413 | 2004-01-22 Jan Hubicka <jh@suse.cz> |
17414 | ||
17415 | * alias.c (reg_base_value): Turn into varray. | |
17416 | (reg_base_value_size): Kill. | |
17417 | (old_reg_base_value): New deletable varray. | |
17418 | (alias_invariant_size): New variable. | |
17419 | (REG_BASE_VALUE): Update to use varray. | |
17420 | (find_base_value): Likewise. | |
17421 | (record_set): Likewise. | |
17422 | (record_base_value): Likewise. | |
17423 | (memrefs_conflict_p): Likewise. | |
17424 | (record_set): Likewise | |
17425 | (record_base_value): Likewise. | |
17426 | (memrefs_conflict_p): Use alias_invariant_size. | |
17427 | (init_alias_analysis): Use varray; set alias_invariant_size; | |
17428 | rescale other arrays to be sized by maxreg. | |
17429 | (end_alias_analysis): Save reg_base_value; clear alias_invariant_size. | |
17430 | ||
8a98812c EB |
17431 | 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
17432 | ||
17433 | * config/sparc/sparc.c (function_arg_slotno): Use | |
17434 | FLOAT_TYPE_P to detect FP fields in structures. | |
17435 | (function_arg_record_value_1): Likewise. | |
17436 | (function_arg_record_value_2): Likewise. | |
17437 | ||
0de456a5 JH |
17438 | 2004-01-22 Jan Hubicka <jh@suse.cz> |
17439 | ||
17440 | * function.c (allocate_struct_function): Do not initialize expr, emit | |
17441 | and varasm. | |
17442 | (prepare_function_start): Do it here. | |
17443 | * c-parse.in (maybe_type_qual): Do not produce line number notes. | |
17444 | ||
1fd05073 EB |
17445 | 2004-01-22 Eric Botcazou <ebotcazou@libertysurf.fr> |
17446 | ||
17447 | PR target/13559 | |
17448 | * config/sparc/sparc.c (function_arg_record_value_3): Revert | |
17449 | to 'word_mode' once the first slot has been filled. | |
17450 | ||
b2f24c85 EB |
17451 | 2004-01-22 Olivier Hainque <hainque@act-europe.fr> |
17452 | ||
17453 | * config/sparc/sparc.c (function_arg_record_value_1): Fix | |
17454 | computation of the number of integer registers required. | |
17455 | ||
b4e0dd8e KH |
17456 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
17457 | ||
17458 | * config/i386/i386.md: Simplify certain comparisons of | |
17459 | const_int. | |
17460 | ||
5cc5eddc AP |
17461 | 2004-01-21 Andrew Pinski <apinski@apple.com> |
17462 | ||
17463 | PR target/13785 | |
04b8f97f | 17464 | * config/rs6000/rs6000.md (call_value): Force operand |
5cc5eddc AP |
17465 | 1 not operand 0 into a register. |
17466 | ||
711d8c91 KH |
17467 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
17468 | ||
17469 | * cpperror.c, cpptrad.c, longlong.h, params.def, rtl.def, | |
17470 | unwind-dw2-fde.h: Update copyright. | |
17471 | ||
d1885651 JDA |
17472 | 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17473 | ||
17474 | * pa-protos.h: Update copyright. | |
17475 | * pa.h: Likewise. | |
17476 | * pa.md: Likewise. | |
17477 | ||
40ca90bf | 17478 | 2004-01-21 Caroline Tice <ctice@apple.com> |
ec13ba83 | 17479 | |
6ed854f1 | 17480 | PR target/12308 |
04b8f97f | 17481 | * config/i386/i386.md (fix_truncxfdi2): Add clause to clobber |
ec13ba83 CT |
17482 | flags register. |
17483 | (fix_truncdfdi2): Likewise. | |
17484 | (fix_truncsfdi2): Likewise. | |
17485 | (*fix_truncdi_1): Likewise. | |
17486 | (fix_truncxfsi2): Likewise. | |
17487 | (fix_truncdfsi2): Likewise. | |
17488 | (fix_truncsfsi2): Likewise. | |
17489 | (*fix_truncsi_1): Likewise. | |
17490 | (fix_truncxfhi2): Likewise. | |
17491 | (fix_truncdfhi2): Likewise. | |
17492 | (fix_truncsfhi2): Likewise. | |
17493 | (*fix_trunchi_1): Likewise. | |
04b8f97f | 17494 | |
d9221e01 KH |
17495 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
17496 | ||
17497 | * alias.c, basic-block.h, c-common.c, c-common.h, | |
17498 | c-cppbuiltin.c, c-opts.c, c-pragma.c, c-pretty-print.c, | |
17499 | calls.c, cfg.c, cfgcleanup.c, cfgrtl.c, cgraph.h, collect2.c, | |
17500 | combine.c, cppcharset.c, cpphash.h, cppinit.c, cpplib.c, | |
17501 | cpplib.h, cppmacro.c, crtstuff.c, cselib.c, cselib.h, | |
17502 | defaults.h, df.c, dominance.c, et-forest.c, expmed.c, expr.c, | |
17503 | expr.h, fix-header.c, function.h, gcc.c, gcse.c, genattrtab.c, | |
17504 | genautomata.c, genconditions.c, genemit.c, genflags.c, | |
17505 | gengtype.c, gengtype.h, genopinit.c, genrecog.c, gensupport.c, | |
17506 | ggc-zone.c, graph.c, haifa-sched.c, input.h, integrate.c, | |
17507 | langhooks-def.h, langhooks.c, langhooks.h, line-map.c, | |
17508 | line-map.h, local-alloc.c, optabs.c, optabs.h, postreload.c, | |
17509 | ra.h, recog.c, reg-stack.c, regmove.c, reload.c, reorg.c, | |
17510 | rtl.c, sched-deps.c, sched-ebb.c, sdbout.c, system.h, | |
17511 | target.h, targhooks.c, toplev.h, tree-inline.c, unwind-pe.h, | |
17512 | unwind.h, varray.c, varray.h: Update copyright. | |
17513 | ||
6d6b0a12 KH |
17514 | 2004-01-21 Kazu Hirata <kazu@cs.umass.edu> |
17515 | ||
17516 | * config/h8300/coff.h: Update copyright. | |
17517 | * config/h8300/elf.h: Likewise. | |
17518 | * config/h8300/h8300-protos.h: Likewise. | |
17519 | * config/h8300/h8300.c: Likewise. | |
17520 | * config/h8300/h8300.h: Likewise. | |
17521 | * config/h8300/h8300.md: Likewise. | |
17522 | ||
4b60eb3b JDA |
17523 | 2004-01-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17524 | ||
17525 | * fixinc/inclhack.def (hpux10_stdio_declarations, ultrix_const3, | |
17526 | ultrix_locale, ultrix_stdlib, ultrix_strings, ultrix_sys_time, | |
17527 | ultrix_unistd): New hacks. | |
17528 | * fixinc/tests/base/stdio.h (HPUX10_STDIO_DECLARATIONS_CHECK, | |
17529 | ULTRIX_CONST2_CHECK): Add checks. | |
17530 | * fixinc/tests/base/stdlib.h (ULTRIX_STDLIB_CHECK): Likewise. | |
17531 | * fixinc/tests/base/strings.h (ULTRIX_STRINGS2_CHECK): Likewise. | |
17532 | * fixinc/tests/base/unistd.h (ULTRIX_UNISTD_CHECK): Likewise. | |
17533 | * fixinc/tests/base/sys/time.h (ULTRIX_SYS_TIME_CHECK): Likewise. | |
17534 | * fixinc/tests/base/locale.h: New file. | |
17535 | * fixinc/fixincl.x: Rebuilt. | |
17536 | ||
bbf5a54d AJ |
17537 | 2004-01-21 Andreas Jaeger <aj@suse.de> |
17538 | Michael Matz <matz@suse.de> | |
17539 | ||
17540 | * doc/extend.texi (Extended Asm): Clarify memory clobber. | |
17541 | ||
bfccaa6f JJ |
17542 | 2004-01-21 Jakub Jelinek <jakub@redhat.com> |
17543 | ||
17544 | * crtstuff.c (frame_dummy, __do_global_ctors_1): Call | |
17545 | _Jv_RegisterClasses through a function pointer. | |
17546 | ||
c3cda381 FH |
17547 | 2004-01-21 Falk Hueffner <falk@debian.org> |
17548 | ||
17549 | PR target/12898 | |
17550 | * config/alpha/alpha.c (alpha_emit_set_const_1): If | |
17551 | no_new_pseudos, use gen_rtx_SET directly for SImode constants | |
17552 | which need multiple instructions to emit. | |
17553 | ||
2a2001be IK |
17554 | 2004-01-21 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com> |
17555 | ||
17556 | * config/m32r/m32r.h (CPP_SPEC): Define. | |
17557 | ||
1ef82ef2 ZW |
17558 | 2004-01-21 Zack Weinberg <zack@codesourcery.com> |
17559 | ||
17560 | * c-decl.c (merge_decls): Kill different_binding_level and | |
17561 | different_tu arguments; simplify throughout. | |
17562 | (duplicate_decls): Likewise. | |
17563 | (pushdecl, merge_translation_unit_decls): Update calls to | |
17564 | duplicate_decls. | |
17565 | ||
13544b81 KG |
17566 | 2004-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
17567 | ||
17568 | * Makefile.in (pretty-print.o): Depend on $(CONFIG_H) and | |
17569 | $(SYSTEM_H). | |
17570 | (print-rtl1.o): Depend on $(SYSTEM_H). | |
17571 | ||
a541f69d KC |
17572 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
17573 | ||
17574 | PR bootstrap/12730 | |
17575 | * configure.ac: Delete definition and subsitution of docdir. | |
17576 | Add info, man, srcman and srcinfo to target hooks. Create doc/ | |
17577 | directory. | |
17578 | * configure: Regenerate. | |
17579 | * Makefile.in: Don't substitute docdir and delete all references | |
17580 | throughout. | |
17581 | (MAKEINFOFLAGS): Define. | |
17582 | (stmp-docobjdir): Delete. | |
17583 | (INFOFILES, MANFILES): Define. | |
17584 | (info): Call lang.info, srcinfo and lang.srcinfo. | |
17585 | (generated-manpages): Call lang.man, srcman and lang.srcman. | |
17586 | (srcinfo, srcman): New rules to copy back files to source directory. | |
17587 | (doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule. | |
17588 | (install-man): Revamp rule. | |
17589 | (clean): Update dvi directory. | |
17590 | (distclean): Delete TAGS from front end directorys. | |
17591 | (maintainer-clean): Delete all document files in source directory. | |
17592 | ||
17593 | objc/Make-lang.in (objc.man, objc.info): Dummy entries. | |
17594 | (objc.srcman, objc.srcinfo): Likewise. | |
17595 | ||
793146e3 BK |
17596 | 2004-01-20 Bruce Korb <bkorb@gnu.org> |
17597 | ||
17598 | * fixinc/inclhack.def(math_exception): bypass only for glibc. | |
17599 | (matherr_decl): rename & relocate as exception_structure. | |
17600 | This fix must precede the math_exception fix. | |
17601 | ||
fdb33708 RS |
17602 | 2004-01-20 Roger Sayle <roger@eyesopen.com> |
17603 | ||
17604 | * fold-const.c (fold_convert): Rename to fold_convert_const. | |
17605 | (fold_convert_const): Change arguments to take a tree_code, | |
17606 | a type and the operand/expression to be converted. Return | |
17607 | NULL_TREE if no simplification is possible. Add support for | |
17608 | FIX_CEIL_EXPR and FIX_FLOOR_EXPR in addition to FIX_TRUNC_EXPR. | |
17609 | (fold): Handle FIX_CEIL_EXPR and FIX_FLOOR_EXPR. | |
17610 | Adjust call to fold_convert to match new fold_convert_const. | |
17611 | Avoid modifying the tree passed to fold in-place. | |
17612 | ||
34c80057 AM |
17613 | 2004-01-21 Alan Modra <amodra@bigpond.net.au> |
17614 | ||
17615 | * config/rs6000/sysv4.h (DWARF2_FRAME_REG_OUT): Define. | |
17616 | * dwarf2out.c (output_cfi): Map regs using DWARF2_FRAME_REG_OUT. | |
17617 | * doc/tm.texi (DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Document. | |
17618 | ||
a4295210 JDA |
17619 | 2004-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17620 | ||
17621 | * pa-protos.h (compute_frame_size): Use HOST_WIDE_INT for frame sizes. | |
17622 | * pa.c (store_reg, store_reg_modify, load_reg, set_reg_plus_d): | |
17623 | Likewise. Handle frames larger than 0x7fffffff on 64-bit ports. | |
17624 | (emit_move_sequence): Check scratch_reg first in various if statements. | |
17625 | Extend source simplification to handle all 64-bit CONST_INTs. | |
17626 | (pa_output_function_prologue): Use HOST_WIDE_INT_PRINT_DEC for printing | |
17627 | frame size. | |
17628 | (hppa_expand_prologue, hppa_expand_epilogue): Use HOST_WIDE_INT for | |
17629 | frame offset calculations. | |
17630 | * pa.h (NEW_HP_ASSEMBLER): Add comment. | |
17631 | (MAX_LEGIT_64BIT_CONST_INT, MIN_LEGIT_64BIT_CONST_INT, | |
17632 | LEGITIMATE_64BIT_CONST_INT_P): Define. | |
17633 | (LEGITIMATE_CONSTANT_P): Use LEGITIMATE_64BIT_CONST_INT_P. Treat | |
17634 | any CONST_INT as legitimate during and after reload. | |
17635 | (VAL_32_BITS_P, INT_32_BITS): Define. | |
17636 | (LEGITIMIZE_RELOAD_ADDRESS): Handle large frame offsets. | |
17637 | ||
3e89ed8d JH |
17638 | 2004-01-20 Jan Hubicka <jh@suse.cz> |
17639 | ||
17640 | * emit-rtl.c (verify_rtx_sharing, copy_insn_1, | |
17641 | emit_copy_of_insn_after, emit_copy_of_insn_after): Clobbers | |
17642 | containing hard regs are shared. | |
17643 | (gen_hard_reg_clobber): New function. | |
17644 | (hard_reg_clobbers): New array. | |
17645 | * genemit.c (gen_exp): Use gen_hard_reg_clobber. | |
17646 | (copy_rtx): Do not copy clobbers containing hard regs. | |
17647 | * rtl.h (gen_hard_reg_clobber): Declare. | |
17648 | ||
9b57b627 JH |
17649 | 2004-01-20 Jan Hubicka <jh@suse.cz> |
17650 | ||
17651 | * varray.c: Include hashtab.h | |
17652 | (varray_descriptor): New structure. | |
17653 | (hash_descriptor, eq_descriptor, varray_descriptor, | |
17654 | print_statistics): New static functions | |
17655 | (varray_init, varray_grow): Update statistics | |
17656 | (dump_varray_statistics): New function. | |
17657 | * varray.h (dump_varray_statistics): Declare. | |
17658 | * toplev.c (finalize): Call it. | |
17659 | * Makefile.in (varray.o): Add dependency. | |
17660 | ||
6a59927d JH |
17661 | 2004-01-20 Jan Hubicka <jh@suse.cz> |
17662 | ||
17663 | * cselib.c: Include alloc-pool.h | |
17664 | (empty_vals, empty_elt_lists, empty_elt_loc_lists): Kill. | |
17665 | (elt_loc_list_pool, elt_list_pool, cselib_val_pool): Declare. | |
17666 | (new_elt_list, new_elt_loc_list, unchain_one_elt_list, | |
17667 | unchain_one_elt_loc_list_pool, unchain_one_value, | |
17668 | new_cselib_val): Simplify using allocpool. | |
17669 | (cselib_init): Initialize allocpools. | |
17670 | (cselib_finish): Finish allocpools. | |
17671 | * Makefile.in (cselib.o): Depend on alloc-pool.h | |
17672 | ||
3c53850d RS |
17673 | 2004-01-20 Richard Sandiford <rsandifo@redhat.com> |
17674 | ||
17675 | * config/mips/mips.c (mips_load_call_address): Make the call insn | |
17676 | use $gp if it could be calling a lazy binding stub. | |
17677 | ||
101ad855 KH |
17678 | 2004-01-20 Kazu Hirata <kazu@cs.umass.edu> |
17679 | ||
17680 | * config/s390/s390.c (TARGET_PROMOTE_FUNCTION_ARGS): Define. | |
17681 | (TARGET_PROMOTE_FUNCTION_RETURN): Likewise. | |
17682 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
17683 | * config/s390/s390.h (PROMOTE_FUNCTION_ARGS): Remove. | |
17684 | (PROMOTE_FUNCTION_RETURN): Remove. | |
17685 | (STRUCT_VALUE): Remove. | |
17686 | ||
c099ba28 DC |
17687 | 2004-01-20 Denis Chertykov <denisc@overta.ru> |
17688 | ||
03b82c00 | 17689 | PR bootstrap/13735 |
c099ba28 DC |
17690 | * config/avr/avr.h (BASE_REG_CLASS): Don't permit to use X |
17691 | register as pointer after reload. | |
17692 | ||
c8b6fae3 ZD |
17693 | 2004-01-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
17694 | ||
17695 | PR optimization/12440 | |
17696 | * loop.c: Include ggc.h. | |
17697 | (loop_optimize): Run garbage collector between optimization of loops. | |
17698 | * Makefile.in (loop.o): Add GGC_H dependency. | |
17699 | ||
c72d6c26 HP |
17700 | 2004-01-20 Hartmut Penner <hpenner@de.ibm.com> |
17701 | ||
1ef82ef2 | 17702 | * gcc/config/rs6000/rs6000.c (function_arg) Handle |
c72d6c26 HP |
17703 | vector register special in function without prototype. |
17704 | (function_arg_advance): Vector parameters get always | |
17705 | GPRs allocated for the linux64 target. | |
17706 | ||
91e736f9 KI |
17707 | 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
17708 | ||
17709 | * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK | |
17710 | not TARGET_M32RX_MASK. | |
17711 | ||
4043d6fb EB |
17712 | 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr> |
17713 | ||
17714 | PR target/13557 | |
17715 | * config/sparc/sparc.c (function_arg): Reorder the cases. | |
17716 | ||
50f59cd7 PB |
17717 | 2004-01-19 Per Bothner <per@bothner.com> |
17718 | ||
17719 | Move cpp_reader's line_maps field to a shared global. | |
17720 | * cpphash.h (cpp_reader): Rename line_maps field to line_table | |
17721 | and change the type to a pointer rather than a struct. | |
17722 | * cppinit.c (cpp_push_main_field): Adjust accordingly. | |
17723 | * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks): | |
17724 | Likewise. | |
17725 | * cppfiles.c (validate_pch): Likewise. | |
17726 | * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text): | |
17727 | Likewise. | |
17728 | * cpperror.c (print_location): Likewise. | |
17729 | * cpplib.h (cpp_create_reader): New line_maps pointer parameter. | |
17730 | * cppinit.c (cpp_create_reader): Handle new parameter. | |
17731 | (cpp_destroy): Don't free line_maps - that's no longer our job. | |
17732 | * input.h (line_table): New variable. | |
17733 | * toplev.c (line_table): Declare variable. | |
17734 | (general_init): Initialize line_table. | |
17735 | * c-opts.c (c_common_init_options): Pass line_table to | |
17736 | cpp_create_reader. | |
17737 | * fix-header.c (read_scan_file): New local variable line_table. | |
17738 | Initialize, and pass it to cpp_create_reader. | |
17739 | * Makefile.in (LIBS, LIBDEPS): Add libcpp.a. | |
17740 | (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a. | |
17741 | ||
17742 | 2004-01-19 Per Bothner <per@bothner.com> | |
9132fbb7 PB |
17743 | |
17744 | Implement a cache for linemap_lookup. | |
17745 | * line-map.h (struct_line_maps): Add cache field. | |
17746 | * line-map.c (linemap_init): Zero cache field. | |
17747 | (linemap_add): Set cache field to offset of newly allocated map. | |
17748 | (linemap_lookup): Use and set cache field. | |
17749 | ||
26d107db KK |
17750 | 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org> |
17751 | ||
17752 | PR optimization/13567 | |
17753 | * cse.c (cse_basic_block): Call cse_insn with a non-null | |
17754 | libcall_insn for the last SET insn of a no-confilict block. | |
17755 | ||
e165d61b KC |
17756 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
17757 | ||
1ef82ef2 | 17758 | * Makefile.in (target_noncanonical, program_transform_name): Use |
e165d61b | 17759 | immediate define instead of deferred. |
1ef82ef2 | 17760 | (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME, |
e165d61b KC |
17761 | PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME, |
17762 | GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of | |
17763 | deferred backquote. | |
17764 | ||
53cd18ec JM |
17765 | 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk> |
17766 | ||
17767 | * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to | |
17768 | true unconditionally. | |
17769 | * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning): | |
17770 | Remove. | |
17771 | (build_unary_op, build_modify_expr): Don't handle extended | |
17772 | lvalues. | |
17773 | (build_component_ref, build_conditional_expr): Call non_lvalue | |
17774 | instead of pedantic_non_lvalue. | |
17775 | (build_c_cast): Don't condition use of non_lvalue on pedantic. | |
17776 | * fold-const.c (fold): Don't check pedantic directly for | |
17777 | COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are | |
17778 | passed to pedantic_non_lvalue. | |
17779 | * doc/extend.texi: Remove documentation of extended lvalues. | |
17780 | ||
9ce79a7a RS |
17781 | 2004-01-19 Roger Sayle <roger@eyesopen.com> |
17782 | ||
17783 | PR optimization/5263 | |
17784 | * simplify-rtx.c (associative_constant_p): Delete. | |
17785 | (simplify_associative_operation): Rewrite to linearize terms, and | |
17786 | attempt to simplify new term against both left and right subterms. | |
17787 | (simplify_binary_operation): Call swap_commutative_operands_p on | |
17788 | op0 and op1, not trueop0 and trueop1. Move the initialization of | |
17789 | trueop0 and trueop1 down to where first needed. | |
17790 | (simplify_relational_operation): Likewise. | |
17791 | * rtlanal.c (commutative_operand_precedence): Also order constant | |
17792 | operands using avoid_constant_pool_reference. | |
17793 | ||
62e88293 RH |
17794 | 2004-01-19 Richard Henderson <rth@redhat.com> |
17795 | ||
1ef82ef2 ZW |
17796 | * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN, |
17797 | don't check memory mode. | |
17798 | (unaligned_memory_operand): Likewise. | |
17799 | (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't | |
17800 | abort for op0 not MEM. | |
62e88293 | 17801 | |
1ef82ef2 ZW |
17802 | * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination |
17803 | is not a reg, copy to a scratch first. | |
17804 | (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi, | |
17805 | unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le, | |
17806 | unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG. | |
17807 | (reload_inqi, reload_inhi): Fix mode of op0. | |
17808 | (reload_inqi_help, reload_inhi_help, reload_outqi_help, | |
17809 | reload_outhi_help): Likewise. Use define_insn_and_split. | |
62e88293 | 17810 | |
1ef82ef2 ZW |
17811 | * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN |
17812 | as well as $29 dead. | |
62e88293 | 17813 | |
2f3321ca EB |
17814 | 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr> |
17815 | ||
17816 | * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit | |
17817 | "tls_object" for thread-local objects. | |
17818 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit | |
17819 | "#tls" for thread-local sections. | |
17820 | * configure.ac (thread-local checks): Specify --fatal-warnings in | |
17821 | every binutils-specific checks. For sparc*-*-*, test whether the | |
17822 | OS is Solaris and the tools are native and act accordingly. | |
17823 | * configure: Rebuild. | |
17824 | ||
6fe37bc4 JL |
17825 | 2004-01-19 Jeff Law <law@redhat.com> |
17826 | ||
17827 | * contrib.texi: Update Paolo Carlini's entry. New entries for | |
17828 | Jerry Quinn and Petur Runolfsson. | |
1ef82ef2 | 17829 | |
68f48f39 RS |
17830 | 2004-01-19 Roger Sayle <roger@eyesopen.com> |
17831 | ||
17832 | * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for | |
17833 | size, don't use the larger zero-extending loads. | |
17834 | ||
5c9948f4 RH |
17835 | 2004-01-19 Richard Henderson <rth@redhat.com> |
17836 | ||
17837 | * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs. | |
17838 | * alpha.md (UNSPEC_NT_LDA): Remove. | |
17839 | (UNSPEC_CVTLQ, cvtlq): New. | |
17840 | (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f. | |
17841 | (extendsidi2_fix): Remove. | |
17842 | (extendsidi2 splitter): Use cvtlq. | |
17843 | (extendsidi2 fp peepholes): Remove. | |
17844 | (cvtql): Use SFmode instead of SImode. | |
17845 | (fix_trunc?fsi): Update to match. | |
17846 | (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New. | |
17847 | (movsi): Rename from movsi_nofix, remove f alternatives. | |
17848 | (movsi_nt_vms): Similarly. | |
17849 | (movsi_fix, movsi_nt_vms_fix): Remove. | |
17850 | (nt_lda): Remove. | |
17851 | * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda. | |
17852 | ||
9b0436b7 JH |
17853 | 2004-01-19 Jan Hubicka <jh@suse.cz> |
17854 | ||
17855 | * cgraph.c (cgraph_remove_node): Fix removal from linked list. | |
17856 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed | |
17857 | list. | |
17858 | (cgraph_remove_unreachable_nodes): New function | |
17859 | (cgraph_decide_inlining_of_small_function): Fix pasto. | |
17860 | (cgraph_decide_inlining_incrementally): Fix pasto. | |
17861 | (cgrpah_decide_inlining): Likewise; remove unreachable nodes. | |
17862 | ||
8c80adb7 SB |
17863 | 2004-01-19 Steven Bosscher <stevenb@suse.de> |
17864 | ||
17865 | * gengtype.c (header_file): Make it static. | |
17866 | (write_types_process_field, write_enum_defn): Minor whitespace fixes. | |
17867 | * gengtype.h (header_file): No longer extern. | |
17868 | ||
0ede749d KH |
17869 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
17870 | ||
17871 | * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default. | |
17872 | * expr.c (CASE_VECTOR_PC_RELATIVE): Remove. | |
17873 | * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise. | |
17874 | ||
41cbdcd0 KH |
17875 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
17876 | ||
17877 | * stmt.c (HAVE_casesi): Define it not already defined. | |
17878 | (HAVE_tablejump): Likewise. | |
17879 | (expand_end_case_type): Resort to the binary tree method if | |
17880 | neither casesi or tablejump is available. | |
17881 | ||
5cfc5f84 DJ |
17882 | 2004-01-18 Daniel Jacobowitz <drow@mvista.com> |
17883 | ||
17884 | * final.c (final_scan_insn): Make non-static again. | |
17885 | * output.h (final_scan_insn): Re-add prototype. | |
17886 | * config/arc/arc.c (arc_output_function_epilogue): Add NULL | |
17887 | to final_scan_insn call. | |
17888 | * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise. | |
17889 | * config/mips/mips.c (mips_output_conditional_branch): Likewise. | |
17890 | * config/pa/pa.c (output_lbranch, output_call): Likewise. | |
17891 | * config/sh/sh.c (print_slot): Likewise. | |
17892 | * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise. | |
17893 | (output_sibcall, sparc_flat_function_epilogue): Likewise. | |
17894 | ||
3348b696 JH |
17895 | 2004-01-18 Jan Hubicka <jh@suse.cz> |
17896 | ||
17897 | * basic-block.h (try_redirect_by_replacing_jump): Declare. | |
17898 | * cfgcleanup.c (try_optimize_cfg): Use it. | |
17899 | * cfgrtl.c (try_redirect_by_replacing_jump): Export. | |
17900 | (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch): | |
17901 | Kill hack. | |
17902 | (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump. | |
17903 | ||
17904 | Revert: | |
17905 | 2004-01-16 Geoffrey Keating <geoffk@apple.com> | |
17906 | ||
17907 | * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps | |
17908 | even after reload, just don't remove the actual jump tables. | |
17909 | ||
72d89d35 KH |
17910 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
17911 | ||
17912 | * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove. | |
17913 | ||
07b50aad KH |
17914 | 2004-01-18 Kazu Hirata <kazu@cs.umass.edu> |
17915 | ||
17916 | * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of | |
17917 | the size of a pointer in bytes. | |
17918 | ||
6e46ab25 RS |
17919 | 2004-01-18 Roger Sayle <roger@eyesopen.com> |
17920 | ||
17921 | * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing | |
17922 | live "next" variable, which could lead to an infinite loop. | |
17923 | ||
3ce5437a AP |
17924 | 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu> |
17925 | ||
b4be9e8e AP |
17926 | * config/rs6000/altivec.h: Wrap C++ functions in extern "C++" |
17927 | block. | |
17928 | ||
3ce5437a AP |
17929 | * config/rs6000/rs6000.c (rs6000_special_round_type_align): |
17930 | Check for NULL in the chain and remove repeated code. | |
17931 | ||
20c361f3 JH |
17932 | 2004-01-18 Jan Hubicka <jh@suse.cz> |
17933 | ||
17934 | * coverage.c (checksum_string): Rename to ... | |
17935 | (coverage_checksum_string): ... this one, Use crc32_string; recognize | |
17936 | names containing random number and zero the number out in order to get | |
17937 | match. | |
17938 | ||
cacb5bba RS |
17939 | 2004-01-18 Richard Sandiford <rsandifo@redhat.com> |
17940 | ||
17941 | * config/mips/mips.c (mips_got_alias_set): Mark for PCH. | |
17942 | ||
daf2f129 JM |
17943 | 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk> |
17944 | ||
17945 | * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi, | |
17946 | doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi, | |
17947 | doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi, | |
17948 | doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi, | |
17949 | doc/trouble.texi: Remove trailing whitespace. | |
17950 | ||
b85aed9e RS |
17951 | 2004-01-18 Richard Sandiford <rsandifo@redhat.com> |
17952 | ||
1c0f3fac | 17953 | PR target/7618 |
b85aed9e RS |
17954 | * config/mips/mips.c: Include cfglayout.h. |
17955 | (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. | |
17956 | (mips_unspec_offset_high): Add temporary register argument. | |
17957 | (mips_load_call_address): New function, split out from... | |
17958 | (mips_expand_call): ...here. | |
17959 | (mips_output_cplocal): New function. | |
17960 | (mips_output_function_prologue, mips_output_function_epilogue): Use it. | |
17961 | (mips_emit_loadgp): New function, split out from... | |
17962 | (mips_expand_prologue): ...here. | |
17963 | (mips_output_mi_thunk): New function. | |
17964 | ||
e5d95b69 BI |
17965 | 2004-01-17 Bernardo Innocenti <bernie@develer.com> |
17966 | ||
17967 | * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040, | |
17968 | mcpu32): Remove redundant checks for implied target predefines. | |
17969 | ||
19d66194 AP |
17970 | 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu> |
17971 | ||
17972 | * config/rs6000/rs6000.c (rs6000_special_round_type_align): | |
17973 | Return type is unsigned int not int. | |
17974 | * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): | |
17975 | Likewise. | |
17976 | ||
95fef11f JM |
17977 | 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk> |
17978 | ||
17979 | * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi, | |
17980 | doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use | |
17981 | "GNU/Linux" and "Microsoft Windows" terminology. | |
17982 | ||
3ab51846 JM |
17983 | 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk> |
17984 | ||
17985 | * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi, | |
17986 | doc/cppopts.texi, doc/extend.texi, doc/install.texi, | |
17987 | doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi, | |
17988 | doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use | |
17989 | @smallexample instead of @example. | |
17990 | ||
cfbed37c ZL |
17991 | 2004-01-17 Ziemowit Laski <zlaski@apple.com> |
17992 | ||
17993 | * objc/objc-act.c (build_objc_method_call): Use target | |
1ef82ef2 | 17994 | hooks instead of macros to determine if ..._stret |
cfbed37c ZL |
17995 | dispatchers should be used (NeXT runtime only). |
17996 | ||
bef5105b RS |
17997 | 2004-01-17 Roger Sayle <roger@eyesopen.com> |
17998 | ||
17999 | * builtins.c (expand_builtin_expect_jump): Fix mistake in my | |
18000 | last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL. | |
18001 | ||
dd3adcf8 DJ |
18002 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
18003 | ||
18004 | * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc) | |
18005 | (emit_call_insn_before_sameloc, emit_insn_after_sameloc) | |
18006 | (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New | |
18007 | macros. | |
18008 | * reload1.c (emit_reload_insns): Use them. | |
18009 | * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc) | |
18010 | (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check | |
18011 | for NULL PATTERN. | |
18012 | ||
589fe865 DJ |
18013 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
18014 | ||
18015 | * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define. | |
18016 | (final_scan_insn): Update to take an additional SEEN argument. Emit | |
18017 | a line note after the prologue. Make static. | |
18018 | (line_note_exists): Remove. | |
18019 | (final): Don't initialize line_note_exists. Update call to | |
18020 | final_scan_insn. | |
18021 | * output.h (final_scan_insn): Remove prologue. | |
18022 | * function.c (set_insn_locators): Update comment. | |
18023 | (thread_prologue_and_epilogue_insns): Add a comment. | |
18024 | ||
95727fb8 AP |
18025 | 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu> |
18026 | ||
18027 | PR target/10781 | |
18028 | * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align): | |
18029 | Prototype. | |
18030 | * config/rs6000/rs6000.c (rs6000_special_round_type_align): | |
18031 | New function. | |
18032 | * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it. | |
18033 | * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise. | |
18034 | * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise. | |
18035 | ||
f2e16e97 JH |
18036 | 2004-01-17 Jan Hubicka <jh@suse.cz> |
18037 | ||
26c0473b JH |
18038 | * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous |
18039 | commit. | |
18040 | ||
f2e16e97 JH |
18041 | * toplev.c (HAVE_conditional_execution): Provide default. |
18042 | (rest_of_handle_reorder_blocks): For conditional_execution target | |
18043 | update liveness once after all transformations | |
18044 | (rest_of_compilation): Do crossjumping before ce3. | |
18045 | ||
f103e34d GK |
18046 | 2004-01-17 Geoffrey Keating <geoffk@apple.com> |
18047 | ||
18048 | * alias.c (new_alias_set): Mark last_alias_set for PCH. | |
18049 | (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it | |
18050 | for PCH. | |
18051 | (get_frame_alias_set): Likewise, except rename it to 'frame_set'. | |
18052 | * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH. | |
18053 | (get_TOC_alias_set): Mark 'set' for PCH. | |
18054 | ||
ab530ea8 GK |
18055 | 2004-01-16 Geoffrey Keating <geoffk@apple.com> |
18056 | ||
18057 | * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps | |
18058 | even after reload, just don't remove the actual jump tables. | |
18059 | ||
53dd3be3 | 18060 | 2004-01-17 J. Brobecker <brobecker@gnat.com> |
e7d23ce3 B |
18061 | |
18062 | * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type(). | |
18063 | Remove checks for is_ada() and TREE_UNSIGNED. | |
18064 | (subrange_type_die): Emit a byte_size attribute if the subrange | |
18065 | type size is different from the base type size. | |
18066 | (modified_type_die): Replace call to is_ada_subrange_type() by | |
18067 | call to is_subrange_type(). | |
18068 | ||
8582b18a AP |
18069 | 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu> |
18070 | ||
18071 | * config/sh/sh.c: Include ggc.h. | |
18072 | ||
73e61092 GK |
18073 | 2004-01-16 Geoffrey Keating <geoffk@apple.com> |
18074 | ||
18075 | * Makefile.in (MD5_H): New. | |
18076 | (fold-const.o): Depend on md5.h. | |
18077 | (dwarf2out.o): Likewise. | |
18078 | (cppfiles.o): Likewise. | |
18079 | * cppfiles.c: Include md5.h. | |
18080 | (should_stack_file): Check against list read from PCH file. | |
18081 | (struct pchf_data): New. | |
18082 | (pchf): New variable. | |
18083 | (struct pchf_adder_info): New. | |
18084 | (pchf_adder): New. | |
18085 | (pchf_save_compare): New. | |
18086 | (_cpp_save_file_entries): New. | |
18087 | (_cpp_read_file_entries): New. | |
18088 | (struct pchf_compare_data): New. | |
18089 | (pchf_compare): New. | |
18090 | (check_file_against_entries): New. | |
18091 | * cpphash.h (_cpp_save_file_entries): Prototype. | |
18092 | (_cpp_read_file_entries): Prototype. | |
18093 | * cpppch.c (cpp_write_pch_state): Write the list of headers. | |
18094 | (cpp_read_state): Read the list of headers. | |
18095 | ||
3b75d796 JH |
18096 | 2004-01-17 Jan Hubicka <jh@suse.cz> |
18097 | ||
18098 | * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and | |
18099 | builtin_expect specially. | |
18100 | * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100. | |
18101 | (PARAM_LARGE_FUNCTION_INSNS): Set to 3000. | |
18102 | * invoke.texi (max-inline-insns-single): Set to 100. | |
18103 | (large-function-insns): Set to 3000. | |
18104 | ||
cf551fba EC |
18105 | 2004-01-16 Eric Christopher <echristo@redhat.com> |
18106 | Chandrakala Chavva <cchavva@redhat.com> | |
18107 | ||
18108 | * cppcharset.c (one_iso88591_to_utf8): New function. | |
18109 | (convert_iso88591_utf8): Ditto. Use. | |
18110 | (conversion_tab): Use. | |
18111 | (_cpp_input_to_utf8): New function. | |
18112 | (_cpp_init_iconv_buffer): Ditto. | |
18113 | (_cpp_close_iconv_buffer): Ditto. | |
18114 | * cpphash.h: Prototype new functions. | |
18115 | (cpp_buffer): Add input_cset_desc. | |
18116 | * cppinit.c: Add input_charset default. | |
18117 | * cpplib.c (cpp_push_buffer): Support init and | |
18118 | close of iconv. | |
18119 | * cpplib.h (cpp_options): Add input_charset. | |
18120 | ||
510d1e80 KH |
18121 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
18122 | ||
18123 | * system.h (ASM_OUTPUT_SECTION_NAME): Poison. | |
18124 | * config/alpha/unicosmk.h: Remove a commented-out definition | |
18125 | of ASM_OUTPUT_SECTION_NAME. | |
18126 | * config/stormy16/stormy16.h: Likewise. | |
18127 | ||
fb2c2608 RO |
18128 | 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
18129 | ||
18130 | * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ... | |
18131 | (alpha___extern_prefix_sys_stat): ... this. | |
18132 | Apply to <sys/mount.h>, too. | |
18133 | Tweak to match more variations. | |
18134 | * fixinc/tests/base/sys/stat.h: Adapt for new hackname. | |
18135 | ||
18136 | * fixinc/inclhack.def (alpha___extern_prefix, | |
cf551fba | 18137 | alpha___extern_prefix_standards): New hacks to obey |
c53bdcf5 | 18138 | __PRAGMA_EXTERN_PREFIX. |
fb2c2608 RO |
18139 | * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New |
18140 | test. | |
18141 | * fixinc/tests/base/standards.h: Likewise. | |
cf551fba | 18142 | |
fb2c2608 RO |
18143 | * fixincl/inclhack.def (alpha_pthread): Tweak to match more |
18144 | variations. | |
18145 | New testcase. | |
18146 | * fixinc/tests/base/pthread.h: Handle it. | |
cf551fba | 18147 | |
fb2c2608 RO |
18148 | * fixincl/inclhack.def (bad_lval): Sort file list. |
18149 | Add many missing files up to Tru64 UNIX V5.1B. | |
18150 | * gcc/fixinc/tests/base/libgen.h: Renamed to ... | |
18151 | * gcc/fixinc/tests/base/dirent.h: ... this to match new file list | |
18152 | order. | |
cf551fba | 18153 | |
fb2c2608 RO |
18154 | * fixinc/fixincl.x: Regenerate. |
18155 | ||
79a76d65 MM |
18156 | 2004-01-16 Mark Mitchell <mark@codesourcery.com> |
18157 | ||
18158 | * version.c (version_string): Change to 3.5.0. | |
18159 | * doc/include/gcc-common.texi (version-GCC): Likewise. | |
18160 | ||
965514bd JH |
18161 | 2004-01-16 Jan Hubicka <jh@suse.cz> |
18162 | ||
18163 | * i386.md (load_tp_di): Fix pasto. | |
18164 | ||
18165 | PR opt/13608 | |
18166 | * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function. | |
18167 | ||
18168 | * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator, | |
18169 | pp_c_character_constant, pp_c_floating_constant, | |
18170 | pp_c_additive_expression, pp_c_shift_expression, | |
18171 | pp_c_equality_expression, pp_c_and_expression, | |
18172 | pp_c_exclusive_or_expression, pp_c_inclusive_or_expression, | |
18173 | pp_c_logical_and_expression): Remove inline modifier. | |
18174 | * dwarf2out.c (get_AT): Likewise. | |
18175 | * et-forest.c (et_splay): Likewise. | |
18176 | * ra.h (ra_alloc, ra_calloc): Likewise | |
18177 | ||
87b483a1 KH |
18178 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
18179 | ||
18180 | * config/frv/frv-protos.h: Fix comment formatting. | |
18181 | * config/frv/frv.c: Likewise. | |
18182 | * config/frv/frv.h: Likewise. | |
18183 | * config/frv/frv.md: Likewise. | |
18184 | * config/frv/frvbegin.c: Likewise. | |
18185 | * config/frv/frvend.c: Likewise. | |
18186 | ||
16201823 KH |
18187 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
18188 | ||
18189 | * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison. | |
18190 | * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention | |
18191 | LINKER_DOES_NOT_WORK_WITH_DWARF2. | |
18192 | (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove. | |
18193 | ||
115df136 R |
18194 | 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com> |
18195 | ||
5ed5fd90 | 18196 | PR 11864 |
115df136 R |
18197 | * postreload.c (reload_cse_simplify_operands): Don't remove |
18198 | implicit extension from LOAD_EXTEND_OP. | |
18199 | ||
e24e7211 JH |
18200 | 2004-01-16 Jan Hubicka <jh@suse.cz> |
18201 | ||
8c80adb7 SB |
18202 | PR opt/11350 |
18203 | * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal | |
e24e7211 | 18204 | after reload. |
8c80adb7 SB |
18205 | * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks, |
18206 | rtl_try_redirect_by_replacing_branch): Likewise. | |
e24e7211 | 18207 | |
b0fadda7 GK |
18208 | 2004-01-15 Geoffrey Keating <geoffk@apple.com> |
18209 | ||
b604074c GK |
18210 | PR pch/13689 |
18211 | * alias.c (struct alias_set_entry): Mark for GC. | |
18212 | (alias_sets): Make static, mark for GC. | |
18213 | (record_alias_subset): Use GC to allocate alias structures. | |
18214 | * varray.c (element): Make generic varrays GCed. | |
18215 | ||
a6dd4094 GK |
18216 | PR pch/13361 |
18217 | * c-typeck.c (constructor_asmspec): Delete. | |
18218 | (struct initializer_stack): Delete field 'asmspec'. | |
18219 | (start_init): Delete saving of asmspec. | |
18220 | (finish_init): Don't update constructor_asmspec. | |
18221 | * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree. | |
18222 | * stmt.c (expand_asm): Duplicate strings from tree. | |
18223 | (expand_asm_operands): Likewise. | |
18224 | * tree.c (tree_size): Update computation of size of STRING_CST. | |
18225 | (make_node): Don't make STRING_CST nodes. | |
18226 | (build_string): Allocate string with tree node. | |
18227 | * tree.def (STRING_CST): Update comment. | |
18228 | * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST. | |
18229 | (tree_string): Place contents of string in tree node. | |
18230 | * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string | |
18231 | from tree. | |
18232 | ||
b0fadda7 GK |
18233 | * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case |
18234 | altivec operands. | |
18235 | ||
e0a21ab9 KH |
18236 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18237 | ||
18238 | * c-common.h: Fix comment formatting. | |
18239 | * c-cppbuiltin.c: Likewise. | |
18240 | * c-pragma.c: Likewise. | |
18241 | * calls.c: Likewise. | |
18242 | * collect2.c: Likewise. | |
18243 | * cppcharset.c: Likewise. | |
18244 | * cpptrad.c: Likewise. | |
18245 | * dbxout.c: Likewise. | |
18246 | * defaults.h: Likewise. | |
18247 | * dwarf2out.c: Likewise. | |
18248 | * fold-const.c: Likewise. | |
18249 | * genautomata.c: Likewise. | |
18250 | * genconditions.c: Likewise. | |
18251 | * genflags.c: Likewise. | |
18252 | * gengtype.c: Likewise. | |
18253 | * integrate.c: Likewise. | |
18254 | * loop.c: Likewise. | |
18255 | * predict.c: Likewise. | |
18256 | * sdbout.c: Likewise. | |
18257 | ||
f57fc998 ZW |
18258 | 2004-01-15 Zack Weinberg <zack@codesourcery.com> |
18259 | ||
18260 | * config/ia64/ia64.md (*movti_internal): C output template | |
18261 | extracted to ia64.c. | |
18262 | (*movti_internal_reg): Delete. | |
18263 | (reload_inti, reload_outti): Use the correct mode on operand 2 | |
18264 | in the first place, don't fix it up in the output template. | |
18265 | (movtf, reload_ointf, reload_outtf): New expanders. | |
18266 | (*movtf_internal): New define_insn_and_split. | |
18267 | * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode; | |
18268 | make static; do not hand TFmode CONST_DOUBLEs to split_double. | |
18269 | (ia64_split_tmode_move): New function, body mostly pulled | |
18270 | from ia64.md:*movti_internal. | |
18271 | (ia64_function_arg_words): New function, extracted common | |
18272 | logic from ia64_function_arg et seq. | |
18273 | (ia64_function_arg_offset): Likewise. Handle correctly the | |
18274 | case of a scalar quantity 16 bytes wide with only 8-byte alignment. | |
18275 | (ia64_function_arg, ia64_function_arg_partial_nregs) | |
18276 | (ia64_function_arg_advance): Use ia64_function_arg_words and | |
18277 | ia64_function_arg_offset. | |
18278 | (ia64_function_value): TCmode does not go in float regs. | |
18279 | (ia64_secondary_reload_class): Also handle TFmode. | |
18280 | * config/ia64/ia64-protos.h: Remove prototype for | |
18281 | ia64_split_timode; add prototype for ia64_split_tmode_move. | |
18282 | ||
e9c4897b KC |
18283 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
18284 | ||
18285 | * Makefile.in (MAINT): Make it an immediate assignment. | |
18286 | ||
5a67e41f KH |
18287 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18288 | ||
18289 | * config/m32r/m32r.md: Remove useless calls to gen_lowpart. | |
18290 | ||
340f6494 KH |
18291 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18292 | ||
18293 | * config/h8300/coff.h: Replace Hitachi with Renesas. | |
18294 | * config/h8300/elf.h: Likewise. | |
18295 | * config/h8300/h8300-protos.h: Likewise. | |
18296 | * config/h8300/h8300.c: Likewise. | |
18297 | * config/h8300/h8300.h: Likewise. | |
18298 | * config/h8300/h8300.md: Likewise. | |
18299 | * config/h8300/lib1funcs.asm: Likewise. | |
18300 | ||
c954844a AP |
18301 | 2004-01-15 Andrew Pinski <apinski@apple.com> |
18302 | ||
18303 | * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF | |
18304 | around it. | |
18305 | ||
34bf1fe3 KH |
18306 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18307 | ||
18308 | * config/h8300/h8300.c (h8300_return_in_memory): New. | |
18309 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
18310 | (TARGET_RETURN_IN_MEMORY): Likewise. | |
18311 | * config/h8300/h8300.h (STRUCT_VALUE): Remove. | |
18312 | (RETURN_IN_MEMORY): Likewise. | |
18313 | ||
e5396f90 RE |
18314 | 2004-01-15 Richard Earnshaw <rearnsha@arm.com> |
18315 | ||
18316 | PR optimization/13375 | |
18317 | * gcse.c (handle_avail_expr): Just return if the source is not a | |
18318 | single set. | |
18319 | ||
46049cff RE |
18320 | 2004-01-15 Richard Earnshaw <rearnsha@arm.com> |
18321 | Daniel Jacobowitz <drow@mvista.com> | |
18322 | ||
18323 | * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case. | |
18324 | (EQUIV): Define. | |
18325 | (ARM_FUNC_ALIAS): New macro. | |
18326 | * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it. | |
18327 | * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it. | |
18328 | ||
2fabc3d6 JDA |
18329 | 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18330 | ||
18331 | PR optimization/12372 | |
18332 | * calls.c (expand_call): Add call_fusage data for stack arguments in | |
18333 | constant calls. | |
18334 | ||
3c9eb5f4 AM |
18335 | 2004-01-15 Alan Modra <amodra@bigpond.net.au> |
18336 | ||
18337 | * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static. | |
18338 | (rs6000_elf_declare_function_name): Formatting. | |
18339 | * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration. | |
18340 | ||
c7866154 JH |
18341 | 2004-01-15 Jan Hubicka <jh@suse.cz> |
18342 | ||
18343 | PR bootstrap/13692 | |
18344 | * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in | |
18345 | previous patch. | |
18346 | ||
ad5d827d RH |
18347 | 2004-01-15 Richard Henderson <rth@redhat.com> |
18348 | ||
18349 | * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after | |
18350 | integer regs of the same call-savedness. | |
18351 | ||
66e07510 AS |
18352 | 2004-01-15 Andreas Schwab <schwab@suse.de> |
18353 | ||
18354 | PR bootstrap/13562 | |
18355 | * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc | |
18356 | status for NOTB/NOTW/NEGW methods. | |
18357 | ||
7c12f388 KH |
18358 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18359 | ||
18360 | * doc/invoke.texi: Update dump file names. Fix a typo. | |
18361 | ||
4a7bb550 KH |
18362 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18363 | ||
18364 | * builtins.c (expand_builtin_va_end): Don't use | |
18365 | EXPAND_BUILTIN_VA_END. | |
18366 | * system.h (EXPAND_BUILTIN_VA_END): Poison. | |
18367 | * config/d30v/d30v.h: Remove a commented-out definition of | |
18368 | EXPAND_BUILTIN_VA_END. | |
18369 | * config/stormy16/stormy16.h: Likewise. | |
18370 | ||
430fff02 KH |
18371 | 2004-01-15 Kazu Hirata <kazu@cs.umass.edu> |
18372 | ||
18373 | * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison. | |
18374 | * targhooks.c (default_struct_value_rtx): Don't use | |
18375 | STRUCT_VALUE_INCOMING_REGNUM. | |
18376 | ||
03787dfd KC |
18377 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
18378 | ||
18379 | PR bootstrap/12744 | |
18380 | * configure.in: Revamp enable-generated-files-in-srcdir rule to define | |
18381 | GENINSRC and not parsedir. Define srcextra as a langhook. | |
18382 | * configure: Regenerate. | |
18383 | * Makefile.in: Suppress default .l.c rule. Don't substitute | |
18384 | parsedir and delete all references throughout. Conditionally define | |
18385 | rule for srcextra dependent on GENINSRC. | |
18386 | (stmp-docobjdir): Delete. | |
18387 | (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule. | |
18388 | (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c, | |
18389 | and gengtype-yacc.h back to source directory. | |
18390 | (maintainer-clean): Delete all parse files in source directory. | |
18391 | (distclean): Delete generated files. | |
18392 | ||
18393 | * objc/Make-lang.in (objc-parse.o): Use implicit build rule. | |
18394 | (objc-parse.c, objc-parse.y): Don't use parsedir. | |
18395 | (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source | |
18396 | directory if requested. | |
18397 | (po-generated): Don't use parsedir. | |
18398 | (objc.maintainer-clean): Delete above files from source directory. | |
18399 | ||
04ab46a4 KH |
18400 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18401 | ||
18402 | * doc/tm.texi (FUNCTION_VALUE): Fix a typo. | |
18403 | ||
d624465f KH |
18404 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18405 | ||
18406 | * doc/tm.texi: Replace RETURN_IN_MEMORY with | |
18407 | TARGET_RETURN_IN_MEMORY. | |
18408 | ||
e1be55d0 JH |
18409 | 2004-01-15 Jan Hubicka <jh@suse.cz> |
18410 | ||
18411 | * builtins.c (std_expand_builtin_va_arg): Align operand when needed. | |
18412 | * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic | |
18413 | functions accepting SSE arguments | |
18414 | (function_arg): Warn only when asked to warn. | |
18415 | * i386.h (ix86_args): Add warn_sse/warn_mmx fiels. | |
18416 | ||
f560bf91 JM |
18417 | 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk> |
18418 | ||
18419 | * c-parse.in (stmts_and_decls): Make label at end of compound | |
18420 | statement a hard error. | |
18421 | ||
95c755e9 JH |
18422 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
18423 | ||
18424 | * cgraph.c (create_edge): Use local.redefined_extern_inline. | |
18425 | * cgraph.h (cgraph_local_info): Sort fields by size; add | |
18426 | redefined_extern_inline | |
18427 | (cgraph_global_info): Sort fields by size. | |
18428 | (cgraph_node): Likewise. | |
18429 | * cgraphunit.c (cgraph_finalize_function): Se | |
18430 | local.redefined_extern_inline on redefinition. | |
18431 | (cgraph_analyze_function): Use it; fix formating. | |
18432 | ||
84568e14 JH |
18433 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
18434 | ||
18435 | PR c++/10776 | |
18436 | * sched-deps.c (trye_dependency_cache, anti_dependency_cache, | |
18437 | outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of | |
18438 | bitmaps | |
18439 | (cache_size): New variable | |
18440 | (add_dependence): Update use; canonize early memory locations | |
18441 | (sched_analyze_1): Likewise. | |
18442 | (sched_analyze_2): Likewise. | |
18443 | (init_dependency_caches): Initialize bitmaps. | |
18444 | (free_dependency_caches): Free bitmaps | |
18445 | ||
3a179764 KH |
18446 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18447 | ||
18448 | * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with | |
18449 | targetm.calls.strict_argument_naming(). | |
18450 | * target.h: Likewise. | |
18451 | ||
b298f00f RH |
18452 | 2004-01-14 Richard Henderson <rth@redhat.com> |
18453 | ||
18454 | PR debug/13231 | |
18455 | * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue | |
18456 | instructions. | |
18457 | ||
1bddbeb4 RH |
18458 | 2004-01-14 Richard Henderson <rth@redhat.com> |
18459 | ||
18460 | PR c++/12491 | |
18461 | * except.c (struct eh_region): Add u.fixup.resolved. | |
18462 | (resolve_one_fixup_region): Split out from ... | |
18463 | (resolve_fixup_regions): ... here. | |
18464 | ||
4eb31d4f KH |
18465 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18466 | ||
18467 | * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0. | |
18468 | ||
16f425fc KH |
18469 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18470 | ||
18471 | * config/alpha/alpha.h (STRUCT_VALUE): Remove. | |
18472 | * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef. | |
18473 | (STRUCT_VALUE): Remove. | |
18474 | ||
4850c982 | 18475 | 2004-01-14 Steven Bosscher <stevenb@suse.de> |
616f6d84 SB |
18476 | |
18477 | * system.h: Poison PROMOTED_MODE | |
18478 | * integrate.c (expand_inline_function): Don't mention the | |
18479 | PROMOTED_MODE. | |
18480 | * loop.c (update_giv_derive): Same. | |
18481 | * tree.h (DECL_RTL): Same. | |
18482 | ||
f9654065 R |
18483 | 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com> |
18484 | ||
18485 | PR target/9365 | |
18486 | * sh.c (gen_block_redirect): Add special handling of RETURN. | |
18487 | (gen_far_branch) Don't call gen_stuff_delay_slot if there is no | |
18488 | far branch target (i.e. it's a return). | |
18489 | ||
abbe8578 KH |
18490 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18491 | ||
18492 | * regrename.c (find_oldest_value_reg): Fix a warning. | |
18493 | ||
192c8d78 RE |
18494 | 2004-01-14 Richard Earnshaw <rearnsha@arm.com> |
18495 | ||
18496 | PR bootstrap/12527 | |
18497 | * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file. | |
18498 | Move linux-gas.h and linux-elf.h before aout.h. | |
18499 | * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already. | |
18500 | * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define. | |
18501 | ||
e512ab39 KH |
18502 | 2004-01-14 Kazu Hirata <kazu@cs.umass.edu> |
18503 | ||
18504 | * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx | |
18505 | (CONST_INT, VOIDmode, ...). | |
18506 | ||
684bcee5 RE |
18507 | 2004-01-14 Richard Earnshaw <rearnsha@arm.com> |
18508 | ||
f57fc998 | 18509 | * regrename.c (find_oldest_value_reg): If the replacement uses |
684bcee5 RE |
18510 | multiple hard registers, check that all of them are in CLASS. |
18511 | ||
e7844ffb JH |
18512 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
18513 | ||
18514 | * alias.c (get_alias_set): Initialize alias set to 0 when subset is | |
18515 | impossible. | |
18516 | ||
73e232f0 KC |
18517 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
18518 | ||
18519 | * Makefile.in: Define MAINT from --enable-maintainer-mode. | |
18520 | ||
4d774ff8 HP |
18521 | 2004-01-14 Hartmut Penner <hpenner@de.ibm.com> |
18522 | ||
18523 | * gcc/config/rs6000/rs6000.c (rs6000_stack_info) | |
18524 | Calculate always vrsave_mask if TARGET_ALTIVEC. | |
18525 | (rs6000_emit_prologue): Emit code for vrsave | |
18526 | only if TARGET_ALTIVEC_VRSAVE. | |
18527 | (rs6000_emit_epilogue): Likewise. | |
18528 | ||
fa1090f5 EB |
18529 | 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr> |
18530 | ||
18531 | * config/sparc/sparc.md (tie_add32): Fix pasto. | |
18532 | (tie_add64): Likewise. | |
18533 | ||
79551a56 ZD |
18534 | 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
18535 | ||
18536 | * config/i386/i386.md (*addqi_1_slp): Do not access operands[2]. | |
18537 | ||
5b8d96f1 KH |
18538 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18539 | ||
18540 | * config/iq2000/iq2000-protos.h: Fix comment formatting. | |
18541 | * config/iq2000/iq2000.c: Likewise. | |
18542 | * config/iq2000/iq2000.md: Likewise. | |
18543 | ||
b98d154e B |
18544 | 2004-01-14 J. Brobecker <brobecker@gnat.com> |
18545 | ||
18546 | * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME. | |
18547 | (subrange_type_die): Add handle for nameless subrange types. | |
18548 | ||
1a793acf KH |
18549 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18550 | ||
18551 | * config/h8300/h8300-protos.h: Replace do_movsi with | |
18552 | h8300_expand_movsi. | |
18553 | * config/h8300/h8300.c (do_movsi): Change to | |
18554 | h8300_expand_movsi. | |
18555 | * config/h8300/h8300.md (movsi): Replace do_movsi with | |
18556 | h8300_expand_movsi. | |
18557 | (movsf): Likewise. | |
18558 | ||
81ad9ded KH |
18559 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18560 | ||
18561 | * config/h8300/h8300.c (dosize): Change to | |
18562 | h8300_emit_stack_adjustment. Update callers. | |
18563 | ||
3f0063ab KH |
18564 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18565 | ||
18566 | * config/h8300/h8300.md (movstrictqi): Add an alternative with | |
18567 | the source being post_inc. Tighten the predicate for the | |
18568 | destination to register_operand. | |
18569 | (movstricthi): Likewise. | |
18570 | ||
abf843c4 KH |
18571 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18572 | ||
18573 | * system.h (SHARED_BSS_SECTION_ASM_OP): Poison. | |
18574 | * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP. | |
18575 | * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove. | |
18576 | ||
4b589eab JH |
18577 | 2004-01-14 Jan Hubicka <jh@suse.cz> |
18578 | ||
d34cb6a1 JH |
18579 | Partial fix PR c++/12850 |
18580 | * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when | |
18581 | at zero nest level. | |
4b589eab | 18582 | |
9ff2cabc BI |
18583 | 2004-01-13 Bernardo Innocenti <bernie@develer.com> |
18584 | ||
18585 | * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr" | |
f57fc998 | 18586 | pseudo-register. |
9ff2cabc | 18587 | |
a4d8ec65 DP |
18588 | 2004-01-13 Devang Patel <dpatel@apple.com |
18589 | ||
18590 | PR debug/7078 | |
f57fc998 | 18591 | * dbxout.c (dbxout_symbol_name): Emit mangled names for |
a4d8ec65 | 18592 | NAMESPACE_DECL memebers. |
f57fc998 | 18593 | |
bfaba7a9 AP |
18594 | 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu> |
18595 | ||
18596 | PR c++/12709 | |
18597 | * c-common.c (finish_fname_decls): Use the chain only if the | |
18598 | tree is an expr_stmt. | |
18599 | ||
dfa849f3 VM |
18600 | 2004-01-13 Vladimir Makarov <vmakarov@redhat.com> |
18601 | ||
616f6d84 | 18602 | * rtl.def: Add comment about new option in automata_option. |
f57fc998 | 18603 | |
dfa849f3 VM |
18604 | * genautomata.c (PROGRESS_OPTION): New macro. |
18605 | (progress_flag): New global variable. | |
18606 | (gen_automata_option): Process `progress'. | |
18607 | (transform_insn_regexps, check_unit_distributions_to_automata, | |
18608 | make_automaton, NDFA_to_DFA, build_automaton, create_automata, | |
18609 | expand_automata, write_automata): Print about the progress only if | |
18610 | progress_flag. Remove fflush. | |
18611 | (initiate_automaton_gen): Process command line flag `-progress'. | |
18612 | ||
18613 | * doc/md.texi: Describe the new option. | |
f57fc998 | 18614 | |
9405162e ZD |
18615 | 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> |
18616 | ||
18617 | * cfg.c (dump_bb): Dump entry edges. | |
18618 | ||
f954388e RE |
18619 | 2004-01-13 Richard Earnshaw <rearnsha@arm.com> |
18620 | ||
f57fc998 | 18621 | * arm.c (thumb_legitimate_address_p): Only allow constant pool |
f954388e RE |
18622 | references from SImode. |
18623 | * arm.md (thumb_movhi_insn): Don't allow minipool references. | |
18624 | ||
0fe7abcc KH |
18625 | 2004-01-13 Kazu Hirata <kazu@cs.umass.edu> |
18626 | ||
18627 | * system.h (TEXT_SECTION): Poison. | |
18628 | * varasm.c (text_section): Don't use TEXT_SECTION. | |
18629 | * config/sh/sh.c (sh_file_start): Fix a comment typo. | |
18630 | * doc/tm.texi (TEXT_SECTION): Remove. | |
18631 | ||
fdb07791 BE |
18632 | 2004-01-13 Ben Elliston <bje@wasabisystems.com> |
18633 | ||
18634 | * doc/rtl.texi (Vector Operations): Remove defunct vec_const item. | |
18635 | ||
56067bbe JW |
18636 | 2004-01-12 James E Wilson <wilson@specifixinc.com> |
18637 | ||
18638 | * unwind-libunwind.c: Delete. | |
18639 | ||
bc298aa7 ZW |
18640 | 2004-01-12 Zack Weinberg <zack@codesourcery.com> |
18641 | ||
18642 | PR 13656 | |
18643 | * c-decl.c (diagnose_mismatched_decls): Whenever newtype or | |
18644 | oldtype is set, set *newtypep or *oldtypep too. Do not set | |
18645 | them at the very end. | |
18646 | (validate_proto_after_old_defn): Restructure for comprehensibility; | |
18647 | make error messages clearer. | |
18648 | ||
12a08b40 ZW |
18649 | 2004-01-12 Zack Weinberg <zack@codesourcery.com> |
18650 | ||
18651 | * varray.h (VARRAY_POP): Add checking variant, aborts on underflow. | |
18652 | (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked. | |
18653 | * varray.c: No need to prototype error. | |
18654 | (varray_check_failed): Wrap long string onto two lines. | |
18655 | (varray_underflow): New function. | |
18656 | ||
faed5cc3 SB |
18657 | 2004-01-13 Steven Bosscher <stevenb@suse.de> |
18658 | ||
18659 | PR c++/13376 | |
18660 | * function.h (struct function): Kill `name' field. | |
18661 | (current_function_name): Make it an extern function. | |
18662 | * function.c (current_function_name): New function. | |
18663 | * graph.c: Update all uses of current_function_name. | |
18664 | * gcse.c: Likewise. | |
18665 | * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c, | |
18666 | config/mips/mips.c, config/pdp11/pdp11.c: Likewise. | |
18667 | * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P | |
18668 | instead of a strcmp with "main". | |
18669 | ||
2d327012 JH |
18670 | 2004-01-13 Jan Hubicka <jh@suse.cz> |
18671 | ||
0bb03c11 JH |
18672 | * c-decl.c (diagnose_mismatched_decls): Fix warning calls. |
18673 | ||
2d327012 JH |
18674 | * cgraphunit.c (cgraph_optimize_function): Always do |
18675 | optimize_inline_calls when there is always_inline callee. | |
18676 | (cgraph_decide_inlining): Fix formating. | |
18677 | * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline | |
18678 | functions. | |
18679 | (expand_call_inline): Likewise. | |
18680 | * toplev.h (sorry): Fix prototype. | |
18681 | ||
04cc79bb RS |
18682 | 2004-01-12 Roger Sayle <roger@eyesopen.com> |
18683 | ||
18684 | * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle | |
18685 | conditional jumps that drop through to unconditional jumps or the | |
18686 | end of the sequence. | |
18687 | ||
3416f5c2 JH |
18688 | 2004-01-13 Jan Hubicka <jh@suse.cz> |
18689 | ||
18690 | * alias.c (new_alias_set): Construct the alias_set varray. | |
18691 | (init_alias_once): Don't do it here. | |
18692 | ||
f92ed976 ME |
18693 | 2004-01-12 Marc Espie <espie@openbsd.org> |
18694 | ||
18695 | * system.h: handle YYBYACC like YYBISON. | |
18696 | ||
ff2aaa93 JM |
18697 | 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com> |
18698 | ||
18699 | PR target/10847 | |
18700 | * config.gcc: No longer includes conflicting header sparc/sol2.h when | |
18701 | building on sparc64-*-openbsd*. | |
18702 | ||
c5ff9123 AP |
18703 | 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu> |
18704 | ||
18705 | PR debug/13539 | |
18706 | * dbxout.c (dbxout_type): Protected inheritance is not | |
18707 | private but protected. | |
18708 | ||
3cd2a183 RS |
18709 | 2004-01-12 Richard Sandiford <rsandifo@redhat.com> |
18710 | ||
18711 | * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch. | |
18712 | ||
5c881655 KH |
18713 | 2004-01-12 Kazu Hirata <kazu@cs.umass.edu> |
18714 | ||
18715 | PR optimization/12508. | |
18716 | * combine.c (try_combine): Remove a dead set in a parallel | |
18717 | even if its destination is a subreg. | |
18718 | ||
18719 | Revert: | |
18720 | 2003-06-03 Kazu Hirata <kazu@cs.umass.edu> | |
18721 | * combine.c (simplify_set): Don't move a subreg in SET_SRC to | |
18722 | SET_DEST if WORD_REGISTER_OPERATIONS is not defined. | |
18723 | ||
a42f8ae7 | 18724 | 2004-01-12 Geoffrey Keating <geoffk@apple.com> |
affad9a4 GK |
18725 | |
18726 | * real.c: Update copyright date. | |
18727 | * emit-rtl.c: Likewise. | |
18728 | * rtl.h: Likewise. | |
18729 | * dwarf2out.c: Likewise. | |
18730 | * config/rs6000/darwin-ldouble.c: Likewise. | |
18731 | * config/rs6000/rs6000.md: Likewise. | |
18732 | ||
4274207b DE |
18733 | 2004-01-12 David Edelsohn <edelsohn@gnu.org> |
18734 | ||
18735 | * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX | |
18736 | TFmode to SImode libfuncs. | |
18737 | ||
06e4eab5 RS |
18738 | 2004-01-12 Roger Sayle <roger@eyesopen.com> |
18739 | ||
18740 | PR middle-end/11397 | |
18741 | * varasm.c (assemble_alias): Remove weak aliases from weak_decls. | |
18742 | ||
432f982f JH |
18743 | 2004-01-12 Jan Hubicka <jh@suse.cz> |
18744 | ||
18745 | PR opt/12826 | |
18746 | * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be | |
18747 | stored. | |
18748 | ||
18749 | PR opt/12863 | |
18750 | * cfgcleanup.c (label_is_jump_target_p): Move to... | |
18751 | * rtlanal.c (label_is_jump_target_p): ... here. | |
18752 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru | |
18753 | edges unified with branch edges. | |
18754 | ||
8064d930 RE |
18755 | 2004-01-12 Richard Earnshaw <rearnsha@arm.com> |
18756 | ||
18757 | * simplify-rtx.c (simplify_immed_subreg): Correctly extract the | |
18758 | high word of an integral CONST_DOUBLE. | |
18759 | ||
1c48f4be | 18760 | 2004-01-12 Paul Brook <paul@codesourcery.com> |
0786ca87 PB |
18761 | |
18762 | * simplify-rtx.c (simplify_plus_minus): Always generate canonical form. | |
18763 | ||
68d2b0bb | 18764 | 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com> |
07d7d2f4 R |
18765 | |
18766 | PR target/13585 | |
18767 | * sh-protos.h (check_use_sfunc_addr): Declare. | |
18768 | * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions. | |
18769 | * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate. | |
18770 | ||
c65ecebc JH |
18771 | 2004-01-12 Jan Hubicka <jh@suse.cz> |
18772 | ||
9ddb66ca JH |
18773 | * alias.c: Invlude varray.h |
18774 | (alias_sets): Turn into varray. | |
18775 | (get_alias_set_entry): Use VARRAY; mark inline. | |
18776 | (mems_in_disjoint_alias_sets_p): Mark inline. | |
18777 | (record_alias_subset): Use varray. | |
18778 | (init_alias_once): Initialize varray. | |
18779 | (new_alias_set): Grow array. | |
18780 | * varray.c: Make VARRAY_GENERIC_PTR non GTYized. | |
18781 | ||
18782 | 2004-01-12 Jan Hubicka <jh@suse.cz> | |
18783 | ||
18784 | Partial fix for PR opt/10776 II | |
c65ecebc JH |
18785 | * cselib.c: Include params.h |
18786 | (cselib_invalidate_mem): Limit amount of nonconflicting memory | |
18787 | locations. | |
18788 | * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New. | |
18789 | * Makefile.in (cselib.o): Depend on params.h | |
18790 | ||
c0657872 RS |
18791 | 2004-01-12 Richard Sandiford <rsandifo@redhat.com> |
18792 | ||
18793 | * combine.c (combine_simplify_rtx): Don't pass VOIDmode to | |
18794 | simplify_unary_operation if the operand has a known mode. | |
18795 | ||
d2288d5d HP |
18796 | 2004-01-12 Hartmut Penner <hpenner@de.ibm.com> |
18797 | ||
b40ee5d6 | 18798 | PR target/13534 |
d2288d5d HP |
18799 | * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New |
18800 | predicate to handle 'ld' conform addresses. | |
18801 | * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y' | |
18802 | contraint. | |
18803 | (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint | |
18804 | are memory contraints. | |
12a08b40 | 18805 | * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand): |
d2288d5d | 18806 | New prototype. |
12a08b40 | 18807 | * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64): |
d2288d5d HP |
18808 | Change 'o' to 'Y' constraint. |
18809 | (*movdf_softfloat64): Ditto. | |
12a08b40 | 18810 | |
c223cf45 BI |
18811 | 2004-01-12 Bernardo Innocenti <bernie@develer.com> |
18812 | ||
18813 | * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the | |
18814 | brace-enclosed syntax in all C output statements. | |
18815 | ||
5fc921c1 DE |
18816 | 2004-01-12 David Edelsohn <edelsohn@gnu.org> |
18817 | ||
18818 | PR target/13401 | |
18819 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): | |
18820 | Objective-C language type value is 14. | |
18821 | ||
48568ec7 MO |
18822 | 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com> |
18823 | ||
18824 | PR c/12148 | |
18825 | * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of | |
18826 | `int' in a number of places to make sure we always have a SImode | |
18827 | and not a HImode. Add a 'L' suffix to a number of constants. | |
18828 | ||
124c9423 JDA |
18829 | 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18830 | ||
18831 | * pa.c: Don't include obstack.h. | |
18832 | ||
18833 | * pa.md: Correct constraint in pattern for loading PIC label address. | |
18834 | ||
c924f70c KK |
18835 | 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org> |
18836 | ||
18837 | * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine | |
18838 | before defining. | |
18839 | ||
53efeb8d SB |
18840 | 2004-01-11 Steven Bosscher <stevenb@suse.de> |
18841 | ||
1eee14b9 | 18842 | PR fortran/9972 |
53efeb8d SB |
18843 | * toplev.c (rest_of_handle_inline): Also consider functions |
18844 | for deferral if the language is GNU F77. | |
18845 | ||
d4968a11 ZW |
18846 | 2004-01-11 Zack Weinberg <zack@codesourcery.com> |
18847 | ||
18848 | * c-decl.c (diagnose_arglist_conflict): Add missing space to | |
18849 | diagnostic messages. | |
18850 | ||
1759c760 JJ |
18851 | 2004-01-11 Jakub Jelinek <jakub@redhat.com> |
18852 | ||
18853 | PR middle-end/13392 | |
18854 | * builtins.c (expand_builtin_expect_jump): Handle conditional jumps | |
18855 | to drop through label. Don't fall back to SCC even when conditional | |
18856 | jump has not been found. | |
18857 | ||
0bcf8261 JH |
18858 | 2004-01-11 Jan Hubicka <jh@suse.cz> |
18859 | ||
fb544601 JH |
18860 | * invoke.texi: Fix syntax error in previous patch. |
18861 | ||
0bcf8261 JH |
18862 | Partial fix for PR opt/10776 |
18863 | * Makefile.in (reload.o): Include param.h | |
18864 | * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter. | |
18865 | * reload.c: Include params.h. | |
18866 | (find_equiv_reg): Work limiting check. | |
18867 | * invoke.texi: Document. | |
18868 | ||
bd9131c0 RS |
18869 | 2004-01-11 Richard Sandiford <rsandifo@redhat.com> |
18870 | ||
18871 | * config/mips/mips.c (mips_symbolic_constant_p): Don't allow | |
18872 | out-of-bounds accesses to string constants. Simplify mips16 | |
18873 | case accordingly. | |
18874 | ||
6732ee60 RS |
18875 | 2004-01-11 Richard Sandiford <rsandifo@redhat.com> |
18876 | ||
18877 | PR optimization/13469 | |
18878 | * toplev.c (rest_of_compilation): Call purge_all_dead_edges after | |
18879 | reload_cse_regs (-fnon-call-exceptions only). | |
18880 | ||
14bc6742 KH |
18881 | 2004-01-11 Kazu Hirata <kazu@cs.umass.edu> |
18882 | ||
18883 | * config/mcore/lib1.asm: Fix comment formatting. | |
18884 | * config/mcore/mcore-elf.h: Likewise. | |
18885 | * config/mcore/mcore.c: Likewise. | |
18886 | * config/mcore/mcore.h: Likewise. | |
18887 | * config/mcore/mcore.md: Likewise. | |
18888 | ||
3c6e6fbf ZW |
18889 | 2004-01-10 Zack Weinberg <zack@codesourcery.com> |
18890 | ||
18891 | * c-decl.c (duplicate_decls): Break apart into... | |
18892 | (diagnose_arglist_conflict, validate_proto_after_old_defn) | |
18893 | (locate_old_defn, diagnose_mismatched_decls, merge_decls): | |
18894 | ... these new functions. Restructure for comprehensibility. | |
18895 | Remove various archaic special cases. Always report the | |
18896 | location of the previous declaration when a diagnostic is issued. | |
18897 | (redeclaration_error_message): Fold into diagnose_mismatched_decls. | |
18898 | (match_builtin_function_types): Delete unnecessary forward declaration. | |
18899 | ||
1e8dcb41 ZW |
18900 | 2004-01-10 Zack Weinberg <zack@codesourcery.com> |
18901 | ||
18902 | * genautomata.c (make_automaton, NDFA_to_DFA): | |
18903 | Print progress bars with '.' characters instead of '*'. | |
18904 | (build_automaton): Change notes to match. | |
18905 | ||
a2ab189d KH |
18906 | 2004-01-10 Kazu Hirata <kazu@cs.umass.edu> |
18907 | ||
18908 | * config/m32r/m32r.md: Use define_constants for unspec and | |
18909 | unspec_volatile. | |
18910 | ||
cf7cb67e JH |
18911 | 2004-01-10 Jan Hubicka <jh@suse.cz> |
18912 | ||
c8fdcfae | 18913 | PR opt/11635 |
cf7cb67e JH |
18914 | * expr.c (expand_expr_real): More curefully expand union casts. |
18915 | ||
0574200c KH |
18916 | 2004-01-10 Kazu Hirata <kazu@cs.umass.edu> |
18917 | ||
18918 | * config/m32r/m32r.md (flush_icache): Use 1 for | |
18919 | unspec_volatile. | |
18920 | ||
a2a0019f DE |
18921 | 2004-01-10 David Edelsohn <edelsohn@gnu.org> |
18922 | James E Wilson <wilson@specifixinc.com> | |
18923 | ||
18924 | PR debug/12860 | |
18925 | * dbxout.c (dbxout_symbol): Remove initialization of | |
18926 | current_sym_code, current_sym_value, and current_sym_addr. | |
18927 | (dbxout_symbol_location): Same. | |
18928 | (dbxout_prepare_symbol): Zero current_sym_code, | |
18929 | current_sym_value, and current_sym_addr. | |
18930 | ||
bb3f5384 RS |
18931 | 2004-01-10 Richard Sandiford <rsandifo@redhat.com> |
18932 | ||
18933 | * tree.c (get_unwidened): Reorder conditions so that the null pointer | |
18934 | check is done first. | |
18935 | ||
fbfb16e2 EC |
18936 | 2004-01-09 Eric Christopher <echristo@redhat.com> |
18937 | ||
18938 | * toplev.c (rest_of_handle_cfg): Add reg_scan pass | |
18939 | if we're running mark_constant_function. | |
18940 | ||
cc23f3c7 JB |
18941 | 2004-01-09 Jeff Bailey <jbailey@nisa.net> |
18942 | ||
18943 | PR target/12561 | |
18944 | * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR. | |
18945 | ||
975421be AP |
18946 | 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu> |
18947 | ||
18948 | PR debug/11231 | |
a2a0019f DE |
18949 | * dbxout.c (dbxout_type_fields): Return if any item is |
18950 | error_mark_node or the type is error_mark_node. | |
975421be | 18951 | |
7e4bd541 GK |
18952 | 2004-01-09 Geoffrey Keating <geoffk@apple.com> |
18953 | ||
f01519dd GK |
18954 | * config/rs6000/darwin-ldouble.c: Add big comment explaining |
18955 | exactly what is expected as a 'long double'. | |
18956 | (_xlqadd): When a value to be returned is representable as a | |
18957 | 'double', just return it directly, do not construct it using a union. | |
18958 | Also, correct final fixup. | |
18959 | (_xlqmul): Likewise. | |
18960 | (_xlqdiv): Likewise. | |
18961 | * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c. | |
18962 | ||
7e4bd541 GK |
18963 | * config/rs6000/rs6000.md (fix_trunctfdi2): Delete. |
18964 | ||
47069ecb RH |
18965 | 2004-01-09 Richard Henderson <rth@redhat.com> |
18966 | ||
18967 | * recog.c (constrain_operands): Validate mem operands. | |
18968 | ||
9813058e JW |
18969 | 2004-01-09 James E Wilson <wilson@specifixinc.com> |
18970 | ||
18971 | * gcc.c (init_spec): Remove -lunwind from shared case. | |
18972 | * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind. | |
18973 | ||
b0fd7d27 SE |
18974 | 2004-01-09 Steve Ellcey <sje@cup.hp.com> |
18975 | ||
18976 | * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*. | |
18977 | * configure: Regenerate | |
18978 | ||
3897f229 JM |
18979 | 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk> |
18980 | ||
18981 | PR c/11234 | |
18982 | * c-typeck.c (build_c_cast): If pedantic, warn for conversions | |
18983 | between function and object pointers. | |
18984 | (digest_init): When comparing a pointer to function type to the | |
18985 | target type, only apply TREE_TYPE once to the pointer to function | |
18986 | type. | |
18987 | * except.c (for_each_eh_label_1): Treat data as a pointer to a | |
18988 | function pointer rather than casting it to a function pointer. | |
18989 | (for_each_eh_label): Update caller. | |
18990 | * recog.h (struct insn_data): Use a struct or union for output. | |
18991 | * genoutput.c (output_insn_data): Update. | |
18992 | * final.c (get_insn_template): Update. | |
18993 | ||
0fab64a3 MM |
18994 | 2004-01-09 Mark Mitchell <mark@codesourcery.com> |
18995 | ||
18996 | * expr.h (expand_expr): Make it a macro, not a function. | |
18997 | (expand_expr_real): New function. | |
18998 | * expr.c (store_expr): Adjust logic for deciding whether or not to | |
18999 | copy the value returned by expand_expr. | |
19000 | (expand_expr): Rename to ... | |
19001 | (expand_expr_real): ... this. Add alt_rtl parameter. Adjust | |
19002 | calls to language hooks. | |
19003 | * c-common.h (c_expand_expr): Adjust prototype. | |
19004 | * c-common.c (c_expand_expr): Add alt_rtl parameter. | |
19005 | * langhooks-def.h (lhd_expand_expr): Change prototype. | |
19006 | * langhooks.c (lhd_expand_expr): Add all_rtl parameter. | |
19007 | * langhooks.h (lang_hooks): Change type of expand_expr. | |
19008 | * stmt.c (stmt_status): Add x_last_expr_alt_rtl. | |
19009 | (last_expr_alt_rtl): Likewise. | |
19010 | (expand_expr_stmt_value): Set last_expr_alt_rtl. | |
19011 | (clear_last_expr): Clear it. | |
19012 | (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL. | |
19013 | (expand_end_bindings): Save and restor last_expr_alt_rtl. | |
19014 | * tree.def (RTL_EXPR): Give it an additional operand. | |
19015 | * tree.h (RTL_EXPR_ALT_RTL): New macro. | |
9813058e | 19016 | |
df68f43b KI |
19017 | 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
19018 | ||
19019 | * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__. | |
900a35c8 | 19020 | * config/m32r/m32r.c (call26_operand): Allow in PIC mode. |
df68f43b | 19021 | |
58ebda9c KH |
19022 | 2004-01-09 Kazu Hirata <kazu@cs.umass.edu> |
19023 | ||
19024 | PR target/13380. | |
19025 | * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17) | |
19026 | or (ne:SI (reg:CC 17) (const_int 0)). | |
19027 | Be specific about modes wherever possible. | |
19028 | ||
81ad38a6 KH |
19029 | 2004-01-09 Kazu Hirata <kazu@cs.umass.edu> |
19030 | ||
19031 | * config/m32r/m32r.c (m32r_expand_block_move): Call | |
19032 | gen_movestrsi_internal with two more arguments. | |
19033 | (m32r_output_block_move): Adjust operand numbers. | |
19034 | Properly update the source and destination pointers. | |
19035 | * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of | |
19036 | 'r+'. Change the set detinations to match_operand. | |
19037 | ||
b816f339 KH |
19038 | 2004-01-09 Kazu Hirata <kazu@cs.umass.edu> |
19039 | ||
19040 | * final.c (FIRST_INSN_ADDRESS): Remove. | |
19041 | (shorten_branches): Don't use FIRST_INSN_ADDRESS. | |
19042 | * system.h (FIRST_INSN_ADDRESS): Poison. | |
19043 | * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS. | |
19044 | * config/m32r/m32r-protos.h: Remove the prototype for | |
19045 | m32r_first_insn_address. | |
19046 | * config/m32r/m32r.c (m32r_first_insn_address): Remove. | |
19047 | * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise. | |
19048 | * doc/md.texi (FIRST_INSN_ADDRESS): Likewise. | |
19049 | ||
de99511b B |
19050 | 2004-01-09 J. Brobecker <brobecker@gnat.com> |
19051 | ||
19052 | * dwarf2out.c (gen_enumeration_type_die): Return the DIE that | |
19053 | we just created. | |
19054 | (is_ada_subrange_type): DIEs for enumeration subtypes should be | |
19055 | emitted as subrange types too. | |
19056 | (subrange_type_die): Add handling of enumeration subtypes. | |
19057 | ||
90e4e4c5 RH |
19058 | 2004-01-08 Richard Henderson <rth@redhat.com> |
19059 | ||
19060 | PR opt/12441 | |
19061 | Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz> | |
9813058e JW |
19062 | * i386.c (aligned_operand): Be prepared for SUBREGed registers. |
19063 | (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG. | |
19064 | (ix86_address_cost): Be prepared for SUBREGed registers. | |
19065 | (legitimate_address_p): Accept SUBREGed registers. | |
90e4e4c5 | 19066 | |
a6a5e4c9 KC |
19067 | 2004-01-08 Kelley Cook <kcook@gcc.gnu.org> |
19068 | ||
19069 | * Makefile.in: Rename configure.in to configure.ac | |
19070 | * doc/sourcebuild.texi: Likewise. | |
19071 | * configure: Regenerate. | |
19072 | * config.in: Regenerate. | |
19073 | ||
588f75d0 SH |
19074 | 2004-01-08 Stuart Hastings <stuart@apple.com> |
19075 | ||
19076 | * config/i386/i386.md: Typos in MMX/SSE immediate shifts. | |
19077 | ||
6242fcd8 JH |
19078 | 2004-01-08 Jan Hubicka <jh@suse.cz> |
19079 | ||
19080 | * cgraphunit.c (cgraph_decide_inlining): Fix typo. | |
19081 | ||
a29077da GK |
19082 | 2004-01-08 Geoffrey Keating <geoffk@apple.com> |
19083 | ||
ecb62ae7 GK |
19084 | * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset. |
19085 | (UNSPEC_FIX_TRUNC_TF): New constant. | |
19086 | (movtf_internal): Make splitter active only when insn is active. | |
19087 | (extenddftf2): Rewrite to properly load zero into low part. | |
19088 | (extenddftf2_internal): New. | |
19089 | (extendsftf2): Rewrite. | |
19090 | (truncdftf2): Correct length. | |
19091 | (floatditf2): Delete. | |
19092 | (fix_trunc_helper): New. | |
19093 | (fix_trunctfdi2): Use fix_trunc_helper. | |
19094 | (fix_trunctfsi2): Likewise.fix_trunc | |
19095 | (fix_trunctfsi2_internal): New. | |
19096 | ||
a29077da GK |
19097 | * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum |
19098 | addresses are legitimate on Darwin even when flag_pic. | |
19099 | (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create | |
19100 | non-offsettable addresses for loads of TFmode constants. | |
19101 | ||
cb1f9d03 KI |
19102 | 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
19103 | ||
19104 | * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit | |
19105 | variables in the appropriate bss section. | |
19106 | ||
7ddb6568 AM |
19107 | 2004-01-09 Alan Modra <amodra@bigpond.net.au> |
19108 | ||
19109 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure | |
19110 | target_flags has MASK_POWERPC64 when -m64. | |
19111 | * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64 | |
19112 | to 620, 630, power3, power4 and rs64a entries. | |
19113 | * config/rs6000/rs6000.h (MASK_64BIT): Expand comment. | |
19114 | ||
effdb493 RS |
19115 | 2004-01-08 Richard Sandiford <rsandifo@redhat.com> |
19116 | ||
19117 | * simplify-rtx.c (simplify_immed_subreg): Fix construction of | |
19118 | floating-point constants. | |
19119 | ||
fbfd77b8 JB |
19120 | 2004-01-08 J. Brobecker <brobecker@gnat.com> |
19121 | ||
19122 | * dwarf2out.c (subrange_type_die): Add context_die parameter. | |
19123 | Create the subrange_type DIE using the given context DIE. | |
19124 | (modified_type_die): Update call to subrange_type_die. | |
19125 | ||
19126 | 2004-01-08 Zack Weinberg <zack@codesourcery.com> | |
7ce27103 ZW |
19127 | |
19128 | * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h: | |
19129 | Add multiple-include guard. | |
19130 | ||
ce1f50b2 HP |
19131 | 2004-01-08 Hartmut Penner <hpenner@de.ibm.com> |
19132 | ||
7ce27103 ZW |
19133 | * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept |
19134 | all vector constant loadable by vsplt*. | |
ce1f50b2 HP |
19135 | (output_vec_const_move): Likewise. |
19136 | ||
bca63328 JM |
19137 | 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk> |
19138 | ||
19139 | PR c/6024 | |
19140 | * c-typeck.c (comptypes): Only treat enumerated types in the same | |
19141 | translation unit as compatible with each other when they are the | |
19142 | same type. | |
19143 | * doc/extend.texi: Update. | |
19144 | ||
85b58ca5 JM |
19145 | 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk> |
19146 | ||
19147 | PR c/12165 | |
19148 | * c-decl.c (grokdeclarator): Take type qualifiers of typedefed | |
19149 | array type from the array element type. | |
19150 | ||
93c9d1ba AM |
19151 | 2004-01-07 Alan Modra <amodra@bigpond.net.au> |
19152 | ||
19153 | * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function. | |
19154 | * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare. | |
19155 | * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define. | |
19156 | (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment. | |
19157 | * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define. | |
19158 | ||
deae8de6 EC |
19159 | 2004-01-06 Eric Christopher <echristo@redhat.com> |
19160 | ||
19161 | * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default. | |
19162 | (DWARF2_DEBUGGING_INFO): Define. | |
19163 | (PREFERRED_DEBUGGING_TYPE): Set to dwarf2. | |
19164 | * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove. | |
19165 | * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0 | |
19166 | for irix as. | |
19167 | (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as. | |
19168 | * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove. | |
19169 | * config/mips/iris5gas.h: Ditto. | |
19170 | (DBX_DEBUGGING_INFO): Remove. | |
19171 | (DWARF2_DEBUGGING_INFO): Ditto. | |
19172 | (MIPS_DEBUGGING_INFO): Ditto. | |
19173 | (PREFERRED_DEBUGGING_TYPE): Ditto. | |
19174 | * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove. | |
19175 | (PREFERRED_DEBUGGING_TYPE): Ditto. | |
19176 | (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto. | |
19177 | * config/mips/elf64.h: Ditto. | |
19178 | ||
fed2b316 JH |
19179 | 2004-01-06 Jan Hubicka <jh@suse.cz> |
19180 | ||
19181 | * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate. | |
19182 | (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use. | |
19183 | ||
64d961b8 GK |
19184 | 2004-01-06 Geoffrey Keating <geoffk@apple.com> |
19185 | ||
084f5a35 GK |
19186 | * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c. |
19187 | (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128. | |
19188 | * config/rs6000/darwin-ldouble.c: New. | |
deae8de6 | 19189 | |
550d1387 GK |
19190 | * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg |
19191 | for constants. | |
19192 | (constant_subword): Delete. | |
19193 | * rtl.h (constant_subword): Delete prototype. | |
19194 | (immed_double_const): Is not in varasm.c. | |
19195 | * simplify-rtx.c (simplify_immed_subreg): New. | |
19196 | (simplify_subreg): Use simplify_immed_subreg. | |
19197 | ||
0c90aa3c GK |
19198 | * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather |
19199 | than trying to generate RTL directly. | |
19200 | (fix_trunctfsi2): Use expand_fix rather than trying to generate | |
19201 | RTL directly. | |
19202 | ||
64d961b8 GK |
19203 | * dwarf2out.c (add_const_value_attribute): Remove incorrect comment. |
19204 | ||
72b38561 DE |
19205 | 2004-01-06 David Edelsohn <edelsohn@gnu.org> |
19206 | ||
19207 | * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each | |
19208 | function into a separate macro. | |
19209 | (read_only_data_section): Add void argument. | |
19210 | (private_data_section): Same. | |
19211 | (read_only_private_data_section): Same. | |
19212 | (toc_section): Same. | |
19213 | ||
9a609388 JH |
19214 | 2004-01-06 Jan Hubicka <jh@suse.cz> |
19215 | ||
0aaae060 JH |
19216 | * invoke.texi: Remove typo in last change. |
19217 | ||
9a609388 JH |
19218 | PR target/10301 |
19219 | * config.gcc: Accept opteron and athlon-64 as variants | |
19220 | of k8. | |
19221 | * i386.c (override_options): Likewise. | |
19222 | * invoke.texi (i386 -mtune): Expand documentation. | |
19223 | ||
5d3cc252 KH |
19224 | 2004-01-06 Kazu Hirata <kazu@cs.umass.edu> |
19225 | ||
19226 | * alias.c: Fix comment typos. | |
19227 | * builtins.c: Likewise. | |
19228 | * cfg.c: Likewise. | |
19229 | * df.c: Likewise. | |
19230 | * dominance.c: Likewise. | |
19231 | * dwarf2out.c: Likewise. | |
19232 | * emit-rtl.c: Likewise. | |
19233 | * expr.c: Likewise. | |
19234 | * final.c: Likewise. | |
19235 | * fold-const.c: Likewise. | |
19236 | * gcse.c: Likewise. | |
19237 | * genattrtab.c: Likewise. | |
19238 | * genrecog.c: Likewise. | |
19239 | * gensupport.c: Likewise. | |
19240 | * ggc-zone.c: Likewise. | |
19241 | * integrate.c: Likewise. | |
19242 | * local-alloc.c: Likewise. | |
19243 | * loop.c: Likewise. | |
19244 | * recog.c: Likewise. | |
19245 | * regmove.c: Likewise. | |
19246 | * reg-stack.c: Likewise. | |
19247 | * reorg.c: Likewise. | |
19248 | * rtlanal.c: Likewise. | |
19249 | * rtl.h: Likewise. | |
19250 | * sched-ebb.c: Likewise. | |
19251 | * simplify-rtx.c: Likewise. | |
19252 | * toplev.c: Likewise. | |
19253 | * varasm.c: Likewise. | |
19254 | ||
95ea367d KH |
19255 | 2004-01-06 Kazu Hirata <kazu@cs.umass.edu> |
19256 | ||
19257 | * doc/install.texi: Fix typos. | |
19258 | * doc/invoke.texi: Likewise. | |
19259 | * doc/md.texi: Likewise. | |
19260 | ||
f26ef713 KI |
19261 | 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
19262 | ||
19263 | * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed | |
19264 | ||
bcf17554 JH |
19265 | 2004-01-06 Jan Hubicka <jh@suse.cz> |
19266 | ||
19267 | * i386.c (init_cumulative_args): Add handling of MMX_REGPARM. | |
19268 | (function_arg_advance): Do not pass aggregates in SSE; deal handling | |
19269 | of MMX_REGPARM. | |
19270 | (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM; | |
19271 | add MMX_REGPARM. | |
19272 | * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields. | |
19273 | (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI. | |
19274 | (MMX_REGPARM_MAX): Similarly for -mmmx. | |
19275 | ||
24746a42 KH |
19276 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
19277 | ||
19278 | * config/sh/linux.h: Fix comment formatting. | |
19279 | * config/sh/netbsd-elf.h: Likewise. | |
19280 | * config/sh/sh.c: Likewise. | |
19281 | * config/sh/sh.h: Likewise. | |
19282 | * config/sh/vxworks.h: Likewise. | |
19283 | ||
f7e7e318 KH |
19284 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
19285 | ||
19286 | * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison. | |
19287 | * toplev.c (output_file_directive): Don't use | |
19288 | ASM_OUTPUT_MAIN_SOURCE_FILENAME. | |
19289 | ||
80a08664 SB |
19290 | 2004-01-05 Steven Bosscher <s.bosscher@student.tudelft.nl> |
19291 | ||
19292 | * toplev.c: Fix broken checkin of 2003-12-30. | |
19293 | ||
02fef853 | 19294 | 2004-01-05 Daniel Berlin <dberlin@dberlin.org> |
deae8de6 | 19295 | |
02fef853 DB |
19296 | * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS |
19297 | (USING_MMAP): We don't support non-mmap. | |
19298 | (struct alloc_chunk): Steal 1 bit from typecode, use it to mark | |
19299 | large objects. | |
19300 | (struct page_entry): Remove bytes_free. | |
19301 | (struct page_table_chain): Remove. | |
19302 | (struct globals): Remove page_table member. | |
19303 | (loookup_page_table_entry): Function deleted. | |
19304 | (set_page_table_entry): Ditto. | |
19305 | (ggc_allocated_p): No longer need page table lookups. | |
19306 | (ggc_marked_p): Ditto. | |
19307 | (alloc_small_page): Don't care about bytes_free anymore. | |
19308 | (alloc_large_page): Round up size. | |
19309 | (ggc_alloc_zone_1): Mark large objects as such, and calculate | |
deae8de6 | 19310 | their size the new way. |
02fef853 DB |
19311 | Remove page table lookups and setting. |
19312 | (ggc_get_size): Calculate large object size the new way. | |
19313 | (sweep_pages): Redo to account for fact that we no longer have | |
19314 | bytes_free. | |
19315 | (ggc_collect): No longer need to reincrement bytes_free. | |
19316 | (ggc_pch_alloc_object): Handle new large objects properly. | |
19317 | (ggc_pch_read): Put PCH stuff into it's own uncollected zone. | |
19318 | ||
60b799fd KH |
19319 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
19320 | ||
19321 | * doc/invoke.texi: Remove a page break. | |
19322 | ||
908c8c7e KH |
19323 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
19324 | ||
19325 | * config/avr/avr.c (avr_output_function_prologue): Remove an | |
19326 | extra pair of curly braces. | |
19327 | ||
8596d0a1 KH |
19328 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
19329 | ||
19330 | * config/mn10300/mn10300.c: Fix comment formatting. | |
19331 | * config/mn10300/mn10300.h: Likewise. | |
19332 | ||
1e2d4dc1 RK |
19333 | 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
19334 | ||
19335 | * tree.h: Update documentation on nothrow_flag. | |
19336 | * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for | |
19337 | types. | |
19338 | ||
b6e69d94 KH |
19339 | 2004-01-05 Kazu Hirata <kazu@cs.umass.edu> |
19340 | ||
19341 | * doc/invoke.texi: Remove traces of dead ports. | |
19342 | ||
1cf959cb RS |
19343 | 2004-01-05 Richard Sandiford <rsandifo@redhat.com> |
19344 | ||
19345 | * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs | |
19346 | option. | |
19347 | ||
f6149877 RS |
19348 | 2004-01-05 Richard Sandiford <rsandifo@redhat.com> |
19349 | ||
19350 | PR target/12945 | |
19351 | * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for | |
b56c0023 | 19352 | counter labels. |
f6149877 RS |
19353 | * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete. |
19354 | (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating | |
19355 | string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check | |
19356 | the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P. | |
19357 | (mips_symbol_insns): Don't trust the local/global classification. | |
19358 | (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol. | |
19359 | (override_options): Make -mabicalls -fno-unit-at-a-time imply | |
19360 | -mno-explicit-relocs. | |
19361 | (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish | |
19362 | between local and global symbols. | |
19363 | ||
a6008bd8 RS |
19364 | 2004-01-05 Richard Sandiford <rsandifo@redhat.com> |
19365 | ||
19366 | * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare. | |
19367 | (mips_preferred_reload_class): Declare. | |
19368 | * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function. | |
19369 | (EXTRA_CONSTRAINT): Update accordingly. | |
19370 | (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class. | |
19371 | * config/mips/mips.c (mips_dangerous_for_la25_p): New function. | |
19372 | (mips_preferred_reload_class): New function. Prefer LEA_REGS if | |
19373 | mips_dangerous_for_la25_p. | |
19374 | (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS | |
19375 | if mips_dangerous_for_la25_p. | |
19376 | ||
d7b3c085 BI |
19377 | 2004-01-05 Bernardo Innocenti <bernie@develer.com> |
19378 | ||
19379 | * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison | |
deae8de6 | 19380 | warning. |
d7b3c085 | 19381 | |
ca9bc441 NN |
19382 | 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org> |
19383 | ||
19384 | * configure.ac: Use AC_PROG_CPP_WERROR. | |
19385 | * configure: Regenerate. | |
19386 | ||
016d7f3e ZW |
19387 | 2004-01-04 Zack Weinberg <zack@codesourcery.com> |
19388 | ||
19389 | * .cvsignore: Add autom4te.cache. | |
19390 | ||
5a4b3afd RS |
19391 | 2004-01-04 Richard Sandiford <rsandifo@redhat.com> |
19392 | ||
19393 | * doc/invoke.texi: Revamp documentation of MIPS options. Remove | |
19394 | -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile, | |
19395 | -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first, | |
19396 | then architecture options, then ABI options. General rewording. | |
19397 | ||
928a5ba9 JM |
19398 | 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk> |
19399 | ||
19400 | PR c/3414 | |
19401 | * doc/extend.texi: Clarify definition of malloc attribute. | |
19402 | ||
dc0bfe6a JH |
19403 | 2004-01-04 Jan Hubicka <jh@suse.cz> |
19404 | ||
19405 | * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency. | |
19406 | * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed | |
19407 | * cgraph.h (cgraph_edge): Replace inline_call by inline_failed | |
19408 | (cgraph_inline_p): Add extra argument reason. | |
19409 | * cgraphunit.c: Minor formating fixes. | |
19410 | cgraph_first_inlined_callee): New functions. | |
19411 | (record_call_1): Record builtins too. | |
19412 | (cgraph_analyze_function): Update inline_failed messages. | |
19413 | (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into, | |
19414 | cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed. | |
19415 | (cgraph_check_inline_limits): Likewise; Add argument reason. | |
19416 | (cgraph_set_inline_failed): New static function. | |
19417 | (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set | |
19418 | reasons. | |
19419 | (cgraph_inline_p): Add new argument reason. | |
19420 | * tree-inline.c (expand_call_inline): Update warning. | |
19421 | ||
ba479fd2 NN |
19422 | 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org> |
19423 | ||
914c5af7 NN |
19424 | * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM |
19425 | with modern equivalents. | |
19426 | * configure: Regenerate. | |
19427 | ||
016d7f3e ZW |
19428 | * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE. |
19429 | * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove. | |
19430 | * configure: Regenerate. | |
78c9cb99 | 19431 | |
d44f1a00 NN |
19432 | * doc/install.texi: Note that 'gcc' is now a 2.57 directory. |
19433 | ||
ba479fd2 NN |
19434 | * configure.in: Rename to configure.ac. |
19435 | * configure.ac: Renamed from configure.in; make minimum necessary | |
19436 | changes for autoconf 2.5x. | |
19437 | * aclocal.m4: Make minimum necessary changes for autoconf 2.5x. | |
19438 | * configure: Regenerate with autoconf 2.57. | |
19439 | ||
031a26c5 KH |
19440 | 2004-01-03 Kazu Hirata <kazu@cs.umass.edu> |
19441 | ||
19442 | * config/mips/linux.h: Fix comment formatting. | |
19443 | * config/mips/mips.c: Likewise. | |
19444 | * config/mips/mips.h: Likewise. | |
19445 | * config/mips/mips.md: Likewise. | |
19446 | * config/mips/netbsd.h: Likewise. | |
19447 | * config/mips/windiss.h: Likewise. | |
19448 | ||
b87cfcfb RH |
19449 | 2004-01-02 Richard Henderson <rth@redhat.com> |
19450 | ||
19451 | * config/i386/i386.md (fp constant pool splitter): Reorg suppression | |
19452 | for sse and 387; add suppression for mmx. | |
19453 | ||
36579663 AP |
19454 | 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu> |
19455 | ||
9d85830f AP |
19456 | * loop.c (loop_optimize): Free all loops_info's mems. |
19457 | ||
016d7f3e | 19458 | * c-typeck.c (finish_init): Free spelling_base before |
36579663 | 19459 | setting it again. |
016d7f3e | 19460 | |
36579663 AP |
19461 | * cfgloop.c (flow_loops_find): Always free the sbitmap |
19462 | headers. | |
19463 | ||
19464 | * predict.c (estimate_probability): Free bbs after being | |
19465 | done with it. | |
19466 | ||
3864b6fe KH |
19467 | 2004-01-02 Kazu Hirata <kazu@cs.umass.edu> |
19468 | ||
19469 | * config/mn10300/mn10300.h (PREDICATE_CODES): Add | |
19470 | const_8bit_operand and call_address_operand. | |
19471 | ||
8b6bd5d7 JH |
19472 | 2004-01-02 Jan Hubicka <jh@suse.cz> |
19473 | ||
19474 | * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls | |
19475 | when there is nothing to inline but warnings are requested. | |
19476 | (cgraph_decide_inlining): Fix memory leak. | |
19477 | ||
9b9bd3b2 JH |
19478 | 2004-01-02 Jan Hubicka <jh@suse.cz> |
19479 | ||
19480 | * expr.c (store_constructor): Fix pasto in previous patch. | |
19481 | ||
43f3a59d KH |
19482 | 2004-01-02 Kazu Hirata <kazu@cs.umass.edu> |
19483 | ||
19484 | * config/i386/cygming.h: Fix comment formatting. | |
19485 | * config/i386/djgpp.h: Likewise. | |
19486 | * config/i386/gthr-win32.c: Likewise. | |
19487 | * config/i386/i386-interix.h: Likewise. | |
19488 | * config/i386/i386.c: Likewise. | |
19489 | * config/i386/i386.h: Likewise. | |
19490 | * config/i386/openbsd.h: Likewise. | |
19491 | * config/i386/winnt.c: Likewise. | |
19492 | * config/i386/xm-mingw32.h: Likewise. | |
19493 | ||
daef8bbd JM |
19494 | 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk> |
19495 | ||
19496 | * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update | |
19497 | copyright and last modification dates. | |
19498 | ||
7e081a0c AJ |
19499 | 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de> |
19500 | ||
19501 | * doc/install.texi (Specific): Mention x86_64. | |
19502 | ||
ac3f5df7 HPN |
19503 | 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com> |
19504 | ||
19505 | * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]: | |
19506 | Call force_operand on plus_constant result. | |
19507 | ||
997404de JH |
19508 | 2004-01-01 Jan Hubicka <jh@suse.cz> |
19509 | ||
19510 | * expmed.c (store_bit_field, extract_bit_field): Use new named patterns | |
19511 | * expr.c (store_constructor): Use vec_init pattern. | |
19512 | * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init. | |
19513 | * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init | |
19514 | (vec_set_optab, vec_extract_optab, vec_init_optab): New. | |
19515 | * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf): | |
19516 | New patterns. | |
19517 | (sse2_unpc?pd): Fix pattern. | |
19518 | (sse2_movlpd): Kill. | |
19519 | (sse2_movsd): Deal with movlpd too. | |
19520 | * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd. | |
19521 | (ix86_expand_vector_init): New. | |
19522 | * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions. | |
19523 | * md.texi (vec_set, vec_extract): Document | |
19524 | ||
b684a3df JH |
19525 | 2003-12-31 Jan Hubicka <jh@suse.cz> |
19526 | ||
19527 | PR opt/13473 | |
19528 | * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside | |
19529 | ASM input operands | |
19530 | ||
19531 | PR opt/12617 | |
19532 | * toplev.c (dump_file_index): Reorder ce3 and bbro. | |
19533 | (dump_file): Likewise. | |
19534 | (rest_of_compilation): Likewise. | |
19535 | ||
19536 | PR debug/13367 | |
19537 | * cgraph.c (cgraph_function_possibly_inlined): Even with | |
19538 | flag_really_no_inline we inline always_inline functions. | |
19539 | * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag | |
19540 | for non-always_inline functions when there is flag_really_no_inline. | |
19541 | (cgraph_decide_inlining): Limit work done when not inlining. | |
19542 | (cgraph_decide_inlining_incrementally): Likewise. | |
19543 | (cgraph_optimize_function): Check whether something got inlined. | |
19544 | * c-objc-common.c (c_disregard_inline_limits): Do not always inline | |
19545 | extern inline functions when not inlining. | |
19546 | ||
19547 | * opts.c (decode_options): Disable crossjumping at -O1 | |
19548 | * invoke.texi (-O1): Document change. | |
a55f4481 | 19549 | |
cd14f58c | 19550 | See ChangeLog.10 for earlier changes. |