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