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