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