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