]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
netbsd-elf.h (REGISTER_NAMES): Add missing "argptr" pseudo-register.
[gcc.git] / gcc / ChangeLog
CommitLineData
9ff2cabc
BI
12004-01-13 Bernardo Innocenti <bernie@develer.com>
2
3 * config/m68k/netbsd-elf.h (REGISTER_NAMES): Add missing "argptr"
4 pseudo-register.
5
a4d8ec65
DP
62004-01-13 Devang Patel <dpatel@apple.com
7
8 PR debug/7078
9 * dbxout.c (dbxout_symbol_name): Emit mangled names for
10 NAMESPACE_DECL memebers.
11
bfaba7a9
AP
122004-01-13 Andrew Pinski <pinskia@physics.uc.edu>
13
14 PR c++/12709
15 * c-common.c (finish_fname_decls): Use the chain only if the
16 tree is an expr_stmt.
17
dfa849f3
VM
182004-01-13 Vladimir Makarov <vmakarov@redhat.com>
19
20 * rtl.def: Add comment about new option in automata_option.
21
22 * genautomata.c (PROGRESS_OPTION): New macro.
23 (progress_flag): New global variable.
24 (gen_automata_option): Process `progress'.
25 (transform_insn_regexps, check_unit_distributions_to_automata,
26 make_automaton, NDFA_to_DFA, build_automaton, create_automata,
27 expand_automata, write_automata): Print about the progress only if
28 progress_flag. Remove fflush.
29 (initiate_automaton_gen): Process command line flag `-progress'.
30
31 * doc/md.texi: Describe the new option.
32
9405162e
ZD
332004-01-13 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
34
35 * cfg.c (dump_bb): Dump entry edges.
36
f954388e
RE
372004-01-13 Richard Earnshaw <rearnsha@arm.com>
38
39 * arm.c (thumb_legitimate_address_p): Only allow constant pool
40 references from SImode.
41 * arm.md (thumb_movhi_insn): Don't allow minipool references.
42
0fe7abcc
KH
432004-01-13 Kazu Hirata <kazu@cs.umass.edu>
44
45 * system.h (TEXT_SECTION): Poison.
46 * varasm.c (text_section): Don't use TEXT_SECTION.
47 * config/sh/sh.c (sh_file_start): Fix a comment typo.
48 * doc/tm.texi (TEXT_SECTION): Remove.
49
fdb07791
BE
502004-01-13 Ben Elliston <bje@wasabisystems.com>
51
52 * doc/rtl.texi (Vector Operations): Remove defunct vec_const item.
53
56067bbe
JW
542004-01-12 James E Wilson <wilson@specifixinc.com>
55
56 * unwind-libunwind.c: Delete.
57
bc298aa7
ZW
582004-01-12 Zack Weinberg <zack@codesourcery.com>
59
60 PR 13656
61 * c-decl.c (diagnose_mismatched_decls): Whenever newtype or
62 oldtype is set, set *newtypep or *oldtypep too. Do not set
63 them at the very end.
64 (validate_proto_after_old_defn): Restructure for comprehensibility;
65 make error messages clearer.
66
12a08b40
ZW
672004-01-12 Zack Weinberg <zack@codesourcery.com>
68
69 * varray.h (VARRAY_POP): Add checking variant, aborts on underflow.
70 (VARRAY_TOP): Use VARRAY_CHECK so the access is bounds-checked.
71 * varray.c: No need to prototype error.
72 (varray_check_failed): Wrap long string onto two lines.
73 (varray_underflow): New function.
74
faed5cc3
SB
752004-01-13 Steven Bosscher <stevenb@suse.de>
76
77 PR c++/13376
78 * function.h (struct function): Kill `name' field.
79 (current_function_name): Make it an extern function.
80 * function.c (current_function_name): New function.
81 * graph.c: Update all uses of current_function_name.
82 * gcse.c: Likewise.
83 * config/alpha/alpha.c, config/avr/avr.c, config/c4x/c4x.c,
84 config/mips/mips.c, config/pdp11/pdp11.c: Likewise.
85 * config/ip2k/ip2k.c (function_prologue): Use MAIN_NAME_P
86 instead of a strcmp with "main".
87
2d327012
JH
882004-01-13 Jan Hubicka <jh@suse.cz>
89
0bb03c11
JH
90 * c-decl.c (diagnose_mismatched_decls): Fix warning calls.
91
2d327012
JH
92 * cgraphunit.c (cgraph_optimize_function): Always do
93 optimize_inline_calls when there is always_inline callee.
94 (cgraph_decide_inlining): Fix formating.
95 * tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
96 functions.
97 (expand_call_inline): Likewise.
98 * toplev.h (sorry): Fix prototype.
99
04cc79bb
RS
1002004-01-12 Roger Sayle <roger@eyesopen.com>
101
102 * builtins.c (expand_builtin_expect_jump): Simplify logic. Handle
103 conditional jumps that drop through to unconditional jumps or the
104 end of the sequence.
105
3416f5c2
JH
1062004-01-13 Jan Hubicka <jh@suse.cz>
107
108 * alias.c (new_alias_set): Construct the alias_set varray.
109 (init_alias_once): Don't do it here.
110
f92ed976
ME
1112004-01-12 Marc Espie <espie@openbsd.org>
112
113 * system.h: handle YYBYACC like YYBISON.
114
ff2aaa93
JM
1152004-01-12 Jonathan Merriman <jonm@dualitymedia.com>
116
117 PR target/10847
118 * config.gcc: No longer includes conflicting header sparc/sol2.h when
119 building on sparc64-*-openbsd*.
120
c5ff9123
AP
1212004-01-12 Andrew Pinski <pinskia@physics.uc.edu>
122
123 PR debug/13539
124 * dbxout.c (dbxout_type): Protected inheritance is not
125 private but protected.
126
3cd2a183
RS
1272004-01-12 Richard Sandiford <rsandifo@redhat.com>
128
129 * config/mips/mips.c (mips_symbolic_constant_p): Revert last patch.
130
5c881655
KH
1312004-01-12 Kazu Hirata <kazu@cs.umass.edu>
132
133 PR optimization/12508.
134 * combine.c (try_combine): Remove a dead set in a parallel
135 even if its destination is a subreg.
136
137 Revert:
138 2003-06-03 Kazu Hirata <kazu@cs.umass.edu>
139 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
140 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
141
a42f8ae7 1422004-01-12 Geoffrey Keating <geoffk@apple.com>
affad9a4
GK
143
144 * real.c: Update copyright date.
145 * emit-rtl.c: Likewise.
146 * rtl.h: Likewise.
147 * dwarf2out.c: Likewise.
148 * config/rs6000/darwin-ldouble.c: Likewise.
149 * config/rs6000/rs6000.md: Likewise.
150
4274207b
DE
1512004-01-12 David Edelsohn <edelsohn@gnu.org>
152
153 * config/rs6000/rs6000.c (rs6000_init_libfuncs): Add AIX
154 TFmode to SImode libfuncs.
155
06e4eab5
RS
1562004-01-12 Roger Sayle <roger@eyesopen.com>
157
158 PR middle-end/11397
159 * varasm.c (assemble_alias): Remove weak aliases from weak_decls.
160
432f982f
JH
1612004-01-12 Jan Hubicka <jh@suse.cz>
162
163 PR opt/12826
164 * loop.c (insert_loop_mem): Preffer VOLATILE memory references to be
165 stored.
166
167 PR opt/12863
168 * cfgcleanup.c (label_is_jump_target_p): Move to...
169 * rtlanal.c (label_is_jump_target_p): ... here.
170 * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Fix redirecting of fallthru
171 edges unified with branch edges.
172
8064d930
RE
1732004-01-12 Richard Earnshaw <rearnsha@arm.com>
174
175 * simplify-rtx.c (simplify_immed_subreg): Correctly extract the
176 high word of an integral CONST_DOUBLE.
177
1c48f4be 1782004-01-12 Paul Brook <paul@codesourcery.com>
0786ca87
PB
179
180 * simplify-rtx.c (simplify_plus_minus): Always generate canonical form.
181
68d2b0bb 1822004-01-12 J"orn Rennecke <joern.rennecke@superh.com>
07d7d2f4
R
183
184 PR target/13585
185 * sh-protos.h (check_use_sfunc_addr): Declare.
186 * sh.c (extract_sfunc_addr, check_use_sfunc_addr): New functions.
187 * sh.md (use_sfunc_addr): Use check_use_sfunc_addr in insn predicate.
188
c65ecebc
JH
1892004-01-12 Jan Hubicka <jh@suse.cz>
190
9ddb66ca
JH
191 * alias.c: Invlude varray.h
192 (alias_sets): Turn into varray.
193 (get_alias_set_entry): Use VARRAY; mark inline.
194 (mems_in_disjoint_alias_sets_p): Mark inline.
195 (record_alias_subset): Use varray.
196 (init_alias_once): Initialize varray.
197 (new_alias_set): Grow array.
198 * varray.c: Make VARRAY_GENERIC_PTR non GTYized.
199
2002004-01-12 Jan Hubicka <jh@suse.cz>
201
202 Partial fix for PR opt/10776 II
c65ecebc
JH
203 * cselib.c: Include params.h
204 (cselib_invalidate_mem): Limit amount of nonconflicting memory
205 locations.
206 * params.def (PARAM_MAX_CSELIB_MEMORY_LOCATIONS): New.
207 * Makefile.in (cselib.o): Depend on params.h
208
c0657872
RS
2092004-01-12 Richard Sandiford <rsandifo@redhat.com>
210
211 * combine.c (combine_simplify_rtx): Don't pass VOIDmode to
212 simplify_unary_operation if the operand has a known mode.
213
d2288d5d
HP
2142004-01-12 Hartmut Penner <hpenner@de.ibm.com>
215
b40ee5d6 216 PR target/13534
d2288d5d
HP
217 * gcc/config/rs6000/rs6000.c (word_offset_memref_operand): New
218 predicate to handle 'ld' conform addresses.
219 * gcc/config/rs6000/rs6000.h (EXTRA_CONSTRAINT): New 'Y'
220 contraint.
221 (EXTRA_MEMORY_CONSTRAINT): Tell reload which constraint
222 are memory contraints.
12a08b40 223 * gcc/config/rs6000/rs6000-protos.h (word_offset_memref_operand):
d2288d5d 224 New prototype.
12a08b40 225 * gcc/config/rs6000/rs6000.md (*movdf_hardfloat64):
d2288d5d
HP
226 Change 'o' to 'Y' constraint.
227 (*movdf_softfloat64): Ditto.
12a08b40 228
c223cf45
BI
2292004-01-12 Bernardo Innocenti <bernie@develer.com>
230
231 * gcc/config/m68k/m68k.md: Switch from the "*..." syntax to the
232 brace-enclosed syntax in all C output statements.
233
5fc921c1
DE
2342004-01-12 David Edelsohn <edelsohn@gnu.org>
235
236 PR target/13401
237 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
238 Objective-C language type value is 14.
239
48568ec7
MO
2402004-01-12 Markus F.X.J. Oberhumer <markus@oberhumer.com>
241
242 PR c/12148
243 * config/m68k/fpgnulib.c: Fix `-mshort' bugs: Use `long' instead of
244 `int' in a number of places to make sure we always have a SImode
245 and not a HImode. Add a 'L' suffix to a number of constants.
246
124c9423
JDA
2472004-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
248
249 * pa.c: Don't include obstack.h.
250
251 * pa.md: Correct constraint in pattern for loading PIC label address.
252
c924f70c
KK
2532004-01-11 Kaz Kojima <kkojima@gcc.gnu.org>
254
255 * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine
256 before defining.
257
53efeb8d
SB
2582004-01-11 Steven Bosscher <stevenb@suse.de>
259
1eee14b9 260 PR fortran/9972
53efeb8d
SB
261 * toplev.c (rest_of_handle_inline): Also consider functions
262 for deferral if the language is GNU F77.
263
d4968a11
ZW
2642004-01-11 Zack Weinberg <zack@codesourcery.com>
265
266 * c-decl.c (diagnose_arglist_conflict): Add missing space to
267 diagnostic messages.
268
1759c760
JJ
2692004-01-11 Jakub Jelinek <jakub@redhat.com>
270
271 PR middle-end/13392
272 * builtins.c (expand_builtin_expect_jump): Handle conditional jumps
273 to drop through label. Don't fall back to SCC even when conditional
274 jump has not been found.
275
0bcf8261
JH
2762004-01-11 Jan Hubicka <jh@suse.cz>
277
fb544601
JH
278 * invoke.texi: Fix syntax error in previous patch.
279
0bcf8261
JH
280 Partial fix for PR opt/10776
281 * Makefile.in (reload.o): Include param.h
282 * params.def (PARAM_MAX_RELOAD_SEARCH_INSNS): New parameter.
283 * reload.c: Include params.h.
284 (find_equiv_reg): Work limiting check.
285 * invoke.texi: Document.
286
bd9131c0
RS
2872004-01-11 Richard Sandiford <rsandifo@redhat.com>
288
289 * config/mips/mips.c (mips_symbolic_constant_p): Don't allow
290 out-of-bounds accesses to string constants. Simplify mips16
291 case accordingly.
292
6732ee60
RS
2932004-01-11 Richard Sandiford <rsandifo@redhat.com>
294
295 PR optimization/13469
296 * toplev.c (rest_of_compilation): Call purge_all_dead_edges after
297 reload_cse_regs (-fnon-call-exceptions only).
298
14bc6742
KH
2992004-01-11 Kazu Hirata <kazu@cs.umass.edu>
300
301 * config/mcore/lib1.asm: Fix comment formatting.
302 * config/mcore/mcore-elf.h: Likewise.
303 * config/mcore/mcore.c: Likewise.
304 * config/mcore/mcore.h: Likewise.
305 * config/mcore/mcore.md: Likewise.
306
3c6e6fbf
ZW
3072004-01-10 Zack Weinberg <zack@codesourcery.com>
308
309 * c-decl.c (duplicate_decls): Break apart into...
310 (diagnose_arglist_conflict, validate_proto_after_old_defn)
311 (locate_old_defn, diagnose_mismatched_decls, merge_decls):
312 ... these new functions. Restructure for comprehensibility.
313 Remove various archaic special cases. Always report the
314 location of the previous declaration when a diagnostic is issued.
315 (redeclaration_error_message): Fold into diagnose_mismatched_decls.
316 (match_builtin_function_types): Delete unnecessary forward declaration.
317
1e8dcb41
ZW
3182004-01-10 Zack Weinberg <zack@codesourcery.com>
319
320 * genautomata.c (make_automaton, NDFA_to_DFA):
321 Print progress bars with '.' characters instead of '*'.
322 (build_automaton): Change notes to match.
323
a2ab189d
KH
3242004-01-10 Kazu Hirata <kazu@cs.umass.edu>
325
326 * config/m32r/m32r.md: Use define_constants for unspec and
327 unspec_volatile.
328
cf7cb67e
JH
3292004-01-10 Jan Hubicka <jh@suse.cz>
330
c8fdcfae 331 PR opt/11635
cf7cb67e
JH
332 * expr.c (expand_expr_real): More curefully expand union casts.
333
0574200c
KH
3342004-01-10 Kazu Hirata <kazu@cs.umass.edu>
335
336 * config/m32r/m32r.md (flush_icache): Use 1 for
337 unspec_volatile.
338
a2a0019f
DE
3392004-01-10 David Edelsohn <edelsohn@gnu.org>
340 James E Wilson <wilson@specifixinc.com>
341
342 PR debug/12860
343 * dbxout.c (dbxout_symbol): Remove initialization of
344 current_sym_code, current_sym_value, and current_sym_addr.
345 (dbxout_symbol_location): Same.
346 (dbxout_prepare_symbol): Zero current_sym_code,
347 current_sym_value, and current_sym_addr.
348
bb3f5384
RS
3492004-01-10 Richard Sandiford <rsandifo@redhat.com>
350
351 * tree.c (get_unwidened): Reorder conditions so that the null pointer
352 check is done first.
353
fbfb16e2
EC
3542004-01-09 Eric Christopher <echristo@redhat.com>
355
356 * toplev.c (rest_of_handle_cfg): Add reg_scan pass
357 if we're running mark_constant_function.
358
cc23f3c7
JB
3592004-01-09 Jeff Bailey <jbailey@nisa.net>
360
361 PR target/12561
362 * config/t-gnu: Rename SYSTEM_HEADER_DIR to NATIVE_SYSTEM_HEADER_DIR.
363
975421be
AP
3642004-01-09 Andrew Pinski <pinskia@physics.uc.edu>
365
366 PR debug/11231
a2a0019f
DE
367 * dbxout.c (dbxout_type_fields): Return if any item is
368 error_mark_node or the type is error_mark_node.
975421be 369
7e4bd541
GK
3702004-01-09 Geoffrey Keating <geoffk@apple.com>
371
f01519dd
GK
372 * config/rs6000/darwin-ldouble.c: Add big comment explaining
373 exactly what is expected as a 'long double'.
374 (_xlqadd): When a value to be returned is representable as a
375 'double', just return it directly, do not construct it using a union.
376 Also, correct final fixup.
377 (_xlqmul): Likewise.
378 (_xlqdiv): Likewise.
379 * real.c (encode_ibm_extended): Make consistent with darwin-ldouble.c.
380
7e4bd541
GK
381 * config/rs6000/rs6000.md (fix_trunctfdi2): Delete.
382
47069ecb
RH
3832004-01-09 Richard Henderson <rth@redhat.com>
384
385 * recog.c (constrain_operands): Validate mem operands.
386
9813058e
JW
3872004-01-09 James E Wilson <wilson@specifixinc.com>
388
389 * gcc.c (init_spec): Remove -lunwind from shared case.
390 * conifg/ia64/t-hpux (SHLIB_LINK): Add -lunwind.
391
b0fd7d27
SE
3922004-01-09 Steve Ellcey <sje@cup.hp.com>
393
394 * configure.ac: (gcc_cv_ld_hidden) Set to true for ia64*-*-hpux*.
395 * configure: Regenerate
396
3897f229
JM
3972004-01-09 Joseph S. Myers <jsm@polyomino.org.uk>
398
399 PR c/11234
400 * c-typeck.c (build_c_cast): If pedantic, warn for conversions
401 between function and object pointers.
402 (digest_init): When comparing a pointer to function type to the
403 target type, only apply TREE_TYPE once to the pointer to function
404 type.
405 * except.c (for_each_eh_label_1): Treat data as a pointer to a
406 function pointer rather than casting it to a function pointer.
407 (for_each_eh_label): Update caller.
408 * recog.h (struct insn_data): Use a struct or union for output.
409 * genoutput.c (output_insn_data): Update.
410 * final.c (get_insn_template): Update.
411
0fab64a3
MM
4122004-01-09 Mark Mitchell <mark@codesourcery.com>
413
414 * expr.h (expand_expr): Make it a macro, not a function.
415 (expand_expr_real): New function.
416 * expr.c (store_expr): Adjust logic for deciding whether or not to
417 copy the value returned by expand_expr.
418 (expand_expr): Rename to ...
419 (expand_expr_real): ... this. Add alt_rtl parameter. Adjust
420 calls to language hooks.
421 * c-common.h (c_expand_expr): Adjust prototype.
422 * c-common.c (c_expand_expr): Add alt_rtl parameter.
423 * langhooks-def.h (lhd_expand_expr): Change prototype.
424 * langhooks.c (lhd_expand_expr): Add all_rtl parameter.
425 * langhooks.h (lang_hooks): Change type of expand_expr.
426 * stmt.c (stmt_status): Add x_last_expr_alt_rtl.
427 (last_expr_alt_rtl): Likewise.
428 (expand_expr_stmt_value): Set last_expr_alt_rtl.
429 (clear_last_expr): Clear it.
430 (expand_end_stmt_expr): Set RTL_EXPR_ATL_RTL.
431 (expand_end_bindings): Save and restor last_expr_alt_rtl.
432 * tree.def (RTL_EXPR): Give it an additional operand.
433 * tree.h (RTL_EXPR_ALT_RTL): New macro.
9813058e 434
df68f43b
KI
4352004-01-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
436
437 * config/m32r/m32r.h (TARGET_CPU_CPP_BUILTINS): Add __m32r__.
900a35c8 438 * config/m32r/m32r.c (call26_operand): Allow in PIC mode.
df68f43b 439
58ebda9c
KH
4402004-01-09 Kazu Hirata <kazu@cs.umass.edu>
441
442 PR target/13380.
443 * config/m32r/m32r.md: Replace (reg:SI 17) with (reg:CC 17)
444 or (ne:SI (reg:CC 17) (const_int 0)).
445 Be specific about modes wherever possible.
446
81ad38a6
KH
4472004-01-09 Kazu Hirata <kazu@cs.umass.edu>
448
449 * config/m32r/m32r.c (m32r_expand_block_move): Call
450 gen_movestrsi_internal with two more arguments.
451 (m32r_output_block_move): Adjust operand numbers.
452 Properly update the source and destination pointers.
453 * config/m32r/m32r.md (movstrsi_internal): Use 'r' instead of
454 'r+'. Change the set detinations to match_operand.
455
b816f339
KH
4562004-01-09 Kazu Hirata <kazu@cs.umass.edu>
457
458 * final.c (FIRST_INSN_ADDRESS): Remove.
459 (shorten_branches): Don't use FIRST_INSN_ADDRESS.
460 * system.h (FIRST_INSN_ADDRESS): Poison.
461 * config/avr/avr.h: Remove a comment about FIRST_INSN_ADDRESS.
462 * config/m32r/m32r-protos.h: Remove the prototype for
463 m32r_first_insn_address.
464 * config/m32r/m32r.c (m32r_first_insn_address): Remove.
465 * config/m32r/m32r.h (FIRST_INSN_ADDRESS): Likewise.
466 * doc/md.texi (FIRST_INSN_ADDRESS): Likewise.
467
de99511b
B
4682004-01-09 J. Brobecker <brobecker@gnat.com>
469
470 * dwarf2out.c (gen_enumeration_type_die): Return the DIE that
471 we just created.
472 (is_ada_subrange_type): DIEs for enumeration subtypes should be
473 emitted as subrange types too.
474 (subrange_type_die): Add handling of enumeration subtypes.
475
90e4e4c5
RH
4762004-01-08 Richard Henderson <rth@redhat.com>
477
478 PR opt/12441
479 Revert: Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
9813058e
JW
480 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
481 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
482 (ix86_address_cost): Be prepared for SUBREGed registers.
483 (legitimate_address_p): Accept SUBREGed registers.
90e4e4c5 484
a6a5e4c9
KC
4852004-01-08 Kelley Cook <kcook@gcc.gnu.org>
486
487 * Makefile.in: Rename configure.in to configure.ac
488 * doc/sourcebuild.texi: Likewise.
489 * configure: Regenerate.
490 * config.in: Regenerate.
491
588f75d0
SH
4922004-01-08 Stuart Hastings <stuart@apple.com>
493
494 * config/i386/i386.md: Typos in MMX/SSE immediate shifts.
495
6242fcd8
JH
4962004-01-08 Jan Hubicka <jh@suse.cz>
497
498 * cgraphunit.c (cgraph_decide_inlining): Fix typo.
499
a29077da
GK
5002004-01-08 Geoffrey Keating <geoffk@apple.com>
501
ecb62ae7
GK
502 * config/rs6000/rs6000.md (cmptf_internal1): Correct branch offset.
503 (UNSPEC_FIX_TRUNC_TF): New constant.
504 (movtf_internal): Make splitter active only when insn is active.
505 (extenddftf2): Rewrite to properly load zero into low part.
506 (extenddftf2_internal): New.
507 (extendsftf2): Rewrite.
508 (truncdftf2): Correct length.
509 (floatditf2): Delete.
510 (fix_trunc_helper): New.
511 (fix_trunctfdi2): Use fix_trunc_helper.
512 (fix_trunctfsi2): Likewise.fix_trunc
513 (fix_trunctfsi2_internal): New.
514
a29077da
GK
515 * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): lo_sum
516 addresses are legitimate on Darwin even when flag_pic.
517 (rs6000_legitimize_reload_address) [TARGET_MACHO]: Don't create
518 non-offsettable addresses for loads of TFmode constants.
519
cb1f9d03
KI
5202004-01-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
521
522 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Actually emit
523 variables in the appropriate bss section.
524
7ddb6568
AM
5252004-01-09 Alan Modra <amodra@bigpond.net.au>
526
527 * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Ensure
528 target_flags has MASK_POWERPC64 when -m64.
529 * config/rs6000/rs6000.c (processor_target_table): Add MASK_POWERPC64
530 to 620, 630, power3, power4 and rs64a entries.
531 * config/rs6000/rs6000.h (MASK_64BIT): Expand comment.
532
effdb493
RS
5332004-01-08 Richard Sandiford <rsandifo@redhat.com>
534
535 * simplify-rtx.c (simplify_immed_subreg): Fix construction of
536 floating-point constants.
537
fbfd77b8
JB
5382004-01-08 J. Brobecker <brobecker@gnat.com>
539
540 * dwarf2out.c (subrange_type_die): Add context_die parameter.
541 Create the subrange_type DIE using the given context DIE.
542 (modified_type_die): Update call to subrange_type_die.
543
5442004-01-08 Zack Weinberg <zack@codesourcery.com>
7ce27103
ZW
545
546 * dwarf2.h, unwind-dw2-fde.h, unwind-pe.h, unwind.h:
547 Add multiple-include guard.
548
ce1f50b2
HP
5492004-01-08 Hartmut Penner <hpenner@de.ibm.com>
550
7ce27103
ZW
551 * gcc/config/rs6000/rs6000.c (easy_vector_constant): Accept
552 all vector constant loadable by vsplt*.
ce1f50b2
HP
553 (output_vec_const_move): Likewise.
554
bca63328
JM
5552004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
556
557 PR c/6024
558 * c-typeck.c (comptypes): Only treat enumerated types in the same
559 translation unit as compatible with each other when they are the
560 same type.
561 * doc/extend.texi: Update.
562
85b58ca5
JM
5632004-01-07 Joseph S. Myers <jsm@polyomino.org.uk>
564
565 PR c/12165
566 * c-decl.c (grokdeclarator): Take type qualifiers of typedefed
567 array type from the array element type.
568
93c9d1ba
AM
5692004-01-07 Alan Modra <amodra@bigpond.net.au>
570
571 * config/rs6000/rs6000.c (rs6000_dbx_register_number): New function.
572 * config/rs6000/rs6000-protos.h (rs6000_dbx_register_number): Declare.
573 * config/rs6000/rs6000.h (DWARF_FRAME_REGNUM): Define.
574 (DWARF_REG_TO_UNWIND_COLUMN): Correct column adjustment and comment.
575 * config/rs6000/sysv4.h (DBX_REGISTER_NUMBER): Define.
576
deae8de6
EC
5772004-01-06 Eric Christopher <echristo@redhat.com>
578
579 * config/mips/mips.h (MDEBUG_ASM_SPEC): Change for dwarf2 default.
580 (DWARF2_DEBUGGING_INFO): Define.
581 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2.
582 * config/mips/openbsd.h (PREFERRED_DEBUGGING_TYPE): Remove.
583 * config/mips/iris6.h (SUBTARGET_ASM_DEBUGGING_SPEC): Only pass -g0
584 for irix as.
585 (SUBTARGET_ASM_OPTIMIZING_SPEC): Only pass O0 for irix as.
586 * config/mips/iris6gas.h (MDEBUG_ASM_SPEC): Remove.
587 * config/mips/iris5gas.h: Ditto.
588 (DBX_DEBUGGING_INFO): Remove.
589 (DWARF2_DEBUGGING_INFO): Ditto.
590 (MIPS_DEBUGGING_INFO): Ditto.
591 (PREFERRED_DEBUGGING_TYPE): Ditto.
592 * config/mips/elf.h (DWARF2_DEBUGGING_INFO): Remove.
593 (PREFERRED_DEBUGGING_TYPE): Ditto.
594 (SUBTARGET_ASM_DEBUGGING_SPEC): Ditto.
595 * config/mips/elf64.h: Ditto.
596
fed2b316
JH
5972004-01-06 Jan Hubicka <jh@suse.cz>
598
599 * Makefile.in (STAGEPROFILE_FLAGS_TO_PASS): Use -fprofile-generate.
600 (STAGEFEEDBACK_FLAGS_TO_PASS): Use -fprofile-use.
601
64d961b8
GK
6022004-01-06 Geoffrey Keating <geoffk@apple.com>
603
084f5a35
GK
604 * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Compile darwin-ldouble.c.
605 (TARGET_LIBGCC2_CFLAGS): Use -mlong-double-128.
606 * config/rs6000/darwin-ldouble.c: New.
deae8de6 607
550d1387
GK
608 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg
609 for constants.
610 (constant_subword): Delete.
611 * rtl.h (constant_subword): Delete prototype.
612 (immed_double_const): Is not in varasm.c.
613 * simplify-rtx.c (simplify_immed_subreg): New.
614 (simplify_subreg): Use simplify_immed_subreg.
615
0c90aa3c
GK
616 * config/rs6000/rs6000.md (floatsitf2): Use expand_float rather
617 than trying to generate RTL directly.
618 (fix_trunctfsi2): Use expand_fix rather than trying to generate
619 RTL directly.
620
64d961b8
GK
621 * dwarf2out.c (add_const_value_attribute): Remove incorrect comment.
622
72b38561
DE
6232004-01-06 David Edelsohn <edelsohn@gnu.org>
624
625 * config/rs6000/xcoff.h (EXTRA_SECTION_FUNCTIONS): Split each
626 function into a separate macro.
627 (read_only_data_section): Add void argument.
628 (private_data_section): Same.
629 (read_only_private_data_section): Same.
630 (toc_section): Same.
631
9a609388
JH
6322004-01-06 Jan Hubicka <jh@suse.cz>
633
0aaae060
JH
634 * invoke.texi: Remove typo in last change.
635
9a609388
JH
636 PR target/10301
637 * config.gcc: Accept opteron and athlon-64 as variants
638 of k8.
639 * i386.c (override_options): Likewise.
640 * invoke.texi (i386 -mtune): Expand documentation.
641
5d3cc252
KH
6422004-01-06 Kazu Hirata <kazu@cs.umass.edu>
643
644 * alias.c: Fix comment typos.
645 * builtins.c: Likewise.
646 * cfg.c: Likewise.
647 * df.c: Likewise.
648 * dominance.c: Likewise.
649 * dwarf2out.c: Likewise.
650 * emit-rtl.c: Likewise.
651 * expr.c: Likewise.
652 * final.c: Likewise.
653 * fold-const.c: Likewise.
654 * gcse.c: Likewise.
655 * genattrtab.c: Likewise.
656 * genrecog.c: Likewise.
657 * gensupport.c: Likewise.
658 * ggc-zone.c: Likewise.
659 * integrate.c: Likewise.
660 * local-alloc.c: Likewise.
661 * loop.c: Likewise.
662 * recog.c: Likewise.
663 * regmove.c: Likewise.
664 * reg-stack.c: Likewise.
665 * reorg.c: Likewise.
666 * rtlanal.c: Likewise.
667 * rtl.h: Likewise.
668 * sched-ebb.c: Likewise.
669 * simplify-rtx.c: Likewise.
670 * toplev.c: Likewise.
671 * varasm.c: Likewise.
672
95ea367d
KH
6732004-01-06 Kazu Hirata <kazu@cs.umass.edu>
674
675 * doc/install.texi: Fix typos.
676 * doc/invoke.texi: Likewise.
677 * doc/md.texi: Likewise.
678
f26ef713
KI
6792004-01-06 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
680
681 * config/m32r/m32r.h (TRAMPOLINE_LINE_SIZE): Changed
682
bcf17554
JH
6832004-01-06 Jan Hubicka <jh@suse.cz>
684
685 * i386.c (init_cumulative_args): Add handling of MMX_REGPARM.
686 (function_arg_advance): Do not pass aggregates in SSE; deal handling
687 of MMX_REGPARM.
688 (function_arg): Add new warnings about ABI changes; fix SSE_REGPARM;
689 add MMX_REGPARM.
690 * i386.h (ix86_args): Add mmx_words/mmx_regs/mmx_regno fields.
691 (SSE_REGPARM_MAX): Default to 3 on i386 -msse ABI.
692 (MMX_REGPARM_MAX): Similarly for -mmmx.
693
24746a42
KH
6942004-01-05 Kazu Hirata <kazu@cs.umass.edu>
695
696 * config/sh/linux.h: Fix comment formatting.
697 * config/sh/netbsd-elf.h: Likewise.
698 * config/sh/sh.c: Likewise.
699 * config/sh/sh.h: Likewise.
700 * config/sh/vxworks.h: Likewise.
701
f7e7e318
KH
7022004-01-05 Kazu Hirata <kazu@cs.umass.edu>
703
704 * system.h (ASM_OUTPUT_MAIN_SOURCE_FILENAME): Poison.
705 * toplev.c (output_file_directive): Don't use
706 ASM_OUTPUT_MAIN_SOURCE_FILENAME.
707
02fef853 7082004-01-05 Daniel Berlin <dberlin@dberlin.org>
deae8de6 709
02fef853
DB
710 * ggc-zone.c: Remove everything in #ifdef USING_MALLOC_PAGE_GROUPS
711 (USING_MMAP): We don't support non-mmap.
712 (struct alloc_chunk): Steal 1 bit from typecode, use it to mark
713 large objects.
714 (struct page_entry): Remove bytes_free.
715 (struct page_table_chain): Remove.
716 (struct globals): Remove page_table member.
717 (loookup_page_table_entry): Function deleted.
718 (set_page_table_entry): Ditto.
719 (ggc_allocated_p): No longer need page table lookups.
720 (ggc_marked_p): Ditto.
721 (alloc_small_page): Don't care about bytes_free anymore.
722 (alloc_large_page): Round up size.
723 (ggc_alloc_zone_1): Mark large objects as such, and calculate
deae8de6 724 their size the new way.
02fef853
DB
725 Remove page table lookups and setting.
726 (ggc_get_size): Calculate large object size the new way.
727 (sweep_pages): Redo to account for fact that we no longer have
728 bytes_free.
729 (ggc_collect): No longer need to reincrement bytes_free.
730 (ggc_pch_alloc_object): Handle new large objects properly.
731 (ggc_pch_read): Put PCH stuff into it's own uncollected zone.
732
60b799fd
KH
7332004-01-05 Kazu Hirata <kazu@cs.umass.edu>
734
735 * doc/invoke.texi: Remove a page break.
736
908c8c7e
KH
7372004-01-05 Kazu Hirata <kazu@cs.umass.edu>
738
739 * config/avr/avr.c (avr_output_function_prologue): Remove an
740 extra pair of curly braces.
741
8596d0a1
KH
7422004-01-05 Kazu Hirata <kazu@cs.umass.edu>
743
744 * config/mn10300/mn10300.c: Fix comment formatting.
745 * config/mn10300/mn10300.h: Likewise.
746
1e2d4dc1
RK
7472004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
748
749 * tree.h: Update documentation on nothrow_flag.
750 * print-tree.c (print_node): Print TREE_NOTHROW as "align-ok" for
751 types.
752
b6e69d94
KH
7532004-01-05 Kazu Hirata <kazu@cs.umass.edu>
754
755 * doc/invoke.texi: Remove traces of dead ports.
756
1cf959cb
RS
7572004-01-05 Richard Sandiford <rsandifo@redhat.com>
758
759 * doc/invoke.texi: Add documentation for the MIPS -mexplicit-relocs
760 option.
761
f6149877
RS
7622004-01-05 Richard Sandiford <rsandifo@redhat.com>
763
764 PR target/12945
765 * coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
b56c0023 766 counter labels.
f6149877
RS
767 * config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
768 (mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
769 string constants if TARGET_MIPS16. Use SYMBOL_REF_DECL to check
770 the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
771 (mips_symbol_insns): Don't trust the local/global classification.
772 (m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
773 (override_options): Make -mabicalls -fno-unit-at-a-time imply
774 -mno-explicit-relocs.
775 (mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
776 between local and global symbols.
777
a6008bd8
RS
7782004-01-05 Richard Sandiford <rsandifo@redhat.com>
779
780 * config/mips/mips-protos.h (mips_dangerous_for_la25_p): Declare.
781 (mips_preferred_reload_class): Declare.
782 * config/mips/mips.h (DANGEROUS_FOR_LA25_P): Replace with function.
783 (EXTRA_CONSTRAINT): Update accordingly.
784 (PREFERRED_RELOAD_CLASS): Use mips_preferred_reload_class.
785 * config/mips/mips.c (mips_dangerous_for_la25_p): New function.
786 (mips_preferred_reload_class): New function. Prefer LEA_REGS if
787 mips_dangerous_for_la25_p.
788 (mips_secondary_reload_class): Use LEA_REGS rather than GR_REGS
789 if mips_dangerous_for_la25_p.
790
d7b3c085
BI
7912004-01-05 Bernardo Innocenti <bernie@develer.com>
792
793 * config/m68k/m68k.c (output_andsi3): Fix signed/unsigned comparison
deae8de6 794 warning.
d7b3c085 795
ca9bc441
NN
7962004-01-04 Nathanael Nerode <neroden@gcc.gnu.org>
797
798 * configure.ac: Use AC_PROG_CPP_WERROR.
799 * configure: Regenerate.
800
016d7f3e
ZW
8012004-01-04 Zack Weinberg <zack@codesourcery.com>
802
803 * .cvsignore: Add autom4te.cache.
804
5a4b3afd
RS
8052004-01-04 Richard Sandiford <rsandifo@redhat.com>
806
807 * doc/invoke.texi: Revamp documentation of MIPS options. Remove
808 -mabi=meabi, -mabi-fake-default, -mmips-as, -mgas, -mmips-tfile,
809 -m4650, -mfix7000 and -(m)no-crt0. Put endianness options first,
810 then architecture options, then ABI options. General rewording.
811
928a5ba9
JM
8122004-01-04 Joseph S. Myers <jsm@polyomino.org.uk>
813
814 PR c/3414
815 * doc/extend.texi: Clarify definition of malloc attribute.
816
dc0bfe6a
JH
8172004-01-04 Jan Hubicka <jh@suse.cz>
818
819 * Makefile.in (cgraph.o, cgraphunit.o): Add intl.h dependency.
820 * cgraph.c (create_edge, dump_cgraph): Update to use inline_failed
821 * cgraph.h (cgraph_edge): Replace inline_call by inline_failed
822 (cgraph_inline_p): Add extra argument reason.
823 * cgraphunit.c: Minor formating fixes.
824 cgraph_first_inlined_callee): New functions.
825 (record_call_1): Record builtins too.
826 (cgraph_analyze_function): Update inline_failed messages.
827 (cgraph_mark_functions_to_output, cgraph_expand_function, cgraph_inlined_into,
828 cgraph_inlined_callees, cgraph_estimate_growth): Update to use inline_failed.
829 (cgraph_check_inline_limits): Likewise; Add argument reason.
830 (cgraph_set_inline_failed): New static function.
831 (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining): Set
832 reasons.
833 (cgraph_inline_p): Add new argument reason.
834 * tree-inline.c (expand_call_inline): Update warning.
835
ba479fd2
NN
8362004-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
837
914c5af7
NN
838 * configure.ac: Replace AC_INIT, AC_OUTPUT, AC_CANONICAL_SYSTEM
839 with modern equivalents.
840 * configure: Regenerate.
841
016d7f3e
ZW
842 * configure.ac: Replace gcc_AC_CHECK_TYPE with AC_CHECK_TYPE.
843 * aclocal.m4 (gcc_AC_CHECK_TYPE): Remove.
844 * configure: Regenerate.
78c9cb99 845
d44f1a00
NN
846 * doc/install.texi: Note that 'gcc' is now a 2.57 directory.
847
ba479fd2
NN
848 * configure.in: Rename to configure.ac.
849 * configure.ac: Renamed from configure.in; make minimum necessary
850 changes for autoconf 2.5x.
851 * aclocal.m4: Make minimum necessary changes for autoconf 2.5x.
852 * configure: Regenerate with autoconf 2.57.
853
031a26c5
KH
8542004-01-03 Kazu Hirata <kazu@cs.umass.edu>
855
856 * config/mips/linux.h: Fix comment formatting.
857 * config/mips/mips.c: Likewise.
858 * config/mips/mips.h: Likewise.
859 * config/mips/mips.md: Likewise.
860 * config/mips/netbsd.h: Likewise.
861 * config/mips/windiss.h: Likewise.
862
b87cfcfb
RH
8632004-01-02 Richard Henderson <rth@redhat.com>
864
865 * config/i386/i386.md (fp constant pool splitter): Reorg suppression
866 for sse and 387; add suppression for mmx.
867
36579663
AP
8682004-01-02 Andrew Pinski <pinskia@physics.uc.edu>
869
9d85830f
AP
870 * loop.c (loop_optimize): Free all loops_info's mems.
871
016d7f3e 872 * c-typeck.c (finish_init): Free spelling_base before
36579663 873 setting it again.
016d7f3e 874
36579663
AP
875 * cfgloop.c (flow_loops_find): Always free the sbitmap
876 headers.
877
878 * predict.c (estimate_probability): Free bbs after being
879 done with it.
880
3864b6fe
KH
8812004-01-02 Kazu Hirata <kazu@cs.umass.edu>
882
883 * config/mn10300/mn10300.h (PREDICATE_CODES): Add
884 const_8bit_operand and call_address_operand.
885
8b6bd5d7
JH
8862004-01-02 Jan Hubicka <jh@suse.cz>
887
888 * cgraphunit.c (cgraph_optimize_function): Call optimize_inline_calls
889 when there is nothing to inline but warnings are requested.
890 (cgraph_decide_inlining): Fix memory leak.
891
9b9bd3b2
JH
8922004-01-02 Jan Hubicka <jh@suse.cz>
893
894 * expr.c (store_constructor): Fix pasto in previous patch.
895
43f3a59d
KH
8962004-01-02 Kazu Hirata <kazu@cs.umass.edu>
897
898 * config/i386/cygming.h: Fix comment formatting.
899 * config/i386/djgpp.h: Likewise.
900 * config/i386/gthr-win32.c: Likewise.
901 * config/i386/i386-interix.h: Likewise.
902 * config/i386/i386.c: Likewise.
903 * config/i386/i386.h: Likewise.
904 * config/i386/openbsd.h: Likewise.
905 * config/i386/winnt.c: Likewise.
906 * config/i386/xm-mingw32.h: Likewise.
907
daef8bbd
JM
9082004-01-02 Joseph S. Myers <jsm@polyomino.org.uk>
909
910 * doc/gcc.texi, doc/invoke.texi, doc/install.texi: Update
911 copyright and last modification dates.
912
7e081a0c
AJ
9132004-01-02 Andreas Jaeger <aj@suse.de>, Gerald Pfeifer <gp@suse.de>
914
915 * doc/install.texi (Specific): Mention x86_64.
916
ac3f5df7
HPN
9172004-01-01 Hans-Peter Nilsson <hp@bitrange.com>
918
919 * builtins.c (expand_builtin_apply_args_1) [STACK_GROWS_DOWNWARD]:
920 Call force_operand on plus_constant result.
921
997404de
JH
9222004-01-01 Jan Hubicka <jh@suse.cz>
923
924 * expmed.c (store_bit_field, extract_bit_field): Use new named patterns
925 * expr.c (store_constructor): Use vec_init pattern.
926 * genopinit.c (optabs): Initailize vec_set/vec_extract/vec_init.
927 * optabs.h (optab_index): ADD OTI_vec_set/OTI_vec_extract/OTI_vec_init
928 (vec_set_optab, vec_extract_optab, vec_init_optab): New.
929 * i386.md (vec_setv2df, vec_extractv2df, vec_setv4sf, vec_extractv4sf):
930 New patterns.
931 (sse2_unpc?pd): Fix pattern.
932 (sse2_movlpd): Kill.
933 (sse2_movsd): Deal with movlpd too.
934 * i386.c (ix86_expand_builtin): Use sse2_movsd instead of sse2_movlpd.
935 (ix86_expand_vector_init): New.
936 * emmintrin.h (__mm_set_pd, __mm_set_ps): Use vector extensions.
937 * md.texi (vec_set, vec_extract): Document
938
b684a3df
JH
9392003-12-31 Jan Hubicka <jh@suse.cz>
940
941 PR opt/13473
942 * recog.c (validate_replace_rtx_1): Take care for RTL sharing inside
943 ASM input operands
944
945 PR opt/12617
946 * toplev.c (dump_file_index): Reorder ce3 and bbro.
947 (dump_file): Likewise.
948 (rest_of_compilation): Likewise.
949
950 PR debug/13367
951 * cgraph.c (cgraph_function_possibly_inlined): Even with
952 flag_really_no_inline we inline always_inline functions.
953 * cgraphunit.c (cgraph_analyze_function): Clear inlinable flag
954 for non-always_inline functions when there is flag_really_no_inline.
955 (cgraph_decide_inlining): Limit work done when not inlining.
956 (cgraph_decide_inlining_incrementally): Likewise.
957 (cgraph_optimize_function): Check whether something got inlined.
958 * c-objc-common.c (c_disregard_inline_limits): Do not always inline
959 extern inline functions when not inlining.
960
961 * opts.c (decode_options): Disable crossjumping at -O1
962 * invoke.texi (-O1): Document change.
a55f4481 963
cd14f58c 964See ChangeLog.10 for earlier changes.
This page took 0.159591 seconds and 5 git commands to generate.