]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
c-opts.c (complain_wrong_lang, [...]): Remove.
[gcc.git] / gcc / ChangeLog
CommitLineData
f18754d6
NB
12003-06-25 Neil Booth <neil@daikokuya.co.uk>
2
3 * c-opts.c (complain_wrong_lang, write_langs): Remove.
4 (c_common_handle_option): Complaints about wrong language are
5 handled in opts.c now.
6 * opts.c (complain_wrong_lang, write_langs, handle_options): New.
7 (find_opt): Fix thinko.
8 (handle_option): Update prototype. Complain about switches for
9 a different front end.
10 * opts.h (lang_names, handle_options): New.
11 (handle_option): Remove.
12 * opts.sh: Write out language names array.
13 * toplev.c (parse_options_and_default_flags): Use handle_options.
14
37f22004
L
152003-06-25 H.J. Lu <hongjiu.lu@intel.com>
16
17 * config/i386/i386.c (MASK_SSE1): Removed.
18 (MASK_SSE164): Removed.
19 (MASK_SSE264): Removed.
20 (bdesc_2arg): Replace MASK_SSE1 with MASK_SSE. Replace
21 MASK_SSE164 with MASK_SSE | MASK_64BIT. Replace MASK_SSE264
22 with MASK_SSE2 | MASK_64BIT.
23 (bdesc_1arg): Likewise.
24 (ix86_init_mmx_sse_builtins): Likewise.
25
26 * config/i386/i386.h (TARGET_SSE): Remove MASK_SSE2.
27 (TARGET_SWITCHES): Enable both MASK_SSE and MASK_SSE2 for
28 -msse2.
29
85f015e1
KG
302003-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
31
32 * hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
33 (HOST_WIDE_INT_PRINT_DEC_SPACE,
34 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
35 HOST_WIDEST_INT_PRINT_DEC_SPACE,
36 HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete.
37 (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C,
38 HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in
39 terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C.
40
41 * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT.
42 * ra-debug.c (dump_static_insn_cost): Likewise.
43
27847754
NC
442003-06-26 Nick Clifton <nickc@redhat.com>
45
46 * config/arm/arm.h (BIGGEST_FIELD_ALIGNMENT): Define instead
47 of ADJUST_FIELD_ALIGN if IN_TARGET_LIBS.
48 Replace occurances of '???' with 'XXX' incase they are
49 mistaken for trigraphs.
50 (THUMB_PRINT_OPERAND_ADDRESS): abort if a compound address
51 does not have a register for the first operand.
52
b1dcf523
DD
532003-06-25 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
54
55 * config/sh/sh.c (sh_register_move_cost):
56 Add case for moving between MAC_REGS.
57
2896d056
ZW
582003-06-25 Zack Weinberg <zack@codesourcery.com>
59
60 PR 10178
61 * langhooks.h (struct lang_hooks): Add no_body_blocks bool.
62 * langhooks-def.h (LANG_HOOKS_NO_BODY_BLOCKS): New; default false.
63 * c-lang.c, objc/objc-lang.c: Override LANG_HOOKS_NO_BODY_BLOCKS
64 to true.
65 * stmt.c (is_body_block): If lang_hooks.no_body_blocks, always
66 return 0.
67
8f7193b8
KG
682003-06-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
69
70 * Makefile.in (bt-load.o): Depend on $(TM_P_H).
71 * bt-load.c: Include "tm_p.h".
72
f5139cc5
KH
732003-06-25 Kazu Hirata <kazu@cs.umass.edu>
74
75 * config/h8300/h8300.c (compute_mov_length): Adjust for the
76 new optimization.
77 * config/h8300/h8300.md (*movsi_h8300): Optimize the load of
78 an SImode constant whose upper and lower are the same.
79
380e1984
JH
80Wed Jun 25 11:31:59 CEST 2003 Jan Hubicka <jh@suse.cz>
81
82 * varasm.c (assemble_name): Mark needed variables even when
83 global info is ready.
84
3f8b659d
JQ
852003-06-24 Jerry Quinn <jlquinn@optonline.net>
86
87 PR other/11280
88 * gcc/doc/invoke.texi (Optimization Options): Remove -Os from
89 -freorder-functions description.
90
a53efda2
JZ
912003-06-25 Josef Zlomek <zlomekj@suse.cz>
92
93 * dwarf2out.c (gen_field_die): Return if type of decl is error mark.
94
0bd95603
NB
952003-06-25 Neil Booth <neil@daikokuya.co.uk>
96
97 * opts.c (common_handle_option): Add missing break;s.
98
7948a9ea
KH
992003-06-24 Kazu Hirata <kazu@cs.umass.edu>
100
101 * config/h8300/h8300-protos.h: Add a prototype for
102 compute_mov_length.
103 * config/h8300/h8300.c (compute_mov_length): New.
104 * config/h8300/h8300.md (*movqi_h8300): Use it.
105 (*movqi_h8300hs): Likewise.
106 (movstrictqi): Likewise.
107 (*movhi_h8300): Likewise.
108 (*movhi_h8300hs): Likewise.
109 (movstricthi): Likewise.
110 (*movsi_h8300): Likewise.
111 (*movsf_h8300): Likewise.
112 (*movsi_h8300hs): Likewise.
113 (*movsf_h8300hs): Likewise.
114
e5b0e711
KH
1152003-06-24 Kazu Hirata <kazu@cs.umass.edu>
116
117 * jump.c (next_nondeleted_insn): Remove.
118 * rtl.h: Remove the prototype for next_nondeleted_insn.
119
b9ba01a1
RS
1202003-06-24 Roger Sayle <roger@eyesopen.com>
121
122 PR optimization/11311
123 * builtins.c (powi_cost): Fix typo. The number of multiplications
124 required is the number to reduce the argument, result, plus the
125 cost of calculating the residual, val [not n, the original value].
126
46512942
RS
1272003-06-24 Roger Sayle <roger@eyesopen.com>
128
129 * config/alpha/osf5.h (TARGET_C99_FUNCTIONS): Define.
130
bfa0c519
RH
1312003-06-24 Richard Henderson <rth@redhat.com>
132 (blame to: Loren James Rittle <ljrittle@acm.org>)
133
134 * real.h (ieee_extended_intel_96_round_53_format): New.
135 * real.c (ieee_extended_intel_96_round_53_format): New.
136 * config/i386/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Use it
137 for XFmode and TFmode.
138
61f33c67
KH
1392003-06-24 Kazu Hirata <kazu@cs.umass.edu>
140
141 * config/h8300/h8300.md (4 anonymous patterns): Give internal
142 names.
143 (movsi_h8300): Change the name to *movsi_h8300.
144 (movsi_h8300hs): Change the name to *movsi_h8300hs.
145 (movsf_h8300): Change the name to *movsf_h8300.
146 (movsf_h8300hs): Change the name to *movsf_h8300hs.
147
946137a0
JJ
1482003-06-24 Jakub Jelinek <jakub@redhat.com>
149
150 * builtins.c (expand_builtin_strcpy): Don't evaluate side-effects in
151 src twice.
152
6d1cb95f
R
1532003-06-24 J"orn Rennecke <joern.rennecke@superh.com>
154
155 Back out these patches:
156 2003-06-02 J"orn Rennecke <joern.rennecke@superh.com>
2896d056
ZW
157 * sh.h (OLD_ARG_MODE): New macro.
158 (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
159 (FUNCTION_ARG_1): Break out of:
160 (FUNCTION_ARG). Use OLD_ARG_MODE.
6d1cb95f 161 2003-06-06 J"orn Rennecke <joern.rennecke@superh.com>
2896d056
ZW
162 * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
163 of the generated register.
6d1cb95f
R
164
165 * sh.h (FUNCTION_ARG_SCmode_WART): Define.
166 (FUNCTION_ARG): Unless FUNCTION_ARG_SCmode_WART is defined and
167 an even number of floating point regs are in use, use the same
2896d056 168 sequence of argument passing registers for SCmode as would be
6d1cb95f
R
169 used for two SFmode values.
170 * sh.c (sh_va_arg): If FUNCTION_ARG_SCmode_WART is defined,
171 swap real / imaginary parts in incoming SCmode values passed
172 in registers.
173
e7891c4b
FH
1742003-06-24 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
175
2896d056
ZW
176 PR target/11260
177 * config/alpha/alpha.md (sqrtdf2): Fix operand substitution.
e7891c4b 178
e69529cd
JH
179Tue Jun 24 18:49:33 CEST 2003 Jan Hubicka <jh@suse.cz>
180
181 * Makefile.in (cgraph.o): Depend on output.h, not depend on
182 tree-inline.h
183 * cgraph.c: Do not include tree-inline.h; include output.h
184 (known_fns): Rename to ...
185 (known_decls): ... this one; update all uses.
186 (cgraph_varpool_hash): New static variable.
187 (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): New global
188 variables.
189 (cgraph_varpool_hash_node, eq_cgraph_varpool_node, cgraph_varpool_node,
190 cgraph_varpool_node_for_identifier, cgraph_varpool_mark_needed_node,
191 cgraph_varpool_finalize_decl, cgraph_varpool_assemble_pending_decls):
192 New functions.
193 * cgraph.h (cgraph_varpool_node): New structure.
194 (cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): Declare.
195 (cgraph_varpool_node, cgraph_varpool_node_for_identifier,
196 cgraph_varpool_finalize_decl, cgraph_varpool_mark_needed_node,
197 cgraph_varpool_asemble_pending_decls): Declare.
198 * cgraphunit.c (record_call_1): Notice variable references.
199 (cgraph_finalize_compilation_unit): Assemble pending variables.
200 * toplev.c (wrapup_global_declarations): Use varpool.
201 (compile_file): Assemble pending declarations.
202 (rest_of_decl_compilation): Use varpool in unit-at-a-time mode.
203 * varasm.c (assemble_name): Notice varpool references.
204
d35543c0
JH
205Tue Jun 24 13:52:11 CEST 2003 Jan Hubicka <jh@suse.cz>
206
207 * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): New macro.
208 * langhooks.h (lang_hooks_for_decls): Add prepare_assemble_variable.
209 * varasm.c (assemble_variable): Call prepare_assemble_variable.
210
2082e02f
RS
2112003-06-23 Roger Sayle <roger@eyesopen.com>
212
213 * builtins.c (expand_builtin): Use expand_builtin_pow to expand
214 calls for pow, powf, powl and their __builtin_ variants.
215 (expand_builtin_pow): If the second argument is a constant
216 integer and compiling with -ffast-math, use expand_powi to
217 generate RTL if powi_cost is less than POWI_MAX_MULTS.
218 (powi_cost): New function to return the number of multiplications
219 necessary to evaluate an Nth power, for integer constant N.
220 (expand_powi): New function to expand the RTL for evaluating
221 the Nth power of a floating point value, for integer constant N.
222
223 * doc/tm.texi (POWI_MAX_MULTS): Document new target macro.
224
1668aabc
JH
225Mon Jun 23 23:07:35 CEST 2003 Jan Hubicka <jh@suse.cz>
226
227 * cgraph.c (cgraph_nodes_queue): Declare.
228 (eq_node): Take identifier as p2.
229 (cgraph_node): Update htab_find_slot_with_hash call.
230 (cgraph_node_for_identifier): New.
231 (cgraph_mark_needed_node): Move here from cgraphunit.c.
232 * cgraph.h (cgraph_nodes_queue): Declare.
233 (cgraph_node_for_identifier): Declare.
234 * cgraphunit.c (cgraph_finalize_function): Collect entry points here
235 instead of in cgraph_finalize_compilation_unit; constructors and
236 destructors are entry points.
2896d056 237 (cgraph_finalize_compilation_unit): Reorganize debug outout;
1668aabc
JH
238 examine nested functions after lowerng; call collect_functions hook.
239 (cgraph_mark_local_functions): DECL_COMDAT functions are not local.
240 (cgraph_finalize_compilation_unit): Do not collect entry points.
241 * varasm.c: Include cgraph.h
242 (assemble_name): Mark referenced identifier as needed.
243
244 * cgraphunit.c (record_call_1): Use get_callee_fndecl.
245
89ce1c8f
JJ
2462003-06-23 Jakub Jelinek <jakub@redhat.com>
247
248 * config/i386/i386.c (x86_output_mi_thunk): Don't pass MEM to %P0,
249 just SYMBOL_REF.
250 * config/s390/s390.c (s390_output_mi_thunk): Avoid .plt in -m31
251 mode, as it requires pic register loaded.
252
253 * varasm.c (resolve_unique_section): Remove prototype. No longer
254 static.
255 * tree.h (resolve_unique_section): New prototype.
256
032cb602
AS
2572003-06-23 Andreas Schwab <schwab@suse.de>
258
259 PR debug/9905
260 * dwarf2out.c (loc_descriptor_from_tree): Handle MODIFY_EXPR by
261 recursing through first argument.
262
b20b352b
KH
2632003-06-23 Kazu Hirata <kazu@cs.umass.edu>
264
265 * ChangeLog.1: Fix a typo.
266 * cfgrtl.c: Fix comment typos.
267 * dwarf2out.c: Likewise.
268 * expmed.c: Likewise.
269 * genrecog.c: Likewise.
270 * jump.c: Likewise.
271 * rtlanal.c: Likewise.
272 * ssa-dce.c: Likewise.
273 * toplev.c: Likewise.
274
63519d23
KH
2752003-06-23 Kazu Hirata <kazu@cs.umass.edu>
276
277 * doc/extend.texi: Fix typos.
278 * doc/md.texi: Likewise.
279 * doc/tm.texi: Likewise.
280
71c0e7fc
KH
2812003-06-23 Kazu Hirata <kazu@cs.umass.edu>
282
283 * basic-block.h: Fix comment formatting.
284 * bt-load.c: Likewise.
285 * builtins.c: Likewise.
286 * c-common.c: Likewise.
287 * c-common.h: Likewise.
288 * c-format.c: Likewise.
289 * coverage.c: Likewise.
290 * cpplib.h: Likewise.
291 * cpppch.c: Likewise.
292 * dbxout.c: Likewise.
293 * diagnostic.c: Likewise.
294 * dwarf2out.c: Likewise.
295 * expr.c: Likewise.
296 * fold-const.c: Likewise.
297 * function.c: Likewise.
298 * gcc.c: Likewise.
299 * gcov-io.c: Likewise.
300 * gcov-io.h: Likewise.
301 * gcov.c: Likewise.
302 * profile.c: Likewise.
303 * real.h: Likewise.
304 * sched-deps.c: Likewise.
305
164131ce 3062003-06-23 Roger Sayle <roger@eyesopen.com>
2896d056 307 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
164131ce
GP
308
309 * doc/contrib.texi (Contributors): Add a note on testing and
310 remove duplicates from testers list.
311
a3c18e4f
NC
3122003-06-23 Nick Clifton <nickc@redhat.com>
313
314 * read-rtl.c (read_braced_string): Check for EOF. If
315 encountered issue an error message.
316
4319ef2a
KH
3172003-06-23 Kazu Hirata <kazu@cs.umass.edu>
318
319 * doc/invoke.texi: Document dump options, dT and dW.
320
8116809c
KH
3212003-06-23 Kazu Hirata <kazu@cs.umass.edu>
322
323 * genrecog.c (pred_table): Remove the entry for
324 mode_independent_operand.
325 * recog.c (next_insns_test_no_inequality): Remove.
326 (mode_independent_operand): Likewise.
327 * recog.h: Remove the prototype for mode_independent_operand.
328
802a9907
KH
3292003-06-22 Kazu Hirata <kazu@cs.umass.edu>
330
331 * config/h8300/h8300.c (output_simode_bld): Use rotxl.l to
332 store into bit 0.
333 * config/h8300/h8300.md (*extzv_1_r_h8300hs): Change cc of the
334 second alternative to set_znv.
335 (*extzv_1_r_inv_h8300hs): Likewise.
336
5408ac6c
HPN
3372003-06-23 Hans-Peter Nilsson <hp@bitrange.com>
338
339 * configure.in (in_tree_gas): Find out here whether GAS is ELF,
340 set in_tree_gas_is_elf accordingly.
341 (in_tree_ld): Find out whether LD emulation is ELF, set
342 in_tree_ld_is_elf accordingly.
343 (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128)
344 (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge)
345 (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag)
346 (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of
347 grepping gas/Makefile.
348 (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use
349 $in_tree_ld_is_elf instead of grepping ld/Makefile.
350 * configure: Regenerate.
351
8e0952f0
RS
3522003-06-22 Roger Sayle <roger@eyesopen.com>
353
354 * builtins.c (expand_builtin_mathfn_2): Use tree_cons to build
355 up the stabilized argument list, not build_tree_list.
356 (expand_builtin_strcpy): Construct new argument list manually
357 instead of using chainon to modify the original argument list.
358 (expand_builtin_stpcpy): Construct new argument list manually
359 instead of using copy_list and chainon.
360 (expand_builtin_sprintf): New function. Optimize calls to
361 sprintf when the format is "%s" or doesn't contain a '%'.
362 (expand_builtin): Expand BUILT_IN_SPRINTF using the new function
363 expand_builtin_sprintf.
364
4c4d143a
AS
3652003-06-22 Andreas Schwab <schwab@suse.de>
366
367 * function.c (set_insn_locators): Mark as unused.
368
d302c9d6
NB
3692003-06-22 Neil Booth <neil@daikokuya.co.uk>
370
371 * common.opt: Add -finline-limit.
372 * opts.c (common_handle_options): Handle it.
373 * opts.sh: Temporary kludge for -finline-limit.
374 * toplev.c (decode_f_option, independent_decode_option): Die.
375 (parse_options_and_default_flags): No independent_decode_option.
376
b0a31300
AJ
3772003-06-22 Andreas Jaeger <aj@suse.de>
378
379 * calls.c (emit_call_1): Readd lost ATTRIBUTE_UNUSED.
380
34695841
KH
3812003-06-22 Kazu Hirata <kazu@cs.umass.edu>
382
383 * doc/invoke.texi: Document dumps, .btl, .cfg, and .bypass.
384
c359831b
AS
3852003-06-22 Andreas Schwab <schwab@suse.de>
386
387 * doc/invoke.texi: Remove leading `-' from options in index.
388
cc0efd0b
KH
3892003-06-22 Kazu Hirata <kazu@cs.umass.edu>
390
391 * bt-load.c: Follow spelling conventions.
392
0e9cbd11
KH
3932003-06-22 Kazu Hirata <kazu@cs.umass.edu>
394
395 * expr.c (emit_move_insn_1): Fix a comment typo.
396
7fedea11
KH
3972003-06-22 Kazu Hirata <kazu@cs.umass.edu>
398
399 * doc/invoke.texi: Alphabetize dump options.
400
79250062
KH
4012003-06-22 Kazu Hirata <kazu@cs.umass.edu>
402
403 * doc/invoke.texi: Remove a duplicate -dk.
404
b55fe87e
KH
4052003-06-22 Kazu Hirata <kazu@cs.umass.edu>
406
407 * doc/invoke.texi: Update dump file names.
408
21299dbd
ZW
4092003-06-22 Zack Weinberg <zack@codesourcery.com>
410
411 * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII
412 and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC.
413
3b9cd5c8
KH
4142003-06-22 Kazu Hirata <kazu@cs.umass.edu>
415
416 * doc/rtl.texi: Fix the @findex for pre_modify.
417
d329e058
AJ
4182003-06-22 Andreas Jaeger <aj@suse.de>
419
420 * caller-save.c: Convert to ISO C90.
421 * calls.c: Likewise.
422 * cfg.c: Likewise.
423 * cfganal.c: Likewise.
424 * cfgbuild.c: Likewise.
425 * cfgcleanup.c: Likewise.
426 * cfghooks.c: Likewise.
427 * cfglayout.c: Likewise.
428 * cfglayout.h: Likewise.
429 * cfgloop.c: Likewise.
430 * cfgloop.h: Likewise.
431 * cfgloopanal.c: Likewise.
432 * cfgloopmainip.c: Likewise.
433 * cfgrtl.c: Likewise.
434
84edd42c
RE
4352003-06-22 Richard Earnshaw <rearnsha@arm.com>
436
437 * arm.h (BIGGEST_ALIGNMENT): Use TARGET_REALLY_IWMMXT for selecting
438 64-bit alignment.
439
24391720
RE
4402003-06-22 Richard Earnshaw <rearnsha@arm.com>
441
442 * arm.md (all call_value patterns): Remove register constraints on
443 value operand.
444
6ff3a151
NB
4452003-06-22 Neil Booth <neil@daikokuya.co.uk>
446
447 * common.opt: More -f switches.
448 * opts.c (common_handle_options): Handle them.
449 * toplev.c (time_report): Make extern.
450 (f_options): USe flag_dummy.
451 (decode_f_option): No need to use f_options now.
452 * toplev.h (flag_cprop_registers, flag_ssa, flag_ssa_ccp,
453 flag_ssa_dce, time_report, flag_new_regalloc): Make extern.
454
3346b668
AJ
4552003-06-22 Andreas Jaeger <aj@suse.de>
456
2f6e4e97
AJ
457 * c-lex.c: Convert to ISO C90.
458 * c-objc-common.c: Likewise.
459 * c-opts.c: Likewise.
460 * c-pch.c: Likewise.
461 * c-ppoutput.c: Likewise.
462 * c-pragma.h: Likewise.
463 * c-pretty-print.c: Likewise.
464 * c-pretty-print.h: Likewise.
465 * c-semantics.c: Likewise.
466 * c-tree.h: Likewise.
467 * c-typeck.c: Likewise.
468
3346b668
AJ
469 * c-lang.c: Convert to ISO C90.
470
9cd23ed2
NB
4712003-06-22 Neil Booth <neil@daikokuya.co.uk>
472
473 * opts.c (find_opt): Fix to always guarantee a find of a
474 switch with joined parameter.
475 * opts.h (struct cl_option): New member back_chain.
476 * opts.sh: Update to calculate and add back_chain member.
477
0e9e3a8b
GDR
4782003-06-22 Gabriel Dos Reis <gdr@integrable-solutions.net>
479
480 * diagnostic.h (output_host_wide_integer): Declare.
481 * diagnostic.c (output_long_long_decicaml): New function.
482 (output_host_wide_integer): Likewise.
483 (output_format): Use them. Handle "%ll" and "%w".
484
ad667abe
JT
4852003-06-21 Jason Thorpe <thorpej@wasabisystems.com>
486
487 * config.gcc (*-*-netbsd*): Add t-libgcc-pic to tmake_file.
488
7468e0b5
ZW
4892003-06-21 Zack Weinberg <zack@codesourcery.com>
490
491 * aclocal.m4 (gcc_AC_C_CHARSET): Delete.
492 * configure.in: Don't use gcc_AC_C_CHARSET.
493 * configure, config.in: Regenerate.
494 * config/i370/i370.c, config/i370/i370.h: Use
495 (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII)
496 instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad.
497
de32c0cb
NB
4982003-06-21 Neil Booth <neil@daikokuya.co.uk>
499
500 * Makefile.in: Update.
501 * common.opt: New switches.
502 * opts.c: Include diagnostic.h.
503 (common_handle_option): Handle new switches.
504 * toplev.c (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
505 flag_if_conversion2, flag_delete_null_pointer_checks,
506 flag_rerun_cse_after_loop): Make extern.
507 (flag_dummy): New.
508 (f_options): Update to use flag_dummy for moved options.
509 (decode_f_option): Some switches moved to opts.c.
510 * toplev.h (flag_loop_optimize, flag_crossjumping, flag_if_conversion,
511 flag_if_conversion2, flag_delete_null_pointer_checks,
512 flag_rerun_cse_after_loop, flag_keep_static_consts, flag_peel_loops,
513 flag_tracer, flag_thread_jumps, flag_unroll_loops,
514 flag_unroll_all_loops, flag_unswitch_loops): New.
515
70642ee3
JH
516Sat Jun 21 13:41:00 CEST 2003 Jan Hubicka <jh@suse.cz>
517
518 * i386.c (ix86_va_arg): Fix allocation of temporary slot.
519
02529902
KH
5202003-06-20 Kazu Hirata <kazu@cs.umass.edu>
521
522 * config/h8300/h8300-protos.h: Add a prototype for
523 same_cmp_preceding_p.
524 * config/h8300/h8300.c (same_cmp_preceding): New.
525 * config/h8300/h8300.md: Extend peephole2's that transform
526 compare:SI into shorter sequences so that they can deal with
527 signed comparisons.
528
164131ce 5292003-06-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
c18cd642
GP
530
531 * doc/contrib.texi (Contributors): Use Windows instead of Win32.
532
533 Update Andreas Jaeger's entry.
534
535 Merge the two entries of Kaveh Ghazi, David Edelsohn, and
536 Loren J. Rittle.
537
5e7537cf
NN
5382003-06-21 Nathanael Nerode <neroden@gcc.gnu.org>
539
540 * mkconfig.sh: Add multiple inclusion guards to generated headers.
541
e01cc6dc
NB
5422003-06-20 Neil Booth <neil@daikokuya.co.uk>
543
544 * c-decl.c (store_parm_decls): Make saved_warn_shadow boolean.
545 * common.opt: Add remaining -W options and -g.
546 * diagnostic.c (warnings_are_errors): Remove.
547 * flags.h: Make most warning flags boolean.
548 * opts.c (common_handle_option): Handle remaining -W options, and -g.
549 Move many warning flags from toplev.c, making them boolean.
550 * toplev.c: Remove many warning flags.
551 (decode_W_option): Remove.
552 (decode_g_option): Make extern. Error on unknown switch.
553 (lang_independent_W_options): Use warn_dummy.
554 (independent_decode_option): Just handle -f switches now.
555 * toplev.h (decode_g_option): New.
556
1a3f10e2 5572003-06-20 Aldy Hernandez <aldyh@redhat.com>
7468e0b5 558
1a3f10e2
AH
559 PR/11092
560 * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Adjust for
561 vectors.
562
e819ee44
KC
5632003-06-20 Kelley Cook <kelleycook@wideopenwest.com>
564
565 * opts.sh: Tweak awk script for portability.
566
ae4a7155
MM
5672003-06-20 Mark Mitchell <mark@codesourcery.com>
568
569 PR c++/10888
570 * tree-inline.c (expand_call_inline): Do not warn about failing to
571 inline functions declared in system headers.
572 * doc/invoke.texi (-Winline): Expand on documentation.
573
4739b00e
RH
5742003-06-20 Richard Henderson <rth@redhat.com>
575
576 * config/alpha/alpha.c (alpha_file_start): Disable
577 file_start_file_directive for ELF and not MDEBUG.
578
9218882a
R
5792003-06-20 J"orn Rennecke <joern.rennecke@superh.com>
580
581 * sh.h (ROUND_TYPE_ALIGN): Remove.
582
a3424f5c
RH
5832003-06-20 Richard Henderson <rth@redhat.com>
584
585 * hooks.c (hook_int_void_no_regs): Rename from
586 hook_reg_class_void_no_regs; change return type.
587 * hooks.h: Update.
588 * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Update.
589 * target.h (branch_target_register_class): Change return type to int.
590 Add documentation.
591 * config/sh/sh.c (sh_target_reg_class): Change return type.
592 * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
593
3a947669
AT
5942003-06-20 Andreas Tobler <toa@pop.agri.ch>
595
596 * c-format.c: Change _Bool to bool reverting part of the last
597 patch.
598
b5adda73
JDA
5992003-06-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
600
601 * som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
602 strip name encoding.
603
807ca3d4
RO
6042003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
605
606 * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
607 * configure: Regenerate.
608 Fixes PR driver/9362.
609
cc550dce
RK
6102003-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
611
612 * config/alpha/alpha.c (alpha_file_start): Fix typo.
613
9e21232c
RO
6142003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
615
616 * config/mips/mips.h (PUT_SDB_FUNCTION_END): Pass 0 as third arg
617 to ASM_OUTPUT_SOURCE_LINE.
618
27a3e494 6192003-06-20 Daniel Egger <degger@fhm.edu>
7468e0b5 620 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
27a3e494
DE
621
622 * doc/install.texi (Building): Correct and improve statement
623 about parallel builds.
624
a742c759
AJ
6252003-06-20 Andreas Jaeger <aj@suse.de>
626
627 * c-common.c: Change _Bool to bool reverting part of the last
628 patch.
629
1f9cc6db
NS
6302003-06-20 Nathan Sidwell <nathan@codesourcery.com>
631
632 * tree.h (expand_function_end): Remove all parameters.
633 * function.c (expand_function_end): Remove all parameters.
634 Use input_location. Never expand_end_bindings.
635 * c-decl.c (c_expand_body_1): Adjust expand_function_end call.
636 * coverage.c (create_coverage): Likewise.
637
4bc73018
NC
6382003-06-20 Nick Clifton <nickc@redhat.com>
639
640 * doc/extend.texi (ARM Built-in Functions): New node. Document
641 ARM builtin functions for iWMMXt support.
642
8f2afc21
EB
6432003-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
644
645 * doc/install.texi (--with-gnu-as): Mention SPARC/Solaris and
646 SPARC64/Solaris as platforms where --with-gnu-as makes a difference.
647 (--with-as): Add @anchor.
648 (--with-gnu-ld): Fix typo.
649 (--with-ld): Add @uref to --with-as.
650
a2c4f8e0
ZW
6512003-06-19 Zack Weinberg <zack@codesourcery.com>
652
653 * doc/tm.texi: Uniformly use @defmac for macros, rather than
654 @table items. Minor formatting and editorial corrections.
655
e2b9853b
NB
6562003-06-20 Neil Booth <neil@daikokuya.co.uk>
657
658 * line-map.c, line-map.h: Convert to ISO prototypes.
659
bc083e18
ZD
6602003-06-20 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
661
662 * gcse.c (store_killed_in_insn): Fix.
663
1bc7c5b6
ZW
6642003-06-19 Zack Weinberg <zack@codesourcery.com>
665
666 * target.h (asm_out.file_start, file_start_app_off,
667 file_start_file_directive): New hooks.
668 * target-def.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE,
669 TARGET_ASM_FILE_START_APP_OFF, TARGET_ASM_FILE_START):
670 New hook-definition macros.
671 * doc/tm.texi: Document new hooks; remove docs of ASM_FILE_START.
672 * varasm.c (default_file_start): New.
673 * output.h: Prototype it.
674 * toplev.c (init_asm_output): Use targetm.asm_out.file_start.
675 * system.h: Poison ASM_FILE_START.
676
677 * config/alpha/alpha.c (alpha_write_verstamp): Delete.
678 (alpha_file_start): New, define if !TARGET_ABI_UNICOSMK.
679 (unicosmk_asm_file_start): Rename unicosmk_file_start,
680 make static, take no arguments.
681 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END,
682 TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set as appropriate.
683 * config/alpha/unicosmk.h: Don't define ASM_FILE_START nor
684 TARGET_ASM_FILE_END. Remove reference to ASM_FILE_START in
685 comment.
686 * config/arc/arc.c (arc_asm_file_start): Rename
687 arc_file_start, take no arguments, make static.
688 (TARGET_ASM_FILE_START): Set it.
689 * config/arm/arm.c (aof_file_start): New static function.
690 (TARGET_ASM_FILE_START): Set it, when appropriate.
691 * config/arm/coff.h, config/arm/elf.h:
692 Set TARGET_ASM_FILE_START_APP_OFF to true.
693 * config/avr/avr.c (asm_file_start): Rename avr_file_start,
694 take no arguments, make static.
695 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
696 Set them.
697 * config/c4x/c4x.c (c4x_file_start): New static function.
698 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE):
699 Set them.
700 * config/cris/cris.c (cris_file_start): New static function.
701 (TARGET_ASM_FILE_START): Set it.
702 * config/dsp16xx/dsp16xx.c (coff_dsp16xx_file_start): Rename
703 dsp16xx_file_start, make static.
704 (luxworks_dsp16xx_file_start): Delete.
705 (TARGET_ASM_FILE_START): Set it.
706 * config/h8300/h8300.c (asm_file_start): Rename
707 h8300_file_start, make static, take no arguments.
708 (TARGET_ASM_FILE_START): Set it.
709 * config/i370/i370.c (i370_file_start): New static function.
710 (TARGET_ASM_FILE_START): Set it.
711 * config/i386/i386.c (x86_file_start): New static function.
712 (TARGET_ASM_FILE_START): Set it.
713 * config/i386/i386.h (X86_FILE_START_VERSION_DIRECTIVE,
714 X86_FILE_START_FLTUSED): New macros, default to false.
715 * config/i386/i386-interix.h: Override X86_FILE_START_FLTUSED to 1.
716 * config/i386/sysv4.h, config/i386/sco5.h: Override
717 X86_FILE_START_VERSION_DIRECTIVE to true.
718 * config/ia64/ia64.c (ia64_file_start): New static function.
719 (TARGET_ASM_FILE_START): Set it.
720 (emit_safe_across_calls): Take no arguments.
721 * config/ia64/ia64.md: Update to match.
722 * config/m32r/m32r.c (m32r_asm_file_start): Rename
723 m32r_file_start, make static, take no arguments.
724 (TARGET_ASM_FILE_START): Set it.
725 * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Rename
726 m68hc11_file_start, make static, take no arguments.
727 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
728 (print_options): Delete.
729 * config/m68k/m68k.c (m68k_hp320_file_start): New static function.
730 (TARGET_ASM_FILE_START_APP_OFF): Set.
731 * config/m68k/hp320.h: Set TARGET_ASM_FILE_START to
732 m68k_hp320_file_start.
733 * config/mips/mips.c (iris6_asm_file_start, mips_asm_file_start):
734 Make static, take no arguments.
735 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
736 * config/mmix/mmix.c (mmix_asm_file_start): Rename
737 mmix_file_start, make static, take no arguments.
738 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
739 * config/mn10300/mn10300.c (asm_file_start): Rename
740 mn10300_file_start, make static, take no arguments.
741 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
742 * config/ns32k/ns32k.c (TARGET_ASM_FILE_START_APP_OFF): Set.
743 * config/pa/pa.c (pa_file_start_level, pa_file_start_space,
744 pa_file_start_file, pa_file_start_mcount, pa_elf_file_start,
745 pa_som_file_start, pa_linux_file_start, pa_hpux64_gas_file_start,
746 pa_hpux64_hpas_file_start): New static functions.
747 * config/pa/elf.h: Set TARGET_ASM_FILE_START to pa_elf_file_start.
748 * config/pa/pa-linux.h: Set TARGET_ASM_FILE_START to
749 pa_linux_file_start.
750 * config/pa/pa64-hpux.h: Set TARGET_ASM_FILE_START to
751 pa_hpux64_gas_file_start or pa_hpux64_hpas_file_start, as
752 appropriate.
753 * config/pa/som.h: Set TARGET_ASM_FILE_START to pa_som_file_start.
754 * config/rs6000/rs6000.c: Include xcoffout.h when TARGET_XCOFF.
755 (rs6000_file_start): Make static, take no arguments. Reset
756 default_cpu under certain conditions.
757 (rs6000_xcoff_file_start): New function.
758 * config/rs6000/rs6000.h (TARGET_ASM_FILE_START): Set.
759 * config/rs6000/xcoff.h (TARGET_ASM_FILE_START,
760 TARGET_ASM_FILE_START_FILE_DIRECTIVE): Override.
761 * config/sh/sh.c (output_file_start): Rename
762 sh_file_start, make static, take no arguments. Merge in old
763 code from sh/elf.h's ASM_FILE_START, conditioned on TARGET_ELF.
764 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
765 * config/sh/sh.c (TARGET_ELF): Define to 0.
766 * config/sh/elf.h (TARGET_ELF): Redefine to 1.
767 * config/v850/v850.c (asm_file_start): Delete.
768 (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Set.
769 * config/vax/vax.c (vax_file_start): New static function.
770 (TARGET_ASM_FILE_START, TARGET_ASM_FILE_START_APP_OFF): Set.
771
772 * config/darwin.h: Override ASM_FILE_START_FILE_DIRECTIVE to false.
773 * config/elfos.h, config/svr3.h, config/arm/elf.h, config/arm/pe.h
774 * config/i386/att.h, config/i386/gas.h, config/i386/linux.h
775 * config/i386/sysv4.h, config/i386/sco5.h, config/i960/i960-coff.h
776 * config/m68k/coff.h, config/m68k/hp320.h, config/mcore/mcore-pe.h
777 * config/vax/vaxv.h: Set ASM_FILE_START_FILE_DIRECTIVE to true.
778
779 * config/darwin.h, config/elfos.h, config/alpha/elf.h
780 * config/alpha/openbsd.h, config/alpha/osf.h, config/alpha/vms.h
781 * config/arc/arc.h, config/arm/aof.h, config/arm/aout.h
782 * config/arm/coff.h, config/arm/elf.h, config/arm/pe.h
783 * config/avr/avr.h, config/c4x/c4x.h, config/cris/cris.h
784 * config/dsp16xx/dsp16xx.h, config/h8300/elf.h, config/h8300/h8300.h
785 * config/i370/i370.h, config/i386/att.h, config/i386/gas.h
786 * config/i386/i386-interix.h, config/i386/linux.h, config/i386/sysv4.h
787 * config/i386/sco5.h, config/i960/i960-coff.h, config/i960/i960.h
788 * config/ia64/ia64.h, config/ia64/sysv4.h, config/m32r/m32r.h
789 * config/m68hc11/m68hc11.h, config/m68k/coff.h, config/m68k/m68k.h
790 * config/mcore/mcore-pe.h, config/mips/iris6.h, config/mips/mips.h
791 * config/mmix/mmix.h, config/mn10300/mn10300.h, config/ns32k/ns32k.h
792 * config/pa/elf.h, config/pa/pa-linux.h, config/pa/pa64-hpux.h
793 * config/pa/som.h, config/pdp11/pdp11.h, config/rs6000/linux64.h
794 * config/rs6000/lynx.h, config/rs6000/xcoff.h, config/sh/elf.h
795 * config/sh/sh.h, config/sparc/sparc.h, config/v850/v850.h
796 * config/vax/vax.h, config/vax/vaxv.h: Don't (re)define ASM_FILE_START.
797
798 * config/alpha/alpha-protos.h, config/arc/arc-protos.h
799 * config/avr/avr-protos.h, config/dsp16xx/dsp16xx-protos.h
800 * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
801 * config/m32r/m32r-protos.h, config/m68hc11/m68hc11-protos.h
802 * config/mips/mips-protos.h, config/mmix/mmix-protos.h
803 * config/mn10300/mn10300-protos.h, config/rs6000/rs6000-protos.h
804 * config/sh/sh-protos.h, config/v850/v850-protos.h: Update.
805
806 * xcoffout.h, config/rs6000/aix.h, config/rs6000/xcoff.h:
807 Remove reference to ASM_FILE_START in comment.
808 * config/arm/aof.h, config/arm/aout.h, config/arm/freebsd.h
809 * config/arm/linux-gas.h, config/arm/netbsd-elf.h
810 * config/arm/netbsd.h: Delete definition of ARM_OS_NAME.
811
e7f13528
GP
8122003-06-19 Graeme Peterson <gp@qnx.com>
813
814 * gcc.c (target_sysroot_suffix, target_sysroot_hdrs_suffix,
815 SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC, sysroot_suffix_spec,
816 sysroot_hdrs_suffix_spec): New.
817 (static_specs): Initialize new variables.
818 (add_sysroot_suffix_prefix, do_spec_1, main): Use new variables.
819 * doc/tm.texi (SYSROOT_SUFFIX_SPEC, SYSROOT_HEADERS_SUFFIX_SPEC):
820 New macros.
821
35b1a6fa
AJ
8222003-06-19 Andreas Jaeger <aj@suse.de>
823
d3ea6201 824 * c-aux-info.c: Convert to ISO C90.
35b1a6fa
AJ
825 * c-pragma.c: Likewise.
826 * c-common.c: Likewise.
827 * c-common.h: Likewise.
828 * c-convert.c: Likewise.
829 * c-cppbuiltin.c: Likewise.
830 * c-dump.c: Likewise.
831 * c-decl.c: Likewise
832 * c-format.c: Likewise.
833 * c-incpath.c: Likewise.
834 * c-incpath.h: Likewise.
835
6dab8d4c
RS
8362003-06-19 Roger Sayle <roger@eyesopen.com>
837
838 * builtins.c (expand_errno_check): Assume that flag_errno_math
839 and HONOR_NANS have been tested before calling here. Only try
840 to set errno ourselves if the decl can't throw an exception.
841 (expand_builtin_mathfn): Move the code to stabilize the arg
842 after the main switch, so that that its only done when needed.
843 BUILT_IN_SQRT{,F,L} doesn't set errno if its arg is nonnegative.
844 Don't modify the original expr when stabilizing the argument.
845 (expand_builtin_mathfn_2): Likewise, move the code to stabilize
846 the args after the main switch, and don't modify the orginal exp.
847
5f6c070d 8482003-06-19 Aldy Hernandez <aldyh@redhat.com>
35b1a6fa 849
1bc7c5b6
ZW
850 * expr.c (const_vector_from_tree): Initialize remaining elements
851 to 0.
5f6c070d 852
e7a9b208
AH
8532003-06-19 Aldy Hernandez <aldyh@redhat.com>
854
855 * config/rs6000/spe.md ("spe_evfscfsi"): Change operand types.
856 Change "fix" to "float".
857
1681bed6
AJ
8582003-06-19 Andreas Jaeger <aj@suse.de>
859
e295f317
AJ
860 * c-tree.h: Remove declaration of poplevel.
861
862 * tree.h: Remove declaration of approx_sqrt.
863
864 * c-lex.c: Remove redundant declaration of asm_out_file.
865
866 * flags.h: Remove declaration of warn_unknown_pragma and
867 main_input_filename.
868
869 * rtl.h: Remove functions from fold-const.c since they're already
870 declared in tree.h.
871
872 * regs.h: Remove redundant declaration of reg_names.
873
551dc360
AJ
874 * bt-load.c (migrate_btr_defs): Correct printf arguments.
875
1681bed6
AJ
876 * protoize.c: Fix breakage from last patch.
877
676fceeb
R
8782003-06-19 J"orn Rennecke <joern.rennecke@superh.com>
879
880 * hooks.h (hook_reg_class_void_no_regs): Only declare if tm.h
881 has been included.
882
85009435
JM
8832003-06-18 James A Morrison <ja2morri@student.math.uwaterloo.ca>
884
885 * config/sparc/sparc.c: Update copyright year.
886
ddcc8263
DE
8872003-06-19 David Edelsohn <edelsohn@gnu.org>
888
889 * config/rs6000/rs6000.c (init_cumulative_args): Limit CALL_LIBCALL
890 to ABI_V4.
891
f37ceab9
JM
8922003-06-18 Joseph S. Myers <jsm@polyomino.org.uk>
893
894 PR bootstrap/4068
895 * config/i386/liunx.h: Don't include sys/ucontext.h for glibc 2.0.
896
6e014ef3
KH
8972003-06-19 Kazu Hirata <kazu@cs.umass.edu>
898
899 * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
900 to the end of the file. Remove unnecessary prototypes.
901
5a9384dd
HPN
9022003-06-19 Hans-Peter Nilsson <hp@axis.com>
903
904 * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
905 calls to insn_default_latency and result_ready_cost. Initialize
906 def_latency to 1.
907
61193e7b
RH
9082003-06-18 Richard Henderson <rth@redhat.com>
909
1bc7c5b6
ZW
910 * config/ia64/unwind-ia64.c (_Unwind_GetCFA): New.
911 (_Unwind_FindEnclosingFunction): Implement.
61193e7b 912
a2f8629a
KH
9132003-06-18 Kazu Hirata <kazu@cs.umass.edu>
914
915 * toplev.c (rest_of_handle_sched): Hide the entire function if
916 INSN_SCHEDULING is not defined.
917 (rest_of_compilation): Call rest_of_handle_sched() only when
918 INSN_SCHEDULING is defined.
919
fe3ad572 9202003-06-18 Stephen Clarke <stephen.clarke@superh.com>
1bc7c5b6 921 J"orn Rennecke <joern.rennecke@superh.com>
fe3ad572
SC
922
923 * bt-load.c: New file.
924 * Makefile.in (OBJS): Include bt-load.o
925 (bt-load.o): Add dependencies.
926 * flags.h (flag_branch_target_load_optimize): Declare.
927 (flag_branch_target_load_optimize2): Likewise.
928 * hooks.c (hook_reg_class_void_no_regs): New function.
929 (hook_bool_bool_false): Likewise.
930 * hooks.h (hook_reg_class_void_no_regs, hook_bool_bool_false): Declare.
931 * rtl.h (branch_target_load_optimize): Declare.
932 * target-def.h (TARGET_BRANCH_TARGET_REGISTER_CLASS): Define.
933 (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
934 (TARGET_INITIALIZER): Include these.
935 * target.h (struct gcc_target): Add branch_target_register_class
936 and branch_target_register_callee_saved members.
937 * toplev.c (enum dump_file_index): Add DFI_branch_target_load
938 (dump_file) Add "tars" entry.
939 (flag_branch_target_load_optimize): New variable.
940 (flag_branch_target_load_optimize2): Likewise.
941 (lang_independent_options): Add entries for new options.
942 (rest_of_compilation): Call branch_target_load_optimize.
943 * doc/tm.texi (TARGET_BRANCH_TARGET_REGISTER_CLASS): Document.
944 (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
945 * doc/invoke.texi: Document -fbranch-target-load-optimize and
946 -fbranch-target-load-optimize2.
947 * rtl.h (epilogue_completed): Declare.
948 * recog.c (epilogue_completed): New variable.
949 * toplev.c (rest_of_compilation): Set it.
950 * flow.c (mark_regs_live_at_end): Use it.
951 * config/ia64/ia64.c (ia64_output_mi_thunk): Set it.
952 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
953 * config/sh/sh.c (sh_output_mi_thunk): Likewise.
954 * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
955
956 * sh.c (shmedia_space_reserved_for_target_registers): New variable.
957 (sh_target_reg_class): New function.
958 (sh_optimize_target_register_callee_saved): Likwise.
959 (shmedia_target_regs_stack_space): Likewise.
960 (shmedia_reserve_space_for_target_registers_p): Likewise.
961 (shmedia_target_regs_stack_adjust): Likewise.
962 (TARGET_BRANCH_TARGET_REGISTER_CLASS): Override.
963 (TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED): Likewise.
964 (calc_live_regs): If flag_branch_target_load_optimize2 and
965 TARGET_SAVE_ALL_TARGET_REGS is enabled, and we have space reserved
966 for target registers, make sure that we save all target registers.
967 (sh_expand_prologue, sh_expand_epilogue): Take target register
968 optimizations into account. Collapse stack adjustments if that
969 is beneficial.
970 (initial_elimination_offset): Reserve space for target registers
971 if necessary.
972 * sh.h (SAVE_ALL_TR_BIT, TARGET_SAVE_ALL_TARGET_REGS): Define.
973 (OPTIMIZATION_OPTIONS): Enable flag_branch_target_load_optimize.
974
5a9335ef
NC
9752003-06-18 Nick Clifton <nickc@redhat.com>
976
977 * config.gcc: Add an extra_header for ARM targets.
1bc7c5b6 978 Support configuring with --with-cpu=iwmmxt.
5a9335ef 979 * doc/invoke.texi: Document new value for -mcpu= ARM switch.
1bc7c5b6 980 * config/arm/aof.h (REGISTER_NAMES): Add iwmmxt register
35b1a6fa 981 names. Fix formatting.
1bc7c5b6 982 * config/arm/aout.h (REGISTER_NAMES): Add iwmmxt register
5a9335ef 983 names.
1bc7c5b6 984 * config/arm/arm-protos.h (arm_emit_vector_const): New
5a9335ef
NC
985 prototype.
986 (arm_output_load_gr): New prototype.
987 * config/arm/arm.c (extra_reg_names1): Delete.
1bc7c5b6 988 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN, FL_IWMMXT,
5a9335ef
NC
989 * arch_is_iwmmxt): Define.
990 (all_cores, all_architecture): Add entry for iwmmxt.
991 (arm_override_options): Add support for iwmmxt.
992 (use_return_insn, arm_function_arg, arm_legitimate_index_p,
993 arm_print_value, arm_rtx_costs_1, output_move_double,
994 arm_compute_save_reg_mask, arm_output_epilogue,
995 arm_get_frame_size, arm_expand_prologue, arm_print_operand,
996 arm_assemble_integer, arm_hard_regno_ok, arm_regno_class):
997 Likewise.
998 (arm_init_cumulative_args): Count iwmmxt registers.
999 (arm_function_ok_for_sibcall): Return false of sibcall_blocked
1000 has been set.
1001 (struct minipool_node): Add fix_size field.
1002 (add_minipool_forward_ref): Add support for 8-byte aligning of
1003 the pool.
1004 (add_minipool_backward_ref, add_minipool_offsets,
1005 dump_minipool, push_minipool_fix): Likewise.
1006 (struct builtin_description): New struct.
1bc7c5b6
ZW
1007 (builtin_description): New array of iwmmxt builtin functions.
1008 (arm_init_iwmmxt_builtins): New function.
1009 (arm_init_builtins): New function.
1010 (safe_vector_operand): New function.
1011 (arm_expand_binop_builtin): New function.
1012 (arm_expand_unop_builtin): New function.
1013 (arm_expand_builtin): New function.
1014 (arm_emit_vector_const): New function.
1015 (arm_output_load_gr): New function.
1016 * config/arm/arm.h (TARGET_CPU_iwmmxt, TARGET_IWMMXT,
5a9335ef
NC
1017 TARGET_REALLY_IWMMXT, arm_arch_iwmmxt, IWMMXT_ALIGNMENT,
1018 TYPE_NEEDS_IWMMXT_ALIGNMENT, ADJUST_FIELD_ALIGN,
1019 DATA_ALIGNMENT, LOCAL_ALIGNMENT, VECTOR_MODE_SUPPORTED_P): Define.
1bc7c5b6
ZW
1020 (BIGGEST_ALIGNMENT): Set to 64 if ATPCS support is enabled.
1021 (CPP_CPU_ARCH_SPEC): Add entries for iwmmxt.
1022 (FIXED_REGISTERS, CALL_USED_REGISTERS, REG_ALLOC_ORDER,
5a9335ef
NC
1023 reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS,
1024 REG_CLASS_FOR_LETTER): Add iwmmxt registers.
1bc7c5b6 1025 (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Disable iwmmxt
5a9335ef 1026 registers unless the iwmmxt target is selected.
1bc7c5b6 1027 (FIRST_IWMMXT_GR_REGNUM, LAST_IWMMXT_GR_REGNUM,
5a9335ef
NC
1028 FIRST_IWMMXT_REGNUM, LAST_IWMMXT_REGNUM, IS_IWMMXT_REGNUM,
1029 IS_IWMMXT_GR_REGNUM): Define.
1bc7c5b6
ZW
1030 (FIRST_PSEUDO_REGISTER): Bump to 63.
1031 (struct machine_function): Add sibcall_blocked field.
1032 (Struct CUMULATIVE_ARGS): Add iwmmxt_nregs, named_count and
5a9335ef 1033 nargs fields.
1bc7c5b6
ZW
1034 (enum arm_builtins): New enum list.
1035 * config/arm/arm.md (UNSPEC_WSHUFH, UNSPEC_WACC,
5a9335ef
NC
1036 UNSPEC_TMOVMSK, UNSPEC_WSAD, UNSPEC_WSADZ, UNSPEC_WMACS,
1037 UNSPEC_WMACU, UNSPEC_WMACSZ, UNSPEC_WMACUZ, UNSPEC_CLRDI,
1038 UNSPEC_WMADDS, UNSPEC_WMADDU): New unspecs.
1039 (VUNSPEC_TMRC, VUNSPEC_TMCR, VUNSPEC_ALIGN8, VUNSPEC_WCMP_EQ,
1040 VUNSPEC_WCMP_GTU, VUNSPEC_WCMP_GT): New vunspecs.
1bc7c5b6
ZW
1041 (movv2si, movv4hi, movv8qi): New expands for vector moves.
1042 Include iwmmxt.md.
5a9335ef
NC
1043 * config/arm/t-xscale-elf (MULTILIB_OPITONS): Add iwmmxt
1044 multilib.
1bc7c5b6
ZW
1045 (MULTILIB_DIRNAMES, MULTILIB_REDUNDANT_DIRS): Likewise.
1046 * config/arm/mmintrin.h: New ARM specific header file.
1047 * config/arm/iwmmx.md: New iWMMXt specific machine patterns.
5a9335ef 1048
fe651b1d
R
10492003-06-18 J"orn Rennecke <joern.rennecke@superh.com>
1050
1051 * toplev.c (Remaining -d letters summary): Update.
1052
b9599e46
FS
10532003-06-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1054
1055 * config/rs6000/rs6000.c (init_cumulative_args): Add and handle LIBCALL
1056 argument.
1057 (function_arg): Handle CALL_LIBCALL flag.
1058 * config/rs6000/rs6000-protos.h (init_cumulative_args): Update
1059 prototype.
1060 * config/rs6000/rs6000.h (CALL_LIBCALL): New macro.
1061 (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
1062 (INIT_CUMULATIVE_ARGS): Add LIBCALL argument.
1063 (INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
1064
903caebf
NB
10652003-06-18 Neil Booth <neil@daikokuya.co.uk>
1066
1067 * Makefile.in: Update.
1068 * common.opt: New options.
1069 * opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
1070 set_Wunused): New.
1071 (common_handle_option): Handle new options.
1072 * toplev.c (set_target_switch): Export.
1073 (set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
1074 (decode_W_option): -Wunused and -Wextra handled in opts.c now.
1075 (independent_decode_option): More options handled in opts.c now.
1076 Change prototype.
1077 * toplev.h (set_target_switch): New.
1078
f3f735eb
RA
10792003-06-17 Robert Abeles <rabeles@archaelogic.com>
1080
1081 PR debug/4252
1082 * c-opts.c (c_common_handle_option): Pass -fdump argument suffix
1083 to dump_switch_p().
1084 * tree-dump.c (dump_switch_p): Remove redundant 'dump-' prefix
1085 from static strings in dump_files.
1086
b0c231bb
KG
10872003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1088
1089 * system.h (ANSI_PROTOTYPES, PTR_CONST, LONG_DOUBLE, VPARAMS,
1090 VA_OPEN, VA_FIXEDARG, VA_CLOSE, VA_START): undef and poison these
1091 libiberty macros.
1092
9da32fe1
JM
10932003-06-17 Jason Merrill <jason@redhat.com>
1094
1095 PR c++/10929
1096 * tree-inline.c (expand_call_inline): Don't warn about failing to
1097 inline a function which was made inline by -finline-functions.
1098
cb713a8d
KH
10992003-06-17 Kazu Hirata <kazu@cs.umass.edu>
1100
1101 * config/h8300/h8300-protos.h: Update to ISO C.
1102 * config/h8300/h8300.c: Likewise.
1103 * config/h8300/h8300.h: Likewise.
1104 * config/h8300/h8300.md: Likewise.
1105
eaf9f3b2
NN
11062003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
1107
1108 * configure.in: Replace BUILD_CC references with CC_FOR_BUILD.
1109 * configure: Regenerate.
1110 * Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD.
1111
688d8b84
RM
11122003-06-17 Ranjit Mathew <rmathew@hotmail.com>
1113
1114 * install.texi (Testing): Add information on how to run Java
1115 runtime tests separately.
1116
1f11df32
RO
11172003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1118
94b2a23b
RO
1119 * config/mips/mips.md (trap): Use break 0 when !TARGET_GAS.
1120
1f11df32
RO
1121 * config/mips/iris6-o32.h (MIPS_ISA_DEFAULT): Remove.
1122 (MIPS_CPU_STRING_DEFAULT): Redefine to mips2.
1123
11344b85
CF
11242003-06-17 Christopher Faylor <cgf@redhat.com>
1125
1126 * doc/install.texi: Add msvc rebuild caveat.
1127
c8f0269d
KH
11282003-06-17 Kazu Hirata <kazu@cs.umass.edu>
1129
1130 * config/sh/coff.h: Replace Hitachi with Renesas.
1131 * config/sh/elf.h: Likewise.
1132 * config/sh/embed-elf.h: Likewise.
1133 * config/sh/lib1funcs.asm: Likewise.
1134 * config/sh/sh-protos.h: Likewise.
1135 * config/sh/sh.c: Likewise.
1136 * config/sh/sh.h: Likewise.
1137 * config/sh/sh.md: Likewise.
1138
67f63f32
KH
11392003-06-17 Kazu Hirata <kazu@cs.umass.edu>
1140
1141 * ChangeLog.3: Fix comment typos.
1142 * ChangeLog.6: Likewise.
1143 * config/d30v/d30v.c: Likewise.
1144 * config/h8300/h8300.md: Likewise.
1145 * config/m32r/m32r.md: Likewise.
1146 * config/mips/mips.c: Likewise.
1147 * config/mips/mips.md: Likewise.
1148 * config/ns32k/NOTES: Likewise.
1149
0d5c606b 11502003-06-17 Ranjit Mathew <rmathew@hotmail.com>
1bc7c5b6 1151 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
35b1a6fa 1152
0d5c606b
RM
1153 * doc/sourcebuild.texi (libgcj Tests): Simplify instructions on how
1154 to run Java runtime tests separately.
1155
d32fad64
KH
11562003-06-17 Kazu Hirata <kazu@cs.umass.edu>
1157
1158 * config/h8300/h8300-protos.h: Update a comment.
1159
1bf93c14
R
11602003-06-17 J"orn Rennecke <joern.rennecke@superh.com>
1161
1162 * sh.h (ROUND_TYPE_ALIGN, LOCAL_ALIGNMENT): Complex modes
1163 are aligned like integral modes.
1164 (SH5_WOULD_BE_PARTIAL_NREGS): Also test for CDImode and DCmode.
1165
1166 * sh.h (EXTRA_CONSTRAINT_Csy): Allow PIC_DIRECT_ADDR_P.
1167 (LEGITIMATE_PIC_OPERAND_P): Allow LABEL_REF.
1168 * sh.md (*pt): Remove.
1169
1170 * sh.h (REG_ALLOC_ORDER): Avoid squandering call-saved registers.
1171
1172 * sh.md (return_media_rte): New pattern.
1173 (return_media): Use it.
1174
71c6b994
KH
11752003-06-17 Kazu Hirata <kazu@cs.umass.edu>
1176
1177 * doc/contrib.texi: Replace Hitachi with Renesas.
1178 * doc/install.texi: Likewise.
1179 * doc/invoke.texi: Likewise.
1180
fdc88a4d
R
11812003-06-17 J"orn Rennecke <joern.rennecke@superh.com>
1182
1183 * sh.h (CONST_OK_FOR_J16): Fix HOST_BITS_PER_WIDE_INT >= 64
1184 behaviour.
1185
7cf6c927
FS
11862003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1187
8207b189
FS
1188 * doc/tm.texi (MD_FALLBACK_FRAME_STATE_FOR): Mention MAKE_THROW_FRAME.
1189
7cf6c927
FS
1190 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Partly revert
1191 2003-01-23 patch. Corrected to handle kernels with changed ucontext.
1192
1193 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Error on invalid
1194 -msdata=eabi usages.
1195
1196 * gcc/config/rs6000/sysv4.h (USE_LIBC_1): Delete all uses.
1197
a54928c9
KG
11982003-06-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1199
1200 * alloc-pool.c: Don't check HAVE_LONG_DOUBLE.
1201 * fixinc/gnu-regex.c: Don't define `volatile'.
1202 * ggc-page.c: Don't check HAVE_LONG_DOUBLE.
1203 * ggc-simple.c: Likewise.
1204 * system.h: Don't define `volatile'.
1205
1206 * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete.
1207 * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't
1208 call these macros.
1209 * config.in, configure: Regenerated.
1210
8419b675
RK
12112003-06-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1212
1213 * config/ia64/ia64.c (ia64_expand_builtin, case IA64_BUILTIN_BSP):
1214 Handle POINTERS_EXTEND_UNSIGNED.
1215
c1e5104d
RO
12162003-06-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1217
1218 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
1219 !TARGET_IRIX6]: Define as NULL.
1220
97587cfa
EB
12212003-06-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1222
1223 * config/sparc/sparc.c (sparc_va_arg): Don't align 16-byte+ structures.
1224
a8d0467e
EB
12252003-06-17 Eric Botcazou <ebotcazou@libertysurf.fr>
1226
1227 * dbxout.c (dbxout_source_line_counter): New global variable.
1228 Mark it with GTY(()).
1229 (dbxout_source_line): Increment dbxout_source_line_counter
1230 and pass it to ASM_OUTPUT_SOURCE_LINE.
1231 * sdbout.c (sdbout_source_line_counter): New global variable.
1232 Mark it with GTY(()).
1233 (unnamed_struct_number): Mark it with GTY(()).
1234 (sdbout_source_line): Increment sdbout_source_line_counter
1235 and pass it to ASM_OUTPUT_SOURCE_LINE.
1236 * xcoffout.c (ASM_OUTPUT_SOURCE_LINE): Add third parameter
1237 (xcoffout_source_line): Pass 0 as third argument to
1238 ASM_OUTPUT_SOURCE_LINE.
1239 (xcoffout_begin_prologue): Likewise.
1240 * config/dbxout.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1241 Use it instead of 'sym_lineno' but without incrementing it.
1242 * config/dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1243 * config/lynx.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1244 * config/ptx4.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1245 * config/alpha/alpha.c (alpha_start_function): Pass 0 as third
1246 argument to ASM_OUTPUT_SOURCE_LINE.
1247 * config/alpha/alpha.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1248 * config/arm/aout.h: Remove useless comment.
1249 * config/avr/avr.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1250 * config/i960/i960.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1251 * config/m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1252 Use it instead of 'sym_lineno' but without incrementing it.
1253 * config/m68k/hp320.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1254 * config/mcore/mcore-pe.h (ASM_OUTPUT_SOURCE_LINE): Add third
1255 parameter. Use it instead of 'sym_lineno' but without incrementing it.
1256 * config/mips/mips.c (mips_output_function_prologue): Pass 0 as third
1257 argument to ASM_OUTPUT_SOURCE_LINE.
1258 * config/mips/mips.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1259 * config/mmix/mmix.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1260 * config/pa/som.h (ASM_OUTPUT_SOURCE_LINE): Add third parameter.
1261 Use it instead of 'sym_lineno' but without incrementing it.
1262 * config/rs6000/linux64.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1263 * config/sh/elf.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1264 * config/sparc/aout.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1265 * config/sparc/pbd.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
1266 * doc/tm.texi (ASM_OUTPUT_SOURCE_LINE): Document third parameter.
1267
730cf822
RS
12682003-06-17 Richard Sandiford <rsandifo@redhat.com>
1269
1270 * config/mips/mips-protos.h (mips_expand_block_move): Declare.
1271 (expand_block_move, output_block_move): Remove.
1272 * config/mips/mips.h (enum block_move_type): Remove.
1273 * config/mips/mips.c (block_move_call, output_block_move): Remove.
1274 (mips_block_move_straight, mips_adjust_block_mem): New function.
1275 (mips_block_move_loop): Renamed and reworked from block_move_loop.
1276 (mips_expand_block_move): Likewise expand_block_move. Return false
1277 to fall back on the target-independent code.
1278 * config/mips/mips.md (movstrsi): Use mips_expand_block_move.
1279 (movstrsi_internal*): Remove.
1280
6cf87ca4
ZW
12812003-06-16 Zack Weinberg <zack@codesourcery.com>
1282
1283 * cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
1284 * cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c
1285 * cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to
1286 ISO C: new-style function declarations, no need for PARAMS,
1287 no special punctuation on indirect function calls, use string
1288 constant concatenation where convenient.
1289
5b0e2409
AJ
12902003-06-17 Andreas Jaeger <aj@suse.de>
1291
1292 * rtl.h: Remove declarations from coverage.h.
1293 * toplev.c: Include coverage.h.
1294 * Makefile.in (toplev.o): Depend on coverage.h.
1295
1296 * toplev.h: Remove extra declaration of print_time.
1297
1298 * gengtype.c (close_output_files): Remove duplicated declaration.
1299
77094862
NN
13002003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
1301
cc0651d2
NN
1302 * config/sparc/sysv4.h: Remove target-independent comment;
1303 replace "GNU CC" with "GCC".
b06c827c 1304 * config/vxworks.h: Replace "GNU compiler" with "GCC".
de0a398e
NN
1305 * config/sparc/aout.h, config/sparc/biarch64.h, config/sparc/elf.h,
1306 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
1307 config/sparc/lite.h, config/sparc/litecoff.h, config/sparc/liteelf.h,
6cf87ca4 1308 config/sparc/netbsd-elf.h, config/sparc/openbsd.h,
de0a398e
NN
1309 config/sparc/rtemself.h, config/sparc/sol2-64.h,
1310 config/sparc/sol2-bi.h, config/sparc/sol2-gas-bi.h,
1311 config/sparc/sol2-gld-bi.h, config/sparc/sol2-gld.h,
6cf87ca4 1312 config/sparc/sol2.h, config/sparc/sp64-aout.h,
de0a398e
NN
1313 config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h,
1314 config/sparc/sparc-protos.h, config/sparc/sysv4-only.h: Replace
1315 "GNU compiler", "GNU CC" with "GCC".
4d8af13f
NN
1316 * config/sparc/cypress.md, config/sparc/hypersparc.md,
1317 config/sparc/sparc-modes.def, config/sparc/sparc.c,
1318 config/sparc/sparc.md, config/sparc/sparclet.md,
1319 config/sparc/supersparc.md, config/sparc/ultra1_2.md,
1320 config/sparc/ultra3.md: Replace "GNU CC", "GNU Compiler", and
1321 "GNU C Compiler" with "GCC".
77094862
NN
1322 * config/ip2k/ip2k.h: Replace "GNU CC" and "GNU compiler" with "GCC".
1323
0a84d874
AH
13242003-06-16 Aldy Hernandez <aldyh@redhat.com>
1325
1326 * simplify-rtx.c (simplify_subreg): Do not over-extend vector
1327 constants.
1328
1329 * testsuite/gcc.c-torture/execute/simd-4.c: New.
1330
9cd598aa
NN
13312003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
1332
c24851de
NN
1333 * config/ip2k/ip2k.h: Remove target-independent comments.
1334
9cd598aa
NN
1335 * config.gcc: Explicitly mention elfos.h in ip2k entry.
1336 * config/ip2k/ip2k.h: Don't #include it here.
1337
4ff58371
KG
13382003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1339
fad205ff
KG
1340 * bitmap.c, builtins.c, c-incpath.c, cgraph.c, config/frv/frv.c,
1341 config/mips/mips.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c,
1342 dwarf2out.c, dwarfout.c, except.c, expr.c, expr.h, fold-const.c,
1343 function.c, gcc.c, genoutput.c, gensupport.c, global.c,
1344 haifa-sched.c, hashtable.c, ifcvt.c, integrate.c, local-alloc.c,
1345 loop.c, mips-tdump.c, mips-tfile.c, mkdeps.c, protoize.c,
1346 read-rtl.c, recog.h, reload1.c, sbitmap.c, ssa-dce.c,
1347 stringpool.c, tlink.c, tree.c, varasm.c, varray.c: Don't use
1348 the PTR macro.
1349
4ff58371
KG
1350 * gengtype.c: Don't use UNION_INIT_ZERO.
1351 * system.h (UNION_INIT_ZERO): Delete.
1352
799ab2c7
RH
13532003-06-16 Richard Henderson <rth@redhat.com>
1354
1355 * simplify-rtx.c (simplify_subreg): Use GET_MODE_SIZE instead of
1356 GET_MODE_UNIT_SIZE when simplifying constant vectors.
1357
33b0d00f
AJ
13582003-06-16 Andreas Jaeger <aj@suse.de>
1359
1360 * timevar.c (get_run_time): Remove function provided also by
1361 libiberty.
1362 * timevar.h: Remove get_run_time declaration.
1363
3391875b
KH
13642003-06-16 Kazu Hirata <kazu@cs.umass.edu>
1365
1366 * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): Remove
1367 unreachable code.
1368
9a238586
KG
13692003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1370
1371 * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c,
1372 cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't
1373 use macros from "symcat.h", instead rely on ISO C.
6cf87ca4 1374
9a238586
KG
1375 * system.h: Don't include "symcat.h".
1376 * configure.in (AC_C_STRINGIZE): Delete.
1377 * config.in, configure: Regenerate.
1378
7f42b6d7
RK
13792003-06-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1380
f0c4fac7
RK
1381 * Makefile.in (install-mkheaders): Use INSTALL_SCRIPT for scripts.
1382
7f42b6d7
RK
1383 * tree.h (STMT_CHECK): New macro.
1384 Also upper-case argument names on all checking macros and
1385 fix some whitespace problems; assume CODE argument does not
1386 have side-effects.
1387
89d09f83
KG
13882003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1389
2a0621b9
KG
1390 * scan.h: Convert to ISO C.
1391 * system.h: Likewise.
1392
89d09f83
KG
1393 * c-format.c (dynamic_format_types): New pointer for dynamic data.
1394 (find_length_info_modifier_index, init_dynamic_asm_fprintf_info):
1395 New functions split out of...
1396 (handle_format_attribute): ...here.
1397
735cb76e
R
13982003-06-16 J"orn Rennecke <joern.rennecke@superh.com>
1399
1400 * sh.h (REG_CLASS_FROM_LETTER): Change to:
1401 (REG_CLASS_FROM_CONSTRAINT).
1402 (CONST_OK_FOR_I): Rename to:
1403 (CONST_OK_FOR_I08). Changed all users.
1404 (CONST_OK_FOR_J): Rename to:
1405 (CONST_OK_FOR_I16). Changed all users.
1406 (CONST_OK_FOR_K): Rename to:
1407 (CONST_OK_FOR_P27). Changed all users.
1408 (CONST_OK_FOR_L): Rename to:
1409 (CONST_OK_FOR_K08). Changed all users.
1410 (CONST_OK_FOR_O): Rename to:
1411 (CONST_OK_FOR_I06). Changed all users.
1412 (CONST_OK_FOR_P): Rename to:
1413 (CONST_OK_FOR_I10). Changed all users.
1414 (CONSTRAINT_LEN, CONST_OK_FOR_I, CONST_OK_FOR_J16): Define.
1415 (CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_P): Likewise.
1416 (EXTRA_CONSTRAINT_A, EXTRA_CONSTRAINT_Bsc): Likewise.
1417 (EXTRA_CONSTRAINT_B, PIC_OFFSET_P, PIC_DIRECT_ADDR_P): Likewise.
1418 (EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C): Likewise.
1419 (EXTRA_MEMORY_CONSTRAINT,(EXTRA_CONSTRAINT_Sr0): Likewise.
1420 (CONST_OK_FOR_LETTER_P): Replace with
1421 (CONST_OK_FOR_CONSTRAINT_P).
1422 (EXTRA_CONSTRAINT_S): Rename to:
1423 (EXTRA_CONSTRAINT_C16). Changed all users.
1424 (MOVI_SHORI_BASE_OPERAND_P): Don't allow direct addresses.
1425 (EXTRA_CONSTRAINT_T): Rename to:
1426 (EXTRA_CONSTRAINT_Csy). Changed all users.
1427 (EXTRA_CONSTRAINT_Z): Remove.
1428 (EXTRA_CONSTRAINT): Replace with:
1429 (EXTRA_CONSTRAINT_STR).
1430 (EXTRA_CONSTRAINT_U): Rename to:
1431 (EXTRA_CONSTRAINT_Z). Changed all users.
1432 * sh.c (and_operand): Use CONST_OK_FOR_J16.
1433 * sh.md (cmpeqsi_t-1, cmpeqsi_t, adddi3_media): Use new constraints.
1434 (addsi3_media, addsi3_compact, andsi3_compact, anddi3): Likewise.
1435 (iorsi3, iordi3, xorsi3, xordi3, ashlsi3_std, ashlhi3_k): Likewise.
1436 (lshrsi3_k, movsi_i, movsi_ie, movsi_i_lowpart, movsi_media): Likewise.
1437 (movsi_media_nofpu, movqi_media, movhi_i, movhi_media): Likewise.
1438 (*movdi_i, movdi_media, movdi_media_nofpu, shori_media): Likewise.
1439 (movdf_media, movdf_media_nofpu, movv2sf_i, movv4sf_i): Likewise.
1440 (movsf_media, movsf_media_nofpu, movsi_y, beq_media): Likewise.
1441 (beq_media_i, bne_media, pt, ptb, movv8qi_i, movv2hi_i): Likewise.
1442 (movv4hi_i, movv2si_i, negcmpeqv8qi, negcmpeqv2si): Likewise.
1443 (negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si, negcmpgtv4hi): Likewise.
1444 (mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub, mextr_rl, mextr_lr): Likewise.
1445 (mextr1, mextr2, mextr3, mextr4, mextr5, mextr6, mextr7): Likewise.
1446 (mperm_w, mperm_w_little, mperm_w_big, msad_ubq_i): Likewise.
1447 (mshards_q, mshfhi_b, mshflo_b, mshf4_b, mshf0_b, mshfhi_l): Likewise.
1448 (mshflo_l, mshf4_l, mshf0_l, mshfhi_w, mshflo_w, mshf4_w): Likewise.
1449 (mshf0_w, mshflo_w_x, mshfhi_l_di, mshfhi_l_di_rev): Likewise.
1450 (mshflo_l_di_rev, mshflo_l_di_x, concat_v2sf): Likewise.
1451 (mshflo_l_di_x_rev, subv2si3, subv4hi3, sssubv2si3): Likewise.
1452 (sssubv4hi3): Likewise.
1453 (movsf_i): Change I[08]/r to G/r.
1454 (movsf_ie): Change f/{G,H}/c/X to f/{G,H}/c/Bsc.
1455
1456 * sh.c (sh_output_mi_thunk): Use CONST_OK_FOR_ADD.
1457
bce75972
VM
14582003-06-16 Vladimir Makarov <vmakarov@redhat.com>
1459
1460 * config/i386/i386.c (ix86_memory_move_cost): Fix typo.
1461
ebf0d392
AJ
14622003-06-16 Andreas Jaeger <aj@suse.de>
1463
9286d5a8
AJ
1464 * basic-block.h: Remove duplicate prototype of
1465 note_prediction_to_br_prob.
1466
ebf0d392
AJ
1467 * tree.h: Remove duplicate prototype of strip_float_extensions.
1468
0eff02cd
KG
14692003-06-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1470
1471 * config/c4x/c4x.c: Don't include "c-tree.h".
1472 * config/pa/pa.c: Likewise.
1473 * langhooks.c: Likewise.
1474 * tree.h (poplevel): Declare.
1475
08dca707
KH
14762003-06-16 Kazu Hirata <kazu@cs.umass.edu>
1477
1478 * config/h8300/h8300.c (const_costs): Move this to ...
1479 (h8300_rtx_costs): ... here.
1480
82d397c7
RS
14812003-06-16 Roger Sayle <roger@eyesopen.com>
1482
1483 * optabs.h (enum optab_index): Add new OTI_tan and OTI_atan.
1484 (tan_optab, atan_optab): Define corresponding macros.
1485 * optabs.c (init_optabs): Initialize tan_optab and atan_optab.
1486 * genopinit.c (optabs): Implement tan_optab and atan_optab
1487 using tan?f2 and atan?f2 patterns.
1488 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_TAN{,F,L}
1489 using tan_optab, and BUILT_IN_ATAN{,F,L} using atan_optab.
1490 Change the default value of errno_set to false.
1491 (expand_builtin): Expand BUILT_IN_TAN{,F,L} and BUILT_IN_ATAN{,F,L}
1492 using expand_builtin_mathfn.
1493
1494 * config/i386/i386.md (atansf2, atandf2, atanxf2, atantf2): New
1495 expander patterns implemented using existing atan2?f3 patterns.
1496
c6547c92
RS
14972003-06-16 Roger Sayle <roger@eyesopen.com>
1498
1499 * expr.c (expand_expr <PLUS_EXPR>): If operand_equal_p considers
1500 both operands of the addition equal, reuse the expanded RTL.
1501 (expand_expr <MULT_EXPR>): Likewise for multiplication.
1502
21c43754
RS
15032003-06-16 Roger Sayle <roger@eyesopen.com>
1504 Jeff Law <law@redhat.com>
1505
1506 * fold-const.c (operand_equal_p): Consider two calls to "const"
1507 functions with identical non-volatile arguments to be equal.
1508 Consider the FUNCTION_DECL for the "__builtin_foo" form of a
1509 built-in function to be equal to the "foo" form.
1510
93ffe49c
NN
15112003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
1512
1513 * config/rs6000/sysv4le.h: Remove target-independent comment.
1514 Replace "GNU compiler" with "GCC" in comment.
1515
baaa1222
AJ
15162003-06-16 Andreas Jaeger <aj@suse.de>
1517
1a9962c2 1518 * tracer.c: Remove duplicate declaration.
baaa1222
AJ
1519
1520 * toplev.c: Remove extra declaration of decode_d_option.
1521
1522 * ssa.c: Remove duplicate declaration.
1523
1524 * sreal.c: Remove extra declaration of dump_sreal.
1525
1526 * reload1.c: Remove duplicate declarations.
1527
1528 * integrate.c: Remove extra declaration of
1529 set_decl_abstract_flags.
1530
1531 * flow.c: Remove extra declaration of dump_flow_info.
1532
1533 * alias.c: Remove extra declaration of get_addr.
1534
5e6908ea
NN
15352003-06-16 Nathanael Nerode <neroden@gcc.gnu.org>
1536
814499a4
NN
1537 * config/rtems.h, config/sol2.h, config/svr4.h, config/usegas.h,
1538 config/vxworks.h: GNU CC -> GCC.
1539
5e6908ea
NN
1540 * convert.c, dwarf2out.c, dwarfout.c, emit-rtl.c, function.c,
1541 lists.c, print-rtl.c, print-tree.c, read-rtl.c, rtl-error.c,
1542 stmt.c, toplev.c, integrate.h, loop.h, machmode.h, rtl.h,
1543 ssa.h, tree.def: Replace overly specific references to "GNU C"
1544 and "GNU C Compiler" with references to "GCC".
1545
3ff5ef1b
R
15462003-06-16 J"orn Rennecke <joern.rennecke@superh.com>
1547
266a2732
R
1548 * sh.c (prepare_move_operand): Check if operand 0 is an invalid
1549 memory reference. Fix test that checks if operand 1 is using r0.
1550 * sh.md (movhi_i): Don't allow st.w r0,@(rX,rY) .
1551
1552 * defaults.h (REG_CLASS_FROM_CONSTRAINT): Only define if not already
1553 defined.
3ff5ef1b 1554
fd3acbb3
NS
15552003-06-15 Nathan Sidwell <nathan@codesourcery.com>
1556
1557 * function.h (struct emit_status): Remove x_last_linenum,
1558 x_last_filename. Add x_last_location.
1559 * rtl.h: #include "input.h".
1560 (NOTE_DATA): New.
1561 * cfglayout.c (duplicate_insn_chain): Use emit_line_note for line
1562 number notes.
1563 * emit-rtl.c (last_linenum, last_filename): Remove.
1564 (last_location): New.
1565 (emit_line_note_after): LINE must always be >= 0.
1566 (emit_line_note): Likewise. Check not duplicate here...
1567 (emit_note): ... rather than here.
1568 (emit_line_note_force, force_next_line_note, init_emit): Adjust.
1569 * integrate.c (expand_inline_function): Use emit_line_note for
1570 line number notes.
1571 (copy_insn_list): Likewise.
1572 * unroll.c (copy_loop_body): Likewise.
1573 * Makefile.in (RTL_H): Add input.h.
1574
695a94b3
RS
15752003-06-16 Richard Sandiford <rsandifo@redhat.com>
1576
1577 * optabs.c (emit_libcall_block): Don't hoist insns past a label.
1578
a5c24926
RH
15792003-06-16 Richard Henderson <rth@redhat.com>
1580
1581 * config/alpha/alpha-protos.h, config/alpha/elf.h,
1582 config/alpha/osf.h, config/alpha/unicosmk.h, config/alpha/vms.h,
1583 config/alpha/vms-cc.c, config/alpha/vms-ld.c: Update to ISO C.
1584 * config/alpha/alpha.c: Likewise. Move targetm init to end of file.
1585 Remove unneeded static function decls.
1586
7b086b11
NB
15872003-06-16 Neil Booth <neil@daikokuya.co.uk>
1588
1589 * c-opts.c (c_common_handle_option): s/on/value/.
1590 (OPT_fabi_version_, OPT_ftabstop_, OPT_ftemplate_depth_): Use value
1591 directly rather than converting the argument.
1592 * c.opt: Update docs. Use UInteger where appropriate.
1593 * common.opt: Use UInteger where appropriate.
1594 * opts.c (integral_argument): New.
1595 (handle_argument): Handle integral arguments, and optional
1596 joined arguments.
1597 (common_handle_option): Update.
1598 * opts.h (CL_MISSING_OK, CL_UINTEGER): New.
1599 * opts.sh: Handle JoinedOrMissing and UInteger flags.
1600
89aa997a
NB
16012003-06-16 Neil Booth <neil@daikokuya.co.uk>
1602
1603 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Remove
1604 unnecessary extern declaration.
1605
612aeba5
NN
16062003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
1607
9286d5a8
AJ
1608 * config/gofast.h, config/interix.h, config/interix3.h,
1609 config/libgloss.h, config/linux-aout.h, config/linux.h,
2a71dcad
NN
1610 config/lynx-ng.h, config/lynx.h: GNU CC -> GCC.
1611 * config/kaos.h: "GNU compiler" -> GCC.
1612 * config/linux-aout.h, config/lynx.h: Clarify comment describing file.
1613
0743f00d
NN
1614 * config/ip2k/crt0.S, config/ip2k/ip2k-protos.h,
1615 config/ip2k/ip2k.c, config/ip2k/ip2k.md, config/ip2k/libgcc.S:
1616 GNU CC -> GCC.
1617
9286d5a8 1618 * config/svr3.h: Remove #if 0 code, misleading comments.
612aeba5
NN
1619 GNU CC -> GCC.
1620
64c1652c
ZW
16212003-06-15 Zack Weinberg <zack@codesourcery.com>
1622
1623 * vmsdbgout.c (vmsdbgout_finish): Rename parameter to
1624 main_input_filename to avoid conflict with input_filename macro.
1625
8f95bd52
NB
16262003-06-15 Neil Booth <neil@daikokuya.co.uk>
1627
1628 * config/mips/mips.h (asm_file_name, g_switch_set,
1629 g_switch_value): Remove.
1630 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
1631 unnecessary extern declarations.
1632
a352c71f
NB
16332003-06-15 Neil Booth <neil@daikokuya.co.uk>
1634
1635 * config/frv/frv.h: Remove declaration of g_switch_value.
1636 * config/m32r/m32r.h: Remove declaration of g_switch_value.
1637 * config/m68hc11/m68hc11.c: Remove declaration of asm_file_name.
1638
5641d622
NB
16392003-06-15 Neil Booth <neil@daikokuya.co.uk>
1640
1641 * opts.sh: Quote '+' in regex.
1642
117dca74
AP
16432003-06-15 Andrew Pinski <pinskia@physics.uc.edu>
1644
1645 * config/rs6000/t-rs6000: Add dependence of cfglayout.h to rs6000.o.
1646 * config/rs6000/rs6000.c: Include cfglayout.h.
1647 * config/alpha/alpha.c: Likewise.
1648 * config/ia64/ia64.c: Likewise.
1649 * config/sparc/sparc.c: Likewise.
1650 * config/sh/sh.c: Likewise.
1651
3ec76475
NB
16522003-06-15 Neil Booth <neil@daikokuya.co.uk>
1653
1654 * opts.sh: Quote '+' in regex.
1655
be43ab4e
NB
16562003-06-15 Neil Booth <neil@daikokuya.co.uk>
1657
1658 * c-opts.c (lang_flags): Update for new spelling of flags.
1659 (write_langs): Similarly.
1660 * c.opt: Specify languages.
1661 * opts.h: Remove languages.
1662 * opts.sh: Recognise front-end defined languages.
fd3acbb3 1663 * doc/sourcebuild.texi: Update.
be43ab4e 1664
4682ae04
AJ
16652003-06-15 Andreas Jaeger <aj@suse.de>
1666
1667 * alloc-pool.c: Convert to ISO C90 prototypes.
1668 * alloc-pool.h: Likewise.
1669 * alias.c: Likewise.
1670 * attribs.c: Likewise.
1671 * bb-reorder.c: Likewise.
1672 * bitmap.h: Likewise.
1673 * bitmap.c: Likewise.
1674 * builtins.c: Likewise.
1675
1676 * tree.h: Convert prototypes of attribs.c to ISO C90.
1677 * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
1678 * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
1679 * expr.h: Convert prototypes of builtins.c to ISO C90.
1680
9d5b9dae
RS
16812003-06-15 Roger Sayle <roger@eyesopen.com>
1682
1683 * config/i386/i386.md (expsf2, expdf2, expxf2): New patterns to
1684 implement exp, expf and expl built-ins as inline x87 intrinsics.
1685 (UNSPEC_FSCALE, UNSPEC_FRNDINT, UNSPEC_F2XM1): New unspecs to
1686 represent x87's fscale, frndint and f2xm1 insns respectively.
1687 (*fscale_sfxf3, *fscale_dfxf3, *fscale_xf3): New insn patterns
1688 to encode x87's "fscale" instruction followed by a pop.
1689 (*frndintxf2): New insn pattern for "frndint".
1690 (*f2xm1xf2): New insn pattern for "f2xm1".
1691
1692 * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FRNDINT and
1693 UNSPEC_F2XM1 like UNSPEC_{SIN,COS} and handle UNSPEC_FSCALE like
1694 UNSPEC_FPATAN.
1695
84fb2019
RK
16962003-06-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1697
cbdb4ba2
RK
1698 * gencheck.c (main): Avoid generating duplicate macros.
1699
84fb2019
RK
1700 * Makefile.in (stagefeedback-start): Use $(SUBDIRS) instead of
1701 knowing names of language subdirectories.
1702
d185d268
NB
17032003-06-15 Neil Booth <neil@daikokuya.co.uk>
1704
1705 * c-pch.c (asm_file_name): Remove.
1706 * common.opt: Add more switches.
1707 * flags.h (g_switch_set): Boolify.
1708 * opts.c (g_switch_value, g_switch_set, exit_after_options,
1709 version_flag): Move from toplev.c.
1710 (common_handle_option): Handle more switches from toplev.c.
1711 * toplev.c (display_help, display_target_options, decode_d_option,
1712 print_version): Make non-static, remove prototypes.
1713 (aux_base_name, asm_file_name, aux_info_file_name): Constify.
1714 (version_flag, g_switch_value, g_switch_set, exit_after_options):
1715 Remove.
1716 (independent_decode_option): Move some handlers to opts.c.
1717 * toplev.h (aux_info_file_name, aux_base_name, asm_file_name,
1718 exit_after_options, version_flag, display_help, display_target_options,
1719 print_version, decode_d_option): New.
1720
72ac76be
KH
17212003-06-15 Kazu Hirata <kazu@cs.umass.edu>
1722
1723 * config/alpha/alpha.md: Follow spelling conventions.
1724 * config/arm/arm.c: Likewise.
1725 * config/arm/arm.h: Likewise.
1726 * config/arm/arm.md: Likewise.
1727 * config/arm/crtn.asm: Likewise.
1728 * config/m32r/m32r.c: Likewise.
1729 * config/m32r/m32r.md: Likewise.
1730 * config/rs6000/rs6000.c: Likewise.
1731
a2855205
RH
17322003-06-15 Richard Henderson <rth@redhat.com>
1733
1734 * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Call
1735 insn_locators_initialize.
1736 * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise.
1737 * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise.
1738 * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise.
1739 * config/sh/sh.c (sh_output_mi_thunk): Do it later.
1740
51fbbb30
KH
17412003-06-15 Kazu Hirata <kazu@cs.umass.edu>
1742
1743 * builtins.c (expand_builtin_expect_jump): Remove redundant
1744 tests that are also in any_condjump_p().
1745
e87b9d8b
KG
17462003-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1747
1748 * libgcc2.c: Delete sysV68 L_trampoline section.
1749 * config/m68k/mot3300-crt0.S: Delete file.
1750 * config/m68k/mot3300Mcrt0.S: Likewise.
1751
ad9b8af6
NN
17522003-06-15 Nathanael Nerode <neroden@gcc.gnu.org>
1753
1754 * config/aoutos.h: Remove.
1755 * config.gcc: Remove reference to aoutos.h.
1756 * config/m68k/m68k-aout.h: Remove reference to aoutos.h.
1757
0b4be7de
KH
17582003-06-14 Kazu Hirata <kazu@cs.umass.edu>
1759
1760 * doc/install.texi: Follow spelling conventions.
1761 * doc/tm.texi: Likewise.
1762 * config/fp-bit.c: Likewise.
1763 * config/arm/arm.c: Likewise.
1764 * config/frv/frv.c: Likewise.
1765 * config/ns32k/NOTES: Likewise.
1766 * config/ns32k/STATUS: Likewise.
1767
06f31100
RS
17682003-06-14 Roger Sayle <roger@eyesopen.com>
1769 Zack Weinberg <zack@codesourcery.com>
1770
1771 * rtl.h (STORE_FLAG_VALUE): Remove default definition from here.
1772 * defaults.h (STORE_FLAG_VALUE): Move default definition to here.
1773 * doc/tm.texi (STORE_FLAG_VALUE): Document the default value.
1774
1775 * config/alpha/alpha.h (STORE_FLAG_VALUE): Remove definition.
1776 * config/arc/arc.h (STORE_FLAG_VALUE): Likewise.
1777 * config/arm/arm.h (STORE_FLAG_VALUE): Likewise.
1778 * config/cris/cris.h (STORE_FLAG_VALUE): Likewise.
1779 * config/i370/i370.h (STORE_FLAG_VALUE): Likewise.
1780 * config/i386/i386.h (STORE_FLAG_VALUE): Likewise.
1781 * config/i960/i960.h (STORE_FLAG_VALUE): Likewise.
1782 * config/ia64/ia64.h (STORE_FLAG_VALUE): Likewise.
1783 * config/ip2k/ip2k.h (STORE_FLAG_VALUE): Likewise.
1784 * config/m32r/m32r.h (STORE_FLAG_VALUE): Likewise.
1785 * config/mcore/mcore.h (STORE_FLAG_VALUE): Likewise.
1786 * config/mips/mips.h (STORE_FLAG_VALUE): Likewise.
1787 * config/mmix/mmix.h (STORE_FLAG_VALUE): Likewise.
1788 * config/ns32k/ns32k.h (STORE_FLAG_VALUE): Likewise.
1789 * config/pa/pa.h (STORE_FLAG_VALUE): Likewise.
1790 * config/pdp11/pdp11.h (STORE_FLAG_VALUE): Likewise.
1791 * config/sh/sh.h (STORE_FLAG_VALUE): Likewise.
1792 * config/sparc/sparc.h (STORE_FLAG_VALUE): Likewise.
1793 * config/v850/v850.h (STORE_FLAG_VALUE): Likewise.
1794 * config/xtensa/xtensa.h (STORE_FLAG_VALUE): Likewise.
1795
ee6b0296
NS
17962003-06-14 Nathan Sidwell <nathan@codesourcery.com>
1797
b7a70588
NS
1798 * opts.sh (POSIXLY_CORRECT): Unset it.
1799
ee6b0296
NS
1800 * tree.h (init_function_start): Remove filename and line paramters.
1801 * function.c (init_function_start): Remove filename and line
1802 parameters. Use DECL_SOURCE_LOCATION.
1803 * c-decl.c (store_parm_decls): Adjust init_function_start call.
1804 (c_expand_body_1): Likewise.
1805 * coverage.c (create_coverage): Likewise.
1806 * objc/objc-act.c (build_tmp_function_decl): Set line number to
1807 zero.
1808 (hack_method_prototype): Adjust init_function_start call.
1809
2fbe6bc2
RE
18102003-06-14 Richard Earnshaw <rearnsha@arm.com>
1811
1812 PR target/3724
1813 * arm/linux-elf.h (PROFILE_HOOK): Define.
1814
75d2580c
RE
18152003-06-14 Richard Earnshaw <rearnsha@arm.com>
1816
1817 PR target/11183
1818 * arm.h (CANNOT_CHANGE_MODE_CLASS): Define.
1819
3708da2a
RS
18202003-06-14 Roger Sayle <roger@eyesopen.com>
1821
1822 * opts.sh: Work around a mysterious feature in cygwin's gawk
1823 where specifying the input files explicitly has a different
1824 behavior to piping them via stdin.
1825
9756074d
NB
18262003-06-14 Neil Booth <neil@daikokuya.co.uk>
1827
1828 * doc/sourcebuild.texi: Update.
1829
a4a37b30
RE
18302003-06-14 Richard Earnshaw <rearnsha@arm.com>
1831
1832 PR target/11183
1833 * arm.c (output_move_double): Pass SImode to adjust_address.
1834
d7b42618
NB
18352003-06-14 Neil Booth <neil@daikokuya.co.uk>
1836
1837 * Makefile.in: Update to use common.opt and lang_opt_files.
1838 (c-options.c, c-options.h): Remove.
1839 (options.c, options.h): Add.
1840 * c-opts.c: Include options.h not c-options.h.
1841 * common.opt: New file.
1842 * configure, configure.in: Add lang_opt_files.
1843 * opts.c: Include flags.h and diagnostic.h.
1844 (common_handle_option): New.
1845 (handle_option): Update to recognize common options and all
1846 language-dependent options.
1847 * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New.
1848 (struct cl_option): Make flags of type int.
1849 * opts.h: Flag option with front ends to which it applies.
1850 Handle duplicate options.
1851 * toplev.c (filename): Remove.
1852 (independent_decode_option): Don't handle filenames and -quiet.
1853 (process_options, do_compile): Update.
1854
34e8290f
NC
18552003-06-14 Nick Clifton <nickc@redhat.com>
1856
1857 * doc/install.texi (Specific): Add description of different
1858 ARM supported file format targets.
1859
281ac604
JH
1860Sat Jun 14 11:12:04 CEST 2003 Jan Hubicka <jh@suse.cz>
1861
1862 * reorg.c (emit_delay_sequence, dbr_schedule): Clear insn locators
1863 inside delay slots.
1864
333991cf
MK
18652003-06-13 Matt Kraai <kraai@alumni.cmu.edu>
1866
1867 * unwind-c.c: Define NO_SIZE_OF_ENCODED_VALUE.
1868 * unwind-pe.h (size_of_encoded_value): Do not define if
1869 NO_SIZE_OF_ENCODED_VALUE is defined.
1870
9ad58e09
RS
18712003-06-13 Roger Sayle <roger@eyesopen.com>
1872
1873 * expr.c (expand_expr <COMPLEX_CST>): Handle the case of
1874 expanding a complex constant into a CONCAT target.
1875
ed70c245
ZW
18762003-06-13 Zack Weinberg <zack@codesourcery.com>
1877
1878 * config/svr3.h (ASM_FILE_START): Don't use ASM_FILE_START_1.
1879 (ASM_FILE_START_1): Delete.
1880 * config/i386/att.h, config/i386/sco5.h,
1881 config/i386/sysv3.h
1882 (ASM_FILE_START_1): Delete.
1883
1f2cd130
KC
18842003-06-13 Kelley Cook <kelleycook@wideopenwest.com>
1885
1886 * config/i386/bsd.h: Remove ASM_FILE_START.
1887 * config/i386/djgpp.h: Likewise.
ed70c245 1888 * config/i386/gas.h (ASM_FILE_START): Output .file before .intel_syntax.
1f2cd130
KC
1889
1890 * config/i386/djgpp.h: Move included unix.h, bsd.h, gas.h to ...
1891 * config.gcc (i[34567]86-pc-msdosdjgpp): ... here.
1892
880efc46
VM
18932003-06-13 Vladimir Makarov <vmakarov@redhat.com>
1894
1895 PR bootstrap/10835
1896 * haifa-sched.c (max_lookahead_tries,
ed70c245
ZW
1897 cached_first_cycle_multipass_dfa_lookahead,
1898 cached_issue_rate): New variables.
880efc46
VM
1899 (max_issue): Check the number of tries.
1900 (choose_ready): Calculate max_lookahead_tries.
1901 (sched_init): Check cached_issue_rate.
1902
792bb204
RH
19032003-06-13 Richard Henderson <rth@redhat.com>
1904
1905 * cfgbuild.c (make_edges): Set ABNORMAL with SIBCALL.
1906 * cfgrtl.c (purge_dead_edges): Expect it too.
1907
54c2fc72 19082003-06-13 Jim Wilson <wilson@tuliptree.org>
ed70c245 1909 Eric Botcazou <ebotcazou@libertysurf.fr>
54c2fc72
JW
1910
1911 PR bootstrap/10983
1912 * combine.c (make_extraction): Use gen_lowpart_for_combine
1913 when extracting from a REG and not in the destination of a SET.
1914
7e7de68b
DE
19152003-06-13 Doug Evans <dje@sebabeach.org>
1916
1917 * tsystem.h (abort): Declare in inhibit_libc case to remove build
1918 warnings for addvsi3, et.al.
1919
9f629a21
AH
19202003-06-13 Aldy Hernandez <aldyh@redhat.com>
1921
ed70c245 1922 * c-common.c (handle_mode_attribute): Use VECTOR_MODE_P macro.
9f629a21 1923
ed70c245 1924 * simplify-rtx.c (simplify_subreg): Same.
9f629a21 1925
ed70c245 1926 * emit-rtl.c (gen_lowpart_common): Same.
9f629a21 1927
e15bb5c6
KH
19282003-06-13 Kazu Hirata <kazu@cs.umass.edu>
1929
1930 * builtins.c: Fix comment typos.
1931 * fold-const.c: Likewise.
1932
d88e80e6
DE
19332003-06-13 Doug Evans <dje@sebabeach.org>
1934 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
1935
1936 * config/m32r/m32r-protos.h (m32r_pass_by_reference): Declare.
1937 * config/m32r/m32r.c (m32r_pass_by_reference): New fn.
1938 (m32r_va_arg): Use it.
1939 * config/m32r/m32r.h (FUNCTION_ARG_PASS_BY_REFERENCE): Ditto.
1940 (RETURN_IN_MEMORY): Ditto.
1941
dc125bdf
NN
19422003-06-13 Nathanael Nerode <neroden@gcc.gnu.org>
1943
4581c678
NN
1944 * c-typeck.c: Remove #if 0 clauses.
1945
dc125bdf
NN
1946 PR other/1494
1947 * config/alpha/openbsd.h, config/i386/openbsd.h,
1948 config/m68k/openbsd.h, config/sparc/openbsd.h: Remove
1949 residual reference to EGCS.
1950
6ab5da80
RE
19512003-06-13 Richard Earnshaw <rearnsha@arm.com>
1952
1953 * arm.c (output_call_mem): If the address references the link-register
1954 use an instruction sequence that avoids early-clobbering IP.
1955 (eliminate_lr2ip): Delete.
1956
3af0187c
KG
19572003-06-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1958
1959 * c-format.c (format_types_orig): Disallow '*' width/precision in
1960 asm_fprintf format checks.
1961
c873e11f
UW
19622003-06-13 Ulrich Weigand <uweigand@de.ibm.com>
1963
ed70c245 1964 * config/s390/s390.c (s390_va_arg): Fix alignment when retrieving
c873e11f
UW
1965 non-integral types from integer register save area slots.
1966
16ae108b
NN
19672003-06-13 Nathanael Nerode <neroden@gcc.gnu.org>
1968
1969 * config/i386/svr3dbx.h: GNU CC -> GCC; Intel 385 -> Intel 386.
1970
ebd6b6a1
FW
19712003-06-13 Florian Weimer <fw@deneb.enyo.de>
1972
1973 * doc/invoke.texi (SPARC Options): Document ``-mimpure-text''.
1974
43c73004
KK
19752003-06-13 Kaz Kojima <kkojima@gcc.gnu.org>
1976
1977 * config/sh/linux.h (TARGET_ASM_FILE_END): Set TARGET_ASM_FILE_END
1978 to file_end_indicate_exec_stack.
1979
ee4336ea
RH
19802003-06-12 Richard Henderson <rth@redhat.com>
1981
1982 PR target/11089
1983 * config/i386/i386.md (sse_movaps): Use an expander to force
1984 one operand to be a register.
1985 (sse_movups): Likewise.
1986
2ac29877
DE
19872003-06-13 Doug Evans <dje@sebabeach.org>
1988
1989 Remove some build warnings.
dc9ed76a 1990 * config/m32r/initfini.c (__CTOR_LIST__,__DTOR_LIST__): Attribute used.
2ac29877
DE
1991 (__do_global_ctors,__do_global_dtors): Ditto.
1992
c63f3a34
RH
19932003-06-12 Richard Henderson <rth@redhat.com>
1994
1995 PR middle-end/10557
1996 * rtlanal.c (subreg_offset_representable_p): Relax subreg check.
1997
0d370a05
KH
19982003-06-13 Kazu Hirata <kazu@cs.umass.edu>
1999
2000 * config/m32r/m32r.md: Fix a comment typo.
2001
48028e21 20022003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
ed70c245 2003 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
48028e21
EB
2004
2005 PR target/10142
2006 * config/sparc/sparc.c (function_arg_record_value_parms): Add
2007 new 'stack' field.
2008 (function_arg_record_value_1): Set 'stack' to 1 if we run out of
2009 integer slots for an integer field.
2010 (function_arg_record_value_3): Shift vector index.
2011 (function_arg_record_value_2): Likewise.
2012 (function_arg_record_value): Initialize 'stack' to 0.
2013 Set 'stack' to 1 if we run out of integer slots for an integer field.
2014 Generate (parallel [(expr_list (nil) ...) ...]) if 'stack' is set to 1.
2015
5adf448c
EB
20162003-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
2017
2018 PR optimization/10955
2019 * unroll.c (unroll_loop): Fix off-by-one bug.
2020
55c8af0b
AH
20212003-06-12 Aldy Hernandez <aldyh@redhat.com>
2022
ed70c245 2023 * config/rs6000/rs6000.c (function_arg): Remove typo.
55c8af0b 2024
cb0e3e3f
RH
20252003-06-12 Richard Henderson <rth@redhat.com>
2026
2027 * config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
2028 and UNSPEC_DTPOFF.
2029
8433f113
RH
20302003-06-12 Richard Henderson <rth@redhat.com>
2031
ed70c245
ZW
2032 PR middle-end/10475
2033 * expmed.c (emit_store_flag): Use simplify_gen_subreg directly
2034 for extracting sub-words.
8433f113 2035
7b687728
RH
20362003-06-12 Richard Henderson <rth@redhat.com>
2037
ed70c245
ZW
2038 PR target/7594
2039 * config/m68k/m68k.md (zero_extendhisi2): Use gen_lowpart_SUBREG.
2040 (zero_extendqihi2, zero_extendqisi2): Likewise.
7b687728 2041
a6c9bed4
AH
20422003-06-12 Aldy Hernandez <aldyh@redhat.com>
2043
2044 * config/rs6000/rs6000.c (function_arg): Always split vectors for
2045 e500 if it's a stdarg function.
2046 (function_arg_advance): Advance 2 registers for vectors in a
2047 stdarg function.
2048 (init_cumulative_args): Initialize stdarg.
2049 (rs6000_spe_function_arg): New.
2050
2051 * config/rs6000/rs6000.h (rs6000_args): Add stdarg.
2052
4dcc01f3
AH
20532003-06-12 Aldy Hernandez <aldyh@redhat.com>
2054
ed70c245 2055 * config/rs6000/rs6000.h (MODES_TIEABLE_P): Add SPE vectors.
4dcc01f3 2056
96f26e41
RS
20572003-06-12 Roger Sayle <roger@eyesopen.com>
2058
2059 PR middle-end/168
2060 * fold-const.c (tree_expr_nonnegative_p): Handle addition
2061 and multiplication of zero extensions, floating point division,
2062 and integer<->fp, fp<->fp and zero extension conversions.
2063 The built-in ceil and floor functions preserve signedness.
2064
6356f892
KH
20652003-06-12 Kazu Hirata <kazu@cs.umass.edu>
2066
2067 * ChangeLog: Follow spelling conventions.
2068 * ChangeLog.2: Likewise.
2069 * c-decl.c: Likewise.
2070 * cfgloop.h: Likewise.
2071 * cgraph.c: Likewise.
2072 * coverage.c: Likewise.
2073 * cppcharset.c: Likewise.
2074 * cpphash.h: Likewise.
2075 * cpplex.c: Likewise.
2076 * cpplib.c: Likewise.
2077 * dbxout.c: Likewise.
2078 * df.c: Likewise.
2079 * dwarf2out.c: Likewise.
2080 * dwarfout.c: Likewise.
2081 * emit-rtl.c: Likewise.
2082 * explow.c: Likewise.
2083 * gcov-io.c: Likewise.
2084 * gcov-io.h: Likewise.
2085 * gcov.c: Likewise.
2086 * gengtype.c: Likewise.
2087 * ggc.h: Likewise.
2088 * opts.c: Likewise.
2089 * real.c: Likewise.
2090 * reload.c: Likewise.
2091 * stmt.c: Likewise.
2092
25f47a4c
JJ
20932003-06-12 Janis Johnson <janis187@us.ibm.com>
2094
2095 * doc/install.texi (m32r-*-elf): Change company to Renesas.
2096
f0fda11c
JH
2097Thu Jun 12 20:00:55 CEST 2003 Jan Hubicka <jh@suse.cz>
2098
2099 * basic-block.h (flow_delete_block_noexpunge): Kill.
2100 * cfgrtl.c (flow_delete_block_noexpunge): Merge to
2101 rtl_delete_block.
2102
d6fc0492
RH
21032003-06-10 Richard Henderson <rth@redhat.com>
2104
ed70c245
ZW
2105 PR inline-asm/4823
2106 * reg-stack.c (any_malformed_asm): New.
2107 (check_asm_stack_operands): Set it.
2108 (convert_regs_1): Check it before aborting.
d6fc0492 2109
54da776f
AH
21102003-06-12 Aldy Hernandez <aldyh@redhat.com>
2111
ed70c245 2112 * config/rs6000/spe.md: Change all clobbers of the accumulator to sets.
54da776f 2113
c47d8f82
JJ
21142003-06-12 Jakub Jelinek <jakub@redhat.com>
2115
2116 * c-opts.c (complain_wrong_lang): Add on argument.
2117 Print no- switch if on is false.
2118 (c_common_decode_option): Adjust caller.
2119
109480b1
UW
21202003-06-12 Ulrich Weigand <uweigand@de.ibm.com>
2121
2122 * config/s390/s390.c (s390_emit_prologue): Use LA instead of AR
2123 to initialize GOT register.
2124
f7df23be
RS
21252003-06-12 Roger Sayle <roger@eyesopen.com>
2126
2127 * fold-const.c (tree_expr_nonnegative_p): Add support for
2128 floating point constants, addition and multiplication.
2129
38b3ef8b
R
21302003-06-12 J"orn Rennecke <joern.rennecke@superh.com>
2131
2132 * sh.md (adddi3_compact, subdi3_compact): Add earlyclobber
2133 constraint modifier for operand 0.
2134
78b8811a
HPN
21352003-06-12 Hans-Peter Nilsson <hp@axis.com>
2136
2137 Don't warn on dollars in builtin macro definitions,
2138 e.g. __REGISTER_PREFIX__.
2139 * cpphash.h (struct cpp_reader): Move member warn_dollars...
2140 * cpplib.h (struct cpp_options): ...to here. Change type to
2141 unsigned char.
2142 * cppinit.c (cpp_create_reader): Set it to 1 here.
2143 (post_options): Don't set it here.
2144 * c-opts.c (c_common_init_options): Reset it to 0 here.
2145 (finish_options): Set it here.
2146 * cpplex.c (forms_identifier_p): Tweak for new location of
2147 warn_dollars.
2148
2853bc5a
HPN
2149 * configure.in (assembler dwarf2 debug_line support): Define insn
2150 for cris-*-* and mmix-*-*.
2151 * configure: Regenerate.
2152
6b3a0b34
US
21532003-06-11 Uwe Stieber <uwe@kaos-group.de>
2154
2155 * config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*,
2156 powerpcle-*-kaos*, strongarm-*-kaos*): New targets.
2157 (sh-*-elf*): Add sh*-*-kaos* support.
2158 * config/kaos.h, config/arm/kaos-strongarm.h, config/arm/kaos-arm.h,
2159 config/i386/kaos-i386.h, config/rs6000/kaos-ppc.h,
2160 config/sh/kaos-sh.h: New files.
2161
2fa4a849
KH
21622003-06-12 Kazu Hirata <kazu@cs.umass.edu>
2163
2164 * gcse.c (fis_get_condition): Make it a global function.
2165 * reload1.c (reload_cse_move2add): Detect implicit sets.
2166 * rtl.h: Add a prototype for fis_get_condition.
2167
d50ad6af
RH
21682003-06-11 Richard Henderson <rth@redhat.com>
2169
2170 * stmt.c (expand_asm_operands): Don't warn for memories with
2171 queued addresses.
2172
04953ac9
KK
21732003-06-11 Kaz Kojima <kkojima@gcc.gnu.org>
2174
2175 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC): Rewrite without
2176 brackets.
2177
7fb26bb0
NB
21782003-06-11 Neil Booth <neil@daikokuya.co.uk>
2179
2180 * hooks.c (hook_int_size_t_constcharptr_int_0): New.
2181 * hooks.h (hook_int_size_t_constcharptr_int_0): New.
2182 * langhooks-def.h (lhd_decode_option, LANG_HOOKS_DECODE_OPTION): Die.
2183 (LANG_HOOKS_HANDLE_OPTION, LANG_HOOKS_INITIALIZER): Update.
2184 * langhooks.c (lhd_decode_option): Remove.
2185 * langhooks.h (struct lang_hooks): Remove decode_option.
2186 * opts.c (handle_option): No longer use decode_option.
2187
7e53cfb2
ZD
21882003-06-11 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2189
2190 * cfgloopanal.c (variable_initial_value): Update the set of altered
2191 registers correctly.
2192
5f9b0711
RS
21932003-06-11 Roger Sayle <roger@eyesopen.com>
2194 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2195
2196 * config/d30v/d30v.h: Delete reference to ASM_FINAL_SPEC.
2197 * config/i386/netbsd-elf.h: Likewise.
2198 * config/m32r/m32r.h: Likewise.
2199 * config/mn10300/mn10300.h: Likewise.
2200 * config/stormy16/stormy16.h: Likewise.
2201 * config/v850/v850.h: Likewise.
2202 * config/vax/netbsd-elf.h: Likewise.
2203 * config/xtensa/elf.h: Likewise.
2204 * config/xtensa/linux.h: Likewise.
2205
655b7166
RO
22062003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2207
2208 * config/mips/iris5gas.h (MDEBUG_ASM_SPEC): Override to match
2209 DWARF 2 default.
2210
2211 * config/mips/dbxmdebug.h: New file.
2212 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it with
2213 gas and --with-stabs.
2214
658cf52f
UW
22152003-06-11 Ulrich Weigand <uweigand@de.ibm.com>
2216
2217 * expr.c (can_move_by_pieces): align argument may be unused.
2218
06765df1
R
22192003-06-11 J"orn Rennecke <joern.rennecke@superh.com>
2220
2221 * expr.c (convert_move): Handle moves between two CONCATs.
2222
cf874806
KH
22232003-06-11 Kazu Hirata <kazu@cs.umass.edu>
2224
2225 * config/h8300/h8300.h (RETURN_IN_MEMORY): Accept DImode if
2226 !TARGET_H8300.
2227
ca9d6cca
KH
22282003-06-11 Kazu Hirata <kazu@cs.umass.edu>
2229
2230 * config/h8300/h8300.c (final_prescan_insn): Don't dump rtl.
2231 * config/h8300/h8300.h (MASK_RTL_DUMP): Remove.
2232 (TARGET_RTL_DUMP): Likewise.
2233 (TARGET_SWITHCES): Remove -mrtl-dump.
2234
0310c414
RH
22352003-06-10 Richard Henderson <rth@redhat.com>
2236
2237 * optabs.c (gen_cond_trap): Fix prepare_operand typo.
2238
15d11f13
RH
22392003-06-10 Richard Henderson <rth@redhat.com>
2240
2241 * config/ia64/ia64.md (call_gp): Fix memory mode.
2242
f58d8c95
JW
22432003-06-10 James E Wilson <wilson@tuliptree.org>
2244
2245 PR target/8812
2246 * reload1.c (choose_reload_regs): For equiv reg, add loop over all
2247 hard regs for reload_reg_used_at_all and reg_class_contents checks.
2248
5abfd1af
KH
22492003-06-10 Kazu Hirata <kazu@cs.umass.edu>
2250
2251 * config/h8300/h8300.c (print_operand): Remove support for
2252 operand character 'b'.
2253 Add the AND case to operand character 'c'.
2254 * config/h8300/h8300.md (two anonymous patterns): Replace
2255 operand character 'b' with 'c'.
2256
ca895f7d
KH
22572003-06-10 Kazu Hirata <kazu@cs.umass.edu>
2258
2259 * config/h8300/h8300.c (print_operand): Remove support for
2260 operand character 'u'.
2261
3b1b059c
NN
22622003-06-10 Nathanael Nerode <neroden@gcc.gnu.org>
2263
2264 * configure.in: Fix typo.
2265 * configure: Regenerate.
2266
e85f3dc8
LR
22672003-06-10 Loren James Rittle <ljrittle@acm.org>
2268
2269 * config/alpha/alpha.c (unicosmk_file_end): Add conditional
2270 compilation guard.
2271
90534361
R
22722003-06-10 J"orn Rennecke <joern.rennecke@superh.com>
2273
2274 * sh-protos.h (function_symbol): Declare.
2275 * sh.c (expand_block_move, expand_ashiftrt): Use it.
2276 (sh_expand_prologue, sh_expand_epilogue): Likewise.
2277 (sh_initialize_trampoline): Likewise.
2278 (function_symbol): New function.
2279 * sh.md (udivsi3, divsi3, mulsi3, ic_invalidate_line): Use it.
2280 (initialize_trampoline, call, call_pop, call_value, sibcall): Likewise.
2281 (call_value_pop, shcompact_return_tramp): Likewise.
2282
2283 * sh.h (OVERRIDE_OPTIONS): Don't suppress --profile-arc-flag.
2284
2285 * sh.md (GOTaddr2picreg): Use gen_lowpart to get lowpart of
2286 target register.
2287
e2ce66a9
DD
22882003-06-10 DJ Delorie <dj@redhat.com>
2289
2290 * doc/md.texi (Machine Constraints): Document stormy's Z
2291 constraint.
2292
21c157b4
GK
22932003-06-10 Geoffrey Keating <geoffk@apple.com>
2294
2295 * except.c (call_site_base): Mark with GTY.
2296
e32bac5b
RE
22972003-06-10 Richard Earnshaw <rearnsha@arm.com>
2298
2299 * arm-proto.h: Convert to ISO C90 prototypes.
2300 * arm.c: Likewise.
2301
4db8f48a
R
23022003-06-10 J"orn Rennecke <joern.rennecke@superh.com>
2303
2304 * sh.c (sh_output_mi_thunk): Call insn_locators_initialize.
2305
f80f73e1
SE
23062003-06-10 Steve Ellcey <sje@cup.hp.com>
2307
2308 * calls.c (expand_call): Convert structure_value_addr to Pmode if
2309 necessary.
2310
e076f71a
AH
23112003-06-10 Andrew Haley <aph@redhat.com>
2312
2313 * langhooks-def.h (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
2314 (LANG_HOOKS_DECLS): Add LANG_HOOKS_DECL_OK_FOR_SIBCALL.
2315 (lhd_decl_ok_for_sibcall): New.
2316 * langhooks.c (lhd_decl_ok_for_sibcall): New.
2317 * langhooks.h (lang_hooks_for_decls.ok_for_sibcall): New field.
2318 * calls.c (expand_call): Check lang_hook before generating a
2319 sibcall.
2320
e7e09ad8
DD
23212003-06-10 DJ Delorie <dj@redhat.com>
2322
2323 * config/stormy16/stormy16.c (xstormy16_extra_constraint_p): Add Z,
2324 which matches (const_int 0) for addhi3.
2325 * config/stormy16/stormy16.md: Document known constraints.
2326 (addhi3): Handle adding zero.
2327
a398a822
KI
23282003-06-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
2329
2330 * config/m32r/m32r.h (HARD_REGNO_RENAME_OK): New.
2331 * config/m32r/m32r.c (m32r_hard_regno_rename_ok): New.
2332 * config/m32r/m32r-protos.h: Prototype it.
2333
bb8f5288
JJ
23342003-06-10 Janis Johnson <janis187@us.ibm.com>
2335
2336 * config/rs6000/eabi.h (TARGET_OS_CPP_BUILTINS): Define builtins
2337 common to rs6000 sysv targets.
2338 * config/rs6000/eabisim.h (TARGET_OS_CPP_BUILTINS): Ditto.
2339 * config/rs6000/rtems.h (TARGET_OS_CPP_BUILTINS): Ditto.
2340
52f97a3b
NC
23412003-06-10 Nick Clifton <nickc@redhat.com>
2342
2343 * config.gcc: Add arm-wince-pe target.
2344 * config/arm/pe.h (MULTILIB_DEFAULTS): Define.
ed70c245 2345 Add comment about default apcs26 support.
52f97a3b
NC
2346 * config/arm/t-pe (MULTILIB_OPTIONS): Add an -mapcs-32
2347 multilib.
ed70c245 2348 (MULTILIB_DIRNAMES): Add 'apcs32'.
52f97a3b
NC
2349 * config/arm/t-wince-pe: New makefile fragment.
2350 * config/arm/wince-pe.h: New file. Overrides a few definitions
2351 in arm/pe.h
2352
9f0a7f9d
RS
23532003-06-10 Roger Sayle <roger@eyesopen.com>
2354
2355 * builtins.c (fold_builtin): Optimize cos(-x) as cos(x).
2356 * fold-const.c (fold <NEGATE_EXPR>): Convert -f(x) into f(-x)
2357 when x is easily negated and f is sin, tan or atan.
2358 (fold <MULT_EXPR>): Optimize tan(x)*cos(x) and cos(x)*tan(x) as
2359 sin(x) with flag_unsafe_math_optimizations.
2360 (fold <RDIV_EXPR>): With flag_unsafe_math_optimizations fold
2361 sin(x)/cos(x) as tan(x) and cos(x)/sin(x) as 1.0/tan(x).
2362
8936c82f
RS
23632003-06-10 Roger Sayle <roger@eyesopen.com>
2364
2365 * fold-const.c (fold <EQ_EXPR>): Don't fold x == x only if x
2366 is a floating point type *and* we currently honor NaNs.
2367 (fold <NE_EXPR>): Likewise.
2368
d58b7c2d
MM
23692003-06-10 Mark Mitchell <mark@codesourcery.com>
2370
2371 PR c++/11131
2372 * tree-inline.c (inlinable_function_p): Call the language-specific
2373 hook early.
2374
c566f9bd
DT
23752003-06-09 David Taylor <dtaylor@emc.com>
2376
2377 * config/rs6000/rs6000.c (rs6000_va_start, rs6000_va_arg): Skip over
2378 the f_res field.
2379
4665e56c
NN
23802003-06-09 Nathanael Nerode <neroden@gcc.gnu.org>
2381
619833ad
NN
2382 * configure.in: Remove references to host_truncate_target.
2383 * configure: Regenerate.
2384 * config.gcc: Remove references to truncate_target,
2385 host_truncate_target.
2386
4665e56c
NN
2387 * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas:
2388 Replace "build_canonical" with build, "host_canonical" with host.
2389 * configure.in: Use GCC_TOPLEV_SUBDIRS.
2390 * aclocal.m4: Include ../config/acx.m4.
2391 * configure: Regenerate.
2392
23932003-06-09 David Taylor <dtaylor@emc.com>
64c2816f
DT
2394
2395 * config/rs6000/rs6000.c (rs6000_build_va_list): Give the two
2396 bytes of padding in the __va_list_tag structure a name (reserved).
2397
1bfedcc8
JM
23982003-06-09 Jason Merrill <jason@redhat.com>
2399
2400 * fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
2401
4665e56c 24022003-06-09 Osku Salerma <osku@iki.fi>
75b2a93c
OS
2403
2404 * c-format.c (check_format_string, get_constant): New.
2405 (handle_format_attribute, handle_format_arg_attribute,
2406 decode_format_attr): Change to use above functions.
2407
71ed1fdb
RH
24082003-06-09 Richard Henderson <rth@redhat.com>
2409
ed70c245 2410 * stmt.c (expand_asm_operands): Re-word warning.
71ed1fdb 2411
528b8487
AP
24122003-06-08 Andrew Pinski <pinskia@physics.uc.edu>
2413
2414 PR target/8787
2415 * config/i386/djgpp.h (ASM_FILE_START): emit `.intel_syntax'
2416 if -masm=intel.
2417
00051260
JW
24182003-06-09 James E Wilson <wilson@tuliptree.org>
2419
2420 * config/frv/cmovc.c, config/frv/cmovh.c, config/frv/cmovw.c,
2421 config/frv/frvbegin.c, config/frv/frvend.c, config/frv/lib1funcs.asm:
2422 Add libgcc exception.
2423
8e8238f1
DE
24242003-06-09 David Edelsohn <edelsohn@gnu.org>
2425 Ayal Zaks <gcchaifa@us.ibm.com>
2426
2427 * config/rs6000/rs6000.md (define_attr "type"): Add insert_word.
2428 (insvsi*): Add insert_word attribute.
2429 * config/rs6000/rs6000.c (rs6000_variable_issue): Add TYPE_INSERT_WORD.
2430 * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
2431 power4.md,rios1.md,rios2.md,rs64.md}: Add insert_word.
2432
2859471c
KH
24332003-06-09 Kazu Hirata <kazu@cs.umass.edu>
2434
2435 * fold-const.c (fold): Fix a comment typo.
2436
36f04556
NS
24372003-06-09 Nathan Sidwell <nathan@codesourcery.com>
2438
2439 * tree-inline.c (expand_call_inline): DECL_SOURCE_LINE_FIRST is
2440 removed.
2441
86143cb4
R
24422003-06-09 J"orn Rennecke <joern.rennecke@superh.com>
2443
2444 * sh.c (gen_block_redirect): Use locators.
2445
659bdc68
RE
24462003-06-09 Richard Earnshaw <rearnsha@arm.com>
2447
2448 * arm.h (THUMB_PRINT_OPERAND_ADDRESS): Use %wd in format and remove
2449 cast to int.
2450
4dd03b27
RS
24512003-06-09 Richard Sandiford <rsandifo@redhat.com>
2452
2453 * configure.in: Assume gas 2.14 and above can handle MIPS relocation
2454 operators.
2455 * configure: Regenerated.
2456
f833ffd4
RS
24572003-06-09 Richard Sandiford <rsandifo@redhat.com>
2458 Alexandre Oliva <aoliva@redhat.com>
2459
2460 * config/mips/mips.h (GLOBAL_POINTER_REGNUM): New macro.
2461 (PIC_OFFSET_TABLE_REGNUM): Look at pic_offset_table_rtx after reload.
2462 (STARTING_FRAME_OFFSET): Don't allocate a cprestore slot for
2463 n32/64 PIC.
2464 (MUST_SAVE_REGISTERS): Delete.
2465 * config/mips/mips.c (mips_frame_info): Remove extra_size field.
2466 (machine_function): Add global_pointer field.
2467 (mips_classify_constant): Check for (const $gp) using pointer equality
2468 with pic_offset_table_rtx.
2469 (mips_classify_constant): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
2470 (mips_restore_gp): Use current_function_outgoing_args_size.
2471 (print_operand): Use PIC_OFFSET_TABLE_REGNUM instead of
2472 GP_REG_FIRST + 28. Handle relocation strings that have
2473 more than one '('.
2474 (mips_reloc_string): Handle RELOC_LOADGP_HI and RELOC_LOADGP_LO.
2475 (mips_global_pointer): New function.
2476 (mips_save_reg_p): New function, mostly split out from...
2477 (compute_frame_size): ...here. Remove handling of extra_size.
2478 Reclaim args_size if no variables depend on it. Don't treat gp
2479 as a special case: handle it in the main GPR loop.
2480 (mips_initial_elimination_offset): Fix comment.
2481 (save_restore_insns): Save every register in the GPR mask,
2482 removing distinction between mask and real_mask.
2483 (mips_output_function_prologue): Update .frame psuedo-op after
2484 the removal of extra_size. Move the SVR4 PIC stack allocation
2485 and cprestore instructions to mips_expand_prologue.
2486 (mips_gp_insn): New function.
2487 (mips_expand_prologue): Set REGNO (pic_offset_table_rtx) to
2488 the chosen global pointer. Handle SVR4 PIC stack allocation
2489 in the same way as other ABIs. Adjust varargs code accordingly.
2490 Emit a cprestore insn after allocating the stack. Use mips_gp_insn
2491 to emit the loadgp sequence. Follow it with a loadgp_blockage
2492 if not using explicit relocs.
2493 (mips_output_function_epilogue): Reinstate the default gp register.
2494 (mips16_gp_pseudo_reg): Use pic_offset_table_rtx.
2495 (mips16_optimize_gp): Likewise.
2496 * config/mips/mips.md (UNSPEC_LOADGP): Remove.
2497 (UNSPEC_SETJMP, UNSPEC_LONGJMP): Remove.
2498 (UNSPEC_CPRESTORE, RELOC_LOADGP_HI, RELOC_LOADGP_LO): New.
2499 (loadgp): Remove.
2500 (loadgp_blockage, cprestore): New instructions.
2501 (builtin_setjmp_setup): Implement using emit_move_insn. Use
2502 pic_offset_table_rtx.
2503 (builtin_setjmp_setup_32, builtin_setjmp_setup_64): Remove.
2504 (builtin_longjmp): Use gen_raw_REG to force use of $28.
2505
32ad6a47
RS
25062003-06-09 Richard Sandiford <rsandifo@redhat.com>
2507
2508 * config/mips/mips-protos.h (mips_output_division): Declare.
2509 * config/mips/mips.h (MASK_CHECK_RANGE_DIV): Remove.
2510 (MASK_BRANCHLIKELY): Use MASK_CHECK_RANGE_DIV's old number.
2511 (TARGET_NO_CHECK_ZERO_DIV, TARGET_CHECK_RANGE_DIV): Remove.
2512 (TARGET_CHECK_ZERO_DIV): New macro.
2513 (TARGET_SWITCHES): Remove -mcheck-range-div & -mno-check-range-div.
2514 * config/mips/mips.c (mips_output_division): New function.
2515 * config/mips/mips.md (length): Take TARGET_CHECK_ZERO_DIV into
2516 account when calculating the default length of a division.
2517 (divmodsi4, divmoddi4, udivmodsi4, udivmoddi4): Turn into define_insns.
2518 Enable regardless of optimization level. Use mips_output_division.
2519 (divmodsi4_internal, divmoddi4_internal, udivmodsi4_internal,
2520 udivmoddi4_internal, div_trap, div_trap_normal, div_trap_mips16,
2521 divsi3, divsi3_internal, divdi3, divdi3_internal, modsi3,
2522 modsi3_internal, moddi3, moddi3_internal, udivsi3, udivsi3_internal,
2523 udivdi3, udivdi3_internal, umodsi3, umodsi3_internal, umoddi3,
2524 umoddi3_internal): Remove.
2525
d334c3c1
RS
25262003-06-09 Richard Sandiford <rsandifo@redhat.com>
2527
2528 * config/mips/mips.c (mips_reg_names): Change hilo entry to "".
2529 (mips_sw_reg_names): Likewise.
2530 (mips_regno_to_class): Change hilo entry to NO_REGS.
2531 (hilo_operand): Use MD_REG_P.
2532 (extend_operator): New predicate.
2533 (override_options): Remove 'a' constraint.
2534 (mips_secondary_reload_class): Remove hilo handling. Also remove
2535 handling of (plus sp reg) reloads for mips16.
2536 (mips_register_move_cost): Remove hilo handling.
2537 * config/mips/mips.h (FIXED_REGISTERS): Make hilo entry fixed.
2538 (MD_REG_LAST): Remove hilo from range.
2539 (HILO_REGNUM): Delete.
2540 (reg_class): Remove HILO_REG and HILO_AND_GR_REGS.
2541 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update accordingly.
2542 (PREDICATE_CODES): Add entry for extend_operator.
2543 (DEBUG_REGISTER_NAMES): Change hilo entry to "".
2544 * config/mips/mips.md: Remove hilo clobbers wherever they occur.
2545 Remove constraints from multiplication define_expands. Remove
2546 clobbers from "decorative" define_expand patterns.
2547 (UNSPEC_HILO_DELAY): Delete.
2548 (*mul_acc_si, *mul_sub_si): Add early-clobber to operand 6.
2549 (mulsidi3, umulsidi3): Change pattern to match the TARGET_64BIT case.
2550 Adjust C code to just emit insns for !TARGET_64BIT.
2551 (mulsidi3_internal): Rename to mulsidi3_32bit.
2552 (mulsidi3_64bit): Use a "d" constraint for the destination.
2553 Use extend_operator so that the pattern can handle umulsidi3 as well.
2554 Split the instruction after reload.
2555 (*mulsidi3_64bit_parts): New pattern, generated by mulsidi3_64bit.
2556 (umulsidi3_internal): Rename to umulsidi3_32bit.
2557 (umulsidi3_64bit): Remove.
2558 (*smsac_di, *umsac_di): Line-wrap fixes.
2559 (udivsi3_internal): Don't allow operand 2 to be constant.
2560 (udivdi3_internal, umodsi3_internal, umoddi3_internal): Likewise.
2561 (movdi_internal2, movsi_internal): Remove hilo alternatives.
2562 (reload_in[sd]i, reload_out[sd]i, hilo_delay): Remove.
2563
20db0e3c
RS
25642003-06-09 Richard Sandiford <rsandifo@redhat.com>
2565
2566 PR target/10913
2567 * config/mips/mips.h (TARGET_FILE_SWITCHING, NO_DBX_FUNCTION_END,
2568 PUT_SDB_SCL, PUT_SDB_INT_VAL, PUT_SDB_VAL, PUT_SDB_ENDEF,
2569 PUT_SDB_TYPE, PUT_SDB_SIZE, PUT_SDB_DIM, PUT_SDB_START_DIM,
2570 PUT_SDB_NEXT_DIM, PUT_SDB_LAST_DIM, PUT_SDB_TAG, PUT_SDB_SRC_FILE,
2571 SDB_GENERATE_FAKE, TEXT_SECTION): Delete.
2572 (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF, PUT_SDB_BLOCK_START,
2573 PUT_SDB_BLOCK_END, PUT_SDB_FUNCTION_END): Replace use of
2574 asm_out_text_file with asm_out_file.
2575 * config/mips/iris5gas.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Likewise.
2576 * config/mips/elf.h (TEXT_SECTION): Undefine.
2577 * config/mips/elf64.h (TEXT_SECION): Undefine.
2578 * config/mips/openbsd.h (TEXT_SECION): Undefine.
2579 * config/mips/mips.c (asm_out_text_file, asm_out_data_file): Delete.
2580 (override_options): Disable small-data optimizations unless using
2581 gas or explicit relocations.
2582 (mips_asm_file_start, mips_asm_file_end, mips_output_function_epilogue,
2583 iris6_asm_named_section, iris6_asm_file_start): Remove code for
2584 handling TARGET_FILE_SWITCHING.
2585 (copy_file_data): Move into TARGET_IRIX6 block.
2586
017e1b43
RH
25872003-06-08 Richard Henderson <rth@redhat.com>
2588
2589 * expr.h (EXPAND_MEMORY): New.
2590 * expr.c (expand_expr): Check it.
2591 * stmt.c (expand_asm_operands): Provide it when the constraint
2592 requires a memory. Warn for memory input constraints without
2593 a memory operand.
2594
f8950e17
KG
25952003-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2596
2597 * varasm.c: Don't include c-tree.h.
2598
51d2dfa6
AJ
25992003-06-08 Andreas Jaeger <aj@suse.de>
2600
2601 * predict.h: Convert to ISO C90 prototypes.
2602 * predict.c: Likewise.
2603 * tree-dump.h: Likewise.
2604 * tree-dump.c: Likewise.
2605 * diagnostic.h: Likewise.
2606 * diagnostic.c: Likewise.
2607 * combine.c: Likewise.
2608
2609 * rtl.h: Convert prototypes of combine.c to ISO C90.
2610
0435312e
JH
2611Sun Jun 8 21:27:41 CEST 2003 Jan Hubicka <jh@suse.cz>
2612
2613 * cfglayout.c (insn_scope): New static function
2614 (block_locators_*, line_locators*, file_locators*): New static varrays.
2615 (scope_to_insns_initialize): Use them.
2616 (insn_line, insn_file): New functions.
2617 (scope_to_insns_finalize): Use insn_scope.
2618 (prologue_locator, epilogue_locator): New global variables.
2619 * emit-rt.c (try_split, make_insn_raw, make_jump_insn_raw,
2620 make_call_insn_raw, emit_copy_of_insn_after): Use locators.
2621 (emit_insn_after_scope, emit_insn_before_scope
2622 emit_jump_insn_after_scope, emit_jump_insn_before_scope
2623 emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
2624 (emit_insn_after_setloc, emit_insn_before_setloc
2625 emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
2626 emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
2627 use locators.
2628 * final.c (notice_source_line): Use locators.
2629 (final_start_function): Set initial source file and line.
2630 (final_scan_insn): Use locators.
2631 * ifcvt.c (noce_try_store_flag, noce_try_store_flag_constants,
2632 noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove,
2633 noce_try_cmove_arith, noce_try_minmax, noce_try_abs,
2634 noce_process_if_block, find_cond_trap): Likewise.
2635 * integrate.c (copy_insn_list): Likewise.
2636 * jump.c (duplicate_loop_exit_test): LIkewise.
2637 * print-rtl.c (print_rtx): Print locators.
2638 * recog.c (peephole2_optimize): Likewise.
2639 * rtl.h (INSN_SCOPE): Remove.
2640 (emit_insn_after_scope, emit_insn_before_scope
2641 emit_jump_insn_after_scope, emit_jump_insn_before_scope
2642 emit_call_insn_after_scope, emit_call_insn_before_scope): Rename to...
2643 (emit_insn_after_setloc, emit_insn_before_setloc
2644 emit_jump_insn_after_setloc, emit_jump_insn_before_setloc
2645 emit_call_insn_after_setloc, emit_call_insn_before_setloc): ... these;
2646 (insn_file, insn_line, prologue_locator, epilogue_locator): Declare.
2647 * unroll.c (copy_loop_body): Use locators.
2648 * function.c (set_insn_locators): New function.
2649 (thread_prologue_and_epilogue_insns): Set the locators accordingly.
2650
5d39821d
KH
26512003-06-08 Kazu Hirata <kazu@cs.umass.edu>
2652
2653 * config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
2654 * config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf
2655 _fixsfdi _fixunssfdi.
2656 (LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2,
2657 popcounthi2.
2658 (TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI.
2659 * config/h8300/clzhi2.c: New.
2660 * config/h8300/ctzhi2.c: Likewise.
2661 * config/h8300/parityhi2.c: Likewise.
2662 * config/h8300/popcounthi2.c: Likewise.
2663
10e9fecc
JH
2664Sun Jun 8 15:52:17 CEST 2003 Jan Hubicka <jh@suse.cz>
2665
2666 * i386.md (subsi_3_zext, sse2_nandv2di3): Fix predicates.
2667 * i386.c (k8_avoid_jump_misspredicts): Fix debug output.
2668
2669 * cfg.c (verify_flow_info): Move IL independent checks from cfgrtl here.
2670 (dump_bb): New based on old dump_bb in cfgrtl.c
2671 (debug_bb, debug_bb_n): Move the functions from cfgrtl.c here.
2672 * cfghooks.h (cfgh_verify_flow_info): Return status.
2673 * cfglayout.c (cfg_layout_finalize): Verify CFG correctness.
2674 * cfgrtl.c (debug_bb, debug_bb_n): Move to cfg.c
2675 (dump_bb): Remove generic parts.
2676 (rtl_verify_flow_info_1): Break out from rtl_verify_flow_info.
2677 (rtl_verify_flow_info): Only check things dependeing on linearized RTL.
2678
35399bdc
NB
26792003-06-08 Neil Booth <neil@daikokuya.co.uk>
2680
2681 * Makefile.in: Rename options.c and options.h to c-options.c and
2682 c-options.h.
2683 (OBJS): Remove options.o.
2684 * c-opts.c: Don'tInclude c-options.h instead of options.h.
2685 * opts.c: Don't include options.h.
2686 (find_opt): Can't use enum opt_code or N_OPTS.
2687 * opts.h (struct cl_option, cl_options, cl_options_count): Move from...
2688 * opts.sh: ... here.
2689
56f0c0d8 26902003-06-07 Eric Botcazou <ebotcazou@libertysurf.fr>
528b8487 2691 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8eb6a092
EB
2692
2693 PR pch/9830
2694 * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h
2695 if HAVE_MINCORE is defined.
2696 (MAP_FAILED): Define if not defined.
2697 (gt_pch_save): Test against MAP_FAILED.
2698 (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force
2699 the mapping address to the preferred base after checking it
2700 is possible to do so. Test against MAP_FAILED.
2701 * configure.in: Test for the presence of mincore in libc.
2702 * config.in: Regenerate.
2703 * configure: Regenerate.
2704
797c8a92
RH
27052003-06-07 Richard Henderson <rth@redhat.com>
2706
2707 * config/alpha/alpha.c (alpha_setup_incoming_varargs): Fix
2708 conditional compilation guard.
2709
77173bbe
KH
27102003-06-08 Kazu Hirata <kazu@cs.umass.edu>
2711
2712 * optabs.c (expand_abs): Set result_unsignedp to 1 if
2713 flag_trav is zero.
2714
2288bdbb
RH
27152003-06-07 Richard Henderson <rth@redhat.com>
2716
528b8487 2717 * c-cppbuiltin.c (c_cpp_builtins): Define __EXCEPTIONS for C also.
2288bdbb 2718
1722c2c8
RH
27192003-06-07 Richard Henderson <rth@redhat.com>
2720
2721 * basic-block.h (EDGE_SIBCALL): New.
2722 (EDGE_ALL_FLAGS): Update.
2723 * cfg.c (dump_edge_info): Add sibcall name.
2724 * cfgbuild.c (make_edges): Use EDGE_SIBCALL.
2725 * cfgrtl.c (purge_dead_edges): Handle sibcalls.
2726
44de936e
AJ
27272003-06-07 Andreas Jaeger <aj@suse.de>
2728
5145a02e
AJ
2729 * mklibgcc.in (lib2funcs): Remove _exit.
2730 * libgcc2.c: Remove L_exit.
2731 * gbl-ctors.h: Remove declarations dependend on NEED_ATEXIT.
2732
2733 * system.h: Poison NEED_ATEXIT, ON_EXIT, EXIT_BODY.
2734
2735 * doc/tm.texi (Misc): Remove NEED_ATEXIT, ON_EXIT, EXIT_BODY.
2736
20c1dc5e
AJ
2737 * ggc.h: Convert to ISO C90 prototypes.
2738 * ggc-none.c: Likewise.
2739 * ggc-common.c: Likewise.
2740 * ggc-page.c: Likewise.
2741 * ggc-simple.c: Likewise.
2742
44de936e
AJ
2743 * crtstuff.c: Remove undefined usage of INIT_SECTION_PREAMBLE.
2744
2745 * system.h: Poison INIT_SECTION_PREAMBLE.
2746
a5fe455b
ZW
27472003-06-07 Zack Weinberg <zack@codesourcery.com>
2748
2749 * config.gcc (with_cpu handling): Translate sparc64 in
2750 $machine to --with-cpu=v9.
2751 * config/alpha/alpha.c
2752 (TARGET_ASM_GLOBALIZE_LABEL [TARGET_ABI_UNICOSMK]): Correct definition.
2753 (alpha_setup_incoming_varargs): #ifdef out when TARGET_ABI_UNICOSMK.
2754
2755 * target.h: New hook asm_out.file_end.
2756 * target.h: Update to match. New hook macro TARGET_ASM_FILE_END.
ed446835 2757 * toplev.c (compile_file): Use targetm.asm_out.file_end.
a5fe455b
ZW
2758 * system.h: Poison ASM_FILE_END.
2759 * varasm.c (file_end_indicate_exec_stack): New.
2760 * output.h: Prototype it.
2761 * doc/tm.texi: Document TARGET_ASM_FILE_END and
2762 file_end_indicate_exec_stack. Delete references to attasm.h.
2763
2764 * config/darwin.h (TARGET_ASM_FILE_END): Reset to darwin_file_end.
2765 (ASM_FILE_END): Delete; move code...
2766 * config/darwin.c (darwin_file_end): Here; new function.
2767 * config/darwin-protos.h: Prototype it.
2768 * config/alpha/alpha.c (unicosmk_asm_file_end): Make static,
2769 rename unicosmk_file_end.
2770 * config/arm/aof.h (ASM_FILE_END): Delete; move code...
2771 * config/arm/arm.c (aof_file_end): ... here; new static function.
2772 Set TARGET_ASM_FILE_END to aof_file_end if AOF_ASSEMBLER.
2773 Make aof_dump_imports and aof_dump_pic_table static.
2774 * config/avr/avr.c (asm_file_end): Rename avr_file_end, make static.
2775 Set TARGET_ASM_FILE_END to avr_file_end.
2776 * config/c4x/c4x.c (c4x_file_end): Make static. Take no arguments.
2777 Set TARGET_ASM_FILE_END to c4x_file_end.
2778 * config/h8300/h8300.c (asm_file_end): Rename h8300_file_end,
2779 make static. Take no arguments. Set TARGET_ASM_FILE_END to
2780 h8300_file_end.
2781 * config/i370/i370.h (ASM_FILE_END): Delete; move code...
2782 * config/i370/i370.c (i370_file_end): ... here; new static function.
2783 Set TARGET_ASM_FILE_END to i370_file_end.
2784 * config/i386/i386.c (ix86_asm_file_end): Rename ix86_file_end.
2785 Take no arguments. Call file_end_indicate_exec_stack if
2786 NEED_INDICATE_EXEC_STACK; don't use SUBTARGET_FILE_END.
2787 * config/i386/i386.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
2788 Define NEED_INDICATE_EXEC_STACK to 0.
2789 * config/i386/linux.h, config/i386/linux64.h: Redefine
2790 NEED_INDICATE_EXEC_STACK to 1 instead of setting SUBTARGET_FILE_END.
2791 * config/i386/winnt.c (i386_pe_asm_file_end): Rename to
2792 i386_pe_file_end. Take no arguments. Use ix86_file_end.
2793 * config/ia64/ia64.c (ia64_hpux_asm_file_end): Rename to
2794 ia64_hpux_file_end, make static. Take no arguments.
2795 * config/ip2k/ip2k.c (asm_file_start, asm_file_end,
2796 commands_in_prologues, commands_in_epilogues): Delete.
2797 (function_epilogue): Update to match.
2798 * config/mips/mips.c (mips_asm_file_end): Rename mips_file_end,
2799 make static. Take no arguments.
2800 (iris6_asm_file_end): Rename iris6_file_end, make static, use
2801 mips_file_end, take no arguments.
2802 Set TARGET_ASM_FILE_END to iris6_file_end or mips_file_end as
2803 appropriate.
2804 * config/mmix/mmix.c (mmix_asm_file_end): Rename mmix_file_end,
2805 make static, take no arguments. Set TARGET_ASM_FILE_END to
2806 mmix_file_end.
2807 * config/pa/pa.c (output_deferred_plabels): Make static, take
2808 no arguments. Set TARGET_ASM_FILE_END to output_deferred_plabels.
2809 * config/rs6000/xcoff.h (TARGET_ASM_FILE_END): Set it.
2810 (ASM_FILE_END): Delete; move code...
2811 * config/rs6000/rs6000.c (rs6000_xcoff_file_end): ... here;
2812 new static function.
2813
2814 * config/avr/avr.h, config/cris/cris.h, config/h8300/h8300.h
2815 * config/mmix/mmix.h, config/mips/iris6.h, config/mips/mips.h:
2816 Don't set ASM_FILE_END.
2817 * config/alpha/linux-elf.h, config/m68k/linux.h, config/rs6000/linux.h
2818 * config/rs6000/linux64.h, config/s390/linux.h, config/sparc/linux.h
2819 * config/sparc/linux64.h: Set TARGET_ASM_FILE_END to
2820 file_end_indicate_exec_stack; don't set ASM_FILE_END.
2821 * config/alpha/unicosmk.h, config/i386/cygming.h
2822 * config/ia64/hpux.h: Set TARGET_ASM_FILE_END, not ASM_FILE_END.
2823 * config/arm/arm-protos.h, config/alpha/alpha-protos.h
2824 * config/avr/avr-protos.h, config/c4x/c4x-protos.h
2825 * config/h8300/h8300-protos.h, config/ia64/ia64-protos.h
2826 * config/ip2k/ip2k-protos.h, config/mips/mips-protos.h
2827 * config/mmix/mmix-protos.h, config/pa/pa-protos.h: Update.
2828
da2d4c01
JH
2829Sat Jun 7 18:32:13 CEST 2003 Jan Hubicka <jh@suse.cz>
2830
2831 * i386.h (OPTION_DEFAULT_SPECS): Avoid -mcpu default when -march is
2832 specified.
2833
8c560c80
JH
2834Sat Jun 7 15:20:01 CEST 2003 Jan Hubicka <jh@suse.cz>
2835
2836 * Makefile.in (stageprofile_build): Kill redundant target.
2837 * i386.c (mdep_reorg): Don't pad jumps for Athlon.
2838
e62b6ea1
AJ
28392003-06-07 Andreas Jaeger <aj@suse.de>
2840
2841 * doc/tm.texi (Costs): Remove DONT_REDUCE_ADDR documentation.
2842
2843 * config/avr/avr.h: Remove comment regarding DONT_REDUCE_ADDR.
2844 * config/dsp16xx/dsp16xx.h: Likewise.
2845 * config/i386/i386.h: Likewise.
2846 * config/ip2k/ip2k.h: Likewise.
2847
2772ef3e
NB
28482003-06-07 Neil Booth <neil@daikokuya.co.uk>
2849
2850 * Makefile.in (OJBS, c-opts.o): Update.
2851 (c-options.c, c-options.h): Rename options.h and options.c.
2852 (options.h): Rename options_.h.
2853 (opts.o): New.
2854 * c-common.h (c_common_handle_option): Replace c_common_decode_option.
2855 (c_common_init_options): Update prototype.
2856 * c-lang.c (c_init_options): Update prototype.
2857 (LANG_HOOKS_HANDLE_OPTION): Override.
2858 (LANG_HOOKS_DECODE_OPTION): Drop.
2859 * c-opts.c: Include opts.h and options.h instead of c-options.h
2860 and c-options.c.
2861 (lang_flags): Move to file scope.
2862 (find_opt, c_common_decode_option): Remove.
2863 (CL_C, CL_OBJC, CL_CXX, CL_OBJCXX, CL_JOINED, CL_SEPARATE,
2864 CL_REJECT_NEGATIVE): Move to opts.h.
2865 (missing_arg): Update prototype.
2866 (c_common_init_options): Update for new prototype.
2867 (c_common_handle_options): Filenames are passed as N_OPTS.
2868 * hooks.c (hook_int_void_0): New.
2869 * hooks.h (hook_int_void_0): New.
2870 * langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): New default.
2871 (LANG_HOOKS_HANDLE_OPTION): Default to NULL for now.
2872 (LANG_HOOKS_INITIALIZER): Update.
2873 * langhooks.h (init_options): Update.
2874 (handle_option): New.
2875 * opts.c, opts.h: New files.
2876 * opts.sh: Update c file to include opts.h and options.h.
2877 * toplev.c: Include opts.h; change options.h to options_.h.
2878 (parse_options_and_default_flags): Get lang_mask, use
2879 handle_option for language-specific handling.
2880 * objc/objc-lang.c (LANG_HOOKS_DECODE_OPTON): Drop.
2881 (LANG_HOOKS_HANDLE_OPTION): Override.
2882 (objc_init_options): Update.
2883
3743ea05
MK
28842003-06-07 Magnus Kreth <magnus.kreth@gmx.de>
2885 Thibaud Gaillard <thibaud.gaillard@nto.atmel.com>
2886
f6749ed8 2887 PR other/7031
3743ea05
MK
2888 * Makefile.in (install-common): Remove GCOV_INSTALL_NAME instead of
2889 gcov.
2890
90e145da
KC
28912003-06-07 Kelley Cook <kelleycook@wideopenwest.com>
2892
2893 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in
2894 section names.
2895 * configure: Regenerate.
2896
ffbc65c3
AM
28972003-06-07 Alan Modra <amodra@bigpond.net.au>
2898
2899 * config/rs6000/linux64.h (CRT_CALL_STATIC_FUNCTION): Define.
2900
8a5db2b4
JW
29012003-06-06 James E Wilson <wilson@tuliptree.org>
2902
2903 PR inline-asm/10890
2904 * reload1.c (merge_assigned_reloads): Abort only if two reloads have
2905 different in fields.
2906
6a1b7268
NN
29072003-06-06 Nathanael Nerode <neroden@gcc.gnu.org>
2908
2909 * configure.in: Make $(target_subdir) correspond with top level usage.
2910 * Makefile.in: Likewise.
2911 * configure: Regenerate.
2912
78cabff8
JDA
29132003-06-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
2914
2915 * pa.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_COMMON,
2916 ASM_OUTPUT_ALIGNED_LOCAL): Cast `SIZE' and `ALIGNED' parameters to
2917 unsigned HOST_WIDE_INT.
2918 * pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMOM, ASM_OUTPUT_ALIGNED_LOCAL):
2919 Likewise.
2920 * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL):
2921 Likewise.
2922
67b1fbb9
KG
29232003-06-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2924
2925 * doc/install.texi (Prerequisites): New section documenting
2926 tools and packages necessary prior to building and/or
2927 modifying GCC.
2928 * doc/install.texi2html: Also generate prerequisites.html.
2929
3a11ec8b
RE
29302003-06-06 Richard Earnshaw <rearnsha@arm.com>
2931
2932 PR target/11052
2933 * ifcvt.c (noce_process_if_block): Fail if the destination has
2934 side-effects.
2935
7dc8b126
JM
29362003-06-06 Jason Merrill <jason@redhat.com>
2937
2938 * stmt.c (resolve_asm_operand_names): Rename from
2939 resolve_operand_names. No longer static. Avoid needless copying.
2940 Don't build array of constraints.
2941 (expand_asm_operands): Build it here.
2942 * tree.h: Declare resolve_asm_operand_names.
2943
2944 * stmt.c (expand_decl): Put artificial vars into registers even
2945 when not optimizing, and don't mark the regs as user vars.
2946
1c20913c
R
29472003-06-06 J"orn Rennecke <joern.rennecke@superh.com>
2948
2949 * sh.h (FUNCTION_ARG_1): Consistently use NEW_MODE for the mode
2950 of the generated register.
2951
09c36669
DJ
29522003-06-06 Daniel Jacobowitz <drow@mvista.com>
2953
2954 * config.gcc: Add a missing sparc64 case.
2955
744f6f09
JJ
29562003-06-06 Jakub Jelinek <jakub@redhat.com>
2957
2958 * mklibgcc.in: Propagate .note.GNU-stack section if needed into
2959 the .hidden assembly stubs.
2960
30fb3231
L
29612003-06-06 H.J. Lu <hongjiu.lu@intel.com>
2962
2963 * config.gcc (extra_headers): Add emmintrin.h for i[34567]86-*-*
2964 and x86_64-*-*.
2965
2966 * config/i386/mmintrin.h: Update version and add alternate
2967 intrinsic names.
2968 * config/i386/xmmintrin.h: Likewise.
2969
2970 * config/i386/xmmintrin.h: Include <emmintrin.h>. Move SSE2
2971 intrinsics to ...
2972 * config/i386/emmintrin.h: Here. New file.
2973
07bae5ad
RS
29742003-06-06 Roger Sayle <roger@eyesopen.com>
2975
2976 * fold-const.c (fold <ABS_EXPR>): Re-fold the result of folding
2977 fabs(-x) into fabs(x). Use tree_expr_nonnegative_p to determine
2978 when the ABS_EXPR (fabs or abs) is not required.
e62b6ea1 2979 (tree_expr_nonnegative_p): Move the logic that sqrt and exp are
07bae5ad
RS
2980 always nonnegative from fold to here. Additionally, cabs and fabs
2981 are always non-negative, and pow and atan are non-negative if
2982 their first argument is non-negative.
2983
2984 * builtins.c (fold_builtin_cabs): New function to fold cabs{,f,l}.
2985 Evaluate cabs of a constant at compile-time. Convert cabs of a
2986 non-complex argument into fabs. Convert cabs(z) into
2987 sqrt(z.r*z.r + z.i*z.i) at the tree-level with -ffast-math or
2988 -funsafe-math-optimizations or -ffast-math.
2989 (fold_builtin): Convert BUILT_IN_FABS{,F,L} into an ABS_EXPR.
2990 Fold BUILT_IN_CABS{,F,L} using fold_builtin_cabs.
2991
295e823c
JH
2992Thu Jun 5 20:51:09 CEST 2003 Jan Hubicka <jh@suse.cz>
2993
2994 * sourcebuild.texi (Front End Directory): Document new hooks.
2995
9ee634e3
JH
2996Fri Jun 6 11:02:35 CEST 2003 Jan Hubicka <jh@suse.cz>
2997
2998 * function.c (FLOOR_ROUND, CEIL_ROUND): Fix.
07bae5ad
RS
2999 * i386.md (gen_pro_epilogue_adjust_stack): Deal with gigantic
3000 stack frames.
9ee634e3
JH
3001 (pro_epilogue_adjust_stack_rex64_2): New pattern
3002
3003Fri Jun 6 11:03:14 CEST 2003 Jan Hubicka <jh@suse.cz>
3004 Pop Sebastian
3005 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3006
3007 * cfghooks.h, cfghooks.c: New files.
3008 * Makefile.in (BASIC_BLOCK_H): Depends on cfghooks.h.
3009 (OBJS): Add cfghooks.o.
3010 (cfghooks.o): New rule.
3011 * basic-block.h (split_edge): Rename to rtl_split_edge.
3012 (verify_flow_info): Rename to rtl_verify_flow_info.
3013 (cfghooks.h): Included here.
3014 * cfgrtl.c (split_edge): Renamed rtl_split_edge.
3015 (verify_flow_info): Renamed rtl_verify_flow_info.
3016 * toplev.c (rest_of_compilation): Call rtl_register_cfg_hooks.
3017
3018 * basic-block.h (split_block, split_edge, flow_delete_block,
3019 redirect_edge_and_branch, redirect_edge_and_branch_force): Delete.
3020 (flow_delete_block_noexpunge): Return void.
3021 * cfg.c (verify_flow_info): New function.
3022 * cfgcleanup.c (try_simplify_condjump, outgoing_edges_match,
3023 try_crossjump_to_edge, try_optimize_cfg, delete_unreachable_blocks):
3024 Use delete_block.
3025 * cfglayout.c (function_footer): Rename to...
3026 (cfg_layout_function_footer): ... this variable
3027 (unlink_insn_chain): Make global.
3028 (fixup_reorder_chain, record_effective_endpoints): Update.
3029 (cleanup_unconditional_jumps): Use delete_block.
3030 (cfg_layout_redirect_edge, cfg_layout_split_block): Move to cfgrtl.c
3031 (cfg_layout_duplicate_bb): Use redirect_edge_and_branch_force.
3032 (cfg_layout_initialize, cfg_layout_finalize): Update hooks.
3033 * cfglayout.h (cfg_layout_redirect_edge, cfg_layout_split_block): Delete.
3034 (cfg_layout_function_footer): Declare.
3035 * cfgloopmanip (split_loop_bb): Do not update RBI.
3036 (remove_bbs): Use delete_block.
3037 (loop_reidrect_edge, loop_delete_branch_edge): Use
3038 redirect_edge_and_branch.
3039 (create_preheader): Use split_block and redirect_edge_and_branch_force.
3040 (split_edge_with): Likewise.
3041 * cfgrtl.c: Include cfglayout.h
3042 (split_edge): Rename to ...
3043 (rtl_split_edge) ... this one; make local.
3044 (redirect_edge_and_branch): Rename to ...
3045 (rtl_redirect_edge_and_branch) ... this one; make local.
3046 (redirect_edge_and_branch_force): Rename to ...
3047 (rtl_redirect_edge_and_branch_force) ... this one; make local.
3048 (cfg_layout_delete_block, cfg_layout_delete_edge_and_branch_force): New.
3049 (cfg_layout_redirect_edge_and_branch, cfg_layout_split_block): Move here from
3050 cfglayout.c; update to directly call RTL counterparts.
3051 (rtl_cfg_hooks, cfg_layout_rtl_cfg_hooks): New functions.
3052 * ifcvt.c (find_cond_trap): Use delete_block.
3053 (find_if_case_1): Use delete_block.
3054 (find_if_case_2): Use delete_block.
3055 * rtl.h (unlink_insn_chain): Declare.
3056 * toplev.c (rtl_reigster_cfg_hooks): New.
3057
7654db1b
RH
30582003-06-05 Richard Henderson <rth@redhat.com>
3059
3060 * recog.c (peephole2_optimize): Revert last change.
3061
c1dbd774
RH
30622003-06-05 Richard Henderson <rth@redhat.com>
3063
3064 * recog.c (peephole2_optimize): Don't split block unless
3065 can_throw_internal.
3066
a35abc3c
KH
30672003-06-06 Kazu Hirata <kazu@cs.umass.edu>
3068
c1dbd774
RH
3069 * config/h8300/h8300.c (get_shift_alg): Correct the syntax of rotxl.
3070 * config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): Likewise.
a35abc3c 3071
a5f3dd66
KC
30722003-06-05 Kelley Cook <kelleycook@wideopenwest.com>
3073
3074 PR optimization/4490
3075 * config/i386/i386.md: Don't use XFMode if TARGET_128BIT_LONG_DOUBLE.
3076 * doc/invoke.texi (m96bit-long-double, m128bit-long-double): Reword
3077 documentation to accurately reflect what these options do.
3078
25119b21
KK
30792003-06-06 Kaz Kojima <kkojima@gcc.gnu.org>
3080
3081 * config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
3082 (ENDFILE_SPEC): Redefine to handle -pie.
3083
3d818632
PE
30842003-06-05 Phil Edwards <phil@jaj.com>
3085
3086 * Makefile.in (qmtest-g++): Use target_alias, not target.
3087
640da953
PB
30882003-06-05 Per Bothner <pbothner@apple.com>
3089
3090 * toplev.c (push_srcloc): Simplify behavior to save current location
3091 and set current location to parameters.
3092 (pop_srcloc): Simplify semantics.
3093 (lang_dependent_init): Remove now-useless initial push_srcloc.
3094
7d445f15
RH
30952003-05-06 Richard Henderson <rth@redhat.com>
3096
e62b6ea1 3097 * dwarf2out.c (loc_descriptor_from_tree): Return 0 for
7d445f15
RH
3098 language-specific tree codes.
3099
eebfb2aa
JDA
31002003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3101
3102 PR middle-end/9986
3103 * pa.c (pa_init_builtins): Also set implicit_built_in_decls for
3104 BUILT_IN_FPUTC_UNLOCKED to NULL_TREE.
3105
8f231b5d
JH
3106Thu Jun 5 18:32:46 CEST 2003 Jan Hubicka <jh@suse.cz>
3107
3108 * install.tex: Document profiledbootstrap.
3109
295e823c
JH
3110 * configure.in: Add support for lang.stageprofile and
3111 lang.stagefeedback
8f231b5d
JH
3112 * Makefile.in (clean, distclean): Kill new stages
3113 (POSTSTAGE1_FLAGS_TO_PASS): Break from ...
3114 (STAGE2_FLAGS_TO_PASS): ... this one.
3115 (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New.
3116 (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS.
3117 (stageprofile_build, stageprofile_copy, stagefeedback_build,
3118 stagefeedback_copy): New.
e62b6ea1 3119 (restageprofile, restagefeedback, stageprofile-start,
8f231b5d
JH
3120 stageprofile, stagefeedback-start): Likewise.
3121
842a431a
DM
31222003-06-05 David Miller <davem@redhat.com>
3123 Richard Henderson <rth@redhat.com>
3124
3125 * optabs.c (HAVE_conditional_trap): Provide default.
3126 (gen_conditional_trap): Likewise.
3127 (init_optabs): Merge init_traps.
3128 (gen_cond_trap): Use prepare_operand. Restructure and avoid ifdef.
3129
83588a9d
JH
3130Thu Jun 5 14:59:44 CEST 2003 Jan Hubicka <jh@suse.cz>
3131
3132 * combine.c (simplify_if_then_else): (IF_THEN_ELSE (NE REG 0) (0) (8))
e62b6ea1 3133 is REG for nonzero_bits (REG) == 8.
83588a9d 3134
6262f66a
JH
3135Thu Jun 5 13:23:51 CEST 2003 Jan Hubicka <jh@suse.cz>
3136
3137 * i386.md (align): Fix warning; clarify what to do when no p2align
3138 is available.
3139
3a30516d
NC
31402003-06-05 Nick Clifton <nickc@redhat.com>
3141
3142 * config.gcc (m32r-elf): Revert previous delta.
a5fe455b
ZW
3143 * config/m32r/t-m32r (crtinit.o): Fix rule to work with
3144 multilibs. Remove m32rx specific version.
3145 (crtfini.o): Likewise.
3146 (EXTRA_MULTILIB_PARTS): Define.
e62b6ea1 3147
53e5f173
EB
31482003-06-05 Eric Botcazou <ebotcazou@libertysurf.fr>
3149
3150 * doc/md.texi (Machine Constraints): Correct the meaning of
3151 constraints related to floating-point registers on SPARC.
3152
c6cc7e13 31532003-06-05 Eric Botcazou <ebotcazou@libertysurf.fr>
a5fe455b 3154 Paolo Bonzini <bonzini@gnu.org>
c6cc7e13
EB
3155
3156 PR target/10663
3157 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect
3158 assembler and linker output to /dev/null.
3159 Use a 'sed' construct instead of 'grep -A1'.
3160 * configure: Regenerate.
3161
74dc3e94
RH
31622003-06-04 Richard Henderson <rth@redhat.com>
3163
3164 * config/i386/i386.c (struct ix86_address): Add seg.
3165 (no_seg_address_operand): New.
3166 (ix86_decompose_address): Restructure PLUS loop. Accept one
3167 UNSPEC_TP if TARGET_TLS_DIRECT_SEG_REFS. Adjust ESP swap test
3168 to test for a regnum, not stack_pointer_rtx.
3169 (ix86_address_cost): Reduce cost if non-default segment.
3170 (legitimate_address_p): Remove UNSPEC_TP check.
3171 (get_thread_pointer): Add to_reg argument. Don't represent
3172 the thread pointer as a memory load.
3173 (legitimize_tls_address): Split out of ...
3174 (legitimize_address): ... here.
3175 (print_operand_address): Handle parts.seg.
3176 (ix86_expand_move): Use legitimize_tls_address.
3177 (ix86_rtx_costs): Handle UNSPEC_TP.
3178 * config/i386/i386.h (MASK_TLS_DIRECT_SEG_REFS): New.
3179 (TARGET_TLS_DIRECT_SEG_REFS): New.
3180 (TARGET_SWITCHES): Add tls-direct-seg-refs.
3181 (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Default.
3182 (PREDICATE_CODES): Add no_seg_address_operand.
3183 * config/i386/i386.md (lea_1): Use it.
3184 (lea_1_rex64, lea_1_zext, lea_2_rex64): Likewise.
3185 (load_tp_si, add_tp_si, load_tp_di, add_tp_di): New.
3186 * config/i386/linux.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
3187 * config/i386/linux64.h (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): New.
3188 * doc/invoke.texi: Add -mtls-direct-seg-refs.
3189
d7068b3d
MM
31902003-06-04 Mark Mitchell <mark@codesourcery.com>
3191
3192 * Makefile.in (QMTESTRUNFLAGS): Set for DejaGNU emulation.
3193 (QMTEST_GPP_TESTS): Use "g++" by default.
3194 (stamp-qmtest): Tweak database creation.
3195 (QMTEST_DIR/context): Update context file format.
3196 (qmtest-g++): Tweak command-line.
3197
6b6600bd
KG
31982003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3199
3200 * Makefile.in (varasm.o): Don't set -Wno-error.
3201 * rs6000/t-rs6000 (varasm.o, out_object_file): Don't clear.
3202
1072ec3f
ZW
32032003-06-04 Zack Weinberg <zack@codesourcery.com>
3204
3205 PR bootstrap/3163
3206 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete.
3207 (gcc_AC_FUNC_MMAP_BLACKLIST): New.
3208 * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS
3209 and AC_CHECK_FUNCS lists, respectively. Use
3210 gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor
3211 AC_FUNC_MMAP_FILE.
3212 * configure, config.in: Regenerate.
3213
c53dddc2
KG
32142003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3215
3216 * arm/aout.h (ASM_OUTPUT_SKIP): Fix cast for format specifier warning.
3217 * arm.c (arm_output_function_prologue): Fix format specifiers.
3218 * arm.h (ARM_PRINT_OPERAND_ADDRESS): Likewise.
3219 * m68k.c (m68k_output_mi_thunk): Use more readable %wd instead of
3220 HOST_WIDE_INT_PRINT_DEC.
3221 * vax.c (vax_output_function_prologue): Fix format specifiers.
3222
7b9c108f
RH
32232003-06-04 Richard Henderson <rth@redhat.com>
3224
1072ec3f
ZW
3225 * cse.c (find_best_addr): Consider binary operators even if second
3226 argument is not CONST_INT.
7b9c108f 3227
c48ec590
ZD
32282003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3229
3230 * doc/invoke.texi (max-cse-path-length): Document.
3231
9ccf9681
RH
32322003-06-04 Richard Henderson <rth@redhat.com>
3233
3234 * config/i386/i386.md (align): Use ASM_OUTPUT_*ALIGN macros.
3235
9dce39a4
AP
32362003-06-04 Andrew Pinski <pinskia@physics.uc.edu>
3237
3238 * config/rs6000/darwin.h (RS6000_OUTPUT_BASENAME):
3239 Remove semi-colon at the end of the expression.
3240
ad929cd5
KG
32412003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3242
1072ec3f 3243 * i370.c (mvs_function_name_length): Fix signed/unsigned warnings.
ad929cd5
KG
3244 * i370.h (mvs_function_name_length): Likewise.
3245 * i960.h (CONSTANT_ALIGNMENT): Likewise.
3246 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3247 * pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3248 * pa.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3249 * rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Delete unused
3250 variable.
3251
7816bea0
DJ
32522003-06-04 Daniel Jacobowitz <drow@mvista.com>
3253
3254 * config.gcc: Reorganize --with-cpu logic. Set
3255 configure_default_options according to the default CPU, --with-cpu,
3256 --with-arch, --with-tune, --with-schedule, --with-abi, and
3257 --with-float. Check for legal values of various options.
3258 * configure.in: Define configure_default_options in configargs.h.
3259 * configure: Regenerated.
3260 * config/mips/mips.h (TARGET_DEFAULT_ARCH_P)
3261 (TARGET_DEFAULT_FLOAT_P): New macros.
3262 * gcc.c (do_option_spec): New function.
3263 (struct default_spec, option_default_specs): New.
3264 (main): Call do_option_spec.
3265 * config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h,
3266 config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h,
3267 config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define.
3268
3269 * doc/install.texi: Update --with-cpu documentation. Mention
3270 --with-arch, --with-schedule, --with-tune, --with-abi, and
3271 --with-float.
3272 * doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS.
3273
83079d89
DJ
32742003-06-04 Daniel Jacobowitz <drow@mvista.com>
3275
3276 * config.gcc: Only process --with-cpu logic in the third pass.
3277
73f09c99
DJ
32782003-06-04 Daniel Jacobowitz <drow@mvista.com>
3279
3280 * config.gcc: Reorganize --with-cpu section. Remove an
3281 obsolete comment about the default CPU for x86-64. Fix
3282 a typo for the ep9312. Update the list of supported PowerPC
3283 CPUs. Support a limited set of new --with-cpu options
3284 for i386.
3285
165848da
AH
32862003-06-04 Aldy Hernandez <aldyh@redhat.com>
3287
1072ec3f
ZW
3288 * config/rs6000/rs6000.c (rs6000_complex_function_value): Unpack
3289 complex numbers <= 32 bits into two registers.
165848da 3290
74eda121
KG
32912003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3292
3293 * alpha.c (print_operand_address): Fix format specifier warnings.
3294 * alpha/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3295 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3296 * arm/aof.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
3297 * arm/pe.h (ASM_OUTPUT_COMMON): Likewise.
3298 * avr.h (ASM_OUTPUT_COMMON, ASM_GENERATE_INTERNAL_LABEL,
1072ec3f 3299 ASM_OUTPUT_SKIP): Likewise.
74eda121
KG
3300 * c4x.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3301 * dsp16xx.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3302 * h8300.h (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_COMMON):
3303 Likewise.
3304 * i370.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3305 * i386/cygming.h (ASM_OUTPUT_COMMON): Likewise.
3306 * i386/darwin.h (ASM_OUTPUT_COMMON): Likewise.
3307 * i960.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3308 * m68k/hp320.h (PRINT_OPERAND_ADDRESS): Likewise.
3309 * mcore.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3310 * pdp11.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3311 * ptx4.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
3312 * sparc/freebsd.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3313 * svr3.h (ASM_OUTPUT_COMMON): Likewise.
3314
e3091a5f
R
33152003-06-04 J"orn Rennecke <joern.rennecke@superh.com>
3316
3317 * c-decl.c (c_init_decl_processing): Clear input_file_name
3318 while building common nodes.
3319 * dwarf2out.c (gen_compile_unit_die, dwarf2out_finish):
3320 Don't add working directory for strings like <built-in> .
3321
f0483418
DE
33222003-06-04 David Edelsohn <edelsohn@gnu.org>
3323
3324 * doc/install.texi (*-ibm-aix*): Native as and ld required
3325 to bootstrap on AIX 5L.
3326
0bfa5f65
RH
33272003-06-04 Richard Henderson <rth@redhat.com>
3328
1072ec3f
ZW
3329 * c-common.c (handle_cleanup_attribute): New.
3330 (c_common_attributes): Add it.
3331 * c-decl.c (finish_decl): Honor the cleanup attribute.
3332 * doc/extend.texi (Variable Attributes): Document it.
0bfa5f65 3333
1072ec3f
ZW
3334 * unwind-c.c: New file.
3335 * Makefile.in (LIB2ADDEH): Add it.
3336 * config/t-darwin, config/t-linux, config/t-linux-gnulibc1,
3337 config/ia64/t-ia64: Likewise.
0bfa5f65 3338
3edc56a9
JJ
33392003-06-04 Jakub Jelinek <jakub@redhat.com>
3340
3341 * function.c (trampolines_created): New variable.
3342 (expand_function_end): Set it when doing INITIALIZE_TRAMPOLINE.
3343 * function.h (trampolines_created): Add.
3344 * config/s390/linux.h (ASM_FILE_END): Define.
3345 * config/alpha/linux-elf.h (ASM_FILE_END): Define.
3346 * config/m68k/linux.h (ASM_FILE_END): Define.
3347 * config/rs6000/linux.h (ASM_FILE_END): Define.
3348 * config/rs6000/linux64.h (ASM_FILE_END): Define.
3349 * config/rs6000/ppc-asm.h: Add .note.GNU-stack on powerpc-linux.
3350 * config/sparc/linux.h (ASM_FILE_END): Define.
3351 * config/sparc/linux64.h (ASM_FILE_END): Define.
3352 * config/i386/i386.c (ix86_asm_file_end): Use SUBTARGET_FILE_END.
3353 * config/i386/linux.h (SUBTARGET_FILE_END): Define.
3354 * config/i386/linux64.h (SUBTARGET_FILE_END): Define.
3355
d2c49530
JH
3356Wed Jun 4 18:39:33 CEST 2003 Jan Hubicka <jh@suse.cz>
3357
3358 * i386.c (min_insn_size, k8_avoid_jump_misspredicts): New functions
3359 (ix86_reorg): Use it.
3360 * i386.md (align): New insn pattern.
3361
05a0e2af
KG
33622003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3363
3364 * toplev.c (rest_of_type_compilation): Fix typo.
3365
9739c90c
JJ
33662003-06-04 Jakub Jelinek <jakub@redhat.com>
3367 Alan Modra <amodra@bigpond.net.au>
3368
3369 * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1.
3370 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise.
3371 * config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise.
3372 * config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise.
3373 * config/darwin.h (NO_PROFILE_COUNTERS): Likewise.
3374 * final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined.
3375 (profile_function): Allow NO_PROFILE_COUNTERS to be non-constant.
3376 * config/rs6000/rs6000.c (output_profile_hook): Likewise.
3377
3378 * configure.in (powerpc*-*, s390*-*): Set tls_as_opt.
3379 Pass it to $gcc_cv_as.
3380 * configure: Rebuilt.
3381
3382 * config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer.
3383 (print_operand): Allow TARGET_AIX to be non-constant.
3384 (rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore):
3385 Define unconditionally.
3386 (rs6000_elf_declare_function_name): New function.
3387 * config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be
3388 non-constant.
3389 * config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define
3390 to 1.
3391 (DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define.
3392 [IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__
3393 is defined.
3394 (TARGET_AIX): Define to 1 if TARGET_64BIT.
3395 (PROCESSOR_DEFAULT): Remove.
3396 (TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT,
3397 INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
3398 [RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define.
3399 (ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both
3400 -m32 and -m64.
3401 (MULTILIB_DEFAULTS): Define.
3402 (SUBSUBTARGET_EXTRA_SPECS): Define.
3403 (ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define.
3404 (TARGET_TOC): Define only if !RS6000_BI_ARCH.
3405 (TARGET_NO_TOC): Remove.
3406 [!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI,
3407 TARGET_PROTOTYPE): Define to 0.
3408 (NO_PROFILE_COUNTERS): Define to TARGET_64BIT.
3409 (PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT.
3410 (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly
3411 if !TARGET_64BIT.
3412 (USER_LABEL_PREFIX): Remove.
3413 (JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT.
3414 (SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init
3415 if TARGET_64BIT.
3416 (TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64.
3417 (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define.
3418 (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove.
3419 (TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT.
3420 (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
3421 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on
3422 TARGET_64BIT.
3423 (RS6000_CALL_GLUE): Likewise.
3424 (SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX,
3425 RESTORE_FP_SUFFIX): Likewise.
3426 (ASM_DECLARE_FUNCTION_NAME): Remove.
3427 (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE,
3428 DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function
3429 name if TARGET_64BIT.
3430 (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and
3431 !TARGET_64BIT.
3432 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs.
3433 (ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account.
3434 (DRAFT_V4_STRUCT_RET): Define.
3435 (SIGNAL_FRAMESIZE): New enum value.
3436 (MD_FALLBACK_FRAME_STATE_FOR): Define.
3437 * config/rs6000/default64.h: New file.
3438 * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64
3439 options.
3440 (SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it
3441 to RS6000_ABI_NAME. Only disallow mixing of -fPIC with -mcall-aixdesc
3442 if !TARGET_64BIT.
3443 [!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define.
3444 (ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name
3445 function.
3446 (TARGET_OS_SYSV_CPP_BUILTINS): Define.
3447 (TARGET_OS_CPP_BUILTINS): Use it.
3448 (CPP_SYSV_SPEC): Remove.
3449 (CPP_SPEC): Remove cpp_sysv.
3450 (SUBTARGET_EXTRA_SPECS): Remove cpp_sysv.
3451 Add SUBSUBTARGET_EXTRA_SPECS.
3452 (SUBSUBTARGET_EXTRA_SPECS): Define.
3453 * config/rs6000/biarch64.h: New file.
3454 * config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name):
3455 New prototype.
3456 * config/rs6000/x-linux64: New file.
3457 * config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float
3458 multilibs.
3459 * config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__.
3460 * config/rs6000/eabi-cn.asm: Likewise.
3461 * config/rs6000/tramp.asm: Likewise.
3462 * config/rs6000/sol-ci.asm: Likewise.
3463 * config/rs6000/sol-cn.asm: Likewise.
3464 * config/rs6000/linux.h (TARGET_64BIT): Define to 0.
3465 (TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS.
3466 * config/rs6000/ppc-asm.h: Move __powerpc64__ section before
3467 _CALL_AIXDESC section.
3468 * config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler,
3469 defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs
3470 or default32.
3471
150b72ed
DJ
34722003-06-04 Daniel Jacobowitz <drow@mvista.com>
3473
3474 * config.gcc: Revert accidentally committed ARM changes.
3475
385a9348
RS
34762003-06-04 Roger Sayle <roger@eyesopen.com>
3477
3478 * builtins.c (dconstpi, dconste): New mathematical constants.
3479 (init_builtin_dconsts): New function to initialize dconstpi
3480 and dconste.
3481 (fold_builtin): Optimize exp(1.0) = e. Evaluate exp(x) at
3482 compile time with -ffast-math when x is an integer constant.
3483 Optimize tan(0.0) = 0.0. Optimize atan(0.0) = 0.0,
3484 atan(1.0) = pi/4 and tan(atan(x)) = x with -ffast-math.
3485
8c6a8269
RS
34862003-06-04 Roger Sayle <roger@eyesopen.com>
3487
3488 * calls.c (expand_call): Avoid calling pure or const functions
3489 when the result is ignored (or void) and none of the arguments
3490 are volatile. Move warning diagnostic earlier in function.
3491
e2d8bb29
AJ
34922003-06-04 Andreas Jaeger <aj@suse.de>
3493
3494 * system.h: Do not poison TDESC_SECTION_ASM_OP,
3495 RDATA_SECTION_ASM_OP and SUBTARGET_PROLOGUE.
3496
b1721339
KG
34972003-06-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3498
3499 * final.c (asm_fprintf): Update comments, accept "-+ #0" flags,
3500 optimize '%' case, handle %c, don't accept %p, %e, %f or %g,
3501 handle %ll, optimize regular character case.
3502
9bf8cfbf
ZD
35032003-06-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
3504
3505 * Makefile.in (cse.o): Add params.h dependency.
3506 * cse.c: Include params.h.
3507 (PATHLENGTH): Removed.
3508 (struct cse_basic_block_data): Make path array dynamic.
8c6a8269
RS
3509 (cse_end_of_basic_block): Use PARAM_MAX_CSE_PATH_LENGTH instead
3510 of PATHLENGTH.
9bf8cfbf
ZD
3511 (cse_main, cse_basic_block): Allocate path array.
3512 * params.def (PARAM_MAX_CSE_PATH_LENGTH): New.
3513
253c7a00
JH
3514Wed Jun 4 09:49:21 CEST 2003 Jan Hubicka <jh@suse.cz>
3515
3516 * i386.c (ix86_reorg): Replace the jump instead of adding nop.
3517 * i386.md (UNSPEC_REP): New constant.
3518 (return_internal_long): New pattern.
3519
01d3224a
EB
35202003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr>
3521
3522 PR optimization/11018
3523 * config/sparc/sparc.c (sparc_v8plus_shift): Use which_alternative
3524 consistently to decide whether the scratch register is really
3525 required.
3526
ef0139b1
EB
35272003-06-04 Eric Botcazou <ebotcazou@libertysurf.fr>
3528
3529 PR optimization/10876
3530 * config/sparc/sparc.h (CONST_OK_FOR_LETTER): Add
3531 new 'O' constraint for constant 4096.
3532 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
3533 * config/sparc/sparc.md (adddi3 expander): Canonicalize pattern.
3534 Do not transform into MINUS insn for constant 4096.
3535 (*adddi3_sp64 insn): Canonicalize pattern. Add new alternative
3536 for constant 4096 as third operand.
3537 (addsi3 expander): Remove.
3538 (*addsi3 insn): Rename into 'addsi3'. Canonicalize pattern. Add
3539 new alternative for constant 4096 as third operand.
3540 (subdi3 expander): Do not transform into PLUS insn for constant 4096.
3541 (*subdi3_sp64 insn): Add new alternative for constant 4096 as third
3542 operand.
3543 (subsi3 expander): Remove.
3544 (*subsi3 insn): Rename into 'subsi3'. Add new alternative for
3545 constant 4096 as third operand.
3546 * doc/md.texi (Machine Constraints): Document new 'O' constraint for
3547 the SPARC port.
3548
18de8a98
CD
35492003-06-03 Chris Demetriou <cgd@broadcom.com>
3550
3551 * config/mips/t-linux64 (CRTSTUFF_T_CFLAGS_S): Define.
3552
a816c981
AJ
35532003-06-04 Andreas Jaeger <aj@suse.de>
3554
f691dc3b
AJ
3555 * config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
3556
3557 * config/i386/i386.c (ix86_expand_prologue): Do not use
3558 SUBTARGET_PROLOGUE.
3559
3560 * system.h: Poision SUBTARGET_PROLOGUE.
3561
3562 * config/arm/arm-protos.h: Remove unused rdate_section prototype.
3563
3564 * output.h: Remove TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP
3565 dependend code.
3566
3567 * system.h: Poison TDESC_SECTION_ASM_OP and RDATA_SECTION_ASM_OP.
3568
3569 * system.h: Poison INSN_CACHE_DEPTH, INSN_CACHE_SIZE and
3570 INSN_CACHE_LINE_WIDTH.
3571
3572 * libgcc2.c (INSN_CACHE_PLANE_SIZE): Removed.
3573 (__clear_cache): Remove code dependend on INSN_CACHE_DEPTH,
3574 INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
3575
3576 * doc/tm.texi (Trampolines): Remove INSN_CACHE_DEPTH,
3577 INSN_CACHE_SIZE and INSN_CACHE_LINE_WIDTH.
1072ec3f 3578
f691dc3b
AJ
3579 * dbxout.c (dbxout_type): Remove usage of DBX_OUTPUT_ENUM.
3580 (dbxout_symbol): Remove usage of DBX_OUTPUT_CONSTANT_SYMBOL.
3581 (dbxout_block): Remove usage of DBX_OUTPUT_CATCH.
3582 (dbxout_block): Remove usage of DBX_LBRAC_FIRST.
3583 (dbxout_source_file): Remove usage of DBX_OUTPUT_SOURCE_FILENAME.
3584 (dbxout_init): Remove test for DBX_WORKING_DIRECTORY.
3585
3586 * doc/tm.texi (DBX Options): Do not document DBX_LBRAC_FIRST,
3587 DBX_OUTPUT_SOURCE_FILENAME and DBX_OUTPUT_ENUM and
3588 DBX_WORKING_DIRECTORY.
3589
3590 * system.h: Poison DBX_LBRAC_FIRST, DBX_OUTPUT_ENUM,
3591 DBX_OUTPUT_SOURCE_FILENAME and DBX_WORKING_DIRECTORY.
3592
3593 * config/frv/frv-protos.h: Remove unused const_section
3594 declaration.
3595 * config/vax/vax-protos.h: Likewise.
3596
3597 * output.h: Remove CONST_SECTION_ASM_OP usage.
3598
3599 * system.h: Poison CONST_SECTION_ASM_OP.
3600
74764b84
AJ
3601 * crtstuff.c (__do_global_dtors_aux): Remove usage of
3602 CRT_GET_RFIB_TEXT.
f691dc3b
AJ
3603 (frame_dummy): Likewise.
3604 * unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Likewise.
3605 * system.h: Poison CRT_GET_RFIB_TEXT.
1072ec3f 3606
6d3a8e3c
AJ
3607 * collect2.c (is_ctor_dtor): Remove CFRONT_LOSSAGE dependend code.
3608
a816c981
AJ
3609 * fix-header.c: Remove ADD_MISSING_EXTERN_C dependend variables.
3610 (write_lbrac): Remove ADD_MISSING_EXTERN_C dependend code.
3611 (recognized_function): Likewise.
3612 (read_scan_file): Likewise.
3613
df8ca70e
RS
36142003-06-03 Roger Sayle <roger@eyesopen.com>
3615
3616 * optabs.c (expand_binop): Optimize complex multiplication for
3617 the case of squaring a complex argument.
3618
894207cf
RS
36192003-06-03 Roger Sayle <roger@eyesopen.com>
3620
3621 * optabs.c (expand_binop): Attempt to reuse pseudos for duplicate
3622 non-volatile operands of binary operations.
3623 (prepare_cmp_insn): Likewise.
3624
1063147c
RS
36252003-06-03 Roger Sayle <roger@eyesopen.com>
3626
3627 * varasm.c (force_const_mem): Handle alignment of constants not
3628 representable as a type in the front-end language.
3629
a7a7d7ac
KH
36302003-06-03 Kazu Hirata <kazu@cs.umass.edu>
3631
3632 * flow.c (initialize_uninitialized_subregs): Use
3633 emit_move_insn instead of emitting a hardcoded move.
3634
2ef0a555
RH
36352003-06-03 Richard Henderson <rth@redhat.com>
3636
3637 * optabs.c (expand_abs_nojump): Split out from ...
3638 (expand_abs): ... here.
3639 * optabs.h (expand_abs_nojump): Declare.
3640 * ifcvt.c: (noce_try_abs): Use expand_abs_nojump.
3641 * Makefile.in (ifcvt.o): Depend on optabs.h.
3642
b0c242c0
AM
36432003-06-03 Alan Modra <amodra@bigpond.net.au>
3644
3645 * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Heed flag_merge_constants.
3646
2121a768
JT
36472003-06-03 Jason Thorpe <thorpej@wasabisystems.com>
3648
3649 * config.gcc (default_use_cxa_atexit): New variable, defaults to no.
3650 (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit
3651 to yes.
3652 * configure.in: Allow default_use_cxa_atexit to determine the
3653 value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or
3654 disabled.
3655 * configure: Regenerate.
3656
6f6a3861
DR
36572003-06-03 Douglas B Rupp <rupp@gnat.com>
3658
ccb36e10
DR
3659 * Makefile.in (TEXI_GCC_FILES): Remove vms.texi entry.
3660 * doc/gcc.texi: Remove vms.texi section.
3661 * doc/vms.texi: Remove obsolete file.
6f6a3861 3662
dc06db20
R
36632003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
3664
3665 * configure.in (inhibit_libc): Don't define when configuring
3666 with --with-newlib --with-headers.
3667 * configure: Regenerate.
3668
3669 * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
3670
6d07784a
RO
36712003-06-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3672
3673 * configure.in (gcc_cv_as_hidden): Disable .hidden completely on
3674 IRIX 6 without GNU ld.
3675 * configure: Regenerate.
3676
a79b3dc7
RS
36772003-06-03 Roger Sayle <roger@eyesopen.com>
3678
3679 * expr.c (emit_move_insn_1): Use emit_move_insn to move the parts
3680 of a complex number rather than invoke mov_optab directly.
3681
8d6b2775
KH
36822003-06-03 Kazu Hirata <kazu@cs.umass.edu>
3683
3684 * combine.c (simplify_set): Don't move a subreg in SET_SRC to
3685 SET_DEST if WORD_REGISTER_OPERATIONS is not defined.
3686
48ff03c7
NN
36872003-06-03 Nathanael Nerode <neroden@gcc.gnu.org>
3688
3689 * config/i386/x86-64.h: Remove two target-independent comments;
3690 replace "GNU CC" with "GCC".
3691
b09d2739
AG
36922003-06-03 Anthony Green <green@redhat.com>
3693
3694 * config/frv/t-frv (EXTRA_HEADERS): Remove media.h
3695
075ec276
RS
36962003-06-03 Roger Sayle <roger@eyesopen.com>
3697
3698 * builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
3699 New builtins representing ISO C99's cabs, cabsf and cabsl.
3700 * builtins.c (expand_builtin_fabs): New function.
3701 (expand_builtin_cabs): New function.
3702 (expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
3703 using expand_builtin_fabs and expand_builtin_cabs respectively.
3704
3705 * doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
3706
ded9bf77
AH
37072003-06-03 Aldy Hernandez <aldyh@redhat.com>
3708
1072ec3f 3709 * function.c (assign_parms): Split complex arguments.
ded9bf77 3710
1072ec3f 3711 * doc/tm.texi (SPLIT_COMPLEX_ARGS): Document.
ded9bf77 3712
1072ec3f
ZW
3713 * expr.h (SPLIT_COMPLEX_ARGS): Define.
3714 (split_complex_types): Protoize.
3715 (split_complex_values): Protoize.
ded9bf77 3716
1072ec3f
ZW
3717 * calls.c (expand_call): Split complex arguments on architectures
3718 that require it.
3719 (split_complex_values): New.
3720 (split_complex_types): New.
ded9bf77 3721
1072ec3f
ZW
3722 * config/rs6000/rs6000.c (rs6000_libcall_value): New.
3723 (rs6000_function_value): Handle complex values on AIX.
3724 (rs6000_complex_function_value): New.
ded9bf77 3725
1072ec3f 3726 * config/rs6000/rs6000-protos.h (rs6000_libcall_value): Protoize.
ded9bf77 3727
1072ec3f
ZW
3728 * config/rs6000/rs6000.h (LIBCALL_VALUE): Call function.
3729 (SPLIT_COMPLEX_ARGS): New.
ded9bf77 3730
24a4dd31
JJ
37312003-06-03 Jakub Jelinek <jakub@redhat.com>
3732
3733 * configure.in (HAVE_LD_PIE): Check for ld -pie.
3734 * config.in: Rebuilt.
3735 * configure: Rebuilt.
3736 * toplev.c (flag_pie, flag_shlib): New variables.
3737 (f_options): Add -fpie and -fPIE.
3738 (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE.
3739 Set flag_shlib if flag_pic and not -fpie/-fPIE.
3740 * flags.h (flag_pic, flag_shlib): Add.
3741 * varasm.c (default_binds_local_p): Use flag_shlib instead of
3742 flag_pic.
3743 * gcc.c (LINK_PIE_SPEC): Define.
3744 (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC.
3745 (option_map): Add --pie -> -pie mapping.
3746 * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic
3747 and -fPIE the same way as -fPIC.
3748 * config/openbsd.h (ASM_SPEC): Likewise.
3749 * config/frv/frv.h (ASM_SPEC): Likewise.
3750 * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise.
3751 * config/arm/semi.h (ASM_SPEC): Likewise.
3752 * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise.
3753 * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise.
3754 * config/i386/beos-elf.h (CC1_SPEC): Likewise.
3755 * config/i386/freebsd-aout.h (ASM_SPEC): Likewise.
3756 * config/m68k/linux.h (CPP_SPEC): Likewise.
3757 * config/m68k/netbsd.h (ASM_SPEC): Likewise.
3758 * config/m68k/openbsd.h (ASM_SPEC): Likewise.
3759 * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise.
3760 * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise.
3761 * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise.
3762 * config/pa/pa-linux.h (CPP_SPEC): Likewise.
3763 * config/netbsd-aout.h (ASM_SPEC): Likewise.
3764 * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise.
3765 * config/rs6000/vxworks.h (CPP_SPEC): Likewise.
3766 * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
3767 * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise.
3768 * config/sparc/sparc.h (ASM_SPEC): Likewise.
3769 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
3770 * config/sparc/sysv4.h (ASM_SPEC): Likewise.
3771 * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise.
3772 * config/sparc/openbsd64.h (ASM_SPEC): Likewise.
3773 * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise.
3774 * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie.
3775 Simplify.
3776 * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3777 * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3778 * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3779 * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3780 * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3781 * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3782 * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise.
3783 * doc/invoke.texi: Document -pie, -fpie and -fPIE options.
3784
8fd3cf4e
JJ
37852003-06-03 Jakub Jelinek <jakub@redhat.com>
3786
3787 * builtins.c (expand_builtin_memcpy): Remove endp argument and endp
3788 != 0 handling. Pass 0 to store_by_pieces.
3789 (expand_builtin_mempcpy): Add endp argument. Don't call
3790 expand_builtin_memcpy, call store_by_pieces resp. move_by_pieces
3791 directly. If ignoring result, only do expand_call.
3792 (expand_builtin_stpcpy): Likewise. Call expand_builtin_mempcpy
3793 otherwise.
3794 (expand_builtin_strncpy, expand_builtin_memset): Adjust
3795 store_by_pices callers.
3796 (expand_builtin): Adjust expand_builtin_memcpy and
3797 expand_builtin_mempcpy callers.
3798 * expr.c (can_move_by_pieces): New function.
3799 (move_by_pieces): Add endp argument, return to resp. memory at end
3800 or one byte earlier depending on endp.
3801 (store_by_pieces): Likewise.
3802 (emit_block_move): Adjust call to move_by_pieces.
3803 (emit_push_insn): Adjust move_by_pieces caller.
3804 * expr.h (can_move_by_pieces): New prototype.
3805 (store_by_pieces): Adjust prototypes.
3806 * rtl.h (move_by_pieces): Adjust prototype.
3807 * config/mips/mips.c (expand_block_move): Adjust move_by_pieces
3808 caller.
3809
cc6a602b
BE
38102003-06-03 Ben Elliston <bje@wasabisystems.com>
3811
3812 * doc/md.texi (Processor pipeline description): Improve wording.
3813
f75d3e11
NB
38142003-06-03 Neil Booth <neil@daikokuya.co.uk>
3815
3816 * c-opts.c (c_common_handle_option): New, pulled out of
3817 c_common_decode_option. Substitute uses of argv.
3818 (c_common_decode_option): Broken into two.
3819
4c2da7f2
RS
38202003-06-02 Roger Sayle <roger@eyesopen.com>
3821 Zack Weinberg <zack@codesourcery.com>
3822
3823 * emit-rtl.c (gen_complex_constant_part): Remove unnecessary
3824 test of TREE_CONSTANT_POOL_ADDRESS_P.
3825
e91e4f6c
KG
38262003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3827
3828 * mips.c: Don't include output.h twice.
3829 * stormy16.c: Likewise.
3830 * xtensa.c: Likewise.
3831 * output.h: Protect against multiple inclusion.
3832
b38a5244
R
38332003-06-02 J"orn Rennecke <joern.rennecke@superh.com>
3834
3835 * sh.h (OLD_ARG_MODE): New macro.
3836 (FUNCTION_ARG_ADVANCE, FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
3837 (FUNCTION_ARG_1): Break out of:
3838 (FUNCTION_ARG). Use OLD_ARG_MODE.
3839
cc6a602b 38402003-06-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
250315f7 3841
1072ec3f 3842 * gcc/config.gcc Add support multilib parts for m32rx processor.
250315f7 3843
e7aba4cd
KG
38442003-06-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3845
3846 * Makefile.in (c-options.c): Pass in $(AWK) to opts.sh.
3847 (mostlyclean): Delete c-options.c and c-options.h.
3848
c83857ff
NB
38492003-06-02 Neil Booth <neil@daikokuya.co.uk>
3850
3851 * c-opts.c (CL_REJECT_NEGATIVE): New.
3852 (c_common_decode_option): Update to use it.
3853 * c.opt: Update documentation; use RejectNegative.
3854 * opts.sh: Handle RejectNegative.
3855
c770ac2b
ZW
38562003-06-01 Zack Weinberg <zack@codesourcery.com>
3857
3858 * ggc-page.c (init_ggc): Give better diagnostics on failure to
3859 open /dev/zero.
3860 * toplev.c (crash_signal): Reset handling for received signal
3861 to SIG_DFL.
3862
103fc15d
BE
38632003-06-02 Ben Elliston <bje@wasabisystems.com>
3864
3865 * config/arm/arm.c (arm_use_dfa_pipeline_interface): Declare.
d48b7f2a 3866 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define if not already.
103fc15d
BE
3867 (arm_use_dfa_pipeline_interface): Implement.
3868 * config/arm/arm.md (arm): New automaton.
3869 (write_buf): Remove function units; new cpu unit.
3870 (write_blockage): Remove function units; new cpu unit.
3871 (core): Remove function units; new cpu unit.
3872 (r_mem_f_wbuf): New instruction reservation.
3873 (store1_wbuf, store2_wbuf, store3_wbuf, store4_wbuf): Likewise.
3874 (store1_ldsched, store2, store3, store4): Likewise.
3875 (load_ldsched, load_ldsched_xscale, load_or_store): Likewise.
3876 (mult, mult_ldsched, mult_ldsched_strongarm): Likewise.
3877 (multi_cycle, single_cycle): Likewise.
3878 * config/arm/fpa.md (armfp): New automaton.
3879 (fpa): Remove function units; new cpu unit.
3880 (fpa_mem): Remove function unit; new cpu unit.
3881 (fdivx, fdivd, fdivs, fmul, ffmul, farith, ffarith): New reservations.
3882 (r_2_f, f_2_r, f_load, f_store, r_mem_f, f_mem_r): Likewise.
3883
3ae1d4c2
KG
38842003-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3885
3886 * builtin-attrs.def (ATTR_ASM_FPRINTF): New.
3887 * c-format.c (enum format_type): Add asm_fprintf_format_type.
3888 (NOARGUMENTS, asm_fprintf_length_specs, asm_fprintf_flag_specs,
3889 asm_fprintf_flag_pairs, asm_fprintf_char_table): New.
3890 (format_types_orig): Renamed from format_types. Add new data.
3891 (format_types): Declare as pointer.
3892 (handle_format_attribute): Move later in file so we have all
3893 necessary declarations. Add section to capture HOST_WIDE_INT.
3894 * output.h (ATTRIBUTE_ASM_FPRINTF, __gcc_host_wide_int__): New.
3895 (asm_fprintf): Mark with ATTRIBUTE_ASM_FPRINTF.
3896
fd66c4e3
AJ
38972003-06-01 Andreas Jaeger <aj@suse.de>
3898
8842a5e5
AJ
3899 * doc/tm.texi (Storage Layout): Remove ROUND_TYPE_SIZE and
3900 ROUND_TYPE_SIZE_UNIT.
3901
3902 * stor-layout.c (finalize_record_size): Remove usages of
3903 ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
3904 (finalize_type_size): Likewise.
3905 (layout_type): Likewise.
3906
3907 * system.h: Poison ROUND_TYPE_SIZE and ROUND_TYPE_SIZE_UNIT.
3908
e0945432
AJ
3909 * loop.c (check_insn_for_givs): Remove DONT_REDUCE_ADDR macro.
3910
fd66c4e3
AJ
3911 * config/d30v/d30v.h: Remove text copied from the manual.
3912
14ca333d
RS
39132003-06-01 Roger Sayle <roger@eyesopen.com>
3914 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
3915 Geoffrey Keating <geoffk@apple.com>
3916
3917 * emit-rtl.c (gen_lowpart_common): Handle interpreting integer
3918 constants as condition code values.
3919
0cc261bc 39202003-06-01 DJ Delorie <dj@redhat.com>
a7f36da3
DD
3921
3922 * cppmacro.c (warn_of_redefinition): Handle cases where the two
3923 definitions have different numbers of tokens.
3924
8e2b6930
AJ
39252003-06-01 Andreas Jaeger <aj@suse.de>
3926
3927 * gen-protos.c (main): Readd unused attribute for argc.
3928
e11a4ae5
NB
39292003-06-01 Neil Booth <neil@daikokuya.co.uk>
3930
3931 * Makefile.in (c-options.c, c-options.h): Parallel make safe.
3932 * c.opt: End in blank line.
3933 * opts.sh: Take AWK from environment if available; use C locale.
3934
6fc9e67e
AS
39352003-06-01 Andreas Schwab <schwab@suse.de>
3936
3937 * config/m68k/linux.h: Remove code protected by USE_GNULIBC_1.
3938
fa10d367
AJ
39392003-06-01 Andreas Jaeger <aj@suse.de>
3940
3941 * gen-protos.c (main): Revert patch to check for argument.
3942
a3033f34
EB
39432003-06-01 Eric Botcazou <ebotcazou@libertysurf.fr>
3944
3945 PR target/11044
3946 * config/i386/i386.md (length attribute): Set length to 4
3947 for instructions of type "fcmp".
3948
cef2bd3e
AJ
39492003-06-01 Andreas Jaeger <aj@suse.de>
3950
c770ac2b 3951 * toplev.c: Use ISO C90 prototypes.
e25a75e6 3952
c770ac2b 3953 * toplev.h: Use ISO C90 prototypes.
e25a75e6 3954
3d7aafde
AJ
3955 * genrecog.c: Use ISO C90 prototypes.
3956 (nodes_identical): Correct declaration to match prototype.
3957 (maybe_both_true): Likewise.
3958 (merge_trees): Likewise.
3959
3960 * genpeep.c (gen_peephole): Remove #if 0 code.
3961 Use ISO C90 prototypes.
3962
3963 * genattrtab.c (copy_rtx_unchanging): Remove #if 0'ed code.
3964 Remove #if 0'ed function simplify_by_alternatives.
3965 (optimize_attrs): Remove #if 0'ed code.
3966 Remove ^L.
3967 Use ISO C90 prototypes.
3968 (make_canonical): Remove #if 0'ed code.
3969 (convert_const_symbol_ref): Remove #if 0'ed function.
3970
3971 * gen-protos.c (main): Check for argument.
3972
3973 * rtl.h: Use ISO C90 prototypes for functions from lists.c.
3974
3975 * params.h: Use ISO C90 prototypes.
3976 * params.c: Likewise.
3977 * intl.c: Likewise.
3978 * intl.h: Likewise.
3979 * lists.c: Likewise.
3980 * errors.c: Likewise.
3981 * errors.h: Likewise.
3982 * gencodes.c: Likewise.
3983 * genpreds.c: Likewise.
3984 * genattr.c: Likewise.
3985 * gen-protos.c: Likewise.
3986 * genflags.c: Likewise
3987 * genconditions.c: Likewise.
3988 * genautomata.c: Likewise.
3989 * gencheck.c: Likewise.
3990 * genconfig.c: Likewise.
3991 * genconstants.c: Likewise.
3992 * genemit.c: Likewise.
3993 * genextract.c: Likewise.
3994 * gengenrtl.c: Likewise.
3995 * gengtype.c: Likewise.
3996 * gengtype.h: Likewise.
3997 * genopinit.c: Likewise.
3998 * genoutput.c: Likewise.
3999 * gensupport.c: Likewise.
4000 * gensupport.h: Likewise.
4001
cef2bd3e
AJ
4002 * sdbout.h: Use ISO C90 prototypes.
4003
4004 * sdbout.c (CONTIN): Removed empty macro.
4005 (sdbout_one_type): Remove CONTIN usages.
4006 Remove ^Ls.
4007 (tag_of_ru_type): Remove #if 0'ed function.
4008 (sdbout_symbol): Remove #if 0'ed code.
4009 (sdbout_one_type): Remove a #if 1.
4010 (sdbout_one_type): Remove #if 0'ed code.
4011 (sdbout_init): Remove RMS_QUICK_HACK_1 code.
4012 Remove PARAMS, use ISO C90 prototypes for all functions.
4013
43194145
JZ
40142003-06-01 Josef Zlomek <zlomekj@suse.cz>
4015
4016 * rtl.def (CONST_DOUBLE): Update comment.
4017
cea8d816
NB
40182003-06-01 Neil Booth <neil@daikokuya.co.uk>
4019
4020 * opts.sh: Remove path from sort.
4021
28636c6e
AH
40222003-06-01 Aldy Hernandez <aldyh@redhat.com>
4023
965f3913 4024 PR/9680
c770ac2b
ZW
4025 * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Require
4026 TARGET_SPE for SPE_VECTOR_MODE.
28636c6e 4027
ddc9542b
AH
40282003-05-31 Aldy Hernandez <aldyh@redhat.com>
4029
c770ac2b
ZW
4030 * toplev.c (botch): Remove.
4031 (do_abort): Remove.
4032 (set_Wunused): Comment.
4033 (set_Wextra): Comment.
4034 Remove ^L's.
4035 (rest_of_compilation): Factor out common code into functions.
4036 (rest_of_handle_inlining): New.
4037 (rest_of_handle_ssa): New.
4038 (rest_of_handle_cse): New.
4039 (rest_of_handle_gcse): New.
4040 (rest_of_handle_loop_optimize): New.
4041 (rest_of_handle_jump_bypass): New.
4042 (rest_of_handle_sibling_calls): New.
4043 (rest_of_handle_null_pointer): New.
4044 (rest_of_handle_addresof): New.
4045 (rest_of_handle_flow): New.
4046 (rest_of_handle_branch_prob): New.
4047 (rest_of_handle_if_conversion): New.
4048 (rest_of_handle_tracer): New.
4049 (rest_of_handle_loop2): New.
4050 (rest_of_handle_cse2): New.
4051 (rest_of_handle_life): New.
4052 (rest_of_handle_combine): New.
4053 (rest_of_handle_if_after_combine): New.
4054 (rest_of_handle_regmove): New.
4055 (rest_of_handle_sched): New.
4056 (rest_of_handle_old_regalloc): New.
4057 (rest_of_handle_new_regalloc): New.
4058 (rest_of_handle_regrename): New.
4059 (rest_of_handle_reorder_blocks): New.
4060 (rest_of_handle_sched2): New.
4061 (rest_of_handle_new_regalloc): New.
4062 (rest_of_handle_old_regalloc): New.
4063 (rest_of_handle_regrename): New.
4064 (rest_of_handle_reorder_blocks): New.
4065 (rest_of_handle_stack_regs): New.
4066 (rest_of_handle_machine_reorg): New.
4067 (rest_of_handle_delay_slots): New.
4068 (rest_of_handle_final): New.
4069
4070 * toplev.h (botch): Remove prototype.
4071 (do_abort): Same.
ddc9542b 4072
fef3106c
NB
40732003-05-31 Neil Booth <neil@daikokuya.co.uk>
4074
4075 * Makefile.in (c-opts.o, c-options.h): Update dependencies.
4076 * c-opts.c: Include c-options.h and c-options.c.
4077 (CL_C_ONLY, CL_OBJC_ONLY, CL_CXX_ONLY, CL_OBJCXX_ONLY):
4078 Rename CL_C, CL_OBJC, CL_CXX, CL_OBJCXX.
4079 (CL_ARG, CL_ALL, COMMAND_LINE_OPTIONS, struct cl_option,
4080 OPT, opt_comp): Remove.
4081 (missing_arg, c_common_init_options, c_common_decode_option,
4082 write_langs): Update for macro redefinitions and enumeration
4083 name changes.
4084 * c.opt, opts.sh: New files.
4085 * doc/passes.texi: Update.
4086
0d569849
AJ
40872003-05-31 Andreas Jaeger <aj@suse.de>
4088
4089 * function.c (trampoline_address): Remove ALLOCATE_TRAMPOLINE
4090 usage.
4091
4092 * doc/tm.texi (Trampolines): Remove ALLOCATE_TRAMPOLINE.
4093
4094 * config/d30v/d30v.h: Remove traces of ALLOCATE_TRAMPOLINE.
4095
4096 * system.h: Poison ALLOCATE_TRAMPOLINE.
4097
4098 * doc/tm.texi (Misc): Remove HANDLE_PRAGMA.
4099 * system.h: Poison HANDLE_PRAGMA.
4100
e0ce2ed2
KH
41012003-05-31 Kazu Hirata <kazu@cs.umass.edu>
4102
4103 * doc/invoke.texi: Update dump file names.
4104
2ec29bbf
KG
41052003-05-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4106
4107 * c-format.c (format_length_info, format_char_info,
4108 format_flag_spec, format_flag_pair, format_kind_info):
4109 De-const-ify structure members.
4110
4fa26a60
RS
41112003-05-31 Roger Sayle <roger@eyesopen.com>
4112
4113 * flags.h (flag_wrapv): New flag controlling overflow semantics.
4114 * toplev.c (flag_wrapv): Declare the variable with default false.
4115 (lang_independent_options): New option "-fwrapv" to set the above.
4116
0d569849 4117 * fold-const.c (extract_muldiv_1): Disable optimization of (2*x)/2
4fa26a60
RS
4118 as x, when signed arithmetic overflow wraps around.
4119 (fold): Optimize "-A - B" as "-B - A" if overflow wraps around.
4120 * loop.c (basic_induction_var): Ignore BIVs that rely on undefined
4121 overflow when flag_wrapv is true.
4122
4123 * doc/invoke.texi: Document new -fwrapv command line option.
4124 * doc/c-tree.texi: Mention that the overflow semantics of
4125 NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR and MULT_EXPR is dependent
4126 upon both flag_wrapv and flag_trapv.
4127
5fb57097
EB
41282003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
4129
4130 * doc/install.texi (mips-sgi-irix5): Add missing
4131 HTML <hr> marker.
4132
8a69f99f
EB
41332003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
4134
4135 * doc/md.texi (Machine Constraints): Document
4136 missing SPARC constraints.
4137
68e4d4c5
EB
41382003-05-31 Eric Botcazou <ebotcazou@libertysurf.fr>
4139
4140 * doc/md.texi (Automaton pipeline description): Use
4141 "type" instead of "cpu" as the attribute in the examples.
4142
e5bcbd89
SS
41432003-05-30 Stan Shebs <shebs@apple.com>
4144
4145 * system.h: Poison OBJC_PROLOGUE.
4146
b1d673be
RS
41472003-05-30 Roger Sayle <roger@eyesopen.com>
4148
4149 * emit-rtl.c (gen_complex_constant_part): New function for getting
4150 the constant real or imaginary part of a complex constant.
4151 (gen_realpart): Use it.
4152 (gen_imagpart): Likewise.
4153
65d2d764
KH
41542003-05-30 Kazu Hirata <kazu@cs.umass.edu>
4155
4156 * doc/invoke.texi: Fix typos.
4157 * doc/rtl.texi: Likewise.
4158
5c29d24c
DD
41592003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4160
4161 * config/h8300/crti.asm: Use .h8300hn and .h8300sn for normal
4162 mode.
4163 * config/h8300/crtn.asm: Likewise.
4164 * config/h8300/lib1funcs.asm: Likewise.
4165 * config/h8300/h8300.c (asm_file_start): Likewise.
4166 * config/h8300/elf.h (LINK_SPEC): Use h8300hnelf and
4167 h8300snelf emulations for normal mode.
4168 * config/h8300/h8300.h (LINK_SPEC): Use h8300hn and h8300sn
4169 emulations for normal mode.
4170
6d7d3112
DD
41712003-05-30 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4172
4173 * config/h8300/h8300.c (h8300_tiny_constant_address_p): Return
4174 true if TARGET_NORMAL_MODE.
4175
0c19a26f
RS
41762003-05-30 Roger Sayle <roger@eyesopen.com>
4177
4178 * cse.c (cse_insn): Simplify REG_EQUAL note on libcalls when
4179 making a substitution.
4180 (dead_libcall_p): If directly replacing a libcall with a
4181 constant value produces an invalid instruction, also try forcing
4182 the constant into the constant pool.
4183 * expr.c (emit_move_insn): Add a REG_EQUAL note when it is not
4184 obvious that the source is a constant.
4185 (compress_float_constant): Use set_unique_reg_note to place
4186 REG_EQUAL notes on instructions.
4187
9a38893a
EC
41882003-05-30 Eric Christopher <echristo@redhat.com>
4189
4190 * config/mips/mips.c (extern_list): Add GTY marker.
4191 (extern_head): Separate out definition. Add marker.
4192 (mips_output_external): Use ggc_alloc for extern_list
4193 allocation.
4194 (mips_output_external_libcall): Ditto.
4195
3e98a119
FW
41962003-05-30 Florian Weimer <fw@deneb.enyo.de>
4197
4198 * doc/install.texi: Ada-enabled bootstrap requires GNAT 3.14 or
4199 later.
4200
ace49484
KG
42012003-05-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4202
4203 * vax.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier
4204 warnings.
4205 (PRINT_OPERAND): Likewise.
4206
3bd4f460
RO
42072003-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4208
4209 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Move
4210 -mdebug/-no-mdebug switches ...
4211 (MDEBUG_ASM_SPEC): ... here.
4212 Use only with gas.
4213 (EXTRA_SPECS): Initialize mdebug_asm_spec.
4214
8fdf7668
MK
42152003-05-29 Matt Kraai <kraai@alumni.cmu.edu>
4216
4217 * gthr-gnat.c: Remove #undef UNUSED.
4218 (__gnat_default_lock, __gnat_default_unlock): Prototype.
4219 (__gnat_task_lock, __gnat_task_unlock): Make declarations
4220 prototypes.
4221 (__gnat_install_locks): Convert declaration to ISO C90, make
4222 parameter declarations prototypes, and remove blank line.
4223 * gthr-gnat.h (__gnat_install_locks): Make parameter
4224 declarations prototypes.
4225
a7db751a
JM
42262003-05-29 Jason Merrill <jason@redhat.com>
4227
4228 * Makefile.in (unstrap): Remove stage_last after make unstage1.
4229
af7387ca
RS
42302003-05-29 Roger Sayle <roger@eyesopen.com>
4231
4232 * mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
4233
d90f9882
RS
42342003-05-29 Roger Sayle <roger@eyesopen.com>
4235 Kaveh Ghazi <ghazi@caip.rutgers.edu>
4236
4237 PR bootstrap/10169
4238 * mips-tfile.c (main): Use getopt_long instead of getopt.
4239 Add new command line option --version to display version.
4240 Treat --verbose like -v to report a single line version.
4241 (options): New global variable for getopt_long.
4242 * mips-tdump.c (main): Use getopt_long instead of getopt.
4243 New command line options -v, --version and -verbose to display
4244 the program version number (to match mips-tfile's behavior).
4245 (options): New global variable for getopt_long.
4246
4247 * gcov.c (options): Zero-terminate getopt_long array.
4248 * gcov-dump.c (options): Likewise.
4249
4250 * Makefile.in (mips-tdump.o): Add dependency on version.h.
4251
1c36b2f9
SS
42522003-05-29 Stan Shebs <shebs@apple.com>
4253
4254 Remove OBJC_PROLOGUE everywhere.
4255 * objc/objc-act.c (finish_objc): Remove use of OBJC_PROLOGUE.
4256 * config/avr/avr.h: Remove no-op ref to OBJC_PROLOGUE.
4257 * config/d30v/d30v.h: Similarly.
4258 * config/ip2k/ip2k.h: Similarly.
4259 * doc/tm.texi: Remove doc of OBJC_PROLOGUE.
4260
0b82d59c
RS
42612003-05-29 Roger Sayle <roger@eyesopen.com>
4262
4263 * c-semantics.c (genrtl_do_stmt_1): New function split out from...
4264 (gen_rtl_do_stmt): ... here. Call genrtl_do_stmt_1.
4265 (expand_unreachable_stmt): Expand unreachable while statements
4266 using genrtl_do_stmt_1.
4267
c8520e56
RS
42682003-05-29 Richard Sandiford <rsandifo@redhat.com>
4269
4270 * config/mips/mips-protos.h (mips_output_load_label): Declare.
4271 * config/mips/mips.c (mips_output_load_label): New function.
4272 (mips_output_conditional_branch): Use it.
4273 * config/mips/mips.md (jump): And here.
4274
633e4eb4
BW
42752003-05-28 Bob Wilson <bob.wilson@acm.org>
4276
4277 * config/xtensa/xtensa-protos.h (smalloffset_double_mem_p): Delete.
4278 (xtensa_split_operand_pair): New proto.
4279 * config/xtensa/xtensa.c (move_operand): Handle DFmode and DImode.
4280 (smalloffset_double_mem_p): Delete.
4281 (gen_float_relational, printx, print_operand, xtensa_va_arg):
4282 Fix whitespace.
4283 (xtensa_split_operand_pair): New.
4284 (xtensa_dbx_register_number): Fix formatting.
4285 * config/xtensa/xtensa.h (EXTRA_CONSTRAINT): Remove 'S' constraint.
4286 * config/xtensa/xtensa.md (movdi, movdf): Force constants to memory
4287 instead of splitting them into single-word moves. Remove unnecessary
4288 checks for reload_in_progress and reload_completed.
4289 (movdi_internal, movdf_internal): Change to post-reload split patterns.
4290 Add constraints to allow constant operands.
4291 (movsf_internal): Allow CONST_INT operands.
4292
02c67fd1
DS
42932003-05-27 Danny Smith <dannysmith@users.sourceforge.net>
4294
358bdeee
DS
4295 * config.gcc (i[34567]86-*-mingw32*): Add host makefile
4296 fragment i386/x-mingw32.
02c67fd1
DS
4297 * config/i386/x-mingw32: New file. Make local_includedir
4298 relative to EXEC_PREFIX.
4299
0bcbfabb
AL
43002003-05-27 Aaron W. LaFramboise <awlaframboise@aol.com>
4301
4302 * config/i386/mingw32.h (STANDARD_INCLUDE_DIR): Update.
4303 (MD_STARTFILE_PREFIX): Define.
4304
291aac59
DC
43052003-05-27 Denis Chertykov <denisc@overta.ru>
4306
4307 * cselib.c (cselib_invalidate_regno): Abort if hardreg have a
4308 VOIDmode.
4309 * cselib.c (cselib_process_insn): Pass reg_raw_mode for hardreg in
4310 call of cselib_invalidate_regno.
4311
0d2a303e
DJ
43122003-05-28 Daniel Jacobowitz <drow@mvista.com>
4313
4314 * config/mips/linux.h (LIB_SPEC): Add missing -lc and correct
4315 -lthread to -lpthread.
4316
6bf1ffe1 43172003-05-28 Eric Botcazou <ebotcazou@libertysurf.fr>
c770ac2b
ZW
4318 Bruce Korb <bkorb@gnu.org>
4319 Arno Klaassen <arno@heho.snv.jussieu.fr>
6bf1ffe1
EB
4320
4321 * fixinc/inclhack.def: Add missing declaration of getpagesize()
4322 to unistd.h on Solaris 2.5.1.
4323 Fix prototype of recv() and send() in sys/socket.h on
4324 Solaris 2.5.1 and 2.6.
4325 * fixinc/tests/base/unistd.h: Add solaris_unistd fix test.
4326 * fixinc/tests/base/sys/socket.h: Add solaris_socket test.
4327 * fixinc/check.tpl: Use 'diff -c', not 'diff -u'.
4328 * fixinc/fixincl.x: Regenerate.
4329
066f50a9
JM
43302003-05-27 Jason Merrill <jason@redhat.com>
4331
4332 * tree.c (expr_first, expr_length): New fns.
4333 * tree.h: Declare them.
4334
4335 * tree.c (iterative_hash_expr): Hash commutative expressions
4336 consistently.
4337
6bf1ffe1 43382003-05-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7a6cdb44
RK
4339
4340 * tree.h (contains_placeholder_p): Now returns bool.
4341 (CONTAINS_PLACEHOLDER_P): New macro.
4342 (type_contains_placeholder_p): New function.
4343 * tree.c (save_expr): Remove code avoiding folding COMPONENT_REF.
4344 (contains_placeholder_p): Now returns bool.
4345 Rework to use CONTAINS_PLACEHOLDER_P macro.
4346 (type_contains_placeholder_p): New function.
4347 * fold-const.c (fold, case COMPONENT_REF): Don't fold if
4348 type_contains_placeholder_p.
9a38893a 4349 (fold_range_test, fold_mathfn_compare, fold_inf_compare, fold):
7a6cdb44
RK
4350 Use CONTAINS_PLACEHOLDER_P macro.
4351 * builtins.c (fold_builtin): Likewise.
4352 * calls.c (initialize_argument_information): Likewise.
4353 * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
4354 * explow.c (expr_size): Likewise.
4355 * expr.c (store_constructor, get_inner_reference): Likewise.
4356 * function.c (assign_parms): Likewise.
4357 * stor-layout.c (variable_size): Likewise.
4358
d576d043
GDR
43592003-05-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
4360
4361 * diagnostic.h (output_verbatim, verbatim): Remove printf
9a38893a 4362 attribute.
d576d043 4363
65878937
GP
43642003-05-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4365
4366 * doc/contrib.texi (Contributors): Update Kean Johnston.
4367
e033a023
DE
43682003-05-24 David Edelsohn <edelsohn@gnu.org>
4369
4370 * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add length attribute.
4371
4dedfc09
NN
43722003-05-24 Nathanael Nerode <neroden@gcc.gnu.org>
4373
4374 * config/rs6000/440.md, config/stormy16/stormy16protos.h,
4375 config/stormy16/stormy16.c, config/stormy16/stormy16.md:
4376 Replace "GNU CC" with "GCC".
4377
9589325f
MK
43782003-05-24 Matt Kraai <kraai@alumni.cmu.edu>
4379
4380 * builtins.c (expand_builtin_memcpy): Use mode of dest_addr for
4381 intermediate computation.
4382
5299653d
EC
43832003-05-23 Eric Christopher <echristo@redhat.com>
4384
4385 * config/mips/mips.md (clzsi, clzdi): New patterns.
4386
0de12fcc
GK
43872003-05-23 Geoffrey Keating <geoffk@apple.com>
4388
4389 * gcc.c (default_compilers): Use -o to specify preprocessor's output
4390 file. Make -no-integrated-cpp work when building PCH files.
4391 * objc/lang-specs.h: Likewise.
4392
6e6a1681
NN
43932003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
4394
4395 * fixinc/Makefile.in: Correct description.
5299653d 4396 * fixinc/Makefile.in, fixinc/fixfixes.c, fixinc/fixincl.c,
6e6a1681
NN
4397 fixinc/fixlib.c, fixinc/fixlib.h, fixinc/fixtests.c,
4398 fixinc/genfixes: Replace "GNU CC" with "GCC".
4399
29f523be
RS
44002003-05-23 Roger Sayle <roger@eyesopen.com>
4401
65f48a0a 4402 * builtins.def: Define atan, atanf, atanl, tan, tanf and tanl
29f523be
RS
4403 builtin functions (and their __builtin_* variants).
4404 * builtins.c (mathfn_built_in): Handle tan{,f,l} and atan{,f,l}.
4405 (expand_builtin): Don't expand tan{,f,l} or atan{,f,l} when not
4406 optimizing.
4407
4408 * doc/extend.texi: Document new tan and atan builtins, and
4409 their float and long double variants.
4410
27a701c2
JT
44112003-05-23 Jason Thorpe <thorpej@wasabisystems.com>
4412
4413 * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define
4414 __sparcv9 in the TARGET_ARCH64 case.
4415
25f57a0e
JH
4416Fri May 23 22:17:32 CEST 2003 Jan Hubicka <jh@suse.cz>
4417
4418 * i386.c (ix86_reorg): Calls are also jumps.
4419
839844be
R
44202003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
4421
4422 * cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
4423 note containing an EXPR_LIST, process all the arguments.
4424
97242ddc
JH
4425Fri May 23 21:19:31 CEST 2003 Jan Hubicka <jh@suse.cz>
4426 Andreas Jaeger <aj@suse.de>
4427
4428 * i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
4429 do not use assertion.
4430
973a43f6
MS
44312003-05-23 Mike Stump <mrs@apple.com>
4432
4433 * tlink.c (scan_linker_output): Add support for darwin linker, as it
4434 emits unresolved symbols one per line, consuming the entire line.
4435
a27b2b71
LH
44362003-05-23 Larin Hennessy <larin@science.oregonstate.edu>
4437 Zack Weinberg <zack@codesourcery.com>
4438
4439 * explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
4440 * config/m68k/m68k.c (m68k_output_function_prologue):
4441 Remove code under #if NEED_PROBE.
4442 * config/m68k/m68k.h: Don't define NEED_PROBE.
4443 * config/m68k/m68k.md: Remove "probe" insn.
4444 * doc/md.texi: Remove documentation of "probe" pattern.
4445
d3971161
DN
44462003-05-23 Dorit Naishlos <gcchaifa@il.ibm.com>
4447
4448 * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.
4449
0dc7ee3c
EB
44502003-05-23 Eric Botcazou <ebotcazou@libertysurf.fr>
4451
4452 * doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
4453 Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.
4454
18c2511c
RS
44552003-05-22 Roger Sayle <roger@eyesopen.com>
4456
4457 * real.c (real_maxval): New function to return the largest finite
4458 value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
4459 * real.h (real_maxval): Prototype here.
4460 * fold-const.c (fold_inf_compare): Transform comparisons against
4461 +-Infinity into comparisons against DBL_MAX (or equivalent).
4462
5f875c8f
MS
44632003-05-22 Mike Stump <mrs@apple.com>
4464
4465 * config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the
4466 default.
4467
d892f288
DD
44682003-05-22 DJ Delorie <dj@redhat.com>
4469
4470 * calls.c (expand_call): If the arg block is going to grow
4471 downward, we need argblock to point to the top of the block,
4472 not the bottom.
4473
29495994
RK
44742003-05-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4475
4476 * c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
4477
f59700f9
RK
4478 * expr.c (expand_expr, case CONSTRUCTOR): Put into memory if
4479 constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.
4480
1f85a612
KG
44812003-05-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4482
4483 * m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
4484 * m68k.c: Likewise.
4485 * m68k.h: Likewise.
4486
5ded58d0
ZW
44872003-05-22 Zack Weinberg <zack@codesourcery.com>
4488
4489 PR other/2873
4490 * fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
4491 expressions to prevent triggering on recent curses.h,
4492 linux/nls.h, or X11/Xlib.h.
4493 (stdio_va_list): Add _G_va_list to bypass pattern.
4494 (strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
4495 * fixinc/fixincl.x: Regenerate.
4496
04213688
RB
44972003-05-22 Rekha Bhintade <rekhad@kpitcummins.com>
4498
4499 * gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target
5ded58d0 4500 switches when --target-help option is specified.
04213688 4501
fdbf04c8
EB
45022003-05-22 Eric Botcazou <ebotcazou@libertysurf.fr>
4503
4504 PR bootstrap/10805
4505 * doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
4506 failure with Sun assembler 5.0 Alpha 03/27/98.
4507
d3d2e8f0 45082003-05-21 Loren James Rittle <ljrittle@acm.org>
d45d08f7
LR
4509
4510 * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
1490fbc1 4511 to match system compiler convention.
d45d08f7 4512
81888fcd
DS
45132003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
4514
6356f892 4515 * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for nonzero
81888fcd
DS
4516 value, not just if defined.
4517 Update copyright year.
4518
f48758e4
JDA
45192003-05-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
4520
4521 PR target/6428
4522 * pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
4523 directories from LIB_SPEC to LINK_SPEC. Emit warning if `-p' or `-pg'
4524 option is used without `-static'.
4525 * pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
4526 * pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
4527
7a29f483
BW
45282003-05-21 Bob Wilson <bob.wilson@acm.org>
4529
4530 * config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
4531 TARGET_SERIALIZE_VOLATILE): Delete.
4532 (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
4533 (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
4534 (TARGET_SWITCHES): Remove "-mserialize-volatile" and
4535 "-mno-serialize-volatile".
4536 * config/xtensa/xtensa.c (print_operand): Remove checks of
4537 TARGET_SERIALIZE_VOLATILE.
4538 * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
4539 * doc/invoke.texi (Option Summary, Xtensa Options): Remove
4540 "-mserialize-volatile" and "-mno-serialize-volatile" options.
4541
b190f239
NS
45422003-05-21 Nathan Sidwell <nathan@codesourcery.com>
4543
4544 * c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
4545 (nested_function): Likewise.
4546 (notype_nested_function): Likewise.
4547
278566a2
NC
45482003-05-21 Nick Clifton <nickc@redhat.com>
4549
4550 * config/stormy16/stormy-abi: Update overflow type for
4551 R_XSTORMY16_16 reloc.
4552
66804d9e
NS
45532003-05-21 Nathan Sidwell <nathan@codesourcery.com>
4554
4555 * c-common.h (enum rid): Remove RID_BOUNDED, RID_UNBOUNDED.
4556 * c-parse.in (reswords): Remove __bounded__ and __unbounded__.
4557 (rid_to_yy): Remove RID_BOUNDED, RID_UNBOUNDED slots.
4558 * print-tree.c (print_node): Remove ambient-boundedness.
4559 * tree.h (tree_common): Remove bounded_flag.
4560 (BOUNDED_INDIRECT_YPE_P, BOUNDED_POINTER_TYPE_P,
4561 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
4562 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
4563 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
4564 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED, TYPE_QUAL_BOUNDED):
4565 Remove.
4566 (TYPE_QUALS): Remove BOUNDED.
4567 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): Remove.
4568 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
4569 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
4570 TYPE_AMBIENT_BOUNDEDNESS, MAX_POINTER_DEPT,
4571 VA_LIST_POINTER_DEPTH): Remove.
4572 (struct tree_type): Remove pointer_depth.
4573
58228df6
KG
45742003-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4575
4576 * c-pretty-print.c (pp_c_integer_literal): Use
4577 HOST_WIDE_INT_PRINT_DOUBLE_HEX.
4578
bc6688b4
RS
45792003-05-20 Roger Sayle <roger@eyesopen.com>
4580 Kazu Hirata <kazu@cs.umass.edu>
4581 Joern Rennecke <joern.rennecke@superh.com>
4582
4583 * gcse.c (cprop_jump): Make use of REG_EQUAL notes on both
4584 setcc and jump, if they exist. If substituted instruction
4585 fails to validate, store current effort in a REG_EQUAL note.
4586 (cprop_insn): Don't attempt further substitutions if the
4587 current instruction has been deleted.
4588 (local_cprop_pass): Likewise.
4589
4590 * jump.c (redirect_jump): Also update REG_EQUAL note, if
4591 one is attached to the jump instruction.
4592 (invert_jump): Delete REG_EQUAL note on jump, if one exists.
4593
16e31964
DS
45942003-05-21 Danny Smith <dannysmith@users.sourceforge.net>
4595
4596 PR c++/9738
4597 * config/i386/winnt.c (i386_pe_encode_section_info): Enable
4598 even if not first.
4599
1e29b8d7
KG
46002003-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4601
4602 * genautomata.c (output_description, output_automaton_units,
4603 output_state_arcs): Add missing specifiers.
4604
6c2e8d1c
BW
46052003-05-20 Bob Wilson <bob.wilson@acm.org>
4606
4607 * config/xtensa/lib1funcs.asm: Avoid use of .Lfe* in .size directives.
4608 (do_abs, do_addx2, do_addx4, do_addx8): New assembler macros.
4609 (__mulsi3): Use do_addx* instead of ADDX* instructions. Formatting.
4610 (nsau): Rename to do_nsau. Provide alternate version for use when
4611 the NSAU instruction is available.
4612 (__udivsi3, __divsi3, __umodsi3, __modsi3): Use do_nsau macro.
4613 (__divsi3, __modsi3): Use do_abs macro instead of ABS instruction.
4614 * config/xtensa/xtensa-config.h: Update comments to match binutils.
4615 (XCHAL_HAVE_ABS, XCHAL_HAVE_ADDX): Define.
4616 * config/xtensa/xtensa.h (MASK_ABS, MASK_ADDX): Define.
4617 (TARGET_ABS, TARGET_ADDX): Define.
4618 (TARGET_DEFAULT): Conditionally add MASK_ABS and MASK_ADDX.
4619 (TARGET_SWITCHES): Add "abs", "no-abs", "addx", and "no-addx".
4620 * config/xtensa/xtensa.md (*addx2, *addx4, *addx8, *subx2, *subx4,
4621 *subx8): Set predicate condition to TARGET_ADDX.
4622 (abssi2): Set predicate condition to TARGET_ABS.
4623 * doc/invoke.texi (Option Summary): Document new "-mabs", "-mno-abs",
4624 "-maddx", and "-mno-addx" options.
4625 (Xtensa Options): Likewise. Also tag some opcode names with @code.
4626
5d34c8e9
KR
46272003-05-20 Kevin Ryde <user42@zip.com.au>
4628 Wolfgang Bangerth <bangerth@dealii.org>
4629
4630 PR/10355
4631 * doc/extend.texi: Put a warning into the documentation
4632 of attribute regparm.
4633
1cd69e2b
JM
46342003-05-20 Jason Merrill <jason@redhat.com>
4635
4636 * tree.c (expr_last): New fn.
4637 * tree.h: Declare it.
4638 * objc/objc-act (expr_last): Rename to objc_expr_last.
4639
a60a9553
R
46402003-05-20 J"orn Rennecke <joern.rennecke@superh.com>
4641
4642 * sh.c (sh_register_move_cost): Add clase for moving between
4643 FP registers and MAC registers.
4644
12df72e8
JDA
46452003-05-19 John David Anglin <dave.anglin@nrc-gnrc.gc.ca>
4646
4647 * pa/milli64.S ($$mulI): Fix typo.
4648
07b7c979
MK
46492003-05-19 Matt Kraai <kraai@alumni.cmu.edu>
4650
4651 * alias.c (nonlocal_mentioned_p, nonlocal_referenced_p)
4652 (nonlocal_set_p): Remove initial blank line.
4653 * dwarf2out.c (simple_type_size_in_bits): Likewise.
4654 * et-forest.c (et_forest_create): Likewise.
4655 * explow.c (stabilize): Likewise.
4656 * fix-header.c (write_lbrac): Likewise.
4657 * graph.c (start_fct, node_data): Likewise.
4658 * jump.c (only_sets_cc0_p, sets_cc0_p): Likewise.
4659 * rtlanal.c (global_reg_mentioned_p): Likewise.
4660 * tree.c (bit_position): Likewise.
4661
fb9fc9f9
AO
46622003-05-19 Alexandre Oliva <aoliva@redhat.com>
4663
4664 * config/mips/linux64.h (LIB_SPEC): Add missing -lc and correct
4665 -lthread to -lpthread.
4666
42ad6c9e
NB
46672003-05-19 Neil Booth <neil@daikokuya.co.uk>
4668
4669 * c-opts.c (c_common_decode_option): Don't accept dollars
4670 as identifier characters in assembly.
4671 * doc/cpp.texi: Document this.
4672
4b6fe6b6
SA
46732003-05-19 Seth Arnold <sarnold@wirex.com>
4674 Aldy Hernandez <aldyh@redhat.com>
4675
5ded58d0
ZW
4676 * config/rs6000/rs6000.c (rs6000_stack_info): Do not add
4677 vrsave_size twice.
4b6fe6b6 4678
ce376beb
AH
46792003-05-19 Aldy Hernandez <aldyh@redhat.com>
4680
5ded58d0 4681 * doc/tm.texi (function_arg): Fix typo.
ce376beb 4682
a01fff59
MA
46832003-05-19 Matt Austern <austern@apple.com>
4684
4685 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-offsetof option.
4686 * c-common.h (warn_invalid_offsetof): Declare.
4687 * c-common.c (warn_invalid_offsetof): Define.
4688 * doc/invoke.texi: Document -Winvalid-offsetof.
4689 * testsuite/g++.dg/other/offsetof3.C: New.
4690 * testsuite/g++.dg/other/offsetof4.C: New.
5ded58d0 4691
025d9908 46922003-05-19 Kevin B. Hendricks <kevin.hendricks@sympatico.ca>
5ded58d0 4693 David Edelsohn <edelsohn@gnu.org>
025d9908
KH
4694
4695 * config/rs6000/rs6000.c (rs6000_alignment_string,
4696 rs6000_alignment_flags): New variables.
4697 (rs6000_parse_alignment_option): New function.
4698 (rs6000_override_options): Call it.
4699 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add -malign-XXX option.
4700 (MASK_ALIGN_POWER, MASK_ALIGN_NATURAL, TARGET_ALIGN_NATURAL): New
4701 macros.
4702 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Always use COMPUTED
4703 natural alignment if TARGET_NATURAL_ALIGNMENT
4704 (ROUND_TYPE_ALIGN): Always use default record alignment if
4705 TAGET_NATURAL_ALIGNMENT.
4706 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Same
4707 (ROUND_TYPE_ALIGN): Same.
4708 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Same
4709 (ROUND_TYPE_ALIGN): Same.
6184e8a4
KH
4710 * doc/invoke.texi (Option Summary, PowerPC Options): Document
4711 new options.
025d9908 4712
52a8b7b8
R
47132003-05-19 J"orn Rennecke <joern.rennecke@superh.com>
4714
4715 * c-decl.c (finish_decl): When setting the DECL_ASSEMBLER_NAME
4716 of a function using ASMSPEC, prepend a star.
4717
68594ce7
JM
47182003-05-19 Jason Merrill <jason@redhat.com>
4719
4720 * tree-inline.c (copy_body_r): Avoid generating &* during inline
4721 substitution.
4722
6208b55d
AM
47232003-05-19 Andrew Macleod <amacleod@redhat.com>
4724
4725 * config/stormy16/stormy16.c (xstormy16_expand_prologue): Do
4726 not mark assignments to the hard frame pointer as being stack
4727 frame related.
4728 (xstormy16_expand_epilogue): Mark adjustments to the stack
4729 pointer as being stack frame related.
4730
21c9500d
RS
47312003-05-19 Richard Sandiford <rsandifo@redhat.com>
4732
4733 * config/mips/mips.h (ISA_HAS_LOAD_DELAY, ISA_HAS_XFER_DELAY,
4734 ISA_HAS_FCMP_DELAY, ISA_HAS_HILO_INTERLOCKS): New macros.
4735 (PREDICATE_CODES): Add hilo_operand.
4736 * config/mips/mips.c (hilo_operand): New predicate.
4737 (mips_adjust_insn_length): Account for the number nops that might
4738 be needed to avoid hardware hazards.
4739 * config/mips/mips.md (dslot): Remove attribute.
4740 (hazard): New attribute.
4741 (can_delay): Use it. Check for calls, branches & jumps.
4742 (muldi3): Use the standard dmult pattern for mips16 code.
4743 (muldi3_internal, muldi3_internal2): Adjust conditions accordingly.
4744
f29d1b66
RS
47452003-05-19 Richard Sandiford <rsandifo@redhat.com>
4746
4747 * config/mips/mips-protos.h (final_prescan_insn,
4748 mips_count_memory_refs, mips_fill_delay_slot): Remove.
4749 * config/mips/mips.h (delay_type, dslots_load_total,
4750 dslots_load_filled, dslots_jump_total, dslots_jump_filled,
4751 dslots_number_nops, num_refs, mips_load_reg, mips_load_reg2,
4752 mips_load_reg3, mips_load_reg4): Remove.
4753 (MASK_STATS): Remove.
4754 (MASK_EXPLICIT_RELOCS): Reuse its value.
4755 (TARGET_STATS): Remove.
4756 (TARGET_SWITCHES): Turn -mstats and -mno-stats into no-ops.
4757 Warn that -mstats is now ignored.
4758 (FINAL_PRESCAN_INSN): Undefine.
4759 (DBR_OUTPUT_SEQEND): Remove handling of dslot statistics.
4760 (ASM_OUTPUT_REG_POP): Likewise.
4761 * config/mips/mips.c (dslots_load_total, dslots_load_filled,
4762 dslots_jump_total, dslots_jump_filled, dslots_number_nops, num_refs,
4763 mips_load_reg, mips_load_reg2, mips_load_reg3, mips_load_reg4,
4764 mips_fill_delay_slot, mips_count_memory_refs,
4765 final_prescan_insn): Remove.
4766 (output_block_move): Remove calls to mips_count_memory_refs.
4767 (print_operand): Remove printing of #nop for TARGET_STATS.
4768 (mips_output_function_epilogue): Remove TARGET_STATS code.
4769 Reorganize setting of fnnmae.
4770 * config/mips/mips.md: Remove handling of dslot statistics
4771 throughout file. Change all fcmp patterns into normal asm
4772 templates, removing calls to mips_fill_delay_slot.
4773 * doc/invoke.texi: Remove documentation of -mstats.
4774
30a38382
RS
47752003-05-19 Richard Sandiford <rsandifo@redhat.com>
4776
4777 * config/mips/mips.c (mips_class_max_nregs): Return the number of
4778 words in the mode.
4779
beb14bd5
RS
47802003-05-19 Richard Sandiford <rsandifo@redhat.com>
4781
4782 * config/mips/mips.c (override_options): Disable explicit
4783 relocs for old ABIs unless using gas.
4784
1c745a02
EC
47852003-05-18 Eric Christopher <echristo@redhat.com>
4786
4787 * config/mips/mips.h: Remove definition of g_switch_value.
4788
307b599c
MK
47892003-05-18 Matt Kraai <kraai@alumni.cmu.edu>
4790
4791 * flags.h (g_switch_value): Change to an unsigned
4792 HOST_WIDE_INT.
4793 * toplev.c (g_switch_value): Likewise.
4794
4795 * config/alpha/alpha.c (small_symbolic_operand): Remove
1c745a02 4796 g_switch_value cast.
307b599c
MK
4797 (alpha_in_small_data_p): Cast size to an unsigned
4798 HOST_WIDE_INT.
4799
4800 * config/frv/frv.c (frv_in_small_data_p): Cast size to an
4801 unsigned HOST_WIDE_INT.
4802 * config/frv/frv.h (g_switch_value, g_switch_set): Remove.
4803 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Declare g_switch_set.
4804
4805 * config/m32r/m32r.c (m32r_in_small_data_p): Cast size to an
4806 unsigned HOST_WIDE_INT.
4807 (m32r_asm_file_start): Use HOST_WIDE_INT_PRINT_UNSIGNED.
4808 * config/m32r/m32r.h (g_switch_value, g_switch_set): Remove.
4809 (ASM_OUTPUT_ALIGNED_COMMON): Declare g_switch_value.
4810
4811 * config/rs6000/rs6000.c (rs6000_file_start): Use
4812 HOST_WIDE_INT_PRINT_UNSIGNED.
4813 (small_data_operand): Cast summand to unsigned HOST_WIDE_INT.
4814 (rs6000_elf_in_small_data_p): Cast size to unsigned
4815 HOST_WIDE_INT.
4816 * config/rs6000/sysv4.h (g_switch_value, g_switch_set):
4817 Remove.
4818 (SUBTARGET_OVERRIDE_OPTIONS): Declare g_switch_value and
4819 g_switch_set.
4820 (ASM_OUTPUT_ALIGNED_LOCAL): Declare g_switch_value and remove
4821 g_switch_value cast.
4822
731ae8dd
RS
48232003-05-18 Roger Sayle <roger@eyesopen.com>
4824 Zack Weinberg <zack@codesourcery.com>
4825
4826 PR middle-end/10472
4827 * builtins.c (expand_builtin_memcpy): Call force_operand on
4828 expressions and use simplify_gen_binary to create the addition.
4829
d1b3178b
AS
48302003-05-18 Andreas Schwab <schwab@suse.de>
4831
4832 * config/m68k/m68k.md: Use define_constants for unspec numbers.
4833
094a51ff
NB
48342003-05-18 Neil Booth <neil@daikokuya.co.uk>
4835
4836 * config/sparc/sparc.h: Define sparc for now.
7d4f6041
NN
48372003-05-18 Nathanael Nerode <neroden@gcc.gnu.org>
4838
6a38414a
NN
4839 * config.gcc: Clear xm_file, md_file at the beginning of each pass.
4840
1c745a02 4841 * config/stormy16/stormy16.h: Remove about 3000 lines of
595cac16
NN
4842 target-independent comments. Update copyright notice.
4843
7d4f6041
NN
4844 * doc/collect2.texi: GNU CC -> GCC.
4845 * doc/headerdirs.texi: GNU CC -> GCC.
4846
5e0c54e5
GDR
48472003-05-18 Gabriel Dos Reis <gdr@integrable-solutions.net>
4848
4849 * hashtable.h (struct ht_identifier): Add data member "hash_value".
1c745a02 4850 * hashtable.c (ht_lookup): Use it when searching, remember.
5e0c54e5
GDR
4851 (ht_expand): Do not recompute.
4852 * tree.h (IDENTIFIER_HASH_VALUE): New macro.
4853
dc1f1d7f
NS
48542003-05-18 Nathan Sidwell <nathan@codesourcery.com>
4855
4856 * gcov-io.c (gcov_read_bytes): Fix fread thinko.
4857
4e2e315f
NB
48582003-05-18 Neil Booth <neil@daikokuya.co.uk>
4859
4860 * c-cppbuiltin.c (TARGET_OS_CPP_BUILTINS, TARGET_OBJFMT_CPP_BUILTINS):
4861 Default here.
4862 (c_cpp_builtins): Invoke TARGET_OBJFMT_CPP_BUILTINS().
4863 * defaults.h: Don't default TARGET_OS_CPP_BUILTINS here.
4864 * config/elfos.h (TARGET_OBJFMT_CPP_BUILTINS): Define __ELF__.
4865 * config/freebsd-spec.h, config/netbsd-elf.h, config/alpha/gnu.h,
4866 config/arm/linux-elf.h, config/arm/rtems-elf.h,
4867 config/arm/unknown-elf.h, config/cris/cris.h, config/cris/linux.h,
4868 config/h8300/elf.h, config/i370/linux.h, config/i386/beos-elf.h,
4869 config/i386/gnu.h, config/i386/linux.h, config/i386/linux64.h,
4870 config/i386/moss.h, config/i386/rtemself.h, config/ia64/ia64.h,
4871 config/m68k/rtemself.h, config/mcore/mcore-elf.h, config/mips/linux.h,
4872 config/pa/pa-linux.h, config/rs6000/linux.h, config/rs6000/linux64.h,
4873 config/rs6000/sysv4.h, config/rs6000/vxworks.h, config/s390/linux.h,
4874 config/sh/coff.h, config/sh/elf.h, config/sh/rtemself.h,
4875 config/sh/sh.h, config/sparc/linux.h, config/sparc/linux64.h,
4876 config/sparc/openbsd64.h, config/sparc/sp64-elf.h,
4877 config/sparc/sp86x-elf.h, config/xtensa/elf.h, config/xtensa/linux.h:
4878 Don't define __ELF__.
4879 * config/alpha.h, config/m68k/linux.h (TARGET_OBJFMT_CPP_BUILTINS):
4880 Define __ELF__.
4881 * doc/cpp.texi: Document __ELF__.
1c745a02 4882 * doc/tm.texi: Document TARGET_OBJFMT_CPP_BUILTINS. *
4e2e315f 4883
e34d07f2
KG
48842003-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4885
4886 * builtins.c (validate_arglist): Eliminate libiberty VA_ macros,
4887 always use stdarg.
4888 * c-errors.c (pedwarn_c99): Likewise.
4889 * c-format.c (status_warning): Likewise.
4890 * c-semantics.c (build_stmt): Likewise.
4891 * calls.c (emit_library_call, emit_library_call_value): Likewise.
4892 * collect2.c (notice, fatal_perror, fatal, error): Likewise.
4893 * cpperror.c (cpp_error, cpp_error_with_line): Likewise.
4894 * diagnostic.c (build_message_string, output_printf,
4895 output_verbatim, verbatim, inform, warning, pedwarn, error, sorry,
4896 fatal_error, internal_error, warning_with_decl, pedwarn_with_decl,
4897 error_with_decl, fnotice): Likewise.
4898 * dwarf2asm.c (dw2_asm_output_data, dw2_asm_output_delta,
4899 dw2_asm_output_offset, dw2_asm_output_pcrel, dw2_asm_output_addr,
4900 dw2_asm_output_addr_rtx, dw2_asm_output_nstring,
4901 dw2_asm_output_data_uleb128, dw2_asm_output_data_sleb128,
4902 dw2_asm_output_delta_uleb128, dw2_asm_output_delta_sleb128,
4903 dw2_asm_output_encoded_addr_rtx): Likewise.
4904 * emit-rtl.c (gen_rtx, gen_rtvec): Likewise.
4905 * errors.c (warning, error, fatal, internal_error): Likewise.
4906 * final.c (output_operand_lossage, asm_fprintf): Likewise.
4907 * fix-header.c (fatal): Likewise.
4908 * gcc.c (fatal, error, notice): Likewise.
4909 * gcov.c (fnotice): Likewise.
4910 * genattrtab.c (attr_rtx, attr_printf): Likewise.
4911 * gengtype.c (error_at_line, xasprintf, oprintf): Likewise.
4912 * gensupport.c (message_with_line): Likewise.
4913 * mips-tfile.c (fatal, error): Likewise.
4914 * protoize.c (notice): Likewise.
4915 * ra-debug.c (ra_debug_msg): Likewise.
4916 * read-rtl.c (fatal_with_file_and_line): Likewise.
4917 * rtl-error.c (error_for_asm, warning_for_asm): Likewise.
4918 * tree.c (build, build_nt, build_function_type_list): Likewise.
4919
c08f71aa
NB
49202003-05-17 Neil Booth <neil@daikokuya.co.uk>
4921
4922 * defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
4923 * gcc.c (cpp_predefines): Remove.
4924 (cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
4925 (static_specs): Remove predefines.
4926 * system.h: Poison CPP_PREDEFINES.
4927 * config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
4928 config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.
4929
a7fbe404
NB
49302003-05-17 Neil Booth <neil@daikokuya.co.uk>
4931
4932 * config/m68k/hp320.h, config/m68k/linux.h, config/m68k/m68k-none.h,
4933 config/m68k/m68k.h, config/m68k/m68kemb.h, config/m68k/m68kv4.h,
4934 config/m68k/openbsd.h, config/m68k/rtemself.h: Remove CPP_PREDEFINES,
4935 use TARGET_OS_CPP_BUILTINS and TARGET_CPU_CPP_BUILTINS instead.
4936
b1822ccc
NB
49372003-05-17 Neil Booth <neil@daikokuya.co.uk>
4938
3af15d58 4939 PR c/9209
b1822ccc
NB
4940 * c-common.c, c-common.h (dollars_in_ident): Remove.
4941 * c-opts.c (DOLLARS_IN_IDENTIFIERS): Default to true.
4942 (c_common_init_options, c_common_decode_option): Set dollars_in_ident.
4943 * cpphash.h (warned_dollar): Rename warn_dollars.
4944 * cppinit.c (struct lang_flags, lang_defaults, cpp_set_lang)
4945 Permit dollars regardless of -std=.
4946 (post_options): Set warn_dollars.
4947 * cpplex.c (forms_identifier_p): Use warn_dollars.
4948 * config/darwin.h, config/alpha/vms.h, config/m68hc11/m68hc11.h:
4949 Remove redundant definitions of DOLLARS_IN_IDENTIFIERS.
4950 * doc/cpp.texi, doc/cppopts.texi, doc/invoke.texi, doc/tm.texi:
4951 Update documentation.
4952
a69e127b
AS
49532003-05-17 Andreas Schwab <schwab@suse.de>
4954
4955 * config/m68k/m68k.c (m68k_output_function_prologue): Use
4956 HOST_WIDE_INT_PRINT_DEC for fprintf and %wd for asm_fprintf when
4957 formatting a HOST_WIDE_INT.
4958 (m68k_output_function_epilogue): Likewise.
4959
2aea0b53
ZW
49602003-05-17 Zack Weinberg <zack@codesourcery.com>
4961
4962 * doc/install.texi: Remove information about desupported targets.
4963
1a8965c4
AS
49642003-05-17 Andreas Schwab <schwab@suse.de>
4965
4966 * config/m68k/coff.h: Remove support for Sun FPA and Sun SKY board.
4967 * config/m68k/linux.h: Likewise.
4968 * config/m68k/m68k-none.h: Likewise.
4969 * config/m68k/netbsd-elf.h: Likewise.
4970 * config/m68k/sgs.h: Likewise.
4971 * config/m68k/m68k.h: Likewise.
4972 * config/m68k/m68k.md: Likewise.
4973 * config/m68k/m68k.c: Likewise.
4974 * doc/md.texi (Machine Constraints): Remove Sun FPA specific
4975 constraints.
4976 * doc/invoke.texi (Option Summary): Remove -mfpa.
4977 (M680x0 Options): Likewise.
4978
2a8fa26c
DE
49792003-05-17 David Edelsohn <edelsohn@gnu.org>
4980
4981 * rs6000.c (rs6000_function_value): Simplify REAL_TYPE logic.
4982
6508bdd5
NB
49832003-05-17 Neil Booth <neil@daikokuya.co.uk>
4984
4985 * config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
4986 * config/sparc/liteelf.h, config/sparc/openbsd64.h,
4987 config/sparc/rtemself.h, config/sparc/sol2-64.h,
4988 config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
4989 Update for use of TARGET_SUB_OS_CPP_BUILTINS.
4990
8d55c164
NB
49912003-05-17 Neil Booth <neil@daikokuya.co.uk>
4992
4993 * i960/i960.h, i960/rtems.h: Use TARGET_OS_CPP_BUILTINS and
4994 TARGET_CPU_CPP_BUILTINS in preference to CPP_PREDEFINES.
4995
9b8466f4
NB
49962003-05-17 Neil Booth <neil@daikokuya.co.uk>
4997
4998 * config.gcc (sparc-*-sysv4*): Add sparc/sysv4-only.h.
4999 * sparc/aout.h, sparc/elf.h, sparc/freebsd.h, sparc/linux.h,
5000 sparc/linux64.h, sparc/lite.h, sparc/litecoff.h, sparc/liteelf.h,
5001 sparc/netbsd-elf.h, sparc/openbsd.h, sparc/openbsd64.h,
5002 sparc/pbd.h, sparc/rtemself.h, sparc/sol2-64.h, sparc/sol2-bi.h,
5003 sparc/sol2.h, sparc/sp64-elf.h, sparc/sp86-elf.h, sparc/sparc.h,
5004 sparc/sysv4.h,
5005 * sparc/sysv4-only.h: New.
5006
5c07bd7a
AM
50072003-05-17 Alan Modra <amodra@bigpond.net.au>
5008
5009 * function.c (assign_parms): Check for zero size args.
5010
7e53359d
KG
50112003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5012
90ff44cf
KG
5013 * cfgloopanal.c (test_for_iteration): Use string concatentation on
5014 HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
5015 function calls into one.
5016 * dbxout.c (dbxout_symbol): Likewise.
5017 * defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
5018 * dwarf2asm.c (dw2_asm_output_data_uleb128,
5019 dw2_asm_output_data_sleb128): Likewise.
5020 * genrecog.c (debug_decision_2): Likewise.
5021 * loop.c (emit_prefetch_instructions): Likewise.
5022 * print-rtl.c (print_rtx): Likewise.
5023 * print-tree.c (print_node_brief, print_node): Likewise.
5024 * ra-debug.c (dump_igraph, dump_graph_cost,
5025 dump_static_insn_cost): Likewise.
5026 * ra-rewrite.c (dump_cost): Likewise.
5027 * sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5028 * sreal.c (dump_sreal): Likewise.
5029 * unroll.c (unroll_loop, precondition_loop_p): Likewise.
5030 * varasm.c (assemble_vtable_entry): Likewise.
5031
7e53359d
KG
5032 * avr.c (avr_output_function_prologue,
5033 avr_output_function_epilogue, print_operand): Fix format specifier
5034 warnings.
5035 (init_cumulative_args): Mark parameter with ATTRIBUTE_UNUSED.
5036 * avr.h (FUNCTION_VALUE_REGNO_P): Fix signed/unsigned warnings.
5037
79406520
GK
50382003-05-16 Geoffrey Keating <geoffk@apple.com>
5039
cabfd258
GK
5040 * config/rs6000/rs6000.c (expand_block_move): Unify the TARGET_STRING
5041 and ! TARGET_STRING cases.
5042
79406520
GK
5043 * doc/cppopts.texi (-undef): Fix texinfo warning.
5044
5045 * doc/cppopts.texi (-H): Document that -H works for PCH files too.
5046 * cppfiles.c (validate_pch): When -H is used, print some information
5047 about PCH files found.
5048
190162de
RK
50492003-05-16 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5050
5051 * config/mips/t-elf: Remove obsolete rules adding dependencies on tm.h.
5052 * config/mips/t-isa3264, config/mips/t-r3900: Likewise.
5053 * config/mips/t-sr71k: Likewise.
5054
69487202
KG
50552003-05-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5056
15a5dddc
KG
5057 * arc.c (arc_output_function_prologue,
5058 arc_output_function_epilogue): Fix format specifier warnings.
2aea0b53 5059 * arc.h (LARGE_INT): Fix signed/unsigned warnings.
15a5dddc 5060
e0b3adcb
KG
5061 * v850.c (print_operand): Fix format specifier warnings.
5062
8745765a 5063 * ns32k.c (ADJSP, ns32k_output_function_prologue): Fix format
2aea0b53 5064 specifier warnings.
8745765a 5065
fd7b8952
KG
5066 * mcore.c (mcore_print_operand_address, mcore_print_operand): Fix
5067 format specifier warnings.
5068
f5a1c99c
KG
5069 * ip2k.c (function_prologue, function_epilogue, print_operand):
5070 Fix format specifier warnings.
5071 * ip2k.md: Likewise.
5072
0c6b830b
KG
5073 * i960.c (i960_output_function_prologue, i960_print_operand,
5074 i960_print_operand_addr): Fix format specifier warnings.
5075
94c5db54
KG
5076 * i370.c (ascebc, ebcasc): Wrap in macros controlling usage.
5077 (i370_output_function_prologue): Fix format specifier warnings.
5078 * i370.h (PRINT_OPERAND): Likewise.
5079
1bdfacf6
KG
5080 * fr30.c (fr30_print_operand): Fix format specifier warnings.
5081
5f1ed3b2
KG
5082 * dsp16xx.c (print_operand_address): Fix format specifier warning.
5083 * dsp16xx.h (INCLUDE_DEFAULTS): Add missing initializers.
5084
13a8b496
KG
5085 * c4x.c (c4x_print_operand, c4x_print_operand_address): Fix format
5086 specifier warnings.
5087
4a0a75dd
KG
5088 * alpha.c (print_operand_address, alpha_start_function,
5089 unicosmk_output_ssib): Use string concatentation on
5090 HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
5091 function calls into one.
5092 * arm.c (arm_print_operand): Likewise.
5093 * cris.c (cris_asm_output_mi_thunk): Likewise.
5094 * frv.c (frv_asm_output_mi_thunk): Likewise.
5095 * ia64.c (ia64_print_operand, process_set): Likewise.
5096 * m68k.c (m68k_output_function_epilogue, m68k_output_mi_thunk):
5097 Likewise.
5098 * mips/iris5gas.h (PUT_SDB_SIZE): Likewise.
5099 * mips.h (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
5100 * pa.c (output_div_insn, pa_asm_output_mi_thunk): Likewise.
5101 * pa.h (PRINT_OPERAND_ADDRESS): Likewise.
5102 * rs6000.c (rs6000_va_start, print_operand_address): Likewise.
5103 * s390.c (s390_assemble_integer): Likewise.
5104 * sparc.c (sparc_flat_function_prologue,
2aea0b53 5105 sparc_flat_function_epilogue): Likewise.
4a0a75dd
KG
5106 * stormy16.c (xstormy16_print_operand_address, xstormy16_print_operand): Likewise.
5107 * vax.c (vax_output_mi_thunk): Likewise.
5108
6f562bc6
KG
5109 * frv.c (frv_print_operand_memory_reference): Fix format specifier
5110 warning.
5111 (frv_rtx_costs): Mark parameter with ATTRIBUTE_UNUSED.
5112
c8f4b20f
KG
5113 * m68k.c (m68k_output_function_epilogue): Fix format specifier
5114 warnings.
5115
804a0655
KG
5116 * stormy16-protos.h (xs_hi_general_operand,
5117 xs_hi_nonmemory_operand): Prototype.
5118 * stormy16.c (xstormy16_output_shift): Fix format specifier
5119 warnings.
5120
69487202
KG
5121 * cris.c: Fix format specifier warnings.
5122
ba2f4247
NC
51232003-05-16 Nick Clifton <nickc@redhat.com>
5124
5125 * config/arm/lib1funcs.asm: Fix typo: LSM instead of LSYM.
5126
674e9baa
WB
51272003-05-16 Wolfgang Bangerth <bangerth@dealii.org>
5128
5129 * doc/bugreport.texi: Remove most of the of the preface of the
5130 bugs section.
5131
b80c0987
JJ
51322003-05-16 Jakub Jelinek <jakub@redhat.com>
5133
5134 * config/ia64/unwind-ia64.c (uw_update_reg_address): Handle
5135 .save XX, r0.
5136
ad14dc5c
RS
51372003-05-15 Roger Sayle <roger@eyesopen.com>
5138
5139 * config/alpha/alpha.h (ASM_OUTPUT_SKIP): Fix typo.
5140
10d6c0d0
EC
51412003-05-15 Eric Christopher <echristo@redhat.com>
5142
5143 * cfgcleanup.c (merge_blocks): Fix return value.
5144
3dcd7d45
EC
51452003-05-15 Eric Christopher <echristo@redhat.com>
5146
2aea0b53
ZW
5147 * combine.c (expand_compound_operation): Make sure
5148 that zero_extend operation is profitable.
3dcd7d45 5149
36b9c271
RH
51502003-05-15 Richard Henderson <rth@redhat.com>
5151
5152 * config/alpha/linux.h, config/alpha/linux-elf.h: Remove
5153 code protected by USE_GNULIBC_1.
5154
7c942e17
ZW
51552003-05-15 Zack Weinberg <zack@codesourcery.com>
5156
5157 * config.gcc: Purge all targets obsoleted in GCC 3.3. Also
5158 remove hppa*-*-mpeix* which could not be built, and prune
5159 files from tmake_file= or tm_file= lists that don't exist.
5160
5161 * config/alpha/alpha-interix.h, config/alpha/alpha32.h
5162 * config/alpha/t-interix, config/arm/conix-elf.h
5163 * config/arm/t-arm-aout, config/arm/t-strongarm-coff
5164 * config/arm/unknown-elf-oabi.h, config/i386/win32.h
5165 * config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/amix.h
5166 * config/m68k/atari.h, config/m68k/ccur-GAS.h, config/m68k/crds.h
5167 * config/m68k/hp2bsd.h, config/m68k/hp3bsd.h
5168 * config/m68k/hp3bsd44.h, config/m68k/linux-aout.h
5169 * config/m68k/m68k-psos.h, config/m68k/mot3300.h
5170 * config/m68k/pbb.h, config/m68k/plexus.h, config/m68k/sun2.h
5171 * config/m68k/sun2o4.h, config/m68k/sun3.h, config/m68k/sun3mach.h
5172 * config/m68k/sun3n.h, config/m68k/sun3n3.h, config/m68k/sun3o3.h
5173 * config/m68k/t-mot3300, config/m68k/t-mot3300-gald
5174 * config/m68k/t-mot3300-gas, config/m68k/t-mot3300-gld
5175 * config/m68k/tower-as.h, config/m68k/tower.h
5176 * config/m88k/aout-dbx.h, config/m88k/m88k-aout.h
5177 * config/m88k/m88k-modes.def, config/m88k/m88k-move.sh
5178 * config/m88k/m88k-protos.h, config/m88k/m88k.c
5179 * config/m88k/m88k.h, config/m88k/m88k.md, config/m88k/openbsd.h
5180 * config/m88k/sysv4.h, config/m88k/t-luna, config/m88k/t-luna-gas
5181 * config/m88k/t-m88k, config/m88k/t-sysv4, config/mcore/gfloat.h
5182 * config/mips/rtems64.h, config/mips/sni-gas.h
5183 * config/mips/sni-svr4.h, config/mips/t-ecoff
5184 * config/mn10200/lib1funcs.asm, config/mn10200/mn10200-protos.h
5185 * config/mn10200/mn10200.c, config/mn10200/mn10200.h
5186 * config/mn10200/mn10200.md, config/mn10200/t-mn10200
5187 * config/pa/pa-hiux.h, config/pa/pa-hpux7.h, config/pa/pa-hpux9.h
5188 * config/pa/pa-oldas.h, config/pa/t-mpeix, config/psos.h
5189 * config/romp/romp-protos.h, config/romp/romp.c
5190 * config/romp/romp.h, config/romp/romp.md, config/rs6000/aix31.h
5191 * config/rs6000/aix3newas.h, config/rs6000/mach.h
5192 * config/sparc/bsd.h, config/sparc/hal.h
5193 * config/sparc/linux-aout.h, config/sparc/lynx-ng.h
5194 * config/sparc/lynx.h, config/sparc/netbsd.h
5195 * config/sparc/sp86x-aout.h, config/sparc/splet.h
5196 * config/sparc/sun4gas.h, config/sparc/sun4o3.h
5197 * config/sparc/sunos4.h, config/sparc/t-chorus-elf
5198 * config/sparc/t-halos, config/sparc/t-sparcbare
5199 * config/sparc/t-splet, config/sparc/t-sunos41
5200 * config/v850/rtems.h: Delete file.
5201
a6ebc39a
AH
52022003-05-15 Aldy Hernandez <aldyh@redhat.com>
5203
7c942e17 5204 * config/rs6000/rs6000-protos.h (function_value): Protoize.
a6ebc39a 5205
7c942e17 5206 * config/rs6000/rs6000.h (FUNCTION_VALUE): Call function.
a6ebc39a 5207
7c942e17 5208 * config/rs6000/rs6000.c (rs6000_function_value): New.
a6ebc39a 5209
4b3c2e48
PB
52102003-05-15 Philip Blundell <philb@gnu.org>
5211
5212 * config/arm/arm.c (arm_is_xscale): Rename to arm_arch_xscale.
5213 All uses updated.
5214 (arm_tune_xscale): New variable.
5215 (arm_override_options): Set it.
5216 (arm_adjust_cost): Use it in place of arm_arch_xscale.
5217 (arm_gen_load_multiple): Likewise.
5218 (arm_gen_store_multiple): Likewise.
5219 * config/arm/arm.md (is_xscale): Likewise.
5220 * config/arm/arm.h (arm_tune_xscale): Declare.
5221
c75a3ddc
PB
52222003-05-15 Philip Blundell <philb@gnu.org>
5223
5224 PR target/10730
5225 * config/arm/arm.c (adjacent_mem_locations): Reject offsets
5226 involving invalid constants.
5227
411f7850
JDA
52282003-05-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5229
5230 * pa.c (hppa_expand_prologue): Remove blockage.
5231
486772b1
WB
52322003-05-15 Wolfgang Bangerth <bangerth@dealii.org>
5233
5234 * doc/bugreport.texi: Remove most of the bug reporting
5235 instructions and merge them into bugs.html.
5236
c1fefa09
MK
52372003-05-14 Matt Kraai <kraai@alumni.cmu.edu>
5238
5239 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Cast
5240 g_switch_value to unsigned HOST_WIDE_INT.
5241
72531479
EC
52422003-05-14 Eric Christopher <echristo@redhat.com>
5243
5244 * combine.c: Fix header comments.
5245 (distribute_notes): Remove usage of elim_i1, elim_i2. Propagate
5246 to all calls and prototype.
5247
e43736ad
RS
52482003-05-14 Roger Sayle <roger@eyesopen.com>
5249
5250 PR optimization/10764
72531479 5251 * config/i386/i386.md (atan2df3, atan2sf3, atan2xf3, atan2tf3):
e43736ad
RS
5252 Add an explicit clobber to show that UNSPEC_FPATAN clobbers st(1).
5253 (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): Likewise,
5254 add an explicit clobber to show that UNSPEC_FYL2X clobbers st(1).
5255 (logsf2, logdf2, logxf2, logtf2): Update expander patterns to match
5256 the corresponding *fyl2x_?fxf3 instructions.
5257
49e57ab0
BW
52582003-05-14 Bob Wilson <bob.wilson@acm.org>
5259
5260 * config/xtensa/lib2funcs.S (TRAMPOLINE_SIZE): Change from 49 to 59.
5261 * config/xtensa/xtensa-config.h (XCHAL_HAVE_CONST16,
5262 XCHAL_HAVE_L32R): New.
5263 * config/xtensa/xtensa-protos.h (non_const_move_operand,
5264 xtensa_load_constant, xtensa_function_prologue,
5265 xtensa_function_epilogue): Delete prototypes.
5266 (xtensa_expand_prologue): New.
5267 * config/xtensa/xtensa.c (frame_size_const,
5268 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_MACHINE_DEPENDENT_REORG,
5269 non_const_move_operand, xtensa_load_constant, xtensa_reorg,
5270 xtensa_function_prologue): Delete.
5271 (add_operand, xtensa_mem_offset): Formatting.
5272 (move_operand): If the const16 option is available, allow any SFmode
5273 and SImode constants.
5274 (xtensa_emit_move_sequence): Inline the former contents of
5275 xtensa_load_constant with modifications to handle the const16 option.
5276 (override_options): Add xtensa_char_to_class['W'] and set it to
5277 the general register class only if the const16 option is enabled.
5278 Fix formatting. Disallow PIC when using the const16 option.
5279 (print_operand): Reorganize to switch on "letter" instead of the
5280 RTL code. Add output_operand_lossage calls for invalid cases.
5281 Add support for 't' and 'b' letters.
5282 (xtensa_expand_prologue): New function to replace
5283 xtensa_function_prologue and xtensa_reorg.
5284 (xtensa_function_epilogue): Declare this as static. Delete code
5285 to print the retw.n or retw instruction.
5286 (xtensa_return_addr): Use A0_REG instead of 0.
5287 (xtensa_rtx_costs): Add costs for using the const16 option.
5288 * config/xtensa/xtensa.h (MASK_CONST16, TARGET_CONST16): New.
5289 (TARGET_DEFAULT): Add CONST16 if L32R instructions not available.
5290 (TARGET_SWITCHES): Add "const16" and "no-const16".
5291 (REG_CLASS_FROM_LETTER): Add comment about new 'W' letter.
5292 (EXTRA_CONSTRAINT): Change 'T' constraint to only apply when not
5293 using the const16 option.
5294 (TRAMPOLINE_TEMPLATE): Rewrite to avoid hardwired use of l32r insn.
5295 (TRAMPOLINE_SIZE): Change from 49 to 59.
5296 (INITIALIZE_TRAMPOLINE): Adjust offsets to match new trampoline.
5297 (GO_IF_LEGITIMATE_ADDRESS): Do not allow constant pool addresses
5298 when using the const16 option.
5299 (PREDICATE_CODES): Delete non_const_move_operand.
5300 * config/xtensa/xtensa.md (define_constants): Add A1_REG, A8_REG, and
5301 UNSPECV_ENTRY.
5302 (movdi, movdf): If the source is a constant, always expand to a
5303 sequence of movsi insns.
5304 (movdi_internal, movdf_internal): Remove alternative using l32r insns.
5305 (movsi_internal, movsf_internal): Add alternative using const16 insns.
5306 (movsf): Add const16 support.
5307 (entry, prologue, epilogue): New.
5308 (set_frame_ptr): Add missing mode for unspec_volatile operation.
5309 Likewise for subsequent split pattern.
5310 * doc/invoke.texi (Option Summary, Xtensa Options): Document new
5311 "-mconst16" and "-mno-const16" options.
5312
ae49d6e5
RH
53132003-05-14 Richard Henderson <rth@redhat.com>
5314
5315 * config/ia64/ia64.c (ia64_expand_load_address): Force destination
5316 to be DImode register. Merge load_symptr.
5317 * config/ia64/ia64.md (load_symptr): Remove.
5318
2adb9af1
RH
53192003-05-14 Richard Henderson <rth@redhat.com>
5320
5321 * rtl.h (TREE_CONSTANT_POOL_ADDRESS_P): Rename from
5322 DEFERRED_CONSTANT_P.
5323 * integrate.c (copy_rtx_and_substitute): Update use.
5324 * varasm.c (build_constant_desc): Set SYMBOL_REF_DECL
5325 to the copy generated.
5326 (maybe_output_constant_def_contents): Examine TREE_ASM_WRITTEN
5327 of the constant to see if we should emit.
5328 (mark_constant): Similarly.
5329 (output_constant_def_contents): Set TREE_ASM_WRITTEN.
5330
bb84cb12
DE
53312003-05-14 David Edelsohn <edelsohn@gnu.org>
5332
5333 * config/rs6000/rs6000.md (movsi_internal2): Use compare for self
5334 move record condition.
5335 (movdi_internal2): Same.
5336
3ec6c6ee
NS
53372003-05-14 Nathan Sidwell <nathan@codesourcery.com>
5338
7d63a2fa
NS
5339 * gcov-io.h (gcov_write_bytes, gcov_read_bytes): Remove here.
5340 (GCOV_TAG_*) Force type to gcov_unsigned_t.
5341 (GCOV_CHECK, GCOV_CHECK_READING, GCOV_CHECK_WRITING): New.
5342 (struct gcov_var): Remove modified. Add start, length, offset,
5343 overread. Have buffer array for libgcov.
5344 (gcov_sync, gcov_seek): Definitions moved to gcov-io.c.
5345 (gcov_position, gcov_rewrite, gcov_is_eof): Adjust.
5346 * gcov-io.c (gcov_open): Set mode, do not read anything.
5347 (gcov_close): Write final block.
5348 (gcov_write_block, gcov_allocate): New.
5349 (gcov_write_bytes): Make static. Write or allocate buffer.
5350 (gcov_write_unsigned, gcov_write_counter): Buffer can never be
5351 null.
5352 (gcov_write_string): Adjust.
5353 (gcov_write_tag)
5354 (gcov_write_length): Adjust. Flush the block.
5355 (gcov_write_tag_length): Buffer can never be null.
5356 (gcov_read_bytes): Make static. Read in block.
5357 (gcov_sync): Moved here. Adjust.
5358 (gcov_seek): Moved here. Adjust.
5359 * coverage.c (read_counts_file): Adjust.
5360 * gcov-dump.c (print_prefix): Add position parameter.
5361 (flag_dump_positions): New flag.
5362 (options, main, print_usage): Add it.
5363 (dump_file, tag_blocks, tag_arcs, tag_lines, tag_counters,
5364 tag_summary): Adjust.
5365 * gcov.c (read_graph_file, read_count_file): Adjust.
5366 * libgcov.c (gcov_exit): Adjust.
5367
990f4800
NS
5368 * Makefile.in (LIBGCC_DEPS): Use $(srcdir) on gcov files
5369 (libgcov.a): Depend on libgcc.a.
5370 (gcov.o, gcov-dump.o): Add gcov-io.c.
5371 * mklibgcc.in (libgcov_c_dep): Use $(srcdir).
72531479 5372
3ec6c6ee
NS
5373 * loop.c (check_dbra_loop): Factor common test.
5374
c62347f0
BE
53752003-05-14 Ben Elliston <bje@wasabisystems.com>
5376
5377 * doc/md.texi (Automaton pipeline description): Grammar fixes.
5378
18dbd950
RS
53792003-05-14 Richard Sandiford <rsandifo@redhat.com>
5380
5381 * target-def.h (TARGET_MACHINE_DEPENDENT_REORG): Define.
5382 (TARGET_INITIALIZER): Include it.
5383 * target.h (struct gcc_target): Add machine_dependent_reorg field.
5384 * toplev.c (rest_of_compilation): Use targetm.machine_dependent_reorg.
2f9bb7c5 5385 * system.h: Poison MACHINE_DEPENDENT_REORG.
18dbd950
RS
5386
5387 * config/alpha/alpha-protos.h (alpha_reorg): Remove declaration.
5388 * config/alpha/alpha.h (MACHINE_DEPENDENT_REORG): Remove.
5389 * config/alpha/alpha.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5390 (alpha_handle_trap_shadows): Remove "first insn" parameter.
5391 (alpha_align_insns): Likewise.
5392 (alpha_reorg): Likewise. Make static. Update calls to above
5393 functions.
5394
5395 * config/arm/arm-protos.h (arm_reorg): Remove declaration.
5396 * config/arm/arm.h (MACHINE_DEPENDENT_REORG): Remove.
5397 * config/arm/arm.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5398 (arm_reorg): Remove parameter. Make static.
5399
5400 * config/avr/avr-protos.h (machine_dependent_reorg): Remove.
5401 * config/avr/avr.h (MACHINE_DEPENDENT_REORG): Remove.
5402 * config/avr/avr.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5403 (avr_reorg): Renamed from machine_dependent_reorg. Make static.
5404 Remove parameter.
5405
5406 * config/c4x/c4x-protos.h (c4x_process_after_reload): Remove.
5407 * config/c4x/c4x.h (MACHINE_DEPENDENT_REORG): Remove.
5408 * config/c4x/c4x.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5409 (c4x_reorg): Renamed from c4x_process_after_reload. Make static.
5410 Remove parameter.
5411
5412 * config/d30v/d30v-protos.h (d30v_machine_dependent_reorg): Remove.
5413 * config/d30v/d30v.h (MACHINE_DEPENDENT_REORG): Remove.
5414 * config/d30v/d30v.c (d30v_machine_dependent_reorg): Remove.
5415
5416 * config/frv/frv-protos.h (frv_machine_dependent_reorg): Remove.
5417 * config/frv/frv.c: Remove orphaned comment.
5418
5419 * config/i386/i386-protos.h (x86_machine_dependent_reorg): Remove.
5420 * config/i386/i386.h (MACHINE_DEPENDENT_REORG): Remove.
5421 * config/i386/i386.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5422 (ix86_reorg): Renamed from x86_machine_dependent_reorg. Make static.
5423 Remove parameter.
5424
5425 * config/ia64/ia64-protos.h (ia64_reorg): Remove declaration.
5426 * config/ia64/ia64.h (MACHINE_DEPENDENT_REORG): Remove.
5427 * config/ia64/ia64.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5428 (emit_insn_group_barriers): Remove "first insn" parameter.
5429 (emit_all_insn_group_barriers): Likewise.
5430 (ia64_reorg): Likewise. Make static. Update calls to above functions.
5431 (ia64_output_mi_thunk): Update call to emit_all_insn_group_barriers.
5432
5433 * config/ip2k/ip2k-protos.h (machine_dependent_reorg): Remove.
5434 * config/ip2k/ip2k.h (MACHINE_DEPENDENT_REORG): Remove.
5435 * config/ip2k/ip2k.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5436 (ip2k_reorg): Renamed from machine_dependent_reorg. Make static.
5437 Remove parameter.
5438
5439 * config/m68hc11/m68hc11-protos.h (m68hc11_reorg): Remove declaration.
5440 * config/m68hc11/m68hc11.h (MACHINE_DEPENDENT_REORG): Remove.
5441 * config/m68hc11/m68hc11.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5442 (m68hc11_reorg): Make static. Remove parameter.
5443
5444 * config/mcore/mcore-protos.h (mcore_dependent_reorg): Remove.
5445 * config/mcore/mcore.h (MACHINE_DEPENDENT_REORG): Remove.
5446 * config/mcore/mcore.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5447 (conditionalize_optimization): Remove parameter.
5448 (mcore_reorg): Renamed from mcore_dependent_reorg. Remove parameter.
5449 Make static. Update call to conditionalize_optimization.
5450
5451 * config/mips/mips-protos.h (machine_dependent_reorg): Remove.
5452 * config/mips/mips.h (MACHINE_DEPENDENT_REORG): Remove.
5453 * config/mips/mips.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5454 (mips_reorg): Renamed from machine_dependent_reorg. Remove parameter.
5455 Make static.
5456
5457 * config/mmix/mmix-protos.h (mmix_machine_dependent_reorg): Remove.
5458 * config/mmix/mmix.h (MACHINE_DEPENDENT_REORG): Remove.
5459 * config/mmix/mmix.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5460 (mmix_reorg): Renamed from mmix_machine_dependent_reorg. Make static.
5461 Remove parameter.
5462
5463 * config/pa/pa-protos.h (pa_reorg): Remove declaration.
5464 * config/pa/pa.h (MACHINE_DEPENDENT_REORG): Remove.
5465 * config/pa/pa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5466 (pa_combine_instructions): Remove "first insn" parameter.
5467 (remove_useless_addtr_insns): Likewise.
5468 (pa_reorg): Likewise. Make static. Update calls to above functions.
5469
5470 * config/rs6000/rs6000.h (MACHINE_DEPENDENT_REORG): Remove
5471 commented-out definition.
5472
5473 * config/s390/s390-protos.h (s390_machine_dependent_reorg): Remove.
5474 * config/s390/s390.h (MACHINE_DEPENDENT_REORG): Remove.
5475 * config/s390/s390.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5476 (s390_reorg): Renamed from s390_machine_dependent_reorg. Make static.
5477 Remove parameter.
5478
5479 * config/sh/sh-protos.h (machine_dependent_reorg): Remove.
5480 * config/sh/sh.h (MACHINE_DEPENDENT_REORG): Remove.
5481 * config/sh/sh.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5482 (sh_reorg): Renamed from machine_dependent_reorg. Make static.
5483 Remove parameter.
5484 (sh_output_mi_thunk): Call sh_reorg directly.
5485 * config/sh/sh.md: Update comment.
5486
5487 * config/stormy16/stormy16.h (MACHINE_DEPENDENT_REORG): Remove
5488 commented-out definition.
5489
5490 * config/v850/v850-protos.h (v850_reorg): Remove declaration.
5491 * config/v850/v850.h (MACHINE_DEPENDENT_REORG): Remove.
5492 * config/v850/v850.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5493 (v850_reorg): Make static. Remove parameter.
5494
5495 * config/xtensa/xtensa-protos.h (xtensa_reorg): Remove declaration.
5496 * config/xtensa/xtensa.h (MACHINE_DEPENDENT_REORG): Remove.
5497 * config/xtensa/xtensa.c (TARGET_MACHINE_DEPENDENT_REORG): Define.
5498 (xtensa_reorg): Make static. Remove parameter.
5499
5500 * doc/tm.texi (MACHINE_DEPENDENT_REORG): Remove.
5501 (TARGET_MACHINE_DEPENDENT_REORG): Document.
5502
2306d91c
RH
55032003-05-13 Richard Henderson <rth@redhat.com>
5504
5505 * c-decl.c (duplicate_decls): Re-invoke make_decl_rtl if
5506 the old decl had instantiated DECL_RTL.
5507
c2d635bc
MS
55082003-05-13 Mike Stump <mrs@apple.com>
5509
5510 * doc/invoke.texi (Option Summary): Kill off documentation for -$.
5511
7aabff18
JJ
55122003-05-13 Janis Johnson <janis187@us.ibm.com>
5513
5514 * config/rs6000/sysv4.h (OUTPUT_ASM_ALIGNED_LOCAL): Expect
5515 HOST_WIDE_INT argument.
5516
03307888
JM
55172003-05-13 Jason Merrill <jason@redhat.com>
5518
5519 * tree.h (STRIP_MAIN_TYPE_NOPS): New macro.
5520
5521 * tree.c (iterative_hash_expr): New fn.
5522
5523 * c-semantics.c (emit_local_var): Don't mess with temp slots if
5524 there's no initializer.
5525
d660cefe
RS
55262003-05-13 Richard Sandiford <rsandifo@redhat.com>
5527
5528 * final.c (final_scan_insn): Apply the effects of frame-related
5529 delay slot insns before emitting a delayed branch.
5530
c1f1978f
NC
55312003-05-13 Nick Clifton <nickc@redhat.com>
5532
5533 * config/mcore/mcore.md (jump): Use emit_jump_insn.
5534
7641be90
UW
55352003-05-13 Ulrich Weigand <uweigand@de.ibm.com>
5536
5537 * config/s390/s390.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Second
5538 parameter of ASM_OUTPUT_SKIP must have type unsigned HOST_WIDE_INT.
5539
f26aca6d
DD
55402003-05-12 DJ Delorie <dj@redhat.com>
5541
5542 * expr.c (move_by_pieces): Honor the alignment of TO and FROM.
5543 (emit_push_insn): Don't use push when the source alignment is less
5544 than the stack's push rounding.
5545
fa6ef813
ZW
55462003-05-13 Zack Weinberg <zack@codesourcery.com>
5547
5548 * diagnostic.c (output_format): Add support for %m.
5549 (output_printf, output_verbatim, diagnostic_set_info,
5550 verbatim): Set err_no field of the text_info structure being
5551 initialized.
5552 (fatal_io_error): Delete function.
5553 * diagnostic.h (text_info): Add err_no field.
5554 * toplev.h (fatal_io_error): Delete prototype.
5555
5556 * c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
5557 * toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
5558 * objc/objc-act.c: Replace all calls to fatal_io_error with
5559 calls to fatal_error; add ": %m" to the end of all the affected
5560 error messages.
5561
a2a6a79b
ZW
55622003-05-13 Zack Weinberg <zack@codesourcery.com>
5563
5564 * varasm.c (notice_rtl_inlining_of_deferred_constant): New function.
5565 * rtl.h: Prototype it.
5566 * integrate.c (copy_rtx_and_substitute <SYMBOL_REF>): Call it
5567 when appropriate.
5568
c707d0b0
UW
55692003-05-13 Ulrich Weigand <uweigand@de.ibm.com>
5570
5571 * config/s390/s390.md ("*iordi3_oi"): Do not mark commutative.
5572 ("*iorsi3_oi"): Likewise.
5573
9af66e58
RE
55742003-05-13 Richard Earnshaw <rearnsha@arm.com>
5575
5576 * arm.md (compare_scc): Use shorter sequence for EQ case.
5577 (ior_scc_scc_cmp, and_scc_scc_cmp): New insn-and-split patterns.
5578 (and_scc_scc): Ensure split only applies when there is a dominance
5579 of the comparisons.
5580 (and_scc_scc_nodom): New insn-and-split pattern.
5581
7f68692f
RS
55822003-05-13 Richard Sandiford <rsandifo@redhat.com>
5583
5584 * unwind-dw2.c (uw_init_context_1): Don't pass &outer_cfa directly
5585 to _Unwind_SetGRPtr().
5586
88e80294
ME
55872003-05-13 Michael Eager <eager@mvista.com>
5588
5589 * Makefile.in: Initialize program_transform_cross_name from
5590 @program_transform_name@ instead of target_alias.
5591
c4501e62
JJ
55922003-05-12 Janis Johnson <janis187@us.ibm.com>
5593 Alan Modra <amodra@bigpond.net.au>
5594 Jakub Jelinek <jakub@redhat.com>
5595
5596 * configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
5597 * configure: Rebuild.
5598 * config/rs6000/rs6000-protos.h: Update.
5599 * config/rs6000/rs6000.c (rs6000_tls_size): New.
5600 (rs6000_tls_size_string): New.
5601 (rs6000_parse_tls_size_option): New.
5602 (rs6000_legitimize_tls_address): New.
5603 (rs6000_tls_get_addr): New.
5604 (rs6000_got_sym): New.
5605 (rs6000_tls_symbol_ref): New.
5606 (rs6000_tls_symbol_ref_1): New.
5607 (rs6000_get_some_local_dynamic_name): New.
5608 (rs6000_get_some_local_dynamic_name_1): New.
5609 (TARGET_HAVE_TLS): New.
5610 (TARGET_CANNOT_FORCE_CONST_MEM): New.
5611 (rs6000_override_options): Handle -mtls-size option.
5612 (constant_pool_expr_1): Handle TLS symbols.
5613 (rs6000_legitimize_address): Handle TLS symbols.
5614 (rs6000_tls_referenced_p): New.
5615 (rs6000_legitimate_address): Handle TLS symbols.
5616 (rs6000_emit_move): Handle TLS symbols.
5617 (print_operand): Handle TLS symbols.
5618 (uses_TOC): Handle TLS symbols.
5619 (rs6000_emit_prologue): Use symbol for unspec constant.
5620 * config/rs6000/rs6000.h (HAVE_AS_TLS): New.
5621 (some_ld_name): New.
5622 (LEGITIMATE_CONSTANT_P): Handle TLS symbols.
5623 (PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
5624 (PREDICATE_CODES): Add rs6000_tls_symbol_ref.
5625 * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
5626 Support TLS.
5627 (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
5628 tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
5629 tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
5630 tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
5631 tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
5632 tls_tls_64): New.
5633 * config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.
5634
6cfae22a
NB
56352003-05-12 Neil Booth <neil@cat.daikokuya.co.uk>
5636
5637 * Makefile.in (stage2_build, stage3_build, stage4_build):
5638 Set BUILD_CC to the same as CC.
5639
517958ba
NB
56402003-05-12 Neil Booth <neil@daikokuya.co.uk>
5641
5642 * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards.
5643
74601584
AS
56442003-05-12 Andreas Schwab <schwab@suse.de>
5645
5646 * config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
5647 as unused.
5648 (bundling): Initialize 'pos'.
5649 (ia64_expand_builtin): Initialize 'rmode'.
5650
f08b4d88
DE
56512003-05-12 David Edelsohn <edelsohn@gnu.org>
5652
5653 * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
5654 (ASM_OUTPUT_ALIGNED_COMMON): Same.
5655 (ASM_OUTPUT_LOCAL): Same.
5656
d3e0dffb
JH
5657Mon May 12 21:53:29 CEST 2003 Jan Hubicka <jh@suse.cz>
5658
5659 * varasm.c (output_constant): Fix underflow.
5660
96ef4bdc
MM
56612003-05-12 Mark Mitchell <mark@codesourcery.com>
5662
5663 PR other/10745
5664 * configure.in: Correct detection of GNU ld version number.
5665 * configure: Regenerated.
5666
9804f5fb
ZW
56672003-05-12 Zack Weinberg <zack@codesourcery.com>
5668
5669 * diagnostic.c (diagnostic_for_decl): Take a
5670 diagnostic_context argument. Restructure to be consistent
5671 with diagnostic_report_diagnostic.
5672 (diagnostic_count_diagnostic): Now static. Take a
5673 diagnostic_info argument, not just a diagnostic_t. Some code
5674 moved here from internal_error. Move a case label for
5675 clarity.
5676 (diagnostic_action_after_output): New function. Code moved
5677 here from internal_error and fatal_error.
5678 (bug_report_request): New #define so that this text appears in
5679 only one place.
5680 (diagnostic_report_diagnostic): Update to match changes to
5681 diagnostic_count_diagnostic. Call diagnostic_action_after_output.
5682 (diagnostic_set_info): Call gettext here.
5683
5684 (pedwarn): Update comment. Don't call gettext here.
5685 (sorry): Use report_diagnostic. Don't call gettext here.
5686 (fatal_error): Remove final fnotice and exit, but call
5687 real_abort to prevent warnings about noreturn function returning.
5688 (internal_error): Likewise. Don't do ICE suppression here nor
5689 call context->internal_error.
5690 (warning_with_decl): Suppress for decls in system headers.
5691 Adjust call to diagnostic_for_decl.
5692 (pedwarn_with_decl): Likewise.
5693 (error_with_decl): Adjust call to diagnostic_for_decl.
5694 (error_recursion): Use bug_report_request.
5695
5696 * diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
5697 * objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
5698 diagnostic_count_diagnostic.
5699
f64f0687
JDA
57002003-05-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
5701
5702 * pa64-hpux.h (ASM_OUTPUT_ALIGNED_COMMON): Correct last patch.
5703
c394cdb7
JH
5704Mon May 12 15:57:54 CEST 2003 Jan Hubicka <jh@suse.cz>
5705
212e2065 5706 * rs6000/darwin.h (ASM_OUTPUT_COMMON): Accept HOST_WIDE_INT
c394cdb7
JH
5707 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Fix warning.
5708 * mips/mips.h (ASM_OUTPUT_SKIP): Fix typo in the previous patch.
5709
70498da3
RS
57102003-05-12 Roger Sayle <roger@eyesopen.com>
5711
5712 * doc/rtl.texi: Document zero_extract as a valid destination
5713 of a set insn.
5714
ce250a20
RE
57152003-05-12 Richard Earnshaw <rearnsha@arm.com>
5716
5717 * arm/lib1funcs.asm (LSYM): Define -- on ELF prefix a local symbol with
5718 '.'. Change all local symbol definitions and references to use LSYM.
5719
58e15542
JH
5720Mon May 12 11:32:53 CEST 2003 Jan Hubicka <jh@suse.cz>
5721
5722 * expr.h (assemble_static_space): Update prototype.
5723 * output.h (assemble_zeros, output_constant): Likewise.
5724 * elfos.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): Make it 64bit clean
5725 * alpha.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASK_OUTPUT_LOCAL): Make
5726 it 64bit clean.
5727 * elf.h (ASM_OTUPUT_SKIP): Likewise.
5728 * unicosmk.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMM): Likewise.
5729 * arm.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
5730 Expect HOST_WIDE_INT operand.
5731 * aout.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
5732 Expect HOST_WIDE_INT operand.
5733 * unknown-elf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
5734 Expect HOST_WIDE_INT operand.
5735 * avr.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP): Expect
5736 HOST_WIDE_INT operand.
5737 * c4x.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP,
5738 ASM_OUTPUT_BSS): Expect HOST_WIDE_INT operand.
5739 * aout.h (ASM_OTUPUT_SKIP): Likewise.
5740 * cris.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
5741 * darwin.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON): Likewise.
5742 * dsp16xx.h (ASM_OTUPUT_SKIP): Likewise.
5743 * frv.h (ASM_OTUPUT_SKIP): Likewise.
5744 * h8300.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_LOCAL): Likewise.
5745 * 370.h (ASM_OTUPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
5746 Make it 64bit
5747 clean.
5748 * att.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand.
5749 * bsd.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
5750 Make it 64bit clean.
5751 * darwin.h (ASM_OUTPUT_SKIP): Make it 64bit clean..
5752 * sco5.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Expect
5753 HOST_WIDE_INT operand
5754 * svr3gas.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
5755 Expect HOST_WIDE_INT operand
5756 * sysv3.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT operand
5757 * i960.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON,
5758 ASM_OUTPUT_ALIGNED_LOCAL): Expect HOST_WIDE_INT operand
5759 * ip2k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
5760 Likewise.
5761 * m32r.h (ASM_OUTPUT_COMMON): Likewise.
5762 * 3b1.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
5763 Likewise.
5764 * amix.h (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
5765 * crds.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
5766 * hp320.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
5767 ASM_OUTPUT_SKIP): Likewise.
5768 * m68k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP):
5769 Likewise.
5770 * m68kelf.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
5771 ASM_OUTPUT_SKIP): Likewise.
5772 * m68kv4.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
5773 ASM_OUTPUT_SKIP): Likewise.
5774 * mot3300.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
5775 * netbsd-elf.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
5776 ASM_OUTPUT_SKIP): Likewise.
5777 * sgs.h (ASM_OUTPUT_SKIP): Likewise.
5778 * tower-as.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON,
5779 ASM_OUTPUT_SKIP): Likewise.
5780 * m88k.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON, ASM_OUTPUT_SKIP):
5781 Likewise.
5782 * mcore.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_BSS, ASM_OUTPUT_SKIP): Likewise.
5783 * iris.h (ASM_OUTPUT_LOCAL): Likewise.
5784 * mips.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_SKIP): Likewise.
5785 * ns32k.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL,
5786 ASM_OUTPUT_SKIP): Make it 64bit clean.
5787 * pa-pro-end.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL):
5788 Make it 64bit clean.
5789 * pa.h (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL,
5790 ASM_OUTPUT_SKIP): Make it 64bit clean.
5791 * hpux.h (ASM_OUTPUT_LOCAL, ASM_OUTPUT_ALIGNED_LOCAL): Make it
5792 64bit clean.
5793 * romp.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
5794 HOST_WIDE_INT argument
5795 * s390.h (ASM_OUTPUT_SKIP): Expect HOST_WIDE_INT argument.
5796 * sh.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_LOCAL, ASM_OUTPUT_COMMON): Expect
5797 HOST_WIDE_INT argument
5798 * sol2.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
5799 * sparc.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON): HOST_WIDE_INT argument
5800 * svr3.h (ASM_OUTPUT_SKIP): HOST_WIDE_INT argument
5801 * vax.h (ASM_OUTPUT_SKIP, ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL):
5802 HOST_WIDE_INT argument
5803 * vaxv.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
5804 * xtensa.h (ASM_OUTPUT_LOCAL): HOST_WIDE_INT argument
5805 * varasm.c (asm_output_bss, asm_output_aligned_bss,
5806 asm_emit_uninitialized, assemble_zeros, assemble_static_space):
5807 HOST_WIDE_INT argument
5808
9804f5fb 58092003-05-10 Steven Bosscher <steven@gcc.gnu.org>
7660e67e
SB
5810
5811 * cgraphunit.c (cgraph_create_edges): Drop walk_tree in
5812 favor of walk_tree_without_duplicates. Add comments.
5813
76abd4c6
JZ
58142003-05-12 Josef Zlomek <zlomekj@suse.cz>
5815
5816 * alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
9804f5fb 5817 (struct alloc_pool_def): New element 'id'.
76abd4c6
JZ
5818 * alloc-pool.c (fancy_abort): Extern function prototype.
5819 (abort): Macro which uses fancy_abort.
5820 (struct allocation_object_def): New structure.
5821 (ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro.
5822 (USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro.
5823 (last_id): New variable.
5824 (create_alloc_pool): Add the offset of u.data to size of element,
5825 increase and use last_id.
5826 (free_alloc_pool): Do the checking only when ENABLE_CHECKING.
5827 (pool_alloc): Likewise. Set ID for elements.
5828 (pool_free): Check whether the PTR was allocated from POOL.
5829
66ea6f4c
RH
58302003-05-11 Richard Henderson <rth@redhat.com>
5831
5832 PR c/10675
5833 * c-decl.c: Include hashtab.h.
5834 (detect_field_duplicates): New.
5835 (finish_struct): Use it.
5836 * Makefile.in (c-decl.o): Update.
5837 * c-parse.in (structsp_attr): Nreverse component_decl_list results.
5838 (component_decl_list, component_decl_list2,
5839 components, components_notype): Build list in reverse order.
5840 (enumlist): Clarify docs. Use TREE_CHAIN not chainon.
5841
9804f5fb 5842 * tree.c (chainon): Special case op2 null as well.
66ea6f4c
RH
5843 Reorg for clarity.
5844
358997e2
RS
58452003-05-11 Roger Sayle <roger@eyesopen.com>
5846
5847 * config/i386/i386.md (logsf2, logdf2, logxf2, logdf2): New patterns
5848 to implement log, logf and logl built-ins as inline x87 intrinsics.
5849 (UNSPEC_FYL2X): New unspec to represent x87's "fyl2x" instruction.
5850 (*fyl2x_sfxf3, *fyl2x_dfxf3, *fyl2x_xf3, *fyl2x_tfxf3): New insn
5851 patterns for x87's "fyl2x" instruction, used by log?f2 patterns.
5852
5853 * reg-stack.c (subst_stack_regs_pat): Handle UNSPEC_FYL2X like
5854 UNSPEC_FPATAN, i.e. replaces two stack operands with single result.
5855
ffa916ba
KG
58562003-05-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5857
9804f5fb 5858 * Makefile.in (out_object_file): Don't set -Wno-error for ${cpu}.o.
04f3680d 5859
ffa916ba
KG
5860 * sparc.c (print_operand): Fix uninitialized warning.
5861
91f4cfe3
ZD
58622003-05-12 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5863
5864 * cfgloopanal.c (num_loop_insns, average_num_loop_insns): Count only
5865 real insns.
5866 * loop-unroll.c (unroll_loop_runtime_iterations): Remove superfluous
5867 condition.
5868
ac38d8da
NB
58692003-05-11 Neil Booth <neil@cat.daikokuya.co.uk>
5870
5871 * doc/cpp.texi: Fix typos.
5872
82b1c974
UW
58732003-05-11 Ulrich Weigand <uweigand@de.ibm.com>
5874
5875 * config/s390/s390.c (s390_function_arg_float): New function.
5876 (s390_function_arg_pass_by_reference): Use it.
5877 (s390_function_arg_advance): Likewise.
5878 (s390_function_arg): Likewise.
5879 (s390_va_arg): Likewise
5880
6d70e6be
NS
58812003-05-11 Nathan Sidwell <nathan@codesourcery.com>
5882
5883 * coverage.h (coverage_counter_alloc): New function.
5884 * function.h (struct function): Remove arc_profile flag.
5885 * coverage.c (fn_ident): Remove.
5886 (fn_b_ctrs, no_coverage): New.
5887 (get_coverage_counts): Use current_function_funcdef_no.
5888 (coverage_counter_alloc): New.
5889 (coverage_counter_ref): Adjust.
5890 (coverage_begin_output): Check no_coverage. Use
5891 current_function_funcdef_no.
5892 (coverage_end_function): Likewise.
5893 (create_coverage): Set no_coverage. Set DECL_UNINLINEABLE rather
5894 than clearing flag_inline_functions. Do not clear arc_profile
5895 flag.
5896 * function.c (prepare_function_start): Do not set arc_profile
5897 flag.
5898 * profile.c (instrument_edges): Return number of instrumented
5899 edges. Use a for loop.
5900 (branch_prob): Call coverage_counter_alloc. Make BB_TO_GCOV_INDEX
5901 local to here and simplify. Use profile_arc_flag not arc_profile
5902 flag.
5903 (find_spanning_tree): Reformat.
5904 * toplev.c (rest_of_compilation): Use profile_arc_flags and
5905 flag_test_coverage rather than arc_profile flag.
5906
78d0a54d
GDR
59072003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
5908
5909 * doc/invoke.texi (Wctor-dtor-privacy): Update documentation.
5910
a71c8ddc
RK
59112003-05-11 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5912
5913 * varasm.c (copy_constant, case VIEW_CONVERT_EXPR): New case.
5914
6e270179 59152003-05-11 Bruno Haible <bruno@clisp.org>
9804f5fb 5916
6e270179
NB
5917 * cppfiles.c (find_or_create_entry): Preserve errno.
5918
59192003-05-11 Neil Booth <neil@cat.daikokuya.co.uk>
5920
5921 * c-cppbuiltin.c (c_cpp_builtins): Move __STDC_HOSTED__ into
5922 cpplib as it's a Standard Predefined Macro.
5923 * c-opts.c (finish_options): Pass flag_hosted to cpp_init_builtins.
5924 * cppinit.c (_cpp_init_builtins): Take HOSTED. Define
5925 __STDC_HOSTED__ appropriately.
5926 * cpplib.h (_cpp_init_builtins): Update.
5927 * fix-header.c (read_scan_file): Update.
5928 * doc/cpp.texi, doc/cppopts.texi: Update documentation.
5929
f333504d
GDR
59302003-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net>
5931
5932 PR C++/689
5933 PR C++/9257
5934 * c-opts.c (c_common_decode_option): Don't set
5935 warn_ctor_dtor_privacy wen -Wall.
5936 * c-common.c (warn_ctor_dtor_privacy): Don't turn on by default.
5937
6e5d72ba
AO
59382003-05-10 Alexandre Oliva <aoliva@redhat.com>
5939
5940 * reload1.c (reload_cse_move2add): Revert part of my 2003-05-09's
5941 patch.
5942
59650e48
ZW
59432003-05-10 Zack Weinberg <zack@codesourcery.com>
5944
5945 * diagnostic.c: Reorder functions for clarity, putting all the
5946 functions in the "error" family next to each other, and
5947 likewise all the functions in the "error_with_decl" family.
5948 Some other routines were moved too. Add comments.
5949 (vbuild_message_string): Fold into sole caller.
5950
5951
34dc173c
UW
59522003-05-11 Ulrich Weigand <uweigand@de.ibm.com>
5953
5954 * except.c (EH_RETURN_STACKADJ_RTX): Do not define.
5955 (EH_RETURN_HANDLER_RTX): Likewise.
5956 (expand_builtin_eh_return): Do not copy stack adjustment
5957 if EH_RETURN_STACKADJ_RTX is not defined.
5958 (expand_eh_return): Likewise. Also, do not pass stack
5959 adjustment as argument to the eh_return pattern.
5960 * except.h (MUST_USE_SJLJ_EXCEPTIONS): Do not define just
5961 because EH_RETURN_STACKADJ_RTX is not defined.
5962 * unwind-dw.c (uw_update_context_1): If EH_RETURN_STACKADJ_RTX
5963 is not defined, treat stack pointer like a regular register.
5964 (uw_init_context_1): Set up fake initial stack pointer register.
5965 (uw_install_context_1): Do not compute stack adjustment if
5966 EH_RETURN_STACKADJ_RTX is not defined.
5967
5968 * config/i386/i386.md ("eh_return"): Remove first argument.
5969 * config/mips/mips.md ("eh_return"): Likewise.
5970 * config/rs6000/rs6000.md ("eh_return"): Likewise.
5971 * config/sh/sh.md ("eh_return"): Likewise.
5972
5973 * config/s390/s390.h (EH_RETURN_STACKADJ_RTX): Remove.
5974
a64d0bc6
AA
59752003-05-10 Alexander Aganichev <aaganichev@yandex.ru>
5976
5977 * config/i386/i386.h (MODES_TIEABLE_P): Fix typo.
5978
9b514d25
NS
59792003-05-10 Nathan Sidwell <nathan@codesourcery.com>
5980
5981 * defaults.h (GCOV_TYPE_SIZE): Remove.
5982 * gcov-io.h (gcov_type): Set to specific mode int on target.
5983 (gcov_unsigned_t, gcov_position_t): New.
5984 (GCOV_TYPE_NODE): New.
5985 (GCOV_TAG_SUMMARY_LENGTH): Adjust.
5986 (GCOV_COUNTERS_SUMMABLE): New.
5987 (gcov_ctr_summary, gcov_sumary, gcov_fn_info, gcov_merge_fn,
5988 gcov_ctr_info, gcov_info): Adjust types.
5989 (gcov_var): Adjust types.
5990 (gcov_write_unsigned, gcov_write_tag,
5991 gcov_write_length, gcov_write_tag_length, gcov_write_summary,
5992 gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
5993 (gcov_position, gcov_sync, gcov_seek): Adjust gcov types.
5994 * gcov-io.c (gcov_write_unsigned, gcov_write_tag,
5995 gcov_write_length, gcov_write_tag_length, gcov_write_summary,
5996 gcov_read_unsigned, gcov_read_summary): Adjust gcov types.
5997 * libgcov.c (gcov_crc32, gcov_version_mismatch, gcov_exit,
5998 __gcov_init, __gcov_merge_add): Adjust gcov types.
5999 * coverage.c (ctr_merge_functions): Constify.
6000 (ctr_names): New.
6001 (read_counts_file): Adjust gcov types. Only summarize & merge
6002 summable counters.
6003 (coverage_counter_ref): Use GCOV_TYPE_NODE.
6004 (build_fn_info_type, build_fn_info_value, build_ctr_info_type,
6005 build_ctr_info_value, build_gcov_info): Adjust types.
6006 * profile.c (branch_prob): Adjust gcov types.
6007 * gcov_dump (dump_file): Adjust gcov types.
6008
03f1640c
RE
60092003-05-10 Richard Earnshaw <rearnsha@arm.com>
6010
59650e48 6011 * arm.md (DOM_CC_X_AND_Y, DOM_CC_NX_OR_Y, DOM_CC_X_OR_Y): New
03f1640c
RE
6012 constants.
6013 (ior_scc_scc, and_scc_scc): New insn_and_split patterns.
59650e48 6014 * arm.c (arm_select_dominance_cc_mode): Renamed from
03f1640c
RE
6015 select_dominance_cc_mode, no-longer static. Use DOM_CC... constants.
6016 Callers updated.
6017 * arm-protos.h (arm_select_dominance_cc_mode): Add prototype.
6018
3ee10665
RS
60192003-05-09 Roger Sayle <roger@eyesopen.com>
6020
6021 * config/alpha/alpha.c (alpha_start_function): Declare frame_size
6022 as unsigned to avoid signed/unsigned comparison warnings.
6023
0bd0703d
BW
60242003-05-09 Bob Wilson <bob.wilson@acm.org>
6025
6026 * config/xtensa/xtensa.c (xtensa_emit_loop_end): Only use "nop.n"
6027 instruction if the Xtensa density option is enabled.
6028
1476c9d9
MK
60292003-05-09 Matt Kraai <kraai@alumni.cmu.edu>
6030
6031 * mklibgcc.in: Remove extra quotes.
6032
36e8d515
MM
60332003-05-09 Mark Mitchell <mark@codesourcery.com>
6034
6035 * config/rs6000/rs6000.c (spe_init_builtins): Fix typo in creation
6036 of int_ftype_void.
6037
f8a30250
AO
60382003-05-09 Alexandre Oliva <aoliva@redhat.com>
6039
6040 * reload1.c (reload_cse_move2add): Don't turn an implicit
6041 truncation into a self-set in the narrow mode.
6042
e912eadf
RE
60432003-05-09 Richard Earnshaw <rearnsha@arm.com>
6044
6045 * arm.md (clzsi2): The CLZ instruction is predicable.
6046
638db43e
BW
60472003-05-09 Bob Wilson <bob.wilson@acm.org>
6048
6049 * config/xtensa/xtensa.c: Formatting.
6050
5675294b
DN
60512003-05-09 Diego Novillo <dnovillo@redhat.com>
6052
6053 * tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
6054 instead of TREE_OPERAND to access the operand of a
6055 CONSTRUCTOR node.
6056
ec0f4995
DN
60572003-05-09 Diego Novillo <dnovillo@redhat.com>
6058
6059 * tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only
6060 one operand.
6061
3c4b6438
GDR
60622003-05-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
6063
6064 * toplev.h (warning_with_file_and_line): Don't declare.
6065 (error_with_file_and_line): Likewise.
6066 * diagnostic.c (error_with_file_and_line): Remove.
6067 (warning_with_file_and_line): Likewise.
6068
49468c8b
GDR
60692003-05-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
6070
6071 * c-parse.in (if_stmt_locus): New object.
6072 (if_prefix rule): Use it. Don't use warning_with_file_and_line.
6073 (select_or_iter_stmt rule): Likewise.
6074 (if_stmt_file): Remove.
6075 (if_stmt_line): Likewise.
6076 * jump.c: include "diagnostic.h"
59650e48 6077 (never_reached_warning): Don't use warning_with_file_and_line.
49468c8b
GDR
6078 * Makefile.in (jump.o): Add dependce on diagnostic.h
6079
c6b97fac
AM
60802003-05-09 Alan Modra <amodra@bigpond.net.au>
6081
6082 * expr.c (move_block_from_reg): Remove "size" parm. Localize vars.
6083 Move code handling pieces not larger than a word to..
6084 * function.c (assign_parms): ..here, but use change_address instead
6085 of adjust_address and operand_subword, and expand_binop instead of
6086 expand_shift. Adjust calls to move_block_from_reg.
6087 * expr.h (move_block_from_reg): Update declaration.
6088 (copy_blkmode_from_reg): Formatting.
6089 * Makefile.in (function.o): Add $(OPTABS_H) to deps.
6090 * config/alpha/alpha.c (alpha_setup_incoming_varargs): Adjust
6091 move_block_from_reg calls.
6092 * config/arc/arc.c (arc_setup_incoming_varargs): Likewise.
6093 * config/i960/i960.c (i960_setup_incoming_varargs): Likewise.
6094 * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise.
6095 * config/m88k/m88k.c (m88k_builtin_saveregsk): Likewise.
6096 * config/mips/mips.c (mips_setup_incoming_varargs): Likewise.
6097 * config/pa/pa.c (hppa_builtin_saveregs): Likewise.
6098 * config/romp/romp.h (SETUP_INCOMING_VARARGS): Likewise.
6099 * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
6100 * config/sh/sh.c (sh_builtin_saveregs): Likewise.
6101
06d22853
DD
61022003-05-08 DJ Delorie <dj@redhat.com>
6103
6104 * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_arg): Fix
6105 to handle arguments for which MUST_PASS_IN_STACK is true (e.g.,
6106 variable-sized types).
6107 (xstormy16_function_arg): New. Pass them that way too.
6108 * config/stormy16/stormy16-protos.h (xstormy16_function_arg): New.
6109 * config/stormy16/stormy16.h (FUNCTION_ARG): Call it.
6110
d0affb9f
AH
61112003-05-08 Aldy Hernandez <aldyh@redhat.com>
6112
59650e48
ZW
6113 * mklibgcc.in: Use mkinstalldirs when installing multilib
6114 directories.
d0affb9f 6115
ddf8ec7e
R
61162003-05-08 J"orn Rennecke <joern.rennecke@superh.com>
6117
6118 * sh.c (gen_block_redirect, split_branches): Use CODE_FOR_jump_compact
6119 instead of CODE_FOR_jump
6120
67f7893c
GDR
61212003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
6122
6123 * objc/objc-act.c (error_with_ivar): Don't use
59650e48 6124 error_with_file_and_line.
67f7893c
GDR
6125 (warn_with_method): Don't use warning_with_file_and_line.
6126
c8608cd6
GDR
61272003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
6128
6129 * stmt.c (emit_locus): New macro.
6130 (emit_filename): Remove.
6131 (emit_lineno): Likewise.
6132 (struct stmt_status): Replace members x_emit_filename and
6133 x_emit_lineno with x_emit_locus.
6134 (set_file_and_line_for_stmt): Adjust.
67f7893c 6135 (expand_expr_stmt_value): Don't use warning_with_file_and_line.
c8608cd6
GDR
6136 (warn_if_unused_value): Likewise.
6137 (check_seenlabel): Likewise.
6138
95035b6f
GDR
61392003-05-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
6140
6141 * c-decl.c (define_label): Tidy. Don't use any of
6142 error_with_file_and_line or warning_with_file_and_file.
6143 (pending_xref_error): Likewise.
6144 (store_parm_decls): Likewise.
6145 (current_function_prototype_locus): New object. Package from
6146 current_function_prototype_file and current_function_prototype_line.
6147 (start_function): Use it.
6148 (current_function_prototype_file): Remove.
6149 (current_function_prototype_line): Remove;
6150
7dc61d6c
KG
61512003-05-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6152
6153 * builtins.c (readonly_data_expr): New function.
6154 (expand_builtin_memmove): Optimize any rodata source, not just
6155 strings.
6156
044075ac
DM
61572003-05-07 David Mosberger <davidm@hpl.hp.com>
6158
59650e48 6159 * unwind-libunwind.c (_Unwind_FindEnclosingFunction): New.
044075ac 6160
8231b3f9
RH
61612003-05-07 Richard Henderson <rth@redhat.com>
6162
6163 * config/i386/i386.c (ix86_split_long_move): Fix base register
6164 mode for XFmode splits for TARGET_64BIT.
6165
0212907f
RH
61662003-05-07 Richard Henderson <rth@redhat.com>
6167
6168 * sched-ebb.c (schedule_ebb): Supply the correct starting
6169 block number to save_line_notes.
6170
c079e6fe
RH
61712003-05-07 Richard Henderson <rth@redhat.com>
6172
6173 * toplev.c (enum dump_file_index): Swap DFI_ce3, DFI_bbro.
6174 (dump_file): Likewise.
6175
c35b64c2
DM
61762003-05-07 David Mosberger <davidm@hpl.hp.com>
6177
59650e48 6178 * config/ia64/crtbegin.asm (__do_jv_register_classes): Don't
c35b64c2 6179 forget to preserve gp.
59650e48
ZW
6180 * config/ia64/crtend.asm (__do_global_ctors_au): Ditto.
6181
6182 * config/ia64/crtbegin.asm (__do_jv_register_classes): Add missing
6183 .prologue directive.
6184 Use .skip instead of data8 for .bss section to make Intel
6185 Assembler (ias) happy. Minor whitespace fixups. Make "nop 0"
6186 explicit in the .mib bundles and remove the unnecessary stop
6187 bits. Replace local labels with normal labels, to make ias
6188 happy. Don't register __do_global_ctors_aux here, do it in
6189 crtend.asm instead.
6190
6191 * config/ia64/crtend.asm [HAVE_INIT_FINI_ARRAY]: Register
6192 __do_global_ctors_aux in .init_array section instead of
6193 declaring it as a hidden global. Replace local labels with
6194 ordinary labels to make ias happy.
c35b64c2 6195
a944ceb9
RH
61962003-05-07 Richard Henderson <rth@redhat.com>
6197
59650e48
ZW
6198 PR c++/10570
6199 * except.c: Revert 04-01 and 04-02 forced-unwind changes.
6200 * flags.h, toplev.c, doc/invoke.texi: Likewise.
a944ceb9 6201
59650e48
ZW
6202 * unwind-dw2.c (_Unwind_GetCFA): Fix ptr->int conversion warning.
6203 * unwind.inc (_Unwind_DeleteException): Check for null
6204 exception_cleanup.
a944ceb9 6205
59650e48
ZW
6206 * unwind-sjlj.c (_Unwind_SjLj_Resume_or_Rethrow): New.
6207 * unwind.inc (_Unwind_Resume_or_Rethrow): New.
6208 * unwind.h: Declare them.
6209 * libgcc-std.ver (GCC_3.3): Export them.
a944ceb9 6210
9330e977
RH
62112003-05-07 Richard Henderson <rth@redhat.com>
6212
a21d83cd 6213 * unwind-dw2.c (_Unwind_GetCFA): Cast pointer to _Unwind_Ptr,
9330e977
RH
6214 not _Unwind_Word.
6215
046e4e36
ZW
62162003-05-07 Zack Weinberg <zack@codesourcery.com>
6217
6218 * stmt.c (force_label_rtx): New function, based on logic
6219 formerly found in expand_expr.
6220 * expr.h: Prototype it.
6221 * expr.c (expand_expr <LABEL_DECL>): Use force_label_rtx if
6222 appropriate.
6223 * varasm.c (decode_addr_const <LABEL_DECL>): Use force_label_rtx.
6224
6225 * print-tree.c (debug_tree): Free the table after we're done
6226 with it. Use putc.
6227
12850cf2
AH
62282003-05-07 Aldy Hernandez <aldyh@redhat.com>
6229
046e4e36
ZW
6230 * config/rs6000/spe.h: Reverse arguments for __ev_subfw.
6231 Unreverse arguments for __ev_subw.
12850cf2 6232
046e4e36 6233 * config/rs6000/spe.md (evsubfw): Reverse arguments of assembly.
12850cf2 6234
54350d48
NC
62352003-05-07 Nick Clifton <nickc@redhat.com>
6236
6237 * config/stormy16/stormy-abi: Update to include
6238 R_XSTORMY16_FPTR16, R_XSTORMY16_LO16, R_XSTORMY16_HI16 and
6239 R_XSTORMY16_12 relocs.
6240
ffea5d1e
AM
62412003-05-07 Alan Modra <amodra@bigpond.net.au>
6242
6243 * function.c (assign_parms): Correct reversed reg_parm_stack_space
6244 test. Add partial in-regs size to stack_args_size.
6245
da635858
GP
62462003-05-07 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6247
6248 * doc/invoke.texi (Warning Options): Mark -Wmissing-declarations
6249 as a C only option.
6250
474f141e
NS
62512003-05-07 Nathan Sidwell <nathan@codesourcery.com>
6252
6253 * gcov-io.h (GCOV_LOCKED): New #define.
6254 (GCOV_LINKAGE): Make sure it is #defined.
6255 (gcov_write_string, gcov_write_tag, gcov_write_length,
6256 gcov_read_string, gcov_time): Poison in libgcov.
6257 (gcov_seek_end): Remove.
6258 (gcov_write_tag_length, gcov_sync, gcov_rewrite): New.
6259 (GCOV_TAG_FUNCTION_LENGTH, GCOV_TAG_BLOCKS_LENGTH,
6260 GCOV_TAG_ARCS_LENGTH, GCOV_TAG_COUNTER_LENGTH,
6261 GCOV_TAG_SUMMARY_LENGTH): New #defines.
6262 (gcov_write_tag, gcov_write_length): Not in libgcov.
6263 * gcov-io.c (gcov_open): Use GCOV_LOCKED.
6264 (gcov_write_tag, gcov_write_length): Not in libgcov.
6265 (gcov_write_tag_length): New.
6266 (gcov_write_summary): Use gcov_write_tag_length.
6267 * libgcov.c: Always #include gcov-io.h.
6268 (IN_LIBGCOV): -1 for inhibit_libc, +1 otherwise.
6269 (GCOV_LINKAGE): Define to nothing for L_gcov.
6270 (gcov_exit): Replace gcov_write_tag, gcov_write_length with
6271 gcov_write_tag_length. Use gcov_rewrite & gcov_seek.
6272 * gcov.c (read_graph_file): Replace gcov_seek by gcov_sync.
6273 (read_count_file): Likewise.
6274 * gcov-dump.c (dump_file): Likewise.
6275 * coverag.c (read_counts_file): Likewise.
6276
6cbeaa7e
MM
62772003-05-06 Mark Mitchell <mark@codesourcery.com>
6278
6279 PR other/10658
6280 * gcc.c (process_command): Update copyright date.
6281
26979a17
PE
62822003-05-06 Phil Edwards <pme@gcc.gnu.org>
6283
6284 * doc/install.texi (mips-*-*): Add note about libstdc++.
6285
14b56832
DD
62862003-05-06 DJ Delorie <dj@redhat.com>
6287
6288 * config/stormy16/stormy16.c (xstormy16_function_profiler): New.
6289 * config/stormy16/stormy16.h (FUNCTION_PROFILER): Call it.
6290 * config/stormy16/stormy16-protos.h (xstormy16_function_profiler): New.
6291
2c2bc09b
NB
62922003-05-06 <neil@cat.daikokuya.co.uk>
6293
6294 * c-opts.c (COMMAND_LINE_OPTIONS): Reject -Wmissing-prototypes
6295 and -Wstrict-prototypes if C++.
6296
2f3f95e9
AH
62972003-05-06 Aldy Hernandez <aldyh@redhat.com>
6298
046e4e36 6299 * config/rs6000/linuxspe.h: New file.
2f3f95e9 6300
046e4e36 6301 * config.gcc: Add powerpc-*-linux-gnuspe* target.
2f3f95e9 6302
8b689196
RH
63032003-05-06 Richard Henderson <rth@redhat.com>
6304
046e4e36 6305 * unwind-dw2.c (uw_update_context_1): Only set cfa as sp if
8b689196
RH
6306 previous frame didn't save sp. Clear sp for next frame.
6307 (uw_install_context_1): Honor saved sp from frame.
6308
5b0f0db6
RS
63092003-05-06 Richard Sandiford <rsandifo@redhat.com>
6310
6311 * config/mips/mips-protos.h (mips_subword, mips_output_move): Declare.
6312 (mips_move_1word, mips_move_2words): Remove declaration.
6313 (mips_split_64bit_move_p, mips_split_64bit_move): Declare.
6314 (mips_restore_gp): Remove insn argument.
6315 * config/mips/mips.h (FP_REG_RTX_P): New macro.
6316 * config/mips/mips.c (volatile_buffer): Remove.
6317 (mips_subword, mips_split_64bit_move_p, mips_split_64bit_move): New.
6318 (mips_move_1word, mips_move_2words): Remove, replacing with...
6319 (mips_output_move): ...this new function.
6320 (mips_restore_gp): Remove insn argument. Adjust for above changes.
6321 (print_operand): Make '%h' print %hi(op) for HIGH operands. Remove
6322 handling of floating-point constants. Handle zero CONST_DOUBLE
6323 arguments.
6324 (mips_annotate_frame_insn): Replace with...
6325 (mips_set_frame_expr): ...this, which just takes one argument.
6326 (mips_frame_set): Change the register argument to an rtx.
6327 (mips_emit_frame_related_store): Use mips_split_64bit_move_p to
6328 check whether moves should be split. Use mips_split_64bit_move
6329 to split them. Use mips_subword to generate the high and low
6330 parts of a paired FPR. Adjust calls to frame_set and
6331 mips_set_frame_expr.
6332 (mips_expand_prologue): Simplify due to above changes.
6333 * config/mips/mips.md: Add splitters for 64-bit moves on 32-bit
6334 targets, replacing xisting register-only versions.
6335 (UNSPEC_STORE_DF_HIGH): New unspec.
6336 (UNSPEC_LOAD_DF_LOW, UNSPEC_LOAD_DF_HIGH): New unspecs.
6337 (mulsi3_r4000, muldi3_internal2): Avoid use of mips_move_1word.
6338 (*paradoxical_extendhidi2): Remove.
6339 (movdi_internal, movdi_internal2): Use mips_output_move.
6340 (*movdi_internal2_mips16, movsi_internal, movcc): Likewise.
6341 (movsf_internal1, movsf_internal2): Likewise.
6342 (movdf_internal1a): Likewise. Fix length and type of f <- G case.
6343 (movdf_internal1b): Use mips_output_move. Fix type of f <- G case.
6344 (movdf_internal2): Use mips_output_move. Fix lengths of FPR moves.
6345 Add m <- G alternative.
6346 (load_df_low, load_df_high, store_df_low): New patterns.
6347 (movhi_internal): Use @ template instead of calling a function.
6348 Remove unnecessary 'z' alternatives.
6349 (movqi_internal): Likewise.
6350 (exception_receiver): Update call to mips_restore_gp.
6351
e8b84d3d
RS
63522003-05-06 Richard Sandiford <rsandifo@redhat.com>
6353
6354 * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Remove.
6355 (mips_delegitimize_address): Declare.
6356 * config/mips/mips.h (ASM_SIMPLIFY_DWARF_ADDR): Undefine.
6357 (FIND_BASE_TERM): Define.
6358 * config/mips/mips.c (TARGET_DELEGITIMIZE_ADDRESS): Define.
6359 (mips_delegitimize_address): Renamed from mips_simplify_dwarf_addr.
6360 Handle small-data addresses.
6361
e82a312b
RS
63622003-05-05 Roger Sayle <roger@eyesopen.com>
6363
6364 * real.c (real_powi): New function to calculate the value of
6365 a real raised to an integer power, i.e. pow(x,n) for int n.
6366 (real_sqrt): Convert to using the faster do_add, do_multiply
6367 and do_divide API for consistency with the rest of real.c.
6368 * real.h (real_powi): Prototype here.
6369 * builtins.c (fold_builtin): Avoid local variable mode when
6370 evaluating sqrt at compile time. Attempt to evaluate pow at
6371 compile-time, by checking for an integral exponent.
6372
905e8651
RH
63732003-05-05 Richard Henderson <rth@redhat.com>
6374
6375 * doc/extend.texi (Variable Attributes): Re-sort table and tidy.
6376
88467101
DB
63772003-05-05 David O'Brien <obrien@FreeBSD.org>
6378
6379 * config/rs6000/sysv4.h (CPP_OS_FREEBSD_SPEC): Add __ELF__ to mirror
6380 other FreeBSD ports.
6381 (LINK_OS_FREEBSD_SPEC): Mirror conventions on other FreeBSD ports.
cb1f476f 6382 (_LITTLE_ENDIAN): Use __LITTLE_ENDIAN__ instead.
88467101 6383
6ccfe27c
JJ
63842003-05-05 Janis Johnson <janis187@us.ibm.com>
6385
6386 * Makefile.in: (site.exp): Add ALT_CC_UNDER_TEST, add quotes around
6387 expanded variables.
6388 * doc/sourcebuild.texi (C tests): Describe gcc.dg/compat tests.
6389
10b6a274
ZW
63902003-05-05 Zack Weinberg <zack@codesourcery.com>
6391
6392 * rtl.h (STRING_POOL_ADDRESS_P): Rename to DEFERRED_CONSTANT_P.
6393 * varasm.c (struct varasm_status): Add deferred_constants field.
6394 (n_deferred_strings): Delete variable.
6395 (n_deferred_constants): New #define.
6396 (struct constant_descriptor_tree): Kill next and label fields.
6397 (const_hash_table, MAX_HASH_TABLE): Delete.
6398 (const_desc_htab): New static variable.
6399 (const_hash): Rename const_desc_hash, and make it fit the
6400 hashtab.h interface.
6401 (const_desc_eq): New.
6402 (const_hash_1, compare_constant): Const-ify arguments.
6403 (build_constant_desc): Set DEFERRED_CONSTANT_P on all new
6404 SYMBOL_REFs. Clarify comments. Don't set desc->label.
6405 (output_constant_def): Do the lookup/insert using the
6406 hashtab.h interface. Don't muck with n_deferred_constants or
6407 DEFERRED_CONSTANT_P here.
6408 Always call maybe_output_constant_def_contents.
6409 (maybe_output_constant_def_contents): Take a pointer to the
6410 descriptor, not the EXP and RTL separately. Return
6411 immediately if this constant is not deferred. Defer output of
6412 everything, except writable string constants. Update
6413 n_deferred_constants here.
6414 (output_constant_def_contents): Now takes just one argument,
6415 an rtx. Clear DEFERRED_CONSTANT_P here.
6416 (mark_constant_pool): Update for rename of n_deferred_strings.
6417 (mark_constant): Don't clear DEFERRED_CONSTANT_P here.
6418
6419 (init_varasm_status): Clear p->deferred_constants.
6420 (init_varasm_once): Call htab_create_ggc for const_desc_htab.
6421
68ef8841
KG
64222003-05-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6423
6424 * builtins.c (expand_builtin_stpcpy): Only expand when the length
6425 of the source string can be evaluated at compile-time.
6426
9938b5d9
AH
64272003-05-05 Aldy Hernandez <aldyh@redhat.com>
6428
10b6a274 6429 * testsuite/gcc.c-torture/compile/simd-6.c: New.
9938b5d9 6430
10b6a274 6431 * c-typeck.c (digest_init): Handle arrays of vector constants.
9938b5d9 6432
e3e9f108
JJ
64332003-05-05 Jakub Jelinek <jakub@redhat.com>
6434
6435 * builtins.c (expand_builtin_mempcpy): New function.
6436 (expand_builtin_stpcpy): Optimize stpcpy whose return value is
6437 ignored into strcpy no matter what arguments it has.
6438 (expand_builtin) <case BUILT_IN_MEMPCPY>: Call
6439 expand_builtin_mempcpy.
6440
6035d635
AH
64412003-05-05 Aldy Hernandez <aldyh@redhat.com>
6442
10b6a274 6443 * testsuite/gcc.dg/20030505.c: New.
6035d635 6444
10b6a274
ZW
6445 * c-typeck.c (convert_for_assignment): Opaque pointers can
6446 interconvert.
6035d635 6447
10b6a274
ZW
6448 * config/rs6000/rs6000.c: New global opaque_p_V2SI_type_node.
6449 (rs6000_init_builtins): Initialize opaque_p_V2SI_type_node.
6450 (spe_init_builtins): Rename all pv2si_type_node to
6451 opaque_p_V2SI_type_node.
6452 Remove declaration of pv2si_type_node.
6453 (is_ev64_opaque_type): Accept opaque pointers.
6035d635 6454
36b29d7d
GK
64552003-05-05 Geoffrey Keating <geoffk@apple.com>
6456
bc9ec0e0
GK
6457 * config/rs6000/rs6000.c (validate_condition_mode): Use
6458 flag_finite_math_only.
6459 (rs6000_reverse_condition): Never return UNKNOWN; use
6460 flag_finite_math_only.
6461 (rs6000_generate_compare): Use flag_finite_math_only.
6462 (rs6000_emit_cmove): Handle UNLE. Support UNEQ under -ffast-math.
6463 Use HONOR_* rather than flag_unsafe_math_optimizations. Correct
10b6a274 6464 UNGE and GT cases. Handle UNEQ and LTGT when ! HONOR_NANS.
bc9ec0e0 6465
36b29d7d
GK
6466 * toplev.c (check_global_declarations): Suppress not-used warning
6467 for volatile variables.
6468
9e5f281f
OH
64692003-05-05 Olivier Hainque <hainque@act-europe.fr>
6470
10b6a274
ZW
6471 * expr.c (expand_expr, case BIT_FIELD_REF): Refine the test forcing
6472 usage of bitfield instructions for mode1 != BLKmode, only ignoring
6473 SLOW_UNALIGNED_ACCESS if the field is not byte aligned.
6474 (store_field): Likewise.
9e5f281f 6475
f5119d10
AH
64762003-05-05 Aldy Hernandez <aldyh@redhat.com>
6477
10b6a274
ZW
6478 * config/rs6000/rs6000.c (rs6000_expand_binop_builtin): Add
6479 evsubifw to builtins accepting 5-bit unsigned constants.
6480 (easy_vector_constant): Return if V1DImode. Fix typo.
f5119d10 6481
25ecd459
AH
64822003-05-05 Aldy Hernandez <aldyh@redhat.com>
6483
10b6a274 6484 * config/rs6000/spe.h: Revert licensing change from last patch.
25ecd459 6485
9be13211
DD
64862003-05-05 DJ Delorie <dj@redhat.com>
6487
6488 * config/stormy16/stormy16.md (negsi2): Allocate the pseudos
6489 before reload, but defer the split until after.
6490 * config/stormy16/stormy16.c (xstormy16_expand_arith): Modify
6491 to match.
6492
2c9d95ef
DE
64932003-05-05 David Edelsohn <edelsohn@gnu.org>
6494
6495 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add 440 support.
6496 * config/rs6000/vxworks.h (CC1_SPEC): Use -mcpu=440 for t440.
6497
1e77e673
ZD
64982003-05-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6499
6500 * libgcov.c (__gcov_merge_add): Do not use gcov_type when inhibit_libc
10b6a274 6501 is defined.
1e77e673 6502
00362064
KG
65032003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6504
6505 * builtin-attrs.def (ATTR_NOTHROW_NONNULL_1,
6506 ATTR_NOTHROW_NONNULL_2, ATTR_NOTHROW_NONNULL_3): Renamed from
6507 ATTR_NONNULL_1, ATTR_NONNULL_2 and ATTR_NONNULL_3.
6508
6509 (ATTR_NOTHROW_NONNULL_1_2, ATTR_NOTHROW_NONNULL_1_4,
6510 ATTR_CONST_NOTHROW_NONNULL_1, ATTR_PURE_NOTHROW_NONNULL_1,
6511 ATTR_PURE_NOTHROW_NONNULL_1_2, ATTR_MALLOC_NOTHROW_NONNULL_1):
6512 New.
6513
6514 * builtins.def (DEF_EXT_FALLBACK_BUILTIN): Accept ATTRS argument.
6515 (BUILT_IN_BZERO, BUILT_IN_BCOPY, BUILT_IN_BCMP): Update comment
6516
6517 (BUILT_IN_INDEX, BUILT_IN_RINDEX, BUILT_IN_MEMCPY,
6518 BUILT_IN_MEMMOVE, BUILT_IN_MEMCMP, BUILT_IN_MEMSET,
6519 BUILT_IN_MEMPCPY, BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
6520 BUILT_IN_STPCPY, BUILT_IN_STRCPY, BUILT_IN_STRNCPY,
6521 BUILT_IN_STRCMP, BUILT_IN_STRNCMP, BUILT_IN_STRLEN,
6522 BUILT_IN_STRSTR, BUILT_IN_STRPBRK, BUILT_IN_STRSPN,
6523 BUILT_IN_STRCSPN, BUILT_IN_STRCHR, BUILT_IN_STRRCHR, BUILT_IN_NAN,
6524 BUILT_IN_NANF, BUILT_IN_NANL, BUILT_IN_NANS, BUILT_IN_NANSF,
6525 BUILT_IN_NANSL, BUILT_IN_PUTS, BUILT_IN_FPUTC, BUILT_IN_FPUTS,
6526 BUILT_IN_FWRITE, BUILT_IN_PUTS_UNLOCKED, BUILT_IN_FPUTC_UNLOCKED,
6527 BUILT_IN_FPUTS_UNLOCKED, BUILT_IN_FWRITE_UNLOCKED,
6528 BUILT_IN_STRDUP): Add "nonnull" attribute.
6529
ad26fb41
RK
65302003-05-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6531
c1853da7
RK
6532 * expr.c (store_field): Don't clobber TEMP in shift: it might be
6533 a variable.
6534 (get_inner_reference): Don't go through a VIEW_CONVERT_EXPR
6535 whose purpose is to step up the alignment.
6536 (expand_expr, case ADDR_EXPR): Force LO_SUM into memory, just like REG.
6537
ad26fb41
RK
6538 * stor-layout.c (compute_record_mode): Relax restriction
6539 on fields crossing word boundaries forcing BLKmode.
6540
1fecc266
NB
65412003-05-04 Neil Booth <neil@daikokuya.co.uk>
6542
6543 * cppinit.c (cpp_create_reader, post_options): Warn about
6544 trigraphs unless explicity set or -trigraphs.
6545 * cpplex.c (warn_in_comment): New.
6546 (_cpp_process_line_notes): Better handling of -Wtrigraphs.
6547 (_cpp_skip_block_comment): Add call to _cpp_process_line_notes.
6548 * doc/cppopts.texi, doc/cpp.texi: Update.
6549
09780dfb
ZD
65502003-05-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
6551
6552 * Makefile.in (LIBGCOV): Add _gcov_merge_add.
6553 * gcov-io.h: Make GCOV_LINKAGE extern in libgcov and prevent resulting
6554 namespace clash.
6555 (GCOV_MERGE_FUNCTIONS): New.
6556 (gcov_merge_fn): Declare.
6557 (struct gcov_ctr_info): New field "merge".
6558 (__gcov_merge_add): Declare.
6559 * coverage.c (ctr_merge_functions): New.
6560 (build_ctr_info_type, build_ctr_info_value): Initialize merge field
6561 of gcov_ctr_info type.
6562 * libgcov.c (__gcov_merge_add): New.
6563 (gcov_exit): Call a hook to merge values of counters.
6564
c71f2ffd
GDR
65652003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
6566
6567 * toplev.h (pedwarn_with_file_and_line): Don't declare.
6568 * diagnostic.c (pedwarn_with_file_and_line): Remove.
6569
3d885683
GDR
65702003-05-04 Gabriel Dos Reis <gdr@integrable-solutions.net>
6571
6572 * varasm.c (assemble_variable): Don't use error_with_file_and_line.
6573
8c9b38d7
KG
65742003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6575
6576 * builtins.c (expand_builtin_constant_p, expand_builtin_strlen,
6577 expand_builtin_frame_address): Update prototypes.
6578 (expand_builtin_constant_p, expand_builtin_strlen,
6579 expand_builtin_strcpy, expand_builtin_memset,
6580 expand_builtin_bzero, expand_builtin_args_info,
6581 expand_builtin_frame_address): Pass in just the argument(s)
6582 needed, not the entire expression `exp'.
6583 (expand_builtin): Update all calls to these functions.
6584
9c80ff25
RH
65852003-05-03 Richard Henderson <rth@redhat.com>
6586
6587 * builtins.c (expand_builtin) <BUILT_IN_DWARF_FP_REGNUM>: Remove.
6588 <BUILT_IN_DWARF_SP_COLUMN>: New.
6589 * builtins.def (BUILT_IN_DWARF_FP_REGNUM): Remove.
6590 (BUILT_IN_DWARF_SP_COLUMN): New.
6591 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Remove.
6592 (expand_builtin_dwarf_sp_column): New.
6593 * except.h: Update to match.
6594 * unwind-dw2.c (execute_stack_op): Correct stack push typo.
6595 (execute_cfa_program): Record location expression address
6596 before extracting length.
6597 (uw_update_context_1): Install old CFA into stack pointer column.
6598 (uw_init_context_1): Set cfa_reg to stack pointer column.
6599
4d588c14
RH
66002003-05-03 Richard Henderson <rth@redhat.com>
6601
6602 * config/rs6000/rs6000.c (constant_pool_expr_p): Make static and
6603 return bool.
6604 (toc_relative_expr_p): Likewise.
6605 (SPE_CONST_OFFSET_OK): Move from rs6000.h.
6606 (legitimate_constant_pool_address_p): Move from rs6000.h, change
6607 into a function, downcase all users.
6608 (legitimate_small_data_p): Likewise.
6609 (legitimate_offset_address_p): Likewise.
6610 (legitimate_indexed_address_p): Likewise.
6611 (legitimate_indirect_address_p): Likewise.
6612 (legitimate_lo_sum_address_p): Likewise.
6613 (rs6000_mode_dependent_address): Likewise.
6614 * rs6000.h (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): Remove.
6615 (SPE_CONST_OFFSET_OK, LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6616 LEGITIMATE_SMALL_DATA_P, LEGITIMATE_OFFSET_ADDRESS_P,
6617 LEGITIMATE_INDEXED_ADDRESS_P, LEGITIMATE_INDIRECT_ADDRESS_P,
6618 LEGITIMATE_LO_SUM_ADDRESS_P): Move into rs6000.c.
6619 (LEGITIMATE_ADDRESS_INTEGER_P): Remove.
6620 (GO_IF_MODE_DEPENDENT_ADDRESS): Use rs6000_mode_dependent_address.
6621 * config/rs6000/rs6000-protos.h: Update.
6622
8d90f9c0
GK
66232003-05-03 Geoffrey Keating <geoffk@apple.com>
6624
b39358e1
GK
6625 * config/rs6000/rs6000.h (REVERSIBLE_CC_MODE): Define.
6626 (REVERSE_CONDITION): Define.
6627
b7053a3f
GK
6628 * config/rs6000/rs6000.c (scc_comparison_operator): Make equivalent
6629 to branch_positive_comparison_operator.
6630 (ccr_bit): Check that sCOND conditions are actually a positive bit.
6631 (print_operand): Remove %D substitution.
6632 (rs6000_emit_sCOND): Generate complement operation to ensure that
6633 sCOND input is a positive bit.
6634 * config/rs6000/rs6000.md: Rearrange sCOND templates to be in the
6635 same order as bCOND, and add the missing ones. Remove the %D
6636 substitutions from the scc patterns.
6637
8d90f9c0
GK
6638 * simplify-rtx.c (simplify_relational_operation): Add case for
6639 ! (fabs(x) < 0.0).
6640
8882ac3a
BK
66412003-05-03 Bruce Korb <bkorb@gnu.org>
6642
6643 * gcc/fixinc/fixincl.tpl(dne): restore this to force merge conflicts
6644 in fixincl.x
6645 * gcc/fixinc/inclhack.def(bsd_stdio_attrs_conflict): fix placement
6646
bd879e9a
AH
66472003-05-03 Aldy Hernandez <aldyh@redhat.com>
6648
4d588c14 6649 * config/rs6000/spe.h: Remove unecessary casts. Misc cleanups.
bd879e9a 6650
87f85ea0
ZW
66512003-05-03 Zack Weinberg <zack@codesourcery.com>
6652
6653 PR c/10604
6654 * c-common.c (warn_sign_compare): Initialize to -1.
6655 * c-opts.c (c_common_init_options): Don't set warn_sign_compare here.
6656 (c_common_decode_option <OPT_Wall>): Set warn_sign_compare
6657 for C++ only.
6658 (c_common_post_options): Set warn_sign_compare from extra_warnings
6659 if it's still -1 at this point.
6660
6661 * toplev.c (maybe_warn_unused_parameter): New static variable.
6662 (set_Wextra): New static function.
6663 (W_options): Remove "extra".
6664 (decode_W_option): Call set_Wextra.
6665 (independent_decode_option): Likewise.
6666 (set_Wunused): Cooperate with set_Wextra in setting
6667 warn_unused_parameter.
6668 (rest_of_compilation): No need to check extra_warnings as
6669 well as warn_uninitialized.
6670
6671 * c-typeck.c (build_binary_op, build_conditional_expr):
6672 No need to check extra_warnings as well as warn_sign_compare.
6673 (internal_build_compound_expr): No need to check extra_warnings
6674 as well as warn_unused_value.
6675 * function.c (expand_function_end): No need to check extra_warnings
6676 as well as warn_unused_parameter.
6677 * stmt.c (expand_expr_stmt_value): No need to check extra_warnings
6678 as well as warn_unused_value.
6679
6680 * doc/invoke.texi: Clarify documentation of -Wsign-compare.
6681
6682 * Makefile.in: Disable -Werror for gengtype-lex.o.
6683
ee960939
OH
66842003-05-03 Olivier Hainque <hainque@act-europe.fr>
6685
6686 * emit-rtl.c (last_call_insn, add_function_usage_to): New functions.
6687 * rtl.h (last_call_insn, add_function_usage_to): New prototypes.
6688 * builtins.c (expand_builtin_apply): Use the new emit-rtl functions.
6689 * calls.c (emit_call_1): Likewise.
87f85ea0 6690 (expand_call): For calls initializing constant memory, replace
ee960939
OH
6691 emission of standalone mem /u clobber with function usage entry.
6692 * expr.c (emit_block_move_via_libcall): Likewise.
6693 * cse.c (count_reg_usage, case EXPR_LIST): New case.
6694 * flow.c (propagate_one_insn): Pass entire operand of
6695 CALL_INSN_FUNCTION_USAGE to mark_used_regs.
6696 * integrate.c (try_constants): For CALL_INSNs, substitute constants
6697 within the FUNCTION_USAGE also.
6698 * loop.c (prescan_loop): Note clobbers of const mem mentioned in
6699 FUNCTION_USAGE lists.
6700 * reload1.c (replace_pseudos_in): Renamed.
6701 (reload): Use it for clobbers surviving until the end of the reload.
6702
3923e410
RK
67032003-05-03 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6704
13cf99ec
RK
6705 * expr.c (expand_expr, case VIEW_CONVERT_EXPR): Don't use
6706 gen_lowpart on non-integer modes.
6707
3923e410
RK
6708 * stor-layout.c (place_field): When adjusting offset_align, use
6709 desired_align, not DECL_ALIGN.
6710
070588f0
NS
67112003-05-03 Nathan Sidwell <nathan@codesourcery.com>
6712
6713 * c-decl.c (pending_invalid_xref_file): Remove.
6714 (pending_invalid_xref_line): Remove.
6715 (pending_invalid_xref_location): New.
6716 (lookup_label): Use location_t and input_location directly.
6717 (lookup_tag): Likewise.
6718 (pending_xref_error): Likewise.
6719 (c_expand_body_1): Likewise.
6720 * c-common.c (x_expand_start_cond): Likewise.
6721 * c-semantics.c (genrtl_for_stmt): Likewise.
6722 (find_reachable_label): Likewise.
6723 * expr.c (expand_expr): Likewise.
6724 * integrate.c (output_inline_function): Likewise.
6725 * tree-inline.c (find_alloca_call): Likewise.
6726 (find_builtin_longjmp_call): Likewise.
6727 * gcc.c (input_filename): Make static.
87f85ea0 6728
b259a9a6
RS
67292003-05-03 Richard Sandiford <rsandifo@redhat.com>
6730
969c6c43
RS
6731 * config/mips/mips.md: Fix comment typo.
6732
b259a9a6
RS
6733 * config/mips/mips.c (mips_integer_op): New structure.
6734 (MIPS_MAX_INTEGER_OPS): Define.
6735 (mips_const_insns): Use mips_build_integer to determine the number
6736 of instructions needed to load a CONST_INT.
6737 (move_operand): Reject compound CONST_INTs.
6738 (mips_build_shift, mips_build_lower, mips_build_integer): New fns.
6739 (mips_move_integer): New fn.
6740 (mips_legitimize_const_move): Pass CONST_INTs to mips_move_integer.
6741 (mips_legitimize_move): Only legitimize constants when moving
6742 word or subword values.
6743
28068c2c
MK
67442003-05-02 Matt Kraai <kraai@alumni.cmu.edu>
6745
6746 * Makefile.in (gcov-iov.h): Use move-if-change and a stamp.
6747
685828f7
KG
67482003-05-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6749
6750 * builtins.c (expand_builtin_stpcpy): Copy `arglist' before
6751 modifying it.
6752
d9e95c63
FH
67532003-05-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
6754 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6755
6756 * doc/contrib.texi (Contributors): Add Zdenek Dvorak, Aldy
6757 Hernandez, and Kazu Hirata. Update Richard Henderson.
6758
7454096f
GK
67592003-05-02 Geoffrey Keating <geoffk@apple.com>
6760
b86fe7b4
GK
6761 * config/rs6000/rs6000.c (rs6000_attribute_table): Add 'extern'
6762 to tentative declaration.
87f85ea0 6763
20bfcd69
GK
6764 * config/rs6000/sysv4.h (SYMBOL_FLAG_SMALL_V4): Delete.
6765 (SYMBOL_FLAG_SMALL_V4): Delete.
6766 * config/rs6000/rs6000.c (small_data_operand): Use SYMBOL_REF_SMALL_P.
6767 (rs6000_elf_encode_section_info): Don't set SYMBOL_FLAG_SMALL_V4.
6768 (rs6000_elf_in_small_data_p): Add extra section names. Add
6769 comment about TREE_PUBLIC test.
6770
7454096f
GK
6771 * c-semantics.c (genrtl_switch_stmt, genrtl_if_stmt): Call
6772 expand_stmt on result of expand_unreachable_stmt.
6773
3f4a3170
GP
67742003-05-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6775
6776 * doc/contrib.texi (Contributors): Add Daniel Berlin.
6777
473f51b6
DE
67782003-05-02 David Edelsohn <edelsohn@gnu.org>
6779
6780 * config/rs6000/{603.md,6xx.md,7450.md,7xx.md,rs64.md}: Decrease
6781 number of automata.
6782
6783 * config/rs6000/rs6000.c (symbol_ref_operand): Check
6784 SYMBOL_REF_FUNCTION_P on AIX.
6785 (current_file_function_operand): Same.
6786 * config/rs6000/rs6000.md (call,call_value): Force non-function
6787 symbol_ref into register on AIX.
6788
e7949876
AM
67892003-05-02 Alan Modra <amodra@bigpond.net.au>
6790
6791 * calls.c (struct arg_data): Move offset, slot_offset, size and
6792 alignment_pad to struct locate_and_pad_arg_data. Update all refs.
6793 (initialize_argument_information): Adjust call to locate_and_pad_parm.
6794 Delete alignment_pad var. Don't calculate slot_offset here.
6795 (emit_library_call_value_1): Delete alignment_pad, offset and size
6796 vars. Use struct locate_and_pad_arg_data instead. Adjust refs.
6797 Adjust call to locate_and_pad_parm. Don't tweak arg size for
6798 partial in-regs here. Formatting fixes.
6799 * expr.h (struct locate_and_pad_arg_data): New struct.
6800 (locate_and_pad_parm): Adjust declaration.
6801 * function.c (assign_parms): Localize vars. Use "locate" instead of
6802 other arg location vars. Don't invoke FUNCTION_ARG or
6803 FUNCTION_INCOMING_ARG unless pretend_named is different from
6804 named_arg. Heed MUST_PASS_IN_STACK and set up "partial" before
6805 calling locate_and_pad_parm. Adjust locate_and_pad_parm call.
6806 Use slot_offset for stack home of reg parms. Correct test for
6807 parm passed in memory. Formatting fixes.
6808 (locate_and_pad_parm): Add "partial" to params. Replace offset_ptr
6809 arg_size_ptr and alignment pad with "locate". Set slot_offset here.
6810 Correct initial_offset_ptr handling. Localize vars. Always pad
6811 locate->offset even when in_regs.
6812
6060edcb
NS
68132003-05-02 Nathan Sidwell <nathan@codesourcery.com>
6814
6815 * Makefile.in (TREE_H): Replace location.h with input.h.
6816 (GTFILES) Remove location.h
6817 (gt-lists.h): Replace gt-location.h with gt-input.h
6818 * input.h (input_filename, input_line): Remove variables.
6819 (location_s, location_t): Move from location.h.
6820 (input_location): New.
6821 (input_filename, input_line): New #defines.
6822 * location.h: Remove.
6823 * tree.h: Replace location.h with input.h.
6824 (input_filename, input_line): Remove.
6825 * diagnostic.h: Replace location.h with input.h.
6826 * gcc.h (input_filename, input_filename_length): Remove declarations.
6827 * toplev.c (input_filename, input_line): Remove.
6828 (input_location): Define.
6829 (push_srcloc, pop_srcloc): Adjust.
6830 * diagnostic.c (diagnostic_report_current_module): Adjust.
6831
f8000836
NC
68322003-05-02 Nick Clifton <nickc@redhat.com>
6833
6834 * configure.in: Add xstormy16 to list of targets that has a nop
6835 instruction and hence which can be tested to see if the
6836 assembler supports the --gdwarf2 switch.
6837 * configure: Regenerate.
6838
409f52d3 68392003-05-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
87f85ea0
ZW
6840
6841 PR target/8257
6842 * config/alpha/alpha.c (alpha_sa_mask, alpha_expand_prologue,
6843 alpha_start_function, alpha_expand_epilogue, unicosmk_gen_dsib):
6844 Avoid undefined shifts by making the shift operand unsigned.
6845
57458e8a
DD
68462003-05-01 DJ Delorie <dj@redhat.com>
6847
6848 * reload.c (find_reloads): Also check that all of a multi-reg
6849 value is in the class.
6850
774cb6d1
NS
68512003-05-01 Nathan Sidwell <nathan@codesourcery.com>
6852
6853 * scan.h (lineno): Revert the rename here.
6854
e1a4211d
SS
68552003-05-01 Stan Shebs <shebs@apple.com>
6856
6857 * config/darwin.c (darwin_encode_section_info): Call
6858 default_encode_section_info.
6859
02ca7595
DE
68602003-05-01 David Edelsohn <edelsohn@gnu.org>
6861
6862 * config/rs6000/rs6000.md (define_attr "type"): Add mfjmpr.
6863 (movsi_internal1): Use new mfjmpr attribute.
6864 (movhi_internal): Same.
6865 (movqi_internal): Same.
6866 (movcc_internal1): Same.
6867 (movdi_internal64): Same.
6868 * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
6869 power4.md,rios1.md,rios2.md,rs64.md}: Add mfjmpr.
6870 * config/rs6000/40x.md: Add fpu_405.
6871 * config/rs6000/power4.md: Merge power4lsu and power4disp automata
6872 into power4misc automata. Remove extraneous parentheses.
6873 * config/rs6000/440.md: New file.
6874 * config/rs6000/rs6000.c (processor_target_table): Add 440,
6875 440fp. Rename 405f to 405fp.
6876 (function_arg_padding): Correct formatting.
6877 (rs6000_rtx_costs): Add PROCESSOR_PPC440 cases.
6878
3b895f8e
NS
68792003-05-01 Nathan Sidwell <nathan@codesourcery.com>
6880
d479d37f
NS
6881 * input.h (lineno): Rename to ...
6882 (input_line): ... here.
6883 * tree.h (lineno): Rename to ...
6884 (input_line): ... here.
6885 * scan.h (lineno): Rename to ...
6886 (input_line): ... here.
6887 * toplev.c (lineno): Rename to ...
6888 (input_line): ... here.
6889 (push_srcloc, pop_srcloc): Rename lineno to input_line.
6890 * c-common.c (c_expand_start_cond, fname_decl): Likewise.
6891 * c-decl.c (poplevel, pop_label_level, lookup_label, lookup_tag,
6892 store_parm_decls, c_expand_body_1): Likewise.
6893 * c-errors.c (pedwarn_c99): Likewise.
6894 * c-format.c (status_warning): Likewise.
6895 * c-lex.c (fe_file_change, cb_def_pragma, c_lex): Likewise.
6896 * c-opts.c (c_common_post_options, c_common_parse_file): Likewise.
6897 * c-parse.in (save_filename, maybe_type_qual, ifc): Likwise.
6898 * c-semantics.c (finish_stmt_tree, build_stmt, emit_local_var,
6899 gentrtl_goto_stmt, genrtl_expr_stmt_value, genrtl_decl_stmt,
6900 genrtl_if_stmt, genrtl_while_stmt, genrtl_do_stmt,
6901 genrtl_return_stmt, genrtl_for_stmt, build_break_stmt,
6902 build_continue_stmt, genrtl_switch_stmt, genrtl_asm_stmt,
6903 prep_stmt, find_reachable_label, expand_unreachable_stmt): Likewise.
6904 * coverage.c (create_coverage): Likewise.
6905 * diagnostic.c (pedwarn, sorry, error, fatal_error,
6906 internal_error, warning, diagnostic_report_current_module,
6907 inform): Likewise.
6908 * expr.c (expand_expr): Likewise.
6909 * integrate.c (expand_inline_function,
6910 output_inline_function): Likewise.
6911 * rtl-error.c (file_and_line_for_asm): Likewise.
6912 * tree-inline.c (find_alloca_call, find_builtin_longjmp_call,
6913 walk_tree): Likewise.
6914 * tree.c (make_node): Likewise.
6915 * ada, cp, f, java, objc, treelang: Likewise.
6916 * objc/objc-act.c (objc_init): Rename lineno to input_line.
6917 (build_module_descriptor, build_selector_translation_table,
6918 build_protocol_template, build_method_prototype_list_template,
6919 build_category_template, build_selector_table,
6920 build_class_template, build_super_template, build_ivar_template,
6921 build_ivar_list_template, build_method_list_template,
6922 build_method_template, add_instance_variable): Likewise.
6923
3b895f8e
NS
6924 * dwarf2out.c (dwarf2out_init, dwarf2out_finish): Change parameter
6925 name from input_filename.
6926
cafe096b
EC
69272003-04-30 Eric Christopher <echristo@redhat.com>
6928 Richard Sandiford <rsandifo@redhat.com>
6929
6930 * configure: Regenerate from patches below.
6931 * combine.c (gen_lowpart_for_combine): Fix comment and add tests
6932 for all symbolic operands.
6933 * config/mips/mips.c: Migrate RTX_COSTS and CONST_COSTS
6934 to function.
6935 * config/mips/linux.h: Fix typo.
6936 * Merge from mips-3_4-rewrite branch:
6937
6938 2003-04-07 Richard Sandiford <rsandifo@redhat.com>
6939
87f85ea0
ZW
6940 * config/mips/mips.c (mips_classify_symbol): Add catch-all case for
6941 handling local labels when TARGET_ABICALLS.
cafe096b
EC
6942
6943 2003-04-04 Richard Sandiford <rsandifo@redhat.com>
6944
87f85ea0
ZW
6945 * config/mips/mips-protos.h (mips_expand_epilogue): Add an
6946 integer argument.
6947 (mips_expand_call): Likewise.
6948 * config/mips/mips.h (TARGET_SIBCALLS): New macro.
6949 (FIXED_REGISTERS): Clear $31 entry.
6950 (CALL_USED_REGISTERS, CALL_REALLY_USED_REGISTER): Likewise.
6951 (EPILOGUE_USES): Define.
6952 * config/mips/mips.c (mips_function_ok_for_sibcall): New function.
6953 (TARGET_FUNCTION_OK_FOR_SIBCALL): Use it.
6954 (override_options): Add a 'j' register class.
6955 (mips_expand_call): Handle sibcalls
6956 (mips_expand_epilogue): Handle epilogues for sibcalls.
6957 * config/mips/mips.md (epilogue): Adjust call to mips_expand_epilogue.
6958 (sibcall_epilogue): New pattern.
6959 (call, call_value): Adjust calls to mips_expand_call.
6960 (sibcall, sibcall_value): New expanders.
6961 (sibcall_internal, sibcall_value_internal): New patterns.
6962 (sibcall_value_multiple_internal): New pattern.
cafe096b
EC
6963
6964 2003-03-25 Richard Sandiford <rsandifo@redhat.com>
6965
87f85ea0
ZW
6966 * config/mips/mips.md (extended_mips16): New attribute.
6967 (define_attr length): Default to 8 if extended_mips16 == yes.
6968 (truncdisi2): Set extended_mips16 to yes for the sll alternative.
6969 (truncdihi2, truncdiqi2, *extendsidi2): Likewise.
6970 (call_internal): Set extended_mips16 to yes for direct jumps.
6971 Remove redundant mode attribute.
6972 (call_value_internal, call_value_multiple_internal): Likewise.
6973 (call_split): Remove redundant mode attribute.
6974 (call_value_split, call_value_multiple_split): Likewise.
cafe096b 6975
87f85ea0
ZW
6976 * config/mips/mips.c (mips_symbol_insns): Rework. Fix handling
6977 of unaligned offsets.
cafe096b 6978
0d569849 6979 * config/mips/mips.c (mips_splittable_symbol_p): Fix handling
87f85ea0 6980 of SYMBOL_GENERAL.
cafe096b
EC
6981
6982 2003-03-22 Richard Sandiford <rsandifo@redhat.com>
6983
87f85ea0
ZW
6984 * config/mips/mips.h (TARGET_EXPLICIT_RELOCS): Add commentary.
6985 * config/mips/mips.c (override_options): Disable -mexplicit-relocs
6986 for mips16 code.
cafe096b
EC
6987
6988 2003-03-22 Richard Sandiford <rsandifo@redhat.com>
6989
87f85ea0 6990 * config/mips/mips.h (ADDRESS_COST): Define.
cafe096b
EC
6991
6992 2003-03-20 Richard Sandiford <rsandifo@redhat.com>
6993
87f85ea0
ZW
6994 * config/mips/mips.h (EXTRA_CONSTRAINT): Give existing meaning of
6995 'R' to 'U'. Make 'R' mean a single-instruction memory reference.
6996 * config/mips/mips.md: Replace 'R' constraints with 'U'.
cafe096b
EC
6997
6998 2003-03-18 Richard Sandiford <rsandifo@redhat.com>
6999
87f85ea0
ZW
7000 * config/mips/mips.md (truncdisi2): Add commentary. Use sll instead
7001 of a two-instruction sequence. Add register->memory alternative.
7002 (truncdihi2, truncdiqi2): Likewise.
7003 Rework shift/truncate instructions so that they only handle right
7004 shifts of 32 (or more, in the case of arithmetic shifts).
7005 Add patterns for truncate/sign-extend.
cafe096b
EC
7006
7007 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
7008
87f85ea0
ZW
7009 * configure.in (mips*-*-*): Check for explicit relocation support.
7010 * configure: Regenerate.
cafe096b
EC
7011
7012 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
7013
87f85ea0
ZW
7014 * config/mips/mips.h (TARGET_SWITCHES): Add -mexplicit-relocs
7015 and -mno-explicit-relocs.
7016 (MASK_EXPLICIT_RELOCS): Define.
7017 (TARGET_EXPLICIT_RELOCS): Use it.
7018 (mips_split_addresses): Remove declaration.
7019 * config/mips/mips.c (override_options): Update comment for
7020 mips_split_addresses. Clear MASK_EXPLICIT_RELOCS for non-PIC n64.
cafe096b
EC
7021
7022 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
7023
87f85ea0
ZW
7024 * combine.c (gen_lowpart_for_combine): Treat the lowpart Pmode of
7025 a CONST as identity. Check the return value of gen_lowpart_common.
cafe096b
EC
7026
7027 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
7028
87f85ea0
ZW
7029 * config/mips/mips.c (mips_legitimize_symbol): Handle small data
7030 references for TARGET_EXPLICIT_RELOCS.
7031 (mips_reloc_string): Return "%gp_rel(" for RELOC_GPREL16 if
7032 !TARGET_MIPS16.
cafe096b
EC
7033
7034 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
7035
87f85ea0
ZW
7036 * config/mips/mips.md: Replace 'IQ' mips16 constraints with just 'Q'.
7037 (addsi3): Remove redundant constraints.
7038 (addsi3_internal): Use separate register & constant alternatives.
7039 Use a 'Q' constraint and "addiu" insn for the latter.
7040 (adddi3_internal_3, addsi3_internal_2): Likewise.
cafe096b
EC
7041
7042 2003-03-13 Richard Sandiford <rsandifo@redhat.com>
7043
87f85ea0
ZW
7044 * config/mips/mips-protos.h (mips_expand_unaligned_load): Declare.
7045 (mips_expand_unaligned_store): Declare.
7046 * config/mips/mips.c (mips_get_unaligned_mem): New fn.
7047 (mips_expand_unaligned_load, mips_expand_unaligned_store): New fns.
7048 * config/mips/mips.md (UNSPEC_ULW, UNSPEC_USW): Remove.
7049 (UNSPEC_ULD, UNSPEC_USD): Remove.
7050 (UNSPEC_LWL, UNSPEC_LWR, UNSPEC_SWL, UNSPEC_SWR): New.
7051 (UNSPEC_LDL, UNSPEC_LDR, UNSPEC_SDL, UNSPEC_SDR): New.
7052 (extv, extzv): Use mips_expand_unaligned_load.
7053 (insv): Use mips_expand_unaligned_store. Use a reg_or_0_operand
7054 predicate for operand 3.
7055 (movsi_ulw, movsi_usw): Replace with...
7056 (mov_lwl, mov_lwr, mov_swl, move_swr): ...these new insns.
7057 (movdi_uld, movdi_usd): Likewise replace with...
7058 (mov_ldl, mov_ldr, mov_sdl, move_sdr): ...these insns.
cafe096b
EC
7059
7060 2003-02-26 Richard Sandiford <rsandifo@redhat.com>
7061
87f85ea0
ZW
7062 * config/mips/mips-protos.h (mips_global_pic_constant_p): Declare.
7063 * config/mips/mips.h (LEA_REGS): New register class.
7064 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add entries for it.
7065 (GR_REG_CLASS_P): Include LEA_REGS.
7066 (DANGEROUS_FOR_LA25_P): New macro.
7067 (EXTRA_CONSTRAINT): Add !DANGEROUS_FOR_LA25_P to R's condition.
7068 Add a T constraint for the DANGEROUS_FOR_LA25_P case.
7069 * config/mips/mips.c (mips_regno_to_class): Change GR_REGS
7070 entries to LEA_REGS.
7071 (mips_global_pic_constant_p): New function.
7072 (override_options): Add 'e' register constraint.
7073 (mips_secondary_reload_class): Return LEA_REGS when reloading
7074 a dangerous constant into a class containing $25.
7075 * config/mips/mips.md (movdi_internal2): Add an e <- T alternative.
7076 (movsi_internal): Likewise.
cafe096b
EC
7077
7078 2003-02-23 Richard Sandiford <rsandifo@redhat.com>
7079
87f85ea0
ZW
7080 * config/mips/mips.h (TARGET_SPLIT_CALLS): New macro.
7081 * config/mips/mips.md (call_split): New insn.
7082 (call_value_split, call_value_multiple_split): New insns.
7083 (call_internal): Turn into a define_insn_and_split. Split the
7084 instruction into a call and $gp load if TARGET_SPLIT_CALLS.
7085 (call_value_internal, call_value_multiple_internal): Likewise.
cafe096b
EC
7086
7087 2003-02-23 Richard Sandiford <rsandifo@redhat.com>
7088
87f85ea0
ZW
7089 * config/mips/mips.c (mips_reloc_string): Return "%got(" for
7090 RELOC_GOT_PAGE and RELOC_GOT_DISP if !TARGET_NEWABI.
7091 (mips_encode_section_info): Don't take symbol visibility into
7092 account if TARGET_ABICALLS. Add more commentary.
7093 * config/mips/mips.md: Add commentary above reloc constants.
cafe096b
EC
7094
7095 2003-02-12 Richard Sandiford <rsandifo@redhat.com>
7096
87f85ea0
ZW
7097 * config/mips/mips.c (mips_legitimize_const_move): New, extracted
7098 from mips_legitimize_move. Legitimize constant pool references.
7099 (mips_legitimize_move): Call mips_legitimize_const_move. Attach
7100 a REG_EQUAL note to the last instruction.
cafe096b
EC
7101
7102 2003-02-11 Richard Sandiford <rsandifo@redhat.com>
7103
87f85ea0
ZW
7104 * config/mips/mips-protos.h (mips_simplify_dwarf_addr): Declare.
7105 * config/mips/mips.h (TARGET_EXPLICIT_RELOCS, TARGET_NEWABI): New.
7106 (ASM_SIMPLIFY_DWARF_ADDR): Define to mips_simplify_dwarf_addr.
7107 (EXTRA_CONSTRAINT): Allow symbolic call addresses for TARGET_ABICALLS.
7108 * config/mips/mips.md (UNSPEC_HIGH): New constant.
7109 (UNSPEC_RELOC_GPREL16): Rename to...
7110 (RELOC_GPREL16): ...this.
7111 (RELOC_GOT_HI, RELOC_GOT_LO, RELOC_GOT_PAGE, RELOC_GOT_DISP): New.
7112 (RELOC_CALL16, RELOC_CALL_HI, RELOC_CALL_LO): New.
7113 (macro_calls): New attribute.
7114 (length): Use it to set the default length of calls. Don't allow
7115 calls to have delay slots if macro_calls is "yes".
7116 (luisi, luidi): New patterns.
7117 (lowsi, lowdi): Use '%R' to print the relocation.
7118 (lowdi_extend): Remove.
7119 (loadgp): Remove mode from operand 0. Use '%0' instead of '%a0'.
7120 (call_internal): Merge alternatives. Always use "jal".
7121 (call_value_internal, call_value_multiple_internal): Likewise.
7122 (reloc_gprel16): Remove.
7123 * config/mips/mips.c (mips_got_alias_set): New variable.
7124 (mips_classify_constant): Handle the new relocation constants.
7125 (mips_classify_symbol): Reverse the sense of SYMBOL_REF_FLAG for PIC.
7126 (mips_symbolic_address_p): Return false if generating explicit relocs.
7127 Otherwise allow local PIC symbols to have an offset.
7128 (mips_splittable_symbol_p): New function.
7129 (mips_classify_address): Use it to check whether a LO_SUM is valid.
7130 (mips_const_insns): Always accept HIGH.
7131 (call_insn_operand): Don't accept global symbols if using explicit
7132 relocs.
7133 (move_operand): Don't accept HIGH when generating PIC.
7134 (mips_reloc, mips_lui_reloc): New functions.
7135 (mips_force_temporary): Remove MODE argument. Expect VALUE to
7136 be a valid right-hand-side for a SET pattern.
7137 (mips_load_got, mips_load_got16, mips_load_got32): New functions.
7138 (mips_emit_high): New function.
7139 (mips_legitimize_symbol): Use mips_reloc for the mips16 gp-relative
7140 case. Use mips_splittable_symbol_p to check whether a LO_SUM
7141 address should be used. Use mips_emit_high to generate the
7142 high part of such an address. Adjust the global symbol + offset
7143 case to match the change to mips_force_temprorary.
7144 (mips_legitimize_move): Shuffle call to mips_legitimize_symbol.
7145 If generating explicit-reloc PIC, load the address of global
7146 symbols from the GOT. Use mips_emit_high to emit the high part
7147 of an address.
7148 (mips_simplify_dwarf_addr): New function.
7149 (mips_move_1word): Use lwc1 instead of l.s and swc1 instead of s.s.
7150 (mips_move_2words): Likewise ldc1/l.d and sdc1/s.d if TARGET_64BIT.
7151 (mips_expand_call): Load the addresses of global functions using
7152 %call* relocs if generating explicit-reloc PIC. Don't generate
7153 an exception_receiver pattern.
7154 (override_options): Initialize mips_got_alias_set.
6356f892 7155 (print_relocation): Remove in favor of...
87f85ea0
ZW
7156 (mips_reloc_string): ...this new function.
7157 (print_operand): Handle '%R'. Use mips_reloc_string.
7158 (print_operand_address): Use print_operand to print the symbolic
7159 part of a LO_SUM address.
7160 (mips_output_function_prologue): Use .cprestore, reverting last patch.
7161 (mips_encode_section_info): Factor out DECL_RTL accesses. Reverse
7162 sense of SYMBOL_REF_FLAG for PIC, using binds_local_p to check
7163 for local symbols.
cafe096b
EC
7164
7165 2003-02-02 Eric Christopher <echristo@redhat.com>
7166
0d569849 7167 * config/mips/mips.c (mips_sign_extend): Remove.
87f85ea0
ZW
7168 * config/mips/mips-protos.h: Ditto.
7169 * config/mips/mips.md (movdi_internal2_extend): Remove.
7170 (extendsidi2): Fix mode of convert_memory_address.
cafe096b
EC
7171
7172 2003-01-24 Eric Christopher <echristo@redhat.com>
7173
87f85ea0
ZW
7174 * config/mips/mips.md: Rewrite zero_extend* and extend*
7175 patterns. Use explicit instructions and split after reload
7176 for register extensions.
7177 (ashlsi3_internal1_extend): New combiner pattern for
7178 shift and extend combinations.
7179 * config/mips/mips.h: Change Pmode back to ptr_mode
7180 for performance enhancement.
7181 * combine.c (expand_compound_operation): Make sure
7182 that zero_extend operation is profitable.
cafe096b
EC
7183
7184 2003-01-14 Richard Sandiford <rsandifo@redhat.com>
7185
87f85ea0
ZW
7186 * config/mips/mips.h (TRAMPOLINE_TEMPLATE): Make size of stored
7187 addresses depend on ptr_mode rather than Pmode.
7188 (TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT): Update acoordingly.
7189 (INITIALIZE_TRAMPOLINE): Rework to handle Pmode != ptr_mode.
7190 (CASE_VECTOR_MODE): Use ptr_mode for !TARGET_MIPS16.
7191 (ASM_OUTPUT_ADDR_VEC_ELT): Update accordingly.
7192 * config/mips/mips.md (tablejump): Likewise. Remove Pmode
7193 condition for selecting cpaddsi or cpadddi: use cpadd instead.
7194 (tablejump_internal1): Remove condition.
7195 (tablejump_internal2): Change condition to TARGET_64BIT.
7196 (cpaddsi): Rename to...
7197 (cpadd): ...this.
7198 (cpadddi): Remove.
cafe096b
EC
7199
7200 2003-01-09 Richard Sandiford <rsandifo@redhat.com>
7201
87f85ea0
ZW
7202 * config/mips/mips-protos.h (mips16_constant_after_function_p,
7203 mips_address_cost, mips_check_split, double_memory_operand,
7204 mips16_gp_offset, mips16_gp_offset_p, mips16_constant,
7205 pic_address_needs_scratch, symbolic_operand): Remove declarations.
7206 (mips_legitimate_address_p): Return bool.
7207 (mips_address_insns, mips_fetch_insns, mips_const_insns,
7208 mips_legitimize_address, mips_legitimize_move,
7209 mips_expand_call): Declare.
7210 (mips_return_addr): Move outside #ifdef RTX_CODE.
7211
7212 * config/mips/mips.h (ABI_HAS_64BIT_SYMBOLS): New macro.
7213 (PIC_FN_ADDR_REG): New reg_class.
7214 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add corresponding entries.
7215 (GR_REG_CLASS_P): True for PIC_FN_ADDR_REG.
7216 (SMALL_OPERAND, SMALL_OPERAND_UNSIGNED, LUI_OPERAND,
7217 CONST_HIGH_PART, CONST_LOW_PART, LUI_INT): New macros.
7218 (SMALL_INT, SMALL_INT_UNSIGNED, CONST_OK_FOR_LETTER_P): Use new macros.
7219 (EXTRA_CONSTRAINTS): Give new meanings to Q, R and S.
7220 (CONSTANT_ADDRESS_P): Use mips_legitimate_address_p.
7221 (LEGITIMATE_PIC_OPERAND): Undefine.
7222 (LEGITIMATE_CONSTANT_P): Use mips_const_insns.
7223 (LEGITIMIZE_ADDRESS): Use mips_legitimize_address.
7224 (CONSTANT_AFTER_FUNCTION_P): Remove definition in #if 0 block.
7225 (FUNCTION_MODE): Change to SImode.
7226 (CONST_COSTS): Use mips_const_insns to calculate the cost of
7227 most constants. Treat const_artih_operands specially if they
7228 occur in a PLUS or MINUS.
7229 (CONSTANT_POOL_COST): New macro.
7230 (RTX_COSTS): Use mips_address_insns for MEMs, with a base cost of 2.
7231 Add LO_SUM handling.
7232 (ADDRESS_COST): Undefine.
7233 (PREDICATE_CODES): Add symbolic_operand and const_arith_operand.
7234 Add CONST to the list of codes for arith_operand. Add LABEL_REF
7235 to call_insn_operand and remove CONST_INT.
7236
7237 * config/mips/mips.c: Include integrate.h.
7238 (SINGLE_WORD_MODE_P): New macro.
7239 (mips_constant_type, mips_symbol_type, mips_address_type): New enums.
7240 (mips_constant_info, mips_address_info): New structs.
7241 (mips_regno_to_class): Map $25 to PIC_FN_ADDR_REG.
7242 (mips_classify_constant, mips_classify_symbol,
7243 mips_valid_base_register_p, mips_symbolic_address_p,
7244 mips_classify_address, mips_symbol_insns,
7245 mips16_unextended_reference_p, mips_address_insns, mips_const_insns,
7246 mips_fetch_insns, mips_force_temporary, mips_add_offset,
7247 mips_legitimize_symbol, mips_legitimize_address, mips_legitimize_move,
7248 mips_print_relocation): New functions.
7249 (const_arith_operand): New operand predicate.
7250 (arith_operand): Use it.
7251 (mips_const_double_ok, mips16_simple_memory_operand,
7252 simple_memory_operand, double_memory_operand, mips_check_split,
7253 mips_address_cost, pic_address_needs_scratch, mips16_gp_offset,
7254 mips16_gp_offset_p, mips16_output_gp_offset,
0d569849 7255 mips16_constant_after_function_p, mips16_constant): Remove.
87f85ea0
ZW
7256 (call_insn_operand): Be more fussy about symbolic constants.
7257 Use register_operand.
7258 (move_operand): Use mips_symbolic_address_p to check symbolic
7259 operands and general_operand to check the rest.
7260 (symbolic_operand): Use mips_classify_constant.
7261 (mips_legitimate_address_p): Use mips_classify_address.
7262 (mips_move_1word): Combine handling of symbolic addresses.
7263 Remove special treatment of gp-relative loads for TARGET_MIPS16.
7264 (move_move_2words): Likewise. Assume addresses are offsettable
7265 if they need to refer to more than one word. Add HIGH handling.
7266 (mips_restore_gp): Use ptr_mode for the GP save slot.
7267 (mips_expand_call): New function, combining the old mips.md
7268 call and call_internal define_expands. If the address isn't
7269 a call_insn_operand, force it into a register. For SVR4 PIC,
7270 emit an exception_receiver instruction after the call.
7271 (override_options): Only override flag_pic for TARGET_ABICALLS
7272 if it is currently zero. Allow mips_split_addresses when
7273 Pmode == DImode too, except when ABI_HAS_64BIT_SYMBOLS.
7274 Add new register class letter, 'c'.
7275 (print_operand): Use mips_classify_constant for constant operands.
7276 (print_operand_address): Use mips_classify_address.
7277 (mips_output_function_prologue): Don't use .cprestore.
7278 (mips_expand_epilogue): For TARGET_MIPS16, only adjust the stack
7279 via the frame pointer if current_function_calls_eh_return.
7280 (mips_encode_section_info): For TARGET_ABICALLS, use SYMBOL_REF_FLAG
7281 to mark whether a symbol is local or global.
7282 (build_mips16_call_stub): Expect the address of the function rather
7283 than a MEM reference to it. Update call generation sequences.
7284 (mips16_optimize_gp): Remove Pmode checks. Temporarily disable
7285 small-data adjustments.
7286
7287 * config/mips/mips.md: Remove 'R'/'m' memory distinction. Use default
7288 length for loads and stores.
7289 (UNSPEC_CPADD, UNSPEC_RELOC_GPREL16): New constants.
7290 (define_attr type): Add const and prefetch.
7291 (define_attr length): Use mips_const_insns for const instructions.
7292 Use mips_fetch_insns for load and store instructions.
7293 (define_attr single_insn): New.
7294 (define_attr can_delay): Use it.
7295 (define_attr abicalls): Remove.
7296 (define_delay): Use can_delay. Always allow calls to have delay slots.
7297 (addsi3_internal_2): Add 'Q' constraint.
7298 (movsi_ulw, movsi_usw, movdi_uld, movdi_usd): Set length to 8.
7299 (high): Remove.
7300 (lowsi): Renamed from low.
7301 (lowdi): New pattern.
7302 (movdi, movsi): Use mips_legitimize_move. Remove define_split.
7303 (lwxc1, ldxc1, swxc1, sdxc1): Set length to 4.
7304 (loadgp): Change operand 0 to an immediate_operand.
7305 (tablejump): Use the same patterns for SVR4 PIC but emit a cpadd
7306 beforehand.
7307 (cpaddsi, cpadddi): New patterns.
7308 (tablejump_internal3, tablejump_internal4): Remove define_expands
7309 and associated define_splits.
7310 (call, call_value): Use mips_expand_call.
7311 (call_internal): New, replacing all existing call_internal* insns.
7312 (call_value_internal): Likewise call_value_internal*.
7313 (call_value_multiple_internal): Likewise call_value_multiple_internal*.
7314 (untyped_call): Remove if (operands[0]) magic.
7315 (prefetch_si_address, prefetch_si): Change type to "prefetch".
7316 (prefetch_di_address, prefetch_di): Likewise.
7317 (leasi, leadi): Remove.
7318 (reloc_gprel16): New.
7319
7320 * config/mips/5400.md (ir_vr54_hilo): Include const type.
7321 * config/mips/5500.md (ir_vr55_hilo): Likewise.
7322 * config/mips/sr71k.md (ir_sr70_hilo): Likewise.
cafe096b
EC
7323
7324 2003-01-08 Eric Christopher <echristo@redhat.com>
7325
87f85ea0
ZW
7326 * config.gcc (mipsisa32*): Change ABI_MEABI to ABI_EABI.
7327 * config/mips/elf.h (STARTFILE_SPEC): Remove ABI_MEABI references and
7328 configure check for libgloss.
7329 * config/mips/elf64.h: Ditto.
7330 * config/mips/mips.c: Remove ABI_MEABI.
7331 * config/mips/mips.h: Ditto.
cafe096b
EC
7332
7333 2002-11-05 Richard Sandiford <rsandifo@redhat.com>
7334
87f85ea0
ZW
7335 Fix merge fallout.
7336 * config/mips/mips.md (mul_acc_si): Reapply 2002-10-16 change.
7337 (muldi3_internal): Remove outdated comment.
7338 (*muls_di, *umuls_di): Fix comment and 64-bitness.
7339 (*smsac_di, *umsac_di): Likewise. Reformat.
7340 (umulsi3_highpart): Minor formatting tweaks.
7341 (umulsi3_highpart_internal): Use only if !ISA_HAS_MULHI. Remove
7342 redundant scratch operand. Minor formatting tweak.
7343 (umulsi3_highpart_mulhi_internal): Use for !TARGET_64BIT as well.
7344 (umulsi3_highpart_neg_mulhi_internal): Likewise. Fix asm template.
7345 (smulsi3_highpart): As for the unsigned version.
7346 (smulsi3_highpart_internal): Likewise.
7347 (smulsi3_highpart_mulhi_internal): Likewise.
7348 (smulsi3_highpart_neg_mulhi_internal): Likewise.
7349 (smuldi3_highpart, umuldi3_highpart): Minor formatting tweaks.
7350 (*smul_acc_di): Remove duplicated pattern.
7351 (*umul_acc_di, *smul_acc_di): Reapply 2002-10-16 change.
7352 (anddi3) [unnamed mips16 pattern]: Remove reintroduced length.
7353 (zero_extendsidi2_internal2): Remove new, but commented-out pattern.
cafe096b
EC
7354
7355 2002-10-22 Eric Christopher <echristo@redhat.com>
7356
87f85ea0
ZW
7357 * config/mips/mips-protos.h (mips_return_addr): New.
7358 * config/mips/mips.c (mips_return_addr): New.
7359 (movdi_operand): Remove.
7360 (se_register_operand): Ditto.
7361 (se_reg_or_0_operand): Ditto.
7362 (se_uns_arith_operand): Ditto.
7363 (se_arith_operand): Ditto.
7364 (se_nonmemory_operand): Ditto.
7365 (extend_operator): Ditto.
7366 (highpart_shift_operator): Ditto.
7367 (mips_initial_elimination_offset): Remove return address pointer
7368 elimination.
7369 (mips_reg_names): Remove $ra.
7370 (mips_regno_to_class): Ditto.
7371 * config/mips/mips.h (POINTER_SIZE): Define based on TARGET_LONG64
7372 and TARGET_64BIT.
7373 (POINTER_BOUNDARY): Remove.
7374 (POINTERS_EXTEND_UNSIGNED): Define to 0.
7375 (PROMOTE_MODE): Promote to Pmode.
7376 (SHORT_IMMEDIATES_SIGN_EXTEND): Define.
7377 (Pmode): Define to TARGET_64BIT.
7378 (FUNCTION_MODE): Define as Pmode.
7379 (mips_args): Remove deleted functions.
7380 (SIZE_TYPE): Depend on POINTER_SIZE.
7381 (PTRDIFF_TYPE): Ditto.
7382 (FIXED_REGISTERS): Fix extra registers.
7383 (CALL_USED_REGISTERS): Ditto.
7384 (CALL_REALLY_USED_REGISTERS): Ditto.
7385 (RAP_REG_NUM): Remove.
7386 (RETURN_ADDRESS_POINTER_REGNUM): Ditto.
7387 (RETURN_ADDR_RTX): Define to mips_return_addr.
7388 (ELIMINABLE_REGS): Remove RETURN_ADDRESS_POINTER_REGNUM.
7389 (CAN_ELIMINATE): Ditto.
7390 * config/mips/mips.md: For DImode patterns, take into account
7391 deletions above. Split mulsidi patterns into sign_extend and
7392 zero_extend.
cafe096b
EC
7393
7394 2002-10-16 Richard Sandiford <rsandifo@redhat.com>
87f85ea0
ZW
7395 Michael Meissner <meissner@redhat.com>
7396
7397 * config/mips/mips.h (ISA_HAS_MACC): True for normal-mode vr4120 code.
7398 * config/mips/mips.md (mulsi3_mult3): Add a define_peephole2 to
7399 mop up unnecessarly moves through LO.
7400 (*mul_acc_si): Remove vr5400 and vr5500 handling from here.
7401 (*macc): New pattern for ISA_HAS_MACC. Add define_peephole2s to
7402 change mtlo/macc sequences into mul/add sequences when a three-
7403 address mul is available.
7404 (*macc2): New pattern. Add a define_peephole2 to generate it.
7405 (*mul_sub_si): Fix contraint for operand 5.
7406 (*muls): Use in 32-bit code as well.
7407 (*msac): Likewise. Use msub instead of msac in vr5500 code
7408 if the destination is LO. Remove duplicate define_split.
7409 (*muls_di): Use only in 32-bit code. Adjust rtl accordingly.
7410 (*msac_di): Likewise. Fix formatting.
7411 (smulsi3_highpart, umulsi3_highpart): Use mulhi in 32-bit code too.
7412 (*xmulsi3_highpart_internal): Use only if !ISA_HAS_MULHI.
7413 (*xmulsi3_highpart_mulhi): Use even if !TARGET_64BIT.
7414 (*xmulsi3_neg_highpart_mulhi): Likewise.
7415 (*mul_acc_64bit_di): Remove.
7416 (*mul_acc_di): Use only in 32-bit code. Handle ISA_HAS_MACC as well.
cafe096b
EC
7417
7418 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
7419
87f85ea0
ZW
7420 * config/mips/vr.h (DRIVER_SELF_SPECS): Define.
7421 * config/mips/t-vr (MULTILIB_OPTIONS): Remove mlong32.
7422 (MULTILIB_DIRNAMES): Remove long32.
7423 (MULTILIB_EXCEPTIONS): Don't build -mabi=32 -mgp32 multilibs.
7424 (MULTILIB_REDUNDANT_DIRS): Remove.
cafe096b
EC
7425
7426 2002-10-14 Richard Sandiford <rsandifo@redhat.com>
7427
87f85ea0
ZW
7428 * doc/tm.texi (DRIVER_SELF_SPECS): Document.
7429 * gcc.c (driver_self_specs): New variable.
7430 (do_self_spec): New function.
7431 (main): Use it to process driver_self_specs.
cafe096b
EC
7432
7433 2002-10-09 Richard Sandiford <rsandifo@redhat.com>
7434
87f85ea0
ZW
7435 * config/mips/mips.md (one_cmpldi2): Use only if TARGET_64BIT.
7436 Remove DImode define_split for !TARGET_64BIT.
7437 (anddi3): Remove !TARGET_64BIT support from here as well.
7438 Change operand 2's predicate to se_uns_arith_operand.
7439 Add constant alternatives to define_insn.
7440 (iordi3, xordi3, *nordi3): Likewise.
7441 (anddi3_internal1, xordi3_immed): Remove.
cafe096b
EC
7442
7443 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
7444
87f85ea0
ZW
7445 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
7446 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
7447 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
7448 * config/mips/mips.md: Apply same renaming here.
cafe096b
EC
7449
7450 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
7451
87f85ea0
ZW
7452 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
7453 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
7454 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
7455 * config/mips/mips.md (define_attr cpu): Remove r4320.
7456 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
cafe096b
EC
7457
7458 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
7459
87f85ea0
ZW
7460 * config/mips/mips.c (mips16_strings): New variable.
7461 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
7462 symbol in mips16_strings. Free the list.
7463 (mips_encode_section_info): Keep track of local strings.
cafe096b
EC
7464
7465 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
7466
87f85ea0
ZW
7467 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
7468 (sordered_df, sordered_sf): Remove.
7469 * config/mips/mips.c (get_float_compare_codes): New fn.
7470 (gen_int_relational, gen_conditional_move): Use it.
cafe096b
EC
7471
7472 2002-10-01 Richard Sandiford <rsandifo@redhat.com>
7473
87f85ea0
ZW
7474 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
7475 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
7476 * config/mips/mips.c (fcc_register_operand): New function.
7477 (mips_emit_fcc_reload): New function, extracted from reload_incc.
7478 (override_options): Allow TFmode values in float registers
7479 if ISA_HAS_8CC.
7480 * cnfig/mips/mips.md (reload_incc): Change destination prediate
7481 to fcc_register_operand. Remove misleading source constraint.
7482 Use mips_emit_fcc_reload.
0d569849 7483 (reload_outcc): Duplicate reload_incc.
cafe096b
EC
7484
7485
44c8a5f8
DN
74862003-04-30 Diego Novillo <dnovillo@redhat.com>
7487
7488 * builtins.def (BUILTIN_CONSTANT_P): Mark as constant.
7489
5d638f70
GK
74902003-04-30 Geoffrey Keating <geoffk@apple.com>
7491
7492 * tree-inline.c (inlinable_function_p): Back out last change, it's
7493 unnecessary.
7494
5e26df64
SB
74952003-04-30 Steven Bosscher <steven@gcc.gnu.org>
7496
7497 * ggc-page.c (TREE_EXP_SIZE): Define.
7498 (extra_order_size_table): New entry for expr trees with
7499 two operands.
7500
fba020b1
GDR
75012003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
7502
7503 * c-common.c (if_elt): Use location_t in lieu of "file, line" pair.
7504 (c_expand_start_cond): Adjust.
7505 (c_expand_end_cond): Don't use warning_with_file_and_file.
7506 (shadow_warning): Likewise.
7507
62216ea0
NS
75082003-04-30 Nathan Sidwell <nathan@codesourcery.com>
7509
7510 * tree.h (DECL_POINTER_DEPTH): Remove.
7511 (struct tree_decl): Remove pointer_depth.
cafe096b 7512
d1908feb
JJ
75132003-04-30 Janis Johnson <janis187@us.ibm.com>
7514
7515 * config/rs6000/linux64.h (ASM_OUTPUT_LABELREF): Remove.
7516 * config/rs6000/rs6000.c (rs6000_elf_strip_name_encoding): Remove.
7517 (rs6000_xcoff_encode_section_info): Remove.
7518 (current_file_function_operand): Use SYMBOL_REF_FLAGS; fix latent bug.
7519 (rs6000_output_mi_thunk): Remove dead code; use SYMBOL_REF_FLAGS.
7520 (small_data_operand, rs6000_emit_move, rs6000_elf_in_small_data_p,):
7521 Use SYMBOL_REF_FLAGS.
7522 (rs6000_elf_encode_section_info): Call default_encode_section_info for
7523 generic flags, use SYMBOL_REF_FLAGS; code cleanups.
7524 * sysv4.h (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
7525 (SYMBOL_FLAG_SMALL_V4, SYMBOL_REF_SMALL_V4_P): New.
7526 * xcoff.h (TARGET_ENCODE_SECTION_INFO): Remove.
7527 (ASM_DECLARE_FUNCTION_NAME): Remove setting of SYMBOL_REF_FLAG.
7528
0e42348d
GDR
75292003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
7530
7531 * diagnostic.c (output_pointer): Use HOST_PTR_PRINTF.
7532
dad78426
AS
75332003-04-30 Andreas Schwab <schwab@suse.de>
7534
7535 * doc/extend.texi (Other Builtins): Enclose multiple word data
7536 type in braces for @deftypefn.
7537
4c80872c
RK
75382003-04-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7539
5826955d
RK
7540 * stor-layout.c (mode_for_size_tree): Use BLKmode if SIZE overflows.
7541
4c80872c
RK
7542 * doc/install.texi (--enable-threads): Document "gnat" option.
7543
10256cf5
GDR
75442003-04-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
7545
7546 * diagnostic.h (output_formatted_scalar): Tweak.
7547 * diagnostic.c (output_long_decimal): Likewise.
7548 (output_unsigned_decimal): Likewise.
7549 (output_long_unsigned_decimal): Likewise.
7550 (output_octal): Likewise.
7551 (output_long_octal): Likewise.
7552 (output_hexadecimal): Likewise.
7553 (output_long_hexadecimal): Likewise.
7554 (output_pointer): New function.
7555 (output_format): Use it. Recognize "%p" format specifier.
7556
b2a7fa89
ZD
75572003-04-30 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
7558
7559 * function.c (purge_addressof_1): Postpone insn in fewer cases.
7560
a6fdc086
GK
75612003-04-29 Geoffrey Keating <geoffk@apple.com>
7562
505b0fd6
GK
7563 * config/rs6000/host-darwin.c (segv_handler): When -dH is used,
7564 call abort() after running out of stack space.
7565
a6fdc086
GK
7566 * c-typeck.c (function_types_compatible_p): Ignore incompatible
7567 'volatile' qualifiers on a function's return type in GNU mode.
7568
9c0631a7
AH
75692003-04-29 Aldy Hernandez <aldyh@redhat.com>
7570
87f85ea0
ZW
7571 * expr.c (emit_group_load): Dump parallels of simd types to
7572 memory.
9c0631a7 7573
74719742
VM
75742003-04-29 Vladimir Makarov <vmakarov@redhat.com>
7575
7576 * genautomata.c (add_vect): Check undefined value for range type
7577 too.
7578
baade80b
PE
75792003-04-29 Phil Edwards <pme@gcc.gnu.org>
7580
7581 * configure.in: More general test for cmp --ignore-initial.
7582 * configure: Regenerate.
7583
84d8756d
RK
75842003-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7585
0384674e
RK
7586 * stor-layout.c (mode_for_size_tree): Use tree_low_cst.
7587 (layout_decl, place_field): Likewise.
7588 Also make minor type and whitespace changes.
7589
84d8756d
RK
7590 * tree.c (save_expr): Don't fold a COMPONENT_REF.
7591
0219237c
OH
75922003-04-29 Olivier Hainque <hainque@act-europe.fr>
7593
7594 * calls.c (expand_call): When modes of target and valreg match, force
7595 sibcall failure when target is a MEM.
7596
b9538b2e
GK
75972003-04-29 Geoffrey Keating <geoffk@apple.com>
7598
b3d627e2
GK
7599 * tree-inline.c (inlinable_function_p): Don't support inlining
7600 functions using varargs.
7601
f4ddb75b
GK
7602 * doc/invoke.texi (Overall Options): Mention -x objective-c-header.
7603
0366359a
GK
7604 * dwarf2out.c (output_call_frame_info): No need to output EH
7605 unwind information if all_throwers_are_sibcalls.
7606
e55614ca
GK
7607 * c-semantics.c (expand_unreachable_stmt): Return a tree.
7608 (expand_stmt): Update for change to expand_unreachable_stmt.
7609 (expand_unreachable_if_stmt): Likewise.
7610
b9538b2e
GK
7611 * Makefile.in (quickstrap): Pass BOOT_CFLAGS to submake.
7612
72e940d2
JM
76132003-04-29 Jason Merrill <jason@redhat.com>
7614
7615 PR middle-end/10336
cafe096b 7616 * jump.c (never_reached_warning): Really stop looking if we reach
72e940d2
JM
7617 the beginning of the function.
7618
9193479f
BW
76192003-04-29 Bob Wilson <bob.wilson@acm.org>
7620
7621 * config/xtensa/elf.h (SIZE_TYPE, PTRDIFF_TYPE, USER_LABEL_PREFIX):
7622 Remove redundant macros.
7623 (WCHAR_TYPE, WCHAR_TYPE_SIZE): Change to "short unsigned int".
7624 (LOCAL_LABEL_PREFIX): Define unconditionally.
7625 (NO_DOT_IN_LABEL): Clarify comment.
7626 * config/xtensa/linux.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Add explicit
7627 definition to "long int".
7628
b0501ec1
AK
76292003-04-29 Alexander Kabaev <kan@FreeBSD.ORG>
7630
7631 bootstrap/10452
7632 * gengtype-yacc.y: Improve portability.
7633
8e720e8b
ZW
76342003-04-29 Zack Weinberg <zack@codesourcery.com>
7635
7636 * config.gcc: Install obsolete target list for GCC 3.3.
7637 * doc/install.texi: Mention in specific-target instructions
7638 that certain configurations are deprecated.
7639
1be3f80f
ZW
76402003-04-29 Zack Weinberg <zack@codesourcery.com>
7641
7642 * tree.h: Delete no-checking definition of CST_OR_CONSTRUCTOR_CHECK.
7643
8e854b76
KL
76442003-04-29 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
7645
7646 * c-pragma.c (maybe_apply_renaming_pragma): Fix typo.
7647 * gcc.c (display_help): Likewise.
7648 * toplev.c (f_options): Likewise.
7649 * params.def (PARAM_MAX_INLINE_SCOPE): Likewise.
7650 * config/c4x/c4x.h (TARGET_SWITCHES): Likewise.
7651 * config/mcore/mcore.h (TARGET_SWITCHES): Likewise.
7652 * config/s390/s390.h (TARGET_SWITCHES): Likewise.
7653 * config/v850/v850.h (TARGET_SWITCHES): Likewise.
7654
267594f3
R
76552003-04-29 J"orn Rennecke <joern.rennecke@superh.com>
7656
7657 * varasm.c (default_assemble_visibility): Use assemble_name.
7658
667b43dd
DB
76592003-04-29 David O'Brien <obrien@FreeBSD.org>
7660
7661 * config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
5b51b1f5
DB
7662 * config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
7663 (SIZE_TYPE): New macro.
fbf17dab
DB
7664 * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
7665 (SET_ASM_OP): New macro.
7666 (HANDLE_SYSV_PRAGMA): New macro.
7667 (ASM_WEAKEN_LABEL): New macro.
667b43dd 7668
a833faa5
MM
76692003-04-28 Mark Mitchell <mark@codesourcery.com>
7670
7671 PR c++/10180
7672 * tree-inline.c (expand_call_inline): Call push_srcloc when
7673 encountering EXPR_WITH_FILE_LOCATION. Honor warn_inline.
7674
a72bf3e9
MS
76752003-04-28 Mike Stump <mrs@apple.com>
7676
7677 * gdbinit.in: Update to reflect new identifier structure.
7678
0864034e
ZW
76792003-04-28 Zack Weinberg <zack@codesourcery.com>
7680
7681 * tree.h (TREE_CST_RTL, CST_OR_CONSTRUCTOR_CHECK): Delete.
7682 (struct tree_int_cst, struct tree_real_cst, struct tree_string,
7683 struct tree_complex, struct tree_vector): Remove RTL field.
7684 (CONSTRUCTOR_ELTS): Use elt 0.
7685 * tree.def (CONSTRUCTOR): Delete first of its two operands.
7686 * varasm.c (output_constant_def): Remove early exit if
7687 TREE_CST_RTL is set. Don't set TREE_CST_RTL.
7688 (decode_addr_const): Don't mention TREE_CST_RTL in comment.
7689 * target.h (select_section): Don't mention TREE_CST_RTL in comment.
7690 * doc/tm.texi (encode_section_info): Don't talk about TREE_CST_RTL.
7691
9661b15f
JJ
76922003-04-28 Jakub Jelinek <jakub@redhat.com>
7693
7694 * c-decl.c (finish_decl): When prototype with asmspec is found
7695 for built-in, adjust built_in_decls as well as expr.c decls.
7696 * expr.c (init_block_move_fn, init_block_clear_fn): New functions.
7697 (emit_block_move_libcall_fn, clear_storage_libcall_fn): Use it.
7698 * expr.c (init_block_move_fn, init_block_clear_fn): New prototypes.
7699
8707fe93
RH
77002003-04-28 Richard Henderson <rth@redhat.com>
7701
0864034e
ZW
7702 * config/sparc/sparc.c (print_operand): Add 's' to sign-extend.
7703 * config/sparc/sparc.md (const_mulsidi3_v8plus): Fix mode of
7704 integral constant mult operand.
7705 (const_mulsidi3_sp32, const_mulsidi3_sp64): Likewise.
7706 (const_smulsi3_highpart_v8plus): Likewise.
7707 (const_smulsi3_highpart): Likewise.
7708 (const_umulsidi3_sp32): Likewise; sign-extend it in the output.
7709 (const_umulsidi3_sp64, const_umulsidi3_v8plus): Likewise.
7710 (const_umulsi3_highpart_v8plus): Likewise.
7711 (const_umulsi3_highpart): Likewise.
8707fe93 7712
ff4cb2e7
DB
77132003-04-28 David O'Brien <obrien@FreeBSD.org>
7714
7715 * config/i386/x86-64.h (NO_PROFILE_COUNTERS, HAVE_AS_DWARF2_DEBUG_LINE):
7716 Define as 1.
7717
495d8dd6
DB
77182003-04-28 David O'Brien <obrien@FreeBSD.org>
7719
7720 * config/i386/i386.h (builtin_define): Add __amd64 and __amd64__.
7721
e31603c4
JJ
77222003-04-28 Jakub Jelinek <jakub@redhat.com>
7723
7724 * builtins.def (BUILT_IN_BCOPY, BUILT_IN_MEMMOVE): New.
7725 * builtin-types.def (BT_FN_VOID_CONST_PTR_PTR_SIZE): New.
7726 * builtins.c (expand_builtin_memmove, expand_builtin_bcopy): New
7727 functions.
7728 (expand_builtin): Handle BUILT_IN_BCOPY and BUILT_IN_MEMMOVE.
7729
dbe983a8
NC
77302003-04-28 Nick Clifton <nickc@redhat.com>
7731
7732 * config/arm/elf.h (ASM_OUTPUT_ALIGNED_COMMON): Remove definition.
7733
afc6aaab
ZW
77342003-04-27 Zack Weinberg <zack@codesourcery.com>
7735
7736 * expr.c (expand_expr <COMPLEX_CST, STRING_CST>): Always call
7737 output_constant_def, use its result instead of TREE_CST_RTL (exp).
7738 Can assume it has the form (mem (symbol_ref ".LCxxx")).
7739 (expand_expr <COMPONENT_REF>): Can always just extract the
7740 relevant field of a CONSTRUCTOR.
7741 (expand_expr <ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF,
7742 ARRAY_RANGE_REF>): Make control flow explicit.
7743 * varasm.c (output_constant_def): Can look at TREE_CST_RTL of
7744 an INTEGER_CST.
7745
860992e6
KH
77462003-04-27 Kazu Hirata <kazu@cs.umass.edu>
7747
7748 * reload1.c (reg_set_luid): Fix a comment typo.
7749
32a61907
ZW
77502003-04-27 Zack Weinberg <zack@codesourcery.com>
7751
7752 * varasm.c (const_str_htab_hash, const_str_htab_eq, STRHASH,
7753 struct deferred_string, const_str_htab): Kill.
7754 (n_deferred_strings): New static variable.
7755 (build_constant_desc): Set SYMBOL_REF_DECL of the new
7756 symbol_ref to point to the constant.
7757 (output_constant_def): When a deferred string is forced out,
7758 just clear STRING_POOL_ADDRESS_P and decrement n_deferred_strings.
7759 (mark_constant): Likewise.
7760 (maybe_output_constant_def_contents): When deferring a string
7761 constant, just set STRING_POOL_ADDRESS_P and increment
7762 n_deferred_strings.
7763 (mark_constant_pool): Check n_deferred_strings, not the size
7764 of const_str_htab.
7765 (init_varasm_once): No need to create const_str_htab.
7766
7767 * rtl.def, rtl.h, doc/rtl.texi: Document possibility that
7768 SYMBOL_REF_DECL points to a constant.
7769
293107d1
ZW
77702003-04-26 Zack Weinberg <zack@codesourcery.com>
7771
7772 * varasm.c (output_constant_def): Split out two new static
7773 functions, build_constant_desc and maybe_output_constant_def_contents.
7774 Restructure for comprehensibility. Don't call
7775 output_addressed_constants. Treat defstr being non-NULL for
7776 STRING_POOL_ADDRESS_P constants as an invariant.
7777 (struct deferred_string): Remove labelno field.
7778 (output_constant_def_contents): Kill labelno argument. Call
7779 output_addressed_constants here. Use ASM_OUTPUT_LABEL, not
7780 asm_out.internal_label.
7781 (mark_constant): Update call to output_constant_def_contents.
7782 Treat defstr being non-NULL for STRING_POOL_ADDRESS_P
7783 constants as an invariant.
7784
12969f45
RH
77852003-04-26 Richard Henderson <rth@redhat.com>
7786
7787 * config/i386/i386.c (output_pic_addr_const): Use SYMBOL_REF_LOCAL_P.
7788 (ix86_expand_call, ix86_rtx_consts): Likewise.
7789
5cc2f4f3
KG
77902003-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7791
7792 * doc/md.texi (cmpstr): Document additional restrictions.
7793
09b04f2d
NB
77942003-04-26 Neil Booth <neil@daikokuya.co.uk>
7795
7796 * flags.h (time_report): Remove.
7797 * timevar.c (timevar_enable): New.
7798 (TIMEVAR_ENABLE): Remove, use timevar_enable.
7799 (timevar_init): Rename from init_timevar.
7800 * timevar.h (timevar_init): Rename from init_timevar.
7801 * toplev.c (time_report): Make static.
7802 (do_compile): Conditionally call init_timevar first.
7803 (preprocess_options): Move some code to do_compile.
7804
3e35d143
SC
78052003-04-26 Stephane Carrez <stcarrez@nerim.fr>
7806
7807 * doc/install.texi (Binaries): Mention binaries for HC11/HC12.
7808
e6dc0cc6
NB
78092003-04-26 Neil Booth <neil@daikokuya.co.uk>
7810
7811 * _cpp_lex_direct: Remove pointless code.
7812
5936c7e7
SC
78132003-04-26 Stephane Carrez <stcarrez@nerim.fr>
7814
7815 * doc/extend.texi (Function Attributes): Document "near" and "far"
7816 for 68HC11 and 68HC12.
7817
85a43a2f
RK
78182003-04-25 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7819
7820 * expr.c (store_field): When making temporary for store, don't
7821 make it TYPE_QUAL_CONST.
7822
09e4ab56
PE
78232003-04-25 Phil Edwards <pme@gcc.gnu.org>
7824
7825 * toplev.c (read_integral_parameter): Use "argument" in error
7826 message to distinguish it from actual invalid options.
7827
ab409f1b
BW
78282003-04-25 Bob Wilson <bob.wilson@acm.org>
7829
7830 * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Back out previous
7831 addition of __PIC__ and __pic__ macros.
7832 * config/xtensa/xtensa.h: Clean up indentation.
7833
6a2b287f
BW
78342003-04-25 Bob Wilson <bob.wilson@acm.org>
7835
7836 * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
7837 _GNU_SOURCE. Add definitions of __PIC__ and __pic__.
7838 (SUBTARGET_CPP_SPEC): Define.
7839 (LIB_SPEC): Delete.
7840 * config/xtensa/xtensa-protos.h (xtensa_declare_object): Delete.
7841 * config/xtensa/xtensa.c (xtensa_declare_object): Delete.
7842 * config/xtensa/xtensa.h (CPP_SPEC, SUBTARGET_CPP_SPEC, EXTRA_SPECS):
7843 Define.
7844 (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete.
7845 (ASM_OUTPUT_ALIGNED_BSS, BSS_SECTION_ASM_OP): Define.
7846
60986d64
L
78472003-04-25 H.J. Lu <hjl@gnu.org>
7848
7849 * config/ia64/ia64.c (ia64_expand_compare_and_swap): Add rmode
7850 for return mode.
7851 (ia64_expand_builtin): Set rmode to SImode for
7852 IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_SI,
7853 IA64_BUILTIN_VAL_COMPARE_AND_SWAP_SI and
7854 IA64_BUILTIN_BOOL_COMPARE_AND_SWAP_DI. Set remode to DImode
7855 for IA64_BUILTIN_VAL_COMPARE_AND_SWAP_DI.
7856
c7a5cf61
PE
78572003-04-25 Phil Edwards <pme@gcc.gnu.org>
7858
7859 * configure.in (make_compare_target): Test for GNU cmp and set this
7860 variable appropriately.
7861 * Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean,
7862 compare4-lean): Rename actual targets to slowcompare*. New compare*
7863 targets depend on names based on make_compare_target.
7864 * configure: Regenerated.
7865
f5bdba44
RH
78662003-04-25 Richard Henderson <rth@redhat.com>
7867
7868 * config/ia64/ia64.c (ia64_compute_frame_size): Allow inline asm
7869 to clobber ar.pfs and ar.unat.
7870 (ia64_expand_prologue): Force alloc instruction if ar.pfs saved;
7871 fix test for spilling ar.pfs to the stack.
7872
78732003-04-25 Richard Henderson <rth@redhat.com>
8f4e6caf 7874
293107d1
ZW
7875 PR opt/10315
7876 * config/rs6000/rs6000.c (rs6000_emit_move): Only elide proper
7877 checks during reload; use validize_mem instead of adjust_address.
8f4e6caf 7878
eda833e3
BE
78792003-04-26 Ben Elliston <bje@wasabisystems.com>
7880
7881 * config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
7882 return values from recog_memoized().
7883
9feff114
JDA
78842003-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7885
7886 PR opt/8705
7887 * gcse.c (try_replace_reg): On a successful substitution of a constant
7888 into a single set, try to simplify the source of the set.
7889 * loop.c (scan_loop): Don't try to optimize a MODE_CC set with a
7890 constant source.
7891
59325650
NB
78922003-04-24 Neil Booth <neil@daikokuya.co.uk>
7893
7894 * cpplex.c (cpp_token_len): Tighten up.
7895 (cpp_token_as_text): Need extra byte now.
7896 * cpplib.c (glue_header_name): Need extra 2 bytes.
7897 * cppmacro.c (cpp_macro_definition): Need extra byte.
7898
b746b8cb
AK
78992003-04-24 Alexander Kabaev <kan@FreeBSD.ORG>
7900
7901 * config/sparc/sparc.md (umulsidi3, mulsidi3): Avoid using
293107d1 7902 const_umulsidi3_sp32 and const_mulsidi3_sp32 on 64bit targets
b746b8cb
AK
7903 where they might be not present. Use their _sp64 equivalent
7904 instead.
7905
019238b7
JH
7906Thu Apr 24 20:42:12 CEST 2003 Jan Hubicka <jh@suse.cz>
7907
7908 * i386.md (cvtsi2sdq): Fix typo in previous patch.
293107d1 7909
39f6c4c8
KW
79102003-04-24 Krister Walfridsson <cato@df.lth.se>
7911
7912 * configure.in: Check whether mbstowcs works.
7913 * configure, config.in: Regenerate.
7914 * intl.c: Use HAVE_WORKING_MBSTOWCS.
7915
0c79f08b
L
79162003-04-24 H.J. Lu <hjl@gnu.org>
7917
7918 * config/ia64/ia64.c (ia64_init_builtins): Add si_ftype_pdi_di_di
7919 for __sync_bool_compare_and_swap_di for int return type.
7920
7921 * config/ia64/ia64intrin.h (__sync_bool_compare_and_swap_di):
7922 Change return type to int.
7923 (__sync_bool_compare_and_swap): Likewise.
7924
26f74aa3
JH
7925Thu Apr 24 16:55:26 CEST 2003 Jan Hubicka <jh@suse.cz>
7926
7927 * cfgbuild.c (make_edges): Do not use next_nonnote_insn when
7928 looking for fallthru edge.
7929
7930 * athlon.md (athlon-agu, athlon-store, athlon-fany, athlon-faddmul):
7931 Fix.
7932 (athlon-load2, athlon-store2, athlon-fpsched, athlon-fpload,
7933 athlon-fvector): New.
7934 (athlon_*): Revisit to match new optimization guide.
7935 * i386.c (ix86_adjust_cost): Fix memory operand costs on Athlon/k8
7936 * i386.md (cvt??2?? patterns): Fix modes.
7937 (fistp patterns): Set modes.
7938
7939 Accidentaly commited with my earlier reload patch:
7940 PR c/10308
7941 * reload.c (find_reloads_address_1): Reload plus at the place of
7942 index register.
293107d1 7943
796621e8
NS
79442003-04-24 Nathan Sidwell <nathan@codesourcery.com>
7945
7946 New GCOV_TAG_FUNCTION layout
7947 * coverage.c (struct function_list): Replace name with ident.
7948 (struct counts_entry): Likewise.
7949 (fn_ident): New.
7950 (htab_counts_entry_hash, htab_counts_entry_eq,
7951 htab_counts_entry_del): Adjust.
7952 (reads_count_file, get_coverage_counts,
7953 coverage_begin_output, coverage_end_function): Adjust.
7954 (build_fn_info_type, build_fn_info_value): Likewise.
7955 * gcov-dump.c (tag_function): Adjust.
7956 * gcov-io.c (gcov_write_string, gcov_read_string): Not in LIBGCOV.
7957 * gcov-io.h (gcov_write_string, gcov_read_string): Not in LIBGCOV.
7958 * gcov.c (struct function_info): Add ident.
7959 (read_graph_file, read_count_file): Adjust.
7960 * libgcov.c (gcov_exit): Adjust.
7961
6ff76c36
RH
79622003-04-23 Richard Henderson <rth@redhat.com>
7963
7964 PR opt/8300
7965 * toplev.c (rest_of_compilation): Delay no_new_pseudos until
7966 after initialize_uninitialized_subregs; update reg info assuming
7967 new pseudos were created.
7968
6338b358
NB
79692003-04-23 Neil Booth <neil@daikokuya.co.uk>
7970
7971 * Makefile.in (c-lex.o, LIBCPP_OBJS, cpplex.o): Update.
7972 * c-lex.c (MULTIBYTE_CHARS): Remove conditionals.
7973 (lex_string): Take cpp_string with full spelling.
7974 (cb_ident): Update.
7975 (c_lex): Update diagnostics.
7976 * cpplex.c (SPELL_NUMBER, SPELL_STRING): Combine into SPELL_LITERAL.
7977 (create_literal): New.
7978 (lex_string): Unterminated literals have type CPP_OTHER.
7979 (_cpp_lex_direct): Update calls to lex_string. Use create_literal
7980 for CPP_OTHER.
7981 (cpp_token_len, cpp_spell_token, cpp_output_token): Simplify.
7982 (_cpp_equiv_tokens, cpp_interpret_charconst): Update.
7983 * cpplib.c (parse_include, do_line, do_linemarker,
7984 destringize_and_run): Update for token storing full spelling.
7985 * cpplib.h: Update token spelling types.
7986 * cppmacro.c (stringify_arg, check_trad_stringification):
7987 Update for token storing full spelling.
7988
011fd56b
UW
79892003-04-23 Ulrich Weigand <uweigand@de.ibm.com>
7990
7991 * config/s390/s390.c (s390_expand_cmpstr): Disable CLC loop.
7992
7052a099
RE
79932003-04-23 Richard Earnshaw <rearnsha@arm.com>
7994
7995 * arm.h (TARGET_OPTIONS): Add value field.
7996
f0ddce84
MM
79972003-04-23 Mark Mitchell <mark@codesourcery.com>
7998
7999 * doc/extend.texi: Remove duplicate 2003 copyright date.
8000
cdb23767
NS
80012003-04-23 Nathan Sidwell <nathan@codesourcery.com>
8002
8003 * Makefile.in (LIBGCC_DEPS): Add gcov headers.
8004 (libgcov.a): Depends on LIBGCC_DEPS.
8005 * basic-block.h (profile_info): Moved here from coverage.h. Made
8006 a pointer.
8007 * coverage.c (struct function_list): Fixed array of counter types.
8008 (struct counts_entry): Keyed by counter type, contains summary.
8009 (profile_info): Moved to profile.c.
8010 (prg_ctr_mask, prg_n_ctrs, fn_ctr_mask, fn_n_ctrs): New global
8011 vars.
8012 (profiler_label): Remove.
8013 (ctr_labels): New.
8014 (set_purpose, label_for_tag, build_counter_section_fields,
8015 build_counter_section_value, build_counter_section_data_fields,
8016 build_counter_section_data_values, build_function_info_fields,
8017 build_function_info_value, gcov_info_fields, gcov_info_value): Remove.
8018 (build_fn_info_type, build_fn_info_value, build_ctr_info_type,
8019 build_ctr_info_value, build_gcov_info): New.
8020 (htab_counts_entry_hash, htab_counts_entry_eq): Adjust.
8021 (reads_counts_file): Adjust.
8022 (get_coverage_counts): Takes counter number. Add summary
8023 parameter. Adjust.
8024 (coverage_counter_ref): Tkaes counter number. Adjust. Lazily
8025 create counter array labels.
8026 (coverage_end_function): Adjust.
8027 (create_coverage): Adjust.
8028 (find_counters_section): Remove.
8029 * coverage.h (MAX_COUNTER_SECTIONS): Remove.
8030 (struct section_info, struct profile_info): Remove.
8031 (profile_info): Moved to basic-block.h.
8032 (coverage_counter_ref): Takes a counter number.
8033 (get_coverage_counts): Takes a counter number. Added summary
8034 parameter.
8035 (find_counters_section): Remove.
8036 * gcov-dump.c (tag_arc_counts): Rename to ...
8037 (tag_counters): ... here. Adjust.
8038 (tag_table): Move tag_counters to 3rd entry. Remove
8039 PROGRAM_PLACEHOLDER and PROGRAM_INCORRECT entries.
8040 (dump_file): Check for counter tag values here.
8041 (tag_summary): Adjust.
8042 * gcov-io.c (gcov_write_summary, gcov_read_summary): Adjust.
8043 * gcov-io.h (GCOV_LOCKED): New.
8044 (GCOV_TAG_ARC_COUNTS): Rename to ...
8045 (GCOV_TAG_COUNTS_BASE): ... here.
8046 (GCOV_TAG_PLACEHOLDER_SUMMARY, GCOV_TAG_INCORRECT_SUMMARY):
8047 Remove.
8048 (GCOV_COUNTER_ARCS, GCOV_COUNTERS, GCOV_NAMES): New.
8049 (GCOV_TAG_FOR_COUNTER, GCOV_COUNTER_FOR_TAG,
8050 GCOV_TAG_IS_COUNTER): New.
8051 (struct gcov_ctr_summary): New.
8052 (struct gcov_summary): Adjust.
8053 (struct gcov_counter_section): Remove.
8054 struct gcov_counter_section_data): Remove.
8055 (struct gcov_function_info): Rename to ...
8056 (struct gcov_fn_info): ... here. Adjust.
8057 (struct gcov_ctr_info): New.
8058 (struct gcov_info): Adjust.
8059 * gcov.c (read_count_file): Adjust.
8060 (output_lines): Adjust.
8061 * libgcov.c (gcov_exit): Adjust.
8062 (__gcov_flush): Adjust.
8063 * mklibgcc.in (libgcc2_c_dep): Add gcov headers.
8064 * predict.c (maybe_hot_bb_p, probably_cold_bb_p,
8065 probably_never_executed_bb_p, compute_frequency_function): Adjust
8066 profile_info use.
8067 * profile.c (struct counts_entry): Remove.
8068 (profile_info): Define here.
8069 (get_exec_counts): Adjust get_coverage_counts call.
8070 (compute_branch_probablilities): Remove find_counters_section
8071 call.
8072 (gen_edge_profiler): Adjust coverage_counter_ref call.
8073 * tracer.c (tail_duplicate): Adjust profile_info use.
8074
2be3b5ce
RS
80752003-04-23 Roger Sayle <roger@eyesopen.com>
8076
8077 PR optimization/10339
8078 * builtins.c (expand_builtin_strcmp): Try to emit cmpstrsi insn
8079 directly instead of unsafely transforming call into a memcmp.
8080 (expand_builtin_strncmp): Likewise.
8081
c57ddcf1
RS
80822003-04-22 Roger Sayle <roger@eyesopen.com>
8083
8084 * alias.c (mark_constant_function): Check for constancy and
8085 purity even of void functions. Update both the function decl
8086 and the cgraph RTL info with the results.
8087
c1a19acb
RS
80882003-04-22 Roger Sayle <roger@eyesopen.com>
8089
8090 * real.c (do_add): Change to return a bool indicating that the
8091 result of the operation may be inexact due to loss of precision.
8092 (do_multiply): Likewise.
8093 (do_divide): Likewise.
8094
c2e9147c
GK
80952003-04-22 Geoffrey Keating <geoffk@apple.com>
8096 Loren James Rittle <ljrittle@acm.org>
8097
8098 * dwarf2out.c (fde_table_allocated): Mark with GTY.
8099 (decl_die_table_allocated): Likewise.
8100 (abbrev_die_table_allocated): Likewise.
8101 (line_info_table_allocated): Likewise.
8102 (separate_line_info_table_allocated): Likewise.
8103 (pubname_table_allocated): Likewise.
8104 (arange_table_allocated): Likewise.
8105 (ranges_table_allocated): Likewise.
8106 (decl_die_table_in_use): Unconditionalize; mark with GTY.
8107 (abbrev_die_table_in_use): Likewise.
8108 (line_info_table_in_use): Likewise.
8109 (separate_line_info_table_in_use): Likewise.
8110 (pubname_table_in_use): Likewise.
8111 (arange_table_in_use): Likewise.
8112 (ranges_table_in_use): Likewise.
8113 (have_location_lists): Likewise.
8114 (emitcount): New GTY-marked static, moved...
8115 (maybe_emit_file): ...from here.
8116 (label_num): New GTY-marked static, moved...
8117 (gen_internal_sym): ...from here.
8118
4da2eb6b
RH
81192003-04-22 Richard Henderson <rth@redhat.com>
8120
293107d1
ZW
8121 PR 8866
8122 * rtl.h (MEM_NOTRAP_P): New.
8123 (MEM_COPY_ATTRIBUTES): Copy it.
8124 * rtlanal.c (may_trap_p): Check it.
8125 * expr.c (do_tablejump): Set it.
4da2eb6b
RH
8126 * doc/rtl.texi (Flags): Document it.
8127
293107d1 8128 * cfgrtl.c (try_redirect_by_replacing_jump): Revert last three changes.
4da2eb6b 8129
c1238896
OH
81302003-04-22 Olivier Hainque <hainque@act-europe.fr>
8131
8132 * config/alpha/alpha.c (alpha_expand_prologue [OPEN_VMS_ABI]): Don't
8133 set FRP on stack adjustment for outgoing args if frame_pointer_needed.
8134
6d412a7b
VC
81352003-04-22 Vincent Celier <celier@gnat.com>
8136
293107d1
ZW
8137 * gthr-gnat.h, gthr-gnat.c: new sources for implementation of
8138 --enable-threads=gnat.
8139 * Makefile.in: Add gthr-gnat.c to LIB2ADDEH.
8140 * configure.in: Add gnat to the list of thread packages
8141 * configure: Rebuild.
8142 * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP
6d412a7b 8143
b78f9414
NB
81442003-04-22 Neil Booth <neil@daikokuya.co.uk>
8145
8146 * cpplex.c (_cpp_get_fresh_line): Pop the buffer if return_at_eof.
f945b4e0
DP
8147
81482003-04-22 Devang Patel <dpatel@apple.com>
8149
b78f9414
NB
8150 * cpptrad.c (_cpp_replacement_text_len): Add check for macro
8151 parameter count.
f945b4e0 8152 (_cpp_copy_replacement_text): Same.
293107d1 8153
1067694a
NB
81542003-04-22 Neil Booth <neil@daikokuya.co.uk>
8155
8156 * c-lex.c (c_lex): Handle CPP_OTHER differently.
8157 * cppexp.c (_cpp_parse_expr): Similarly.
8158 * cpplex.c (SPELL_CHAR): Remove.
8159 (_cpp_lex_direct): Stray chars are saved as byte strings.
8160 (cpp_spell_token, cpp_output_token, _cpp_equiv_token): Don't
8161 handle SPELL_CHAR.
8162 (cpp_avoid_paste): Update handling of CPP_OTHER.
8163 * cpplib.h: Spell CPP_OTHER like a number.
8164 (struct cpp_token): Remove member c.
8165 * cppmacro.c (stringify_arg): Update handling of CPP_OTHER.
8166
77c915d8
DT
81672003-04-22 David Turner <novalis@gnu.org>
8168
8169 * gbl-ctors.h: Add special license exception.
8170 * libgcc2.h: Likewise.
8171 * tsystem.h: Likewise.
8172 * gcov-io.h: Likewise.
8173
85e50b6b
DE
81742003-04-22 David Edelsohn <edelsohn@gnu.org>
8175
8176 * fold-const.c (fold_range_test): Use RANGE_TEST_NON_SHORT_CIRCUIT
8177 macro defaulting to original BRANCH_COST heuristic.
8178 * doc/tm.texi (RANGE_TEST_NON_SHORT_CIRCUIT): Document.
8179
8180 * config/rs6000/rs6000.h (RANGE_TEST_NON_SHORT_CIRCUIT): Define.
8181
00c060a4
AH
81822003-04-22 Aldy Hernandez <aldyh@redhat.com>
8183
293107d1 8184 * config/rs6000/t-spe: Merge in t-fprules into file.
00c060a4 8185
293107d1 8186 * config.gcc: Add t-spe to powerpc-eabispe.
00c060a4 8187
e4d72771
KJ
81882003-04-22 Kean Johnston <jkj@sco.com>
8189
8190 * tlink.c (recompile_files): Add missing '=' to putenv calls
8191
ad27e65a
NS
81922003-04-22 Nathan Sidwell <nathan@codesourcery.com>
8193
8194 * ginclude/stddef.h: Provide C++ safe offsetof.
8195
277b3b18
R
81962003-04-22 J"orn Rennecke <joern.rennecke@superh.com>
8197
8198 * function.c (purge_addressof_1): In (mem (addressof (reg))) case
8199 for reg notes, if there are no substitutions, just use a SUBREG.
8200
b2dd096b
MM
82012003-04-21 Mark Mitchell <mark@codesourcery.com>
8202
8203 * Makefile.in (calls.o): Depend on except.h.
8204 * calls.c: Include except.h.
8205 (emit_call_1): Call note_eh_region_may_contain_throw if
8206 appropriate.
8207 * except.c (eh_region): Add may_contain_throw.
8208 (expand_eh_region_end_cleanup): Do not include handler code when
8209 it cannot be reached.
8210 (note_eh_region_may_contain_throw): New function.
8211 * except.h (note_eh_region_may_contain_throw): New function.
8212
bfc6c67e
MM
82132003-04-21 Mark Mitchell <mark@codesourcery.com>
8214
8215 * config/i386/winnt.c (i386_pe_mark_dllimport): Revert previous
8216 changes.
8217
95b1c7b6
AH
82182003-04-21 Aldy Hernandez <aldyh@redhat.com>
8219
293107d1
ZW
8220 * config/rs6000/rs6000.c (rs6000_override_options): No SPE means
8221 64-bit long doubles.
95b1c7b6 8222
6a48df45
OH
82232003-04-21 Olivier Hainque <hainque@act-europe.fr>
8224
3cd58fd7
OH
8225 * fold-const.c (fold, case PLUS_EXPR and case MULT_EXPR): Restore
8226 a number of conversions required for type consistency and previously
8227 stripped off by STRIP_NOPS.
8228
6a48df45
OH
8229 * calls.c (expand_call): Prevent sibcall optimization for calls to
8230 nested subprograms.
8231
0d2f38ee 8232 * expmed.c (extract_bit_field): Reverse operands of && condition to
293107d1 8233 prevent a potential division by zero in the previously first branch.
0d2f38ee
OH
8234 * config/pa/pa.md (extv, extzv): FAIL if the bitfield length is zero.
8235
c3cdeef4
JB
82362003-04-21 Joel Brobecker <brobecker@gnat.com>
8237
8238 * dwarf2out.c (is_ada, is_ada_subrange_type): New functions.
8239 (subrange_type_die): Likewise.
8240 (modified_type_die): Emit a subrange_type DIE for Ada subrange types.
8241 (is_c_family, is_cxx, is_java, is_fortran): Return bool and clean up.
8242
ca29da43
NS
82432003-04-21 Nathan Sidwell <nathan@codesourcery.com>
8244
293107d1
ZW
8245 Break out coverage routines to new file.
8246 * Makefile.in (COVERAGE_H): New variable
8247 (C_OBJS): Add coverage.o
8248 (coverage.o): New target.
8249 (profile.o, loop-init.o, sched-ebb.o, predict.o, tracer.o): Adjust
8250 dependencies.
8251 (GTFILES): Adjust.
8252 (gt-coverage.h): New target.
8253 (gt-profile.h): Remove.
8254 * profile.h: Remove. Move to ...
8255 * coverage.h: ... here. New. #include gcov-io.h.
8256 * gcov-io.h: Move function definitions to ...
8257 * gcov-io.c: ... here. New.
8258 * profile.c: Move coverage routines to coverage.c.
8259 (instrument_edges, get_exec_counts, branch_prob, init_branch_prob,
8260 end_branch_prob): Adjust.
8261 * coverage.c: New. Coverage routines from profile.c
8262 (coverage_counter_ref, coverage_init, coverage_finish,
8263 coverage_end_function, coverage_begin_output,
8264 coverage_counter_ref, get_coverage_counts): Define.
8265 * gcov-dump.c, gcov.c: #include gcov-io.c.
8266 * libgcov.c: Likewise. Adjust.
8267 * loop-init.c: Don't #include profile.h
8268 * tracer.c, predict.c, sched-ebb.c: Adjust #includes.
8269 * rtl.h: Add coverage prototypes.
8270 * toplev.c (compile_file): Init coverage, not branch_prob.
8271 Always call coverage_finish.
8272 (rest_of_compilation): Call coverage_end_function.
ca29da43 8273
1774b213 82742003-04-21 Matt Kraai <kraai@alumni.cmu.edu>
dd0fbae2
MK
8275
8276 * config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.
8277
74eb4b3e
NB
82782003-04-21 Neil Booth <neil@daikokuya.co.uk>
8279
8280 * c-ppoutput.c (cb_include): Don't take a cpp_token.
8281 * cppfiles.c: Don't undef strcmp.
8282 (find_include_file): Don't take a cpp_token. Check for empty
8283 file names.
8284 (_cpp_execute_include, _cpp_compare_file_date): Don't take a cpp_token.
8285 (cpp_push_include): Simplify.
8286 * cpphash.h (_cpp_execute_include, _cpp_compare_file_date): Update.
8287 * cpplib.c (glue_header_name): Return the file name, not a cpp_token.
8288 (parse_include): Similary. Don't check for zero-length filenames.
8289 (do_include_common, do_pragma_dependency): Update accordingly.
8290 * cpplib.h (struct cpp_callbacks): Change prototype of include.
8291
337f4314 82922003-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
293107d1 8293
9e91ce11
RK
8294 * doc/rtl.texi (RTX_UNCHANGING_P): Point to true_dependence for
8295 details of conflict handling.
293107d1 8296
26b84487
RK
8297 * fold-const.c (extract_muldiv, case CONVERT_EXPR): Detect case
8298 when conversion overflows.
8299
1a96dc46
RK
8300 * stor-layout.c (layout_decl): Don't set DECL_SIZE_UNIT if already set.
8301
337f4314
RK
8302 * expr.c (store_constructor): Set RTX_UNCHANGING_P if readonly_field_p
8303 before clearing.
8304
3819b963
MM
83052003-04-21 Mark Mitchell <mark@codesourcery.com>
8306
8307 * config/i386/winnt.c (i386_pe_mark_dllimport): Make the new RTL
8308 have the same form as the old RTL.
8309
0e7a8c4b
AJ
83102003-04-21 Andreas Jaeger <aj@suse.de>
8311
293107d1 8312 * cppcharset.c (_cpp_valid_ucn): Cast field precision to int.
0e7a8c4b 8313
b39b8084
CL
83142003-04-20 Chris Lattner <sabre@nondot.org>
8315 Zack Weinberg <zack@codesourcery.com>
8316
8317 * c-common.h, c-semantics.c: Rename genrtl_decl_cleanup to
8318 genrtl_cleanup_stmt. Correct comment at head of
8319 genrtl_cleanup_stmt (no such thing as a DECL_CLEANUP).
8320
8321 * stmt.c (struct nesting): Kill n_function_calls.
8322 (expand_start_bindings): Don't set
8323 thisblock->data.block.n_function_calls.
8324 (expand_end_bindings): Compare function_call_count against 0.
8325 (expand_cleanups): Kill DONT_DO argument; all callers passed
8326 NULL_TREE. All callers updated to match.
8327
b20cbca2
ZW
83282003-04-20 Zack Weinberg <zack@codesourcery.com>
8329
8330 * varasm.c (struct deferred_constant, defer_addressed_constants_flag)
8331 (defer_addressed_constants, output_deferred_addressed_constants): Kill.
8332 (output_constant_def): Remove code predicated on
8333 defer_addressed_constants_flag.
8334
8335 * output.h: Remove prototypes of deleted functions.
8336 * c-typeck.c (constructor_subconstants_deferred): Kill.
8337 (struct initializer_stack): Remove 'deferred' field.
8338 (start_init): Remove all references to the above.
8339 (finish_init): Likewise. Also remove never-executed call to
8340 output_deferred_addressed_constants. Pull assignment to
8341 defstr out of if expression.
8342
41c32c98
NB
83432003-04-20 Neil Booth <neil@daikokuya.co.uk>
8344
8345 * cpphash.h (NOTE_ESC_NL, NOTE_ESC_SPACE_NL, NOTE_TRIGRAPH,
8346 NOTE_NEWLINE): Remove.
8347 * cpplex.c (_cpp_clean_line, _cpp_process_line_notes): Update
8348 to handle new form of line note type.
8349
c6a2438a
ZW
83502003-04-20 Zack Weinberg <zack@codesourcery.com>
8351
8352 * target.h (encode_section_info): Add new argument carrying
8353 the RTL to be modified by the hook.
8354
8355 * varasm.c (make_decl_rtl, output_constant_def): Update calls
8356 to encode_section_info.
8357 (default_encode_section_info): Take and use RTL argument,
8358 don't use TREE_CST_RTL or DECL_RTL.
8359 * output.h: Update prototype of default_encode_section_info.
8360 * config/darwin.h (ASM_DECLARE_OBJECT_NAME)
8361 (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_ALIGNED_DECL_LOCAL):
8362 Update calls to encode_section_info.
8363
8364 * config/darwin.c, config/arm/arm.c, config/arm/pe.c
8365 * config/h8300/h8300.c, config/i386/winnt.c, config/m32r/m32r.c
8366 * config/m68hc11/m68hc11.c, config/m88k/m88k.c, config/mcore/mcore.c
8367 * config/mips/mips.c, config/mmix/mmix.c, config/pa/pa.c
8368 * config/romp/romp.c, config/rs6000/rs6000.c, config/s390/s390.c
8369 * config/v850/v850.c (TARGET_ENCODE_SECTION_INFO definitions):
8370 Take and use RTL argument, don't use TREE_CST_RTL or DECL_RTL,
8371 except for PE dllimport/dllexport. Update calls to
8372 default_encode_section_info.
8373
8374 * config/darwin-protos.h, config/arm/arm-protos.h, config/i386-protos.h:
8375 Update prototypes.
8376
8377 * doc/tm.texi (TARGET_ENCODE_SECTION_INFO): Update.
8378
8c7d377f
JDA
83792003-04-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8380
8381 PR/8705
8382 * pa.md (movccfp): New expander.
8383 (setccfp0, setccfp1): Rename to movccfp0 and movccfp1, respectively.
8384 Reverse fcmp conditions.
8385
1052bb09
MM
83862003-04-20 Marek Michalkiewicz <marekm@amelek.gda.pl>
8387
8388 * config/avr/avr.md (*cmpqi_sign_extend): Handle negative values
8389 of operand 1 correctly.
8390
299f79b5
NS
83912003-04-20 Nathan Sidwell <nathan@codesourcery.com>
8392
8393 * cpplex.c (_cpp_lex_direct): Set BOL for CPP_EOF tokens.
8394 * gcov.c (output_lines): Don't be so fussy about going past EOF.
8395
1613e52b
NB
83962003-04-20 Neil Booth <neil@daikokuya.co.uk>
8397
8398 * Makefile.in (LIBCPP_OBJS): Add cppcharset.o.
8399 (cppcharset.o): New target.
8400 * c-lex.c (is_extended_char): Move to cppcharset.c.
8401 (utf8_extend_token): Delete.
8402 * cppcharset.c: New file.
8403 * cpphash.h (_cpp_valid_ucn): New.
8404 * cpplex.c (lex_identifier): Update prototype.
8405 (continues_identifier_p): Rename forms_identifier_p. Handle UCN
8406 escapes.
8407 (maybe_read_ucs): Rename maybe_read_ucn. Update to use code
8408 in cppcharset.c.
8409 (lex_number, lex_identifier, cpp_parse_escape): Update.
8410 (_cpp_lex_direct): Update to handle UCNs.
8411 (cpp_avoid_paste): Don't paste to form a UCN.
8412
0a45ec5c
RS
84132003-04-19 Roger Sayle <roger@eyesopen.com>
8414
8415 * builtins.c (expand_builtin): Don't expand a pure or const
8416 built-in function if the result will be ignored and none of
8417 its arguments are volatile.
8418
16477cc5
KJ
84192003-04-19 Kean Johnston <jkj@sco.com>
8420
8421 * unwind-dw2.c (_Unwind_GetCFA): cast return to avoid warning
8422 * config.gcc: make SCO use dbxelf.h and elfos.h; only use one
8423 target fragment now: t-sco5; dont compile crti.o.
8424 * config/i386/sco5.h: major overhaul to remove all COFF remnants
8425 and to use elfos.h for most definitions.
8426 (BSS_SECTION_ASM_OP): set correct segment attributes.
8427 (PREFERED_DEBUGGING_TYPE): set to DWARF-2.
8428 (DWARF2_UNWIND_INFO): Always set to 1.
8429 (MD_STARTFILE_PREFIX): Make /usr/gnu/lib the default.
8430 (MD_STARTFILE_PREFIX_1): Define.
8431 (MD_EXEC_PREFIX): Adjust to /usr/gnu/bin if using GAS.
8432 (DEFAULT_LINKER): Define if not specified to configure.
8433 (CTORS_SECTION_ASM_OP): Remove COFF crud.
8434 (DTORS_SECTION_ASM_OP): Remove COFF crud.
8435 (WINT_TYPE): Define.
8436 (SDB_DEBUGGING_INFO): Remove.
8437 (EXTRA_SECTIONS): Likewise.
8438 (EXTRA_SECTION_FUNCTIONS): Likewise.
8439 (CTOR_LIST_BEGIN): Likewise.
8440 (CTOR_LIST_END): Likewise.
8441 (INIT_SECTION_FUNCTION): Likewise.
8442 (FINI_SECTION_FUNCTION): Likewise.
8443 (SUBTARGET_FRAME_POINTER_REQUIRED): Likewise.
8444 (LOCAL_LABEL_PREFIX): Likewise.
8445 (NON_SAVING_SETJMP): Likewise.
8446 (RETURN_POPS_ARGS): Likewise.
8447 (ASM_OUTPUT_SKIP): Likewise.
8448 (TARGET_ASM_NAMED_SECTION): Likewise.
8449 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
8450 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
8451 (ASM_OUTPUT_IDENT): Likewise.
8452 (ASM_OUTPUT_CASE_LABEL): Likewise.
8453 (ASM_OUTPUT_ASCII): Likewise.
8454 (ASM_OUTPUT_LIMITED_STRING): Likewise.
8455 (ASM_OUTPUT_ALIGNED_LOCAL): Likewise.
8456 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
8457 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
8458 (ASM_FINISH_DECLARE_OBJECT): Likewise.
8459 (ASM_DECLARE_OBJECT_NAME): Likewise.
8460 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
8461 (ASM_DECLARE_FUNCTION_NAME): Likewise.
8462 (ASM_DECLARE_RESULT): Likewise.
8463 (ASM_WEAKEN_LABEL): Likewise.
8464 (SUPPORTS_WEAK): Likewise.
8465 (APPLY_RESULT_SIZE): Likewise.
8466 (LPREFIX): Likewise.
8467 (ALIGN_ASM_OP): Likewise.
8468 (ASCII_DATA_ASM_OP): Likewise.
8469 (IDENT_ASM_OP): Likewise.
8470 (ASM_SHORT): Likewise.
8471 (ASM_LONG): Likewise.
8472 (TYPE_ASM_OP): Likewise.
8473 (SIZE_ASM_OP): Likewise.
8474 (STRING_ASM_OP): Likewise.
8475 (SKIP_ASM_OP): Likewise.
8476 (EH_FRAME_SECTION_ASM_OP): Likewise.
8477 (READONLY_DATA_SECTION_ASM_OP): Likewise.
8478 (INIT_SECTION_ASM_OP): Likewise.
8479 (FINI_SECTION_ASM_OP): Likewise.
8480 (TEXT_SECTION_ASM_OP): Likewise.
8481 (DATA_SECTION_ASM_OP): Likewise.
8482 (TYPE_OPERANT_FORMAT): Likewise.
8483 (ASM_SPEC): Remove COFF code.
8484 (STARTFILE_SPEC): Likewise. Always use crti.o; add -p and -pp support;
8485 cause -pg to emit an error; use pcrt1elf.o with -pp
8486 (ENDFILE_SPEC): Likewise.
8487 (TARGET_OS_CPP_BUILTINS): Add _SCO_DS_LL.
8488 (CPP_SPEC): Remove COFF crud; always look in /usr/gnu/include first.
8489 (LINK_SPEC): Remove COFF crud; use -E for environment switch not -R;
8490 add -z alt_resolve to support weak symbols the way GCC wants them.
8491 (LIB_SPEC): Use the profiler libraries in -p or -pp mode.
8492 (LIBGCC_SPEC): Dont use -lgcc in -G mode.
8493 (ASM_PREFERED_EH_DATA_FORMAT): Remove.
8494 * config/i386/t-sco5 (TARGET_LIBGCC2_CFLAGS): Remove.
8495 (CRTSTUFF_T_CFLAGS_S): Define.
8496 (MULTILIB_OPTIONS): Likewise.
8497 (MULTILIB_DIRNAMES): Likewise.
8498 (MULTILIB_MATCHES): Likewise.
8499 (MULTILIB_EXTRA_OPTS): Likewise.
8500 (LIBGCC): Likewise.
8501 (INSTALL_LIBGCC): Likewise.
8502 (crti.o): Remove.
8503 * config/i386/t-sco5gas: Remove.
8504 * doc/install.texi: Updated for new OpenServer instructions.
8505 * testsuite/gcc.dg/nest.c: Allow failure on SCO (-pg not supported)
8506
de0656cf
KJ
85072003-04-19 Kean Johnston <jkj@sco.com>
8508
8509 * fixinc/check.tpl: Allow user to over-ride diff program.
8510 * fixinc/inclhack.def: Removed extraneous #ifndef SVR5.
8511 (sco_math): Added test for SCO math header files.
8512 (sco_regset): Added check for conflicts with ieeefp.h.
8513 (svr4_disable_opt): Removed extraneous #ifdef SVR4.
8514 * fixinc/fixincl.x: Regenerated
8515 * fixinc/tests/base/math.h: Added sco_math tests.
8516 * fixinc/tests/base/string.h: New file.
8517 * fixinc/tests/base/sys/regset.h: New file.
8518
6f572ac2
NB
85192003-04-19 Neil Booth <neil@daikokuya.co.uk>
8520
8521 * cpphash.h (struct cpp_buffer): Remove backup_to.
8522 * cpplex.c (BACKUP, get_effective_char): Die.
8523 (_cpp_skip_block_comment): Assume '*' is location on entry.
8524 (continues_identifier_p): Respect -fno-dollars-in-identifiers.
8525 (IF_NEXT_IS): Update.
8526 (_cpp_lex_direct): Don't use backup_to; look ahead directly.
8527
ced2ad76
MK
85282003-04-19 Matt Kraai <kraai@alumni.cmu.edu>
8529
8530 * README.Portability: Move to a new section and obsolete K+R
8531 portability issues.
8532
07015444
JH
8533Sat Apr 19 14:56:17 CEST 2003 Jan Hubicka <jh@suse.cz>
8534
8535 * rtlanal.c (subreg_offset_representable_p): Fix call of
8536 subreg_lowpart.
8537
bced6edf
NB
85382003-04-19 Neil Booth <neil@daikokuya.co.uk>
8539
8540 * cpphash.h (struct cpp_reader): New member warned_dollar.
8541 * cpplex.c (continues_identifier_p): New function.
8542 (parse_identifier, parse_number, parse_string): Rename lex_identifer,
8543 lex_number and lex_string, and simplify.
8544 (parse_slow, unescaped_terminator_p): Die.
8545 (_cpp_lex_direct): Update.
8546
a259f218
RK
85472003-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8548
8549 * calls.c (expand_call): Provide init for old_stack_pointer_delta.
8550
8555daff
NS
85512003-04-19 Nathan Sidwell <nathan@codesourcery.com>
8552
8553 * doc/invoke.texi (-fprofile-arcs): Mention -lgcov, locking and
6356f892 8554 fork behavior.
8555daff 8555
4e1f0f8e
NB
85562003-04-19 Neil Booth <neil@daikokuya.co.uk>
8557
8558 * cppexp.c (eval_token): Permit true and false even if pedantic.
8559
bf805def
NB
85602003-04-19 Neil Booth <neil@daikokuya.co.uk>
8561
8562 * cpplex.c (skip_whitespace): Rearrange to avoid stage1 ICE.
8563
26aea073
NB
85642003-04-19 Neil Booth <neil@daikokuya.co.uk>
8565
8566 * cppfiles.c (ENABLE_VALGRIND_CHECKING, VALGRIND_DISCARD,
8567 MMAP_THRESHOLD, TEST_THRESHOLD, SHOULD_MMAP): Remove.
8568 (struct include_file): Remove fefcnt, mapped members.
8569 (open_file, stack_include_file, _cpp_pop_file_buffer): Disable caching.
8570 (read_include_file): Don't use mmap, terminate buffers in '\r'.
8571 (purge_cache): Don't use munmap.
8572 * cpphash.h (CPP_BUF_COLUMN): Update.
8573 (lexer_state): Remove lexing_comment.
8574 (struct _cpp_line_note): New.
8575 (struct cpp_buffer): New members cur_note, notes_used, notes_cap,
8576 next_line and need_line. Remove col_adjust and saved_flags.
8577 (_cpp_process_line_notes, _cpp_clean_line, _cpp_get_fresh_line,
8578 _cpp_skip_block_comment, scan_out_logical_line): New.
8579 (_cpp_init_mbchar): Remove.
8580 * cppinit.c (init_library): Remove call to _cpp_init_mbchar.
8581 (cpp_read_main_file): Set line to 1 earlier.
8582 (post_options): -traditional-cpp doesn't want trigraphs.
8583 * cpplex.c (MULTIBYTE_CHARS): Remove code predicated on this.
8584 (add_line_note, _cpp_clean_line, _cpp_process_line_notes,
8585 _cpp_get_fresh_line): New.
8586 (handle_newline, skip_escaped_newlines, trigraph_p,
8587 continue_after_nul, _cpp_init_mbchar): Remove.
8588 (get_effective_char): Update.
8589 (_cpp_skip_block_comment): Rename from skip_block_comment, simplify.
8590 (skip_line_comment): Simplify.
8591 (skip_whitespace, parse_identifier, parse_slow, parse_number,
8592 parse_string): Update.
8593 (cpp_lex_direct): Use clean lines and process line notes. Update.
8594 (cpp_interpret_charconst): No MULTIBYTE_CHARS.
8595 * cpplib.c (prepare_directive_trad): Call scan_out_logical_line
8596 directly.
8597 (_cpp_handle_directive): Don't set saved_flags.
8598 (run_directive, destringize_and_run, cpp_define, cpp_define_builtin,
8599 cpp_undef, handle_assertion, cpp_push_buffer): Update.
8600 (_cpp_pop_buffer): Free notes.
8601 * cppmacro.c (builtin_macro, paste_tokens): \n terminate buffer.
8602 * cpppch.c (cpp_read_state): \n terminate buffer.
8603 * cpptrad.c (skip_escaped_newlines, handle_newline): Remove.
8604 (copy_comment): Use _cpp_skip_block_comment.
8605 (skip_whitespace, lex_identifier, _cpp_read_logical_line_trad):
8606 Simplify.
8607 (_cpp_overlay_buffer, _cpp_remove_overlay, push_replacement_text,
8608 save_replacement_text): Update.
8609 (scan_out_logical_line): Update to use clean lines and process
8610 line notes.
8611 * fix-header.c (read_scan_file): Update.
8612
7008a11b
DR
86132003-04-18 Douglas B Rupp <rupp@gnat.com>
8614
8615 * unwind-dw2-fde.c (__register_frame_info_bases): Check for
8616 null begin parameter (as well as pointer to null).
8617 (__deregister_frame_info_bases): Likewise.
8618
21102f25
RK
86192003-04-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8620
34d21fe3
RK
8621 * function.c (purge_addressof_1): For ADDRESSOF, see if SUB is a
8622 hard or virtual register and copy into pseudo if replacement fails.
8623
8624 * cfgcleanup.c (flow_find_cross_jump): Use INSN_P, not active_insn_p.
dd4ff203 8625
21102f25
RK
8626 * expmed.c (mask_rtx): Avoid undefined shifts for BITSIZE of 0.
8627
e59baa1f
OH
86282003-04-18 Olivier Hainque <hainque@act-europe.fr>
8629
38afb23f
OH
8630 * calls.c (expand_call): Move special case for constructor calls
8631 to right place. Ensures constructor calls used to initialize
c6a2438a 8632 arguments get a clean outgoing argument block for themselves.
38afb23f
OH
8633 Move check for stack deallocation completeness until after last
8634 deallocation. Add stack_pointer_delta to set of state
8635 variables saved and restored along with current stack_level.
c6a2438a
ZW
8636
8637 * integrate.c (expand_inline_function): Ensure non-const actuals
8638 don't end up const in the caller's flow after conversion to possibly
8639 const formal type.
e59baa1f 8640
8dcea3f3
VC
86412003-04-18 Vincent Celier <celier@gnat.com>
8642
c6a2438a
ZW
8643 * dwarf2out.c (loc_descriptor_from_tree): Treat all *_MOD_EXPR
8644 and *_DIV_EXPR as TRUNC_*_EXPR.
8dcea3f3 8645
3e378f14
MM
86462003-04-18 Mark Mitchell <mark@codesourcery.com>
8647
8648 * cfgrtl.c (try_redirect_by_replacing_jump): Create a basic block
8649 for orphaned jump tables.
8650
1b0d0e84
KH
86512003-04-18 Kazu Hirata <kazu@cs.umass.edu>
8652
8653 * reload1.c: Revert my previous patch on 2002-04-17.
8654
906042f5
GP
86552003-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8656
8657 * doc/contrib.texi (Contributors): Prefer "bug fix" over "bugfix".
8658 Add Segher Boessenkool.
8659
38a31425
AS
86602003-04-18 Alexander Sotirov <sluncho@mirizma.org>
8661
8662 PR c/9177
8663 * c-decl.c (c_expand_body): Don't garbage collect the function
8664 body if we are going to dump it later.
8665
59c60a98
RH
86662003-04-18 Richard Henderson <rth@redhat.com>
8667
8668 * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): Remove.
8669 (alpha_end_function): Don't set them.
8670 (decl_in_text_section): Remove.
8671 (alpha_encode_section_info): Remove.
8672 (samegp_function_operand): Use SYMBOL_REF LOCAL_P and EXTERNAL_P.
8673 (direct_call_operand): Use SYMBOL_REF_DECL and compare actual
8674 sections, rather than decl_in_text_section results.
8675
c553b702
RS
86762003-04-18 Roger Sayle <roger@eyesopen.com>
8677
8678 * rtlanal.c (reg_overlap_mentioned_p): Handle ZERO_EXTRACT
8679 and SIGN_EXTRACT.
8680
6a29edea
EB
86812003-04-18 Eric Botcazou <ebotcazou@libertysurf.fr>
8682
8683 PR optimization/7675
8684 * c-typeck.c (build_external_ref): Set the DECL_NONLOCAL flag
8685 on VAR_DECL, PARM_DECL and FUNCTION_DECL from within
8686 nested functions if they refer to declarations from parent functions.
8687 * stmt.c (expand_decl): Don't put automatic variables in registers
8688 if the DECL_NONLOCAL flag is set.
8689
4d3eb89a
HPN
86902003-04-18 Hans-Peter Nilsson <hp@bitrange.com>
8691
8692 * gcse.c (compute_ld_motion_mems): For MEM destinations, only
8693 consider those to be movable where the source matches
8694 want_to_gcse_p.
8695 (update_ld_motion_stores): In comment, refer to
8696 compute_ld_motion_mems for validity of replacement.
8697
04c5580f
JH
8698Fri Apr 18 01:28:51 CEST 2003 Jan Hubicka <jh@suse.cz>
8699
d101590b 8700 * gcov-dump.c (tag_summary): Remove max_sum
ca29da43
NS
8701 * gcov-io.h (gcov_summary, gcov_write_summary,
8702 gcov_read_summary): Kill max_sum.
8703 * libgcov.c (gcov_exit): Do one pass over the data. Make error
8704 message more verbose.
8705
8706 * emit-rtl.c (subreg_hard_regno): Check that register is
8707 representable.
293107d1 8708
04c5580f
JH
8709 * reload.c (reload_inner_reg_of_subreg): When register is not
8710 representable, reload the whole thing.
8711 (find_reloads): Likewsie.
8712 * rtlanal.c (subreg_representable_p): New function.
8713
8714 * profile.c (compute_branch_probabilities): Cleanup sanity checking;
8715 allow negative probabilities for edges from the call to exit.
ca29da43
NS
8716 (branch_prob): Do not add fake edges for functions that may return
8717 twice.
04c5580f 8718
c409ea0d
DD
87192003-04-17 DJ Delorie <dj@redhat.com>
8720
8721 * toplev.c (target_options): Add value field.
8722 (set_target_switch): Handle target options with values.
8723 * doc/tm.texi: Document how fixed vs variable target
8724 options work.
8725 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
8726 config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h,
8727 config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8728 config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h,
8729 config/m32r/m32r.h, config/m68hc11/m68hc11.h,
8730 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
8731 config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h,
8732 config/rs6000/rs6000.h, config/rs6000/sysv4.h,
8733 config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h:
8734 Add value initializer to target options.
8735
36801818
LR
87362003-04-07 Loren James Rittle <ljrittle@acm.org>
8737
8738 * cpppch.c (cpp_valid_state): Unconditionally initialize nl.
8739
a211395b
KH
87402003-04-17 Kazu Hirata <kazu@cs.umass.edu>
8741
8742 * reload1.c (move2add_last_cc0): New.
8743 (reload_cse_move2add): Detect implicit sets.
8744 (move2add_note_store): Notice a store into cc0.
8745
220a35cc
RS
87462003-04-17 Roger Sayle <roger@eyesopen.com>
8747
8748 PR c/10375
8749 * c-decl.c (duplicate_decls): Preserve "const" and "noreturn"
8750 function attributes.
8751
7ed0620a 87522003-04-17 Janis Johnson <janis187@us.ibm.com>
46b2356d
JJ
8753
8754 * doc/sourcebuild.texi (Test Suites): Document support for testing
8755 binary compatibility (moved from testsuite/README.compat).
8756
3907500b
RH
87572003-04-17 Richard Henderson <rth@redhat.com>
8758
8759 * config/ia64/ia64.c (ia64_in_small_data_p): Disallow strings.
8760
d22b2e54
SL
87612003-04-17 Simon Law <sfllaw@engmail.uwaterloo.ca>
8762
c6a2438a
ZW
8763 * doc/include/gpl.texi: Fix double-spacing after "MA" to match
8764 the one provided by the FSF.
d22b2e54 8765
616de62f
GP
87662003-04-17 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8767
8768 * doc/install.texi (Binaries): Update URL and list of platforms
8769 provided by ftp.thewrittenword.com.
8770
f2dd0c42
RH
87712003-04-17 Richard Henderson <rth@redhat.com>
8772
8773 * config/xtensa/xtensa.c (xtensa_encode_section_info): Remove.
8774 (call_insn_operand): Use SYMBOL_REF_LOCAL_P.
8775 * config/xtensa/xtensa.md (call, call_value): Likewise.
8776
50d1ff6a
RH
87772003-04-17 Richard Henderson <rth@redhat.com>
8778
8779 * config/v850/v850.c (print_operand): Use SYMBOL_REF_[ZST]DA.
8780 (print_operand_address): Likewise.
8781 (ep_memory_operand): Likewise.
8782 (special_symbolref_operand): Likewise.
8783 (v850_encode_data_area): Use SYMBOL_REF_FLAGS.
8784 (v850_encode_section_info): Call default_encode_section_info.
8785 (v850_strip_name_encoding): Remove.
8786 * config/v850/v850.h (EXTRA_CONSTRAINT): Use SYMBOL_REF_[ZST]DA.
8787 (ASM_OUTPUT_LABELREF): Remove.
8788 (ZDA_NAME_FLAG_CHAR, ZDA_NAME_P): Remove.
8789 (SDA_NAME_FLAG_CHAR, SDA_NAME_P): Remove.
8790 (TDA_NAME_FLAG_CHAR, TDA_NAME_P): Remove.
8791 (ENCODED_NAME_P): Remove.
8792 (SYMBOL_FLAG_ZDA, SYMBOL_REF_ZDA_P): New.
8793 (SYMBOL_FLAG_SDA, SYMBOL_REF_SDA_P): New.
8794 (SYMBOL_FLAG_TDA, SYMBOL_REF_TDA_P): New.
8795
e7d687bb
RH
87962003-04-17 Richard Henderson <rth@redhat.com>
8797
8798 * config/stormy16/stormy16.c (xstormy16_encode_section_info): Kill.
8799 * config/stormy16/stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use
8800 SYMBOL_REF_FUNCTION_P.
8801
72628c61
RH
88022003-04-17 Richard Henderson <rth@redhat.com>
8803
8804 * config/sparc/sparc.c (sparc_encode_section_info): Remove.
8805 (data_segment_operand): Use SYMBOL_REF_FUNCTION_P.
8806 (text_segment_operand): Likewise.
8807
675ff4c7
RH
88082003-04-17 Richard Henderson <rth@redhat.com>
8809
8810 * config/sh/sh.c (gen_datalabel_ref): Don't add SH_DATALABEL_ENCODING.
8811 (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
8812 (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
8813 (sh_encode_section_info): Remove.
8814 (sh_strip_name_encoding): Remove.
8815 * config/sh/sh.h (SH_DATALABEL_ENCODING): Remove.
8816 (DATALABEL_SYMNAME_P, STRIP_DATALABEL_ENCODING): Remove.
8817 (SH_TLS_ENCODING, TLS_SYMNAME_P, STRIP_TLS_ENCODING): Remove.
8818 (ASM_OUTPUT_LABELREF): Remove.
8819 (ASM_OUTPUT_SYMBOL_REF): Use SYMBOL_REF_FUNCTION_P.
8820 * config/sh/sh.md (*): Use SYMBOL_REF_LOCAL_P.
8821
114278e7
RH
88222003-04-17 Richard Henderson <rth@redhat.com>
8823
8824 * config/s390/s390.c (SYMBOL_FLAG_ALIGN1): New.
8825 (tls_model_chars): Remove.
8826 (larl_operand): Use SYMBOL_REF_FLAGS.
8827 (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
c6a2438a 8828 (legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
114278e7
RH
8829 (s390_output_mi_thunk): Likewise.
8830 (s390_emit_prologue): Set SYMBOL_FLAG_LOCAL as needed.
8831 (s390_function_profiler): Likewise.
8832 (s390_encode_section_info): Use default_encode_section_info
8833 and SYMBOL_FLAG_ALIGN1.
8834 (s390_strip_name_encoding): Remove.
8835 * config/s390/s390.h (ASM_OUTPUT_LABELREF): Remove.
8836 * config/s390/s390.md (call, call_value): Use SYMBOL_REF_LOCAL_P.
8837 (builtin_setjmp_receiver): Set SYMBOL_FLAG_LOCAL as needed.
8838
e95ef187
RH
88392003-04-17 Richard Henderson <rth@redhat.com>
8840
8841 * config/ns32k/ns32k.c (ns32k_encode_section_info): Remove.
8842 (global_symbolic_reference_mentioned_p): Use SYMBOL_REF_LOCAL_P.
8843 (print_operand_address): Likewise.
8844
8845 * config/ns32k/ns32k.h (CANNOT_CHANGE_MODE_CLASS): Add CLASS argument.
8846 * config/ns32k/ns32k.c (expand_block_move): Don't check
8847 flag_unroll_loops.
8848
6cd4a764
RH
88492003-04-17 Richard Henderson <rth@redhat.com>
8850
8851 * config/mcore/mcore.c (mcore_encode_section_info): Don't set
8852 SYMBOL_REF_FLAG.
8853
89e6b702
RH
88542003-04-17 Richard Henderson <rth@redhat.com>
8855
8856 * rtl.h (SYMBOL_FLAG_MACH_DEP_SHIFT): New.
8857
8858 * config/m32r/m32r.c (SYMBOL_FLAG_MODEL_SHIFT): New.
8859 (SYMBOL_REF_MODEL): New.
8860 (LIT_NAME_P): Move from m32r.h.
8861 (m32r_select_section): Remove.
8862 (m32r_encode_section_info): Use SYMBOL_REF_FLAGS.
8863 (m32r_strip_name_encoding): Remove.
8864 (m32r_in_small_data_p): New.
8865 (small_data_operand): Use SYMBOL_REF_SMALL_P.
8866 (addr24_operand): Use SYMBOL_REF_MODEL.
8867 (call26_operand): Likewise.
8868 (addr32_operand): Tidy.
8869 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
8870 * config/m32r/m32r.h (RODATA_SECTION_ASM_OP): Remove.
8871 (SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Remove.
8872 (READONLY_DATA_SECTION_ASM_OP): Remove.
8873 (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove.
8874 (SDATA_SECTION_FUNCTION, SBSS_SECTION_FUNCTION): Remove.
8875 (TARGET_ASM_SELECT_SECTION): Remove.
8876 (SDATA_FLAG_CHAR, MEDIUM_FLAG_CHAR, LARGE_FLAG_CHAR): Remove.
8877 (SDATA_NAME_P, SMALL_NAME_P, MEDIUM_NAME_P): Remove.
8878 (LARGE_NAME_P, ENCODED_NAME_P): Remove.
8879 (ASM_OUTPUT_LABELREF): Remove.
8880
ec94fc00
RH
88812003-04-17 Richard Henderson <rth@redhat.com>
8882
8883 * config/ip2k/ip2k.c (is_regfile_address): Use SYMBOL_REF_FUNCTION_P.
8884 (encode_section_info): Remove.
8885 * config/ip2k/ip2k-protos.h: Update.
8886
1b8135a4
RH
88872003-04-17 Richard Henderson <rth@redhat.com>
8888
c6a2438a 8889 * varasm.c (default_encode_section_info): Don't set
1b8135a4
RH
8890 SYMBOL_FLAG_EXTERNAL if not TREE_PUBLIC.
8891 * config/i370/i370.c (i370_encode_section_info): Remove.
8892 * config/i370/i370.h (CONSTANT_ADDRESS_P): Use SYMBOL_REF_EXTERNAL_P.
8893 (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): Likewise.
8894 * config/i370/i370.md (movsi): Likewise.
8895
8896 * config/i370/t-i370: Add missing backslash.
8897
6d7fe8b3
EB
88982003-04-17 Eric Botcazou <ebotcazou@libertysurf.fr>
8899
8900 * doc/invoke.texi (inline-limit): Fix pasto.
8901
dc66a1c4
RH
89022003-04-17 Richard Henderson <rth@redhat.com>
8903
8904 * config/h8300/h8300.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): New.
8905 (small_call_insn_operand): Use it.
8906 (SYMBOL_FLAG_EIGHTBIT_DATA): New.
8907 (h8300_eightbit_constant_address_p): Use it.
8908 (SYMBOL_FLAG_TINY_DATA): New.
8909 (h8300_tiny_constant_address_p): Use it.
8910 (h8300_encode_label, h8300_strip_name_encoding): Remove.
8911 (h8300_encode_section_info): Set SYMBOL_REF_FLAGS.
8912 * config/h8300/h8300.h (TINY_DATA_NAME_P): Remove.
8913 (ASM_OUTPUT_LABELREF): Remove.
8914
90a63880
RH
89152003-04-16 Richard Henderson <rth@redhat.com>
8916
0f6e5d45
RH
8917 * config/frv/frv.c (symbol_ref_small_data_p): Remove. Replace
8918 all users with SYMBOL_REF_SMALL_P.
8919 (const_small_data_p): Use SYMBOL_REF_SMALL_P.
8920 (frv_encode_section_info): Remove.
8921 (frv_strip_name_encoding): Remove.
8922 (frv_in_small_data_p): Merge tests from encode_section_info.
8923 (frv_print_operand): Use '@' not SDATA_FLAG_CHAR.
8924 * config/frv/frv.h (SDATA_FLAG_CHAR): Remove.
8925 (SDATA_NAME_P): Remove.
8926 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use SIZE not SDATA_NAME_P.
8927 (ASM_OUTPUT_LABELREF): Remove.
8928 (PRINT_OPERAND_PUNCT_VALID_P): Use '@' not SDATA_FLAG_CHAR.
8929
90a63880
RH
8930 * config/frv/frv.c (frv_asm_out_constructor): New.
8931 (frv_asm_out_destructor): New.
8932 * config/frv/frv.h (CTORS_SECTION_ASM_OP): New.
8933 (DTORS_SECTION_ASM_OP): New.
8934 (ASM_OUTPUT_CONSTRUCTOR): Remove.
8935 (ASM_OUTPUT_DESTRUCTOR): Remove.
8936
5c93e01b
RH
89372003-04-16 Richard Henderson <rth@redhat.com>
8938
8939 * config/cris/cris.c (cris_gotless_symbol, cris_got_symbol): Use
8940 SYMBOL_REF_LOCAL_P; abort if not pic.
8941 (cris_encode_section_info): Remove.
8942
11467df2
RH
89432003-04-16 Richard Henderson <rth@redhat.com>
8944
8945 * config/c4x/c4x.c (c4x_encode_section_info): Remove.
8946 (c4x_T_constraint): Use SYMBOL_REF_FUNCTION_P.
8947
8948 * config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Declare
8949 flag_inline_trees.
8950
74b66b3c
RH
89512003-04-16 Richard Henderson <rth@redhat.com>
8952
8953 * config/avr/avr.c (avr_encode_section_info): Remove.
8954 (avr_insert_attributes): New.
8955 (print_operand_address): Use SYMBOL_REF_FUNCTION_P.
8956 (avr_assemble_integer): Likewise.
8957
8cbd5ce0
RH
89582003-04-16 Richard Henderson <rth@redhat.com>
8959
8960 * arc.c (arc_encode_section_info): Remove.
c6a2438a 8961 (arc_assemble_integer): Use SYMBOL_REF_FUNCTION_P.
8cbd5ce0
RH
8962 (arc_print_operand, arc_print_operand_address): Likewise.
8963 * arc.h (EXTRA_CONSTRAINT): Likewise.
8964
96c6931d
RS
89652003-04-16 Roger Sayle <roger@eyesopen.com>
8966
8967 * c-semantics.c (find_reachable_label): New function to find a
8968 potentially reachable label in an expression.
8969 (expand_unreachable_if_stmt): Similar to expand_if_stmt but
8970 assumes the start of the IF_STMT is unreachable (dead) code.
8971 (expand_unreachable_stmt): Similar to expand_stmt but assumes
8972 the start of the statement list is unreachable (dead) code.
8973 (genrtl_if_stmt): If the controlling expression of the IF
8974 is constant, use expand_unreachable_stmt for the THEN or ELSE
8975 clause as appropriate.
8976 (genrtl_switch_stmt): Use expand_unreachable_stmt to expand
8977 the body of a SWITCH statement.
8978 (expand_stmt): The code immediately following a "return",
8979 "break", "continue" or "goto" is unreachable.
8980 * Makefile.in (c-semantics.o): Depend upon tree-inline.h.
8981
3568b0ef
RH
89822003-04-16 Richard Henderson <rth@redhat.com>
8983
8984 * rtl.h (MEM_ALIAS_SET): Update documentation.
8985 * doc/rtl.texi (Special Accessors): New node.
8986 (SYMBOL_REF_FLAG): Note relationship with SYMBOL_REF_FLAGS.
8987
60fa6660
AO
89882003-04-16 Alexandre Oliva <aoliva@redhat.com>
8989
8990 * reload1.c (reload_cse_noop_set_p): Return false if mode of
8991 SET_DEST is not the same as that returned by...
8992 * cselib.h (cselib_reg_set_mode): ... new function.
8993 * cselib.c (cselib_reg_set_mode): Define it.
8994 (REG_VALUES): Document semantics of first element as set mode.
8995 (cselib_subst_to_values): Skip first element if ELT is NULL.
8996 (cselib_lookup): Likewise. Insert past the first element.
8997 (cselib_invalidate_regno): NULLify first element.
8998 (cselib_record_set): Set first element.
8999
15b19a7d
OH
90002003-04-16 Olivier Hainque <hainque@act-europe.fr>
9001
c6a2438a
ZW
9002 * tree.c (skip_simple_arithmetics_at, saved_expr_p): New functions.
9003 (save_expr): Replace loop by call to skip_simple_arithmetics_at.
9004 * tree.h: Add prototypes for the two new functions.
9005 * fold-const.c (fold_binary_op_with_conditional_arg): Replace test
9006 updates introduced in the previous revision by call to saved_expr_p.
9007 * stor-layout.c (put_pending_size): Use skip_simple_arithmetics_at.
a9ecacf6 9008
c6a2438a
ZW
9009 * expr.c (store_field): Force usage of bitfield instructions when
9010 the field position requires it, whatever SLOW_UNALIGNED_ACCESS.
9011 (expand_expr, case BIT_FIELD_REF): likewise.
15b19a7d 9012
f2d80e7e
MM
90132003-04-16 Mark Mitchell <mark@codesourcery.com>
9014
9015 PR middle-end/8866
9016 * cfgtrl.c (try_redirect_by_replacing_jump): Do not delete
9017 jumptables.
9018
1cdbd630
RH
90192003-04-16 Richard Henderson <rth@redhat.com>
9020
9021 * config/ia64/ia64.c (sdata_symbolic_operand): Use
9022 SYMBOL_REF_SMALL_P and SYMBOL_REF_LOCAL_P.
9023 (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
9024 (function_operand): Use SYMBOL_REF_FUNCTION_P.
9025 (ia64_expand_load_address): Likewise.
9026 (ia64_assemble_integer): Likewise.
9027 (ia64_encode_section_info): Remove.
9028 (ia64_strip_name_encoding): Remove.
9029 * config/ia64/ia64.h (ENCODE_SECTION_INFO_CHAR): Remove.
9030 * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't strip it.
9031
d055668e
RH
90322003-04-16 Richard Henderson <rth@redhat.com>
9033
9034 * config/alpha/alpha.c (SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP): New.
9035 (samegp_function_operand): Use SYMBOL_FLAG_SAMEGP.
9036 (direct_call_operand): Use SYMBOL_FLAG_NEAR.
9037 (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
9038 (small_symbolic_operand): Use SYMBOL_REF_SMALL_P.
9039 (global_symbolic_operand): Similarly.
9040 (tls_symbolic_operand_1): Use SYMBOL_REF_TLS_MODEL.
9041 (tls_symbolic_operand_type): Likewise.
9042 (alpha_encode_section_info): Use default_encode_section_info.
9043 (alpha_strip_name_encoding): Remove.
9044 (get_tls_get_addr): Split out from ...
9045 (alpha_legitimize_address): ... here.
9046 (alpha_emit_xfloating_libcall): Use init_one_libfunc.
9047 (get_some_local_dynamic_name_1): Use SYMBOL_REF_TLS_MODEL.
9048 (alpha_initialize_trampoline): Use init_one_libfunc.
9049 (alpha_setup_incoming_varargs): Mark unused parameters.
9050 (alpha_initial_elimination_offset): Likewise.
9051 (alpha_end_function): Use SYMBOL_FLAG_NEAR, SYMBOL_FLAG_SAMEGP.
9052 (unicosmk_unique_section): Use default_strip_name_encoding.
9053 (unicosmk_ssib_name, unicosmk_output_externs): Likewise.
9054
ffd25996
AH
90552003-04-16 Aldy Hernandez <aldyh@redhat.com>
9056
c6a2438a 9057 * config.gcc: Add t-spe for eabispe.
ffd25996 9058
c6a2438a 9059 * config/rs6000/t-spe: New.
ffd25996 9060
7f0ea82e
R
90612003-04-16 J"orn Rennecke <joern.rennecke@superh.com>
9062
9063 Re-apply this patch:
9064
9065 2002-05-16 Dale Johannesen <dalej@apple.com>
9066 * combine.c (cant_combine_insn_p): Reenable combinations
9067 involving hard regs unless CLASS_LIKELY_SPILLED_P.
9068
c328adfa
JDA
90692003-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9070
9071 PR/10271
9072 * pa-protos.h (function_arg): Remove last argument.
9073 * pa.c (function_arg): Likewise. Use CUMULATIVE_ARGS struct instead.
c6a2438a 9074 * pa.h (struct hppa_args): Add member incoming.
c328adfa
JDA
9075 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Initialize
9076 member incoming.
9077 (FUNCTION_ARG): Revise call to function_arg.
9078 (FUNCTION_INCOMING_ARG): Delete.
9079
f9c1196a
ZW
90802003-04-15 Zack Weinberg <zack@codesourcery.com>
9081
9082 * configure.in: Unify the code which creates symlinks to a
9083 just-built as, ld, objdump, and nm with the code that detects
9084 their presence for purposes of feature tests.
9085 * configure: Regenerate.
9086
0b78a9b6
ZW
90872003-04-15 Zack Weinberg <zack@codesourcery.com>
9088
9089 * varasm.c (output_constant_def): Do not consult
9090 CONSTANT_AFTER_FUNCTION_P. Remove all code predicated on it.
9091 (after_function_constants, output_after_function_constants): Delete.
9092 * doc/tm.texi: Delete documentation of CONSTANT_AFTER_FUNCTION_P.
9093 * config/mips/mips-protos.h, config/mips/mips.c
9094 (mips16_constant_after_function_p): Delete.
9095 * config/mips/mips.h: Delete #if-0-ed definition of
9096 CONSTANT_AFTER_FUNCTION_P.
9097 * config/d30v/d30v.h, config/stormy16/stormy16.h: Remove
9098 mention of CONSTANT_AFTER_FUNCTION_P in comment.
9099
03907fbd
GK
91002003-04-15 Geoffrey Keating <geoffk@apple.com>
9101
9102 * tree.c (next_decl_uid): Mark with GTY.
9103 (next_type_uid): Likewise.
9104
9959c8c7
R
91052003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
9106
9107 PR target/9594:
9108 * sh.c (barrier_align): Also recognize stuff_delay_slot as
9109 an indicator that a barrier was created by branch splitting.
9110
c8b718ba
MM
91112003-04-15 Mark Mitchell <mark@codesourcery.com>
9112
9113 * c-decl.c (implicitly_declare): Copy declarations that are going
9114 to be placed in a local scope.
9115
f5034c5e
JM
91162003-04-15 James A. Morrison <ja2morri@uwaterloo.ca>
9117
9118 * invoke.texi (Spec Files): Wrap if-exists-else example.
9119 (MCore): Remove duplicate @itemx entries and @opindex entries.
9120
7344f3d7
UW
91212003-04-15 Ulrich Weigand <uweigand@de.ibm.com>
9122
9123 * unwind.inc (_Unwind_Backtrace): New function.
9124 * unwind.h (_Unwind_Backtrace): Declare it.
9125 * libgcc-std.ver (_Unwind_Backtrace): Export it.
9126
9547e8fd
JM
91272003-04-14 Jason Merrill <jason@redhat.com>
9128
9129 PR middle-end/10336, c++/10401
0b78a9b6 9130 * jump.c (never_reached_warning): Also stop looking if we reach the
9547e8fd
JM
9131 beginning of the function.
9132
55adc7bd
KG
91332003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9134
9135 PR target/10338
9136 PR bootstrap/10198
9137 PR bootstrap/10140
9138 * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy.
9139
d2b54839
R
91402003-04-15 J"orn Rennecke <joern.rennecke@superh.com>
9141
9142 * i386.md (abssf2_if+1): Make condition agree with abssf2_1 .
9143
d0ccc658
RK
91442003-04-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9145
9146 * optabs.c (expand_binop): In multi-word add cases, ensure
9147 XTARGET is copied to TARGET if they are different.
9148
29921faf
OH
91492003-04-15 Olivier Hainque <hainque@act-europe.fr>
9150
9151 * except.c (resolve_fixup_regions): Avoid dereferencing null pointer
9152 to region, possible after integration of function with unreachable
9153 regions that were optimized away.
9154
ff3867ae
JJ
91552003-04-15 Jakub Jelinek <jakub@redhat.com>
9156
9157 * config/rs6000/rs6000.h (EPILOGUE_USES): Use register 2,
9158 instead of TOC_REGISTER in epilogue in
9159 current_function_calls_eh_return functions.
9160
f4e92987
MM
91612003-04-14 Mark Mitchell <mark@codesourcery.com>
9162
db0b376e
MM
9163 * doc/extend.texi (Empty Structures): Correct description of G++'s
9164 handling of these structures.
9165
f4e92987
MM
9166 * c-decl.c (grokdeclarator): Reject extern redeclarations of
9167 static variables.
9168
629f6514
JJ
91692003-04-14 Janis Johnson <janis287@us.ibm.com>
9170
615158e2
JJ
9171 * config/rs6000/rs6000.md (define_constants): Define constants for
9172 all UNSPEC usage, including new values for TLS support.
9173 (aux_truncdfsf2, fctiwz, movsi_got, movsi_got_internal,
9174 load_toc_aix_si, load_toc_aix_di, load_toc_v4_pic_si,
9175 load_toc_v4_PIC_1, load_toc_v4_PIC_1b, load_macho_picbase,
9176 macho_correct_pic, blockage, move_from_CR_ov_bit, movesi_from_cr,
9177 stack_tie, movsi_to_cr_one, movsi_to_cr, mtcrfsi, eh_set_lr_si,
9178 eh_set_lr_di): Use them.
9179 * rs6000.c: (mtcrf_operation, uses_TOC, rs6000_emit_prologue,
9180 rs6000_emit_epilogue) Use them.
9181
629f6514
JJ
9182 * rtl.h (SYMBOL_REF_TLS_MODEL): Fix mask value.
9183
8951a635
NB
91842003-04-14 Neil Booth <neil@daikokuya.co.uk>
9185
9186 * Makefile.in (c-opts.o): Use custom action.
9187
798a3935
DR
91882003-04-14 Douglas B Rupp <rupp@gnat.com>
9189
9190 * ifcvt.c (noce_process_if_block): Fail on BLKmode move.
9191
2443af37
RK
91922003-04-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9193
0d3c8800
RK
9194 * stor-layout.c (layout_type, case ARRAY_TYPE): Add missing code to
9195 handle "superflat arrays" in Ada.
9196
2443af37
RK
9197 * integrate.c (expand_inline_function): Don't inline if would
9198 lose /u on a BLKmode TARGET.
9199
8cb5fbbf
JB
92002003-04-14 Joel Brobecker <brobecker@gnat.com>
9201
39d658e3
JB
9202 * dbxout.c (print_int_cst_bounds_in_octal_p): New function,
9203 extracted from dbxout_type.
9204 (dbxout_range_type): print large bounds in octal format.
9205 (dbxout_type): Replace extracted code by call to
9206 print_int_cst_bounds_in_octal_p.
9207
0b78a9b6
ZW
9208 * dwarf2out.c (gen_compile_unit_die): Emit DW_LANG_Ada95 instead
9209 of DW_LANG_Ada83 for Ada units.
8cb5fbbf 9210
9ceca302
OH
92112003-04-14 Olivier Hainque <hainque@act-europe.fr>
9212
41ee3204
OH
9213 * explow.c (round_push): Use HOST_WIDE_INT instead of int for the
9214 temporary used to round CONST_INT sizes.
9215
4694840a
OH
9216 * tree.c (int_fits_type_p): Extract generic checks from the case
9217 of constant type bounds. Refine the checks against constant type
9218 bounds to allow for possible decisions against each of these bounds
9219 without requiring both bounds to be constant.
9220 (tree_int_cst_msb): Put back.
9221 * tree.h (tree_int_cst_msb): Likewise.
9222
4147232b
OH
9223 * global.c (global_conflicts): Prevent allocation of call clobbered
9224 hard regs to pseudos live across abnormal edges, as later passes are
9225 not ready to handle them.
9226
0b78a9b6
ZW
9227 * fold-const.c (fold): Reorder tests for conditional expressions.
9228
9229 * expr.c (highest_pow2_factor): Return unsigned.
9230 * expr.h (offset_address): Likewise.
9231 * emit-rtl.c (offset_address): POW2 argument now unsigned.
cbcafd35 9232
712b7a05
RS
92332003-04-14 Roger Sayle <roger@eyesopen.com>
9234
9235 * builtins.c (expand_builtin_strlen): Evaluate the lengths of
9236 string literals at compile-time.
9237
15d4fd98
RS
92382003-04-14 Roger Sayle <roger@eyesopen.com>
9239
9240 * fold-const.c (fold): Transform (c1 - x) cmp c2, where cmp is a
9241 comparison operation and c1/c2 are floating point constants into
9242 x swap(cmp) (c1 - c2).
9243
2fcb395c
VM
92442003-04-14 Vladimir Makarov <vmakarov@redhat.com>
9245
9246 * genautomata.c (output_translate_vect): Fix a typo in loop
9247 condition.
9248
747a0d9d
HPN
92492003-04-14 Hans-Peter Nilsson <hp@axis.com>
9250
9251 PR target/10377
9252 * config/cris/cris.md ("*mov_sideqi", "*mov_sidehi")
9253 ("*mov_sidesi", "*mov_sideqi_mem", "*mov_sidehi_mem")
9254 ("*mov_sidesi_mem", "*clear_sidesi", "*clear_sidehi")
9255 ("*clear_sideqi", "*ext_sideqihi", "*ext_sideqisi")
9256 ("*ext_sidehisi", "*op_sideqi", "*op_sidehi", "*op_sidesi")
9257 ("*op_swap_sideqi", "*op_swap_sidehi", "*op_swap_sidesi")
9258 ("*extopqihi_side", "*extopqisi_side", "*extophisi_side")
9259 ("*extopqihi_swap_side", "*extopqisi_swap_side")
9260 ("*extophisi_swap_side", 8th, 9th, 10th, 11th, 14th peepholes):
9261 When next to constraint R, replace constraint i with n.
9262
58e6ae30
JH
9263Mon Apr 14 16:18:37 CEST 2003 Jan Hubicka <jh@suse.cz>
9264
9265 PR opt/10024
9266 * cfgrtl.c (force_nonfallthru_and_redirect): Use unchecked_make_edge.
9267
88657a26
KL
92682003-04-14 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
9269
9270 * doc/contrib.texi (Contributors): Correct my entry.
9271
7f685e17
RS
92722003-04-13 Roger Sayle <roger@eyesopen.com>
9273
9274 * tree.h (DECL_BUILT_IN_NONANSI): Remove.
9275 * c-common.c (builtin_function_2): Don't set DECL_BUILT_IN_NONANSI.
9276 * c-decl.c (duplicate_decls): Use invariant DECL_BUILT_IN_NONANSI
9277 implies DECL_BUILT_IN to simplify logic.
9278 * print-tree.c (print_node): Don't dump DECL_BUILT_IN_NONANSI.
9279
1331d16f
RS
92802003-04-13 Roger Sayle <roger@eyesopen.com>
9281
9282 * builtin-types.def (BT_FN_STRING_CONST_STRING): New builtin type.
9283 (BT_FN_PTR_SIZE_SIZE): Likewise.
9284 * builtins.def (BUILT_IN_MALLOC, BUILT_IN_CALLOC, BUILT_IN_STRDUP):
9285 New built-in functions for malloc, calloc and strdup respectively.
9286 * calls.c (special_function_p): No need to handle malloc-like
9287 functions any longer. ECF_MALLOC is set via built-in attributes.
9288
9289 * c-decl.c (duplicate_decls): Preserve pure and malloc attributes.
9290
9291 * doc/extend.texi: Document these new built-in functions.
9292
9cb65f92
KG
92932003-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9294
9295 * builtins.c (expand_builtin_memcpy): Add `endp' argument, use it.
9296 (expand_builtin_stpcpy): New.
9297 (expand_builtin): Add BUILT_IN_MEMPCPY & BUILT_IN_STPCPY.
9298 * builtins.def: Add mempcpy & stpcpy support.
9299 * doc/extend.texi (mempcpy, stpcpy): Document new builtins.
9300
5de601cf
NC
93012003-04-13 Nick Clifton <nickc@redhat.com>
9302
9303 * config/rs6000/rs6000.c: Replace occurrences of "GNU CC" with
9304 "GCC".
9305 * config/rs6000/40x.md, config/rs6000/603.md,
9306 config/rs6000/6xx.md, config/rs6000/7450.md, config/rs6000/7xx.md,
9307 config/rs6000/8540.md, config/rs6000/aix.h, config/rs6000/aix31.h,
9308 config/rs6000/aix3newas.h, config/rs6000/aix41.h,
9309 config/rs6000/aix43.h, config/rs6000/aix51.h,
9310 config/rs6000/aix52.h, config/rs6000/altivec-defs.h,
9311 config/rs6000/altivec.h, config/rs6000/altivec.md,
9312 config/rs6000/beos.h, config/rs6000/darwin.h,
9313 config/rs6000/eabi.h, config/rs6000/eabialtivec.h,
9314 config/rs6000/eabisim.h, config/rs6000/eabispe.h,
9315 config/rs6000/freebsd.h, config/rs6000/gnu.h,
9316 config/rs6000/host-darwin.c, config/rs6000/linux.h,
9317 config/rs6000/linux64.h, config/rs6000/linuxaltivec.h,
9318 config/rs6000/lynx.h, config/rs6000/mach.h, config/rs6000/mpc.md,
9319 config/rs6000/netbsd.h, config/rs6000/power4.md,
9320 config/rs6000/rios1.md, config/rs6000/rios2.md,
9321 config/rs6000/rs6000-c.c, config/rs6000/rs6000-modes.def,
9322 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
9323 config/rs6000/rs6000.h, config/rs6000/rs6000.md,
9324 config/rs6000/rs64.md, config/rs6000/rtems.h, config/rs6000/spe.h,
9325 config/rs6000/spe.md, config/rs6000/sysv4.h,
9326 config/rs6000/sysv4le.h, config/rs6000/vxworks.h,
0b78a9b6 9327 config/rs6000/windiss.h, config/rs6000/xcoff.h: Likewise.
5de601cf 9328
50d440bc
NC
93292003-04-13 Nick Clifton <nickc@redhat.com>
9330
9331 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete
9332 support for -mcall-aix switch.
9333 * config/rs6000/eabiaix.h: Delete.
9334 * config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC.
9335 (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG,
9336 RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC.
9337 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise.
9338 * config/rs6000/rs6000.c (print_operand, rs6000_stack_info,
9339 debug_stack_info, output_function_profiler,
9340 rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise.
9341 * config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv,
9342 call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv,
9343 call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv,
9344 sibcall_nonlocal_sysv, sibcall_value_local64): Likewise.
9345 * config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix
9346 multilibs.
9347 (MULTILIB_DIRNAMES): Remove mcall-aix directories.
9348 (MULTILIB_EXCEPTIONS): Delete.
9349 (MULTILIB_MATCHES): Remove mcall-aix matches.
9350
9351 * doc/fragments.texi: Replace -mcall-aix example with an ARM
9352 one.
9353 * doc/install.texi: Delete powerpc-*-eabiaix target.
9354 * doc/invoke.texi: Remove documentation of mcall-aix switch.
9355 * doc/tm.texi: Remove mcall-aix from example CPP_SPEC.
9356 * config.gcc: Delete powerpc-*-eabiaix target.
9357
62b9c42c
KH
93582003-04-13 Kazu Hirata <kazu@cs.umass.edu>
9359
9360 * doc/invoke.texi: Fix typos.
9361 * doc/tm.texi: Likewise.
9362
6d0c8bb1
ZW
93632003-04-12 Zack Weinberg <zack@codesourcery.com>
9364
9365 * c-typeck.c (digest_init, push_init_level): Use CONSTRUCTOR_ELTS.
9366
dcf92453
ZW
93672003-04-12 Zack Weinberg <zack@codesourcery.com>
9368
9369 * tree.c (build_constructor): New function.
9370 * tree.h: Prototype it.
9371
9372 * c-typeck.c (build_c_cast, pop_init_level)
9373 * profile.c (build_function_info_value, build_gcov_info_value)
9374 (create_profiler):
9375 Use build_constructor.
9376
9377 * builtins.c (expand_builtin_args_info): Remove #if 0 blocks.
9378
9379 * objc/objc-act.c (build_constructor):
9380 Rename objc_build_constructor. Use build_constructor.
9381 (build_objc_string_object, objc_add_static_instance)
9382 (init_def_list, init_objc_symtab, init_module_descriptor)
9383 (generate_static_references, build_selector_translation_table)
9384 (build_descriptor_table_initializer, generate_descriptor_table)
9385 (build_protocol_initializer, build_ivar_list_initializer)
9386 (generate_ivars_list, build_dispatch_table_initializer)
9387 (generate_dispatch_table, generate_protocol_list)
9388 (build_category_initializer, build_shared_structure_initializer):
9389 Update to match.
9390
c85b28e8
ZW
93912003-04-12 Zack Weinberg <zack@codesourcery.com>
9392
9393 * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
9394
cebcfdc8
SC
93952003-04-12 Stephane Carrez <stcarrez@nerim.fr>
9396
dcf92453 9397 * config/m68hc11/m68hc11-protos.h
cebcfdc8
SC
9398 (m68hc11_eq_compare_operator): Declare
9399 * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register new predicate.
9400 * config/m68hc11/m68hc11.c (m68hc11_eq_compare_operator): New predicate
9401 (d_register_operand): Check the operand mode.
9402 (hard_addr_reg_operand): Likewise.
9403
0ae32ec0
SC
94042003-04-12 Stephane Carrez <stcarrez@nerim.fr>
9405
9406 * config/m68hc11/m68hc11.md ("decrement_and_branch_until_zero"): New
9407 pattern for dbcc/ibcc generation for 68HC12.
9408 ("doloop_end"): New pattern.
9409 ("m68hc12_dbcc_dec_hi"): New pattern for dbeq/dbne.
9410 ("m68hc12_dbcc_inc_hi"): New pattern for ibeq/ibne.
9411 ("m68hc12_dbcc_dec_qi"): New pattern.
9412 ("m68hc12_dbcc_inc_qi"): New pattern.
9413 (split): Add split for the above when we can't use dbcc/ibcc due to
9414 reloading.
9415 (peephole2): Add peephole2 to generate the above when possible.
9416
a67bac5f
SC
94172003-04-12 Stephane Carrez <stcarrez@nerim.fr>
9418
9419 * config/m68hc11/m68hc11.md ("bitcmpqi" split): No need to test the
9420 mode of operand 0.
9421 (peephole2 optimize const load): Likewise for operand 2.
9422 ("*rotlhi3_with_carry"): Change pattern to a const 1 rotate which
9423 clobbers CC_REGNUM.
9424 ("*rotrhi3_with_carry"): Likewise.
9425 (ashift:DI 1 split): Update pattern to create the above rotate.
9426 (lshiftrt:DI 1 split): Likewise.
9427
09214424
SC
94282003-04-12 Stephane Carrez <stcarrez@nerim.fr>
9429
9430 * config/m68hc11/m68hc11.md (SOFT_Z_REGNUM): New constant.
9431 ("tstqi_z_used" split): Use it.
9432 ("cmphi_z_used"): Likewise.
9433 ("bitcmpqi_z_used"): Likewise; also use SP_REGNUM constant.
9434 ("cmpqi_z_used"): Likewise.
9435
355b81d5
MM
94362003-04-12 Mark Mitchell <mark@codesourcery.com>
9437
9438 PR c++/7910
9439 * config/i386/winnt.c (i386_pe_mark_dllimport): Fix thinko.
9440
2bd02043
ZW
94412003-04-12 Zack Weinberg <zack@codesourcery.com>
9442
9443 * configure.in: Check for wchar.h, mbstowcs, and wcswidth.
9444 * configure, config.in: Regenerate.
9445 * intl.c (gcc_gettext_width): New function.
9446 * intl.h: Prototype it.
9447
96cd9069
SC
94482003-04-12 Stephane Carrez <stcarrez@nerim.fr>
9449
9450 * config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
9451 recognize -mnorelax.
9452 (reg_class): Add Z_OR_S_REGS to represent soft registers with Z
9453 (REG_CLASS_NAMES): Add its name.
9454 (REG_CLASS_CONTENTS): Define its content.
9455
c364c3a6
SC
94562003-04-12 Stephane Carrez <stcarrez@nerim.fr>
9457
9458 * config/m68hc11/larith.asm (memcpy): Use ARG macro to access stack
9459 parameters so that offsets are valid for far definition.
9460 (__mulsi3): Likewise and use ret to return.
9461 (___adddi3, ___subdi3, ___notdi2, ): Don't use it to save the result.
9462
09501938
DE
94632003-04-12 David Edelsohn <edelsohn@gnu.org>
9464
9465 * config/rs6000/rs6000.c (rs6000_hash_constant): Skip '0' fields.
9466
ff3d4e83
AO
94672003-04-12 Alexandre Oliva <aoliva@redhat.com>
9468
17a15c67
AO
9469 * mklibgcc.in (libgcc-stage-start): For every multilib directory
9470 containing a libgcc.a, move lib* to the corresponding stage dir.
9471
ff3d4e83
AO
9472 * Makefile.in (stage1-start, stage2-start, stage3-start,
9473 stage4-start): Move $(SPECS) to specs in stage dir.
9474 (unstage1 unstage2 unstage3 unstage4): Move specs in stage dir
9475 back as $(SPECS).
9476
9e6ccb98
AO
9477 * mklibgcc.in (libgcc-stage-start): Move into the stage directory
9478 object files from the non-libgcc/ multilib directories as well.
9479
ba05abd3
GK
94802003-04-11 Geoffrey Keating <geoffk@apple.com>
9481
0aaafe73
GK
9482 * profile.c (read_counts_file): Initialise 'checksum'.
9483
d5b9108c
GK
9484 * emit-rtl.c (gen_rtx): Really correct typo.
9485
a37db56b
GK
9486 PR c++/9393
9487 * doc/invoke.texi (Debugging Options): Document -frandom-seed.
9488 * configure.in: Check for gettimeofday.
9489 * tree.c (flag_random_seed): Define.
9490 (default_flag_random_seed): New.
9491 (append_random_chars): Use flag_random_seed rather than trying
9492 to acquire randomness here.
9493 * tree.h (default_flag_random_seed): Declare.
9494 * toplev.c (display_help): Add -frandom-seed and -fstack-limit-*
9495 descriptions.
9496 (decode_f_option): Handle -frandom-seed.
9497 (print_switch_values): Call default_flag_random_seed.
9498 * flags.h (flag_random_seed): Declare.
9499 * configure: Regenerate.
9500 * config.in: Regenerate.
9501 * config/alpha/t-crtfm: Use -frandom-seed.
2bd02043 9502
ba05abd3
GK
9503 * doc/extend.texi (Empty Structures): New.
9504
df026186
GK
9505 * c-pch.c: Include flags.h. Add comments to routines.
9506 (struct c_pch_validity): New.
9507 (get_ident): Update PCH file version number.
9508 (pch_init): Output current debugging type.
9509 (c_common_valid_pch): Check debugging type.
9510 * Makefile.in (c-pch.o): Update dependencies.
9511 * flags.h (debug_type_names): Declare.
9512 * toplev.c (debug_type_names): Move out of decode_g_option.
9513
15c812e3
EC
95142003-04-11 Eric Christopher <echristo@redhat.com>
9515
9516 * emit-rtl.c (gen_rtx): Fix typos.
9517
a73071bc
RH
95182003-04-11 Richard Henderson <rth@redhat.com>
9519
9520 * emit-rtl.c (gen_rtx): Zero '0' fields.
9521
ca06cfe6
RH
95222003-04-11 Richard Henderson <rth@redhat.com>
9523
9524 PR c++/10202
9525 * expr.c (expand_expr): Use COMPLETE_OR_UNBOUND_ARRAY_TYPE_P
9526 not COMPLETE_TYPE_P for re-invoking layout_decl.
9527
d2d42a91
SL
95282003-04-11 Simon Law <sfllaw@engmail.uwaterloo.ca>
9529
9530 * doc/bugreport.texi: Fix paragraph breaking between sections
9531 in preparation for TeXinfo's paragraph indentation fixes.
9532 * doc/extend.texi: Ditto.
9533 * doc/invoke.texi: Ditto.
9534 * doc/objc.texi: Ditto.
9535 * doc/gcov.texi: Wrap 'gcov' in @command{}.
9536 * doc/invoke.texi (Darwin Options): Add a preamble.
9537
2ae5ae57
RH
95382003-04-11 Richard Henderson <rth@redhat.com>
9539
9540 * config/i386/i386.c (tls_model_chars): Remove.
9541 (ix86_encode_section_info, ix86_strip_name_encoding): Remove.
9542 (local_symbolic_operand): Use SYMBOL_REF_LOCAL_P.
9543 (tls_symbolic_operand): Use SYMBOL_REF_TLS_MODEL.
9544 (tls_symbolic_operand_1): Likewise.
9545 (legitimate_pic_address_disp_p): Use SYMBOL_REF_LOCAL_P.
9546 * config/i386/i386.h (TARGET_ENCODE_SECTION_INFO): Remove.
9547 (TARGET_STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Remove.
9548 * config/i386/winnt.c (i386_pe_encode_section_info): Replace
9549 bits "copied from i386.h" with default_encode_section_info.
9550
52859c77
RH
95512003-04-11 Richard Henderson <rth@redhat.com>
9552
9553 * rtl.def (SYMBOL_REF): Add two 0 fields.
9554 * gengtype.c (adjust_field_rtx_def): Handle them.
9555 * print-rtl.c (print_rtx): Print them.
9556 * rtl.h (SYMBOL_REF_DECL, SYMBOL_REF_FLAGS): New.
9557 (SYMBOL_FLAG_FUNCTION, SYMBOL_REF_FUNCTION_P): New.
9558 (SYMBOL_FLAG_LOCAL, SYMBOL_REF_LOCAL_P): New.
9559 (SYMBOL_FLAG_SMALL, SYMBOL_REF_SMALL_P): New.
9560 (SYMBOL_FLAG_TLS_SHIFT, SYMBOL_REF_TLS_MODEL): New.
9561 (SYMBOL_FLAG_EXTERNAL, SYMBOL_REF_EXTERNAL_P): New.
9562 (SYMBOL_FLAG_MACH_DEP): New.
9563 * optabs.c (init_one_libfunc): Zap fake SYMBOL_REF_DECL.
9564 * varasm.c (make_decl_rtl): Set SYMBOL_REF_DECL.
9565 (assemble_static_space): Set SYMBOL_REF_FLAGS.
9566 (assemble_trampoline_template): Likewise.
9567 (output_constant_def, force_const_mem): Likewise.
9568 (default_encode_section_info): New.
9569 * output.h: Declare it.
9570 * target-def.h (TARGET_ENCODE_SECTION_INFO): Use it.
9571
68d28100
RH
95722003-04-11 Richard Henderson <rth@redhat.com>
9573
9574 * libfuncs.h (LTI_setbits, LTI_gcov_flush, LTI_gcov_init): New.
9575 (setbits_libfunc, gcov_flush_libfunc, gcov_init_libfunc): New.
9576 * optabs.c (init_optabs): Initialize them.
9577 (init_libfuncs): Use init_one_libfunc.
9578 * calls.c (expand_call): Use gcov_flush_libfunc.
9579 * expr.c (store_constructor): Use setbits_libfunc.
9580 * function.c (expand_main_function): Use init_one_libfunc.
9581 * profile.c (create_profiler): Use gcov_init_libfunc and DECL_RTL.
9582
11fe27a5
MM
95832003-04-11 Mark Mitchell <mark@codesourcery.com>
9584
9585 * doc/c-tree.texi (Functions): Remove DECL_REAL_CONTEXT
9586 documentation; add DECL_FRIEND_CONTEXT.
9587
f401d0f5
JDA
95882003-04-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
9589
9590 * doc/install.texi (hppa): Update links for HP-UX patches. Revise
9591 notes on linker selection and configuration for 64-bit HP-UX port.
9592 * doc/invoke.texi (hppa): Remove hppa text from description for
9593 -ffunction-sections and -fdata-sections. Document -static, -nolibdld
9594 and -threads options.
9595
9596 * pa-hpux10.h (LIB_SPEC): Add link options to resolve dependency of
9597 libc.a on libdld.sl when -static is specified and -nolibdld is not
9598 specified.
9599 * pa64-hpux.h (LIB_SPEC): Likewise.
9600 * pa-hpux11.h (LIB_SPEC): Likewise.
9601 (LINK_SPEC): Add __gcc_plt_call as an undefined symbol when -shared
9602 is not specified.
9603
43451169
ZW
96042003-04-11 Zack Weinberg <zack@codesourcery.com>
9605
9606 * config/darwin-c.c (darwin_pragma_unused): Use lookup_name,
9607 not IDENTIFIER_LOCAL_VALUE.
9608
a46666a9
RH
96092003-04-11 Richard Henderson <rth@redhat.com>
9610
9611 PR c/10201
9612 * expr.c (expand_expr): Move DECL_RTL frobbing ...
9613 * stor-layout.c (layout_decl): ... here.
9614
6d2f9dd3
JM
96152003-04-11 James A. Morrison <ja2morri@uwaterloo.ca>
9616
9617 * doc/invoke.texi: Eliminate extra white-space caused by
9618 @gccoptlist{ on its own line.
9619 * doc/invoke.texi: Ensured there are two spaces between each option.
9620 * doc/invoke.texi: Re-wrapped option lines that were too wide.
9621 Added @gol to options that didn't have them.
9622
94de45d9
NS
96232003-04-11 Nathan Sidwell <nathan@codesourcery.com>
9624
9625 * Makefile.in (loop-init.o): Do not depend on gcov-io.h,
9626 gcov-iov.h.
9627
9628 Simplify interface to gcov reading and writing.
9629 * gcov-io.h (gcov_file, gcov_position, gcov_length, gcov_buffer,
9630 gcov_alloc, gcov_modified, gcov_errored): Move into ...
9631 (struct gcov_var gcov_var): ... this static structure.
9632 (gcov_write_unsigned, gcov_write_counter, gcov_write_string):
9633 Return void.
9634 (gcov_read_unsigned, gcov_read_couter, gcov_read_string): Return
9635 read object.
9636 (gcov_read_bytes, gcov_write_bytes): Set error flag on error.
9637 (gcov_reserve_length): Remove.
9638 (gcov_write_tag): New.
9639 (gcov_write_length): Adjust.
9640 (gcov_read_summary, gcov_write_summary): Adjust.
9641 (gcov_eof, gcov_ok): Rename to ...
9642 (gcov_is_eof, gcov_is_error): ... here. Return error code.
9643 (gcov_save_position, gcov_resync): Rename to ...
9644 (gcov_position, gcov_seek): ... here.
9645 (gcov_skip, gcov_skip_string): Remove.
9646 (gcov_error): Remove.
9647 (gcov_open, gcov_close): Adjust.
9648 * gcov.c (find_source): Take const char *, copy it on allocation.
9649 (read_graph_file): Adjust.
9650 (read_count_file): Adjust.
9651 * libgcov.c (gcov_exit): Adjust.
9652 * gcov-dump.c (tag_function, tag_blocks, tag_arcs, tag_lines,
9653 tag_arc_counts, tag_summary): Return void. Adjust.
9654 (struct tag_format): Adjust proc member.
9655 (dump_file): Adjust gcov calls.
9656
7a615b25
AO
96572003-04-11 Alexandre Oliva <aoliva@redhat.com>
9658
9659 * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to
9660 mkfixinc.sh.
9661 * fixinc/mkfixinc.sh (defs): Add LIBERTY.
9662 * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on
9663 build != host sysrooted builds.
9664 * configure.in (SYSTEM_HEADER_DIR): Make sure it contains
9665 TARGET_SYSTEM_ROOT even on sysrooted natives.
9666 * configure: Rebuilt.
9667
339a28b9
ZW
96682003-04-10 Zack Weinberg <zack@codesourcery.com>
9669
9670 * c-decl.c (struct binding_level): Add shadowed_tags and
9671 function_body; remove this_block, tag_transparent, and
9672 subblocks_tag_transparent; update comments.
9673 (clear_binding_level, lookup_tag_reverse): Kill.
9674 (make_binding_level): Use ggc_alloc_cleared or memset.
9675 (lookup_tag): Remove struct binding_level* parameter. All
9676 callers changed. Just look at IDENTIFIER_TAG_VALUE, and
9677 current_binding_level->tags if asked for thislevel_only or if
9678 we might have to diagnose "struct foo; union foo;"
9679 (pushlevel): Ignore argument. Do not push another binding
9680 level on the transition from the parameters to the top level
9681 of the function body; just tweak the flags and proceed.
9682 (poplevel): Overhaul. Clear IDENTIFIER_TAG_VALUEs; on exiting
9683 a function body, separate the parameter list from the
9684 top-level local variables.
9685 (set_block): Do nothing.
9686 (pushtag): Set IDENTIFIER_TAG_VALUE and add an entry to
9687 shadowed_tags if necessary.
9688 (warn_if_shadowing): Nuke the special case for local shadowing
9689 parameter.
9690 (pushdecl): Do not create a shadow entry if we are replacing
9691 an older decl in the same binding level.
9692 (pushdecl_function_level): Tweak for new way of indicating
9693 function scope.
9694 (shadow_tag_warned): Use TYPE_NAME, not lookup_tag_reverse.
9695 (start_function): Don't set subblocks_tag_transparent.
9696 (finish_function): Fix up the binding_level stack for totally
9697 empty functions. Otherwise, don't call poplevel.
9698
9699 * c-common.c (shadow_warning): MANDATORY argument is no longer
9700 necessary. Always use plain warning.
9701 * c-common.h: Update to match.
9702
9703 * cfglayout.c (scope_to_insns_initialize): Clear block when we
9704 hit the FUNCTION_DECL.
9705 * function.c: Do not create cyclic tree structure.
9706
97072003-04-10 Zack Weinberg <zack@codesourcery.com>
9708
9709 * c-tree.h (struct lang_identifier): Replace global_value,
9710 local_value members with symbol_value, tag_value. Kill
9711 implicit_decl and limbo_value.
9712 (IDENTIFIER_GLOBAL_VALUE, IDENTIFIER_LOCAL_VALUE,
9713 IDENTIFIER_LIMBO_VALUE, IDENTIFIER_IMPLICIT_DECL,
9714 C_MISSING_PROTOTYPE_WARNED): Kill.
9715 (IDENTIFIER_SYMBOL_VALUE, IDENTIFIER_TAG_VALUE,
9716 C_DECL_IMPLICIT, C_DECL_ISNT_PROTOTYPE): New.
9717 (C_DECL_ANTICIPATED): Rename to C_DECL_INVISIBLE.
9718 (implicit_decl_warning, lookup_name_current_level,
9719 record_function_scope_shadow): Don't prototype.
9720 (pushdecl_function_level): Prototype.
9721
9722 * c-decl.c (truly_local_externals): New variable.
9723 (struct binding_level): Adjust commentary.
9724 (get_function_binding_level, clear_limbo_values,
9725 record_function_scope_shadow): Kill.
9726 (lookup_name_current_level, implicit_decl_warning): Are now static.
9727 (any_external_decl, record_external_decl): New static functions.
9728 (clone_underlying type): Split out of pushdecl.
9729 (c_print_identifier): Update to match changes to struct
9730 lang_identifier.
9731 (poplevel): Delete #if 0 block. Make externals invisible
9732 instead of clearing their IDENTIFIER_SYMBOL_VALUEs. Don't
9733 call clear_limbo_values. Refer to IDENTIFIER_SYMBOL_VALUE not
9734 IDENTIFIER_GLOBAL_VALUE or IDENTIFIER_LOCAL_VALUE.
9735 (duplicate-decls): For real parm decl after a forward decl,
9736 set TREE_ASM_WRITTEN here. Allow void foo(...) followed by
9737 foo(...) { } with only a warning. Say whether a previous
9738 declaration was implicit.
9739 (warn_if_shadowing): Now handles all shadowing, not just
9740 local-over-local. Clarify comments.
9741 (pushdecl): Rewritten. There is no longer a distinction
9742 between global and local symbol values; they're all
9743 IDENTIFIER_SYMBOL_VALUE. Call record_external_decl on all
9744 DECL_EXTERNAL decls, and use any_external_decl to check
9745 against previous externals. Kill #if 0 blocks. Don't
9746 tolerate error_mark_node being NULL.
9747 (pushdecl_top_level): Handle only those cases which
9748 Objective C (the only user) needs.
9749 (pushdecl_function_level): New function.
9750 (implicitly_declare): Create ordinary decls with
9751 C_DECL_IMPLICIT set. Recycle old decls, however they got
9752 created.
9753 (lookup_name): It's always IDENTIFIER_SYMBOL_VALUE. Return 0
9754 for C_DECL_INVISIBLE symbols.
9755 (lookup_name_current_level): Likewise. Use chain_member.
9756 (c_make_fname_decl): Don't muck with DECL_CONTEXT.
9757 Use pushdecl_function_level.
9758 (builtin_function): Use C_DECL_INVISIBLE.
9759 (start_function): Don't muck with IDENTIFIER_IMPLICIT_DECL.
9760 Use C_DECL_ISNT_PROTOTYPE and C_DECL_IMPLICIT.
9761 (store_parm_decls): It's IDENTIFIER_SYMBOL_VALUE now.
9762 (identifier_global_value): Same. Must scan
9763 global_binding_level in extremis.
9764
9765 * c-typeck.c (undeclared_variable): New static function, split
9766 from build_external_ref.
9767 (build_external_ref): Use DECL_CONTEXT, not
9768 IDENTIFIER_LOCAL_VALUE, to decide whether a local hides
9769 an instance variable. Restructure for clarity.
9770 * objc/objc-act.c: Use identifier_global_value, not
9771 IDENTIFIER_GLOBAL_VALUE.
9772
6d9c4c83
JW
97732003-04-08 Jonathan Wakely <redi@gcc.gnu.org>
9774
9775 * doc/extend.texi (Template Instantiation): Refer to ISO standard,
9776 not Working Paper.
9777 * doc/invoke.texi (C++ Dialect Options): Same.
9778
06790e5f
ZW
97792003-04-10 Zack Weinberg <zack@codesourcery.com>
9780
9781 * tree.c (tree_operand_check_failed): New function.
9782 * tree.h (TREE_OPERAND_CHECK, TREE_OPERAND_CHECK_CODE,
9783 TREE_RTL_OPERAND_CHECK): New checking macros.
9784 (TREE_OPERAND, SAVE_EXPR_CONTEXT, SAVE_EXPR_RTL,
9785 RTL_EXPR_SEQUENCE, RTL_EXPR_RTL, WITH_CLEANUP_EXPR_RTL,
9786 CONSTRUCTOR_ELTS, LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
9787 EXIT_BLOCK_RETURN, LOOP_EXPR_BODY, EXPR_WFL_NODE,
9788 EXPR_WFL_FILENAME_NODE, EXPR_WFL_FILENAME, TARGET_EXPR_SLOT,
9789 TARGET_EXPR_INITIAL, TARGET_EXPR_CLEANUP): Use the new
9790 checking macros.
9791
f90e4dea
JH
9792Thu Apr 10 23:52:30 CEST 2003 Jan Hubicka <jh@suse.cz>
9793
9794 PR inline-asm/8803
9795 * function.c (instantate_virtual_regs): Verify that all ASM statements
9796 match after the virutal regs instantiation.
9797
08744705
SE
97982003-04-10 Steve Ellcey <sje@cup.hp.com>
9799
9800 * ia64-protos.h (addp4_optimize_ok): New.
9801 * ia64.c (addp4_optimize_ok): New.
9802 * ia64.md (*ptr_extend_plus_1): Use addp4_optimize_ok.
9803 (*ptr_extend_plus_2): Ditto.
9804
267b28bd
SE
98052003-04-10 Steve Ellcey <sje@cup.hp.com>
9806
9807 * expr.c (expand_assignment): Extend offset_rtx with convert_to_mode
9808 not with convert_memory_address.
9809 (store_constructor): Ditto, and same for copy_size_rtx.
9810 (expand_expr): Ditto.
9811
021bad8e
DR
98122003-04-10 Douglas B Rupp <rupp@gnat.com>
9813
9814 * config/i386/i386.c (ix86_ms_bitfield_layout_p): Fix formatting.
9815
1839841c
BW
98162003-04-10 Bob Wilson <bob.wilson@acm.org>
9817
9818 * config/xtensa/lib2funcs.S (__xtensa_sync_caches): Flush data cache
9819 even if it is configured to be write-through.
9820
e23795ea
UW
98212003-04-10 Ulrich Weigand <uweigand@de.ibm.com>
9822
9823 * config/s390/s390.c (larl_operand): Do not allow symbols
9824 marked with '@'.
9825 (s390_encode_section_info): Mark symbols with forced 1-byte
9826 alignment with '@'.
9827 (s390_strip_name_encoding): Strip '@'.
9828 (legitimize_pic_address): Handle symbols that are not valid
9829 LARL operands in 64-bit mode.
9830
0bb7378d
AH
98312003-04-10 Andrew Haley <aph@redhat.com>
9832
9833 * tree-inline.c (inlinable_function_p): Disable inlining for
9834 synchronized methods.
9835
009ed910
SB
98362003-04-09 Steven Bosscher <steven@gcc.gnu.org>
9837
9838 * c-common.h (lang_statement_code_p): Remove declaration.
9839 (statement_code_p): Ditto.
9840 (c_common_stmt_codes): Define; list of c-common statement codes.
9841 (statement_code_p): New extern declaration.
9842 (STATEMENT_CODE_P): Define.
9843 (INIT_STATEMENT_CODES): Define.
9844 * c-common.c (statement_code_p): Kill the function, declare
9845 as an array of bools instead.
9846 (lang_statement_code_p): Remove.
9847 (walk_stmt_tree): Use STATEMENT_CODE_P not statement_code_p.
9848 (c_safe_from_p): Ditto.
9849 * c-objc-common.c (c_objc_common_init): Use INIT_STATEMENT_CODES
9850 to initialize the statement_code_p array.
9851 * tree-inline.c (walk_tree): Use STATEMENT_CODE_P instead of
9852 statement_code_p.
9853 (copy_tree_r): Ditto.
9854 * cp/cp-tree.h (cp_stmt_codes): Define; list of C++ specific
9855 statement tree codes.
9856 * cp/lex.c (cxx_init): Add missing print line break. Use
9857 INIT_STATEMENT_CODES to initialize the statement_code_p array.
9858 * cp/parser.c (cp_parser_statement): Use STATEMENT_CODE_P
9859 instead of statement_code_p.
9860 * cp/pt.c (tsubst_expr): Ditto.
9861 * cp/tree.c (verify_stmt_tree_r): Ditto.
9862 (cp_statement_code_p): Remove.
9863 (init_tree): Don't set lang_statement_code_p, it's gone.
9864
496324d0
DN
98652003-04-09 Dan Nicolaescu <dann@ics.uci.edu>
9866 Zack Weinberg <zack@codesourcery.com>
9867
9868 * regrename.c (struct du_chain): Use a bitfield for reg_class.
9869 * cse.c (struct qty_table_elem, struct table_elt, struct set):
9870 Use bitfields for fields holding enum rtx_code or
9871 enum machine_mode values. Add comments explaining size choices.
9872
9c951124
AO
98732003-04-09 Alexandre Oliva <aoliva@redhat.com>
9874
9875 * config/fp-bit.c (unpack_d): Handle pair of doubles with
9876 different signs correctly.
9877
d1c9693e
VM
98782003-04-09 Vladimir Makarov <vmakarov@redhat.com>
9879
9880 * sched-deps.c (reg_pending_barrier_mode): New enumeration.
9881 (reg_pending_barrier): Make it of the enumeration type.
9882 (sched_analyze_2): Define the barrier as MOVE_BARRIER or
9883 TRUE_BARRIER.
9884 (sched_analyze): Ditto.
9885 (sched_analyze_insn): Ditto. Use anti-dependencies for
9886 MOVE_BARRIER and true-dependencies as TRUE_BARRIER.
9887 (init_deps_global): Initialize the barrier as NO_BARRIER.
06790e5f 9888
f32360c7
VM
98892003-04-09 Vladimir Makarov <vmakarov@redhat.com>
9890
9891 * config/ia64/ia64.c (issue_nops_and_insn): Add new parameter.
9892 Check that asm insn starts on a new cycle. Add nops after asm
9893 insn to end bundle.
9894 (bundling): Move insn type evaluation from the loop. Call
9895 issue_nops_and_insn with the new parameter. Ignore changing
9896 position for nops after asm insn.
9897
0913e4b4
AO
98982003-04-09 Alexandre Oliva <aoliva@redhat.com>
9899
9900 * optabs.c: Comment that gen_add2_insn and others may actually
9901 return emitted insns, if the gen functions turn out to return
9902 emitted insns.
9903 * reload1.c (reload_cse_move2add): Cope with emitted insns from
9904 gen_add2_insn.
9905
21515593
RH
99062003-04-09 Richard Henderson <rth@redhat.com>
9907
9908 * config/ia64/ia64.c (move_operand): Allow symbolic_operand,
9909 but not tls_symbolic_operand.
9910 (ia64_expand_load_address): Remove scratch operand.
9911 (ia64_expand_tls_address): Split out from ia64_expand_move.
9912 (ia64_expand_move): Split symbolics only after reload.
9913 (ia64_emit_cond_move): New.
9914 * config/ia64/ia64-protos.h: Update.
9915 * config/ia64/ia64.md (movsi_symbolic, movdi_symbolic): Remove.
9916 (symbolic splitter): Accept SImode operands too.
9917 (cmove splitter): Use ia64_emit_cond_move.
9918
66d6bf1f
NC
99192003-04-09 Nick Clifton <nickc@redhat.com>
9920
9921 * doc/install.texi: Note that ARM toolchains need binutils 2.13 or
9922 newer.
9923 * config/arm/elf.h (SUBTARGET_ASM_FLOAT_SPEC): Pass -mfpu=softfpa
9924 instead of -mno-fpu.
9925 * config/arm/semi.h (ASM_SPEC): Likewise.
9926 * config/arm/xscale-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise,
9927 but only if -msoft-float is specified pass. Otherwise pass
9928 -mfpu=softvfp.
06790e5f 9929
22659ac9
ZD
99302003-04-09 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
9931
9932 * function.c (purge_addressof): Use free_INSN_LIST_node instead of
9933 free_EXPR_LIST_node.
9934
5fce2c65
RS
99352003-04-08 Roger Sayle <roger@eyesopen.com>
9936
9937 * fold-const.c (fold): Use "fold" following build in more places.
9938 Optimize sqrt(x)*sqrt(x) as x, pow(x,y)*pow(z,y) as pow(x*z,y),
9939 pow(x,y)*pow(x,z) as pow(x,y+z) and x/pow(y,z) as x*pow(y,-z).
9940
531878a6
RS
99412003-04-08 Roger Sayle <roger@eyesopen.com>
9942
9943 * builtins.c (fold_builtin): Constant fold expressions as x*0.5
9944 instead of x/2.0. Optimize sqrt(pow(x,y)) as pow(x,y*0.5),
9945 log(pow(x,y)) as y*log(x), pow(exp(x),y) as exp(x*y),
9946 pow(sqrt(x),y) as pow(x,y*0.5) and pow(pow(x,y),z) as pow(x,y*z).
9947 Delete function scope "fcode" variable to avoid shadowing.
9948
c583e7c3
KB
99492003-04-08 Kevin Buettner <kevinb@redhat.com>
9950
9951 * dwarf2out.c (DWARF_ARANGES_HEADER_SIZE, DWARF_ARANGES_PAD_SIZE):
9952 Take into account DWARF_INITIAL_LENGTH_SIZE.
9953
5a82c0b1
HPN
99542003-04-08 Hans-Peter Nilsson <hp@axis.com>
9955
9956 * reorg.c (fill_slots_from_thread): When considering changing the
9957 insn following a reg-to-reg copy insn to use the source reg of the
9958 copy, bail out if there's overlap between the registers.
9959
8a5275eb
ZD
99602003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
9961
9962 * function.c (postponed_insns): New.
9963 (purge_addressof_1): Postpone processing of insns if addressofs
9964 are not put into stack.
06790e5f 9965 (purge_addressof): Process postponed insns.
8a5275eb 9966
ac55736a
R
99672003-04-08 J"orn Rennecke <joern.rennecke@superh.com>
9968
9969 * sh.h (NORMAL_MODE): If interrupt handler and TARGET_FMOVD,
9970 this is FP_MODE_DOUBLE .
9971 * sh.c (ra.h): #include.
9972 (push_regs): Add second parameter. Changed all callers.
9973 If necessary, set fpscr before saving floating point registers.
9974 (calc_live_regs): If interrupt handler and TARGET_FMOVD, always
9975 do saves / restores with SZ == 1.
9976 (sh_expand_prologue): If interrupt handler, don't use gen_toggle_sz.
9977 (sh_expand_epilogue): Likewise. For TARGET_FMOVD, if floating point
9978 registers are being restored, restore FPSCR only after restoring them.
9979
3fdaa45a
AH
99802003-04-08 Aldy Hernandez <aldyh@redhat.com>
9981
496324d0
DN
9982 * config/rs6000/rs6000.c (rs6000_init_builtins): Set opaque types
9983 regardless of architecture.
9984 (spe_init_builtins): Change V2SI and V2SF types to opaque types.
3fdaa45a 9985
490dbac7
R
99862003-04-08 J"orn Rennecke <joern.rennecke@superh.com>
9987
9988 * sh.c (push_regs, calc_live_regs): Return int. Take single
9989 HARD_REG_SET * parameter. Changed all callers.
9990
799b33a0
JH
9991Tue Apr 8 11:12:07 CEST 2003 Jan Hubicka <jh@suse.cz>
9992
9993 * i386.c (legitimate_pic_address_disp_p): Do not accept PLUS in the
9994 GOTOFF operand.
9995 (legitimize_pic_address): Move plus outside the unspec.
9996 * i386.c (legitimate_constant_p): Check (CONST (PLUS (UNSPEC ...
9997 for validity.
9998
3e71e002
NS
99992003-04-08 Nathan Sidwell <nathan@codesourcery.com>
10000
10001 * gcov-io.h (gcov_save_position): Remove __inline__ from
10002 declaration.
10003
7ba4ca63
MK
100042003-04-07 Matt Kraai <kraai@alumni.cmu.edu>
10005
10006 * doc/install.texi: Use @command and @samp for single- and
10007 multi-word commands respectively.
10008 * doc/makefile.texi: Likewise.
10009 * doc/sourcebuild.texi: Likewise.
10010
f8d4be57 100112003-04-07 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
496324d0 10012 Richard Henderson <rth@redhat.com>
f8d4be57 10013
496324d0
DN
10014 PR c/9516
10015 * expr.c (safe_from_p): Rearrange to avoid deep recursion in
6356f892 10016 favor of looping and tail recursion for TREE_LIST and binops.
f8d4be57 10017
760e8e42
ZD
100182003-04-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
10019
10020 * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Provide defaults
10021 for insns without luid.
10022
b0a3412c
GN
100232003-04-07 Glen Nakamura <glen@imodulo.com>
10024
10025 PR opt/8634
10026 * explow.c (maybe_set_unchanging): Don't flag non-static const
10027 aggregate type initializers with RTX_UNCHANGING_P.
10028
c5a1e3d6
RH
100292003-04-07 Richard Henderson <rth@redhat.com>
10030
496324d0
DN
10031 PR opt/8634
10032 * function.c (purge_addressof_1): Don't try arithmetics for
10033 unchanging memories.
c5a1e3d6 10034
138d4703
JJ
100352003-04-07 Janis Johnson <janis187@us.ibm.com>
10036
10037 * doc/sourcebuild.texi (Test Suites): Document testing support for
10038 gcov and profile-directed optimizations; describe gcc.misc-tests.
10039
1d5b4e0b
JH
10040Mon Apr 7 22:19:59 CEST 2003 Jan Hubicka <jh@suse.cz>
10041
10042 PR target/10077
10043 * i386.md (movsi_1, movsi_nointerunit_1): Fix SSEMOV alternative.
10044
60ba917e
EB
100452003-04-07 Eric Botcazou <ebotcazou@libertysurf.fr>
10046
10047 * doc/rtl.texi (Comparison operations): Update to
10048 record the allowed comparison modes.
10049
2abe3e28
AH
100502003-04-07 Aldy Hernandez <aldyh@redhat.com>
10051
496324d0
DN
10052 * config/rs6000/rs6000.c (rs6000_common_init_builtins): Rename all
10053 V2SI_type_node to opaque_V2SI_type_node. Rename all
10054 V2SF_type_node to opaque_V2SF_type_node.
10055 (rs6000_init_builtins): Define opaque_V2SI_type_node and
10056 opaque_V2SF_type_node.
10057 (is_ev64_opaque_type): The types opaque_V2SI_type_node and
10058 opaque_V2SF_type_node are opaque types.
2abe3e28 10059
9a318d30
R
100602003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
10061
10062 * gcse.c (replace_store_insn): Use single_set.
10063
546d2adb
NS
100642003-04-07 Nathan Sidwell <nathan@codesourcery.com>
10065
10066 Change gcov file interface to single file at a time.
10067 * gcov-io.h: Replace IN_LIBGCC1 with IN_LIBGCOV. Use IN_GCOV.
10068 Convert to C89 prototypes.
10069 (gcov_file, gcov_length, gcov_position, gcov_buffer, gcov_alloc,
10070 gcov_error, gcov_modified): New static variables.
10071 (gcov_open, gcov_close, gcov_read_bytes, gcov_write_bytes): New
10072 functions.
10073 (gcov_write_unsigned, gcov_write_counter, gcov_write_string,
10074 gcov_read_unsigned, gcov_read_counter, gcov_read_string): Adjust.
10075 (gcov_read_summary, gcov_write_summary): Adjust.
10076 (gcov_save_position, gcov_reserve_length, gcov_write_length):
10077 Adjust.
10078 (gcov_resync, gcov_skip, gcov_skip_string): Adjust.
10079 (da_file_open, da_file_close, da_file_eof, da_file_error): Remove.
10080 (da_file_position, da_file_seek, da_file_write, da_file_read):
10081 Remove.
10082 (gcov_error, gcov_eof, gcov_ok, gcov_time): New functions.
10083 * gcov.c (gcov_type): Don't typedef here.
10084 (IN_GCOV): #define
10085 (read_graph_file, read_count_file): Adjust.
10086 * gcov-dump.c (gcov_type): Don't typedef here.
10087 (IN_GCOV): #define.
10088 (tag_function, tag_blocks, tag_arcs, tag_lines, tag_arc_counts):
10089 Remove FILE parameter, adjust.
10090 (struct tag_format): Adjust proc member.
10091 (dump_file): Adjust.
10092 * libgcov.c (IN_LIBGCOV): #define.
10093 (gcov_exit): Adjust.
10094 * loop-init.c: Don't #include gcov-io.h
10095 * profile.c (struct counts_entry): New structure to hold counter
10096 values.
10097 (struct section_reference, struct da_index_entry): Remove.
10098 (bbg_file, da_file): Remove.
10099 (htab_counts_index_hash, htab_counts_index_eq,
10100 htab_counts_index_del): Replace with ...
10101 (htab_counts_entry_hash, htab_counts_entry_eq,
10102 htab_counts_entry_del): ... these.
10103 (cleanup_counts_index, index_counts_file): Remove.
10104 (read_counts_file): New function.
10105 (get_exec_counts): Adjust.
10106 (compute_branch_probabilities): Don't free the exec counts here.
10107 (branch_prob): Adjust.
10108 (init_branch_prob): Adjust.
10109 (end_branch_prob): Adjust.
10110
5da702b1
AH
101112003-04-07 Aldy Hernandez <aldyh@redhat.com>
10112
496324d0
DN
10113 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
10114 -mfloat-gprs.
5da702b1 10115
496324d0
DN
10116 * config/rs6000/rs6000.c: Delete rs6000_fprs.
10117 Declare rs6000_float_gprs.
10118 Declare rs6000_float_gprs_string.
10119 (rs6000_parse_float_gprs_option): New.
10120 (rs6000_override_options): Genericize rs6000_parse_* calls to use
10121 rs6000_parse_yes_no_option.
10122 Change check for cpu=8540, to use TARGET_E500.
10123 (rs6000_parse_isel_option): Delete.
10124 (rs6000_parse_spe_option): Delete.
10125 (rs6000_parse_vrsave_option): Delete.
5da702b1 10126
496324d0
DN
10127 * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs.
10128 Define rs6000_float_gprs_string.
10129 (TARGET_OPTIONS): Add rs6000_float_gprs option.
5da702b1 10130
496324d0 10131 * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs.
5da702b1 10132
496324d0 10133 * config/rs6000/eabispe.h: Set rs6000_float_gprs.
5da702b1 10134
cde1d5bf
JH
10135Mon Apr 7 14:36:24 CEST 2003 Jan Hubicka <jh@suse.cz>
10136
10137 PR opt/10024
10138 * cfglayout.c (cfg_layout_redirect_edge):
10139 Redirect any branch edges unified with the fallthru one.
10140 * cfgrtl.c (force_nonfallthru_and_redirect): Do not special
10141 case fallthru edges when called via cfglayout.c
10142
d5019ba3
R
101432003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
10144
10145 * c-typeck.c (output_init_element): Check for type == error_mark_node.
10146
093b05b6
KH
101472003-04-07 Kazu Hirata <kazu@cs.umass.edu>
10148
10149 * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Always
10150 split.
10151 (a splitter): Do zero-extension via HImode.
10152
9a94f7f3
JM
101532003-04-07 James A. Morrison <ja2morri@uwaterloo.ca>
10154
10155 * doc/invoke.texi: Eliminate extra white-space caused by
10156 @gccoptlist{ on its own line.
10157 * doc/invoke.texi: Ensured there are two spaces between each option.
10158 * doc/invoke.texi: Re-wrapped option lines that were too wide.
10159 Added @gol to options that didn't have them.
10160
85ebf0c6
JM
101612003-04-07 James A Morrison <ja2morri@student.math.uwaterloo.ca>
10162
10163 * doc/extend.texi (Darwin Pragmas): Fix spelling of Mac OS.
10164
d78e771d
ZW
101652003-04-06 Zack Weinberg <zack@codesourcery.com>
10166
10167 * tree.c (tree_size): For all 'c' and 'x' nodes, look directly
10168 at the sizes of the relevant structures, rather than relying
10169 on TREE_CODE_LENGTH. Call lang_hooks.tree_size to get the
10170 sizes of any such we don't know about. Use
10171 lang_hooks.identifier_size for IDENTIFIER_NODE.
10172
10173 (initializer_zerop): Use CONSTRUCTOR_ELTS.
10174 * tree.def: Update commentary. Make fourth element of
10175 the definition for all 'c' and 'x' nodes zero.
10176
10177 * langhooks.h: New hook, tree_size / LANG_HOOKS_TREE_SIZE.
10178 * langhooks-def.h: Update to match.
10179 * langhooks.c: New default, lhd_tree_size.
10180
10181 * c-common.def (SRCLOC): Kill.
10182 * c-pretty-print.c (pp_c_postfix_expression [case SRCLOC]):
10183 Remove entirely - was already #if-ed out.
10184
10185
48a79342
ZW
101862003-04-06 Zack Weinberg <zack@codesourcery.com>
10187
10188 * mklibgcc.in: Use a here document to avoid running afoul of
10189 shells that generate control-A from "echo \1".
10190
993f19a8
AH
101912003-04-06 Aldy Hernandez <aldyh@redhat.com>
10192
d78e771d
ZW
10193 * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mspe
10194 option.
993f19a8 10195
d78e771d
ZW
10196 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set
10197 rs6000_spe.
993f19a8 10198
d78e771d 10199 * config/rs6000/eabi.h (TARGET_E500): Define.
993f19a8 10200
d78e771d
ZW
10201 * config/rs6000/rs6000.h (TARGET_E500): Define.
10202 (TARGET_OPTIONS): Add spe= option.
10203 Declare rs6000_spe and rs6000_spe_string extern.
993f19a8 10204
d78e771d
ZW
10205 * config/rs6000/rs6000.c (branch_positive_comparison_operator):
10206 Change TARGET_SPE to TARGET_E500.
10207 (ccr_bit): Change TARGET_SPE to TARGET_E500. Check for
10208 !TARGET_FPRS.
10209 (print_operand): Same.
10210 (rs6000_generate_compare): Same.
10211 (output_cbranch): Same.
10212 (rs6000_spe): Declare.
10213 (rs6000_spe_string): Declare.
10214 (rs6000_override_options): Call rs6000_parse_spe_option.
10215 (rs6000_parse_spe_option): New.
993f19a8 10216
95ec27aa
SB
102172003-04-06 Steven Bosscher <steven@gcc.gnu.org>
10218
10219 * hashtable.c (gcc_obstack_init): Delete this function
10220 and everything related to it.
10221 * hashtable.h: Remove prototype.
10222 * bitmap.c (bitmap_element_allocate): Cleanup redundant
10223 defines. Cleanup some unnecessary whitespace.
10224 * defaults.h (obstack_chunk_alloc): Redefine with
10225 appropriate casts for libiberty obstacks.
10226 (obstack_chunk_free): Ditto.
10227 (OBSTACK_CHUNK_SIZE): Define, default to 0.
10228 (gcc_obstack_init): Define as a call to _obstack_begin.
10229 * tree.c (print_obstack_statistics): Delete this unused
10230 function.
10231 * tree.h (obstack): Don't forward-declare.
10232 (print_obstack_statistics): Delete prototype.
10233 (print_obstack_name): Ditto.
10234 (gcc_obstack_init): Ditto.
10235 * rtl.h (gcc_obstack_init): Ditto.
10236 * java/jv-scan.c (gcc_obstack_init): Delete this
10237 function, its prototype and related defines.
10238 * java/jvgenmain.c (gcc_obstack_init): Delete this
10239 function, and related defines.
10240 * java/parse-scan.y (obstack_chunk_alloc): Don't define.
10241 (obstack_chunk_free): Ditto
10242
62e64b0b
GK
102432003-04-06 Geoffrey Keating <geoffk@apple.com>
10244
10245 * dbxout.c (dbxout_handle_pch): Move prototype out from
10246 #if defined DBX_DEBUGGING_INFO.
10247
10b7602f
NS
102482003-04-05 Nathan Sidwell <nathan@codesourcery.com>
10249
10250 * gcov.c (struct arc_info): Replace local_span with cycle.
10251 (struct block_info): Replace u.span with u.cycle. Add is_call_return.
10252 (solve_flow_graph): Set is_call_return.
10253 (add_line_counts): Adjust. In block mode, blocks attach to last line.
10254 (accumulate_line_counts): Find graph cycles, not spanning tree.
10255 (output_branch_count): Adjust.
10256 (output_lines): Adjust.
10257 * doc/gcov.texi: Update.
10258
910c46b5
KH
102592003-04-06 Kazu Hirata <kazu@cs.umass.edu>
10260
10261 * config/h8300/h8300.md (*zero_extendqisi2_h8300hs): Change
10262 the second alternative to "#".
10263
ef378bbe
KH
102642003-04-05 Kazu Hirata <kazu@cs.umass.edu>
10265
10266 * config/h8300/h8300.c (single_one_operand): Use GET_MODE_MASK.
10267 (single_zero_operand): Likewise.
10268
873ceaab
DB
102692003-04-05 Daniel Berlin <dberlin@dberlin.org>
10270
10271 * Makefile.in (df.o): Depend on alloc-pool.h, not obstack.h.
10272 * df.c: Include alloc-pool.h, not obstack.h.
10273 (df_ref_obstack): Remove.
10274 (df_ref_pool, df_link_pool): Add pools.
10275 (df_alloc): Init the new pools.
10276 (df_free): And free them.
10277 (df_link_create): Use the pools.
10278 (df_ref_create): Ditto.
10279
5be86fec
KH
102802003-04-05 Kazu Hirata <kazu@cs.umass.edu>
10281
10282 * simplify-rtx.c: Fix formatting.
10283
984e25ac
DE
102842003-04-05 Andrew Pinski <apinski@apple.com>
10285
10286 * config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
10287 reg with reg1 == reg2 and offset1 = -8.
10288
102892003-04-05 David Edelsohn <edelsohn@gnu.org>
10290
10291 * config/rs6000/rs6000.c (rs6000_rtx_costs): Halve Power4
10292 multiply costs. Correct Power4 divide costs.
10293 * config/rs6000/power4.md: Restore multiply and FP latency.
10294
94f24ddc
ZD
102952003-04-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
10296
10297 * alias.c (find_base_term): Export.
10298 * rtl.h (find_base_term): Declare.
10299 * gcse.c (find_moveable_store): Test for flag_non_call_exceptions
10300 instead of flag_exceptions. Move test for parameter passing ...
10301 (store_killed_in_insn): ... here.
10302
92441f83
GP
103032003-04-05 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
10304
10305 PR bootstrap/10267
10306 * doc/install.texi (*-*-solaris2): /bin/ksh is not just recommended
10307 for configuring.
10308
33b49800
GK
103092003-04-04 Geoffrey Keating <geoffk@apple.com>
10310
10311 * dbxout.c (scope_labelno): Add GTY.
10312 (have_used_extensions): Add GTY.
10313 (source_label_number): Add GTY.
10314 (lastfile): Add GTY.
10315 (lastfile_is_base): New.
10316 (base_input_file): New.
10317 (dbxout_handle_pch): New.
10318 (dbx_debug_hooks): Add handle_pch.
10319 (xcoff_debug_hooks): Likewise.
10320 (dbxout_function_end): Remove scope_labelno.
10321 (dbxout_init): Set base_input_file.
10322 (dbxout_handle_pch): New.
10323 (dbxout_source_file): Honour lastfile_is_base.
10324 * dwarfout.c (dwarf_debug_hooks): Add dummy handle_pch.
10325 * sdbout.c (sdb_debug_hooks): Add dummy handle_pch.
10326 * vmsdbgout.c (vmsdbg_debug_hooks): Add dummy handle_pch.
10327 * dwarf2out.c (dwarf2_debug_hooks): Add dummy handle_pch.
10328 * debug.c (do_nothing_debug_hooks): Add dummy handle_pch.
10329 * debug.h (struct gcc_debug_hooks): Add handle_pch.
10330 * c-pch.c (pch_init): Don't call start_source_file, but do call
10331 handle_pch.
10332 (c_common_write_pch): Call handle_pch.
10333 (c_common_read_pch): Don't call start_source_file,
06790e5f 10334 or end_source_file.
33b49800 10335
bb056a77
OH
10336Fri Apr 4 17:43:52 2003 Olivier Hainque <hainque@act-europe.fr>
10337
d78e771d
ZW
10338 * emit-rtl.c (get_mem_attrs): Adjust alignment tests determining
10339 use of default attributes to agree MEM_ALIGN macro.
bb056a77 10340
08b0f5f9
JB
10341Fri Apr 4 17:33:24 2003 Joel Brobecker <brobecker@gnat.com>
10342
d78e771d 10343 * dbxout.c (dbxout_type): When printing type index of range type
08b0f5f9
JB
10344 whose bounds are printed in octal format, print type of parent type if
10345 it exists so enumerated type descriptions are not transformed
d78e771d 10346 into unsigned types.
08b0f5f9 10347
45ca2106
KH
103482003-04-04 Kazu Hirata <kazu@cs.umass.edu>
10349
10350 * config/h8300/h8300-protos.h: Add a prototype for
10351 compute_a_shift_cc.
10352 * config/h8300/h8300.c (shift_one): Update the CC status.
10353 (shift_two): Likewise.
10354 (output_a_shift_cc): Set cc_inline and cc_special.
10355 (compute_a_shift_cc): New.
10356 * config/h8300/h8300.md (shift insns): Use compute_a_shift_cc.
10357
7c2aa9d7
RH
103582003-04-04 Richard Henderson <rth@redhat.com>
10359
10360 * cse.c (fold_rtx): Fix 03-30 change; do check insn non-null.
10361
0705a2a2
LR
103622003-04-04 Loren James Rittle <ljrittle@acm.org>
10363
10364 * fixinc/inclhack.def (bsd_stdio_attrs_conflict): New.
10365 * fixinc/fixincl.x: Rebuilt.
10366 * fixinc/tests/base/stdio.h: Regenerated.
10367
1a482881
NS
103682003-04-04 Nathan Sidwell <nathan@codesourcery.com>
10369
10370 * gcov.c (accumulate_line_counts): Fix span tree merge bug.
10371
5d806217
R
10372Fri Apr 4 15:58:52 2003 J"orn Rennecke <joern.rennecke@superh.com>
10373
10374 * sh.h (ACTUAL_NORMAL_MODE): New macro, broken out of
10375 (NORMAL_MODE).
10376 * sh.c (fpscr_set_from_mem): Use ACTUAL_NORMAL_MODE.
10377
0dc5ac92 103782003-04-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
06790e5f 10379
0dc5ac92
GP
10380 * doc/contrib.texi (Contributors): Add entries for Wolfgang
10381 Bangerth, DJ Delorie, Christian Ehrhardt, Christopher Faylor,
10382 Nathanael Nerode, Diego Novillo, Hartmut Penner, Volker Reichelt,
10383 Danny Smith, and Ulrich Weigand.
10384 Update Kriang Lerdsuwanakij and fix a typo in Janis Johnson's
10385 entry.
10386
5eb7ad07
NC
103872003-04-04 Nick Clifton <nickc@redhat.com>
10388
10389 * config/sparc/sol2-bi.h: Revert previous delta.
10390 * config/sparc/sol2-gas-bi.h (AS_SPARC64_FLAG): Prepend -TSO
10391
fdf3bb57
NC
103922003-04-04 Nick Clifton <nickc@redhat.com>
10393
10394 * config/v850/v850.c (expand_prologue): Only use register save
10395 helper functions if long calls are not being used.
10396 Add a clobber of r11 id using long calls.
10397 (pattern_is_ok_for_prologue): Account for the extra clobber.
10398 (construct_save_jarl): Likewise.
10399 * config/v850/v850.md (prolog pattern): Do not use this pattern
10400 for v850e's.
10401
ad3f5759
AS
104022003-04-04 Andreas Schwab <schwab@suse.de>
10403
10404 * stor-layout.c (layout_decl): Avoid syntax error in last change
10405 when PCC_BITFIELD_TYPE_MATTERS is defined but not
10406 EMPTY_FIELD_BOUNDARY.
10407
ed2e5902
JM
104082003-04-03 Jason Merrill <jason@redhat.com>
10409
10410 PR c/10175
10411 * jump.c (never_reached_warning): Revert patch of 2002-11-02.
10412 Look backwards for a line note.
10413
7b43d104
NB
104142003-04-03 Neil Booth <neil@daikokuya.co.uk>
10415
10416 * fix-header.c (read_scan_file): Defer switch processing.
10417
d24ecd21
MA
104182003-04-03 Matt Austern <austern@apple.com>
10419
10420 * cpppch.c (reset_ht): Remove.
10421 (cpp_read_state): Remove loop to reset hashtable identifiers.
10422 * ggc-common.c (gt_pch_save): Add call to gt_pch_fixup_stringpool
10423 after pch file is written.
10424 * ggc.h (gt_pch_fixup_stringpool): Declare.
10425 * stringpool.c (ht_copy_and_clear): Define. Callback. Copy
10426 hashnode's value to another hashtable, then clear the original.
10427 (saved_ident_hash): Define.
10428 (gt_pch_save_stringpool): Create saved_ident_hash, use it to
10429 store definitions in ident_hash, and clear ident_hash.
10430 (gt_pch_fixup_stringpool): Define. Restore definitions from
10431 saved_ident_hash to ident_hash, then destroy saved_ident_hash.
10432
bcc53e2a
JH
10433Thu Apr 3 22:27:40 CEST 2003 Jan Hubicka <jh@suse.cz>
10434
10435 * cfgrtl.c (update_bb_for_insn): Do not set block for barriers.
10436
773eae39
EB
104372003-04-03 Eric Botcazou <ebotcazou@libertysurf.fr>
10438
10439 PR optimization/10157
10440 * gcse.c (can_copy_p): Rename it to can_copy.
10441 (can_copy_init_p): Remove.
10442 (compute_can_copy): Use can_copy instead of can_copy_p.
10443 (can_copy_p): New exported function. Call compute_can_copy.
10444 (hash_scan_set): Use it.
10445 (gcse_main): Don't call compute_can_copy.
10446 (bypass_jumps): Don't call compute_can_copy.
10447 * rtl.h (can_copy_p): Declare.
10448 * loop.c (scan_loop): Don't move the source and add a reg-to-reg
10449 copy if the mode doesn't support copy operations.
10450
78d55cc8
JM
104512003-04-03 Jason Merrill <jason@redhat.com>
10452
613fa146
JM
10453 * Makefile.in (unstrap): Also remove stage_last.
10454
7bf6b23d
JM
10455 * dwarf2out.c (lookup_filename): Don't check for "<internal>".
10456 (dwarf2out_source_line): Don't do anything if line==0.
10457
78d55cc8 10458 * stor-layout.c (do_type_align): New fn, split out from...
06790e5f 10459 (layout_decl): ...here. Do all alignment calculations for
78d55cc8
JM
10460 FIELD_DECLs here.
10461 (update_alignment_for_field): Not here.
10462 (start_record_layout, debug_rli): Remove unpadded_align.
10463 * tree.h (struct record_layout_info_s): Remove unpadded_align.
10464 * c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
10465 or DECL_MODE on the CONST_DECLs.
10466 (finish_struct): Don't mess with DECL_ALIGN.
10467
d10f5ecf
JH
10468Thu Apr 3 18:57:19 CEST 2003 Jan Hubicka <jh@suse.cz>
10469
10470 * i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
10471
10472Thu Apr 3 17:08:09 2003 J"orn Rennecke <joern.rennecke@superh.com>
8d3b0953 10473
70aadfcc
R
10474 * sh.c (sh_function_ok_for_sibcall): Return 0 if the current
10475 function is an interrupt handler.
10476
10477 * sh.c (sh_expand_epilogue): Avoid clash of temp register for
10478 restoring target registers with EH_RETURN_STACKADJ_RTX; use
10479 multiple registers in round-robin fashion.
8d3b0953 10480
de94b46c
KG
104812003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10482
10483 * gengtype-lex.l (IWORD): Add CHAR_BITFIELD.
10484 * system.h (CHAR_BITFIELD): New.
10485
203dcb74
KH
104862003-04-03 Kazu Hirata <kazu@cs.umass.edu>
10487
10488 * config/h8300/h8300.md (a peephole2): Generalize to accept GT
10489 and LE.
10490 (another peephole2): Likewise.
10491
dc00aebd
NC
104922003-04-03 Nick Clifton <nickc@redhat.com>
10493
10494 * config/sparc/sol2-bi.h (ASM_CPU64_DEFAULT_SPEC): Add -TSO.
d78e771d 10495 (DEF_ARCH64_SPEC): Likewise.
dc00aebd 10496
a94f136b
JH
10497Thu Apr 3 09:53:40 CEST 2003 Jan Hubicka <jh@suse.cz>
10498
10499 * i386.c (constant_address_p): Use legitimate_constant_p.
10500 (legitimate_address_p): Do not use CONSTANT_ADDRESS_P.
10501
9a2dd2dd
KH
105022003-04-02 Kazu Hirata <kazu@cs.umass.edu>
10503
10504 * config/h8300/h8300-protos.h: Add a prototype for
10505 gtle_operator.
10506 * config/h8300/h8300.c (gtle_operator): New.
10507 * config/h8300/h8300.h (PREDICATE_CODES): Add an entry for
10508 gtle_operator.
10509 * config/h8300/h8300.md (a peephole2): Generalize to accept GT
10510 and LE.
10511
378683cf
RH
105122003-04-02 Richard Henderson <rth@redhat.com>
10513
10514 * libgcc-std.ver (_Unwind_GetCFA): New.
10515 * unwind-dw2.c (_Unwind_GetCFA): New.
10516 * unwind-libunwind.c (_Unwind_GetCFA): New.
10517 * unwind-sjlj.c (_Unwind_GetCFA): New.
10518 * unwind.h: Declare it.
10519
a67a3220
JH
10520Thu Apr 3 00:31:21 CEST 2003 Jan Hubicka <jh@suse.cz>
10521
10522 PR inline-asm/8088
10523 * i386.c (ix86_hard_regno_mode_ok): Return 0 for MMX/SSE registers
10524 when MMX/SSE is not available.
10525
11292480
MS
105262003-04-02 Mike Stump <mrs@apple.com>
10527
10528 * doc/install.texi (Specific): Update pointers to apple.com.
10529
a94f136b 10530Thu Apr 3 00:18:49 CEST 2003 Jan Hubicka <jh@suse.cz>
a5b378d6
JH
10531
10532 * i386.c (override_options): Disable red zone by default on i386.
06790e5f 10533 (compute_frame_layout, ix86_force_to_memory, ix86_free_from_memory):
a5b378d6
JH
10534 Do not test TARGET_64BIT together with TARGET_RED_ZONE
10535
8fc9a7ba
KH
105362003-04-02 Kazu Hirata <kazu@cs.umass.edu>
10537
10538 * config/h8300/h8300.md (a peephole2): Tighten the condition.
10539
496e1c4b
RH
105402003-04-02 Richard Henderson <rth@redhat.com>
10541
10542 * longlong.h (umul_ppmm) [alpha]: Use __builtin_alpha_umulh.
10543
d98cd543
KH
105442003-04-02 Kazu Hirata <kazu@cs.umass.edu>
10545
10546 * config/h8300/h8300.md (a peephole2): New.
10547
b30abdf2
RH
105482003-04-02 Richard Henderson <rth@redhat.com>
10549
10550 * except.c (sjlj_find_directly_reachable_regions): Recognize when
10551 must-not-throw region has been deleted.
10552
ad5eeaa9
RH
105532003-04-02 Richard Henderson <rth@redhat.com>
10554
d78e771d
ZW
10555 * dwarf2out.c (output_call_frame_info): Ignore fde->nothrow as an
10556 optimization when flag_exceptions not enabled.
ad5eeaa9 10557
be12c2b0
VM
105582003-04-02 Vladimir Makarov <vmakarov@redhat.com>
10559
10560 * config/rs6000/rs6000.c
10561 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Redefine the
10562 macros.
10563 (rs6000_issue_rate): Add case for 8540.
10564 (rs6000_use_sched_lookahead): New function.
10565
10566 * config/rs6000/8540.md: Rename SIU units into SU ones and MIU
10567 units into MU ones.
10568 (ppc8540_branch, ppc8540_cr_logical): Add one cycle in the
10569 reservation before retirement.
10570 (ppc8540_multiply, ppc8540_load, ppc8540_store,
10571 ppc8540_simple_float, ppc8540_vector_load, ppc8540_vector_store):
10572 Remove additional cycle in the reservation before retirement.
10573 (ppc8540_mfcr, ppc8540_mtcrf, ppc8540_mtjmpr): Add missed
10574 reservation of ppc8540_issue.
06790e5f 10575
f875310e
AS
105762003-04-02 Andreas Schwab <schwab@suse.de>
10577
10578 * real.c (decode_ieee_single): Fix decoding of SNaN bit.
10579
125ca8fd
RH
105802003-04-01 Richard Henderson <rth@redhat.com>
10581
d78e771d
ZW
10582 * except.c (convert_from_eh_region_ranges_1): Smash REG_EH_REGION
10583 notes for nothrow calls if flag_forced_unwind_exceptions.
10584 (build_post_landing_pads): Mind flag_forced_unwind_exceptions.
10585 (sjlj_find_directly_reachable_regions): Likewise.
10586 (reachable_handlers): Likewise.
10587 (can_throw_external): Likewise.
10588 (collect_one_action_chain): Record cleanups after catch-all and
10589 must-not-throw if flag_forced_unwind_exceptions.
10590 * flags.h (flag_forced_unwind_exceptions): Declare.
10591 * toplev.c (flag_forced_unwind_exceptions): New.
10592 (lang_independent_options): Add it.
125ca8fd
RH
10593 * doc/invoke.text: Add it.
10594
8f744ea9
DM
105952003-04-01 David Mosberger <davidm@hpl.hp.com>
10596
d78e771d
ZW
10597 * config/ia64/crti.asm: Clean up trailing whitespace.
10598 Remove trailing hashes (#) from identifiers.
8f744ea9 10599
d78e771d 10600 * config/ia64/crtn.asm: Ditto.
8f744ea9 10601
d78e771d
ZW
10602 * config/ia64/crtend.asm: Remove trailing hashes (#) from
10603 identifiers.
10604 (__do_global_ctors_aux): Align to 32-byte boundary. Add unwind
10605 directives. Drop explicit bundling---it just makes the code
10606 harder to read. Don't save/restore gp needlessly.
8f744ea9 10607
d78e771d
ZW
10608 * config/ia64/crtbegin.asm: Remove trailing hashes (#) from
10609 identifiers (they're only needed if the identifier would clash
10610 with a register name otherwise).
10611 (__do_global_dtors_aux): Align to 32-byte boundary. Add unwind
10612 directives. Drop explicit bundling---it just makes the code
10613 harder to read.
10614 (__do_jv_register_classes): Ditto.
10615 (.fini_array): Remove "progbits" (newer
10616 assemblers don't like wrong section-types).
10617 (.init_array): Ditto.
8f744ea9 10618
e129b3f9
RS
106192003-04-01 Roger Sayle <roger@eyesopen.com>
10620
10621 PR fortran/9974
15d4fd98 10622 * gcse.c (reg_killed_on_edge): New function to test whether the
e129b3f9
RS
10623 given reg is overwritten by any instruction queued on an edge.
10624 (bypass_block): Ignore substitutions killed on incoming edges.
10625 Don't bypass outgoing edges that have queued instructions.
10626
fe0002ee
AO
106272003-04-01 Alexandre Oliva <aoliva@redhat.com>
10628
10629 * real.h (EXP_BITS): Make room for...
10630 (struct real_value): ... added canonical bit.
10631 (struct real_format): Added pnan.
10632 (mips_single_format, mips_double_format, mips_extended_format,
10633 mips_quad_format): New.
10634 * real.c: Copy p to pnan in all formats.
10635 (get_canonical_qnan, get_canonical_snan): Set canonical bit.
10636 (real_nan): Use pnan to compute significand's shift.
10637 (real_identical): Disregard significand in canonical
10638 NaNs.
10639 (real_hash): Likewise. Take signalling into account.
10640 (encode_ieee_single, encode_ieee_double, encode_ieee_quad):
10641 Disregard significand bits in canonical NaNs. Set all bits of
10642 canonical NaN if !qnan_msb_set.
10643 (encode_ibm_extended, decode_ibm_extended): Likewise. Use
10644 qnan_msb_set to tell the base double format.
10645 (ibm_extended_format): Use 53 as pnan.
10646 (mips_single_format, mips_double_format, mips_extended_format,
10647 mips_quad_format): Copied from the corresponding ieee/ibm
10648 formats, with qnan_msb_set false.
10649 * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Use mips_extended_format.
10650 * config/mips/linux64.h (MIPS_TFMODE_FORMAT): Use mips_quad_format.
10651 * config/mips/mips.c (override_options): Use mips_single_format
10652 and mips_double_format. Default TFmode to mips_quad_format.
10653 * config/mips/t-linux64 (tp-bit.c): Define QUIET_NAN_NEGATED.
10654 * config/mips/t-irix6: Likewise.
10655 * config/mips/t-mips (fp-bit.c, dp-bit.c): Likewise.
10656 * config/fp-bit.c (pack_d, unpack_d): Obey it.
10657
481a8181
GK
106582003-04-01 Geoffrey Keating <geoffk@apple.com>
10659
10660 * unwind-dw2-fde-darwin.c (DESTRUCTOR_MAY_BE_CALLED_LIVE): New.
10661 (live_image_destructor): Reset image to initial state.
10662 (examine_objects): Set DESTRUCTOR_MAY_BE_CALLED_LIVE.
10663
375ffbe6
EB
106642003-04-01 Eric Botcazou <ebotcazou@libertysurf.fr>
10665
10666 * config/sparc/sparc.c (input_operand): Accept bare
10667 CONSTANT_P_RTX operands.
10668
47a3dae1
ZD
106692003-04-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
10670
10671 * gcse.c (struct ls_expr): Added pattern_regs field.
10672 (ldst_entry): Initialize it.
10673 (extract_mentioned_regs, extract_mentioned_regs_helper): New.
10674 (store_ops_ok): Use regs precomputed by them.
10675 (find_loads, store_killed_in_insn, load_kills_store): Change return
10676 type to bool.
10677 (store_killed_before, store_killed_after): Take position of register
10678 set in account.
10679 (reg_set_info): Store position of the setter.
10680 (gcse_main): Enable store motion.
10681 (mems_conflict_for_gcse_p): Enable load motion of non-symbol mems.
10682 (pre_insert_copy_insn, update_ld_motion_stores, insert_store): Prevent rtl
10683 sharing.
10684 (simple_mem): Enable store motion of non-symbol mems.
10685 (regvec): Type changed.
10686 (LAST_AVAIL_CHECK_FAILURE): New.
10687 (compute_store_table_current_insn): New.
10688 (build_store_vectors): Computation of availability and anticipatability
10689 moved ...
10690 (compute_store_table, find_moveable_store): ... here.
10691 (delete_store): Remove senseless comment.
10692 (store_motion): Reorganize.
10693
77d4f3a4
KB
106942003-04-01 Kevin Buettner <kevinb@redhat.com>
10695
10696 * config/mips/mips.c (override_options): Provide mappings for
10697 HI_REGNUM and LO_REGNUM.
10698 * config/mips/mips.h (MD_DBX_FIRST): Define.
10699
7d4444ea
FS
107002003-04-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10701
10702 * combine.c (merge_outer_ops): Fix typo.
10703
10704 * varasm.c (make_decl_one_only): Revert 2003-03-09 patch.
10705
9259f3b0
DE
107062003-04-01 David Edelsohn <edelsohn@gnu.org>
10707
10708 * config/rs6000/{40x.md,603.md,6xx.md,7450.md,7xx.md,mpc.md,
10709 power4.md,rios1.md,rios2.md,rs64.md}: Change mult_compare to
10710 imul_compare. Add lmul_compare.
10711 * config/rs6000/power4.md: Bump some latencies. Model extra cycle
10712 in second pair of dispatch slots. Model stores more accurately.
10713 Tweak multiply model. Add bypasses for CR instructions dependent
10714 on complicated compares.
10715 * config/rs6000/rs6000.md (mulsi3): Name imul_compare patterns.
10716 (muldi3): Add lmul_compare patterns.
10717 * config/rs6000/rs6000.c (rs6000_variable_issue): Move FPLOAD_UX
10718 and FPSTORE_UX to split instructions and add COMPARE,
10719 DELAYED_COMPARE, IMUL_COMPARE, LMUL_COMPARE, IDIV, LDIV.
10720 (rs6000_adjust_cost): Add IMUL_COMPARE and LMUL_COMPARE.
10721 (rs6000_rtx_costs): Separate POWER4 multiply case.
10722
7fe317e4
UW
107232003-04-01 Ulrich Weigand <uweigand@de.ibm.com>
10724
10725 * config/s390/s390.c (s390_fixup_clobbered_return_reg):
10726 Do nothing if __builtin_return_address was not used.
10727
e1fea6ee
JH
10728Tue Apr 1 18:18:23 CEST 2003 Jan Hubicka <jh@suse.cz>
10729
10730 * i386.md (test patterns): Allow memory operand in operand1.
10731
d744e06e
AH
107322003-02-31 Aldy Hernandez <aldyh@redhat.com>
10733
d78e771d
ZW
10734 * testsuite/gcc.c-torture/execute/simd-3.c: New.
10735
10736 * expr.c (expand_expr): Handle VECTOR_CST.
10737 (const_vector_from_tree): New.
10738
10739 * varasm.c (output_constant): Handle VECTOR_CST.
10740
10741 * c-typeck.c (digest_init): Build a vector constant from a
10742 VECTOR_TYPE.
10743
10744 * config/rs6000/rs6000.c: Remove prototype for
10745 easy_vector_constant.
10746 (easy_vector_constant): Add mode parameter. Rewrite to handle
10747 more easy constants.
10748 (rs6000_emit_move): Pass mode to easy_vector_constant.
10749 Call emit_easy_vector_insn for SPE V2SI vector constant moves.
10750 (emit_easy_vector_insn): New.
10751 (easy_vector_same): New.
10752 (EASY_VECTOR_15): New macro.
10753 (EASY_VECTOR_15_ADD_SELF): New macro.
10754 (bdesc_2arg): Rename to xorv2si3.
10755 (easy_vector_constant_add_self): New.
10756 (input_operand): Allow vector constants.
10757
10758 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
10759 easy_vector_constant, easy_vector_constant_add_self.
10760 (EXTRA_CONSTRAINT): Add 'W'.
10761
10762 * config/rs6000/rs6000-protos.h: Add prototype for
10763 easy_vector_constant, emit_easy_vector_insn.
10764
10765 * config/rs6000/altivec.md (xorv8hi3): New.
10766 (xorv16qi3): New.
10767 Remove all _const0 patterns.
10768 (movv4si_internal): Rewrite to use code. Add vector constant to
10769 vector alternative. Add splitter.
10770 (movv8hi_internal): Same.
10771 (movv16qi_internal): Same.
10772 (movv4sf_internal): Same.
10773 Change the unspecs for vspltis* to use constants.
10774
10775 * config/rs6000/spe.md ("xorv4hi3"): New.
10776 ("spe_evxor"): Rename to xorv2si3.
10777 ("xorv1di3"): New.
10778 Remove all _const0 patterns.
10779 (movv2si_internal): Rewrite to use code. Add vector constant to
10780 alternatives. Add splitter.
10781 (movv4hi_internal): Add vector constant to alternatives.
10782 (movv1di_internal): Same.
10783 (movv2sf_internal): Same.
d744e06e 10784
46e33d43
MM
107852003-03-31 Mark Mitchell <mark@codesourcery.com>
10786
10787 PR c/9936
10788 * c-decl.c (grokdeclarator): Clear SAVE_EXPR_CONTEXT for
10789 variably-sized arrays in parameters.
10790 (set_save_expr_context): New function.
10791 (c_expand_body): Use it, via walk_tree.
10792
73a39fc4
EC
107932003-03-31 Eric Christopher <echristo@redhat.com>
10794
10795 * combine.c (can_combine_p): Allow ZERO_EXTRACT and STRICT_LOW_PART.
10796 (combinable_i3pat): Remove call to expand_field_assignment and
10797 #if 0'd code.
10798
6b665219
MM
107992003-03-31 Mark Mitchell <mark@codesourcery.com>
10800
10801 PR c++/10278
10802 * c-common.c (finish_label_address_expr): Handle the
10803 error_mark_node.
10804
6c06208f
RH
108052003-03-31 Richard Henderson <rth@redhat.com>
10806
10807 * real.c (real_identical): Reorg so as to not compare
10808 signalling for normals.
10809
11789584
SC
108102003-03-31 Stephane Carrez <stcarrez@nerim.fr>
10811
10812 * config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
10813
c25292ce
SC
108142003-03-31 Stephane Carrez <stcarrez@nerim.fr>
10815
10816 * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
10817 notes as they are boggus.
10818 (m68hc11_gen_movqi): Likewise.
10819
07faf2d6
SC
108202003-03-31 Stephane Carrez <stcarrez@nerim.fr>
10821
10822 * config/m68hc11/m68hc11.c (expand_prologue): For an interrupt handler
10823 save the soft registers after the frame pointer so that gdb can unwind
10824 the frame more easily.
10825 (expand_epilogue): Likewise in opposite order; allow to use X register
10826 as scratch if the return value is by reference.
10827
adff28c3
JM
108282003-03-31 Jason Merrill <jason@redhat.com>
10829
10830 PR java/10145
10831 * stor-layout.c (update_alignment_for_field): Respect
10832 DECL_USER_ALIGN for zero-length bitfields, too.
10833 * c-decl.c (finish_struct): Don't set DECL_ALIGN for normal
10834 fields.
10835
c419b113
MA
108362003-03-31 Matt Austern <austern@apple.com>
10837
10838 * cpppch.c (struct cpp_savedstate): Add defs and n_defs members.
10839 (count_defs): Keep track of number of defs as well as total size.
10840 (write_defs): Put every definition in cpp_savedstate's defs array.
10841 (comp_hashnode): Define. Comparison function for qsort.
10842 (cpp_write_pch_deps): Sort definitions before writing them.
10843 (struct ht_node_list): Define. Like cpp_savedstate but simpler.
10844 (collect_ht_nodes): Define.
10845 (cpp_valid_state): When verifying that undefined identifiers in
10846 the pch file are still undefined, read a sorted list of undefined
10847 identifiers, collect all defined identifiers into a sorted list,
10848 and walk through both lists to make sure there's no match.
73a39fc4 10849
ef3a7d56
KH
108502003-03-31 Kazu Hirata <kazu@cs.umass.edu>
10851
10852 * config/h8300/h8300.md (a peephole2): New.
10853
5ccd517a
MM
108542003-03-31 Michael Matz <matz@suse.de>
10855
10856 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Change 1 into 0.
10857
108582003-03-31 Segher Boessenkool <segher@koffie.nl>
c8ae788f
SB
10859
10860 PR target/10177
10861 * config/rs6000/rs6000.h (HARD_REGNO_RENAME_OK): New.
10862 * config/rs6000/rs6000.c (compute_vrsave_mask): Don't mark
10863 all call-clobbered registers as used.
10864
7f1fc38e
MM
108652003-03-31 Michael Matz <matz@suse.de>
10866
10867 * cppexp.c (cpp_classify_number): Accept '.' after "0x".
10868 * testsuite/gcc.dg/cpp/c99-hexfloat-3.c: New file.
10869
27283c73
NS
108702003-03-31 Nathan Sidwell <nathan@codesourcery.com>
10871
10872 * gcov.c: Add -a & -u options.
10873 (struct arc_info): Add local_span, is_call_non_return,
10874 is_nonlocal_return, is_unconditional flags, remove is_call flag.
10875 (struct block_info): Add flags, is_call_site, is_nonlocal_return
10876 members. Make encodings a union with span member.
10877 (struct function_info): Add blocks_executed, line, src, line_next
10878 members.
10879 (struct coverage_info): Make branches a union with blocks member.
10880 (struct source_info): Add functions member.
10881 (object_summary, program_count): New global variables.
10882 (flag_all_blocks, flag_unconditional): New flags.
10883 (find_source, output_branch_count): New functions.
10884 (print_usage): Adjust.
10885 (options): Adjust.
10886 (process_args): Adjust.
10887 (read_graph_file) <GCOV_TAG_FUNCTION>: Adjust.
10888 <GCOV_TAG_BLOCKS>: Read flags.
10889 <GCOV_TAG_LINES>: Adjust.
10890 (read_count_file): Process SUMMARY tags.
10891 (solve_flow_graph): Set is_unconditional and clear is_call_site
10892 appropriately.
10893 (add_branch_counts): Adjust. Don't count unconditional branches.
10894 (add_line_counts): Deal with all-blocks mode, accumulate block
10895 coverage.
10896 (accumulate_line_counts): Adjust, generate local spanning tree for
10897 all-blocks mode.
10898 (output_lines): Adjust.
10899 * profile.c (branch_prob): Alter GCOV_FUNCTION_TAG record.
10900 * doc/gcov.texi: Document.
10901
212d9313
KH
109022003-03-31 Kazu Hirata <kazu@cs.umass.edu>
10903
63855aa6 10904 * config/h8300/h8300.md: Organize peephole2's that transform
212d9313
KH
10905 (compare (reg:HI) (const_int)).
10906
03f2ea93
RS
109072003-03-31 Roger Sayle <roger@eyesopen.com>
10908
10909 * emit-rtl.c (dconstm2, dconsthalf): New real constants.
10910 (init_emit_once): Initialize dconstm2 and dconsthalf here.
10911 * real.h (dconstm2, dconsthalf): Add prototypes here.
10912 * real.c (real_sqrt): Use dconsthalf rather than local copy.
10913 * builtins.c (fold_builtin): When optimizing sqrt(exp(x)) as
10914 exp(x/2.0) remember to fold the division if possible.
10915 Fold sin(0.0) as 0.0, cos(0.0) as 1.0, pow(x,1.0) as x,
10916 pow(x,-1.0) as 1.0/x, pow(x,2.0) as x*x, pow(x,-2.0) as
10917 1.0/(x*x) and pow(x,0.5) as sqrt(x).
10918
155de338
KH
109192003-03-31 Kazu Hirata <kazu@cs.umass.edu>
10920
10921 * config/h8300/h8300.md (a new peephole2): New.
10922
98d3d336
RS
109232003-03-31 Richard Sandiford <rsandifo@redhat.com>
10924
10925 * gcse.c (simple_mem): Return false for floating-point accesses
10926 if flag_float_store is true.
10927
6b2d1c9e
RS
109282003-03-30 Roger Sayle <roger@eyesopen.com>
10929
10930 * gcse.c (gcse_constant_p): New function to identify constants
10931 suitable for constant propagation, including COMPARE with two
10932 integer constant arguments.
10933 (hash_scan_set): Use gcse_constant_p.
10934 (find_avail_set): Likewise.
10935 (cprop_insn): Likewise.
10936 (do_local_cprop): Likewise.
10937 (find_implicit_sets): Likewise.
10938 (find_bypass_set): Likewise.
10939
af829441
MK
109402003-03-30 Matt Kraai <kraai@alumni.cmu.edu>
10941
10942 * except.h: Remove definition of varray_type.
10943
3d1f4922
RH
109442003-03-30 Richard Henderson <rth@redhat.com>
10945
10946 PR opt/10011, opt/10252:
d78e771d
ZW
10947 * toplev.c (rest_of_compilation): Run purge_builtin_constant_p
10948 before post-gcse cse pass.
3d1f4922 10949
9311f3f6
RS
109502003-03-30 Roger Sayle <roger@eyesopen.com>
10951
10952 * dojump.c (do_jump): Copy SUBREGs into a pseudo for comparison.
10953
ececa172
DD
109542003-03-30 DJ Delorie <dj@redhat.com>
10955
10956 * profile.c (instrument_edges): Make sure any newly created
10957 jump insns have correct jump label info.
10958
e1233a7d
RH
109592003-03-30 Richard Henderson <rth@redhat.com>
10960
10961 * cfgbuild.c (make_edges): Use tablejump_p.
10962 * cfgcleanup.c (label_is_jump_target_p): Likewise.
10963 * cfglayout.c (cfg_layout_can_duplicate_bb_p): Likewise.
10964 * cfgrtl.c (flow_delete_block_noexpunge): Likewise.
10965 (try_redirect_by_replacing_jump): Likewise.
10966 (redirect_edge_and_branch): Likewise.
10967 * cse.c (fold_rtx): Likewise.
10968 * jump.c (delete_related_insns): Likewise.
10969 * rtlanal.c (get_jump_table_offset): Likewise.
10970 * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): Likewise.
10971
78e68f88
GDR
109722003-03-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
10973
d78e771d
ZW
10974 * Makefile.in (STRICT_WARN): Don't warn for ISO C constructs.
10975 (STRICT2_WARN): Likewise.
73a39fc4 10976
15dda4d3
KG
109772003-03-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10978
10979 PR other/6955
10980 * collect2.c (collect_wait): Use WCOREDUMP and fix output message.
10981 * system.h (WCOREDUMP, WCOREFLG): Define if necessary.
10982
5bf92e20
RH
109832003-03-30 Richard Henderson <rth@redhat.com>
10984
10985 PR c/10083
10986 * config/alpha/alpha.md (umuldi3_highpart): Change to expander;
10987 don't zero_extend const inputs.
10988
9a8075a1
KH
109892003-03-30 Kazu Hirata <kazu@cs.umass.edu>
10990
10991 * reload1.c (reload_cse_move2add): Fix a comment typo.
10992
f3926c48
KH
109932003-03-30 Kazu Hirata <kazu@cs.umass.edu>
10994
10995 * config/h8300/h8300.md (a peephole2): Remove useless code.
10996
39ecf301
KH
109972003-03-29 Kazu Hirata <kazu@cs.umass.edu>
10998
10999 * config/h8300/h8300.md (*iorsi3_and_ashift): New.
11000 (*iorsi3_and_lshiftrt): Likewise.
11001 (*iorsi3_zero_extract): Likewise.
11002
d4048ff6
KH
110032003-03-29 Kazu Hirata <kazu@cs.umass.edu>
11004
11005 * config/h8300/h8300.md (*insv_si_8_8): New.
11006 (*insv_si_8_8_lshiftrt_8): Likewise.
11007 (a peephole2): Likewise.
11008
62d08205
GP
110092003-03-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11010
60ef8bdd 11011 * doc/contrib.texi: Add Eric Botcazou and Roger Sayle.
73a39fc4 11012 Uniformly use bugfix instead of bug fix.
60ef8bdd
GP
11013
110142003-03-29 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
73a39fc4 11015
62d08205
GP
11016 PR doc/895
11017 * ONEWS: Remove those items that already appear in the EGCS
11018 release notes on our web pages.
11019
e87a88d3
AM
110202003-03-29 Alan Modra <amodra@bigpond.net.au>
11021
11022 * config/rs6000/rs6000.h (FUNCTION_VALUE_REGNO_P): Respect
11023 TARGET_HARD_FLOAT. Reformat.
11024 (FUNCTION_ARG_REGNO_P): Likewise, and remove unneeded casts.
11025
ce4a8f7d
ACY
110262003-03-28 Albert Chin-A-Young <china@thewrittenword.com>
11027
11028 * gcc/fixinc/inclhack.def: Update solaris_mutex_init_1 to
11029 work on Solaris 2.5.1.
11030
12f76820
KH
110312003-03-28 Kazu Hirata <kazu@cs.umass.edu>
11032
11033 * config/h8300/h8300.md (*addsi3_and_r_1): Put under plus:SI
11034 section of h8300.md
11035 (*addsi3_and_nor_r_1): Likewise.
11036
7d798969
UW
110372003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
11038
11039 * config/s390/s390.c (s390_emit_prologoue): Make sure backchain is
11040 set up before any trapping memory access if flag_non_call_exceptions.
11041
00dcfe80
AM
110422003-03-29 Alan Modra <amodra@bigpond.net.au>
11043
11044 * reload1.c (reload_as_needed): Allow a USE in asm reloads.
11045
11046 * loop.c: (find_mem_in_note_1, find_mem_in_note): Comment.
11047
d869a8c4
NN
110482003-03-28 Nathanael Nerode <neroden@gcc.gnu.org>
11049
11050 * configure.in: Clarify comments.
11051 * configure: Regenerate.
11052
5c033b9f
UW
110532003-03-28 Ulrich Weigand <uweigand@de.ibm.com>
11054
73a39fc4 11055 * config/s390/s390.md ("literal_pool_31"): Output pool anchor
5c033b9f
UW
11056 label even if pool empty when generating PIC.
11057 ("literal_pool_31", "literal_pool_64"): Coding style cleanup.
11058
d18ad191
KH
110592003-03-28 Kazu Hirata <kazu@cs.umass.edu>,
11060 Dhananjay Deshpande <dhananjayd@kpit.com>
11061
11062 PR target/10205
11063 * config/h8300/h8300.c (h8300_initial_elimination_offset):
11064 Correct the offset computation when TARGET_NORMAL.
11065
0c85dbfd
EB
110662003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
11067
11068 PR target/10067
11069 * config/sparc/sparc.md (jump pattern): Correct order
11070 when issuing the annuling marker.
11071
f7670e7b
EB
110722003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
11073
11074 PR c/8281
11075 * config/sparc/sparc.md (movdi_insn_sp32_v9): Remove 'f-f' alternative.
11076 (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
11077
c9280dfe
AM
110782003-03-28 Alan Modra <amodra@bigpond.net.au>
11079
11080 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
11081 globalize_label.
11082 * config/arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
73a39fc4 11083 * config/i960/i960.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
c9280dfe
AM
11084 * config/m32r/m32r.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11085 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11086 * config/mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11087 * config/sparc/sparc.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
11088 * config/v850/v850.c (v850_output_aligned_bss): Likewise.
11089
e81eb37f
AM
110902003-03-28 Alan Modra <amodra@bigpond.net.au>
11091
11092 * loop.c: (find_mem_in_note_1, find_mem_in_note): New functions.
11093 (replace_loop_mems): Add "written" param. Remove invalid REG_EQUAL
11094 notes after hoisting.
11095 (load_mems): Adjust replace_loop_mems call.
11096
1ce324c3 110972003-03-28 Eric Botcazou <ebotcazou@libertysurf.fr>
d78e771d 11098 Richard Henderson <rth@redhat.com>
1ce324c3
EB
11099
11100 PR target/10114 and PR target/10084
11101 * dwarf2out.c (mem_loc_descriptor): Handle LO_SUM.
11102
c6cf19a8
RH
111032003-03-27 Richard Henderson <rth@redhat.com>
11104
11105 * config/alpha/alpha.md (adddi_er_high_l): Valid only after reload.
11106
9ddae796
RS
111072003-03-27 Roger Sayle <roger@eyesopen.com>
11108
11109 * fold-const.c (fold_inf_compare): New function to simplify FP
11110 comparisons against +Infinity or -Infinity.
11111 (fold): Optimize floating point comparisons against Infs and NaNs.
11112
01e60c33
JJ
111132003-03-27 Janis Johnson <janis187@us.ibm.com>
11114
11115 * libgcov.c: Provide only dummy functions if libc is not available.
11116
ad59ba20
RH
111172003-03-27 Richard Henderson <rth@redhat.com>
11118
11119 * real.h (struct real_value): Add signalling.
11120 (EXP_BITS): Decrement.
11121 * real.c (get_canonical_qnan): Don't set MSB-1.
11122 (get_canonical_snan): Likewise. Set signalling.
11123 (real_identical): Compare signalling.
11124 (round_for_format): Remove force-one-bit on code.
11125 (real_nan): Likewise. Set signalling.
11126 (encode_ieee_single): Add force-one-bit code; honor signalling.
11127 (encode_ieee_double, encode_ieee_extended, encode_ieee_quad): Likewise.
11128 (decode_ieee_single): Set signalling.
11129 (decode_ieee_double, decode_ieee_extended, decode_ieee_quad): Likewise.
11130
940bbb74
OH
111312003-03-27 Olivier Hainque <hainque@act-europe.fr>
11132
11133 PR ada/9953
11134 * ada/Makefile.in (gnatlib configuration for HPUX): Split
11135 the general section for HPUX into specific sections for
11136 HPUX 10 and HPUX 11. Fix the setting of TGT_LIB in the HPUX
11137 11 case.
11138
c7d325c8
GN
111392003-03-27 Glen Nakamura <glen@imodulo.com>
11140
11141 PR opt/10087
11142 * loop.c (loop_givs_reduce): Skip bivs with duplicate locations
11143 while incrementing giv.
11144 (record_biv): Check for duplicate biv locations and
11145 set (struct induction *) v->same if found.
11146
f18ab437
DM
111472003-03-27 David Mosberger <davidm@hpl.hp.com>
11148
d78e771d
ZW
11149 * unwind-libunwind.c (uw_frame_state_for): Adjust for libunwind
11150 v0.9 API change: replace read of UNW_REG_HANDLER with
11151 unw_get_proc_info().
11152 (_Unwind_GetLanguageSpecificData): Replace read of UNW_REG_LSDA
11153 with unw_get_proc_info().
11154 (_Unwind_GetRegionStart): Replace UNW_REG_PROC_START with
11155 unw_get_proc_info().
f18ab437 11156
eaff4b90
VM
111572003-03-27 Vladimir Makarov <vmakarov@redhat.com>
11158
11159 * config/rs6000/8540.md: Use presence_set instead of absence_set.
11160
3684a055
RH
111612003-03-26 Richard Henderson <rth@redhat.com>
11162
11163 * c-decl.c (finish_function): Always defer if DECL_DECLARED_INLINE_P.
11164
de132314
RS
111652003-03-26 Roger Sayle <roger@eyesopen.com>
11166
11167 PR bootstrap/10051, PR bootstrap/10169.
11168 * mips-tfile.c (init_file): Don't provide a static initializer.
11169 (initialize_init_file): Initialize the contents of init_file.
11170 (add_file): Call initialize_init_file if not already initialized.
11171
6f84708a
UW
111722003-03-26 Ulrich Weigand <uweigand@de.ibm.com>
11173
11174 * config/s390/s390.c (s390_optimize_prolog): Do not save/restore
11175 registers used for global asm variables.
11176 (s390_frame_info, s390_arg_frame_offset): Likewise.
11177 (s390_emit_prologue, s390_emit_epilogue): Likewise.
11178
5e8006fa
VM
111792003-03-26 Vladimir Makarov <vmakarov@redhat.com>
11180
d78e771d 11181 * config/rs6000/8540.md: New file.
73a39fc4 11182
5e8006fa
VM
11183 * config/rs6000/{40x.md, 603.md, 6xx.md, 7450.md, 7xx.md, mpc.md,
11184 power4.md, rios1.md, rios2.md, rs64.md}: Add mult_compare to
11185 reservations for imul.
11186
11187 * config/rs6000/rs6000.md: Include 8540.md. Change
11188 delayed_compare onto mult_compare for insns generating
11189 multiplication.
11190 (mult_compare, fpsimple, brinc, vecdiv, veccmpsimple, vecfdiv):
11191 New type attribute values.
11192
11193 * config/rs6000/spe.md (*negsf2_gp, *abssf2_gpr): Use type
11194 fpsimple instead of fp.
11195 (*divsf3_gpr): Use type vecfdiv instead of fp.
11196 (spe_evfsabs, spe_evfsnabs, spe_evfsneg): Use type vecsimple
11197 instead of vecfloat.
11198 (spe_evfsdive): Use type vecfdiv instead of vecfloat.
11199 (spe_brinc): Use type brinc instead of veccomplex.
11200 (spe_evaddw, spe_evaddiw): Use type vecsimple instead of
11201 veccomplex.
11202 (spe_evdivws, spe_evdivwu): Use type vecdiv instead of veccomplex.
11203 (*movv2si_internal, *movv1di_internal, *movv4hi_internal,
11204 *movv2sf_internal): Define type attribute values for all
11205 alternatives.
11206 (cmpsfeq_gpr, cmpsfgt_gpr, cmpsflt_gpr): Use type veccmp instead
11207 of fpcompare.
11208 (tstsfeq_gpr, tstsfgt_gpr, tstsflt_gpr): Use type veccmpsimple
11209 instead of fpcompare.
73a39fc4 11210
29ae9364
DE
112112003-03-26 David Edelsohn <edelsohn@gnu.org>
11212
11213 * config/rs6000/power4.md: Allow delay between dispatch and
11214 function units for simple instructions. Correct store units.
11215 Allow branch to occupy as many dispatch slots as necessary.
11216
be565ad7
JJ
112172003-03-26 Jakub Jelinek <jakub@redhat.com>
11218
11219 * config/ia64/ia64.c (ia64_expand_op_and_fetch): Fix comment.
11220 (ia64_expand_compare_and_swap): Use always DImode ar.ccv,
11221 zero extend old to it.
11222 * config/ia64/ia64.md (cmpxchg_acq_si): Remove mode from ccv
11223 operand.
11224
27e484bc
EB
112252003-03-26 Eric Botcazou <ebotcazou@libertysurf.fr>
11226
11227 PR target/7784
11228 * reload.c (find_reloads_address): Handle
11229 (PLUS (PLUS (REG) (REG)) (CONST_INT)) form for
11230 all base registers.
11231
b47161ec
MA
112322003-03-25 Marcelo Abreu <mmabreu@inf.ufrgs.br>
11233
11234 PR other/10203
11235 * version.c: Reference the GCC web site in the URL.
11236
611f0729
AM
112372003-03-26 Alan Modra <amodra@bigpond.net.au>
11238
11239 * c-incpath.c (add_standard_paths): Add both "translated" and
11240 non-translated header paths.
11241
e4e7d312
LR
112422003-03-25 Loren James Rittle <ljrittle@acm.org>
11243
11244 * doc/install.texi (*-*-freebsd*): Update with known status.
11245
2e2255ff
JM
112462003-03-21 Jason Merrill <jason@redhat.com>
11247
11248 PR optimization/10171
11249 * unroll.c (unroll_loop): Don't delete the jump at the end unless
11250 we also delete a jump at the beginning.
11251
8725a499
SC
112522003-03-25 Stephane Carrez <stcarrez@nerim.fr>
11253
11254 * doc/contrib.texi (Contributors): Mention self as 68HC11/68HC12
11255 contributor.
11256
3504dad3
JH
11257Tue Mar 25 20:35:51 CET 2003 Jan Hubicka <jh@suse.cz>
11258
11259 * i386.c (ix86_rtx_costs): For -fpic and x86-64 local symbolic
11260 constants are not expensive.
11261
cb9a1d9b
JH
11262Mon Mar 24 20:03:03 CET 2003 Jan Hubicka <jh@suse.cz>
11263
11264 PR opt/10056
11265 * cfglayout.c (fixup_reorder_chain): Fix dealing with the conditional
11266 jump jumping to the next instruction.
11267 * cfgrtl.c (force_nonfallthru_and_redirect): Likewise.
11268
d6d05f8d
GP
112692003-03-25 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11270
11271 * doc/passes.texi (Passes): Properly document that we do not
11272 perform jump2 any longer; remove command-line option -dJ.
11273
d2fc7725
EB
112742003-03-25 Eric Botcazou <ebotcazou@libertysurf.fr>
11275
11276 PR optimization/8746
11277 * config/i386/i386.md (and promoting splitters): Disable HImode to
11278 SImode promoting when the sign bit matters and is not preserved, or
11279 when TARGET_FAST_PREFIX is true. Disable promoting when optimizing
11280 for size.
11281
beb14cfe
KH
112822003-03-24 Kazu Hirata <kazu@cs.umass.edu>
11283
11284 * config/h8300/h8300.md (a peephole2): Extend to support loads
11285 in QImode and HImode.
11286
dbcedbc4
SC
112872003-03-24 Stephane Carrez <stcarrez@nerim.fr>
11288
11289 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Add _call_far and
11290 _return_far
11291 (MULTILIB_OPTIONS): Don't multilib on -mlong-calls.
11292 (MULTILIB_EXCEPTIONS): Likewise.
11293 * config/m68hc11/m68hc11.md ("call"): Support far calls for 68HC11
11294 by calling some board support routine.
11295 ("call_value"): Likewise.
11296 ("*return_void"): Likewise for return.
11297 ("*return_16bit"): Likewise.
11298 ("*return_32bit"): Likewise.
11299 * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Generate .far
11300 for 68HC11 too.
73a39fc4 11301 (DWARF2_ADDR_SIZE): Use 4 so that addresses can
dbcedbc4
SC
11302 * config/m68hc11/m68hc11.c (m68hc11_override_options): Accept
11303 -mlong-calls for 68HC11.
11304 * config/m68hc11/larith.asm (declare_near): New macro.
11305 (__premain, ___negsi2, ___one_cmplsi2, ___ashlsi3): Use it.
11306 (___ashrsi3, ___lshrsi3, ___lshrhi3, ___lshlhi3): Likewise.
11307 (___rotrhi3, ___rotlhi3, ___ashrhi3, ___ashrqi3): Likewise.
11308 (___lshlqi3, __divmodhi4, ___mulqi3, ___mulhi3): Likewise.
11309 (__mulhi32): Likewise.
11310 (ret): Update macro for 68HC11.
11311 (__far_trampoline): Implement for 68HC11.
11312 (__call_a16, __call_a32, __return_void, __return_16): New support
11313 routines for 68HC11 memory bank switching calling support.
11314 (__return_32): Likewise.
11315
696fe23c
NB
113162003-03-24 Neil Booth <neil@daikokuya.co.uk>
11317
11318 * toplev.c (independent_decode_option): Don't skip a 'Y' prefix.
11319
05253aed
JJ
113202003-03-24 Janis Johnson <janis187@us.ibm.com>
11321
11322 * doc/install.texi (Testing): Mention test result links from build
11323 status pages.
11324
f8928391
MM
113252003-03-24 Mark Mitchell <mark@codesourcery.com>
11326
11327 * function.c (put_var_into_stack): Change bool parameter to int.
11328 (gen_mem_addressof): Likewise.
11329 * rtl.h (gen_mem_addressof): Likewise.
11330 * tree.h (put_var_into_stack): Likewise.
11331 * config/alpha/alpha.c (alpha_gp_save_rtx): Adjust call to
11332 gen_mem_addressof or put_var_into_stack.
11333 * config/c4x/c4x.c (c4x_expand_builtin): Likewise.
11334 * config/ia64/ia64.c (spill_tfmode_operand): Likewise.
11335
b980d725
KH
113362003-03-24 Kazu Hirata <kazu@cs.umass.edu>
11337
11338 * config/h8300/h8300.md (a peephole2): New.
11339
2ff1fb45
JJ
113402003-03-24 Jakub Jelinek <jakub@redhat.com>
11341
11342 * dojump.c (do_jump): Handle UNSAVE_EXPR specially.
11343
8b5777db
GP
113442003-03-24 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11345
11346 * doc/contrib.texi (Contributors): Update Janis Johnson.
11347
02484af9
EB
113482003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr>
11349
11350 PR target/10072
11351 * combine.c (simplify_if_then_else): Check that the mode
11352 has MODE_INT class before applying the (OP Z (mult COND C2))
11353 transformation.
11354
941bc659
EB
113552003-03-23 Eric Botcazou <ebotcazou@libertysurf.fr>
11356
11357 PR optimization/9414
11358 * config/sparc/sparc.md (widening peepholes): Use
11359 widen_memory_access instead of change_address.
11360
f29a2bd1
MM
113612003-03-23 Mark Mitchell <mark@codesourcery.com>
11362
11363 PR c++/7086
11364 * c-typeck.c (c_mark_addressable): Adjust calls to
11365 put_var_into_stack.
11366 * expr.c (expand_expr): Likewise.
11367 * function.c (put_var_into_stack): Add rescan parameter. Do not
11368 call fixup_var_refs when rescan is false.
11369 (gen_mem_addressof): Likewise.
11370 (assign_parms): Adjust calls to put_var_into_stack.
11371 (setjmp_protect): Likewise.
11372 (setjmp_protect_args): Likewise.
11373 * rtl.h (gen_mem_addressof): Change prototype.
11374 * stmt.c (expand_decl): Adjust calls to put_var_into_stack.
11375 * tree.h (put_var_into_stack): Change prototype.
11376
fa9b4904
AB
113772003-03-23 Arpad Beszedes <beszedes@cc.u-szeged.hu>
11378
b099daeb 11379 PR middle-end/9967
fa9b4904
AB
11380 * builtins.c (expand_builtin_fputs): When optimizing for size,
11381 don't transform fputs into fwrite.
11382
068d2c9d
MM
113832003-03-23 Glen Nakamura <glen@imodulo.com>
11384
11385 PR c/8224
11386 * fold-const.c (extract_muldiv_1): Don't pass through type conversions
11387 when signedness changes for division or modulus.
11388
c967e28c
AM
113892003-03-24 Alan Modra <amodra@bigpond.net.au>
11390
11391 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Remove unnecessary
11392 globalize_label.
11393
766dec0e
RS
113942003-03-23 Roger Sayle <roger@eyesopen.com>
11395
11396 PR c/10178
11397 * stmt.c (expand_end_case_type): Check for overflow in range when
11398 determining whether to use a bit-test implementation.
11399
ef3e9886
RH
114002003-03-23 Richard Henderson <rth@redhat.com>
11401
11402 * cfgcleanup.c (try_optimize_cfg): Allow merging of tablejumps
11403 before flow2.
11404 * cfgrtl.c (try_redirect_by_replacing_jump): Similarly.
11405
bd2eae18
RH
114062003-03-23 Richard Henderson <rth@redhat.com>
11407
11408 PR opt/10116
11409 * ifcvt.c (find_if_block): Disallow tablejump insns outgoing
11410 from then_bb or else_bb after flow2.
11411
62c9aa5f
ZW
114122003-03-23 Zack Weinberg <zack@codesourcery.com>
11413
11414 * configure.in: Check whether it is necessary to link against
11415 libm to use ldexp.
11416 * configure: Regenerate.
11417 * Makefile.in: Add LDEXP_LIB substitution variable.
11418
4d1da12a
KH
114192003-03-23 Kazu Hirata <kazu@cs.umass.edu>
11420
11421 * config/h8300/h8300.md: Fix comment typos.
11422
7772f0a9
JDA
114232003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11424
11425 * pa.c (output_cbranch): Fix typo in comment.
11426
3ce6bef0
RH
114272003-03-22 Richard Henderson <rth@redhat.com>
11428
11429 * cfgcleanup.c (insns_match_p): Do not do EQUIV substitution
11430 after reload.
11431
7a9cdb10
DD
114322003-03-22 DJ Delorie <dj at redhat dot com>,
11433 Bruce Korb <bkorb at gnu dot org>
11434
11435 * fixinc/inclhack.def (solaris_mutex_init_1): New; Fix
11436 buggy Solaris 2.6 mutex/cond initializers.
11437 (solaris_mutex_init): Rename to solaris_mutex_init_2.
11438 * fixinc/fixincl.x: Regenerate.
11439 * fixinc/tests/base/pthread.h: Update.
00af168c
BK
11440 * fixinc/fixincl.c(initialize): be explicit about the default case
11441 and indicate verbose level when being very, very verbose.
11442 * fixinc/check.tpl(VERBOSE): provide a means for passing the value in
7a9cdb10 11443
8330e2c6
AJ
114442003-03-22 Andreas Jaeger <aj@suse.de>
11445
11446 * config/i386/i386.c (ix86_init_machine_status): Return value.
11447
02a57c73
JDA
114482003-03-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11449
11450 * pa.c (output_cbranch, output_bb, output_bvb): Output nop for
11451 conditional branch to the following instruction. Use next_real_insn
11452 instead of next_active_insn.
11453 (output_dbra, output_movb, jump_in_call_delay): Use next_real_insn
11454 instead of next_active_insn.
11455
97c6f7ad
UW
114562003-03-22 Ulrich Weigand <uweigand@de.ibm.com>
11457
c967e28c
AM
11458 * config/s390/s390.md ("movti", "*movdi_31", "*movdf_31"): Use 'o'
11459 instead of 'm' constraint in forced-split alternatives.
97c6f7ad
UW
11460 ("*adddi3_31", "*subdi3_31"): Likewise. Also, pass 0 instead of 1 as
11461 VALIDATE_ADDRESS parameter to operand_subword.
11462
c8fcf20c
KH
114632003-03-22 Kazu Hirata <kazu@cs.umass.edu>
11464
11465 * config/h8300/h8300.c (notice_update_cc): Correctly handle
11466 the case where the set destination is STRICT_LOW_PART.
11467
21c0e624
SS
114682003-03-22 Svein E. Seldal <Svein.Seldal@solidas.com>
11469
11470 * config/c4x/t-c4x (INSTALL_LIBGCC): Make gcc recognize a c33 as a
11471 c30 instead of a c40 processor.
11472
70e1b8fc
AM
114732003-03-22 Alan Modra <amodra@bigpond.net.au>
11474
11475 * combine.c (simplify_comparison <AND>): Use gen_int_mode. Tidy.
11476
d9b2742a
ZW
114772003-03-21 Zack Weinberg <zack@codesourcery.com>
11478
11479 * c-common.c: Include intl.h.
11480 (shadow_warning): Rewrite to allow better diagnostic translations.
11481 * c-common.h: Update prototype of shadow_warning. Declare sw_kind enum.
11482 * c-decl.c (warn_if_shadowing): Update calls to shadow_warning;
11483 use it throughout.
11484 * Makefile.in (c-common.o): Add intl.h.
11485
cbbf876b
NN
114862003-03-21 Nathanael Nerode <neroden@gcc.gnu.org>
11487
bea41393
NN
11488 * config.gcc: Remove 'float_format'.
11489
cbbf876b
NN
11490 * fixproto: Define NULL and size_t in generated stdlib.h and
11491 unistd.h. Kill unused required_stdlib_h, required_unistd_h.
11492 Rearrange file generation loop for readability. Generate time.h,
11493 string.h if missing.
11494 * tsystem.h: Include <string.h>, <time.h> unconditionally.
11495 * config.gcc: Blow away POSIX defines.
11496
84fcbe0a
SC
114972003-03-22 Stephane Carrez <stcarrez@nerim.fr>
11498
11499 * config/m68hc11/m68hc11.md ("call_value"): Fix trap check.
11500
639a8102
SC
115012003-03-22 Stephane Carrez <stcarrez@nerim.fr>
11502
11503 * config/m68hc11/m68hc11.h (ASM_DECLARE_FUNCTION_NAME): Fix typo in
11504 writing .interrupt command.
11505 * config/m68hc11/m68hc11.md ("call"): Look at the symbol to see
11506 if it's a far or near function.
11507 ("call_value"): Likewise.
11508 * config/m68hc11/m68hc11.c (m68hc11_attribute_table): Add far and
11509 near attributes.
11510 (m68hc11_handle_fntype_attribute): Accept attributes on methods.
11511 (m68hc11_override_options): Ignore -mlong-calls for 68HC11.
11512 (m68hc11_initial_elimination_offset): Set current_function_far
11513 according to attributes.
11514 (expand_prologue): Likewise.
11515 (trap_handler_symbol): New global to keep track of trap handlers.
11516 (m68hc11_encode_section_info): Mark symbol as far if needed; set
11517 trap symbol.
11518 (m68hc11_is_far_symbol): New function.
11519 (m68hc11_is_trap_symbol): New function.
11520 * config/m68hc11/m68hc11-protos.h (m68hc11_is_far_symbol): Declare.
11521 (m68hc11_is_trap_symbol): Declare.
11522
62c9aa5f 115232003-03-21 Jan Hubicka <jh@suse.cz>
d7394366
JH
11524
11525 * i386.c (ix86_compute_frame_layout): Recompute fast prologues
11526 only when amount of saved regs changed.
11527 (ix86_init_machine_status): Initialize use_fast_prologue_epilgoue_nregs.
11528 * i386.h (machine_function): New fields use_fast_prologue_epilgoue_nregs.
11529
62c9aa5f 115302003-03-21 Jan Hubicka <jh@suse.cz>
5dc96d60
JH
11531
11532 PR inline-asm/7916
11533 * function.c (instantiate_virtual_regs_lossage): New function.
11534 (instantiate_virtual_regs_1): Use it.
11535 (instantiate_virtual_regs): Do not continue in substition when insn has
11536 been deleted.
11537
c5c15353
KH
115382003-03-21 Kazu Hirata <kazu@cs.umass.edu>
11539
11540 * combine.c (make_field_assignment): Fix a warning.
11541
5c1c25f0
KH
115422003-03-21 Kazu Hirata <kazu@cs.umass.edu>
11543
11544 * config/h8300/h8300.md (*insv_si_1_n_lshiftrt_16): New.
11545
6b13641d
DJ
115462003-03-21 Dale Johannesen <dalej@apple.com>
11547
11548 * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Increase
11549 priority for R2 on Darwin.
11550 (HARD_REGNO_MODE_OK): Don't accept R31 for DFmode.
11551
6e814b8d
KH
115522003-03-21 Kazu Hirata <kazu@cs.umass.edu>
11553
11554 * combine.c (make_field_assignment): Remove unnecessary AND
11555 when storing into zero_extract.
11556
2d295af5
ZW
115572003-03-21 Zack Weinberg <zack@codesourcery.com>
11558
11559 * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.
11560 * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT.
11561 * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN
11562 in comment.
11563
c0510d84
DD
115642003-03-21 DJ Delorie <dj@redhat.com>
11565
11566 * optabs.c (init_integral_libfuncs): Make sure we init at least up
11567 to "long long" size words.
11568
fe86047c
UW
115692003-03-21 Ulrich Weigand <uweigand@de.ibm.com>
11570
11571 * config/s390/s390.h: Do not include fixdfdi.h on s390x.
11572 (TARGET_64BIT): Define as compile-time constant when IN_LIBGCC2.
11573 (MIN_UNITS_PER_WORD): Do not define when IN_LIBGCC2.
11574
526278c9
VR
115752003-03-21 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
11576
11577 PR doc-bug/9813
11578 * doc/extend.texi: Move misplaced paragraph about underscores in
11579 variables in macros.
11580
731458a4 115812003-03-21 Eric Botcazou <ebotcazou@libertysurf.fr>
2d295af5 11582 Richard Henderson <rth@redhat.com>
731458a4
EB
11583
11584 PR optimization/8366
11585 * config/sparc/sparc.h: (SYMBOLIC_CONST): New macro.
11586 (GO_IF_LEGITIMATE_ADDRESS): Use it. Reject the form
11587 PIC+SYMBOLIC_CONST in other modes than Pmode.
11588 (GO_IF_MODE_DEPENDENT_ADDRESS): Use it. Mark
11589 the form PIC+SYMBOLIC_CONST as mode dependent.
11590
f3cd0185
DD
115912003-03-21 DJ Delorie <dj@redhat.com>
11592
11593 * config/stormy16/stormy16.c (xstormy16_expand_arith): Make
11594 sure we always emit at least one insn.
11595
70e5e841
CF
115962003-03-21 Christopher Faylor <cgf@redhat.com>
11597
11598 * config.gcc (i[34567]86-*-cygwin*): Use new common makefile
11599 stub t-cygming. Use common target header cygming.h. Add extra
11600 c_target_obj and cxx_target_obj file. Default cygwin to posix
11601 threading. Enforce i386 as float format.
11602 (i[34567]86-*-mingw*): Use new common makefile stub t-cygming.
11603 Remove cygwin.h as target header. Use common target header
11604 cygming.h Enforce i386 as float format. Correct typo.
11605 * config/i386/cygming.h: New file, containing definitions
11606 common to mingw32 and cygwin.
11607 * config/i386/cygwin.h: Remove definitions common to cygwin and
11608 mingw. Simplify special spec logic. Define "wrappers" around
11609 certain include path defines to accommodate -mno-cygwin.
11610 Remove some #if 0'ed code.
2d295af5 11611 (STANDARD_INCLUDE_DIR) Always define when not cross-compiling.
70e5e841
CF
11612 (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin.
11613 (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan.
11614 * config/i386/mingw32.h: Remove definitions common to cygwin and
11615 mingw.
11616 (EXTRA_OS_CPP_BUILTINS): Adjust.
11617 (TARGET_VERSION): Define.
11618 * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override
11619 mingw32.h definitions.
11620 (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h.
11621 * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o.
11622 Add compilation rules for cygwin1.o cygwin2.o.
11623 * config/i386/cygwin1.c: New file.
11624 * config/i386/cygwin2.c: New file.
11625 * config/i386/t-cygming: New makefile stub.
11626
4bddea4c
RH
116272003-03-20 Richard Henderson <rth@redhat.com>
11628
11629 * fold-const.c (extract_muldiv_1): Revert changing order of
11630 operands in case MULT_EXPR of 2003-02-16 patch.
11631
b3411d7e 116322003-03-20 Daniel Berlin <dberlin@dberlin.org>
06790e5f 11633 Merge changes from new-regalloc-branch
b3411d7e
DB
11634
11635 From Michael Matz <matz@suse.de>
11636 * df.c (df_ref_record_1): Move init of loc to safe point.
11637 Only recurse on interesting things in parallels.
11638 Handle CLASS_CANNOT_CHANGE_MODE smarter.
11639 (df_uses_record): Ditto.
2d295af5 11640
b3411d7e
DB
11641 * df.h (DF_REF_MEM_OK): New enum member, used to mark ref's which
11642 it's already okay to use memory operands in (IE doesn't require
11643 adding another insn or anything).
11644
05d482b9
RH
116452003-03-20 Richard Henderson <rth@redhat.com>
11646
11647 PR middle-end/6348
11648 * explow.c (allocate_dynamic_stack_space): Handle STACK_SIZE_MODE
11649 different from word_mode.
11650
86a36a0e
KH
116512003-03-20 Kazu Hirata <kazu@cs.umass.edu>
11652
11653 * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
11654 source operand to those that can be extracted with bld.
11655
228692e2
RE
116562003-03-20 Richard Earnshaw <rearnsha@arm.com>
11657
11658 PR 10066
11659 * arm.md (UNSPEC_PIC_BASE): New constant.
11660 (pic_add_dot_plus_four): Wrap with unspec.
11661 (pic_add_dot_plus_eight): Likewise.
11662
d0940a55
KH
116632003-03-20 Kazu Hirata <kazu@cs.umass.edu>
11664
11665 * config/h8300/h8300.md (*insv_si_1_n): New.
11666 (*insv_si_1_n_lshiftrt): Likewise.
11667
c876997f
RS
116682003-03-20 Roger Sayle <roger@eyesopen.com>
11669
11670 * fold-const.c (fold_mathfn_compare): New function to simplify
11671 comparisons against built-in math functions. Fold comparisons
11672 of sqrt against constants.
11673 (fold): Call fold_mathfn_compare when appropriate.
11674
952a6df7
RE
116752003-03-20 Richard Earnshaw <rearnsha@arm.com>
11676
11677 * ifcvt.c (find_if_case_1): If we add a new bb, update the dominance
11678 information.
11679
8826ff0f
PB
116802003-03-20 Per Bothner <pbothner@apple.com>
11681
11682 Various cleanups to help compile server.
11683
b4e46cea
PB
11684 * cppinit.c (cpp_create_reader): Take extra hash_table* argument,
11685 and pass that to _cpp_init_hashtable.
11686 (cpp_read_main_file): Drop hash_table* argument; don't call
11687 _cpp_init_hashtable.
11688 * cpplib.h: Update declarations to match.
11689 * c-opts.c (c_common_init_options): Pass ident_hash to
11690 cpp_create_reader.
11691 (c_common_post_options): Don't pass ident_hash to cpp_read_main_file.
11692 * fix-header.c (read_scan_file): Likewise pass NULL table to
11693 cpp_create_reader rather than cpp_read_main_file.
11694
11695 * cppfiles.c (cpp_rename_file): Generalized and renamed
11696 to cpp_change_file.
11697 * cpplib.h: Update declaration to match.
11698 * c-opts.c (push_command_line_line, finish_options): Change
11699 cpp_rename_file calls to cpp_change_file.
2d295af5 11700
8826ff0f 11701 * line-map.c (add_line_map): Allow leaving the outermost file.
2d295af5 11702 Allowing entering an outermost-file after the initial time.
8826ff0f
PB
11703
11704 * toplev.c (pop_srcloc): Allow popping from initial file.
11705
015c3186
KH
117062003-03-20 Kazu Hirata <kazu at cs dot umass dot edu>
11707
11708 * fold-const.c (fold): Fold A - (A & B) into ~B & A.
11709
101cb92a
KH
117102003-03-20 Kazu Hirata <kazu@cs.umass.edu>
11711
11712 * config/h8300/h8300.md (a peephole2): New.
11713
f4613a2e
KH
117142003-03-20 Kazu Hirata <kazu@cs.umass.edu>
11715
11716 * config/h8300/h8300.md (*addsi3_and_r_1): New.
11717 (*addsi3_and_not_r_1): Likewise.
11718
31260fb8
LR
117192003-03-19 Loren James Rittle <ljrittle@acm.org>
11720
11721 * Makefile.in (STRICT2_WARN): Add @WERROR@.
11722 (GCC_WARN_CFLAGS): Remove $(WERROR).
11723 (fixinc.sh-warn): New.
11724 * ada/Make-lang.in (ada-warn): Add $(WERROR).
11725 * cp/Make-lang.in (cp-warn): Add $(WERROR).
11726 * f/Make-lang.in (f-warn): Add $(WERROR).
11727 * java/Make-lang.in (java-warn): Add $(WERROR).
11728 * treelang/Make-lang.in (treelang-warn): Add $(WERROR).
11729
2bd3ecad
NN
117302003-03-19 Nathanael Nerode <neroden@gcc.gnu.org>
11731
11732 * c-common.h (c_dump_tree), c-dump.c (c_dump_tree),
11733 langhooks-def.h (lhd_tree_dump_dump_tree),
11734 langhooks.c (lhd_tree_dump_dump_tree), langhooks.h (*dump_tree):
11735 Change return type from 'int' to 'bool'. Replace 0 and 1 with
11736 true and false in return statements.
11737
9eb0ef7a
KB
117382003-03-19 Kevin Buettner <kevinb@redhat.com>
11739
11740 * dwarf2out.c (DWARF_INITIAL_LENGTH_SIZE): Define.
11741 (DWARF_COMPILE_UNIT_HEADER_SIZE): Take into account
11742 DWARF_INITIAL_LENGTH_SIZE.
11743 (output_compilation_unit_header, output_pubnames, output_aranges)
11744 (output_line_info): Output 0xffffffff escape value for 64-bit
11745 DWARF extension.
11746 * config/mips/iris6.h (DWARF_INITIAL_LENGTH_SIZE): Define.
11747
8b5642e0 117482003-03-19 Ulrich Weigand <uweigand@de.ibm.com>
0796c16a
UW
11749
11750 * config/s390/s390.c (s390_preferred_reload_class): Do not
11751 force constants to the pool unless necessary.
11752 (s390_decompose_address): Prefer to use pointer as base,
11753 not index register.
11754 * config/s390/s390.md ("*tsthiCCT_only"): Remove '?' from
11755 Q alternative.
2d295af5 11756 ("*movdi_64", "*movsi", "movhi", "movqi_64", "movqi",
0796c16a
UW
11757 "*movdf_64", "*movsf"): Add '?' to Q->Q alternatives.
11758 ("*extractqi", "*extracthi", "*zero_extendhisi2_31",
11759 "*zero_extendqisi2_31", "*zero_extendqihi2_31",
11760 "*adddi3_31", "*subdi3_31"): Do not set "type" attribute.
11761
62c9aa5f 117622003-03-19 Jan Hubicka <jh@suse.cz>
d9b40e8d
JH
11763
11764 * i386.h (machine_function): New fields use_fast_prologue_epilogue.
11765 * i386.c (use_fast_prologue_epilogue): Remove.
11766 (ix86_frame): New field save_regs-using_mov;
11767 (ix86_compute_frame_layout): Decide on fast prologues;
11768 allocate saved registers in red zone.
11769 (ix86_expand_epilogue, ix86_expand_prolgoues): Obey new parameters.
11770
31488c64
NC
117712003-03-19 Nick Clifton <nickc@redhat.com>
11772
11773 * config/mcore/mcore.h (CPP_SPEC): Remove trailing semi-colon.
11774
685d0e07
JDA
117752003-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
11776
11777 PR 10062
11778 * config/pa/pa-hpux.h (TARGET_HPUX_UNWIND_LIBRARY): Redefine.
11779 * pa-protos.h (output_lbranch): New prototype.
11780 * pa.c (compute_frame_size): Change size of the frame marker on the
11781 64-bit ports to 48 bytes.
11782 (pa_output_function_prologue): Document why SAVE_SP is set.
11783 (hppa_expand_prologue): Save previous stack pointer into frame marker
11784 on targets which use the hpux unwind library.
11785 (output_cbranch): Use output_lbranch.
11786 (output_lbranch): New function to output long unconditional branches.
11787 * pa.h (TARGET_HPUX_UNWIND_LIBRARY): Define.
11788 (STACK_POINTER_OFFSET): Update offset for 48-byte frame marker on
11789 64-bit ports.
11790 * pa.md (jump): Use output_lbranch.
11791 (allocate_stack): New expander for dynamic stack allocation.
11792
6a04f4e0
AM
117932003-03-19 Alan Modra <amodra@bigpond.net.au>
11794
178274da
AM
11795 * config/rs6000/rs6000.c (rs6000_stack_info): Only require a frame
11796 when debugging on XCOFF targets. Delete "abi" temp.
11797
6a04f4e0
AM
11798 PR target/10073
11799 * combine.c (force_to_mode <NOT>): Use gen_int_mode.
11800
6b2300b3
JJ
118012003-03-18 Jakub Jelinek <jakub@redhat.com>
11802
11803 * config/s390/s390.c (s390_output_dwarf_dtprel): New.
11804 * config/s390/s390-protos.h (s390_output_dwarf_dtprel): New proto.
11805 * config/s390/s390.h (ASM_OUTPUT_DWARF_DTPREL): Define.
11806
11807 * config/ia64/ia64.c (ia64_output_dwarf_dtprel): New.
11808 * config/ia64/ia64-protos.h (ia64_output_dwarf_dtprel): New proto.
11809 * config/ia64/ia64.h (ASM_OUTPUT_DWARF_DTPREL): Define.
11810
5ba6918e
GK
118112003-03-18 Geoffrey Keating <geoffk@apple.com>
11812
6788f5ca
GK
11813 * config/rs6000/rs6000.c (rs6000_emit_prologue): Don't clone
11814 the result of machopic_function_base_name.
11815 * config/darwin.c (machopic_function_base_name): Use a gc-allocated
11816 string rather than a static array.
11817
5ba6918e
GK
11818 * Makefile.in (emit-rtl.o): Add gt-emit-rtl.h to dependencies.
11819
11820 * gengtype.c: Include rtl.h.
11821 (enum rtx_code): Don't define.
11822 (rtx_format): Make declaration match rtl.h.
11823 (rtx_next_new): Rename from rtx_next to avoid conflict. Change all
11824 users.
11825 (adjust_field_rtx_def): Describe strings in NOTE_LINE_NUMBER notes.
11826 * Makefile.in (gengtype.o): Update dependencies.
11827
e0ec941e
AS
118282003-03-18 Andreas Schwab <schwab@suse.de>
11829
11830 * config/m68k/m68k.md (iordi3): Fix setting low half to -1. From
11831 martin@blom.org.
11832
8291cc0e
GK
118332003-03-18 Geoffrey Keating <geoffk@apple.com>
11834
f83b236e
GK
11835 * function.c (next_block_index): Mark with GTY.
11836
8291cc0e
GK
11837 * config/rs6000/rs6000.md (macho_correct_pic): Correct pattern.
11838
b39eb2f9
RH
118392003-03-18 Richard Henderson <rth@redhat.com>
11840
11841 * config/ia64/ia64.md (UNSPECV_SETJMP_RECEIVER): New.
11842 (builtin_setjmp_receiver): Delay call to ia64_reload_gp
11843 until after reload.
11844
6c537d03
RH
118452003-03-18 Richard Henderson <rth@redhat.com>
11846
11847 * builtins.c (expand_builtin_unop): New target_mode operand;
11848 use it to convert the result to the correct mode.
11849 (expand_builtin): Update all callers.
11850
fe03d631
UW
118512003-03-18 Ulrich Weigand <uweigand@de.ibm.com>
11852
11853 * config/s390/s390.md ("movti", "movhi", "movqi"): Add "type" attribute.
11854
62c9aa5f 118552003-03-18 Jan Hubicka <jh@suse.cz>
45183e03 11856
75fbf7d9
JH
11857 * i386.md: Fix previous commit that mistakely applied the patch
11858 twice.
11859
45183e03
JH
11860 * alias.c (rtx_equal_for_memref_p): Assume that X and Y has been
11861 canonicalized.
11862 (memrefs_conflict_p): Likewise.
11863 (addr_side_effect_eval): Canonicalize the constructed address.
11864
62c9aa5f 118652003-03-18 Jan Hubicka <jh@suse.cz>
8dfa3bb0
JH
11866
11867 * i386.md (cvtts?2si peep2): New.
11868
1e788887
KH
118692003-03-18 Kazu Hirata <kazu@cs.umass.edu>
11870
11871 * config/h8300/h8300.md (*iorsi3_two_qi_zext): New.
11872
94e001a9
AS
118732003-03-18 Andreas Schwab <schwab@suse.de>
11874
11875 * dwarf2out.c (output_file_names): Cast size_t to unsigned long
11876 for format.
11877
bdaa131b
JM
118782003-03-17 Jason Merrill <jason@redhat.com>
11879
11880 PR c++/10091
11881 * expr.c (expand_expr) [ADDR_EXPR]: Disallow taking the address of
11882 an unaligned member of TREE_ADDRESSABLE type.
11883
ffcfcb5f
AM
118842003-03-18 Alan Modra <amodra@bigpond.net.au>
11885
11886 * config/rs6000/linux64.h (MASK_PROFILE_KERNEL): Define.
11887 (TARGET_PROFILE_KERNEL): Define.
11888 (SUBTARGET_SWITCHES): Handle -mprofile-kernel.
11889 (PROFILE_BEFORE_PROLOGUE): Don't define.
11890 (PROFILE_KERNEL): Remove hacks.
11891 * config/rs6000/rs6000.c (TARGET_PROFILE_KERNEL): Define default.
11892 (rs6000_stack_info): No need to save lr if just for profiling when
70e1b8fc
AM
11893 TARGET_PROFILE_KERNEL.
11894 (output_profile_hook): Output nothing when TARGET_PROFILE_KERNEL.
ffcfcb5f
AM
11895 (output_function_profiler): Localize label generation. Emit code
11896 for kernel profiling.
11897
9b98dc74
KH
118982003-03-17 Kazu Hirata <kazu@cs.umass.edu>
11899
11900 * config/h8300/h8300-protos.h: Add a prototype for
11901 byte_accesses_mergeable_p.
11902 * config/h8300/h8300.c (byte_accesses_mergeable_p): New.
11903 * config/h8300/h8300.md (*iorhi3_two_qi_mem): Likewise.
11904 (a splitter): Likewise.
11905 (*iorsi3_ashift_16_ashift_24): Likewise.
11906 (*iorsi3_ashift_16_ashift_24_mem): Likewise.
11907
d41c4351
KG
119082003-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11909
11910 * dwarf2asm.h: Delete obsolete comment.
11911 (dw2_asm_output_data, dw2_asm_output_delta, dw2_asm_output_offset,
11912 dw2_asm_output_pcrel, dw2_asm_output_addr,
11913 dw2_asm_output_addr_rtx, dw2_asm_output_encoded_addr_rtx,
11914 dw2_asm_output_nstring, dw2_asm_output_data_uleb128,
11915 dw2_asm_output_data_sleb128, dw2_asm_output_delta_uleb128,
11916 dw2_asm_output_delta_sleb128): Add ATTRIBUTE_NULL_PRINTF.
11917
6970c06a
ZW
119182003-03-17 Zack Weinberg <zack@codesourcery.com>
11919
11920 * c-tree.h (struct lang_identifier): Remove error_locus field.
11921 (IDENTIFIER_ERROR_LOCUS): Kill.
11922 (record_function_scope_shadow): New prototype.
11923 * c-typeck.c (build_external_ref): Don't complain if
11924 decl is error_mark_node. When not at file scope, bind the
11925 decl's local value to error_mark_node to suppress further
11926 warnings, instead of setting IDENTIFIER_ERROR_LOCUS.
11927
11928 * c-decl.c (get_function_binding_level): New static function.
11929 (record_function_scope_shadow): New exported function.
11930 (c_make_fname_decl): Use get_function_binding_level.
11931
405a98aa
SE
119322003-03-17 Steve Ellcey <sje@cup.hp.com>
11933
11934 * stmt.c (tail_recursion_args): Call promote_mode to set
11935 unsignedp flag correctly before calling convert_move.
11936
df86c7e2
ZD
119372003-03-17 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
11938
11939 * loop-unroll.c (decide_peel_completely,
11940 decide_unroll_constant_iterations, decide_unroll_stupid,
11941 decide_unroll_runtime_iterations, decide_peel_simple): Set
11942 loop->has_desc.
11943
62c9aa5f 119442003-03-17 Jan Hubicka <jh@suse.cz>
dbccdc42
JH
11945
11946 * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.
11947
b36a8cc2
OH
119482003-03-17 Olivier Hainque <hainque@act-europe.fr>
11949
11950 * function.c (assign_parms): For a struct value address passed as
11951 first argument, delay the function's result RTL setup code until
11952 after the emission of parameter conversions.
6970c06a 11953
94833648
DL
119542003-03-17 Dave Love <fx@gnu.org>
11955 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
aeefc21d
DL
11956
11957 * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Define __digital__,
11958 __arch64__ to match Compaq cc.
11959
783e2989
NB
119602003-03-17 Neil Booth <neil@daikokuya.co.uk>
11961
11962 * c-opts.c: Default TARGET_EBCDIC to 0 if not defined.
11963 (c_common_init): Set EBCDIC in cpp options.
11964 * cpplex.c (maybe_read_ucs, cpp_parse_escape): Use EBCDIC option,
11965 not conditional compilation.
11966 * cpplib.h (struct cpp_options): New entry EBCDIC.
11967
72ecfc60
NB
119682003-03-17 Neil Booth <neil@daikokuya.co.uk>
11969
11970 * fix-header.c (read_scan_file): Need to malloc arguments to add_path.
11971
47009d11
MH
119722003-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11973
11974 * function.c (thread_prologue_and_epilogue_insns): Set delete_unused
11975 argument to 0 for redirect_jump.
47009d11 11976
bafb714b
MM
119772003-03-16 Mark Mitchell <mark@codesourcery.com>
11978
11979 PR c++/8805
11980 * except.c (eh_region_u_cleanup): Add prev_try.
11981 (expand_eh_region_end_cleanup): Set it.
11982 (reachable_handlers): Use it to skip over cleanup blocks.
11983
30492adf
AJ
119842003-03-17 Andreas Jaeger <aj@suse.de>
11985
11986 * Makefile.in (TAGS): Remove obsolete handling of =*.[chy].
11987
7b3464ee
AM
119882003-03-17 Alan Modra <amodra@bigpond.net.au>
11989
11990 * config/rs6000/linux64.h (TARGET_64BIT): Redefine.
11991 (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Likewise.
11992 (SUBTARGET_SWITCHES, SUBTARGET_OPTIONS): Likewise.
11993 (SUBTARGET_OVERRIDE_OPTIONS, CPP_SYSV_SPEC): Likewise.
11994
4f5c0f7e
RH
119952003-03-16 Richard Henderson <rth@redhat.com>
11996
6970c06a
ZW
11997 * simplify-rtx (simplify_binary_operation): Don't abort for
11998 SS_PLUS, US_PLUS, SS_MINUS, US_MINUS.
4f5c0f7e 11999
3c298c88
RH
120002003-03-16 Richard Henderson <rth@redhat.com>
12001
6970c06a
ZW
12002 * config/i386/i386.md (movstrictqi, movstrictqi_1): Check
12003 optimize_size as well.
3c298c88 12004
fe91bac5
SC
120052003-03-16 Stephane Carrez <stcarrez@nerim.fr>
12006
12007 * config/m68hc11/m68hc11.c (print_operand): Handle 'b' modifier
12008 for D register to specify the low part of it, aka B.
12009 (m68hc11_gen_movhi): Use REG_WAS_0 note and increment or decrement
12010 the register if we are loading 1 or -1 to it; avoid using temp
12011 register when moving X/Y to Y/X.
12012 (m68hc11_gen_movqi): Likewise.
12013 (m68hc11_check_z_replacement): Fix last insn setting for compare case.
12014
ddc67067
MM
120152003-03-14 Mark Mitchell <mark@codesourcery.com>
12016
12017 PR optimization/9016
12018 * config/i386/i386.c (ix86_expand_move): Force more CONST_DOUBLEs
12019 into the constant pool.
12020
0a71919d
FH
120212003-03-16 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
12022
12023 PR target/9164
12024 * tree.c (get_narrower): For extensions with unchanged bit number,
12025 return the unsignedness of the outer mode.
12026
46ea50cb
RS
120272003-03-16 Roger Sayle <roger@eyesopen.com>
12028
12029 * c-typeck.c (build_component_ref): Turn "for" into "do .. while"
12030 to avoid "may be used uninitialized" warning on ia64-hpux.
12031 * config/ia64/ia64-c.c: Include "tm_p.h" for function prototypes.
12032
012c387f
AJ
120332003-03-16 Andreas Jaeger <aj@suse.de>
12034
12035 * configure.in: Improve check for memcheck.h.
12036 * configure: Regenerated.
12037
7d1c4aae
NB
120382003-03-16 Neil Booth <neil@daikokuya.co.uk>
12039
12040 * doc/cppopts.texi: Remove documentation of -A-.
12041
e20798d1
ZW
120422003-03-15 Zack Weinberg <zack@codesourcery.com>
12043
12044 * doc/libgcc.texi: Remove @tie.
12045
4af16369
JZ
120462003-03-15 Josef Zlomek <zlomekj@suse.cz>
12047
12048 * rtl.h (subrtx_p): Renamed to rtx_referenced_p.
12049 (rtx_pair): Added new element update_label_nuses, renamed to
12050 replace_label_data.
12051 * cfgcleanup.c (outgoing_edges_match, try_crossjump_to_edge): Use
12052 replace_label_data instead of rtx_pair.
12053 * loop.c (load_mems): Likewise.
12054 * rtlanal.c (replace_label): Replace label in pool constants and in
12055 INSN_LIST (in REG_LABEL note).
12056 (subrtx_p): Renamed to rtx_referenced_p.
12057 (subrtx_p_1): Renamed to rtx_referenced_p_1, compare the interior of
12058 LABEL_REF with CODE_LABEL, traverse constants from pool.
12059
d2184e79
AH
120602003-03-15 Aldy Hernandez <aldyh@redhat.com>
12061 Zack Weinberg <zack@codesourcery.com>
12062
12063 * Makefile.in (TEXI_GCCINT_FILES): Add libgcc.texi.
12064 * doc/libgcc.texi: New file.
12065 * doc/interface.texi: Delete paragraph about libgcc interface.
12066 * doc/gccint.texi: Add libgcc menu entry and @include libgcc.texi.
12067
8cadae7e
JM
120682003-03-15 Jason Merrill <jason@redhat.com>
12069
ae0e5982
JM
12070 PR debug/9039
12071 * dwarf2out.c (gen_decl_die): Ignore frontend tree codes.
12072
8cadae7e
JM
12073 PR debug/6387
12074 * dwarf2out.c (dwarf2out_decl): If we're at -g1, just stick nested
12075 function DIEs at toplevel.
12076 (decls_for_scope): At -g1, don't descend into subblocks.
12077
2436a91b
UW
120782003-03-15 Ulrich Weigand <uweigand@de.ibm.com>
12079
12080 * varasm.c (struct rtx_const): Change type of un.addr member
12081 to struct holding an additional 'symbol' member.
12082 (decode_rtx_const): Re-enable optimization to count SYMBOL_REFs
12083 with equal string addresses as equal.
12084 (simplify_subtraction): Adapt to struct rtx_const change.
12085
151c68c3
NB
120862003-03-15 Neil Booth <neil@daikokuya.co.uk>
12087
12088 * fix-header.c (read_scan_file): Read main file before handling -D.
12089
6a87d634
RS
120902003-03-15 Roger Sayle <roger@eyesopen.com>
12091
12092 * c-cppbuiltin.c (builtin_define_with_value_n): Fix whitespace.
12093 * c-typeck.c (c_tree_expr_nonnegative_p): Likewise.
12094 * cfgbuild.c (find_many_sub_basic_blocks): Likewise.
12095 (find_sub_basic_blocks): Likewise.
12096 * cgraphunit.c (cgraph_expand_functions): Likewise.
12097 * dwarf2out.c (prune_unused_types): Likewise.
12098 * expr.c (store_field): Likewise.
12099 * genextract.c (print_path): Likewise.
12100 * haifa-sched.c (schedule_insn): Likewise.
12101 * lcm.c (compute_antinout_edge): Likewise.
12102 * loop-unroll.c (decide_peel_once_rolling): Likewise.
12103 * ra-colorize.c (ra_colorize_free_all): Likewise.
12104 * ra-debug.c (dump_igraph): Likewise.
12105 (debug_hard_reg_set): Likewise.
12106 * reg-stack.c (reg_to_stack): Likewise.
12107 * rtlanal.c (refers_to_regno_p): Likewise.
12108 * tracer.c (layout_superblocks): Likewise.
12109
49c46444
NB
121102003-03-15 Neil Booth <neil@daikokuya.co.uk>
12111
12112 * fix-header.c (read_scan_file): Fix thinko.
12113
1fe668e5
GN
121142003-03-15 Glen Nakamura <glen@imodulo.com>
12115
12116 * reload1.c (choose_reload_regs): Use && instead of ||
12117 with REG_CANNOT_CHANGE_MODE_P condition.
12118
c1bad961
NB
121192003-03-15 Neil Booth <neil@daikokuya.co.uk>
12120
12121 * Makefile.in: Update.
12122 * c-common.h (cb_register_builtins): Rename c_cpp_builtins.
12123 * c-lex.c (init_c_lex): Register builtins hook is dead.
12124 * c-opts.c (COMMAND_LINE_OPTIONS, missing_arg): Handle -A, -D and -U.
12125 (c_common_decode_option): Don't call cpp_handle_option.
12126 Handle -A, -D and -U.
12127 (handle_deferred_opts): Simplify.
12128 (finish_options): Define builtins and command line macros.
12129 * c-ppoutput.c (init_pp_output): Register builtins hook is dead.
12130 * cppinit.c: Don't include intl.h.
12131 (init_builtins): Rename cpp_init_builtins. No hook to call.
12132 (init_library): Don't need to sort options.
12133 (cpp_create_reader): Don't set pending.
12134 (cpp_destroy): Don't free pending.
12135 (struct pending_option, cl_directive_handler, struct cpp_pending,
12136 APPEND, free_chain, new_pending_directive, parse_option, opt_comp,
12137 cpp_finish_options, COMMAND_LINE_OPTIONS, DEF_OPT, struct cl_option,
12138 cl_options, cpp_handle_option): Remove.
12139 * cpplib.h (struct cpp_pending, register_builtins, cpp_handle_option,
12140 cpp_finish_options): Remove.
12141 (cpp_init_builtins): New.
12142 * fix-header.c (read_scan_file): Update to handle -D. Fix
12143 handling of -I. Replace call to cpp_finish_options.
12144
d8eed979
MH
121452003-03-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12146
12147 PR optimization/9387
12148 * function.c (thread_prologue_and_epilogue_insns): Use redirect_jump
12149 for conditional returns.
12150
af75fb67
JM
121512003-03-14 Jason Merrill <jason@redhat.com>
12152
12153 PR optimization/6871
12154 * varasm.c (assemble_variable): Leave constant zeroes in .rodata.
12155
255c10b1
NB
121562003-03-14 Neil Booth <neil@daikokuya.co.uk>
12157
12158 * c-opts.c (finish_options): New.
12159 (COMMAND_LINE_OPTIONS, c_common_decode_option): Add -imacros.
12160 (missing_arg): Handle OPT_include and OPT_imacros.
12161 (c_common_init, c_common_parse_file): Use finish_options.
12162 (handle_deferred_opts): Update.
12163 * cppinit.c (struct cpp_pending): Remove imacros_head and imacros_tail.
12164 (cpp_finish_options): Don't handle -imacros here.
12165 (no_fil): Remove.
12166 (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -imacros.
12167
027fbf43
JJ
121682003-03-14 Jakub Jelinek <jakub@redhat.com>
12169
12170 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Don't call
12171 rs6000_maybe_dead if !fromprolog.
12172
23345bbb
NB
121732003-03-14 Neil Booth <neil@daikokuya.co.uk>
12174
12175 * Makefile.in: Update.
12176 * c-common.h (fe_file_change, pp_file_change): New.
12177 * c-lex.c (init_c_lex): Don't set cb_file_change.
12178 (c_common_parse_file): Move to c-opts.c.
12179 (cb_file_change): Rename fe_file_change.
12180 * c-opts.c: Include debug.h.
12181 (warn_unused_macros, include_cursor): New.
12182 (push_command_line_include, cb_file_change): New.
12183 (COMMAND_LINE_OPTIONS): Handle -include.
12184 (c_common_decode_option): Use local warn_unused_macros.
12185 Handle OPT_include.
12186 (c_common_post_options): Set file change callback.
12187 (handle_deferred_opts): Skip -include. Don't free the array.
12188 (c_common_init): Call cpp_finish_options here, and push an
12189 initial -include file.
12190 * c-ppoutput.c (cb_file_change): Rename pp_file_change.
12191 (preprocess_file): Don't call cpp_finish_options.
12192 (init_pp_output): Don't set the file change callback.
12193 (pp_file_change): Return if no line commands or no output.
12194 * cpphash.h (next_include_file, first_unused_line): Remove.
12195 * cppinit.c (include_head, include_tail): Remove.
12196 (cpp_destroy): Don't free -include chain.
12197 (cpp_finish_options): Don't handle -include, or worry about
12198 -Wunused-macros.
12199 (_cpp_maybe_push_include_file): Remove.
12200 (COMMAND_LINE_OPTIONS, cpp_handle_option): Don't handle -include.
12201 * cpplib.c (_cpp_pop_buffer): Don't handle -include.
12202 * cppmacro.c (_cpp_warn_if_unused_macro, _cpp_create_definition):
12203 Used flag is set based upon the state of the warn_unused_macros
12204 flag, and so use of first_unused_line is unnecessary.
12205
62c9aa5f 122062003-03-13 Jan Hubicka <jh@suse.cz>
cd648cec
JH
12207
12208 * cselib.c (clear_table): Do not take argument; always clear just
12209 used slots.
12210 (cselib_process_insn): Update call of clear_table
12211 (cselib_init): Do not call clear_table.
12212 (cselib_finish): Clear table.
12213
12214 * cse.c (count_reg_usage): Do not check side_effects_p.
12215 * rtlanal.c (set_noop_p): Check side_effects_p only when set looks
12216 like noop.
12217 (find_reg_equal_equiv_note): Do not use find_reg_note.
12218
35d9c403
RH
122192003-03-14 Richard Henderson <rth@redhat.com>
12220
12221 PR target/9700
1fe668e5 12222 * config/alpha/alpha.c (alpha_va_start): Account for
35d9c403
RH
12223 current_function_pretend_args_size in the AP offset.
12224
12225 * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Move out of line.
12226 (INITIAL_ELIMINATION_OFFSET): Move out of line.
12227 * config/alpha/alpha.c (alpha_setup_incoming_varargs): New.
12228 (alpha_initial_elimination_offset) New.
12229 * config/alpha/alpha-protos.h: Update.
12230
f43f4314
JJ
122312003-03-14 Jakub Jelinek <jakub@redhat.com>
12232
12233 * stmt.c (expand_start_case): Call emit_queue ().
12234
35d9c403
RH
122352003-03-14 Chris Demetriou <cgd@broadcom.com>
12236 Alexandre Oliva <aoliva@redhat.com>
a0a89ed0
CD
12237
12238 * config/mips/mips.h (FUNCTION_PROFILER): _mcount() doesn't pop 2
12239 words in new abis.
12240
f650843f
EB
122412003-03-14 Eric Botcazou <ebotcazou@libertysurf.fr>
12242
12243 PR optimization/8396
12244 * tree-inline.c (initialize_inlined_parameters): Make sure the value
12245 of read-only constant arguments is passed with the right type.
12246
a721a601
SB
122472003-03-14 Steven Bosscher <steven@gcc.gnu.org>
12248
12249 * doc/extend.texi (Function Names): Make the example compilable.
12250
a12f8290
DE
122512003-03-13 David Edelsohn <edelsohn@gnu.org>
12252
12253 * config/rs6000/rs6000.c (processor_target_table): Really allow
12254 GP optional instructions on Power4.
12255
122562003-03-13 Roger Sayle <roger@eyesopen.com>
36dbb93d
RS
12257
12258 * calls.c (flags_from_decl_or_type): Factor and remove redundant
12259 conditional tests.
12260
c4775f82
MS
122612003-03-13 Mike Stump <mrs@apple.com>
12262
12263 * ggc-page.c (struct page_entry): Remove varray.h header.
12264 Add index_by_depth field.
12265 Remove save_in_use_p field.
12266 (struct globals): Add depth_in_use, depth_max, by_depth_in_use,
12267 by_depth_max, by_depth, and save_in_use fields.
12268 (INITIAL_PTE_COUNT): Add.
12269 (save_in_use_p_i): Add.
12270 (save_in_use_p): Add.
12271 (adjust_depth): Add.
12272 (move_ptes_to_front): Add.
12273 (push_depth): Add.
12274 (push_by_depth): Add.
12275 (prefetch): Add.
12276 (free_page): Add support for and use faster data structures.
12277 (ggc_alloc): Likewise.
12278 (init_ggc): Likewise.
12279 (ggc_recalculate_in_use_p): Likewise.
12280 (ggc_pop_context): Likewise.
12281 (clear_marks): Likewise.
12282 (ggc_pch_read): Likewise.
12283 * Makefile.in (ggc-page.o): Remove varray.h.
12284
3bed2930
NN
122852003-03-13 Nathanael Nerode <neroden@gcc.gnu.org>
12286
7210d5ae
NN
12287 * ChangeLog: Rotated last year's entries to...
12288 * ChangeLog.8: New.
12289
1fe668e5 12290 * config/ia64/fde-glibc.c, config/ia64/freebsd.h,
3bed2930
NN
12291 config/ia64/hpux.h, config/ia64/hpux_longdouble.h,
12292 config/ia64/ia64-c.c, config/ia64/ia64-modes.def,
12293 config/ia64/ia64-protos.h, config/ia64/ia64.c,
12294 config/ia64/ia64.h, config/ia64/ia64.md,
12295 config/ia64/itanium1.md, config/ia64/itanium2.md,
12296 config/ia64/quadlib.c, config/ia64/unwind-ia64.c,
12297 config/ia64/unwind-ia64.h: It's GCC, not GNU CC.
12298
3bd104d1
AH
122992003-03-13 Aldy Hernandez <aldyh@redhat.com>
12300
d2184e79
AH
12301 * config/rs6000/rs6000.c (rs6000_dwarf_register_span):
12302 Differentiate endianness.
12303 (s6000_override_options): Use cpu type instead of TARGET_SPE.
3bd104d1 12304
2ed0b52a
NC
123052003-03-13 Nick Clifton <nickc@redhat.com>
12306
b17fe233 12307 * config/arm/arm.c (print_multi_reg): Do not generate a type 2
d2184e79
AH
12308 LDM instructions with writeback enabled.
12309 (output_return_instruction): Likewise.
b17fe233 12310
2ed0b52a
NC
12311 * config/arm/pe.h (FIXED_REGISTERS): Remove definition.
12312 (CALL_USED_REGISTERS): Remove definition.
12313 (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define.
12314
f1384257
AM
123152003-03-13 Alan Modra <amodra@bigpond.net.au>
12316
12317 * config/rs6000/rs6000.c (rs6000_flag_pic): Delete.
12318 (rs6000_xcoff_encode_section_info): #ifdef TARGET_XCOFF.
12319 (rs6000_binds_local_p, TARGET_BINDS_LOCAL_P): #if TARGET_MACHO.
12320 (rs6000_override_options): Don't clear flag_pic for ABI_AIX.
12321 (rs6000_legitimize_address): Formatting.
12322 (rs6000_emit_move): Likewise.
12323 (rs6000_return_addr): Test ABI_AIX as well as flag_pic.
12324 (rs6000_emit_prologue <save_LR_around_toc_setup>): Likewise.
12325 (rs6000_elf_select_section): Comment reason for shlib being
12326 set for ABI_AIX.
12327 (rs6000_elf_unique_section): Likewise.
12328 (rs6000_elf_encode_section_info): Test !TARGET_AIX as well as ABI_AIX.
12329 * config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Test ABI_AIX
12330 as well as flag_pic.
12331 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
12332 (MINIMAL_TOC_SECTION_ASM_OP): Likewise.
12333 * config/rs6000/linux64.h (TARGET_ENCODE_SECTION_INFO): Don't define.
12334
599aedd9
RH
123352003-03-13 Richard Henderson <rth@redhat.com>
12336
12337 * emit-rtl.c (try_split): Handle 1-1 splits of call insns properly.
12338
12339 * config/ia64/ia64.c (TARGET_FUNCTION_OK_FOR_SIBCALL): New.
12340 (ia64_gp_save_reg): Remove.
12341 (struct ia64_frame_info): Move to the beginning of the file;
12342 add reg_save_gp.
12343 (ia64_expand_call): Rearrange for new call patterns.
12344 (ia64_reload_gp): New.
12345 (ia64_split_call): New.
12346 (ia64_compute_frame_size): Allocate reg_save_gp.
12347 (ia64_expand_prologue): Save reg_save_gp.
12348 (ia64_expand_epilogue): Don't restore gp.
12349 (ia64_hard_regno_rename_ok): Remove R4 hack.
12350 (ia64_function_ok_for_sibcall): New.
1fe668e5 12351 (ia64_output_mi_thunk): Set reload_completed, no_new_pseudos;
599aedd9
RH
12352 call try_split on sibcall pattern.
12353 * config/ia64/ia64-protos.h: Update.
12354 * config/ia64/ia64.md (call_nogp, call_value_nogp, sibcall_nogp):
12355 Rename from nopic versions. Confiscate 2nd argument to call as
12356 a marker.
12357 (call_pic, call_value_pic, sibcall_pic): Remove.
12358 (call_gp, call_value_gp, sibcall_gp): New.
12359 (builtin_setjmp_setup): Remove.
12360 (builtin_setjmp_receiver): Call ia64_reload_gp.
12361
e7d9d16b
NN
123622003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
12363
1fe668e5 12364 * config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
2ff8f7ac
NN
12365 config/dsp16xx/dsp16xx.h, config/dsp16xx/dsp16xx.md: Replace
12366 "GNU CC" with "GCC".
12367
4db9c756
NN
12368 * config/c4x/c4x-c.c, config/c4x/c4x-modes.def,
12369 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
12370 config/c4x/c4x.md, config/c4x/libgcc.S, config/c4x/rtems.h:
12371 GCC, not GNU CC.
12372
63b025a5
NN
12373 * genattrtab.h, hosthooks-def.h, hosthooks.h, langhooks-def.h,
12374 langhooks.h, tree-inline.h: Replace "GNU CC" with "GCC".
12375
54a7b573
NN
12376 * c-pch.c, dummy-conditions.c, genautomata.c, genconditions.c,
12377 langhooks.c, tree-inline.c, unwind-dw2-fde-darwin.c,
12378 unwind-dw2-fde-glibc.c, unwind-libunwind.c, vmsdbgout.c: Replace
12379 "GNU CC" with "GCC".
12380
301ee2f3
NN
12381 * config/v850/lib1funcs.asm, config/v850/rtems.h,
12382 config/v850/v850-c.c, config/v850/v850-protos.h,
12383 config/v850/v850.c, config/v850/v850.h, config/v850/v850.md:
12384 GCC, not GNU CC.
12385
e7d9d16b
NN
12386 * config/vax/bsd.h, config/vax/elf.h, config/vax/netbsd-elf.h,
12387 config/vax/netbsd.h, config/vax/openbsd.h, config/vax/openbsd1.h,
12388 config/vax/ultrix.h, config/vax/vax-protos.h, config/vax/vax.c,
12389 config/vax/vax.h, config/vax/vax.md, config/vax/vaxv.h: GCC, not
12390 GNU CC.
12391
93c98498
BK
123922003-03-12 Benjamin Kosnik <bkoz@redhat.com>
12393
12394 * cpppch.c (cpp_valid_state): Use DL_WARNING_SYSHDR, not DL_WARNING.
12395
e531258e
NN
123962003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
12397
706ae11c
NN
12398 * fixinc/fixinc.interix: Remove dead code (most of it).
12399 * fixinc/fixinc.dgux: Remove.
12400
e531258e
NN
12401 * ginclude/float.h, ginclude/iso646.h, ginclude/stdarg.h,
12402 ginclude/stdbool.h, ginclude/stddef.h: GCC, not GNU CC.
12403
eab9e742
JDA
124042003-03-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12405
12406 * pa.c (pa_init_builtins): Fix warning.
12407
03d0dce1
SE
124082003-03-12 Steve Ellcey <sje@cup.hp.com>
12409
12410 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR): Remove.
12411 (ASM_OUTPUT_XDATA_SHORT): Remove.
12412 (ASM_OUTPUT_XDATA_INT): Remove.
12413 (ASM_OUTPUT_XDATA_DOUBLE_INT): Remove.
12414 (ASM_OUTPUT_ADDR_DIFF_ELT): Handled 32 bit address diffs.
12415 (ASM_PREFERRED_EH_DATA_FORMAT): Handle 32 bit EH pointers.
12416 (CASE_VECTOR_MODE): Handle 32 bit pointers in case statement.
12417
847311f4
AL
124182003-03-12 Andrew Lewycky <andrew@mxc.ca>
12419
12420 PR c++/7050
12421 * expr.c (store_expr): Don't attempt to store void-typed trees,
12422 just evaluate them for side effects.
12423
c19b12cb
NB
124242003-03-12 Neil Booth <neil@daikokuya.co.uk>
12425
12426 * cppfiles.c (cpp_rename_file, cpp_push_include): New.
12427 * cppinit.c (push_include): Move with changes to cppfiles.c.
12428 (cpp_read_main_file): Mark named operators here...
12429 (cpp_finish_options): ...not here. Update.
12430 (_cpp_maybe_push_include_file): Update.
12431 * cpplib.h (cpp_push_include, cpp_rename_file): New.
12432
ad9c4d9f
NN
124332003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
12434
847311f4
AL
12435 * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,
12436 _gcc_COMPUTE_GAS_VERSION.
12437 * configure.in: Use them.
12438 * configure: Regenerate.
ad9c4d9f 12439
8d49831d
BW
124402003-03-12 Bob Wilson <bob.wilson@acm.org>
12441
d2184e79 12442 * config/xtensa/xtensa.md (adddi3): Don't clobber source operand used
8d49831d 12443 to detect carry.
d2184e79 12444 (subdi3): Reorder emitted instructions.
8d49831d 12445
bfa2615f
AJ
124462003-03-12 Andreas Jaeger <aj@suse.de>
12447
12448 * config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Remove call to
12449 NETBSD_OS_CPP_BUILTINS_LP64.
12450
73458fb7
NN
124512003-03-12 Nathanael Nerode <neroden@gcc.gnu.org>
12452
12453 * Makefile.in: Eliminate all.indirect. Update and clean up comments.
12454 Rearrange. Reorganize.
12455 * configure.in: Rearrange.
12456 * configure: Regenerate.
12457
00530a21
AJ
124582003-03-12 Andreas Jaeger <aj@suse.de>
12459
d2184e79
AH
12460 * c-cppbuiltin.c (cb_register_builtins): Define LP64 builtins for
12461 LP64 targets.
00530a21 12462
d2184e79
AH
12463 * doc/cpp.texi (Common Predefined Macros): Document __LP64__ and
12464 _LP64.
00530a21 12465
d2184e79
AH
12466 * config/ia64/ia64.h (TARGET_CPU_CPP_BUILTINS): Do not define
12467 _LP64 macros here.
12468 * config/pa/pa.h (TARGET_CPU_CPP_BUILTINS): Likewise.
00530a21 12469
d2184e79
AH
12470 * config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Remove call to
12471 NETBSD_OS_CPP_BUILTINS_LP64.
12472 * config/sh/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
12473 * config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Likewise.
00530a21 12474
d2184e79 12475 * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_LP64): Remove.
00530a21 12476
62c9aa5f 124772003-03-12 Jan Hubicka <jh@suse.cz>
5474eed5
JH
12478
12479 * i386.c (ix86_setup_incoming_varargs): Set stack_alignment_needed to 128.
12480
8c35a61a 124812003-03-12 Daniel Jacobowitz <drow@mvista.com>
59a7f9bf
DJ
12482
12483 Fix PR target/9797 and PR c/9853.
12484 * stmt.c (expand_decl_init): Call push_temp_slots () and
12485 pop_temp_slots ().
12486
62c9aa5f 124872003-03-12 J"orn Rennecke <joern.rennecke@superh.com>
1aa03f38
R
12488
12489 * sh.c: Include basic-block.h.
12490 (sh_output_mi_thunk, emit_load_ptr): New functions.
12491 (TARGET_ASM_OUTPUT_MI_THUNK, TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine.
12492
6f8c9bd1
NC
124932003-03-12 Nick Clifton <nickc@redhat.com>
12494
12495 * config/arm/pe.h (FIXED_REGISTERS): Add Maverick registers.
12496 (CALL_USED_REGISTERS): Likewise.
12497 * config/arm/arm.h (FIRST_PSEUDO_REGISTER): Update comment
12498 describing how this value is calculated.
12499
b2522d2b
HPN
125002003-03-12 Hans-Peter Nilsson <hp@bitrange.com>
12501
12502 * configure.in (rlim_t): Define to long if no valid definition
12503 found in sys/resource.h.
12504 * config.in, configure: Regenerate.
12505
f7248b51
NB
125062003-03-12 Neil Booth <neil@daikokuya.co.uk>
12507
12508 * config/mcore/mcore-elf.h (CPP_PREDEFINES): Replace with
12509 TARGET_OS_CPP_BUILTINS.
12510 * config/mcore/mcore-pe.h: Similarly.
12511 * config/mcore/mcore.h: Replace CPP_PREDEFINES and part of
12512 CPP_SPEC with TARGET_CPU_CPP_BUILTINS.
12513
8a7d6cb3
EB
125142003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
12515
12516 PR c/9928
12517 * c-decl.c (duplicate_decls): Discard the initializer of the new decl
12518 only if it is a VAR_DECL.
12519
db1077d3
EB
125202003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
12521
12522 PR optimization/9888
12523 * config/i386/i386.md (jcc_1): Fix range.
12524 (jcc_2): Likewise.
12525 (jump): LIkewise.
12526 (doloop_end_internal): Likewise.
12527
6ca23bff 125282003-03-12 Danny Smith <dannysmith@users.sourceforge.net>
1fe668e5 12529
6ca23bff
DS
12530 * config/i386/winnt.c (DLL_IMPORT_PREFIX): New define.
12531 Use throughout instead of DLL_IMPORT_EXPORT_PREFIX and "e."
12532 (DLL_EXPORT_PREFIX): New define. Use throughout instead of
12533 DLL_IMPORT_EXPORT_PREFIX and "i."
12534 (i386_pe_dllexport_name_p): Here.
12535 (i386_pe_dllimport_name_p): Here.
d2184e79 12536 (i386_pe_mark_dllexport): Here. Remove DLL_IMPORT_PREFIX,
6ca23bff
DS
12537 not 9 chars when getting identifier name.
12538 (i386_pe_mark_dllimport): Here.
12539 (i386_pe_encode_section_info): Here. Remove DLL_IMPORT_PREFIX,
12540 not 9 chars when getting identifier name. Correct comment.
12541 (i386_pe_strip_name_encoding): Here. Add comments for different
12542 cases.
12543 (gen_fastcall_suffix): Break down xmalloc() argument to
12544 components.
12545 (gen_stdcall_suffix): Likewise.
12546 Update copyright year.
12547
9b73c90a
EB
125482003-03-12 Eric Botcazou <ebotcazou@libertysurf.fr>
12549
12550 PR optimization/9888
12551 * config/i386/i386.md (movsi_1): Remove special alternatives
12552 for %eax register.
12553 (movsi_1_nointernunit): Likewise.
12554 (movhi_1): Likewise.
12555 * config/i386/i386.c (memory_address_length): Do not use
12556 short displacement when there is no base.
12557 (ix86_attr_length_address_default): Handle LEA instructions.
12558
21282b1e
NB
125592003-03-12 Neil Booth <neil@daikokuya.co.uk>
12560
12561 * c-cppbuiltin.c (builtin_define_std): Make non-static.
12562
7358f10d
LR
125632003-03-11 Loren James Rittle <ljrittle@acm.org>
12564
12565 * config/freebsd-spec.h (FBSD_CPP_PREDEFINES): Remove.
12566 (FBSD_TARGET_OS_CPP_BUILTINS): New port-specific macro.
12567 (FBSD_TARGET_CPU_CPP_BUILTINS): New port-specific macro.
12568 * config/freebsd.h (CPP_PREDEFINES): Remove.
12569 (TARGET_OS_CPP_BUILTINS): New.
12570 * config/alpha/freebsd.h: Use overridden FBSD_TARGET_CPU_CPP_BUILTINS
12571 instead of TARGET_OS_CPP_BUILTINS.
12572 * config/sparc/freebsd.h (CPP_PREDEFINES): Remove.
12573
d00bc0a2
GK
125742003-03-11 Geoffrey Keating <geoffk@apple.com>
12575
12576 * c-cppbuiltin.c (builtin_define_std): Add ATTRIBUTE_UNUSED.
12577
9b7b447f
AH
125782003-03-11 Aldy Hernandez <aldyh@redhat.com>
12579
d2184e79
AH
12580 * config/rs6000/rs6000.c (rs6000_stack_info): Remove
12581 insn_chain_scanned. Use insn_chain_scanned_p in machine_function.
9b7b447f 12582
d2184e79 12583 * config/rs6000/rs6000.h (machine_function): Add insn_chain_scanned_p.
9b7b447f 12584
62c9aa5f 125852003-03-11 Alexandre Oliva <aoliva@redhat.com>
18a47d21
AO
12586
12587 * toplev.c (independent_decode_option): Return success for --help,
12588 --target-help and --version.
12589
62c9aa5f 125902003-03-11 Alexandre Oliva <aoliva@redhat.com>
c0a579df
AO
12591
12592 * config/mips/linux64.h (DRIVER_SELF_SPECS): Add endian_spec.
12593 Default to -mips3 on -mabi=64. Don't add -mips* flag if -march is
12594 specified.
12595 (SUBTARGET_ASM_SPEC): Remove -mips*-adding code obviated by
12596 DRIVER_SELF_SPECS.
12597 (LINK_SPEC): Let endian options affect the linker emulation name.
12598
62c9aa5f 125992003-03-11 J"orn Rennecke <joern.rennecke@superh.com>
ea45c4b0
R
12600
12601 * sh.md (reload_inqi): Fix mode for source in second set.
12602
62c9aa5f 126032003-03-11 Jan Hubicka <jh@suse.cz>
7101fb18
JH
12604
12605 * cselib.c (cselib_invalidate_mem_1): Move too ...
12606 (cselib_invalidate_mem): ... here; use new list
12607 (dummy_val, first_containing_mem): New static variables.
12608 (clear_table): Initialize first_containing_mem.
12609 (discard_useless_values): Compact the containing_mem list.
12610 (add_mem_for_addr): Add to the list.
12611 * cselib.h (cselib_val): Add next_containing_mem.
12612
b5044283
AH
126132003-03-11 Aldy Hernandez <aldyh@redhat.com>
12614
d2184e79
AH
12615 * config/rs6000/rs6000.c (rs6000_override_options): Disable string
12616 instructions for e500.
b5044283 12617
cd6a5007
NB
126182003-03-11 Neil Booth <neil@daikokuya.co.uk>
12619
12620 * Makefile.in: Update.
12621 * c-cppbuiltin.c: Include tm_p.h.
12622
41f3a930
AH
126232003-03-11 Aldy Hernandez <aldyh@redhat.com>
12624
d2184e79 12625 * doc/tm.texi (Frame Registers): Document DWARF_REG_TO_UNWIND_COLUMN.
41f3a930 12626
d2184e79
AH
12627 * unwind-dw2.c (DWARF_REG_TO_UNWIND_COLUMN): Define.
12628 (_Unwind_GetGR): Use DWARF_REG_TO_UNWIND_COLUMN.
12629 (_Unwind_SetGR): Same.
12630 (_Unwind_GetGRPtr): New.
12631 (_Unwind_SetGRPtr): New.
12632 (uw_update_context_1): Use accesor functions instead of accessing
12633 context->reg[] directly.
12634 (uw_install_context_1): Same.
12635 (execute_cfa_program): Same.
12636 (__frame_state_for): Same.
41f3a930 12637
d2184e79
AH
12638 * config/rs6000/rs6000.c (spe_synthesize_frame_save): Use 1200 as
12639 the synthetic register offset.
41f3a930 12640
d2184e79 12641 * config/rs6000/rs6000.h (DWARF_REG_TO_UNWIND_COLUMN): New.
41f3a930 12642
d2f55c5c
HPN
126432003-03-11 Hans-Peter Nilsson <hp@axis.com>
12644
12645 * config/cris/cris.md: Remove lingering EGCS reference.
12646 ("*extopqihi_side_biap"): For HI operation, match
12647 cris_additive_operand_extend_operator, not
12648 cris_operand_extend_operator. Adjust condition.
12649 ("*extopqihi_side", "*extopqihi"): Ditto.
12650 ("*extopqisi_side_biap"): Correct operand numbers in condition.
12651 ("*extophisi_side_biap", "*extopqisi_swap_side_biap"): Ditto.
12652 ("*extophisi_swap_side_biap", "*extopqisi_swap"): Ditto.
12653 ("*extophisi_swap"): Ditto.
12654 ("*extopqihi_swap_side_biap"): For HI operation, match a simple
12655 PLUS, not cris_operand_extend_operator. Adjust condition and
12656 output template.
12657 ("*extopqihi_swap_side", "*extopqihi_swap"): Ditto.
12658 * config/cris/cris.h (PREDICATE_CODES): Add
12659 cris_additive_operand_extend_operator.
12660 * config/cris/cris.c (cris_additive_operand_extend_operator):
12661 New predicate.
12662
37bd08f8
HP
126632003-03-11 Hartmut Penner <hpenner@de.ibm.com>
12664
12665 * df.c (read_modify_subreg_p): Change from static to global.
12666 * df.h (read_modify_subreg_p): Add prototype.
12667 * sched-deps.c (sched_analyze_1): Generate true dependency for
1fe668e5 12668 strict_low_part, certain subregs and zero/sign_extract.
37bd08f8 12669
cb60f38d
NB
126702003-03-11 Neil Booth <neil@daikokuya.co.uk>
12671
12672 * Makefile.in: Update.
12673 * c-common.c: Don't include real.h or except.h.
12674 (REGISTER_PREFIX): Remove.
12675 (builtin_define_std, builtin_define_with_value,
12676 builtin_define_with_int_value, builtin_define_with_hex_fp_value,
12677 builtin_define_type_max, builtin_define_type_precision,
12678 builtin_define_float_constants): Move to c-cppbuiltin.c.
12679 (c_stddef_cpp_builtins): New.
12680 * c-common.h (builtin_define_with_value, c_stddef_cpp_builtins): New.
12681 * c-cppbuiltin.c: New, extracted from c-common.c.
12682 (define__GNUC__): New.
12683 * cppspec.c (lang_specific_driver): Remove support of -no-gcc.
12684 * gcc.c: Remove support of %v1, %v2 and %v3 specs.
12685 (cpp_unique_options): Don't support no-gcc.
12686 (do_spec_1): Remove support of version specs.
12687 * doc/invoke.texi: Remove documentation of %v1, %v2 and %v3.
12688 * doc/passes.texi: Update.
12689 * doc/tm.texi: Update.
12690
31ca3635
AH
126912003-03-10 Aldy Hernandez <aldyh@redhat.com>
12692
d2184e79 12693 * dwarf2out.c (multiple_reg_loc_descriptor): Fix thinko.
31ca3635 12694
ab82a49f
AP
126952003-03-10 Andrew Pinski <apinski@apple.com>
12696
12697 * config/darwin.c (machopic_function_base_name): If dynamic-no-pic
12698 is on should not get here.
12699 (machopic_indirect_data_reference): If dynamic-no-pic is on just
12700 generate high/low parts of the address.
12701 (machopic_legitimize_pic_address): Change MACHOPIC_PURE to
12702 MACHOPIC_INDIRECT. Dynamic-no-pic uses 0 as the pic base. Generate
12703 symbol and labels with a new reg. Dynamic-no-pic does not have a
12704 pic_offset_table_rtx.
12705 (machopic_select_section): Change references of flag_pic to
1fe668e5 12706 MACHOPIC_INDIRECT.
ab82a49f
AP
12707 (machopic_asm_out_destructor): Likewise.
12708 * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Change
12709 reference of flag_pic to MACHOPIC_INDIRECT.
12710 (MACHO_DYNAMIC_NO_PIC_P): Define as TARGET_DYNAMIC_NO_PIC.
12711 (MACHOPIC_INDIRECT): Is also true when dynamic-no-pic is on.
12712 (MACHOPIC_JUST_INDIRECT): Is also true when dynamic-no-pic is on.
12713 (MACHOPIC_PURE): Is not pure when dynamic-no-pic is on.
12714 * config/i386/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define as
12715 0 for right now as dynamic-no-pic is not implemented on Darwin/ia32.
12716 * config/rs6000/darwin.h (MASK_MACHO_DYNAMIC_NO_PIC): Define.
12717 (TARGET_DYNAMIC_NO_PIC): Define.
12718 (SUBTARGET_SWITCHES): Define, have sub-target switches for
1fe668e5 12719 dynamic-no-pic.
ab82a49f
AP
12720 (SUBTARGET_OVERRIDE_OPTIONS): Move check for -fpic from
12721 rs6000_override_options to here. Dynamic-no-pic overrides
12722 pic.
12723 (CC1_SPEC): Change from not static then pic to not static and not
12724 dynamic-no-pic then pic.
12725 * config/rs6000/rs6000.c (rs6000_override_options): Move the
12726 check for -fpic and DARWIN_ABI to config/rs6000/darwin.h
12727 (rs6000_legitimize_reload_address): Add case for loading floating in
12728 dynamic-no-pic.
12729 (rs6000_emit_move): Add case for dynamic-no-pic. Change reference
12730 of flag_pic to MACHOPIC_INDIRECT.
12731 (secondary_reload_class): Conditional change the reference of
12732 flag_pic to MACHOPIC_INDIRECT.
12733 (rs6000_output_mi_thunk): Change reference of flag_pic to
12734 MACHOPIC_INDIRECT.
12735 (output_profile_hook): Likewise.
12736 (machopic_output_stub): Non-pure (dynamic-no-pic) is now supported.
12737 * config/rs6000/rs6000.md (movdf_low): Add the case for
12738 MACHO_DYNAMIC_NO_PIC_P.
12739 (call): Change references for flag_pic in TARGET_MACHO to
12740 MACHOPIC_INDIRECT.
12741 (SUBTARGET_OVERRIDE_OPTIONS): Add case where -fpic is on and
12742 -mdynamic-no-pic is on. Also move case for -fpic from rs6000.c.
12743 * doc/invoke.texi (-mdynamic-no-pic): Document.
87d7d780
DP
12744
127452003-03-10 Devang Patel <dpatel@apple.com>
1fe668e5 12746
87d7d780
DP
12747 PR c++/9394
12748 * gcc.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
12749 (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
12750 * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Add.
12751 (DEFAULT_WORD_SWITCH_TAKES_ARG): Add.
12752 * cppspec.c (DEFAULT_SWITCH_TAKES_ARG): Remove.
12753 (DEFAULT_WORD_SWITCH_TAKES_ARG): Remove.
1fe668e5 12754
6b856d15
SB
127552003-03-10 Steven Bosscher <s.bosscher@student.tudelft.nl>
12756
12757 PR optimization/7189
12758 * toplev.c (rest_of_compilation): Move
12759 check_function_return_warnings up to just after
12760 delete_unreachable_blocks.
12761
2d8d15b7
SC
127622003-03-10 Stephane Carrez <stcarrez@nerim.fr>
12763
12764 * config/m68hc11/m68hc11.h (HARD_REGNO_RENAME_OK): Define.
12765 * config/m68hc11/m68hc11-protos.h (m68hc11_hard_regno_rename_ok):
12766 Declare.
12767 * config/m68hc11/m68hc11.c (m68hc11_hard_regno_rename_ok): New function
12768 for reg rename optimization to avoid using Z and Y registers.
12769
0e01d661
SC
127702003-03-10 Stephane Carrez <stcarrez@nerim.fr>
12771
12772 * config/m68hc11/m68hc11.md ("*addhi3_68hc12"): Accept any constant
12773 when adding to X and Y since leax/leay are fast.
12774 ("*addhi3"): Accept 'I' constraint when adding to address register.
12775 ("rotlhi3"): Operand 1 must be a register_operand.
12776 (peephole2): New peephole to optimize some adds.
12777 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_P): Use 'I' constraint
12778 to represent -2 .. 2 small integer range.
12779
ae5b570e
SC
127802003-03-10 Stephane Carrez <stcarrez@nerim.fr>
12781
12782 * config/m68hc11/m68hc11.c (m68hc11_gen_rotate): Set carry before
12783 each 16-bit rotation.
12784
52999738
ZW
127852003-03-10 Zack Weinberg <zack@codesourcery.com>
12786
12787 * c-opts.c (add_prefixed_path): Don't use concat. When
12788 prefixing with cpp_GCC_INCLUDE_DIR, copy only the first
12789 cpp_GCC_INCLUDE_DIR_len characters.
12790
5c242421
SB
127912003-03-10 Segher Boessenkool <segher@koffie.nl>
12792
52999738 12793 * testsuite/gcc.dg/altivec-9.c: New file.
5c242421 12794
52999738
ZW
12795 * config/rs6000/rs6000.c (altivec_frame_fixup): Remove.
12796 (rs6000_emit_prologue): Use rs6000_frame_related instead.
5c242421 12797
b4053702
AH
127982003-03-10 Aldy Hernandez <aldyh@redhat.com>
12799
52999738
ZW
12800 * config/rs6000/spe.h: Define __ev64_*64__ to use single element
12801 vectors.
12802 (__ev_convert_u64): Remove macro. Define as inline.
12803 (__ev_convert_s64): Same.
b4053702 12804
c19de7aa
AH
128052003-03-10 Aldy Hernandez <aldyh@redhat.com>
12806
52999738
ZW
12807 * config/rs6000/rs6000.h (DWARF_FRAME_REGISTERS): Define.
12808 (rs6000_stack_t): Add spe_64bit_regs_used.
c19de7aa 12809
52999738
ZW
12810 * config/rs6000/rs6000.c (rs6000_stack_info): Calculate
12811 spe_64bit_regs_used, and use it to determine the size of the
12812 frame.
12813 (spe_func_has_64bit_regs_p): New.
12814 (spe_synthesize_frame_save): New.
12815 (rs6000_frame_related): Handle SPE synthetic registers.
12816 (rs6000_emit_prologue): Only save in 64-bits if the function used
12817 any registers in 64-bit mode.
12818 (rs6000_emit_epilogue): Same, but for restore.
c19de7aa 12819
29ad9694
RE
128202003-03-10 Richard Earnshaw <rearnsha@arm.com>
12821
12822 * arm.h (enum floating_point_type): Delete. Replace with...
12823 (enum fputype): ... new.
12824 (FPUTYPE_DEFAULT): Renamed from FP_DEFAULT. Values reworked.
12825 * linux-elf.h (FPUTYPE_DEFAULT): Likewise.
12826 * arm.md (attr fpu): Reworked for new underlying enum values.
12827 * arm.c (arm_fpu_arch): Now enum fputype.
12828 (arm_fpu_tune): Renamed from arm_fpu. Now enum fputype.
12829 (arm_override_options, arm_output_epilogue, arm_expand_prologue):
12830 Update uses of arm_fpu_arch and arm_fpu_tune.
12831
39811184
JZ
128322003-03-10 Josef Zlomek <zlomekj@suse.cz>
12833
52999738 12834 * cfgcleanup.c (outgoing_edges_match): Compare the jump tables.
39811184
JZ
12835 (try_crossjump_to_edge): Replace refereces to one jump table by
12836 references to identical jump table.
12837 * loop.c (load_mems): Moved setting the JUMP_LABEL to replace_label.
12838 (replace_label): Moved to rtlanal.c.
12839 (struct rtx_pair): Moved to rtl.h.
52999738 12840 * rtl.h (struct rtx_pair): Moved from loop.c.
39811184
JZ
12841 (replace_label): New extern function.
12842 (subrtx_p): New extern function.
12843 (tablejump_p): New extern function.
52999738 12844 * rtlanal.c (replace_label): Moved from loop.c.
39811184
JZ
12845 (subrtx_p_1): New static function.
12846 (subrtx_p): New function.
12847 (tablejump_p): New function.
12848
62c9aa5f 128492003-03-10 Jan Hubicka <jh@suse.cz>
ec3ae3da 12850
912b79e7
JH
12851 * cfgcleanup.c (try_optimize_cfg): Fix thinko in previous patch.
12852
ec3ae3da
JH
12853 * cfgcleanup.c (merge_blocks): Return where to iterate next.
12854 (try_optimize_cfg): Use return value of merge_blocks
12855
e0fd3e7a
MM
128562003-03-10 Michael Matz <matz@suse.de>
12857
12858 * cfg.c (unchecked_make_edge): New.
12859 (cached_make_edge): Use it.
12860 * basic-block.h (unchecked_make_edge): Declare.
12861 * cfglayout.c (cfg_layout_duplicate_bb): Use it.
12862
82955615
RE
128632003-03-10 Richard Earnshaw <rearnsha@arm.com>
12864
12865 * fpa.md: New file. Move all patterns relating to FPA co-processor
12866 to here...
12867 * arm.md: ... from here.
12868 (cirrus.md, fpa.md): Include at end of description.
12869 (divsf3, divdf3, modsf3, movdf3, sqrtsf2, sqrtdf2): New expands.
12870 (pic_load_addr_based): Remove register constraint from expander.
12871 (seq, sne, sgt, sle, slt, sge, sgeu, sleu, sgtu, sltu, sunordered)
12872 (sordered, sungt, sunle, sunge, sunlt): Likewise.
12873 (eh_epilogue, tablejump): Likewise.
12874
22672fc4
RK
128752003-03-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12876
12877 * tree.c (substitute_in_expr, case 'e'): Only make recursive call
12878 on operands if it has a PLACEHOLDER_EXPR.
12879
f7b3ab8a
DE
128802003-03-09 David Edelsohn <edelsohn@gnu.org>
12881 Mostafa Hagog
12882
12883 * config/rs6000/rs6000.md (movsi_update1): Add TARGET_UPDATE final
12884 condition.
12885
cc956ba2
NB
128862003-03-09 Neil Booth <neil@daikokuya.co.uk>
12887
12888 * config/frv/frv.h: Use TARGET_CPU_CPP_BUILTINS, not CPP_PREDEFINES.
12889 * config/ip2k/ip2k.h: Similarly.
12890 * config/m32r/m32r.h: Similarly.
12891 * config/m68hc11/m68hc11.h: Similarly.
12892 * config/mn10200/mn10200.h: Similarly.
12893 * config/mn10300/mn10300.h: Similarly.
12894 * config/pdp11/pdp11.h: Similarly.
12895 * config/v850/v850.h: Similarly.
12896 * config/rs6000/vxworks.h: Similarly for TARGET_OS_CPP_BUILTINS.
12897 * config/v850/retms.h: Similarly for TARGET_OS_CPP_BUILTINS.
12898 * config/mips/iris3.h: Remove #if 0 block.
12899
129002003-03-09 Roger Sayle <roger@eyesopen.com>
12901 Joern Rennecke <joern.rennecke@superh.com>
12902
12903 * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
12904 pending argument upon return from handle_braces here.
12905 (do_spec_2): Instead handle it upon return from do_spec_1 here.
12906
6544fbcb
RS
129072003-03-09 Roger Sayle <roger@eyesopen.com>
12908 Joern Rennecke <joern.rennecke@superh.com>
12909
12910 * gcc.c (do_spec_1) ['{']: Revert 2003-02-24 patch. Don't handle
12911 pending argument upon return from handle_braces here.
12912 (do_spec_2): Instead handle it upon return from do_spec_1 here.
12913
e1a04212
FS
129142003-03-09 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12915
12916 * varasm.c (make_decl_one_only): Use declare_weak().
12917
4677862a
JDA
129182003-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
12919
12920 PR middle-end/9986
12921 * c-common.c (c_common_nodes_and_builtins): Initialize target builtins
12922 after the common builtins.
12923 * pa-hpux.h (DONT_HAVE_FPUTC_UNLOCKED): Define.
12924 * pa.c (TARGET_INIT_BUILTINS): Define.
12925 (pa_init_builtins): New function.
12926
12927 * pa.md (call, call_value, sibcall, sibcall_value): When sufficient
12928 space has been allocated for the outgoing arguments, set the arg
12929 pointer for a call emitted after virtuals have been instantiated
12930 using the stack pointer offset, otherwise abort.
12931
2de12bc4
DD
129322003-03-09 DJ Delorie <dj@redhat.com>
12933
12934 * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH): Revert.
12935
17136dde
RE
129362003-03-09 Richard Earnshaw <rearnsha@arm.com>
12937
12938 * arm.md (fix_truncsfsi2, fix_truncdfsi2, arm_fix_truncsfsi2)
12939 (arm_fix_truncdfsi2): Add missing fix in floating point mode before
12940 conversion to integer.
12941 * cirrus.md (cirrus_truncsfsi2, cirrus_truncdfsi2): Likewise.
12942
f937d5e6
RS
129432003-03-09 Roger Sayle <roger@eyesopen.com>
12944
12945 * builtins.def: Fix typo and improve grammar.
12946 * loop-unroll.c (decide_peel_completely): Tidy log message.
12947
c5979bc6
KH
129482003-03-09 Kazu Hirata <kazu@cs.umass.edu>
12949
12950 * config/h8300/h8300.md (*tstsi_upper_bit): New.
12951 (*iorsi3_e2f): Likewise.
12952
4f4ebda3
KH
129532003-03-08 Kazu Hirata <kazu@cs.umass.edu>
12954
12955 * config/h8300/h8300.c (h8300_and_costs): Return the number of
12956 assembly instructions needed.
12957 (h8300_shift_costs): Likewise.
12958
c366ade5
HPN
129592003-03-09 Hans-Peter Nilsson <hp@bitrange.com>
12960
02af0d9b
HPN
12961 * config/cris/aout.h (ENDFILE_SPEC): Undef.
12962
a3600c71
HPN
12963 * optabs.c (gen_move_insn): Move logic for synthesizing MODE_CC
12964 moves from here ...
12965 * expr.c (emit_move_insn_1): ... to here.
12966
a6e464ae
HPN
12967 * config/cris/aout.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__AOUT__ to...
12968 (TARGET_OS_CPP_BUILTINS): New macro.
12969 * config/cris/cris.h (CRIS_CPP_SUBTARGET_SPEC): Move -D__ELF__ to...
12970 (TARGET_OS_CPP_BUILTINS): New macro.
12971 (CPP_PREDEFINES): Don't define. Move old definitions and...
12972 (CPP_SPEC): ...move -D__CRIS_ABI_version=2 to...
12973 (TARGET_CPU_CPP_BUILTINS): New macro.
12974 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Move constant
12975 definitions and the optional __PIC__, __pic__ and
12976 __NO_UNDERSCORES__ definitions to...
12977 (TARGET_OS_CPP_BUILTINS): New macro.
12978
d8a25128
HPN
12979 * flags.h (flag_leading_underscore): Declare.
12980
c366ade5
HPN
12981 * c-opts.c (c_common_post_options): On fopen failure, return
12982 false, not NULL.
12983
32b0bbaa
HPN
129842003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
12985
12986 * config/cris/cris_abi_symbol.c: #include tconfig.h and tm.h, not
12987 config.h.
12988 * config/cris/cris.h (HAVE_GAS_HIDDEN): Don't define here.
12989 * config/cris/aout.h (HAVE_GAS_HIDDEN): Undef.
12990
ad220576
NB
129912003-03-08 Neil Booth <neil@daikokuya.co.uk>
12992
12993 * config/sh/rtemself.h (TARGET_OS_CPP_BUILTINS): Use instead of
12994 CPP_PREDEFINES.
12995 * config/sh/rtems.h (TARGET_OS_CPP_BUILTINS): Use instead of
12996 CPP_PREDEFINES.
12997
4bfec483
NB
129982003-03-08 Neil Booth <neil@daikokuya.co.uk>
12999
13000 * c-common.h (c_common_init, c_common_post_options): Update.
13001 * c-objc-common.c (c_objc_common_init): Update for new prototype.
13002 * c-opts.c (saved_lineno): New.
13003 (c_common_post_options, c_common_init): Update prototypes,
13004 move call to cpp_read_main_file from latter to former.
13005 * c-tree.h (c_ojbc_common_init): Update.
13006 * langhooks-def.h (lhd_post_options): New.
13007 (LANG_HOOKS_INIT, LANG_HOOKS_POST_OPTIONS): Update.
13008 * langhooks.c (lhd_post_options): New.
13009 * langhooks.h (struct lang_hooks): Update post_options and init hooks.
13010 * toplev.c (no_backend): New.
13011 (process_options): Call post_options hook and set main_input_filename
13012 and input_filename here.
13013 (lang_dependent_init, do_compile): post_options hook moved to
13014 process_options.
13015 * objc/objc-act.c (objc_init): Update prototype.
13016 * objc/objc-act.h (objc_init): Update prototype.
13017
9dd04ab5
RS
130182003-03-08 Roger Sayle <roger@eyesopen.com>
13019
13020 * emit-rtl.c (gen_lowpart): Don't attempt to load a part of
13021 a complex or vector type, using a load in the original mode.
13022
62c9aa5f 130232003-03-08 Jan Hubicka <jh@suse.cz>
988d1653
JH
13024
13025 * Makefile.in (cgraph.o): Depend on gt-cgraph.h and varray.h.
13026 * gt-cgraph.h: New GC file.
13027 * cgraph.c (known_fns): New static variable.
13028 (cgraph_node): Add the decl into varray.
13029
73ba39fc
HPN
130302003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
13031
13032 * config/mmix/mmix.md ("*movcc_expanded"): Add missing alternatives.
13033
3b684012
RE
130342003-03-08 Richard Earnshaw <rearnsha@arm.com>
13035
13036 * arm.c (fpa_rhs_operand, fpa_add_operand, const_double_rtx_ok_for_fpa)
13037 (neg_const_double_ok_for_fpa, output_mov_long_double_fpa_from_arm)
13038 (output_mov_long_double_arm_from_fpa, output_mov_double_fpa_from_arm)
13039 (output_mov_double_arm_from_fpa): Renamed to use fpa instead of fpu.
13040 All callers changed.
13041 * arm.md, arm.h, arm-protos.h: Updated.
13042
13043 * arm.h (enum reg_class FPA_REGS): Renamed from FPU_REGS.
13044 (CLASS_MAX_NREGS, REGISTER_MOVE_COST, REG_CLASS_FROM_LETTER): Updated.
13045 * arm.c (arm_regno_class, f_register_operand): Updated.
13046
fa5848c7
HPN
130472003-03-08 Hans-Peter Nilsson <hp@bitrange.com>
13048
13049 * config/cris/cris.h: Remove EGCS references.
1fe668e5 13050 (CPP_SPEC): Remove "-$".
fa5848c7
HPN
13051 (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
13052
4555be98
NB
130532003-03-08 Neil Booth <neil@daikokuya.co.uk>
13054
13055 * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in
13056 preference to CPP_PREDEFINES.
13057
39a91264
NB
130582003-03-08 Neil Booth <neil@daikokuya.co.uk>
13059
13060 * cppinit.c (cpp_finish_options): Set first_unused_line to -1.
13061
9571a6b9
KH
130622003-03-08 Kazu Hirata <kazu@cs.umass.edu>
13063
13064 * config/h8300/h8300.md (*extzv_16_8): New.
13065
62c9aa5f 130662003-03-08 Jan Hubicka <jh@suse.cz>
18d13f34
JH
13067
13068 * c-decl.c: (finish_function): Update call of tree_inlinable_function_p.
13069 * cgraph.h: (cgraph_local_info): Add can_inline_once
13070 (cgraph_global_info): Add inline_once.
13071 (cgraph_node): Add previous.
13072 (cgraph_remove_node): New.
13073 * cgraphunit.c (cgraph_mark_functions_to_inline_once): New static
13074 function.
13075 (cgraph_optimize): Call it.
13076 (cgraph_finalize_function): Set inlinable flags.
13077 (cgraph_finalize_compilation_unit): Actually remove the reclaimed nodes.
13078 (cgraph_mark_functions_to_output): Use new inlining heuristics flags.
13079 (cgraph_expand_function): Likewise.
52999738 13080 * cgraph.c
18d13f34
JH
13081 (cgraph_node): Put nodes into doubly linked chain.
13082 (cgraph_remove_node): New function.
13083 * flags.h (flag_inline_functions_called_once): Declare.
13084 * tree-inline.c: Include cgraph.h
13085 (inlinable_functions_p): Add extra argument to bypass limits.
13086 (expand_call_inline): Obey cgraph flag.
13087 * tree-inline.h (tree_inlinable_function_p): Update prototype.
13088
72b8d451
ZD
130892003-03-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
13090
13091 * gcse.c (bypass_block, bypass_conditional_jumps): Do not create
13092 irreducible loops.
13093
13094 * loop-unroll.c (unroll_loop_runtime_iterations): Update irreducible
13095 loops info correctly.
13096
ed97aa66
EB
130972003-03-08 Eric Botcazou <ebotcazou@libertysurf.fr>
13098
13099 PR middle-end/7796
13100 * unroll.c (calculate_giv_inc): Handle constants being
13101 loaded with LSHIFTRT.
13102
d7b53ca4
DE
131032003-03-07 David Edelsohn <edelsohn@gnu.org>
13104
13105 * config/rs6000/rs6000.c (processor_target_table): Do not disable
13106 GP optional instructions on Power3, Power4, 620, and 630.
13107
3dc575ff
KH
131082003-03-07 Kazu Hirata <kazu@cs.umass.edu>
13109
13110 * calls.c: Fix comment formatting.
13111 * cfgloopanal.c: Likewise.
13112 * cfgloopmanip.c: Likewise.
13113 * combine.c: Likewise.
13114 * dwarf2out.c: Likewise.
13115 * ggc-common.c: Likewise.
13116 * langhooks.c: Likewise.
13117 * loop-unroll.c: Likewise.
13118 * loop.c: Likewise.
13119 * ra-build.c: Likewise.
13120 * sbitmap.c: Likewise.
13121 * toplev.c: Likewise.
13122
9bcd9715
JW
131232003-03-07 James E Wilson <wilson@tuliptree.org>
13124
ed97aa66 13125 * config/sh/sh.h (HARD_REGNO_NREGS): Round up the XD register count.
9bcd9715 13126
6e5c4eaf
GK
131272003-03-07 Geoffrey Keating <geoffk@apple.com>
13128
13129 * objc/lang-specs.h (objective-c-header): Use .gch not .pch;
13130 support -no-integrated-cpp.
13131
13132 * c-pch.c (get_ident): Use c_language_kind and flag_objc rather
13133 than langhooks.name.
13134
50aac998
MM
131352003-03-07 Michael Matz <matz@suse.de>
13136
13137 * df.h (enum df_ref_flags.DF_REF_STRIPPED): New.
13138 (DF_FOR_REGALLOC): New.
13139 * df.c (df_ref_record): Set DF_REF_STRIPPED.
13140 (read_modify_subreg_p): Simplify.
13141 (df_def_record_1, df_uses_record): Set DF_REF_MODE_CHANGE more often.
13142 Use DF_FOR_REGALLOC.
13143 * ra.h (struct web): New member subreg_stripped.
13144 (invalid_mode_change_regs): Declare.
13145 * ra.c (invalid_mode_change_regs): New.
13146 (init_ra): Initialize it.
13147 * ra-build.c (init_one_web_common, remember_web_was_spilled): Use it.
13148 Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
13149 (reinit_one_web, parts_to_web_1): Deal with subreg_stripped.
13150 * ra-colorize.c (colorize_one_web): Use invalid_mode_change_regs.
13151 Use CANNOT_CHANGE_MODE_CLASS as ifdef guard.
13152
37f74dcf
RE
131532003-03-07 Richard Earnshaw <rearnsha@arm.com>
13154
13155 * arm.md (addsf3, adddf3, subsf3, subdf3, mulsf3, muldf3, negsf2)
13156 (negdf2, abssi2, abssf2, absdf2, floatsisf2, floatsidf2)
13157 (fix_truncsfsi2, fix_truncdfsi2, truncdfsf2): Moved back into main
13158 machine description file from ...
13159 * cirrus.md: ... here.
13160
203b3521
KH
131612003-03-06 Kazu Hirata <kazu@cs.umass.edu>
13162
13163 * config/h8300/h8300.md (a peephole2): Don't use
13164 reg_overlap_mentioned_p.
13165
8643e92d
GK
131662003-03-06 Geoffrey Keating <geoffk@apple.com>
13167
13168 * c-pch.c: Include langhooks.h.
13169 (IDENT_LENGTH): New.
13170 (get_ident): New.
13171 (pch_ident): Delete.
13172 (pch_init): Use get_ident, IDENT_LENGTH.
13173 (c_common_valid_pch): Likewise. Also, use actual language
13174 in warning message.
13175 * Makefile.in (c-pch.o): Add langhooks.h to dependencies.
13176
13177 * objc/config-lang.in (gtfiles): Add objc-act.c. Remove duplicate
13178 c-parse.in.
13179 * objc/Make-lang.in (objc/objc-act.o): Add dependency on
13180 gt-objc-objc-act.h.
13181 (gt-objc-objc-act.h): New rule.
13182 * objc/lang-specs.h: Support PCH.
13183 * objc/objc-act.c: Include gt-objc-objc-act.h.
13184 (objc_add_static_instance): Move num_static_inst out, mark for PCH.
13185 (build_selector_reference_decl): Move idx out, mark for PCH.
13186 (build_class_reference_decl): Likewise.
13187 (build_objc_string_decl): Move *_idx out, mark for PCH.
13188 (build_tmp_function_decl): Move xxx out, mark for PCH.
13189
7f3d8013
DJ
131902003-03-06 Dale Johannesen <dalej@apple.com>
13191
13192 * config/rs6000/rs6000.c (rs6000_binds_local_p): Consider
13193 global functions for inlining on Darwin.
13194
14484a78
VM
131952003-03-06 Vladimir Makarov <vmakarov@redhat.com>
13196
13197 * haifa-sched.c (schedule_block): Don't call reorder when sorting
13198 is prohibited.
13199
9d10c9a9
NB
132002003-03-06 Neil Booth <neil@daikokuya.co.uk>
13201
13202 * Makefile.in (c-ppoutput.o): Update.
13203 * c-common.h (init_pp_output): New.
13204 (preprocess_file): Update.
13205 * c-lex.c (init_c_lex): Move mbchar initialization to cpplib.
13206 Register builtins.
13207 * c-opts.c (c_common_init): Call init_pp_output if preprocessing.
13208 Make call to cpp_read_main_file common to whether preprocessing
13209 or not. Don't register builtins.
13210 * c-ppoutput.c: Include c-pragma.h.
13211 (setup_callbacks): Rename init_pp_output.
13212 (preprocess_file): No longer setup callbacks or call
13213 cpp_read_main_file.
13214 * cpphash.h (_cpp_init_mbchar): New.
13215 * cppinit.c (init_library): Call _cpp_init_mbchar.
13216 * cpplex.c (_cpp_init_mbchar): New.
13217
37f5242b
RS
132182003-03-06 Roger Sayle <roger@eyesopen.com>
13219
13220 * emit-rtl.c (gen_lowpart): When requesting the low-part of a
13221 MEM, try loading the MEM into a register and taking the low-part
13222 of that, to help CSE see the use of the MEM in its true mode.
13223
c876997f 132242003-03-05 Tom Tromey <tromey@redhat.com>
f3922fd2
DD
13225
13226 * config/stormy16/stormy16.h (DWARF_LINE_MIN_INSTR_LENGTH):
13227 Define.
13228
c876997f 132292003-03-05 Nick Clifton <nickc@cambridge.redhat.com>
f3922fd2
DD
13230
13231 * config/stormy16/stormy16.md ("*eqbranchsi"): Remove '+' on
13232 operand 2.
13233 ("*ineqbranchsi"): Likewise.
13234
c876997f 132352003-03-05 Andrew Haley <aph@cambridge.redhat.com>
f3922fd2
DD
13236
13237 * config/stormy16/stormy16.c (xstormy16_expand_prologue): Delete
13238 mem_fake_push_rtx. Instead construct a SEQUENCE to show the
13239 register store followed by a stack increment.
13240
c876997f 132412003-03-05 Chris Moller <cmoller@redhat.com>
f3922fd2
DD
13242
13243 * config/stormy16/stormy16.c (REG_NEEDS_SAVE): added a term
13244 to inhibit saving CARRY_REGS.
13245
13246 * config/stormy16/stormy16.c (xs_hi_general_operand):
13247 added predicate to detect and error-out on out-of-range
13248 const_ints for movhi.
52999738 13249 * config/stormy16/stormy16.md (movhi): use
f3922fd2
DD
13250 xs_hi_general_operand.
13251
13252 * config/stormy16/stormy16.c (xstormy16_expand_prologue):
13253 added a check for local vbl size overflow.
13254 * config/stormy16/stormy16.c (xs_hi_nonmemory_operand):
13255 added predicate to detect and error-out on out-of-range
13256 const_ints for addhi and subhi.
52999738 13257 * config/stormy16/stormy16.md (addhi3, addchi4, addchi5,
f3922fd2
DD
13258 subhi3, subchi4, subchi5): used xs_hi_nonmemory_operand.
13259
13260 * config/stormy16/stormy16.c (xstormy16_legitimate_address_p):
13261 add a term to accept PRE_MODIFY addresses.
13262 * config/stormy16/stormy16.c (xstormy16_expand_move):
13263 add code to expand PRE_MODIFY addresses to an add followed
13264 by a move.
13265
4c28216d
JM
132662003-03-06 Jason Merrill <jason@redhat.com>
13267
13268 * tree-inline.c (inlinable_function_p): Revert earlier change
13269 pending investigation.
13270
0135f343
KH
132712003-03-06 Kazu Hirata <kazu@cs.umass.edu>
13272
13273 * config/h8300/h8300.md (a new peephole2): New.
13274
62c9aa5f 132752003-03-06 Jan Hubicka <jh@suse.cz>
5c2e00ee
JH
13276
13277 * cgraph.c (cgraph_node): Do not confuse nested functions and methods.
13278
323658ea
ZD
132792003-03-06 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
13280
13281 * dwarf2out.c (size_of_die): Compute size of external reference to
13282 die correctly.
13283
2b18b49b
HPN
132842003-03-06 Hans-Peter Nilsson <hp@bitrange.com>
13285
13286 * config/mmix/mmix.md ("*movcc_expanded"): New pattern.
13287 ("movcc", "movcc_uns", "movcc_fp", "movcc_fpeq", "movcc_fun"): New
13288 expanders.
13289
1a71a5b0
RS
132902003-03-05 Roger Sayle <roger@eyesopen.com>
13291
13292 * expr.h (lang_expand_expr): Delete obsolete prototype.
13293
26d249eb
KH
132942003-03-05 Kazu Hirata <kazu@cs.umass.edu>
13295
13296 * emit-rtl.c (gen_highpart_mode): Fix a comment typo.
13297
8b41a8da
KH
132982003-03-05 Kazu Hirata <kazu@cs.umass.edu>
13299
13300 * config/h8300/h8300.md (a peephole2): Generalize to
13301 accept a memory operand.
13302
62c9aa5f 133032003-03-05 Olivier Hainque <hainque@act-europe.fr>
39ee7fa9
OH
13304
13305 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '+'.
13306 * config/alpha/alpha.c (print_operand, case '+'): New.
13307 * config/alpha/alpha.md (call_osf_1_noreturn): Document and use.
13308 (call_value_osf_1_noreturn): Likewise.
13309
62c9aa5f 133102003-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
cda26058
RK
13311
13312 * stmt.c (fixup_gotos): Change meaning of DONT_JUMP_IN.
13313 (expand_end_bindings): Likewise.
13314
98857de8
JDA
133152003-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
13316
13317 * pa.md (return_external_pic): Add !TARGET_PA_20 to constraint.
13318 (epilogue): Don't generate return_external_pic when emitting PA 2.0
13319 code.
13320
96714395
AH
133212003-03-05 Aldy Hernandez <aldyh@redhat.com>
13322
52999738 13323 * doc/tm.texi: Document TARGET_DWARF_REGISTER_SPAN.
96714395 13324
52999738 13325 * config/rs6000/rs6000.c (rs6000_dwarf_register_span): New.
96714395 13326
52999738 13327 * hooks.c (hook_rtx_rtx_null): New.
96714395 13328
52999738 13329 * hooks.h (hook_rtx_rtx_null): Protoize.
96714395 13330
52999738
ZW
13331 * target-def.h (TARGET_DWARF_REGISTER_SPAN): New macro.
13332 (TARGET_INITIALIZER): Add TARGET_DWARF_REGISTER_SPAN.
96714395 13333
52999738 13334 * target.h (struct gcc_target): Add dwarf_register_span.
96714395 13335
52999738
ZW
13336 * dwarf2out.c (multiple_reg_loc_descriptor): New.
13337 (one_reg_loc_descriptor): New.
13338 (reg_loc_descriptor): Add support for values that span more than
13339 one register.
96714395 13340
62c9aa5f 133412003-03-05 Jan Hubicka <jh@suse.cz>
b255a036
JH
13342
13343 * Makefile.in (calls.o, toplev.o alias.o): Depend on cgraph.h
13344 * alias.c: Include cgraph.h
13345 (mark_constant_function): Use cgraph_rtl_info.
13346 * calls.c: Include cgraph.h
13347 (flags_from_decl_or_type): Use cgraph_rtl_info to find pure and const
13348 calls.
13349 (expand_call): Use cgraph_rtl_info to set preferred stack boundary.
13350 * cgraph.c (cgraph_rtl_info): New function.
13351 * cgraph.h (cgraph_rtl_info): Declare
13352 (cgraph_rtl_info): Likewise.
13353 * function.h (struct function): Add recursive_call_emit.
13354 * toplev.c: Include cgraph.h.
13355 (rest_of_compilation): Set preferred_incoming_stack_boundary.
13356
0eb933a0
KH
133572003-03-05 Kazu Hirata <kazu@cs.umass.edu>
13358
13359 * config/h8300/h8300.c (output_simode_bld): Clear the
13360 destination first if possible.
13361 * config/h8300/h8300.md (extzv_1_r_h8300hs): Add an
13362 alternative.
13363 (extzv_1_r_inv_h8300hs): Likewise.
13364
35b07080
ZD
133652003-03-05 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
13366
13367 * basic-block.h (EDGE_IRREDUCIBLE_LOOP, EDGE_ALL_FLAGS): New.
13368 * cfg.c (dump_edge_info): Add EDGE_IRREDUCIBLE_LOOP flag dump.
13369 * cfgloop.c (flow_loop_free): Made global.
13370 (establish_preds): New static function.
13371 (flow_loop_tree_node_add): Handle subloops of added loop correctly.
13372 (get_loop_exit_edges): New.
13373 (verify_loop_structure): Verify EDGE_IRREDUCIBLE_LOOP flags.
13374 * cfgloop.h (flow_loop_free, get_loop_exit_edges, unloop): Declare.
13375 * cfgloopanal.c (mark_irreducible_loops): Mark edges in irreducible
13376 loops.
13377 * cfgloopmanip.c (loop_delete_branch_edge): Allow to test for
13378 removability of an edge.
13379 (fix_irreducible_loops): New static function.
13380 (find_path, remove_path): Add ability to remove enclosing loops.
13381 (unloop): New.
13382 (copy_bbs, duplicate_loop_to_header_edge): Use EDGE_IRREDUCIBLE_LOOP
13383 flags.
13384 * cfgrtl.c (verify_flow_info): Handle EDGE_IRREDUCIBLE_LOOP flag.
13385 * loop-unroll.c (peel_loops_completely): Do not duplicate loop if
13386 not neccessary.
13387 (decide_peel_completely, peel_loops_completely): Allow complete peeling
13388 of non-duplicable once rolling loops.
13389 * loop-unswitch.c (unswitch_loop): Update EDGE_IRREDUCIBLE_LOOP flags.
13390
62c9aa5f 133912003-03-05 J"orn Rennecke <joern.rennecke@superh.com>
bb182d23
R
13392
13393 * sh.h (OVERRIDE_OPTIONS): For TARGET_SHMEDIA, the minimum value
13394 for align_jumps is 4.
13395
13396 (SECONDARY_INPUT_RELOAD_CLASS): If reloading a PLUS into FPUL,
13397 use GENERAL_REGS.
13398
f2d0440f
SC
133992003-03-05 Stephane Carrez <stcarrez@nerim.fr>
13400
13401 * config/m68hc11/m68hc11.h (PAD_VARARGS_DOWN): Define and return
13402 according to va_arg type.
13403 (EXPAND_BUILTIN_VA_ARG): Remove.
13404 * config/m68hc11/m68hc11.c (m68hc11_va_arg): Remove.
13405 * config/m68hc11/m68hc11-protos.h (m68hc11_va_arg): Remove.
13406
165b263e
DE
134072003-03-05 David Edelsohn <edelsohn@gnu.org>
13408
13409 * config/rs6000/rs6000.c (rs6000_variable_issue): Remove unnecessary
13410 else clauses.
13411
8c38a24f
MM
134122003-03-05 Michael Matz <matz@suse.de>
13413
13414 * i386/i386.c (ix86_save_reg): Also test
13415 current_function_uses_const_pool.
13416
336d0d96
MM
134172003-03-05 Michael Matz <matz@suse.de>
13418
13419 * unwind.h: Add the GPL exception.
13420 * Makefile.in (USER_H): Add unwind.h.
13421
be2fa211
EB
134222003-03-05 Eric Botcazou <ebotcazou@libertysurf.fr>
13423
13424 PR c/9799
13425 * c-typeck.c (push_init_level): Add sanity check.
13426
62c9aa5f 134272003-03-05 Jan Hubicka <jh@suse.cz>
dafc5b82
JH
13428
13429 * toplev.c (rest_of_compilation): Deffer RTL compilation only when
13430 RTL inlining is done.
13431
13432 * cgraphunit.c (cgraph_mark_local_functions): New local function.
13433 (cgraph_optimize): Mark local functions.
13434 * i386-protos.h (init_cumulative_args): Update prototype.
13435 * i386.c (init_cumulative_args): Use register passing convention for
13436 local functions.
13437
13438 * cgraph.c (cgraph_global_info_ready): New global variable
13439 (cgraph_local_info, cgraph_global_info): New functions.
13440 * cgraph.h (struct cgraph_local_info, cgraph_global_info): New
13441 structures.
13442 (cgraph_local_info, cgraph_global_info, cgraph_global_info_ready):
13443 Declare.
13444 * cgraphunit.c (cgraph_finalize_function): Set inline_many.
13445 (cgraph_mark_functions_to_output): Use inline_many.
13446 (cgraph_expand_function): Free DECL_SAVED_TREE uncondtionally.
13447 (cgraph_expand_functions): Expand inline functions last.
13448 (cgraph_optimize): Do not emit uneeded functions.
13449
006c9f4a
SE
134502003-03-04 Steve Ellcey <sje@cup.hp.com>
13451
13452 * expr.c (convert_modes): Check for legal hard register.
13453
65ebbf81
TT
134542003-03-04 Tom Tromey <tromey@redhat.com>
13455
13456 * doc/sourcebuild.texi (Front End Directory): Document tags.
13457 * configure: Rebuilt.
13458 * configure.in (target_list): Added tags.
13459 * Makefile.in (TAGS): Depend on lang.clean. Include subdirectory
13460 TAGS files by reference.
13461 * objc/Make-lang.in (objc.tags): New target.
13462
ec4a0419
ZD
134632003-03-04 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
13464
13465 * gcov-io.h (gcov_save_position, gcov_reserve_length, gcov_resync,
13466 gcov_skip, gcov_skip_string, gcov_write_unsigned, gcov_write_counter,
13467 gcov_write_string, gcov_read_unsigned, gcov_read_counter,
13468 gcov_read_string, gcov_write_length): Modified to enable reading/
13469 writing of whole .da file just once.
13470 (da_file_open, da_file_close, da_file_eof, da_file_error,
13471 da_file_position, da_file_seek, da_file_write, da_file_read): New
13472 functions.
13473 (actual_da_file, actual_da_file_position, actual_da_file_length,
13474 actual_da_file_buffer, actual_da_file_buffer_size): New static
13475 functions.
13476 * libgcov.c (gcov_exit): Modified to read/write the whole .da file at
13477 just once.
13478
13479
79dbeefc
AS
134802003-03-04 Andreas Schwab <schwab@suse.de>
13481
13482 * config/m68k/m68k.c (m68k_output_function_prologue): Fix CFA
13483 offset without frame pointer.
13484
3ac1a319
SE
134852003-03-04 Steve Ellcey <sje@cup.hp.com>
13486
13487 * expr.c (expand_expr): Call promote_mode to set unsignedp.
13488
db720d9a
DJ
134892003-03-04 Daniel Jacobowitz <drow@mvista.com>
13490
13491 * configure.in: Don't always define TARGET_SYSTEM_ROOT.
13492 * configure: Regenerated.
13493 * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined.
13494
9a79ab7e
AJ
134952003-03-04 Andreas Jaeger <aj@suse.de>
13496
13497 * configure.in: Check for <memcheck.h>.
52999738 13498 * configure: Regenerated.
9a79ab7e
AJ
13499
13500 * config.in: Define HAVE_MEMCHECK_H.
13501
13502 * ggc-common.c: Use <memcheck.h> if available instead of
13503 <valgrind.h>.
13504 * ggc-page.c: Likewise.
13505 * cppfiles.c: Likewise.
13506
a8f0e848
KH
135072003-03-04 Kazu Hirata <kazu@cs.umass.edu>
13508
13509 * config/h8300/h8300.md (*extzv_8_8): Fix cc and lengths.
13510
2ad1815d
EB
135112003-03-04 Eric Botcazou <ebotcazou@libertysurf.fr>
13512
13513 PR c/9262
13514 * c-typeck.c (do_case): Attach the first case label to the SWITCH_BODY.
13515 (c_finish_case): Rechain the next statements to the SWITCH_STMT.
13516
62c9aa5f 135172003-03-04 Jan Hubicka <jh@suse.cz>
e2483ef7
JH
13518
13519 * doc/invoke.texi: Document that unit-at-a-time is enabled for -O3
13520 * toplev.c (parse_options_and_default_flags): Enable flag_unit_at_a_time
13521 for -O3.
13522
34a86c2b
NN
135232003-03-04 Nathanael Nerode <neroden@gcc.gnu.org>
13524
13525 * configure.in: Delete three unused variables. Move a variable
13526 definition closer to its use. Simplify use_collect2 logic. Start to
13527 organize. Simplify tests for in-tree gas and ld.
13528 * configure: Regenerate.
13529
63973df3
NB
135302003-03-04 Neil Booth <neil@daikokuya.co.uk>
13531
13532 * Makefile.in: Update.
13533 * c-common.c (flag_no_line_commands, flag_no_output,
13534 flag_dump_macros, flag_dump_includes): New.
13535 * c-common.h (flag_no_line_commands, flag_no_output,
13536 flag_dump_macros, flag_dump_includes, preprocess_file): New.
13537 (init_c_lex): Update prototype.
13538 * c-lex.c (init_c_lex): Update prototype; move some code to
13539 c_common_init.
13540 * c-opts.c (preprocess_file): Subsume into c_common_init.
13541 (c_common_decode_option): Update flags.
13542 (c_common_init): Move code from preprocess_file and init_c_lex.
13543 (sanitize_cpp_opts): Update.
13544 * c-ppoutput.c: New, cppmain.c almost verbatim.
13545 * cpphash.h (struct printer): Remove.
13546 (struct cpp_reader): Remove print.
13547 * cpplib.h (dump_none, dump_only, dump_names, dump_definitions,
13548 cpp_preprocess_file): Remove.
13549 (struct cpp_options): Remove no_output, no_line_commands, dump_macros
13550 and dump_includes.
13551 * cppmain.c: Remove.
13552 * doc/passes.texi: Update.
13553
95f3f59e
JDA
135542003-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
13555
13556 * function.c (STACK_ALIGNMENT_NEEDED): New macro. Default to 1.
13557 (assign_stack_local_1): Perform overall stack alignment only when
6356f892 13558 STACK_ALIGNMENT_NEEDED is nonzero.
95f3f59e
JDA
13559 * doc/tm.texi (STACK_ALIGNMENT_NEEDED): Document.
13560
13561 * pa.c (compute_frame_size): Rename fsize to size. Account for
13562 alignment to a word boundary before general register save block. Only
13563 account for double-word alignment before floating point register save
13564 block if one or more are saved. Don't allocate space for %r3 when
13565 frame pointer is needed.
13566 (hppa_expand_prologue): Include alignment to word boundary in local
13567 frame size.
13568 * pa.h (STARTING_FRAME_OFFSET): Define to 8 on both 32 and 64-bit ports.
13569 (STACK_ALIGNMENT_NEEDED): Define.
13570
234c071b
KB
135712003-03-04 Kevin Buettner <kevinb@redhat.com>
13572
13573 * dwarf2out.c (rtl_for_decl_location): Don't return NULL_RTX for
13574 global register variables.
13575
f12448c8
AO
135762003-03-04 Alexandre Oliva <aoliva@redhat.com>
13577
13578 * reload.c (reload_adjust_reg_for_mode): New function.
13579 (subst_reloads): Call it.
13580 (operands_match_p): Adjust registers using HARD_REGNO_NREGS.
13581 * reload.h (reload_adjust_reg_for_mode): Declare.
13582 * reload1.c (emit_input_reload_insns, emit_output_reload_insns):
13583 Call it.
13584
f9d36a92
JW
135852003-03-03 James E Wilson <wilson@tuliptree.org>
13586
13587 * optabs.c (add_equal_note): Delete SUBREG_REG use.
13588 Fixes PR c/7872.
13589
8dfb356f
KH
135902003-03-03 Kazu Hirata <kazu@cs.umass.edu>
13591
13592 * config/h8300/h8300.md (*ixorsi3_ashift_16): New.
13593 (*ixorsi3_lshiftrt_16): New.
13594 (*iorsi3_ashift_16): Remove.
13595
0d9bf032
KH
135962003-03-03 Kazu Hirata <kazu@cs.umass.edu>
13597
13598 * config/h8300/h8300.md (*extzv_8_8): Use '?' to simplify the
13599 pattern.
13600
b89a3806
GK
136012003-03-03 Geoffrey Keating <geoffk@apple.com>
13602
13603 * doc/install.texi (Specific): Update entry for powerpc-darwin.
13604
568d661d
RH
136052003-03-03 Richard Henderson <rth@redhat.com>
13606
13607 * config/ia64/ia64.h (HAVE_AS_LTOFFX_LDXMOV_RELOCS): Default to 0.
13608
3317bab1
DE
136092003-03-03 David Edelsohn <edelsohn@gnu.org>
13610
13611 * config/rs6000/rs6000.c (rs6000_multipass_dfa_lookahead): Delete.
13612 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Delete.
13613 (rs6000_variable_issue): Do not return negative value.
13614 (rs6000_issue_rate): Uniformly set issue rate to 1 for first
13615 scheduling pass.
13616
03275f81
ZD
136172003-03-03 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
13618
13619 * dwarf2out.c (dwarf2out_finish): Swap order of break_out_includes and
13620 prune_unused_types calls.
13621
d1a74aa7
JM
136222003-03-03 Jason Merrill <jason@redhat.com>
13623
13624 * tree-inline.c (find_builtin_longjmp_call): Save and restore
13625 lineno and input_filename.
13626 (find_alloca_call): Likewise.
13627 (inlinable_function_p): Run the langhook earlier.
13628
13629 * calls.c (compute_argument_addresses): Give the new MEMs a
13630 minimum alignment of PARM_BOUNDARY.
13631
62c9aa5f 136322003-03-03 J"orn Rennecke <joern.rennecke@superh.com>
d44cc404
R
13633
13634 * config/sh/sh.h (EXTRA_SPECS): Add subtarget_asm_relax_spec and
13635 subtarget_asm_isa_spec.
13636 (SUBTARGET_ASM_RELAX_SPEC, SUBTARGET_ASM_ISA_SPEC): Define.
13637 (ASM_SPEC): Define as SH_ASM_SPEC.
13638 (SH_ASM_SPEC): New; take the role of ASM_SPEC, but safe from svr4.h.
13639 Use subtarget_asm_relax_spec and subtarget_asm_isa_spec.
13640 * config/sh/elf.h (ASM_SPEC): Use SH_ASM_SPEC.
13641 (SUBTARGET_ASM_ISA_SPEC): Undef / define.
10f4f635
R
13642
13643 * sh.h (OVERRIDE_OPTIONS): Set default values for align_loops
13644 and align_jumps if not set.
13645 Force align_jumps to be at least 2.
13646 When relaxing, force align_functions to be at least the maximum of
13647 align_loops, align_jumps and 4.
13648 * sh.c (find_barrier, barrier_align): Honour align_jumps_log.
13649 (sh_loop_align): Honour align_loops_log.
13650
13651 * sh.md (length attribute): Use prev_nonnote_insn instead of PREV_INSN
13652 to check for indirect_jump_scratch.
13653 (indirect_jump_scratch): Add second set.
13654 * sh.c (output_far_jump): Use prev_nonnote_insn instead of PREV_INSN
13655 when looking for indirect_jump_scratch.
13656 Extract scratch register taking new structure of indirect_jump_scratch
13657 into account.
13658 (gen_block_redirect): Set INSN_SCOPE for indirect_jump_scratch.
13659
62c9aa5f 136602003-03-03 Jan Hubicka <jh@suse.cz>
f7da1e9a 13661
09e2bf48
JH
13662 * calls.c (rtx_for_function_call): Take the address as an argument
13663 (expand_call): Do not modify the expression.
13664
f7da1e9a
JH
13665 * toplev.c (rest_of_compilation): Avoid cfg_cleanup calls when not
13666 optimizing.
13667
426ace7f
KH
136682003-03-03 Kazu Hirata <kazu@cs.umass.edu>
13669
13670 * config/h8300/h8300.md (*ixorsi3_zext_hi): Restrict to
13671 TARGET_H8300H and TARGET_H8300S.
13672
6967a126
KH
136732003-03-03 Kazu Hirata <kazu@cs.umass.edu>
13674
13675 * config/h8300/h8300.md (a peephole2): New.
13676
1f7e8790
KH
136772003-03-03 Kazu Hirata <kazu@cs.umass.edu>
13678
13679 * config/h8300/h8300.md (*extzv_8_8): Use shorter code when
13680 operands[0] and operands[1] are different.
13681
136822003-03-03 Kazu Hirata <kazu@cs.umass.edu>
2807791e
KH
13683
13684 * reload1.c (reload_cse_move2add): Remove variable success.
13685
a2581175
KG
136862003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13687
13688 * ggc-common.c (ggc_rlimit_bound): Cast RLIM_INFINITY to avoid
13689 warnings.
13690
ef1ecf87
RH
136912003-03-02 Richard Henderson <rth@redhat.com>
13692
13693 * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.
13694 * config.in, configure: Rebuild.
13695 * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum.
9a79ab7e 13696 * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the
ef1ecf87
RH
13697 paired ldtoffx and ldxmov annotations.
13698 (load_symptr_internal1): Remove.
13699 (load_symptr_high, load_symptr_low): New.
13700
82f6e3eb
NB
137012003-03-02 Neil Booth <neil@daikokuya.co.uk>
13702
13703 * c-incpath.c (add_path): Fix sysp assignment.
13704
bc522472
KG
137052003-03-02 Kurt Garloff <garloff@suse.de>
13706
13707 * params.def: Introduce parameter max-inline-insns-rtl for
13708 a separate limit for the RTL inliner.
13709 * params.h: Likewise.
13710 * integrate.c (function_cannot_inline_p): Use it.
9a79ab7e 13711 * toplev.c (decode_f_option): Set multiple parameters
bc522472
KG
13712 controlling inlining with -finline-limit.
13713 * params.def: Fix orthographic and typographic errors.
13714 * doc/invoke.texi: Document parameters controlling inlining
13715 and the way -finline-limit sets multiple of them.
13716
13717 * tree.h (struct tree_decl): Introduce inlined_function_flag,
13718 recording whether the function became eligible for inlining
13719 by a compiler flag rather than the declaration.
13720 Provide DID_INLINE_FUNC macro to access it.
13721 * c-decl.c (grokdeclarator): Set DID_INLINE_FUNC.
13722 * cp/decl.c (grokfndecl): Likewise.
13723 * toplev.c (rest_of_compilation): Likewise.
13724 * cp/optimize (maybe_clone_body): Copy DID_INLINE_FUNC.
13725 * print-tree.c (print_node): Report it.
13726 * params.def: Introduce new max-inline-insns-auto limit.
13727 * params.h: Likewise.
13728 * tree-inline.c (inlinable_function_p): Apply it to functions
13729 with DID_INLINE_FUNC set.
13730 * toplev.c (decode_f_option): Initialize it from -finline-limit
13731 value.
13732 * doc/invoke.texi: Document new parameter.
13733
b9f4b20a
GK
137342003-03-02 Geoffrey Keating <geoffk@apple.com>
13735
13736 * fix-header.c (read_scan_file): Don't reference simplify_path.
13737
97d322cc
SC
137382003-03-02 Stephane Carrez <stcarrez@nerim.fr>
13739
13740 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't enable
13741 min/max instructions by default as may result in reload errors.
13742
65fb64fe
SC
137432003-03-02 Stephane Carrez <stcarrez@nerim.fr>
13744
13745 * config/m68hc11/m68hc11.md ("mulqi3"): Allow address register to
13746 avoid reload problems; define split for it.
13747
b45e9837
SC
137482003-03-02 Stephane Carrez <stcarrez@nerim.fr>
13749
13750 * config/m68hc11/m68hc11.c (m68hc11_shift_operator): New function.
13751 * config/m68hc11/m68hc11-protos.h (m68hc11_shift_operator): Declare.
13752 * config/m68hc11/m68hc11.h (PREDICATE_CODES): Register.
9a79ab7e 13753 * config/m68hc11/m68hc11.md ("rotrhi3", "rotlhi3"): New patterns for
b45e9837
SC
13754 rotatert and rotate.
13755 ("rotrhi3_const", "rotlhi3_const"): Rename of old 'rotrhi3' insns.
13756 ("*rotrhi3", "*rotlhi3"): New insn pattern for non-const rotatert.
13757 ("*rotrhi3_addr"): New split for shift insns on address register.
13758 ("*lshrhi3", "*ashrhi3", "*ashlhi3_2"): Use new split.
13759 * config/m68hc11/larith.asm (___rotlhi3): New asm function.
13760 (___rotrhi3): Likewise.
13761 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build them.
13762
b1cbe78c
NB
137632003-03-02 Neil Booth <neil@daikokuya.co.uk>
13764
13765 * toplev.c (aux_base_name): Moved from toplev.h.
13766 (filename): Constify.
13767 (lang_dependent_init): Don't duplicate name.
13768 (process_options): Set aux_base_name here, not...
13769 (do_compile): ...here. Change protoype.
13770 (toplev_main): Move some code from do_compile.
13771 * toplev.h: Remove aux_base_name.
13772
b059c02a
KH
137732003-03-02 Kazu Hirata <kazu@cs.umass.edu>
13774
13775 * config/h8300/h8300-protos.h: Add a prototype for
13776 iorxor_operator.
13777 * config/h8300/h8300.c (print_operand): Handle 'c'.
13778 (iorxor_operator): New.
13779 * config/h8300/h8300.h (PREDICATE_CODES): Add iorxor_operator.
13780 * config/h8300/h8300.md (*iorhi3_zext): Remove.
13781 (*iorsi3_zexthi): Likewise.
13782 (*iorsi3_zextsi): Likewise.
13783 (*xorhi3_zextqi): Likewise.
13784 (*xorsi3_zexthi): Likewise.
13785 (*xorsi3_zextsi): Likewise.
13786 (*ixorhi3_zext): New.
13787 (*ixorsi3_zext_qi): Likewise.
13788 (*ixorsi3_zext_hi): Likewise.
13789
986b1f13
NB
137902003-03-02 Neil Booth <neil@daikokuya.co.uk>
13791
13792 * c-incpath.c (remove_component_p, simplify_path): Move back to
13793 cppfiles.c.
13794 (remove_duplicates): Use cpp_simplify_path.
13795 * c-incpath.h (simplify_path): Remove.
13796 * c-lex.c: Don't include c-incpath.h.
13797 (init_c_lex): Remove simplify_path.
13798 * cppfiles.c (remove_component_p, cpp_simplify_path): Restore.
13799 (find_or_create_entry, validate_pch): Revert.
13800
8a035a6b
AH
138012003-03-02 Ashif Harji <asharji@uwaterloo.ca>
13802
13803 * gcc.c (default_compilers): Add -no-integrated-cpp flag to invoke
13804 an external cpp during compilation.
13805 (option_map): Likewise.
13806 * objc/lang-specs.h (default_compilers): Similarly.
13807 * doc/invoke.texi: Document -no-integrated-cpp flag.
13808
23cdb465
KH
138092003-03-02 Kazu Hirata <kazu@cs.umass.edu>
13810
13811 * config/h8300/h8300.md (zero_extendqisi2): Change to an
13812 expander.
13813 (*zero_extendqisi2_h8300): New.
13814 (*zero_extendqisi2_h8300hs): New.
13815 (two splitters): New.
13816
29efb633
KG
138172003-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13818
13819 * fp-bit.h (float_to_usi): Fix condition wrapping prototype.
13820
36bf3f1b
KH
138212003-03-01 Kazu Hirata <kazu@cs.umass.edu>
13822
13823 * config/h8300/h8300.md (a peephole2): Remove dead code.
13824
08291658
RS
138252003-03-01 Roger Sayle <roger@eyesopen.com>
13826
13827 PR c++/9367
13828 * builtin-types.def (DEF_FUNCTION_TYPE_VAR_3): New macro.
13829 (BT_FN_INT_CONST_STRING_VALIST_ARG,
13830 BT_FN_INT_STRING_CONST_STRING_VALIST_ARG,
13831 BT_FN_INT_CONST_STRING_CONST_STRING_VALIST_ARG,
13832 BT_FN_INT_STRING_SIZE_CONST_STRING_VALIST_ARG,
13833 BT_FN_INT_STRING_CONST_STRING_VAR,
13834 BT_FN_INT_CONST_STRING_CONST_STRING_VAR,
13835 BT_FN_INT_STRING_SIZE_CONST_STRING_VAR): New built-in types.
13836 * builtin-attrs.def (ATTR_NONNULL_1, ATTR_NONNULL_2,
13837 ATTR_NONNULL_3): Also include the nothrow attribute.
13838 (sprintf, scanf, sscanf, vprintf, vsprintf, snprintf,
13839 vsnprintf, vscanf, vsscanf): Don't define attributes here.
13840 * builtins.def (putchar, puts): Make full C89 built-ins.
13841 (snprintf, sprintf, scanf, sscanf, vprintf, vscanf,
13842 vsscanf, vsnprintf, vsprintf): New built-ins.
13843 * c-common.c (c_common_nodes_and_builtins): Handle new macro
13844 DEF_FUNCTION_TYPE_VAR_3.
13845
13846 * doc/extend.texi: Document these new built-in functions.
13847
e5258f85
KH
138482003-03-01 Kazu Hirata <kazu@cs.umass.edu>
13849
13850 * config/h8300/h8300.md (a peephole2): New.
13851
85bb9c2a
RE
138522003-03-01 Richard Earnshaw <rearnsha@arm.com>
13853
13854 * predict.c (estimate_bb_frequencies): Correctly set
13855 real_values_initialized after initialization.
13856
5793b276
NB
138572003-03-01 Neil Booth <neil@daikokuya.co.uk>
13858
13859 * Makefile.in (C_AND_OBJC_OBJS, c-incpath.o, c-lex.o, LIBCPP_OBJS,
13860 cppinit.o, cppdefault.o, fix-header): Update.
13861 * c-incpath.c: New file.
13862 * c-incpath.h: New file.
13863 * c-lex.c: Include c-incpath.h.
13864 (init_c_lex): Register path simplifier.
13865 * c-opts.c: Include cppdefault.h and c-incpath.h.
13866 (TARGET_SYSTEM_ROOT, verbose, iprefix, sysroot, std_inc,
13867 std_cxx_inc, quote_chain_split, add_prefixed_path): New.
13868 (COMMAND_LINE_OPTIONS): Add more options from cpplib.
13869 (missing_arg, c_common_decode_option): Handle them.
13870 (c_common_post_options): Register include chains.
13871 (print_help): Update.
13872 * cppdefault.h (struct default include): Update.
13873 Move some macros to ...
13874 * cppdefault.c: ... here.
13875 (cpp_include_defaults): Add extra field add_sysroot.
13876 * cppfiles.c (include_file, search_from, find_or_create_entry,
13877 cpp_included, find_include_file, remap_filename): Update for
13878 renaming of search_path to cpp_path, and of the chain headers.
13879 (remove_component_p, _cpp_simplify_pathname): Move to c-incpath.c.
13880 * cpphash.h (struct search_path): Move to cpplib.h.
13881 (struct cpp_buffer, struct cpp_reader): Update.
13882 (_cpp_simplify_pathname): Remove.
13883 * cppinit.c: Don't include prefix.h and cppdefault.h.
13884 (INO_T_EQ, INO_T_COPY, path_include, append_include_chain,
13885 remove_dup_dir, remove_dup_nonsys_dirs, remove_dup_dirs,
13886 init_standard_includes, BRACKET, SYSTEM, AFTER, no_dir,
13887 no_pth, cpp_handle_options): Remove.
13888 (struct pending_option): Remove chain members.
13889 (cpp_destroy, cpp_read_main_file, COMMAND_LINE_OPTIONS,
13890 cpp_handle_option): Update.
13891 * cpplib.h (struct cpp_path, cpp_set_include_chains): New.
13892 (struct cpp_options): Remove quote_include, bracket_include,
13893 include_prefix, include_prefix_len, verbose, ignore_srcdir,
13894 no_standard_includes, no_standard_cplusplus_includes.
13895 (struct cpp_callbacks): Add simplify_path.
13896 (cpp_handle_options): Remove.
13897 * fix-header.c: Include c-incpath.h.
13898 (read_scan_file): Update to use c-incpath functionality.
13899 * doc/passes.texi: Update.
13900
6620997b
KH
139012003-03-01 Kazu Hirata <kazu@cs.umass.edu>
13902
13903 * config/h8300/h8300.c (bit_operand): Accept MEM only if it
13904 satisfies EXTRA_CONSTRAINT 'U'.
13905
82b4dc2e
KH
139062003-03-01 Kazu Hirata <kazu@cs.umass.edu>
13907
13908 * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch
13909 register.
13910 (*tst_extzv_memqi_1_n): Change to a splitter.
13911 (a peephole2): Update.
13912
c4f6b78e
RE
139132003-03-01 Richard Earnshaw <rearnsha@arm.com>
13914
13915 * predict.c (estimate_bb_frequencies): Initialize the sreal
13916 constants once per compilation.
13917
9552a3e3
RH
139182003-02-28 Richard Henderson <rth@redhat.com>
13919
13920 * toplev.c (flag_eliminate_unused_debug_types): Enable by default.
13921
73c68f61
SS
139222003-02-28 scott snyder <snyder@fnal.gov>
13923
13924 * flags.h: Add flag_eliminate_unused_debug_types.
13925 * toplev.c: Add flag_eliminate_unused_debug_types.
13926 (f_options): Add -feliminate-unused-debug-types.
13927 * dwarf2out.c (struct file_table): Add emitted member.
13928 (splice_child_die): Fix the parent pointer for the child being
13929 spliced.
13930 (lookup_filename): Maintain file_table.emitted array. Don't
13931 output .file directive here.
13932 (maybe_emit_file): (new)
13933 (init_file_table): Set up file_table.emitted.
13934 (dwarf2out_source_line): Use maybe_emit_file.
13935 (dwarf2out_start_source_file): Use maybe_emit_file.
13936 (dwarf2out_init): Use maybe_emit_file.
13937 (prune_unused_types_walk_attribs): (new)
13938 (prune_unused_types_mark): (new)
13939 (prune_unused_types_walk): (new)
13940 (prune_unused_types_prune): (new)
13941 (prune_unused_types): (new)
13942 (dwarf2out_finish): Call prune_unused_types if
13943 flag_eliminate_unused_debug_types is set.
13944 * doc/invoke.texi (Option Summary): Add
13945 -feliminate-unused-debug-types.
13946 (Debugging Options): Likewise.
13947
d8fad4ea
GK
139482003-02-28 Geoffrey Keating <geoffk@apple.com>
13949
13950 * doc/invoke.texi: Change .pch to .gch.
13951 * cppfiles.c (open_file_pch): Likewise.
13952 * gcc.c (default_compilers): Likewise.
13953
9855905c
AH
139542003-02-28 Aldy Hernandez <aldyh@redhat.com>
13955
52999738 13956 * floatlib.c: Remove.
9855905c 13957
3695c25f
JM
139582003-02-28 Jason Merrill <jason@redhat.com>
13959
13960 * stor-layout.c (variable_size): Leave a "minus 1" outside the
13961 SAVE_EXPR.
13962
f8f0e566
DE
139632003-02-28 David Edelsohn <edelsohn@gnu.org>
13964
13965 * config/rs6000/power4.md: Add compare bypass.
13966
35501efe
JT
139672003-02-28 Jason Thorpe <thorpej@wasabisystems.com>
13968
13969 * config/netbsd.h: Update copyright years.
13970 (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
13971 -pthread is specified on the command line.
13972
8f7ee471
DJ
139732003-02-28 Dale Johannesen <dalej@apple.com>
13974
52999738 13975 * loop.c (struct movable): Add insert_temp, shrink savemode.
8f7ee471 13976 (scan_loop): Accept invariants that require copying; mark as
52999738 13977 insert_temp.
8f7ee471
DJ
13978 (combine_movables): Don't combine insert_temp movables.
13979 (move_movables): Insert copies for insert_temp movables.
13980 Don't record the info based on regno for insert_temp's.
13981
67c2b45f
JS
139822003-02-28 Joel Sherrill <joel@OARcorp.com>
13983
13984 PR 9638/other
9a79ab7e 13985 * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Ensure the
67c2b45f
JS
13986 this constant defaults to 1.
13987
066f1538
BW
139882003-02-28 Bob Wilson <bob.wilson@acm.org>
13989
13990 * config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.
13991
b8c53e96
RE
139922003-02-28 Richard Earnshaw <rearnsha@arm.com>
13993
9a79ab7e 13994 * arm.md (mulhisi3, mulhisi3addsi, mulhidi3adddi): Enable for any
b8c53e96
RE
13995 ARMv5e processor, not just for XScale. Instructions are predicable.
13996 (mulhisi3tb, mulhisi3bt, mulhisi3tt): New patterns for ARMv5e.
13997
b93828f3
NC
139982003-02-28 Nick Clifton <nickc@redhat.com>
13999
14000 * config/arm/arm.c (note_invalid_constants): Change parameter type
14001 from bool to int.
14002
3c042316
KH
140032003-02-28 Kazu Hirata <kazu@cs.umass.edu>
14004
14005 * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Accept the
14006 test of bit 7.
14007 (*tst_extzv_memqi_1_n): Likewise.
14008 (a peephole2): New.
14009
c876997f 140102003-02-28 Richard Sandiford <rsandifo@redhat.com>
28727f1f
RS
14011
14012 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Wrap in
14013 #ifndef __mips16.
14014
62c9aa5f 140152003-02-28 Jan Hubicka <jh@suse.cz>
10a3fdd9
JH
14016
14017 * combine.c (gen_lowpart_for_combine): Update handling of
14018 subregs_of_mode
14019 * flow.c (life_analysis, mark_used_regs): Likewise.
14020 * regclass.c (subregs_of_mode): Turn into single bitmap.
14021 (cannot_change-mode_set_regs, invalid_mode_change_p): Update
14022 dealing with subregs_of_mode
14023 * regs.h (subregs_of_mode): Update prototype.
14024
9d18e06b
JZ
140252003-02-28 Josef Zlomek <zlomekj@suse.cz>
14026
14027 * emit-rtl.c (set_reg_attrs_for_parm): New function.
14028 * rtl.h (set_reg_attrs_for_parm): New exported function.
14029 * function.c (assign_parms): Use set_reg_attrs_for_parm instead of
14030 set_reg_attrs_from_mem.
14031
95456d43
RS
140322003-02-27 Roger Sayle <roger@eyesopen.com>
14033 Zack Weinberg <zack@codesourcery.com>
14034
14035 * gcc.c (do_spec_1): Treat %U like %u for unique associations.
14036
28ae9fed
KH
140372003-02-27 Kazu Hirata <kazu@cs.umass.edu>
14038
14039 * reload1.c (sext_for_mode): Remove.
14040 (reload_cse_move2add): Use trunc_int_for_mode instead of
14041 sext_for_mode.
14042 (move2add_note_store): Likewise.
14043 Reset register information if we see a set in non-integer
14044 mode.
14045
d47719fd
DE
140462003-02-27 David Edelsohn <edelsohn@gnu.org>
14047
30e7f17e
DE
14048 * config/rs6000/aix43.h (ASM_SPEC): Only emit -mppc64 if no -mcpu
14049 option.
14050 (ASM_CPU_SPEC): Use -m620 for Power3, Power4, 620, 630.
14051 * config/rs6000/aix51.h: Same.
14052 * config/rs6000/aix52.h: Same.
d47719fd
DE
14053 * config/rs6000/power4.md: Additional VMX bypasses.
14054
7a69a172
GB
140552003-02-27 Geert Bosch <bosch@gnat.com>
14056
14057 * toplev.c (print_version): Add indentation for GGC heuristics and
14058 output after printing version information.
14059
678e68fc
JW
140602003-02-27 James E Wilson <wilson@tuliptree.org>
14061
14062 * combine.c (simplify_comparison): Require integral mode when
14063 permuting SUBREG with AND.
14064
986704f1
SE
140652003-02-27 Steve Ellcey <sje@cup.hp.com>
14066
14067 * config/ia64/hpux.h (STARTFILE_PREFIX_SPEC): Remove.
14068
1e3af7f6
NC
140692003-02-27 Nick Clifton <nickc@redhat.com>
14070
14071 * config/arm/arm.md (extendsfdf2): Add pattern accidentally
14072 deleted when cirrus instructions were added.
14073
51b7c247
JT
140742003-02-27 Jason Thorpe <thorpej@wasabisystems.com>
14075
14076 * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable
14077 POSIX thread support by default.
14078
3eae722d
RS
140792003-02-27 Roger Sayle <roger@eyesopen.com>
14080
14081 * config/i386/cygwin.h: Don't include any other files directly.
14082 * config/i386/mingw32.h: Don't include cygwin.h directly.
14083 * config.gcc (cygwin, mingw32, uwin): Instead make these files
14084 explicit in the tm_files variable.
14085
6fc19dc9
AM
140862003-02-27 Alan Modra <amodra@bigpond.net.au>
14087
14088 * config/rs6000/rs6000.md: Add TI constant splitter.
14089
c41536f5
AO
140902003-02-26 Alexandre Oliva <aoliva@redhat.com>
14091
65c04548
AO
14092 * builtins.c (purge_builtin_constant_p): Handle subreg of
14093 constant_p_rtx too.
14094
c41536f5
AO
14095 * function.c (assign_stack_local_1): Truncate constant added to
14096 frame_pointer_rtx or virtual_stack_vars_rtx for Pmode.
14097
dccd5213
DE
140982003-02-26 David Edelsohn <edelsohn@gnu.org>
14099
14100 * config.gcc: Add power4 to PowerPC with_cpu list.
14101
62c9aa5f 141022003-02-26 Jan Hubicka <jh@suse.cz>
47a5d8e7
JH
14103
14104 * objc-act.c: (mark_referenced_methods): Fix compilation problem.
14105
cb9e4555
ZD
141062003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
14107
14108 * gcov-dump.c (print_prefix): Fix signedness warning.
14109 * gcov-io.h (struct counter_section, struct counter_section_data): New.
14110 (struct function_info): n_arc_counts field removed, n_counter_sections,
14111 counter_sections fields added.
14112 (struct gcov_info): arc_counts, n_arc_counts fields removed,
14113 n_counter_sections, counter_sections fields added.
14114 * libgcov.c (gcov_exit, __gcov_flush): Add support for multiple
14115 profile sections.
14116 * profile.h (MAX_COUNTER_SECTIONS): New.
14117 (struct section_info): New.
14118 (struct profile_info): count_instrumented_edges,
14119 count_edges_instrumented_now fields removed, n_sections, section_info
14120 fields added.
14121 (find_counters_section): Declare.
14122 * profile.c (struct function_list): count_edges field removed,
14123 n_counter_sections, counter_sections fields added.
14124 (set_purpose, label_for_tag, build_counter_section_fields,
14125 build_counter_section_value, build_counter_section_data_fields,
14126 build_counter_section_data_value, build_function_info_fields,
14127 build_function_info_value, build_gcov_info_fields,
14128 build_gcov_info_value): New static functions.
14129 (find_counters_section): New function.
14130 (instrument_edges, get_exec_counts, compute_branch_probabilities,
14131 branch_prob, create_profiler): Modified to support multiple profile
14132 sections.
14133
b0d7ef9a
JDA
141342003-02-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
14135
14136 * pa.c (compute_frame_size): Don't assume PREFERRED_STACK_BOUNDARY
14137 is 8 * STACK_BOUNDARY.
14138 * pa.h (PREFERRED_STACK_BOUNDARY): Change to 128 on 64-bit port.
14139
f6e91562
MM
141402003-02-26 Michael Matz <matz@suse.de>
14141
14142 * ra-colorize.c (merge_moves): Fix list handling.
14143
f0375c66
NC
141442003-02-26 Nick Clifton <nickc@redhat.com>
14145
14146 * config/arm/arm.c (is_load_address): Rename to...
52999738
ZW
14147 (arm_memory_load_p) ... this and make it check for SUBREGs and
14148 constant loads that will be converted into loads from the
14149 minipool.
14150 (is_cirrus_insn): Rename to ...
14151 (arm_cirrus_insn_p): ... this, for consistency. Replace test
14152 of CIRRUS_NO with CIRRUS_NOT.
14153 (cirrus_reorg): Use renamed functions.
14154 (note_invalid_constants): Change from a void function to bool.
14155 Add an extra parameter, saying whether the fixups should be
14156 pushed. Return true if fixups are needed.
14157 (arm_reorg): Use renamed functions. Use INSN_P. Replace test
14158 of CIRRUS_NO with CIRRUS_NOT.
14159 * config/arm/arm.h (FLOAT_WORDS_BIG_ENDIAN): Mention that
14160 other floating point co-processors can also affect this.
14161 * config/arm/arm.md ("type" attribute): Add mav_farith and
14162 mav_dmult. Replace references to "cirrus_type" attribute with
14163 "type".
14164 * config/arm/cirrus.md ("cirrus_fpu" attribute): Delete.
14165 ("cirrus_type" attribute): Delete - use "type" instead.
14166 ("cirrus" attribute): Replace 'no' with 'not' and 'yes' with
14167 'normal'.
f0375c66 14168
62c9aa5f 141692003-02-25 Jan Hubicka <jh@suse.cz>
0d446150
JH
14170
14171 * objc-act.c: Include cgraph.h
14172 (mark_referenced_methods): New function.
14173 (objc_init): Call it.
14174 * objc-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Set.
14175
14176 * c-decl.c (finish_function): Honor can_defer_p even in unit-at-a-time
14177 mode.
14178
14179 * optabs.c (expand_fix): Do not widen the input operand.
14180
14181 * expr.c (emit_group_store): Fix crash when converting single
14182 register into complex register.
14183
14184 * Makefile.in (jump.o, regclass.o, alias.o): Add dependency on timevar.h
14185 * alias.c: Include timevar.h
14186 (init_alias_analysis): Set timevar
14187 * jump.c: Include timevar.h
14188 (rebuild_jump_labels): Set timevar
14189 * regcalss.c: Include timevar.h
14190 (reg_scan): Set timevar
14191 * timevar.def (TV_ALIAS_ANALYSIS, TV_REG_SCAN, TV_REBUILD_JUMP): New
14192
b17d5d7c
ZD
141932003-02-26 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
14194
14195 * cse.c (count_reg_usage): Fix handling of REG_EQUAL notes.
14196
14197 * Makefile.in (loop-unroll.o): New.
14198 * cfgloop.h (UAP_PEEL, UAP_UNROLL, UAP_UNROLL_ALL): New.
14199 (unroll_and_peel_loops): Declare.
14200 * alias.c (init_alias_analysis): Flag_unroll_loops renamed to
14201 flag_old_unroll_loops.
14202 * loop.c (loop_invariant_p): Ditto.
14203 * unroll.c (unroll_loop): Flag_unroll_all_loops renamed to
14204 flag_old_unroll_all_loops.
14205 * flags.h (flag_unroll_loops): Renamed to flag_old_unroll_loops.
14206 (flag_unroll_all_loops): Renamed to flag_old_unroll_all_loops.
14207 * params.def (PARAM_MAX_UNROLLED_INSNS): Default value changed.
14208 (PARAM_MAX_AVERAGE_UNROLLED_INSNS, PARAM_MAX_UNROLL_TIMES,
14209 PARAM_MAX_PEELED_INSNS, PARAM_MAX_PEEL_TIMES,
14210 PARAM_MAX_COMPLETELY_PEELED_INSNS, PARAM_MAX_COMPLETELY_PEEL_TIMES,
14211 PARAM_MAX_ONCE_PEELED_INSNS): New.
14212 * toplev.h (flag_old_unroll_loops, flag_old_unroll_all_loops): New.
14213 (flag_unroll_loops, flag_unroll_all_loops): Used for new unroller
14214 instead of old one.
14215 (flag_peel_loops): New.
14216 (lang_independent_options): The new flags added.
14217 (rest_of_compilation): Call new unroller.
14218 (process_options): Setup flags for coexistence of old and new unroller.
14219 * doc/invoke.texi: Document new options.
14220 * doc/passes.texi: Document new unroller pass.
14221
244f7aa9
DB
142222003-02-26 David Billinghurst <David.Billinghurst@riotinto.com>
14223
14224 * fixinc/fixincl.x: Regenerate
14225
1d14f992
JZ
142262003-02-26 Josef Zlomek <zlomekj@suse.cz>
14227
14228 * function.c (assign_parms): Set reg_attrs for parameters passed in
14229 registers.
14230
8ace9f18
AM
142312003-02-26 Alan Modra <amodra@bigpond.net.au>
14232
38a84391 14233 PR target/9681
8ace9f18
AM
14234 * tlink.c (scan_linker_output): Drop leading '.' from symbol names.
14235
9a29ee42
DE
142362003-02-25 David Edelsohn <edelsohn@gnu.org>
14237
14238 * config/rs6000/xcoff.h (ASM_FILE_START): Do not emit machine
14239 pseudo-op.
14240
8beccec8
RS
142412003-02-25 Roger Sayle <roger@eyesopen.com>
14242
14243 * combine.c (combine_simplify_rtx, simplfy_comparison): Use CC0_P.
14244 * cse.c (invalidate_skipped_set): Likewise.
14245 * integrate.c (subst_constants): Likewise.
14246 * jump.c (reversed_comparison_code_parts): Likewise.
14247 * loop.c (canonicalize_condition): Likewise.
14248 * simplify-rtx.c (simplify_relational_operation): Likewise.
14249
b052d8ee
RS
142502003-02-25 Roger Sayle <roger@eyesopen.com>
14251
14252 * builtins.def (DEF_LIB_ALWAYS_BUILTIN, DEF_UNUSED_BUILTIN): Delete.
14253 (abs, labs, fabs, fabsf, fabsl, abort, exit, _exit, _Exit): Use
14254 the appropriate macro to define built-in function.
14255 (fmod,fmodf,fmodl): New built-in functions.
14256
14257 * doc/extend.texi (fmod,fmodf,fmodl): Document new built-ins.
14258
8d454008
RH
142592003-02-25 Richard Henderson <rth@redhat.com>
14260
14261 * config/i386/i386.c (function_arg): Pass variable sized
14262 structures correctly on the stack.
14263
fc943f55
KH
142642003-02-25 Kazu Hirata <kazu@cs.umass.edu>
14265
14266 * reload1.c (reload_cse_move2add): Use STRICT_LOW_PART if PLUS
14267 does not reduce the cost of SET.
14268
14f00213
FS
142692003-02-25 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14270
14271 PR target/9732
14272 * config/rs6000/rs6000.c (first_reg_to_save): Handle
14273 PIC_OFFSET_TABLE_REGNUM for -fPIC too.
14274 (rs6000_emit_prologue): Likewise.
14275 (rs6000_emit_epilogue): Likewise.
14276 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Make
14277 PIC_OFFSET_TABLE_REGNUM a fixed register for -fPIC.
14278
8164b171
RH
142792003-02-25 Richard Henderson <rth@redhat.com>
14280
14281 * real.c (real_to_integer2): Force overflow result only for
14282 unsigned overflow.
14283
9e48c409
KH
142842003-02-25 Kazu Hirata <kazu@cs.umass.edu>
14285
14286 * gcse.c (cprop_jump): Revert the 2003-02-23 change.
14287
3044064c 142882003-02-25 Vladimir Makarov <vmakarov@toke.toronto.redhat.com>
52999738 14289 Richard Henderson <rth@redhat.com>
3044064c
VM
14290
14291 * sched-ebb.c (add_deps_for_risky_insns): Add the dependence when
4e21585b 14292 there is no similar load.
3044064c 14293
15aab9c0 142942003-02-25 Vladimir Makarov <vmakarov@redhat.com>
52999738 14295 Richard Henderson <rth@redhat.com>
15aab9c0
VM
14296
14297 * sched-int.h (INSN_TRAP_CLASS, WORST_CLASS): Move them from
14298 sched-rgn.c.
14299 (add_forward_dependence): New function prototype.
14300
14301 * sched-rgn.c (INSN_TRAP_CLASS, WORST_CLASS): Move them to
14302 sched-init.h.
14303 (CONST_BASED_ADDRESS_P, may_trap_exp, haifa_classify_insn): Move
14304 them to haifa-sched.c.
14305
14306 * haifa-sched.c (CONST_BASED_ADDRESS_P, may_trap_exp,
14307 haifa_classify_insn): Move them from sched-rgn.c.
14308
14309 * sched-deps.c (add_dependence): Return flag of creating a new
14310 entry.
14311 (add_forward_dependence): New function.
14312 (compute_forward_dependences): Use the function.
9a79ab7e 14313
15aab9c0
VM
14314 * sched-ebb.c (earliest_block_with_similiar_load): New function.
14315 (add_deps_for_risky_insns): New function.
14316 (schedule_ebb): Call the function.
14317
143182003-02-20 Aldy Hernandez <aldyh@redhat.com>
c8e4f0e9 14319
52999738
ZW
14320 * doc/tm.texi: Document Rename TARGET_VECTOR_TYPES_COMPATIBLE to
14321 TARGET_VECTOR_OPAQUE_P. Document accordingly.
c8e4f0e9 14322
52999738
ZW
14323 * testsuite/gcc.dg/20030218-1.c: Check that initialization of
14324 opaque types fail.
c8e4f0e9 14325
52999738
ZW
14326 * c-typeck.c (comptypes): Change call to vector_types_compatible
14327 to vector_opaque_p.
14328 (convert_for_assignment): Call vector_opaque_p instead of
14329 vector_types_compatible.
14330 (really_start_incremental_init): Disallow initialization of opaque
14331 types.
c8e4f0e9 14332
52999738
ZW
14333 * target-def.h: Remove TARGET_VECTOR_TYPES_COMPATIBLE.
14334 Define TARGET_VECTOR_OPAQUE_P.
14335 (TARGET_INITIALIZER): Same.
c8e4f0e9 14336
52999738
ZW
14337 * target.h (struct gcc_target): Remove vector_types_compatible.
14338 Add vector_opaque_p.
c8e4f0e9 14339
52999738
ZW
14340 * config/rs6000/rs6000.c (rs6000_spe_vector_types_compatible):
14341 Remove.
14342 (is_ev64_opaque_type): Check for TARGET_SPE and make sure type is
14343 a vector type. Change return type to bool.
14344 (TARGET_VECTOR_TYPES_COMPATIBLE): Remove.
14345 (TARGET_VECTOR_OPAQUE_P): Define.
c8e4f0e9 14346
52999738
ZW
14347 * cp/parser.c (cp_parser_init_declarator): Call vector_opaque_p
14348 target hook.
14349 Include target.h.
14350 (cp_parser_init_declarator): Fix typo in function comments.
c8e4f0e9 14351
62c9aa5f 143522003-02-25 Jan Hubicka <jh@suse.cz>
fa1a0d02
JH
14353
14354 * Makefile.in (lcm.o): Add dependency on function.h
14355 * lcm.c (function.h): Include.
14356 * i386.c (machine_function, ix86_stack_locals,
14357 * ix86_save_varrargs_registers) : Move to
14358 ...
14359 * i386.h (machine_function, ix86_stack_locals,
14360 ix86_save_varrargs_registers): ... here; add optimize_mode_switching
14361 (ix86_optimize_mode_switching): New.
14362 * i386.md (fix patterns): Set ix86_optimize_mode_switching
14363
b103bfef
NC
143642003-02-25 Nick Clifton <nickc@redhat.com>
14365
14366 * config/d30v/d30v.c (d30v_init_cumulative_args): Fix typo. Name
14367 of fourth arg is 'fndecl' not 'indirect'. Update comment
14368 describing the function's parameters.
14369
62c9aa5f 143702003-02-24 Jan Hubicka <jh@suse.cz>
2d21f7d6
JH
14371
14372 * combine.c (simplify_shift_const): Fix previous patch.
14373
2bac97f7
JL
143742003-02-24 Jeff Law <law@redhat.com>
14375
14376 * i386.md (testdi_1_rex64): Discourage reload from using the %eax
14377 alternative.
14378 (testsi_1, testhi_1, testqi_1): Likewise.
14379
f8dc212b
RO
143802003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14381
14382 * config/alpha/osf.h (TARGET_OS_CPP_BUILTINS): Rename
14383 __EXTERN_PREFIX to __PRAGMA_EXTERN_PREFIX.
14384 * doc/extend.texi (Tru64 Pragmas): Reflect this.
14385
14386 * fixinc/inclhack.def (alpha___extern_prefix): Indicate #pragma
9a79ab7e 14387 extern_prefix support for Tru64 UNIX V5 <sys/stat.h>.
f8dc212b
RO
14388 * fixinc/fixincl.x: Regenerate.
14389 * fixinc/tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_CHECK]: New
14390 testcase.
14391 Fixes PR c/5059, c/6126, other/9671.
9a79ab7e 14392
44ee6e9e
RS
143932003-02-24 Roger Sayle <roger@eyesopen.com>
14394
14395 * gcc.c (do_spec_1) ['{']: Handle pending argument upon return
14396 from handle_braces in "%{...}".
14397
463f02cd
KK
143982003-02-24 Kaz Kojima <kkojima@gcc.gnu.org>
14399
14400 * config/sh/sh.c (TARGET_HAVE_TLS): Conditionally define.
14401 (prepare_move_operands): Handle TLS operands.
14402 (tls_symbolic_operand): New.
14403 (nonpic_symbol_mentioned_p): Handle TLS UNSPECs.
14404 (legitimize_pic_address): Do nothing for the TLS symbol.
14405 (sh_encode_section_info): Handle TLS case.
14406 (sh_strip_name_encoding): Drop TLS encoding.
14407 * config/sh/sh-protos.h (tls_symbolic_operand): Add prototype.
14408 * config/sh/sh.h (SH_TLS_ENCODING): Define.
14409 (TLS_SYMNAME_P, STRIP_TLS_ENCODING): Likewise.
14410 (ASM_OUTPUT_LABELREF): Drop TLS encoding.
14411 (OUTPUT_ADDR_CONST_EXTRA): Handle TLS UNSPECs.
14412 * config/sh/sh.md: Define TLS UNSPEC constants.
14413 (type): Add tls_load.
14414 ("tls_global_dynamic", "tls_local_dynamic"): New insns.
14415 ("sym2DTPOFF", "symDTPOFF2reg", "sym2GOTTPOFF"): New expanders.
14416 ("tls_initial_exec"): New insn.
14417 ("sym2TPOFF", "symTPOFF2reg"): New expanders.
14418 ("load_gbr"): New insn.
14419
14420 * configure.in (HAVE_AS_TLS): Add sh-*-* and sh[34]*-*-* cases.
52999738 14421 * configure: Regenerate.
463f02cd 14422
8403445a
AM
144232003-02-24 Alan Modra <amodra@bigpond.net.au>
14424
6fc19dc9 14425 PR 9297, PR 9722
8403445a
AM
14426 * calls.c (store_one_arg): Revert 1999-02-16 change. Revert
14427 2000-12-17 change. Pass EXPAND_STACK_PARM to expand_expr.
14428 * expr.h (enum expand_modifier): Define EXPAND_STACK_PARM.
14429 (enum block_op_methods): Reorder for better store_expr optimization.
14430 * expr.c (store_expr): Test bit 1 of "want_value" for call param
14431 stores, test bit 0 for original want_value meaning. Pass
14432 BLOCK_OP_CALL_PARM to emit_block_move when bit 1 set. Adjust
14433 recursive calls, and calls to expand_param.
14434 (expand_expr): Handle EXPAND_STACK_PARM modifier. When cse
14435 expected, set target to 0 rather than to subtarget. Formatting.
14436
ef906381
KH
144372003-02-23 Kazu Hirata <kazu@cs.umass.edu>
14438
14439 * gcse.c (cprop_jump): Use the REG_EQUAL note if available.
14440
16226f1e
KG
144412003-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14442
14443 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Document
14444 new default behavior.
14445 * ggc-common.c: Include sys/resource.h.
14446 (ggc_rlimit_bound): New function.
14447 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Update
14448 defaults to account for rlimits.
14449
9e555526
RH
144502003-02-22 Richard Henderson <rth@redhat.com>
14451
14452 * i386.c, i386.h (TUNEMASK): Rename from CPUMASK.
14453
144542003-02-22 Kelley Cook <kelley@dwhoops.info>
14455
52999738 14456 * i386.h, i386.c, i386.md (ix86_tune): Rename from ix86_cpu.
9e555526
RH
14457 (ix86_tune_string): Rename from ix86_cpu_string.
14458
9d913bbf
KC
144592003-02-22 Kelley Cook <kelleycook@comcast.net>
14460
52999738
ZW
14461 * config/i386/i386.c: Replace "mcpu" with "mtune".
14462 * config/i386/i386.h (TARGET_OPTIONS): Likewise.
14463 (CC1_CPU_SPEC): Likewise. New warning for "-mcpu".
14464 * doc/invoke.texi (i386 and x86-64 Options): Replace "mcpu"
14465 with "mtune". Note that "mcpu" is a deprecated synonym for "mtune".
9d913bbf 14466
d2c172bf
AS
144672003-02-23 Andreas Schwab <schwab@suse.de>
14468
14469 * config.gcc: Delete references to m68k/t-linux and
14470 m68k/t-linux-aout.
14471 * config/m68k/t-linux, config/m68k/t-linux-aout: Removed.
14472
62c9aa5f 144732003-02-22 Jan Hubicka <jh@suse.cz>
b3de7382
JH
14474
14475 * toplev.c (rest_of_compilation): Apply fotgotten hunk
14476 of track scheduling patch.
14477
62c9aa5f 144782003-02-22 Jan Hubicka <jh@suse.cz>
90b8be73
JH
14479
14480 * config/linux.h (TARGET_HAS_F_SETLKW): Define.
14481 * config/alpha/linux.h (TARGET_HAS_F_SETLKW): Likewise
14482
62c9aa5f 144832003-02-22 Jan Hubicka <jh@suse.cz>
764c4414
JH
14484
14485 * c-decl.c (c_expand_body_1): Fix.
14486
62c9aa5f 144872003-02-22 Jan Hubicka <jh@suse.cz>
1c4a429a
JH
14488
14489 * expmed.c (expand_divmod): Undo sign extensions for unsigned operands
14490
14491 * cfgcleanup.c (try_forward_edges): Don't check loop structures
14492 when not optimizing.
14493 (cleanup_cfg): Do not iterate trought delete_trivially_dead_insns
14494 when not expensive.
14495 * toplev.c (rest_of_compilation): Duplicate loop headers only when
14496 optimizing; Delete trivially dead insns early; fix optimize check.
14497
14498 * Makefile.in (c-decl.o, c-objc-common.o, cgraph.o, tree-inline.o): Add
14499 dependency on cgraph.h
14500 * c-decl.c: Include cgraph.h
14501 (finish_function): Update call of tree_inlinable_function_p.
14502 * c-objc-common.c: Include cgraph.h
14503 * cgraph.h: New file.
14504 * cgraphunit.c: New file.
14505 * cgraph.c (cgraph_node, cgraph_edge): Move into cgraph.h
14506 (cgraph_nodes, cgraph_n_nodes): Globalize.
14507 (cgraph_finalize_function, cgraph_finalize_compilation_unit
14508 cgraph_create_edges, cgraph_optimize, cgraph_mark_needed_node):
14509 Move into cgraphunit.c
14510 * tree-inline.c: Include cgraph.h
14511 * tree-inline.c: Include cgraph.h
14512
1e2115dc
JZ
145132003-02-22 Josef Zlomek <zlomekj@suse.cz>
14514
14515 * config/i386/i386.md: Use gen_lowpart instead of gen_rtx_REG
14516 for copying a register.
14517
26182e15
SB
145182003-02-22 Steven Bosscher <s.bosscher@student.tudelft.nl>
14519
14520 PR other/3782
14521 * toplev.c (process_options): If flag_detailed_statistics is set,
14522 then set time_report as well.
14523
b6553814
SB
14524 PR c/8828
14525 * jump.c (never_reached_warning): Don't fall through BARRRIER
26182e15
SB
14526 insns. Update comments to reflect what the function really does.
14527
c0a47a61
RS
145282003-02-21 Roger Sayle <roger@eyesopen.com>
14529
14530 * fold-const.c (omit_one_operand): No longer static.
14531 * tree.h (omit_one_operand): Prototype here.
14532 (div_and_round_double): Keep fold-const.c prototypes together.
14533 * builtins.c (builtin_mathfn_code): Handle binary built-in
14534 funtions, such as "pow" and "atan2".
14535 (fold_builtin): Optimize both pow(x,0.0) and pow(1.0,y) to 1.0.
14536 Simplify optimizations using "type" the builtin's return type.
14537
51928907
HPN
145382003-02-22 Hans-Peter Nilsson <hp@axis.com>
14539
5b296d93
HPN
14540 * config/cris/cris.c (cris_rtx_costs): Blockify dangling else.
14541 Fix functionalization typo.
14542
51928907
HPN
14543 * regmove.c (optimize_reg_copy_1): Do not replace a hard register
14544 in an asm.
14545
9ac121af
KG
145462003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14547
14548 * Makefile.in (ggc-common.o): Depend on $(PARAMS_H)
14549 * doc/invoke.texi (ggc-min-expand, ggc-min-heapsize): Update
14550 documentation.
14551 * ggc-common.c: Include params.h
14552 (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
14553 init_ggc_heuristics): New functions.
14554 * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic,
14555 init_ggc_heuristics): Prototype.
14556 * toplev.c (print_version): Output GGC heuristics.
14557 (parse_options_and_default_flags): Call init_ggc_heuristics.
14558
62c9aa5f 145592003-02-22 Jan Hubicka <jh@suse.cz>
453ee231
JH
14560
14561 * i386.c (def_builtin): Special case 64bit builtins.
14562 (MASK_SSE164, MASK_SSE264): New constants.
14563 (builtin_description): Add 64bit builtins.
14564 (ix86_init_mmx_sse_builtins): Likewise.
14565 * i386.h (enum ix86_builtins): Likewise.
14566 * i386.md (cvtss2siq, cvttss2siq, cvtsd2siq, cvttsd2siq, cvtsi2sdq,
14567 sse2_movq2dq_rex64, sse2_movsq2q_rex64): New.
14568 (sse2_movq2dq, sse2_movsq2q): Disable for 64bit.
14569 * mmintrin.h (_mm_cvtsi64x_si64, _mm_set_pi64x, _mm_cvtsi64_si64x): New.
14570 * xmmintrin.h (_mm_cvtss_si64x, _mm_cvttss_si64x, _mm_cvtsi64x_ss,
14571 _mm_set_epi64x, _mm_set1_epi64x, _mm_cvtsd_si64x, _mm_cvttsd_si64x,
14572 _mm_cvtsi64x_sd, _mm_cvtsi64x_si128, _mm_cvtsi128_si64x): New.
14573
62c9aa5f 145742003-02-22 Jan Hubicka <jh@suse.cz>
d50672ef
JH
14575
14576 * i386.c (builtin_description): Add __builtin_ia32_paddq and
14577 __builtin_ia32_psubq. Fix __builtin_ia32_paddq128
14578 and __builtin_ia32_psubq128.
14579 * i386.h (IX86_BUILTIN_PADDQ, IX86_BUILTIN_PSUBQ): New.
14580 * i386.md (addv*, mmx_ior*, mmx_xoe*, mmx_and*): Add missing '%'.
14581 (mmx_adddi3, mmx_subdi3): New.
14582 * mmintrin.h (_mm_add_si64, _mm_sub_si64): New.
14583 * xmmintrin.h (_mm_movepi64_pi64): New.
14584 (_mm_add_epi64, _mm_sub_epi64): fix.
14585 (_mm_mul_pu16): Rename to...
14586 (_mm_mul_su32): ... this one.
14587
14588 * builtins.c (expand_builtin_expect): Do not predict
14589 flag_guess_branch_prob is not set.
14590 * c-semantics.c (expand_stmt): Likewise.
14591 * predict.c (predict_insn): Likewise.
14592 * stmt.c (expand_continue_loop): Likewise.
14593 * toplev.c (rest_of_compilation): Do not call
14594 note_prediction_to_br_prob and note_prediction_to_br_prob
14595 when not optimizing.
14596
62c9aa5f 145972003-02-21 Jan Hubicka <jh@suse.cz>
9809a362
JH
14598
14599 * cfgrtl.c (commit_edge_insertions): Call
14600 find_many_sub_basic_block only when some code has been emitted.
14601 (commit_edge_insertions_watch_calls): Bring into sync with
14602 commit_edge_insertions
14603
62c9aa5f 146042003-02-21 J"orn Rennecke <joern.rennecke@superh.com>
a93d1ba2
R
14605
14606 * sh.h (OVERRIDE_OPTIONS): Fix code that clears 'e' register class.
14607
14608 * sh.md (binary_sf_op): Use extra constant operand instead of
14609 negating constant operand 4.
14610 * sh.c (sh_expand_binop_v2sf): Supply it.
14611
a8d0ddaf
ZW
146122003-02-21 Zack Weinberg <zack@codesourcery.com>
14613
14614 * cpphash.h (struct lexer_state): Add directive_wants_padding.
14615 * cpplib.c (_cpp_handle_directive): Set directive_wants_padding
14616 for directives of type INCL.
14617 (glue_header_name, parse_include): Use get_token_no_padding.
14618 * cppmacro.c (replace_args): If directive_wants_padding,
14619 provide padding tokens.
14620
902ac719
KH
146212003-02-21 Kazu Hirata <kazu@cs.umass.edu>
14622
14623 * config/h8300/h8300.md (a peephole2): New.
14624
62c9aa5f 146252003-02-21 Jan Hubicka <jh@suse.cz>
9dca2ad5
JH
14626
14627 * cfgrtl.c (commit_one_edge_insertion): Only mark BB for splitting.
14628 (commit_edge_insertions): Call find_many_sub_basic_blocks
14629
14630 * reg-stack.c (convert_regs): Cleax aux for blocks.
14631
62c9aa5f 146322003-02-21 Jan Hubicka <jh@suse.cz>
64465d27
JH
14633
14634 * toplev.c (parse_options_and_default_flags): Undo accidental commit.
14635
9e7d0b92
GN
146362003-02-21 Glen Nakamura <glen@imodulo.com>
14637
14638 PR optimization/8613
14639 * builtins.c (expand_builtin): Emit postincrements before expanding
14640 builtin functions.
14641
a7582c8c
BE
146422003-02-21 Ben Elliston <bje@redhat.com>
14643
14644 PR other/5634
14645 * doc/install.texi (Configuration): Explain using $HOME instead of
14646 the ~ metacharacter when referring to home directories.
14647
91710e62
AO
146482003-02-20 Alexandre Oliva <aoliva@redhat.com>
14649
14650 * configure.in (TARGET_SYSTEM_ROOT): Set default to
14651 ${exec_prefix}/${target_alias}/sys-root. Match explicit
14652 '${exec_prefix}' (in addition to the expansion thereof) as
14653 relocatable.
14654 * configure: Rebuilt.
14655
d64f6f86
KH
146562003-02-20 Kazu Hirata <kazu@cs.umass.edu>
14657
14658 * config/h8300/h8300.md (addhi3_incdec): Change the name to
14659 *addhi3_incdec.
14660 (addsi3_incdec): Change the name to *addsi3_incdec.
14661
fd7acc30
RS
146622003-02-20 Roger Sayle <roger@eyesopen.com>
14663
14664 * explow.c (force_reg): Avoid useless REG_EQUAL notes.
14665
1c2de642
TM
146662003-02-20 Toon Moene <toon@moene.indiv.nluug.nl>
14667
14668 PR fortran/9038
14669 * c-opts.c (sanitize_cpp_opts): Add Fortran front end
14670 options to be ignored.
14671 (c_common_decode_option): Ignore them when preprocessing.
14672
62c9aa5f 146732003-02-20 Jan Hubicka <jh@suse.cz>
b9422b69 14674
fd7acc30
RS
14675 * toplev.c (flag_sched2_use_superblocks, flag_sched2_use_traces): New
14676 global variables.
14677 (lang_independent_options): Add -fsched2-use-superblocks
14678 -fsced2-use-traces.
b9422b69
JH
14679 (rest_of_compilation): Deal with it.
14680 * invoke.texi (-fsched2-use-traces, fsched2-use-superblocks): Declare.
fd7acc30
RS
14681 * flags.h (flag_sched2_use_superblocks, flag_sched2_use_traces):
14682 Declare.
b9422b69
JH
14683 * rtl.h (reg_to_stack): Update prototype.
14684 * reg-stack.c (reg_to_stack): Return when something has changed;
14685 update liveness when executing after superblock scheduling.
14686
14687 * combine.c (simplify_shift_const): Simplify few special cases
14688 into constants.
14689
a62bfff2
DE
146902003-02-20 David Edelsohn <edelsohn@gnu.org>
14691
14692 * config/rs6000/rs6000.md: (attr "type"): Add fast_compare.
14693 (add.,subf.,neg.): Change attribute to fast_compare.
14694 All DFA descriptions updated.
14695
dbbf88d1
NS
146962003-02-20 Nathan Sidwell <nathan@codesourcery.com>
14697
14698 Change base class access representation.
14699 * tree.h (TREE_VIA_PUBLIC, TREE_VIA_PROTECTED,
14700 TREE_VIA_PRIVATE): Remove.
14701 (BINFO_BASEACCESSES): New binfo elt.
14702 (BINFO_BASEACCESS): New accessor.
14703 (BINFO_ELTS): Increase.
14704 (TI_ACCESS_PUBLIC, TI_ACCESS_PROTECTED, TI_ACCESS_PRIVATE): New.
14705 (access_public_node, access_protected_node,
14706 access_private_node): New global nodes.
14707 * tree.c (build_common_tree_nodes_2): Initialize access nodes.
14708 * dbxout.c (dbxout_type): Adjust.
14709 * dwarf2out.c (gen_inheritance_die): Add access parameter.
14710 (gen_member_die): Adjust.
14711 * dwarfout.c (output_inheritance_die): ARG is array of two trees.
14712 (output_type): Adjust.
14713 * tree-dump.c (dequeue_and_dump): Adjust binfo dumping.
14714
14715 Change base class access representation. Share virtual base
14716 binfos.
14717 * cp/call.c (build_special_member_call): Remove binfo_for_vbase
14718 call.
14719 * cp/class.c (build_base_path): Likewise.
14720 (build_primary_vtable): Adjust BINFO_NEW_VTABLE_MARKED use.
14721 (build_secondary_vtable): Remove FOR_TYPE arg. Adjust.
14722 (make_new_vtable): Adjust.
14723 (force_canonical_binfo_r): Delete.
14724 (force_canonical_binfo): Delete.
14725 (mark_primary_virtual_base): Delete.
14726 (dfs_unshared_virtual_bases): Delete.
14727 (mark_primary_bases): Adjust.
14728 (maybe_warn_about_overly_private_class): Adjust.
14729 (dfs_base_derived_from): Delete.
14730 (base_derived_from): Follow the inheritance chain.
14731 (struct find_final_overrider_data): Add vpath member.
14732 (dfs_find_final_overrider): Adjust.
14733 (dfs_find_final_overrider_q, dfs_find_final_overrider_post): New.
14734 (find_final_overrider): Adjust.
14735 (update_vtable_entry_for_fn): Adjust.
14736 (modify_all_vtables): Adjust.
14737 (walk_subobject_offsets): Adjust.
14738 (layout_nonempty_base_or_field): Adjust.
14739 (layout_empty_base): Remove last parameter. Adjust.
14740 (build_base_field): Adjust.
14741 (build_base_fields): Adjust.
14742 (propagate_binfo_offsets): Remove last parameter. Adjust.
14743 (dfs_set_offset_for_unshared_vbases): Delete.
14744 (layout_virtual_bases): Adjust.
14745 (finish_struct_1): Adjust.
14746 (init_class_processing): Don't init access nodes.
14747 (dfs_get_primary_binfo): Delete.
14748 (get_primary_binfo): Adjust.
14749 (dump_class_hierarchy_r): Remove most derived arg, add IGO
14750 parameter. Adjust.
14751 (dump_class_hierarchy): Adjust.
14752 (finish_vtbls): Adjust.
14753 (get_original_base): Delete.
14754 (build_vtt_inits): Adjust.
14755 (dfs_build_secondary_vptr_vtt_inits): Adjust.
14756 (dfs_ctor_vtable_bases_queue_p): Adjust.
14757 (build_ctor_vtbl_group): Adjust.
14758 (dfs_accumulate_vtbl_inits): Adjust.
14759 (build_vtbl_initializer): Adjust.
14760 (build_vbase_offset_vtbl_entries): Adjust.
14761 (add_vcall_offset_vtbl_entries_1): Adjust.
14762 * cp/cp-tree.h (CPTI_ACCESS_*): Remove.
14763 (access_*_node): Remove.
14764 (CANONICAL_BINFO): Delete.
14765 (BINFO_UNSHARED_MARKED): Remove.
14766 (BINFO_MARKED): Set LANG_FLAG_0 directly.
14767 (SET_BINFO_MARKED, CLEAR_BINFO_MARKED): Delete.
14768 (BINFO_VTABLE_PATH_MARKED): Set LANG_FLAG_3 directly.
14769 (SET_BINFO_VTABLE_PATH_MARKED, CLEAR_BINFO_VTABLE_PATH_MARKED):
14770 Delete.
14771 (BINFO_NEW_VTABLE_MARKED): Set LANG_FLAG_4 directly.
14772 (SET_BINFO_NEW_VTABLE_MARKED): Adjust.
14773 (SET_BINFO_PUSHDECLS_MARKED, CLEAR_BINFO_PUSHDECLS_MARKED):
14774 Delete.
14775 (BINFO_DEPENDENT_BASE_P): New.
14776 (dfs_walk, dfs_walk_real): Queue function takes derived binfo and
14777 index.
14778 (markedp, unmarkedp): Adjust.
14779 (dfs_unmarked_real_bases_queue_p, dfs_marked_real_bases_queue_p,
14780 dfs_skip_vbases, marked_vtable_pathp, unmarked_vtable_pathp,
14781 find_vbase_instance, binfo_for_vbase): Delete.
14782 (copied_binfo, original_binfo): Declare.
14783 (finish_base_specifier): Add virtual_p arg.
14784 (unshare_base_binfos): Delete.
14785 (copy_base_binfos): Declare.
14786 (reverse_path): Delete.
14787 * cp/decl.c (xref_basetypes): Access and virtuality passed
14788 differently. Don't copy direct base binfos here. Call
14789 copy_base_binfos.
14790 * cp/init.c (dfs_initialize_vtbl_ptrs): Adjust.
14791 (initialize_vtbl_ptrs): Adjust.
14792 (expand_member_init): Adjust.
14793 * cp/parser.c (cp_parser_base_specifier): Adjust.
14794 * cp/pt.c (instantiate_class_template): Adjust.
14795 (get_template_base_recursive): Adjust.
14796 * cp/rtti.c (get_pseudo_ti_init): Adjust.
14797 (get_pseudo_ti_desc): Adjust.
14798 * cp/tree.c (unshare_base_binfos): Rename to ...
14799 (copy_base_binfos): ... here, reimplement.
14800 (make_binfo): Set BINFO_DEPENDENT_BASE_P.
14801 (reverse_path): Remove.
14802 * cp/typeck.c (get_delta_difference): Adjust error messages.
14803 * cp/semantics.c (finish_base_specifier): Add virtual arg, adjust.
14804 * cp/search.c (lookup_base_r): Adjust.
14805 (dynamic_cast_base_recurse): Adjust.
14806 (canonical_binfo): Remove.
14807 (dfs_canonical_queue): Remove.
14808 (dfs_assert_unmarked_p): Remove.
14809 (assert_canonical_unmarked): Remove.
14810 (shared_marked_p, shared_unmarked_p): Remove.
14811 (BINFO_ACCESS, SET_BINFO_ACCESS): Use TREE_PUBLIC & TREE_PRIVATE.
14812 (dfs_access_in_type): Adjust.
14813 (access_in_type): Adjust.
14814 (dfs_accessible_queue_p): Adjust.
14815 (dfs_accessible_p): Adjust.
14816 (is_subobject_of_p_1, is_subobject_of_p): Remove.
14817 (struct lookup_field_info): Remove from_dep_base_p field.
14818 (lookup_field_queue_p): Adjust, test BINFO_DEPENDENT_BASE_P.
14819 (lookup_field_r): Remove dependent base code.
14820 (lookup_member): Likewise.
14821 (dfs_walk, dfs_walk_real): Add access arg to queue fn.
14822 (dfs_unmarked_real_bases_queue_p): Remove.
14823 (dfs_marked_real_bases_queue_p): Remove.
14824 (dfs_skip_vbases): Remove.
14825 (dfs_get_pure_virtuals): Adjust.
14826 (markedp, unmarkedp): Adjust.
14827 (marked_vtable_pathp, unmarked_vtable_pathp): Remove.
14828 (marked_pushdecls_p, unmarked_pushdecls_p): Adjust.
14829 (dfs_unmark): Adjust.
14830 (dfs_get_vbase_types):Remove.
14831 (dfs_build_inheritance_graph_order): Remove.
14832 (get_vbase_types): Remove
14833 (dfs_find_vbase_instance): Remove.
14834 (find_vbase_instance): Remove.
14835 (dfs_debug_unmarkedp): Adjust.
14836 (dependent_base_p): Remove.
14837 (dfs_push_type_decls): Adjust.
14838 (dfs_push_decls): Adjust.
14839 (dfs_no_overlap_yet): Adjust.
14840 (copied_binfo): New function.
14841 (original_binfo): New function.
14842 (binfo_for_vbase): Remove.
14843
14844 Change base class access representation.
14845 * java/class.c (set_super_info): Don't set TREE_VIA_PUBLIC.
14846 (add_interface_do): Likewise.
14847
6d6ab190
DE
148482003-02-20 David Edelsohn <edelsohn@gnu.org>
14849
a8d0ddaf
ZW
14850 * config/rs6000/sysv4.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
14851 * config/rs6000/power4.md (power4-store,power4-vecstore): New
6d6ab190
DE
14852 insn reservations.
14853 (power4-fpstore): Compact.
14854
2dd5df7c
KH
148552003-02-20 Kazu Hirata <kazu@cs.umass.edu>
14856
14857 * config/h8300/h8300.md (*iorsi3_w): New.
14858
8fa08316
JZ
148592003-02-20 Josef Zlomek <zlomekj@suse.cz>
14860
14861 * combine.c (distribute_notes): Kill REG_EXEC_COUNT.
14862 * rtl.c (reg_note_name): Likewise.
14863 * rtl.h (enum reg_note): Likewise.
14864 * doc/invoke.texi: Likewise.
14865 * doc/rtl.texi: Likewise.
14866
c8717368
JZ
148672003-02-20 Josef Zlomek <zlomekj@suse.cz>
14868
14869 * bb-reorder.c (find_traces_1_round): Fix comment typo.
14870
3bc400cd
RS
148712003-02-19 Roger Sayle <roger@eyesopen.com>
14872
14873 * fold-const.c (fold_real_zero_addition_p): Don't fold a zero
14874 addition in the presence of signaling NaNs.
14875
b5a49c0b
KW
148762003-02-19 Krister Walfridsson <cato@df.lth.se>
14877
14878 * tm.texi (INIT_CUMULATIVE_ARGS): Fix typo.
14879
472f2723
KH
148802003-02-19 Kazu Hirata <kazu@cs.umass.edu>
14881
14882 * config/h8300/h8300.c (output_logical_op): Optimize or.l when
14883 ORing with 0xffff??00 with the highest bit of the ?? part set.
14884 (compute_logical_op_length): Update.
14885 (compute_logical_op_cc): Likewise.
14886
6d9cc15b
JZ
148872003-02-19 Josef Zlomek <zlomekj@suse.cz>
14888
14889 * bb-reorder.c (find_traces_1_round): Fixed condition for small
14890 destination block with multiple predecessors.
14891 (connect_traces): Check whether the block is a start of trace.
14892
62c9aa5f 148932003-02-19 Jan Hubicka <jh@suse.cz>
563a317a
JH
14894
14895 * calls.c (expand_call): Update call of INIT_CUMULATIVE_ARGS
14896 * function.c (assign_params): Likewise.
14897 * arm-protos.h (arm_init_cumulative_args): Update prototype.
14898 * arm.c (arm_init_cumulative_args): Update function.
14899 * arm.h (INIT_CUMULATIVE_ARGS): Update.
14900 * avr-protos.h (init_cumulative_args): Update prototype.
14901 * avr.c (init_cumulative_args): Update function.
14902 * avr.h (INIT_CUMULATIVE_ARGS): Update.
14903 * d30v-protos.h (d30v_init_cumulative_args): Update prototype.
14904 * d30v.c (d30v_init_cumulative_args): Update function.
14905 * d30v.h (INIT_CUMULATIVE_ARGS): Update.
14906 * frv-protos.h (frv_init_cumulative_args): Update prototype.
14907 * frv.c (frv_init_cumulative_args): Update function.
14908 * frv.h (INIT_CUMULATIVE_ARGS): Update.
14909 * mips.c (mips_expand_prolgue): Update call of INIT_CUMULATIVE_ARGS.
14910 * pa.h (INIT_CUMULATIVE_ARGS): Update.
14911 * sparc-protos.h (init_cumulative_args): Update prototype.
14912 * sparc.c (init_cumulative_args): Update function.
14913 * sparc.h (INIT_CUMULATIVE_ARGS): Update.
14914 * tm.texi (INIT_CUMULATIVE_ARGS): Update documentation.
14915
be9d08c2
KH
149162003-02-19 Kazu Hirata <kazu@cs.umass.edu>
14917
14918 * config/h8300/h8300.md (*iorsi3_two_qi_sext): New.
14919 (*ashiftsi_sextqi_7): Likewise.
14920
f23147fe
RO
149212003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14922
14923 * config/mips/iris6.h (TARGET_OS_CPP_BUILTINS): Define __c99 for
14924 ISO C99 and C++.
14925
14926 * fixinc/inclhack.def (irix___restrict): Don't change __restrict
14927 for C++ on IRIX 6.5.1[89].
14928 * fixinc/tests/base/internal/sgimacros.h: New file.
14929
14930 * fixinc/inclhack.def (irix_wcsftime): Use XPG5 variant for C99.
14931 * fixinc/tests/base/internal/wchar_core.h: New file.
a8d0ddaf 14932
f23147fe
RO
14933 * fixinc/inclhack.def (irix_socklen_t): Fix broken IRIX 6.5.1[78]
14934 socklen_t definition.
14935 * fixinc/fixincl.x: Regenerate.
14936 * fixinc/tests/base/sys/socket.h: New file.
14937 Fixes PR libgcj/9652.
14938
62c9aa5f 149392003-02-19 Jan Hubicka <jh@suse.cz>
30e4d9d4
JH
14940
14941 * i386.md (movsfcc_1, movdfcc_1): Fix constrains.
14942
2792d578
DE
149432003-02-19 David Edelsohn <edelsohn@gnu.org>
14944
14945 * config/rs6000/rs6000.c (rs6000_override_options): Initialize
14946 align_jumps_max_skip and align_loops_max_skip.
14947
149482003-02-19 Thierry Moreau <thierry.moreau@connotech.com>
14949
14950 * config/rs6000/rs6000.c (rs6000_encode_section_info): Do not
14951 test size if named section.
14952
48a5f2fa
DJ
149532003-02-19 Daniel Jacobowitz <drow@mvista.com>
14954
14955 * expr.c (expand_expr): Use gen_int_mode for the argument
14956 to gen_rtx_MULT.
14957
62c9aa5f 149582003-02-19 Jan Hubicka <jh@suse.cz>
9e889775
JH
14959
14960 * i386.md (cosxf2): Fix conditional.
14961
f4c07fbf
KH
149622003-02-19 Kazu Hirata <kazu@cs.umass.edu>
14963
14964 * config/h8300/h8300.md (extendqisi2): Change to an expander.
14965 (*extendqisi2_h8300): New.
14966 (*extendqisi2_h8300hs): Likewise.
14967
590734b6
KH
149682003-02-19 Kazu Hirata <kazu@cs.umass.edu>
14969
14970 * config/h8300/h8300-protos.h: Update the prototype for
14971 split_adds_subs. Remove the prototypes for
14972 const_int_le_2_operand and const_int_le_6_operand.
14973 * config/h8300/h8300.c (split_adds_sub): Don't output inc/dec.
14974 (const_int_le_2_operand): Remove.
14975 (const_int_le_6_operand): Likewise.
14976 * config/h8300/h8300.h (PREDICATE_CODES): Remove the entries
14977 for const_int_le_2_operand and const_int_le_6_operand.
14978 * config/h8300/h8300.md: Update all uses of split_adds_subs.
14979 (a peephole2): New.
14980
62c9aa5f 149812003-02-18 Jan Hubicka <jh@suse.cz>
c001c39b
JH
14982
14983 * cgraph.c (NPREDECESORC, SET_NPREDECESORS): Kill.
14984 (cgraph_expand_function): Rewrite.
14985
2f51bb1d 149862003-02-18 Matt Austern <austern@apple.com>
3bc400cd 14987
2f51bb1d 14988 * toplev.c, langhooks.c, langhooks-def.h: Move
a8d0ddaf 14989 write_global_declarations from toplev.c to langhooks.c.
3bc400cd 14990
ff6e1a2f
KH
149912003-02-18 Kazu Hirata <kazu@cs.umass.edu>
14992
14993 * config/h8300/h8300.c (general_operand_src): Always check
14994 MODE.
14995 (general_operand_dst): Likewise.
14996
78bd5210
RS
149972003-02-18 Roger Sayle <roger@eyesopen.com>
14998
14999 * convert.c (convert_to_real): Also optimize (float)log(x) into
15000 logf(x) where x is a float, i.e. also handle BUILT_IN_LOG{,L}.
15001
9f3a9a08
KK
150022003-02-18 Kaz Kojima <kkojima@gcc.gnu.org>
15003
a8d0ddaf 15004 * config/sh/sh.c (unspec_caller_rtx_p): New.
9f3a9a08 15005 (sh_cannot_copy_insn_p): New.
a8d0ddaf 15006 (TARGET_CANNOT_COPY_INSN_P): New.
9f3a9a08 15007
d7ddbe24
RH
150082003-02-18 Richard Henderson <rth@redhat.com>
15009
15010 * c-common.c (handle_used_attribute): Accept static data too.
15011
150122003-02-18 Nick Clifton <nickc@redhat.com>
a8d0ddaf 15013 Aldy Hernandez <aldyh@redhat.com>
22d324c1 15014
a8d0ddaf 15015 * testsuite/gcc.dg/20030218-1.c: New.
22d324c1 15016
a8d0ddaf 15017 * doc/tm.texi: Document TARGET_VECTOR_TYPES_COMPATIBLE.
22d324c1 15018
a8d0ddaf
ZW
15019 * target-def.h (TARGET_INITIALIZER): Add
15020 TARGET_VECTOR_TYPES_COMPATIBLE.
15021 (TARGET_VECTOR_TYPES_COMPATIBLE): New macro.
22d324c1 15022
a8d0ddaf 15023 * target.h (struct gcc_target): Add field vector_types_compatible.
22d324c1 15024
a8d0ddaf
ZW
15025 * c-typeck.c (comptypes): Take into account
15026 TARGET_VECTOR_TYPES_COMPATIBLE.
15027 (convert_for_assignment): Same.
22d324c1 15028
a8d0ddaf
ZW
15029 * config/rs6000/rs6000.c (is_ev64_opaque_type): New.
15030 (rs6000_spe_vector_types_compatible): New.
15031 (TARGET_VECTOR_TYPES_COMPATIBLE): Define.
22d324c1 15032
e5378e8d
AS
150332003-02-19 Andreas Schwab <schwab@suse.de>
15034
15035 * Makefile.in (toplev.o): Depend on $(LANGHOOKS_DEF_H).
15036 * toplev.c: Include langhooks-def.h.
15037
fcc11c35
CD
150382003-02-18 Chris Demetriou <cgd@broadcom.com>
15039
15040 * config/mips/mips.h (enum processor_type): Sort entries
15041 alphabetically.
15042 * config/mips/mips.md (define_attr cpu): Sync with processor_type
15043 enum values, including adding entries that were missing.
15044
62c9aa5f 150452003-02-18 J"orn Rennecke <joern.rennecke@superh.com>
29db2a1e 15046
3bc400cd
RS
15047 * sh.c (calc_live_regs): Also check GET_CODE when checking if
15048 initial value for PR_REG is still the PR_REG register.
29db2a1e 15049
582d11e6
JW
150502003-02-18 Jim Wilson <wilson@redhat.com>
15051
15052 * config/ia64/ia64.md (floatdidf2, floatdisf2): Add %, before second
15053 instruction in output template.
15054 (bsp_value): Change output template from string to C code, add %,
15055 before actual instruction.
15056 (flushrs): Mark as not predicable.
15057
3edc4b23
KW
150582003-02-18 Krister Walfridsson <cato@df.lth.se>
15059
15060 * inclhack.def (netbsd_bogus_semicolon): New fix.
15061 * fixincl.x: Rebuilt.
15062 * tests/base/ctype.h: Update.
15063
080ea642
RS
150642003-02-18 Roger Sayle <roger@eyesopen.com>
15065
15066 * fold-const.c (negate_expr_p): New function to determine whether
15067 an expression can be negated cheaply.
15068 (fold) [MINUS_EXPR]: Use it to determine whether to transform
15069 -A - B into -B - A for floating point types.
15070
e360ab39
RS
150712003-02-18 Roger Sayle <roger@eyesopen.com>
15072
15073 * sbitmap.c (sbitmap_resize): New function.
15074 * sbitmap.h (sbitmap_resize): Prototype here.
15075 * recog.c (split_all_insns): Use sbitmap_resize.
15076
6b00cbc7
KH
150772003-02-18 Kazu Hirata <kazu@cs.umass.edu>
15078
15079 * config/h8300/h8300.md (*zero_extendhisi2_h8300): Fix the
15080 insn length.
15081 (extendqisi2): Likewise.
15082 (*extendhisi2_h8300): Likewise.
15083
2b59501b 150842003-02-18 Matt Austern <austern@apple.com>
a8d0ddaf 15085
2b59501b
MA
15086 * langhooks.h, langhooks-def.h: introduce new langhook,
15087 final_write_globals, with write_global_declarations as default.
15088 * toplev.c: Move invocation of wrapup_global_declarations from
15089 compile_file to new function, write_global_declarations. Change
15090 compile_file to use final_write_globals hook. Change
15091 wrapup_global_declarations so writing to DECL_DEFER_OUTPUT is
a8d0ddaf
ZW
15092 conditional.
15093
131efcd8
JDA
150942003-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
15095
15096 * pa.md: Correct and enhance comment.
15097
e17aafd1
GK
150982003-02-18 Geoffrey Keating <geoffk@apple.com>
15099
15100 * gcc.c (validate_switches): Don't scan past closing '}'.
15101
f57a2e3a
BE
151022003-02-18 Ben Elliston <bje@redhat.com>
15103
15104 PR c++/1607
15105 * doc/extend.texi (Function Attributes): Document the effect of
15106 the C++ "this" parameter on the counting of arguments for the
15107 "format" and "format_arg" attributes.
15108
9b0c0e9f
AH
151092003-02-17 Aldy Hernandez <aldyh@redhat.com>
15110
a8d0ddaf
ZW
15111 * config/rs6000/spe.h (__ev_stdd): Cast 2nd arg.
15112 (__ev_stdw): Same.
15113 (__ev_stdh): Same.
9b0c0e9f 15114
62c9aa5f 151152003-02-17 Jan Hubicka <jh@suse.cz>
35a3fa09
JH
15116
15117 * recog.c (split_all_insns): Fix memory overflow.
15118
6dc50366
KH
151192003-02-17 Kazu Hirata <kazu@cs.umass.edu>
15120
15121 * config/h8300/h8300.md (cmpqi): Remove mode from compare.
15122 (cmphi): Likewise.
15123 (*cmphi_h8300): Likewise.
15124 (*cmphi_h8300hs): Likewise.
15125 (cmpsi): Likewise.
15126 (7 peephole2): Likewise.
15127
62c9aa5f 151282003-02-16 Jan Hubicka <jh@suse.cz>
096daf41
JH
15129
15130 * c-typeck.c (build_c_cast): Fold constant variables into
15131 initial values.
15132
35113fde
GP
151332003-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15134
15135 * doc/install.texi (Specific): Fix link for m68k-att-sysv.
15136 (Binaries): Ditto for Sinix/Reliant Unix.
15137
3a1944a6
RE
151382003-02-16 Richard Earnshaw <rearnsha@arm.com>
15139
15140 * arm.c (arm_reload_in_hi): Ensure that the scratch register does
15141 not overlap the final result register.
15142
cdd4b0d4
AB
151432003-02-16 Arend Bayer <arend.bayer@web.de>
15144 Richard Henderson <rth@redhat.com>
15145
ddb9eedd 15146 PR c/8068
cdd4b0d4
AB
15147 * fold-const.c (extract_muldiv_1): Rename from extract_muldiv;
15148 rearrange mult arguments for less recursion.
15149 (extract_muldiv): New. Prevent runaway recursion.
15150
616f273a
DS
151512003-02-16 Danny Smith <dannysmith@users.sourceforge.net>
15152
15153 * config/i386/cygwin.h (TARGET_SUBTARGET_DEFAULT): Set
15154 MASK_ALIGN_DOUBLE.
15155
881b2a96
RS
151562003-02-15 Roger Sayle <roger@eyesopen.com>
15157
15158 * config/i386/i386.c (x86_ext_80387_constants): Use 80387 insns
15159 to load mathematical constants on K6, Athlon, Pentium 4 and PPro.
15160 (ext_80387_constants_table): Global table of 80387 special constants
15161 guarded by ext_80387_constants_init flag when not initialized.
15162 (init_ext_80387_constants): New function to initialize this table.
15163 (standard_80387_constant_p): Extend to recognize extra 80387
15164 constants, in XFmode, on processors where this is a win.
15165 (standard_80387_constant_opcode): New function to return the
15166 opcode associated with standard_80387_constant_p.
15167 (standard_80387_constant_rtx): New function to return the XFmode
15168 CONST_DOUBLE associated with standard_80387_constant_p.
15169 (ix86_rtx_costs): Give the new constants the same cost as 1.0.
15170
15171 * config/i386/i386-protos.h (standard_80387_constant_opcode):
15172 Prototype here.
15173 (standard_80387_constant_rtx): Likewise.
15174
15175 * config/i386/i386.md (*movsf1, *movsf1_nointerunit, *movdf_nointeger,
15176 *movdf_integer, *movxf_nointeger, *movtf_nointeger, *movxf_integer,
15177 *movtf_integer): Simplify using new standard_80387_constant_opcode.
15178
d203738b
GK
151792003-02-15 Geoffrey Keating <geoffk@apple.com>
15180
15181 * doc/invoke.texi (Optimize Options): Correct @option syntax.
15182
0b077eac
RH
151832003-02-15 Richard Henderson <rth@redhat.com>
15184
15185 * Makefile.in (cfglayout.o): Depend on TARGET_H.
15186 * cfglayout.c: Include target.h.
15187 (cfg_layout_can_duplicate_bb_p): Check targetm.cannot_copy_insn_p.
15188 * target-def.h (TARGET_CANNOT_COPY_INSN_P): New.
15189 * target.h (struct gcc_target): Add cannot_copy_insn_p.
15190
15191 * config/alpha/alpha.c (alpha_cannot_copy_insn_p): New.
15192 (TARGET_CANNOT_COPY_INSN_P): New.
15193 (override_options): Revert 2003-02-08 hack.
15194
9a71ece1
RH
151952003-02-15 Richard Henderson <rth@redhat.com>
15196
15197 * gcse.c (bypass_block): Use BLOCK_FOR_INSN for resolving LABEL_REFs.
15198 (bypass_conditional_jumps): Accept computed_jump_p insns as well.
15199
b54cf83a
DE
152002003-02-15 David Edelsohn <edelsohn@gnu.org>
15201
15202 * config/rs6000/rs6000.h (processor_type): Add PPC440.
15203 * config/rs6000/rs6000.c (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
15204 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
15205 TARGET_SCHED_VARIABLE_ISSUE): Define.
15206 (rs6000_use_dfa_pipeline_interface): New function.
15207 (rs6000_multipass_dfa_lookahead): New Function.
15208 (rs6000_variable_issue): New function.
15209 (rs6000_adjust_cost): Add CMP and DELAYED_CR types.
15210 (rs6000_issue_rate): Add PPC440.
15211 * config/rs6000/rs6000.md (unspec list): Correct typo.
15212 (attr "type"): Add load_ext, load_ext_u, load_ext_ux, load_u,
15213 store_ux, store_u, fpload_ux, fpload_u, fpstore_ux, fpstore_u,
15214 cmp, delayed_cr, mfcr, mtcr.
15215 (automata_option): Set "ndfa".
15216 (extendMMNN2): Update attributes.
15217 (movcc_internal1): Discourage move to non-cr0. Update
15218 attributes.
15219 (movMM_update): Update attributes.
15220 (cmpMM_internal): Update attributes.
15221 (sCC CR materialization): Update attributes.
15222 (branch patterns): Do not discourage non-cr0.
15223 (cr logical patterns): Prefer destructive register allocation.
15224 Update attributes.
15225 (movesi_from_cr): Update attribute.
15226 (mtcrf_operation): Update attribute.
15227 (mtcrfsi): Update attribute.
15228 * config/rs6000/40x.md: New file.
15229 * config/rs6000/603.md: New file.
15230 * config/rs6000/6xx.md: New file.
15231 * config/rs6000/7450.md: New file.
15232 * config/rs6000/7xx.md: New file.
15233 * config/rs6000/mpc.md: New file.
15234 * config/rs6000/power4.md: New file.
15235 * config/rs6000/rios1.md: New file.
15236 * config/rs6000/rios2.md: New file.
15237 * config/rs6000/rs64.md: New file.
15238 [Some DFA descriptions based on work by Michael Hayes]
15239
99dc7277
RH
152402003-02-15 Richard Henderson <rth@redhat.com>
15241
15242 * bb-reorder.c (find_traces_1_round): Don't connect easy to copy
15243 successors with multiple predecessors.
15244 (connect_traces): Try harder to copy traces of length 1.
15245
15246 * function.h (struct function): Add computed_goto_common_label,
15247 computed_goto_common_reg.
15248 * function.c (free_after_compilation): Zap them.
a8d0ddaf 15249 * stmt.c (expand_computed_goto): Use them to produce one
99dc7277
RH
15250 indirect branch per function.
15251
5f24e0dc
RH
152522003-02-15 Richard Henderson <rth@redhat.com>
15253
15254 * cfgcleanup.c: Include params.h.
15255 (try_crossjump_bb): Use PARAM_MAX_CROSSJUMP_EDGES. Fix test for
15256 too many outgoing edges from a block.
15257 * Makefile.in (cfgcleanup.o): Depend on PARAMS_H.
15258 * params.def (max-crossjump-edges): New.
15259 * doc/invoke.texi: Document it.
15260
9381bbc9
RH
152612003-02-15 Richard Henderson <rth@redhat.com>
15262
a8d0ddaf
ZW
15263 * recog.c (split_all_insns): Include new blocks in life update;
15264 do a global life update.
9381bbc9 15265
e898926c
DS
152662003-02-15 Danny Smith <dannysmith@users.sourceforge.net>
15267
15268 * config/i386/mingw32.h (LIBGCC_SPEC): Add libmingwex.a.
15269 Update copyright.
15270 * config/i386/cygwin.h (LIBGCC_SPEC): Add libmingwex.a for
15271 -mno-cygwin case.
15272
ce65116b
FH
152732003-02-14 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
15274
15275 PR optimization/7702
15276 * reload1.c (reload_cse_simplify_set): Honor
15277 CANNOT_CHANGE_MODE_CLASS.
15278
fe7496dd
AO
152792003-02-14 Alexandre Oliva <aoliva@redhat.com>
15280
15281 * config/mn10300/mn10300.c (mn10300_wide_const_load_uses_clr): New
15282 function.
15283 * config/mn10300/mn10300-protos.h: Declare it.
15284 * config/mn10300/mn10300.md (movdi, movdf): Use it to compute
15285 attribute cc of instructions that may use clr.
15286
6017c719
KH
152872003-02-14 Kazu Hirata <kazu@cs.umass.edu>
15288
15289 * simplify-rtx.c (simplify_binary_operation): Simplify ~y when
15290 (x - (x & y)) is found.
15291
9fb28a67
RO
152922003-02-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15293
15294 * configure.in: Fix typo.
15295 * configure: Regenerate.
15296
60f469fa
KH
152972003-02-14 Kazu Hirata <kazu@cs.umass.edu>
15298
15299 * config/h8300/h8300.md (*iorsi2_and_1_lshiftrt_1): New.
15300
8fd73754 153012003-02-13 Adam Nemet <anemet@lnxw.com>
60f469fa 15302
a8d0ddaf 15303 PR opt/2391
ce65116b
FH
15304 * combine.c: Fix spelling in comment.
15305 (cached_nonzero_bits): New function.
15306 (cached_num_sign_bit_copies): New function.
8fd73754
AN
15307 (nonzero_bits_with_known): New macro.
15308 (num_sign_bit_copies_with_known): New macro.
ce65116b 15309 (nonzero_bits1): Rename from nonzero_bits. Add three new
8fd73754
AN
15310 arguments. Change calls from nonzero_bits to
15311 nonzero_bits_with_known.
ce65116b 15312 (num_sign_bit_copies1): Rename from num_sign_bit_copies. Add
8fd73754
AN
15313 three new arguments. Change calls from num_sign_bit_copies to
15314 num_sign_bit_copies_with_known.
ce65116b
FH
15315 (nonzero_bits): New macro.
15316 (num_sign_bit_copies): New macro.
15317 (update_table_tick): Don't traverse identical subexpression more
8fd73754 15318 than once.
ce65116b 15319 (get_last_value_validate): Likewise.
8fd73754 15320
ddb0ae00
ZW
153212003-02-13 Zack Weinberg <zack@codesourcery.com>
15322
15323 * emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
15324 * function.h (struct emit_status): Length of regno_pointer_align
15325 and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
15326 not regno_pointer_align_length (i.e. length actually used, not
15327 length as allocated)
15328
15329 * config/i386/i386.c (struct stack_local_entry): New.
15330 (struct machine_function): Replace huge array with alist.
15331 (assign_386_stack_local): Change to match.
15332
c20b55c0
JDA
153332003-02-13 John David Anglin <dave.anglin@nrc-crnc.gc.ca>
15334
15335 * inclhack.def (hpux_long_double): Tighten select and add bypass
15336 regexp.
15337 * fixincl.x: Rebuilt.
15338
ffc8f11e
JZ
153392003-02-13 Josef Zlomek <zlomekj@suse.cz>
15340
15341 * cfgcleanup.c (outgoing_edges_match): When there is single outgoing
15342 edge and block ends with a jump insn it must be simple jump.
15343
047d636f
DJ
153442003-02-13 Daniel Jacobowitz <drow@mvista.com>
15345
15346 * Makefile.in (PREPROCESSOR_DEFINES): Add
15347 @TARGET_SYSTEM_ROOT_DEFINE@.
15348 * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot
15349 is specified or if building a cross compiler.
15350 (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE
15351 if the sysroot is under $exec_prefix.
15352 * configure: Regenerated.
15353 * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is
15354 defined.
15355 (struct default_include): Add add_sysroot field.
15356 (cpp_SYSROOT): Declare.
15357 * cppdefault.c (cpp_include_defaults): Fill in add_sysroot
15358 field.
15359 (cpp_SYSROOT): New variable.
15360 * cppinit.c (cpp_create_reader): Initialize
15361 CPP_OPTION (pfile, sysroot).
15362 (init_standard_includes): Handle add_sysroot. Do not
15363 add unrelocated copies of relocated directories.
15364 (COMMAND_LINE_OPTIONS): Add -isysroot.
15365 (cpp_handle_option): Handle -isysroot.
15366 * cpplib.h (struct cpp_options): Add sysroot member.
15367 * gcc.c (The Specs Language): Update description of %I.
15368 (target_system_root_changed): New variable.
15369 (process_command): Conditionalize make_relative_prefix call
15370 on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set
15371 target_system_root_changed.
15372 (do_spec_1): Add -isysroot to %I.
15373 * doc/invoke.texi (Spec Files): Update description of %I.
15374 * doc/install.texi (--with-sysroot): Update comment about
15375 relocation.
15376
4302db79
KH
153772003-02-13 Kazu Hirata <kazu@cs.umass.edu>
15378
15379 * config/h8300/h8300.md (a peephole2): New.
15380
e0d9cc77 153812003-02-13 Robert Lipe <robertlipe@usa.net>
ddb0ae00 15382 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
e0d9cc77
RL
15383
15384 * doc/install.texi (Specific): Update three SCO-related URLs.
15385
9fb93b00
AS
153862003-02-13 Andreas Schwab <schwab@suse.de>
15387
15388 * cgraph.c (SET_NPREDECESORS): Add intermediate cast to size_t.
15389 Parenthesize properly.
15390 (NPREDECESORS): Parenthesize properly.
15391
22ffcc6f
GDR
153922003-02-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
15393
15394 * timevar.h (POP_TIMEVAR_AND_RETURN): New macro.
15395
1fb54135
RS
153962003-02-12 Roger Sayle <roger@eyesopen.com>
15397
15398 * config/i386/i386.md (UNSPEC_FPATAN): New UNSPEC constant.
15399 (atan2sf3, atan2df3, atan2xf3, atan2tf3): New patterns.
15400
15401 * reg-stack.c (subst_stack_regs_pat): Add support for binary
15402 UNSPEC instructions (e.g. "fpatan").
15403
19a7414e
MS
154042003-02-12 Mike Stump <mrs@apple.com>
15405
15406 * varray.c (element_size): Remove.
15407 (uses_ggc): Remove.
15408 (element): Add.
15409 (varray_init): Use new interface.
15410 (varray_grow): Use new interface.
15411 (varray_clear): Use new interface.
15412
e589cc6e
AH
154132003-02-12 Aldy Hernandez <aldyh@redhat.com>
15414
ddb0ae00
ZW
15415 * config/rs6000/spe.h: Add casts to the arguments of the following
15416 macros: evfsabs, evfsnabs, evfsneg, evfsadd, evfssub, evfsmul,
15417 evfsdiv, evfscfui, evfscfsi evfscfuf evfscfsf, evfsctui, evfsctsi,
15418 evfsctuf, evfsctsf, evfsctuiz, evfsctsiz, __ev_get_upper*,
15419 __ev_get_lower*, __ev_get_u32, __ev_get_s32, __ev_get_fs,
15420 __ev_get_u16, __ev_get_s16.
e589cc6e 15421
2bbfc542
KH
154222003-02-12 Kazu Hirata <kazu@cs.umass.edu>
15423
15424 * config/h8300/h8300.md (a peephole2): New.
15425
62c9aa5f 154262003-02-12 Jan Hubicka <jh@suse.cz>
e72fcfe8
JH
15427
15428 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-unit-at-a-time
15429 (OBJS): Add callgraph.o
15430 (callgraph.o): New.
15431 * c-decl.c (expand_body_1): Break out from ...
15432 (expand_body): This one; change calling convention
15433 (finish_function): Move some of expand_body logic here.
15434 (c_expand_deferred_function): Update call of expand_body
15435 (c_expand_stmt): Use c_expand_body_1.
15436 * c-lang.c (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
15437 * c-objc-commin.c (c_objc_common_finish_file): Use callgraph code.
15438 * c-tree.h (c_expand_body): Declare.
15439 * callgraph.c: New file.
15440 * flags.h (flag_unit_at_a_time): Declare.
15441 * langhooks.h (LANG_HOOKS_CALLGRAPH_LOWER_FUNCTION,
15442 LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION,
15443 LANG_HOOKS_CALLGRAPH_INITIALIZER): New macros.
15444 * langhooks.h (struct lang_hooks_for_callgraph): New.
15445 (struct lang_hooks): Add callgraph field.
15446 * toplev.c (flag_unit_at_a_time): New.
15447 (lang_independent_options): Add flag_unit_at_a_time.
15448 (process_options): Disable unit-at-a-time mode for frontends not
15449 supporting callgraph.
15450 * tree-inline.c (typedef struct inline_data): Add "decl"
15451 (expand_call_inline): Update callgraph.
15452 (optimize_inline_calls): Set id.decl.
15453 * tree.h (cgraph_finalize_function, cgraph_finalize_compilation_unit,
15454 cgraph_create_edges, dump_cgraph, cgraph_optimize, cgraph_remove_call
15455 cgraph_calls_p): Declare.
15456 * invoke.texi (-funit-at-a-time): Document
15457
9037b0c7
AH
154582003-02-12 Aldy Hernandez <aldyh@redhat.com>
15459
ddb0ae00
ZW
15460 * config/rs6000/spe.h: Fix misc formatting.
15461 (__ev_create_ufix32_fs): Cast ev argument.
15462 (__ev_create_sfix32_fs): Same.
15463 (__ev_get_sfix32_fs_internal): Cast arguments to builtins.
15464 (__ev_get_ufix32_fs_internal): Same.
9037b0c7 15465
55ae46b1
RM
154662003-02-12 Ranjit Mathew <rmathew@hotmail.com>
15467
15468 * doc/tm.texi (MODIFY_JNI_METHOD_CALL): Document.
15469 * config/i386/cygwin.h (MODIFY_JNI_METHOD_CALL): New macro.
15470
3963c2e0
ZW
154712003-02-12 Zack Weinberg <zack@codesourcery.com>
15472
15473 * cpplib.c (do_include_common): Move warnings for
15474 #include_next and #import out to callers. Use early-return
15475 instead of nested ifs. Don't do check_eol here.
15476 (parse_include): Do check_eol here with the rest of the
15477 parsing stuff.
15478 (do_include_next, do_import): Now handle warnings.
15479
d1a86812
GP
154802003-02-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15481
15482 * doc/install.texi (Specific): Update AVR- and Darwin-related URLs.
15483
62c9aa5f 154842003-02-12 Jan Hubicka <jh@suse.cz>
6efcd268
JH
15485
15486 * predict.c (estimate_probability): Fix roundoff error.
15487
9083b5da
KH
154882003-02-12 Kazu Hirata <kazu@cs.umass.edu>
15489
15490 * config/h8300/h8300.md (a peephole2): Don't handle 65535.
15491 (two peephole2): New.
15492
86bc9b19
KH
154932003-02-12 Kazu Hirata <kazu@cs.umass.edu>
15494
15495 * config/h8300/h8300.md (several peephole2): Replace
15496 find_regno_note with peep2_reg_dead_p.
15497
ceda50e9
RH
154982003-02-11 Richard Henderson <rth@redhat.com>
15499
15500 * gcse.c (lookup_set): Remove unused argument PAT. Update
15501 both callers.
15502
886e0865
GK
155032003-02-11 Geoffrey Keating <geoffk@apple.com>
15504
15505 * diagnostic.c (real_abort): New.
15506 (diagnostic_report_diagnostic): Call real_abort on error.
15507 * diagnostic.h (diagnostic_abort_on_error): New.
15508 (struct diagnostic_context): Add abort_on_error field.
15509 * toplev.c (setup_core_dumping): New.
15510 (decode_d_option): Handle 'H' case.
15511 * doc/invoke.texi (Debugging Options): Document -dH.
15512
76438597
NN
155132003-02-11 Nathanael Nerode <neroden@gcc.gnu.org>
15514
15515 * Makefile.in: Remove pointless setting of CXXFLAGS for dejagnu
15516 which refers to obsolete directories.
15517
09b568fc
RH
155182003-02-11 Richard Henderson <rth@redhat.com>
15519
15520 * config/alpha/linux.h (TARGET_C99_FUNCTIONS): New.
15521
62c9aa5f 155222002-10-21 Jan Hubicka <jh@suse.cz>
8b978a57
JH
15523
15524 * i386.c (contains_128bit_aligned_vector_p): New function.
15525 (ix86_function_arg_boundary): Properly align vector modes.
15526
a3259be8
BW
155272003-02-11 Bob Wilson <bob.wilson@acm.org>
15528
15529 * config/xtensa/xtensa.md (set_frame_ptr): Change rtl to set reg a7.
15530 * config/xtensa/xtensa.c (xtensa_reorg): Search for UNSPECV_SET_FP
15531 as a SET pattern.
15532
da52a069
RS
155332003-02-11 Roger Sayle <roger@eyesopen.com>
15534
15535 * builtins.c: Fix failure caused by commiting wrong patch.
15536
d58f6584
DJ
155372003-02-11 Dale Johannesen <dalej@apple.com>
15538 * ra-build.c (compare_and_free_webs): Relax checking.
15539 * config/rs6000/darwin.h (HOT_TEXT_SECTION_NAME): Define.
15540 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define.
15541
22fd5743
FH
155422003-02-11 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
15543
15544 PR optimization/9651
15545 * rtlanal.c (may_trap_p): Handle FIX.
15546
3462df62
DJ
155472003-02-11 Dave Jones <davej@codemonkey.org.uk>
15548
15549 * config/i386/i386.c (override_options): Define c3-2 as a 686 with SSE.
15550 * doc/invoke.texi: Extra alias.
15551
a693fbb9
GK
155522003-02-11 Geoffrey Keating <geoffk@apple.com>
15553
15554 * config/rs6000/host-darwin.c: Fix comment.
15555
bb157ff4
DE
155562003-02-11 David Edelsohn <edelsohn@gnu.org>
15557
15558 * config/rs6000/rs6000.md (divmodsi4): Use register_operand
15559 predicate for mod result.
15560
16ddb599
JDA
155612003-02-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
15562
15563 * inclhack.def (hpux_long_double, hpux10_ctype_declarations1,
15564 hpux10_ctype_declarations2, hpux_ctype_macros): New hacks.
15565 * fixincl.x: Rebuilt.
15566 * tests/base/stdlib.h: Update.
15567 * tests/base/ctype.h: New file.
15568
62c9aa5f 155692003-02-11 Jan Hubicka <jh@suse.cz>
6f0d3566
JH
15570
15571 * emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
15572
d0a5295a
RH
155732003-02-11 Richard Henderson <rth@redhat.com>
15574
15575 * config/i386/i386.c (ix86_expand_movstr): Fail if esi or edi
15576 appropriated as globals.
15577 (ix86_expand_clrstr): Similarly.
15578 * config/i386/i386.md (cmpstrsi): Similarly.
15579
9672132f
KH
155802003-02-11 Kazu Hirata <kazu@cs.umass.edu>
15581
15582 * config/h8300/h8300.md (a peephole2): Add a case of 255.
15583
b5e01d4b
RS
155842003-02-11 Roger Sayle <roger@eyesopen.com>
15585
15586 * optabs.h (enum optab_index): Add new OTI_pow and OTI_atan2.
15587 (pow_optab, atan2_optab): Define corresponding macros.
15588 * optabs.c (init_optabs): Initialize pow_optab and atan2_optab.
15589 * genopinit.c (optabs): Implement pow_optab and atan2_optab
15590 using pow?f3 and atan2?f3 patterns.
15591 * builtins.c (expand_errno_check): New function to update errno
15592 if necessary, split out from expand_builtin_mathfn.
15593 (expand_builtin_mathfn): Use expand_errno_check.
15594 (expand_builtin_mathfn_2): New function to handle expanding binary
15595 math functions, reusing the code in expand_errno_check.
15596 (expand_builtin): Handle the pow and atan2 math built-ins,
15597 BUILT_IN_{POW,POWF,POWL,ATAN2,ATAN2F,ATAN2L} via the new function
15598 expand_builtin_mathfn_2.
15599
15600 * doc/md.texi: Document new pow?f3 and atan2?f3 patterns.
15601
62c9aa5f 156022003-02-11 Jan Hubicka <jh@suse.cz>
cb119f82
JH
15603
15604 * combine.c (combine_simplify_rtx): Fix folding of
15605 nested float_truncates.
15606
a05566a3
KH
156072003-02-11 Kazu Hirata <kazu@cs.umass.edu>
15608
15609 * config/h8300/h8300.md (a peephole2): Fix a typo.
15610
20ae4500
RE
156112003-02-11 Richard Earnshaw <rearnsha@arm.com>
15612
15613 * arm.mc (return_address_mask): Use CC_REGNUM for the condition code
15614 register number.
15615
717d8b71
KH
156162003-02-11 Kazu Hirata <kazu@cs.umass.edu>
15617
15618 * config/h8300/h8300-protos.h: Add a prototype for
15619 gtuleu_operator.
15620 * config/h8300/h8300.c (gtuleu_operator): New.
15621 * config/h8300/h8300.h (PREDICATE_CODES): Add gtuleu_operator.
15622 * config/h8300/h8300.md (a peephole2): New.
15623
62c9aa5f 156242003-02-11 Jan Hubicka <jh@suse.cz>
e36e8f52
JH
15625
15626 * sched-ebb.c (schedule_ebbs): Do not verify_flow_info.
15627
62c9aa5f 156282003-02-11 Jan Hubicka <jh@suse.cz>
c728da61
JH
15629
15630 * predict.c (choose_function_section): Choose sections correctly.
15631
4cc0fdd2
JDA
156322003-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
15633
15634 * reload1.c (first_label_num): New.
15635 (reload): Index offsets_known_at and offsets_at using difference of
15636 label number and first label number. Don't use offset pointers.
15637 (set_label_offsets, set_initial_label_offsets): Likewise.
15638
44b1fa11
RS
156392003-02-10 Roger Sayle <roger@eyesopen.com>
15640
15641 * mips-tfile.c (init_file): Add missing initializers in the
15642 "#ifdef __alpha" case.
15643 (file_offset, max_file_offset): Declare as unsigned long.
15644 (write_varray): Cast to "unsigned long" in comparisons against
15645 either file_offset or max_file_offset.
15646 (write_object): Likewise.
15647 (read_seek): Likewise.
15648 (copy_object): Likewise. Declare "ifd" as int to match its use
15649 in add_ext_symbol, and avoid signed/unsigned conditional warning.
15650
2948ade7 156512003-02-10 Nick Clifton <nickc@redhat.com>
3963c2e0 15652 Aldy Hernandez <aldyh@redhat.com>
2948ade7 15653
3963c2e0
ZW
15654 * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Do not
15655 override options which have been specified on the command line.
2948ade7 15656
2a4e6df4
KH
156572003-02-10 Kazu Hirata <kazu@cs.umass.edu>
15658
15659 * config/h8300/h8300.md (abssf2): New.
15660 (*abssf2_h8300): Likewise.
15661 (*abssf2_h8300hs): Likewise.
15662
411e2759
PE
156632003-02-10 Phil Edwards <pme@gcc.gnu.org>
15664
15665 * tree.c (build_tree_list): Fix parameter names in comment.
15666
2b24fc41
JJ
156672003-02-10 Janis Johnson <janis187@us.ibm.com>
15668
15669 * config/rs6000/ppc64-fp.c: New file.
15670 * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Add ppc64-fp.c.
15671
aa634f11
JZ
156722003-02-10 Josef Zlomek <zlomekj@suse.cz>
15673
15674 * Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
3963c2e0 15675 * bb-reorder.c (make_reorder_chain): Deleted.
aa634f11
JZ
15676 (make_reorder_chain_1): Deleted.
15677 (find_traces): New function.
15678 (rotate_loop): New function.
15679 (mark_bb_visited): New function.
15680 (find_traces_1_round): New function.
15681 (copy_bb): New function.
15682 (bb_to_key): New function.
15683 (better_edge_p): New function.
15684 (connect_traces): New function.
15685 (copy_bb_p): New function.
15686 (get_uncond_jump_length): New function.
15687 (reorder_basic_blocks): Use new functions (Software Trace Cache).
15688 * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop
15689 boundaries.
15690
17edbda5
AH
156912003-02-10 Aldy Hernandez <aldyh@redhat.com>
15692
15693 * config/rs6000/rs6000.c (bdesc_2arg): Change spe_evxor to xorv2si3.
15694
57116c34
DN
156952003-02-09 Dan Nicolaescu <dann@ics.uci.edu>
15696
15697 * tree.h (struct tree_decl): Remove unused live_range_rtl field.
3963c2e0 15698 (DECL_LIVE_RANGE_RTL): Remove.
57116c34 15699
4f448245
NC
157002003-02-10 Nick Clifton <nickc@redhat.com>
15701
15702 * config/arm/aof.h, config/arm/aout.h, config/arm/arm-modes.def,
15703 config/arm/arm-protos.h, config/arm/arm.c, config/arm/arm.h,
15704 config/arm/arm.md, config/arm/cirrus.md, config/arm/coff.h,
15705 config/arm/conix-elf.h, config/arm/ecos-elf.h, config/arm/elf.h,
15706 config/arm/freebsd.h, config/arm/linux-elf.h,
15707 config/arm/linux-gas.h, config/arm/netbsd-elf.h,
15708 config/arm/netbsd.h, config/arm/pe.c, config/arm/pe.h,
15709 config/arm/rtems-elf.h, config/arm/semi.h, config/arm/semiaof.h,
15710 config/arm/strongarm-coff.h, config/arm/strongarm-elf.h,
15711 config/arm/strongarm-pe.h, config/arm/uclinux-elf.h,
15712 config/arm/unknown-elf-oabi.h, config/arm/unknown-elf.h,
15713 config/arm/xscale-elf.h: Replace occurances of "GNU CC" with "GCC"
15714 and reformat as appropriate.
15715
19190d27
KH
157162003-02-10 Kazu Hirata <kazu@cs.umass.edu>
15717
15718 * config/h8300/clzsi2.c: Remove.
15719 * config/h8300/ctzsi2.c: Likewise.
15720 * config/h8300/paritysi2.c: Likewise.
15721 * config/h8300/popcountsi2.c: Likewise.
15722 * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Remove clzsi2,
15723 ctzsi2, paritysi2, and popcountsi2.
15724
ecf92f82 157252003-02-10 Eric Botcazou <ebotcazou@libertysurf.fr>
3963c2e0 15726 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
ecf92f82
EB
15727
15728 PR c/7741
15729 * c-decl.c (duplicate_decls): Discard the initializer of the
15730 new decl when the types are conflicting.
15731
ac5e69da
JZ
157322003-02-10 Josef Zlomek <zlomekj@suse.cz>
15733
15734 * Makefile.in (sreal.o): Added.
15735 (predict.o): Depends on sreal.h instead of real.h.
15736 * sreal.c: New file.
15737 * sreal.h: New file.
15738 * predict.c: Use sreal.c instead of real.c.
15739
9b6b54e2
NC
157402003-02-10 Nick Clifton <nickc@redhat.com>
15741
15742 * Contributed support for the Cirrus EP9312 "Maverick"
15743 floating point co-processor. Written by Aldy Hernandez
3963c2e0 15744 <aldyh@redhat.com>.
9b6b54e2
NC
15745 (config/arm/arm.c): Add Cirrus support.
15746 (config/arm/arm.h): Likewise.
15747 (config/arm/aout.h): Likewise.
15748 (config/arm/arm.md): Likewise.
15749 (config/arm/arm-protos.h): Likewise.
15750 (config.gcc): Likewise.
15751 (doc/invoke.texi): Describe new -mcpu value and new
15752 -mcirrus-fix-invalid-insns switch,
15753 (cirrus.md): New file.
15754
62c9aa5f 157552003-02-10 Jan Hubicka <jh@suse.cz>
949824fe
JH
15756
15757 * combine.c (combine_simplify_rtx): Simplify using
15758 (float_truncate (float x)) is (float x)
15759 (float_extend (float_extend x)) is (float_extend x).
15760
546ff777
AM
157612003-02-10 Alan Modra <amodra@bigpond.net.au>
15762
15763 * calls.c (try_to_integrate): Tidy stack_usage_map access.
15764 (emit_library_call_value_1): Likewise. Formatting.
15765 (store_one_arg): Likewise.
15766
626098f9 157672003-02-09 Nick Clifton <nickc@redhat.com>
3963c2e0 15768 Aldy Hernandez <aldyh@redhat.com>
626098f9 15769
3963c2e0
ZW
15770 * config/rs6000/spe.md: spe_evlhhesplat, spe_evlhhossplat,
15771 spe_evlhhousplat, spe_evlwhsplat, spe_evlwwsplat, spe_evldd,
15772 spe_evldh, spe_evldw, spe_evlwhe, spe_evlwhos, spe_evlwhou,
15773 spe_evstdd, spe_evstdh, spe_evstdw, spe_evstdwx, spe_evstwhe,
15774 spe_evstwho, spe_evstwwe, spe_evstwwo: Fix syntax to match newest
15775 docs. Add range test for immediate value.
626098f9
AH
15776
157772003-02-09 Aldy Hernandez <aldyh@redhat.com>
15778
3963c2e0
ZW
15779 Rename spe_evxor to xorv2si3.
15780 (xorv4hi3): New.
15781 (xorv1di3): New.
626098f9 15782
8d23a2c8 157832003-02-10 Glen Nakamura <glen@imodulo.com>
3963c2e0 15784
8d23a2c8
GN
15785 * doc/extend.texi (C++98 Thread-Local Edits): Add missing @item
15786 tag.
15787
62c9aa5f 157882003-02-10 Jan Hubicka <jh@suse.cz>
fdc4b40b
JH
15789
15790 * i386.c (vector_move_operand): New predicate.
15791 (ix86_expand_vector_move): Be happy about 0.
15792 * i386.h (PREDICATE_CODES): Add sse-move_operand.
15793 * i386.md (mov*_internal): Add 'C' alternative.
15794
62c9aa5f 157952003-02-09 Jan Hubicka <jh@suse.cz>
35c28a13
JH
15796
15797 * i386.md (floathi*): Deal with SSE.
15798
62c9aa5f 157992003-02-09 Jan Hubicka <jh@suse.cz>
852c8ba1
JH
15800
15801 * simplify-rtx.c (simplify_unary_operation,
15802 simplify_binary_operation): Deal with vector modes
15803 (simplify_ternary_operation): Deal with no-op VEC_MERGE.
15804
c876997f 158052003-02-09 Richard Sandiford <rsandifo@redhat.com>
2382b79f
RS
15806
15807 * toplev.c (rest_of_compilation): Recompute register usage after
15808 split_all_insns.
15809
8275b011
RH
158102003-02-09 Richard Henderson <rth@redhat.com>
15811
15812 * libgcc-std.ver (__clztf2): New.
15813 (__ctztf2, __popcounttf2, __paritytf2): New.
15814 * libgcc2.c (__clzSI2, __clzDI2, __ctzSI2, __ctzDI2, __popcountSI2,
15815 __popcountDI2, __paritySI2, __parityDI2): Use UWmode and UDWmode;
15816 adjust code to match the different type sizes.
15817 * libgcc2.h (__clzSI2, __ctzSI2, __popcountSI2, __paritySI2,
15818 __clzDI2, __ctzDI2, __popcountDI2, __parityDI2): New macros.
15819
15820 * optabs.c (init_integral_libfuncs): Don't hard-code SImode and
15821 TImode; select word_mode and twice that.
15822 (init_floating_libfuncs): Don't hard-code SFmode and TFmode;
15823 select the modes from float, double, and long double.
15824 (init_optabs): Remove duplicate initializations.
15825
794aca5d
WB
158262003-02-09 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
15827
15828 * doc/install.texi: Squeeze and streamline section on
15829 testing and regression checking.
15830
62c9aa5f 158312003-02-09 Jan Hubicka <jh@suse.cz>
d9deed68
JH
15832
15833 * i386.md (ahi?v*3): Set third operand type to TImode.
15834 * i386.c (ix86_expand_binop_builtin): Extend operand when needed.
15835
15836 * simplify-rtx.c (simplify_subreg): Fix conversion from vector into
15837 integer mode.
15838
15839 * rtl.def (VEC_MERGE, VEC_SELECT, VEC_CONCAT, VEC_DUPLICATE):
15840 Change code so they are arithmetic expressions now.
15841 * simplify-rtx.c (simplify_unary_operation, simplify_binary_operation,
15842 simplify_ternary_operation): Deal with VEC_* expressions.
15843
15844 * i386.md (vmaskcmp, pinsrw, movd patterns): Fix RTL representation.
15845
62c9aa5f 158462003-02-08 Jan Hubicka <jh@suse.cz>
83fd323c
JH
15847
15848 * cfgrtl.c (verify_flow_info): Use control_flow_insn_p.
15849 * reload1.c (fixup_abnormal_edges): Split basic blocks when EH edges
15850 possibly got duplicated.
15851
4ee7aa60
RH
158522003-02-08 Richard Henderson <rth@redhat.com>
15853
15854 * config/alpha/alpha.c (override_options): Turn off explicit
15855 relocs until post-peep2 code duplication resolved.
15856
c117dddc
KH
158572003-02-08 Kazu Hirata <kazu@cs.umass.edu>
15858
15859 * optabs.c (expand_unop): Widen clz properly when clz is done
15860 via libcall.
15861
8aa063fb
KH
158622003-02-08 Kazu Hirata <kazu@cs.umass.edu>
15863
15864 * config/h8300/clzsi2.c: Replace "GNU CC" with "GCC".
15865 * config/h8300/crti.asm: Likewise.
15866 * config/h8300/crtn.asm: Likewise.
15867 * config/h8300/ctzsi2.c: Likewise.
15868 * config/h8300/fixunssfsi.c: Likewise.
15869 * config/h8300/h8300-protos.h: Likewise.
15870 * config/h8300/h8300.c: Likewise.
15871 * config/h8300/h8300.h: Likewise.
15872 * config/h8300/h8300.md: Likewise.
15873 * config/h8300/paritysi2.c: Likewise.
15874 * config/h8300/popcountsi2.c: Likewise.
15875 * config/h8300/rtems.h: Likewise.
15876
01a132bb
ZD
158772003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
15878
15879 * doc/invoke.texi: Documentation for my previous commit.
15880 * doc/passes.texi: Ditto.
15881
617b465c
ZD
158822003-02-08 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
15883
15884 * cfgloop.h (fix_loop_placement, can_duplicate_loop_p,
15885 duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
15886 Declare.
15887 (DLTHE_FLAG_UPDATE_FREQ): New.
15888 * cfgloopmanip.c (duplicate_loop, duplicate_subloops, copy_loops_to,
15889 loop_redirect_edge, loop_delete_branch_edge, copy_bbs, remove_bbs,
15890 rpe_enum_p, find_branch, alp_enum_p, add_loop, fix_loop_placements,
15891 fix_bb_placement, fix_bb_placements, place_new_loop,
15892 scale_loop_frequencies, scale_bbs_frequencies, record_exit_edges):
15893 New static functions.
15894 (fix_loop_placement, can_duplicate_loop_p,
15895 duplicate_loop_to_header_edge, loopify, remove_path, split_loop_bb):
15896 New functions.
15897
15898 * cfgloop.h (loop_optimizer_init, loop_optimizer_finalize,
15899 unswitch_loops): Declare.
15900 * loop-init.c: New file.
15901 * loop-unswitch.c: New file.
15902 * Makefile.in (loop-init.o, loop-unswitch.o): New.
15903 * params.def (PARAM_MAX_UNSWITCH_INSNS, PARAM_MAX_UNSWITCH_LEVEL): New.
15904 * toplev.c (DFI_loop2): New dump.
15905 (flag_unswitch_loops): New.
15906 (lang_independent_options): Add it.
15907 (rest_of_compilation): Call new loop optimizer.
15908 (parse_options_and_default_flags): Turn flag_unswitch_loops on with -O3.
15909
3bd03194
KH
159102003-02-08 Kazu Hirata <kazu@cs.umass.edu>
15911
15912 * config/h8300/clzsi2.c: New.
15913 * config/h8300/ctzsi2.c: Likewise.
15914 * config/h8300/paritysi2.c: Likewise.
15915 * config/h8300/popcountsi2.c: Likewise.
15916 * config/h8300/t-h8300 (LIB2FUNCS_EXTRA): Add above files.
15917
d865b122
DE
159182003-02-07 David Edelsohn <edelsohn@gnu.org>
15919
15920 * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Define.
15921 * config/rs6000/rs6000.md (clzsi2): Rename from cntlzw2.
94993909 15922 (ctzsi2): New pattern.
d865b122
DE
15923 (ffssi2): Use clz instead of unspec.
15924 (clzdi2): Rename from cntlzd2.
94993909 15925 (ctzdi2): New pattern.
d865b122
DE
15926 (ffsdi2): Use clz instead of unspec.
15927
8f37dd98
LR
159282003-02-07 Loren James Rittle <ljrittle@acm.org>
15929
15930 * config/alpha/freebsd.h (LINK_SPEC): Weaken error to notice.
15931 * config/ia64/freebsd.h (LINK_SPEC): Likewise.
15932 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
15933 * config/i386/freebsd.h (LINK_SPEC): Add clause to mirror other arches.
15934
83205b9b
WB
159352003-02-07 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
15936
15937 * doc/trouble.texi: Document pitfalls of two-stage name lookup.
15938
710ee3ed
RH
159392003-02-07 Richard Henderson <rth@redhat.com>
15940
15941 PR 9226
3963c2e0
ZW
15942 * gcse.c (local_cprop_find_used_regs): New.
15943 (local_cprop_pass): Use it.
710ee3ed 15944
3ef879d2
FF
159452003-02-07 Fred Fish <fnf@intrinsity.com>
15946
15947 * mips-tfile.c (parse_def): Parenthesize assignments to fix
3963c2e0 15948 precedence bugs.
3ef879d2 15949
a0f0e963 159502003-02-07 Segher Boessenkool <segher@koffie.nl>
3ef879d2 15951
3963c2e0 15952 * genoutput.c (output_get_insn_name): Handle NOOP_MOVE_INSN_CODE.
a0f0e963 15953
46847aa6
RS
159542003-02-07 Roger Sayle <roger@eyesopen.com>
15955
15956 * builtin-types.def (BT_FN_FLOAT_FLOAT_FLOAT): New built-in type.
15957 (BT_FN_LONG_DOUBLE_LONG_DOUBLE_LONG_DOUBLE): Likewise.
15958 (BT_FN_DOUBLE_DOUBLE_DOUBLE): Likewise.
15959 * builtins.def: Define pow, powf, powl, atan2, atan2f and atan2l
15960 builtin functions (and their __builtin_* variants).
15961 * builtins.c (mathfn_built_in): Handle missing log{,f,l} cases.
15962 (expand_builtin): Don't expand log{,f,l}, pow{,f,l} or atan2{,f,l}
15963 when not optimizing.
15964
15965 * doc/extend.texi: Document new pow and atan2 builtins, and
15966 their float and long double variants. Realphabetize builtins.
15967
62c9aa5f 159682003-02-07 Jan Hubicka <jh@suse.cz>
c48d6750
JH
15969
15970 * i386.md (sse2_nandv2di3): Fix.
15971
5e062767
DS
159722003-03-07 Danny Smith <dannysmith@users.sourceforge.net>
15973
15974 * config/i386/i386.h (MS_AGGREGATE_RETURN): New define.
15975 * config/i386/cygwin.h (MS_AGGREGATE_RETURN): Override default
15976 definition.
15977 * config/i386/i386.h (ix86_return_in_memory): Return aggregate
15978 types of up to 8 bytes via registers if MS_AGGREGATE_RETURN.
15979
62c9aa5f 159802003-02-07 Jan Hubicka <jh@suse.cz>
3f755ed0
JH
15981
15982 * i386.md (movdi_rex64_1): Fix mmx<->int move opcode.
15983
0816bcd2
DB
159842003-02-07 Daniel Berlin <dberlin@dberlin.org>
15985
15986 * cfg.c (dump_flow_info): Add back accidently deleted line.
15987
7bf0a593
AP
159882003-02-07 Andrey Petrov <petrov@netbsd.org>
15989
15990 * optabs.c (expand_float): Search wider integer modes first.
15991
01e4596e
BW
159922003-02-07 Bob Wilson <bob.wilson@acm.org>
15993
15994 * config/xtensa/xtensa.h (LIBGCC2_WORDS_BIG_ENDIAN): Set this
15995 based on preprocessor flag.
15996
fbef91d8
RS
159972003-02-07 Roger Sayle <roger@eyesopen.com>
15998 Richard Henderson <rth@redhat.com>
15999
16000 * gcse.c (implicit_sets): New.
16001 (compute_hash_table_work): Include them in hash table.
16002 (find_implicit_sets, fis_get_condition): New.
16003 (one_cprop_pass): Allocate and free implicit_sets; call
16004 find_implicit_sets before building hash table.
16005
6713831e
JT
160062003-02-07 Jason Thorpe <thorpej@wasabisystems.com>
16007
16008 * config/t-netbsd (USER_H): Revert previous change.
16009
10d2dbe2
GG
160102003-02-07 Gabor Greif <ggreif@lucent.com>
16011
16012 * doc/c-tree.texi (Namespaces): Fix typo.
16013
62c9aa5f 160142003-02-07 Jan Hubicka <jh@suse.cz>
d1d3c9a6
JH
16015
16016 * regrename.c (do_replace, find_oldest_value_reg,
16017 copyprop_hardreg_forward_1): Update register attributes.
16018
1b1f249d
VM
160192003-02-06 Vladimir Makarov <vmakarov@redhat.com>
16020
16021 * genautomata.c (VLA_PTR_CREATE, VLA_PTR_EXPAND, VLA_PTR_ADD,
16022 VLA_HWINT_CREATE, VLA_HWINT_EXPAND, VLA_HWINT_ADD): Use temporay
16023 variables starting with underscore.
16024 (struct unit_usage): New structure.
16025 (unit_usages, cycle_alt_unit_usages): New global variables.
16026 (check_unit_distribution_in_reserv): Remove it.
16027 (store_alt_unit_usage): New function.
16028 (check_regexp_units_distribution): Rewrite it.
16029
90330d31
JDA
160302003-02-06 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
16031
16032 * config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in
16033 target_cpu_default.
16034 * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X)
16035 if not MASK_NO_SPACE_REGS.
16036 (output_call): Adjust return pointer, don't load new space register
16037 into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true.
16038 (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if
16039 TARGET_NO_SPACE_REGS is true.
16040 * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn
16041 conditions.
16042 (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true.
16043 (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is
16044 true. Use bve when TARGET_64BIT is true.
16045
d1164330
RH
160462003-02-06 Richard Henderson <rth@redhat.com>
16047
16048 * combine.c (nonzero_bits): Fix double break.
16049
5fbf0217 160502003-02-06 Eric Botcazou <ebotcazou@libertysurf.fr>
3963c2e0 16051 Richard Henderson <rth@redhat.com>
5fbf0217
EB
16052
16053 PR c/9530
16054 * config/i386/i386.c (ix86_function_ok_for_sibcall): Forbid sibcalls
16055 from functions that return a float to functions that don't.
16056
62c9aa5f 160572003-02-06 Jan Hubicka <jh@suse.cz>
8f62128d
JH
16058
16059 * i386.c (x86_inter_unit_moves): New variable.
16060 (ix86_secondary_memory_needed): Fix 64bit case, honor
16061 TARGET_INTER_UNIT_MOVES
16062 * i386.h (x86_inter_unit_moves): Declare.
16063 (TARGET_INTER_UNIT_MOVES): New macro.
16064 * i386.md (movsi_1): Cleanup constraints; disable
16065 when not doing inter-unit moves.
16066 (movsi_1_nointernunit): New.
16067 (movdi_1_rex64): Fix constraints; deal with SSE->GPR moves.
16068 (movdi_1_rex64_nointerunit): New.
16069 (mivsf_1): disable when not doing inter-unit moves.
16070 (movsf_1_nointerunit): New.
16071
16072 * basic-block.h (inside_basic_block_p): Declare.
16073 * cfgbuild.c (inside_basic_block_p): Make global.
ed446835 16074 * haifa-sched.c (unlink_other_notes): Deal with NOT_INSN_BASIC_BLOCK.
8f62128d
JH
16075 * scheudle-ebb.c (schedule_ebb): Return last basic block of trace;
16076 update CFG.
16077 (fix_basic_block_boundaries, add_missing_bbs): New.
16078 (rank): Use profile.
16079 (scheudle_ebbs): Rely on CFG; update coments.
16080
476d9098
GK
160812003-02-05 Geoffrey Keating <geoffk@apple.com>
16082
16083 * Makefile.in (host_hook_obj): New.
16084 (OBJS): Add $(host_hook_obj).
16085 (host_default.o): New rule.
16086 * config.gcc (host_hook_obj): New, default to host-default.o.
16087 (powerpc-*-darwin*): Use host-darwin.o.
16088 (out_host_hook_obj): New.
16089 * configure: Regenerate.
16090 * configure.in: Print information about out_host_hook_obj, substitute
16091 into output files.
16092 * host-default.c: New file.
16093 * hosthooks.h: New file.
16094 * toplev.c (general_init): Call host_hooks.extra_signals.
16095 * config/rs6000/host-darwin.c: New file.
16096 * config/rs6000/x-darwin: New file.
16097 * doc/hostconfig.texi: Add documentation for new host hook.
16098 Rearrange existing documentation.
16099
69bd9368
RS
161002003-02-05 Roger Sayle <roger@eyesopen.com>
16101
16102 * dwarf2out.c (mem_loc_descriptor): Replace ASM_SIMPLIFY_DWARF_ADDR
16103 with *targetm.delegitimize_address.
16104 (rtl_for_decl_location): Likewise.
16105 * dwarfout.c (output_mem_loc_descriptor): Likewise. Include target.h.
16106 * Makefile.in (dwarf2out.c, dwarfout.c): Depend upon $(TARGET_H)
16107
16108 * config/i386/i386.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
16109 * config/i386/i386-protos.h (i386_simplify_dwarf_addr): Remove
16110 prototype.
16111 * config/i386/i386.c (ix86_delegitimize_address): Renamed from
16112 i386_simplify_dwarf_addr. Made static. Prototyped.
16113 (TARGET_DELEGITIMIZE_ADDRESS): Update definition from
16114 i386_simplify_dwarf_addr to ix86_delegitimize_address.
16115 (ix86_find_base_term): Likewise.
16116 (maybe_get_pool_constant): Likewise.
16117
16118 * config/s390/s390.h (ASM_SIMPLIFY_DWARF_ADDR): Remove definition.
16119 * config/s390/s390-protos.h (s390_simplify_dwarf_addr): Remove
16120 prototype.
16121 * config/s390/s390.c (s390_delegitimize_address): Renamed from
16122 s390_simplify_dwarf_addr. Made static. Prototyped.
16123 (TARGET_DELEGITIMIZE_ADDRESS): Define as s390_delegitimize_address.
16124
7127fd58
RH
161252003-02-05 Richard Henderson <rth@redhat.com>
16126
8dde7a2c 16127 PR c/8602
3963c2e0
ZW
16128 * integrate.c (output_inline_function): Reset input_filename
16129 and lineno from the decl before rest_of_compilation.
7127fd58 16130
7dba8395
RH
161312003-02-05 Richard Henderson <rth@redhat.com>
16132
16133 * defaults.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
16134 (CTZ_DEFINED_VALUE_AT_ZERO): New.
16135 * doc/rtl.texi, doc/tm.texi: Document them.
16136
16137 * combine.c (nonzero_bits) [CLZ, CTZ]: Handle the definedness
16138 of the value at zero properly.
16139 * fold-const.c (tree_expr_nonnegative_p): Likewise.
16140 * simplify-rtx.c (simplify_unary_operation): Likewise.
16141
16142 * config/alpha/alpha.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
16143 (CTZ_DEFINED_VALUE_AT_ZERO): New.
16144
16145 * config/arm/arm.c (TARGET_INIT_BUILTINS): Remove.
16146 (TARGET_EXPAND_BUILTIN): Remove.
16147 (def_builtin, arm_init_builtins, arm_expand_builtin): Remove.
16148 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): New.
16149 (enum arm_builtins): Remove.
16150 * config/arm/arm.md (UNSPEC_CLZ): Remove.
16151 (clzsi2): Rename from clz; use clz instead of unspec.
16152 (ctzsi2): New.
16153 * config/arm/arm-protos.h: Update.
16154
62c9aa5f 161552003-02-05 Jan Hubicka <jh@suse.cz>
8d705469
JH
16156
16157 * i386-protos.h (x86_emit_floatuns): Declare.
16158 * i386.c (x86_emit_floatuns): New global function.
16159 * i386.md (floatunssisf2, floatunsdisf2,
16160 floatunsdidf2): New patterns.
16161
bc810602
ZD
161622003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
16163
16164 * cfgloopmanip.c (force_single_succ_latches): Fix missindentation.
16165
07938cec
HB
161662003-02-05 Hans Boehm <Hans.Boehm@hp.com>
16167
16168 * config/ia64/unwind-ia64.c: include coretypes.h, tm.h to get
16169 config/ia64/linux.h
16170
c876997f 161712003-02-05 Roger Sayle <roger@eyesopen.com>
ca9398d1
RS
16172
16173 * cfgloop.h (flow_bb_inside_loop_p): Correct prototype again.
16174
4f6ae35d
JJ
161752003-02-05 Jakub Jelinek <jakub@redhat.com>
16176
16177 PR optimization/8555
16178 * config/i386/i386.md (sse_mov?fcc split): Handle op2 == op3 case
16179 instead of aborting.
16180
8acfdd43
RH
161812003-02-04 Richard Henderson <rth@redhat.com>
16182
16183 * config/i386/i386.md (UNSPEC_BSF): Remove.
16184 (ffssi2): Split into cmove and no_cmove insns and splitters;
16185 lose pentium float trick for now.
16186 (ffssi_1): Add * to name; use CTZ instead of UNSPEC.
16187 (ctzsi2, clzsi2, bsr): New.
16188
c407570a
RH
161892003-02-04 Richard Henderson <rth@redhat.com>
16190
16191 * config/ia64/ia64.c (rtx_needs_barrier): Handle POPCOUNT,
16192 UNSPEC_GETF_EXP; remove UNSPEC_POPCNT.
16193 * config/ia64/ia64.md (UNSPEC_POPCNT): Remove.
16194 (ffsdi2): Use popcount instead of unspec.
16195 (popcountdi2): Rename from *popcnt.
16196 (ctzdi2, clzdi2, getf_exp_tf): New.
16197
4b3cf522
KH
161982003-02-04 Kazu Hirata <kazu@cs.umass.edu>
16199
16200 * genconfig.c (main): Generate CC0_P.
16201 * rtl.h (CC0_P): Remove.
16202
dfff898c
RH
162032003-02-04 Richard Henderson <rth@redhat.com>
16204
16205 * libgcc2.h, libgcc2.c (__ffsSI2): New.
16206 (__ffsDI2): Rename from __ffsdi2.
16207 * mklibgcc.in (lib2funcs): Add _ffssi2.
16208
0c9ed856
RH
162092003-02-04 Richard Henderson <rth@redhat.com>
16210
16211 * libgcc2.c (__paritysi2, __paritydi2): Replace last two reduction
16212 rounds with a "bit table" lookup.
16213
9537511b
UW
162142003-02-04 Ulrich Weigand <uweigand@de.ibm.com>
16215
16216 * reload.c (find_reloads): Do not use the mode specified in the insn
3ef879d2 16217 pattern as reload mode for address operands. Do not generate optional
9537511b
UW
16218 reloads for operands where a mandatory reload was already pushed.
16219
1efd0b97
RH
162202003-02-04 Richard Henderson <rth@redhat.com>
16221
16222 * longlong.h [alpha] (count_leading_zeros, count_trailing_zeros): Use
16223 builtins instead of inline assembly.
16224
087fc75a 162252003-02-04 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
3ef879d2 16226
087fc75a
FH
16227 PR c/9376
16228 * libgcc2.c (__subvdi3): Fix typo.
16229
62c9aa5f 162302003-02-04 Jan Hubicka <jh@suse.cz>
f0f0d98e
JH
16231
16232 * i386.md (movti_rex64): Fix constraint.
16233
62c9aa5f 162342003-02-04 Jan Hubicka <jh@suse.cz>
09f26fb5
JH
16235
16236 * i386.md (vector push splitters): Fix typo in resolving conflict.
16237
ff6e2d3e
RB
162382003-02-04 Rodney Brown <rbrown64@csc.com.au>
16239
16240 * config/i386/i386.c (x86_function_profiler): Fix typo in format.
16241
9e80ada7
PE
162422003-02-04 Phil Edwards <pme@gcc.gnu.org>
16243
16244 * doc/install.texi (*-*-linux-gnu): Mention glibc requirements
16245 for recent libstdc++. Remove formatting cruft.
16246
79c758fb
JJ
162472003-02-04 Jakub Jelinek <jakub@redhat.com>
16248
16249 * dwarf2out.c (dwarf2out_finish): Add AT_comp_dir
16250 attribute even if input file name is absolute, but one of the
16251 includes is relative.
16252
b3a8389d
JM
162532003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
16254
16255 * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi,
16256 doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2.
16257 * doc/install.texi: Update copyright dates. Update to GFDL 1.2.
16258
dabb3f04
RH
162592003-02-03 Richard Henderson <rth@redhat.com>
16260
16261 * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
16262 __popcountsi2, __popcountdi2, __paritysi2, __paritydi2): Change
16263 return type to "int". Shuffle declarations and undef int trap.
16264 * libgcc2.h: Remove their declarations.
16265 * optabs.c (expand_unop): Force outmode to int for bitops.
16266
985d0d50
BW
162672003-02-03 Bob Wilson <bob.wilson@acm.org>
16268
16269 * config/xtensa/xtensa.c (order_regs_for_local_alloc): Order the
16270 coprocessor registers before floating-point registers.
16271 * config/xtensa/xtensa.h (REG_ALLOC_ORDER): Adjust register numbers
16272 to account for a previously removed register.
16273 (SPEC_REG_FIRST, SPEC_REG_LAST, SPEC_REG_NUM, COUNT_REGISTER_REGNUM):
16274 Delete unused macros.
16275
62c9aa5f 162762003-02-03 Jan Hubicka <jh@suse.cz>
7f0e57bd
JH
16277
16278 * i386.c (ix86_expand_store_builtin): Always force op1 to register.
16279 (mov*_internal): Fix predicates; require one of operands to not be
16280 memory.
16281 (SSE?MMX move expanders): Fix predicates; force one of operands to
16282 register.
16283 (SSE/MMX push patterns): Reorganize; fix x86-64 code generation.
16284 (movups/movupd/movdqu patterns): Force one of operands to not be
16285 memory.
16286
c876997f 162872003-02-03 Roger Sayle <roger@eyesopen.com>
7daebb7a
RS
16288
16289 * hooks.c (hook_rtx_rtx_identity): Generic hook function that
16290 takes a single rtx and returns it unmodified.
16291 * hooks.h (hook_rtx_rtx_identity): Prototype here.
ff6e2d3e 16292 * target.h (struct gcc_target): Add "delegitimize_address"
7daebb7a
RS
16293 field to target structure.
16294 * target-def.h (TARGET_DELEGITIMIZE_ADDRESS): Provide default
16295 for delegitimize_address target using hook_rtx_rtx_identity.
16296 (TARGET_INITIALIZER): Initialize delegitimize_address field
16297 using TARGET_DELEGITIMIZE_ADDRESS macro.
16298 * simplify-rtx.c (avoid_constant_pool_reference): Handle float
16299 extensions of constant pool references. Use delegitimize_address
16300 to undo the obfuscation of "-fpic".
16301 * Makefile.in (simplify-rtx.o): Add dependency on target.h.
16302
16303 * config/i386/i386.c (TARGET_DELEGITIMIZE_ADDRESS): Define as
16304 i386_simplify_dwarf_addr.
16305 (ix86_find_base_term): Simplify using i386_simplify_dwarf_addr.
26182e15 16306 (maybe_get_pool_constant): Likewise.
7daebb7a 16307
62c9aa5f 163082003-02-03 Jan Hubicka <jh@suse.cz>
84520a20
JH
16309
16310 * i386.c (ix86_expand_int_movcc): Fix setcc sign bit case.
16311
62c9aa5f 163122003-02-03 Jan Hubicka <jh@suse.cz>
035b2a34
JH
16313
16314 * regclass.c (cannot_change_mode_set_regs): Correct argument order.
16315
1f143d5a
KG
163162003-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16317
16318 * mips/_tilib.c: Don't include tsystem.h or defaults.h. Don't
16319 define LIBGCC2_WORDS_BIG_ENDIAN. Include coretypes.h and tm.h.
16320
4b550d9f
AS
163212003-02-02 Andreas Schwab <schwab@suse.de>
16322
16323 * varasm.c (asm_output_aligned_bss): Declare as possibly unused.
16324
0732a089
RE
163252003-02-02 Richard Earnshaw <rearnsha@arm.com>
16326
16327 * arm.md (sibcall_epilogue): Set the "conds" to "clob".
16328 (epilogue_insns): Likewise.
16329
f269f54f
JDA
163302003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
16331
16332 * doc/install.texi (hppa*-hp-hpux11*): Update installation notes.
16333
611ad29e
JDA
163342003-02-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
16335
16336 * pa-protos.h (attr_length_millicode_call): Remove second argument.
16337 (attr_length_indirect_call, attr_length_indirect_call,
16338 attr_length_save_restore_dltp): New prototypes.
16339 * pa.c (attr_length_millicode_call): Remove second argument. Check
16340 INSN_ADDRESSES_SET_P in distance calculation.
16341 (output_millicode_call): Check INSN_ADDRESSES_SET_P before using
16342 INSN_ADDRESSES.
16343 (attr_length_call): Check INSN_ADDRESSES_SET_P in distance calculation.
16344 (output_call): Check INSN_ADDRESSES_SET_P before using INSN_ADDRESSES.
16345 Call attr_length_call directly.
16346 (attr_length_indirect_call, output_indirect_call,
16347 attr_length_save_restore_dltp): New functions.
16348 * pa.md (attr_length_millicode_call): Drop second argument from all
16349 patterns.
16350 (return_internal_pic): Delete.
16351 (return_external_pic): Remove use of PIC register and pic operand and
16352 flag checks.
16353 (epilogue): Use return_internal for both normal and pic code.
16354 (call, call_value): Emit new 32-bit pic patterns for symref and
16355 indirect calls. Remove uses for arg pointer and pic register.
16356 (call_symref_pic, call_symref_pic_post_reload, call_reg_pic,
16357 call_reg_pic_post_reload, call_val_symref_pic,
16358 call_val_symref_pic_post_reload, call_val_reg_pic,
16359 call_val_reg_pic_post_reload): New pre and post reload insn patterns.
16360 Implement define_split and define_peephole2 patterns for pre reload
16361 patterns.
16362 (call_symref_64bit, call_internal_reg_64bit, call_value_symref_64bit,
16363 call_value_internal_reg_64bit): Shorten names.
16364 (all call patterns): Explicitly indicate registers used and clobbered.
16365 Use attr_length_indirect_call and attr_length_save_restore_dltp for
16366 attribute length calculation. Move code generation for indirect calls
16367 to output_indirect_call.
16368 (sibcall, sibcall_value): Don't restore PIC register.
16369 (exception_receiver, builtin_setjmp_receiver): Add blockage after PIC
16370 register retore.
16371
8cacda7c
GP
163722003-02-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16373
16374 * doc/install.texi (Testing): Simplify and compress instructions
16375 concerning Dejagnu.
16376
cbc158bb
JDA
163772003-02-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
16378
16379 * collect2.c (pexecute_pid): Rename to pid.
16380 (collect_wait, collect_execute, scan_prog_file, scan_libraries): Use
16381 pid.
16382
dcef1843
GK
163832003-02-01 Geoffrey Keating <geoffk@apple.com>
16384
16385 * doc/extend.texi (Function Attributes): Remove documentation
16386 for PowerPC Windows NT function attributes..
16387
5d7bed9d
DJ
163882003-02-01 Daniel Jacobowitz <drow@mvista.com>
16389
16390 * dwarf2out.c (gen_type_die): Check for typedefs before calling
16391 for TYPE_MAIN_VARIANT.
16392
53585c36
RH
163932003-02-01 Richard Henderson <rth@redhat.com>
16394
16395 * libgcc2.c: Include auto-host.h.
16396 (ATTRIBUTE_HIDDEN): New.
16397 (__clz_tab): Don't declare here for clz and ctz.
16398 (__clzsi2, __clzdi2): Use count_leading_zeros.
16399 (__ctzsi2, __ctzdi2): Use count_trailing_zeros.
16400 (__popcount_tab): Mark ATTRIBUTE_HIDDEN.
16401 (__paritysi2, __paritydi2): Use shifts instead of __popcount_tab.
16402 * longlong.h (__clz_tab): Mark ATTRIBUTE_HIDDEN.
16403
bc8a6d63
RH
164042003-02-01 Richard Henderson <rth@redhat.com>
16405
16406 * config/i386/i386.md (addsi_1_zext splitter): Add TARGET_64BIT
16407 to the conditional.
16408 (ashlsi3_1_zext splitter): Likewise.
16409
2928cd7a
RH
164102003-02-01 Richard Henderson <rth@redhat.com>
16411
16412 * optabs.c (expand_unop): Use word_mode for outmode of bit scaners.
16413 * libgcc2.c (__ffsdi2, __clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
16414 __popcountsi2, __popcountdi2, __paritysi2 __paritydi2): Change
16415 return type to Wtype.
16416
16417 * libgcc-std.ver (GCC_3.4): Fix inheritance.
16418
16419 * config/i386/i386.md (ffssi2): Use nonimmediate_operand for
16420 expander input constraint.
16421
164222003-02-01 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
16423
ff6e2d3e
RB
16424 * optabs.h (optab_index): Add OTI_clz, OTI_ctz, OTI_popcount and
16425 OTI_parity.
16426 (clz_optab, ctz_optab, popcount_optab, parity_optab): New.
16427 * optabs.c (widen_clz, expand_parity): New.
16428 (expand_unop): Handle clz and parity. Hardcode SImode as outmode
16429 for libcalls to clz, ctz, popcount, and parity.
16430 (init_optabs): Init clz_optab, ctz_optab, popcount_optab and
16431 parity_optab, and set up libfunc handlers.
16432 * libgcc2.c (__clzsi2, __clzdi2, __ctzsi2, __ctzdi2,
16433 __popcountsi2, __popcountdi2, __paritysi2 __paritydi2,
16434 __popcount_tab): New.
16435 * libgcc2.h: Declare them.
16436 * libgcc-std.ver (GCC_3.4): Add new functions from libgcc2.c.
16437 * genopinit.c (optabs): Add clz_optab, ctz_optab, popcount_optab
16438 and parity_optab.
16439 * builtin-types.def (BT_FN_INT_LONG, BT_FN_INT_LONGLONG): New.
16440 * builtins.def (BUILT_IN_CLZ, BUILT_IN_CTZ, BUILT_IN_POPCOUNT,
16441 BUILT_IN_PARITY, BUILT_IN_FFSL, BUILT_IN_CLZL, BUILT_IN_CTZL,
16442 BUILT_IN_POPCOUNTL, BUILT_IN_PARITYL, BUILT_IN_FFSLL,
16443 BUILT_IN_CLZLL, BUILT_IN_CTZLL, BUILT_IN_POPCOUNTLL,
16444 BUILT_IN_PARITYLL): New.
16445 * builtins.c (expand_builtin_unop): Rename from expand_builtin_ffs
16446 and add optab argument.
16447 (expand_builtin): Expand BUILT_IN_{FFS,CLZ,POPCOUNT,PARITY}*.
16448 * tree.def (CLZ_EXPR, CTZ_EXPR, POPCOUNT_EXPR, PARITY_EXPR): New.
16449 * expr.c (expand_expr): Handle them.
16450 * fold-const.c (tree_expr_nonnegative_p): Likewise.
16451 * rtl.def (CLZ, CTZ, POPCOUNT, PARITY): New.
16452 * reload1.c (eliminate_regs): Handle them.
16453 (elimination_effects): Likewise.
16454 * function.c (instantiate_virtual_regs_1): Likewise
16455 * genattrtab.c (check_attr_value): Likewise.
16456 * simplify-rtx.c (simplify_unary_operation): Likewise.
16457 * c-common.c (c_common_truthvalue_conversion): Handle POPCOUNT_EXPR.
16458 * combine.c (combine_simplify_rtx): Handle POPCOUNT and PARITY.
16459 (nonzero_bits): Handle CLZ, CTZ, POPCOUNT and PARITY.
16460 * config/alpha/alpha.md (clzdi2, ctzdi2, popcountdi2): New.
16461 * config/arm/arm.c (arm_init_builtins): Rename __builtin_clz to
16462 __builtin_arm_clz.
16463 * Makefile.in (LIB2FUNCS_1, LIB2FUNCS_2): Move...
16464 * mklibgcc.in (lib2funcs): ...here and merge. Add new members.
16465 * doc/extend.texi (Other Builtins): Add new builtins.
16466 * doc/md.texi (Standard Names): Add new patterns.
2928cd7a 16467
112f7223
UW
164682003-02-01 Ulrich Weigand <uweigand@de.ibm.com>
16469
16470 * reload.c: Revert 2003-01-31 change.
16471
62c9aa5f 164722003-02-01 Jan Hubicka <jh@suse.cz>
434c87d4
JH
16473
16474 * combine.c (combine_simplify_rtx): Use reversed_comparison_code_parts.
16475
271bd540
RS
164762003-02-01 Richard Sandiford <rsandifo@redhat.com>
16477
16478 * flags.h (flag_volatile): Remove declaration.
16479 (flag_volatile_global, flag_volatile_static): Likewise.
16480 * c-typeck.c (build_indirect_ref): Don't check flag_volatile.
16481 * toplev.c (flag_volatile): Remove definition.
16482 (flag_volatile_global, flag_volatile_static): Likewise.
16483 (f_options): Remove corresponding entries here.
16484 * varasm.c (make_decl_rtl): Don't check flag_volatile_global
16485 or flag_volatile_static.
16486 * doc/invoke.texi: Remove documentation of -fvolatile,
16487 -fvolatile-global and -fvolatile-static.
16488
17e6098e
JDA
164892003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
16490
16491 * pa.c (pa_output_function_prologue, pa_output_function_epilogue): Move
16492 updating of total_code_bytes from prologue to epilogue.
16493
2f278625
UW
164942003-01-31 Ulrich Weigand <uweigand@de.ibm.com>
16495
16496 * reload.c (find_reloads): Do not use the mode specified in the insn
16497 pattern as reload mode for address operands. Do not generate optional
16498 reloads for operands where a mandatory reload was already pushed.
16499 Generate optional reloads only in the final pass though find_reloads.
16500 (have_replacement_p): New function.
16501
05c425a9
GP
165022003-01-31 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
16503
16504 * doc/install.texi (Testing): Remove a reference to our obsolete
16505 /testresults web pages and strip redundant information concerning
16506 test results.
16507 (Binaries): Refer to Microsoft Windows instead of listing all
16508 possible variants.
16509
62c9aa5f 165102003-02-01 Jan Hubicka <jh@suse.cz>
b0c42aed
JH
16511
16512 * loop.c (emit_prefetch_instructions): Do conversion at right place in
16513 RTL chain.
16514
16515 * combine.c (simplify_set): Reverse order of ragumetns to
16516 REG_CANNOT_CHANGE_MODE_P
16517 * df.c (df_def_record_1): Likewise.
16518 * recog.c (register_operand): Likewise.
16519 * simplify-rtx.c (simplify_subreg): Likewise.
16520 * hard-reg-set.h (REG_CANNOT_CHANGE_MODE_P): Update use of
16521 CANNOT_CHANGE_MODE_CLASS.
16522 * regclass.c (cannot_change_mode_set_regs, invalid_mode_change_p):
16523 Likewise.
16524 * reload.c (push_reload): Likewise.
16525 * alpha.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16526 * ia64.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16527 * mips.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16528 * mips-protos.h (mips_cannot_change_mode_class): Update prototype.
16529 * mips.c (mips_cannot_change_mode_class): Update.
16530 * pa64-regs.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16531 * rs6000.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16532 * s390.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16533 * sh.h (CANNOT_CHANGE_MODE_CLASS): Update definition.
16534 * sh-protos.h (sh_cannot_change_mode_class): Update prototype.
16535 * sh.c (sh_cannot_change_mode_class): Update.
16536 * i386.h (CANNOT_CHANGE_MODE_CLASS): New.
16537 * tm.texi (CANNOT_CHANGE_MODE_CLASS): Update documentation.
16538
1f61a15d
GK
165392003-01-31 Geoffrey Keating <geoffk@apple.com>
16540
16541 * config/darwin.h (LINK_COMMAND_SPEC): Update for Nathan's recent
16542 change to LINK_COMMAND_SPEC in gcc.c.
16543
7c712dcc
LR
165442003-01-31 Jan Hubicka <jh@suse.cz>
16545
16546 PR c/9506
16547 * i386.c (override_options): Use DEFAULT_PCC_STRUCT_RETURN.
16548
e137391e
JDA
165492003-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
16550
16551 * pa32-regs.h (REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Delete
16552 duplicated code.
16553
1824b90d
NS
165542003-01-31 Nathan Sidwell <nathan@codesourcery.com>
16555
16556 * tree.h (TYPE_BINFO_SIZE, TYPE_BINFO_SIZE_UNIT): Remove.
16557 (BINFO_ELTS): New #define.
16558 * stor-layout.c (finalize_record_size): Don't set them.
16559 * cp/cp-tree.h (BINFO_SUBVTT_INDEX, BINFO_VPTR_INDEX,
16560 BINFO_PRIMARY_BASE_OF): Use BINFO_ELTS.
16561 (BINFO_LANG_ELTS): New #define.
16562 * cp/tree.c (make_binfo): Use BINFO_LANG_ELTS.
16563 * java/class.c (make_class): Use BINFO_ELTS.
16564 (set_super_info): Likewse.
16565 (add_interface_do): Likewise.
16566 * objc/objc-act.c (start_class): Use BINFO_ELTS.
16567
8f9a402c
DS
165682003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
16569
16570 * timevar.c (getrusage): Don't ever declare if not HAVE_GETRUSAGE.
16571 (times): Don't ever declare if not HAVE_TIMES.
16572 (clock): Don't ever declare if not HAVE_CLOCK.
16573
cdd1f01b
RH
165742003-01-30 Richard Henderson <rth@redhat.com>
16575
16576 * flow.c (update_life_info): Zap life info after cleanup_cfg.
16577 (regno_uninitialized): Use correct live at function entry set.
16578 (regno_clobbered_at_setjmp): Likewise.
16579
16580 * expr.c (store_expr): Promote all MEM intermediates to regs.
16581
6bc82793
KH
165822003-01-30 Kazu Hirata <kazu@cs.umass.edu>
16583
16584 * config/arm/arm.c: Fix comment typos.
16585 * config/arm/arm.h: Likewise.
16586 * config/arm/netbsd-elf.h: Likewise.
16587 * config/arm/netbsd.h: Likewise.
16588
f099d360
GK
165892003-01-30 Geoffrey Keating <geoffk@apple.com>
16590
16591 * gengtype.c (struct walk_type_data): Add needs_cast_p.
16592 (walk_type): Set needs_cast_p in walk_type_data.
16593 (write_types_process_field): Supply casts when required to suppress
16594 warnings.
16595 (write_root): Cast gt_pch_n_S to suppress warning.
16596 * Makefile.in: Remove -Wno-error from gtype-desc.o and c-decl.o.
f099d360
GK
16597 * config/rs6000/rs6000.c (print_operand): Mask off high bits only
16598 when they might exist.
16599 * config/rs6000/t-rs6000: Remove -Wno-error from varasm.o,
16600 insn-conditions.o, and rs6000.o.
16601
52895e1a
RH
166022003-01-30 Richard Henderson <rth@redhat.com>
16603
16604 * ggc-page.c (G.context_depth_allocations): New.
16605 (G.context_depth_collections): New.
16606 (alloc_page): Set G.context_depth_allocations.
16607 (ggc_collect): Set G.context_depth_collections.
16608 (ggc_push_context): Limit to HOST_BITS_PER_LONG contexts.
16609 (ggc_pop_context): Early exit for no allocations or collections.
16610
c35c7e52
RH
166112003-01-30 Richard Henderson <rth@redhat.com>
16612
16613 * tree-inline.c (walk_tree): Streamline duplicate hash table lookup.
16614
e43dd89d
RE
166152003-01-30 Richard Earnshaw <rearnsha@arm.com>
16616
16617 * arm.c (arm_compute_initial_elimination_offset): If optimizing for
16618 size, the link register is always saved if any other register is
16619 saved.
16620
87a902e4
KH
166212003-01-30 Kazu Hirata <kazu@cs.umass.edu>
16622
16623 * config/h8300/h8300-protos.h: Update the prototype for
16624 compute_plussi_cc.
16625 (cpp_reader): Declare before it is used.
16626 * config/h8300/h8300.c (compute_plussi_cc): Change the return
16627 type to int.
16628 * config/h8300/h8300.md (monitor_prologue): Call abort() if we
16629 see an unknown H8 variant.
16630
166312003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
0186a143 16632
ff6e2d3e 16633 PR target/9316
0186a143
RC
16634 * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC.
16635 * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC.
16636 * config/rs6000/t-rtems: New file. multilib variants to match OS.
16637 * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of
16638 rs6000/t-ppcgas so we get the desired multilibs.
16639
f55d7103
NC
166402003-01-30 Nick Clifton <nickc@redhat.com>
16641
16642 * config/arm/arm.c (arm_output_epilogue): Update stack pointer
16643 when popping saved IP register off the stack.
16644
b6d08ca1
KH
166452003-01-30 Kazu Hirata <kazu@cs.umass.edu>
16646
16647 * config/rs6000/aix43.h: Fix comment typos.
16648 * config/rs6000/aix51.h: Likewise.
16649 * config/rs6000/aix52.h: Likewise.
16650 * config/rs6000/altivec.h: Likewise.
16651 * config/rs6000/rs6000.c: Likewise.
16652 * config/rs6000/rs6000.h: Likewise.
16653 * config/rs6000/rs6000.md: Likewise.
16654 * config/rs6000/spe.md: Likewise.
16655
14d22dd6
MM
166562003-01-29 Mark Mitchell <mark@codesourcery.com>
16657
16658 * c-common.c (builtin_define_float_constants): Define
16659 __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__.
16660
825db093
KH
166612003-01-30 Kazu Hirata <kazu@cs.umass.edu>
16662
16663 * config/sh/lib1funcs.asm: Fix comment typos.
16664 * config/sh/linux.h: Likewise.
16665 * config/sh/sh.c: Likewise.
16666 * config/sh/sh.md: Likewise.
16667
f1d5271a
LR
166682003-01-30 Loren James Rittle <ljrittle@acm.org>
16669
16670 * objc/Make-lang.in (objc-parse.y): Find c-parse.in in $(srcdir).
16671
266a9ef1
AO
166722003-01-30 Alexandre Oliva <aoliva@redhat.com>
16673
16674 * config/fp-bit.h (__make_dp): Declare if TMODES.
16675
0889116d
KH
166762003-01-29 Kazu Hirata <kazu@cs.umass.edu>
16677
16678 * config/h8300/h8300.h (PREDICATE_CODES): Add entries for
16679 general_operand_src and general_operand_dst.
16680
c8c99a68
DE
166812003-01-29 David Edelsohn <edelsohn@gnu.org>
16682
16683 * config/rs6000/rs6000.c (function_arg_pass_by_reference):
16684 Return true for variable sized types.
16685 (rs6000_va_arg): Handle variable sized types passed by reference
16686 on non-SVR4 ABI.
16687
ccf4d512
RE
166882003-01-29 Richard Earnshaw <rearnsha@arm.com>
16689
16690 * arm.c (arm_legtimize_address): New function.
16691 * arm-protos.h (arm_legtimize_address): Add prototype.
16692 * arm.h (ARM_LEGITIMIZE_ADDRESS): Use arm_legitimize_address.
16693 (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with
16694 do ... while (0)
16695
0889116d 166962003-01-29 Joel Sherrill <joel@OARcorp.com>
0680c8fb 16697
7429b411 16698 PR bootstrap/9296
0680c8fb 16699 * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code
7429b411 16700 depended on it being defined until now.
0680c8fb 16701
7429b411 167022003-01-29 Joel Sherrill <joel@OARcorp.com>
c934274a 16703
7429b411 16704 PR target/9295
c934274a
JS
16705 * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic
16706 RTEMS code knows which C++ initialization style the toolset
7429b411 16707 configuration is using.
c934274a 16708
0889116d 167092003-01-29 Joel Sherrill <joel@OARcorp.com>
2e327e6e 16710
7429b411 16711 PR bootstrap/9293
ff6e2d3e 16712 * config/m68k/t-crtstuff: Replace spaces with tabs, add
2e327e6e 16713 $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o.
2e327e6e 16714
0889116d 167152003-01-29 Joel Sherrill <joel@OARcorp.com>
64abe03e 16716
7429b411 16717 PR bootstrap/9292
64abe03e
JS
16718 * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable
16719 RTEMS threads.
16720 * config/pa/rtems.h (LIB_SPEC): Use -N when linking.
64abe03e 16721
2f12fb2b
NC
167222003-01-29 Nick Clifton <nickc@redhat.com>
16723
16724 * Makefile.in (c-parse.o): Locate source file in $(parsedir)
16725 not $(srcdir).
16726
cf0150b9
AH
167272003-01-29 Andrew Haley <aph@redhat.com>
16728
16729 * tree-inline.c (walk_tree): Add CHAR_TYPE.
16730
62c9aa5f 167312003-01-29 Jan Hubicka <jh@suse.cz>
9b74f3ea
JH
16732
16733 * i386.md (subdi3_carry_rex64): Fix typo.
16734
e150159c
SS
167352003-01-28 Stan Shebs <shebs@apple.com>
16736
16737 * coretypes.h (cpp_reader): Forward declare struct.
16738 * c-pragma.h (cpp_reader): Remove forward declaration.
16739 * hashtable.h (cpp_reader): Likewise.
16740 * scan.h (cpp_reader): Likewise.
16741 * tree.h (cpp_reader): Likewise.
16742 * config/darwin-protos.h (cpp_reader): Likewise.
16743 * config/arm/arm-protos.h (cpp_reader): Likewise.
16744 * config/rs6000/rs6000-protos.h: Remove GCC_CPPLIB_H ifdef, use
16745 struct cpp_reader in prototypes.
16746
53b50ac1
CC
167472003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
16748
16749 * doc/install.texi: Add documentation for installation into
16750 tooldirs and with DESTDIR.
16751
021aa6ed
RH
167522003-01-28 Richard Henderson <rth@redhat.com>
16753
16754 * config.gcc (ia64*-*-aix*): Remove.
16755 * config/ia64/aix.h, config/ia64/t-aix: Remove file.
16756 * config/ia64/unwind-aix.c: Remove file.
16757
c1c1d123
AS
167582003-01-28 Andreas Schwab <schwab@suse.de>
16759
ff6e2d3e
RB
16760 * config/m68k/m68k.md (tablejump+2): Don't sign extend an address
16761 register.
16762 * config/m68k/apollo68.h (ASM_RETURN_CASE_JUMP): Likewise.
16763 * config/m68k/coff.h (ASM_RETURN_CASE_JUMP): Likewise.
16764 * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Likewise.
16765 * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
16766 * config/m68k/mot3300.h (ASM_RETURN_CASE_JUMP): Likewise.
16767 * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
16768 * config/m68k/pbb.h (ASM_RETURN_CASE_JUMP): Likewise.
c1c1d123 16769
6d09ef27
RS
167702003-01-28 Richard Sandiford <rsandifo@redhat.com>
16771
16772 * combine.c (nonzero_bits): Fix check for negative divide operands.
16773
1e1bd14e
RH
167742003-01-28 Richard Henderson <rth@redhat.com>
16775
16776 * config/ia64/ia64.c (ia64_rwreloc_section_type_flags): New.
16777 * config/ia64/hpux.h (TARGET_SECTION_TYPE_FLAGS): New.
16778
e37135f7
RH
167792003-01-28 Richard Henderson <rth@redhat.com>
16780
16781 * cse.c (find_best_addr): Kill !ADDRESS_COST code.
16782
75642f32
RH
16783 * config/cris/cris.c (cris_address_cost): Make static.
16784 (TARGET_RTX_COSTS, TARGET_ADDRESS_COST): New.
16785 * config/cris/cris.h (ADDRESS_COST): Remove.
16786 * config/cris/cris-protos.h: Update.
16787
e37135f7 167882003-01-23 Mike Stump <mrs@apple.com>
1f80c9ef
MS
16789
16790 * regclass.c (init_reg_autoinc): New function.
16791 (regclass): Move initialization of forbidden_inc_dec_class from
26182e15 16792 here...
1f80c9ef 16793 (init_regs): to here. Avoids reinitialization for each function,
26182e15 16794 saving compilation time.
1f80c9ef 16795
9fbd3e41
JM
167962003-01-28 Jason Merrill <jason@redhat.com>
16797
16798 * cpplib.h (struct cpp_options): Add warn_deprecated field.
16799 * cppinit.c (cpp_create_reader): Turn it on by default.
16800 * c-opts.c (c_common_decode_option): Set it.
16801 * cpplib.c (do_pragma_once): Only complain about #pragma once
16802 if warn_deprecated is set.
16803
fe352c29 168042003-01-28 Dale Johannesen <dalej@apple.com>
9fbd3e41 16805
1e1bd14e
RH
16806 * emit-rtl.c (const_double_htab_hash): Use mode in the hash.
16807 * loop.c (scan_loop): Move movables on -Os rich-register targets.
16808 * config/rs6000/rs6000.md (sibcall*): Use match_operand for LR.
fe352c29 16809
dcefdf67
RH
168102003-01-28 Richard Henderson <rth@redhat.com>
16811
16812 * target.h (targetm.address_cost): New.
16813 * target-def.h (TARGET_ADDRESS_COST): New.
16814 (TARGET_RTX_COSTS): Uncomment. Oops.
16815 * cse.c (address_cost): Use new target hook.
16816 (default_address_cost): New.
16817 * output.h (default_address_cost): Declare.
16818 * hooks.c (hook_int_rtx_0): New.
16819 * hooks.h (hook_int_rtx_0): Declare.
16820 * loop.c (combine_givs_p): Remove if 0 code.
16821 * system.h (ADDRESS_COST): Poison.
16822
16823 * config/alpha/alpha.c, config/alpha/alpha.h, config/d30v/d30v.c,
16824 config/d30v/d30v.h, config/ia64/ia64.c, config/ia64/ia64.h,
16825 config/m32r/m32r.c, config/m32r/m32r.h, config/mcore/mcore.c,
16826 config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.h,
16827 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sparc/sparc.c,
16828 config/sparc/sparc.h, config/v850/v850.c, config/v850/v850.h,
16829 config/xtensa/xtensa.c, config/xtensa/xtensa.h
16830 (TARGET_ADDRESS_COST): Define as hook_int_rtx_0.
16831 (ADDRESS_COST): Remove.
16832
16833 * config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
16834 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
16835 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
16836 config/dsp16xx/dsp16xx-protos.h, config/dsp16xx/dsp16xx.c,
16837 config/dsp16xx/dsp16xx.h, config/i386/i386-protos.h,
16838 config/i386/i386.c, config/i386/i386.h, config/i960/i960-protos.h,
16839 config/i960/i960.c, config/i960/i960.h, config/ip2k/ip2k-protos.h,
16840 config/ip2k/ip2k.c, config/ip2k/ip2k.h, config/mips/mips-protos.h,
ff6e2d3e 16841 config/mips/mips.c, config/mips/mips.h,
dcefdf67 16842 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
ff6e2d3e 16843 config/m68hc11/m68hc11.h, config/ns32k/ns32k-protos.h,
dcefdf67
RH
16844 config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-protos.h,
16845 config/pa/pa.c, config/pa/pa.h, config/s390/s390-protos.h,
16846 config/s390/s390.c, config/s390/s390.h, config/vax/vax-protos.h,
16847 config/vax/vax.c, config/vax/vax.h
16848 (foo_address_cost): Make static.
16849 (TARGET_ADDRESS_COST): New.
16850 (ADDRESS_COST): Remove.
16851
16852 * config/arm/arm.h, config/arm/arm.c, config/m88k/m88k.h,
16853 config/m88k/m88k.c, config/romp/romp.h, config/romp/romp.c,
16854 config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c,
16855 config/stormy16/stormy16.h
16856 (ADDRESS_COST): Move code ...
16857 (foo_address_cost): ... here.
16858 (TARGET_ADDRESS_COST): New.
16859
16860 * config/m32r/m32r.c (m32r_address_cost): Remove.
16861 * config/m32r/m32r-protos.h: Update.
16862
16863 * config/mmix/mmix.c (mmix_address_cost): Remove.
16864 * config/mmix/mmix-protos.h: Update.
16865
16866 * config/mn10300/mn10300.c (mn10300_address_cost_1): Rename from
16867 mn10300_address_cost; move unsig allocation ...
16868 (mn10300_address_cost): ... here.
16869 (TARGET_ADDRESS_COST): New.
16870 * config/mn10300/mn10300-protos.h: Update.
16871 * config/mn10300/mn10300.h (ADDRESS_COST): Remove.
16872
75642f32
RH
16873 * doc/tm.texi: Update.
16874
58fb7809
VM
168752003-01-28 Vladimir Makarov <vmakarov@redhat.com>
16876
16877 * haifa-sched.c (schedule_insn): Return necessary cycle advance
16878 after issuing the insn.
16879 (rank_for_schedule): Make a insn with /S the highest priority
16880 insn.
16881 (move_insn): Ignore schedule groups. Clear SCHED_GROUP_P.
16882 (choose_ready): Check SCHED_GROUP_P.
16883 (schedule_block): Advance cycle after issuing insn if it is
16884 necessary. Don't reorder insns if there is an insn with /S.
16885 (set_priorities): Ignore schedule groups.
16886
16887 * sched-deps.c (remove_dependence, group_leader): Remove the
16888 functions.
16889 (add_dependence): Ignore schedule groups.
16890 (set_sched_group_p): Don't make copy of dependencies from previous
16891 insn of the schedule group. Add anti-dependency to the previous
16892 insn of the schedule group.
16893 (compute_forward_dependences): Ignore schedule groups.
16894
16895 * sched-ebb.c (init_ready_list): Ignore schedule groups.
16896
16897 * sched-rgn.c (init_ready_list): Ditto.
16898 (can_schedule_ready_p): Ditto.
ff6e2d3e 16899
371c988b
VM
169002003-01-28 Vladimir Makarov <vmakarov@redhat.com>
16901
16902 * config/i386/i386.md (*movsi_1): Use movdqa to move one xmm
16903 register to another one.
16904
40cdfd5a
RH
169052003-01-28 Richard Henderson <rth@redhat.com>
16906
16907 * calls.c (default_must_pass_in_stack): Fix typo in !type case.
16908
a77b7e32
RS
169092003-01-28 Roger Sayle <roger@eyesopen.com>
16910
16911 * cse.c (cse_insn): Avoid redundant REG_EQUAL notes.
16912
3620944c
RS
169132003-01-28 Richard Sandiford <rsandifo@redhat.com>
16914
16915 * config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given
16916 class contains a floating-point register, return the size of the
16917 mode in half words.
16918
62c9aa5f 169192003-01-28 Jan Hubicka <jh@suse.cz>
e6e81735 16920
26182e15
SB
16921 * i386.c (ix86_carry_flag_operator): New predicate.
16922 (fcmov_operator): Fix whitespace.
16923 (ix86_expand_carry_flag_compare): Deal with floating point.
16924 (ix86_expand_int_movcc): Deal with fp; update insn expansion
16925 (ix86_expand_int_addcc): Likewise.
16926 (ix86_expand_strlensi_unroll_1): likewsie.
16927 * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator.
16928 * i386.md (add?i_carry_rex64): Use new predicate.
16929 (sub?i3_carry_rex64): Likewise.
16930 (x86_mov?icc_0_m1*): Likewise.
e6e81735 16931
43196589
AS
169322003-01-28 Andreas Schwab <schwab@suse.de>
16933
32214c32
AS
16934 * cfgloopmanip.c (create_preheader): Initialize src to avoid
16935 warning.
16936
16937 * expmed.c (emit_store_flag): Fix cast to avoid sign
16938 comparison warning.
16939
43196589
AS
16940 * combine.c (force_to_mode): Add cast to fix warning when
16941 STORE_FLAG_VALUE is negative.
16942
3c50106f
RH
169432003-01-27 Richard Henderson <rth@redhat.com>
16944
16945 * Makefile.in (cse.o): Depend on TARGET_H.
16946 * cse.c (rtx_cost): Use targetm.rtx_costs.
16947 * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison.
16948 * doc/tm.texi: Update.
ff6e2d3e 16949
3c50106f
RH
16950 * target.h (targetm.rtx_costs): New.
16951 * target-def.h (TARGET_RTX_COSTS): New.
16952 * hooks.c (hook_bool_rtx_int_int_intp_false): New.
16953 * hooks.h: Update.
16954
16955 * config/alpha/alpha.c (alpha_rtx_cost_data): New.
16956 (alpha_rtx_costs, TARGET_RTX_COSTS): New.
16957 * config/alpha/alpha.h (PROCESSOR_MAX): New.
16958 (CONST_COSTS, RTX_COSTS): Remove.
16959
16960 * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c,
16961 config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h,
16962 config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c,
16963 config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h,
16964 config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c,
16965 config/i370/i370.h, config/i386/i386.c, config/i386/i386.h,
16966 config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c,
16967 config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h,
16968 config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c,
16969 config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h,
16970 config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c,
16971 config/mn10200/mn10200.h, config/mn10300/mn10300.c,
16972 config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h,
16973 config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c,
16974 config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h,
16975 config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c,
16976 config/s390/s390.h, config/sh/sh.c, config/sh/sh.h,
16977 config/stormy16/stormy16.c, config/stormy16/stormy16.h,
16978 config/v850/v850.c, config/v850/v850.h,
16979 config/xtensa/xtensa.c, config/xtensa/xtensa.h
16980 (CONST_COSTS, RTX_COSTS): Move code ...
16981 (foo_rtx_costs, TARGET_RTX_COSTS): ... here.
16982
16983 * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs.
16984 (arm_rtx_costs, TARGET_RTX_COSTS): New.
16985 * config/arm/arm-protos.h: Update.
16986 * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove.
16987
16988 * config/avr/avr.h (CONST_COSTS): Move code ...
16989 * config/avr/avr.c (avr_rtx_costs): ... here.
16990 (default_rtx_costs): Make static.
16991 * config/avr/avr-protos.h: Update.
16992
16993 * config/h8300/h8300.c (const_costs): Make static.
16994 (h8300_and_costs, h8300_shift_costs): Likewise.
16995 * config/h8300/h8300-protos.h: Update.
16996
16997 * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove.
16998 (CONST_COSTS): Move code ...
16999 * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from
17000 default_rtx_costs; update for signature change.
17001 * config/ip2k/ip2k-protos.h: Update.
17002
17003 * config/m68hc11/m68hc11.h (RTX_COSTS): Remove.
17004 (CONST_COSTS): Move code ...
17005 * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here.
17006 (TARGET_RTX_COSTS): New.
17007 (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static.
17008 * config/m68hc11/m68hc11-protos.h: Update.
17009
17010 * config/m68k/m68k.c (const_int_cost): Make static.
17011 * config/m68k/m68k-protos.h: Update.
17012
17013 * config/mcore/mcore.c (mcore_const_costs): Make static.
17014 (mcore_and_cost, mcore_ior_cost): Likewise.
17015 * config/mcore/mcore-protos.h: Update.
17016
17017 * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New.
17018 (mmix_rtx_cost_recalculated): Remove.
17019 * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove.
17020 * config/mmix/mmix-protos.h: Update.
17021
17022 * config/sh/sh.c (shiftcosts): Make static.
17023 (addsubcosts, andcosts, multcosts): Likewise.
17024 * config/sh/sh-protos.h: Update.
17025
17026 * config/sparc/sparc.c (TARGET_RTX_COSTS): New.
17027 (sparc_rtx_costs): Make static; update for change in signature.
17028 * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove.
17029 * config/sparc/sparc-protos.h: Update.
17030
17031 * config/v850/v850.c (const_costs): Make static.
17032 * config/v850/v850-protos.h: Update.
17033
17034 * config/vax/vax.h (RTX_COSTS): Remove.
17035 (CONST_COSTS): Move code ...
17036 * config/vax/vax.c (vax_rtx_costs_1): ... here; rename
17037 from vax_rtx_cost.
17038 (vax_rtx_costs, TARGET_RTX_COSTS): New.
17039
b9962e0a
RH
170402003-01-27 Richard Henderson <rth@redhat.com>
17041
17042 * config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
5ca98980 17043 * config/vax/vax-protos.h: Update. Really.
b9962e0a 17044
8a381273
AO
170452003-01-28 Alexandre Oliva <aoliva@redhat.com>
17046
17047 * config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from...
17048 (UNITS_PER_FPVALUE): Defined as the width of a long double, or
17049 zero if no hardware floating point.
17050 (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64.
17051 (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE.
17052 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
17053 (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE.
17054 (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64.
17055 * config/mips/mips.c (mips_arg_info): Pass TFmode values in
17056 even FP registers on N32 and N64.
17057 (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE.
17058 (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM.
17059 (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional
17060 even-register-like alignment to 128-bit arguments.
17061 (save_restore_insns): Use UNITS_PER_HWFPVALUE.
17062 (mips_function_value): Likewise. Return TFmode in $f0 and $f2
17063 on N32 or N64.
17064 * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New.
17065 * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c.
17066 (TPBIT): Set to tp-bit.c.
17067 (tp-bit.c): Create out of fp-bit.c.
17068
820e01be
GDR
170692003-01-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
17070
17071 * c-parse.in: Remove '%expect 32' directive in objc mode.
17072
23af32e6
NS
170732003-01-27 Nathan Sidwell <nathan@codesourcery.com>
17074
17075 * Makefile.in (LIB2FUNCS_ST): Remove _gcov.
17076 (LIBGCOV): New variable.
17077 (libgcc.mk): Add LIBGCOV.
17078 (LIBGCC_DEPS): Add libgcov.c.
17079 (libgcov.a): New target.
17080 (clean): Remove libgcov.a.
17081 (install-libgcc): Do libgcov too.
17082 (stage1-start, stage2-start, stage3-start, stage4-start): Deal
17083 with libgcov.a.
17084 * libgcc2.c (L_gcov): Move into ...
17085 * libgcov.c: ... here. New file.
17086 * mklibgcc.in: Add libgcov rules.
17087 * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling.
17088
17089 * doc/invoke.texi (profile-arcs, test-coverage): Update and
17090 clarify.
ff6e2d3e 17091
23af32e6
NS
17092 * profile.c (index_counts_file): Remove duplicate check for open file.
17093
9fe42917 170942003-01-27 Jerry Quinn <jlquinn@optonline.net>
d4463dfc
JQ
17095
17096 * gcc/doc/invoke.texi (Optimization Options): Group together
17097 optional and experimental flags. Move trapv and bounds-check
95fcd0ab 17098 out of this section. Group floating point flags together.
d4463dfc
JQ
17099 (Code Gen Options): Move trapv and bounds-check to here.
17100
244d05fb
JZ
171012003-01-27 Josef Zlomek <zlomekj@suse.cz>
17102
17103 * gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
17104
c552c146
RE
171052003-01-27 Richard Earnshaw <rearnsha@arm.com>
17106
17107 PR optimization/9090
17108 * function.c (purge_addressof_1): After pushing an addressed register
17109 onto the stack, simplify the result.
17110
90a21764
VR
171112003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
17112
17113 * doc/extend.texi: Fix typo.
17114
9a376494
VR
171152003-01-27 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
17116
17117 * doc/cppopts.texi: Fix typo.
17118 * doc/objc.texi: Likewise.
17119 * doc/passes.texi: Likewise.
17120
f004e5f3
AO
171212003-01-27 Alexandre Oliva <aoliva@redhat.com>
17122
17123 * real.c (ibm_extended_format): Add 53 to minimum exponent.
17124 (encode_ibm_extended): Adjust.
17125
58c60e52
GDR
171262003-01-26 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
17127
17128 * timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
17129 timevar_id enumerations.
17130
e869aa39
KH
171312003-01-26 Kazu Hirata <kazu@cs.umass.edu>
17132
17133 * combine.c: Fix formatting.
17134
74fb4811
KH
171352003-01-26 Kazu Hirata <kazu@cs.umass.edu>
17136
17137 * doc/gccint.texi: Update the copyright.
17138
3bcf1b13
KH
171392003-01-26 Kazu Hirata <kazu@cs.umass.edu>
17140
17141 * doc/cpp.texi: Fix typos.
17142 * doc/extend.texi: Likewise.
17143 * doc/gty.texi: Likewise.
17144 * doc/install.texi: Likewise.
17145 * doc/passes.texi: Likewise.
17146 * doc/rtl.texi: Likewise.
17147 * doc/tm.texi: Likewise.
17148
9e4f94de
KH
171492003-01-26 Kazu Hirata <kazu@cs.umass.edu>
17150
17151 * config/ia64/fde-glibc.c: Fix comment typos.
17152 * config/ia64/hpux.h: Likewise.
17153 * config/ia64/ia64.c: Likewise.
17154 * config/ia64/ia64.h: Likewise.
17155 * config/ia64/unwind-ia64.c: Likewise.
17156
4aae8a9a
KH
171572003-01-26 Kazu Hirata <kazu@cs.umass.edu>
17158
17159 * config/i386/i386-modes.def: Fix comment typos.
17160 * config/i386/i386.c: Likewise.
17161 * config/i386/i386.md: Likewise.
17162
35d8c8e2
SB
171632003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl>
17164
17165 * config/avr/avr.h, config/cris/aout.h, config/elfos.h,
17166 config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine
17167 ASM_FINISH_DECLARE_OBJECT before defining it.
17168 * toplev.c (rest_of_decl_compilation): Don't define
17169 ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined.
17170 (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function
17171 parameters for DWARF2 targets because they _are_ used.
17172
ea976606
AO
171732003-01-26 Alexandre Oliva <aoliva@redhat.com>
17174
b44cf3d9
AO
17175 * fp-bit.h: Define macros for TFmode floating-point constants
17176 in IBM-extended TFmode types.
17177 (TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
17178 widths.
17179 * config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
17180 TFmode type.
17181
ea976606
AO
17182 * config/fp-bit.h: Define macros for TFmode floating-point
17183 constants in IEEE quad TFmode type. Declare functions according
17184 to L_ macros.
17185 (TMODES): Define if __LDBL_MANT_DIG__ is 113.
17186 (TFtype, TItype, UTItype): Define if TMODES is defined.
17187 (MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
17188 (F_T_BITOFF, D_T_BITOFF): Define.
17189 (IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
17190 guaranteed to be wide enough.
17191 * config/fp-bit.c: Check for L_ macros for tf functions.
17192 (__thenan_tf): New.
17193 (nan): Adjust.
17194 (pack_d, unpack_d): Support IEEE 854 quad type.
17195 (_fpmul_parts): Support TFmode. Compute exponent adjustment
17196 from FRAC_NBITS, FRAC_BITS and NGARDS.
17197 (usi_to_float): Cast constants to be shifted to fractype
17198 instead of assuming long long is wide enough.
17199 (sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
17200
fd7fd61e
AJ
172012003-01-26 Andreas Jaeger <aj@suse.de>
17202
17203 * df.c: Remove prototype of unused function df_regno_rtl_debug.
17204
8ae91fc0
AO
172052003-01-26 Alexandre Oliva <aoliva@redhat.com>
17206
88e83acb
AO
17207 * Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
17208 (DBBIT_FUNCS): Added _df_to_tf.
17209 (TPBIT_FUNCS): New.
17210 (libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
17211 (LIBGCC_DEPS): Added TPBIT.
17212 * mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
17213
2cd622c3
AO
17214 * optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
17215 been able to move the result to target.
17216
8ae91fc0
AO
17217 * expr.c (emit_group_store): Initialize dst with CONST0_RTX
17218 for the appropriate mode.
17219
c3297561
AO
17220 * calls.c (emit_library_call_value_1): Handle return values
17221 in a PARALLEL.
17222
187515f5
AO
17223 * rtl.c (get_mode_alignment): Moved to...
17224 * stor-layout.c: ... here.
17225
6ebd2ef4
AO
17226 * print-rtl.c (print_rtx): Don't print MEM details in
17227 GENERATOR_FILEs.
17228
7890e8f3
MH
172292003-01-26 Michael Hayes <mph@paradise.net.nz>
17230
17231 * df.h: Update comments, tidy formatting.
17232 (DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
17233 REVERSE, UNION, INTERSECTION. All uses updated.
17234 (OLD_DF_INTERFACE): Remove.
17235 (struct insn_info): Remove commented out insn field.
17236 * df.c: Update comments, tidy formatting.
17237 (df_def_table_realloc): Remove.
17238
17239
b820d2b8
AM
172402003-01-26 Alan Modra <amodra@bigpond.net.au>
17241
17242 * calls.c (save_fixed_argument_area): Tidy.
17243 (restore_fixed_argument_area): Tidy. Set alignment of stack_area.
17244 (expand_call): Comment typo fixes. Don't init low_to_save. Start
17245 call chain loop at 1 if !try_tail_call. Formatting.
17246 (emit_library_call_value_1): Don't init low_to_save or high_to_save.
17247 Use save_fixed_argument_area and restore_fixed_argument_area.
17248
42510de4
MH
172492003-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17250
17251 * df.c (df_uses_record): Handle CC0.
17252
acf9fa5f
UW
172532003-01-25 Ulrich Weigand <uweigand@de.ibm.com>
17254
1e1bd14e
RH
17255 * reload.c (maybe_memory_address_p): New function.
17256 (find_reloads_address): Use it instead of memory_address_p.
acf9fa5f 17257
5a09edba
KK
172582003-01-25 Kaz Kojima <kkojima@gcc.gnu.org>
17259
17260 * final.c (shorten_branches): Align the address of code label
1e1bd14e 17261 when computing initial lengths and addresses.
5a09edba 17262
f5818c0c
KH
172632003-01-25 Kazu Hirata <kazu@cs.umass.edu>
17264
17265 * config/m68hc11/m68hc11.md: Fix a comment typo.
17266
21ff35fb
AJ
172672003-01-25 Andreas Jaeger <aj@suse.de>
17268
17269 * config/i386/i386.c (x86_output_mi_thunk): Correct test for
17270 TARGET_MACHO.
17271
7821bfc7
RS
172722003-01-25 Roger Sayle <roger@eyesopen.com>
17273
17274 * gcse.c (bypass_last_basic_block): New global variable.
17275 (bypass_block): Use redirect_edge_and_branch_force to redirect
17276 fall-through edges. Use bypass_last_basic_block to determine
17277 which blocks have valid PRE information.
17278 (bypass_conditional_jumps): Initialize bypass_last_basic_block.
17279
62c9aa5f 172802003-01-25 Jan Hubicka <jh@suse.cz>
5f0bea72
JH
17281
17282 * gcse.c (local_cprop_pass): Update reg_sets table when needed.
17283
62c9aa5f 172842003-01-25 Jan Hubicka <jh@suse.cz>
1649d92f
JH
17285 Eric Botcazou <ebotcazou@libertysurf.fr>
17286 PR opt/8492
17287 * gcse.c (one_cprop_pass): Delete unreachable blocks.
17288
6ca86a1a
RH
172892003-01-25 Richard Henderson <rth@redhat.com>
17290
17291 * config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
17292 from ia64_aix_select_rtx_section.
17293 (ia64_rwreloc_select_section): Simlarly; use default*_1 function
17294 instead of saving and restoring flag_pic.
17295 (ia64_rwreloc_unique_section): Similarly.
17296 * config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
17297 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
17298 * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
17299 TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
17300
aa2fb4dd
KH
173012003-01-25 Kazu Hirata <kazu@cs.umass.edu>
17302
17303 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
17304 comment.
17305
c876997f 173062003-01-25 Richard Henderson <rth@redhat.com>
1125849a
RH
17307
17308 * config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
17309
c876997f 173102003-01-25 Kelley Cook <kelleycook@comcast.net>
3900a23b
KC
17311
17312 * ggc-simple.c (debug_ggc_tree): Add PTR cast.
17313
72e42e26
SB
173142003-01-25 Segher Boessenkool <segher@koffie.nl>
17315
17316 * bitmap.h (BITMAP_WORD): New typedef: fundamental storage
17317 type for bitmaps. Use unsigned long.
17318 (nBITMAP_WORD_BITS): New macro.
17319 (BITMAP_WORD_BITS): New macro.
17320 (rest of file): Use it.
17321 * bitmap.c: Use it.
17322
8324663f
RH
173232003-01-25 Richard Henderson <rth@redhat.com>
17324
17325 2002-02-19 Robert Lipe <robertlipe@usa.net>
17326 * config/i386/t-sco5gas: (CRTSTUFF_T_CFLAGS_S): Delete -mcoff.
17327
c876997f 173282003-01-25 Roger Sayle <roger@eyesopen.com>
2adc9b0f
RS
17329
17330 * builtins.c (purge_builtin_constant_p): Scan insn stream
17331 sequentially rather than by basic block.
17332 * function.c (purge_addressof): Simplify test with INSN_P.
17333
ad487c38
KH
173342003-01-25 Kazu Hirata <kazu@cs.umass.edu>
17335
8324663f 17336 * combine.c (simplify_comparison, case AND): Remove a redundant test.
ad487c38 17337
c876997f 173382003-01-25 Roger Sayle <roger@eyesopen.com>
07d9b20d
RS
17339
17340 * function.h (struct function): New field calls_constant_p.
17341 (current_function_calls_constant_p): New macro for above.
17342 * function.c (prepare_function_start): Initialize calls_eh_return
17343 and calls_constant_p.
17344 * builtins.c (expand_builtin_constant_p): Set calls_constant_p.
17345 * toplev.c (rest_of_compilation): Only call purge_builtin_constant_p
17346 when the current_function_calls_constant_p.
17347 * integrate.c (expand_inline_function): Set calls_constant_p if
17348 the function being inlined has calls_constant_p set.
17349
c876997f 173502003-01-25 Roger Sayle <roger@eyesopen.com>
41559112
RS
17351
17352 * cse.c (fold_rtx): Instantiate CONSTANT_P_RTX to 0 when not
17353 optimizing, even if flag_gcse is true.
17354 * toplev.c (rest_of_compilation): purge_builtin_constant_p
17355 only needs to be called when "optimize > 0 && flag_gcse".
17356
9bb231fd
RS
173572003-01-25 Roger Sayle <roger@eyesopen.com>
17358
17359 * stmt.c (emit_case_bit_tests): New routine to implement suitable
17360 switch statements using the equivalent of "if ((1<<x) & cst) ... ".
17361 (case_bit_test_cmp): New comparison function for "qsort" to order
17362 case_bit_tests by decreasing number of destination nodes.
17363 (lshift_cheap_p): New function to determine if "1 << x" is cheap.
17364 (expand_end_case_type): Use emit_case_bit_tests to implement
17365 suitable switch statments.
17366 (CASE_USE_BIT_TESTS): New target macro to disable the above.
17367 * Makefile.in (stmt.o): Add dependency on optab.h.
17368 * doc/tm.texi (CASE_USE_BIT_TESTS): Document new target macro.
17369
a073323c
AS
173702003-01-23 Andreas Schwab <schwab@suse.de>
17371
17372 * config/ia64/crtend.asm [HAVE_INITFINI_ARRAY]: Make
17373 __do_global_ctors_aux hidden global and don't put it in
17374 .init_array.
17375 * config/ia64/crtbegin.asm [HAVE_INITFINI_ARRAY]: Put it here
17376 instead so that it comes first.
17377
62c9aa5f 173782003-01-25 Jan Hubicka <jh@suse.cz>
36ddc6b0
JH
17379
17380 * df.c (read_modify_subreg_p): When osize == UNITS_PER_WORD,
17381 subreg is read/modify.
17382
62c9aa5f 173832003-01-25 Jan Hubicka <jh@suse.cz>
26771da7
JH
17384
17385 * i386.c (ix86_expand_movstr, ix86_expand_clrstr): Consistently
17386 do libcall for large blocks.
17387 * i386.md (comi patterns): Set type to ssecomi.
17388 (sse2_unpck?pd): Fix mode of vec_select.
17389
17390 * cse.c: Include except.h
17391 (cse_set_around_loop): Do not create new basic blocks.
17392 * Makefile.in (cse.o): Add dependnecy on except.h
17393
62c9aa5f 173942003-01-25 Jan Hubicka <jh@suse.cz>
27a6aa72
JH
17395
17396 * builtins.c (fold_trunc_transparent_mathfn): New function.
17397 (fold_builtin): Use it.
17398 * convert.c (convert_to_real): Re-enable code to convert
17399 math functions; add support for floor familly functions.
17400
cd68f4e4
ZD
174012003-01-25 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
17402
17403 * Makefile.in (cfgloop.o, cfgloopanal.o, cfgloopmanip.o): Add
17404 dependencies on coretypes.h and $(TM_H).
17405
62c9aa5f 174062003-01-25 Jan Hubicka <jh@suse.cz>
67945f2e
JH
17407
17408 * builtins.c (fold_trunc_transparent_mathfn): Undo accidental commit.
17409
c876997f 174102003-01-24 Stuart Hastings <stuart@apple.com>
095fa594 17411
08f0414b 17412 * config/i386/i386.c (x86_output_mi_thunk): Add Darwin/x86 support.
095fa594 17413
1e4c04e0
MH
174142003-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17415
17416 * config/c4x/c4x.md (UNSPEC_BU): New constants.
17417 (UNSPEC_RPTS, UNSPEC_LSH, UNSPEC_CMPHI, UNSPEC_RCPF): Likewise.
17418 (UNSPEC_RND, UNSPEC_RPTB_FILL, UNSPEC_LOADHF_INT): Likewise.
17419 (UNSPEC_STOREHF_INT, UNSPEC_RSQRF, UNSPEC_LOADQF_INT): Likewise.
17420 (UNSPEC_STOREQF_INT, UNSPEC_LDIV, UNSPEC_PUSH_ST): Likewise.
17421 (UNSPEC_POP_ST, UNSPEC_PUSH_DP, UNSPEC_POP_DP): Likewise.
17422 (UNSPEC_POPQI, UNSPEC_POPQF, UNSPEC_ANDN_ST): Likewise.
17423 (UNSPEC_RPTB_INIT, UNSPEC_TOIEEE, UNSPEC_FRIEEE): Likewise.
17424
62c9aa5f 174252003-01-24 Jan Hubicka <jh@suse.cz>
a560d4d4 17426
08f0414b 17427 * emit-rtl.c (reg_attrs_htab): New static variable.
a560d4d4
JH
17428 (reg_attrs_htab_hash, reg_attrs_htab_eq, get_reg_attrs): New static
17429 functions.
17430 (reg_rtx): Do not maintain regno_decl.
17431 (gen_rtx_REG_offset, set_reg_attrs_from_mem, set_delc_rtx,
17432 set_mem_attrs_from_reg): New global function.
17433 (init_emit): Do not initialize regno_decl.
17434 (init_emit_once): initialize reg_attrs_htab.
17435 * final.c (alter_subreg): Do not replace REG by SUBREG.
17436 (gen_mem_expr_from_op): Improve output.
17437 (output_asm_operands): Likewise.
17438 * function.c (assign_params): Do not set REGNO_DECL.
17439 * function.h (struct function): Kill regno_decl.
17440 (REGNO_DECL): Kill.
17441 * gengtype.c (adjust_field_rtx_def): Handle new field of reg.
17442 * print_rtl.c (print_rtx): Output REG information.
17443 * regclass.c (reg_scan_mark_refs): Update attrs.
17444 * reload1.c (alter_reg): Likewise.
17445 * simplify_rtx.c (simplify_subreg): Likewise.
17446 * stmt.c (expand_decl): Likewise.
17447 * rtl.def (REG): Add new field.
17448 * rtl.h (struct reg_attrs): New.
17449 (rtunion_def): At rtreg.
17450 (X0MEMATTR): Add checking.
17451 (X0REGATTR, REG_ATTRS, REG_EXPR, REG_OFFSET): New macro.
17452 (set_reg_attrs_from_mem, set_mem_attrs_from_reg, gen_rtx_REG_offset):
17453 Declare.
17454 * tree.h (SET_DECL_RTL): Call set_decl_rtl.
17455
1d0ea52e
BW
174562003-01-24 Bob Wilson <bob.wilson@acm.org>
17457
17458 * config/xtensa/xtensa.c: Remove unused include of machmode.h.
17459 (xtensa_emit_call, print_operand): Fix printf format strings
17460 to avoid compile warnings.
17461 (xtensa_function_prologue, xtensa_function_epilogue): Change type
17462 of "size" argument to HOST_WIDE_INT to fix compile warnings.
17463 * config/xtensa/xtensa-protos.h
17464 (xtensa_function_prologue, xtensa_function_epilogue): Ditto.
17465
62c9aa5f 174662003-01-24 Jan Hubicka <jh@suse.cz>
272f51a3
JH
17467
17468 * builtins.c (DEF_BUILTIN): Accept 10 arguments.
17469 (implicit_built_in_decls): New global array.
17470 (mathfn_built_in): New global function.
17471 (fold_trunc_transparent_mathfn): New static function
17472 (expand_builtin_strstr, expand_bultin_strchr,
17473 expand_builtin_strpbrk, expand_builtin_strcpy,
17474 expand_builtin_strncpy, expand_bultin_strcmp,
17475 expand_bultin_strncat, expand_builtin_fputs): Use
17476 implicint_built_in_decls.
17477 (fold_builtin): Fold floor/trunc/round/ceil/nearbyint.
17478 * builtins.def: Fix comments.
17479 (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN,
17480 DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN,
17481 DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN,
17482 DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed.
17483 (DEF_C99_C90RES_BULTIN): New.
17484 (*f, *l builtins): Update.
17485 * c-common.c (DEF_BUILTIN): Initialize implicit array.
17486 (c_expand_builtin_printf, c_expand_builtin_fprintf): Update.
17487 * convert.c (strip_float_extensions): New global function.
17488 * tree.h (DEF_BUILTIN): Accept 10 arguments.
17489 (implicit_built_in_decls, mathfn_built_in, strip_float_extension):
17490 Declare.
17491 * java/builtins.c (define_builtin): Handle implicit.
17492 (DEF_BUILTIN): Update.
17493 * tm.texi (TARGET_C99_FUNCTIONS): Document.
17494 * defaults.h (TARGET_C99_FUNCTIONS): Default to 0.
17495 * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1
17496 when using glibc2.
17497
1f37a5b2
BW
174982003-01-24 Bob Wilson <bob.wilson@acm.org>
17499
17500 * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib,
17501 extra_parts, and fixincludes. Add xtensa/t-elf tmake_file.
17502 (xtensa-*-linux*): Add xtensa/t-linux tmake_file.
17503 * config/xtensa/crti.asm: New file.
17504 * config/xtensa/crtn.asm: New file.
17505 * config/xtensa/t-elf: New file.
17506 * config/xtensa/t-linux: New file.
17507 * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o.
17508 Move various CFLAGS settings to new t-elf file.
17509
84f5e1b1
RH
175102003-01-24 Richard Henderson <rth@redhat.com>
17511
17512 PR optimization/4382
17513 * tree-inline.c (find_builtin_longjmp_call_1): New.
17514 (find_builtin_longjmp_call): New.
17515 (inlinable_function_p): Use it.
17516
09b2e78d
ZD
175172003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
17518
17519 * config/i386/i386-protos.h (function_arg_pass_by_reference): Declare.
17520 * config/i386/i386.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use it.
17521 * config/i386/i386.c (function_arg_pass_by_reference): New.
17522 (ix86_va_arg): Support arguments passed by reference.
17523
3d436d2a
ZD
175242003-01-24 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
17525
17526 * cfgloopanal.c: New file.
17527 * cfgloopmanip.c: New file.
17528 * Makefile.in (cfgloopanal.o, cfgloopmanip.o): New.
17529 (toplev.o, loop.o, doloop.o, unroll.o, cfgloop.o, predict.o,
17530 cfglayout.o): Add dependency on cfgloop.h.
17531 (cfgloop.o): Add flags.h dependency.
17532 * basic-block.h (BB_IRREDUCIBLE_LOOP, BB_SUPERBLOCK): New flags.
17533 (VLS_EXPECT_PREHEADERS, VLS_EXPECT_SIMPLE_LATCHES): Removed.
17534 (struct loop, struct loops, flow_loops_find, flow_loops_update,
17535 flow_loops_free, flow_loops_dump, flow_loop_dump,
17536 flow_loop_scan, flow_loop_tree_node_add, flow_loop_tree_node_remove,
17537 LOOP_TREE,,LOOP_PRE_HEADER, LOOP_ENTRY_EDGES, LOOP_EXIT_EDGES,
17538 LOOP_ALL, flow_loop_outside_edge_p, flow_loop_nested_p,
17539 flow_bb_inside_loop_p, get_loop_body, loop_preheader_edge,
17540 loop_latch_edge, add_bb_to_loop, remove_bb_from_loops,
17541 find_common_loop, verify_loop_structure): Declarations moved to ...
17542 * cfgloop.h: New file.
17543 * bb-reorder.c (reorder_basic_blocks): Modified.
17544 * cfglayout.c: Include cfgloop.h.
17545 (cleanup_unconditional_jumps, cfg_layout_redirect_edge,
17546 cfg_layout_duplicate_bb, cfg_layout_initialize): Update loop structure.
17547 (break_superblocks): New static function.
17548 (cfg_layout_finalize): Use it.
17549 (cfg_layout_split_block): New function.
17550 * cfglayout.h (struct reorder_block_def): Add copy and duplicated
17551 fields.
17552 (cfg_layout_initialize, cfg_layout_redirect_edge): Declaration
17553 changed.
17554 (cfg_layout_split_block): Declare.
17555 * cfgloop.c: Include cfgloop.h and flags.h.
17556 (flow_loop_dump, flow_loops_free, flow_loop_exit_edges_find,
17557 get_loop_body): Avoid signed versus unsigned comparison warnings.
17558 (make_forwarder_block, flow_loops_find, loop_preheader_edge,
17559 loop_latch_edge): Modified.
17560 (verify_loop_structure): Modified to use flags stored in loop structure;
17561 check irreducible loops.
17562 (cancel_loop, cancel_loop_tree): New functions.
17563 (estimate_probability): Use loop analysis code for predictions.
17564 (estimate_loops_at_level): Avoid signed versus unsigned comparison
17565 warnings.
17566 * doloop.c: Include cfgloop.h.
17567 * loop.c: Include cfgloop.h.
17568 * predict.c: Include cfgloop.h.
17569 * toplev.c: Include cfgloop.h.
17570 * unroll.c: Include cfgloop.h.
17571 * tracer.c (tracer): Modified.
17572
a38b3eea
KH
175732003-01-24 Kazu Hirata <kazu@cs.umass.edu>
17574
17575 * config/h8300/h8300.c (get_shift_alg): Fix a typo.
17576
fd3cd001
UW
175772003-01-24 Ulrich Weigand <uweigand@de.ibm.com>
17578
17579 * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.
17580 * configure: Regenerate.
17581
17582 * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype.
17583 (tls_symbolic_reference_mentioned_p): Add prototype.
17584 (s390_tls_get_offset): Add prototype.
17585 (emit_pic_move): Remove prototype, replace by ...
17586 (emit_symbolic_move): .. this new prototype.
17587
17588 * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define.
17589 (tls_model_chars): New global variable.
17590 (s390_encode_section_info): Encode TLS model.
17591 Use targetm.binds_local_p to check for local symbols.
17592 (s390_strip_name_encoding): New function.
17593 (TARGET_STRIP_NAME_ENCODING): Define.
17594
17595 (get_thread_pointer): New function.
21ff35fb 17596 (legitimize_tls_address): New function.
fd3cd001
UW
17597 (legitimize_address): Call it.
17598 (emit_pic_move): Remove, replace by ...
17599 (emit_symbolic_move): ... this new function.
17600
17601 (larl_operand): Handle TLS operands.
17602 (legitimate_constant_p): Likewise.
17603 (s390_decompose_address): Likewise.
17604 (s390_cannot_force_const_mem): New function.
17605 (TARGET_CANNOT_FORCE_CONST_MEM): Define.
17606
17607 (s390_output_symbolic_const): Handle TLS unspecs.
17608 (print_operand): New code 'J'.
17609 (machine_function): Add struct member 'some_ld_name'.
17610 (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New.
17611
17612 (enum s390_builtin): New type.
17613 (code_for_builtin_64, code_for_builtin_31): New global variables.
17614 (s390_init_builtins, s390_expand_builtin): New functions.
17615 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define.
17616
17617 * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro.
17618 (ASM_OUTPUT_LABELREF): Define.
17619 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants.
17620
17621 * config/s390/s390.md: Define TLS UNSPEC constants.
17622 ("movdi", "movsi"): Handle TLS operands.
17623 ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns.
17624 ("*tls_load_64", "*tls_load_31"): New insns.
17625 ("call_value_tls", "call_value_tls_exp"): New expanders.
21ff35fb 17626 ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31",
fd3cd001
UW
17627 "bas_tls_64", "bas_tls_31"): New insns.
17628
01f4962d
NS
176292003-01-24 Nathan Sidwell <nathan@codesourcery.com>
17630
17631 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Make sure
17632 spe ABI is configured, if requested.
17633
70b91854
VR
176342003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
17635
17636 * doc/passes.texi: Fix typo.
17637
b8089d8d
AS
176382003-01-24 Andreas Schwab <schwab@suse.de>
17639
17640 * stor-layout.c (excess_unit_span): Only define if used.
17641
38df970e
JQ
176422003-01-24 Jerry Quinn <jlquinn@optonline.net>
17643
17644 * gcc/doc/invoke.texi (Optimization Options): List -O levels
17645 for each optimization flag.
17646
dff23a65
KH
176472003-01-24 Kazu Hirata <kazu@cs.umass.edu>
17648
17649 * config/h8300/h8300.md (*andsi3_ashift_n_lower): New.
17650
05739753
VR
176512003-01-24 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
17652
17653 * doc/bugreport.texi: Use @command instead of @code for commands.
17654 * doc/collect2.texi: Likewise.
17655 * doc/headerdirs.texi: Likewise.
17656 * doc/invoke.texi: Likewise.
17657 * doc/standards.texi: Likewise.
17658 * doc/tm.texi: Likewise.
17659 * doc/trouble.texi: Likewise.
17660
06bea5aa
NC
176612003-01-24 Nick Clifton <nickc@redhat.com>
17662
17663 * config/arm/arm.c (use_return_insn): Do not use a single return
17664 instruction for interrupt handelrs which have to create a stack
17665 frame.
17666 (arm_expand_prologue): Do not pre-bias the return address of
17667 interrupt handlers which create a stack frame.
17668
176692003-01-24 Nick Clifton <nickc@redhat.com>
17670
17671 * Add sh2e support:
17672
17673 2002-08-12 Alexandre Oliva <aoliva@redhat.com>
17674
17675 * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle
17676 med_cbranches. Fix logic in short_cbranches.
17677
17678 2002-04-03 Alexandre Oliva <aoliva@redhat.com>
17679
17680 * config/sh/sh.md (delay for cbranch): Don't annul delay
17681 slots on SH2e.
17682 * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for
17683 cbranch with unfilled delay slot on SH2e.
17684 (output_branch): Fill with a nop the delay slot of a
17685 branch that required a delay slot but didn't get one.
17686
17687 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
17688
17689 * doc/invoke.texi (SH options): Document -m2e.
17690 * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__.
17691 * config/sh/lib1funcs.asm: Likewise.
17692 * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E.
17693 * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and
17694 not __sh1__.
17695 (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from
17696 SH2E up.
17697 (SH3E_BIT): Renamed to...
17698 (SH_E_BIT): ... this. Replace all uses.
17699 (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2.
17700 Replace all uses of TARGET_SH3E with TARGET_SH2E.
17701 (TARGET_SWITCHES): Added 2e.
17702 (OVERRIDE_OPTIONS): Set sh_cpu for SH2E.
17703 (processor_type): Added PROCESSOR_SH2E.
17704 * config/sh/sh.md: Replace all uses of TARGET_SH3E with
17705 TARGET_SH2E, except in sqrtsf2_i.
17706 (attribute cpu): Added sh2e.
17707 * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e.
17708 (MULTILIB_MATCHES): Use m2e multilib for m3e.
17709 * config.gcc: Add sh2e target support.
17710
65ca2d60
PE
177112003-01-24 Phil Edwards <pme@gcc.gnu.org>
17712
17713 Rename -W to -Wextra.
17714 * c-decl.c: Update comments.
17715 * c-typeck.c: Likewise.
17716 * flags.h: Likewise.
17717 * function.c: Likewise.
17718 * stmt.c: Likewise.
17719 * toplev.c: Update comments.
17720 (W_options): Add 'extra'.
17721 (display_help): Remove '-W'.
17722 (decode_W_option): Special warn_uninitialized treatment in the case
17723 of -Wextra.
17724 * doc/invoke.texi: Update with new entries.
17725
3de9c088
RH
177262003-01-23 Richard Henderson <rth@redhat.com>
17727
8324663f
RH
17728 * ifcvt.c (noce_process_if_block): Re-add check vs X being changed
17729 in no-else-block case. Add commentary.
3de9c088 17730
49691411
KG
177312003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17732
b4862477
KG
17733 * configure.in: Revert last change.
17734
177352003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17736
17737 * configure.in: Don't include ansidecl.h in tconfig.h.
ed446835 17738 * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED): Define if IN_LIBGCC2.
49691411
KG
17739 * unwind-dw2-fde.h (last_fde): Use __attribute__, not
17740 ATTRIBUTE_UNUSED.
17741
17742 * configure: Regenerate.
17743
c4db7ecb
FS
177442003-01-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17745
17746 PR java/6748
17747 * config/rs6000/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Don't destroy
17748 regs->nip. Fix rt_sigreturn frame layout. Add support for newer
17749 kernels.
17750
fc69c47c
KG
177512003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17752
17753 * cpplex.c (cpp_interpret_charconst): Squelch warning with cast.
17754
adbe6dfd
UW
177552003-01-23 Ulrich Weigand <uweigand@de.ibm.com>
17756
17757 * genattrtab.c (write_attr_get): Mark 'insn' paramter
17758 as ATTRIBUTE_UNUSED.
17759
76a318e9
RE
177602003-01-23 Richard Earnshaw <rearnsha@arm.com>
17761
17762 * arm.c (thumb_base_register_rtx_p): New function.
17763 (thumb_index_register_rtx_p): New function.
17764 (thumb_legitimate_address_p): New function.
17765 (thumb_legitimate_offset_p): New function.
17766 * arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
8891b787 17767 (ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid duplicate
76a318e9
RE
17768 definitions.
17769 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
17770 (THUMB_LEGITIMATE_OFFSET): Delte.
17771 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
17772 * arm-protos.h (thumb_legitimate_address_p): Add prototype.
17773 (thumb_legitimate_offset_p): Likewise.
17774
9a600d0c
AS
177752003-01-23 Andreas Schwab <schwab@suse.de>
17776
17777 * unwind.h (_Unwind_GetTextRelBase): Mark parameter as unused.
17778
2d110c0a
KG
177792003-01-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17780
17781 * fixinc/Makefile.in (FL_LIST): Revert last change.
17782
2d1d9215
VR
177832003-01-23 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
17784
17785 PR other/7341
17786 * invoke.texi (ftest-coverage): Fix broken cross-reference.
17787 Change @code to @command for gcov command.
17788
17789 * gcc.texi: Adjust title of gcov section.
17790 Adjust copyright.
17791 * gcov.texi: Likewise.
17792
34ee7f82
RS
177932003-01-22 Roger Sayle <roger@eyesopen.com>
17794
17795 PR optimization/8423
17796 * cse.c (fold_rtx): Only eliminate a CONSTANT_P_RTX to 1 when
17797 its argument is constant, or 0 if !flag_gcse.
17798 * simplify-rtx.c (simplify_rtx): Convert CONSTANT_P_RTX to 1
17799 if it's argument is constant.
17800 * gcse.c (want_to_gcse_p): Ignore CONSTANT_P_RTX nodes.
17801 (hash_scan_set): Don't record CONSTANT_P_RTX expressions.
17802 (do_local_cprop): Don't propagate CONSTANT_P_RTX constants.
17803 * builtins.c (purge_builtin_constant_p): New function to force
17804 instantiation of any remaining CONSTANT_P_RTX nodes.
17805 * rtl.h (purge_builtin_constant_p): Prototype here.
17806 * toplev.c (rest_of_compilation): Invoke purge_builtin_constant_p
17807 pass after GCSE and before loop.
17808 (flag_gcse): No longer static.
17809 * flags.h (flag_gcse): Prototype here.
17810
bab0b43b
UW
178112003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
17812
17813 * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
17814 introduced by last change.
17815
7e657a61
AS
178162003-01-22 Andreas Schwab <schwab@suse.de>
17817
17818 * ra-rewrite.c (rewrite_program2): Initialize bb to avoid warning.
17819
75a3503b
KH
178202003-01-22 Kazu Hirata <kazu@cs.umass.edu>
17821
17822 * config/h8300/h8300.c (h8300_shift_needs_scratch_p): Don't
17823 request a scratch reg on H8S when the shift count is 8.
17824
4888ec5d
UW
178252003-01-22 Ulrich Weigand <uweigand@de.ibm.com>
17826
17827 * config/s390/s390-protos.h (preferred_la_operand_p):
17828 Remove second parameter.
17829 * config/s390/s390.c (preferred_la_operand_p): Likewise.
17830 * config/s390/s390.h (FRAME_REGNO_P, FRAME_REG_P): New macros.
17831 (HARD_REGNO_MODE_OK): Use FRAME_REGNO_P.
17832 * config/s390/s390.md ("*la_cc_64", "*la_cc_31", splitters): Remove.
17833 Add peepholes to transform ADD to LOAD ADDRESS.
17834
6b990f6b
RE
178352003-01-22 Richard Earnshaw <rearnsha@arm.com>
17836
17837 * arm.c (arm_address_register_rtx_p): New function.
17838 (arm_legitimate_address_p): New function.
17839 (arm_legitimate_index_p): New function.
17840 (legitimize_pic_address): Use arm_legitimate_index_p.
17841 * arm-protos.h (arm_legtimate_address_p): Add prototype.
17842 * arm.h (ARM_GO_IF_LEGITIMATE_INDEX): Delete.
17843 (ARM_GO_IF_LEGITIMATE_ADDRESS): Call arm_legitimate_address_p.
17844
f0bf1270
HP
178452003-01-22 Hartmut Penner <hpenner@de.ibm.com>
17846
17847 * config/s390/s390.md (floatdfdi2): Insn has type 'itof'.
17848 * config/s390/2064.md (define_bypass): Correct 'Load' and
17849 'Load-address' bypass values.
21ff35fb 17850
fcb6a0f5
AS
178512003-01-22 Andreas Schwab <schwab@suse.de>
17852
17853 * config/ia64/t-ia64 (insn-attrtab.o-warn): Define as -Wno-error.
17854
c24b8026
ZW
178552003-01-21 Zack Weinberg <zack@codesourcery.com>
17856
17857 * genautomata.c (output_internal_insn_latency_func,
17858 output_print_reservation_func): Short circuit when there is no
17859 automaton to generate code for.
17860
38afe605
KG
178612003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17862
17863 * Makefile.in (ssa-ccp.o): Depend on coretypes.h $(TM_H).
17864 (df.o): Delete duplicate dependency on coretypes.h $(TM_H).
17865
d24652ee
GK
178662003-01-21 Geoffrey Keating <geoffk@apple.com>
17867
17868 * config/rs6000/rs6000.md: Remove warning.
17869 (builtin_setjmp_receiver): Likewise.
17870 * config/darwin.c (update_stubs): Slightly improve terrible hack
17871 with identifiers. Add comment pointing out problems with it.
17872 (update_non_lazy_ptrs): Likewise.
17873
1c99d804
RH
178742003-01-21 Richard Henderson <rth@redhat.com>
17875
17876 * dwarf2out.c (lookup_filename): Fix printf format warning.
17877 * system.h (fread_unlocked, fwrite_unlocked): Undef.
17878
17879 * fixinc/Makefile.in (FL_LIST): Add $($@-warn) hook.
17880 (fixincl.o-warn, gnu-regex.o-warn): New.
17881 * fixinc/fixfixes.c (FIX_PROC_HEAD): Mark parameters unused.
17882 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Likewise.
17883 * fixinc/fixincl.c (process): Fix printf format warning.
17884
f0b886ab
UW
178852003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
17886
17887 * dwarf2out (output_file_names): Don't crash if called
17888 with empty file_table.
17889
490c57bb
ZW
178902003-01-21 Zack Weinberg <zack@codesourcery.com>
17891
17892 * genautomata.c (output_internal_insn_latency_func): Add
17893 missing break statement to generated code.
17894
100e3acb
RS
178952003-01-21 Roger Sayle <roger@eyesopen.com>
17896
17897 * stmt.c (same_case_target_p): New function to determine whether
17898 two case labels branch to the same target. Split out from...
17899 (group_case_nodes): ... here. Use same_case_target_p instead.
17900 (strip_default_case_nodes): Remove explicit case nodes
17901 that branch to the default destination.
17902 (expand_end_case_type): Call strip_default_case_nodes after
17903 group_case_nodes, to simplify the case-list before we count it.
17904 Only generate table_label RTX when actually needed. Try to share
17905 thiscase->exit_label and thiscase->data.case_stmt.default_label
17906 when a switch has no explicit default case. Simplify test for
17907 constant index.
17908
e8e8c1e5
KH
179092003-01-21 Kazu Hirata <kazu@cs.umass.edu>
17910
17911 * config/h8300/h8300.md (*negsf2_h8300): Use \\t instead of
17912 \t.
17913 (*negsf2_h8300hs): Likewise.
17914 (*addsi3_lshiftrt_16_zexthi): Likewise.
17915 (*iorhi3_lshiftrt_8): Likewise.
17916
044b4de3
UW
179172003-01-21 Ulrich Weigand <uweigand@de.ibm.com>
17918
17919 * dwarf2out.c (fde_table_in_use): Mark GTY.
17920 (dwarf2out_cfi_label_num): New variable, marked GTY.
17921 (dwarf2out_cfi_label): Use it instead of static label_num.
17922 * emit-rtl.c (label_num): Mark GTY.
17923
cfedf91b
KH
179242003-01-21 Kazu Hirata <kazu@cs.umass.edu>
17925
17926 * config/h8300/h8300.c (output_plussi): Support H8/300.
17927 (compute_plussi_length): Likewise.
17928 (compute_plussi_cc): Likewise.
17929 * config/h8300/h8300.md (addsi_h8300): Use output_plussi to
17930 output assembly instructions.
17931
dd859b8a
KG
179322003-01-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17933
1f5b3282
KG
17934 * calls.c (fix_unsafe_tree): Prototype.
17935
dd859b8a
KG
17936 * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn)
17937 (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn,
17938 insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn,
17939 c-parse.o-warn): Add -Wno-error.
17940 (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@".
17941
17942 * configure.in (--enable-werror): Add new flag.
17943 * doc/install.texi (--enable-werror): Document.
17944 * configure: Regenerate.
17945
17946 * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error.
17947
4f9365e2
AS
179482003-01-21 Andreas Schwab <schwab@suse.de>
17949
17950 * genautomata.c (output_internal_insn_latency_func): Fix missing
17951 close paren in output.
17952
a543eb5e
ZW
179532003-01-21 Zack Weinberg <zack@codesourcery.com>
17954
17955 * genautomata.c: Space savings in generated code:
17956 (output_dfa_insn_code_func): Split out the table-enlargement
17957 path to an out-of-line static function, dfa_insn_code_enlarge.
17958 (output_internal_insn_latency_func): Use a lookup table for the
17959 default latencies.
17960 (output_print_reservation_func): Use a lookup table for the
17961 strings.
17962
292e35a3
CE
179632003-01-21 Christian Ehrhardt <ehrhardt@mathematik.uni-ulm.de>
17964
17965 PR opt/7507
17966 * calls.c (fix_unsafe_tree): Split out from ...
17967 (expand_call): ... here. Use it on the function address too.
17968
d8d0f5af
RH
179692003-01-20 Richard Henderson <rth@redhat.com>
17970
17971 * expr.h (default_must_pass_in_stack): Move decl outside ifdef.
17972
5b50aa9d
RH
179732003-01-20 Richard Henderson <rth@redhat.com>
17974
515e1c9f 17975 PR opt/7154
5b50aa9d
RH
17976 * stmt.c (expand_asm_operands): Validize memory operands.
17977
7a174a15
RH
179782003-01-20 Richard Henderson <rth@redhat.com>
17979
17980 PR opt/8848
17981 * ifcvt.c (noce_process_if_block): Correct arguments to
17982 modified_between_p for no-else-block case.
17983
9ac7ebba
KH
179842003-01-20 Kazu Hirata <kazu@cs.umass.edu>
17985
17986 * config/h8300/h8300.c (const_costs): Remove a warning.
17987 (output_plussi): Likewise.
17988 (compute_plussi_length): Likewise.
17989 (compute_plussi_cc): Likewise.
17990
309c52b5
KH
179912003-01-20 Kazu Hirata <kazu@cs.umass.edu>
17992
17993 * config/h8300/h8300.md (addsi_h8300): Remove the last
17994 alternative.
17995
b30686ec
KH
179962003-01-20 Kazu Hirata <kazu@cs.umass.edu>
17997
17998 * config/h8300/h8300.c (get_shift_alg): Remove redundant code.
17999
87608693
KG
180002003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18001
18002 * system.h (__NO_STRING_INLINES): Define.
18003
475c8250
JDA
180042003-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
18005
18006 * ifcvt.c (noce_emit_store_flag): Don't emit store flag if mode of x
18007 is not a scalar int mode.
18008
dbaff908
RS
180092003-01-20 Roger Sayle <roger@eyesopen.com>
18010
18011 * cse.c (cse_insn): Avoid RTL sharing when updating the RETVAL
18012 insn's notes following a substitution inside a libcall.
18013
da8a6064
ZW
180142003-01-20 Zack Weinberg <zack@codesourcery.com>
18015
18016 * configure.in: Check for system-provided 'uchar' type.
a12b5bd9 18017 * configure, config.in: Regenerate.
da8a6064
ZW
18018 * cpphash.h: Only typedef 'uchar' if the system doesn't.
18019
a4b1b92a
RH
180202003-01-20 Richard Henderson <rth@redhat.com>
18021
18022 * expr.h (MUST_PASS_IN_STACK): Move implementation...
18023 * calls.c (default_must_pass_in_stack): ... here.
18024
d530b07f
VM
180252003-01-20 Vladimir Makarov <vmakarov@redhat.com>
18026
da8a6064
ZW
18027 * genattrtab.h (INSN_ALTS_FUNC_NAME): Move it from genautomata.c.
18028
d530b07f
VM
18029 * genautomata.c (INSN_ALTS_FUNC_NAME): Move it into genattrtab.h.
18030
18031 * genattr.c (main): Output default definition of AUTOMATON_ALTS.
18032 Wrap up definition of `insn_alts'.
18033
18034 * genattrtab.c (main): Wrap up `insn_alts'.
18035
351df804
KG
180362003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18037
18038 * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
18039 prototyping.
18040 * configure.in: Check for <ldfcn.h> and ldgetname() prototype.
da8a6064 18041
351df804
KG
18042 * config.in, configure: Regenerate.
18043
e3289412
NC
180442003-01-20 Nick Clifton <nickc@redhat.com>
18045
18046 * config/arm/arm.md (sibcall_epilogue): Add an
18047 UNSPEC_PROLOGUE_USE to prevent the link register from being
18048 considered dead.
18049
62c9aa5f 180502003-01-20 Jan Hubicka <jh@suse.cz>
5794139a
JH
18051
18052 * i386.md (SSE cmov splitter): Handle memory operand in operand 5.
18053
0a18ddf9
AS
180542003-01-20 Andreas Schwab <schwab@suse.de>
18055
18056 * system.h: Don't declare strsignal if the decl test hasn't been
18057 run yet.
18058
d99c740f
KH
180592003-01-20 Kazu Hirata <kazu@cs.umass.edu>
18060
18061 * config/h8300/h8300.c (notice_update_cc): Don't assume that
18062 recog_data.operands[0] is always associated with cc0.
18063
825c5408
DE
180642003-01-19 David Edelsohn <edelsohn@gnu.org>
18065
18066 * collect2.c (ldgetname): Expand declaration to prototype.
18067 * read-rtl.c (atoll): Add prototype.
da3e0142 18068 * system.h (strsignal): Also declare if no declaration found.
825c5408 18069
3bd6d4c4
AO
180702003-01-19 Alexandre Oliva <aoliva@redhat.com>
18071
18072 * config.gcc (mips64*-*-linux*): Added.
18073 * config/mips/linux64.h, config/mips/t-linux64: New file.
18074 * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define.
18075 * config/mips/mips.c (override_options): Use it.
18076 * config/mips/mips.h (TARGET_SWITCHES): Added...
18077 (SUBTARGET_TARGET_SWITCHES): New, empty by default.
18078 * Makefile.in (SPECS): New.
18079 (STAGESTUFF, specs, mostlyclean, install-common): Use it.
18080 * gcc.c (process_command): Move self-spec processing past spec
18081 file loading.
18082 * doc/tm.texi (DRIVER_SELF_SPECS): Document the change.
18083 * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for
18084 CRTSTUFF_T_CFLAGS.
18085 (SPECS): Document.
18086 * doc/invoke.texi (-mabi-fake-default): Document.
18087
e9f13564
SC
180882003-01-19 Stephane Carrez <stcarrez@nerim.fr>
18089
18090 * config/m68hc11/m68hc11.c (stack_push_word, stack_pop_word,
18091 z_reg, z_reg_qi): Declare static and GTY().
18092 (da_reg): Remove.
18093 (create_regs_rtx): Don't create da_reg.
18094 ("gt-m68hc11.h"): Include for GTY roots.
18095 * config/m68hc11/m68hc11.h (ix_reg, iy_reg, d_reg): Declare extern
18096 and GTY() here.
18097 (m68hc11_compare_op0, m68hc11_compare_op1): Likewise.
18098 (m68hc11_soft_tmp_reg): Likewise.
18099 * config/m68hc11/m68hc11-protos.h: Remove above declarations.
18100
32dd366d
KH
181012003-01-18 Kazu Hirata <kazu@cs.umass.edu>
18102
18103 * basic-block.h: Fix comment formatting.
18104 * calls.c: Likewise.
18105 * combine.c: Likewise.
18106 * convert.c: Likewise.
18107 * gcov.c: Likewise.
18108 * haifa-sched.c: Likewise.
18109 * libgcc2.c: Likewise.
18110 * loop.c: Likewise.
18111 * profile.c: Likewise.
18112 * system.h: Likewise.
18113
bc3cb712
RS
181142003-01-18 Roger Sayle <roger@eyesopen.com>
18115
18116 * config/pa/pa.md (muldi3): Avoid invalid sharing of SUBREG RTXs.
18117
25e42e9d
KG
181182003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18119
18120 * ra-build.c (undef_to_size_word): Avoid `switch' warning.
18121
6f9c81f5
DJ
181222003-01-17 Dale Johannesen <dalej@apple.com>
18123
da8a6064 18124 * config/rs6000/rs6000.md (*floatsidf2_internal): Add earlyclobbers.
6f9c81f5
DJ
18125 (*floatunssidf2_internal): Ditto.
18126
95bd1dd7
KH
181272003-01-17 Kazu Hirata <kazu@cs.umass.edu>
18128
18129 * alias.c: Fix comment typos.
18130 * basic-block.h: Likewise.
18131 * c-common.c: Likewise.
18132 * c-common.h: Likewise.
18133 * c-decl.c: Likewise.
18134 * c-opts.c: Likewise.
18135 * c-pragma.c: Likewise.
18136 * c-pretty-print.h: Likewise.
18137 * cfg.c: Likewise.
18138 * cfganal.c: Likewise.
18139 * cfgbuild.c: Likewise.
18140 * cfgcleanup.c: Likewise.
18141 * cfglayout.c: Likewise.
18142 * cfgrtl.c: Likewise.
18143 * convert.c: Likewise.
18144 * cpphash.h: Likewise.
18145 * cpplex.c: Likewise.
18146 * cpplib.h: Likewise.
18147 * df.h: Likewise.
18148 * diagnostic.c: Likewise.
18149 * diagnostic.h: Likewise.
18150 * dwarf2.h: Likewise.
18151
d5840e09
SS
181522003-01-17 Stan Shebs <shebs@apple.com>
18153
18154 * config/darwin-protos.h: Forward-declare struct cpp_reader.
18155
e607534b
DR
181562003-01-17 Douglas B Rupp <rupp@gnat.com>
18157
18158 * config/alpha/alpha.c (alpha_need_linkage): Fix obvious
18159 mistake in last checkin.
18160
fbe5a4a6
KH
181612003-01-17 Kazu Hirata <kazu@cs.umass.edu>
18162
18163 * et-forest.c: Fix comment typos.
18164 * et-forest.h: Likewise.
18165 * except.c: Likewise.
18166 * expr.c: Likewise.
18167 * flags.h: Likewise.
18168 * flow.c: Likewise.
18169 * gcc.c: Likewise.
18170 * gcse.c: Likewise.
18171 * genattrtab.c: Likewise.
18172 * genautomata.c: Likewise.
18173 * gengtype.c: Likewise.
18174 * genrecog.c: Likewise.
18175 * global.c: Likewise.
18176 * gthr-rtems.h: Likewise.
18177
095f9093
KG
181782003-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18179
18180 * i386.c (x86_function_profiler): Fix format specifier.
18181
084087e1
RH
181822003-01-17 Richard Henderson <rth@redhat.com>
18183
18184 * gengtype.c (walk_type): Allow paramN_is.
18185
4a13592e
NC
181862003-01-17 Nick Clifton <nickc@redhat.com>
18187
18188 * config/i960/t-960bare (i960-c.o): Add missing newline escape.
18189
01193617
RH
181902003-01-16 Richard Henderson <rth@redhat.com>
18191
18192 * config/alpha/linux-elf.h (LIB_SPEC): Adjust inter-option spacing.
18193
f030826a
RH
181942003-01-16 Richard Henderson <rth@redhat.com>
18195
18196 * config/alpha/alpha.c (alpha_sr_alias_set): Mark GTY.
18197 (alpha_next_sequence_number): Likewise.
18198 (alpha_this_literal_sequence_number): Likewise.
18199 (alpha_this_gpdisp_sequence_number): Likewise.
18200 (struct alpha_funcs, alpha_funcs_num): Likewise.
18201 (struct alpha_links): Fix branch merge error.
18202 (alpha_need_linkage, alpha_use_linkage): Use GC for alpha_funcs.
18203
e1551d47
AO
182042003-01-17 Alexandre Oliva <aoliva@redhat.com>
18205
18206 * config/mips/mips.h: Don't use #elif. Reported by Kaveh
18207 R. Ghazi.
18208
3d042e77
KH
182092003-01-16 Kazu Hirata <kazu@cs.umass.edu>
18210
18211 * ifcvt.c: Fix comment typos.
18212 * lcm.c: Likewise.
18213 * libgcc2.c: Likewise.
18214 * local-alloc.c: Likewise.
18215 * loop.c: Likewise.
18216 * predict.c: Likewise.
18217 * ra-build.c: Likewise.
18218 * ra.c: Likewise.
18219 * ra-colorize.c: Likewise.
18220 * ra.h: Likewise.
18221 * ra-rewrite.c: Likewise.
18222 * regmove.c: Likewise.
18223 * reload.h: Likewise.
18224 * rtlanal.c: Likewise.
18225 * toplev.c: Likewise.
18226 * tree.h: Likewise.
18227 * unwind-dw2-fde-glibc.c: Likewise.
18228 * vmsdbgout.c: Likewise.
18229
c4274b22
RH
182302003-01-16 Richard Henderson <rth@redhat.com>
18231
18232 * dwarf2out.c (struct file_table): Remove.
18233 (FILE_TABLE_INCREMENT): Remove.
18234 (file_table): Make a varray; mark for GC. Update all users.
18235 (file_table_last_lookup_index): Extract from struct file_table.
18236 (output_file_names): Fix unsigned compare warnings.
18237 (add_name_attribute): Remove inline marker.
18238 (add_comp_dir_attribute): Split out from gen_compile_unit_die.
18239 (lookup_filename): Don't manage size of file_table.
18240 (init_file_table): Allocate file_table with GC.
18241 (dwarf2out_init): Don't record main_input_filename here.
18242 (dwarf2out_finish): Do it here instead.
18243
19162d0e
BK
182442003-01-16 Bruce Korb <bkorb@gnu.org>
18245
18246 * gcc/fixinc/inclhack.def(limits_ifndef): QNX needs a bypass, too.
18247
f1e2239f
KK
182482003-01-16 Kaz Kojima <kkojima@gcc.gnu.org>
18249
da8a6064
ZW
18250 * config/sh/sh.c (sh_initialize_trampoline): Emit rotrdi3_mextr
18251 instead of rotldi3_mextr.
f1e2239f 18252
cda1f765
VM
182532003-01-16 Vladimir Makarov <vmakarov@redhat.com>
18254
18255 * haifa-sched.c (move_insn): Restore moving all schedule group.
18256 (set_priorities): Restore taking SCHED_GROUP_P into account.
18257
18258 * sched-deps.c (add_dependence): Restore processing the last group
18259 insn.
18260 (remove_dependence, group_leader): Restore the functions.
18261 (set_sched_group_p): Restore adding dependencies from previous insn
18262 in the group.
18263 (compute_forward_dependences): Restore usage of group_leader.
18264
18265 * sched-ebb.c (init_ready_list): Restore taking SCHED_GROUP_P into
18266 account.
18267
18268 * sched-rgn.c (init_ready_list): Restore taking SCHED_GROUP_P into
18269 account.
18270 (can_schedule_ready_p): Ditto.
18271 (add_branch_dependences): Restore skipping over the group insns.
da8a6064 18272
200097cc
SC
182732003-01-16 Stephane Carrez <stcarrez@nerim.fr>
18274
18275 * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Fix handling
18276 68HC12 pre/post inc/dec side effects.
18277
f411c739
SC
182782003-01-16 Stephane Carrez <stcarrez@nerim.fr>
18279
18280 * config/m68hc11/m68hc11.h (MASK_M6812): Define.
18281
62c9aa5f 182822003-01-16 J"orn Rennecke <amylaar@onetel.net.uk>
08c43ea7
R
18283
18284 * sh.md (mshflo_w_x): Fix description of operation.
18285
07488f32
ZW
182862003-01-16 Zack Weinberg <zack@codesourcery.com>
18287
18288 * config/rs6000/rs6000.h: Mention Altivec registers in
18289 commentary. Fix typo.
18290
27dc0551
DE
182912003-01-16 David Edelsohn <edelsohn@gnu.org>
18292
18293 * config/rs6000/rs6000.md (movti_string): Remove clobber.
18294 * config/rs6000/rs6000.c (rs6000_emit_move, TImode): Explicitly
18295 generate PARALLEL with clobber for TARGET_POWER.
18296
0334ef47
KG
182972003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18298
18299 * ra-colorize.c (colorize_one_web): Initialize variable.
18300 * regmove.c (fixup_match_1): Likewise.
18301 * reload1.c (reload_as_needed): Likewise.
18302 * sdbout.c (SET_KNOWN_TYPE_TAG): Add cast.
18303
16f2b86a
ZD
183042003-01-16 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
18305
18306 * cfgloop.c (flow_loops_find): Fix handling of abnormal edges.
18307
fc555370
KG
183082003-01-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18309
93d8c755
KG
18310 * dbxout.c (lastfile, cwd): Fix `unused' warning.
18311 * dwarf2out.c (fde_table_in_use, current_funcdef_fde,
18312 dw_cfi_oprnd1_desc, dw_cfi_oprnd2_desc, next_die_offset,
18313 is_main_source, file_table, decl_die_table_in_use,
18314 abbrev_die_table_in_use, line_info_table_in_use,
18315 separate_line_info_table_in_use, pubname_table_in_use,
18316 arange_table_in_use, ranges_table_in_use,
18317 current_function_has_inlines): Likewise.
18318 * flow.c (life_analysis): Likewise.
18319 * genemit.c (gen_insn): Likewise.
18320 * protoize.c (cplus_suffix): Likewise.
18321
0c2ca901
KG
18322 * arm.c (ROUND_UP_WORD): Renamed from ROUND_UP.
18323 * arm.h (ROUND_UP_WORD): Likewise.
18324
fc555370
KG
18325 * arm.h (CONDITIONAL_REGISTER_USAGE): Avoid signed/unsigned
18326 warning.
18327 * emit-rtl.c (gen_rtx_REG, set_mem_attributes_minus_bitpos,
18328 init_emit_once): Likewise.
18329 * flow.c (mark_regs_live_at_end, calculate_global_regs_live):
18330 Likewise.
18331 * function.c (assign_stack_temp_for_type): Likewise.
18332 * loop.c (loop_invariant_p): Likewise.
18333 * recog.c (push_operand): Likewise.
18334 * regclass.c (init_reg_sets_1): Likewise.
18335 * reload.c (update_auto_inc_notes): Likewise.
18336 * reload1.c (reload_as_needed, emit_input_reload_insns): Likewise.
18337 * stmt.c (expand_asm_operands): Likewise.
18338 * stor-layout.c (start_record_layout): Likewise.
18339
64510a4f
HB
183402003-01-16 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
18341
07488f32 18342 * config/c4x/c4x.md (epilogue): Correct last patch.
64510a4f 18343
77480b0b
RH
183442003-01-15 Richard Henderson <rth@redhat.com>
18345
18346 * config/alpha/alpha.c (find_lo_sum_using_gp): Rename from find_lo_sum;
18347 also check that GP is being used.
18348 (alpha_find_lo_sum_using_gp): New.
18349 (alpha_does_function_need_gp): Use get_attr_usegp.
18350 * config/alpha/alpha-protos.h: Update.
18351 * config/alpha/alpha.md (attr usegp): New. Annotate patterns
18352 as needed.
18353
a0134312
RS
183542003-01-15 Roger Sayle <roger@eyesopen.com>
18355
18356 * gcse.c (one_cprop_pass): Change function arguments to take both
18357 cprop_jumps and bypass_jumps flags instead of just alter_jumps.
18358 (gcse_main): Update calls to one_cprop_pass, disabling bypassing.
18359 (bypass_jumps): New function to perform separate jump bypassing pass.
18360 * rtl.h (bypass_jumps): Add function prototype.
18361 * timevar.def (TV_BYPASS): New timing variable.
18362 * toplev.c (enum dump_file_index): Add new entry DFI_bypass.
18363 (dump_file): New entry for the bypass RTL dump file.
18364 (rest_of_compilation): Insert new jump bypassing optimization
18365 pass after loop.
18366 * doc/passes.texi: Document new pass.
18367
4af6a063
JDA
183682003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
18369
18370 * som.h (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY, MAKE_DECL_ONE_ONLY,
18371 ASM_WEAKEN_LABEL, GTHREAD_USE_WEAK): Define.
18372 * pa.h (TARGET_SOM_SDEF): Define.
18373 * pa-hpux11.h (TARGET_SOM_SDEF): Define.
18374
51e13b71
SC
183752003-01-16 Stephane Carrez <stcarrez@nerim.fr>
18376
07488f32 18377 * config/m68hc11/m68hc11.c (expand_prologue): Use push/pop to
51e13b71
SC
18378 allocate 4-bytes of locals on 68HC11.
18379 (expand_epilogue): Likewise.
18380 (m68hc11_memory_move_cost): Increase cost of HI/QI soft registers.
18381
f077f169
SC
183822003-01-15 Stephane Carrez <stcarrez@nerim.fr>
18383
18384 * config/m68hc11/m68hc11.h (ASM_SPEC): Handle -m68hcs12; Pass -mshort
18385 and -mshort-double to the assembler to specify the ABI.
18386 (LINK_SPEC): Likewise.
18387 (CPP_SPEC): Pass HCS12 specific define.
18388 (MASK_M68S12): New define.
18389 (TARGET_M68S12): Likewise.
18390 (TARGET_SWITCHES): New options -m68hcs12 and -m68S12.
18391 (TARGET_VERSION): Update.
18392 * config/m68hc11/m68hc12.h (CPP_SPEC): Pass HCS12 specific define.
18393 (LINK_SPEC): Update.
18394 (ASM_SPEC): Update.
18395 * config/m68hc11/m68hc11.c (m68hc11_asm_file_start): Update.
18396 * doc/invoke.texi (M68hc1x Options): Document -m68hcs12.
18397
c0f684dc
SC
183982003-01-15 Stephane Carrez <stcarrez@nerim.fr>
18399
18400 * config/m68hc11/m68hc11.md ("return"): Use emit_jump_insn to emit
18401 the return code.
18402
6982ae15
JZ
184032003-01-15 Josef Zlomek <zlomekj@suse.cz>
18404
18405 * cfganal.c (set_edge_can_fallthru_flag): Clear the EDGE_CAN_FALLTHRU
18406 flag before setting it.
18407
8cadeff1
RS
184082003-01-15 Roger Sayle <roger@eyesopen.com>
18409
18410 * c-semantics.c (genrtl_while_stmt): Improve initial RTL generation
18411 when loop condition is known true, i.e. "while (1) { ... }".
18412 (genrtl_for_stmt): Similarly for "for" statements.
18413
03cd8aba
RS
184142003-01-15 Roger Sayle <roger@eyesopen.com>
18415
18416 * real.c (real_sqrt): Return a bool result indicating whether
18417 a floating point exception or trap should be raised.
18418 * real.h (real_sqrt): Update function prototype.
18419 * builtins.c (fold_builtin): Only fold non-trapping square
18420 roots unless we're ignoring errno and trapping math.
18421
4da78214
JDA
184222003-01-15 John David Anglin <dave.anglin@nrc.gc.ca>
18423
18424 * expr.h (emit_conditional_add): Add PARAMS to declaration.
18425 * gengtype-lex.l (malloc, realloc): Move defines after include of
18426 system.h. Remove duplicate include of system.h.
18427
9ee0a442
RS
184282003-01-15 Roger Sayle <roger@eyesopen.com>
18429
18430 PR middle-end/9009
18431 * optabs.c (expand_unop): When manipulating the FP sign bit
18432 using integer operations, account for targets with different
18433 integer and FP word orders.
18434 (expand_abs): Likewise.
18435
e3981aab
DE
184362003-01-15 David Edelsohn <edelsohn@gnu.org>
18437
18438 * config/rs6000/rs6000.c (rs6000_gen_section_name): Do not include
18439 file extension in section name.
18440
89c4b810
RE
184412003-01-15 Richard Earnshaw <rearnsha@arm.com>
18442
18443 * flow.c (find_auto_inc): Also try to generate a PRE_MODIFY with
18444 constant offset.
18445
3cd45774
RE
184462003-01-15 Richard Earnshaw <rearnsha@arm.com>
18447
18448 * arm.h (HAVE_PRE_MODIFY_DISP, HAVE_PRE_MODIFY_REG): Define.
18449 (HAVE_POST_MODIFY_DISP, HAVE_POST_MODIFY_REG): Define.
18450 (ARM_GO_IF_LEGITIMATE_ADDRESS): Handle pre/post-modify addresses.
18451 (ARM_PRINT_OPERAND_ADDRESS): Likewise.
18452
62c9aa5f 184532003-01-15 Jan Hubicka <jh@suse.cz>
b1a6f8db
JH
18454
18455 PR f/9258
07488f32 18456 * global.c (struct allocno): Add no_stack_reg.
b1a6f8db
JH
18457 (global_conflicts): Set no_stack_reg.
18458 (find_reg): Use it.
18459
18460 * convert.c (convert_to_real): Fold - and abs only when profitable.
18461 * fold-const.c (fold): Fold truncates in - and abs.
18462
d18c7e59
JZ
184632003-01-15 Josef Zlomek <zlomekj@suse.cz>
18464
18465 Segher Boessenkool <segher@koffie.nl>
fbe3b30b
SB
18466
18467 * predict.c (real_inv_br_prob_base): New variable.
18468 (propagate_freq): Use multiply by reciprocal instead of
18469 division. Don't divide by 1.0 at all.
18470 (estimate_bb_frequencies): Similar.
18471
027faee7
AO
184722003-01-15 Alexandre Oliva <aoliva@redhat.com>
18473
18474 * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.
18475 * configure: Rebuilt.
18476
077dab3b 184772003-01-15 Hartmut Penner <hpenner@de.ibm.com>
3c0121e4 18478
077dab3b
HP
18479 * config/s390/s390.c (s390_safe_attr_type): New function.
18480 (s390_use_dfa_pipeline_interface): New function, return true for z900.
18481 (s390_issue_rate): New function.
18482 (s390_agen_dep_p): New function.
18483 (addr_generation_dependency_p): Use 's390_safe_attr_type'.
18484 (s390_adjust_cost): Return 'cost' if new DFA is used.
18485 (s390_adjust_priority): Delete function.
18486 * config/s390/s390-protos.h: (s390_agen_dep_p): New prototype.
18487 * config/s390/s390.md (atype attribute): Attribute 'atype' default
18488 determined by 'op_type'.
18489 (type attribute): Added more type attributes.
18490 * config/s390/2064.md: New DFA description for z900 pipeline.
07488f32 18491
077dab3b 184922003-01-15 Alexandre Oliva <aoliva@redhat.com>
2b28d405 18493
acfa9d9f
AO
18494 * config/i386/i386.c (ix86_expand_vector_move): Validize constant
18495 forced to memory. Fixes PR bootstrap/9036.
18496
3c0121e4
AO
18497 * config/mips/mips.h (CRT_CALL_STATIC_FUNCTION): Define so as
18498 to set $gp before the call.
18499
553eb139
RH
185002003-01-14 Richard Henderson <rth@redhat.com>
18501
18502 * config/alpha/alpha.c (alpha_expand_mov): Use correct mode
18503 for force_const_mem.
18504
dd1b7476
KG
185052003-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18506
18507 * genattr.c (main): Rearrange output to avoid prototype warning.
18508 * genautomata.c (transform_3): Fix ambiguous-else warning.
18509 * local-alloc.c (requires_inout): Add parentheses around
18510 assignment used as truth-value.
18511 * timevar.c: Move system includes above local includes. Include
18512 toplev.h
18513 * Makefile.in (timevar.o): Depend on toplev.h.
18514
6028880a
DC
185152003-01-14 Denis Chertykov <denisc@overta.ru>
18516
18517 * config/ip2k/ip2k.h (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
18518 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
18519
18520 * config/ip2k/ip2k.c (ip2k_attribute_table): New table of
07488f32 18521 attributes.
6028880a
DC
18522 (TARGET_ATTRIBUTE_TABLE): New macro.
18523 (valid_machine_type_attribute): Remove.
18524 (valid_machine_decl_attribute): Remove.
18525 (ip2k_handle_progmem_attribute): New function.
18526 (ip2k_handle_fndecl_attribute): New function.
18527
4a2953e4 185282003-01-10 Andrew Haley <aph@redhat.com>
a686ea5b
AH
18529
18530 * config/i386/linux64.h (MD_FALLBACK_FRAME_STATE_FOR): Rename
18531 registers to be in correct order. Add rip.
18532
4d77fda2
KH
185332003-01-14 Kazu Hirata <kazu@cs.umass.edu>
18534
18535 * config/h8300/h8300.md (*andsi3_lshiftrt_9_sb): New.
18536 (*iorsi3_and_lshiftrt_9_sb): Likewise.
18537
62c9aa5f 185382003-01-14 Jan Hubicka <jh@suse.cz>
77f9af81
JH
18539
18540 * convert.c (strip_float_extensions): Look for narrowest type handling
18541 FP constants.
18542
18543 * fold-const.c (fold): Fold (double)float1 CMP (double)float2 into
18544 float1 CMP float2.
18545 * convert.c (strip_float_extensions): Make global.
18546 * tree.h (strip_float_extensions): Declare.
18547
fd371a93
GDR
185482003-01-14 Gabriel Dos Reis <gdr@integrable-solutions.net>
18549
18550 * timevar.def: define TV_NAME_LOOKUP.
18551 * timevar.c (timevar_pop): Be verbose when aborting.
18552
dcd1c2b8
AS
185532003-01-13 Andreas Schwab <schwab@suse.de>
18554
18555 * Makefile.in ($(parsedir)/gengtype-lex.c): Don't change to
18556 $(parsedir), just move the temporary file at the end.
18557 ($(parsedir)/gengtype-yacc.c): Likewise.
18558
eb4b5f93
AO
185592003-01-13 Alexandre Oliva <aoliva@redhat.com>
18560
18561 * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prepend
18562 ${ac_tool_prefix} to ADAC or CC. Protect them from word
18563 splitting.
18564 * configure: Rebuilt.
18565
f7835768
KG
185662003-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18567
18568 * config/sparc/gmon-sol2.c (moncontrol, monstartup, _mcleanup,
18569 internal_mcount): Don't use PARAMS.
18570 (monstartup, _mcleanup, internal_mcount, moncontrol): Convert to
18571 ISO C style.
18572 (internal_mcount): Use __attribute__, not ATTRIBUTE_UNUSED.
18573
38a3dbbb
AS
185742003-01-13 Andreas Schwab <schwab@suse.de>
18575
18576 * config/rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Output type
18577 directive.
18578
98dc53e3
KH
185792003-01-13 Kazu Hirata <kazu@cs.umass.edu>
18580
18581 * config/h8300/h8300.md (*andsi3_lshift_n_sb): New.
18582 (*iorsi3_and_lshiftrt_n_sb): Likewise.
18583
e8f2b18d
MM
185842003-01-12 Mark Mitchell <mark@codesourcery.com>
18585
18586 PR c++/9264
18587 * c-lex.c (c_lex): Set the token value to error_mark_node for
18588 invalid numeric constants.
18589
70f8b89f
KG
185902003-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18591
18592 * c-pch.c (asm_file_startpos): Change to `long'.
18593 (pch_init): Use ftell, not ftello.
18594 (c_common_write_pch): Use ftell/fseek, not ftello/fseeko.
18595 Use `long' instead of `off_t'.
18596 (c_common_read_pch): Likewise.
18597 * ggc-common.c (gt_pch_save): Use long/ftell instead of
18598 off_t/ftello.
18599
8e37cba8
AM
186002003-01-12 Alan Modra <amodra@bigpond.net.au>
18601
18602 * expr.c (expand_expr <RDIV_EXPR>): Correct recursive call args.
18603
04f08c8e
RE
186042003-01-11 Richard Earnshaw (rearnsha@arm.com)
18605
18606 * arm-protos.h (struct cpp_reader): Add declaration.
18607
62c9aa5f 186082003-01-11 Jan Hubicka <jh@suse.cz>
a5cf80f0
JH
18609
18610 PR target/9068
18611 * i386.c (output_fp_compare): Fix typo.
18612
bbfb86aa
DE
186132003-01-10 David Edelsohn <edelsohn@gnu.org>
18614
18615 * config/rs6000/rs6000.c (common_mode_defined): Mark for PCH.
18616
223b87b6
GK
186172003-01-10 Geoffrey Keating <geoffk@apple.com>
18618
3859c32a
GK
18619 * Makefile.in (parsedir): New variable.
18620 (docobjdir): New variable.
07488f32 18621 (c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
3859c32a
GK
18622 gengtype-lex.c, gengtype-yacc.c): Use parsedir.
18623 (info, cpp.info, gcc.info, gccint.info, gccinstall.info,
18624 cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
07488f32 18625 gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
3859c32a
GK
18626 Use docobjdir.
18627 * objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
18628 objc.maintainer-clean): Use parsedir.
18629
63af3bd1
GK
18630 * varasm.c (struct constant_descriptor_rtx): Remove unused
18631 `label' field.
18632
223b87b6
GK
18633 * toplev.c (documented_lang_options): Document -Winvalid-pch.
18634
fbadafbc
RH
186352003-01-10 Richard Henderson <rth@redhat.com>
18636
18637 * config/alpha/alpha.h (NO_PROFILE_COUNTERS): Set.
18638 (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Kill.
18639
ab5ecb01
RH
186402003-01-10 Richard Henderson <rth@redhat.com>
18641
18642 * combine.c (make_compound_operation): Use SCALAR_INT_MODE_P,
18643 not INTEGRAL_MODE_P when widening extensions.
18644
7f24e7c5
RH
186452003-01-10 Richard Henderson <rth@redhat.com>
18646
18647 * config/alpha/alpha.c (decl_has_samegp): True for !TREE_PUBLIC.
18648
6dd05d08
GK
186492003-01-10 Geoffrey Keating <geoffk@apple.com>
18650
19cc0dd4
GK
18651 * ggc-page.c (ggc_collect): Avoid overflow computing
18652 min_expand.
18653
6dd05d08
GK
18654 * Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
18655 (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes.
18656 Remove calls.
18657 * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET.
18658
62c9aa5f 186592003-01-10 Jan Hubicka <jh@suse.cz>
5f1355ef
JH
18660
18661 * ifcvt.c (noce_try_addcc): Do not call emit_conditional_add
18662 with weird operands.
18663
0cdca92b 186642003-01-10 Dale Johannesen <dalej@apple.com>
6dd05d08
GK
18665
18666 * calls.c (load_register_parameters): Add is_sibcall, sibcall_failure
18667 parameters. Call check_sibcall_argument_overlap if indicated.
18668 (check_sibcall_argument_overlap): Add mark_stored_args_map
18669 parameter. Don't mark parameter area as clobbered if not set.
18670 (expand_call): Adjust calls to above.
18671
186722003-01-10 Kelley Cook <kelleycook@comcast.net>
6cd656d0
KC
18673
18674 * configure.in (linker read-only and read-write section mixing):
18675 Squelch some assembler warnings.
18676 * configure: Likewise.
18677
be2c2a4b
HP
186782003-01-10 Hartmut Penner <hpenner@de.ibm.com>
18679
21ff35fb 18680 * doc/invoke.texi: Document -mtune, delete -mcpu
be2c2a4b
HP
18681 option for S/390 and zSeries.
18682 * config/s390/s390.c (s390_tune_string) New variable.
18683 (s390_cpu_string) Delete variable.
18684 (override_options): Use s390_tune_string instead of
18685 s390_cpu_string.
18686 * config/s390/s390.h: (TARGET_OPTIONS) '-mtune' instead of '-mcpu'.
18687
1f450138
KH
186882003-01-10 Kazu Hirata <kazu@cs.umass.edu>
18689
18690 * config/h8300/h8300.md (*iorsi3_ashift_31): New.
18691
d330ce15
JZ
186922003-01-10 Josef Zlomek <zlomekj@suse.cz>
18693
18694 * jump.c (next_nonnote_insn_in_loop): New function.
18695 (copy_loop_headers): Use next_nonnote_insn_in_loop instead of
18696 next_nonnote_insn.
18697 (duplicate_loop_exit_test). Likewise.
18698
17211ab5
GK
186992003-01-09 Geoffrey Keating <geoffk@apple.com>
18700
18701 Merge from pch-branch:
18702
18703 2003-01-06 Geoffrey Keating <geoffk@apple.com>
18704
18705 * ggc-page.c (ggc_pch_read): Update the statistics after a PCH
18706 load.
18707
18708 2002-12-24 Geoffrey Keating <geoffk@apple.com>
18709
18710 * cpplib.c (count_registered_pragmas): New function.
18711 (save_registered_pragmas): New function.
18712 (_cpp_save_pragma_names): New function.
18713 (restore_registered_pragmas): New function.
18714 (_cpp_restore_pragma_names): New function.
18715 * cpphash.h (_cpp_save_pragma_names): Prototype.
18716 (_cpp_restore_pragma_names): Likewise.
18717 * cpppch.c (struct save_macro_item): Split from save_macro_data.
18718 (struct save_macro_data): New field 'saved_pragmas'.
18719 (save_macros): Update for changes to struct save_macro_data.
18720 (cpp_prepare_state): Call _cpp_save_pragma_names, update
18721 for changes to struct save_macro_data.
18722 (cpp_read_state): Call _cpp_restore_pragma_names, update
18723 for changes to struct save_macro_data.
18724
18725 * cpppch.c (cpp_read_state): Restore the hashtable references
18726 in the cpp_reader.
07488f32 18727
17211ab5
GK
18728 * tree.h (built_in_decls): Mark for PCH.
18729
18730 * dbxout.c (lastfile): Don't mark for PCH.
18731
18732 * ggc.h: Document PCH calls into memory managers.
18733
18734 2002-12-18 Geoffrey Keating <geoffk@apple.com>
18735
18736 * doc/invoke.texi (Precompiled Headers): Document the
18737 directory form of PCH.
18738 * cppfiles.c (validate_pch): New function.
18739 (open_file_pch): Search suitably-named directories for PCH files.
18740
18741 2002-12-14 Geoffrey Keating <geoffk@apple.com>
18742
18743 * doc/gty.texi (GTY Options): Document chain_next, chain_prev,
18744 reorder options.
18745 (Type Information): Mention that the information is also
18746 used to implement PCH.
18747 * doc/passes.texi (Passes): Improve documentation of
18748 language-specific files.
18749
18750 2002-12-11 Geoffrey Keating <geoffk@apple.com>
18751
18752 * gengtype.c (struct write_types_data): Add reorder_note_routine field.
18753 (struct walk_type_data): Add reorder_fn field.
18754 (walk_type): Process 'reorder' option.
18755 (write_types_process_field): Reorder parameters to gt_pch_note_object,
18756 call reorder_note_routine.
18757 (write_func_for_structure): Reorder parameters to gt_pch_note_object.
18758 (ggc_wtd): Update for change to struct write_types_data.
18759 (pch_wtd): Likewise.
18760 * ggc.h (gt_pch_note_object): Reorder parameters.
18761 (gt_handle_reorder): New definition.
18762 (gt_pch_note_reorder): New prototype.
18763 * ggc-common.c (struct ptr_data): Add reorder_fn.
18764 (gt_pch_note_object): Reorder parameters.
18765 (gt_pch_note_reorder): New.
18766 (gt_pch_save): Call reorder_fn.
18767 * stringpool.c (gt_pch_n_S): Update for change to gt_pch_note_object.
18768
18769 * dbxout.c (cwd): Don't mark for PCH.
18770
18771 2002-12-09 Geoffrey Keating <geoffk@apple.com>
18772
18773 * gengtype.c (finish_root_table): Fix some warnings.
18774 (write_root): Handle TYPE_STRING.
18775 * ggc.h (gt_ggc_m_S): Add prototype.
18776 * stringpool.c (gt_ggc_m_S): New function.
18777
18778 2002-11-30 Geoffrey Keating <geoffk@apple.com>
18779
18780 * dwarf2out.c (dw2_string_counter): New.
18781 (AT_string_form): Use it.
18782 (same_dw_val_p): Update for removal of hashtable.h hash tables.
18783
18784 2002-11-22 Geoffrey Keating <geoffk@apple.com>
18785
18786 * dbxout.c: Include gt-dbxout.h.
18787 (lastfile): Mark for PCH/GGC.
18788 (cwd): Likewise.
18789 (struct typeinfo): Likewise.
18790 (typevec): Likewise.
18791 (typevec_len): Likewise.
18792 (next_type_number): Likewise.
18793 (struct dbx_file): Likewise.
18794 (current_file): Likewise.
18795 (next_file_number): Likewise.
18796 (dbxout_init): Allocate typevec, struct dbx_file with GGC.
18797 (dbxout_start_source_file): Allocate struct dbx_file with GGC.
18798 (dbxout_end_source_file): Don't free struct dbx_file.
18799 (dbxout_type): Use GGC to allocate typevec.
18800 * Makefile.in (dbxout.o): Depend on gt-dbxout.h, $(GGC_H).
18801 (GTFILES): Add dbxout.c.
18802 (gt-dbxout.h): New rule.
07488f32 18803
17211ab5
GK
18804 * Makefile.in (c-pch.o): Add debug.h as dependency.
18805 * c-pch.c: Include debug.h.
18806 (pch_init): Call start_source_file to keep nesting right.
18807 (c_common_read_pch): Add orig_name parameter. Call
18808 start_source_file debug hook. Call end_source_file debug hook.
18809 * c-common.h (c_common_read_pch): Update prototype.
18810 * cpplib.h (struct cpp_callbacks): Add fourth field to read_pch
18811 callback.
18812 * cppfiles.c (struct include_file): Add new field `header_name'.
18813 (find_or_create_entry): Default it to `name'.
18814 (open_file_pch): Set it to the original header file searched for.
18815 (stack_include_file): Don't stack an empty buffer, just handle
18816 PCH files immediately. Pass header_name field to read_pch callback.
18817
18818 2002-11-19 Geoffrey Keating <geoffk@apple.com>
18819
18820 * function.c (funcdef_no): Mark to be saved in a PCH.
18821
18822 2002-11-15 Geoffrey Keating <geoffk@apple.com>
18823
18824 * ggc-page.c (ggc_pch_read): Remove unused 'bmap_size'.
18825
18826 * cpppch.c (cpp_read_state): Correct size reallocated for 'defn'.
18827
18828 2002-11-14 Geoffrey Keating <geoffk@apple.com>
18829
18830 * optabs.h (code_to_optab): Add GTY marker.
18831
18832 2002-11-13 Geoffrey Keating <geoffk@apple.com>
18833
18834 * Makefile.in (GTFILES): Add cpplib.h.
18835 * c-common.h (struct c_common_identifier): Don't skip 'node' field.
18836 * c-decl.c (build_compound_literal): Don't use var_labelno.
18837 * cpplib.h (struct cpp_hashnode): Use gengtype to mark.
18838 * dwarf2asm.c (dw2_force_const_mem): Don't use const_labelno.
18839 * varasm.c (const_labelno): Use gengtype to mark.
18840 (var_labelno): Likewise.
18841 (in_section): Likewise.
18842 (in_named_name): Likewise.
18843 (struct in_named_entry): Likewise.
18844 (in_named_htab): Likewise.
18845 (set_named_section_flags): Use GGC to allocate struct in_named_entry.
18846 (init_varasm_once): Use GGC to allocate in_named_htab.
18847 * config/darwin.c (current_pic_label_num): Mark for PCH.
18848
18849 2002-11-11 Geoffrey Keating <geoffk@apple.com>
18850
18851 * ggc-simple.c (init_ggc_pch): New stub procedure.
18852 (ggc_pch_count_object): Likewise.
18853 (ggc_pch_total_size): Likewise.
18854 (ggc_pch_this_base): Likewise.
18855 (ggc_pch_alloc_object): Likewise.
18856 (ggc_pch_prepare_write): Likewise.
18857 (ggc_pch_write_object): Likewise
18858 (ggc_pch_finish): Likewise.
18859 (ggc_pch_read): Likewise.
18860
18861 2002-11-08 Geoffrey Keating <geoffk@apple.com>
18862
18863 * c-pch.c (c_common_write_pch): Write the macro definitions after
18864 the GCed data.
18865 (c_common_read_pch): Call cpp_prepare_state. Restore the macro
18866 definitions after the GCed data.
18867 * cpplib.c (save_macros): New.
18868 (reset_ht): New.
18869 (cpp_write_pch_deps): Split out of cpp_write_pch.
18870 (cpp_write_pch_state): Split out of cpp_write_pch.
18871 (cpp_write_pch): Delete.
18872 (struct save_macro_data): Delete.
18873 (cpp_prepare_state): New.
18874 (cpp_read_state): Erase and restore initial macro definitions.
18875 * cpplib.h (struct save_macro_data): Forward-declare.
18876 (cpp_write_pch_deps): Prototype.
18877 (cpp_write_pch_state): Prototype.
18878 (cpp_write_pch): Delete prototype.
18879 (cpp_prepare_state): Prototype.
18880 (cpp_read_state): Add fourth argument.
18881
18882 2002-11-04 Geoffrey Keating <geoffk@apple.com>
18883
18884 * gengtype.c (adjust_field_rtx_def): Don't use skip on valid fields.
18885 (write_array): Remove warning.
18886
18887 * gengtype.c (contains_scalar_p): New.
18888 (finish_root_table): Add the table to all languages, even if it's
18889 empty.
18890 (write_roots): Output gt_pch_scalar_rtab.
18891 * ggc-common.c (gt_pch_save): Write out scalars.
18892 (gt_pch_restore): Read scalars back.
18893
18894 * ggc-page.c (OBJECTS_IN_PAGE): New macro.
18895 (struct page_entry): Delete pch_page field.
18896 (ggc_recalculate_in_use_p): Use OBJECTS_IN_PAGE.
18897 (clear_marks): Likewise.
18898 (sweep_pages): Likewise.
18899 (poison_pages): Likewise.
18900 (ggc_print_statistics): Likewise.
18901 (ggc_pch_read): Don't free objects read from a PCH.
18902 Properly set up in_use_p and page_tails.
18903
18904 2002-10-25 Geoffrey Keating <geoffk@apple.com>
18905
18906 * gengtype.c (struct write_types_data): New.
18907 (struct walk_type_data): Make `cookie' const; add extra
18908 prev_val item; add `orig_s' field.
18909 (walk_type): Update prev_val[3].
18910 (write_types_process_field): New.
18911 (write_func_for_structure): Take write_types_data structure.
18912 (write_types): New.
18913 (ggc_wtd): New.
18914 (pch_wtd): New.
18915 (write_types_local_process_field): New.
18916 (gc_mark_process_field): Delete.
18917 (write_local_func_for_structure): New.
18918 (gc_mark_func_name): Delete.
18919 (write_gc_types): Delete.
18920 (write_local): New.
18921 (finish_root_table): Don't include 'ggc_' in PFX.
18922 (write_root): Rename from write_root. Fill pchw field of structures.
18923 (write_array): New.
18924 (write_roots): Rename from write_gc_roots. Split out to write_array.
18925 Update to changes to other routines. Write gt_pch_cache_rtab table.
18926 (main): Write PCH walking routines.
18927 * ggc-common.c: Include toplev.h, sys/mman.h.
18928 (ggc_mark_roots): For cache hashtables, also mark the hash table
18929 and the array of entries.
18930 (saving_htab): New.
18931 (struct ptr_data): New.
18932 (POINTER_HASH): New.
18933 (gt_pch_note_object): New.
18934 (saving_htab_hash): New.
18935 (saving_htab_eq): New.
18936 (struct traversal_state): New.
18937 (call_count): New.
18938 (call_alloc): New.
18939 (compare_ptr_data): New.
18940 (relocate_ptrs): New.
18941 (write_pch_globals): New.
18942 (struct mmap_info): New.
18943 (gt_pch_save): New.
18944 (gt_pch_restore): New.
18945 * ggc-page.c (ROUND_UP_VALUE): New.
18946 (ROUND_UP): New.
18947 (struct page_entry): Add field `pch_page'.
18948 (init_ggc): Use ROUND_UP.
18949 (struct ggc_pch_data): Declare.
18950 (init_ggc_pch): New.
18951 (ggc_pch_count_object): New.
18952 (ggc_pch_total_size): New.
18953 (ggc_pch_this_base): New.
18954 (ggc_pch_alloc_object): New.
18955 (ggc_pch_prepare_write): New.
18956 (ggc_pch_write_object): New.
18957 (ggc_pch_finish): New.
18958 (ggc_pch_read): New.
18959 * ggc.h (gt_pointer_operator): New.
18960 (gt_note_pointers): New.
18961 (gt_pch_note_object): New prototype.
18962 (gt_pointer_walker): New.
18963 (struct ggc_root_tab): Use gt_pointer_walker, add `pchw' field.
18964 (LAST_GGC_ROOT_TAB): Update.
18965 (gt_pch_cache_rtab): Declare.
18966 (gt_pch_scalar_rtab): Declare.
18967 (struct ggc_cache_tab): Use gt_pointer_walker, add `pchw' field.
18968 (LAST_GGC_CACHE_TAB): Update.
18969 (gt_pch_save_stringpool): Declare.
18970 (gt_pch_restore_stringpool): Declare.
18971 (gt_pch_p_S): Declare.
18972 (gt_pch_n_S): Declare.
18973 (struct ggc_pch_data): Forward-declare.
18974 (init_ggc_pch): Declare.
18975 (ggc_pch_count_object): Declare.
18976 (ggc_pch_total_size): Declare.
18977 (ggc_pch_this_base): Declare.
18978 (ggc_pch_alloc_object): Declare.
18979 (ggc_pch_prepare_write): Declare.
18980 (ggc_pch_write_object): Declare.
18981 (ggc_pch_finish): Declare.
18982 (ggc_pch_read): Declare.
18983 (gt_pch_save): Declare.
18984 (gt_pch_restore): Declare.
18985 * fold-const.c (size_int_type_wide): Allocate size_htab using GGC.
18986 * emit-rtl.c (init_emit_once): Allocate const_int_htab,
18987 const_double_htab, mem_attrs_htab using GGC.
18988 * c-pch.c: Include ggc.h.
18989 (pch_init): Allow reading PCH file back.
18990 (c_common_write_pch): Call gt_pch_save.
18991 (c_common_read_pch): Call gt_pch_restore.
18992 * c-parse.in (init_reswords): Delete now-untrue comment.
18993 Allocate ridpointers using GGC.
18994 * c-objc-common.c (c_objc_common_finish_file): Write PCH before
18995 calling expand_deferred_fns.
18996 * c-common.h (ridpointers): Mark for GTY machinery.
18997 * Makefile.in (stringpool.o): Update dependencies.
18998 (c-pch.o): Update dependencies.
18999 (ggc-common.o): Update dependencies.
19000 * stringpool.c: Include gt-stringpool.h.
19001 (gt_pch_p_S): New.
19002 (gt_pch_n_S): New.
19003 (struct string_pool_data): New.
19004 (spd): New.
19005 (gt_pch_save_stringpool): New.
19006 (gt_pch_restore_stringpool): New.
19007 * tree.c (init_ttree): Make type_hash_table allocated using GC.
07488f32 19008
17211ab5
GK
19009 2002-10-04 Geoffrey Keating <geoffk@apple.com>
19010
19011 * gengtype.c (adjust_field_rtx_def): Don't pass size_t to printf.
19012 (output_mangled_typename): Don't pass size_t to printf.
19013
19014 * tree.h (union tree_type_symtab): Add tag to `address' field.
19015 (union tree_decl_u2): Add tag to 'i' field.
19016 * varasm.c (union rtx_const_un): Add tags to all fields.
19017 * gengtype.c (struct walk_type_data): New.
19018 (output_escaped_param): Take struct walk_type_data parameter.
19019 (write_gc_structure_fields): Delete.
19020 (walk_type): New.
19021 (write_gc_marker_routine_for_structure): Delete.
19022 (write_func_for_structure): New.
19023 (gc_mark_process_field): New.
19024 (gc_mark_func_name): New.
19025 (gc_counter): Delete.
19026 (write_gc_types): Use write_func_for_structure.
19027 (write_gc_roots): Use walk_type.
19028
19029 2002-10-02 Geoffrey Keating <geoffk@apple.com>
19030
19031 * ggc-common.c (ggc_mark_roots): Delete 'x'.
19032 (ggc_splay_dont_free): Fix warning about unused 'x'.
19033 (ggc_print_common_statistics): Remove warnings.
19034
19035 2002-10-01 Mike Stump <mrs@apple.com>
19036
07488f32
ZW
19037 * ggc-common.c (ggc_splay_alloc): Actually return the allocated area.
19038 * gengtype.c (write_gc_structure_fields): Handle param[digit]_is.
17211ab5
GK
19039
19040 2002-09-01 Geoffrey Keating <geoffk@redhat.com>
19041 Catherine Moore <clm@redhat.com>
19042
19043 * Makefile (c-pch.o): Update dependencies.
19044 (LIBCPP_OBJS): Add cpppch.o.
19045 (cpppch.o): New.
19046 * c-common.c (c_common_init): Don't call pch_init here.
19047 * c-common.h (c_common_read_pch): Update prototype.
19048 * c-lex.c (c_common_parse_file): Call pch_init here.
19049 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Winvalid-pch, -fpch-deps.
19050 (c_common_decode_option): Handle them.
19051 * c-pch.c: Include c-pragma.h.
19052 (save_asm_offset): Delete.
19053 (pch_init): Move contents of save_asm_offset into here, call
19054 cpp_save_state.
19055 (c_common_write_pch): Call cpp_write_pch.
19056 (c_common_valid_pch): Warn only when -Winvalid-pch. Call
19057 cpp_valid_state.
19058 (c_common_read_pch): Add NAME parameter. Call cpp_read_state.
07488f32 19059 * cppfiles.c (stack_include_file): Update for change to
17211ab5
GK
19060 parameters of cb.read_pch.
19061 * cpphash.h (struct cpp_reader): Add `savedstate' field.
19062 * cpplib.h (struct cpp_options): Add `warn_invalid_pch' and
19063 `restore_pch_deps' fields.
19064 (struct cpp_callbacks): Add NAME parameter to `read_pch'.
19065 (cpp_save_state): Prototype.
19066 (cpp_write_pch): Prototype.
19067 (cpp_valid_state): Prototype.
19068 (cpp_read_state): Prototype.
19069 * cpppch.c: New file.
19070 * flags.h (version_flag): Remove prototype.
19071 * mkdeps.c (deps_save): New.
19072 (deps_restore): New.
19073 * mkdeps.h (deps_save): Prototype.
19074 (deps_restore): Prototype.
19075 * toplev.c (late_init_hook): Delete.
19076 (version_flag): Make static again.
19077 (compile_file): Don't call late_init_hook.
19078 * toplev.h (late_init_hook): Delete.
19079 * doc/cppopts.texi: Document -fpch-deps.
19080 * doc/invoke.texi (Warning Options): Document -Winvalid-pch.
19081
19082 2002-08-27 Geoffrey Keating <geoffk@redhat.com>
19083
19084 * c-pch.c (c_common_write_pch): Rename from c_write_pch, change
19085 callers.
19086 (c_common_valid_pch): Rename from c_valid_pch, change callers.
19087 (c_common_read_pch): Rename from c_read_pch, change callers.
19088
19089 * c-opts.c (COMMAND_LINE_OPTIONS): Allow -output-pch= to have
19090 a space between it and its argument.
19091
19092 2002-08-24 Geoffrey Keating <geoffk@redhat.com>
19093
19094 * c-pch.c: New file.
19095 * toplev.h (late_init_hook): Declare.
19096 * toplev.c (late_init_hook): Define.
19097 (version_flag): Make globally visible.
19098 (compile_file): Call late_init_hook.
19099 (init_asm_output): Make output file seekable.
19100 * gcc.c (default_compilers): Update c-header rule.
19101 * flags.h (version_flag): Declare.
19102 * cpplib.h (struct cpp_callbacks): Add 'valid_pch' and 'read_pch'
19103 fields.
19104 * cppfiles.c (struct include_file): Add 'pch' field.
19105 (INCLUDE_PCH_P): New.
19106 (open_file_pch): New.
19107 (stack_include_file): Handle PCH files specially.
19108 (find_include_file): Call open_file_pch instead of open_file.
19109 (_cpp_read_file): Explain why open_file is used instead of
19110 open_file_pch.
19111 * c-opts.c (c_common_decode_option): Correct OPT__output_pch case.
19112 * c-objc-common.c (c_objc_common_finish_file): Call c_write_pch.
19113 * c-lex.c (init_c_lex): Set valid_pch and read_pch fields
19114 in cpplib callbacks.
19115 * c-common.c (pch_file): Correct comment.
19116 (allow_pch): Define.
19117 (c_common_init): Call pch_init.
19118 * c-common.h (allow_pch): Declare.
19119 (pch_init): Declare.
19120 (c_valid_pch): Declare.
19121 (c_read_pch): Declare.
19122 (c_write_pch): Declare.
19123 * Makefile.in (c-pch.o): New.
19124 (C_AND_OBJC_OBJS): Add c-pch.o.
19125 * doc/invoke.texi (Precompiled Headers): Add index entries,
19126 complete truncated paragraph.
19127
19128 2002-08-17 Geoffrey Keating <geoffk@redhat.com>
19129
19130 * c-common.c: (pch_file): Define.
19131 * c-common.h (pch_file): Declare.
19132 * c-opts.c (COMMAND_LINE_OPTIONS): Add --output-pch=.
19133 (missing_arg): Require --output-pch= to have an argument.
19134 (c_common_decode_option): Handle --output-pch=.
19135 * gcc.c: Document new %V.
19136 (default_compilers): Handle compiling C header files.
19137 (do_spec_1): Implement %V.
19138 (main): Handle "gcc foo.h" without trying to run linker.
19139 * doc/invoke.texi (Invoking GCC): Add new menu item for PCH.
19140 (Overall Options): Document what the driver does with header files,
19141 document new -x option possibilities.
19142 (Invoking G++): More documentation for PCH.
19143 (Precompiled Headers): New.
19144
19145 2002-08-09 Geoffrey Keating <geoffk@redhat.com>
19146
19147 * ggc.h: Don't include varray.h. Rearrange functions to be more
19148 organized.
19149 (ggc_add_root): Delete.
19150 (ggc_mark_rtx): Delete.
19151 (ggc_mark_tree): Delete.
19152 (struct ggc_statistics): Remove contents.
19153 * ggc-common.c: Remove unneeded includes.
19154 (struct ggc_root): Delete.
19155 (roots): Delete.
19156 (ggc_add_root): Delete.
19157 (ggc_mark_roots): Don't mark `roots'. Call ggc_mark_stringpool.
19158 (ggc_print_common_statistics): Remove most of the contents.
19159 * Makefile.in (GGC_H): No longer uses varray.h.
19160 (ggc-common.o): Update dependencies.
19161 (c-parse.o): Add varray.h to dependencies.
19162 (c-common.o): Add varray.h.
19163 * stringpool.c (mark_ident): Use mangled name for tree marker routine.
19164 (mark_ident_hash): Rename to ggc_mark_stringpool.
19165 (init_stringpool): Don't use ggc_add_root.
19166 * c-parse.in: Include varray.h.
19167 * c-common.c: Include varray.h.
19168 * objc/Make-lang.in (objc-act.o): Add varray.h.
19169 * objc/objc-act.c: Include varray.h.
19170
19171 2002-07-25 Geoffrey Keating <geoffk@redhat.com>
19172
19173 * dwarf2out.c (dw_cfi_oprnd2_desc): Fix ISO-only function definition.
19174 (dw_cfi_oprnd1_desc): Likewise.
19175
19176 2002-07-17 Geoffrey Keating <geoffk@redhat.com>
19177
19178 * config/alpha/alpha.c (struct alpha_links): Use gengtype to mark;
19179 move out of ifdef.
19180 (alpha_links): Use gengtype to mark; move out of ifdef.
19181 (mark_alpha_links_node): Delete.
19182 (mark_alpha_links): Delete.
19183 (alpha_need_linkage): Use GGC to allocate splay tree, struct
19184 alpha_links, strings. Don't use ggc_add_root.
19185 * ggc-common.c (ggc_splay_alloc): New.
19186 (ggc_splay_dont_free): New.
19187 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
19188 (ggc_mark_tree): Likewise.
19189 (splay_tree_new_ggc): New.
19190 (ggc_splay_alloc): Declare.
19191 (ggc_splay_dont_free): Declare.
19192 * dwarf2asm.c: Include gt-dwarf2asm.h.
19193 (mark_indirect_pool_entry): Delete.
19194 (mark_indirect_pool): Delete.
19195 (indirect_pool): Use gengtype to mark.
19196 (dw2_force_const_mem): Don't use ggc_add_root.
19197 * Makefile.in (dwarf2asm.o): Depend on gt-dwarf2asm.h.
19198 (GTFILES): Add SPLAY_TREE_H, dwarf2asm.c.
19199 (gt-dwarf2asm.h): Depend on s-gtype.
19200
19201 2002-07-08 Geoffrey Keating <geoffk@redhat.com>
19202
19203 * tree.h (union tree_type_symtab): Mark `die' field.
19204 * Makefile.in (dwarf2out.o): Update dependencies.
19205 * dwarf2out.c: Use GGC to allocate all structures. Convert to htab_t
19206 hash tables.
19207 (dw_cfi_oprnd1_desc): New function.
19208 (dw_cfi_oprnd2_desc): New function.
19209 (indirect_string_alloc): Delete.
19210 (debug_str_do_hash): New function.
19211 (debug_str_eq): New function.
19212 (mark_limbo_die_list): Delete.
19213 (dwarf2out_init): Don't call ggc_add_root.
19214
30028c85
VM
192152003-01-09 Vladimir Makarov <vmakarov@redhat.com>
19216
19217 The following changes are merged from itanium-sched-branch:
19218
19219 2003-01-08 David Edelsohn <edelsohn@gnu.org>
19220
19221 * doc/md.texi: Clarify assignment of units to automata description.
19222
19223 2003-01-08 Vladimir Makarov <vmakarov@redhat.com>
19224
19225 * genautomata.c (unit_decl): Remove members
19226 `the_same_automaton_unit' and
19227 `the_same_automaton_message_reported_p'.
19228 (process_unit_to_form_the_same_automaton_unit_lists,
19229 form_the_same_automaton_unit_lists_from_regexp,
19230 form_the_same_automaton_unit_lists, the_same_automaton_lists):
19231 Remove them.
19232 (annotation_message_reported_p): New global variable.
19233 (check_unit_distribution_in_reserv,
19234 check_regexp_units_distribution): New functions.
19235 (check_unit_distributions_to_automata): Rewrite it.
19236
19237 2003-01-04 Vladimir Makarov <vmakarov@redhat.com>
19238
19239 * genautomata.c (form_the_same_automaton_unit_lists_from_regexp):
19240 Use continue instead of break if cycle is too big.
19241
19242 2002-12-20 Vladimir Makarov <vmakarov@redhat.com>
19243
19244 * genautomata.c (check_unit_distributions_to_automata): Output at
19245 most one message for a unit.
19246 (process_unit_to_form_the_same_automaton_unit_lists): Check
19247 automaton of units instead of units themself.
19248
19249 * doc/md.texi: Describe the constraint about assigning unit to
19250 automata.
19251
19252 2002-12-20 Jan Hubicka <jH@suse.cz>
19253 Vladimir Makarov <vmakarov@redhat.com>
19254
19255 * genautomata.c (unit_decl): Add new members `min_occ_cycle_num'
19256 and `in_set_p'.
19257 (gen_cpu_unit): Initialize the new members.
19258 (process_regexp_cycles): Calculate minimal finish cycle too. Set
19259 up `min_occ_cycle_num'.
19260 (evaluate_max_reserv_cycles): Change the function call.
19261 (CLEAR_BIT): New macro.
19262 (states_union, state_shift): Use the mask.
19263 (initiate_excl_sets, form_reserv_sets_list): Set up `in_set_p'.
19264 (form_reservs_matter): New function.
19265 (make_automaton): Call the function and use the mask.
19266 (estimate_one_automaton_bound): Take `min_occ_cycle_num' into
19267 account.
07488f32 19268
30028c85
VM
19269 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
19270
19271 * config/ia64/itanium2.md (lfetch): Change the insn reservation.
19272
19273 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
19274
19275 * config/ia64/ia64.c (bundling): Try to insert 2 nops for M insn
19276 for Itanium.
19277
19278 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
19279
19280 * config/ia64/ia64.c (ia64_override_options): Make itanium2 as
19281 default cpu.
19282
19283 2002-12-17 Vladimir Makarov <vmakarov@redhat.com>
19284 2002-10-31 Dale Johannesen <dalej@apple.com>
19285
19286 * haifa-sched.c (find_set_reg_weight): New function.
19287 (find_insn_reg_weight): Use the new function.
19288 (schedule_block): Do sorting ready queue always
19289 after insn issue.
19290
19291 2002-11-27 Vladimir Makarov <vmakarov@redhat.com>
19292
19293 * config/ia64/ia64.c (bundling): Use MFI template instead of MLX.
19294
19295 2002-11-19 Vladimir Makarov <vmakarov@redhat.com>
19296
19297 * haifa-sched.c (choice_entry): New structure.
19298 (choice_stack, cycle_issued_insns): New variables.
19299 (max_issue): Rewrite it.
19300 (choose_ready): Set up ready_try for unknown insns too.
19301 (schedule_block): Allocate and free choice_stack. Set up
19302 and modify cycle_issued_insns.
19303
19304 * config/ia64/ia64.c (issue_nops_and_insn): Combine insn issue
19305 with and without filling the bundle.
19306 (bundling): Combine calls of issue_nops_and_insn.
07488f32 19307
30028c85
VM
19308 2002-10-17 Vladimir Makarov <vmakarov@redhat.com>
19309
19310 * config/ia64/itanium1.md: New file.
19311
19312 * config/ia64/itanium2.md: New file.
19313
19314 * config/ia64/ia64.md: Move DFA descriptions into the new files.
19315 Remove the old pipeline description.
07488f32 19316
30028c85
VM
19317 * config/ia64/ia64.c (ia64_override_options): Add aliases of
19318 itanium processor names.
07488f32 19319
30028c85
VM
19320 2002-10-16 Vladimir Makarov <vmakarov@redhat.com>
19321
19322 * config/ia64/ia64.c (bundling): Print states for Itanium2 too.
19323 (ia64_reorg): Set up queried unit codes for Itanium2 too.
19324
19325 * config/ia64/ia64.md: Add descriptions for Itanium2.
19326
19327 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
19328
19329 * config/ia64/ia64.h (processor_type): New enumeration.
19330 (ia64_tune, ia64_tune_string): New external declarations.
19331 (TARGET_OPTIONS): Add option `tune='.
19332
19333 * config/ia64/ia64.c (ia64_tune, ia64_tune_string): New global
19334 variables.
19335 (ia64_override_options): Set up `ia64_tune'.
19336 (ia64_sched_reorder2): Set up `clocks' only for Itanium.
19337 (ia64_dfa_new_cycle): Set up `add_cycles' only for Itanium.
19338 (bundling): Add nops for MM-insns only for Itanium.
19339 (ia64_reorg): Allocate and free `clocks' and `add_cycles' only for
19340 Itanium.
19341
19342 * config/ia64/ia64.md (cpu): New attribute.
19343 (DFA description): Enable it only for Itanium.
07488f32 19344
30028c85
VM
19345 2002-10-08 Vladimir Makarov <vmakarov@redhat.com>
19346 Richard Henderson <rth@redhat.com>
19347
19348 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS): Rename it to
19349 MASK_EARLY_STOP_BITS.
19350 (TARGET_TUNE_STOP_BITS): Rename it to TARGET_EARLY_STOP_BITS.
19351 (TARGET_SWITCHES): Rename option `tune-stop-bits' to
19352 `early-stop-bits'.
07488f32 19353
30028c85
VM
19354 * config/ia64/ia64.c (ia64_dfa_new_cycle,
19355 final_emit_insn_group_barriers): Use TARGET_EARLY_STOP_BITS
19356 instead of TARGET_TUNE_STOP_BITS.
07488f32 19357
30028c85
VM
19358 * doc/invoke.texi: Rename option `-mtune-stop-bits' to
19359 `-mearly-stop-bits'.
19360
19361 * config/ia64/ia64.c (automata_option "v"): Comment it.
07488f32 19362
30028c85
VM
19363 2002-10-07 Vladimir Makarov <vmakarov@redhat.com>
19364
07488f32 19365 * config/ia64/ia64.h (MASK_TUNE_STOP_BITS, TARGET_TUNE_STOP_BITS):
30028c85
VM
19366 New macros.
19367 (TARGET_SWITCHES): Add entries for the new option.
07488f32 19368
30028c85
VM
19369 * config/ia64/ia64.c (dfa_stop_insn, last_scheduled_insn, rtx
19370 dfa_pre_cycle_insn, ia64_nop): Don't make them as roots for GC.
19371 (stops_p, stop_before_p, clocks_length, clocks, add_cycles): New
19372 global variables.
19373 (ia64_sched_reorder2): Set up `clocks'.
19374 (ia64_variable_issue): Set up `stops_p' and reset `stop_before_p'.
19375 (ia64_dfa_new_cycle): Set up add_cycle. Permit sorting ready
19376 queue when TARGET_TUNE_STOP_BITS.
19377 (bundling): Insert additional nops for MM-insns.
19378 (final_emit_insn_group_barriers): Add insertion of stop bits
19379 according `stops_p'.
19380 (ia64_reorg): Initiate the new varibales.
19381
19382 * doc/invoke.texi: Add description of option `-mtune-stop-bits'.
07488f32 19383
30028c85
VM
19384 2002-10-02 Vladimir Makarov <vmakarov@redhat.com>
19385
19386 * haifa-sched.c (schedule_block): Modify INSN_TICK of depended
19387 insns at the end of block insn scheduling.
19388
19389 2002-09-30 Vladimir Makarov <vmakarov@redhat.com>
19390
19391 * sched-deps.c (remove_dependence, group_leader): Remove it.
19392 (add_dependence): Add dependence to group leader to.
19393 (set_sched_group_p): Add dependence to the first insn of the
19394 schedule group too.
19395 (sched_analyze_insn): Make dependence to jump as anti-dependence.
19396 Change true dependence by anti-dependence when
19397 `reg_pending_barrier'.
19398
19399 * sched-rgn.c (init_ready_list, can_schedule_ready_p,
19400 add_branch_dependences): Ignore schedule groups.
19401
19402 * sched-ebb.c (init_ready_list): Ditto.
19403
19404 * (move_insn, set_priorities): Ditto.
19405
19406 * config/ia64/ia64.c (ia64_sched_init): Check that schedule group
19407 flag is clear after reload.
19408 (adjust_cost): Change cost only for output dependencies.
07488f32 19409
30028c85 19410 * config/ia64/ia64.md: Add more insns into bypass for MM-insns.
07488f32 19411
30028c85
VM
19412 2002-09-26 Vladimir Makarov <vmakarov@redhat.com>
19413
19414 * Makefile.in (sched-ebb.o): Add `$(TARGET_H)' to the entry.
19415
19416 * target.h (gcc_target): Add member
19417 `dependencies_evaluation_hook'.
19418
19419 * target-def.h (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK): New
19420 macro.
19421 (TARGET_SCHED): Add initiatialization of the new member.
19422
19423 * sched-ebb.c: Include `target.h'.
19424 (schedule_ebb): Call `dependencies_evaluation_hook'.
19425
19426 * sched-rgn.c (schedule_region): Call
19427 `dependencies_evaluation_hook'.
19428
19429 * config/ia64/ia64.c (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
19430 New macro.
19431 (ia64_dependencies_evaluation_hook): New function.
19432
19433 * doc/tm.texi (TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK):
19434 Describe the new hook.
07488f32 19435
30028c85
VM
19436 2002-09-25 Vladimir Makarov <vmakarov@redhat.com>
19437
19438 * target.h (gcc_target): Add members
19439 `first_cycle_multipass_dfa_lookahead_guard' and `dfa_new_cycle'.
19440
19441 * target-def.h (TARGET_SCHED_DFA_NEW_CYCLE,
19442 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): New
19443 macros.
19444 (TARGET_SCHED): Add initiatialization of the new members.
19445
19446 * haifa-sched.c (schedule_insn): Update last_clock_var for the 1st
19447 insn scheduling too.
19448 (choose_ready): Use `first_cycle_multipass_dfa_lookahead_guard' to
19449 initialize `ready_try'.
19450 (schedule_block): Use `dfa_new_cycle'. Sort `ready' only unless
19451 `dfa_new_cycle' says not to do it.
07488f32 19452
30028c85
VM
19453 * config/ia64/ia64.md: Add DFA Itanium 1 description for insn
19454 bundling.
19455
19456 * config/ia64/ia64.h (CPU_UNITS_QUERY): New macro.
19457
19458 * config/ia64/ia64.c: Include `hashtab.h'.
19459 (ia64_first_cycle_multipass_dfa_lookahead_guard,
19460 ia64_dfa_new_cycle, final_emit_insn_group_barriers,
19461 ia64_dfa_sched_reorder, get_free_bundle_state, free_bundle_state,
19462 initiate_bundle_states, finish_bundle_states, bundle_state_hash,
19463 bundle_state_eq_p, insert_bundle_state,
19464 initiate_bundle_state_table, finish_bundle_state_table,
19465 try_issue_nops, try_issue_insn, issue_nops_and_insn, get_max_pos,
19466 get_template, get_next_important_insn, bundling): New functions.
19467 (ia64_internal_sched_reorder): Remove it.
19468 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
19469 TARGET_SCHED_DFA_NEW_CYCLE): New macros.
19470 (ia64_safe_itanium_requires_unit0): Remove it.
19471 (group_barrier_needed_p): Place group barrier right before a real
19472 insn.
19473 (bundle, ia64_packet, NR_PACKETS, type_names, packets, packets):
19474 Remove them.
19475 (bundle_name): New variable.
19476 (_0mii_, _0mmi_, _0mfi_, _0mmf_, _0bbb_, _0mbb_, _0mib_, _0mmb_,
19477 _0mfb_, _0mlx_, _1mii_, _1mmi_, _1mfi_, _1mmf_, _1bbb_, _1mbb_,
19478 _1mib_, _1mmb_, _1mfb_, _1mlx_, pos_1, pos_2, pos_3, pos_4, pos_5,
19479 pos_6, dfa_stop_insn, last_scheduled_insn, dfa_state_size,
19480 temp_dfa_state, prev_cycle_state): New global variables.
19481 (insn_matches_slot, maybe_rotate, finish_last_head,
19482 rotate_one_bundle, rotate_one_bundles, nop_cycles_until,
19483 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
19484 find_best_packet, itanium_reorder, dump_current_packet,
19485 schedule_stop, gen_nop_type, ia64_emit_nops): Remove them.
19486 (sched_data, sched_ready, sched_types): Remove them.
19487 (ia64_sched_init): Initiate only `last_scheduled_insn' and call
19488 `init_insn_group_barriers'.
19489 (ia64_sched_reorder, ia64_sched_reorder2): Call
19490 ia64_dfa_sched_reorder.
19491 (ia64_variable_issue): Rewrite it.
19492 (bundle_state): New structure.
19493 (index_to_bundle_states, bundle_states_num,
19494 allocated_bundle_states_chain, free_bundle_state_chain): New
19495 global variables.
19496 (ia64_sched_finish): Add stop bits and call `bundling' after the
19497 2nd insn scheduling.
19498 (ia64_use_dfa_pipeline_interface): Return zero always.
19499 (ia64_first_cycle_multipass_dfa_lookahead): Return 6 for the 2nd
19500 insn scheduling.
19501 (ia64_init_dfa_pre_cycle_insn): Initialize `dfa_state_size',
19502 `temp_dfa_state', `prev_cycle_state', and `dfa_stop_insn'.
19503 (ia64_reorg): Add bundling insns.
19504
19505 * doc/tm.texi
19506 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,
19507 TARGET_SCHED_DFA_NEW_CYCLE): Describe the new hooks.
07488f32 19508
30028c85
VM
19509 2002-09-23 Vladimir Makarov <vmakarov@redhat.com>
19510
19511 * config/ia64/ia64.md: Add Itanium1 DFA description.
19512 (itanium_class): Add `nop' and `pre_cycle'. Add
19513 define_function_unit for `nop'.
19514 (nop): Change attribute `itanium_class'.
19515 (pre_cycle): New define_insn.
19516
19517 * config/ia64/ia64-protos.h (bundling_p): New external variable.
19518 (ia64_st_address_bypass_p, ia64_ld_address_bypass_p,
19519 ia64_produce_address_p): New function prototypes.
19520
19521 * config/ia64/ia64.c (bundling_p): New global variable.
19522 (ia64_use_dfa_pipeline_interface,
19523 ia64_first_cycle_multipass_dfa_lookahead,
19524 ia64_init_dfa_pre_cycle_insn, ia64_dfa_pre_cycle_insn): New
19525 functions.
19526 (TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE,
19527 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,
19528 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,
19529 TARGET_SCHED_DFA_PRE_CYCLE_INSN): New macros.
19530 (ia64_sched_init, ia64_sched_reorder, ia64_sched_reorder2,
19531 ia64_variable_issue, ia64_sched_finish): Do nothing before reload.
19532 (dfa_pre_cycle_insn): New variable.
07488f32 19533
30028c85
VM
19534 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
19535
19536 * rtl.def (FINAL_PRESENCE_SET, FINAL_ABSENCE_SET): New
19537 constructions.
19538
19539 * genattrtab.h (gen_final_presence_set, gen_final_absence_set):
19540 New function prototypes.
19541
19542 * genattrtab.c (main): Process the new constructions.
19543
19544 * genautomata.c (gen_presence_absence_set,
19545 process_presence_absence_names, process_presence_absence_patterns,
19546 add_presence_absence, check_absence_pattern_sets): Add parameter
19547 `final_p'.
19548 (unit_decl): Add new members `final_presence_list' and
19549 `final_absence_list'.
19550 (unit_pattern_rel_decl): Add new member `final_p'.
19551 (gen_final_presence_set, gen_final_absence_set): New functions.
19552 (process_decls): Use member `final_p'.
19553 (temp_reserv): New global variable.
19554 (reserv_sets_are_intersected): Add processing `final_presence_set'
19555 and `final_absence_set'.
19556 (initiate_states): Allocate `temp_reserv'.
19557 (unit_final_presence_set_table, unit_final_absence_set_table): New
19558 gloabal variables.
19559 (initiate_presence_absence_pattern_sets): Initiate them.
19560 (NDFA_to_DFA): Fix typo.
19561 (output_description): Output `final_presence_set' and
19562 `final_absence_set'.
19563
19564 * doc/md.texi (final_presence_set, final_absence_set): Describe
19565 them.
07488f32 19566
30028c85
VM
19567 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
19568
19569 * genautomata.c (transform_3): Process a missing case (nothing on
19570 unit place).
19571
19572 2002-09-20 Vladimir Makarov <vmakarov@redhat.com>
19573
19574 * rtl.def (DEFINE_QUERY_CPU_UNIT, AUTOMATA_OPTION): Change
19575 comments about queried units and the minimization.
07488f32 19576
30028c85 19577 * doc/md.texi: Ditto.
07488f32 19578
30028c85
VM
19579 * genautomata.c (create_composed_state): Return nonzero if the new
19580 state has been created.
19581 (first_cycle_unit_presence): New function.
19582 (state_is_differed): Add new parameter. Use the new function.
19583 Take queried units into account.
19584 (partition_equiv_class): Pass additional parameter to
19585 `state_is_differed'.
19586 (merge_states): Process composed states too.
19587 (build_automaton, create_automata, output_min_issue_delay_table,
19588 output_tables, output_statistics): Output more information.
19589 (output_reserved_units_table): Use function
19590 `first_cycle_unit_presence'.
19591 (output_tables): Output table of queried units even if the
19592 minimization is switched on.
19593 (write_automata): Output code for querying units even if the
19594 minimization is switched on.
07488f32 19595
30028c85
VM
19596 2002-09-19 Vladimir Makarov <vmakarov@redhat.com>
19597
19598 * rtl.def (PRESENCE_SET, ABSENCE_SET): Add comments about extended
19599 syntax of the constructions.
07488f32 19600
30028c85
VM
19601 * doc/md.texi (PRESENCE_SET, ABSENCE_SET): Add description of
19602 extended syntax of the constructions.
07488f32 19603
30028c85
VM
19604 * genautomata.c (unit_rel_decl): Rename it to
19605 `unit_pattern_rel_decl'.
19606 (pattern_set_el, pattern_reserv): New structures.
19607 (pattern_set_el_t, pattern_reserv_t): New types.
19608 (gen_presence_absence_set): New function.
19609 (process_presence_absence): Remove it.
19610 (process_presence_absence_names,
19611 process_presence_absence_patterns): New functions.
19612 (get_presence_absence_set): Remove it.
19613 (initiate_presence_absence_sets): Rename it on
19614 `initiate_presence_absence_pattern_sets'. Use new function
19615 `form_reserv_sets_list'.
19616 (form_reserv_sets_list, check_presence_pattern_sets,
19617 check_absence_pattern_sets, output_pattern_set_el_list): New
19618 functions.
19619 (unit_decl): Change types of members `presence_list' and
19620 `absence_list'.
19621 (unit_rel_decl): Rename member `names_num' to `all_names_num'.
19622 (decl): Change types of members `excl', `presence', and `absence'.
19623 (get_str_vect): Rename `par_flag' to `paren_p'. Add null element
19624 at the end of the vector.
19625 (gen_cpu_unit, gen_query_cpu_unit, gen_bypass, gen_excl_set,
19626 gen_automaton, gen_regexp_repeat, gen_regexp_allof,
19627 gen_regexp_oneof, gen_regexp_sequence): Use boolean values.
19628 (gen_presence_set, gen_absence_set): Use new function
19629 `gen_presence_absence_set'.
19630 (add_presence_absence): Process `pattern_list' instead of
19631 `source_list'.
19632 (process_decls): USe new functions
19633 `process_presence_absence_names' and
19634 `process_presence_absence_patterns'.
19635 (reserv_sets_are_intersected): Use new function
19636 `check_presence_pattern_sets'.
19637 (presence_set, absence_set): Remove them.
19638 (unit_presence_set_table, unit_absence_set_table): New global
19639 variables.
19640 (output_description): Use new function
19641 `output_pattern_set_el_list'.
19642 (generate): Use `initiate_presence_absence_pattern_sets'.
07488f32 19643
30028c85
VM
19644 2002-09-18 Vladimir Makarov <vmakarov@redhat.com>
19645
19646 * genattr.c (main): Add output of prototype of new interface
19647 function `dfa_clean_insn_cache'.
19648
19649 * genautomata.c (output_dfa_clean_insn_cache_func): New function.
19650 (DFA_CLEAN_INSN_CACHE_FUNC_NAME): New macro.
19651 (output_dfa_start_func): Use function `dfa_clean_insn_cache' in
19652 the generated code.
19653 (write_automata): Call the new function.
07488f32 19654
62c9aa5f 196552003-01-09 Jan Hubicka <jh@suse.cz>
cb297538 19656
17211ab5
GK
19657 * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt
19658 correctly.
cb297538 19659
3a6e2189
PC
196602003-01-09 Paolo Carlini <pcarlini@unitus.it>
19661
19662 * doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
19663
62c9aa5f 196642003-01-09 J"orn Rennecke <joern.rennecke@superh.com>
97488870
R
19665
19666 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
19667 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
19668 (CONSTRAINT_LEN): Provide default definition.
19669 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
19670 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
19671 (EXTRA_CONSTRAINT_STR): Likewise.
19672 (REG_CLASS_FROM_CONSTRAINT): Define.
19673 * genoutput.c (check_constraint_len, constraint_len): New functions.
19674 (validate_insn_alternatives): Check CONSTRAINT_LEN for each
19675 constraint / modifier.
19676 (gen_insn): Call check_constraint_len.
19677 * local-alloc.c (block_alloc): Update to use new macros / pass
19678 second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
19679 * ra-build.c (handle_asm_insn): Likewise.
19680 * recog.c (asm_operand_ok, preprocess_constraints): Likewise.
19681 (constrain_operands, peep2_find_free_register): Likewise.
19682 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
19683 * regmove.c (find_matches): Likewise.
19684 * reload.c (push_secondary_reload, find_reloads): Likewise.
19685 (alternative_allows_memconst): Likewise.
19686 * reload1.c (maybe_fix_stack_asms): Likewise.
19687 (reload_cse_simplify_operands): Likewise.
19688 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
19689 * doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
19690 (CONST_OK_FOR_CONSTRAINT_P): Likewise.
19691 (CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
19692 (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
19693 * config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.
e2c734c1
R
19694
19695 * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
19696
fc182093
KH
196972003-01-09 Kazu Hirata <kazu@cs.umass.edu>
19698
19699 * config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
19700 length.
19701 (*extzv_1_r_h8300hs): Likewise.
19702 (*extzv_1_r_inv_h8300): Likewise.
19703 (*extzv_1_r_inv_h8300hs): Likewise.
19704
3b1c9927
KH
197052003-01-09 Kazu Hirata <kazu@cs.umass.edu>
19706
19707 * config/h8300/h8300.h (PREDICATE_CODES): New.
19708
867504e6
KH
197092003-01-09 Kazu Hirata <kazu@cs.umass.edu>
19710
19711 * config/h8300/h8300.md (*addsi3_upper): New.
19712 (*iorsi3_shift): Likewise.
19713 (two splitters): Likewise.
19714 (*addsi3_shift): Likewise.
19715 (two splitters): Likewise.
19716
4a69cf79
JZ
197172003-01-09 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
19718
19719 * Makefile.in (optabs.o): Add dependency on basic-block.h.
19720 * basic-block.h (control_flow_insn_p): Fuction was exported.
19721 * cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
19722 * optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
19723 notes only when the region is contained in a single basic block.
19724
4c46ea23
EB
197252003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
19726
19727 PR inline-asm/8832
19728 * tree.h (expand_asm): New prototype.
19729 * stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
19730 to do so.
19731 * c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
19732 down to expand_asm.
19733 * c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
19734 * rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
19735 (volatile_refs_p) [ASM_INPUT]: Likewise.
19736 (side_effects_p) [ASM_INPUT]: Likewise.
19737
62c9aa5f 197382003-01-09 Jan Hubicka <jh@suse.cz>
f56e86bd
JH
19739
19740 * i386.md (*mul*): FIx constraints; remove confused comment; fix
19741 athlon_decode attributes
19742 (imul/k8 optimization peep2s): New.
19743
19744 * athlon.md (athlon_ssecmp*): Handle ssecomi as well.
19745 * i386.md (type attribute): Add ssecomi.
19746 (unit, memory, prefix attributes): Handle ssecomi.
19747 (cvt?2? patterns): Fix athlon_decode attribute
19748 (comi patterns): Set attribute to ssecomi.
19749
19750 PR target/8343
19751 * m68k.md (umulsidi, mulsidi expanders): Use register operand.
19752
98c29f71
RS
197532003-01-09 Richard Sandiford <rsandifo@redhat.com>
19754
19755 * config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
19756 that match register_operands.
19757 * config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
19758 register_operand the default case.
19759
bbb818c6
EB
197602003-01-09 Eric Botcazou <ebotcazou@libertysurf.fr>
19761
19762 PR c/8032
19763 * c-typeck.c (process_init_element) [RECORD_TYPE]: For
19764 an empty element, do not advance the pointer to unfilled
19765 fields if there are pending initializers.
19766
90961eff
AJ
197672003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
19768
19769 * Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
19770 (install-gcc-tooldir, install-cpp, installdirs,
19771 install-common, install-driver, install-info, install-man,
19772 install-headers, install-include-dir, install-headers-tar,
19773 install-headers-cpio, install-headers-cp, install-mkheaders,
19774 install-collect2, uninstall): Prepend $(DESTDIR) to
19775 destination paths in all (un)installation commands.
19776 (install-driver): Rewrite $(LN) commands to support DESTDIR
19777 with "ln" as well as with "ln -s".
19778 (installdirs): Simply use mkinstalldirs.
19779 (install-libgcc, install-multilib): Also pass DESTDIR.
19780 * mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
19781 installation destination variable ldir.
19782 * config/alpha/t-osf4, config/arm/t-netbsd,
19783 config/ia64/t-hpux, config/mips/t-iris5-6,
19784 config/pa/t-hpux-shlib, config/rs6000/t-aix43,
19785 config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
19786 config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
19787 in the definition of SHLIB_INSTALL.
19788 * config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
19789 $(libsubdir) in the installation commands.
19790
8b26829f
KK
197912003-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
19792
19793 * config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
19794 non-optimizing compile.
19795 (ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
19796 compile.
19797
fe77449a
DR
197982003-01-08 Douglas B Rupp <rupp@gnat.com>
19799
19800 * config/i386/i386.c (ix86_attribute_table): Add new attributes
19801 ms_struct and gcc_struct.
19802 (ix86_handle_struct_attribute): New function.
19803 (ix86_ms_bitfield_layout_p): Update to take new attributes
19804 into account.
19805 * doc/extend.texi: Document new attributes.
19806 * testsuite/gcc.dg/bf-ms-attrib.c: New test.
19807
98417968
DS
198082003-01-08 Danny Smith <dannysmith@users.sourceforge.net>
19809
07488f32
ZW
19810 PR optimization/8750
19811 * config/i386/i386.c (ix86_expand_prologue): Don't allow
19812 scheduling pass to move insns across __alloca call.
98417968 19813
e46e3130
DJ
198142003-01-08 Dale Johannesen <dalej@apple.com>
19815
07488f32
ZW
19816 * config/rs6000/rs6000.md: Replace *store_multiple_string
19817 with *stmsi[3-8].
e46e3130 19818
c40e5172
JS
198192003-01-08 Jeff Sturm <jsturm@one-point.com>
19820
19821 PR target/9210
19822 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
19823 Set SYMBOL_REF_FLAG on local data sym_ref.
19824
de62b72c 198252003-01-08 Dale Johannesen <dalej@apple.com>
07488f32
ZW
19826
19827 * function.c (assign_parms): Don't set pretend_args_size if
de62b72c 19828 REG_PARM_STACK_SPACE.
07488f32 19829 config/rs6000/rs6000.c (setup_incoming_varargs): Don't set
de62b72c
DJ
19830 pretend_args_size.
19831
25839c41
NN
198322003-01-08 Nathanael Nerode <neroden@gcc.gnu.org>
19833
19834 * gcc.hlp: Delete.
19835
62c9aa5f 198362003-01-09 Jan Hubicka <jh@suse.cz>
4bdc8610
JH
19837
19838 * i386.c (ix86_expand_int_addcc): Fix thinko.
19839
5b71a4e7
DE
198402003-01-08 David Edelsohn <edelsohn@gnu.org>
19841
19842 * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
19843 * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
19844 as hook_bool_tree_hwi_hwi_tree_true.
19845 (rs6000_emit_allocate_stack): Use TARGET_32BIT.
19846 (rs6000_emit_epilogue): Same.
19847 (rs6000_output_mi_thunk): Re-implement as RTL.
19848 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
19849 xcoffout_declare_function if any debugging enabled.
19850
2d2a50c3
CD
198512003-01-08 Chris Demetriou <cgd@broadcom.com>
19852
19853 * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
19854 targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
19855 * config/mips/mips.h (enum processor_type): Rename
19856 PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
19857 PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
19858 Add PROCESSOR_M4K.
19859 (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
19860 (ISA_MIPS32R2): New define.
19861 (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
19862 (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
19863 (ISA_HAS_PREFETCH): Add support for MIPS32R2.
19864 (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation.
19865 (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new
19866 predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
19867 (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
19868 compiling MIPS16 code.
19869 (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
19870 comment.
19871 (ISA_HAS_SEB_SEH): New define.
19872 (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
19873 * config/mips/mips.c (mips_cpu_info_table): Adjust for enum
19874 processor_type value renaming. Add support for MIPS32R2.
19875 Clean up comments, and move "sb1" entry with other MIPS64 CPU
19876 entries.
19877 (override_options): Reimplement -mipsN option handling so that
19878 it will work correctly for -mips32r2. Avoid branch-likely
19879 instructions on MIPS32R2.
19880 * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
19881 (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
19882 (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
19883 (extendhisi2_hw, extendqisi2_hw): New.
19884 * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
19885 for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32,
19886 MIPS32R2, and MIPS64.
19887 (LINK_SPEC): Pass -mips32r2 to linker.
19888 * config/mips/t-isa3264: Built -mips32r2 multilibs.
19889 * doc/invoke.texi (MIPS Options): Add -mips32r2, add support
19890 for mips32r2 in the -march description. Alphabetically sort
19891 CPU names in the -march description. Add long-missed -mips32
19892 and -mips64 to MIPS option summary.
19893
19894 * config.gcc: Update copyright years to include 2003.
19895 * config/mips/mips.c: Likewise.
19896 * config/mips/mips.h: Likewise.
19897 * config/mips/mips.md: Likewise.
19898 * config/mips/netbsd.h: Likewise.
19899 * doc/invoke.texi: Likewise.
19900
918c4fe4
AS
199012003-01-08 Andreas Schwab <schwab@suse.de>
19902
19903 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cache
19904 variable.
19905 * configure: Regenerated.
19906
c5e7ce43
KH
199072003-01-08 Kazu Hirata <kazu@cs.umass.edu>
19908
19909 * config/h8300/h8300.c (output_logical_op): Replace byte/word
19910 extraction of det with b0, b1, w0, w2, etc.
19911 (compute_logical_op_length): Likewise.
19912 (compute_logical_op_cc): Likewise.
19913
eb8a8ec4
KH
199142003-01-08 Kazu Hirata <kazu@cs.umass.edu>
19915
19916 * config/h8300/h8300.h (CONSTANT_ADDRESS_P): Allow CONST and
19917 HIGH on all variants.
19918
62c9aa5f 199192003-01-08 Josef Zlomek <zlomj9am@artax.karlin.mff.cuni.cz>
07488f32 19920
56f15830
JZ
19921 * Makefile.in (PARTITION_H): New.
19922 (BASIC_BLOCK_H): Added hard-reg-set.h and $(PARTITION_H).
19923 * basic-block.h: Include hard-reg-set.h.
19924
ab57893b
RE
199252003-01-08 Richard Earnshaw <rearnsha@arm.com>
19926
19927 * arm.h (ENABLE_XF_PATTERNS): Delete.
19928 * arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
19929 (sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
19930 (extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
19931 (cmpxf_trap): Delete.
19932 (movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
19933
62c9aa5f 199342003-01-08 Jan Hubicka <jh@suse.cz>
7b52eede
JH
19935
19936 * i386.md (adddi3_carry_rex64, subdi3_carry_rex64): Name pattern.
19937 (addhi3_carry, addqi3_carry, subhi3_carry, subqi3_carry): New patterns.
19938 (add??cc): New expanders.
19939 * i386.c (expand_int_addcc): New function.
19940 * i386-protos.h (expand_int_addcc): Declare.
19941
19942 * alias.c (memory_modified_1): New static function.
19943 (memory_modified): New static varaible.
19944 (memory_modified_in_insn_p): New global function.
19945 * rtl.h (memory_modified_in_insn_p): Declare.
19946 * rtlanal.c (modified_between_p, modified_in_p): Be smart about memory
19947 references.
19948
19949 * expr.h (emit_conditional_add): Declare.
19950
74049755
JJ
199512003-01-07 Janis Johnson <janis187@us.ibm.com>
19952
19953 PR other/8947
19954 * doc/invoke.texi (-malign-double): Explain that the option breaks
19955 binary compatibility.
19956
e7edc5a0
AS
199572003-01-08 Andreas Schwab <schwab@suse.de>
19958
19959 * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld,
19960 should come from the generic *-*-linux* entry.
19961
62c9aa5f 199622003-01-07 Jan Hubicka <jh@suse.cz>
9635cfad
JH
19963
19964 * cselib.c (cselib_current_insn_in_libcall): New static variable.
19965 (new_elt_loc_list, cselib_process_insn, cselib_init): Keep track on whether
19966 we are inside libcall.
19967 * cselib.h (elt_loc_list): Add in_libcall.
19968 * gcse.c (do_local_cprop): Do not copy propagate using insns
19969 in libcalls.
19970
3ee04299
DE
199712003-01-07 David Edelsohn <edelsohn@gnu.org>
19972
19973 * doc/tm.texi (TARGET_SCHED_VARIABLE_ISSUE): CLOBBER and USE do
19974 not normally affect to issue rate.
19975
62c9aa5f 199762003-01-07 Jan Hubicka <jh@suse.cz>
068f5dea
JH
19977
19978 * genopinit.c (optabs): Add addc_optab.
19979 * ifcvt.c (noce_try_store_flag): Rename to ...
19980 (noce_try_addcc): ... this one; handle generic conditional increment.
19981 (noce_process_if_block): Update noce_try_addcc call.
19982 * optabs.c (emit_conditional_add): New.
19983 (init_obtabs): Initialize addc_optab.
19984 * optabs.h (optab_index): Add OTI_addcc.
19985 (addcc_optab): New macro.
19986 * md.texi: Document addMcc
19987
19988 PR target/8322
19989 * i386.c (ix86_init_mmx_sse_builtins): Constify arguments of loads.
19990 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
19991 * xmmintrin.h (_mm_load*_si128. _mm_store*_si128): Add casts.
19992
19993 * reload1.c (delete_output_reload): Avoid repeated attempts
19994 to delete insn.
19995
eb70d86d
AS
199962003-01-07 Andreas Schwab <schwab@suse.de>
19997
e7edc5a0
AS
19998 * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.
19999 Move --enable-initfini-array check ...
20000 * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define
20001 HAVE_INITFINI_ARRAY also when --enable-initfini-array is given.
20002 Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN.
20003 * configure: Rebuild.
eb70d86d 20004
1afdf91c
RH
200052003-01-07 Richard Henderson <rth@redhat.com>
20006
e7edc5a0
AS
20007 * alias.c (find_base_value): Only use new_reg_base_value shortcut
20008 if the register is set once.
1afdf91c 20009
36210500 200102003-01-07 Sylvain Pion <Sylvain.Pion@mpi-sb.mpg.de>
07488f32 20011
36210500
SP
20012 * config/i386/i386.c (ix86_init_mmx_sse_builtins):
20013 __builtin_ia32_ldmxcsr and __builtin_ia32_stmxcsr are SSE, not MXX.
20014 * config/i386/i386.md (ldmxcsr, stmxcsr): SSE, not MMX.
20015
cb25b0ce
BK
200162003-01-07 Benjamin Kosnik <bkoz@redhat.com>
20017 Sunil Davasam <sunil.k.davasam@intel.com>
20018
07488f32 20019 PR libstdc++/9076
cb25b0ce
BK
20020 * unwind-dw2.c (execute_cfa_program): DW_CFA_undefined,
20021 DW_CFA_same_value, read next and ignore.
20022
94c040bd
RH
200232003-01-07 Richard Henderson <rth@redhat.com>
20024
20025 * cfganal.c (flow_call_edges_add): Don't crash on noreturn call.
20026
f6cb56fa
DB
200272003-01-07 Daniel Berlin <dberlin@dberlin.org>
20028
20029 * cfg.c: Include alloc-pool.h
20030 (edge_pool): New pool.
20031 (bb_pool): New pool.
20032 (first_deleted_edge): Remove.
20033 (first_deleted_block): Remove.
20034 (init_flow): Alloc/free the pools.
20035 (free_edge): Use pools.
20036 (alloc_block): Ditto.
20037 (expunge_block): Ditto.
20038 (cached_make_edge): Ditto.
20039
20040 * Makefile.in (cfg.o): Add alloc-pool.h dependency.
20041
200422003-01-07 Daniel Berlin <dberlin@dberlin.org>
20043
20044 * et-forest.c: Include alloc-pool.h.
20045 (struct et_forest): Add node_pool and occur_pool.
20046 (et_forest_create): Create the new pools.
20047 (et_forest_delete): Delete them.
20048 (et_forest_add_node): Allocate and free using pools.
20049 (et_forest_add_edge): Ditto.
20050 (et_forest_remove_node): Ditto.
20051 (et_forest_remove_edge): Ditto.
20052
20053 * Makefile.in (et-forest.o): Add alloc-pool.h dependency.
20054
f9ac2f95
KH
200552003-01-07 Kazu Hirata <kazu@cs.umass.edu>
20056
20057 * config/h8300/h8300.c (output_logical_op): Simplify and
20058 optimize the handling of SImode.
20059 * config/h8300/h8300.c (compute_logical_op_length): Update
20060 accordingly.
20061 * config/h8300/h8300.c (compute_logical_op_cc): Likewise.
20062
83282119
RS
200632003-01-07 Richard Sandiford <rsandifo@redhat.com>
20064
20065 * config/mips/mips.c (mips_va_arg): In the EABI code, apply the
20066 big-endian correction to indirect arguments too.
20067
59a4c851
AH
200682003-01-06 Aldy Hernandez <aldyh@redhat.com>
20069
20070 Segher Boessenkool <segher@koffie.nl>
20071
36210500
SP
20072 * config/rs6000/rs6000.c (rs6000_reg_names): Add missing registers.
20073 (alt_reg_names): Ditto, fix formatting.
20074 * config/rs6000/rs6000.h (DEBUG_REGISTER_NAMES): Fix formatting.
59a4c851 20075
7798db98
KH
200762003-01-06 Kazu Hirata <kazu@cs.umass.edu>
20077
20078 * config/h8300/h8300.c (final_prescan_insn): Constify uid.
20079 (output_logical_op): Constify intval and det.
20080 (compute_logical_length): Likewise.
20081 (compute_logical_cc): Likewise.
20082 (output_a_shift): Constify mask.
20083 (h8300_encode_label): Constify len.
20084
4705d102
KH
200852003-01-06 Kazu Hirata <kazu@cs.umass.edu>
20086
20087 * config/h8300/h8300.c (h8300_expand_prologue): Remove fsize.
20088 (h8300_expand_epilogue): Likewise.
20089
98c9a8e8
AH
200902003-01-06 Aldy Hernandez <aldyh@redhat.com>
20091
20092 Segher Boessenkool <segher@koffie.nl>
20093
36210500
SP
20094 * config/rs6000/altivec.md: Remove spaces from assembler
20095 instruction argument lists.
07488f32 20096
86143814
MH
200972003-01-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20098
20099 * config/c4x/c4x.c (c4x_naked_function_p): Rename from
20100 c4x_assembler_function_p.
20101 (c4x_null_epilogue_p): Complement return value, all uses updated.
20102 (c4x_insert_attributes): Add naked.
20103 * config/c4x/c4x.md (c4x_null_epilogue_p): Changes uses.
20104 * doc/extend.texi: Update C4x function attributes.
20105
52fd80fb
RH
201062003-01-06 Richard Henderson <rth@redhat.com>
20107
20108 * config/alpha/alpha.c (alpha_encode_section_info): Adjust symbol_str
20109 properly when changing "local-ness".
20110 * config/alpha/alpha.md (movdi_er_high_g): Allow all symbols.
20111
a16b43c5
DJ
201122003-01-06 Dale Johannesen <dalej@apple.com>
20113
20114 * config/darwin-protos.h: Add prototypes for new section functions.
20115
ef8dfae6
CD
201162003-01-06 Chris Demetriou <cgd@broadcom.com>
20117
20118 * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI
20119 to EABI.
20120
44f9a8e4
ZW
201212003-01-06 Zack Weinberg <zack@codesourcery.com>
20122
20123 * hwint.h: If the current compiler has no 64-bit type at all,
20124 make HOST_WIDEST_INT 32 bits.
20125
2610198a
EC
201262003-01-06 Eric Christopher <echristo@redhat.com>
20127
20128 * config/mips/mips.md (movdf_internal2): Fix constraints.
20129
efbd757f
KH
201302003-01-06 Kazu Hirata <kazu@cs.umass.edu>
20131
20132 * config/h8300/h8300.md (*twoshifts_l16_r1): New.
20133
727b9b8c
RS
201342003-01-06 Richard Sandiford <rsandifo@redhat.com>
20135
20136 * config/mips/mips.md (leadi): Use dla rather than la.
20137
4705d102 201382003-01-06 Svein E. Seldal <Svein.Seldal@solidas.com>
cebdac46
SS
20139
20140 * config/c4x/c4x.h: Updated specs for new gas format. Fixed bug
20141 in C33_FLAG. Added proper C33 support in ASM_FILE_START macro.
20142
4705d102 201432003-01-06 Herman A.J. ten Brugge <hermantenbrugge@home.nl>
fe1e789f 20144
44f9a8e4 20145 * config/c4x/c4x.h: Remove hwint.h include and HOST_WIDE_INT_PRINT_HEX
fe1e789f
HB
20146 redefinition.
20147
dff0ea43
KH
201482003-01-05 Kazu Hirata <kazu@cs.umass.edu>
20149
20150 * config/h8300/h8300.md (*extzv_8_23): New.
20151
94e6fd3e
JDA
201522003-01-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
20153
20154 * pa64-hpux.h (JCR_SECTION_NAME): Define.
20155 (PA_INIT_FRAME_DUMMY_ASM_OP): Check EH_FRAME_SECTION_NAME instead of
20156 USE_EH_FRAME_REGISTRY when defining.
20157
cd9b5ca8
KH
201582003-01-05 Kazu Hirata <kazu@cs.umass.edu>
20159
20160 * config/h8300/h8300.c (output_a_shift): Do not output a
20161 variable shift.
20162 * config/h8300/h8300.md (two splitters): New.
20163
1ba8a9c4
RS
201642003-01-05 Richard Sandiford <rsandifo@redhat.com>
20165
20166 * config/mips/mips.md: Disable the movstrsi define_split.
20167
c7c50494
KG
201682003-01-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20169
20170 * alloc-pool.c: Don't include "libiberty.h".
20171 * config/sparc/gmon-sol2.c: Include <fcntl.h>.
20172 * convert.c (convert_to_real): Hide unused variable.
20173
83fa8d7a
KG
201742003-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20175
20176 * Makefile.in (gtyp-gen.h): Const-ify.
20177 * gcov-dump.c (tag_table): Likewise.
20178
871dab3e
BK
201792003-01-04 Bruce Korb <bkorb@gnu.org>
20180
20181 * fixinc/fixfixes.c(wrap_fix): the wrapper guard must be a function
20182 of *both* the file name and the fix name.
20183
90961eff 201842003-01-04 John David Anglin <dave.anglin@nrc.ca>
35d434ed
JDA
20185
20186 * config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use
20187 collect2.
20188 * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine.
20189 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define.
20190 * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP,
20191 GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP,
20192 GNU_FINI_ARRAY_SECTION_ASM_OP): Define.
20193 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using
20194 elfos.h.
20195 (EH_FRAME_IN_DATA_SECTION): Delete define.
20196 (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine.
20197 (STARTFILE_SPEC): Use crtbegin.o.
20198 (ENDFILE_SPEC): Use crtend.o.
20199 (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION,
20200 SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK,
20201 PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB,
20202 DTOR_LIST_BEGIN): Define.
20203 * pa.c (TARGET_ASM_CONSTRUCTOR): Define.
20204 (pa_asm_out_constructor, pa_asm_out_destructor): New functions.
20205 * som.h (SUPPORTS_INIT_PRIORITY): Delete define.
20206
b0588013
BK
202072002-12-31 Larin Hennessy <larin@science.oregonstate.edu>
20208
20209 * fixinc/fixinc.svr4: Remove references to i860, Sony NewsOS, and spur.
20210 * fixinc/inclhack.def: Remove tests for Apple A/UX, ARM/RISCiX, DG/UX,
20211 m88k-*-sysv3*, Sony NewsOS. Remove references to i860.
20212 Cleanup handling of replacement text.
20213 * fixinc/mkfixinc.sh: Remove reference to i?86-*-osf1*
20214
202152003-01-04 Bruce Korb <bkorb@gnu.org>
20216
20217 * fixinc/tests/base/math.h: removed obsolete results
20218 * fixinc/tests/base/stdlib.h: ditto
20219 * fixinc/tests/base/sys/param.h: ditto
20220 * fixinc/tests/base/sys/stat.h: ditto
20221 * fixinc/tests/base/time.h: ditto
20222 * fixinc/tests/base/X11/Intrinsic.h: removed obsolete file
20223 * fixinc/tests/base/sys/byteorder.h: ditto
20224 * fixinc/inclhack.def: Remove superfluous backslashes
20225
68ee6df6
KH
202262003-01-04 Kazu Hirata <kazu@cs.umass.edu>
20227
20228 * config/h8300/h8300-protos.h: Add prototypes for
20229 the new functions defined below.
20230 * config/h8300/h8300.c (TARGET_ASM_FUNCTION_PROLOGUE): Do not
20231 define.
20232 (dosize): Emit RTL instead of assembly code.
20233 (push): Likewise.
20234 (pop): Likewise.
20235 (h8300_output_function_prologue): Remove.
20236 (h8300_expand_prologue): New.
20237 (h8300_expand_epilogue): New.
20238 (h8300_output_function_epilogue): Do only the reset of
20239 pragma_saveall.
20240 * config/h8300/h8300.md (push_h8300): New.
20241 (push_h8300hs): Likewise.
20242 (pop_h8300): Likewise.
20243 (pop_h8300hs): Likewise.
20244 (*stm_h8300s_2): Change the name to stm_h8300s_2.
20245 (*stm_h8300s_3): Change the name to stm_h8300s_3.
20246 (*stm_h8300s_4): Change the name to stm_h8300s_4.
20247 (*ldm_h8300s_2): New.
20248 (*ldm_h8300s_3): Likewise.
20249 (*ldm_h8300s_4): Likewise.
20250 (return): Likewise.
20251 (*return_1): Likewise.
20252 (prologue): Likewise.
20253 (epilogue): Likewise.
20254 (monitor_prologue): Likewise.
20255
d3c300d2
DJ
202562003-01-03 Dale Johannesen <dalej@apple.com>
20257
20258 * config/darwin.h: (EXTRA_SECTIONS): Add machopic_symbol_stub1,
20259 machopic_picsymbol_stub1.
20260 (EXTRA_SECTION_FUNCTIONS): Ditto.
20261 * rs6000/rs6000.c: Update copyright.
20262 (machopic_output_stub): Use them. Remove an insn from stub code.
20263
6cce57b0
JM
202642003-01-02 Jason Merrill <jason@redhat.com>
20265
4e8dca1c
JM
20266 * fold-const.c (fold) [COND_EXPR]: Avoid NOP_EXPRs better.
20267
20268 * integrate.c (copy_decl_for_inlining): Don't clear the rtl for
20269 static/external decls.
2610198a 20270
6cce57b0
JM
20271 * c-common.c (finish_fname_decls): Put the DECL_STMTs inside the
20272 outermost scope.
20273 * c-decl.c (c_make_fname_decl): Push the decls there, too.
20274
e392d367
KH
202752003-01-03 Kazu Hirata <kazu@cs.umass.edu>
20276
20277 * config/h8300/h8300-protos.h: Add a prototype for
20278 h8300_current_function_interrupt_function_p.
20279 * config/h8300/h8300.c (interrupt_handler): Remove.
20280 (os_task): Likewise.
20281 (monitor): Likewise.
20282 (pragma_interrupt): New.
20283 (WORD_REG_USED): Use
20284 h8300_current_function_interrupt_function_p.
20285 (dosize): Likewise.
20286 (h8300_output_function_prologue): Likewise.
20287 Do not set interrupt_handler, os_task, monitor.
20288 (h8300_output_function_prologue): Use
20289 h8300_current_function_interrupt_function_p.
20290 Do not set interrupt_handler, os_task, monitor.
20291 (h8300_current_function_interrupt_function_p): New.
20292 (h8300_pr_interrupt): Set pragma_interrupt.
20293 (h8300_insert_attributes): Reset pragma_interrupt.
20294
b15da5b7
GP
202952003-01-03 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
20296
20297 * doc/install.texi (Configuration): Fix markup for reference to
20298 gcc/config.gcc.
20299
bf16e745
KH
203002003-01-02 Kazu Hirata <kazu@cs.umass.edu>
20301
20302 * config/h8300/h8300.md (*iorhi3_zext): Relax the condition.
20303 (*iorhi3_two_qi): Likewise.
20304 (*iorsi3_zexthi): Likewise.
20305 (*xorhi3_zextqi): Likewise.
20306 (*xorsi3_zexthi): Likewise.
20307 (*xorsi3_zextqi): Likewise.
20308
8ccf5d5f
KH
203092003-01-02 Kazu Hirata <kazu@cs.umass.edu>
20310
20311 * config/h8300/h8300.c (stack_pointer_operand): New.
20312 (const_int_gt_2_operand): Likewise.
20313 (const_int_ge_8_operand): Likewise.
20314 * config/h8300/h8300.md (a splitter): Likewise.
20315 (a peephole2): Likewise.
20316 * config/h8300/h8300-protos.h: Add prototypes for the new
20317 functions above.
20318
43c6a96a
SB
203192003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
20320
20321 * objc/Make-lang.in, objc/config-lang.in, objc/lang-specs.h,
20322 objc/objc-act.h: Fix copyright years.
20323
96c4e780
SB
203242003-01-02 Steven Bosscher <s.bosscher@student.tudelft.nl>
20325
20326 * doc/passes.texi: Fix documentation for -fssa-ccp
20327
8ed0a104
NB
203282003-01-02 Neil Booth <neil@daikokuya.co.uk>
20329
20330 * gccbug.in: Update for new categories.
20331
1b9f0361
KH
203322003-01-01 Kazu Hirata <kazu@cs.umass.edu>
20333
20334 * config/h8300/h8300.md: Reorder some patterns.
20335
dc5f17ec
KH
203362003-01-01 Kazu Hirata <kazu@cs.umass.edu>
20337
20338 * config/h8300/h8300.c (output_logical_op): Fix a warning.
20339
cd2801fb
NB
203402003-01-01 Neil Booth <neil@daikokuya.co.uk>
20341
20342 * config/darwin-protos.h, config/c4x/c4x-protos.h,
20343 config/cris/cris-protos.h, config/i370/i370-protos.h,
20344 config/i960/i960-protos.h, config/ia64/ia64-protos.h,
20345 config/v850/v850-protos.h: Use struct, and don't conditionally
20346 compile on GCC_C_PRAGMA_H.
20347
378b1b8e
KH
203482003-01-01 Kazu Hirata <kazu@cs.umass.edu>
20349
20350 * config/arm/arm-protos.h: Remove #ifdef GCC_C_PRAGMA_H.
20351 * config/h8300/h8300-protos.h: Likewise.
20352 * config/sh/sh-protos.h: Likewise.
20353
7106a5bc
KH
203542003-01-01 Kazu Hirata <kazu@cs.umass.edu>
20355
20356 * config/arm/arm-protos.h: Use struct cpp_reader instead of
20357 cpp_reader.
20358 * config/h8300/h8300-protos.h: Likewise.
20359 * config/sh/sh-protos.h: Likewise.
20360
231b51a1
NB
203612003-01-01 Neil Booth <neil@daikokuya.co.uk>
20362
20363 * config/arm/arm.c (arm_pr_long_calls, arm_pr_no_long_calls,
20364 arm_pr_long_calls_off): Use struct.
20365 * config/h8300/h8300.c (h8300_pr-interrupt, h8300_pr_saveall)
20366 : Similarly.
20367 Don't include cpplib.h.
20368 * config/sh/sh.c (sh_pr_interrupt, sh_pr_trapa,
20369 sh_pr_nosave_low_regs): Similarly.
20370
0f18b2b0
KH
203712003-01-01 Kazu Hirata <kazu@cs.umass.edu>
20372
20373 * config/h8300/h8300.c: Include cpplib.h.
20374
b9593599
SB
203752003-01-01 Steven Bosscher <s.bosscher@student.tudelft.nl>
20376
20377 * objc/Make-lang.in, objc/config-lang.in, objc/lang-options.h,
20378 objc/lang-specs.h, objc/objc-act.c, objc/objc-act.h,
20379 objc/objc-lang.c, objc/objc-tree.def: Replace "GNU CC" with
20380 "GCC" in the copyright header.
20381
c58b209a
NB
203822003-01-01 Neil Booth <neil@daikokuya.co.uk>
20383
20384 * c-pragma.c (c_register_pragma): New.
20385 (init_pragma): Use it.
20386 * c-pragma.h (cpp_register_pragma): Don't declare.
20387 (c_register_pragma): New.
20388 * cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
20389 * config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
20390 * config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
20391 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
20392 * config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
20393 * config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
20394 * config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
20395 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
20396 * config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
20397 * config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
20398 * config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
20399 * doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
20400
7210d5ae 20401See ChangeLog.8 for earlier changes.
This page took 2.853445 seconds and 5 git commands to generate.