* gcc/config/rs6000/rs6000.c (function_arg) Handle
[gcc.git] / gcc / ChangeLog
1 2004-01-20 Hartmut Penner <hpenner@de.ibm.com>
2
3 * gcc/config/rs6000/rs6000.c (function_arg) Handle
4 vector register special in function without prototype.
5 (function_arg_advance): Vector parameters get always
6 GPRs allocated for the linux64 target.
7
8 2004-01-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
9
10 * config/m32r/m32r.h (TARGET_M32R2). Test for TARGET_M32R2_MASK
11 not TARGET_M32RX_MASK.
12
13 2004-01-20 Eric Botcazou <ebotcazou@libertysurf.fr>
14
15 PR target/13557
16 * config/sparc/sparc.c (function_arg): Reorder the cases.
17
18 2004-01-19 Per Bothner <per@bothner.com>
19
20 Move cpp_reader's line_maps field to a shared global.
21 * cpphash.h (cpp_reader): Rename line_maps field to line_table
22 and change the type to a pointer rather than a struct.
23 * cppinit.c (cpp_push_main_field): Adjust accordingly.
24 * cpplib.c (do_include_common, _cpp_do_file_change, cpp_get_callbacks):
25 Likewise.
26 * cppfiles.c (validate_pch): Likewise.
27 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_builtin_macro_text):
28 Likewise.
29 * cpperror.c (print_location): Likewise.
30 * cpplib.h (cpp_create_reader): New line_maps pointer parameter.
31 * cppinit.c (cpp_create_reader): Handle new parameter.
32 (cpp_destroy): Don't free line_maps - that's no longer our job.
33 * input.h (line_table): New variable.
34 * toplev.c (line_table): Declare variable.
35 (general_init): Initialize line_table.
36 * c-opts.c (c_common_init_options): Pass line_table to
37 cpp_create_reader.
38 * fix-header.c (read_scan_file): New local variable line_table.
39 Initialize, and pass it to cpp_create_reader.
40 * Makefile.in (LIBS, LIBDEPS): Add libcpp.a.
41 (C_AND_OBJC_OBJS, fix-header): Remove redundant libcpp.a.
42
43 2004-01-19 Per Bothner <per@bothner.com>
44
45 Implement a cache for linemap_lookup.
46 * line-map.h (struct_line_maps): Add cache field.
47 * line-map.c (linemap_init): Zero cache field.
48 (linemap_add): Set cache field to offset of newly allocated map.
49 (linemap_lookup): Use and set cache field.
50
51 2004-01-20 Kaz Kojima <kkojima@gcc.gnu.org>
52
53 PR optimization/13567
54 * cse.c (cse_basic_block): Call cse_insn with a non-null
55 libcall_insn for the last SET insn of a no-confilict block.
56
57 2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
58
59 * Makefile.in (target_noncanonical, program_transform_name): Use
60 immediate define instead of deferred.
61 (GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
62 PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
63 GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
64 deferred backquote.
65
66 2004-01-20 Joseph S. Myers <jsm@polyomino.org.uk>
67
68 * c-decl.c (c_init_decl_processing): Set pedantic_lvalues to
69 true unconditionally.
70 * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning):
71 Remove.
72 (build_unary_op, build_modify_expr): Don't handle extended
73 lvalues.
74 (build_component_ref, build_conditional_expr): Call non_lvalue
75 instead of pedantic_non_lvalue.
76 (build_c_cast): Don't condition use of non_lvalue on pedantic.
77 * fold-const.c (fold): Don't check pedantic directly for
78 COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are
79 passed to pedantic_non_lvalue.
80 * doc/extend.texi: Remove documentation of extended lvalues.
81
82 2004-01-19 Roger Sayle <roger@eyesopen.com>
83
84 PR optimization/5263
85 * simplify-rtx.c (associative_constant_p): Delete.
86 (simplify_associative_operation): Rewrite to linearize terms, and
87 attempt to simplify new term against both left and right subterms.
88 (simplify_binary_operation): Call swap_commutative_operands_p on
89 op0 and op1, not trueop0 and trueop1. Move the initialization of
90 trueop0 and trueop1 down to where first needed.
91 (simplify_relational_operation): Likewise.
92 * rtlanal.c (commutative_operand_precedence): Also order constant
93 operands using avoid_constant_pool_reference.
94
95 2004-01-19 Richard Henderson <rth@redhat.com>
96
97 * config/alpha/alpha.c (aligned_memory_operand): Check MEM_ALIGN,
98 don't check memory mode.
99 (unaligned_memory_operand): Likewise.
100 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Don't
101 abort for op0 not MEM.
102
103 * config/alpha/alpha.c (alpha_expand_mov_nobwx): If the destination
104 is not a reg, copy to a scratch first.
105 (aligned_loadqi, aligned_loadhi, unaligned_loadqi, unaligned_loadhi,
106 unaligned_loadqi_le, unaligned_loadqi_be, unaligned_loadhi_le,
107 unaligned_loadhi_be): Expect op0 in DImode; don't SUBREG.
108 (reload_inqi, reload_inhi): Fix mode of op0.
109 (reload_inqi_help, reload_inhi_help, reload_outqi_help,
110 reload_outhi_help): Likewise. Use define_insn_and_split.
111
112 * config/alpha/alpha.md (call peepholes): Check for REG_NORETURN
113 as well as $29 dead.
114
115 2004-01-19 Eric Botcazou <ebotcazou@libertysurf.fr>
116
117 * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): New. Emit
118 "tls_object" for thread-local objects.
119 * config/sparc/sparc.c (sparc_elf_asm_named_section): Emit
120 "#tls" for thread-local sections.
121 * configure.ac (thread-local checks): Specify --fatal-warnings in
122 every binutils-specific checks. For sparc*-*-*, test whether the
123 OS is Solaris and the tools are native and act accordingly.
124 * configure: Rebuild.
125
126 2004-01-19 Jeff Law <law@redhat.com>
127
128 * contrib.texi: Update Paolo Carlini's entry. New entries for
129 Jerry Quinn and Petur Runolfsson.
130
131 2004-01-19 Roger Sayle <roger@eyesopen.com>
132
133 * config/i386/i386.md (*movhi_1, *movqi_1): When optimizing for
134 size, don't use the larger zero-extending loads.
135
136 2004-01-19 Richard Henderson <rth@redhat.com>
137
138 * alpha.h (HARD_REGNO_MODE_OK): Disallow SImode in FP regs.
139 * alpha.md (UNSPEC_NT_LDA): Remove.
140 (UNSPEC_CVTLQ, cvtlq): New.
141 (extendsidi2_1): Rename from extendsidi2_nofix; remove f/f.
142 (extendsidi2_fix): Remove.
143 (extendsidi2 splitter): Use cvtlq.
144 (extendsidi2 fp peepholes): Remove.
145 (cvtql): Use SFmode instead of SImode.
146 (fix_trunc?fsi): Update to match.
147 (floatsisf2_ieee, floatsisf2, floatsidf2_ieee, floatsidf2): New.
148 (movsi): Rename from movsi_nofix, remove f alternatives.
149 (movsi_nt_vms): Similarly.
150 (movsi_fix, movsi_nt_vms_fix): Remove.
151 (nt_lda): Remove.
152 * alpha.c (alpha_expand_prologue): Use adddi3, not nt_lda.
153
154 2004-01-19 Jan Hubicka <jh@suse.cz>
155
156 * cgraph.c (cgraph_remove_node): Fix removal from linked list.
157 * cgraphunit.c (cgraph_finalize_compilation_unit): Clear next_needed
158 list.
159 (cgraph_remove_unreachable_nodes): New function
160 (cgraph_decide_inlining_of_small_function): Fix pasto.
161 (cgraph_decide_inlining_incrementally): Fix pasto.
162 (cgrpah_decide_inlining): Likewise; remove unreachable nodes.
163
164 2004-01-19 Steven Bosscher <stevenb@suse.de>
165
166 * gengtype.c (header_file): Make it static.
167 (write_types_process_field, write_enum_defn): Minor whitespace fixes.
168 * gengtype.h (header_file): No longer extern.
169
170 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
171
172 * defaults.h (CASE_VECTOR_PC_RELATIVE): Provide the default.
173 * expr.c (CASE_VECTOR_PC_RELATIVE): Remove.
174 * stmt.c (CASE_VECTOR_PC_RELATIVE): Likewise.
175
176 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
177
178 * stmt.c (HAVE_casesi): Define it not already defined.
179 (HAVE_tablejump): Likewise.
180 (expand_end_case_type): Resort to the binary tree method if
181 neither casesi or tablejump is available.
182
183 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
184
185 * final.c (final_scan_insn): Make non-static again.
186 * output.h (final_scan_insn): Re-add prototype.
187 * config/arc/arc.c (arc_output_function_epilogue): Add NULL
188 to final_scan_insn call.
189 * config/cris/cris.c (cris_target_asm_function_epilogue): Likewise.
190 * config/mips/mips.c (mips_output_conditional_branch): Likewise.
191 * config/pa/pa.c (output_lbranch, output_call): Likewise.
192 * config/sh/sh.c (print_slot): Likewise.
193 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): Likewise.
194 (output_sibcall, sparc_flat_function_epilogue): Likewise.
195
196 2004-01-18 Jan Hubicka <jh@suse.cz>
197
198 * basic-block.h (try_redirect_by_replacing_jump): Declare.
199 * cfgcleanup.c (try_optimize_cfg): Use it.
200 * cfgrtl.c (try_redirect_by_replacing_jump): Export.
201 (rtl_redirect_edge_and_branch, cfg_layout_redirect_edge_and_branch):
202 Kill hack.
203 (cfg_layout_merge_blocks): Use try_redirect_by_replacing_jump.
204
205 Revert:
206 2004-01-16 Geoffrey Keating <geoffk@apple.com>
207
208 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
209 even after reload, just don't remove the actual jump tables.
210
211 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
212
213 * config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.
214
215 2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
216
217 * defaults.h (ASM_OUTPUT_ADDR_VEC_ELT): Fix the computation of
218 the size of a pointer in bytes.
219
220 2004-01-18 Roger Sayle <roger@eyesopen.com>
221
222 * builtins.c (expand_builtin_expect_jump): Fix thinko of reusing
223 live "next" variable, which could lead to an infinite loop.
224
225 2004-01-18 Andrew Pinski <pinskia@physics.uc.edu>
226
227 * config/rs6000/altivec.h: Wrap C++ functions in extern "C++"
228 block.
229
230 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
231 Check for NULL in the chain and remove repeated code.
232
233 2004-01-18 Jan Hubicka <jh@suse.cz>
234
235 * coverage.c (checksum_string): Rename to ...
236 (coverage_checksum_string): ... this one, Use crc32_string; recognize
237 names containing random number and zero the number out in order to get
238 match.
239
240 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
241
242 * config/mips/mips.c (mips_got_alias_set): Mark for PCH.
243
244 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
245
246 * doc/c-tree.texi, doc/cpp.texi, doc/extend.texi,
247 doc/frontends.texi, doc/gcov.texi, doc/gty.texi, doc/install.texi,
248 doc/invoke.texi, doc/libgcc.texi, doc/md.texi, doc/rtl.texi,
249 doc/sourcebuild.texi, doc/standards.texi, doc/tm.texi,
250 doc/trouble.texi: Remove trailing whitespace.
251
252 2004-01-18 Richard Sandiford <rsandifo@redhat.com>
253
254 PR target/7618
255 * config/mips/mips.c: Include cfglayout.h.
256 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
257 (mips_unspec_offset_high): Add temporary register argument.
258 (mips_load_call_address): New function, split out from...
259 (mips_expand_call): ...here.
260 (mips_output_cplocal): New function.
261 (mips_output_function_prologue, mips_output_function_epilogue): Use it.
262 (mips_emit_loadgp): New function, split out from...
263 (mips_expand_prologue): ...here.
264 (mips_output_mi_thunk): New function.
265
266 2004-01-17 Bernardo Innocenti <bernie@develer.com>
267
268 * longlong.h (mc68020, __mc68030__, mc68030, __mc68040__, mc68040,
269 mcpu32): Remove redundant checks for implied target predefines.
270
271 2004-1-17 Andrew Pinski <pinskia@physics.uc.edu>
272
273 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
274 Return type is unsigned int not int.
275 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
276 Likewise.
277
278 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
279
280 * doc/contrib.texi, doc/cppenv.texi, doc/extend.texi,
281 doc/install.texi, doc/invoke.texi, doc/tm.texi: Consistently use
282 "GNU/Linux" and "Microsoft Windows" terminology.
283
284 2004-01-18 Joseph S. Myers <jsm@polyomino.org.uk>
285
286 * doc/c-tree.texi, doc/compat.texi, doc/cpp.texi,
287 doc/cppopts.texi, doc/extend.texi, doc/install.texi,
288 doc/interface.texi, doc/invoke.texi, doc/libgcc.texi, doc/md.texi,
289 doc/objc.texi, doc/rtl.texi, doc/tm.texi, doc/trouble.texi: Use
290 @smallexample instead of @example.
291
292 2004-01-17 Ziemowit Laski <zlaski@apple.com>
293
294 * objc/objc-act.c (build_objc_method_call): Use target
295 hooks instead of macros to determine if ..._stret
296 dispatchers should be used (NeXT runtime only).
297
298 2004-01-17 Roger Sayle <roger@eyesopen.com>
299
300 * builtins.c (expand_builtin_expect_jump): Fix mistake in my
301 last patch. Use XEXP (x, 0) to get a LABEL_REF's CODE_LABEL.
302
303 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
304
305 * rtl.h (emit_insn_before_sameloc, emit_jump_insn_before_sameloc)
306 (emit_call_insn_before_sameloc, emit_insn_after_sameloc)
307 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): New
308 macros.
309 * reload1.c (emit_reload_insns): Use them.
310 * emit-rtl.c (emit_insn_before_sameloc, emit_insn_after_sameloc)
311 (emit_jump_insn_after_sameloc, emit_call_insn_after_sameloc): Check
312 for NULL PATTERN.
313
314 2004-01-17 Daniel Jacobowitz <drow@mvista.com>
315
316 * final.c (SEEN_BB, SEEN_NOTE, SEEN_EMITTED): Define.
317 (final_scan_insn): Update to take an additional SEEN argument. Emit
318 a line note after the prologue. Make static.
319 (line_note_exists): Remove.
320 (final): Don't initialize line_note_exists. Update call to
321 final_scan_insn.
322 * output.h (final_scan_insn): Remove prologue.
323 * function.c (set_insn_locators): Update comment.
324 (thread_prologue_and_epilogue_insns): Add a comment.
325
326 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
327
328 PR target/10781
329 * config/rs6000/rs6000-protos.h (rs6000_special_round_type_align):
330 Prototype.
331 * config/rs6000/rs6000.c (rs6000_special_round_type_align):
332 New function.
333 * config/rs6000/linux64.h (ROUND_TYPE_ALIGN): Use it.
334 * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Likewise.
335 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Likewise.
336
337 2004-01-17 Jan Hubicka <jh@suse.cz>
338
339 * toplev.c (rest_of_handle_reorder_blocks): Fix pasto in previous
340 commit.
341
342 * toplev.c (HAVE_conditional_execution): Provide default.
343 (rest_of_handle_reorder_blocks): For conditional_execution target
344 update liveness once after all transformations
345 (rest_of_compilation): Do crossjumping before ce3.
346
347 2004-01-17 Geoffrey Keating <geoffk@apple.com>
348
349 * alias.c (new_alias_set): Mark last_alias_set for PCH.
350 (get_varargs_alias_set): Rename 'set' to 'varargs_set' and mark it
351 for PCH.
352 (get_frame_alias_set): Likewise, except rename it to 'frame_set'.
353 * config/rs6000/rs6000.c (rs6000_sr_alias_set): Mark for PCH.
354 (get_TOC_alias_set): Mark 'set' for PCH.
355
356 2004-01-16 Geoffrey Keating <geoffk@apple.com>
357
358 * cfgrtl.c (try_redirect_by_replacing_jump): Optimize tablejumps
359 even after reload, just don't remove the actual jump tables.
360
361 2004-01-17 J. Brobecker <brobecker@gnat.com>
362
363 * dwarf2out.c (is_subrange_type): Renamed from is_ada_subrange_type().
364 Remove checks for is_ada() and TREE_UNSIGNED.
365 (subrange_type_die): Emit a byte_size attribute if the subrange
366 type size is different from the base type size.
367 (modified_type_die): Replace call to is_ada_subrange_type() by
368 call to is_subrange_type().
369
370 2004-01-16 Andrew Pinski <pinskia@physics.uc.edu>
371
372 * config/sh/sh.c: Include ggc.h.
373
374 2004-01-16 Geoffrey Keating <geoffk@apple.com>
375
376 * Makefile.in (MD5_H): New.
377 (fold-const.o): Depend on md5.h.
378 (dwarf2out.o): Likewise.
379 (cppfiles.o): Likewise.
380 * cppfiles.c: Include md5.h.
381 (should_stack_file): Check against list read from PCH file.
382 (struct pchf_data): New.
383 (pchf): New variable.
384 (struct pchf_adder_info): New.
385 (pchf_adder): New.
386 (pchf_save_compare): New.
387 (_cpp_save_file_entries): New.
388 (_cpp_read_file_entries): New.
389 (struct pchf_compare_data): New.
390 (pchf_compare): New.
391 (check_file_against_entries): New.
392 * cpphash.h (_cpp_save_file_entries): Prototype.
393 (_cpp_read_file_entries): Prototype.
394 * cpppch.c (cpp_write_pch_state): Write the list of headers.
395 (cpp_read_state): Read the list of headers.
396
397 2004-01-17 Jan Hubicka <jh@suse.cz>
398
399 * c-common.c (c_estimate_num_insns_1): Handle builtin_constant_p and
400 builtin_expect specially.
401 * params.def (PARAM_MAX_INLINE_INSNS_AUTO): Set to 100.
402 (PARAM_LARGE_FUNCTION_INSNS): Set to 3000.
403 * invoke.texi (max-inline-insns-single): Set to 100.
404 (large-function-insns): Set to 3000.
405
406 2004-01-16 Eric Christopher <echristo@redhat.com>
407 Chandrakala Chavva <cchavva@redhat.com>
408
409 * cppcharset.c (one_iso88591_to_utf8): New function.
410 (convert_iso88591_utf8): Ditto. Use.
411 (conversion_tab): Use.
412 (_cpp_input_to_utf8): New function.
413 (_cpp_init_iconv_buffer): Ditto.
414 (_cpp_close_iconv_buffer): Ditto.
415 * cpphash.h: Prototype new functions.
416 (cpp_buffer): Add input_cset_desc.
417 * cppinit.c: Add input_charset default.
418 * cpplib.c (cpp_push_buffer): Support init and
419 close of iconv.
420 * cpplib.h (cpp_options): Add input_charset.
421
422 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
423
424 * system.h (ASM_OUTPUT_SECTION_NAME): Poison.
425 * config/alpha/unicosmk.h: Remove a commented-out definition
426 of ASM_OUTPUT_SECTION_NAME.
427 * config/stormy16/stormy16.h: Likewise.
428
429 2004-01-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
430
431 * fixinc/inclhack.def (alpha___extern_prefix): Renamed to ...
432 (alpha___extern_prefix_sys_stat): ... this.
433 Apply to <sys/mount.h>, too.
434 Tweak to match more variations.
435 * fixinc/tests/base/sys/stat.h: Adapt for new hackname.
436
437 * fixinc/inclhack.def (alpha___extern_prefix,
438 alpha___extern_prefix_standards): New hacks to obey
439 __PRAGMA_EXTERN_PREFIX.
440 * fixinc/tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: New
441 test.
442 * fixinc/tests/base/standards.h: Likewise.
443
444 * fixincl/inclhack.def (alpha_pthread): Tweak to match more
445 variations.
446 New testcase.
447 * fixinc/tests/base/pthread.h: Handle it.
448
449 * fixincl/inclhack.def (bad_lval): Sort file list.
450 Add many missing files up to Tru64 UNIX V5.1B.
451 * gcc/fixinc/tests/base/libgen.h: Renamed to ...
452 * gcc/fixinc/tests/base/dirent.h: ... this to match new file list
453 order.
454
455 * fixinc/fixincl.x: Regenerate.
456
457 2004-01-16 Mark Mitchell <mark@codesourcery.com>
458
459 * version.c (version_string): Change to 3.5.0.
460 * doc/include/gcc-common.texi (version-GCC): Likewise.
461
462 2004-01-16 Jan Hubicka <jh@suse.cz>
463
464 * i386.md (load_tp_di): Fix pasto.
465
466 PR opt/13608
467 * i386.c (ix86_compute_frame_layout): Fix for alloca on leaf function.
468
469 * c-pretty-print.c (pp_c_type_cast, pp_c_abstract_declarator,
470 pp_c_character_constant, pp_c_floating_constant,
471 pp_c_additive_expression, pp_c_shift_expression,
472 pp_c_equality_expression, pp_c_and_expression,
473 pp_c_exclusive_or_expression, pp_c_inclusive_or_expression,
474 pp_c_logical_and_expression): Remove inline modifier.
475 * dwarf2out.c (get_AT): Likewise.
476 * et-forest.c (et_splay): Likewise.
477 * ra.h (ra_alloc, ra_calloc): Likewise
478
479 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
480
481 * config/frv/frv-protos.h: Fix comment formatting.
482 * config/frv/frv.c: Likewise.
483 * config/frv/frv.h: Likewise.
484 * config/frv/frv.md: Likewise.
485 * config/frv/frvbegin.c: Likewise.
486 * config/frv/frvend.c: Likewise.
487
488 2004-01-16 Kazu Hirata <kazu@cs.umass.edu>
489
490 * system.h (LINKER_DOES_NOT_WORK_WITH_DWARF2): Poison.
491 * doc/tm.texi (PREFERRED_DEBUGGING_TYPE): Don't mention
492 LINKER_DOES_NOT_WORK_WITH_DWARF2.
493 (LINKER_DOES_NOT_WORK_WITH_DWARF2): Remove.
494
495 2004-01-16 J"orn Rennecke <joern.rennecke@superh.com>
496
497 PR 11864
498 * postreload.c (reload_cse_simplify_operands): Don't remove
499 implicit extension from LOAD_EXTEND_OP.
500
501 2004-01-16 Jan Hubicka <jh@suse.cz>
502
503 PR opt/11350
504 * cfgcleanup.c (try_optimize_cfg): Suppress tablejump removal
505 after reload.
506 * cfgrtl.c (rtl_can_merge_blocks, cfglayout_can_merge_blocks,
507 rtl_try_redirect_by_replacing_branch): Likewise.
508
509 2004-01-15 Geoffrey Keating <geoffk@apple.com>
510
511 PR pch/13689
512 * alias.c (struct alias_set_entry): Mark for GC.
513 (alias_sets): Make static, mark for GC.
514 (record_alias_subset): Use GC to allocate alias structures.
515 * varray.c (element): Make generic varrays GCed.
516
517 PR pch/13361
518 * c-typeck.c (constructor_asmspec): Delete.
519 (struct initializer_stack): Delete field 'asmspec'.
520 (start_init): Delete saving of asmspec.
521 (finish_init): Don't update constructor_asmspec.
522 * dwarf2out.c (rtl_for_decl_location): Duplicate string from tree.
523 * stmt.c (expand_asm): Duplicate strings from tree.
524 (expand_asm_operands): Likewise.
525 * tree.c (tree_size): Update computation of size of STRING_CST.
526 (make_node): Don't make STRING_CST nodes.
527 (build_string): Allocate string with tree node.
528 * tree.def (STRING_CST): Update comment.
529 * tree.h (TREE_STRING_POINTER): Adjust for change to STRING_CST.
530 (tree_string): Place contents of string in tree node.
531 * config/sh/sh.c (sh_handle_sp_switch_attribute): Duplicate string
532 from tree.
533
534 * config/rs6000/rs6000.c (rs6000_va_arg): No need to special-case
535 altivec operands.
536
537 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
538
539 * c-common.h: Fix comment formatting.
540 * c-cppbuiltin.c: Likewise.
541 * c-pragma.c: Likewise.
542 * calls.c: Likewise.
543 * collect2.c: Likewise.
544 * cppcharset.c: Likewise.
545 * cpptrad.c: Likewise.
546 * dbxout.c: Likewise.
547 * defaults.h: Likewise.
548 * dwarf2out.c: Likewise.
549 * fold-const.c: Likewise.
550 * genautomata.c: Likewise.
551 * genconditions.c: Likewise.
552 * genflags.c: Likewise.
553 * gengtype.c: Likewise.
554 * integrate.c: Likewise.
555 * loop.c: Likewise.
556 * predict.c: Likewise.
557 * sdbout.c: Likewise.
558
559 2004-01-15 Zack Weinberg <zack@codesourcery.com>
560
561 * config/ia64/ia64.md (*movti_internal): C output template
562 extracted to ia64.c.
563 (*movti_internal_reg): Delete.
564 (reload_inti, reload_outti): Use the correct mode on operand 2
565 in the first place, don't fix it up in the output template.
566 (movtf, reload_ointf, reload_outtf): New expanders.
567 (*movtf_internal): New define_insn_and_split.
568 * config/ia64/ia64.c (ia64_split_timode): Rename to ia64_split_tmode;
569 make static; do not hand TFmode CONST_DOUBLEs to split_double.
570 (ia64_split_tmode_move): New function, body mostly pulled
571 from ia64.md:*movti_internal.
572 (ia64_function_arg_words): New function, extracted common
573 logic from ia64_function_arg et seq.
574 (ia64_function_arg_offset): Likewise. Handle correctly the
575 case of a scalar quantity 16 bytes wide with only 8-byte alignment.
576 (ia64_function_arg, ia64_function_arg_partial_nregs)
577 (ia64_function_arg_advance): Use ia64_function_arg_words and
578 ia64_function_arg_offset.
579 (ia64_function_value): TCmode does not go in float regs.
580 (ia64_secondary_reload_class): Also handle TFmode.
581 * config/ia64/ia64-protos.h: Remove prototype for
582 ia64_split_timode; add prototype for ia64_split_tmode_move.
583
584 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
585
586 * Makefile.in (MAINT): Make it an immediate assignment.
587
588 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
589
590 * config/m32r/m32r.md: Remove useless calls to gen_lowpart.
591
592 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
593
594 * config/h8300/coff.h: Replace Hitachi with Renesas.
595 * config/h8300/elf.h: Likewise.
596 * config/h8300/h8300-protos.h: Likewise.
597 * config/h8300/h8300.c: Likewise.
598 * config/h8300/h8300.h: Likewise.
599 * config/h8300/h8300.md: Likewise.
600 * config/h8300/lib1funcs.asm: Likewise.
601
602 2004-01-15 Andrew Pinski <apinski@apple.com>
603
604 * config/rs6000/rs6000.c (uses_TOC): Wrap #if TARGET_ELF
605 around it.
606
607 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
608
609 * config/h8300/h8300.c (h8300_return_in_memory): New.
610 (TARGET_STRUCT_VALUE_RTX): Likewise.
611 (TARGET_RETURN_IN_MEMORY): Likewise.
612 * config/h8300/h8300.h (STRUCT_VALUE): Remove.
613 (RETURN_IN_MEMORY): Likewise.
614
615 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
616
617 PR optimization/13375
618 * gcse.c (handle_avail_expr): Just return if the source is not a
619 single set.
620
621 2004-01-15 Richard Earnshaw <rearnsha@arm.com>
622 Daniel Jacobowitz <drow@mvista.com>
623
624 * arm/lib1funcs.asm (ARM_FUNC_START): Correct interworking case.
625 (EQUIV): Define.
626 (ARM_FUNC_ALIAS): New macro.
627 * arm/ieee754-df.S (gedf2, ledf2, nedf2, eqdf2): Use it.
628 * arm/ieee754-sf.S (gesf2, lesf2, nesf2, eqsf2): Use it.
629
630 2004-01-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
631
632 PR optimization/12372
633 * calls.c (expand_call): Add call_fusage data for stack arguments in
634 constant calls.
635
636 2004-01-15 Alan Modra <amodra@bigpond.net.au>
637
638 * config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
639 (rs6000_elf_declare_function_name): Formatting.
640 * config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
641
642 2004-01-15 Jan Hubicka <jh@suse.cz>
643
644 PR bootstrap/13692
645 * sched-deps.c (sched_analyze_1, sched_analyze_2): Fix thinko in
646 previous patch.
647
648 2004-01-15 Richard Henderson <rth@redhat.com>
649
650 * config/alpha/alpha.h (REG_ALLOC_ORDER): Reorder fp regs after
651 integer regs of the same call-savedness.
652
653 2004-01-15 Andreas Schwab <schwab@suse.de>
654
655 PR bootstrap/13562
656 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
657 status for NOTB/NOTW/NEGW methods.
658
659 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
660
661 * doc/invoke.texi: Update dump file names. Fix a typo.
662
663 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
664
665 * builtins.c (expand_builtin_va_end): Don't use
666 EXPAND_BUILTIN_VA_END.
667 * system.h (EXPAND_BUILTIN_VA_END): Poison.
668 * config/d30v/d30v.h: Remove a commented-out definition of
669 EXPAND_BUILTIN_VA_END.
670 * config/stormy16/stormy16.h: Likewise.
671
672 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
673
674 * system.h (STRUCT_VALUE_INCOMING_REGNUM): Poison.
675 * targhooks.c (default_struct_value_rtx): Don't use
676 STRUCT_VALUE_INCOMING_REGNUM.
677
678 2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
679
680 PR bootstrap/12744
681 * configure.in: Revamp enable-generated-files-in-srcdir rule to define
682 GENINSRC and not parsedir. Define srcextra as a langhook.
683 * configure: Regenerate.
684 * Makefile.in: Suppress default .l.c rule. Don't substitute
685 parsedir and delete all references throughout. Conditionally define
686 rule for srcextra dependent on GENINSRC.
687 (stmp-docobjdir): Delete.
688 (c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
689 (srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
690 and gengtype-yacc.h back to source directory.
691 (maintainer-clean): Delete all parse files in source directory.
692 (distclean): Delete generated files.
693
694 * objc/Make-lang.in (objc-parse.o): Use implicit build rule.
695 (objc-parse.c, objc-parse.y): Don't use parsedir.
696 (objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
697 directory if requested.
698 (po-generated): Don't use parsedir.
699 (objc.maintainer-clean): Delete above files from source directory.
700
701 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
702
703 * doc/tm.texi (FUNCTION_VALUE): Fix a typo.
704
705 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
706
707 * doc/tm.texi: Replace RETURN_IN_MEMORY with
708 TARGET_RETURN_IN_MEMORY.
709
710 2004-01-15 Jan Hubicka <jh@suse.cz>
711
712 * builtins.c (std_expand_builtin_va_arg): Align operand when needed.
713 * i386.c (init_cumulative_args): Set warn_sse; fix handling of variadic
714 functions accepting SSE arguments
715 (function_arg): Warn only when asked to warn.
716 * i386.h (ix86_args): Add warn_sse/warn_mmx fiels.
717
718 2004-01-14 Joseph S. Myers <jsm@polyomino.org.uk>
719
720 * c-parse.in (stmts_and_decls): Make label at end of compound
721 statement a hard error.
722
723 2004-01-14 Jan Hubicka <jh@suse.cz>
724
725 * cgraph.c (create_edge): Use local.redefined_extern_inline.
726 * cgraph.h (cgraph_local_info): Sort fields by size; add
727 redefined_extern_inline
728 (cgraph_global_info): Sort fields by size.
729 (cgraph_node): Likewise.
730 * cgraphunit.c (cgraph_finalize_function): Se
731 local.redefined_extern_inline on redefinition.
732 (cgraph_analyze_function): Use it; fix formating.
733
734 2004-01-14 Jan Hubicka <jh@suse.cz>
735
736 PR c++/10776
737 * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
738 outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
739 bitmaps
740 (cache_size): New variable
741 (add_dependence): Update use; canonize early memory locations
742 (sched_analyze_1): Likewise.
743 (sched_analyze_2): Likewise.
744 (init_dependency_caches): Initialize bitmaps.
745 (free_dependency_caches): Free bitmaps
746
747 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
748
749 * calls.c: Replace STRICT_ARGUMENT_NAMING in comments with
750 targetm.calls.strict_argument_naming().
751 * target.h: Likewise.
752
753 2004-01-14 Richard Henderson <rth@redhat.com>
754
755 PR debug/13231
756 * dwarf2out.c (dwarf2out_stack_adjust): Skip prologue and epilogue
757 instructions.
758
759 2004-01-14 Richard Henderson <rth@redhat.com>
760
761 PR c++/12491
762 * except.c (struct eh_region): Add u.fixup.resolved.
763 (resolve_one_fixup_region): Split out from ...
764 (resolve_fixup_regions): ... here.
765
766 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
767
768 * config/mn10300/mn10300.h (STRUCT_VALUE): Change to 0.
769
770 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
771
772 * config/alpha/alpha.h (STRUCT_VALUE): Remove.
773 * config/alpha/vms.h (STRUCT_VALUE_REGNUM): Remove #undef.
774 (STRUCT_VALUE): Remove.
775
776 2004-01-14 Steven Bosscher <stevenb@suse.de>
777
778 * system.h: Poison PROMOTED_MODE
779 * integrate.c (expand_inline_function): Don't mention the
780 PROMOTED_MODE.
781 * loop.c (update_giv_derive): Same.
782 * tree.h (DECL_RTL): Same.
783
784 2004-01-14 J"orn Rennecke <joern.rennecke@superh.com>
785
786 PR target/9365
787 * sh.c (gen_block_redirect): Add special handling of RETURN.
788 (gen_far_branch) Don't call gen_stuff_delay_slot if there is no
789 far branch target (i.e. it's a return).
790
791 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
792
793 * regrename.c (find_oldest_value_reg): Fix a warning.
794
795 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
796
797 PR bootstrap/12527
798 * config.gcc (arm*-*-linux*): Don't include unknown-elf.h in tm_file.
799 Move linux-gas.h and linux-elf.h before aout.h.
800 * arm/arm.h (INITIALIZE_TRAMPOLINE): Only define if not already.
801 * arm/linux-elf.h (SUBTARGET_CPU_DEFAULT): Define.
802
803 2004-01-14 Kazu Hirata <kazu@cs.umass.edu>
804
805 * config/m32r/m32r.md: Use GEN_INT instead of gen_rtx
806 (CONST_INT, VOIDmode, ...).
807
808 2004-01-14 Richard Earnshaw <rearnsha@arm.com>
809
810 * regrename.c (find_oldest_value_reg): If the replacement uses
811 multiple hard registers, check that all of them are in CLASS.
812
813 2004-01-14 Jan Hubicka <jh@suse.cz>
814
815 * alias.c (get_alias_set): Initialize alias set to 0 when subset is
816 impossible.
817
818 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
819
820 * Makefile.in: Define MAINT from --enable-maintainer-mode.
821
822 2004-01-14 Hartmut Penner <hpenner@de.ibm.com>
823
824 * gcc/config/rs6000/rs6000.c (rs6000_stack_info)
825 Calculate always vrsave_mask if TARGET_ALTIVEC.
826 (rs6000_emit_prologue): Emit code for vrsave
827 only if TARGET_ALTIVEC_VRSAVE.
828 (rs6000_emit_epilogue): Likewise.
829
830 2004-01-14 Eric Botcazou <ebotcazou@libertysurf.fr>
831
832 * config/sparc/sparc.md (tie_add32): Fix pasto.
833 (tie_add64): Likewise.
834
835 2004-01-14 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
836
837 * config/i386/i386.md (*addqi_1_slp): Do not access operands[2].
838
839 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
840
841 * config/iq2000/iq2000-protos.h: Fix comment formatting.
842 * config/iq2000/iq2000.c: Likewise.
843 * config/iq2000/iq2000.md: Likewise.
844
845 2004-01-14 J. Brobecker <brobecker@gnat.com>
846
847 * dwarf2out.c (is_ada_subrange_type): No longer check the TYPE_NAME.
848 (subrange_type_die): Add handle for nameless subrange types.
849
850 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
851
852 * config/h8300/h8300-protos.h: Replace do_movsi with
853 h8300_expand_movsi.
854 * config/h8300/h8300.c (do_movsi): Change to
855 h8300_expand_movsi.
856 * config/h8300/h8300.md (movsi): Replace do_movsi with
857 h8300_expand_movsi.
858 (movsf): Likewise.
859
860 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
861
862 * config/h8300/h8300.c (dosize): Change to
863 h8300_emit_stack_adjustment. Update callers.
864
865 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
866
867 * config/h8300/h8300.md (movstrictqi): Add an alternative with
868 the source being post_inc. Tighten the predicate for the
869 destination to register_operand.
870 (movstricthi): Likewise.
871
872 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
873
874 * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
875 * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
876 * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
877
878 2004-01-14 Jan Hubicka <jh@suse.cz>
879
880 Partial fix PR c++/12850
881 * cgraphunit.c (cgraph_finalize_function): Always ggc_collect when
882 at zero nest level.
883
884 2004-01-13 Bernardo Innocenti <bernie@develer.com>
885
886 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
887 pseudo-register.
888
889 2004-01-13 Devang Patel <dpatel@apple.com
890
891 PR debug/7078
892 * dbxout.c (dbxout_symbol_name): Emit mangled names for
893 NAMESPACE_DECL memebers.
894
895 2004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
896
897 PR c++/12709
898 * c-common.c (finish_fname_decls): Use the chain only if the
899 tree is an expr_stmt.
900
901 2004-01-13 Vladimir Makarov <vmakarov@redhat.com>
902
903 * rtl.def: Add comment about new option in automata_option.
904
905 * genautomata.c (PROGRESS_OPTION): New macro.
906 (progress_flag): New global variable.
907 (gen_automata_option): Process `progress'.
908 (transform_insn_regexps, check_unit_distributions_to_automata,
909 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
910 expand_automata, write_automata): Print about the progress only if
911 progress_flag. Remove fflush.
912 (initiate_automaton_gen): Process command line flag `-progress'.
913
914 * doc/md.texi: Describe the new option.
915
916 2004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
917
918 * cfg.c (dump_bb): Dump entry edges.
919
920 2004-01-13 Richard Earnshaw <rearnsha@arm.com>
921
922 * arm.c (thumb_legitimate_address_p): Only allow constant pool
923 references from SImode.
924 * arm.md (thumb_movhi_insn): Don't allow minipool references.
925
926 2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
927
928 * system.h (TEXT_SECTION): Poison.
929 * varasm.c (text_section): Don't use TEXT_SECTION.
930 * config/sh/sh.c (sh_file_start): Fix a comment typo.
931 * doc/tm.texi (TEXT_SECTION): Remove.
932
933 2004-01-13 Ben Elliston <bje@wasabisystems.com>
934
935 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
936
937 2004-01-12 James E Wilson <wilson@specifixinc.com>
938
939 * unwind-libunwind.c: Delete.
940
941 2004-01-12 Zack Weinberg <zack@codesourcery.com>
942
943 PR 13656
944 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
945 oldtype is set, set *newtypep or *oldtypep too. Do not set
946 them at the very end.
947 (validate_proto_after_old_defn): Restructure for comprehensibility;
948 make error messages clearer.
949
950 2004-01-12 Zack Weinberg <zack@codesourcery.com>
951
952 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
953 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
954 * varray.c: No need to prototype error.
955 (varray_check_failed): Wrap long string onto two lines.
956 (varray_underflow): New function.
957
958 2004-01-13 Steven Bosscher <stevenb@suse.de>
959
960 PR c++/13376
961 * function.h (struct function): Kill `name' field.
962 (current_function_name): Make it an extern function.
963 * function.c (current_function_name): New function.
964 * graph.c: Update all uses of current_function_name.
965 * gcse.c: Likewise.
966 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
967 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
968 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
969 instead of a strcmp with "main".
970
971 2004-01-13 Jan Hubicka <jh@suse.cz>
972
973 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
974
975 * cgraphunit.c (cgraph_optimize_function): Always do
976 optimize_inline_calls when there is always_inline callee.
977 (cgraph_decide_inlining): Fix formating.
978 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
979 functions.
980 (expand_call_inline): Likewise.
981 * toplev.h (sorry): Fix prototype.
982
983 2004-01-12 Roger Sayle <roger@eyesopen.com>
984
985 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
986 conditional jumps that drop through to unconditional jumps or the
987 end of the sequence.
988
989 2004-01-13 Jan Hubicka <jh@suse.cz>
990
991 * alias.c (new_alias_set): Construct the alias_set varray.
992 (init_alias_once): Don't do it here.
993
994 2004-01-12 Marc Espie <espie@openbsd.org>
995
996 * system.h: handle YYBYACC like YYBISON.
997
998 2004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
999
1000 PR target/10847
1001 * config.gcc: No longer includes conflicting header sparc/sol2.h when
1002 building on sparc64-*-openbsd*.
1003
1004 2004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
1005
1006 PR debug/13539
1007 * dbxout.c (dbxout_type): Protected inheritance is not
1008 private but protected.
1009
1010 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1011
1012 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
1013
1014 2004-01-12 Kazu Hirata <kazu@cs.umass.edu>
1015
1016 PR optimization/12508.
1017 * combine.c (try_combine): Remove a dead set in a parallel
1018 even if its destination is a subreg.
1019
1020 Revert:
1021 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
1022 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
1023 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
1024
1025 2004-01-12 Geoffrey Keating <geoffk@apple.com>
1026
1027 * real.c: Update copyright date.
1028 * emit-rtl.c: Likewise.
1029 * rtl.h: Likewise.
1030 * dwarf2out.c: Likewise.
1031 * config/rs6000/darwin-ldouble.c: Likewise.
1032 * config/rs6000/rs6000.md: Likewise.
1033
1034 2004-01-12 David Edelsohn <edelsohn@gnu.org>
1035
1036 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
1037 TFmode to SImode libfuncs.
1038
1039 2004-01-12 Roger Sayle <roger@eyesopen.com>
1040
1041 PR middle-end/11397
1042 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
1043
1044 2004-01-12 Jan Hubicka <jh@suse.cz>
1045
1046 PR opt/12826
1047 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
1048 stored.
1049
1050 PR opt/12863
1051 * cfgcleanup.c (label_is_jump_target_p): Move to...
1052 * rtlanal.c (label_is_jump_target_p): ... here.
1053 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
1054 edges unified with branch edges.
1055
1056 2004-01-12 Richard Earnshaw <rearnsha@arm.com>
1057
1058 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
1059 high word of an integral CONST_DOUBLE.
1060
1061 2004-01-12 Paul Brook <paul@codesourcery.com>
1062
1063 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
1064
1065 2004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
1066
1067 PR target/13585
1068 * sh-protos.h (check_use_sfunc_addr): Declare.
1069 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
1070 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
1071
1072 2004-01-12 Jan Hubicka <jh@suse.cz>
1073
1074 * alias.c: Invlude varray.h
1075 (alias_sets): Turn into varray.
1076 (get_alias_set_entry): Use VARRAY; mark inline.
1077 (mems_in_disjoint_alias_sets_p): Mark inline.
1078 (record_alias_subset): Use varray.
1079 (init_alias_once): Initialize varray.
1080 (new_alias_set): Grow array.
1081 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
1082
1083 2004-01-12 Jan Hubicka <jh@suse.cz>
1084
1085 Partial fix for PR opt/10776 II
1086 * cselib.c: Include params.h
1087 (cselib_invalidate_mem): Limit amount of nonconflicting memory
1088 locations.
1089 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
1090 * Makefile.in (cselib.o): Depend on params.h
1091
1092 2004-01-12 Richard Sandiford <rsandifo@redhat.com>
1093
1094 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
1095 simplify_unary_operation if the operand has a known mode.
1096
1097 2004-01-12 Hartmut Penner <hpenner@de.ibm.com>
1098
1099 PR target/13534
1100 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
1101 predicate to handle 'ld' conform addresses.
1102 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
1103 contraint.
1104 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
1105 are memory contraints.
1106 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
1107 New prototype.
1108 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
1109 Change 'o' to 'Y' constraint.
1110 (*movdf_softfloat64): Ditto.
1111
1112 2004-01-12 Bernardo Innocenti <bernie@develer.com>
1113
1114 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
1115 brace-enclosed syntax in all C output statements.
1116
1117 2004-01-12 David Edelsohn <edelsohn@gnu.org>
1118
1119 PR target/13401
1120 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
1121 Objective-C language type value is 14.
1122
1123 2004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
1124
1125 PR c/12148
1126 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
1127 `int' in a number of places to make sure we always have a SImode
1128 and not a HImode. Add a 'L' suffix to a number of constants.
1129
1130 2004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1131
1132 * pa.c: Don't include obstack.h.
1133
1134 * pa.md: Correct constraint in pattern for loading PIC label address.
1135
1136 2004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
1137
1138 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
1139 before defining.
1140
1141 2004-01-11 Steven Bosscher <stevenb@suse.de>
1142
1143 PR fortran/9972
1144 * toplev.c (rest_of_handle_inline): Also consider functions
1145 for deferral if the language is GNU F77.
1146
1147 2004-01-11 Zack Weinberg <zack@codesourcery.com>
1148
1149 * c-decl.c (diagnose_arglist_conflict): Add missing space to
1150 diagnostic messages.
1151
1152 2004-01-11 Jakub Jelinek <jakub@redhat.com>
1153
1154 PR middle-end/13392
1155 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
1156 to drop through label. Don't fall back to SCC even when conditional
1157 jump has not been found.
1158
1159 2004-01-11 Jan Hubicka <jh@suse.cz>
1160
1161 * invoke.texi: Fix syntax error in previous patch.
1162
1163 Partial fix for PR opt/10776
1164 * Makefile.in (reload.o): Include param.h
1165 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
1166 * reload.c: Include params.h.
1167 (find_equiv_reg): Work limiting check.
1168 * invoke.texi: Document.
1169
1170 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
1171
1172 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
1173 out-of-bounds accesses to string constants. Simplify mips16
1174 case accordingly.
1175
1176 2004-01-11 Richard Sandiford <rsandifo@redhat.com>
1177
1178 PR optimization/13469
1179 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
1180 reload_cse_regs (-fnon-call-exceptions only).
1181
1182 2004-01-11 Kazu Hirata <kazu@cs.umass.edu>
1183
1184 * config/mcore/lib1.asm: Fix comment formatting.
1185 * config/mcore/mcore-elf.h: Likewise.
1186 * config/mcore/mcore.c: Likewise.
1187 * config/mcore/mcore.h: Likewise.
1188 * config/mcore/mcore.md: Likewise.
1189
1190 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1191
1192 * c-decl.c (duplicate_decls): Break apart into...
1193 (diagnose_arglist_conflict, validate_proto_after_old_defn)
1194 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
1195 ... these new functions. Restructure for comprehensibility.
1196 Remove various archaic special cases. Always report the
1197 location of the previous declaration when a diagnostic is issued.
1198 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
1199 (match_builtin_function_types): Delete unnecessary forward declaration.
1200
1201 2004-01-10 Zack Weinberg <zack@codesourcery.com>
1202
1203 * genautomata.c (make_automaton, NDFA_to_DFA):
1204 Print progress bars with '.' characters instead of '*'.
1205 (build_automaton): Change notes to match.
1206
1207 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1208
1209 * config/m32r/m32r.md: Use define_constants for unspec and
1210 unspec_volatile.
1211
1212 2004-01-10 Jan Hubicka <jh@suse.cz>
1213
1214 PR opt/11635
1215 * expr.c (expand_expr_real): More curefully expand union casts.
1216
1217 2004-01-10 Kazu Hirata <kazu@cs.umass.edu>
1218
1219 * config/m32r/m32r.md (flush_icache): Use 1 for
1220 unspec_volatile.
1221
1222 2004-01-10 David Edelsohn <edelsohn@gnu.org>
1223 James E Wilson <wilson@specifixinc.com>
1224
1225 PR debug/12860
1226 * dbxout.c (dbxout_symbol): Remove initialization of
1227 current_sym_code, current_sym_value, and current_sym_addr.
1228 (dbxout_symbol_location): Same.
1229 (dbxout_prepare_symbol): Zero current_sym_code,
1230 current_sym_value, and current_sym_addr.
1231
1232 2004-01-10 Richard Sandiford <rsandifo@redhat.com>
1233
1234 * tree.c (get_unwidened): Reorder conditions so that the null pointer
1235 check is done first.
1236
1237 2004-01-09 Eric Christopher <echristo@redhat.com>
1238
1239 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
1240 if we're running mark_constant_function.
1241
1242 2004-01-09 Jeff Bailey <jbailey@nisa.net>
1243
1244 PR target/12561
1245 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
1246
1247 2004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
1248
1249 PR debug/11231
1250 * dbxout.c (dbxout_type_fields): Return if any item is
1251 error_mark_node or the type is error_mark_node.
1252
1253 2004-01-09 Geoffrey Keating <geoffk@apple.com>
1254
1255 * config/rs6000/darwin-ldouble.c: Add big comment explaining
1256 exactly what is expected as a 'long double'.
1257 (_xlqadd): When a value to be returned is representable as a
1258 'double', just return it directly, do not construct it using a union.
1259 Also, correct final fixup.
1260 (_xlqmul): Likewise.
1261 (_xlqdiv): Likewise.
1262 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
1263
1264 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
1265
1266 2004-01-09 Richard Henderson <rth@redhat.com>
1267
1268 * recog.c (constrain_operands): Validate mem operands.
1269
1270 2004-01-09 James E Wilson <wilson@specifixinc.com>
1271
1272 * gcc.c (init_spec): Remove -lunwind from shared case.
1273 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
1274
1275 2004-01-09 Steve Ellcey <sje@cup.hp.com>
1276
1277 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
1278 * configure: Regenerate
1279
1280 2004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
1281
1282 PR c/11234
1283 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
1284 between function and object pointers.
1285 (digest_init): When comparing a pointer to function type to the
1286 target type, only apply TREE_TYPE once to the pointer to function
1287 type.
1288 * except.c (for_each_eh_label_1): Treat data as a pointer to a
1289 function pointer rather than casting it to a function pointer.
1290 (for_each_eh_label): Update caller.
1291 * recog.h (struct insn_data): Use a struct or union for output.
1292 * genoutput.c (output_insn_data): Update.
1293 * final.c (get_insn_template): Update.
1294
1295 2004-01-09 Mark Mitchell <mark@codesourcery.com>
1296
1297 * expr.h (expand_expr): Make it a macro, not a function.
1298 (expand_expr_real): New function.
1299 * expr.c (store_expr): Adjust logic for deciding whether or not to
1300 copy the value returned by expand_expr.
1301 (expand_expr): Rename to ...
1302 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
1303 calls to language hooks.
1304 * c-common.h (c_expand_expr): Adjust prototype.
1305 * c-common.c (c_expand_expr): Add alt_rtl parameter.
1306 * langhooks-def.h (lhd_expand_expr): Change prototype.
1307 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
1308 * langhooks.h (lang_hooks): Change type of expand_expr.
1309 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
1310 (last_expr_alt_rtl): Likewise.
1311 (expand_expr_stmt_value): Set last_expr_alt_rtl.
1312 (clear_last_expr): Clear it.
1313 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
1314 (expand_end_bindings): Save and restor last_expr_alt_rtl.
1315 * tree.def (RTL_EXPR): Give it an additional operand.
1316 * tree.h (RTL_EXPR_ALT_RTL): New macro.
1317
1318 2004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1319
1320 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
1321 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
1322
1323 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1324
1325 PR target/13380.
1326 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
1327 or (ne:SI (reg:CC 17) (const_int 0)).
1328 Be specific about modes wherever possible.
1329
1330 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1331
1332 * config/m32r/m32r.c (m32r_expand_block_move): Call
1333 gen_movestrsi_internal with two more arguments.
1334 (m32r_output_block_move): Adjust operand numbers.
1335 Properly update the source and destination pointers.
1336 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
1337 'r+'. Change the set detinations to match_operand.
1338
1339 2004-01-09 Kazu Hirata <kazu@cs.umass.edu>
1340
1341 * final.c (FIRST_INSN_ADDRESS): Remove.
1342 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
1343 * system.h (FIRST_INSN_ADDRESS): Poison.
1344 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
1345 * config/m32r/m32r-protos.h: Remove the prototype for
1346 m32r_first_insn_address.
1347 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
1348 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
1349 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
1350
1351 2004-01-09 J. Brobecker <brobecker@gnat.com>
1352
1353 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
1354 we just created.
1355 (is_ada_subrange_type): DIEs for enumeration subtypes should be
1356 emitted as subrange types too.
1357 (subrange_type_die): Add handling of enumeration subtypes.
1358
1359 2004-01-08 Richard Henderson <rth@redhat.com>
1360
1361 PR opt/12441
1362 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1363 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1364 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1365 (ix86_address_cost): Be prepared for SUBREGed registers.
1366 (legitimate_address_p): Accept SUBREGed registers.
1367
1368 2004-01-08 Kelley Cook <kcook@gcc.gnu.org>
1369
1370 * Makefile.in: Rename configure.in to configure.ac
1371 * doc/sourcebuild.texi: Likewise.
1372 * configure: Regenerate.
1373 * config.in: Regenerate.
1374
1375 2004-01-08 Stuart Hastings <stuart@apple.com>
1376
1377 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
1378
1379 2004-01-08 Jan Hubicka <jh@suse.cz>
1380
1381 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
1382
1383 2004-01-08 Geoffrey Keating <geoffk@apple.com>
1384
1385 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
1386 (UNSPEC_FIX_TRUNC_TF): New constant.
1387 (movtf_internal): Make splitter active only when insn is active.
1388 (extenddftf2): Rewrite to properly load zero into low part.
1389 (extenddftf2_internal): New.
1390 (extendsftf2): Rewrite.
1391 (truncdftf2): Correct length.
1392 (floatditf2): Delete.
1393 (fix_trunc_helper): New.
1394 (fix_trunctfdi2): Use fix_trunc_helper.
1395 (fix_trunctfsi2): Likewise.fix_trunc
1396 (fix_trunctfsi2_internal): New.
1397
1398 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
1399 addresses are legitimate on Darwin even when flag_pic.
1400 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
1401 non-offsettable addresses for loads of TFmode constants.
1402
1403 2004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1404
1405 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
1406 variables in the appropriate bss section.
1407
1408 2004-01-09 Alan Modra <amodra@bigpond.net.au>
1409
1410 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
1411 target_flags has MASK_POWERPC64 when -m64.
1412 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
1413 to 620, 630, power3, power4 and rs64a entries.
1414 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
1415
1416 2004-01-08 Richard Sandiford <rsandifo@redhat.com>
1417
1418 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
1419 floating-point constants.
1420
1421 2004-01-08 J. Brobecker <brobecker@gnat.com>
1422
1423 * dwarf2out.c (subrange_type_die): Add context_die parameter.
1424 Create the subrange_type DIE using the given context DIE.
1425 (modified_type_die): Update call to subrange_type_die.
1426
1427 2004-01-08 Zack Weinberg <zack@codesourcery.com>
1428
1429 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
1430 Add multiple-include guard.
1431
1432 2004-01-08 Hartmut Penner <hpenner@de.ibm.com>
1433
1434 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
1435 all vector constant loadable by vsplt*.
1436 (output_vec_const_move): Likewise.
1437
1438 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1439
1440 PR c/6024
1441 * c-typeck.c (comptypes): Only treat enumerated types in the same
1442 translation unit as compatible with each other when they are the
1443 same type.
1444 * doc/extend.texi: Update.
1445
1446 2004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
1447
1448 PR c/12165
1449 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
1450 array type from the array element type.
1451
1452 2004-01-07 Alan Modra <amodra@bigpond.net.au>
1453
1454 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
1455 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
1456 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
1457 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
1458 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
1459
1460 2004-01-06 Eric Christopher <echristo@redhat.com>
1461
1462 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
1463 (DWARF2_DEBUGGING_INFO): Define.
1464 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
1465 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
1466 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
1467 for irix as.
1468 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
1469 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
1470 * config/mips/iris5gas.h: Ditto.
1471 (DBX_DEBUGGING_INFO): Remove.
1472 (DWARF2_DEBUGGING_INFO): Ditto.
1473 (MIPS_DEBUGGING_INFO): Ditto.
1474 (PREFERRED_DEBUGGING_TYPE): Ditto.
1475 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
1476 (PREFERRED_DEBUGGING_TYPE): Ditto.
1477 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
1478 * config/mips/elf64.h: Ditto.
1479
1480 2004-01-06 Jan Hubicka <jh@suse.cz>
1481
1482 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
1483 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
1484
1485 2004-01-06 Geoffrey Keating <geoffk@apple.com>
1486
1487 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
1488 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
1489 * config/rs6000/darwin-ldouble.c: New.
1490
1491 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
1492 for constants.
1493 (constant_subword): Delete.
1494 * rtl.h (constant_subword): Delete prototype.
1495 (immed_double_const): Is not in varasm.c.
1496 * simplify-rtx.c (simplify_immed_subreg): New.
1497 (simplify_subreg): Use simplify_immed_subreg.
1498
1499 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
1500 than trying to generate RTL directly.
1501 (fix_trunctfsi2): Use expand_fix rather than trying to generate
1502 RTL directly.
1503
1504 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
1505
1506 2004-01-06 David Edelsohn <edelsohn@gnu.org>
1507
1508 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
1509 function into a separate macro.
1510 (read_only_data_section): Add void argument.
1511 (private_data_section): Same.
1512 (read_only_private_data_section): Same.
1513 (toc_section): Same.
1514
1515 2004-01-06 Jan Hubicka <jh@suse.cz>
1516
1517 * invoke.texi: Remove typo in last change.
1518
1519 PR target/10301
1520 * config.gcc: Accept opteron and athlon-64 as variants
1521 of k8.
1522 * i386.c (override_options): Likewise.
1523 * invoke.texi (i386 -mtune): Expand documentation.
1524
1525 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1526
1527 * alias.c: Fix comment typos.
1528 * builtins.c: Likewise.
1529 * cfg.c: Likewise.
1530 * df.c: Likewise.
1531 * dominance.c: Likewise.
1532 * dwarf2out.c: Likewise.
1533 * emit-rtl.c: Likewise.
1534 * expr.c: Likewise.
1535 * final.c: Likewise.
1536 * fold-const.c: Likewise.
1537 * gcse.c: Likewise.
1538 * genattrtab.c: Likewise.
1539 * genrecog.c: Likewise.
1540 * gensupport.c: Likewise.
1541 * ggc-zone.c: Likewise.
1542 * integrate.c: Likewise.
1543 * local-alloc.c: Likewise.
1544 * loop.c: Likewise.
1545 * recog.c: Likewise.
1546 * regmove.c: Likewise.
1547 * reg-stack.c: Likewise.
1548 * reorg.c: Likewise.
1549 * rtlanal.c: Likewise.
1550 * rtl.h: Likewise.
1551 * sched-ebb.c: Likewise.
1552 * simplify-rtx.c: Likewise.
1553 * toplev.c: Likewise.
1554 * varasm.c: Likewise.
1555
1556 2004-01-06 Kazu Hirata <kazu@cs.umass.edu>
1557
1558 * doc/install.texi: Fix typos.
1559 * doc/invoke.texi: Likewise.
1560 * doc/md.texi: Likewise.
1561
1562 2004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1563
1564 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
1565
1566 2004-01-06 Jan Hubicka <jh@suse.cz>
1567
1568 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
1569 (function_arg_advance): Do not pass aggregates in SSE; deal handling
1570 of MMX_REGPARM.
1571 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
1572 add MMX_REGPARM.
1573 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
1574 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
1575 (MMX_REGPARM_MAX): Similarly for -mmmx.
1576
1577 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1578
1579 * config/sh/linux.h: Fix comment formatting.
1580 * config/sh/netbsd-elf.h: Likewise.
1581 * config/sh/sh.c: Likewise.
1582 * config/sh/sh.h: Likewise.
1583 * config/sh/vxworks.h: Likewise.
1584
1585 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1586
1587 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
1588 * toplev.c (output_file_directive): Don't use
1589 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
1590
1591 2004-01-05 Daniel Berlin <dberlin@dberlin.org>
1592
1593 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
1594 (USING_MMAP): We don't support non-mmap.
1595 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
1596 large objects.
1597 (struct page_entry): Remove bytes_free.
1598 (struct page_table_chain): Remove.
1599 (struct globals): Remove page_table member.
1600 (loookup_page_table_entry): Function deleted.
1601 (set_page_table_entry): Ditto.
1602 (ggc_allocated_p): No longer need page table lookups.
1603 (ggc_marked_p): Ditto.
1604 (alloc_small_page): Don't care about bytes_free anymore.
1605 (alloc_large_page): Round up size.
1606 (ggc_alloc_zone_1): Mark large objects as such, and calculate
1607 their size the new way.
1608 Remove page table lookups and setting.
1609 (ggc_get_size): Calculate large object size the new way.
1610 (sweep_pages): Redo to account for fact that we no longer have
1611 bytes_free.
1612 (ggc_collect): No longer need to reincrement bytes_free.
1613 (ggc_pch_alloc_object): Handle new large objects properly.
1614 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
1615
1616 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1617
1618 * doc/invoke.texi: Remove a page break.
1619
1620 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1621
1622 * config/avr/avr.c (avr_output_function_prologue): Remove an
1623 extra pair of curly braces.
1624
1625 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1626
1627 * config/mn10300/mn10300.c: Fix comment formatting.
1628 * config/mn10300/mn10300.h: Likewise.
1629
1630 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1631
1632 * tree.h: Update documentation on nothrow_flag.
1633 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
1634 types.
1635
1636 2004-01-05 Kazu Hirata <kazu@cs.umass.edu>
1637
1638 * doc/invoke.texi: Remove traces of dead ports.
1639
1640 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1641
1642 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
1643 option.
1644
1645 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1646
1647 PR target/12945
1648 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
1649 counter labels.
1650 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
1651 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
1652 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
1653 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
1654 (mips_symbol_insns): Don't trust the local/global classification.
1655 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
1656 (override_options): Make -mabicalls -fno-unit-at-a-time imply
1657 -mno-explicit-relocs.
1658 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
1659 between local and global symbols.
1660
1661 2004-01-05 Richard Sandiford <rsandifo@redhat.com>
1662
1663 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
1664 (mips_preferred_reload_class): Declare.
1665 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
1666 (EXTRA_CONSTRAINT): Update accordingly.
1667 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
1668 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
1669 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
1670 mips_dangerous_for_la25_p.
1671 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
1672 if mips_dangerous_for_la25_p.
1673
1674 2004-01-05 Bernardo Innocenti <bernie@develer.com>
1675
1676 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
1677 warning.
1678
1679 2004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
1680
1681 * configure.ac: Use AC_PROG_CPP_WERROR.
1682 * configure: Regenerate.
1683
1684 2004-01-04 Zack Weinberg <zack@codesourcery.com>
1685
1686 * .cvsignore: Add autom4te.cache.
1687
1688 2004-01-04 Richard Sandiford <rsandifo@redhat.com>
1689
1690 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
1691 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
1692 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
1693 then architecture options, then ABI options. General rewording.
1694
1695 2004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
1696
1697 PR c/3414
1698 * doc/extend.texi: Clarify definition of malloc attribute.
1699
1700 2004-01-04 Jan Hubicka <jh@suse.cz>
1701
1702 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
1703 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
1704 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
1705 (cgraph_inline_p): Add extra argument reason.
1706 * cgraphunit.c: Minor formating fixes.
1707 cgraph_first_inlined_callee): New functions.
1708 (record_call_1): Record builtins too.
1709 (cgraph_analyze_function): Update inline_failed messages.
1710 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
1711 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
1712 (cgraph_check_inline_limits): Likewise; Add argument reason.
1713 (cgraph_set_inline_failed): New static function.
1714 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
1715 reasons.
1716 (cgraph_inline_p): Add new argument reason.
1717 * tree-inline.c (expand_call_inline): Update warning.
1718
1719 2004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
1720
1721 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
1722 with modern equivalents.
1723 * configure: Regenerate.
1724
1725 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
1726 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
1727 * configure: Regenerate.
1728
1729 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
1730
1731 * configure.in: Rename to configure.ac.
1732 * configure.ac: Renamed from configure.in; make minimum necessary
1733 changes for autoconf 2.5x.
1734 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
1735 * configure: Regenerate with autoconf 2.57.
1736
1737 2004-01-03 Kazu Hirata <kazu@cs.umass.edu>
1738
1739 * config/mips/linux.h: Fix comment formatting.
1740 * config/mips/mips.c: Likewise.
1741 * config/mips/mips.h: Likewise.
1742 * config/mips/mips.md: Likewise.
1743 * config/mips/netbsd.h: Likewise.
1744 * config/mips/windiss.h: Likewise.
1745
1746 2004-01-02 Richard Henderson <rth@redhat.com>
1747
1748 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
1749 for sse and 387; add suppression for mmx.
1750
1751 2004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
1752
1753 * loop.c (loop_optimize): Free all loops_info's mems.
1754
1755 * c-typeck.c (finish_init): Free spelling_base before
1756 setting it again.
1757
1758 * cfgloop.c (flow_loops_find): Always free the sbitmap
1759 headers.
1760
1761 * predict.c (estimate_probability): Free bbs after being
1762 done with it.
1763
1764 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1765
1766 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
1767 const_8bit_operand and call_address_operand.
1768
1769 2004-01-02 Jan Hubicka <jh@suse.cz>
1770
1771 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
1772 when there is nothing to inline but warnings are requested.
1773 (cgraph_decide_inlining): Fix memory leak.
1774
1775 2004-01-02 Jan Hubicka <jh@suse.cz>
1776
1777 * expr.c (store_constructor): Fix pasto in previous patch.
1778
1779 2004-01-02 Kazu Hirata <kazu@cs.umass.edu>
1780
1781 * config/i386/cygming.h: Fix comment formatting.
1782 * config/i386/djgpp.h: Likewise.
1783 * config/i386/gthr-win32.c: Likewise.
1784 * config/i386/i386-interix.h: Likewise.
1785 * config/i386/i386.c: Likewise.
1786 * config/i386/i386.h: Likewise.
1787 * config/i386/openbsd.h: Likewise.
1788 * config/i386/winnt.c: Likewise.
1789 * config/i386/xm-mingw32.h: Likewise.
1790
1791 2004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
1792
1793 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
1794 copyright and last modification dates.
1795
1796 2004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
1797
1798 * doc/install.texi (Specific): Mention x86_64.
1799
1800 2004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
1801
1802 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
1803 Call force_operand on plus_constant result.
1804
1805 2004-01-01 Jan Hubicka <jh@suse.cz>
1806
1807 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
1808 * expr.c (store_constructor): Use vec_init pattern.
1809 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
1810 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
1811 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
1812 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
1813 New patterns.
1814 (sse2_unpc?pd): Fix pattern.
1815 (sse2_movlpd): Kill.
1816 (sse2_movsd): Deal with movlpd too.
1817 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
1818 (ix86_expand_vector_init): New.
1819 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
1820 * md.texi (vec_set, vec_extract): Document
1821
1822 2003-12-31 Jan Hubicka <jh@suse.cz>
1823
1824 PR opt/13473
1825 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
1826 ASM input operands
1827
1828 PR opt/12617
1829 * toplev.c (dump_file_index): Reorder ce3 and bbro.
1830 (dump_file): Likewise.
1831 (rest_of_compilation): Likewise.
1832
1833 PR debug/13367
1834 * cgraph.c (cgraph_function_possibly_inlined): Even with
1835 flag_really_no_inline we inline always_inline functions.
1836 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
1837 for non-always_inline functions when there is flag_really_no_inline.
1838 (cgraph_decide_inlining): Limit work done when not inlining.
1839 (cgraph_decide_inlining_incrementally): Likewise.
1840 (cgraph_optimize_function): Check whether something got inlined.
1841 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
1842 extern inline functions when not inlining.
1843
1844 * opts.c (decode_options): Disable crossjumping at -O1
1845 * invoke.texi (-O1): Document change.
1846
1847 See ChangeLog.10 for earlier changes.