]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
t-linux64 (MULTILIB_OPTIONS): Remove mno-app-regs|mcmodel=medany.
[gcc.git] / gcc / ChangeLog
CommitLineData
fb7d9c35
JJ
12002-10-08 Jakub Jelinek <jakub@redhat.com>
2
3 * config/sparc/t-linux64 (MULTILIB_OPTIONS): Remove
4 mno-app-regs|mcmodel=medany.
5 (MULTILIB_DIRNAMES, MULTILIB_OSDIRNAMES): Remove alt.
6 (MULTILIB_EXCEPTIONS, MULTILIB_EXCLUSIONS, MULTILIB_MATCHES): Remove.
7 (CRTSTUFF_T_CFLAGS): Define.
8
11f3e4c7
RS
92002-10-08 Roger Sayle <roger@eyesopen.com>
10
11 PR target/8087
12 * simplify-rtx.c (avoid_constant_pool_reference): Allow constant
13 pool references that are constructed using LO_SUM.
14
bf52f899
NS
152002-10-08 Nathan Sidwell <nathan@codesourcery.com>
16
17 * c-opts.c (c_common_decode_option): Add warn_strict_aliasing to
18 -Wall.
19 * c-typeck.c (build_c_cast): Use warn_strict_aliasing, tweak
20 message.
21 * flags.h (warn_strict_aliasing): Declare.
22 * toplev.c (warn_strict_aliasing): Define.
23 (lang_independent_options): Add it.
24 * doc/invoke.texi (-Wstrict-aliasing): Document it.
25
36624850
ZW
262002-10-08 Zack Weinberg <zack@codesourcery.com>
27
28 * system.h (GCCBUGURL): Delete.
29 * version.c (bug_report_url): New. Add commentary about
30 modifying both these strings in modified distributions.
31 * version.h: Declare bug_report_url.
32
33 * diagnostic.c, gcc.c, gcov.c: Globally replace GCCBUGURL with
34 bug_report_url.
35
218145d6
NC
362002-10-08 Nick Clifton <nickc@redhat.com>
37
38 * config/rs6000/spe.h (__ev_set_acc_u64): Use __ev_create_u64 to
39 convert uint64_t into __ev64_opaque__.
40 (__ev_set_acc_s64): Likewise, but using signed types.
41
bb02f6ed
UW
422002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
43
44 * config/s390/s390.md ("*doloop_si_long"): Add missing operand.
45 ("*doloop_di_long"): Likewise.
46
4fdbcfb2
JH
47Tue Oct 8 16:50:10 CEST 2002 Jan Hubicka <jh@suse.cz>
48
49 * print-rtl.c (print_rtx): Increase buffer size for real numbers.
50
e80f2609
RS
512002-10-08 Richard Sandiford <rsandifo@redhat.com>
52
53 * config/mips/mips.md (define_attr cpu): Add r4111.
54
36624850 552002-10-08 Anthony Green <green@redhat.com>
4213a3b6 56
36624850 57 * bitmap.c (bitmap_equal_p): Clear all bitmap_head fields.
4213a3b6 58
25009e02
MH
592002-10-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
60
61 * config/c4x/c4x.c (c4x_print_operand): Enlarge buffer
62 for REAL_VALUE_TO_DECIMAL output.
63
fcce224d
DE
642002-10-07 David Edelsohn <edelsohn@gnu.org>
65
66 * config/rs6000/rs6000.c (rs6000_override_options): Set
67 real_format_for_mode for IBM extended format, if enabled.
68 (easy_fp_constant): Add TFmode.
69 (rs6000_legitimize_address): Add TFmode.
70 (rs6000_legitimate_address): Same.
71 (function_arg_advance): TFmode uses two FPRs.
72 (rs6000_emit_prologue): Fix warning.
73 (rs6000_output_function_epilogue): Add TFmode.
74 (output_toc): Add TFmode.
75 * rs6000.h (SLOW_UNALIGNED_ACCESS): Add TFmode.
76 (LEGITIMATE_OFFSET_ADDRESS_P): Add TFmode.
77 * rs6000.md (movtf splitter): Load TFmode constant.
78
dad482e6 792002-10-07 Dale Johannesen <dalej@apple.com>
fcce224d 80
dad482e6
DJ
81 * rtl.h: Add NOTE_PRECONDITIONED.
82 * unroll.c: Set it.
83 * loop.c: Set loop_info->preconditioned from it.
84 * doloop.c: Permit doloop treatment when loop_info->preconditoned.
85
de3beb7c
RH
862002-10-07 Richard Henderson <rth@redhat.com>
87
88 * config/i960/i960.c (i960_setup_incoming_varargs): Create a
89 new rtx for comparing the argument pointer against zero.
90 (i960_va_start): Similarly.
91
87cb2a87
RH
922002-10-07 Richard Henderson <rth@redhat.com>
93
94 * config/i960/i960.md (*): Use TFmode, not XFmode.
95 * config/i960/i960.c (*): Likewise.
96 (i960_arg_size_and_align): Remove XFmode alignment hack.
97 (i960_round_align): Merge code from ROUND_TYPE_ALIGN.
98 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Use 128, not 96.
99 (MAX_LONG_DOUBLE_TYPE_SIZE): Likewise.
100 (DATA_ALIGNMENT, ROUND_TYPE_SIZE): Remove.
101
5ef38d2a
RH
1022002-10-07 Richard Henderson <rth@redhat.com>
103
104 * config/fp-bit.c (EXTENDED_FLOAT_STUBS): Flush out all XF/TFmode
105 entry points; use void return value and argument list.
106
e7f9979a
NS
1072002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp>
108
109 * t-pdp11: Add MULTILIB support for msoft-float.
110 * pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
111
112 * t-pdp11: Add LIB2FUNCS_EXTRA.
36624850 113 * pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
e7f9979a
NS
114 add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
115 'fldd' to 'ldd', rename 'fstd' to 'std'.
116 (pdp11_output_function_epilogue): Likewise.
117 (output_move_quad): Make the comment gas compatible.
118 (output_ascii): Add preceding 0 to the octal constant.
119 (print_operand_address): Add pre_modify, post_modify.
120 (output_addr_const_pdp11): Add preceding 0 to the octal constant.
121 * pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
36624850 122 with the indication of Paul Koning.
e7f9979a
NS
123 (PRINT_OPERAND): Fix floating constant.
124 * pdp11.md (movdi): Restrict matching pattern.
125 (movqi): Generalize the matching pattern.
126 (movdf): Restrict matching pattern.
127 (zero_extendqihi2): Change constant representation.
128 (floatsidf2): Fix wrong operands.
129 (addqi3): Fix wrong instruction name.
130 (subqi3): Fix wrong instruction name.
131 (andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
132 (xorsi3): Fix wrong insn.
133 (one_cmplqi2): Add two operand pattern.
134 (lsrsi3): New.
135 (negsi2): New.
136 (call): Add register indirect case.
137 (mod): Fix wrong subreg.
138
4ef7870a 1392002-09-25 Eric Botcazou <ebotcazou@libertysurf.fr>
36624850 140 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4ef7870a
EB
141
142 PR c/7411
143 * expr.c (expand_expr) [PLUS]: Simplify after the operands
144 have been expanded in EXPAND_NORMAL mode.
145
a2900460
RH
1462002-10-06 Richard Henderson <rth@redhat.com>
147
148 * config/rs6000/rs6000.md (load_toc_v4_PIC_2): Fix base constraint.
149
ff025ab9
RH
1502002-10-06 Richard Henderson <rth@redhat.com>
151
152 PR optimization/2960
153 * toplev.c (rest_of_compilation): Don't copy_loop_headers if
154 optimize_size.
155
48b80d93
AO
1562002-10-06 Alexandre Oliva <aoliva@redhat.com>
157
158 * config/mips/mips.h (SIZE_TYPE, PTRDIFF_TYPE): Override
159 previously definitions.
160
7c7c549e
FCE
1612002-10-06 Frank Ch. Eigler <fche@redhat.com>
162
163 * cppinit.c (init_standard_includes, parse_option): Use strncmp.
164 * c-opts.c (find_opt): Similarly.
165
c49d2df6
JJ
1662002-10-05 Jakub Jelinek <jakub@redhat.com>
167
168 * gcc.c (set_multilib_dir): Don't access *end.
169 Use memcpy instead of strncpy. Don't write beyond malloced buffer.
170 (print_multilib_info): Don't show paths starting with ".:".
171 * genmultilib: Add new option, "yes" if multilibs are enabled.
172 Update comments. If multilibs not enabled, print .:${osdirout}
173 for each directory. If multilibs are enabled, always print
174 ${dirout}:${osdirout}, even if the two are the same.
175 * Makefile.in (s-mlib): Pass @enable_multilib@ to genmultilib.
176 Pass all MULTILIB_* variables to genmultilib even if
177 --disable-multilib but MULTILIB_OSDIRNAMES is not empty.
178
d758c1db
BK
1792002-10-04 Bruce Korb <bkorb@gnu.org>
180
181 * fixinc/inclhack.def(hpux11_abs): use format fix
182 * fixinc/fixincl.x: regenerate
183 * fixinc/tests/base/stdlib.h: accommodate new fix test
184
b3dc87c5
JH
185Sat Oct 5 19:42:45 CEST 2002 Jan Hubicka <jh@suse.cz>
186
187 * c-common.c (cb_register_builtins): Use really_no_inline.
188
f7a21c70
DE
1892002-10-04 David Edelsohn <edelsohn@gnu.org>
190
191 * unroll.c (copy_loop_body): Remove REG_EQUAL note attached to
192 copied instruction if the note is not loop invariant.
193
081d6fb9
LR
1942002-10-04 Loren J. Rittle <ljrittle@acm.org>
195
196 * gcc/ginclude/stddef.h: Support the FreeBSD 5 typedef system.
197
c5d3d49b
SE
1982002-10-04 Steve Ellcey <sje@cup.hp.com>
199
200 * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld,
201 and -mhp-ld options to list of options. Add -mgnu-ld
202 and -mhp-ld option descriptions.
203
0fca111b
SE
2042002-10-04 Steve Ellcey <sje@cup.hp.com>
205
206 * fixinc/inclhack.def (hpux11_abs): New.
207 (stdio_va_list): change __va_list__ to __gnuc_va_list.
208 * fixinc/fixincl.x: Rebuild.
209
229b303a
RS
2102002-10-04 Roger Sayle <roger@eyesopen.com>
211
212 * config/i386/i386.h (processor_costs): Add new fields fadd,
213 fmul, fdiv, fabs, fchs and fsqrt to costs structure.
214 (RTX_COSTS): Use these fields to determine the RTX costs
215 of floating point addition/subtraction, multiplication,
216 division, fabs, negation and square root respectively.
217 * config/i386/i386.c (size_cost): Provide instruction sizes
218 for these new fields.
219 (i386_cost, i486_cost, pentium_cost, pentiumpro_cost,
220 k6_cost, athlon_cost, pentium4_cost): Provide typical cycle
221 counts for these new fields for all x86 processor variants.
222
481ed21a
KG
2232002-10-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
224
6017ba03
KG
225 * mips.c (mips_const_double_ok): Delete unused variable.
226
481ed21a
KG
227 * gengtype.c (rtx_next): Change type to int.
228
635f4680
AJ
2292002-10-04 Andreas Jaeger <aj@suse.de>
230
231 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Fix value.
232
ee6ff319
RH
2332002-10-04 Richard Henderson <rth@redhat.com>
234
235 * real.h (SIGNIFICAND_BITS): Add one more word.
236 (CONST_DOUBLE_FORMAT): Accomodate 6 words.
237 * real.c (times_pten): New.
238 (real_to_decimal, real_from_string): Use it.
239 (sticky_rshift_significand): Use & to find modulus.
240 (rshift_significand, lshift_significand): Likewise.
241 (do_divide): Apply sticky bit after normalization.
242 (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.
243
6d8dd940
AJ
2442002-10-03 Andreas Jaeger <aj@suse.de>
245
246 * gengtype.c (adjust_field_rtx_def): Cast variables of type size_t
247 to unsigned long, adjust printf format string.
248 (output_mangled_typename): Likewise.
249
191fe2bb
JT
2502002-10-03 Jason Thorpe <thorpej@wasabisystems.com>
251
252 * config/vax/vax.c (vax_output_function_prologue): Use asm_fprintf.
253 * config/vax/vax.h (VAX_FUNCTION_PROFILER_NAME): New.
254 (FUNCTION_PROFILER): Rewrite to use ASM_GENERATE_INTERNAL_LABEL,
255 assemble_name, asm_fprintf, and VAX_FUNCTION_PROFILER_NAME.
256 (ASM_OUTPUT_MI_THUNK): Use asm_fprintf instead of REGISTER_PREFIX.
257 (PRINT_OPERAND_PUNCT_VALID_P): Fix comment.
258 * config/vax/elf.h (FUNCTION_PROFILER): Remove.
259 (VAX_FUNCTION_PROFILER_NAME): Redefine as "__mcount".
260
6397d80b
MM
2612002-10-03 Mark Mitchell <mark@codesourcery.com>
262
263 * doc/invoke.texi (-Wabi): Document mangling bug.
264
69c75916
AM
2652002-10-04 Alan Modra <amodra@bigpond.net.au>
266
267 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use a
268 name for the tbtab label that depends on the function asm name.
269 Don't output tbtab label unless optional_tbtab.
270 (output_mi_thunk): Formatting.
271
adf2ac37
RH
2722002-10-03 Richard Henderson <rth@redhat.com>
273
274 * config/m68k/m68k.h (OVERRIDE_OPTIONS): Move additional code ...
275 * config/m68k/m68k.c (override_options): ... here.
276 * config/m68k/m68kelf.h (OVERRIDE_OPTIONS): Remove.
277 * config/m68k/m68kv4.h (OVERRIDE_OPTIONS): Remove.
278 * config/m68k/linux.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
279 * config/m68k/netbsd-elf.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
280
a7519393
RH
2812002-10-03 Richard Henderson <rth@redhat.com>
282
283 * real.h (struct real_value): Use ENUM_BITFIELD.
284
41552736
RH
2852002-10-03 Richard Henderson <rth@redhat.com>
286
287 * config/i960/i960.md (call, call_value): Use emit_call_insn.
288
882affa8
SE
2892002-10-03 Steve Ellcey <sje@cup.hp.com>
290
291 * config/pa/pa64-hpux.h (INIT_ENVIRONMENT): New.
292
83eb95f9
SE
2932002-10-03 Steve Ellcey <sje@cup.hp.com>
294
295 * config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
296 * config/pa/pa.h (MASK_GNU_LD): New.
297 (TARGET_GNU_LD): New.
6d8dd940 298 * config/pa/pa64-hpux.h (LINK_SPEC): Set based
83eb95f9
SE
299 on gnu-ld and MASK_GNU_LD.
300 (SUBTARGET_SWITCHES): New gnu-ld & hp-ld flags.
301
b72b1c29
JH
302Thu Oct 3 23:35:51 CEST 2002 Jan Hubicka <jh@suse.cz>
303
304 * i386.c (athlon_cost): Fix the move costs.
305
92b7a2a5
JH
306Thu Oct 3 23:20:58 CEST 2002 Jan Hubicka <jh@suse.cz>
307
308 * final.c (final): Use symbol name as function name for profiling.
309 * profile.c (get_exec_counts): Likewise.
310 (branch_prob): Likewise.
311
429489e5
JJ
3122002-10-03 Jakub Jelinek <jakub@redhat.com>
313
314 * longlong.h (__udiv_qrnnd): Remove PARAMS from prototype.
315
5bbcd587
JJ
3162002-10-03 Jakub Jelinek <jakub@redhat.com>
317
318 * gcc.c (print_multi_os_directory): New variable.
319 (option_map): Support --print-multi-os-directory.
320 (struct prefix_list): Add os_multilib field.
321 (multilib_os_dir): New variable.
322 (static_specs): Add multilib_options.
323 (find_a_file): Add multilib argument. Search in GCC or OS multilib
324 subdirs if non-zero.
325 (read_specs, execute): Update callers.
326 (find_file): Likewise. Don't prefix name with multilib_dir, instead
327 pass 1 as multilib option.
328 (display_help): Include --print-multi-os-directory.
329 (add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
330 (process_command): Update callers. Handle --print-multi-os-directory.
331 (do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
332 set.
333 (main): Update find_a_file and add_prefix callers.
334 Handle print_multi_os_directory.
335 (struct mdswitchstr): New.
336 (mdswitches, n_mdswitches): New variables.
337 (used_arg): Add MULTILIB_DEFAULT switches too if they are not
338 present on the command line nor their mutually incompatible
339 switches.
340 (default_arg): Optimize.
341 (set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
342 array.
343 (print_multilib_info): Only print GCC multilib dir name, not OS
344 multilib dirname.
345 * genmultilib: Add osdirnames parameter. Output multilib_options
346 variable. If osdirnames is specified, output dirnames as
347 dirname:osdirname.
348 * mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
349 and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
350 to compute libgcc_s soname and install path.
351 * Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
352 SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
353 (s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
354 argument.
355
356 * config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
357 (SHLIB_SLIBDIR_SUFFIXES): Remove.
358 * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
359 ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
360 (STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
361 and -m64.
362 * config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
363 (SHLIB_SLIBDIR_SUFFIXES): Remove.
364 * config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
365 (STARTFILE_ARCH_SPEC): Remove.
366 * config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
367 (SHLIB_SLIBDIR_SUFFIXES): Remove.
368 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
369 * config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
370 (SHLIB_SLIBDIR_SUFFIXES): Remove.
371
c07f146f
JH
372Thu Oct 3 21:42:20 CEST 2002 Jan Hubicka <jh@suse.cz>
373
374 * predict.c (choose_function_section): Avoid choice for linkonce functions.
375
4c9c9a3d
JH
376Thu Oct 3 15:15:00 CEST 2002 Jan Hubicka <jh@suse.cz>
377
378 * i386.md (lea to mul peep2): Fix condition.
6d8dd940 379
f50df1d5
JDA
3802002-10-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
381
382 * pa-linux.h (FUNCTION_OK_FOR_SIBCALL): Delete macro.
383 * pa32-linux.h (FUNCTION_OK_FOR_SIBCALL): Define.
384
d631b80a
RH
3852002-10-02 Richard Henderson <rth@redhat.com>
386
387 PR opt/7124
388 * config/i386/i386.c (ix86_register_move_cost): Increase cost
389 for secondary_memory_needed pairs.
390
854ef390
NN
3912002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
392
393 * doc/vms.texi: Blow away false include file section.
394
f963b5d9
RS
3952002-10-02 Roger Sayle <roger@eyesopen.com>
396
397 PR optimization/6627
398 * toplev.c (force_align_functions_log): New global variable.
399 * flags.h (force_align_functions_log): Add extern prototype.
400 * varasm.c (assemble_start_function): Use it to force minimum
401 function alignment.
402 * config/i386/i386.h (FUNCTION_BOUNDARY): Set the correct
403 minimum function alignment to one byte.
404 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Store the virtual bit in
405 the least significant bit of vtable member function pointers.
406 * tree.h (enum ptrmemfunc_vbit_where_t): Move definition to
407 here from cp/cp-tree.h.
408
200bcf7e
JH
409Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
410
411 * i386.c (print_operand_address): Use RIP addressing for offsetted
412 label refs too.
413
88d0be17
DM
4142002-09-30 David S. Miller <davem@redhat.com>
415
416 PR middle-end/7151
417 * config/sparc/sparc.md (movdi_insn_sp32_v9): Accept 'e' regs.
418 (movdi reg/reg split): Match only on sparc32, and v9 when int regs.
419
f10aac29
RS
4202002-10-01 Roger Sayle <roger@eyesopen.com>
421
422 * unroll.c (loop_iterations): Revert 2002-09-08 change.
423
69bd00e6
RH
4242002-10-01 Richard Henderson <rth@redhat.com>
425
426 * real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.
427 (real_to_hexadecimal): Likewise.
428 * print-rtl.c (print_rtx): If we are linked with real.c, don't
429 dump the XWINT fields of a floating point CONST_DOUBLE.
430
3b5742ab
JT
4312002-10-01 Jason Thorpe <thorpej@wasabisystems.com>
432
433 * config/vax/elf.h (FUNCTION_PROFILER): Fix __mcount call.
434
fd1e5d25
RH
4352002-10-01 Richard Henderson <rth@redhat.com>
436
437 * calls.c (precompute_register_parameters): Force non-legitimate
438 constants into pseudos.
439
78872ad9
NC
4402002-10-01 Nick Clifton <nickc@redhat.com>
441
442 * config/rs6000/spe.md (spe_evrlwi): Add missing third operand
443 to assembler template.
444
3c655f42
RH
4452002-10-01 Richard Henderson <rth@redhat.com>
446
447 * dwarf2out.c (loc_descriptor_from_tree): Relax requirement
448 for TLS debug info to !DECL_EXTERNAL.
449
ec20cffb 4502002-10-01 Matt Thomas <matt@3am-software.com>
ee6ff319 451 Jason Thorpe <thorpej@wasabisystems.com>
ec20cffb
JT
452
453 * config.gcc (vax-*-netbsdelf*): Enable configuration.
6d8dd940 454 * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only
ec20cffb
JT
455 if not already defined.
456 * config/vax/elf.h: New file.
457 * config/vax/netbsd-elf.h: New file.
458 * config/vax/vax.c: Include "debug.h".
459 (vax_output_function_prologue): Add dwarf2 support. Use
460 MAIN_NAME_P when checking for VMS_TARGET stack adjust.
461 * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for
462 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767],
463 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1].
464 (VAX_ISTREAM_SYNC): Remove.
465 (INITIALIZE_TRAMPOLINE): Use gen_sync_istream.
466 (JUMP_TABLES_IN_TEXT_SECTION): Define.
467 (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer.
468 (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL
469 and assemble_name.
470 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
471 (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'.
472 (PRINT_OPERAND): Output REGISTER_PREFIX for '|'.
473 (INCOMING_RETURN_ADDR_RTX): Define.
474 * config/vax/vax.md (VUNSPEC_BLOCKAGE)
475 (VUNSPEC_SYNC_ISTREAM): Define.
476 (blockage): Use VUNSPEC_BLOCKAGE.
477 (sync_istream): New insn.
478
4792002-10-01 Richard Henderson <rth@redhat.com>
480
481 * config/vax/vax.md (call_pop, *call_pop, call_value_pop)
482 (*call_value_pop, call, call_value): Add dwarf2 EH support.
483 (*call): New insn.
484
73a73768
NS
4852002-10-01 Nathan Sidwell <nathan@codesourcery.com>
486
487 PR c/8083
488 * c-typeck.c (build_c_cast): Warn about type punning which breaks
489 type based aliasing.
490
0645ba8f
MM
4912002-10-01 Mark Mitchell <mark@codesourcery.com>
492
493 * stor-layout.c (update_alignment_for_field): New function.
494 (place_union_field): Use it.
495 (place_field): Likewise.
6d8dd940 496
f7e466a3
NS
4972002-10-01 Nathan Sidwell <nathan@codesourcery.com>
498
73a73768 499 PR other/8077
f7e466a3
NS
500 * gcc.c (cc1_options): Add space on -auxbase-strip.
501
bc9ec51b
JW
5022002-10-01 Jim Wilson <wilson@redhat.com>
503
504 * config/v850/v850.h (EPILOGUE_USES): Define.
505
a646f6cc
AH
5062002-09-30 Andrew Haley <aph@redhat.com>
507
6d8dd940 508 * flow.c (insn_dead_p): When using non-call-exceptions, don't
a646f6cc
AH
509 eliminate insns that may trap.
510 * cse.c (insn_live_p): Likewise.
511
3f7967e3
RS
5122002-10-01 Richard Sandiford <rsandifo@redhat.com>
513
514 * config/mips/mips.h (PROCESSOR_R4121): Rename to PROCESSOR_R4120.
515 (TARGET_MIPS4121): Rename to TARGET_MIPS4120.
516 * config/mips/mips.c (mips_cpu_info): Rename vr4121 to vr4120.
517 * config/mips/mips.md: Apply same renaming here.
518
41f9efba
RS
5192002-10-01 Richard Sandiford <rsandifo@redhat.com>
520
521 * config/mips/mips.c (PROCESSOR_R4320, TARGET_MIPS4320): Remove.
522 (GENERATE_MULT3_SI): Remove use of TARGET_MIPS4320.
523 * config/mips/mips.c (mips_cpu_info): Remove vr4320 entry.
524 * config/mips/mips.md (define_attr cpu): Remove r4320.
525 Remove vr4320 scheduler and uses of TARGET_MIPS4320.
526
366356d3
RS
5272002-10-01 Richard Sandiford <rsandifo@redhat.com>
528
529 * config/mips/mips.c (mips16_strings): New variable.
530 (mips_output_function_epilogue): Clear the SYMBOL_REF_FLAG of every
531 symbol in mips16_strings. Free the list.
532 (mips_encode_section_info): Keep track of local strings.
533
8ab907e8
RS
5342002-10-01 Richard Sandiford <rsandifo@redhat.com>
535
536 * config/mips/mips.md (bunge, bltgt, bungt): New define_expands.
537 (sordered_df, sordered_sf): Remove.
538 * config/mips/mips.c (get_float_compare_codes): New fn.
539 (gen_int_relational, gen_conditional_move): Use it.
540
d12b8c85
RS
5412002-10-01 Richard Sandiford <rsandifo@redhat.com>
542
543 * config/mips/mips-protos.h (mips_emit_fcc_reload): Declare.
544 * config/mips/mips.h (PREDICATE_CODES): Add fcc_register_operand.
545 * config/mips/mips.c (fcc_register_operand): New function.
546 (mips_emit_fcc_reload): New function, extracted from reload_incc.
547 (override_options): Allow TFmode values in float registers
548 if ISA_HAS_8CC.
549 * cnfig/mips/mips.md (reload_incc): Change destination prediate
550 to fcc_register_operand. Remove misleading source constraint.
551 Use mips_emit_fcc_reload.
552 (reload_outcc): Duplicate reload_incc.
553
7e765675
UW
5542002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
555
556 * longlong.h: Partially synchronize with GMP-4.1 version:
557 Use i370 definitions also for s390.
558 Add generic definition of umul_ppmm in terms of smul_ppmm.
559 [s390] (umul_ppmm): Remove.
560 [s390] (smul_ppmm): Fix incorrect assembler constraints.
561 [s390] (smul_ppmm, sdiv_qrnnd): Rename __xx to __x.
562
89f6025d
BW
5632002-09-30 Bob Wilson <bob.wilson@acm.org>
564
565 * config/xtensa/xtensa.h (REG_CLASS_NAMES, REG_CLASS_CONTENTS):
566 Add new RL_REGS register class.
567 (PREFERRED_RELOAD_CLASS, PREFERRED_OUTPUT_RELOAD_CLASS):
ee6ff319 568 Call xtensa_preferred_reload_class for both input and output reloads.
89f6025d
BW
569 * config/xtensa/xtensa.c (xtensa_regno_to_class): Use new RL_REGS class.
570 (xtensa_preferred_reload_class): Handle output reloads; use RL_REGS
571 instead of either AR_REGS or GR_REGS classes.
572 (xtensa_secondary_reload_class): Use new RL_REGS class.
573 * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class): Update.
574
7830ba7b
JDA
5752002-09-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
576
577 * pa.c (hppa_encode_label): Don't drop '*' from function labels.
578 (pa_strip_name_encoding): Strip '@' and '*', in that order.
579 * pa.h (ASM_OUTPUT_LABELREF): Output user_label_prefix except when
580 there is a '*' prefix in NAME.
581
344b78b8
JH
582Mon Sep 30 21:33:23 CEST 2002 Jan Hubicka <jh@suse.cz>
583
584 * reload.c (push_reload): Handle subregs and secondary memory.
585 * reload1.c (gen_reload): Likewise.
586
587 * jump.c (reg_or_subregno): New function.
588 * rtl.h (reg_or_subregno): Declare
589 * unroll.c (find_splittable_givs): Handle subregs.
590
17bbb839
MM
5912002-09-30 Mark Mitchell <mark@codesourcery.com>
592
593 * store-layout.c (finish_record_layout): Add free_p parameter.
594 (layout_type): Pass it.
595 * tree.h (finish_record_layout): Update prototype.
92e89ef0 596
48ddd46c
JH
597Mon Sep 30 14:57:18 CEST 2002 Jan Hubicka <jh@suse.cz>
598
599 * i386.h (TARGET_CPP_CPU_BUILTINS): Define __SSE_MATH__.
600
601 * gcse.c (cprop_jump): Check that the register has not
602 been modified
603 (cprop_jump): Likewise.
604
b93a0fe6
RE
6052002-09-30 Richard Earnshaw <rearnsha@arm.com>
606
607 * arm.h (BASE_REG_CLASS): Always return LO_REGS for Thumb.
608 (MODE_BASE_REG_CLASS, case Thumb): Only return BASE_REGS if we know
609 that we have a SImode access, and only then if reload hasn't completed;
610 for all other cases, use LO_REGS.
611
98ee7e6c
RH
6122002-09-29 Richard Henderson <rth@redhat.com>
613
614 * real.c (real_from_string): Apply sign last. Tidy exponent handling.
615
ccf7aef4
RH
6162002-09-29 Richard Henderson <rth@redhat.com>
617
b5371c18 618 PR c/8002
ccf7aef4
RH
619 * combine.c (force_to_mode): Handle FLOAT_MODE destinations
620 for CONST_INT.
621
d454e75a
DE
6222002-09-29 David Edelsohn <edelsohn@gnu.org>
623
624 * real.h (ibm_extended_format): Declare.
625 * real.c (encode_ibm_extended, decode_ibm_extended): New
626 functions.
627
89b06540
KG
6282002-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
629
630 * darwin-protos.h (darwin_asm_output_dwarf_delta): Prototype.
631
632 * ia64.c (ia64_hpux_asm_file_end): Const-ify.
633
6ca6193b
JDA
6342002-09-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
635
636 * expmed.c (extract_bit_field): Fix bit-field extraction from SUBREGs.
637
991b6592
KH
6382002-09-29 Kazu Hirata <kazu@cs.umass.edu>
639
640 * builtins.def: Fix comment formatting.
641 * c-common.def: Likewise.
642 * cfgcleanup.c: Likewise.
643 * combine.c: Likewise.
644 * gengtype.c: Likewise.
645 * params.def: Likewise.
646 * predict.def: Likewise.
647 * rtl.def: Likewise.
648 * stab.def: Likewise.
649 * stor-layout.c: Likewise.
650 * tree.def: Likewise.
651 * config/darwin.c: Likewise.
652 * config/darwin.h: Likewise.
653 * config/dbxcoff.h: Likewise.
654 * config/elfos.h: Likewise.
655 * config/fp-bit.c: Likewise.
656 * config/freebsd-spec.h: Likewise.
657 * config/interix.h: Likewise.
658 * config/libgloss.h: Likewise.
659 * config/linux-aout.h: Likewise.
660 * config/linux.h: Likewise.
661 * config/lynx-ng.h: Likewise.
662 * config/lynx.h: Likewise.
663 * config/netbsd-aout.h: Likewise.
664 * config/netbsd.h: Likewise.
665 * config/netware.h: Likewise.
666 * config/psos.h: Likewise.
667 * config/ptx4.h: Likewise.
668
43aa4e05
KH
6692002-09-28 Kazu Hirata <kazu@cs.umass.edu>
670
671 * ChangeLog.4: Fix typos.
672 * ChangeLog.6: Likewise.
673 * FSFChangeLog.10: Likewise.
674 * genattrtab.c: Fix comment typos.
675 * haifa-sched.c: Likewise.
676 * real.c: Likewise.
677 * tree.h: Likewise.
678 * config/arm/arm.c: Likewise.
679 * config/arm/crti.asm: Likewise.
680 * config/arm/crtn.asm: Likewise.
681 * config/frv/frv.c: Likewise.
682 * config/frv/frv.md: Likewise.
683 * config/h8300/h8300.md: Likewise.
684 * config/i386/rtemself.h: Likewise.
685 * config/ia64/unwind-ia64.c: Likewise.
686 * config/ip2k/ip2k.h: Likewise.
687 * config/m88k/m88k.c: Likewise.
688 * config/m88k/m88k.md: Likewise.
689 * config/mips/sr71k.md: Likewise.
690 * config/mmix/mmix.c: Likewise.
691 * config/rs6000/rs6000.c: Likewise.
692 * config/sh/sh.md: Likewise.
693
13e8651c
TR
6942002-09-26 Theodore A. Roth <troth@verinet.com>
695
92e89ef0
ZW
696 * config/avr/avr.c: Eliminate use of _PC_ in pc relative insns.
697 * config/avr/avr.md: Ditto.
13e8651c 698
57147be1
ZW
6992002-09-27 Alexander N. Kabaev <ak03@gte.com>
700
701 PR preprocessor/8055
702 * cppmacro.c (stringify_arg): Do not overflow the buffer
703 with the terminating NUL when the argument to be stringified
704 has no tokens.
705
5d0f3df7
RH
7062002-09-27 Richard Henderson <rth@redhat.com>
707
708 * unroll.c (simplify_cmp_and_jump_insns): New.
709 (unroll_loop): Use it. Use simplify_gen_foo+force_operand
710 instead of expand_simple_foo.
711
3dfda826
RH
7122002-09-27 Richard Henderson <rth@redhat.com>
713
714 PR optimization/7520
715 * cfganal.c (flow_active_insn_p): New.
716 (forwarder_block_p): Use it.
717
23b8ba81
RH
7182002-09-27 Richard Henderson <rth@redhat.com>
719
720 * emit-rtl.c (active_insn_p): Revert last change.
721
dce81a1a
JJ
7222002-09-27 Jakub Jelinek <jakub@redhat.com>
723
724 * doc/extend.texi (tls_model): Document.
725 * varasm.c (decl_tls_model): New.
726 * c-common.c (handle_tls_model_attribute): New.
727 (c_common_attribute_table): Add tls_model.
728 * config/alpha/alpha.c (alpha_encode_section_info): Use
729 decl_tls_model.
730 * flags.h (enum tls_model, flag_tls_default): Move...
731 * tree.h (enum tls_model, flag_tls_default): ...here.
732 (decl_tls_model): New prototype.
733 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
734 * config/i386/i386.c (ix86_encode_section_info): Likewise.
735 * config/i386/i386.md (tls_global_dynamic, tls_local_dynamic_base):
736 Allow !flag_pic.
737
0e9e1e0a
KH
7382002-09-27 Kazu Hirata <kazu@cs.umass.edu>
739
740 * LANGUAGES: Follow spelling conventions.
741 * rtl.def: Likewise.
742 * sbitmap.c: Likewise.
743 * sched-int.h: Likewise.
744 * sched-rgn.c: Likewise.
745 * sibcall.c: Likewise.
746 * simplify-rtx.c: Likewise.
747 * ssa.c: Likewise.
748 * stab.def: Likewise.
749 * stmt.c: Likewise.
750 * stor-layout.c: Likewise.
751 * target.h: Likewise.
752 * timevar.c: Likewise.
753 * toplev.c: Likewise.
754 * tree-dump.c: Likewise.
755 * tree-inline.c: Likewise.
756 * tree.c: Likewise.
757 * tree.def: Likewise.
758 * tree.h: Likewise.
759 * unroll.c: Likewise.
760 * varasm.c: Likewise.
761 * vmsdbgout.c: Likewise.
762 * treelang/treelang.texi: Likewise.
763 * treelang/treetree.c: Likewise.
764
b9b575e6
KH
7652002-09-27 Kazu Hirata <kazu@cs.umass.edu>
766
767 * config/h8300/h8300.c (compute_saved_regs): Use a macro
768 instead of a hard register number.
769 (get_shift_alg): Use an enumerated type instead of numbers.
770 (h8300_shift_needs_scratch_p): Likewise.
771
99a32567
DM
7722002-09-26 David S. Miller <davem@redhat.com>
773
774 PR optimization/7335
775 * calls.c (emit_library_call_value_1): Passing args by reference
776 converts a CONST function into a PURE one.
777
67cef334
DE
7782002-09-26 David Edelsohn <edelsohn@gnu.org>
779
780 * dbxout.c (FORCE_TEXT): Switch to current_function_decl, not
781 text_section.
57147be1 782 * xcoffout.h (DBX_STATIC_BLOCK_START): Remove explicit change to
67cef334
DE
783 text section.
784 * config/rs6000/rs6000.c (rs6000_override_options): Allow
785 function-sections and data-sections functionality on AIX.
786
7872002-09-26 David Edelsohn <edelsohn@gnu.org>
788 Dale Johannesen <dalej@apple.com>
789
790 * config/rs6000/rs6000.c (rs6000_emit_move): Insert zero-extend
791 in RTL for sub-word loads from memory.
792
c2310f51
RH
7932002-09-26 Richard Henderson <rth@redhat.com>
794
795 PR c/7160
796 * sched-deps.c (sched_analyze_insn): Make clobber insns depend
797 on call insns.
798
7847d627
RH
7992002-09-26 Richard Henderson <rth@redhat.com>
800
801 * emit-rtl.c (const_double_htab_eq): Remove unused variable.
802
cde0ce6e
CL
8032002-09-26 Chris Lattner <sabre@nondot.org>
804
805 * ssa.c (rename_insn_1): Handle RENAME_NO_RTX correctly when
806 handling undefined values.
807
03a62672
RH
8082002-09-26 Richard Henderson <rth@redhat.com>
809
5fd452e8 810 PR opt/7520
03a62672
RH
811 * emit-rtl.c (active_insn_p): Consider a clobber of the
812 function return value to be active even after reload.
813
b5a77fef
AM
8142002-09-27 Alan Modra <amodra@bigpond.net.au>
815
816 * doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
817 by absolute loop increment, not loop increment.
818
40f03658
KH
8192002-09-26 Kazu Hirata <kazu@cs.umass.edu>
820
821 * c-common.h: Follow spelling conventions.
822 * cpplex.c: Likewise.
823 * cpplib.h: Likewise.
824 * gthr-dce.h: Likewise.
825 * gthr-posix.h: Likewise.
826 * optabs.c: Likewise.
827 * output.h: Likewise.
828 * profile.c: Likewise.
829 * protoize.c: Likewise.
830 * ra-rewrite.c: Likewise.
831 * real.c: Likewise.
832 * recog.c: Likewise.
833 * reg-stack.c: Likewise.
834 * regclass.c: Likewise.
835 * regmove.c: Likewise.
836 * reload.c: Likewise.
837 * reload.h: Likewise.
838 * reload1.c: Likewise.
839 * reorg.c: Likewise.
840 * resource.c: Likewise.
841 * rtl.h: Likewise.
842 * rtlanal.c: Likewise.
843
ee8a73d6
SE
8442002-09-26 Steve Ellcey <sje@cup.hp.com>
845
846 * config/ia64/ia64.c (ia64_expand_load_address): Ensure correct mode
847 for symbol address.
848
2eb2bbdc
EC
8492002-09-24 Eric Christopher <echristo@redhat.com>
850
57147be1
ZW
851 * config/mips/elf.h: Add HANDLE_SYSV_PRAGMA.
852 * config/mips/elf64.h: Ditto.
2eb2bbdc 853
0ab38418
EC
8542002-09-24 Eric Christopher <echristo@redhat.com>
855
57147be1 856 * except.c (expand_builtin_extract_return_address): Handle case
0ab38418
EC
857 where Pmode != ptr_mode.
858
68bb91b1
SE
8592002-09-26 Steve Ellcey <sje@cup.hp.com>
860
861 * config/ia64/hpux.h (ASM_OUTPUT_EXTERNAL_LIBCALL): New
862
5429802d
SE
8632002-09-26 Steve Ellcey <sje@cup.hp.com>
864
865 * config/ia64/hpux.h (TARGET_DEFAULT): Include TARGET_ILP32.
866
855c3a2e
IS
8672002-09-26 Igor Shevlyakov <igor@microunity.com>
868
869 * combine.c (simplify_set): Don't call to force_to_mode if size
870 of integer type is larger than HOST_BITS_PER_WIDE_INT.
871
2d556baf
JJ
8722002-09-26 Janis Johnson <janis187@us.ibm.com>
873
874 * Makefile.in (qmtest-g++): Fix file path.
875
1717e19e
UW
8762002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
877
0ab38418 878 * expr.c (expand_expr) [MINUS_EXPR]: Convert A - const to
1717e19e
UW
879 A + (-const) on RTX level, even for unsigned types.
880
6cabe79e
UW
8812002-09-26 Ulrich Weigand <uweigand@de.ibm.com>
882
883 * reload.c (dup_replacements): New function.
884 (find_reloads): Use it to duplicate replacements at the top level
885 of match_dup operands.
886
0855247a
MB
8872002-09-26 Miles Bader <miles@gnu.org>
888
889 * v850.md ("length"): Change default value to 4.
890
6335b0aa
KH
8912002-09-26 Kazu Hirata <kazu@cs.umass.edu>
892
893 * ChangeLog.1: Follow spelling conventions.
894 * ChangeLog.4: Likewise.
895 * ChangeLog.6: Likewise.
896 * FSFChangeLog.11: Likewise.
897 * doc/cpp.texi: Likewise.
898 * doc/invoke.texi: Likewise.
899 * doc/tm.texi: Likewise.
900
09818236
NC
9012002-09-26 Nick Clifton <nickc@redhat.com>
902
903 * config.gcc: Add x prefix to v850e case for handling
904 --with-cpu=v850e.
905
8a3996fd
DM
9062002-09-25 David S. Miller <davem@redhat.com>
907
908 PR target/7842
909 * config/sparc/sparc.c (set_extends): SImode ASHIFT does not
910 extend.
911
8580f7a0
RH
9122002-09-25 Richard Henderson <rth@redhat.com>
913
914 * emit-rtl.c (const_double_htab_eq): Distinguish integer and
915 fp CONST_DOUBLE; use real_identical.
916
956d9305
MM
9172002-09-25 Mark Mitchell <mark@codesourcery.com>
918
919 * doc/invoke.texi: Add more -Wabi examples.
920
3ccbe819
RS
9212002-09-25 Richard Sandiford <rsandifo@redhat.com>
922
923 * config/mips/mips.h (TARGET_MIPS4100): Add missing bracket.
924
2106e42a
DC
9252002-09-24 Denis Chertykov <denisc@overta.ru>
926
927 * config/ip2k/ip2k.c (function_epilogue): Fix wrong numbers in
928 cases of optimizing "add sp,w" to "inc sp".
929
58e60158
AN
9302002-09-24 Adam Nemet <anemet@lnxw.com>
931
57147be1
ZW
932 * config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
933 epilogue for naked functions.
58e60158 934
59be6073 9352002-09-24 Adam Nemet <anemet@lnxw.com>
57147be1 936 Nick Clifton <nickc@redhat.com>
59be6073
AN
937
938 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
939 (FUNCTION_PROFILER): Only invoke THUMB_FUNCTION_PROFILER if it
940 is defined.
941
100c7420
UW
9422002-09-24 Ulrich Weigand <uweigand@de.ibm.com>
943
944 * config/s390/s390.c (preferred_la_operand_p): New function.
945 * config/s390/s390-protos.h (preferred_la_operand_p): Declare it.
946 * config/s390/s390.md ("addaddr_esame", "*la_ccclobber"): Replace by ...
947 ("*la_64_cc", "*la_31_cc", splitters): ... these.
948 ("*la_31"): Deactivate for TARGET_64BIT.
949 ("*la_31_and", "*la_31_and_cc"): New.
950
9fc63af5
KG
9512002-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
952
953 * real.h (real_value): Make `exp' explicitly signed.
954
43a88a8c
KH
9552002-09-24 Kazu Hirata <kazu@cs.umass.edu>
956
957 * config/elfos.h: Follow spelling conventions.
958 * config/alpha/alpha.h: Likewise.
959 * config/arc/arc.h: Likewise.
960 * config/arm/arm.md: Likewise.
961 * config/avr/avr.h: Likewise.
962 * config/cris/cris.md: Likewise.
963 * config/d30v/d30v.h: Likewise.
964 * config/frv/frv.c: Likewise.
965 * config/frv/frv.h: Likewise.
966 * config/h8300/h8300.c: Likewise.
967 * config/h8300/h8300.h: Likewise.
968 * config/h8300/h8300.md: Likewise.
969 * config/i386/cygwin.h: Likewise.
970 * config/i386/i386.h: Likewise.
971 * config/i386/sysv3.h: Likewise.
972 * config/i960/i960.h: Likewise.
973 * config/ia64/ia64.h: Likewise.
974 * config/ia64/ia64.md: Likewise.
975 * config/ip2k/ip2k.h: Likewise.
976 * config/m32r/m32r.h: Likewise.
977 * config/m68k/m68k.h: Likewise.
978 * config/m88k/m88k.h: Likewise.
979 * config/mcore/mcore.c: Likewise.
980 * config/mcore/mcore.h: Likewise.
981 * config/mcore/mcore.md: Likewise.
982 * config/mips/mips.h: Likewise.
983 * config/mmix/mmix.h: Likewise.
984 * config/mmix/mmix.md: Likewise.
985 * config/ns32k/netbsd.h: Likewise.
986 * config/ns32k/ns32k.h: Likewise.
987 * config/ns32k/ns32k.md: Likewise.
988 * config/pa/pa.h: Likewise.
989 * config/romp/romp.h: Likewise.
990 * config/rs6000/rs6000.h: Likewise.
991 * config/rs6000/rs6000.md: Likewise.
992 * config/sparc/sparc.h: Likewise.
993 * config/stormy16/stormy-abi: Likewise.
994 * config/stormy16/stormy16.h: Likewise.
995 * config/vax/vax.h: Likewise.
996
b4f94ac1
ZW
9972002-09-23 Zack Weinberg <zack@codesourcery.com>
998
999 * version.c (version_string): Now const char[].
1000 * version.h: Update to match.
1001
9ef1b13a
RH
10022002-09-23 Richard Henderson <rth@redhat.com>
1003
1004 * config/i386/i386.h (MASK_ACCUMULATE_OUTGOING_ARGS_SET, MASK_MMX_SET,
1005 MASK_SSE_SET, MASK_SSE2_SET, MASK_3DNOW_SET, MASK_3DNOW_A_SET): Kill.
1006 (TARGET_SWITCHES): Don't reference them.
1007 * config/i386/i386.c (override_options): Use target_flags_explicit
1008 to examine bits set by the user.
1009
ca9d6748 10102002-09-23 Dale Johannesen <dalej@apple.com>
9ef1b13a 1011
ca9d6748
DJ
1012 * dbxout.c (dbxout_parms): Set current_sym_code for params
1013 passed on stack by invisible reference.
1014
97d48e5a
RE
10152002-09-23 Richard Earnshaw <rearnsha@arm.com>
1016
1017 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Always allocate
1018 at least one byte of space.
1019
46c83bce
MM
10202002-09-23 Mark Mitchell <mark@codesourcery.com>
1021
1022 * c-common.h (flag_abi_version): Fix typo in comment.
1023 * doc/invoke.texi (flag_abi_version): Document default value.
1024
acb5d088
HPN
10252002-09-23 Hans-Peter Nilsson <hp@axis.com>
1026
1027 * doc/extend.texi (Extended Asm): Clarify that overlap between
1028 asm-declared register variables used in an asm and the asm clobber
1029 list is not allowed.
1030 * stmt.c (decl_conflicts_with_clobbers_p): New function.
1031 (expand_asm_operands): Keep track of clobbered registers. Call
1032 decl_conflicts_with_clobbers_p for each input and output operand.
1033 If no conflicts found before, also do conflict sanity check when
1034 emitting clobbers.
1035
ddf0fc72
RH
10362002-09-23 Richard Henderson <rth@redhat.com>
1037
1038 * c-common.c (cpp_define_data_format): Remove.
1039 (cb_register_builtins): Don't define __WCHAR_BIT__, __SHRT_BIT__,
1040 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
1041 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
1042 * doc/cpp.texi: Don't document them either.
1043 (__SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__,
1044 __LONG_LONG_MAX__): Document.
1045 (__TARGET_FLOAT_FORMAT__): Remove.
1046
a520ff95
RH
10472002-09-23 Richard Henderson <rth@redhat.com>
1048
1049 * real.c (do_multiply): Normalize U before addition.
1050
2d3e278d
MM
10512002-09-23 Mark Mitchell <mark@codesourcery.com>
1052
1053 * c-common.c (flag_abi_version): New variable.
1054 * c-common.h (flag_abi_version): Declare it.
1055 * c-opts.c (missing_arg): Add -fabi-version.
1056 (c_common_decode_option): Process -fabi-version.
1057 * doc/invoke.texi (-fabi-version): Document it.
1058 (-Wabi): Add information about bit-fields in unions.
b4f94ac1 1059
173b51b5
JT
10602002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
1061
1062 * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
1063 unless -fno-pic or -fno-PIC is specified.
1064
c219e1da
JDA
10652002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
1066
1067 * c-common.c (preprocessing_trad_p): Define.
1068 * pa-hiux.h, pa-hpux.h, pa-hpux7.h (CPP_PREDEFINES): Delete.
1069 (TARGET_OS_CPP_BUILTINS, SUBTARGET_SWITCHES): Define.
1070 * pa-hpux10.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
1071 * pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define.
1072 * pa-linux.h (CPP_PREDEFINES): Delete.
1073 (TARGET_OS_CPP_BUILTINS, CPP_SPEC): Define.
1074 * pa32-linux.h, pa64-linux.h (CPP_SPEC): Delete.
1075 * pa-osf.h, pa-pro-end.h, rtems.h (CPP_PREDEFINES): Delete.
1076 (TARGET_OS_CPP_BUILTINS): Define.
1077 * pa.h (MASK_SIO, TARGET_SIO, TARGET_PA_10): Define.
1078 (TARGET_SWITCHES): Reformat. Use N_() macro. Add SUBTARGET_SWITCHES.
1079 (SUBTARGET_SWITCHES): Provide default definition.
1080 (TARGET_OPTIONS): Reformat. Use N_() macro.
1081 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC, CPP_64BIT_SPEC,
1082 CPP_CPU_DEFAULT_SPEC, CPP_64BIT_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS,
1083 EXTRA_SPECS, CPP_SPEC, CPLUSPLUS_CPP_SPEC, CPP_PREDEFINES): Delete.
1084 (TARGET_CPU_CPP_BUILTINS): Define.
1085 (TARGET_OS_CPP_BUILTINS): Define for BSD-like systems.
1086 * doc/invoke.texi (msio, mwsio): Document new hppa options.
1087 * doc/tm.texi (TARGET_CPU_CPP_BUILTINS): Document macro
1088 preprocessing_trad_p().
1089
65a824f6
JT
10902002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
1091
1092 * doc/install.texi: Document behavior of --with-headers and
1093 --with-libs when arguments are omitted.
1094
cc2902df
KH
10952002-09-22 Kazu Hirata <kazu@cs.umass.edu>
1096
1097 * dbxout.c: Follow spelling conventions.
1098 * defaults.h: Likewise.
1099 * df.c: Likewise.
1100 * diagnostic.h: Likewise.
1101 * doloop.c: Likewise.
1102 * dwarf2out.c: Likewise.
1103 * dwarfout.c: Likewise.
1104 * emit-rtl.c: Likewise.
1105 * except.c: Likewise.
1106 * explow.c: Likewise.
1107 * expmed.c: Likewise.
1108 * expr.c: Likewise.
1109 * expr.h: Likewise.
1110 * flags.h: Likewise.
1111 * flow.c: Likewise.
1112 * fold-const.c: Likewise.
1113 * function.c: Likewise.
1114 * function.h: Likewise.
1115 * gcc.c: Likewise.
1116 * gcov-io.h: Likewise.
1117 * gcov.c: Likewise.
1118 * gcse.c: Likewise.
1119 * genattrtab.c: Likewise.
1120 * genconfig.c: Likewise.
1121 * genrecog.c: Likewise.
1122 * ggc-page.c: Likewise.
1123 * ggc.h: Likewise.
1124 * global.c: Likewise.
1125 * gthr-win32.h: Likewise.
1126 * integrate.c: Likewise.
1127 * jump.c: Likewise.
1128 * langhooks.c: Likewise.
1129 * langhooks.h: Likewise.
1130 * line-map.h: Likewise.
1131 * local-alloc.c: Likewise.
1132 * longlong.h: Likewise.
1133 * loop.c: Likewise.
1134 * loop.h: Likewise.
1135
ef49d42e
JH
1136Tue Aug 27 22:26:35 CEST 2002 Jan Hubicka <jh@suse.cz>
1137
1138 * i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
1139
1140Tue Aug 27 20:07:01 CEST 2002 Jan Hubicka <jh@suse.cz>
1141
1142 * i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
1143 for -Os/TARGET_64BIT too.
1144
da7d8304
KH
11452002-09-21 Kazu Hirata <kazu@cs.umass.edu>
1146
1147 * ChangeLog: Follow spelling conventions.
1148 * ChangeLog.0: Likewise.
1149 * ChangeLog.1: Likewise.
1150 * ChangeLog.2: Likewise.
1151 * ChangeLog.3: Likewise.
1152 * ChangeLog.4: Likewise.
1153 * ChangeLog.5: Likewise.
1154 * ChangeLog.6: Likewise.
1155 * FSFChangeLog.10: Likewise.
1156 * FSFChangeLog.11: Likewise.
1157 * alias.c: Likewise.
1158 * basic-block.h: Likewise.
1159 * c-aux-info.c: Likewise.
1160 * c-common.c: Likewise.
1161 * c-common.h: Likewise.
1162 * c-decl.c: Likewise.
1163 * c-format.c: Likewise.
1164 * c-semantics.c: Likewise.
1165 * c-typeck.c: Likewise.
1166 * calls.c: Likewise.
1167 * cfganal.c: Likewise.
1168 * cfgloop.c: Likewise.
1169 * collect2.c: Likewise.
1170 * combine.c: Likewise.
1171 * conflict.c: Likewise.
1172 * cppexp.c: Likewise.
1173 * cppfiles.c: Likewise.
1174 * cpphash.h: Likewise.
1175 * cppinit.c: Likewise.
1176 * cpplex.c: Likewise.
1177 * cpplib.c: Likewise.
1178 * cpplib.h: Likewise.
1179 * cppmacro.c: Likewise.
1180 * cse.c: Likewise.
1181
330cc6c7
RE
11822002-09-21 Richard Earnshaw <rearnsha@arm.com>
1183
1184 * netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
1185 LINK_SPEC.
1186 (LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
1187 * arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
1188 (LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
1189
5b437e0f
RE
11902002-09-21 Richard Earnshaw <rearnsha@arm.com>
1191
9ee4fa29
RE
1192 PR opt/7930
1193 * cse.c (fold_rtx): Calculate old_cost before we fold each
5b437e0f
RE
1194 operand.
1195
2a15d344
RH
11962002-09-21 Richard Henderson <rth@redhat.com>
1197
1198 * c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
1199 __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
1200 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
1201 __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
1202 __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
1203 * doc/cpp.texi: Don't document them.
1204
3fdacdf9
RH
12052002-09-21 Richard Henderson <rth@redhat.com>
1206
1207 * c-common.c (builtin_define_float_constants): Use real_format
1208 to get the floating-point parameters.
1209
3dc85dfb
RH
12102002-09-21 Richard Henderson <rth@redhat.com>
1211
1212 * real.c (struct real_format): Move to real.h.
1213 (real_format_for_mode): Rename from fmt_for_mode; update all users;
1214 initialize with ieee defaults.
1215 (real_to_target_fmt, real_from_target_fmt): New.
1216 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1217 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
b4f94ac1 1218 ieee_quad_format, i370_single_format, i370_double_format,
3dc85dfb
RH
1219 c4x_single_format, c4x_extended_format): Rename from s/_format//.
1220 (ieee_quad_format): Fix emin.
1221 (format_for_size, init_real_once): Remove.
1222 * real.h (struct real_format): Move from real.c.
1223 (real_format_for_mode): Declare.
1224 (real_to_target_fmt, real_from_target_fmt): Declare.
1225 (ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
1226 ieee_extended_intel_96_format, ieee_extended_intel_128_format,
1227 ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
1228 i370_single_format, i370_double_format, c4x_single_format,
1229 c4x_extended_format): Declare.
1230 * toplev.c (do_compile): Don't call init_real_once.
1231
1232 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1233 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1234
1235 * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
1236 * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
1237 * config/alpha/alpha.c (override_options): Set real_format_for_mode
1238 for VAX, if enabled.
1239
1240 * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
1241 for C4X.
1242
1243 * config/i370/i370.h (OVERRIDE_OPTIONS): New.
1244 * config/i370/i370.c (override_options): New.
1245 * config/i370/i370-protos.h: Update.
1246
1247 * config/i386/i386.c (override_options): Set real_format_for_mode
1248 for Intel 80-bit extended.
1249 * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
1250
1251 * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
1252 (OVERRIDE_OPTIONS): Move code...
1253 * config/i960/i960.c (i960_initialize): ... here. Set
1254 real_format_for_mode for Intel 80-bit extended.
1255
1256 * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
1257 for Intel 80-bit extended, if enabled.
1258
1259 * config/m68k/m68k.c (override_options): Set real_format_for_mode
b4f94ac1 1260 for Motorola 96-bit extended.
3dc85dfb
RH
1261
1262 * config/vax/vax.h (OVERRIDE_OPTIONS): New.
1263 * config/vax/vax.c (override_options): New.
1264 * config/vax/vax-protos.h: Update.
1265
42a6388c
AM
12662002-09-21 Alan Modra <amodra@bigpond.net.au>
1267
84d7dd4a
AM
1268 * config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
1269 #if TARGET_MACHO.
1270
42a6388c
AM
1271 * config/rs6000/rs6000.md (floatdisf2_internal2): Combine
1272 insns. Supply missing clobber of scratch reg.
1273
a0ab749a
KH
12742002-09-20 Kazu Hirata <kazu@cs.umass.edu>
1275
1276 * config/m32r/m32r.c: Follow spelling conventions.
1277 * config/m32r/m32r.h: Likewise.
1278 * config/m32r/m32r.md: Likewise.
1279 * config/m68k/m68k.c: Likewise.
1280 * config/m88k/m88k.c: Likewise.
1281 * config/mcore/mcore.c: Likewise.
1282 * config/mips/mips.c: Likewise.
1283 * config/mips/mips.h: Likewise.
1284 * config/mmix/mmix.c: Likewise.
1285 * config/mn10200/mn10200.c: Likewise.
1286 * config/ns32k/ns32k.h: Likewise.
1287 * config/pa/pa.c: Likewise.
1288 * config/pa/pa64-linux.h: Likewise.
1289 * config/pdp11/pdp11.h: Likewise.
1290 * config/romp/romp.c: Likewise.
1291 * config/romp/romp.h: Likewise.
1292 * config/rs6000/eabi.asm: Likewise.
1293 * config/rs6000/linux64.h: Likewise.
1294 * config/rs6000/rs6000.c: Likewise.
1295 * config/rs6000/rs6000.h: Likewise.
1296 * config/rs6000/rs6000.md: Likewise.
1297 * config/rs6000/sysv4.h: Likewise.
1298 * config/rs6000/xcoff.h: Likewise.
1299
2f0da74c
JW
13002002-09-20 Jim Wilson <wilson@redhat.com>
1301
1302 * config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
1303
dea73790
JJ
13042002-09-20 Jakub Jelinek <jakub@redhat.com>
1305
1306 * config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
1307 * config/i386/i386.c (legitimate_pic_address_disp_p): Handle
1308 UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
1309 (legitimate_address_p): Likewise.
1310 (legitimize_address): Use @gotntpoff and @indntpoff.
1311 (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
1312 (output_addr_const_extra): Likewise.
1313
a9b2f059
JW
13142002-09-20 Jim Wilson <wilson@redhat.com>
1315
1316 * combine.c (try_combine): When split an instruction pair, where the
1317 first has a sign_extend src, verify that the src and dest modes match.
1318
1f7422bd
RH
13192002-09-20 Richard Henderson <rth@redhat.com>
1320
1321 * config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
1322 (override_options): Do not initialize them.
1323 (mips_const_double_ok): Allow no fp constants except zero,
1324 and not even that for mips16.
1325 (const_float_1_operand): Use dconst1.
1326 * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
1327 movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
6d8dd940 1328 Don't allow arbitrary constants; fix predicates and C constraint.
1f7422bd 1329
56941bf2
NB
13302002-09-20 Neil Booth <neil@daikokuya.co.uk>
1331
1332 * cppmacro.c: Don't warn about function-like macros without
27eba309 1333 '(' during pre-expansion.
56941bf2 1334
66a0dfeb
JW
13352002-09-20 Jim Wilson <wilson@redhat.com>
1336
1337 * config/v850/v850.c (current_function_anonymous_args): Delete.
1338 (expand_prologue): Use current_function_args_info.anonymous_args.
1339 (expand_epilogue): Delete use of current_function_anonymous_args.
1340 * config/v850/v850.h (struct cum_arg): Add anonymous_args field.
1341 (INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
1342 (current_function_anonymous_args): Delete extern declaration.
1343 (SETUP_INCOMING_VARARGS): Set anonymous_args field.
1344
97b23853
GK
13452002-09-20 Geoffrey Keating <geoffk@apple.com>
1346
f51eee6a
GK
1347 * config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
1348 to load_macho_picbase.
1349 * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
1350 (load_macho_picbase): Take the symbol to use as a parameter.
1351 (macho_correct_pic): New insn.
1352 (builtin_setjmp_reciever): On Darwin, restore the PIC register.
1353
97b23853
GK
1354 * config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
1355 RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
1356 (CAN_ELIMINATE): Likewise.
1357 (INITIAL_ELIMINATION_OFFSET): Likewise.
1358 (TOC_REGISTER): Likewise.
1359
46b33600
RH
13602002-09-20 Richard Henderson <rth@redhat.com>
1361
1362 * real.c (real_hash): New.
1363 * real.h: Declare it.
1364 * cse.c (canon_hash): Use it.
1365 * cselib.c (hash_rtx): Likewise.
1366 * emit-rtl.c (const_double_htab_hash): Likewise.
1367 * rtl.h (CONST_DOUBLE_REAL_VALUE): New.
1368 * varasm.c (struct rtx_const): Reduce vector size; separate
1369 integer and fp vectors.
1370 (HASHBITS): Remove.
1371 (const_hash_1): Rename from const_hash. Use real_hash. Do not
1372 take modulus MAX_HASH_TABLE.
1373 (const_hash): New. Do take modulus MAX_HASH_TABLE.
1374 (output_constant_def): Do not take modulus MAX_HASH_TABLE.
1375 (SYMHASH): Don't use HASHBITS.
1376 (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
1377 Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
1378 (simplify_subtraction): Fix kind comparison.
1379 (const_hash_rtx): Return unsigned int. Don't use HASHBITS.
1380 Use a union to pun integer array.
1381 * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
1382 only hash two words of integral CONST_DOUBLE.
1383
40ad65d0
SE
13842002-09-20 Steve Ellcey <sje@cup.hp.com>
1385
1386 * config/ia64/hpux.h (STARTFILE_SPEC): Modify.
1387 (STARTFILE_PREFIX_SPEC): New.
1388 (LINK_SPEC): Modify.
1389 (LIB_SPEC): Modify.
1390 (LIBGCC_SPEC): New.
1391
600f3392
JJ
13922002-09-20 Jakub Jelinek <jakub@redhat.com>
1393
1394 * config/i386/i386.c (legitimate_pic_address_disp_p): Allow
1395 UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
1396
c1ff6200
JD
13972002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
1398
1399 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
1400 Add clobber of the condition code register.
1401
60b78700
RH
14022002-09-20 Richard Henderson <rth@redhat.com>
1403
1404 * real.c (do_fix_trunc): Static.
1405 (encode_ieee_single, encode_ieee_double, encode_ieee_extended,
1406 encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
1407 encode_i370_single, encode_i370_double, encode_c4x_single,
1408 encode_c4x_extended): Add default abort case.
1409
0ee6fdb5
RH
14102002-09-20 Richard Henderson <rth@redhat.com>
1411
1412 * real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
1413 MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
1414 (struct realvaluetype): Remove.
1415 (REAL_VALUE_TYPE): Use struct real_value.
1416 (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
1417 (test_real_width): New.
1418 * real.c: Global replace struct real_value with REAL_VALUE_TYPE.
1419 (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
1420 (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
1421 real_isneg, real_isnegzero, real_identical, exact_real_inverse,
1422 real_to_integer, real_to_integer2, real_to_decimal,
1423 real_to_hexadecimal, real_from_string, real_from_integer,
1424 real_inf, real_nan, real_2expN, real_convert, real_to_target,
1425 real_from_target): Likewise.
1426 * tree.h (struct tree_real_cst): Use real_value not realvaluetype.
1427 * gengtype-yacc.y (bitfieldopt): Accept an ID as well.
1428
66d93b5a
RH
14292002-09-20 Richard Henderson <rth@redhat.com>
1430
1431 * real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
1432 IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
1433 * defaults.h: ... here.
1434 * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
1435 config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
1436 config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
1437 config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
1438
6ee3db61
HPN
14392002-09-20 Hans-Peter Nilsson <hp@bitrange.com>
1440
1441 * config/mmix/mmix.md ("negdf2"): Rewrite.
1442 ("*expanded_negdf2"): New.
1443
ff076520
JW
14442002-09-19 Jim Wilson <wilson@redhat.com>
1445
1446 * combine.c (simplify_set): When optimizing a subreg src with a
1447 cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
1448
307f767b
DJ
14492002-09-19 Dale Johannesen <dalej@apple.com>
1450 * combine.c (make_extraction): Don't create
1451 invalid subreg.
1452
cc7ab9b7
UW
14532002-09-19 Ulrich Weigand <uweigand@de.ibm.com>
1454
b4f94ac1 1455 * config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
cc7ab9b7
UW
1456 and STRICT_LOW_PART within SET_DEST.
1457 * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
1458 splitters, replacing pre-reload splitters.
b4f94ac1 1459 ("*zero_extendhisi2_31", "*zero_extendqisi2_31",
cc7ab9b7
UW
1460 "*zero_extendqihi2_31"): New insns.
1461 ("*zero_extendqihi2_64"): Do not clobber CC.
1462
b64ddb88
SE
14632002-09-19 Steve Ellcey <sje@cup.hp.com>
1464
1465 * config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
1466 (DTORS_SECTION_ASM_OP): Ditto.
1467 (READONLY_DATA_SECTION_ASM_OP): Moved.
1468 (DATA_SECTION_ASM_OP): New.
1469 (SDATA_SECTION_ASM_OP): New.
1470 (BSS_SECTION_ASM_OP): New.
1471 (SBSS_SECTION_ASM_OP): New.
1472 (TEXT_SECTION_ASM_OP): New.
1473
9cd10576
KH
14742002-09-19 Kazu Hirata <kazu@cs.umass.edu>
1475
1476 * config/fp-bit.c: Follow spelling conventions.
1477 * config/d30v/d30v.c: Likewise.
1478 * config/d30v/d30v.h: Likewise.
1479 * config/fr30/fr30.c: Likewise.
1480 * config/fr30/fr30.h: Likewise.
1481 * config/fr30/fr30.md: Likewise.
1482 * config/frv/frv.c: Likewise.
1483 * config/frv/frv.h: Likewise.
1484 * config/h8300/h8300.c: Likewise.
1485 * config/h8300/lib1funcs.asm: Likewise.
1486 * config/i370/i370.c: Likewise.
1487 * config/i386/i386.h: Likewise.
1488 * config/i386/i386.md: Likewise.
1489 * config/i386/pentium.md: Likewise.
1490 * config/i386/winnt.c: Likewise.
1491 * config/i960/i960.c: Likewise.
1492 * config/ia64/ia64.h: Likewise.
1493 * config/ip2k/ip2k.c: Likewise.
1494 * config/ip2k/ip2k.h: Likewise.
1495 * config/ip2k/ip2k.md: Likewise.
1496 * config/ip2k/libgcc.S: Likewise.
1497
fff08fd8
SC
14982002-09-19 Stephen Clarke <stephen.clarke@superh.com>
1499
1500 * config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
1501 (GOTOFF_P): Extend to allow gotoff plus constant.
1502
bf3d27e6
RH
15032002-09-18 Richard Henderson <rth@redhat.com>
1504
1505 * ifcvt.c (noce_process_if_block): Correctly detect X modified
b4f94ac1 1506 with INSN_B before COND_EARLIEST. Don't check A and B for
bf3d27e6
RH
1507 modification in condition range. Reorder INSN_B for A==B properly.
1508 (if_convert): Iterate until no matches for a block.
1509
1b1f20ca
RH
15102002-09-18 Richard Henderson <rth@redhat.com>
1511
1512 * calls.c (store_one_arg): Rename default_align to parm_align;
1513 always adjust parm_align for downward padding.
1514
724838b9
RH
15152002-09-18 Richard Henderson <rth@redhat.com>
1516
1517 * toplev.c (backend_init): Move init_real_once invocation ...
1518 (do_compile): ... here.
1519
2c67b7c6
RH
15202002-09-18 Richard Henderson <rth@redhat.com>
1521
1522 * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
1523 RTX_UNCHANGING_P markers for successful tail-recursive replacement.
1524
15769ca3
RH
15252002-09-18 Richard Henderson <rth@redhat.com>
1526
1527 * real.c (round_for_format): Collect sticky as unsigned long, not bool.
1528
678b7733
AM
15292002-09-19 Alan Modra <amodra@bigpond.net.au>
1530
1531 * config/rs6000/rs6000.md: (floatdisf2): Rename to
1532 floatdisf2_internal1.
1533 (floatdisf2): New define_expand.
1534 (floatdisf2_internal2): Likewise.
1535
c402b6bf
RH
15362002-09-18 Richard Henderson <rth@redhat.com>
1537
b4f94ac1 1538 * real.c (sticky_rshift_significand): Collect sticky as
c402b6bf
RH
1539 unsigned long, not bool.
1540
dea09b1b
UW
15412002-09-18 Ulrich Weigand <uweigand@de.ibm.com>
1542
1543 * config/s390/s390.c (s390_address_cost): New function.
1544 config/s390/s390-protos.h (s390_address_cost): Add prototype.
1545 config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
1546 (RTX_COST): Use COSTS_N_INSNS.
1547
e4850f36
DR
15482002-09-18 Douglas Rupp <rupp@gnat.com>
1549 Donn Terry <donnte@microsoft.com>
1550
1551 * stor-layout.c (place_field): Handle alignment of whole
1552 structures when MSVC compatible bitfields are involved.
1553 Change method of computing location of MS bitfields to
1554 be compatible with #pragma pack(n).
1555
1556 * tree.h (record_layout_info): Add new field
1557 remaining_in_alignment.
1558
1559 * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
43a88a8c 1560 (pragma pack): Add paragraph on MSVC bit-field packing.
e4850f36 1561
872e50d3
RE
15622002-09-18 Richard Earnshaw (reanrsha@arm.com)
1563
1564 PR optimization/7967
1565 * arm.md (ne_zeroextractsi): Add clobber of the condition code
1566 register.
1567
5e7a8ee0
KH
15682002-09-18 Kazu Hirata <kazu@cs.umass.edu>
1569
9cd10576 1570 * config/s390/s390.c: Follow spelling conventions.
5e7a8ee0
KH
1571 * config/sh/lib1funcs.asm: Likewise.
1572 * config/sh/sh.c: Likewise.
1573 * config/sh/sh.h: Likewise.
1574 * config/sparc/sparc.c: Likewise.
1575 * config/sparc/sparc.h: Likewise.
1576 * config/sparc/sparc.md: Likewise.
1577 * config/stormy16/stormy16.c: Likewise.
1578 * config/stormy16/stormy16.h: Likewise.
1579 * config/v850/v850.c: Likewise.
1580 * config/v850/v850.h: Likewise.
1581 * config/vax/vax.c: Likewise.
1582 * config/vax/vax.h: Likewise.
1583
00a892b8
NC
15842002-09-18 Nick Clifton <nickc@redhat.com>
1585
1586 * config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
1587 * config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
1588 * config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
1589
bfb53001
ZW
15902002-09-17 Zack Weinberg <zack@codesourcery.com>
1591
1592 * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
1593 statement that the only translation is to en_UK.
1594
825dda42
KH
15952002-09-17 Kazu Hirata <kazu@cs.umass.edu>
1596
1597 * config/alpha/alpha.c: Follow spelling conventions.
1598 * config/alpha/alpha.h: Likewise.
1599 * config/alpha/alpha.md: Likewise.
1600 * config/arc/arc.h: Likewise.
1601 * config/arm/arm.c: Likewise.
1602 * config/arm/arm.h: Likewise.
1603 * config/arm/arm.md: Likewise.
1604 * config/arm/pe.c: Likewise.
1605 * config/arm/unknown-elf.h: Likewise.
1606 * config/avr/avr.c: Likewise.
1607 * config/avr/avr.h: Likewise.
1608 * config/c4x/c4x.c: Likewise.
1609 * config/cris/cris.c: Likewise.
1610 * config/cris/cris.h: Likewise.
1611
8e16ab99 16122002-09-17 Samuel Figueroa <figueroa@apple.com>
825dda42 1613
8e16ab99
SF
1614 * final.c (final_scan_insn): Use new macro ASM_OUTPUT_ALIGN_WITH_NOP.
1615 * config/sparc/sparc.h (ASM_OUTPUT_ALIGN_WITH_NOP) New macro.
1616 * doc/tm.texi (ASM_OUTPUT_ALIGN_WITH_NOP) New description.
1617
ac19be7e 16182002-09-17 Dale Johannesen <dalej@apple.com>
825dda42 1619
ac19be7e
DJ
1620 * cfgcleanup.c (try_forward_edges): Do not forward a
1621 branch to just after a loop exit before loop optimization;
1622 this interfered with doloop detection.
1623
f1acdf8b
NC
16242002-09-17 Nick Clifton <nickc@redhat.com>
1625
1626 * config/arm/arm.c (output_return_instruction): Do not
1627 writeback the stack pointer when it is being loaded.
1628 (arm_output_epilogue): Likewise.
1629
24491a09
KH
16302002-09-17 Kazu Hirata <kazu@cs.umass.edu>
1631
1632 * optabs.c (prepare_cmp_insn): Let emit_library_call_value
1633 generate a pseudo reg that receives the result of a libcall.
1634 (prepare_float_lib_cmp): Likewise.
1635
e6c247e0
SE
16362002-09-17 Steve Ellcey <sje@cup.hp.com>
1637
b4f94ac1 1638 * config/ia64/elf.h: Remove CPP_PREDEFINES.
e6c247e0 1639
1074d9d4
NP
1640Tue Sep 17 13:58:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
1641
1642 Fix PR/7014 and related objc bugs:
1643 * c-typeck.c (comp_target_types): Added a reflexive argument.
1644 Pass it to ObjC when/if calling objc_comptypes(). Updated all
1645 callers to provide the appropriate reflexive argument.
1646 * objc/objc-act.c (objc_comptypes): Carefully checked and fixed
1647 typechecking for all cases of comparisons and assignments,
1648 particularly the obscure and less common ones involving protocols.
1649
256e9fd2
NC
16502002-09-17 Nick Clifton <nickc@redhat.com>
1651
1652 * machmode.def (V1DImode): New mode. A single element vector.
1653 * tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
1654 (unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
1655 * tree.c (build_common_tree_nodes_2): Build
1656 unsigned_V1DI_type_node and V1D1_type_node.
1657 * c-common.c (c_common_type_for_mode): Return
1658 unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
1659 * rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
1660
838c4534
NP
1661Tue Sep 17 13:40:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
1662
1663 * doc/objc.texi (Constant string objects): Extended documentation
1664 to make clear that the constant string class ivar layout is
1665 completely fixed.
b4f94ac1 1666
07532fad
RS
16672002-09-17 Roger Sayle <roger@eyesopen.com>
1668
1669 * cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
1670 NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
1671
cb38fd88
RH
16722002-09-16 Richard Henderson <rth@redhat.com>
1673
1674 * expr.c (emit_block_move): Set memory block size as appropriate
1675 for the copy.
1676
bd055118
RH
16772002-09-16 Richard Henderson <rth@redhat.com>
1678
1679 PR fortran/3924
b4f94ac1 1680 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol.
bd055118 1681
8c317c5f
RH
16822002-09-16 Richard Henderson <rth@redhat.com>
1683
1684 * emit-rtl.c (set_mem_attributes_minus_bitpos): Adjust SIZE
1685 as well as OFFSET for BITPOS.
1686
3780101d
JG
16872002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com>
1688
b4f94ac1
ZW
1689 * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
1690 * config/i386/i386.c (processor_alias_table): Add winchip-c6,
3780101d 1691 winchip2 and c3.
b4f94ac1 1692 * doc/invoke.texi: Mention new aliases.
3780101d 1693
9dff28ab
JDA
16942002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
1695
1696 * calls.c (store_one_arg): Set default alignment for BLKmode arguments
1697 to BITS_PER_UNIT when ARGS_GROW_DOWNWARD and the padding direction is
1698 downward.
1699 * function.c (pad_below): Always compile.
1700 (locate_and_pad_parm): If defined ARGS_GROW_DOWNWARD, pad argument to
1701 alignment when it is not in a register or REG_PARM_STACK_SPACE is true.
1702 Pad below when the argument is not in a register and the padding
1703 direction is downward.
1704
1705 * pa-64.h (MUST_PASS_IN_STACK): Move define to pa.h.
1706 (PAD_VARARGS_DOWN): Define.
1707 * pa.c (function_arg_padding): Revise padding directions to make them
1708 compatible with the 32 and 64-bit runtime architecture documentation.
1709 (hppa_va_arg): Add code to handle variable and size zero arguments
1710 passed by reference on TARGET_64BIT. Reformat.
1711 (function_arg): Use a PARALLEL for BLKmode and aggregates args on
1712 TARGET_64BIT. Use a DImode PARALLEL for BLKmode args 5 to 8 bytes
1713 wide when !TARGET_64BIT. Move forward check for mode==VOIDmode.
1714 Add comments.
1715 * pa.h (MAX_PARM_BOUNDARY): Correct define for TARGET_64BIT.
1716 (RETURN_IN_MEMORY): Return size zero types in memory.
1717 (FUNCTION_VALUE): Return TFmode in general registers.
1718 (MUST_PASS_IN_STACK): Define.
1719 (FUNCTION_ARG_BOUNDARY): Simplify.
1720 (FUNCTION_ARG_PASS_BY_REFERENCE): Pass variable and zero sized types
1721 by reference.
1722 (FUNCTION_ARG_CALLEE_COPIES): Define to FUNCTION_ARG_PASS_BY_REFERENCE.
1723
94313f35
RH
17242002-09-16 Richard Henderson <rth@redhat.com>
1725
1726 * real.c (do_fix_trunc): New.
1727 (real_arithmetic): Call it.
1728 * simplify-rtx.c (simplify_unary_operation): Handle FIX
1729 with a floating-point result mode.
1730
1472e41c
RH
17312002-09-16 Richard Henderson <rth@redhat.com>
1732
1733 * builtin-types.def (BT_FN_FLOAT_CONST_STRING): New.
1734 (BT_FN_DOUBLE_CONST_STRING, BT_FN_LONG_DOUBLE_CONST_STRING): New.
1735 * builtins.def (__builtin_nan, __builtin_nanf, __builtin_nanl): New.
1736 (__builtin_nans, __builtin_nansf, __builtin_nansl): New.
1737 * builtins.c (fold_builtin_nan): New.
1738 (fold_builtin): Call it.
1739 * real.c (real_nan): Parse a non-empty string.
1740 (round_for_format): Fix NaN significand truncation.
1741 * real.h (real_nan): Return bool.
1742 * doc/extend.texi: Document new builtins.
1743
f354b828
JM
17442002-09-16 Jason Merrill <jason@redhat.com>
1745 Danny Smith <dannysmith@users.sourceforge.net>
1746
1747 * config/i386/winnt.c (ix86_handle_dll_attribute): Set
1748 DECL_EXTERN and TREE_PUBLIC for dllimported variables here...
1749 (i386_pe_mark_dllimport): Not here.
1750
85341ddd
NS
17512002-09-16 Nathan Sidwell <nathan@codesourcery.com>
1752
1753 * c-semantics.c (genrtl_do_stmt): Cope with NULL cond.
1754
045572c7
GK
17552002-09-16 Geoffrey Keating <geoffk@redhat.com>
1756
1757 * config/rs6000/rs6000.c (build_mask64_2_operands): Suppress
1758 warnings about unused operands when HOST_BITS_PER_WIDE_INT is
1759 < 64.
1760 (rs6000_emit_cmove): Use real_isinf not target_isinf.
1761
d57551c7
KH
17622002-09-16 Kazu Hirata <kazu@cs.umass.edu>
1763
1764 * calls.c (emit_library_call_value_1): Don't refer to
1765 hard_libcall_value.
1766 * optabs.c (prepare_float_lib_cmp): Likewise.
1767
36a5eadd
GK
17682002-09-16 Geoffrey Keating <geoffk@apple.com>
1769
1770 * ggc-common.c (ggc_mark_rtx_children_1): Update for changed name
1771 mangling.
1772
1773 The following changes are merged from pch-branch:
1774
1775 * doc/gty.texi (GTY Options): Document %a.
1776 * gengtype.c (do_scalar_typedef): New function.
1777 (process_gc_options): Handle `length' option.
1778 (set_gc_used_type): A pointer to an array of structures doesn't
1779 qualify as a pointer to a structure.
1780 (output_escaped_param): Add `%a' escape.
1781 (write_gc_structure_fields): Allow 'desc' on array of unions.
1782 (main): Define `uint8', `jword' and `JCF_u2' as scalars; use
1783 do_scalar_typedef.
1784
1785 * gengtype.c (enum rtx_code): Make global.
1786 (rtx_format): Make global.
1787 (rtx_next): New.
1788 (gen_rtx_next): New.
1789 (write_rtx_next): New.
1790 (adjust_field_rtx_def): Skip fields marked by chain_next.
1791 (open_base_files): Delete redundant prototype.
1792 (write_enum_defn): New.
1793 (output_mangled_typename): Correct abort call.
1794 (write_gc_marker_routine_for_structure): Handle chain_next and
1795 chain_prev options.
1796 (finish_root_table): Don't output redundant \n.
1797 (main): Call gen_rtx_next, write_rtx_next, write_enum_defn.
1798 * c-tree.h (union lang_tree_node): Add chain_next option.
1799
1800 * gengtype.h (NUM_PARAM): New definition.
1801 (struct type): For TYPE_PARAM_STRUCT, allow multiple parameters.
1802 * gengtype.c (find_param_structure): New.
1803 (adjust_field_type): Handle param<n>_is option.
1804 (process_gc_options): Detect use_params option. Update callers.
1805 (set_gc_used_type): Add 'param' parameter, update callers. Handle
1806 'use_params' option.
1807 (open_base_files): Add splay-tree.h to list of files included.
1808 (output_mangled_typename): New.
1809 (write_gc_structure_fields): Update 'param' parameter to support
1810 multiple parameters. Change name mangling. Allow parameterized
1811 fields to have an apparent scalar type. Handle param<n>_is options,
1812 use_param option.
1813 (write_gc_marker_routine_for_structure): Update for change to name
1814 mangling. Better guess the output file for parameterized types.
1815 (write_gc_types): Update for change to name mangling.
1816 (write_gc_root): Update for change to name mangling. Handle (ignore)
1817 param<n>_is options.
1818 * doc/gty.texi (GTY Options): Add description of param<n>_is
1819 options, use_params option.
1820 * ggc.h (ggc_mark_rtx): Update for changed name mangling.
1821 * gengtype-lex.l: Produce token for param<n>_is.
1822 * gengtype-yacc.y: Parse param<n>_is.
1823
1824 * gengtype.c (adjust_field_tree_exp): Don't name a variable 'rindex'.
1825
1826 * rtl.c: Update comment describing rtx_format.
1827 * rtl.h (union rtunion): Separate definition and typedef.
1828 (struct rtx_def): Use gengtype to mark.
1829 * Makefile.in (gengtype.o): Also depend on rtl.def.
1830 * ggc.h (ggc_mark_rtx_children): Delete prototype.
1831 (ggc_mark_rtx): Change to alias of gengtype-generated routine.
1832 * ggc-common.c (ggc_mark_rtx_children): Delete.
1833 (ggc_mark_rtx_children_1): Delete.
1834 (gt_ggc_m_rtx_def): Delete.
1835 * gengtype.c (adjust_field_rtx_def): New.
1836 (adjust_field_type): Call adjust_field_rtx_def.
1837 (write_gc_structure_fields): Add 'default' case to switch if none
1838 is specified; remove unused code.
1839
1840 * tree.h (struct tree_exp): Update for change to meaning
1841 of special.
1842 * gengtype.c (adjust_field_tree_exp): New function.
1843 (adjust_field_type): Handle `tree_exp' special here.
1844 (write_gc_structure_fields): Don't handle `tree_exp' special here.
1845 Handle new `dot' option.
1846
1847 * gengtype.h: Make `info' a pointer-to-const.
1848 * gengtype-yacc.y (yacc_ids): Use xasprintf.
1849
1850 * gengtype.c (write_gc_structure_fields): Remove implementation
1851 of `always' option, add `default' option.
1852 * doc/gty.texi (GTY Options): Remove documentation of `always',
1853 add `default'.
1854
a7f6d760
HPN
18552002-09-16 Hans-Peter Nilsson <hp@bitrange.com>
1856
1857 * output.h: Remove #ifdef RTX_CODE and #ifdef TREE_CODE.
1858
245ff137
KG
18592002-09-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1860
7c3414b6
KG
1861 * m68hc11.md (addhi_sp): Fix uninitialized variable bug.
1862
245ff137
KG
1863 * c4x-c.c, c4x.c, darwin.c, i370-c.c, m32r.c: Include tm_p.h
1864 instead of the *-protos.h file directly.
1865 * t-c4x, t-i370, t-v850: Depend on $(TM_P_H).
1866 * darwin.c (machopic_output_stub): Move prototype ...
1867 * darwin-protos.h (machopic_output_stub): ... here.
1868 * rs6000-protos.h (machopic_output_stub): Don't declare.
1869
ac520ec9
RH
18702002-09-16 Richard Henderson <rth@redhat.com>
1871
1872 * c-common.c (builtin_define_float_constants): Emit __FOO_DENORM_MIN__.
1873
efdc7e19
RH
18742002-09-16 Richard Henderson <rth@redhat.com>
1875
1876 * real.c, real.h: Rewrite from scratch.
1877
1878 * Makefile.in (simplify-rtx.o): Depend on TREE_H.
1879 (paranoia): New target.
1880 * builtins.c (fold_builtin_inf): Use new real.h interface.
1881 * c-common.c (builtin_define_with_hex_fp_value): Likewise.
1882 * c-lex.c (interpret_float): Likewise.
1883 * emit-rtl.c (gen_lowpart_common): Likewise.
1884 * optabs.c (expand_float): Use real_2expN.
1885 * config/ia64/ia64.md (divsi3, udivsi3): Likewise.
1886 * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
1887 (FLOAT_WORDS_BIG_ENDIAN): New.
1888 * cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
1889 directly to REAL_VALUE_NEGATIVE.
1890 * loop.c (canonicalize_condition): Likewise.
1891 * simplify-rtx.c: Include tree.h.
1892 (simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
1893 with floating-point result modes.
1894 * toplev.c (backend_init): Call init_real_once.
1895
1896 * fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
1897 * tree.c (build_real): Likewise.
1898 * config/alpha/alpha.c, config/vax/vax.c (float_strings,
1899 float_values, inited_float_values, check_float_value): Remove.
1900 * config/alpha/alpha.h, config/m68hc11/m68hc11.h,
1901 config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
1902 * doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
1903 (VAX_HALFWORD_ORDER): Remove.
1904
a41c6c53
UW
19052002-09-16 Ulrich Weigand <uweigand@de.ibm.com>
1906
1907 * config/s390/s390.c: (legitimize_la_operand): Remove, replace by ...
1908 (s390_load_address): ... this new function.
1909 (s390_decompose_address): Allow the argument pointer and all
1910 virtual registers as 'pointer' registers.
1911 (s390_expand_plus_operand): Use s390_load_address.
1912 config/s390/s390.md (movti, movdi, movdf splitters): Likewise.
1913 ("force_la_31"): New insn pattern.
1914 config/s390/s390-protos.h (legitimize_la_operand): Remove.
1915 (s390_load_address): Add prototype.
1916
1917 * config/s390/s390.c: Include "optabs.h".
1918 (s390_expand_movstr, s390_expand_clrstr, s390_expand_cmpstr): New.
b4f94ac1 1919 config/s390/s390-protos.h (s390_expand_movstr, s390_expand_clrstr,
a41c6c53
UW
1920 s390_expand_cmpstr): Add prototypes.
1921 config/s390/s390.md ("movstrdi", "movstrsi"): Call s390_expand_movstr.
1922 ("movstrdi_short"): Rename to "movstr_short_64". Change predicates
1923 for operands 0 and 1 to "memory_operand". Add type attribute.
1924 ("movstrsi_short"): Rename to "movstr_short_31". Change predicates
1925 for operands 0 and 1 to "memory_operand". Add type attribute.
1926 ("movstrdi_long", "movstrsi_long"): Remove.
1927 ("movstrdi_64"): Rename to "movstr_long_64". Add type attribute.
1928 ("movstrsi_31"): Rename to "movstr_long_31". Add type attribute.
1929 ("clrstrdi", "clrstrsi"): Call s390_expand_clrstr.
1930 ("clrstrsico"): Remove, replace by ...
1931 ("clrstr_short_64", "clrstr_short_31"): ... these new patterns.
1932 ("clrstrsi_64"): Rename to "clrstr_long_64".
1933 ("clrstrsi_31"): Rename to "clrstr_long_31".
1934 ("cmpstrdi", "cmpstrsi"): Call s390_expand_cmpstr.
1935 ("cmpstr_const"): Remove, replace by ...
1936 ("cmpstr_short_64", "cmpstr_short_31"): ... these new patterns.
1937 ("cmpstr_64"): Rename to "cmpstr_long_64".
1938 ("cmpstr_31"): Rename to "cmpstr_long_31".
1939
8d9afc4e
KH
19402002-09-16 Kazu Hirata <kazu@cs.umass.edu>
1941
1942 * ABOUT-NLS: Follow spelling conventions.
1943 * ChangeLog: Likewise.
1944 * ChangeLog.1: Likewise.
1945 * ChangeLog.2: Likewise.
1946 * ChangeLog.3: Likewise.
1947 * ChangeLog.4: Likewise.
1948 * ChangeLog.5: Likewise.
1949 * ChangeLog.6: Likewise.
1950 * FSFChangeLog.10: Likewise.
1951 * FSFChangeLog.11: Likewise.
1952 * c-common.c: Likewise.
1953 * c-lex.c: Likewise.
1954 * c-objc-common.c: Likewise.
1955 * cppexp.c: Likewise.
1956 * cppinit.c: Likewise.
1957 * cpplex.c: Likewise.
1958 * doloop.c: Likewise.
1959 * flow.c: Likewise.
1960 * function.c: Likewise.
1961 * integrate.c: Likewise.
1962 * loop.c: Likewise.
1963 * reg-stack.c: Likewise.
1964 * reload.h: Likewise.
1965 * ssa.c: Likewise.
1966
981f6289
KH
19672002-09-15 Kazu Hirata <kazu@cs.umass.edu>
1968
1969 * ChangeLog: Follow spelling conventions.
1970 * ChangeLog.0: Likewise.
1971 * ChangeLog.1: Likewise.
1972 * ChangeLog.2: Likewise.
1973 * ChangeLog.4: Likewise.
1974 * ChangeLog.6: Likewise.
1975 * config.gcc: Likewise.
1976 * dwarfout.c: Likewise.
1977 * reload1.c: Likewise.
1978 * simplify-rtx.c: Likewise.
1979 * unwind-sjlj.c: Likewise.
1980 * config/avr/avr.h: Likewise.
1981 * config/d30v/d30v.h: Likewise.
1982 * config/frv/frv.c: Likewise.
1983 * config/frv/frv.h: Likewise.
1984 * config/ip2k/ip2k.h: Likewise.
1985 * config/m88k/m88k-move.sh: Likewise.
1986 * config/stormy16/stormy16.c: Likewise.
1987 * config/stormy16/stormy16.h: Likewise.
1988 * doc/extend.texi: Likewise.
1989 * doc/interface.texi: Likewise.
1990 * doc/invoke.texi: Likewise.
1991 * doc/md.texi: Likewise.
1992 * doc/rtl.texi: Likewise.
1993 * doc/tm.texi: Likewise.
1994 * doc/trouble.texi: Likewise.
1995 * ginclude/float.h: Likewise.
1996 * treelang/treelang.texi: Likewise.
1997
8764eef7
KG
19982002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1999
bb6155b5
KG
2000 * i386-protos.h (i386_pe_dllexport_name_p,
2001 i386_pe_dllimport_name_p, i386_pe_unique_section,
2002 i386_pe_declare_function_type, i386_pe_record_external_function,
2003 i386_pe_record_exported_symbol, i386_pe_asm_file_end): Add
2004 prototype.
2005 * i386/t-cygwin (winnt.o): Depend on $(TM_P_H).
2006 * i386/t-interix (winnt.o): Likewise.
2007
8764eef7
KG
2008 * v850-protos.h (v850_output_addr_const_extra): Prototype.
2009
a24f7c1a
JT
20102002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
2011
2012 * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Add
2013 MIPS ABI CPP macros.
2014 (TARGET_CPU_CPP_BUILTINS): Redefine.
2015 (SUBTARGET_EXTRA_SPECS): Remove subtarget_endian_default.
2016 (SUBTARGET_ENDIAN_DEFAULT_SPEC): Remove.
2017
bd25febf
KG
20182002-09-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2019
2020 * ia64/aix.h (TARGET_OS_CPP_BUILTINS): Fix typo.
2021
05713b80
KH
20222002-09-15 Kazu Hirata <kazu@cs.umass.edu>
2023
2024 * ChangeLog: Follow spelling conventions.
2025 * ChangeLog.0: Likewise.
2026 * ChangeLog.1: Likewise.
2027 * ChangeLog.2: Likewise.
2028 * ChangeLog.3: Likewise.
2029 * ChangeLog.4: Likewise.
2030 * ChangeLog.5: Likewise.
2031 * ChangeLog.6: Likewise.
2032 * FSFChangeLog.10: Likewise.
2033 * FSFChangeLog.11: Likewise.
2034 * c-common.c: Likewise.
2035 * c-common.h: Likewise.
2036 * c-format.c: Likewise.
2037 * c-opts.c: Likewise.
2038 * cpplib.c: Likewise.
2039 * langhooks.h: Likewise.
2040 * real.c: Likewise.
2041 * reg-stack.c: Likewise.
2042 * toplev.c: Likewise.
2043 * config/arm/arm.c: Likewise.
2044 * config/arm/arm.md: Likewise.
2045 * config/arm/linux-gas.h: Likewise.
2046 * config/arm/netbsd.h: Likewise.
2047 * config/c4x/c4x.c: Likewise.
2048 * config/c4x/c4x.h: Likewise.
2049 * config/c4x/c4x.md: Likewise.
2050 * config/c4x/libgcc.S: Likewise.
2051 * config/fr30/fr30.md: Likewise.
2052 * config/frv/frv.md: Likewise.
2053 * config/ia64/ia64.md: Likewise.
2054 * config/mips/mips.h: Likewise.
2055 * config/mn10300/mn10300.c: Likewise.
2056 * config/stormy16/stormy16.c: Likewise.
2057 * config/v850/v850.md: Likewise.
2058 * doc/extend.texi: Likewise.
2059 * doc/invoke.texi: Likewise.
2060 * doc/md.texi: Likewise.
2061
b0c2b2f9
JT
20622002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
2063
2064 * config/netbsd.h (LIB_SPEC): Include the appropriate pthread
2065 library if -pthread is specified.
2066
a0494c05
JT
20672002-09-15 Jason Thorpe <thorpej@wasabisystems.com>
2068
2069 * config.gcc (*-*-netbsd*): Set thread_file to 'posix'
2070 for --enable-threads=yes and --enable-threads=posix.
2071
56149abc
KH
20722002-09-15 Kazu Hirata <kazu@cs.umass.edu>
2073
2074 * config/sparc/cypress.md: Replace Sparc with SPARC.
2075 * config/sparc/freebsd.h: Likewise.
2076 * config/sparc/gmon-sol2.c: Likewise.
2077 * config/sparc/hypersparc.md: Likewise.
2078 * config/sparc/lb1spc.asm: Likewise.
2079 * config/sparc/lb1spl.asm: Likewise.
2080 * config/sparc/linux.h: Likewise.
2081 * config/sparc/linux64.h: Likewise.
2082 * config/sparc/lynx.h: Likewise.
2083 * config/sparc/sol2.h: Likewise.
2084 * config/sparc/sparc-modes.def: Likewise.
2085 * config/sparc/sparc.c: Likewise.
2086 * config/sparc/sparc.h: Likewise.
2087 * config/sparc/sparc.md: Likewise.
2088 * config/sparc/sparclet.md: Likewise.
2089 * config/sparc/supersparc.md: Likewise.
2090 * config/sparc/sysv4.h: Likewise.
2091 * config/sparc/vxsim.h: Likewise.
2092 * config/sparc/vxsparc64.h: Likewise.
2093
3eaf7a3c
MM
20942002-09-14 Marek Michalkiewicz <marekm@amelek.gda.pl>
2095
2096 * config/avr/avr.c (output.h): Move after inclusion of tree.h.
2097
4912a07c
KH
20982002-09-14 Kazu Hirata <kazu@cs.umass.edu>
2099
2100 * ChangeLog: Follow spelling conventions.
2101 * ChangeLog.0: Likewise.
2102 * ChangeLog.2: Likewise.
2103 * ChangeLog.3: Likewise.
2104 * ChangeLog.4: Likewise.
2105 * ChangeLog.5: Likewise.
2106 * ChangeLog.6: Likewise.
2107 * cppfiles.c: Likewise.
2108 * cppinit.c: Likewise.
2109 * cpplib.h: Likewise.
2110 * cse.c: Likewise.
2111 * debug.h: Likewise.
2112 * df.c: Likewise.
2113 * dominance.c: Likewise.
2114 * hashtable.c: Likewise.
2115 * hashtable.h: Likewise.
2116 * loop.c: Likewise.
2117 * config/arm/README-interworking: Likewise.
2118 * config/arm/arm.c: Likewise.
2119 * config/arm/arm.h: Likewise.
2120 * config/arm/arm.md: Likewise.
2121 * config/dsp16xx/dsp16xx.h: Likewise.
2122 * config/frv/frv.c: Likewise.
2123 * config/frv/frv.h: Likewise.
2124 * config/ip2k/ip2k.h: Likewise.
2125 * config/rs6000/rs6000.c: Likewise.
2126 * config/stormy16/stormy-abi: Likewise.
2127 * config/stormy16/stormy16.h: Likewise.
2128 * config/v850/v850.c: Likewise.
2129
3dc60fc7
KH
21302002-09-14 Kazu Hirata <kazu@cs.umass.edu>
2131
2132 * loop.c: Fix a comment typo.
2133
a920aefe
KH
21342002-09-14 Kazu Hirata <kazu@cs.umass.edu>
2135
2136 * config/fr30/fr30.h: Fix comment typos.
2137 * config/frv/frv.c: Likewise.
2138 * config/i386/xmmintrin.h: Likewise.
2139 * config/mips/mips.c: Likewise.
2140 * config/sh/sh.c: Likewise.
2141
88cad84b
KH
21422002-09-14 Kazu Hirata <kazu@cs.umass.edu>
2143
2144 * haifa-sched.c: Follow spelling conventions.
2145 * regclass.c: Likewise.
2146 * regrename.c: Likewise.
2147 * config/fp-bit.c: Likewise.
2148 * config/frv/frv.h: Likewise.
2149 * config/m88k/m88k.c: Likewise.
2150 * config/mcore/mcore.c: Likewise.
2151 * config/rs6000/darwin.h: Likewise.
2152 * config/rs6000/gnu.h: Likewise.
2153 * config/rs6000/linux.h: Likewise.
2154 * config/rs6000/linux64.h: Likewise.
2155 * config/rs6000/rs6000.c: Likewise.
2156 * config/rs6000/rs6000.h: Likewise.
2157 * config/sh/sh.c: Likewise.
2158 * config/sparc/sparc.c: Likewise.
2159 * config/sparc/ultra1_2.md: Likewise.
2160
f197f1cf
SC
21612002-09-14 Stephane Carrez <stcarrez@nerim.fr>
2162
2163 * config/m68hc11/m68hc11.md ("movdi_internal"): Allow any offsetable
2164 memory operand when source is 0 (K constraint).
2165 ("movsi_internal"): Likewise.
2166 ("movdf_internal"): Likewise.
2167 ("movsf_internal"): Likewise.
2168
b629ba0c
AM
21692002-09-14 Alan Modra <amodra@bigpond.net.au>
2170
2171 * config/rs6000/rs6000.c (rs6000_elf_encode_section_info): Use
2172 targetm.binds_local_p to set SYMBOL_REF_FLAG.
2173 (rs6000_xcoff_encode_section_info): Likewise.
2174 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2175
2e485129
TR
21762002-09-10 Theodore A. Roth <troth@verinet.com>
2177
2178 * gcc/config/avr/avr.h: Set default options for C++ for avr.
2179
907aee69
RH
21802002-09-13 Richard Henderson <rth@redhat.com>
2181
2182 * Makefile.in (toplev.o): Depend on real.h.
2183 (print-rtl.o, varasm.o, ifcvt.o): Likewise.
2184
374b0b7d
AM
21852002-09-14 Alan Modra <amodra@bigpond.net.au>
2186
2187 * doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
2188 * dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
2189 * config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
2190
690eed2c
NS
21912002-09-13 Nathan Sidwell <nathan@codesourcery.com>
2192
2193 * ggc-common.c (ggc_mark_roots): Don't iterate NULL hash tables.
2194
32b4f6f4
SE
21952002-09-13 Steve Ellcey <sje@cup.hp.com>
2196
2197 * config.gcc (ia64*-*-aix*, ia64*-*-elf*, ia64*-*-freebsd*,
2198 ia64*-*-linux*): Set extra_parts.
2199 * config/ia64/t-aix (EXTRA_PARTS): Remove.
2200 * config/ia64/t-ia64 (EXTRA_PARTS): Remove.
2201
3db11b5c
KH
22022002-09-13 Kazu Hirata <kazu@cs.umass.edu>
2203
2204 * config/h8300/fixunssfsi.c: Replace H8/S with H8S.
2205 * config/h8300/h8300.c: Likewise.
2206 * config/h8300/h8300.h: Likewise.
2207 * config/h8300/h8300.md: Likewise.
2208 * doc/invoke.texi: Likewise.
2209
b6894857
KH
22102002-09-13 Kazu Hirata <kazu@cs.umass.edu>
2211
2212 * config/h8300/h8300.c (h8300_init_once): Fix formatting.
2213
6c6e776d 22142002-09-13 Matt Austern <austern@apple.com>
b6894857 2215
6c6e776d
MA
2216 * cp/cp-tree.h, cp/tree.c: New function non_cast_lvalue_p.
2217 * cp/call.c: Change call-by-const-reference mechanism to use
2218 non_cast_lvalue_p when deciding whether the create a temporary.
2219 We need a temporary when passing, e.g. (long) x by const ref.
2220 * testsuite/g++.dg/other/constref[12].C: New, regression tests for
2221 passing a cast expression to a function by const reference.
b4f94ac1 2222
d5909a79
RH
22232002-09-13 Richard Henderson <rth@redhat.com>
2224
2225 * config/alpha/alpha.md (attr type): Add callpal.
2226 (imb, trap, load_tp, set_tp): Use it.
2227 * config/alpha/ev4.md (ev4_callpal): New.
2228 * config/alpha/ev5.md (ev5_callpal): New.
2229 * config/alpha/ev6.md (ev6_ibr): Handle callpal.
2230 * config/alpha/alpha.c (alphaev4_insn_pipe): Handle TYPE_CALLPAL.
2231 (alphaev5_insn_pipe): Likewise.
2232
e0073fa8
AJ
22332002-09-13 Andreas Jaeger <aj@suse.de>
2234
2235 * Makefile.in (print-rtl.o): Depend on CONFIG_H.
2236
1f298625
SE
22372002-09-13 Steve Ellcey <sje@cup.hp.com>
2238
2239 * config/ia64/t-hpux (LIBGCC1_TEST, STMP_FIXPROTO,
2240 LIB2ADDEH): New, set to NULL.
2241 (SHLIB_EXT, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP): New.
2242
1a7e1470
SE
22432002-09-13 Steve Ellcey <sje@cup.hp.com>
2244
2245 * config/ia64/quadlib.c (_U_Qfcmp): Make extern.
2246 (_U_Qfcnvfxt_quad_to_sgl): Remove declaration.
2247 (_U_Qfeq, _U_Qfne, _U_Qfgt, _U_Qfge, U_Qflt, U_Qfle, _U_Qfcomp):
2248 Add declarations.
2249 (_U_Qfneg): Remove.
2250
d56c04ce
DD
22512002-09-13 Dhananjay Deshpande <dhananjayd@kpit.com>
2252
2253 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Add support
8d9afc4e
KH
2254 for H8/300, H8S aa:8 mode.
2255 (TINY_CONSTANT_ADDRESS_P): Add support for H8S aa:16 mode.
d56c04ce
DD
2256 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust length
2257 for H8/300 aa:8 mode.
2258
4456530d
HP
22592002-09-13 Hartmut Penner <hpenner@de.ibm.com>
2260
2261 * config/s390/s390.md ("trap", "conditional_trap", "*trap"): New
2262 insns.
2263
4d2d910c
RH
22642002-09-12 Richard Henderson <rth@redhat.com>
2265
2266 * Makefile.in (HOST_PRINT): Use print-rtl1.o
2267 (print-rtl.o): Don't define GENERATOR_FILE.
2268 (print-rtl1.o): Rename from $(BUILD_PREFIX_1)print-rtl.o.
2269 * print-rtl.c (print_rtx): Include CONST_DOUBLE fp decimal output
2270 unless GENERATOR_FILE.
2271
7606e68f
SS
22722002-09-12 Stan Shebs <shebs@apple.com>
2273
6ab9a3f4
SS
2274 * config/darwin.h (USER_LABEL_PREFIX): Define here...
2275 * config/i386/darwin.h: ... instead of here.
2276
7606e68f
SS
2277 * target.h (struct gcc_target): New field
2278 terminate_dw2_eh_frame_info.
2279 * target-def.h (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2280 (TARGET_INITIALIZER): Add it.
2281 * dwarf2out.c (output_call_frame_info): Use target hook.
2282 * dwarf2asm.c (dw2_asm_output_delta): Use macro
2283 ASM_OUTPUT_DWARF_DELTA if defined.
2284 * doc/tm.texi (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Document.
2285 (ASM_OUTPUT_DWARF_DELTA): Ditto.
2286 (ASM_OUTPUT_DWARF_OFFSET): Ditto.
2287 (ASM_OUTPUT_DWARF_PCREL): Ditto.
2288 * config.gcc (i[34567]86-*-darwin*): Define extra_parts.
2289 (powerpc-*-darwin*): Ditto.
2290 * crtstuff.c [OBJECT_FORMAT_MACHO]: Update the Mach-O bits
2291 to work correctly for Darwin.
2292 * config/darwin.h (OBJECT_FORMAT_MACHO): Define.
2293 (STARTFILE_SPEC): Add crtbegin.o.
2294 (ENDFILE_SPEC): Define.
2295 (EXTRA_SECTION_FUNCTIONS): Put gcc_except_tab in data segment.
2296 (ASM_PREFERRED_EH_DATA_FORMAT): Handle more cases.
2297 (ASM_OUTPUT_DWARF_DELTA): Define.
2298 (TARGET_TERMINATE_DW2_EH_FRAME_INFO): Define.
2299 * config/darwin.c (darwin_asm_output_dwarf_delta): New function.
2300
20b71b17
AM
23012002-09-13 Alan Modra <amodra@bigpond.net.au>
2302
2303 * config/rs6000/rs6000.c (rs6000_emit_load_toc_table): Remove "if"
2304 nesting. Correct test for non-PowerPC64 ELF ABI_AIX.
2305 * config/rs6000/rs6000.md (load_toc_v4_PIC*): Disable when ABI_AIX.
2306
d48fd218
ZW
23072002-09-12 Zack Weinberg <zack@codesourcery.com>
2308
2309 * toplev.c: Move default definition of USER_LABEL_PREFIX...
2310 * defaults.h: ... here.
2311
92bc3c1a
RH
23122002-09-12 Richard Henderson <rth@redhat.com>
2313
2314 * vax.c: Include tree.h earlier.
2315
3f64e543
SS
23162002-09-12 Stan Shebs <shebs@apple.com>
2317
2318 * config/darwin.c (machopic_finish): Remove #if 0 chunks.
2319 (machopic_operand_p): Ditto.
2320
52bd31bb
KH
23212002-09-12 Kazu Hirata <kazu@cs.umass.edu>
2322
2323 * config/arm/arm.c (arm_compute_initial_elimination_offset):
2324 Fix a comment typo.
2325
387c9294
KH
23262002-09-12 Kazu Hirata <kazu@cs.umass.edu>
2327
2328 * toplev.c (do_abort): Fix a comment typo.
2329
e34bb004
KH
23302002-09-12 Kazu Hirata <kazu@cs.umass.edu>
2331
2332 * cselib.c: Fix comment formatting.
2333 * gengtype.c: Likewise.
2334
d0029ebd
KH
23352002-09-12 Kazu Hirata <kazu@cs.umass.edu>
2336
2337 * config/h8300/h8300.md (udivmodqi4): Do not use an expander.
2338 (udivmodhi4): Likewise.
2339
c3c637e3 23402002-09-12 Graham Stott <graham.stott@btinternet.com>
d48fd218 2341 Roger Sayle <roger@eyesopen.com>
c3c637e3
GS
2342
2343 * i386.c (any_fp_register_operand, fp_register_operand,
2344 register_and_not_any_fp_reg_operand, register_and_not_fp_reg_operand):
2345 New predicate functions.
2346 * i386-protos.h: Add their prototypes.
2347 * i386.h: Add them to PREDICATE_CODES.
2348 * i386.md ("*pushsf_rex64"+2, "*pushsf_rex64"+3, "*pushdf_integer"+1,
2349 "*pushdf_integer"+2, "*pushtf_integer"+1, "*pushtf_integer"+2,
2350 "*pushtf_integer"+3, "*pushtf_integer"+4, "*dummy_extendsfdf2"+1,
2351 "*dummy_extendsfdf2"+2, "*dummy_extendsfxf2"+1,
2352 "*dummy_extendsftf2"+1, "*dummy_extendsftf2"+2,
2353 "*dummy_extenddfxf2"+1, "*dummy_extenddftf2"+1,
2354 "*dummy_extenddftf2"+2, "*negsf2_if"+1, "*negsf2_if"+2,
2355 "*negdf2_if_rex64"+1, "*negdf2_if_rex64"+2, "*negxf2_if"+1,
2356 "*negxf2_if"+2, "*negtf2_if"+1, "*negtf2_if"+2, "*abssf2_if"+1,
2357 "*abssf2_if"+2, "*absdf2_if_rex64"+1, "*absdf2_if_rex64"+2,
2358 "*absxf2_if"+1, "*absxf2_if"+2, "*abstf2_if"+1, "*abstf2_if"+2):
2359 Use these new predicates to simplify and correct the use of
2360 FP_REG_P, ANY_FP_REG_P, FP_REGNO_P and any ANY_FP_REGNO_P.
2361
db4c55f6
JM
23622002-09-12 Jason Merrill <jason@redhat.com>
2363
236a2ac8
JM
2364 * diagnostic.c (output_add_identifier): New fn.
2365 * diagnostic.h: Declare it.
2366
db4c55f6
JM
2367 * calls.c (store_one_arg): Use size_in_bytes to determine the
2368 amount of space to push.
2369
13c0bc20
JJ
23702002-09-12 Jakub Jelinek <jakub@redhat.com>
2371
2372 * config/sparc/linux64.h (STARTFILE_SPEC32): Fix a typo.
2373
0a3bdf9d
UW
23742002-09-12 Ulrich Weigand <uweigand@de.ibm.com>
2375
2376 * config/s390/s390-modes.def (CCAPmode, CCANmode): New CC modes.
2377 * config/s390/s390.c (s390_match_ccmode_set): Support new CC modes.
2378 (s390_select_ccmode): Likewise.
2379 (s390_branch_condition_mask): Likewise.
2380 (optimization_options): Do not set flag_branch_on_count.
2381 (s390_split_branches): Handle doloop branches.
2382 (s390_chunkify_pool): Likewise.
2383 * config/s390/s390.md ("*adddi3_imm_cc", "*addsi3_imm_cc"): New insns.
2384 ("doloop_end"): New expander.
2385 ("doolop_si", "*doloop_si_long", "doloop_di", "*doloop_di_long",
2386 associated splitters): New.
2387
4f968d93
HP
23882002-09-11 Hartmut Penner <hpenner@de.ibm.com>
2389
2390 * fold-const.c (make_range): Only narrow to signed range if
2391 the signed range is smaller than the unsigned range.
2392
35aff10b
AM
23932002-09-12 Alan Modra <amodra@bigpond.net.au>
2394
2395 * emit-rtl.c (set_mem_size): New function.
2396 * expr.h (set_mem_size): Declare.
2397 * config/rs6000/rs6000.c (expand_block_move_mem): Exterminate.
2398 (expand_block_move): Instead, use adjust_address and
2399 replace_equiv_address to generate proper aliasing info.
2400 Move common code out of conditionals. Localize vars.
2401
e0fbf849 24022002-09-09 Eric Botcazou <ebotcazou@libertysurf.fr>
d48fd218 2403
874f6a6d
EB
2404 * optabs.c (expand_binop): Minor cleanup.
2405 (expand_twoval_binop): Convert CONST_INTs like in expand_binop.
2406
d1df930b
DN
24072002-09-11 Dan Nicolaescu <dann@ics.uci.edu>
2408
2409 * print-tree.c (print_node): Print the restrict qualifier.
2410
9026a957
JJ
24112002-09-11 Janis Johnson <janis187@us.ibm.com>
2412
2413 * doc/install.texi: Fix typos.
2414
3fd9d606
ZW
24152002-09-11 Zack Weinberg <zack@codesourcery.com>
2416
2417 * Makefile.in: Remove all references to s-under and underscore.c.
2418 * collect2.c, tlink.c: Change all uses of prepends_underscore
2419 to look directly at USER_LABEL_PREFIX.
2420
5b5198f7
DE
24212002-09-11 David Edelsohn <edelsohn@gnu.org>
2422
2423 * config/rs6000/rs6000.c (rs6000_xcoff_asm_named_section): Append
2424 alignment to csect.
2425 (rs6000_xcoff_unique_section): Only set section name for public
2426 data.
2427 (rs6000_xcoff_section_type_flags): Store log2 alignment in flags.
2428 * config/rs6000/xcoff.h (TARGET_ASM_SELECT_SECTION): Remove
2429 duplicate definition.
2430
77de9af2
JDA
24312002-09-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
2432
2433 * pa.md (extzv): Check predicates before emitting extzv_32.
2434 (insv): Likewise.
2435
33b679d1
UW
24362002-09-10 Ulrich Weigand <uweigand@de.ibm.com>
2437
2438 * config/s390/s390.h (MOVE_MAX): Define to correct value.
2439 (MAX_MOVE_MAX): Define.
2440 (MOVE_BY_PIECES_P): Define.
2441 (CLEAR_BY_PIECES_P): Define.
2442
bfae8040
DC
24432002-09-10 Denis Chertykov <denisc@overta.ru>
2444
2445 * config/avr/avr.md (movstrhi): Use right operands for conversion.
2446
7730c3ff
RE
24472002-09-10 Richard Earnshaw <rearnsha@arm.com>
2448
2449 PR c/7873
2450 * arm.md (insv): Use reg_or_int_operand for operand[3].
2451
5add3202
DE
24522002-09-10 David Edelsohn <edelsohn@gnu.org>
2453
2454 * rs6000.c (rs6000_assemble_visibility): Protect declaration
2455 inside macro. Correct function definition typo.
2456 (rs6000_xcoff_section_type_flags): New function.
2457 (TARGET_SECTION_TYPE_FLAGS): Remove definition.
2458 (rs6000_elf_section_type_flags): Call default_section_type_flags_1
2459 with appropriate PIC test.
2460 (rs6000_xcoff_select_section): Use decl_readonly_section_1 to
2461 determine readonly.
2462 (rs6000_binds_local_p): Combine PIC flags.
2463 * sysv4.h (TARGET_SECTION_TYPE_FLAGS): Define.
2464 * xcoff.h (TARGET_SECTION_TYPE_FLAGS): Define.
2465
90389422
PB
24662002-09-09 Per Bothner <per@bothner.com>
2467
2468 * print-tree.c (print_node): In a STRING_CST, escape non-ascii
2469 characters, and only print TREE_STRING_LENGTH chars.
2470
686f3bf0
SE
24712002-09-09 Steve Ellcey <sje@cup.hp.com>
2472
2473 * config/ia64/hpux.h (TARGET_HPUX_LD): New, define true.
2474 (ASM_FILE_END) New.
2475 * config/ia64/ia64.h (TARGET_HPUX_LD): New, define false.
2476 * config/ia64/ia64-protos.h (ia64_hpux_asm_file_end): New.
2477 * config/ia64/ia64.c (ia64_asm_output_external): Create list
2478 of external functions if TARGET_HPUX_LD is true.
2479 (ia64_hpux_add_extern_decl): New, routine to put names on
2480 list of external functions.
2481 (ia64_hpux_asm_file_end): Put out declarations for external
2482 functions if and only if they are used.
2483
0c263f4e
JDA
24842002-09-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
2485
2486 * pa.md (exception_receiver, builtin_setjmp_receiver): Add blockage
2487 on TARGET_64BIT before pic register restore.
2488
e2a6476e
DE
24892002-09-09 David Edelsohn <edelsohn@gnu.org>
2490
2491 * doc/tm.texi (TARGET_HAVE_SRODATA_SECTION): New description.
2492 (TARGET_HAVE_TLS): New description.
2493
b73b1546
JJ
24942002-09-09 Janis Johnson <janis187@us.ibm.com>
2495
2496 * doc/extend.texi (Statement Exprs): Fix broken link.
2497
a9738643
DC
24982002-09-09 Denis Chertykov <denisc@overta.ru>
2499
2500 * config/avr/avr.md (movstrhi, clrstrhi): Use gen_int_mode for
2501 right conversion of operands[1].
2502
05b9aaaa
UW
25032002-09-09 Ulrich Weigand <uweigand@de.ibm.com>
2504
2505 * config/s390/s390.md ("*tmdi_reg", "*tmsi_reg"): Do not mark as
2506 commutative. Use "nonimmediate_operand" instead of "register_operand"
2507 as predicate for operand 0. Move to after the "*tmXX_mem" insns.
2508
2509 ("*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem"): Do not mark
2510 as commutative.
2511
2512 ("*anddi3_ni", "*andsi3_ni", "*iordi3_ni", "*iorsi3_ni"): Do not
2513 mark as commutative. Use "nonimmediate_operand" instead of
2514 "register_operand" as predicate for operand 1.
2515
2516 ("movstrictsi"): Fix typo in insn name.
2517
7ec70495
JH
25182002-09-09 Jan Hubicka <jh@suse.cz>
2519
2520 * i386.c (index_register_operand): New.
2521 * i386.h (predicate_codes): Add new predicate.
2522 * i386.md (lea_general_*): Use index_regsiter_operand
2523 (ashift to lea splitter): Do not produce invalid leas
2524 (ashift to mov+ashift split): New.
2525
b2fc915b
NC
25262002-09-09 Nick Clifton <nickc@redhat.com>
2527
2528 * config/fr30/fr30.c (output.h): Move after inclusion of tree.h.
2529 Fix folding marks.
2530
0b0ad147 25312002-09-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
d48fd218 2532 J"orn Rennecke <joern.rennecke@superh.com>
0b0ad147
TM
2533
2534 * sh/sh.h (OVERRIDE_OPTIONS): align_functions is in bytes, not bits.
2535
2bcc50d0
AM
25362002-09-09 Alan Modra <amodra@bigpond.net.au>
2537
2538 * config/rs6000/rs6000.c (rs6000_binds_local_p): Return bool.
2539 (function_ok_for_sibcall): Use binds_local_p. Respect longcall
2540 attributes.
2541
c1b4f089
KG
25422002-09-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2543
2544 * fr30.c (fr30_print_operand): Fix bug in output of CONST_DOUBLE.
2545
b9203463
RH
25462002-09-08 Richard Henderson <rth@redhat.com>
2547
2548 * dwarf2.h (DW_OP_call_ref): Rename from DW_OP_calli.
2549 (DW_OP_GNU_push_tls_address): New.
2550 (DW_OP_lo_user): Fix.
2551 * dwarf2out.c (INTERNAL_DW_OP_tls_addr): New.
2552 (dwarf_stack_op_name): Handle it, plus other dwarf3 opcodes.
2553 (size_of_loc_descr): Likewise.
2554 (output_loc_operands): Handle INTERNAL_DW_OP_tls_addr.
2555 (add_AT_location_description): Take a dw_loc_descr_ref not an rtx.
2556 (loc_descriptor_from_tree): Handle TLS variables.
2557 (rtl_for_decl_location): Do avoid_constant_pool_reference here ...
2558 (add_location_or_const_value_attribute): ... not here. Defer
2559 to loc_descriptor_from_tree for TLS variables.
2560
2561 * config/i386/i386.h (ASM_OUTPUT_DWARF_DTPREL): New.
2562 * config/i386/i386.c (i386_output_dwarf_dtprel): New.
2563 * config/i386/i386-protos.h: Update.
2564
7df98878
RS
25652002-09-08 Roger Sayle <roger@eyesopen.com>
2566
2567 PR optimization/6405
2568 * unroll.c (loop_iterations): last_loop_insn should be the previous
2569 non-note instruction before loop->end.
2570 * loop.c (strength_reduce): The conditional jump is the last
2571 non-note instruction before loop->end (as above).
2572
f40f4c8e
RS
25732002-09-08 Roger Sayle <roger@eyesopen.com>
2574
2575 * combine.c (try_combine): Handle the case that undobuf.other_insn
2576 has been turned into a return or unconditional jump, by inserting
2577 a BARRIER if necessary.
2578 (simplify_set): Test if a condition code setter has a constant
2579 comparison at compile time, if so convert this insn to a no-op move
2580 and update/simplify the condition code user (undobuf.other_insn).
2581
e2f97e26
KW
25822002-09-08 Krister Walfridsson <cato@df.lth.se>
2583
2584 * config/arm/netbsd.h (INITIALIZE_TRAMPOLINE): Redefine.
2585 (CLEAR_INSN_CACHE): Define.
2586
4b7e68e7
KH
25872002-09-08 Kazu Hirata <kazu@cs.umass.edu>
2588
2589 * basic-block.h: Fix comment formatting.
2590 * c-common.c: Likewise.
2591 * c-common.h: Likewise.
2592 * c-lex.c: Likewise.
2593 * c-pretty-print.c: Likewise.
2594 * cfglayout.c: Likewise.
2595 * cfgloop.c: Likewise.
2596 * defaults.h: Likewise.
2597 * et-forest.c: Likewise.
2598 * explow.c: Likewise.
2599 * function.h: Likewise.
2600 * gcov.c: Likewise.
2601 * genattrtab.c: Likewise.
2602 * gengtype.c: Likewise.
2603 * ifcvt.c: Likewise.
2604 * libgcc2.c: Likewise.
2605 * loop.c: Likewise.
2606 * profile.c: Likewise.
2607 * ra-build.c: Likewise.
2608 * real.c: Likewise.
2609 * rtl.h: Likewise.
2610 * tracer.c: Likewise.
2611 * tree-inline.c: Likewise.
2612 * varasm.c: Likewise.
2613
2567406a
JH
26142002-09-08 Jan Hubicka <jh@suse.cz>
2615
2616 * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix array_ref
2617 handling.
2618
2619 * loop.c (loop_gics_reduce): Emit addition after.
2620
bd79540a
AM
26212002-09-08 Alan Modra <amodra@bigpond.net.au>
2622
2623 * varasm.c (default_assemble_visibility): Rename from
2624 assemble_visibility.
2625 * output.h: Here too.
2626 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): And here.
2627 * config/rs6000/rs6000.c (rs6000_assemble_visibility): And here.
2628
32ff9c74
AM
26292002-09-08 Alan Modra <amodra@bigpond.net.au>
2630
2631 * reload.c (find_reloads <p constraint>): Pass operand_mode to
2632 find_reloads_address.
2633
6588987e
KH
26342002-09-08 Kazu Hirata <kazu@cs.umass.edu>
2635
2636 * config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
2637 (anonymous pattern): Likewise.
2638
0100732e
SS
26392002-09-07 Scott Snyder <snyder@fnal.gov>
2640
2641 PR target/7374
2642 * config/alpha/alpha.md (abstf2): Fix typo: 'neg' for 'abs'.
2643
77043c7c
RS
26442002-09-07 Roger Sayle <roger@eyesopen.com>
2645
2646 * basic-block.h (struct loop): Remove unused cont_dominator field.
2647
5dd78220
IS
26482002-09-07 Igor Shevlyakov <igor@microunity.com>
2649
d48fd218 2650 * varasm.c (decode_rtx_const): Don't check undefined field for
5dd78220
IS
2651 CONST_VECTOR.
2652
b96a3fa3
GN
26532002-09-07 Glen Nakamura <glen@imodulo.com>
2654
7fa86a10 2655 PR opt/7814
b96a3fa3
GN
2656 * sched-deps.c (sched_analyze_insn): Make sure to add insn
2657 to reg_last->sets after flushing the dependency lists to guarantee
2658 that subsequent clobbers will be dependent on it.
2659
ad9df12f 26602002-09-07 Igor Shevlyakov <igor@microunity.com>
2567406a 2661
ad9df12f
IS
2662 * combine.c (simplify_shift_const): Calculate rotate count
2663 correctly for vector operands.
2664
54c93c30
AE
26652002-09-07 Ansgar Esztermann <ansgar@thphy.uni-duesseldorf.de>
2666
2667 * c-typeck.c (c_tree_expr_nonnegative_p): New function.
2668 (build_binary_op): Call c_tree_expr_nonnegative_p rather than
2567406a 2669 tree_expr_nonnegative_p.
54c93c30
AE
2670 (build_conditional_expr): Likewise.
2671 * c-tree.h (c_tree_expr_nonnegative_p): Declare.
2672
36eea25f
RH
26732002-09-07 Richard Henderson <rth@redhat.com>
2674
3aa4cad7
RH
2675 * builtins.def (inf, inff, infl): Mark const.
2676 (huge_val, huge_valf, huge_vall): Likewise.
2677 (BUILT_IN_GETEXP, BUILT_IN_GETMAN): Remove.
2678
36eea25f
RH
2679 * real.c (ereal_inf): Clear E before use.
2680
5c102b48
KH
26812002-09-07 Kazu Hirata <kazu@cs.umass.edu>
2682
2683 * config/h8300/h8300.md (udivmodqi4): Split the pattern into
2684 an expander and an anonymous pattern. Zero out the upper half
2685 of the dividend in the expander.
2686 (udivmodqi4): Likewise.
2687
8bd06267
KH
26882002-09-07 Kazu Hirata <kazu@cs.umass.edu>
2689
2690 * config/h8300/h8300.c: Fix formatting.
2691 * config/h8300/h8300.h: Likewise.
2692 * config/h8300/h8300.md: Likewise.
2693
39587bb9
ZD
26942002-09-07 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2695
2696 * cfgcleanup.c (try_crossjump_to_edge): Fix updating of liveness
2697 information.
2698
92d9256d
GS
26992002-09-07 Graham Stott <graham.stott@btinternet.con>
2700
2701 * rtlanal.c (dead_or_set_regno_p): Fix typo.
2702
93638d7a
AM
27032002-09-07 Alan Modra <amodra@bigpond.net.au>
2704
fea76d82
AM
2705 * config/rs6000/linux64.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
2706
93638d7a
AM
2707 * doc/tm.texi (TARGET_ASM_ASSEMBLE_VISIBILITY): Describe.
2708 * target-def.h (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2709 (TARGET_ASM_OUT): Add the above here.
2710 * target.h (struct gcc_target): Add "visibility" field.
2711 * varasm.c (maybe_assemble_visibility): Call targetm visibility func.
2712 * config/rs6000/rs6000.c (rs6000_assemble_visibility): New function.
2713 (TARGET_ASM_ASSEMBLE_VISIBILITY): Define.
2714 (rs6000_legitimize_reload_address, first_reg_to_save): Formatting.
2715
370ce32a
ZL
27162002-09-06 Ziemowit Laski <zlaski@apple.com>
2717
2718 * c-lang.c (objc_is_id): New stub.
2719 * c-tree.h (objc_is_id): New forward declaration.
2720 * c-typeck.c (build_c_cast): Do not strip protocol
2721 qualifiers from 'id' type.
2722 * objc/objc-act.c (objc_comptypes): Correct handling
2723 of protocol qualifiers.
2724 (objc_is_id): New.
2725
942579db
JL
2726Fri Sep 6 13:10:08 2002 Jeffrey A Law (law@redhat.com)
2727
54c93c30 2728 * pentium.md (pentium-firstvboth): Fix typo.
942579db 2729
c4dfc70c
DD
27302002-09-06 Dhananjay Deshpande <dhananjayd@kpit.com>
2731
2732 * h8300.c (enum shift_alg): Move to earlier in h8300.c.
2733 (enum shift_type, enum h8_cpu): Likewise.
2734 (INL, ROT, LOP, SPC macros): Likewise.
2735 (shift_alg_qi, shift_alg_hi, shift_alg_si): Likewise. Lose
2736 const designator.
2737 (h8300_init_once): Update shift_alg_{qi,hi,si} to use more
2738 space efficient algorithms when optimize for codesize.
2739
5873a4c1
NP
2740Fri Sep 6 16:35:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
2741
2742 Fix PR/1727 and long-standing failing testcase
2743 objc/formal-protocol-6.m.
2744 * objc-act.c (build_protocol_expr): If compiling for the GNU
2745 runtime, create a list of Protocol statically allocated instances
2746 if it doesn't exist, then add the Protocol object to this same
2747 list.
2748 (get_objc_string_decl): Fixed typo/bug - TREE_VALUE had been used
2749 instead of TREE_CHAIN.
2750
e30d4c82
NP
2751Fri Sep 6 16:17:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
2752
2753 * objc/objc-act.c (dump_interface): Enlarged the char * buffer to
2754 10k. Fixed category dumping - print out category names with the
2755 proper syntax. Print '@end\n' and not '\n@end' at the end of the
2756 interface.
22d4398d 2757 (finish_objc): Fixed the -gen-decls option. It was printing out
e30d4c82
NP
2758 only the last class. Dump an interface declaration of all classes
2759 being compiled instead.
2760
fcd53748
JT
27612002-09-06 Jason Thorpe <thorpej@wasabisystems.com>
2762
2567406a
JH
2763 * config/arm/arm-protos.h (arm_gen_return_addr_mask): New
2764 prototype.
fcd53748
JT
2765 * config/arm/arm.c (arm_gen_return_addr_mask): New function.
2766 * config/arm/arm.h (MASK_RETURN_ADDR): Use arm_gen_return_addr_mask
2767 if not APCS26 and not Thumb or ARMv4-or-higher. Use gen_int_mode
2768 rather than GEN_INT.
2769 * config/arm/arm.md (UNSPEC_CHECK_ARCH): Define.
2770 (return_addr_mask, *check_arch2): New.
2771
96fd3851
UW
27722002-09-06 Ulrich Weigand <uweigand@de.ibm.com>
2773
2567406a 2774 * config/s390/s390.md ("*adddi3_cc", "*adddi3_cconly",
96fd3851 2775 "*adddi3_cconly2", "*adddi3_64", "*adddi3_31", "adddi3",
2567406a 2776 "*addsi3_carry1_cc", "*addsi3_carry1_cconly",
96fd3851
UW
2777 "*addsi3_carry2_cc", "*addsi3_carry2_cconly",
2778 "*addsi3_cc", "*addsi3_cconly", "*addsi3_cconly2", "addsi3",
2567406a 2779 "adddf3", "*adddf3", "*adddf3_ibm",
96fd3851
UW
2780 "addsf3", "*addsf3", "*addsf3_ibm",
2781 "muldi3", "mulsi3", "mulsidi3",
2782 "muldf3", "*muldf3", "*muldf3_ibm",
2783 "mulsf3", "*mulsf3", "*mulsf3_ibm",
2784 "*anddi3_cc", "*anddi3_cconly", "anddi3",
2785 "*andsi3_cc", "*andsi3_cconly", "andsi3",
2786 "*iordi3_cc", "*iordi3_cconly", "iordi3",
2787 "*iorsi3_cc", "*iorsi3_cconly", "iorsi3",
2788 "*xordi3_cc", "*xordi3_cconly", "xordi3",
2789 "*xorsi3_cc", "*xorsi3_cconly", "xorsi3"): Use "nonimmediate_operand"
2790 instead of "register_operand" as predicate for "%0" operand.
2791
22252625
JJ
27922002-09-06 Jakub Jelinek <jakub@redhat.com>
2793
2794 * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9
2795 unconditionally when gcc_cv_as_flags64 checks are gone.
2796 * configure: Rebuilt.
2797
bc401279
AM
27982002-09-06 Alan Modra <amodra@bigpond.net.au>
2799
2800 * config/rs6000/rs6000.md (extzvsi_internal2): Revert most of
2801 2002-07-26 change. Comment.
2802
b3fbfc07
KG
28032002-09-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2804
2805 * frv.c (frv_unique_section, frv_select_section,
2806 frv_select_rtx_section): Delete.
2807 (frv_in_small_data_p): New.
2808 (TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_SECTION,
2809 TARGET_ASM_SELECT_RTX_SECTION): Delete.
2810 (TARGET_IN_SMALL_DATA_P): Define.
2811
41e34bab
DJ
28122002-09-05 Dale Johannesen <dalej@apple.com>
2813
2814 * reload1.c (reload): Retain only those memory clobbers
2815 added for variable-array handling.
2816
dc0ba55a
JT
28172002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
2818
2819 * config/arm/arm.c (arm_return_in_memory): Implement ATPCS
2567406a 2820 return-in-memory rules.
dc0ba55a
JT
2821 * config/arm/arm.h (ARM_FLAG_ATPCS, TARGET_ATPCS): Define.
2822
dd19d142
DE
28232002-09-05 David Edelsohn <edelsohn@gnu.org>
2824
2825 * config/rs6000/xcoff.h (HOT_TEXT_SECTION_NAME): Delete.
2826 (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Delete.
2827
3717da94
JT
28282002-09-05 Jason Thorpe <thorpej@wasabisystems.com>
2829
2830 * real.c: Avoid parse error if FLOAT_WORDS_BIG_ENDIAN is
2831 not a compile-time constant for the non-IBM case.
2832 * config/arm/arm-protos.h (arm_float_words_big_endian): New
2567406a 2833 prototype.
3717da94 2834 * config/arm/arm.c (arm_float_words_big_endian): New function.
b5b620a4 2835 * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __VFP_FP__
2567406a
JH
2836 if TARGET_VFP and not TARGET_HARD_FLOAT.
2837 (ARM_FLAG_VFP, TARGET_VFP): Define.
3717da94
JT
2838 (FLOAT_WORDS_BIG_ENDIAN): Use arm_float_words_big_endian.
2839
225cee28
DE
28402002-09-05 David Edelsohn <edelsohn@gnu.org>
2841
2842 * doc/install.texi: Correct text of s390-*-linux* and s390x-*-linux*
2843 URLs. Fix AIX wording.
2844
c72bfda7
SS
28452002-09-05 Stan Shebs <shebs@apple.com>
2846
2847 * config/rs6000/rs6000.c (rs6000_override_options): Make -fpic and
2848 -fPIC equivalent on Darwin.
2849
3578cf63
R
2850Thu Sep 5 16:27:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
2851
2852 * sh.c (sh_expand_builtin): Return early if encountering an
2853 error_mark for a type.
2854
7974fe63
UW
28552002-09-05 Ulrich Weigand <uweigand@de.ibm.com>
2856
2857 * config/s390/s390.c (s390_expand_plus_operand): Do not require
2858 double-word scratch register.
2859 config/s390/s390.md ("reload_indi", "reload_insi"): Adapt.
2860
2567406a 2861 ("*tmqi_ext", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem", "*tmqi_mem",
7974fe63
UW
2862 "*cli"): Replace s_operand by memory_operand.
2863 ("cmpstrdi", "cmpstrsi"): Replace s_operand by general_operand.
2864
f8cb5851
KH
28652002-09-05 Kazu Hirata <kazu@cs.umass.edu>
2866
2867 * config/h8300/h8300.c (asm_file_start): Add a missing
2868 semicolon.
2869
5fc0e5df
KW
28702002-09-04 Krister Walfridsson <cato@df.lth.se>
2871
2872 * config/i386/i386.h (GOT_SYMBOL_NAME): Define.
2873 * config/i386/i386.c (output_set_got): Use GOT_SYMBOL_NAME.
2874 (ix86_output_addr_diff_elt) Likewise.
2875 (x86_output_mi_thunk) Likewise.
2876 * config/i386/netbsd.h (GOT_SYMBOL_NAME): Redefine.
2877
f4b488fd
KG
28782002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2879
2880 * frv.c (frv_encode_section_info): Fix error in last change.
2881
0e5dbd9b
DE
28822002-09-04 David Edelsohn <edelsohn@gnu.org>
2883
2884 * config/rs6000/rs6000.c (rs6000_flag_pic): New variable.
2885 (rs6000_elf_encode_section_info): ATTRIBUTE_UNUSED.
2886 (TARGET_BINDS_LOCAL_P): Define.
2887 (rs6000_override_options): Save original flag_pic value.
2888 (rs6000_elf_select_section): Call default_elf_select_section_1.
2889 (rs6000_elf_unique_section): Call default_unique_section_1.
2890 (rs6000_elf_in_small_data_p): New function.
2891 (rs6000_xcoff_asm_named_section): Determine storage mapping class.
2892 (rs6000_xcoff_select_section): Update based on defaults.
2893 (rs6000_xcoff_unique_section): Set to basic name if not common.
2894 (rs6000_binds_local_p): New function.
2895 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set
2896 targetm.have_srodata_section if SDATA_EABI.
2897 (TARGET_IN_SMALL_DATA_P): Define.
2898
f57f9cb8
DJ
28992002-09-04 Dale Johannesen <dalej@apple.com>
2900
2901 * varasm.c (struct rtx_const, decode_rtx_const):
2902 Make veclo and vechi fields not share storage.
2903
ed6cc1f5
R
2904Thu Sep 5 00:34:33 2002 J"orn Rennecke <joern.rennecke@superh.com>
2905
2906 * loop.c (scan_loop): Don't mark separate insns out of a libcall
2907 for moving.
2908 (move_movables): Abort if we see the first insn of a libcall.
2909
ab5e2615
RH
29102002-09-04 Richard Henderson <rth@redhat.com>
2911
2912 * builtin-types.def (BT_FN_FLOAT): New.
2913 (BT_FN_DOUBLE, BT_FN_LONG_DOUBLE): New.
2914 * builtins.def (BUILT_IN_INF, BUILT_IN_INFF, BUILT_IN_INFL,
2915 BUILT_IN_HUGE_VAL, BUILT_IN_HUGE_VALF, BUILT_IN_HUGE_VALL): New.
2916 * builtins.c (fold_builtin_inf): New.
2917 (fold_builtin): Call it.
2918 * real.c (ereal_inf): New.
2919 * real.h: Declare it.
2920 * doc/extend.texi: Document new builtins.
2921
9beb7d20
RH
29222002-09-04 Richard Henderson <rth@redhat.com>
2923
2924 * cse.c (cse_insn): Avoid subreg games if the equivalence
2925 is already in the proper mode.
2926
29984e05
EB
29272002-09-04 Eric Botcazou <ebotcazou@multimania.com>
2928
2929 PR c/7102
2930 * optabs.c (expand_binop): Convert CONST_INTs in all cases.
2931
8d46398e
JDA
29322002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2933
2934 * pa.md (setccfp0, setccfp1): New patterns.
2935
14966b94
KG
29362002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2937
2938 * frv-protos.h (frv_init_builtins, frv_expand_builtin,
2939 frv_select_section, frv_select_rtx_section,
2940 frv_encode_section_info, frv_unique_section): Delete.
2941 * frv.c: Update for target hooks.
2942 * frv.h (STRIP_NAME_ENCODING, SLOW_ZERO_EXTEND, SELECT_SECTION,
2943 SELECT_RTX_SECTION, ENCODE_SECTION_INFO, UNIQUE_SECTION,
2944 EASY_DIV_EXPR, MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Delete.
2945
c8bf1a1a
KG
29462002-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2947
2948 * ip2k-protos.h (function_prologue, function_epilogue,
2949 encode_section_info): Update to match target hook specification.
2950 * ip2k.c: Wrap `MDR' code in IP2K_MD_REORG_PASS.
2951 (function_prologue, function_epilogue, encode_section_info):
2952 Update to match target hook specification.
2953 * ip2k.h (SELECT_SECTION, SELECT_RTX_SECTION, ASM_OPEN_PAREN,
2954 ASM_CLOSE_PAREN, EASY_DIV_EXPR): Delete.
2955 (NOTICE_UPDATE_CC): Cast to void.
2956 * ip2k.md: Add defaults in switch statements.
2957
0484cb35
JJ
29582002-09-04 Janis Johnson <janis187@us.ibm.com>
2959
2960 * doc/trouble.texi (Interoperation): Update information about C++ ABI
2961 issues.
2962
3e62bd08
JT
29632002-09-04 Jason Thorpe <thorpej@wasabisystems.com>
2964
2965 * config/sparc/t-netbsd64: Disable multilib for now.
2966
275b6d80
DE
29672002-09-04 David Edelsohn <edelsohn@gnu.org>
2968
2969 * target-def.h (TARGET_HAVE_SRODATA_SECTION): New macro.
2970 * target.h (gcc_target): Add have_srodata_section member.
2971 * varasm.c (section_category): Add SECCAT_SRODATA.
2972 (categorize_decl_for_section): Return SECCAT_SRODATA for sdata if
2973 READONLY_SDATA_SECTION defined.
2974 (decl_readonly_section_1): True for SECCAT_SRODATA also.
2975 (default_elf_select_section_1): Map SECCAT_SRODATA to .sdata2.
2976 (default_unique_section_1): Likewise.
2977
015b1ad1
JDA
29782002-09-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2979
2980 * expr.c (emit_group_load): Revise to allow splitting TCmode source
2981 into DImode pieces.
2982
2983 * pa-64.h (LONG_DOUBLE_TYPE_SIZE): Define to 128.
2984 * pa64-regs.h (CLASS_CANNOT_CHANGE_MODE_P): Inhibit changes from SImode
2985 for floating-point register class.
2986 * pa.c (function_arg): Fix handling of modes wider than one word for
2987 TARGET_64BIT.
2988
b10f2187
R
2989Wed Sep 4 18:48:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
2990
2991 * combine.c (make_compound_operation): Don't generate zero / sign
2992 extensions in floating point modes.
2993
478c9e72
JJ
29942002-09-04 Janis Johnson <janis187@us.ibm.com>
2995
2996 * doc/c-tree.texi: Fix overfull hboxes.
2997 * doc/cppopts.texi: Ditto.
2998 * doc/extend.texi: Ditto.
2999 * doc/gty.texi: Ditto.
3000 * doc/invoke.texi: Ditto.
3001 * doc/makefile.texi: Ditto.
3002 * doc/rtl.texi: Ditto.
3003 * doc/standards.texi: Ditto.
3004 * doc/tm.texi: Ditto.
3005
77e8a0cc
RH
30062002-09-04 Richard Henderson <rth@redhat.com>
3007
3008 * c-common.c (builtin_define_with_hex_fp_value): New.
3009 (builtin_define_float_constants): Use it. Fix H_FLOAT mant_dig.
3010
a9c60612
JJ
30112002-09-04 Janis Johnson <janis187@us.ibm.com>
3012
3013 * doc/invoke.texi (-fshort-wchar): Move to Code Generation Options.
3014 (-fpcc-struct-return, -freg-struct-return, -fshort-enums,
3015 -fshort-double, -fshort-wchar, -fpack-struct, -fleading-underscore):
3016 Warn that these options can break ABI compatibility.
3017
4b67a274
RH
30182002-09-04 Richard Henderson <rth@redhat.com>
3019
3020 * real.c (ereal_to_decimal): Add digits parameter.
3021 * real.h (REAL_VALUE_TO_DECIMAL): Remove format; add digits parameter.
3022 * c-pretty-print.c (pp_c_real_literal): Update call.
3023 * print-rtl.c (print_rtx): Likewise.
3024 * print-tree.c (print_node_brief, print_node): Likewise.
3025 * sched-vis.c (print_value): Likewise.
3026 * config/arc/arc.c (arc_print_operand): Likewise.
3027 * config/c4x/c4x.c (c4x_print_operand): Likewise.
3028 * config/i370/i370.h (PRINT_OPERAND): Likewise.
3029 * config/i386/i386.c (print_operand): Likewise.
3030 * config/i960/i960.c (i960_print_operand): Likewise.
3031 * config/ip2k/ip2k.c (asm_output_float): Likewise.
3032 * config/m32r/m32r.c (m32r_print_operand): Likewise.
3033 * config/m68hc11/m68hc11.c (print_operand): Likewise.
3034 * config/m68k/hp320.h (PRINT_OPERAND, ASM_OUTPUT_FLOAT_OPERAND,
3035 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
2567406a 3036 * config/m68k/m68k.h (ASM_OUTPUT_FLOAT_OPERAND,
4b67a274
RH
3037 ASM_OUTPUT_DOUBLE_OPERAND, ASM_OUTPUT_LONG_DOUBLE_OPERAND): Likewise.
3038 * config/m68k/sun2o4.h (ASM_OUTPUT_FLOAT_OPERAND,
3039 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3040 * config/m68k/sun3.h (ASM_OUTPUT_FLOAT_OPERAND,
3041 ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
3042 * config/mips/mips.c (print_operand): Likewise.
3043 * config/ns32k/ns32k.c (print_operand): Likewise.
3044 * config/pdp11/pdp11.h (PRINT_OPERAND): Likewise.
3045 * config/vax/vax.h (PRINT_OPERAND): Likewise.
3046 * doc/tm.texi (REAL_VALUE_TO_DECIMAL): Update docs.
3047
01abf342
BW
30482002-09-04 Bob Wilson <bob.wilson@acm.org>
3049
3050 * config/xtensa/elf.h (TARGET_SECTION_TYPE_FLAGS): Define to
3051 xtensa_multibss_section_type_flags.
3052 * config/xtensa/xtensa.c (xtensa_multibss_section_type_flags): Define.
3053
cd42d3df
RH
30542002-09-04 Richard Henderson <rth@redhat.com>
3055
3056 * doc/install-old.texi: Don't mention enquire.
3057 * doc/sourcebuild.texi: Update float.h description.
3058
502e6d5a
R
3059Wed Sep 4 11:22:14 2002 J"orn Rennecke <joern.rennecke@superh.com>
3060
3061 * sh.md (mperm_w_little, mperm_w_big): Supply mode for zero_extract.
3062
2cc9fb4c
DE
30632002-09-03 David Edelsohn <edelsohn@gnu.org>
3064
3065 * varasm.c (default_section_type_flags): Append _1 to name with
3066 shlib parameter. Use original name to call new function with
3067 implicit flag_pic.
3068 (decl_readonly_section): Likewise.
3069 (default_elf_select_section): Likewise.
3070 (default_unique_section): Likewise.
3071 (default_bind_local_p): Likewise.
3072 (categorize_decl_for_section): Add shlib parameter to use in place
3073 of implicit flag_pic.
3074 * output.h: Declare new functions with _1 and shlib argument.
3075
7c19f816
JJ
30762002-09-03 Janis Johnson <janis187@us.ibm.com>
3077
8c085f6f
JJ
3078 * doc/install.texi: Fix typos, formatting problems, and obvious
3079 overfull/underfull boxes.
3080
7c19f816
JJ
3081 * Makefile.in (TEXI_GCC_FILES): Add compat.texi.
3082 * doc/gcc.texi (Top): Add new chapter, Binary Compatibility, and
3083 include its file, compat.texi.
3084 * doc/compat.texi: New file with new chapter, Binary Compatibility.
3085
79ba5e3b
NB
30862002-09-03 Neil Booth <neil@daikokuya.co.uk>
3087
3088 Debian BTS Bug #157416
3089 * cpphash.h (FIRST, LAST, CUR, RLIMIT): Fix definitions.
3090 * cpplib.c (destringize_and_run): Kludge around getting
3091 tokens from in-progress macros.
3092 (_cpp_do__Pragma): Simplify.
3093
57016b47
SE
30942002-09-03 Steve Ellcey <sje@cup.hp.com>
3095
3096 * config/ia64/ia64.h (EXTRA_SPECS): Remove cpp_cpu.
3097 (CPP_CPU_SPEC): Remove.
3098 (TARGET_CPU_CPP_BUILTINS): New.
3099 * config/ia64/hpux.h (CPP_PREDEFINES): Remove.
3100 (CPP_SPEC): Remove.
3101 (TARGET_OS_CPP_BUILTINS): New.
3102 * config/ia64/linux.h (CPP_PREDEFINES): Remove.
3103 (TARGET_OS_CPP_BUILTINS): New.
3104 * config/ia64/aix.h (CPP_SPEC): Move some stuff to
3105 TARGET_OS_CPP_BUILTINS.
3106 (CPP_PREDEFINES): Remove.
3107 (CPLUSPLUS_CPP_SPEC): Remove.
3108 (TARGET_OS_CPP_BUILTINS): New.
3109
d57a4b98
RH
31102002-09-03 Richard Henderson <rth@redhat.com>
3111
3112 * Makefile.in (USER_H): Add ginclude/float.h.
3113 (FLOAT_H): Remove.
3114 (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
3115 (mostlyclean): Don't remove float.h intermediate files.
3116 (distclean): Don't remove float.h.
3117 * config.gcc: Remove all float_format references.
3118 * configure.in (float_format, float_h_file): Remove.
3119
3120 * c-common.c: Include tree-inline.h.
3121 (builtin_define_with_int_value): New.
3122 (builtin_define_type_precision): Use it.
3123 (builtin_define_float_constants): New.
3124 (cb_register_builtins): Use it. Define __FLT_RADIX__ and
3125 __FLT_EVAL_METHOD__.
3126 * defaults.h (TARGET_FLT_EVAL_METHOD): New.
3127 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
3128 * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
3129 * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
3130 (TARGET_FLT_EVAL_METHOD): New.
3131
3132 * config/float-c4x.h, config/float-i128.h, config/float-i32.h,
3133 config/float-i386.h, config/float-i64.h, config/float-m68k.h,
3134 config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
3135 * ginclude/float.h: New.
3136
527347f0
SS
31372002-09-03 Stan Shebs <shebs@apple.com>
3138
3139 * config/darwin.h (WARN_FOUR_CHAR_CONSTANTS): Remove, never used.
3140 (DWARF2_DEBUGGING_INFO): Remove until assembler accepts Dwarf-2.
3141 (PREFERRED_DEBUGGING_TYPE): Ditto.
3142 (ASM_OUTPUT_IDENT): Remove empty definition.
3143
34c1864f
SE
31442002-09-03 Steve Ellcey <sje@cup.hp.com>
3145
3146 * config.gcc (ia64*-*-hpux*): Add ia64-c.o to c_target and
3147 cxx_target.
3148 * config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Register pragma
3149 handling routine for builtin pragma.
3150 * config/ia64/ia64-protos.h (ia64_hpux_handle_builtin_pragma):
3151 Registered pragma handling routine.
3152 * ia64-c.c (ia64_hpux_handle_builtin_pragma): Ditto.
3153 (ia64_hpux_add_pragma_builtin) New subroutine used by above.
3154 If builtin pragma seen for math routine and C89 conformance is
3155 requested use different math function in order to set errno.
3156 * t-ia64 (ia64-c.o): Add new rule for new file.
3157
9b7c75b9
UW
31582002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3159
3160 * config/s390/s390.md ("movti"): Add Q->Q alternative.
3161 ("*movdi_64", "*movdi_31", "*movsi", "movhi", "movqi_64",
3162 "movqi", "*movdf_64", "*movdf_31", "*movsf"): Likewise.
2567406a
JH
3163
3164 ("*movti_ss", "*movdi_ss", "*movsi_ss", "*movdf_ss",
9b7c75b9
UW
3165 "*movsf_ss"): Remove.
3166
710ba35f
JDA
31672002-09-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
3168
3169 * pa32-regs.h (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P):
3170 Delete macros.
3171
ff970081
AD
31722002-09-03 Arati Dikey <aratid@kpit.com>
3173
3174 * h8300.c (asm_file_start): Corrected optimization comment.
3175
b50d021d
SS
31762002-09-03 Stan Shebs <shebs@apple.com>
3177
3178 * c-lang.c (recognize_objc_keyword): Remove, no longer used.
3179 * c-tree.h (recognize_objc_keyword): Remove decl.
3180 * c-typeck.c (comp_target_types): Update a comment.
3181
b808c04c
UW
31822002-09-03 Ulrich Weigand <uweigand@de.ibm.com>
3183
3184 * config/s390/s390.c (s390_decompose_address): Remove STRICT parameter
3185 and register validity checks.
3186 (general_s_operand): Adapt to s390_decompose_address interface change.
3187 (q_constraint): Likewise.
3188 (s390_expand_plus_operand): Likewise.
3189 (legitimiate_address_p): Likewise.
3190 (legitimate_la_operand_p): Likewise.
3191 (legitimize_la_operand): Likewise.
3192 (print_operand_address): Likewise.
3193 (print_operand): Likewise.
3194
ee453219
NP
3195Tue Sep 3 11:32:14 2002 Nicola Pero <n.pero@mi.flashnet.it>
3196
3197 PR objc/5956:
3198 * objc/objc-act.c (build_typed_selector_reference): Fix typo which
2567406a
JH
3199 was causing the new selector never to match the existing ones
3200 (Patch by Alexander Malmberg <alexander@malmberg.org>).
ee453219 3201
d82283d5
GS
32022002-09-03 Graham Stott <graham.stott@btinternet.com>
3203
3204 * config/i386/i386.md ("femms"): Add "memory" attr "none".
3205
32062002-09-03 Graham Stott <graham.stott@btinternet.com>
c7a009a2
GS
3207
3208 * expr.c (expand_expr): Remove extraneous comment and code.
3209
98c0d8d1
RH
32102002-08-31 Richard Henderson <rth@redhat.com>
3211
3212 * expr.c (block_move_libcall_safe_for_call_parm): Fix thinko.
3213
a5f3f0ab
JDA
32142002-08-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
3215
3216 * pa.c (pa_globalize_label): Add ATTRIBUTE_UNUSED to prototype.
3217
38ec83b1
RH
32182002-08-30 Richard Henderson <rth@redhat.com>
3219
c9989d09 3220 PR opt/7515
38ec83b1
RH
3221 * c-objc-common.c: Include target.h.
3222 (c_cannot_inline_tree_fn): Don't auto-inline functions that
3223 don't bind locally. Factor setting DECL_UNINLINABLE.
3224 * Makefile.in (c-objc-common.o): Update.
3225
4c64396e
JJ
32262002-08-30 Janis Johnson <janis187@us.ibm.com>
3227
3228 * doc/install.texi (Configuration, Building): Fix a typo and
3229 some formatting directives.
3230
4226378a
PK
32312002-08-30 Paul Koning <pkoning@equallogic.com>
3232
3233 * doc/c-tree.texi (RDIV_EXPR): Fix typo.
3234 * doc/rtl.texi (post_modify): Remove misplaced text, remove "not
3235 implemented" note.
3236 * doc/md.texi (IP2K): Move machine-specific constraints before MIPS
3237 for alphabetic order.
3238 * doc/tm.texi (TARGET_FLOAT_FORMAT): Update description for
3239 VAX_FLOAT_FORMAT. Remove reference to HOST_FLOAT_FORMAT.
3240 (VAX_HALFWORD_ORDER): Document.
3241 (LARGEST_EXPONENT_IS_NORMAL): Remove note about being only for
3242 IEEE float format.
3243 (TARGET_SCHED_ISSUE_RATE): Reword reference to MAX_DFA_ISSUE_RATE.
3244 (ASM_OUTPUT_LABEL_REF): Fix font.
3245 (CASE_VECTOR_SHORTEN_MODE): Ditto.
3246
b8074dbe
DC
32472002-08-30 Denis Chertykov <denisc@overta.ru>
3248
3249 * config/ip2k/ip2k.c (ip2k_set_compare): Remove all const_double
3250 stuff.
3251 (ip2k_gen_unsigned_comp_branch): Handle CONST_INT and
3252 CONST_DOUBLE constants.
2567406a 3253
55f49e3d
JT
32542002-08-30 Jason Thorpe <thorpej@wasabisystems.com>
3255
3256 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Move language-
3257 related defines to...
3258 (SUBTARGET_LANGUAGE_CPP_BUILTINS): ...here.
3259 * config/alpha/netbsd.h (SUBTARGET_LANGUAGE_CPP_BUILTINS): Redefine
3260 as a no-op.
3261
e1944073
KW
32622002-08-30 Krister Walfridsson <cato@df.lth.se>
3263
3264 * config/arm/arm.c (arm_asm_output_labelref): New function.
3265 * config/arm/arm.h (ASM_OUTPUT_LABELREF): Call arm_asm_output_labelref.
3266 * config/arm/arm-protos.h: Add prototype for arm_asm_output_labelref.
3267
6e92b3a1
RB
32682002-08-29 Rodney Brown <rbrown64@csc.com.au>
3269
3270 * doc/install.texi (Specific, alpha*-dec-osf*): Add "virtual
3271 memory exhausted" workarounds.
3272
9d533cb5
GDR
32732002-08-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
3274
3275 * diagnostic.c (fancy_abort): Don't repeat "internal error".
3276 * toplev.c (crash_signal): Likewise.
3277
1f676100
NP
3278Fri Aug 30 00:33:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
3279
3280 * doc/cpp.texi (__NEXT_RUNTIME__): Extended documentation.
3281 * doc/invoke.texi (-fnext-runtime, -Wno-protocol, -Wselector):
3282 Extended, updated documentation.
3283 (-Wundeclared-selector): Documented.
3284
23532de9
JT
32852002-08-29 Jason Thorpe <thorpej@wasabisystems.com>
3286
3287 * config/chorus.h: Consistently define *_DEBUGGING_INFO with
3288 the value 1. Do not undef before defining.
3289 * config/darwin.h: Likewise.
3290 * config/dbx.h: Likewise.
3291 * config/dbxcoff.h: Likewise.
3292 * config/dbxelf.h: Likewise.
3293 * config/elfos.h: Likewise.
3294 * config/interix.h: Likewise.
3295 * config/lynx-ng.h: Likewise.
3296 * config/lynx.h: Likewise.
3297 * config/netware.h: Likewise.
3298 * config/psos.h: Likewise.
3299 * config/svr3.h: Likewise.
3300 * config/alpha/alpha.h: Likewise.
3301 * config/alpha/elf.h: Likewise.
3302 * config/alpha/vms.h: Likewise.
3303 * config/arc/arc.h: Likewise.
3304 * config/arm/aout.h: Likewise.
3305 * config/arm/coff.h: Likewise.
3306 * config/c4x/c4x.h: Likewise.
3307 * config/h8300/h8300.h: Likewise.
3308 * config/i386/cygwin.h: Likewise.
3309 * config/i386/djgpp.h: Likewise.
3310 * config/i386/gas.h: Likewise.
3311 * config/i386/gstabs.h: Likewise.
3312 * config/i386/i386-coff.h: Likewise.
3313 * config/i386/i386-interix.h: Likewise.
3314 * config/i386/sco5.h: Likewise.
3315 * config/i386/svr3dbx.h: Likewise.
3316 * config/i386/sysv3.h: Likewise.
3317 * config/i386/win32.h: Likewise.
3318 * config/i386/x86-64.h: Likewise.
3319 * config/i960/i960.h: Likewise.
3320 * config/ia64/ia64.h: Likewise.
3321 * config/ip2k/ip2k.h: Likewise.
3322 * config/m32r/m32r.h: Likewise.
3323 * config/m68k/3b1.h: Likewise.
3324 * config/m68k/3b1g.h: Likewise.
3325 * config/m68k/ccur-GAS.h: Likewise.
3326 * config/m68k/coff.h: Likewise.
3327 * config/m68k/hp2bsd.h: Likewise.
3328 * config/m68k/hp310g.h: Likewise.
3329 * config/m68k/hp320g.h: Likewise.
3330 * config/m68k/hp3bsd.h: Likewise.
3331 * config/m68k/hp3bsd44.h: Likewise.
3332 * config/m68k/linux-aout.h: Likewise.
3333 * config/m68k/m68k-aout.h: Likewise.
3334 * config/m68k/mot3300.h: Likewise.
3335 * config/m68k/netbsd.h: Likewise.
3336 * config/m68k/openbsd.h: Likewise.
3337 * config/m68k/pbb.h: Likewise.
3338 * config/m68k/plexus.h: Likewise.
3339 * config/m68k/sun2.h: Likewise.
3340 * config/m68k/sun3.h: Likewise.
3341 * config/m68k/tower-as.h: Likewise.
3342 * config/m68k/vxm68k.h: Likewise.
3343 * config/m88k/aout-dbx.h: Likewise.
3344 * config/m88k/m88k-aout.h: Likewise.
3345 * config/mcore/mcore-elf.h: Likewise.
3346 * config/mcore/mcore-pe.h: Likewise.
3347 * config/mips/elf.h: Likewise.
3348 * config/mips/elf64.h: Likewise.
3349 * config/mips/iris5gas.h: Likewise.
3350 * config/mips/iris6.h: Likewise.
3351 * config/mips/mips.h: Likewise.
3352 * config/mips/sni-gas.h: Likewise.
3353 * config/mmix/mmix.h: Likewise.
3354 * config/ns32k/netbsd.h: Likewise.
3355 * config/pa/pa64-hpux.h: Likewise.
3356 * config/romp/romp.h: Likewise.
3357 * config/rs6000/sysv4.h: Likewise.
3358 * config/rs6000/xcoff.h: Likewise.
3359 * config/sh/coff.h: Likewise.
3360 * config/sh/elf.h: Likewise.
3361 * config/sparc/linux64.h: Likewise.
3362 * config/sparc/liteelf.h: Likewise.
3363 * config/sparc/netbsd.h: Likewise.
3364 * config/sparc/openbsd.h: Likewise.
3365 * config/sparc/pbd.h: Likewise.
3366 * config/sparc/sp64-elf.h: Likewise.
3367 * config/sparc/sp86x-elf.h: Likewise.
3368 * config/sparc/sparc.h: Likewise.
3369 * config/vax/vax.h: Likewise.
3370 * config/vax/vaxv.h: Likewise.
3371
5e98fba2
DD
33722002-08-29 "Dhananjay R. Deshpande" <dhananjayd@kpit.com>
3373
3374 * h8300.c (shift_alg_hi): Various tweaks to improve performance
3375 of HImode shifts.
3376 (get_shift_alg): Corresponding changes.
3377
43852342
JDA
33782002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
3379
3380 * som.h (ALWAYS_STRIP_DOTDOT): Define to 1.
3381
44bb111a
RH
33822002-08-29 Richard Henderson <rth@redhat.com>
3383
3384 * expr.h (enum block_op_methods): New.
3385 (emit_block_move): Update prototype.
3386 * expr.c (block_move_libcall_safe_for_call_parm): New.
3387 (emit_block_move_via_loop): New.
3388 (emit_block_move): Use them. New argument METHOD.
3389 (emit_push_insn): Always respect the given alignment.
3390 (expand_assignment): Update call to emit_block_move.
3391 (store_expr, store_field, expand_expr): Likewise.
3392 * builtins.c (expand_builtin_apply): Likewise.
3393 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
3394 * function.c (expand_function_end): Likewise.
3395 * config/sh/sh.c (sh_initialize_trampoline): Likewise.
3396 * config/sparc/sparc.c (sparc_va_arg): Likewise.
3397 * calls.c (expand_call, emit_library_call_value_1): Likewise.
3398 (save_fixed_argument_area): Use emit_block_move with
3399 BLOCK_OP_CALL_PARM instead of move_by_pieces.
3400 (restore_fixed_argument_area): Likewise.
3401 (store_one_arg): Fix alignment parameter to emit_push_insn.
3402
08b3d104
JDA
34032002-08-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
3404
3405 * install.texi (hppa64-hp-hpux11*): Document installation procedure.
3406
ce4e9970 34072002-08-29 Catherine Moore <clm@redhat.com>
8376061d
CM
3408
3409 * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
3410 NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
3411 (PREDICATE_CODES): Include new predicates.
3412 (RTX_COSTS): Handle UMOD and UDIV. Tune MULT for v850e.
3413 (TARGET_SWITCHES): Add strict-align.
3414 (TARGET_STRICT_ALIGN): New.
2567406a 3415 (MASK_DEFAULT, STRICT_ALIGNMENT): Redefine.
8376061d
CM
3416 * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
3417 Define.
3418 (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
3419 v850_muldi3.
3420 * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
3421 L_callt_save_r2_r31, L_return_r2_r31,
3422 L_save_all_interrupt): Change addi to add.
3423 (L_save_interrupt, L_return_interrupt): Rework.
3424 (__return_r31): Correct .size directive.
3425 (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
3426 (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
3427 New routines.
3428 * config/v850/v850.c (expand_prologue): Call
3429 gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
3430 gen_callt_return_interrupt and gen_callt_save_all_interrupt.
3431 (reg_or_int9_operand): New predicate.
3432 (reg_or_const_operand): New routine.
3433 * config/v850/v850.md (return_interrupt): Changed from
3434 restore_interrupt.
3435 (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
3436 (callt_save_interrupt): Change save sequence.
3437 (callt_return_interrupt): New.
3438 (save_interrupt): Don't use runtime function for LONG_CALLS
3439 and TARGET_PROLOG_FUNCTION.
3440 (save_all_interrupt): Likewise.
3441 (mulsi3): Use new predicate.
3442 (moviscc): Disallow some combination of constants.
3443 Fix define_split for sasf insns, so that it will not generate bad
3444 code if operand0 and operand5 are the same.
3445 * config/v850/v850-protos.h: Prototype new predicates.
3446
585e661a
GDR
34472002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
3448
3449 * c-common.c (builtin_define_type_precision): New function.
3450 (cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
3451 wchar_t is unsigned in C++.
3452 * doc/cpp.texi (Common Predefined Macros): Document
3453 __WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
3454 __INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
3455 __DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
3456
bd8f9aec
SP
34572002-08-28 Sylvain Pion <pion@cs.nyu.edu>
3458
3459 * doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
3460 section. Mention that it is enabled by -Wall.
3461 (-Wall): Mention that there can be language-specific warnings as well.
3462 (-Wctor-dtor-privacy): Mention that it is enabled by default.
3463 (-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
3464
58ab7171
R
3465Wed Aug 28 15:35:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
3466
3467 * sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
3468 if it is ever live.
3469
3470 * sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
3471 attribute for SHCOMPACT.
3472
3473 * sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
3474 appropriately.
3475 (FUNCTION_BOUNDARY): Specify only the minimum alignment required
3476 by the ABI.
3477
3478 * sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
3479
27f4b67e
JT
34802002-08-28 Jason Thorpe <thorpej@wasabisystems.com>
3481
3482 * config.gcc (mips*-*-netbsd*): Set target_cpu_default to
3483 "MASK_GAS|MASK_ABICALLS".
3484 * config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
3485 (TARGET_DEFAULT): Remove.
3486 (MACHINE_TYPE): Undefine before defining.
3487 (DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
3488
eca7f13c
MM
34892002-08-27 Mark Mitchell <mark@codesourcery.com>
3490
3491 * c-common.c (warn_abi): New variable.
3492 * c-common.h (warn_abi): Likewise.
3493 * c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
3494 (c_common_decode_option): Handle it.
7ee425e4 3495 * doc/invoke.texi: Document -Wabi.
2567406a 3496
ece4ce85
NP
3497Tue Aug 27 23:03:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
3498
3499 * c-common.c (warn_undeclared_selector): New variable.
3500 * c-common.h (warn_undeclared_selector): Idem.
3501 * c-opts.c (c_common_decode_option): Set warn_undeclared_selector
3502 to on when -Wundeclared-selector is found.
3503 (COMMAND_LINE_OPTIONS): Added -Wundeclared-selector.
3504 * objc/objc-act.c (build_selector_expr): If
3505 warn_undeclared_selector is set, check that the selector has
3506 already been defined, and emit a warning if not.
3507
b4378319 35082002-08-27 Nick Clifton <nickc@redhat.com>
54c93c30
AE
3509 Catherine Moore <clm@redhat.com>
3510 Jim Wilson <wilson@cygnus.com>
3511
3512 * config.gcc: Add v850e-*-* target.
3513 Add --with-cpu= support for v850.
3514 * config/v850/lib1funcs.asm: Add v850e callt functions.
3515 * config/v850/v850.h: Add support for v850e target.
3516 * config/v850/v850.c: Add functions to support v850e target.
3517 * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
3518 * config/v850/v850.md: Add patterns for v850e instructions.
3519 * doc/invoke.texi: Document new v850e command line switches.
b4378319 3520
ef261fee
R
3521Tue Aug 27 18:30:47 2002 J"orn Rennecke <joern.rennecke@superh.com>
3522 Aldy Hernandez <aldyh at redhat dot com>
3523
3524 * doc/tm.texi: Applied numerous fixes to the automaton based
3525 scheduler descrition.
3526
c60ee6f5
JH
3527Tue Aug 27 19:51:05 CEST 2002 Jan Hubicka <jh@suse.cz>
3528
3529 * i386.c (classify_argument): Handle variable sized objects.
3530
1985ef90
JH
3531Tue Aug 27 19:18:16 CEST 2002 Jan Hubicka <jh@suse.cz>
3532
3533 * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem
3534
7acc97e0
JH
3535Tue Aug 27 18:01:45 CEST 2002 Jan Hubicka <jh@suse.cz>
3536
3537 * libgcc2.c (__bb_exit_func): Properly write the summarized statistics.
3538
23327dae
JH
3539Tue Aug 27 18:00:11 CEST 2002 Jan Hubicka <jh@suse.cz>
3540
3541 * i386.c (classify_argument): Properly compute word size of the analyzed object.
3542
c49439f1
R
3543Tue Aug 27 14:39:09 2002 J"orn Rennecke <joern.rennecke@superh.com>
3544
3545 * sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
3546 mac_gp ftrc_s and cwb. Add / Adjust definitions in individual insn
3547 accordingly.
3548 (attribute insn_class): Provide default definitions based on type.
3549 Remove all insn-specific settings.
3550 (various function units): Remove old SH4 scheduling.
3551 (branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
3552 New attributes. Set them where appropriate.
3553 (cpu unit FS): Don't define / use.
3554 (F3, load_store): New cpu units.
3555 (F01): New reservation.
3556 (all insn_reservations): Make dependent on sh4 pipeline model.
3557 Fix latencies.
3558 (nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
3559 (sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
3560 (mt insn_reservation): Use type mt_group.
3561 (insn_reservation load_store): Split into sh4_load, sh4_load_si,
3562 sh4_fload and sh4_store.
3563 (insn_reservation branch_zero and branch): Replace with sh4_branch.
3564 (insn_reservation branch_far): Replace with sh4_return.
3565 (insn_reservation return_from_exp): Rename to:
3566 (sh4_return_from_exp). Change to be just d_lock*5.
3567 (insn_reservation lds_to_pr): Rename to:
3568 (sh4_lds_to_pr). Change to be just d_lock*2.
3569 (insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
3570 d_lock*2.
3571 (insn_reservation prload_mem): Rename to:
3572 (sh4_prstore_mem). Change to d_lock*2,nothing,memory.
3573 (insn_reservation fpscr_store): Rename to:
3574 (fpscr_load). Change to d_lock,nothing,F1*3.
3575 (insn_reservation fpscr_store_mem): Rename to:
3576 (fpscr_load_mem). Change to d_lock,nothing,(F1+memory),F1*2.
3577 (insn_reservation multi): Change to
3578 d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
3579 (insn_reservation fp_arith): Change to issue,F01,F2.
3580 (insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
3581 (insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
3582 (insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
3583 (insn_reservation fp_double_cmp): Change to
3584 d_lock,(d_lock+F01),F1+F2,F2.
3585 (insn_reservation dp_div): Change to
3586 issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
3587 * sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
3588 (sh_adjust_cost, SHcompact): Differentiate between different
3589 kinds of dependencies. Drop factor of ten for superscalar.
3590 Use new instruction types. Add new exception rules.
3591
3592 * sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
3593
3594 * sh.md (mperm_w): Add DONE.
3595
f34fc46e
DE
35962002-08-27 David Edelsohn <edelsohn@gnu.org>
3597
3598 * longlong.h: Import current PowerPC defintion from GMP-4.1.
3599
3600 * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
3601
3602 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
3603
dcb44500
R
3604Tue Aug 27 13:53:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
3605
3606 * sh.h (MAX_FIXED_MODE_SIZE): Define.
3607
3ec07554
GDR
36082002-08-27 Gabriel Dos Reis <gdr@soliton.integrable-solutions.net>
3609
3610 * doc/cpp.texi (Common Predefined Macros): Don't mess with table
2567406a 3611 delimiter.
3ec07554 3612
35885eab
GDR
36132002-08-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
3614
3615 * c-common.c (cpp_define_data_format): New function.
3616 (cb_register_builtins): Call it.
3617
3618 * doc/cpp.texi (Common Predefined Macros): Document
3619 __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
3620 __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
3621 __TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
3622 __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
3623 __TARGET_USES_VAX_H_FLOAT__.
3624
d632dee9
ZL
36252002-08-26 Ziemowit Laski <zlaski@apple.com>
3626
3627 * objc/objc-act.c (get_super_receiver): If inside a class method
3628 of a category, cast the receiver to 'id' before accessing the 'isa'
3629 field so that <objc/objc-class.h> is not needed. For NeXT runtime.
3630
c3cc6b78
UW
36312002-08-26 Ulrich Weigand <uweigand@de.ibm.com>
3632
2567406a 3633 * config/s390/s390-protos.h (s390_function_prologue,
c3cc6b78
UW
3634 s390_function_epilogue): Remove.
3635 config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
3636 TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
3637
3638 config/s390/s390.c (s390_machine_dependent_recorg): New function.
3639 config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
3640 config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
3641 config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
3642 to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
3643
2567406a 3644 config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
c3cc6b78
UW
3645 assume BASE_REGISTER and RETURN_REGNUM need to be saved.
3646 (s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
3647 function is not a leaf function. Use save_gprs and restore_gprs.
3648 (s390_emit_epilogue): Likewise.
3649 (save_gprs, restore_gprs): New functions.
3650 (struct s390_frame): Remove return_reg_saved_p member.
3651 (save_fprs_p): Remove.
3652 (s390_optimize_prolog): New function.
3653 (s390_legitimate_reload_constant): Remove now unnecessary check.
3654
3655 (s390_function_count): Remove.
3656 (s390_output_symbolic_const): Replace s390_function_count by
3657 current_function_funcdef_no.
3658 (s390_output_constant_pool): Likewise.
3659
3660 (legitimize_pic_address): Use regs_ever_live to track PIC register
3661 instead of current_function_uses_pic_offset_table.
3662 (s390_emit_prologue): Likewise.
3663 config/s390/s390.md ("call", "call_value"): Likewise.
3664
3f662186
NB
36652002-08-26 Neil Booth <neil@daikokuya.co.uk>
3666
3667 * c-opts.c (find_opt): Don't complain about wrong languages
3668 here. Return exact matches even for wrong language.
3669 (c_common_decode_option): Complain about wrong languages
3670 here.
3671
b6128b8c
SH
36722002-08-24 Stuart Hastings <stuart@apple.com>
3673
3674 * function.h (struct function): Add flag
3675 all_throwers_are_sibcalls.
3676 * except.c (set_nothrow_function_flags): Replaces
3677 nothrow_function_p. Set new flag.
3678 * except.h (set_nothrow_function_flags): Replaces
3679 nothrow_function_p.
3680 * dwarf2out.c (struct dw_fde_struct): Add flag
3681 all_throwers_are_sibcalls.
3682 (output_call_frame_info): Test it.
3683 (dwarf2out_begin_prologue) Propagate it from cfun to
3684 dw_fde_struct.
3685 * toplev.c (rest_of_compilation): Update calls to
3686 nothrow_function_p.
3687
280cf02a
ZW
36882002-08-23 Zack Weinberg <zack@codesourcery.com>
3689
3690 * ggc-page.c (compute_inverse): Short circuit calculation for
3691 object sizes larger than half a page.
3692
c6664446
DE
36932002-08-23 David Edelsohn <edelsohn@gnu.org>
3694
3695 * config/rs6000/rs6000.c (rs6000_elf_select_section): Treat
3696 DEFAULT_ABI == ABI_AIX like PIC. Test PIC & reloc for readonly
3697 default.
3698 (rs6000_elf_unique_section): Likewise.
3699
da57d233
KG
37002002-08-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3701
3702 * ns32k.c (ns32k_globalize_label): Delete.
3703 * ns32k.h (ASM_OUTPUT_LABEL, TARGET_ASM_GLOBALIZE_LABEL): Delete.
3704
56a7189a
AM
37052002-08-23 Alan Modra <amodra@bigpond.net.au>
3706
3707 * config/rs6000/rs6000.c (output_mi_thunk): Don't determine insns
3708 for loading delta with num_insns_constant_wide. Calculate
3709 delta_low, delta_high without using a conditional.
3710
d65b1d77
JM
37112002-08-22 Jason Merrill <jason@redhat.com>
3712
3713 * c-common.h (RETURN_STMT_EXPR): Rename from RETURN_EXPR.
3714 * c-common.def: Adjust.
3715 * c-dump.c (c_dump_tree): Adjust.
3716 * c-semantics.c (genrtl_return_stmt): Adjust.
3717 * c-pretty-print.c (pp_c_statement): Adjust.
3718 * tree-inline.c (copy_body_r): Adjust.
3719
8537ed68
ZW
37202002-08-22 Zack Weinberg <zack@codesourcery.com>
3721
3722 * ggc-page.c: Avoid division in ggc_set_mark.
3723 (DIV_MULT, DIV_SHIFT, OFFSET_TO_BIT, inverse_table,
3724 compute_inverse): New.
3725 (ggc_set_mark, ggc_marked_p): Use OFFSET_TO_BIT.
3726 (init_ggc): Initialize inverse_table.
3727
8567c70f
TT
37282002-08-22 Tom Tromey <tromey@redhat.com>
3729
3730 * doc/install.texi (Configuration): Document --datadir.
3731
fde59d4b
AO
37322002-08-22 Alexandre Oliva <aoliva@redhat.com>
3733
3734 * Makefile.in ($(BUILD_PREFIX_1)varray.o): Depend on $(GGC_H).
3735
44ddc79a
HPN
37362002-08-22 Hans-Peter Nilsson <hp@bitrange.com>
3737
3738 * gengtype-lex.l (ID): Allow underscore as first character.
3739
b275d088
DE
37402002-08-21 David Edelsohn <edelsohn@gnu.org>
3741
3742 * config/rs6000/rs6000.c (rs6000_xcoff_asm_globalize_label): New
3743 function.
3744 (rs6000_xcoff_asm_named_section): Rename.
3745 * config/rs6000/xcoff.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3746
57ce46bb
TT
37472002-08-21 Tom Tromey <tromey@redhat.com>
3748
3749 For PR java/6005 and PR java/7611:
3750 * fold-const.c (fold_truthop): Use can_use_bit_fields_p.
3751 (fold): Likewise.
3752 * langhooks.c (lhd_can_use_bit_fields_p): New function.
3753 * langhooks-def.h (lhd_can_use_bit_fields_p): Declare.
3754 (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): New define.
3755 (LANG_HOOKS_INITIALIZER): Use it.
3756 * langhooks.h (struct lang_hooks) [can_use_bit_fields_p]: New
3757 field.
3758
27d30956
SS
37592002-08-21 Stan Shebs <shebs@apple.com>
3760
3761 * tree.c (finish_vector_type): Fix a typo in a comment.
3762 * Makefile.in: Fix "the the" stutters in comments.
3763 * genautomata.c: Ditto.
3764 * ifcvt.c: Ditto.
3765 * regrename.c: Ditto.
3766 * config/alpha/alpha.c: Ditto.
3767 * config/alpha/vms-crt0-64.c: Ditto.
3768 * config/alpha/vms-crt0.c: Ditto.
3769 * config/alpha/vms-psxcrt0-64.c: Ditto.
3770 * config/alpha/vms-psxcrt0.c: Ditto.
3771 * config/d30v/d30v.h: Ditto.
3772 * config/fr30/fr30.h: Ditto.
3773 * config/rs6000/rs6000.c: Ditto.
3774 * config/stormy16/stormy16.h: Ditto.
3775 * doc/md.texi: Ditto.
8537ed68 3776
d873d827
JDA
37772002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
3778
3779 * cppinit.c (remove_dup_nonsys_dirs): Fix warning and return value.
3780
b462d4ab
JM
37812002-08-21 Joseph S. Myers <jsm@polyomino.org.uk>
3782
3783 * c-decl.c (grokdeclarator): Make invalid combinations with long,
3784 short, signed or unsigned into hard errors. Fixes PR c/4319.
3785 Also make duplicate modifiers such as "short short" into hard
3786 errors.
3787
b65d23aa 37882002-08-21 Andrew Pinski <pinskia@physics.uc.edu>
8537ed68 3789 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b65d23aa
AP
3790
3791 * doc/tm.texi (TARGET_ASM_GLOBALIZE_LABEL): Move '@end deftypefn'
3792 to the actual end. Add '@end table' and '@table @code'.
8537ed68 3793
3823f0b2
GK
37942002-08-20 Geoffrey Keating <geoffk@redhat.com>
3795
8d25d915
GK
3796 * doc/tm.texi (Label Output): Add missing '@end deftypefn'.
3797
3823f0b2
GK
3798 * unroll.c (biv_total_increment): Don't try to compute the total
3799 increment for FP BIVs.
3800
5eb99654
KG
38012002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3802
3803 * alpha.c (TARGET_ASM_GLOBALIZE_LABEL): Define for unicosmk.
3804 * alpha/elf.h (ASM_OUTPUT_EXTERNAL_LIBCALL,
3805 ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3806 * alpha/osf.h (ASM_OUTPUT_WEAK_ALIAS): Likewise.
3807 * alpha/unicosmk.h (ASM_GLOBALIZE_LABEL): Delete.
3808 * arm/aof.h (ASM_GLOBALIZE_LABEL): Likewise.
3809 (GLOBAL_ASM_OP): Define.
3810 * arm.c (aof_globalize_label): New function.
3811 (TARGET_ASM_GLOBALIZE_LABEL): Define for AOF.
3812 * arm/unknown-elf.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3813 * c4x.c (c4x_globalize_label): New function.
3814 (TARGET_ASM_GLOBALIZE_LABEL): Define for c4x.
3815 * c4x.h (ASM_GLOBALIZE_LABEL): Delete.
3816 (GLOBAL_ASM_OP): Define.
3817 * cris/aout.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3818 * darwin-protos.h (darwin_globalize_label): Declare.
3819 * darwin.c (darwin_globalize_label): New function.
3820 * darwin.h (ASM_DECLARE_CLASS_REFERENCE): Use target hook.
3821 (ASM_GLOBALIZE_LABEL): Delete.
3822 (GLOBAL_ASM_OP, TARGET_ASM_GLOBALIZE_LABEL): Define.
3823 * dsp16xx.c (asm_output_common): Use target hook.
3824 * elfos.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
3825 * frv.h (ASM_GLOBALIZE_LABEL): Delete.
3826 (GLOBAL_ASM_OP): Define.
3827 * i370.c (i370_globalize_label): New function.
3828 (TARGET_ASM_GLOBALIZE_LABEL): Define for i370.
3829 * i370.h (ASM_GLOBALIZE_LABEL): Delete.
3830 * i386.c (ix86_asm_file_end): Use target hook.
3831 * i386/sco5.h (ASM_GLOBALIZE_LABEL): Don't undef.
3832 (ASM_OUTPUT_EXTERNAL_LIBCALL): Use target hook.
3833 * ia64.c (ia64_asm_output_external): Likewise.
3834 * ia64/sysv4.h: Update comment.
3835 * m32r.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3836 * mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3837 * mips/iris5.h (ASM_OUTPUT_WEAK_ALIAS): Use target hook.
3838 * mips/linux.h (ASM_OUTPUT_ALIGNED_BSS): Likewise.
3839 * mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Use target hook.
3840 * mmix-protos.h (mmix_asm_globalize_label): Delete.
3841 * mmix.c (mmix_asm_globalize_label): Likewise.
3842 * mmix.h (ASM_GLOBALIZE_LABEL): Likewise.
3843 (GLOBAL_ASM_OP): Define.
3844 * ns32k.c (ns32k_globalize_label): New function.
3845 * ns32k.h (TARGET_ASM_GLOBALIZE_LABEL): Define for ns32k.
3846 (ASM_GLOBALIZE_LABEL): Delete.
3847 * pa/pa-linux.h (ASM_GLOBALIZE_LABEL): Don't undef.
3848 (TARGET_ASM_GLOBALIZE_LABEL): Undefine.
3849 * pa.c (pa_globalize_label): New function.
3850 * pa.h (ASM_GLOBALIZE_LABEL): Delete.
3851 (TARGET_ASM_GLOBALIZE_LABEL): Define for pa.
3852 * rs6000/darwin.h (ASM_GLOBALIZE_LABEL): Delete.
3853 (GLOBAL_ASM_OP): Define.
3854 (TARGET_ASM_GLOBALIZE_LABEL): Undef.
3855 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_BSS): Use target hook.
3856 * rs6000/xcoff.h (ASM_GLOBALIZE_LABEL): Delete.
3857 (GLOBAL_ASM_OP): Define.
3858 * v850.c (v850_output_aligned_bss): Use target hook.
3859 * vax.c (vms_globalize_label): New function.
3860 (TARGET_ASM_GLOBALIZE_LABEL): Define for vms.
3861 * vax/vms.h (ASM_GLOBALIZE_LABEL): Delete.
3862 (GLOBAL_ASM_OP): Define.
3863 * defaults.h (ASM_GLOBALIZE_LABEL): Delete.
3864 * doc/tm.texi: Update docs.
3865 * dwarf2out.c (default_eh_frame_section, output_die_symbol): Use
3866 target hook.
3867 * final.c (output_alternate_entry_point): Likewise.
3868 * hooks.c (hook_FILEptr_constcharptr_void): New function.
3869 * hooks.h (hook_FILEptr_constcharptr_void): Declare.
3870 * output.h (assemble_global): Delete.
3871 (default_globalize_label): Declare.
3872 * system.h (ASM_GLOBALIZE_LABEL): Poison.
3873 * target-def.h (TARGET_ASM_GLOBALIZE_LABEL): Define.
3874 (TARGET_ASM_OUT): Add TARGET_ASM_GLOBALIZE_LABEL.
3875 * target.h (gcc_target): Add globalize_label member.
3876 * varasm.c (asm_output_bss, asm_output_aligned_bss,
3877 globalize_decl): Use target hook.
3878 (assemble_global): Delete.
3879 (default_globalize_label): New function.
3880
f8f28a75
KG
38812002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3882
3883 * dsp16xx.h (dsp16xx_umulhi3_libcall): Delete.
3884
92b5aacd
DP
38852002-08-20 Devang Patel <dpatel@apple.com>
3886 * tree.c (get_qualified_type): Add TYPE_CONTEXT check.
8537ed68 3887
761c70aa
KG
38882002-08-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3889
3890 * arc.c (output_shift): Use stdio instead of asm_fprintf.
3891 * arm.c (thumb_output_function_prologue): Likewise.
3892 * avr.c (print_operand): Likewise.
3893 * c4x.c (c4x_print_operand): Likewise.
3894 * c4x.h (ASM_OUTPUT_INTERNAL_LABEL, TRAMPOLINE_TEMPLATE,
3895 ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Likewise.
3896 * cris.c (cris_target_asm_function_prologue,
3897 cris_asm_output_mi_thunk): Likewise.
3898 * h8300.c (print_operand): Likewise.
3899 * h8300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3900 * ip2k.c (print_operand): Likewise. Fix format specifier.
3901 * m68hc11.c (asm_print_register, print_operand,
3902 print_operand_address): Use stdio instead of asm_fprintf.
3903 (print_operand_address): Fix format specifier.
3904 * m68hc11.h (FUNCTION_PROFILER, ASM_OUTPUT_ADDR_DIFF_ELT,
3905 ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ALIGN): Use stdio instead of
3906 asm_fprintf.
3907 * m68k/amix.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3908 * m68k/atari.h (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
3909 * m68k.c (m68k_output_function_prologue,
3910 m68k_output_function_epilogue, print_operand): Likewise.
3911 * mmix.c (mmix_asm_output_mi_thunk, mmix_asm_weaken_label):
3912 Likewise. Fix format specifier.
3913 * mn10200.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3914 * mn10300.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3915 * v850.h (ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
3916
5ce6f47b
EC
39172002-08-15 Eric Christopher <echristo@redhat.com>
3918 Jeff Knaggs <jknaggs@redhat.com>
3919
3920 * config.gcc (mipsisa64sr71k-elf): New target.
3921 * config/mips/sr71k.md: New file.
3922 * config/mips/mips.md: Use it.
3923 (rot*): Add sr71k specifics.
3924 * config/mips/t-sr71k: New file.
3925 * config/mips/mips.h (sr71k): New cpu.
3926 (TARGET_SR71K): Use it.
3927 (TUNE_SR71K): Ditto.
3928 (GENERATE_BRANCHLIKELY): Ditto.
3929 (ISA_HAS_MULHI, ISA_HAS_MULS, ISA_HAS_MSAC, ISA_HAS_MACC,
3930 ISA_HAS_ROTR_SIISA_HAS_ROTR_DI): Ditto.
3931 * config/mips/mips.c (sr71k): New cpu.
3932 (mips_use_dfa_pipeline_interface): Use.
3933
39342002-08-15 Eric Christopher <echristo@redhat.com>
8537ed68 3935 Richard Sandiford <rsandifo@redhat.com>
5ce6f47b
EC
3936 Aldy Hernandez <aldyh@redhat.com>
3937 Graham Stott <grahams@redhat.com>
3938 Michael Meissner <meissner@redhat.com>
3939 Gavin Romig-Koch <gavin@redhat.com>
3940 Ken Raeburn <raeburn@cygnus.com>
3941 Alexandre Oliva <aoliva@redhat.com>
3942
3943 * config.gcc (mips64vr-elf): New target.
3944 * config/mips/5400.md: New file.
3945 * config/mips/5500.md: Ditto.
3946 * config/mips/mips.md: Use them.
3947 (frsqrt): New.
3948 * config/mips/mips.c (vr4111, vr4121, vr4320, vr5400, vr5500): New
3949 cpus.
3950 (mips_issue_rate): Use them.
3951 (mips_use_dfa_pipeline_interface): New function. Use for 5400 and 5500.
3952 (TARGET_SCHEDUSE_DFA_PIPELINE_INTERFACE): Define. Use above.
3953 * config/mips/mips.h (vr4111, vr4121, vr4320, vr5400, vr5500): New
3954 cpus.
3955 (TARGET_MIPSx): Use them.
3956 (TUNE_MIPSx): Ditto.
3957 (GETNATE_MULT3_SI): Ditto.
3958 (ISA_HAS_BRANCHLIKELY): Ditto.
3959 (ISA_HAS_CONDMOVE): Ditto.
3960 (ISA_HAS_NMADD_NMSUB): Ditto.
3961 (ISA_HAS_MULHI): New. Ditto.
3962 (ISA_HAS_MULS): Ditto.
3963 (ISA_HAS_MSAC): Ditto.
3964 (ISA_HAS_MACC): Ditto.
3965 (ISA_HAS_ROTR_SI): Ditto.
3966 (ISA_HAS_ROTR_DI): Ditto.
3967 (RTX_COSTS): Use.
3968
48209ce5
JDA
39692002-08-20 John David Anglin <dave@hiauly1.hia.nrc.ca>
3970
3971 * cppinit.c (remove_dup_dir): Add head_ptr argument to handle removal
3972 at head.
3973 (remove_dup_nonsys_dirs): New function.
3974 (remove_dup_dirs): Change argument head to head_ptr. Remove warnings.
3975 (merge_include_chains): Remove non-system include directories from
3976 quote and bracket include chains when they duplicate equivalent system
3977 directories.
3978 * doc/cpp.texi (-I): Update.
8537ed68
ZW
3979 * doc/cppopts.texi (-I): Update.
3980 * doc/install.texi (--with-local-prefix): Further document usage of
48209ce5
JDA
3981 this option.
3982 * doc/invoke.texi (-I): Update.
3983
4ca79136
RH
39842002-08-20 Richard Henderson <rth@redhat.com>
3985
3986 * expr.c (TARGET_MEM_FUNCTIONS): Transform to boolean.
3987 (emit_block_move): Split out subroutines.
3988 (emit_block_move_via_movstr): New.
3989 (emit_block_move_via_libcall): New. Emit bcopy via normal call also.
3990 (emit_block_move_libcall_fn): New. Construct function prototype for
3991 bcopy as well.
3992 (clear_storage): Split out subroutines.
3993 (clear_storage_via_clrstr): New.
3994 (clear_storage_via_libcall): New. Emit bzero as a normal call also.
3995 (clear_storage_libcall_fn): New. Construct function prototype for
3996 bzero as well.
3997 (emit_push_insn): Use emit_block_move.
3998 (expand_assignment): Booleanize TARGET_MEM_FUNCTIONS.
3999 (store_constructor): Likewise.
4000
9f05cef3
ZL
40012002-08-19 Ziemowit Laski <zlaski@apple.com>
4002
4003 * objc/objc-act.c (building_objc_message_expr): Rename to
4004 current_objc_message_selector.
4005
1bd5981b
ZL
40062002-08-19 Ziemowit Laski <zlaski@apple.com>
4007
4008 * objc/objc-act.c (build_ivar_chain): Remove.
4009 (objc_copy_list): Likewise.
4010 (get_class_ivars): Inline call to removed build_ivar_chain
4011 function. Save off a clean copy of ivars in the CLASS_OWN_IVARS
4012 slot; use that slot (rather than CLASS_IVARS) when accessing
4013 ivars for base classes. Call copy_list and chainon instead of
4014 objc_copy_list.
4015 (build_private_template): Call get_class_ivars instead of
4016 build_ivar_chain.
4017 (start_class): Allocate room for the CLASS_OWN_IVARS slot.
5ce6f47b 4018 (continue_class): Call get_class_ivars instead of
1bd5981b
ZL
4019 build_ivar_chain.
4020 (encode_field_decl): Check for DECL_BIT_FIELD_TYPE instead
4021 of DECL_BIT_FIELD (which may have been cleared).
4022 * objc/objc-act.h (CLASS_OWN_IVARS): New accessor macro.
4023
2bf087c0
KG
40242002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4025
4026 * genautomata.c (output_translate_vect, output_state_ainsn_table,
4027 output_min_issue_delay_table): Mark variable with ATTRIBUTE_UNUSED
4028 in output file.
4029 (output_internal_min_issue_delay_func): Initialize variable in
4030 output file.
4031
3fcd079e
AO
40322002-08-19 Alexandre Oliva <aoliva@redhat.com>
4033
4034 * Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
4035 (stage2_build, stage3_build, stage4_build): Likewise, to CC.
4036
71012d97
GK
40372002-08-19 Geoffrey Keating <geoffk@redhat.com>
4038 Steve Ellcey <sje@cup.hp.com>
4039
4040 * machmode.h (SCALAR_INT_MODE_P): New macro to test for
4041 scaler integer mode (MODE_INT or MODE_PARTIAL_INT).
4042 * explow.c (trunc_int_for_mode): Abort when the mode is not
4043 a scaler integer mode.
4044 * combine.c (expand_compound_operation): Don't expand Vector
4045 or Complex modes into shifts.
4046 (expand_field_assignment): Don't do bitwise arithmatic and
4047 shifts on Vector or Complex modes.
4048 (simplify_comparison): Don't call trunc_int_for_mode
4049 for VOIDmode.
4050 * recog.c (general_operand): Likewise.
4051 (immediate_operand): Likewise.
4052 (nonmemory_operand): Likewise.
4053
af8cb5c5
DE
40542002-08-19 David Edelsohn <edelsohn@gnu.org>
4055
4056 * config/rs6000/rs6000.c (rs6000_emit_set_const): Inline
4057 multi-instruction SImode constant. Add REG_EQUAL note.
4058 * config/rs6000/rs6000.md (movsi splitter): Use
5ce6f47b 4059 rs6000_emit_set_const.
af8cb5c5 4060
9bc146b3
KG
40612002-08-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4062
4063 * tree-inline.c (initialize_inlined_parameters): Wrap variable in
4064 the macro test controlling its use.
4065
66df2ac2
L
40662002-08-18 H.J. Lu (hjl@gnu.org)
4067
4068 * config.gcc (*-*-linux*): Set extra_parts="crtbegin.o
4069 crtbeginS.o crtbeginT.o crtend.o crtendS.o", gas=yes and
4070 gnu_ld=yes.
4071 (alpha*-*-linux*, cris-*-linux*, i370-*-linux*,
4072 i[34567]86-*-linux*, x86_64-*-linux*, mips*-*-linux*,
4073 s390-*-linux*, s390x-*-linux*, sparc-*-linux*, sparc64-*-linux*,
4074 xtensa-*-linux*): Remove setting extra_parts, gas, and gnu_ld
4075 here.
4076 (cris-*-linux*): Remove setting thread_file here.
4077
463f1b2b
NB
40782002-08-18 Neil Booth <neil@daikokuya.co.uk>
4079
4080 PR preprocessor/7602
4081 * cppinit.c (path_include): Treat the system environment
4082 variables as being cxx_aware.
4083
2984fe64
JM
40842002-08-17 Joseph S. Myers <jsm@polyomino.org.uk>
4085
4086 * c-decl.c (flexible_array_type_p): New function.
4087 (grokdeclarator, finish_struct): Use it.
4088 * doc/extend.texi: Document constraints on use of structures with
4089 flexible array members.
4090
fded6d78
RS
40912002-08-17 Richard Sandiford <rsandifo@redhat.com>
4092
4093 * config/mips/t-coff, config/mips/t-elf, config/mips/t-isa3264,
4094 config/mips/t-r3900 (MULTILIB_MATCHES): Define.
4095 * config/mips/mips.h (ASM_SPEC): Use %(endian_spec).
4096
8aa5074e
SS
40972002-08-16 Stan Shebs <shebs@apple.com>
4098
4099 * c-common.c (cb_register_builds): Define __NEXT_RUNTIME__
4100 for ObjC with -fnext-runtime.
4101 * doc/cpp.texi: Document it.
4102
f97a5bda
JJ
41032002-08-16 Janis Johnson <janis187@us.ibm.com>
4104
4105 * doc/install.texi (Final installation): Replace links to individual
4106 build status pages with a link to a common page that lists them all.
4107
d3075b6c
SP
41082002-08-16 Sylvain Pion <pion@cs.nyu.edu>
4109
4110 * doc/invoke.texi: Fix typo.
4111
fdf68669
DE
41122002-08-16 David Edelsohn <edelsohn@gnu.org>
4113
4114 * doc/install.texi (*-ibm-aix*): Explain AIX shared object versioning.
4115
41162002-08-16 Andrew Haley <aph@redhat.com>
d436bff8
AH
4117
4118 * tree-inline.c: Add includes for Java inliner.
4119 (remap_decl): Don't handle anonymous types for Java.
4120 (remap_block): Add handling for Java trees.
4121 (copy_scope_stmt): Conditionalize for non-Java use only.
4122 (copy_body_r): Handle Java trees. Add handling for
4123 LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
4124 (initialize_inlined_parameters): Handle Java trees.
4125 (declare_return_variable): Likewise.
4126 (expand_call_inline): Handle Java trees.
4127 (walk_tree): Likewise.
4128 (copy_tree_r): Don't handle SCOPE_STMTs for Java.
4129 (add_stmt_to_compound): New function.
4130
204250d2
RH
41312002-08-15 Richard Henderson <rth@redhat.com>
4132
4133 * Makefile.in (LOOSE_WARN): Remove -fno-common.
4134 (NOCOMMON_FLAG): New substitution point.
4135 (GCC_WARN_CFLAGS): Include it.
4136 * configure.in (ac_checking): Set nocommon_flag.
4137 (nocommon_flag): New substitution point.
4138
25587e40
AO
41392002-08-15 Alexandre Oliva <aoliva@redhat.com>
4140
4141 * c-tree.h (skip_evaluation): Move declaration...
4142 * c-common.h: ... here.
4143 * c-typeck.c (build_external_ref): Don't assemble_external nor
4144 mark a tree as used if skip_evaluation is set.
4145 * c-parse.in (typeof): New non-terminal to set skip_evaluation
4146 around TYPEOF.
4147 (typespec_nonreserved_nonattr): Use it.
4148
702ada3d
DR
41492002-08-15 Douglas B Rupp <rupp@gnat.com>
4150
4151 * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
4152 (xcoff_debug_hooks): Update end_prologue.
4153 * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
4154 * debug.h (end_prologue): Add file arg.
4155 (end_epilogue): Add line and file args.
4156 (dwarf2out_end_epilogue): Add line and file args.
4157 (vmsdbgout_after_prologue): Remove.
4158 * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
4159 (dwarf2_debug_hooks): Update end_prologue.
4160 * dwarfout.c (dwarfout_end_epilogue): Add line and file args.
4161 (dwarfout_end_prologue): Add file arg.
4162 * final.c (vmsdbgout_after_prologue): Remove
4163 (final_end_function): Update end_epilogue call.
4164 (final_scan_insn): Update end_prologue call.
4165 * sdbout.c (sdbout_end_epilogue): Add line and file args.
4166 (sdbout_end_prologue): Add file arg.
4167 (sdb_debug_hooks): Update end_prologue.
4168 (sdb_begin_prologue): Update sdbout_end_prologue call.
4169 * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
4170 vmsdbgout_end_function.
4171 (vmsdbgout_end_prologue): New function renamed from
4172 vmsdbgout_after_prologue. Call vmsdbgout_source_line.
4173 (vmsdbgout_end_function): New function.
4174 (vmsdbgout_end_epilogue): Add line and file args. Call
4175 vmsdbgout_source_line.
4176 (write_pclines): Write only valid line numbers.
4177 (write_srccorr): Don't write source correlation records if 0 lines.
4178 * xcoffout.c (xcoffout_end_epilogue): Add line and file args.
4179
9ef30f83
SE
41802002-08-15 Steve Ellcey <sje@cup.hp.com>
4181
4182 * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
4183 (_Unwind_Internal_Ptr): 32 bit version for use in
4184 read_encoded_value_with_base.
4185 * gcc/unwind-pe.h (read_encoded_value_with_base): Use
4186 _Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
4187 right size.
4188
f7043461
KG
41892002-08-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4190
4191 * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
4192 signed/unsigned warnings.
4193
4194 * regclass.c (init_reg_sets_1, choose_hard_reg_mode,
4195 record_reg_classes): Likewise.
4196
4197 * reload.c (reload_inner_reg_of_subreg, push_reload,
4198 find_reloads_address_1): Likewise.
4199
b4d330e1
DE
42002002-08-15 David Edelsohn <edelsohn@gnu.org>
4201
4202 * rs6000.c (output_mi_thunk): Return to function section on
4203 TARGET_ELF.
4204
4205 * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.
4206
61f02ff5
UW
42072002-08-15 Ulrich Weigand <uweigand@de.ibm.com>
4208
4209 * config/s390/s390.c (legitimize_address): Optimize loading
4210 of large displacements.
4211
1330f7d5
DR
42122002-08-14 Douglas B Rupp <rupp@gnat.com>
4213
4214 * config/alpha/alpha-protos.h: Update.
4215
4216 * config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
4217 (alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
4218 (alpha_linkage_symbol_p): New static function.
4219 (print_operand_address): Print linkage operand.
4220
4221 (alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
4222 variables.
4223 (reloc_kind): New enum.
4224 (struct alpha_funcs): New struct.
4225 (struct alpha_links): Add reloc_kind field. Rename links_kind field.
4226
4227 (alpha_need_linkage): Rewrite.
4228 (alpha_use_linkage): New global function.
4229 (alpha_write_linkage): Rewrite and make static.
4230 (alpha_write_one_linkage): Rewrite
4231
4232 (alpha_start_function): Remove procedure descriptor output.
4233 (alpha_end_function): Write linkages at end of each function.
4234
4235 * config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
4236 (call_vms_1, call_value_vms_1): Rewrite.
4237
4238 * config/alpha/vms.h (ASM_FILE_END): Remove.
4239
d1f1cc6a
RH
42402002-08-14 Richard Henderson <rth@redhat.com>
4241
4242 * ggc-page.c (RTL_SIZE): New.
4243 (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
4244 * rtl.def (BARRIER, NOTE): Pad to 9 slots.
4245
23626154
RH
42462002-08-14 Richard Henderson <rth@redhat.com>
4247
4248 * calls.c: Include target.h.
4249 * Makefile.in (calls.o): Update.
4250
4251 * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
4252 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
4253
fd350d24
RH
42542002-08-14 Richard Henderson <rth@redhat.com>
4255
4256 * Makefile.in (LOOSE_WARN): Add -fno-common.
4257 * c-common.h (constant_string_class_name): Add missing extern.
4258
182d89a3
NB
42592002-08-15 Neil Booth <neil@daikokuya.co.uk>
4260
4261 PR preprocessor/7358
4262 * c-opts.c (check_deps_environment_vars): Ignore main file
4263 for SUNPRO_DEPENDENCIES.
4264 * cppfiles.c (stack_include_file): Ignore main file if
4265 appropriate.
4266 * cpplib.h (struct cpp_options): New member in deps.
4267 * doc/cppenv.texi: Update.
4268
8bfb1467
NB
42692002-08-14 Neil Booth <neil@daikokuya.co.uk>
4270
4271 PR preprocessor/7526
4272 * cpplib.c (run_directive): Kludge so _Pragma dependency works.
4273
41685063
NS
42742002-08-14 Nathan Sidwell <nathan@codesourcery.com>
4275
4276 * doc/invoke.texi (-a): Remove documentation.
4277 (-fprofile-arcs): Remove reference to -a, -ax options.
4278 * doc/gcov.texi (Gcov Data Files): Data might be merged.
4279
77893a23
GDR
42802002-08-14 Gabriel Dos Reis <gdr@nerim.net>
4281
4282 Fix PR/7566
4283 * c-semantics.c (genrtl_case_label): Don't (mis)use
5ce6f47b 4284 warning_with_decl.
77893a23 4285
260f91c2
DJ
42862002-08-14 Dale Johannesen <dalej@apple.com>
4287
8537ed68 4288 * explow.c (emit_stack_restore): Emit memory clobbers
260f91c2
DJ
4289 preceding the stack pop, to prevent the scheduler from
4290 moving refs to variable arrays below this pop.
4291 * reload1.c (reload): Preserve these clobbers for sched2.
4292 * doc/rtl.texi: Document clobber (mem:BLK (scratch)).
4293
cd79e210
NB
42942002-08-14 Neil Booth <neil@daikokuya.co.uk>
4295
4296 * c-opts.c (c_common_post_options): Correct test.
4297
3eb75a73
KG
42982002-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4299
4300 * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
4301 order in call to fprintf.
4302
be3a0ce2
RO
43032002-08-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4304
4305 * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
4306
ccfc6cc8
UW
43072002-08-14 Ulrich Weigand <uweigand@de.ibm.com>
4308
5ce6f47b 4309 * reload.c (find_reloads): Handle constraint letters marked by
ccfc6cc8
UW
4310 EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
4311 (alternative_allows_memconst): Likewise.
4312 * reload1.c (maybe_fix_stack_asms): Likewise.
5ce6f47b 4313 * recog.c (asm_operand_ok, preprocess_constraints,
ccfc6cc8
UW
4314 constrain_operands): Likewise.
4315 * regclass.c (record_operand_costs, record_reg_classes): Likewise.
4316 * local-alloc.c (block_alloc, requires_inout): Likewise.
4317 * stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
4318
4319 * defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
4320 (EXTRA_ADDRESS_CONSTRAINT): Likewise.
4321 * doc/tm.texi: Document these two new target macros.
4322
4323 * config/s390/s390.c (s390_expand_plus_operand): Accept already
4324 valid operands.
4325 (q_constraint): New function.
4326 config/s390/s390-protos.h (q_constraint): Declare it.
4327 config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
4328 (EXTRA_MEMORY_CONSTRAINT): New macro.
4329
4330 * config/s390/s390.md: Throughout the machine description,
4331 replace all instances of the constraint combinations 'Qo'
4332 or 'oQ' with simply 'Q'.
4333
d6ee9f6f
SC
43342002-08-14 Stephane Carrez <stcarrez@nerim.fr>
4335
4336 * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
4337 * config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
4338 (LIBGCC2_CFLAGS): Compile with -mrelax.
4339
8a0b86f5
SC
43402002-08-14 Stephane Carrez <stcarrez@nerim.fr>
4341
4342 * doc/invoke.texi: Document -minmax for 68HC12.
4343
4344 * config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
4345 ("uminqi3"): Likewise.
4346 ("uminhi3", "umaxhi3"): Likewise.
4347
4348 * config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
4349 (TARGET_MIN_MAX): Define.
4350 (TARGET_SWITCHES): New option -minmax/-mnominmax.
4351
d6381f4e
SC
43522002-08-14 Stephane Carrez <stcarrez@nerim.fr>
4353
4354 * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
4355 (MULTILIB_OPTIONS): Must also generate for -mlong-calls.
4356
4357 * config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
4358 (ret, declare, farsym): New gas macros.
4359 (__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
4360 ___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
4361 and declare the symbol far when compiled with -mlong-calls.
5ce6f47b 4362 (__far_trampoline): New for 68HC12 trampoline code to invoke a
d6381f4e
SC
4363 far handler using jsr/bsr.
4364
4365 * config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
4366 (jsr): New macro to transform a 'jsr' into a 'call'.
4367
058edcdb
SC
43682002-08-14 Stephane Carrez <stcarrez@nerim.fr>
4369
4370 * doc/invoke.texi: Document -mlong-calls for 68HC12.
4371
4372 * config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
4373 -mlong-calls is specified.
5ce6f47b 4374 (ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
058edcdb
SC
4375 assembler directives.
4376 (TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
4377 (TARGET_SWITCHES): Add -mlong-calls options.
4378 (current_function_far): Declare.
4379
4380 * config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
4381 into account the page register saved on the stack.
4382 (m68hc11_override_options): Take into account -mlong-calls option.
4383 (m68hc11_asm_file_start): Put a mode for the ELF flags ABI.
4384
4385 * config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
4386 if the function is going to be in 68HC12 banked memory (-mlong-calls).
4387 ("*return_16bit"): Likewise.
4388 ("*return_void"): Likewise.
4389 ("call", "call_value"): Use call for a far function call.
4390
c79043f3
NB
43912002-08-14 Neil Booth <neil@daikokuya.co.uk>
4392
4393 * toplev.c (parse_options_and_default_flags): Don't call
4394 post_options here.
4395 (general_init): Initialize GC, pools and tree hash here,
4396 instead of lang_independent_init.
4397 (lang_independent_init): Rename backend_init.
4398 (do_compile): Call post_options hook; exit early if there
4399 have been errors after switch processing.
4400 (toplev_main): Update.
4401
6bf346d4
GDR
44022002-08-14 Gabriel Dos Reis <gdr@nerim.net>
4403
4404 * c-pretty-print.h: Guard against multiple inclusion.
4405 Robustify macros.
4406 (pp_c_attributes): Declare.
4407 * c-pretty-print.c (pp_c_attributes): New function.
4408
cbf2f479
KG
44092002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4410
4411 * m68k.c (m68k_output_function_prologue,
4412 m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
4413 and NEWS/MOTOROLA.
4414 * genattrtab.c: Remove dpx2 comment.
4415 * libgcc2.c (__enable_execute_stack): Delete versions for
4416 NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
4417 sony_news/SYSTYPE_BSD.
4418 * longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
4419 __gmicro__, __i860__, __NeXT__ and __pyr__.
4420 * rtl.h: Remove convex comment.
4421 * varasm.c: Likewise.
4422
d3969c34
KG
44232002-08-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4424
4425 * c-opts.c (lang_flags): Const-ify.
4426 * ra-build.c (undef_table): Likewise.
4427 * ra.c (eliminables): Likewise.
4428
df89f8e7
GDR
44292002-08-14 Gabriel Dos Reis <gdr@nerim.net>
4430
4431 * tree.h: Guard against multiple inclusion.
4432
cf87d551
HPN
44332002-08-14 Hans-Peter Nilsson <hp@bitrange.com>
4434
4435 * reload1.c (reload_cse_simplify): Before checking
4436 REG_FUNCTION_VALUE_P, check REG_P.
4437
a43c8986
GK
44382002-08-13 Geoffrey Keating <geoffk@redhat.com>
4439
4440 * Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
4441
29337351
NB
44422002-08-13 Neil Booth <neil@daikokuya.co.uk>
4443
4444 * c-opts.c (c_common_init_options): Extra braces needed.
4445
8202c8c4
R
4446Tue Aug 13 17:40:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
4447
4448 * sh.c (sh_init_builtins): Add PARAMS to declaration.
4449 (sh_media_init_builtins, sh_expand_builtin): Likewise.
4450 (sh_expand_unop_v2sf): Use PARAMS for variable declaration.
4451 (sh_expand_binop_v2sf): Likewise.
4452 * sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
4453 (sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
4454 (sh_initialize_trampoline): Likewise.
4455
07893d4f
UW
44562002-08-13 Ulrich Weigand <uweigand@de.ibm.com>
4457
4458 * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
4459 new condition code modes.
4460 s390.c (s390_match_ccmode_set): Handle those new CC modes.
4461 (s390_select_ccmode): Likewise.
4462 (s390_branch_condition_mask): Likewise.
4463
4464 * s390-protos.h (s390_tm_ccmode): Declare.
4465 s390.c (s390_tm_ccmode): New function.
4466 (s390_match_ccmode): Allow VOIDmode as REQ_MODE.
4467
4468 * s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
4469 ("*cmpsi_tm2"): Rename to "*tmsi_ext".
4470 ("*cmpqi_tm2"): Rename to "*tmqi_ext".
4471
4472 ("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
4473 "*cmphi_tm_sub","*cmphi_cct_0", "*cmpqi_tm", "*cmpqi_tm_sub",
4474 "*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
4475 ("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
4476 "*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.
4477
4478 ("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
5ce6f47b 4479 "*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
07893d4f
UW
4480 "*cmpqi_ccs_0"): Remove, replace by ...
4481 ("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
5ce6f47b 4482 "*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
07893d4f
UW
4483 "*tstqi", "*tstqi_cconly"): ... these new patterns.
4484
4485 ("*cmpsidi_ccs"): Remove, replace by ...
4486 ("*cmpsi_ccs_sign"): ... this new pattern.
4487 ("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.
4488
4489 ("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
4490 ("*cli"): ... this new pattern.
4491
4492 ("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
4493 "*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
4494 New patterns.
4495 ("adddi3_64"): Rename to "*adddi3_64".
4496 ("adddi3_31"): Replace by insn and splitter "*adddi3_31".
4497 ("adddi3"): Adapt expander.
4498
4499 ("*addsi3_cc"): Allow "general_operand" for operand 2.
5ce6f47b 4500 ("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
07893d4f
UW
4501 "*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.
4502
4503 ("addhi3", "addqi3"): Remove, replace by ...
4504 ("*addsi3_sign", "*addsi3_sub"): ... these new patterns.
4505
4506 ("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
4507 "*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
4508 ("subdi3"): Replace by insn and splitter "*subdi3_31".
4509 ("subdi3"): New expander.
4510
4511 ("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.
4512
4513 ("subhi3", "subqi3"): Remove, replace by ...
4514 ("*subsi3_sign", "*subsi3_sub"): ... these new patterns.
4515
4516 ("*muldi3_sign"): New pattern.
4517 ("muldi3"): Do not clobber CC.
4518 ("mulsi3"): Likewise.
4519 ("mulsi_6432"): Likewise.
4520
db62867b
DC
45212002-08-13 Denis Chertykov <denisc@overta.ru>
4522
4523 * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
8537ed68 4524 which can change CC0.
db62867b 4525
8ba46434
R
4526Tue Aug 13 14:49:20 2002 J"orn Rennecke <joern.rennecke@superh.com>
4527
4528 * gcse.c (adjust_libcall_notes): New function.
4529 (do_local_cprop): Use it. Add fourth parameter. Changed caller.
4530
8733892f
NS
45312002-08-13 Nathan Sidwell <nathan@codesourcery.com>
4532
4533 * libgcc2.c (L_bb): Remove unneeded #includes.
4534 (__global_counters, __gthreads_active): Remove unused globals.
4535 (__bb_exit_func): Merge counts into files rather than appending.
4536 * Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
4537 (ALL_CFLAGS): ... to here.
4538
f4769721
DC
45392002-08-13 Denis Chertykov <denisc@overta.ru>
4540
4541 * config/ip2k/ip2k.c (commands_in_file): Variable removed.
4542 (function_epilogue): Don't calculate function size.
4543 (ip2k_set_compare): Don't use lookup_const_double.
4544 (asm_file_start): Initialization of commands_in_file removed.
4545 (asm_file_end): Output of commands_in_file removed.
5ce6f47b 4546
f4769721
DC
4547 * config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
4548 __INT_MAX__.
4549
c31cddfd
NB
45502002-08-13 Neil Booth <neil@daikokuya.co.uk>
4551
4552 * c-opts.c (c_common_init_options): Check option array is
4553 sorted if checking enabled.
4554
f076f0ce
GDR
45552002-08-13 Gabriel Dos Reis <gdr@nerim.net>
4556
4557 * c-pretty-print.c: #include "c-tree.h".
4558 (pp_c_simple_type_specifier): Tweak.
4559 (pp_c_storage_class_specifier): New.
4560 (pp_c_function_specifier): Likewise.
4561 (pp_c_declaration_specifiers): Likewise.
4562 (pp_c_init_declarator): Likewise.
4563 (pp_c_declaration): Likewise.
4564 (pp_c_direct_declarator): Stub.
4565 (pp_c_declarator): Likewise.
4566 (pp_c_parameter_declaration): Likewise.
4567
f4ff5a69
NB
45682002-08-13 Neil Booth <neil@daikokuya.co.uk>
4569
4570 * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
4571 handle_deferred_opts, sanitize_cpp_opts, defer_opt,
4572 struct deferred_opt): New.
4573 (COMMAND_LINE_OPTIONS): Add -M*.
4574 (missing_arg): Update.
4575 (c_common_decode_option): Handle -M*.
4576 (c_common_post_options): Handle -M*. Use sanitize_cpp_opts;
4577 don't call cpp_post_options.
4578 (c_common_finish, check_deps_environment_vars): Update.
4579 * cppfiles.c (stack_include_file, handle_missing_header): Update.
4580 * cpphash.h (CPP_PRINT_DEPS): Remove.
4581 * cppinit.c: Don't include version.h.
4582 (cpp_create_reader): Don't call deps_init. Initialize
4583 warn_long_long.
4584 (cpp_read_main_file): Init deps if necessary.
4585 (cpp_destroy): Conditionally free deps.
4586 (cpp_finish): Update.
4587 (no_tgt): Remove.
4588 (COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
4589 (cpp_post_options): Rename post_options.
4590 * cpplib.h (struct cpp_options): Remove some dependency options;
4591 move others to a new structure.
4592 (cpp_post_options): Remove.
4593 (cpp_finish): Comment.
4594 * fix-header.c (read_scan_file): Don't call cpp_post_options.
4595
34116c2a
HPN
45962002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
4597
4598 * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
4599 ("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
4600 MMIX_rR_REGNUM as clobbered.
4601 * config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.
4602
9b32718c
GDR
46032002-08-12 Gabriel Dos Reis <gdr@nerim.net>
4604
4605 * diagnostic.h (output_formatted_scalar): Rename from
5ce6f47b 4606 output_formatted_integer.
9b32718c
GDR
4607 * diagnostic.def: Add DK_DEBUG.
4608 * diagnostic.c (output_decimal): Adjust.
4609 (output_long_decimal): Likewise.
4610 (output_unsigned_decimal): Likewise.
4611 (output_octal): Likewise.
4612 (output_long_octal): Likewise.
4613 (output_hexadecimal): Likewise.
4614 (output_long_hexadecimal): Likewise.
4615 * c-pretty-print.c (pp_c_type_specifier): New function.
4616 (pp_c_specifier_qualifier_list): Likewise.
4617 (pp_c_abstract_declarator): Likewise.
4618 (pp_c_char): Replace pp_format_integer with pp_format_scalar.
4619
032613df
DE
46202002-08-12 David Edelsohn <edelsohn@gnu.org>
4621
4622 * doc/trouble.texi (Disappointments): Add static constructor and
4623 destructor dependency information for AIX.
4624
a3737481
NB
46252002-08-12 Neil Booth <neil@daikokuya.co.uk>
4626
4627 * cpphash.h (struct printer): New from cppmain.c.
4628 (cpp_reader): New member.
4629 * cppmain.c (struct printer): Move to cpphash.h.
4630 (options, print): Remove.
4631 (account_for_newlines, print_line, maybe_print_line,
4632 cpp_preprocess_file, setup_callbacks, scan_translation_unit,
4633 scan_translation_unit_trad, cb_line_change, cb_ident,
4634 cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
4635 cb_def_pragma): Make reentrant.
4636
d71f7700
KG
46372002-08-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4638
4639 * real.c (ieee_64): Always define.
4640 (ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4641 (dec_h): Not used yet, hide it.
4642 (emdnorm): Mark parameter in ATTRIBUTE_UNUSED. Guard label with
4643 macro controlling use.
4644 (TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
4645
c16576e6
JH
4646Mon Aug 12 12:48:20 CEST 2002 Jan Hubicka <jh@suse.cz>
4647
4648 * i386.md (tablejump): Sign extend the operand.
4649 * i386.c (classify_argument): Fix missed case from previous patch.
4650
460bd0e3
NB
46512002-08-12 Neil Booth <neil@daikokuya.co.uk>
4652
4653 * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
4654 to c-copts.c.
4655 (warn_multichar): Die.
4656 (cb_register_builtins): Export.
4657 * c-common.h (warn_multichar, preprocess_file): Remove.
4658 (cb_register_builtins): New.
4659 * c-lang.c (c_init): Remove.
4660 (LANG_HOOKS_INIT): Use c_objc_common_init.
4661 * c-lex.c (init_c_lex): Don't canonicalize filename.
4662 * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
4663 (preprocess_file): Make static. Update for cpplib.
4664 (c_common_decode_option): Remove warn_multichar. Use in_fname.
4665 (c_common_post_options): Set some cpp options here.
4666 (c_common_init): Move from c-common.c.
4667 * cppinit.c (cpp_post_options): Don't canonicalize in_fname.
4668 * cpplib.h (struct cpp_options): Remove in_fname.
4669 (cpp_preprocess_file): Update.
4670 * cppmain.c (cpp_preprocess_file): Update for new prototypes.
4671
f3f268dd
KG
46722002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4673
4674 * config.gcc (mips*-*-netbsd*): Include ${tm_file}.
4675
f0201fba
KG
46762002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4677
4678 * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
4679 backslash in comment preceeding macro definition.
4680 * i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
4681 * i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
4682 * i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.
4683
e56fc090
HPN
46842002-08-12 Hans-Peter Nilsson <hp@bitrange.com>
4685
4686 * expr.c (store_expr): In condition for checking if value is
4687 generated in TARGET, move call to expr_size last.
4688
76c3e73e
NB
46892002-08-11 Neil Booth <neil@daikokuya.co.uk>
4690
4691 * c-common.c (c_common_init): Call preprocess_file instead.
4692 (c_common_finish): Move to c-opts.c.
4693 * c-common.h (preprocess_file): new.
4694 * c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
4695 check_deps_environment_vars, c_common_finish): New.
4696 (c_common_decode_option): Update for out_fname and dependencies.
4697 * cppinit.c (init_dependency_output, output_deps): Remove.
4698 (cpp_destroy): Update prototype.
4699 (cpp_add_dependency_target): New.
4700 (cpp_read_main_file): Don't overlay a buffer.
4701 (cpp_finish): Take a deps output stream and write deps to it.
4702 Return the error count.
4703 (cpp_post_options): Don't canonicalize out_fname, or do anything
4704 with dependencies.
4705 * cpplib.h (struct cpp_options): Remove out_fname and
4706 preprocess_only.
4707 (cpp_add_dependency_target): New.
4708 (cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
4709 * cppmain.c (cpp_preprocess_file): Update prototype. Don't
4710 set preprocess_only. Don't handle the output stream directly.
4711
e0c32c62
KG
47122002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4713
4714 * dsp16xx.c (print_operand): Fix format specifier.
4715 * dsp16xx.md: Avoid automatic aggregate initialization.
4716 * frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
4717 * h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
4718 integer constant modifier.
4719 * ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
4720 * mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
4721 guards.
4722 * sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
4723 * v850.c (v850_select_section): Mark parameter with
4724 ATTRIBUTE_UNUSED.
4725 * global.c (global_alloc): Const-ify.
4726 * ra-colorize.c (hardregset_to_string): Fix format specifier.
4727
7ae8cf75
KG
47282002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4729
4730 * darwin-c.c (darwin_pragma_options): Const-ify.
4731 * darwin.c (machopic_non_lazy_ptr_name,
4732 machopic_validate_stub_or_non_lazy_ptr): Likewise.
4733 (machopic_indirect_data_reference): Wrap variables in macros
4734 controlling their use.
4735 (machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
4736 (machopic_select_section): Use parentheses around && within ||.
4737 * i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.
4738
8819cab5
KG
47392002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4740
4741 * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
4742 mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
4743 ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
4744 ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
4745 mdr_try_remove_redundant_insns, track_w_reload,
4746 mdr_try_wreg_elim): Make function static to match prototype.
4747 * mmix.c (mmix_target_asm_function_epilogue): Likewise. Mark
4748 parameter with ATTRIBUTE_UNUSED.
4749
ab2877a3
KG
47502002-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4751
4752 * arc.c (arc_init): Don't use ISO C style function definitions.
4753 * arm.c (count_insns_for_constant, thumb_far_jump_used_p,
4754 arm_get_strip_length, arm_strip_name_encoding): Likewise.
4755 * avr.h (progmem_section): Likewise.
4756 * h8300.c h8300_asm_insn_count): Likewise.
4757 * m32r.c (init_idents): Likewise.
4758 * s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
4759 * sh.c (sh_cfun_interrupt_handler_p): Likewise.
4760 * xtensa.c (xtensa_build_va_list): Likewise.
4761
08767a6f
NB
47622002-08-11 Neil Booth <neil@daikokuya.co.uk>
4763
4764 * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
4765 * c-opts.c (parse_option): Rename find_opt.
4766 (set_std_c99): New function.
4767 (COMMAND_LINE_OPTIONS): Handle -remap and -o. Remove OPT_std_bad.
4768 (missing_arg): Remove OPT_std_bad. Handle -o.
4769 (c_common_decode_option): Handle input and output file names,
4770 -o and -remap. Clean up -std= handling.
4771 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
4772 (cpp_handle_option): Similarly. Don't handle filenames.
4773
db01f480
JH
4774Sun Aug 11 14:43:17 CEST 2002 Jan Hubicka <jh@suse.cz>
4775
4776 * i386.c (classify_argument): Fix computing of field's offsets.
4777
a7701995
AJ
47782002-08-11 Andreas Jaeger <aj@suse.de>
4779
4780 PR target/7531:
4781 * doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.
4782
2516f236
ZL
47832002-08-10 Ziemowit Laski <zlaski@apple.com>
4784
4785 * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
4786 reference to clk_objective_c with flag_objc.
4787 * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
4788 Likewise.
4789 * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.
4790
f749a36b
NB
47912002-08-10 Neil Booth <neil@daikokuya.co.uk>
4792
4793 * c-opts.c (set_std_cxx98, set_std_c89): New.
4794 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4795 (c_common_decode_option): Handle new switches from cppinit.c.
4796 Add -std=gnu++98.
4797 * cppinit.c (set_lang): Rename cpp_set_lang. Export.
4798 (no_arg, no_num): Remove.
4799 (COMMAND_LINE_OPTIONS): Move more to c-opts.c. Drop all lang-
4800 switches apart from -lang-objc and lang-asm.
4801 (cpp_handle_option): Similarly.
4802 * cpplib.h (cpp_set_lang): New.
4803 * doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
4804 -std=gnu++98.
4805 * objc/lang-specs.h: Remove -ansi.
4806
77abb5d8
JH
4807Sat Aug 10 19:59:43 CEST 2002 Jan Hubicka <jh@suse.cz>
4808 Graham Stott
4809
4810 * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
4811 errors.
4812
fac37dc4
KG
48132002-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4814
d950dee3
KG
4815 * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
4816 emit_jump_insn): Fix uninitialized variable.
4817 * gcov.c (init_line_info): Likewise.
4818 * genautomata.c (transform_3): Add braces around ambiguous
4819 else.
4820 * ifcvt.c (cond_exec_process_insns): Mark parameter with
4821 ATTRIBUTE_UNUSED.
4822 * ra-build.c (parts_to_webs_1): Fix uninitialized variable.
4823 * regrename.c (copyprop_hardreg_forward): Fix uninitialized
4824 variable.
4825
fac37dc4
KG
4826 * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
4827 warnings in output files.
4828
0f7866e7
ZL
48292002-08-09 Ziemowit Laski <zlaski@apple.com>
4830
4831 * c-common.c (flag_objc): New.
4832 * c-common.h (c_language_kind): Get rid of clk_objective_c
4833 enum value.
4834 (flag_objc): New extern declaration.
4835 * c-decl.c (implicitly_declare): Call objc_check_decl
4836 instead of maybe_objc_check_decl.
4837 (finish_decl): Likewise.
4838 (grokfield): Likewise.
4839 (finish_struct): Likewise.
4840 * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
4841 (maybe_objc_comptypes): Rename to objc_comptypes.
a7701995 4842 (maybe_building_objc_message_expr): Rename to
0f7866e7
ZL
4843 objc_message_selector.
4844 * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
4845 replace with flag_objc as needed.
4846 * c-opts.c (c_common_init_options): Likewise.
4847 (c_common_decode_option): Likewise.
4848 * c-parse.in (init_reswords): Likewise.
4849 * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
4850 (maybe_objc_comptypes): Rename to objc_comptypes.
a7701995 4851 (maybe_building_objc_message_expr): Rename to
0f7866e7
ZL
4852 objc_message_selector.
4853 * c-typeck.c (comptypes): Call objc_comptypes instead of
4854 maybe_objc_comptypes, and/or objc_message_selector instead of
4855 maybe_building_objc_message_expr.
4856 (comp_target_types): Likewise.
4857 (convert_for_assignment): Likewise.
4858 (warn_for_assignment): Likewise.
4859 * cppinit.c (init_builtins): Set __OBJC__ manifest constant
4860 independently of those for other languages.
4861 * objc/objc-act.c (maybe_objc_comptypes): Delete.
4862 (maybe_objc_check_decl): Delete.
a7701995 4863 (maybe_building_objc_message_expr): Rename to
0f7866e7
ZL
4864 objc_message_selector.
4865 * objc/objc-lang.c (objc_init_options): Use clk_c instead of
4866 clk_objective_c; set flag_objc flag.
4867
c512fd7b
TM
48682002-08-09 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
4869
4870 * ifcvt.c (find_if_case_2): Test correct basic block for size.
4871
5e1bf043 48722002-08-09 Dale Johannesen <dalej@apple.com>
c512fd7b 4873
5e1bf043
DJ
4874 * config/rs6000/rs6000.md: Add sibcall patterns.
4875 * config/rs6000/rs6000.h (FUNCTION_OK_FOR_SIBCALL): Define.
4876 * config/rs6000/rs6000.c (rs6000_ra_ever_killed):
4877 Rewritten to handle sibcalls.
4878 * config/rs6000/rs6000.c (function_ok_for_sibcall): New.
4879 * config/rs6000/rs6000-protos.h (function_ok_for_sibcall): New.
4880
2043c38e
NS
48812002-08-08 Nathan Sidwell <nathan@codesourcery.com>
4882
4883 * profile.c (da_file_name): New static var.
4884 (init_branch_prob): Initialize it.
4885 (end_branch_prob): Remove da file.
4886
4887 * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
41685063 4888 * configure.in (coverage_flags): Default to nothing.
2043c38e
NS
4889 * configure: Rebuilt.
4890
4b7091eb
NB
48912002-08-09 Neil Booth <neil@daikokuya.co.uk>
4892
4893 * Makefile.in (c-opts.o): Update
4894 * c-opts.c: Include intl.h.
4895 (print_help): Move from cppinit.c. Remove unused options.
4896 (COMMAND_LINE_OPTIONS): Move more from cppinit.c.
4897 (missing_arg): Complain for switches without an argument.
4898 (c_common_decode_option): Reject missing joined arguments.
4899 Handle new switches from cppinit.c.
4900 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4901 (cpp_handle_option): Similarly.
4902 (print_help): Moved to c-opts.c.
4903 * cpplib.h (struct cpp_options): Remove help_only.
4904 * gcc.c (cpp_unique_options): Remove -$.
4905 * doc/cppopts.texi: Undocument -h.
4906
9e20be0c
JJ
49072002-08-08 Jakub Jelinek <jakub@redhat.com>
4908
4909 * config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
4910 legitimate constant.
4911 (legitimate_pic_operand_p): Neither pic operand.
4912 (legitimate_address_p): But legitimate address.
4913 (get_thread_pointer): Generate MEM/u instead of CONST around
4914 UNSPEC_TP.
4915 (print_operand): Remove printing of UNSPEC_TP.
4916 (print_operand_address): And print it here.
4917
7b9be5c7 49182002-08-08 Devang Patel <dpatel@apple.com>
9e20be0c 4919
a7701995
AJ
4920 * objc/objc-act.c (build_selector_translation_table): Issue warning,
4921 when -Wselector is used,if method for which selector is being
7b9be5c7 4922 created does not exist.
a7701995 4923
5615d8fd
SC
49242002-08-08 Stephen Clarke <stephen.clarke@superh.com>
4925
4926 * config/sh/sh.c (prepare_move_operands): Only call
4927 target_reg_operand if TARGET_SHMEDIA.
a7701995 4928
3b85fe5f
JJ
49292002-08-08 Jakub Jelinek <jakub@redhat.com>
4930
4931 * config/rs6000/rs6000.h, config/rs6000/aix.h,
4932 config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
4933 two patches.
4934 * config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.
4935
e10c79fe
LB
49362002-08-08 Lars Brinkhoff <lars@nocrew.org>
4937 Richard Henderson <rth@redhat.com>
4938
4939 * emit-rtl.c (gen_rtx_REG): After reload, only return
4940 frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.
4941
aa2a83dc
JJ
49422002-08-08 Jakub Jelinek <jakub@redhat.com>
4943
4944 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
4945 * config/rs6000/rs6000.c (rs6000_field_alignment): Move...
4946 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
4947 macro.
4948
aeaf4d25
AN
49492002-08-08 Adam Nemet <anemet@lnxw.com>
4950
4951 * config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
4952 register.
4953 (thumb_expand_prologue): Likewise.
4954 (thumb_output_function_prologue): Likewise.
4955 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
4956 the additional push of the PIC register.
4957
22aa533e
NS
49582002-08-08 Nathan Sidwell <nathan@codesourcery.com>
4959
4960 * configure.in (enable_coverage): New enable switch.
4961 * configure: Rebuilt.
4962 * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
4963 (INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
4964 (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
4965 (mostlyclean): Remove coverage files.
4966 * doc/install.texi: Document enable_coverage.
4967
4968 * cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
4969 * ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
4970 * f/Make-lang.in (f.mostlyclean): Remove coverage files.
4971 * java/Make-lang.in (java.mostlyclean): Remove coverage files.
4972 * objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
4973 * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
4974 files.
a7701995 4975
18bdccaa
NB
49762002-08-08 Neil Booth <neil@daikokuya.co.uk>
4977
4978 * c-opts.c (cpp_opts): New.
4979 (COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
4980 (c_common_decode_options): Handle cpplib switches.
4981 (c_common_init_options): Set cpp_opts.
4982 * cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
4983 (cpp_handle_option): Similarly.
4984
774b5662
DE
49852002-08-08 David Edelsohn <edelsohn@gnu.org>
4986
4987 * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
4988 (TARGET_ALTIVEC_ABI): Same.
4989 (TARGET_ALTIVEC_VRSAVE): Same.
4990
4991 * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
4992 icode not CODE_FOR_nothing. Change switch to if.
4993
957e9e48
AM
49942002-08-08 Alan Modra <amodra@bigpond.net.au>
4995
4996 * config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
4997
daf06049
JJ
49982002-08-08 Jakub Jelinek <jakub@redhat.com>
4999
5000 * stor-layout.c (place_union_field): For bitfields if
5001 PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
5002 TYPE_USER_ALIGN.
5003
043d39a6
JDA
50042002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5005
5006 * pa.c (struct deferred_plabel): Constify name field.
5007
34bb92e3
NB
50082002-08-07 Neil Booth <neil@daikokuya.co.uk>
5009
5010 * cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
5011
3ec5d64d
JDA
50122002-08-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
5013
5014 * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
5015 local_prefix are the same.
5016 * configure: Rebuilt.
5017
ad9335eb
JJ
50182002-08-07 Jakub Jelinek <jakub@redhat.com>
5019 Richard Henderson <rth@redhat.com>
5020
5021 * stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
5022 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
5023 ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
5024 (place_field): Likewise.
5025 * config/i386/i386.c (x86_field_alignment): Don't check
5026 DECL_USER_ALIGN here.
5027 * config/rs6000/rs6000.c (rs6000_field_alignment): New.
5028 * config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
5029 prototype.
5030 * config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
5031 * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
5032 * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
5033 * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
5034 * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
5035 * doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.
5036
0b6f2917
NB
50372002-08-07 Neil Booth <neil@daikokuya.co.uk>
5038
5039 * Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
5040 * c-common.c: Don't include tree-inline.h.
5041 (c_common_init_options, c_common_post_options): Move to c-opts.c.
5042 * c-common.h (c_common_decode_option): New.
5043 * c-decl.c (c_decode_option): Remove.
5044 * c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
5045 * c-opts.c: New file.
5046 * c-tree.h (c_decode_option): Remove.
5047 * doc/passes.texi: Update.
5048 * objc/objc-act.c (objc_decode_option): Remove.
5049 * objc/objc-act.h (objc_decode_option): Remove.
5050 * objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
5051 c_common_decode_option.
5052
e49ec17d
CD
50532002-08-07 Chris Demetriou <cgd@broadcom.com>
5054
5055 * config/mips/mips.md (sunlt_sf, suneq_sf, sunle_sf): Remove
5056 dependency on TARGET_DOUBLE_FLOAT.
5057
ac1ca451
SC
50582002-08-07 Stephen Clarke <stephen.clarke@superh.com>
5059
5060 * config/sh/lib1funcs.asm (GCC_shcompact_incoming_args): Don't
5061 overwrite callee-save registers. Fix comment.
5062
af34e51e
CD
50632002-08-06 Chris Demetriou <cgd@broadcom.com>
5064
5065 * config/mips/mips.c (override_options): Set MASK_BRANCHLIKELY
5066 in target_flags based on ISA, if it was not set on the command
5067 line. Warn if MASK_BRANCHLIKLEY is set but the ISA does not
5068 support Branch Likely instructions.
5069 * config/mips/mips.h (MASK_BRANCHLIKLEY): New macro.
5070 (TARGET_BRANCHLIKELY): Likewise.
5071 (TARGET_SWITCHES): Add -mbranch-likely and -mno-branch-likely.
5072 (GENERATE_BRANCHLIKELY): Use TARGET_BRANCHLIKELY rather than
5073 ISA_HAS_BRANCHLIKELY.
5074 (ISA_HAS_BRANCHLIKELY): Do not include MIPS16 check.
5075 * doc/invoke.texi: Document new MIPS -mbranch-likely and
5076 -mno-branch-likely options.
5077
2631af95
KG
50782002-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5079
f538618e
KG
5080 * ip2k.c (ip2k_set_compare): Add missing iteration variable.
5081
2631af95
KG
5082 * Makefile.in (dummy-conditions.o): Depend on $(HCONFIG_H) not
5083 $(GCONFIG_H).
5084
1ae0ccb6
AH
50852002-08-06 Aldy Hernandez <aldyh@redhat.com>
5086
8537ed68
ZW
5087 * c-decl.c (duplicate_decls): Error out for incompatible TLS
5088 declarations.
1ae0ccb6 5089
8537ed68 5090 * testsuite/gcc.dg/tls/diag-3.c: New.
1ae0ccb6 5091
8d3e27d1 50922002-08-06 Dale Johannesen <dalej@apple.com>
db4c55f6 5093
8d3e27d1 5094 * c-common.c (fname_decl): Use line number 0 for
8537ed68 5095 __func__, to avoid confusing debuggers.
8d3e27d1 5096
8b219a76
NS
50972002-08-06 Nathan Sidwell <nathan@codesourcery.com>
5098
5099 * gcov.c: Tidy.
5100 (struct line_info, struct coverage): New structures.
5101 (gcov_file_name, gcov_file): Remove globals.
5102 (output_data): Take source file parameter. Fix memory leak. Break
5103 up into ...
5104 (init_line_info, output_line_info, make_gcov_file_name,
5105 accumulate_branch_counts): ... here.
5106 (calculate_branch_probs, function_summary): Adjust.
5107 (main): Adjust.
5108 (function_*): Remove global variables.
5109
317e98c0
NB
51102002-08-06 Neil Booth <neil@daikokuya.co.uk>
5111
5112 * dwarf2out.c: Remove unused macros.
5113
81d41e74
NB
51142002-08-06 Neil Booth <neil@daikokuya.co.uk>
5115
5116 * function.c (TRAMPOLINE_ALIGNMENT): Always defined.
5117
58551c23
NB
51182002-08-06 Neil Booth <neil@daikokuya.co.uk>
5119
5120 * cppinit.c (struct lang_flags): Rename trigraphs std.
5121 (set_lang): Update.
5122 * cpplib.h (struct cpp_options): New member std.
5123 * cppmacro.c (_cpp_builtin_macro_text): Use std.
5124 (collect_args): Flag whether to swallow a possible future
5125 comma pasted with varargs.
5126 (replace_args): Use this flag.
5127 * doc/cpp.texi: Update varargs extension documentation.
5128
daeabcd0
JJ
51292002-08-06 Jakub Jelinek <jakub@redhat.com>
5130
5131 * config/i386/mmintrin.h (__m64): Make the type 64-bit aligned.
5132
39e3a681
JJ
51332002-08-06 Jakub Jelinek <jakub@redhat.com>
5134
9812691e
JJ
5135 * config/i386/i386.c (x86_field_alignment): Apply min for all MODE_INT
5136 and MODE_CLASS_INT modes.
39e3a681 5137
609a87f3
JJ
51382002-08-06 Jakub Jelinek <jakub@redhat.com>
5139
5140 * config.gcc (*-*-linux*): Default to --enable-threads=posix if no
5141 --{enable,disable}-threads is given to configure.
5142 (alpha*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux*,
5143 x86_64-*-linux*, ia64*-*-linux*, m68k-*-linux*, mips*-*-linux*,
5144 powerpc-*-linux-gnualtivec*, powerpc-*-linux*, s390-*-linux*,
5145 s390x-*-linux*, sh-*-linux*, sparc-*-linux*, sparc64-*-linux*):
5146 Remove thread_file setting here.
5147
ff4c5e7b
DE
51482002-08-06 David Edelsohn <edelsohn@gnu.org>
5149
5150 * doc/install.texi (Binaries): Update Bull Freeware URL.
5151
54f3aa9e
GP
51522002-08-06 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5153
5154 * doc/gcc.texi (Top): Rename Index to Keyword Index.
5155
d19202ba
NS
51562002-08-05 Nathan Sidwell <nathan@codesourcery.com>
5157
5158 * gcov.c (output_data): Round to % to nearest, tweak formatting.
5159
1bed5ee3
JJ
51602002-08-05 Jakub Jelinek <jakub@redhat.com>
5161
5162 * fold-const.c (associate_trees): Only optimize NEGATE_EXPR in one
5163 of the operands into MINUS_EXPR if code is PLUS_EXPR.
5164
84512347
DR
51652002-08-05 Douglas B Rupp <rupp@gnat.com>
5166
5167 * config.gcc (i[34567]86-*-interix*): Replace interix.o with winnt.o
5168 * config/i386/i386-interix.h (TARGET_NOP_FUN_DLLIMPORT,
5169 drectve_section): Define.
5170 * config/i386/t-interix: Replace interix.o rule with winnt.o.
5171 * config/i386/interix.c: Remove.
5172
b835f6f1
GK
51732002-08-05 Geoffrey Keating <geoffk@redhat.com>
5174
5175 * attribs.c: Don't include obstack.h.
5176 * builtins.c: Likewise.
5177 * cfganal.c: Likewise.
5178 * cfgbuild.c: Likewise.
5179 * cfgcleanup.c: Likewise.
5180 * emit-rtl.c: Likewise.
5181 * loop.c: Likewise.
5182 * stmt.c: Likewise.
5183
5184 * Makefile.in (s-gtype): Re-add dependency on $(GTFILES).
5185
fd291392
GDR
51862002-08-05 Gabriel Dos Reis <gdr@nerim.net>
5187
5188 * doc/c-tree.texi (Expression trees): Document VA_ARG_EXPR
5189
054b7507
CD
51902002-08-04 Chris Demetriou <cgd@broadcom.com>
5191
5192 * doc/invoke.texi: Remove duplicated paragraph describing
5193 TARGET_SWITCHES.
5194
6d9f628e
GK
51952002-08-04 Geoffrey Keating <geoffk@redhat.com>
5196
5197 * Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
5198 * collect2.h (permanent_obstack): Delete declaration.
5199 * collect2.c (permanent_obstack): Delete definition.
4912a07c 5200 (main): Don't initialize permanent_obstack. Use xstrdup instead.
6d9f628e
GK
5201 * expr.c: Don't include obstack.h.
5202 (permanent_obstack): Delete declaration.
5203 * function.c: Don't include obstack.h.
5204 (permanent_obstack): Delete declaration.
5205 * integrate.c: Don't include obstack.h.
5206 (function_maybepermanent_obstack): Delete declaration.
5207 * print-tree.c (debug_tree): Use x*alloc not permalloc.
5208 * sdbout.c (gen_fake_label): Use x*alloc not permalloc.
5209 * tlink.c (pfgets): Use xstrdup not permanent_obstack.
5210 * toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
5211 * tree.h: Rename init_obstacks to init_ttree. Remove declarations
5212 of permalloc, expralloc, perm_calloc.
5213 * tree.c (permanent_obstack): Delete definition.
5214 (init_ttree): Rename from init_obstacks.
5215 (permalloc): Delete.
5216 (perm_calloc): Delete.
5217 (dump_tree_statistics): Don't print information about
5218 permanent_obstack.
5219 * varasm.c (assemble_start_function): Use xstrdup instead of
5220 permalloc/strcpy.
5221 (assemble_variable): Likewise.
5222 * config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
5223 permalloc.
5224 (unicosmk_add_extern): Likewise.
5225 * config/c4x/c4x.c (c4x_external_ref): Likewise.
5226 (c4x_global_label): Likewise.
5227 * config/frv/frv.c (frv_encode_section_info): Likewise.
5228 * config/i386/winnt.c (i386_pe_record_external_function): Likewise.
5229 (i386_pe_record_exported_symbol): Likewise.
5230 * config/mips/mips.c (mips_output_external): Likewise.
5231 (mips_output_external_libcall): Likewise.
5232 * config/pa/pa.c: (permanent_obstack): Delete declaration.
5233 (output_call): Use ggc_strdup instead of allocating on
5234 permanent_obstack.
5235 * config/romp/romp.c: Include ggc.h.
5236 (get_symref): Don't declare permanent_obstack, use ggc_strdup
5237 intead of permanent_obstack.
5238 * config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
5239 instead of permalloc.
5240 * config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
5241 instead of permalloc
5242 * config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
5243 instead of permalloc.
5244 * config/vax/vax.c (vms_check_external): Use xmalloc instead of
5245 permalloc.
5246
36a05131
BS
52472002-08-04 Bernd Schmidt <bernds@redhat.com>
5248
5249 Contribute a port developed primarily by Michael Meissner,
5250 Catherine Moore, and Richard Sandiford <rsandifo@redhat.com>.
5251 * config.gcc: Add frv-elf target.
5252 * config/frv/cmovd.c: New file.
5253 * config/frv/cmovh.c: New file.
5254 * config/frv/cmovw.c: New file.
5255 * config/frv/frv-abi.h: New file.
5256 * config/frv/frv-asm.h: New file.
5257 * config/frv/frv-modes.def: New file.
5258 * config/frv/frv-protos.h: New file.
5259 * config/frv/frv.c: New file.
5260 * config/frv/frv.h: New file.
5261 * config/frv/frv.md: New file.
5262 * config/frv/frvbegin.c: New file.
5263 * config/frv/frvend.c: New file.
5264 * config/frv/lib1funcs.asm: New file.
5265 * config/frv/media.h: New file.
5266 * config/frv/modi.c: New file.
5267 * config/frv/t-frv: New file.
5268 * config/frv/uitod.c: New file.
5269 * config/frv/uitof.c: New file.
5270 * config/frv/ulltod.c: New file.
5271 * config/frv/ulltof.c: New file.
5272 * config/frv/umodi.c: New file.
5273 * config/frv/xm-frv.h: New file.
86a0cbcb
BS
5274
5275 * config/frv/media.h: Removed again.
5276
37b8715b
NS
52772002-08-04 Nathan Sidwell <nathan@codesourcery.com>
5278
5279 * gcov.c (bb_file_time): New static variable.
5280 (object_directory): May also be object file.
5281 (preserve_paths): New static variable.
5282 (print_usage): Adjust.
5283 (options): Adjust.
5284 (process_args): Adjust.
5285 (open_files): Simplify. Cope when OBJECT_DIRECTORY is an object
5286 file. Find modification date on bb file.
5287 (read_profile): Don't rewind a NULL file.
5288 (format_hwint): New static function.
5289 (function_summary): Use format_hwint.
5290 (output_data): SOURCE_FILE_NAME is never relative to
5291 OBJECT_DIRECTORY. Use format_hwint. Adjust gcov file name
5292 mangling. Adjust output format to make it more machine readable.
5293 * doc/gcov.texi: Document & clarify semantics.
a7701995 5294
d500c5d7
JM
52952002-08-04 Joseph S. Myers <jsm@polyomino.org.uk>
5296
5297 * doc/include/gcc-common.texi (version-GCC): Increase to 3.3.
5298
ea67fe71
NS
52992002-08-04 Nathan Sidwell <nathan@codesourcery.com>
5300
5301 * gcc.c (cc1_options): Pass output file as auxbase when
5302 appropriate.
5303 * profile.c (init_branch_prob): FILENAME has already had ending
5304 stripped.
5305 * final.c (end_final): Likewise.
5306 * toplev.c (aux_base_name): New global.
5307 (compile_file): Pass aux_base_name to init init_branch_prob and
5308 end_final.
5309 (independent_decode_option, case 'a'): New auxinfo options.
5310 (case 'd'): Protect against mising basename.
5311 (do_compile): Initialize aux_base_name.
5312 * toplev.h (aux_base_name): New global.
5313 * doc/invoke.texi: Adjust documentation.
5314
b23c054d
NS
53152002-08-04 Nathan Sidwell <nathan@codesourcery.com>
5316
5317 * config/i386/i386.c (x86_field_alignment): Remove duplicate test
5318 of TARGET_ALIGN_DOUBLE.
5319
04c1334c 53202002-08-04 Gabriel Dos Reis <gdr@nerim.net>
a7701995 5321
04c1334c
GDR
5322 * diagnostic.c (inform): New function.
5323 * diagnostic.h (inform): Declare.
a7701995 5324
e34eaae5
DE
53252002-08-03 David Edelsohn <edelsohn@gnu.org>
5326
5327 * config/rs6000/rs6000.md (movsi_internal1): Add nop mnemonic.
5328 (movhi_internal): Same.
5329 (movqi_internal): Same.
5330 (movdi_internal64): Same.
5331
5332 * config/rs6000/t-ppccomm (MULTILIB_MATCHES_FLOAT): Add mcpu=405.
5333
5334 * config/rs6000/xcoff.h (SKIP_ASM_OP): Define.
5335 (ASM_OUTPUT_SKIP): Use it. SIZE unsigned.
5336 (COMMON_ASM_OP): Define.
5337 (ASM_OUTPUT_ALIGNED_COMMON): Use it. SIZE unsigned.
5338 Use ALIGN parameter.
5339 (LOCAL_COMMON_ASM_OP): Define.
5340 (ASM_OUTPUT_LOCAL): Use it. SIZE unsigned.
5341
e7b489c8
RS
53422002-08-03 Roger Sayle <roger@eyesopen.com>
5343
5344 * builtins.def: Define new builtin functions exp, expf, expl,
5345 log, logf and logl (and their __builtin_* variants).
5346 * optabs.h (enum optab_index): Add new OTI_exp and OTI_log.
5347 Define exp_optab and log_optab.
5348 * optabs.c (init_optans): Initialize exp_optab and log_optab.
5349 * genopinit.c (optabs): Implement exp_optab and log_optab
5350 using exp?f2 and log?f2 patterns.
5351 * builtins.c (expand_builtin_mathfn): Handle BUILT_IN_EXP*
5352 and BUILT_IN_LOG* using exp_optab and log_optab respectively.
5353 (expand_builtin): Ignore the new builtins (and all cos and
5354 sin variants) when not optimizing. Expand new builtins via
5355 expand_builtin_mathfn when flag_unsafe_math_optimizations.
5356
5357 * doc/extend.texi: Document new exp and log builtins.
5358 * doc/md.texi: Document new exp?f2 and log?f2 patterns
5359 (and previously undocumented cos?f2 and sin?f2 patterns).
5360
de8920be
JM
53612002-08-03 Jason Merrill <jason@redhat.com>
5362
5363 * explow.c (int_expr_size): New fn.
5364 * expr.c (expand_expr) [CONSTRUCTOR]: Use it.
5365 * expr.h: Declare it.
5366
ba462c8e
KW
53672002-08-02 Krister Walfridsson <cato@df.lth.se>
5368
5369 * Makefile.in (gengtype-lex.o, gengtype-yacc.o): Add path to
5370 gengtype-* dependencies.
5371
2017ed61
EC
53722002-08-02 Eric Christopher <echristo@redhat.com>
5373
5374 * config.gcc (mips*-*-linux*): Fix ordering of tm_file.
5375 * config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Change
5376 #ifndef to #undef.
5377 (TARGET_MEM_FUNCTIONS): Define instead of define to 1.
5378
055dd007
DE
53792002-08-02 David Edelsohn <edelsohn@gnu.org>
5380
5381 PR optimize/7067
5382 * config/rs6000/rs6000.h (RTX_COSTS): Artificially make MULT
5383 small if optimizing for size.
5384
771a2a66
DJ
53852002-08-02 Daniel Jacobowitz <drow@mvista.com>
5386
5387 * configure.in (FORBUILD): Use $build_alias.
5388 * configure: Regenerated.
5389
ac8ab9fe
RS
53902002-08-02 Richard Sandiford <rsandifo@redhat.com>
5391
5392 * config.gcc: Don't include mips/abi64.h in $tm_file.
5393 * hard-reg-set.h (call_really_used_regs): Declare.
5394 * config/mips/abi64.h: Remove file.
5395 * config/mips/linux.h,
5396 * config/mips/iris6.h: Don't include it.
5397 * config/mips/mips-protos.h (mips_conditional_register_usage): Declare.
5398 * config/mips/mips.h (CONDITIONAL_REGISTER_USAGE): Use it.
5399 (REG_PARM_STACK_SPACE, STACK_BOUNDARY, STRICT_ARGUMENT_NAMING,
5400 FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_PADDING,
5401 FUNCTION_ARG_CALLEE_COPIES, MUST_PASS_IN_STACK, MIPS_STACK_ALIGN):
5402 Bring across definitions from abi64.h.
5403 (GP_ARG_LAST, FP_ARG_LAST): Use MAX_ARGS_IN_REGISTERS.
5404 (BIGGEST_MAX_ARGS_IN_REGISTERS): New.
5405 (struct mips_args): Use it.
5406 * config/mips/mips.c (mips_conditional_register_usage): Define.
5407
a77a9a18
JM
54082002-08-02 Jason Merrill <jason@redhat.com>
5409
5410 * langhooks-def.h (LANG_HOOKS_EXPR_SIZE): New macro.
5411 * langhooks.c (lhd_expr_size): Define default.
5412 * langhooks.h (struct lang_hooks): Add expr_size.
5413 * explow.c (expr_size): Call it.
5414 * expr.c (store_expr): Don't copy an expression of size zero.
5415 (expand_expr) [CONSTRUCTOR]: Use expr_size to calculate how much
5416 to store.
5417 * Makefile.in (builtins.o): Depend on langhooks.h.
5418
a6be5aee
KG
54192002-08-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5420
5421 * Makefile.in (ra-debug.o): Depend on $(TM_P_H).
5422 * ra-debug.c: Include "tm_p.h".
5423 * ra-rewrite.c (is_partly_live_1): Change return type to bool.
5424
e3e16ee3
TM
54252002-08-02 Toon Moene <toon@moene.indiv.nluug.nl>
5426
5427 * simplify-rtx.c (simplify_binary_operation): x * 1 is allowed
5428 when not honoring signalling NaNs.
5429 (simplify_ternary_operation): a == b has a definite value
5430 when not honoring NaNs.
5431
b9d8832d
JM
54322002-08-02 Jason Merrill <jason@redhat.com>
5433
5434 * gdbinit.in (pct): New macro.
5435
825abef4
SS
54362002-08-01 Stan Shebs <shebs@apple.com>
5437 Andreas Tobler <toa@pop.agri.ch>
5438
5439 * ginclude/stddef.h (_BSD_SIZE_T_DEFINED_): Define if not defined,
5440 plays nice with Darwin headers.
bf2e488f 5441 (_BSD_RUNE_T_DEFINED_): Likewise.
825abef4 5442
56da7207
ZW
54432002-08-01 Zack Weinberg <zack@codesourcery.com>
5444
5445 * c-common.c (c_common_init): -Wtraditional also implies -Wlong-long.
5446 * cppinit.c (cpp_post_options): Likewise.
5447
5448 * cppexp.c (cpp_classify_number): Suppress -Wtraditional
5449 warning about 'LL' suffix (but not 'ULL' etc) when
5450 -Wno-long-long is in effect.
5451
5452 * cppmacro.c (_cpp_builtin_macro_text) [BT_TIME, BT_DATE]:
5453 Check for failing time()/localtime(), issue a warning, and
5454 make __TIME__ and __DATE__ expand to fallback strings.
5455
5456 * doc/cpp.texi, doc/extend.texi: Document behavior of __DATE__
5457 and __TIME__ when the date and time cannot be determined.
5458
f4857b9b
AM
54592002-08-02 Alan Modra <amodra@bigpond.net.au>
5460
5461 * config/rs6000/rs6000.c (output_cbranch): Hint differently for power4.
5462
77ca7b2e
DJ
54632002-08-01 Daniel Jacobowitz <drow@mvista.com>
5464
5465 * Makefile.in ($(BUILD_PREFIX_1)ggc-none.o): Use $(GGC_H).
5466
5b552f76
CD
54672002-08-01 Chris Demetriou <cgd@broadcom.com>
5468
5469 * config.gcc (mipsisa64sb1-*-elf*): New configuration.
5470 (mipsisa64sb1el-*-elf*): Likewise.
5471 * config/mips/mips.c (mips_cpu_info_table): Add sb1.
5472 * config/mips/mips.h (processor_type): Add PROCESSOR_SB1.
5473 (TARGET_SB1, TUNE_SB1): New macros.
5474 * doc/invoke.texi: Add sb1 to documentation for MIPS -march and
5475 -mtune flags.
5476
54fbf6a1
DE
54772002-08-01 David Edelsohn <edelsohn@gnu.org>
5478
5479 * varasm.c (asm_emit_uninitialized): Return false if global BSS
5480 and ASM_EMIT_BSS not supported by target.
5481 (assemble_variable): Do not duplicate uninitialized logic.
5482 Fall through if asm_emit_uninitialized failed.
5483
3d16b407
CD
54842002-08-01 Chris Demetriou <cgd@broadcom.com>
5485
5486 * config/mips/mips.h (BRANCH_LIKELY_P): Remove unused macro.
5487
fb52d8de
AM
54882002-08-02 Alan Modra <amodra@bigpond.net.au>
5489
80926cc1
AM
5490 * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Define.
5491 (DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC): Define.
5492
fb52d8de
AM
5493 * config/rs6000/rs6000.c (output_toc): Don't use lshift_double when
5494 HOST_BITS_PER_WIDE_INT == 64.
5495
a4b5414c
KG
54962002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5497
5498 * df.c (df_insn_table_realloc): Change parameter to unsigned.
5499 * optabs.c (expand_binop): Make variable unsigned.
5500 * simplify-rtx.c (simplify_subreg): Likewise.
5501 * unroll.c (unroll_loop): Cast to avoid signed/unsigned warnings.
5502
a03e67c3
FS
55032002-08-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5504
5505 * c-common.c (cb_register_builtins): Always define __GXX_ABI_VERSION.
5506
de273d3f
RH
55072002-08-01 Richard Henderson <rth@redhat.com>
5508
56da7207 5509 * toplev.c (parse_options_and_default_flags): Don't set
de273d3f
RH
5510 flag_reorder_blocks for -Os.
5511
5512 * config/avr/avr.c (avr_optimization_options): Remove.
5513 * config/avr/avr.h (OPTIMIZATION_OPTIONS): Remove.
5514 * config/m68hc11/m68hc11.c (m68hc11_optimization_options): Remove.
5515 * config/m68hc11/m68hc11.h (OPTIMIZATION_OPTIONS): Remove.
5516
4e4d733e
L
55172002-08-01 H.J. Lu <hjl@gnu.org>
5518 Richard Henderson <rth@redhat.com>
5519
5520 * output.h (DECL_READONLY_SECTION): Remove.
5521 (decl_readonly_section): Declare.
5522 * varasm.c (decl_readonly_section): New.
5523 (default_section_type_flags, default_select_section): Use it.
5524 * config/arm/pe.c (arm_pe_unique_section): Likewise.
5525 * config/i386/interix.c (i386_pe_unique_section): Likewise.
5526 * config/i386/winnt.c (i386_pe_unique_section): Likewise.
5527 * config/mcore/mcore.c (mcore_unique_section): Likewise.
5528 * config/mips/mips.c (mips_unique_section): Likewise.
5529
32e9b960
RH
55302002-08-01 Richard Henderson <rth@redhat.com>
5531
5532 * integrate.c (copy_rtx_and_substitute): Squash MEM_EXPR when it
5533 refers to a subroutine parameter.
5534
81e602b5
JJ
55352002-08-01 Jakub Jelinek <jakub@redhat.com>
5536
5537 * varasm.c (assemble_visibility): Strip name encoding.
5538
ac14c725
ID
55392002-08-01 Ian Dall <ian@sibyl.beware.dropbear.id.au>
5540
5541 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE): Correct earlier patch.
5542 (RETURN_ADDR_RTX): Cannot determine return address for FRAME > 0
5543 when there is no frame pointer.
5544 (INITIAL_FRAME_POINTER_OFFSET): Count stack space for saved fp
5545 registers properly.
5546 * config/ns32k/__unorddf2.c: New file.
5547 * config/ns32k/__unordsf2.c: New file.
5548 * config/ns32k/t-ns32k: New file.
5549 * config.gcc (ns32k-*-netbsd*): Use it.
5550
17072732
AH
55512002-08-01 Aldy Hernandez <aldyh@redhat.com>
5552
5553 * config/rs6000/rs6000.h (SPU_CONST_OFFSET_OK): Change to 0xff.
5554
c288218a
NB
55552002-08-01 Neil Booth <neil@daikokuya.co.uk>
5556
5557 * c-common.c (__GXX_ABI_VERSION): Correct spelling.
5558
43bfc248
BK
55592002-08-01 Benjamin Kosnik <bkoz@redhat.com>
5560
5561 * c-common.c (cb_register_builtins): Set __GXX_ABI_VERSION__ to 102.
5562
479f2cea
RS
55632002-08-01 Richard Sandiford <rsandifo@redhat.com>
5564
5565 * config/mips/mips.md: Add [!]TARGET_MIPS16 to sgtu conditions.
5566
02280659
ZD
55672002-08-01 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
5568
5569 * gcse.c (expr_hash_table_size, n_exprs, set_hash_table_size,
5570 n_sets): Removed.
5571 (expr_hash_table, set_hash_table): Type changed to ...
5572 (struct hash_table): New type.
5573 (hash_scan_insn, hash_scan_set, hash_scan_clobber, hash_scan_call,
5574 insert_expr_in_table, insert_set_in_table, compute_hash_table,
5575 dump_hash_table, lookup_expr, lookup_set, compute_local_properties,
5576 compute_ae_gen, compute_ae_kill): Modified to pass the table explicitly.
5577 (alloc_set_hash_table, alloc_expr_hash_table): Merged to ...
5578 (alloc_hash_table): New.
5579 (free_set_hash_table, free_expr_hash_table): Merged to ...
5580 (free_hash_table): New.
5581 (compute_set_hash_table, compute_expr_hash_table): Merged to ...
5582 (compute_hash_table_work): New.
5583 (classic_gcse, one_classic_gcse_pass, compute_cprop_data,
5584 find_avail_set, one_cprop_pass, find_bypass_set, compute_pre_data,
5585 pre_edge_insert, pre_insert_copies, pre_delete, pre_gcse,
5586 one_pre_gcse_pass, compute_transpout, compute_code_hoist_vbeinout,
5587 hoist_code, one_code_hoisting_pass,
5588 trim_ld_motion_mems): Altered due to changed type of hash tables.
5589
905173eb
ZW
55902002-08-01 Zack Weinberg <zack@codesourcery.com>
5591
5592 * final.c (output_alternate_entry_point):
5593 If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
5594
83321d36
KG
55952002-08-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5596
ad0f1765
KG
5597 * objc/objc-act.c (encode_complete_bitfield): Add prototype and
5598 avoid ISO C style function definition.
5599
83321d36
KG
5600 * expr.c (expand_assignment): Delete unused variable.
5601
73e42cf3
TM
56022002-08-01 Toon Moene <toon@moene.indiv.nluug.nl>
5603
5604 * c-common.c (cb_register_builtins): Set
5605 __FINITE_MATH_ONLY__ to 1 if -ffinite-math-only
5606 is given, and to 0 otherwise.
5607 * combine.c (simplify_if_then_else): HONOR_NANS
5608 implies FLOAT_MODE_P.
5609
78df51fe
NB
56102002-08-01 Neil Booth <neil@daikokuya.co.uk>
5611
5612 * cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_dollar.
5613 (cpp_handle_option): Don't handle it.
5614 (print_help): Update.
5615 * doc/cppopts.texi: Update.
5616
abecfc8f
NB
56172002-08-01 Neil Booth <neil@daikokuya.co.uk>
5618
5619 * c-common.c (cb_register_builtins): If C++, define
5620 __EXCEPTIONS, __DEPRECATED and __GXX_ABI_VERSION as appropriate.
5621 * gcc.c (cpp_unique_options): Remove __GXX_ABI_VERSION.
5622cp:
5623 * lang-specs.h: Simplify in accordance with new code in
5624 c-common.c.
5625
4078b403
NB
56262002-08-01 Neil Booth <neil@daikokuya.co.uk>
5627
5628 * c-common.c: Define all C/ObjC/C++ warning and flag variables.
5629 * c-common.h: Declare all C/ObjC/C++ warning and flag variables.
5630 * c-decl.c: Move all warning and flag variables to c-common.c.
5631 * c-format.c: Move all warning variables to c-common.c.
5632 * c-tree.h: Move all warning and flag declarations to c-common.h.
5633 * objc/objc-act.c: Move all warning variables to c-common.c.
5634 (flag_warn_protocol): Rename warn_protocol.
5635
692f5611
JDA
56362002-07-31 John David Anglin <dave@hiauly1.hia.nrc.ca>
5637
5638 * pa-linux.h (GLOBAL_ASM_OP): Fix typo.
5639
c7a009a2 56402002-07-31 Graham Stott <graham.stott@btinternet.com>
480e7ded 5641
905173eb 5642 * config/stormy16/stormy16.h (BSS_SECTION_ASM_OP): Add missing
480e7ded
GS
5643 .section prefix.
5644
b069de3b
SS
56452002-07-31 Stan Shebs <shebs@apple.com>
5646
5647 * config.gcc (i[34567]86-*-darwin*): New configuration.
5648 * config/darwin.h (TARGET_ENCODE_SECTION_INFO): Undefine before
5649 defining.
5650 (TARGET_ENCODE_SECTION_INFO): Ditto.
5651 (ASM_PREFERRED_EH_DATA_FORMAT): Ditto.
5652 * config/darwin.c (machopic_indirect_data_reference): Remove
5653 setting of RTX_UNCHANGING_P.
5654 (machopic_legitimize_pic_address): Move RTX_UNCHANGING_P up so as
5655 not to be applied to sums.
5656 * config/i386/t-darwin: New file.
5657 * config/i386/darwin.h: New file.
5658 * config/i386/i386.h (TARGET_MACHO): Add default definition.
5659 * config/i386/i386.md (tablejump): Add TARGET_MACHO case.
5660 * config/i386/i386.c (output_set_got): For Mach-O, output Mach-O
5661 label and not the GOT add.
5662 (constant_address_p): For Mach-O, seeing a CONST is enough.
5663 (legitimate_pic_address_disp_p): Add a Mach-O case.
5664 (legitimate_address_p): Also test machopic_operand_p if Mach-O.
5665 (legitimize_pic_address): Use generic Mach-O code to legitimize.
5666 (output_pic_addr_const): Suppress @PLT if Mach-O, and parens
5667 if outputting a difference.
5668 (ix86_output_addr_diff_elt): Add Mach-O case.
5669 (ix86_expand_move): Similarly.
5670 (ix86_expand_call): Similarly.
5671 (current_machopic_label_num): New global.
5672 (machopic_output_stub): New function.
5673 (ix86_value_regno): New function.
5674 (ix86_function_value): Use it instead of VALUE_REGNO.
5675 (ix86_libcall_value): Ditto.
5676 * config/i386/unix.h (VALUE_REGNO): Remove.
5677
1de4ecb6
GS
56782002-07-31 Graham Stott <grahas@btinternet.com>
5679
5680 * config/rs6000/rs6000.c(rs6000_hash_constant): Fix
905173eb 5681 hash for LABEL_REF's.
1de4ecb6 5682
23368455
GS
56832002-07-31 Graham Stott <grahams@btinternet.com>
5684
5685 * config/rs6000/rs6000.c (spe_init_builtins,
5686 altivec_init_builtins, rs6000_common_init_builtins):
905173eb 5687 Replace ANSI with K&R function def.
23368455 5688
ad72b533
DE
56892002-07-31 David Edelsohn <edelsohn@gnu.org>
5690
5691 * rs6000.c (validate_condition_mode): Test flag_finite_math_only
5692 for CCFPmode.
5693
302359da
RS
56942002-07-31 Richard Sandiford <rsandifo@redhat.com>
5695
5696 * config/mips/crtn.asm: Don't use __mips16 to determine the
5697 return-address offset. Define RA to a suitable temporary
5698 register for the return address.
5699
ead0c1d5
RS
57002002-07-31 Richard Sandiford <rsandifo@redhat.com>
5701
5702 * config/mips/mips.md (eh_set_lr_si, eh_set_lr_di): Change
5703 constraints to 'd'.
5704
3fb9d48a
CD
57052002-07-30 Chris Demetriou <cgd@broadcom.com>
5706
5707 * config/mips/elf.h (STARTFILE_SPEC): Define differently if
5708 default ABI is MEABI. (Undoes incorrect change in Eric Christopher's
5709 patch on 2002-07-29.)
5710 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5711
072cdaed
KG
57122002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5713
506a61b1
KG
5714 * alpha.h, arc.h, arm/aout.h, avr.h, cris.h, d30v.h, dsp16xx.h,
5715 fr30.h, h8300.h, i370.h, i386/sco5.h, i386/unix.h, i960.h, ia64.h,
5716 ip2k.h, m32r.h, mcore.h, mips.h, mn10200.h, mn10300.h, ns32k.h,
5717 openbsd.h, pa/pa-linux.h, pdp11.h, romp.h, rs6000/sysv4.h,
5718 s390/linux.h, sh.h, sparc.h, stormy16.h, v850.h, vax.h, xtensa.h:
5719 (ASM_GLOBALIZE_LABEL): Delete.
5720 (GLOBAL_ASM_OP): Define.
5721
072cdaed 5722 * m68hc11.h, m68k.h, m88k.h (ASM_GLOBALIZE_LABEL): Delete.
905173eb 5723
072cdaed
KG
5724 * defaults.h (ASM_GLOBALIZE_LABEL): Provide a default.
5725 * doc/tm.texi (ASM_GLOBALIZE_LABEL): Update docs.
5726
6fd14075
GK
57272002-07-30 Geoffrey Keating <geoffk@redhat.com>
5728
5729 * doc/extend.texi (Hints implementation): Document that GCC
5730 mostly ignores `register'.
5731
2e8f2e8f
TM
57322002-07-30 Toon Moene <toon@moene.indiv.nluug.nl>
5733
5734 * flags.h: Declare flag_finite_math_only.
5735 Use it in definition of HONOR_NANS and
5736 HONOR_INFINITIES.
5737 * c-common.c (cb_register_builtins): Emit
5738 __FINITE_MATH_ONLY__ when flag_finite_math_only
5739 is set.
5740 * combine.c (simplify_if_then_else): If
5741 flag_finite_math_only is set, a == b has a
5742 definite value.
5743 * toplev.c: Initialize flag_finite_math_only.
5744 (set_flags_fast_math): Set it on -ffast-math.
5745 (flag_fast_math_set_p): Test it.
5746 * doc/invoke.texi: Document -ffinite-math-only.
5747
a538e580
RH
57482002-07-30 Richard Henderson <rth@redhat.com>
5749
5750 * ifcvt.c (noce_get_alt_condition): Use reg_overlap_mentioned_p.
5751 (noce_process_if_block): Likewise.
5752
26e20555
BS
57532002-07-30 Bernd Schmidt <bernds@redhat.com>
5754
5755 * ifcvt.c (cond_exec_process_if_block): Fix a merging error.
5756 Bail out early if false_expr is NULL and we'd crash due to this.
79cbc1f7
BS
5757 * genemit.c (gen_expand): Recognize return insns even if the return
5758 appears in a parallel.
d8088c6f
BS
5759 * libgcc2.c: Expand macro DECLARE_LIBRARY_RENAMES if it is defined.
5760 * config/fp-bit.c: Likewise.
5761 * doc/tm.texi: Document it.
905173eb 5762
0559cc77
DE
57632002-07-30 David Edelsohn <edelsohn@gnu.org>
5764 Zack Weinberg <zack@codesourcery.com>
5765
5766 * rs6000.c (rs6000_expand_unop_builtin): Check icode not
5767 CODE_FOR_nothing. Change switch to if.
5768 (rs6000_expand_binop_builtin): Same.
5769 (rs6000_expand_builtin): Expand builtin if target support enabled.
5770 (rs6000_init_builtins): Init builtin if target support enabled.
5771 (rs6000_common_init_builtins): Check icode not CODE_FOR_nothing.
5772
60b8aa94
FS
57732002-07-30 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5774
5775 * gcc.c (cpp_unique_options): Define __GXX_ABI_VERSION, bump it to 101.
5776
714fb710
RS
57772002-07-30 Richard Sandiford <rsandifo@redhat.com>
5778
5779 * config/mips/mips.h (SUBTARGET_ASM_DEBUGGING_SPEC): Fix typo.
5780
c608a684
R
5781Tue Jul 30 18:31:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
5782
5783 * sh.md (cond_delay_slot): New attribute.
5784 (cbranch delay): Use it for anulled-true case.
5785 (stuff_delay_slot): New pattern.
5786 * sh.c (print_operand, case '.'): Don't print .s / /s fore zero-length
5787 delay slot insn.
5788 (gen_far_branch): Emit stuff_delay_slot pattern.
5789
0a756401
R
5790Tue Jul 30 11:21:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
5791
5792 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_LOOP_CONT.
5793
68e82b83
KH
57942002-07-30 Kazu Hirata <kazu@cs.umass.edu>
5795
5796 * fold-const.c: Fix comment typos.
5797 * gcse.c: Likewise.
5798 * reload1.c: Likewise.
5799
fe6b547a
AH
58002002-07-29 Aldy Hernandez <aldyh@redhat.com>
5801
5802 * config/rs6000/rs6000.md: Disallow CCEQ compare with crnor/crnot
5803 for TARGET_SPE.
5804
7ff4a7ef
GDR
58052002-07-30 Gabriel Dos Reis <gdr@nerim.net>
5806
5807 * c-pretty-print.h (pp_c_statement): Declare.
5808 * c-pretty-print.c (pp_c_postfix_expression): #if 0 support for SRCLOC.
5809 (pp_c_statement): Define.
5810
4ad5e05d
KG
58112002-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5812
5813 * alpha.h, arc.h, arm/aout.h, avr.h, c4x.h, cris.h, d30v.h,
5814 darwin.h, dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i960.h,
5815 ip2k.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mips.h,
5816 mn10200.h, mn10300.h, ns32k.h, pa/pa-linux.h, pdp11.h, romp.h,
5817 rs6000/sysv4.h, s390/linux.h, sh.h, sparc.h, stormy16.h,
5818 v850.h, vax.h, xtensa.h (ASM_OUTPUT_LABEL): Delete definition.
5819
5820 * defaults.h (ASM_OUTPUT_LABEL): Provide a default.
5821 * doc/tm.texi (ASM_OUTPUT_LABEL): Update docs.
5822
1e6a3e1e
GDR
58232002-07-30 Gabriel Dos Reis <gdr@nerim.net>
5824
5825 * c-pretty-print.c (pp_c_primary_expression): Handle STMT_EXPR.
5826 (pp_c_postfix_expression): Handle ARROW_EXPR, FFS_EXPR,
5827 COMPOUND_LITERAL_EXPR, VA_ARG_EXPR.
5828 (pp_c_expression): Update.
5829
1dcd444b
KG
58302002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5831
5832 * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or
5833 concat in lieu of xmalloc/strcpy/memcpy/sprintf.
5834 * alpha/vms-ld.c (main): Likewise.
5835 * dsp16xx.c (double_reg_to_memory): Likewise.
5836 * mcore.c (mcore_expand_prolog): Likewise.
5837 * cppfiles.c (read_name_map): Likewise.
5838 * gensupport.c (process_rtx, identify_predicable_attribute,
5839 alter_test_for_insn): Likewise.
5840 * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise.
5841
e62f4abc
RS
58422002-07-29 Roger Sayle <roger@eyesopen.com>
5843
5844 * builtins.c (expand_builtin): Change the default behavior to
905173eb 5845 only issue an error if the builtin function doesn't have a
e62f4abc
RS
5846 fallback library call. Remove several cases handled by the
5847 new default.
5848
0cd2fb44
JDA
58492002-07-29 John David Anglin <dave@hiauly1.hia.nrc>
5850
5851 * real.c (ieee_24, ieee_53, ieee_64, ieee_113): Define only if the
5852 floating point format of the target is IEEE.
5853 * (dec_f, dec_d, dec_g, dec_h): Define only if the floating point
5854 format of the target is DEC.
5855
b642261e
RH
58562002-07-29 Richard Henderson <rth@redhat.com>
5857
5858 * unroll.c (verify_addresses): Remove.
5859 (find_splittable_givs): Never split DEST_ADDR givs.
5860
cba57c9d
GK
58612002-07-29 Geoffrey Keating <geoffk@redhat.com>
5862
5863 * doc/gty.texi (GGC Roots): Clarify that the list of syntaxes
5864 is exhaustive.
5865 (Files): Improve documentation on generated source files.
5866
5867 * doc/extend.texi (Translation implementation): Document what
5868 diagnostics look like.
5869 (Identifiers implementation): Document that there's normally no
5870 limit on identifier names.
5871 (Integers implementation): Document two's complement.
8d9afc4e 5872 (Hints implementation): Document that GCC honors 'inline', mostly.
cba57c9d
GK
5873 (Preprocessing directives implementation): Document that GCC
5874 requires the current time.
5875
76a8ecba
GDR
58762002-07-30 Gabriel Dos Reis <gdr@nerim.net>
5877
5878 * c-pretty-print.h (struct c_pretty_print_info): Add new member.
5879 (pp_initializer): New macro.
5880 (pp_c_initializer): Declare.
5881 * c-pretty-print.c (pp_c_primary_expression): HAndle TARGET_EXPR.
5882 (pp_c_initializer): Define.
5883 (pp_c_initializer_list): New function.
5884 (pp_c_postfix_expression): Handle ABS_EXPR, COMPLEX_CST,
5885 VECTOR_CST, CONSTRUCTOR.
5886 (pp_c_unary_expression): Handle CONJ_EXPR, REALPART_EXPR,
905173eb 5887 IMAGPART_EXPR.
76a8ecba
GDR
5888 (pp_c_cast_expression): Handle FLOAT_EXPR.
5889 (pp_c_assignment_expression): Handle INIT_EXPR.
5890 (pp_c_expression): Update.
5891
4307be72
NB
58922002-07-30 Neil Booth <neil@daikokuya.co.uk>
5893
5894 * objc/objc-act.c (objc_init): Return immediately if filename
5895 is NULL.
5896
6d439235
EC
58972002-07-29 Eric Christopher <echristo@redhat.com>
5898
905173eb
ZW
5899 * config/mips/elf.h: Remove ecoff.h and gofast includes.
5900 (DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO): Define unconditionally.
5901 (SDB_DEBUGGING_INFO): Undefine.
5902 (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
6d439235
EC
5903 (PUT_SDB_SIZE): Remove.
5904 (SUBTARGET_ASM_DEBUGGING_SPEC): Redefine.
905173eb
ZW
5905 (STARTFILE_SPEC): Add isa3264 define.
5906 * config/mips/elf64.h: Ditto. Move TARGET_MEM_FUNCTIONS from here...
5907 * config/mips/ecoff.h: Remove. and here...
5908 * config/mips/iris3.h: and here...
5909 * config/mips/sni-svr4.h: and here...
5910 * config/mips/mips.h: To here. Remove OBJECT_FORMAT_ROSE ifdefs.
6d439235
EC
5911 Add assembler -mmdebug options for non-dwarf debugging.
5912 * config/mips/r3900.h: Remove debug info defines.
905173eb
ZW
5913 * config/mips/isa32-linux.h: Remove, move functionality to config.gcc.
5914 * config/mips/isa3264.h: Ditto.
5915 * config/mips/t-isa3264: Fix up for file removal and gofast configure
5916 change.
5917 * config/mips/t-elf: Ditto.
5918 * config/mips/t-ecoff: Ditto.
5919 * config/mips/t-r3900: Ditto.
5920 * config/mips/t-iris5-6: Ditto.
5921 * config/mips/t-isa3264: Ditto.
5922 * config/mips/t-linux: Remove.
5923 * config/mips/t-netbsd: Remove.
5924 * config/mips/t-mips: New file.
5925 * config/mips/t-gofast: Ditto.
5926 * config/mips/netbsd.h: Remove unnecessary undefines.
5927 * config/mips/linux.h: Remove #include of mips.h.
5928 * config.gcc: Add mips.h include for elf targets. Remove tm_file
5929 for ecoff. Add gofast configure option for mips.
6d439235 5930
4357a6c3
CD
59312002-07-29 Chris Demetriou <cgd@broadcom.com>
5932
5933 * configure.in (mips*-*-*): Add a test to see if MIPS libgloss
5934 linker scripts use STARTUP directives consistently.
5935 * configure: Regenerate.
5936 * config.in: Regenerate.
5937 * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based
5938 on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined.
5939 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
5940 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if
5941 HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result
5942 will be the same.
5943
9a5cd606
AH
59442002-07-29 Aldy Hernandez <aldyh@redhat.com>
5945
5946 * config/rs6000/rs6000.md ("cpu"): Add ppc8540 to attribute.
5947
a23acaa6
AH
59482002-07-29 Aldy Hernandez <aldyh@redhat.com>
5949
5950 * config/rs6000/rs6000.h (RTX_COSTS): Add MULT case for 8540.
5951
10ed84db
AH
59522002-07-29 Aldy Hernandez <aldy@quesejoda.com>
5953
5954 * config/rs6000/rs6000.md: Move altivec patterns from here...
5955
5956 * config/rs6000/altivec.md: ...to here.
5957
c3021e5d
AH
59582002-07-29 Aldy Hernandez <aldyh@redhat.com>
5959
5960 * config/rs6000/spe.md ("spe_evmra"): Change to unspec.
5961
6f1087be
RH
59622002-07-29 Richard Henderson <rth@redhat.com>
5963
5964 * emit-rtl.c (set_mem_attributes_minus_bitpos): Rename from
5965 set_mem_attributes and add BITPOS argument. Subtract it from
5966 OFFSET when same is adjusted.
5967 (set_mem_attributes): New wrapper function.
5968 * expr.c (expand_assignment): Use set_mem_attributes_minus_bitpos;
5969 remove offset adjustment hack.
5970 * expr.h (set_mem_attributes_minus_bitpos): Declare.
5971
61ccbcfd
GDR
59722002-07-29 Gabriel Dos Reis <gdr@nerim.net>
5973
5974 * Makefile.in (C_OBJS): Include c-pretty-print.o
5975 (c-pretty-print.o): Add depency rule.
5976 * pretty-print.h: Add more macros.
5977 * c-pretty-print.c: New file.
5978 * c-pretty-print.h: Likewise.
5979
09101f56
AH
59802002-07-29 Aldy Hernandez <aldyh@redhat.com>
5981
5982 * config/rs6000/spe.h (__internal_ev_mwhgumian): Cast vector
5983 constants to __ev64_s32__.
5984 (__internal_ev_mwhgsmian): Same.
5985 (__internal_ev_mwhgsmfan): Same.
5986 (__internal_ev_mwhgssfan): Same.
5987 (__internal_ev_mwhgumiaa): Same.
5988 (__internal_ev_mwhgsmiaa): Same.
5989 (__internal_ev_mwhgsmfaa): Same.
5990 (__internal_ev_mwhgssfaa): Same.
5991
af673a52
DE
59922002-07-29 David Edelsohn <edelsohn@gnu.org>
5993
5994 * varasm.c (assemble_variable): Narrow test for uninitialized
5995 without BSS target support.
5996
6c208acd
NS
59972002-07-29 Nathan Sidwell <nathan@codesourcery.com>
5998
5999 * profile.c: Add file comment describing the overall algorithm and
6000 structures.
6001 (struct edge_info): Add comments.
6002 (struct bb_info): Add comments.
6003 * basic-block.h (EDGE_*): Add comments.
6004 * doc/gcov.texi (Gcov Data Files): Document bit flags.
6005
624f0d60
BW
60062002-07-29 Bob Wilson <bob.wilson@acm.org>
6007
6008 * config/xtensa/elf.h, config/xtensa/linux.h
6009 (TARGET_OS_CPP_BUILTINS): Define.
6010 (CPP_PREDEFINES): Remove.
6011 * config/xtensa/xtensa.h (TARGET_CPU_CPP_BUILTINS): Define.
6012 (CPP_SPEC): Remove.
6013
2199e5fa
ZW
60142002-07-29 Zack Weinberg <zack@codesourcery.com>
6015
6016 * gensupport.c: Include hashtab.h.
6017 (insn_elision, condition_table, hash_c_test, cmp_c_test,
6018 maybe_eval_c_test): New routines and data structures to
6019 support insn elision.
6020 (init_md_reader): Read and initialize the condition_table.
6021 (read_md_rtx): Discard insn patterns whose C test is provably
6022 always false.
6023 * gensupport.h: Declare new functions and data structures.
6024
6025 * genconditions.c, dummy-conditions.c: New files.
6026 * Makefile.in: Build genconditions; run it to construct
6027 insn-conditions.c; build that and link it into most gen*
6028 programs.
6029 (HOST_SUPPORT, HOST_EARLY_SUPPORT): New variables.
6030 (GEN): Delete, unused.
6031 (STAGESTUFF): Update.
6032
6033 * gencodes.c: (gen_insn): #define CODE_FOR_xxx equal to
6034 CODE_FOR_nothing for all elided patterns.
6035 (main): Tweaked to support this.
6036 * genflags.c (gen_proto): Emit a static inline generator
6037 function here for all elided patterns, which simply returns
6038 NULL_RTX.
6039 (gen_insn): Do not define HAVE_xxx for elided patterns.
6040 (main): Tweaked to support this. No need to forward-declare
6041 struct rtx_def.
6042 * genrecog.c: Do not bother emitting the C test if it's known
6043 to be true at compile time.
6044
6ab185d6
MS
60452002-07-29 Mike Stump <mrs@apple.com>
6046
6d439235 6047 * config.gcc (target_gtfiles): Initialize, as otherwise cross
2199e5fa 6048 compilers hosted on powerpc-apple-darwin6.0 won't even build.
6ab185d6 6049
72b075d1
RE
60502002-07-29 Richard Earnshaw <rearnsha@arm.com>
6051
6052 * arm.md (sibcall, sibcall_value): Add RETURN as part of the pattern,
6053 remove clobber of LR.
6054 (sibcall_insn, sibcall_value_insn): Update accordingly.
6055 (sibcall_epilogue): Remove debugging comment from assembler stream.
6056
f63c45ec
GDR
60572002-07-29 Gabriel Dos Reis <gdr@nerim.net>
6058
6059 * pretty-print.h: Define more macros.
6060 * diagnostic.h (output_formatted_integer): Moved from...
6061 * diagnostic.c: ... here.
6062
c27c15db
KG
60632002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6064
6065 * stormy16.h (ASM_OUTPUT_SYMBOL_REF): Use ASM_OUTPUT_LABEL_REF.
6066
99086d59
ZW
60672002-07-28 Zack Weinberg <zack@codesourcery.com>
6068
6069 * defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
6070 arguments. Always use ".-symbol" as expression argument.
6071 * doc/tm.texi: Update to match. Document requirement for
6072 ".size symbol, .-symbol" to be acceptable to assembler.
6073
6074 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
6075 config/arm/elf.h, config/avr/avr.h, config/cris/aout.h,
6076 config/i386/freebsd-aout.h, config/i386/sco5.h,
6077 config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h,
6078 config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE.
6079
dd86aabf
KG
60802002-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6081
6fd327e9
KG
6082 * Makefile.in (gengtype-lex.c): Fix error in last change.
6083
8155cedd
KG
6084 * alpha/freebsd.h (TARGET_OS_CPP_BUILTINS): Add missing
6085 backslash.
6086
dd86aabf
KG
6087 * Makefile.in (vmsdbgout.o): Depend on function.h.
6088
6089 * vmsdbgout.c: Include function.h.
6090
d4348177
AM
60912002-07-28 Alan Modra <amodra@bigpond.net.au>
6092
6093 * prefix.c (update_path): Don't strip single `.' path components
6094 unless stripping a later `..' component. Exit loop as soon as
6095 a valid path is found.
6096
c2ef6d34
RS
60972002-07-27 Roger Sayle <roger@eyesopen.com>
6098
6099 * builtins.def [DEF_GCC_BUILTIN]: Require an explicit ATTRS
6100 argument. Mark BUILT_IN_RETURN, BUILT_IN_EH_RETURN,
6101 BUILT_IN_LONGJMP and BUILT_IN_TRAP as noreturn, the ISO C99
6102 floating point unordered comparisons (e.g. __builtin_isgreater)
6103 as const, and leave the remaining GCC_BUILTINs unchanged.
6104
6105 * c-decl.c (builtin_function): No need to explicitly mark
6106 BUILT_IN_RETURN and BUILT_IN_EH_RETURN as noreturn.
6107
52bfebf0
RS
61082002-07-27 Roger Sayle <roger@eyesopen.com>
6109
6110 * Makefile.in: rtlanal.o now depends upon real.h.
6111
6112 * flags.h [flag_signaling_nans]: New flag.
6113 [HONOR_SNANS]: New macro.
6114
6115 * toplev.c [flag_signaling_nans]: Initialize to false.
99086d59 6116 (f_options): Add processing for "-fsignaling-nans".
52bfebf0
RS
6117 (set_fast_math_flags): Clear flag_signaling_nans with -ffast-math.
6118 (process_options): flag_signaling_nans implies flag_trapping_math.
6119
6120 * c-common.c (cb_register_builtins): Define __SUPPORT_SNAN__
6121 when -fsignaling-nans. First step to implementing WG14's N965.
6122
6123 * fold-const.c (fold) [MULT_EXPR]: Conditionalize transforming
6124 1.0 * x into x, and -1.0 * x into -x on !HONOR_SNANS.
6125 [RDIV_EXPR]: Conditionalize x/1.0 into x on !HONOR_SNANS.
6126
6127 * simplify-rtx.c (simplify_relational_operation): Conditionalize
6128 transforming abs(x) < 0.0 into false on !HONOR_SNANS.
6129
6130 * rtlanal.c: #include real.c for TARGET_FLOAT_FORMAT definitions
6131 required by HONOR_SNANS. (may_trap_p): Floating point DIV, MOD,
99086d59
ZW
6132 UDIV, UMOD, GE, GT, LE, LT and COMPARE may always trap with
6133 -fsignaling_nans. EQ and NE only trap for flag_signaling_nans
52bfebf0
RS
6134 not flag_trapping_math (i.e. HONOR_SNANS but not HONOR_NANS).
6135
6136 * doc/invoke.texi: Document new -fsignaling-nans compiler option.
6137
e66f55b8
KG
61382002-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6139
6140 * Makefile.in (gengtype-lex.c): Work around a bug in flex.
6141 * gengtype-lex.l (YY_USE_PROTOS): Undef.
6142 (YY_DECL): Define.
6143
a3926fe1
RS
61442002-07-27 Roger Sayle <roger@eyesopen.com>
6145
6146 * doc/invoke.texi: Document that both -fno-builtin-foo and
6147 -fno-builtin are supported by the g++ front-end.
6148
ef69da62
SS
61492002-07-27 Stan Shebs <shebs@apple.com>
6150
6151 * configure.in: Rename config_gtfiles to target_gtfiles.
6152 * configure: Regenerate.
6153 * doc/gty.texi: Update reference.
6154 * config.gcc (powerpc-*-darwin*): Set target_gtfiles
6155 instead of appending to it.
6156
a4b0320c
AH
61572002-07-25 Aldy Hernandez <aldyh@redhat.com>
6158
6159 * config/rs6000/rs6000.c (function_arg_advance): SPE vararg
6160 vectors are split into two registers.
6161 (function_arg): Same.
6162
c427db5d
R
6163Thu Jul 26 23:00:13 2002 J"orn Rennecke <joern.rennecke@superh.com>
6164
6165 * pa.md (extv): Check predicates before emitting extv_32.
6166
57ac7be9
AM
61672002-07-27 Alan Modra <amodra@bigpond.net.au>
6168
6169 * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
6170 (rs6000_traceback): New var.
6171 (rs6000_override_options): Set rs6000_traceback.
6172 (rs6000_output_function_epilogue): Implement traceback options.
6173 * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
6174 (rs6000_traceback_name): Declare.
6175
6176 * config/rs6000/rs6000.c (output_profile_hook): Don't generate profile
6177 label reference when NO_PROFILE_COUNTERS.
6178
8e51619a
JM
61792002-07-26 Jason Merrill <jason@redhat.com>
6180
6181 * function.c (assign_parms): Handle frontend-directed pass by
6182 invisible reference.
6183
b41f25cf
NB
61842002-07-26 Neil Booth <neil@daikokuya.co.uk>
6185
6186 * doc/cppopts.texi: Update.
6187
c2734e05
NB
61882002-07-26 Neil Booth <neil@daikokuya.co.uk>
6189
6190 * cppmacro.c (_cpp_create_definition): Don't attempt redefinition
6191 warnings on assertions.
6192
c372b0fa
NB
61932002-07-26 Neil Booth <neil@daikokuya.co.uk>
6194
6195 * c-common.h (RID_AND, RID_AND_EQ, RID_NOT, RID_NOT_EQ,
6196 RID_OR, RID_OR_EQ, RID_XOR, RID_XOR_EQ, RID_BITAND, RID_BITOR,
6197 RID_COMPL): Remove.
6198 * c-parse.in (rid_to_yy): Similarly.
6199
558ee214
JM
62002002-07-26 Jason Merrill <jason@redhat.com>
6201
6202 * c-dump.c: Resurrect.
6203 * tree-dump.c: Move C-specific stuff to c-dump.c.
6204 * c-common.h: Declare c_dump_tree.
6205 * c-lang.c (LANG_HOOKS_TREE_DUMP_DUMP_TREE_FN): Define.
6206 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
6207 (c-dump.o): New rule.
6208
ce71f754
AM
62092002-07-26 Alan Modra <amodra@bigpond.net.au>
6210
6211 * config/rs6000/rs6000.md: Enable patterns using rlwinm for
6212 PowerPC64. Replace "T" and "S" constraints with "n" when the
6213 predicate will do. Formatting fixes.
6214 (extzvsi_internal2): Use "andi.", "andis." and attr type of "compare"
6215 as for extzvsi_internal1.
6216
e179e7d7
NB
62172002-07-25 Neil Booth <neil@daikokuya.co.uk>
6218
6219 * dwarfout.c (VERSION_ASM_OP, DERIV_BEGIN_LABEL_FMT,
6220 DERIV_END_LABEL_FMT): Remove.
6221 (SL_BEGIN_LABEL_FMT, SL_END_LABEL_FMT): Move.
6222
a2056183
NB
62232002-07-25 Neil Booth <neil@daikokuya.co.uk>
6224
6225 * objc/objc-act.c (UTAG_STATICS, UTAG_PROTOCOL_LIST, USERTYPE):
6226 Remove.
6227
308c142a
SS
62282002-07-25 Stan Shebs <shebs@apple.com>
6229
6230 * config/rs6000/rs6000.c (rs6000_emit_prologue): Remove unused
6231 local var dwarfp.
6232 (output_compiler_stub): Remove unused locals.
6233 (output_call): Always initialize line number.
6234
59324685
R
6235Thu Jul 25 20:34:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
6236
6237 * sh.h (LOAD_EXTEND_OP): QImode zero-extends on SHmedia.
6238 * sh.md (truncdiqi2, movqi_media): Likewise.
6239
77bbd421
NB
62402002-07-25 Neil Booth <neil@daikokuya.co.uk>
6241
6242 * gcse.c (obstack_chunk_alloc): Remove.
6243 (gcse_alloc): Fix to count allocated bytes.
6244 * collect2.c (SYMBOL__MAIN): Remove.
6245
7bad45b0
NB
62462002-07-25 Neil Booth <neil@daikokuya.co.uk>
6247
6248 * gcc.c (TARGET_EXECUTABLE_SUFFIX): Only used if
6249 HAVE_TARGET_EXECUTABLE_SUFFIX.
6250
184166b5
R
6251Thu Jul 25 18:57:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
6252
6253 * rtl.h (mem_attrs): Spell out more clearly the roles of ALIGN,
6254 SIZE, EXPR and OFFSET.
6255
40cb04f1
RH
62562002-07-25 Richard Henderson <rth@redhat.com>
6257
6258 * emit-rtl.c (set_mem_attributes): Fix size and alignment thinkos
6259 in ARRAY_REF of DECL_P case.
6260
a27fb29b
RS
62612002-07-25 Richard Sandiford <rsandifo@redhat.com>
6262
6263 * doc/invoke.texi: Document -mabi=meabi, and expand on the EABI
6264 description. Document -mips32, -mips64, and the associated -march
6265 values. Describe the "mipsN" arguments to -march. Say that the
6266 -mipsN options are equivalent to -march. Reword the description
6267 of default type sizes.
6268 * toplev.h (target_flags_explicit): Declare.
6269 * toplev.c (target_flags_explicit): New var.
6270 (set_target_switch): Update target_flags_explicit.
6271 * config/mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Undefine.
6272 * config/mips/elf64.h (MIPS_ISA_DEFAULT): Undefine.
6273 * config/mips/iris6.h (SUBTARGET_ASM_SPEC): -mabi=64 implies -mips3.
6274 * config/mips/isa3264.h (MIPS_ENABLE_EMBEDDED_O32): Undefine.
6275 * config/mips/mips.h (mips_cpu_info): New struct.
6276 (mips_cpu_string, mips_explicit_type_size_string): Remove.
6277 (mips_cpu_info_table, mips_arch_info, mips_tune_info): Declare.
6278 (MIPS_CPP_SET_PROCESSOR): New macro.
6279 (TARGET_CPP_BUILTINS): Declare a macro for each supported processor.
6280 Define _MIPS_ARCH and _MIPS_TUNE.
6281 (MIPS_ISA_DEFAULT): Don't provide a default value. Instead...
6282 (MIPS_CPU_STRING_DEFAULT): Set to "from-abi" if neither it nor
6283 MIPS_ISA_DEFAULT were already defined.
6284 (MULTILIB_DEFAULTS): Add MULTILIB_ABI_DEFAULT.
6285 (TARGET_OPTIONS): Remove -mcpu and -mexplicit-type-size.
6286 (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New.
6287 (GAS_ASM_SPEC): Remove -march, -mcpu, -mgp* and -mabi rules.
6288 (ABI_GAS_ASM_SPEC): Remove.
6289 (MULTILIB_ABI_DEFAULT, ASM_ABI_DEFAULT_SPEC): New macros.
6290 (ASM_SPEC): Add -mgp32, -mgp64, -march, -mabi=eabi and -mabi=o64.
6291 Invoke %(asm_abi_default_spec) if no ABI was specified.
6292 (CC1_SPEC): Remove ISA -> register-size rules.
6293 (EXTRA_SPECS): Remove abi_gas_asm_spec. Add asm_abi_default_spec.
6294 * config/mips/mips.c (mips_arch_info, mips_tune_info): New vars.
6295 (mips_cpu_string, mips_explicit_type_size_string): Remove.
6296 (mips_cpu_info_table): New array.
6297 (mips_set_architecture, mips_set_tune): New fns.
6298 (override_options): Rework to make -mipsN equivalent to -march.
6299 Detect more erroneous cases, including those removed from CC1_SPEC.
6300 Don't change the ABI based on architecture, or vice versa.
6301 Unify logic with GAS.
6302 (mips_asm_file_start): Get architecture name from mips_arch_info.
6303 (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
6304 (mips_parse_cpu): Take the name of the option as argument. Handle
6305 'from-abi'. Raise an error if the option is wrong.
6306 (mips_cpu_info_from_isa): New fn.
6307
6bbdc759
RS
63082002-07-25 Richard Sandiford <rsandifo@redhat.com>
6309
6310 * config/mips/mips.md (tablejump_mips161): Use gen_rtx_LABEL_REF.
6311 (tablejump_mips162): Likewise.
6312
80a62484
R
6313Thu Jul 25 10:23:41 2002 J"orn Rennecke <joern.rennecke@superh.com>
6314
6315 * simpify-rtx.c (simplify_subreg): Don't pass MODE_CC mode to
6316 int_mode_for_mode.
6317
ea793912
GDR
63182002-07-25 Gabriel Dos Reis <gdr@nerim.net>
6319
6320 * c-common.c (c_sizeof_or_alignof_type): Take a third argument for
99086d59 6321 complaining.
ea793912
GDR
6322 * c-common.h (c_sizeof): Adjust definition.
6323 (c_alignof): Likewise.
6324 * c-tree.h (c_sizeof_nowarn): Now macro.
6325 * c-typeck.c (c_sizeof_nowarn): Remove definition.
6326
2d615444
NB
63272002-07-25 Neil Booth <neil@daikokuya.co.uk>
6328
6329 * c-decl.c (c_decode_option): No need to handle switches
6330 cpplib handles.
6331
2be2ac70
ZW
63322002-07-24 Zack Weinberg <zack@codesourcery.com>
6333
6334 * defaults.h (ASM_OUTPUT_TYPE_DIRECTIVE, ASM_OUTPUT_SIZE_DIRECTIVE,
6335 ASM_OUTPUT_MEASURED_SIZE): New default definitions of new macros.
6336 * doc/tm.texi: Document them. Also document SIZE_ASM_OP,
6337 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
6338
6339 * config/elfos.h, config/netbsd-aout.h, config/openbsd.h,
6340 config/alpha/elf.h, config/arm/elf.h, config/avr/avr.h,
6341 config/cris/aout.h, config/i386/freebsd-aout.h,
6342 config/i386/sco5.h, config/ia64/ia64.c, config/ip2k/ip2k.h,
6343 config/m68k/m68kelf.h, config/m68k/m68kv4.h, config/m88k/m88k.h,
6344 config/mcore/mcore-elf.h, config/mips/elf.h, config/mips/elf64.h,
6345 config/mips/iris6.h, config/mips/linux.h, config/pa/pa-linux.h,
6346 config/pa/pa64-hpux.h, config/rs6000/sysv4.h,
6347 config/xtensa/elf.h, config/xtensa/linux.h:
6348 Use the new macros.
6349 Where possible, remove redundant definitions of SIZE_ASM_OP,
6350 TYPE_ASM_OP, and TYPE_OPERAND_FMT.
6351
518878e1
AH
63522002-07-24 Aldy Hernandez <aldyh@redhat.com>
6353
6354 * config/rs6000/eabi.h: Define TARGET_SPE_ABI, TARGET_SPE,
6355 TARGET_ISEL, and TARGET_FPRS.
99086d59 6356
518878e1
AH
6357 * doc/invoke.texi (RS/6000 and PowerPC Options): Document
6358 -mabi=spe, -mabi=no-spe, and -misel=.
6359
6360 * config/rs6000/rs6000-protos.h: Add output_isel.
6361 Move vrsave_operation prototype here.
6362
6363 * config/rs6000/rs6000.md (sminsi3): Allow pattern for TARGET_ISEL.
6364 (smaxsi3): Same.
6365 (uminsi3): Same.
6366 (umaxsi3): Same.
6367 (abssi2_nopower): Disallow when TARGET_ISEL.
6368 (*ne0): Same.
6369 (negsf2): Change to expand and rename old pattern to *negsf2.
6370 (abssf2): Change to expand and rename old pattern to *abssf2.
99086d59 6371
518878e1
AH
6372 New expanders: fix_truncsfsi2, floatunssisf2, floatsisf2,
6373 fixunssfsi2.
6374
6375 Change patterns that check for TARGET_HARD_FLOAT or
6376 TARGET_SOFT_FLOAT to also check TARGET_FPRS.
6377
6378 * config/rs6000/rs6000.c: New globals: rs6000_spe_abi,
6379 rs6000_isel, rs6000_fprs, rs6000_isel_string.
6380 (rs6000_override_options): Add 8540 case to
6381 processor_target_table.
6382 Set rs6000_isel for the 8540.
6383 Call rs6000_parse_isel_option.
6384 (enable_mask_for_builtins): New.
6385 (rs6000_parse_isel_option): New.
6386 (rs6000_parse_abi_options): Add spe and no-spe.
6387 (easy_fp_constant): Treat !TARGET_FPRS as soft-float.
6388 (rs6000_legitimize_address): Check for TARGET_FPRS when checking
6389 for TARGET_HARD_FLOAT.
6390 Add case for SPE_VECTOR_MODE.
6391 (rs6000_legitimize_reload_address): Handle SPE vector modes.
6392 (rs6000_legitimate_address): Disallow PRE_INC/PRE_DEC for SPE
6393 vector modes.
6394 Check for TARGET_FPRS when checking for TARGET_HARD_FLOAT.
6395 (rs6000_emit_move): Check for TARGET_FPRS.
6396 Add cases for SPE vector modes.
6397 (function_arg_boundary): Return 64 for SPE vector modes.
6398 (function_arg_advance): Check for TARGET_FPRS and
6399 Handle SPE vectors.
6400 (function_arg): Same.
6401 (setup_incoming_varargs): Check for TARGET_FPRS.
6402 (rs6000_va_arg): Same.
6403 (struct builtin_description): Un-constify mask field. Move up in
6404 file.
6405 (bdesc_2arg): Un-constify and add SPE builtins.
6406 (bdesc_1arg): Same.
6407 (bdesc_spe_predicates): New.
6408 (bdesc_spe_evsel): New.
6409 (rs6000_expand_unop_builtin): Add SPE 5-bit literal builtins.
6410 (rs6000_expand_binop_builtin): Same.
6411 (bdesc_2arg_spe): New.
6412 (spe_expand_builtin): New.
6413 (spe_expand_predicate_builtin): New.
6414 (spe_expand_evsel_builtin): New.
6415 (rs6000_expand_builtin): Call spe_expand_builtin for SPE.
6416 (rs6000_init_builtins): Initialize SPE builtins. Call
6417 rs6000_common_init_builtins.
6418 (altivec_init_builtins): Move all non-altivec builtin code to...
6419 (rs6000_common_init_builtins): ...here. New function.
6420 (branch_positive_comparison_operator): Allow NE code for SPE.
6421 (ccr_bit): Return correct ccr bit for SPE fp.
6422 (print_operand): Emit crnor in 'D' case for SPE.
6423 New case 't'.
6424 Add SPE code for 'y' case.
6425 (rs6000_generate_compare): Generate rtl for SPE fp.
6426 (output_cbranch): Handle SPE hard floats.
6427 (rs6000_emit_cmove): Handle isel.
6428 (rs6000_emit_int_cmove): New.
6429 (output_isel): New.
6430 (rs6000_stack_info): Adjust stack frame so GPRs are saved in
6431 64-bits for SPE.
6432 (debug_stack_info): Add SPE info.
6433 (gen_frame_mem_offset): New.
6434 (rs6000_emit_prologue): Save GPRs in 64-bits for SPE abi.
6435 Change mode of frame pointer, when saving it, to Pmode.
6436 (rs6000_emit_epilogue): Restore GPRs in 64-bits for SPE abi.
6437 Misc cleanups and use gen_frame_mem_offset when appropriate.
6438
6439 * config/rs6000/rs6000.h (processor_type): Add PROCESSOR_PPC8540.
6440 (TARGET_SPE_ABI): New.
6441 (TARGET_SPE): New.
6442 (TARGET_ISEL): New.
6443 (TARGET_FPRS): New.
6444 (FIXED_SCRATCH): New.
6445 (RTX_COSTS): Add PROCESSOR_PPC8540.
6446 (ASM_CPU_SPEC): Add case for 8540.
6447 (TARGET_OPTIONS): Add isel= case.
6448 (rs6000_spe_abi): New.
6449 (rs6000_isel): New.
6450 (rs6000_fprs): New.
6451 (rs6000_isel_string): New.
6452 (UNITS_PER_SPE_WORD): New.
6453 (LOCAL_ALIGNMENT): Adjust for SPE.
6454 (HARD_REGNO_MODE_OK): Same.
6455 (DATA_ALIGNMENT): Same.
6456 (MEMBER_TYPE_FORCES_BLK): New.
6457 (FIRST_PSEUDO_REGISTER): Set to 113.
6458 (FIXED_REGISTERS): Add SPE registers.
6459 (reg_class): Same.
6460 (REG_CLASS_NAMES): Same.
6461 (REG_CLASS_CONTENTS): Same.
6462 (REGNO_REG_CLASS): Same.
6463 (REGISTER_NAMES): Same.
6464 (DEBUG_REGISTER_NAMES): Same.
6465 (ADDITIONAL_REGISTER_NAMES): Same.
6466 (CALL_USED_REGISTERS): Same.
6467 (CALL_REALLY_USED_REGISTERS): Same.
6468 (SPE_ACC_REGNO): New.
6469 (SPEFSCR_REGNO): New.
6470 (SPE_SIMD_REGNO_P): New.
6471 (HARD_REGNO_NREGS): Adjust for SPE.
6472 (VECTOR_MODE_SUPPORTED_P): Same.
6473 (REGNO_REG_CLASS): Same.
6474 (FUNCTION_VALUE): Same.
6475 (LIBCALL_VALUE): Same.
6476 (LEGITIMATE_OFFSET_ADDRESS_P): Same.
6477 (SPE_VECTOR_MODE): New.
6478 (CONDITIONAL_REGISTER_USAGE): Disable FPRs when target does FP on
6479 the GPRs. Set FIXED_SCRATCH fixed in SPE case.
6480 (rs6000_stack): Add spe_gp_size, spe_padding_size,
6481 spe_gp_save_offset.
6482 (USE_FP_FOR_ARG_P): Check for TARGET_FPRS.
6483 (LEGITIMATE_LO_SUM_ADDRESS_P): Same.
6484 (SPE_CONST_OFFSET_OK): New.
6485 (rs6000_builtins): Add SPE builtins.
6486
6487 * testsuite/gcc.dg/ppc-spe.c: New.
99086d59 6488
518878e1
AH
6489 * config/rs6000/eabispe.h: New.
6490
6491 * config/rs6000/spe.h: New.
6492
6493 * config/rs600/spe.md: New.
6494
6495 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
6496 __SIMD__ for TARGET_SPE.
6497
6498 * config.gcc: Add powerpc-*-eabispe* case.
6499 Add spe.h to user headers for powerpc.
6500
8d1b7ba1
CD
65012002-07-24 Chris Demetriou <cgd@broadcom.com>
6502
6503 * config/mips/elf.h (STARTFILE_SPEC): Undo previous change.
6504 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6505 * config/mips/isa3264.h (STARTFILE_SPEC): Likewise.
6506
8ad8135a
RH
65072002-07-24 Richard Henderson <rth@redhat.com>
6508
6509 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Use GOTO_SUBROUTINE_EXPR
6510 form when not optimizing.
6511
dc44a4d8
DM
65122002-07-24 David Mosberger <davidm@hpl.hp.com>
6513
6514 * config/ia64/ia64.c (gen_thread_pointer): Fix typo in marking
6515 thread_pointer_rtx as unchanging.
6516
c5605318
MM
65172002-07-24 Michael Matz <matz@suse.de>
6518
6519 * ra-colorize.c (INV_REG_ALLOC_ORDER): New macro.
6520 (free_reg): Use it.
6521
3ade30ea
RE
65222002-07-24 Richard Earnshaw <rearnsha@arm.com>
6523
6524 * arm.md (arm_buneq, arm_bltgt): put '\' before ';' in output
6525 pattern.
6526 (arm_buneq_reversed, arm_bltgt_reversed): Likewise.
6527 (movsicc, movsfcc, movdfcc): FAIL if UNEQ or LTGT.
6528
8a3ad737
CD
65292002-07-24 Chris Demetriou <cgd@broadcom.com>
6530
6531 * config/mips/elf.h (STARTFILE_SPEC): Never include crt0.o.
6532 * config/mips/elf64.h (STARTFILE_SPEC): Likewise.
6533 * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine.
6534
7e51e626
JH
6535Wed Jul 24 17:59:12 CEST 2002 Jan Hubicka <jh@suse.cz>
6536
6537 * toplev.c (rest_of_compilation): Dump loops before clobbering
6538 the structure.
6539
5df533b3
JH
6540Wed Jul 24 17:23:16 CEST 2002 Jan Hubicka <jh@suse.cz>
6541
6542 * rtlanal.c (keep_with_call_p): Avoid overflow in fixed_regs.
6543
79258dce
RS
65442002-07-24 Frank van der Linden <fvdl@wasabisystems.com>
6545
6546 PR optimization/7291
6547 * config/i386/i386.c (ix86_expand_clrstr): Fix bzero alignment
6548 problem on x86_64.
6549
26ff2117
GDR
65502002-07-24 Gabriel Dos Reis <gdr@nerim.net>
6551
6552 * pretty-print.h: Add macros from cp/error.c
6553
0ba1b2ff
AM
65542002-07-24 Alan Modra <amodra@bigpond.net.au>
6555
6556 * config/rs6000/rs6000-protos.h (mask_operand_wrap): Declare.
6557 (mask64_2_operand): Declare.
6558 (build_mask64_2_operands): Declare.
6559 (and64_2_operand): Declare.
6560 (extract_MB): Declare.
6561 (extract_ME): Declare.
6562 * config/rs6000/rs6000.c (mask64_operand): Allow all ones. Remove
6563 CONST_DOUBLE code.
6564 (mask_operand_wrap): New insn predicate.
6565 (mask64_2_operand): Likewise.
6566 (and64_2_operand): Likewise.
6567 (build_mask64_2_operands): New function.
6568 (extract_MB): New function.
6569 (extract_ME): New function.
6570 (print_operand <case m,M>): Use extract_MB and extract_ME.
6571 (print_operand <case S>): Allow all ones. Remove CONST_DOUBLE support.
6572 * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 't'.
6573 (PREDICATE_CODES): Add and64_2_operand, mask_operand_wrap and
6574 mask64_2_operand. Remove CONST_DOUBLE from mask64_operand.
6575 * config/rs6000/rs6000.md (andsi3_internal3): New
6576 (andsi3_internal3+1): Enable split for powerpc64.
6577 (andsi3_internal3+2): New split.
6578 (andsi3_internal4): Renamed old andsi3_internal3.
6579 (andsi3_internal5): New.
6580 (andsi3_internal5+1): Enable split for powerpc64.
6581 (andsi3_internal5+2): New split.
6582 (andsi3_internal6, andsi3_internal7, andsi3_internal8): New.
6583 (anddi3): Handle 't' constraint.
6584 (anddi3+1): New split.
6585 (anddi3_internal2): Handle 't' constraint.
6586 (anddi3_internal2+1): New split.
6587 (anddi3_internal3): Handle 't' constraint.
6588 (anddi3_internal3+1): New split.
6589
097657c3
AM
65902002-07-24 Alan Modra <amodra@bigpond.net.au>
6591
6592 * config/rs6000/rs6000.md: Remove scratch reg on insns using
6593 addze and similar (plus (comparison r1 r2) r3) insns. Add
6594 missing scratch reg in one case. Formatting fixes.
6595
a69cbaac
NB
65962002-07-24 Neil Booth <neil@daikokuya.co.uk>
6597
6598 * cppexp.c (parse_defined): Mark macro used.
6599 * cpphash.h (struct cpp_macro): New member "used".
6600 (_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
6601 (struct cpp_reader): New member.
6602 * cppinit.c (cpp_finish_options): Set first_unused_line.
6603 (cpp_finish): Warn of unused macros if requested.
6604 (OPT_TABLE): New switches.
6605 (cpp_handle_option): Handle them.
6606 * cpplib.c (do_undef): Warn if macro unused.
6607 (do_ifdef, do_ifndef): Mark macro used.
6608 * cpplib.h (struct cpp_options): New member.
6609 * cppmacro.c (_cpp_warn_if_unused_macro): New.
6610 (enter_macro_context): Mark macro used.
6611 (_cpp_create_definition): Mark macro unused; warn if unused
6612 when redefined.
6613 * cpptrad.c (scan_out_logcial_line, push_replacement_text):
6614 Mark macros used.
6615 * doc/cppopts.texi: Update.
6616
c0667597
NB
66172002-07-23 Neil Booth <neil@daikokuya.co.uk>
6618
6619 * dwarf2out.c (SECTION_ASM_OP,
6620 ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6621 * system.h (SECTION_ASM_OP): Poison.
6622 * tree.c (FILE_FUNCTION_PREFIX_LEN): Remove.
6623 * config/alpha/alpha-interix.h, config/mips/linux.h
6624 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
6625 * config/mmix/mmix-protos.h, config/mmix/mmix.c
6626 (mmix_asm_output_define_label_difference_symbol): Remove.
6627 * config/mmix/mmix.h
6628 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Remove.
b841421a 6629 * doc/tm.texi: Remove documentation.
c0667597 6630
bf7cd754
R
6631Tue Jul 23 21:49:24 2002 J"orn Rennecke <joern.rennecke@superh.com>
6632
6633 * recog.c (asm_operand_ok): Allow float CONST_VECTORs for 'F'.
6634 (constrain_operands): Likewise.
6635 * regclass.c (record_reg_classes): Likewise.
6636 * reload.c (find_reloads): Likewise.
6637 * doc/md.texi: Likewise.
451f86fd
R
6638
6639 * reload.c (find_reloads_toplev): Use simplify_gen_subreg.
6640 * simplify-rtx.c (simplify_subreg): When converting to a non-int
6641 mode, try to convert to an integer mode of matching size first.
1d5fa6b4
R
6642
6643 * simplify-rtx.x (simplify_subreg): When constructing a CONST_VECTOR
6644 from individual subregs, check that each subreg has been generated
6645 sucessfully.
6646
10d6af32
NB
66472002-07-23 Neil Booth <neil@daikokuya.co.uk>
6648
6649 * genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
6650 * df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
6651 FOR_EACH_BB_IN_SBITMAP): Remove.
6652 * gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
6653 * haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
6654 LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
6655 * loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
6656 PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
6657 * regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
6658
6aaae39a
GDR
66592002-07-23 Gabriel Dos Reis <gdr@nerim.net>
6660
6661 * pretty-print.h: New file.
6662
45e574d0
JDA
66632002-07-23 Paul Koning <pkoning@equallogic.com>
6664
6665 * real.c (REAL_WORDS_BIG_ENDIAN): Make 1 for DEC.
6666 (LARGEST_EXPONENT_IS_NORMAL): Ditto.
6667 (VAX_HALFWORD_ORDER): Define (1 for DEC VAX, 0 otherwise).
6668 (TARGET_G_FLOAT): Default to 0 if not defined.
99086d59 6669 (ieeetoe): New, common routine to convert target format floats
45e574d0
JDA
6670 to internal form.
6671 (e24toe, e53toe): Change to use ieeetoe, distinguish DEC
6672 vs. others.
6673 (e113toe): Change to use ieeetoe.
6674
66752002-07-23 Roman Lechtchinsky <rl@cs.tu-berlin.de>
6676
6677 * real.c (REAL_WORDS_BIG_ENDIAN): Make sure it is 0 for DEC and 1 for
6678 IBM.
6679 (e53toe): Assume IEEE if non of DEC, IBM and C4X is defined.
6680 (e64toe): Remove special cases for DEC and IBM. Remove support for
6681 ARM_EXTENDED_IEEE_FORMAT.
6682 (e24toe): Remove special cases for DEC.
6683 (significand_size): Simplify. Indent.
6684 (ieee_format, ieee_24, ieee_53, ieee_64, ieee_113): New.
6685 (etoieee, toieee): New.
6686 (etoe113, toe113, etoe64, toe64, etoe53, toe53, etoe24, toe24): Use
6687 etoieee and toieee for IEEE arithmetic.
6688
3764f879
GDR
66892002-07-23 Gabriel Dos Reis <gdr@nerim.net>
6690
6691 * doc/extend.texi: Say ISO C90, not ISO C89.
6692 * doc/invoke.texi: Likewise.
6693 * doc/standards.texi: Likewise.
6694
aa0f70e6
SE
66952002-07-23 Steve Ellcey <sje@cup.hp.com>
6696
6697 * gcc/explow.c (convert_memory_address): Fix conversion of CONSTs.
6698 Fix permutation of conversion and plus/mult.
6699 * gcc/builtins.c (expand_builtin_memcpy) Ensure return pointer is
6700 ptr_mode and not Pmode when POINTERS_EXTEND_UNSIGNED is defined.
6701 (expand_builtin_strncpy) Ditto.
6702 (expand_builtin_memset) Ditto.
6703
fa72b064
GDR
67042002-07-23 Gabriel Dos Reis <gdr@nerim.net>
6705
6706 Fix PR/7363:
6707 * c-common.c (c_sizeof_or_alignof_type): New function.
6708 (c_alignof): Remove definition.
6709 * c-common.h (c_sizeof, c_alignof): Define as macros.
6710 (c_sizeof_or_alignof_type): Declare.
6711 (my_friendly_assert): Moved from cp/cp-tree.h
6712 * c-typeck.c (c_sizeof): Remove definition.
6713
2b773ee2
JH
67142002-07-23 Jan Hubicka <jh@suse.cz>
6715
6716 * gcse.c (try_replace_reg): Use num_changes_pending.
6717 * recog.c (num_changes_pending): New function.
6718 (validate_replace_src): Use validate_repalce_src_group.
6719 (validate_replace_src_group): New.
6720 * recog.h (validate_repalce_src_group): New.
6721 (num_changes_pending): Likewise.
6722
a0dc500c
R
6723Tue Jul 23 12:16:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
6724
6725 * calls.c (emit_library_call_value_1): If
6726 FUNCTION_ARG_PASS_BY_REFERENCE is true, pretend this is neither
6727 libcall, const call nor pure call.
6728
d22eda7b
NB
67292002-07-23 Neil Booth <neil@daikokuya.co.uk>
6730
6731 * config/m88k/m88k.h (SECTION_ASM_OP): Remove.
6732
b5e66e65
NB
67332002-07-23 Neil Booth <neil@daikokuya.co.uk>
6734
6735 * vmsdbgout.c (SECTION_ASM_OP): Remove.
6736
c3a600c0
NB
67372002-07-23 Neil Booth <neil@daikokuya.co.uk>
6738
6739 * config/i386/i386.c (AT_BP): Remove.
6740
4fa31c2a
NB
67412002-07-23 Neil Booth <neil@daikokuya.co.uk>
6742
6743 * defaults.h (obstack_chunk_alloc, obstack_chunk_free):
6744 Default definition.
6745 * gcse.c: Don't define obstack_chunk_free.
6746 * collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
6747 flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
6748 integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
6749 reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
6750 Don't define obstack macros.
6751
fd576c86
SC
67522002-07-22 Stephane Carrez <stcarrez@nerim.fr>
6753
6754 PR target/6744
6755 * config/m68hc11/m68hc11.c (m68hc11_z_replacement): Also replace
6756 ASM_OPERANDS instructions.
6757
b791ff31
SC
67582002-07-22 Stephane Carrez <stcarrez@nerim.fr>
6759
6760 PR target/7361
6761 * config/m68hc11/m68hc11.c (go_if_legitimate_address_internal): Accept
6762 constant addresses only on 68HC12.
6763
4a941115
NB
67642002-07-22 Neil Booth <neil@daikokuya.co.uk>
6765
6766 * cppfiles.c (stack_include_file): Correct test of whether
6767 a dependency should be output.
6768
7488cc6d
DE
67692002-07-22 David Edelsohn <edelsohn@gnu.org>
6770
6771 * collect2.c (is_ctor_dtor): Add other possible JOINER values.
6772
b41caf7c
RE
67732002-07-22 Richard Earnshaw <rearnsha@arm.com>
6774
6775 * arm.md (movqi): If optimizing and we can create pseudos, use
6776 a ZERO_EXTEND to load from memory, then copy the result into the
6777 target.
6778 (movhi): Likewise, but only for ARMv4.
6779
492e9934
NB
67802002-07-22 Neil Booth <neil@daikokuya.co.uk>
6781
6782 * ssa-ccp.c (PHI_PARMS): Remove.
6783
f01f01a6
RS
67842002-07-22 Richard Sandiford <rsandifo@redhat.com>
6785
6786 * config/mips/mips.h (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS
6787 on big-endian targets.
6788
c2ae8aef
KG
67892002-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6790
6791 * hwint.h (HOST_WIDE_INT_PRINT_DEC_SPACE,
6792 HOST_WIDE_INT_PRINT_UNSIGNED_SPACE,
6793 HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE):
6794 New formatting macros.
6795
6796 * ra-debug.c (dump_static_insn_cost): Avoid string concatenation.
6797
eab2120d
R
6798Mon Jul 22 15:27:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
6799
6800 * rtlanal.c (subreg_regno_offset): Return correct offset for
6801 big endian paradoxical subregs.
0d541696
R
6802
6803 * optabs.c (expand_vector_unop): Don't expand using sub_optab
6804 if we got the wrong mode.
bb9b3805
R
6805
6806 * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define.
6807 * genrecog.c (write_switch, write_cond): Use it.
6808 * genemit.c (gen_exp): Likewise.
6809
e96eb215
JJ
68102002-07-22 Jakub Jelinek <jakub@redhat.com>
6811
6812 * c-decl.c (build_compound_literal): Set decl TREE_READONLY from TYPE.
6813
cf3c4f56
JJ
68142002-07-22 Jakub Jelinek <jakub@redhat.com>
6815
6816 * c-decl.c (build_compound_literal): Defer compound literal decls
6817 until until file end to emit them only if they are actually used.
6818
533c4863
KG
68192002-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6820
6821 * ra-build.c (check_conflict_numbers): Hide unused function.
6822 (livethrough_conflicts_bb): Avoid automatic aggregate
6823 initialization.
6824 (parts_to_webs_1): Avoid `U' integer constant modifier.
6825 (conflicts_between_webs): Wrap a variable in the macro controlling
6826 its usage.
6827 * ra-debug.c (ra_debug_msg): Use VA_OPEN/VA_CLOSE.
6828 (dump_igraph, dump_graph_cost): Avoid string concatenation
6829 (dump_static_insn_cost): Avoid automatic aggregate
6830 initialization.
6831 * ra-rewrite.c (insert_stores): Avoid automatic aggregate
6832 initialization.
6833 (dump_cost): Avoid string concatenation
6834
8943a0b4
RH
68352002-07-21 Richard Henderson <rth@redhat.com>
6836
6837 * expr.c (expand_expr) [TRY_FINALLY_EXPR]: Don't use
6838 GOTO_SUBROUTINE_EXPR when finally_block can be re-expanded.
6839
b1aef35b
RH
68402002-07-21 Richard Henderson <rth@redhat.com>
6841
6842 * unroll.c (find_splittable_givs): Do not split DEST_ADDR givs
6843 that are not unrolled completely.
6844
5e1afb11
RH
68452002-07-21 Richard Henderson <rth@redhat.com>
6846
6847 * loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
6848 * loop.c (strength_reduce): Update.
6849 * toplev.c (rest_of_compilation): Do unrolling in the first
6850 loop pass, not the second.
6851
c67a1cf6
RH
68522002-07-21 Richard Henderson <rth@redhat.com>
6853
6854 * emit-rtl.c (set_mem_attributes): Preserve indirection of PARM_DECL
6855 when flag_argument_noalias == 2.
6856 * alias.c (nonoverlapping_memrefs_p): Handle that.
6857 * print-rtl.c (print_mem_expr): Likewise.
6858
b68daef4
HS
68592002-07-21 Hartmut Schirmer <hartmut.schirmer@arcor.de>
6860
6861 * libgcc2.c (__divdi3, __moddi3): Use unary minus operator
6862 instead of __negdi2 directly.
6863
060a58c5
NB
68642002-07-21 Neil Booth <neil@daikokuya.co.uk>
6865
6866 * gengenrtl.c (gencode): Don't define obstack_alloc_rtx.
6867 * function.c (SYMBOL__MAIN): Remove definition.
6868 * global.c (SET_CONFLICT, REGBITP, ALLOCNO_LIVE_P): Remove.
99086d59 6869 * predict.c (PROB_NEVER, PROB_LIKELY, PROB_UNLIKELY): Remove.
060a58c5
NB
6870 * profile.c (GCOV_INDEX_TO_BB): Remove.
6871 * sched-rgn.c (ABS_VALUE, MIN_DIFF_PRIORITY, MIN_PROB_DIFF): Remove.
6872 * simplify-rtx.c (FIXED_BASE_PLUS_P): Remove.
6873
2f8dd115
NB
68742002-07-21 Neil Booth <neil@daikokuya.co.uk>
6875
6876 * c-lex.c (GET_ENVIRONMENT): Remove.
6877 * collect2.c (GET_ENV_PATH_LIST): Remove.
6878 (prefix_from_env): Use GET_ENVIRONMENT.
6879 * cppinit.c (GET_ENV_PATH_LIST): Remove.
6880 (init_standard_includes): Use GET_ENVIRONMENT.
6881 * defaults.h (GET_ENVIRONMENT): Define here if not already.
6882 * gcc.c (GET_ENV_PATH_LIST): Remove.
6883 (make_relative_prefix, process_command): Update.
6884 * protoize.c (GET_ENV_PATH_LIST): Remove.
6885 (do_processing): Update.
6886
56508306
GDR
68872002-07-21 Gabriel Dos Reis <gdr@nerim.net>
6888
6889 * c-decl.c (build_array_declarator): Say 'ISO C90', not 'ISO C89'.
6890 (grokdeclarator): Likewise.
6891 * c-format.c (C_STD_NAME): Likewise.
6892 * c-lex.c (interpret_integer): Likewise.
6893 * c-typeck.c (build_array_ref): Likewise.
6894 * cpplex.c (_cpp_lex_direct): Likewise.
6895 * toplev.c (documented_lang_options): Likewise.
6896
e2f62855
NB
68972002-07-21 Neil Booth <neil@daikokuya.co.uk>
6898
6899 * c-format.c (T99_I, T99_UI): Remove.
6900
c89d1dfd
NB
69012002-07-21 Neil Booth <neil@daikokuya.co.uk>
6902
6903 * c-typeck.c (SAVE_SPELLING_DEPTH): Remove.
6904
46690369
JH
6905Sun Jul 21 21:36:41 CEST 2002 Jan Hubicka <jh@suse.cz>
6906
6907 * gcse.c (do_local_cprop): Do not extend lifetimes of registers set by
6908 do_local_cprop.
6909
60ffc1b8
AJ
69102002-07-21 Andreas Jaeger <aj@suse.de>
6911
99086d59 6912 * reload1.c (fixup_abnormal_edges): Remove unused variable.
60ffc1b8 6913
c05ffc49
BS
69142002-07-21 Bernd Schmidt <bernds@redhat.com>
6915
6916 Improvements for the ifcvt pass from Michael Meissner, with patches
6917 by Richard Sandiford <rsandifo@redhat.com>
6918 * basic-block.h (struct ce_if_block, ce_if_block_t): New types.
6919 * ifcvt.c (cond_exec_changed_p): New static variable.
6920 (last_active_insn): New function, renamed from last_active_insn_p
6921 and changed to return the last active insn in a basic block. All
6922 callers updated.
6923 (block_fallthru): New function.
6924 (cond_exec_process_insns): New argument CE_INFO. Pass it to
6925 IFCVT_MODIFY_INSN. All callers updated.
6926 Return false if START or END are NULL.
6927 Handle case where we're processing an insn that is already
6928 conditional.
6929
6930 (noce_process_if_block): CE_INFO argument rather than
6931 multiple args containing the involved basic blocks. All callers
6932 changed.
6933 (process_if_block, merge_if_block, find_if_block,
6934 cond_exec_process_if_block): Likewise.
6935
6936 (cond_exec_process_if_block): New arg DO_MULTIPLE_P. All callers
6937 changed.
6938 Use new function last_active_insn to simplify some code.
6939 New code to handle multiple tests.
6940 Call IFCVT_MODIFY_CANCEL in all failure cases, otherwise set
6941 cond_exec_changed_p to TRUE.
6942
6943 (process_if_block): New code to handle multiple tests.
6944 (merge_if_block): Likewise.
6945 (find_if_header): New arg PASS. Changed to return the currently
6946 processed basic block or NULL instead of true/false. All callers
6947 changed.
6948 Call IFCVT_INIT_EXTRA_FIELDS.
6949 (block_jumps_and_fallthru_p): New function.
6950 (find_if_block): Discover opportunities to convert multiple tests.
6951 Add additional debugging output.
6952 Update the ce_info structure before returning.
6953
6954 (if_convert): Run multiple passes of if-conversion.
6955 * doc/tm.texi (IFCVT_MODIFY_TESTS, IFCVT_MODIFY_INSN,
6956 IFCVT_MODIFY_FINAL, IFCVT_MODIFY_CANCEL, IFCVT_MODIFY_MULTIPLE_TESTS,
6957 IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Update documentation for
6958 these macros.
6959
ae860ff7
JH
6960Sun Jul 21 00:54:54 CEST 2002 Jan Hubicka <jh@suse.cz>
6961
6962 * gcse.c: Include cselib.h
6963 (constptop_register): Break out from ...
6964 (cprop_insn): ... here; kill basic_block argument.
6965 (do_local_cprop, local_cprop_pass): New functions.
6966 (one_cprop_pass): Call local_cprop_pass.
6967
0da65b89
RS
69682002-07-20 Roger Sayle <roger@eyesopen.com>
6969
6970 * simplify-rtx.c (simplify_relational_operation): Optimize
6971 abs(x) < 0.0 (and abs(x) >= 0.0 when using -ffast-math).
6972
47cc673a
MM
69732002-07-20 Michae Matz <matz@suse.de>
6974
6975 * ra-build.c: (remember_web_was_spilled): Use GENERAL_REGS.
6976
68e65275
NB
69772002-07-20 Neil Booth <neil@daikokuya.co.uk>
6978
6979 * cppexp.c (struct op): Add token pointer.
6980 (check_promotion, CHECK_PROMOTION): New.
6981 (optab): Update.
6982 (_cpp_parse_expr): Update, use token pointer of struct op.
6983 (reduce): Warn about change of sign owing to promotion.
6984 * cppinit.c (cpp_handle_option): New warning if -Wall.
6985 * cpplib.h (struct cpp_options): New member.
6986
e3485bbc
DE
69872002-07-19 David Edelsohn <edelsohn@gnu.org>
6988
6989 * config/rs6000/rs6000.md: Remove ppc630 fpcompare from single
6990 fpu list. Separate Power4 compare and delayed_compare. Correct
6991 Power4 fpcompare.
6992 (fix_truncdfsi2_internal): Restore FPR preference.
6993 * config/rs6000/t-aix43 (MULTILIB_MATCHES): Add mcpu?power3,
6994 mcpu?power4, mcpu?604e. Remove mpower, mpower2, mpowerpc.
6995
449655a6
MV
69962002-07-19 Momchil Velikov <velco@fadata.bg>
6997
6998 * reload1.c (reload_as_needed): Duplicate oldpat.
6999
8b583747
AM
70002002-07-20 Alan Modra <amodra@bigpond.net.au>
7001
7002 PR optimization/7130
7003 * loop.h (struct loop_info): Add "preconditioned".
7004 * unroll.c (unroll_loop): Set it.
7005 * doloop.c (doloop_modify_runtime): Correct count for unrolled loops.
7006
0dc36574
ZW
70072002-07-19 Zack Weinberg <zack@codesourcery.com>
7008
7009 * rtl.def (CODE_LABEL): Remove slot 8.
7010 * rtl.h (struct rtx_def): Document new uses of jump and call fields.
7011 (LABEL_ALTERNATE_NAME): Delete.
7012 (LABEL_KIND, SET_LABEL_KIND, LABEL_ALT_ENTRY_P): New.
7013 * defaults.h: Remove default for ASM_OUTPUT_ALTERNATE_LABEL_NAME.
7014
7015 * final.c (output_alternate_entry_point): New.
7016 (final_scan_insn): Use it instead of
7017 ASM_OUTPUT_ALTERNATE_LABEL_NAME. Do not consider possibility
7018 of a case label being an alternate entry point.
7019
7020 * cfgbuild.c (make_edges, find_bb_boundaries): Use LABEL_ALT_ENTRY_P.
7021 * emit-rtl.c (gen_label_rtx): Adjust call to gen_rtx_CODE_LABEL.
7022 Do not clear LABEL_NUSES (unnecessary) or LABEL_ALTERNATE_NAME
7023 (field deleted).
7024 * print-rtl.c, ra-debug.c: Update code to output CODE_LABELs.
7025
7026 * doc/rtl.texi: Document LABEL_KIND, SET_LABEL_KIND, and
7027 LABEL_ALT_ENTRY_P; not LABEL_ALTERNATE_NAME.
7028 * doc/tm.texi: Delete documentation of
7029 ASM_OUTPUT_ALTERNATE_LABEL_NAME.
7030
59267987
RO
70312002-07-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7032
7033 * config/mips/iris5gas.h (DWARF2_DEBUGGING_INFO): Define.
7034 (PREFERRED_DEBUGGING_TYPE): Use DWARF2_DEBUG.
7035 (LINK_SPEC): Define.
7036 (STARTFILE_SPEC): Define.
7037 (ENDFILE_SPEC): Define.
7038
7039 * config/mips/iris6-o32.h (LINK_SPEC): Move ...
7040 * config/mips/iris6-o32-as.h (LINK_SPEC): ... here.
7041
7042 * config/mips/iris6-o32-gas.h: New file.
7043 * config.gcc (mips-sgi-irix6*o32): Use it.
7044
7045 * config/mips/t-iris5-gas: New file.
7046 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
7047
75aef48a
NB
70482002-07-19 Neil Booth <neil@daikokuya.co.uk>
7049
7050 * cppexp.c (ALWAYS_EVAL): Remove.
7051 (optab, reduce): Always evaluate.
7052 (num_unary_op, num_binary_op, num_div_op): Issue diagnostics
7053 only if not skipping evaluation.
7054
72a5503d
MM
70552002-07-19 Marek Michalkiewicz <marekm@amelek.gda.pl>
7056
7057 * config/avr/avr.c (debug_hard_reg_set): Remove.
7058
059ba716
CD
70592002-07-19 Chris Demetriou <cgd@broadcom.com>
7060
7061 * gcc.c (cpp_options): Include "%1" (cc1_spec).
7062
544823b6
RH
70632002-07-19 Richard Henderson <rth@redhat.com>
7064
7065 * loop.c (loop_givs_rescan): Delete the REG_EQUAL note, not the insn.
7066
c35383cb
AM
70672002-07-19 Alan Modra <amodra@bigpond.net.au>
7068
7069 * prefix.c (update_path): Don't zap single `.' path components
7070 unless followed by another `.' and fix typo last patch.
7071
ad28cff7
NB
70722002-07-18 Neil Booth <neil@daikokuya.co.uk>
7073
7074 * cppexp.c (cpp_num_mul): Remove unused parameter.
7075 (UNARY, BINARY, OTHER, binary_handler): Remove.
7076 (ALWAYS_EVAL): New.
7077 (optab): Update.
7078 (reduce): Refactor to a large switch, don't use a function
7079 pointer.
7080
139b7f86
BT
70812002-07-18 Bo Thorsen <bo@berlioz.suse.de>
7082
7083 * config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Define this always.
7084
e69d1422
R
7085Thu Jul 18 19:39:18 2002 J"orn Rennecke <joern.rennecke@superh.com>
7086
7087 * sh-protos.h (sh_expand_unop_v2sf): Move inside #ifdef RTX_CODE guard.
7088 (sh_expand_binop_v2sf): Likewise.
7089 * sh.c (machine_dependent_reorg): Add move for UNSPEC_MOVA.
7090 (int_gpr_dest, trunc_hi_operand): New functions.
7091 * sh.h (PREDICATE_CODES): Add any_register_operand, int_gpr_dest and
7092 trunc_hi_operand.
7093 (SPECIAL_MODE_PREDICATES, any_register_operand): Define.
7094 * sh.md (cmpeqdi_t+1): Remove comments that genrecog warns about.
7095 (adddi3_compact+1, subdi3_compact+1, ashlsi3_n+1, ashlhi3+1): Likewise.
7096 (ashrsi2_16+1, ashrsi2_31+1, lshrsi3_n+1, ashrdi3+[12]): Likewise.
7097 (and_shl_scratch+[12], zero_extendhidi2+1): Likewise.
7098 (zero_extendhisi2_media+1, extendhidi2+1, extendqidi2+1): Likewise.
7099 (extendhisi2_media+1, extendqisi2_media+1): Likewise.
7100 (movsi_media_nofpu+[12], movhi_media+1, movdi_media_nofpu+1): Likewise.
7101 (movdi_const_16bit+[12], movdf_i4+[123], reload_outdf+[2-5]): Likewise.
7102 (movsf_ie+1): Likewise.
7103 (loaddi_trunc): Use int_gpr_dest predicate.
7104 (use_sfunc_addr, indirect_jump_scratch, sibcall_compact): Add mode(s).
7105 (mova, mova_const, GOTaddr2picreg, ptrel, casesi_worker_0): Likewise.
7106 (casesi_worker_0+[12], casesi_worker): Likewise.
7107 (shcompact_preserve_incoming_args): Likewise.
7108 (mov_nop): Use any_register_operand predicate.
7109 (mperm_w0): Use trunc_hi_operand predicate.
7110
47a4976f
JDA
71112002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
7112
7113 * pa-linux.h (DWARF2_UNWIND_INFO): Delete define.
7114 * pa.h (EH_RETURN_DATA_REGNO): Revise TARGET_64BIT and correct
7115 numbering.
7116
f3a4e54e
JDA
71172002-07-18 John David Anglin <dave@hiauly1.hia.nrc.ca>
7118
7119 * pa.c (output_deferred_plabels): Remove unused millicode enum mulU.
7120
30484ccf
RH
71212002-07-18 Richard Henderson <rth@redhat.com>
7122
7123 PR optimization/7147
7124 * ifcvt.c (noce_get_condition): Make certain that the condition
7125 is valid at JUMP.
7126
d042370e
R
7127Thu Jul 18 13:44:51 2002 J"orn Rennecke <joern.rennecke@superh.com>
7128
7129 * sh.c (barrier_align, push): Shut up compiler warnings.
7130 (initial_elimination_offset,sh_media_init_builtins): Likewise.
7131 (reg_no_subreg_operand): Delete.
7132
61fee9b3
BT
71332002-07-17 Bo Thorsen <bo@suse.de>
7134
7135 * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option.
7136 (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations.
7137 (STARTFILE_SPEC): Remove hardcoded library paths.
7138 (ENDFILE_SPEC): Likewise.
7139
f305679f
JH
7140Thu Jul 18 09:38:59 CEST 2002 Jan Hubicka <jh@suse.cz>
7141
7142 * gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.
7143
7144 * gcse.c (try_replace_reg): Do not return false positives.
7145
99bcb625
AM
71462002-07-18 Alan Modra <amodra@bigpond.net.au>
7147
f6f23ad2
AM
7148 * prefix.c: (update_path): Strip ".." components when prior dir
7149 doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE.
7150
99bcb625
AM
7151 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.
7152 (ASM_OUTPUT_REG_POP): Likewise.
7153
09eeeacb
AM
71542002-07-18 Alan Modra <amodra@bigpond.net.au>
7155
7156 * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus
7157 adjustments to first_reg for profiling case.
7158 (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC.
7159 Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC.
7160 Save static chain reg to sp + 12 on ABI_AIX_NODESC.
7161 * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define.
7162 (ASM_OUTPUT_REG_POP): Define.
7163 * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef.
7164 (ASM_OUTPUT_REG_POP): Undef.
7165
74d06cf2
NB
71662002-07-17 Neil Booth <neil@daikokuya.co.uk>
7167
7168 * cpplib.c (do_sccs): Handle #sccs on all systems.
7169 * system.h (SCCS_DIRECTIVE): Poison.
7170 * config/darwin.h, config/freebsd.h, config/netbsd.h,
7171 config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
7172 config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
7173 config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
7174 config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
7175 config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
7176 config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
7177 config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
7178 Remove all references to SCCS_DIRECTIVE.
7179 * doc/cpp.texi, doc/tm.texi: Update.
7180
61dde664
R
7181Wed Jul 17 19:23:32 2002 J"orn Rennecke <joern.rennecke@superh.com>
7182
7183 * regrename.c (maybe_mode_change): New function.
7184 (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it.
7185
97f51ac4
RB
71862002-07-17 Rodney Brown <rbrown64@csc.com.au>
7187
7188 * config/i386/i386.c (ix86_expand_int_movcc): In the general case
7189 suppress addition when either ct or cf are zero.
7190
f1a73cfe 71912002-06-17 Eric Botcazou <ebotcazou@multimania.com>
30484ccf 7192 Glen Nakamura <glen@imodulo.com>
f1a73cfe
EB
7193
7194 PR optimization/6713
7195 * loop.c (loop_givs_rescan): Explicitly delete the insn that
7196 sets a non-replaceable giv after issuing the new one.
7197
23ff0223
NB
71982002-07-17 Neil Booth <neil@daikokuya.co.uk>
7199
7200 * cppexp.c (cpp_interpret_integer, append_digit, parse_defined,
7201 eval_token): Clarify and correct use of "bool" variables.
7202 * cpplib.h (struct cpp_options): Similarly.
7203 * cppmacro.c (parse_params, _cpp_save_parameter): Ditto.
7204 * cpptrad.c (recursive_macro): Similarly.
7205
ac09192a
R
7206Wed Jul 17 17:08:06 2002 J"orn Rennecke <joern.rennecke@superh.com>
7207
d28586ab 7208 * config/sh/lib1funcs.asm (udivsi3_i4): Implement SHcompact version in
ac09192a 7209 SHmedia code.
68cef009
R
7210
7211 * sh.md (cmpgtudi_media): Remove spurious @.
701e3726
R
7212
7213 * config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.
7214 * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian.
ca903bba
R
7215
7216 * config/sh/lib1funcs.asm (init_trampoline): New entry point.
7217 * sh-protos.h (sh_initialize_trampoline): Declare.
7218 * sh.c (sh_initialize_trampoline): New function.
7219 * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32.
7220 (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA.
7221 (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline.
7222 (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact.
7223 * sh.md (initialize_trampoline, double_shori): New patterns.
7224 (initialize_trampoline_compact): Likewise.
7225 (shmedia32_initialize_trampoline_big): Remove.
7226 (shmedia32_initialize_trampoline_little): Likewise.
0ac78517
R
7227
7228 * sh-protos.h (binary_float_operator): Remove declaration.
7229 (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare.
7230 * sh.c (print_operand, case 'N'): Check against CONST0_RTX.
7231 (unary_float_operator, sh_expand_unop_v2sf): New functions.
7232 (sh_expand_binop_v2sf): Likewise.
7233 (zero_vec_operand): Delete.
7234 (SH_BLTIN_UDI): New builtin shared signature define. Renumbered
7235 all non-shared ones.
7236 (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI.
7237 Enable nsb and byterev.
7238 * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS.
7239 (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode
7240 in general regs.
7241 (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS.
7242 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for
7243 immediate operands.
7244 (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands.
7245 Add DF_HI_REGS.
7246 (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow
7247 lowpart fp regs - only for big endian for now.
da7d8304 7248 (LEGITIMATE_CONSTANT_P): Don't allow nonzero float vectors
0ac78517
R
7249 when FPU is in use.
7250 (EXTRA_CONTRAINT_U): Check against CONST0_RTX.
7251 (LOAD_EXTEND_OP): NIL for SImode.
7252 (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between
7253 general and fp registers is 4.
7254 PREDICATE_CODES: Amend binary_float_operator entry.
7255 Remove zero_vec_operand. Add unary_float_operator.
7256 * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical
7257 subreg SET_DEST.
7258 (truncdisi2, truncdihi2, movv2sf): Allow memory destinations.
7259 (truncdiqi2): Do sign extension.
7260 (movsi_media, movdi_media): Allow to use r63 to an fp register.
7261 (movdf_media, movsf_media): Likewise.
7262 (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS.
7263 Collapse to one define_insn_and_split. Allow immediate sources.
7264 (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns.
7265 (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg.
7266 (movv4sf): Allow immediate sources.
7267 (movsf_media_nofpu+1): Don't split moves to FP registers.
7268 (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns.
7269 (movv8qi_i+3): Check against CONST0_RTX.
7270 (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode
7271 for input and output operands. Fix argument 3 to gen_mextr_rl.
7272 (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/
7273 (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise.
7274 (mshf0_w, fipr, ftrv): Likewise.
7275 (mshfhi_l_di): Now insn_and_split. Can handle FP regs.
7276
e9d7b180
JD
72772002-07-17 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7278
7279 * arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from
7280 NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed.
7281 * arm.c: Similarly.
7282
8214bf98
RS
72832002-07-17 Richard Sandiford <rsandifo@redhat.com>
7284
7285 * config/mips/mips-protos.h (mips_sign_extend): Declare.
7286 * config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
7287 (TARGET_SWITCHES): Remove debugh.
7288 (ISA_HAS_TRUNC_W): New macro.
7289 (CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
7290 (PREDICATE_CODES): Remove se_nonimmediate_operand.
7291 * config/mips/mips.c (movdi_operand): Allow sign-extensions of
7292 any SImode move_operand.
7293 (se_nonimmediate_operand): Remove.
7294 (mips_sign_extend): New.
7295 (mips_move_2words): Use it for sign-extended source operands.
7296 (override_options): Allow integers to be put into single FPRs.
7297 (mips_secondary_reload_class): Handle integers in float registers.
7298 * config/mips/mips.md (extendsidi2): Turn into a define_expand.
7299 (fix_truncsfsi2, fix_truncdfsi2): Likewise.
7300 (fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
7301 (fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
7302 (fix_truncdfdi2): Provide only a single alternative, in which the
7303 integer is in a float register. Depend on TARGET_FLOAT64 rather
7304 than TARGET_64BIT.
7305 (fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
7306 (floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
7307 (movdi_internal2): Don't allow the source operand to be sign-extended.
7308 Add alternatives for float registers.
7309 (*movdi_internal2_extend): New. Version of movdi_internal2 that
7310 allows sign-extension.
7311 (*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
7312 (movsi_internal2): Rename to movsi_internal. Add alternatives for
7313 float registers. Remove TARGET_DEBUG_H_MODE test.
7314 (movhi_internal1): Rename to movhi_internal. Don't check
7315 TARGET_DEBUG_H_MODE. Fix transposed *d and *f source constraints.
7316 (movqi_internal1): Rename to movqi_internal and remove
7317 TARGET_DEBUG_H_MODE dependency.
7318 (movsi_internal1, movhi_internal2, movqi_internal2): Remove.
7319
7ab0121e
JW
73202002-07-16 Jim Wilson <wilson@redhat.com>
7321
7322 * toplev.c (lang_dependent_init): Create function context for
7323 init_expr_once.
7324
349ccf2e
HPN
73252002-07-16 Hans-Peter Nilsson <hp@axis.com>
7326
7327 * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
7328 --gc-sections if -r.
7329 * config/cris/cris.h: Ditto.
7330
06ec023f
RB
73312002-07-16 Rodney Brown <rbrown64@csc.com.au>
7332
7333 * config/i386/i386.c (ix86_expand_int_movcc): In the case where
7334 the comparison directly gives a mask suppress addition when cf is
7335 zero by complementing the mask.
7336
39cef914
NN
73372002-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
7338
7339 * Makefile.in: Delete references to enquire.
7340 * enquire.c: Move to contrib.
7341
92c1a778
SS
73422002-07-16 Stan Shebs <shebs@apple.com>
7343
2aa9948d
SS
7344 * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
7345 config/rs6000/darwin.h.
7346 (ASM_OUTPUT_SKIP): Ditto.
7347 (TEXT_SECTION_ASM_OP): Ditto.
7348 (DATA_SECTION_ASM_OP): Ditto.
7349 (ASM_APP_ON): Define.
7350 (ASM_APP_OFF): Define.
7351 * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
7352 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.
7353
7354 * config/darwin.c (func_name_maybe_scoped): Remove unused decl.
92c1a778
SS
7355 (machopic_function_base_name): Declare result to be const.
7356 (machopic_non_lazy_ptr_name): Ditto.
7357 (machopic_stub_name): Ditto.
2aa9948d 7358 * config/darwin-protos.h: Ditto for the prototypes.
92c1a778 7359
daaab00a
JH
7360Wed Jul 17 00:22:39 CEST 2002 Jan Hubicka <jh@suse.cz>
7361
7362 * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
7363
63c574cc
JH
7364Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
7365
7366 * i386.md (prefetch): Fix for 64bit mode.
7367 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7368
2a500b9e
JH
7369Wed Jul 17 00:19:20 CEST 2002 Jan Hubicka <jh@suse.cz>
7370
7371 * i386.h (MACHINE_DEPENDENT_REORG): New macro.
7372 * i386.c (x86_machine_dependent_reorg): New function.
7373 * i386-protos.h (x86_machine_dependent_reorg): Declare.
7374
e5faf155
ZW
73752002-07-16 Zack Weinberg <zack@codesourcery.com>
7376
7377 * builtins.c (std_expand_builtin_va_start): Remove unused
7378 first argument.
7379 (expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
7380 std_expand_builtin_va_start with just two arguments.
7381 * expr.h: Update prototypes.
7382
7383 * alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
7384 arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
7385 i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
7386 m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
7387 mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
7388 rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
7389 s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
7390 sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
7391 xtensa-protos.h, xtensa.h, xtensa.c: Remove unused first
7392 argument from all implementations of EXPAND_BUILTIN_VA_START
7393 and all uses of std_expand_builtin_va_start.
7394
dbf65c2f
R
7395Tue Jul 16 19:32:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
7396
7397 * regrename.c (copy_value): Don't record high part copies.
7398
6acb6d3e 73992002-07-16 Steve Ellcey <sje@cup.hp.com>
99b823ca 7400
6acb6d3e
SE
7401 * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
7402 (fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
7403 * gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.
7404
5d7c2819
ID
74052002-07-16 Ian Dall <ian@sibyl.beware.dropbear.id.au>
7406
7407 * doc/invoke.texi (NS32K Options): Document -mieee-compare option
7408
7409 * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
7410 into addsi3 using register class "x" and "y".
7411
7412 * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
7413 "earlyclobber" constraint modifier for some alternative.
e5faf155 7414
5d7c2819
ID
7415 * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
7416 (*ble, *blt): Flag to indicate bCOND and sCOND should check for
7417 unordered.
7418 config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.
7419
7420 * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
7421 (TARGET_SWITCHES): Add -mieee-compare option.
7422 (OVERRIDE_OPTIONS): 32332 is a subset of
7423 32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
43a88a8c 7424 (TARGET_SWITCHES): Fix description of bit-field option.
5d7c2819
ID
7425 * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
7426 -mieee-compare option. Remove 32332 flag.
7427
5da4f548 74282002-07-16 Steve Ellcey <sje@cup.hp.com>
5d7c2819
ID
7429
7430 * explow.c (convert_memory_address): Remove special handling
5da4f548 7431 when POINTERS_EXTEND_UNSIGNED < 0.
5d7c2819 7432 * config/ia64.md (movsi_symbolic): New instruction for ILP32 mode.
5da4f548
SE
7433 (movedi_symbolic): Fix typo.
7434 (load_fptr): Remove mode restriction so it works for SI and DI.
7435 (load_fptr_internal1): Ditto.
7436 (load_gprel): Ditto.
7437 (load_symptr_internal1): Ditto.
7438 (call_pic): Ditto.
5d7c2819 7439 * config/ia64.c (call_operand): Modify mode check.
5da4f548
SE
7440 (ia64_expand_load_address): Handle DI and SI addresses and symbols.
7441 (ia64_expand_move): Ditto.
7442 (ia64_assemble_integer): Handle SImode function pointers.
7443 (ia64_expand_fetch_and_op): Handle SImode mem addresses.
7444 (ia64_expand_op_and_fetch): Ditto.
7445 (ia64_expand_compare_and_swap): Ditto.
7446 (ia64_expand_lock_test_and_set): Ditto.
7447 (ia64_expand_lock_release): Ditto.
7448
1575c31e
JD
74492002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7450
7451 * arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.
7452
74532002-07-16 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
7454 Richard Earnshaw <rearnsha@arm.com>
7455
e5faf155 7456 * arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
1575c31e
JD
7457 CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF. Simplify logic.
7458
3894f59e
RE
74592002-07-16 Richard Earnshaw <rearnsha@arm.com>
7460
7461 * arm.md (stack_tie): New insn. Use an idiom that the alias code
7462 understands to be a memory clobber.
7463 * arm.c (arm_expand_prologue): Use it.
7464
e0b89be2 74652002-07-16 Daniel Berlin <dberlin@dberlin.org>
54b2a7f8
DB
7466
7467 * ra-rewrite.c: #include reload.h, insn-config.h
7468 * ra-build.c: #include reload.h
7469 * Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
e5faf155 7470 depend on reload.h, insn-config.h.
54b2a7f8 7471
cffa2189
R
7472Tue Jul 16 11:57:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
7473
7474 * expr.c (emit_move_insn_1): Handle arbitrary moves that are
7475 the same size as a word.
7476
7477 * regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
7478 BYTES_BIG_ENDIAN into account.
7479
052c96b1
JH
7480Tue Jul 16 12:22:44 CEST 2002 Jan Hubicka <jh@suse.cz>
7481
7482 * i386.md (prefetch): Fix for 64bit mode.
7483 (prefetch_sse_rex, prefetch_3dnow_rex): New patterns.
7484
7485 * i386.md (movss, movsd): Use xorps/xorpd for Athlon.
7486
ae32926b
MM
74872002-07-16 Marek Michalkiewicz <marekm@amelek.gda.pl>
7488
7489 * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
7490
6c535c69
ZW
74912002-07-15 Zack Weinberg <zack@codesourcery.com>
7492
7493 * ginclude/varargs.h: Replace with stub which issues #error.
7494 * ginclude/stdarg.h: __builtin_stdarg_start is renamed
7495 __builtin_va_start.
7496
7497 * builtins.def (BUILT_IN_VARARGS_START): Delete.
7498 (BUILT_IN_VA_START): New.
7499 * builtins.c (expand_builtin_va_start): Eliminate first
7500 argument and code to implement pre-ISO varargs.
7501 (std_expand_builtin_va_start): Ignore first argument; it is
7502 always 1.
7503 (expand_builtin): Handle BUILT_IN_VA_START and
7504 BUILT_IN_STDARG_START identically. Delete
7505 BUILT_IN_VARARGS_START case.
7506
7507 * function.c (assign_parms): Delete hide_last_arg and all
7508 its uses.
7509 (mark_varargs): Delete function.
7510 * function.h (struct function): Delete 'varargs' bit.
7511 (current_function_varargs): Delete macro.
7512 * tree.h: Don't declare mark_varargs.
7513
7514 * c-decl.c (c_function_varargs, c_mark_varargs): Delete.
7515 (c_expand_body): Don't call mark_varargs.
7516 * c-objc-common.c: Handle BUILT_IN_VA_START and
7517 BUILT_IN_STDARG_START identically. Delete
7518 BUILT_IN_VARARGS_START case.
7519 * c-tree.h: Don't declare c_mark_varargs.
7520 * c-parse.in: Remove grammar rules for '&...' (which has been
7521 commented out since before 2.7.2) and for '...' in K+R
7522 argument declarations.
7523
7524 * builtins.c, function.c, integrate.c, sibcall.c,
7525 config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
7526 config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
7527 config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
7528 config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
7529 config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
7530 config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
7531 config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
7532 config/stormy16/stormy16.c: Delete all references to
7533 current_function_varargs, and code predicated on that flag.
7534
7535 * config/alpha/alpha.c (alpha_va_start),
7536 config/arc/arc.c (arc_va_start),
7537 config/i386/i386.c (ix86_va_start),
7538 config/mips/mips.c (mips_va_start),
7539 config/mn10300/mn10300.c (mn10300_va_start),
7540 config/rs6000/rs6000.c (rs6000_va_start),
7541 config/s390/s390.c (s390_va_start),
7542 config/sh/sh.c (sh_va_start),
7543 Ignore first argument; it is always 1.
7544
7545 * config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
7546 * config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
7547 * config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
7548 Delete m68hc11_va_start.
7549 * config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
7550 No need to define EXPAND_BUILTIN_VA_START.
7551
7552 * doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
7553 doc/trouble.texi: Remove references to GCC-provided <varargs.h>.
7554
6d80a854
EB
75552002-07-15 Eric Botcazou <ebotcazou@multimania.com>
7556
7557 PR optimization/7153
7558 * regmove.c (optimize_reg_copy_3): Don't optimize if the register
7559 dies in more than one insn.
7560
043cfcbe
JT
75612002-07-15 Jason Thorpe <thorpej@wasabisystems.com>
7562
7563 * config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
7564
ed8d2920 75652002-07-15 Michael Matz <matz@suse.de>,
6c535c69 7566 Daniel Berlin <dberlin@dberlin.org>,
ed8d2920
MM
7567 Denis Chertykov <denisc@overta.ru>
7568
7569 Add a new register allocator.
7570
7571 * ra.c: New file.
7572 * ra.h: New file.
7573 * ra-build.c: New file.
7574 * ra-colorize.c: New file.
7575 * ra-debug.c: New file.
7576 * ra-rewrite.c: New file.
7577
7578 * Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
7579 (ra-rewrite.o): New .o files for libbackend.a.
7580 (GTFILES): Add basic-block.h.
7581
7582 * toplev.c (flag_new_regalloc): New.
7583 (f_options): New option "new-ra".
7584 (rest_of_compilation): Call initialize_uninitialized_subregs()
7585 only for the old allocator. If flag_new_regalloc is set, call
7586 new allocator, instead of local_alloc(), global_alloc() and
7587 friends.
7588
7589 * doc/invoke.texi: Document -fnew-ra.
7590 * basic-block.h (FOR_ALL_BB): New.
7591 * config/rs6000/rs6000.c (print_operand): Write small constants
7592 as @l+80.
7593
7594 * df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
7595 (df_reg_table_realloc): Make size at least as large as max_reg_num().
7596 (df_insn_table_realloc): Size argument now is absolute, not relative.
7597 Changed all callers.
7598
7599 * gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
7600 * regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
7601
7602 2002-06-20 Michael Matz <matz@suse.de>
7603
7604 * df.h (struct ref.id): Make unsigned.
7605 * df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
7606
7607 2002-06-13 Michael Matz <matz@suse.de>
7608
7609 * df.h (DF_REF_MODE_CHANGE): New flag.
7610 * df.c (df_def_record_1, df_uses_record): Set this flag for refs
7611 involving subregs with invalid mode changes, when
7612 CLASS_CANNOT_CHANGE_MODE is defined.
7613
7614 2002-05-07 Michael Matz <matz@suse.de>
7615
7616 * reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
7617
7618 2002-05-03 Michael Matz <matz@suse.de>
7619
7620 * sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
7621
7622 Sat Feb 2 18:58:07 2002 Denis Chertykov <denisc@overta.ru>
7623
7624 * regclass.c (regclass): Work with all regs which have sets or
7625 refs.
7626 (reg_scan_mark_refs): Count regs inside (clobber ...).
7627
7628 2002-01-04 Michael Matz <matzmich@cs.tu-berlin.de>
7629
7630 * df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
7631 (df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
7632 add new refs.
7633 (df_bb_refs_update): Don't clear insns_modified here, ...
7634 (df_analyse): ... but here.
7635
7636 * sbitmap.c (dump_sbitmap_file): New.
7637 (debug_sbitmap): Use it.
7638
7639 * sbitmap.h (dump_sbitmap_file): Add prototype.
7640
7641 2001-08-07 Daniel Berlin <dan@cgsoftware.com>
7642
7643 * df.c (df_insn_modify): Grow the UID table if necessary, rather
7644 than assume all emits go through df_insns_modify.
7645
7646 2001-07-26 Daniel Berlin <dan@cgsoftware.com>
7647
7648 * regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
7649 increase REG_N_REFS (like flow does), so that regclass doesn't
7650 think a reg is useless, and thus, not calculate a class, when it
7651 really should have.
7652
7653 2001-01-28 Daniel Berlin <dberlin@redhat.com>
7654
7655 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
7656 dataflow analysis.
7657
794a292d
JJ
76582002-07-15 Jakub Jelinek <jakub@redhat.com>
7659
7660 PR middle-end/7245
7661 * config/i386/i386.c (const_int_1_31_operand): New.
7662 * config/i386/i386.h (PREDICATE_CODES): Add it.
7663 * config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
7664 ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
7665 lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.
7666
05d49501
AM
76672002-07-14 Alan Modra <amodra@bigpond.net.au>
7668
7669 PR target/7282
7670 * config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
7671 (floatunssidf2): Likewise.
7672 (floatsidf_ppc64): New insn_and_split.
7673 (floatunssidf_ppc64): Likewise.
7674
e89617fe
AJ
76752002-07-14 Andreas Jaeger <aj@suse.de>
7676
7677 * config.gcc (sh64): Remove unused
7678 target_requires_64bit_host_wide_int.
7679
78762e3b
RS
76802002-07-12 Roger Sayle <roger@eyesopen.com>
7681
7682 * expr.c [CLEAR_RATIO]: New macro defining the maximum number
7683 of move instructions to use when clearing memory, c.f. MOVE_RATIO.
7684 [CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
7685 whether clear_by_pieces should be used to clear storage.
7686 (clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.
7687
7688 * doc/tm.texi: Document these two new target macros.
7689
f7a454e9
SC
76902002-07-12 Stephane Carrez <stcarrez@nerim.fr>
7691
7692 * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
7693 the scratch register.
7694 ("*movhi2_push"): Accept Z_REG because a split pattern can make use
7695 of it, forbid reload to use it.
7696
26af4041
MM
76972002-07-12 Marek Michalkiewicz <marekm@amelek.gda.pl>
7698
7699 * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
7700 usage on 64-bit hosts, return value was truncated to 32 bits.
7701
226cfe61
R
7702Fri Jul 12 00:49:36 2002 J"orn Rennecke <joern.rennecke@superh.com>
7703
7704 * simplify-rtx.c (simplify_subreg): Handle floating point
7705 CONST_DOUBLEs. When an integer subreg of a smaller mode than
7706 the element mode is requested, compute a subreg with an
7707 integer mode of the same size as the element mode first.
7708
25c25947
R
7709Thu Jul 11 22:02:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7710
7711 * combine.c (try_combine): When converting a paradoxical subreg
7712 to an extension, take LOAD_EXTEND_OP into account.
7713
789b7de5
RO
77142002-07-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7715
7716 * config.gcc (mips-sgi-irix6*o32): New configuration.
7717
7718 * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
7719 configurations.
7720 * configure: Regenerate.
7721
7722 * config/mips/iris6-o32-as.h: New file.
7723 * config/mips/iris6-o32.h: New file.
e89617fe 7724
789b7de5
RO
7725 * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
7726 (NM_FLAGS): Define.
7727 (HAVE_AS_SHF_MERGE): Undefine.
7728
7729 * config/mips/t-iris5-as: New file.
7730 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.
7731
7732 * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
7733 SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
7734 SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
7735 dp-bit.c, fp-bit.c): Move ...
7736 * config/mips/t-iris5-6: ... here.
7737 New file, shared by IRIX 5 and IRIX 6.
7738 * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
7739 mips-sgi-irix5*): Use it.
7740
7741 * config/mips/iris6.h: Remove duplicate comment.
7742
7743 * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
7744 !TARGET_IRIX6]: Define.
7745 (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.
7746
7747 * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.
7748
a18c2c5f
JDA
77492002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7750
7751 * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
7752 and delete code to force constant to register.
7753 * pa-protos.h (adddi3_operand): Add prototype.
7754 * pa.c (adddi3_operand): New function.
7755
e65a2d65
RS
77562002-07-11 Roger Sayle <roger@eyesopen.com>
7757
7758 * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
7759 non-ANSI builtin functions.
7760
a06e3c40
R
7761Thu Jul 11 11:31:12 2002 J"orn Rennecke <joern.rennecke@superh.com>
7762
7763 * rtl.h (gen_rtx_CONST_VECTOR): Declare.
7764 * gengenrtl.c (special_rtx): Check for CONST_VECTOR.
7765 * emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
7766 (gen_const_vector_0): Use it.
7767
47abc309
JDA
77682002-07-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
7769
7770 * pa.md (adddi3): For 32-bit targets, force constants to a register
7771 if they don't fit in an 11-bit immediate. Change insn predicate to
7772 arith11_operand. Remove comment.
7773 * pa.c (cint_ok_for_move): Fix comment.
7774 (emit_move_sequence): Don't directly split DImode constants on 32-bit
7775 targets.
7776
8ac9d31f
TJ
77772002-07-11 Tim Josling <tej@melbpc.org.au>
7778
e89617fe 7779 Remove front end hard coding from gengtype.c.
8ac9d31f
TJ
7780
7781 * Makefile.in
7782 (STAGESTUFF): add gtyp-gen.h
7783 (GTFILES): Remove front end specific files.
7784 (GTFILES_FILES_LANGS): New, from configure..
7785 (GTFILES_FILES_FILES): Likewise.
7786 (GTFILES_LANG_DIR_NAMES): Likewise.
7787 (GTFILES_SRCDIR): Likewise.
7788 (gtyp-gen.h): Build from configure information.
7789 (s-gtype): Remove command line parameters from gengtype.
7790 (gengtype.o): Remove dependency on GTFILES. Depend on gtyp-gen.h.
7791 (mostlyclean): Delete files generated by and for gengtype.
7792
7793 * c-config-lang.in: New file.
7794
7795 * configure.in (all_gtfiles_files_langs): New. Accumulate files
7796 for each language.
7797 (all_gtfiles_files_files): New. Accumulate language for each file
7798 accumulated.
7799 (gtfiles): Pick up value for C.
7800 (srcdir): AC-SUBST this variable.
7801 (all_gtfiles_files_langs): AC-SUBST this variable.
7802 (all_gtfiles_files_files): AC-SUBST this variable.
e89617fe 7803
8ac9d31f 7804 * configure: Regenerate.
e89617fe 7805
8ac9d31f
TJ
7806 * gengtype-lex.l (parse_file): Make parameter const.
7807
7808 * gengtype.c (toplevel): include gtyp-gen.h.
7809 (BASE_FILE_<language> unnamed enum): Delete.
7810 (lang_names): Delete (replaced by gtyp-gen.h)
7811 (lang_dir_names): From gtyp-gen.h, replaces lang_names; changed
7812 all references.
7813 (NUM_GT_FILES): New.
7814 (NUM_LANG_FILES): New.
7815 (srcdir_len): New.
7816 (NUM_BASE_FILES): Change calculation.
7817 (open_base_files): Change prototype to avoid warning.
7818 (startswith): Delete.
7819 (get_file_basename): Iterate through generated language list not
7820 hard coded list.
7821 (get_base_file_bitmap): Use generated list of files and languages.
7822 (close_output_files): Add prototype to rmove warning.
7823 (main): Iterate through list of generated files from gtyp-gen.h
7824 rather than command line paramaters. Ignore duplicated file
e89617fe 7825 names.
8ac9d31f
TJ
7826
7827 * gengtype.h (parse_file): Amend prototype for const parameter.
e89617fe 7828
8ac9d31f
TJ
7829 * doc/sourcebuild.texi: Document gtfiles variable.
7830
7831 * doc/gty.texi: Document changes to gtfiles variable for front
7832 ends.
7833
7834 * objc/config-lang.in (gtfiles): Add files needed for objc front
7835 end.
7836
0e603223
RS
78372002-07-10 Roger Sayle <roger@eyesopen.com>
7838
7839 PR c/2454
7840 * combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
7841 to SUBREGs of MEMs. (num_sign_bit_copies): Likewise.
7842
c5358a5d
RS
78432002-07-10 Roger Sayle <roger@eyesopen.com>
7844 Zack Weinberg <zack@codesourcery.com>
7845
7846 * builtins.def: Make the argument types of abort and exit
7847 independent of the front-end.
7848
a35f8b74
AM
78492002-07-11 Alan Modra <amodra@bigpond.net.au>
7850
7851 * config/rs6000/linux64.h (ASM_SPEC): Define.
7852
89e7058f
AH
78532002-07-10 Aldy Hernandez <aldyh@redhat.com>
7854
6c535c69
ZW
7855 * config/rs6000/rs6000.c (emit_frame_save): New.
7856 (rs6000_frame_related): Replace reg2 before reg.
7857 (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
7858 and eh_return registers.
89e7058f 7859
086bbd21
TM
78602002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
7861
7862 Revert all patches for optimization of Complex .op. Real.
7863 * complex_part_zero_p: Remove
7864 * expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
7865 with x.
7866 * expand_cmplxdiv_wide: Ditto.
7867 * expand_binop: Ditto.
7868
126dbce0
MM
78692002-07-10 Marek Michalkiewicz <marekm@amelek.gda.pl>
7870
7871 * config/avr/avr.md: Fix two 0x80000000 constants to make them
7872 negative also on 64-bit hosts.
7873
7874 Default to -fno-reorder-blocks when optimizing for size.
7875 * config/avr/avr-protos.h (avr_optimization_options): Declare.
7876 * config/avr/avr.c (avr_optimization_options): New function.
7877 * config/avr/avr.h (OPTIMIZATION_OPTIONS): New.
7878
7879 Optimize returning from simple functions.
7880 * config/avr/avr-protos.h (avr_simple_epilogue): Declare.
7881 * config/avr/avr.c (avr_simple_epilogue): New function.
7882 * config/avr/avr.md (return): New insn.
7883
21c318ba
DR
78842002-07-10 Douglas B Rupp <rupp@gnat.com>
7885
7886 * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
7887 HAS_INIT_SECTION to protection.
7888
537834c8
MM
78892002-07-10 Mark Mitchell <mark@codesourcery.com>
7890
7891 * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
7892 deprecated.
7893
80ba02b1
R
7894Wed Jul 10 19:50:03 2002 J"orn Rennecke <joern.rennecke@superh.com>
7895
7896 * combine.c (gen_lowpart_for_combine): Handle vector modes.
7897 Supply non-VOID mode to simplify_gen_subreg.
7898
ae3aa00d
JH
7899Wed Jul 10 18:48:55 CEST 2002 Jan Hubicka <jh@suse.cz>
7900
7901 * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
7902
029f3983
JL
79032002-07-10 Jeffrey A Law <law@redhat.com>
7904
7a464913
JL
7905 * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
7906 as appropriate.
7907
6c535c69
ZW
7908 * mn10200.c (expand_epilogue): Fix test to determine which scratch
7909 register to use.
029f3983 7910
ff27a429
R
7911Wed Jul 10 16:06:00 2002 J"orn Rennecke <joern.rennecke@superh.com>
7912
7913 * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
7914 Get mode from dest.
7915 If simplify_gen_subreg fails, try next equivalent.
7916
e6986399
GDR
79172002-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
7918
7919 * diagnostic.h: #include location.h
7920 (location_t): Move definition to..
7921 * location.h: ... here. New file.
7922 * tree.h: #include location.h
7923 (DECL_SOURCE_LOCATION): New macro.
7924 (DECL_SOURCE_FILE): Use.
7925 (DECL_SOURCE_LINE): Likewise.
7926 (struct tree_decl): REplace filename and linenum with locus.
7927 * Makefile.in (TREE_H): add location.h
7928 (diagnostic.o): Depends on gt-location.h
7929 (gt-location.h): Depends on s-gtype
7930
7990b46f
MK
79312002-07-09 Matt Kraai <kraai@alumni.cmu.edu>
7932
7933 * config/rs6000/aix.h: Convert CPP_PREDEFINES to
7934 TARGET_OS_CPP_BUILTINS.
7935 * config/rs6000/aix31.h: Likewise.
7936 * config/rs6000/aix41.h: Likewise.
7937 * config/rs6000/aix43.h: Likewise.
7938 * config/rs6000/aix51.h: Likewise.
7939 * config/rs6000/beos.h: Likewise.
7940 * config/rs6000/darwin.h: Likewise.
7941 * config/rs6000/eabi.h: Likewise.
7942 * config/rs6000/eabisim.h: Likewise.
7943 * config/rs6000/linux.h: Likewise.
7944 * config/rs6000/linux64.h: Likewise.
7945 * config/rs6000/lynx.h: Likewise.
7946 * config/rs6000/mach.h: Likewise.
7947 * config/rs6000/rtems.h: Likewise.
7948 * config/rs6000/sysv4.h: Likewise.
7949 * config/rs6000/vxppc.h: Likewise.
efa39e99
DP
7950
79512002-07-09 Devang Patel <dpatel@apple.com>
7952 * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
7953 Do not allow ObjC objects as a parameter type for Objective-C methods.
7954 My previous patch restricted 'struct' also.
e89617fe 7955
cd98faa1
NB
79562002-07-09 Neil Booth <neil@daikokuya.co.uk>
7957
7958 * cpperror.c (cpp_error): Default to directive_line within
7959 directives here.
7960 * cppexp.c (cpp_interpret_integer): Only use traditional
7961 number semantics in directives.
7962 * cpplib.c (prepare_directive_trad): Don't reset pfile->line.
7963 (do_include_common): Similarly.
7964 * cpptrad.c (scan_out_logical_line): Implement accurate
7965 quoting of <> in #include.
7966 * doc/cpp.texi: Update.
7967
2ad65b0e 7968Tue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
6c535c69 7969 J"orn Rennecke <joern.rennecke@superh.com>
2ad65b0e
SC
7970
7971 * sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
7972 * sh.md (attribute issues): Replace with:
7973 (attribute pipe_model). All users changed.
7974 (attribute type): Change pt / ptabs to pt_media / ptabs_media.
7975 All users changed.
7976 (function units sh5issue, sh5fds): New.
7977 (attribute is_mac_media): New.
7978 (adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
7979 (andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
7980 (ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
7981 (movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
7982 (call_media, call_value_media, sibcall_media): Likewise.
7983 (casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
7984 (return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
7985 (mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
7986 (fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
7987 (cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
7988 (sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
7989 (muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
7990 (fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
7991 (cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
7992 (sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
7993 (truncdfsf2_media): Likewise.
7994 (movsi_media, movsi_media_nofpu, movdi_media): Use new types.
7995 (movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.
7996
b6d33983
R
7997Tue Jul 9 21:39:50 2002 J"orn Rennecke <joern.rennecke@superh.com>
7998
7999 * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
8000 * sh.c (general_extend_operand, inqhi_operand): New functions.
8001 * sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
8002 alternatives using 'N' modifier. Add type.
8003 (adddi3z_media): Likewise. Enable generator function generation.
8004 (movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
8005 exact predicates / constraints. Add type.
8006 (subsi3): Allow 0 for SHMEDIA.
8007 (udivsi3_i4_media): Use match_operand for input values
8008 rather than hard registers.
8009 (udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
8010 unnecessarily through hard registers. Keep copies of pseudo
8011 registers outside of the libcall sequence.
8012 (mulsidi3_media, umulsidi3_media): Use more exact predicates. Add type.
8013 (ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
8014 (zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
8015 (extendhidi2, extendqidi2): Likewise.
8016 (andsi3_compact): Name.
8017 (andcdi3): Enable generator function generation.
8018 (zero_extendhisi2, zero_extendqisi2): Rename to
8019 (zero_extendhisi2_compact, zero_extendqisi2_compact).
8020 (extendhisi2, extendqisi2): Rename to
8021 (extendhisi2_compact, extendqisi2_compact).
8022 (rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
8023 (loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
8024 (zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
8025 (zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
8026 (extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
8027 (extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
8028 (truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
8029 (shmedia32_initialize_trampoline_big): Likewise.
8030 (shmedia32_initialize_trampoline_little): Likewise.
8031 (nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
8032 (negdi2): Remove spurious T clobber.
8033 (zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
8034 (movsi_media, movsi_media_nofpu): Remove spurious *k after b.
8035 (movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
8036 (movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
8037 (ic_invalidate_line_media): Write back data cache before invalidating
8038 instruction cache. Add type.
8039 (movsf_media): Sign-extend when the destination is a general
8040 purpose register. Add type.
8041 (bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
8042 (casesi_worker_0+1): Only increment ref count for proper label.
8043 (casesi_worker_0+2): Likewise.
8044
7ca0873c
MM
80452002-07-09 Mark Mitchell <mark@codesourcery.com>
8046
8047 * dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
8048
26b10ae0 80492002-07-09 Steve Ellcey <sje@cup.hp.com>
7ca0873c 8050
26b10ae0
SE
8051 * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
8052 from Pmode to ptr_mode.
8053 (get_exception_pointer): Ditto.
8054 (connect_post_landing_pads): Ditto.
8055 (dw2_build_landing_pads): Ditto.
8056
0c3a2ea0
SE
80572002-07-08 Steve Ellcey <sje@cup.hp.com>
8058 * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
8059 * gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
8060 (handle_pragma_redefine_extname): Change to use new function.
8061
26c34780
RS
80622002-07-08 Roger Sayle <roger@eyesopen.com>
8063
8064 * combine.c (combine_simplify_rtx): Add an explicit cast
8065 to avoid signed/unsigned comparison warning.
8066 (simplify_if_then_else): Likewise.
8067 (extended_count): Likewise.
8068 (simplify_shift_const): Likewise.
8069 (simplify_comparison): Likewise.
8070
1d4047e0
RS
80712002-07-08 Richard Sandiford <rsandifo@redhat.com>
8072
8073 * config/mips/mips.md: Add imadd type. Update scheduler description
8074 to use imadd as well as imul.
8075 (*mul_acc_si, *madsi): Change imul alternatives to imadd.
8076 (*mul_acc_di, *mul_acc_64bit_di): Likewise.
8077 (*mul_sub_si): Likewise for first alternative. Change second
8078 alternative from imul to multi.
8079
5351f1ca
NB
80802002-07-07 Neil Booth <neil@daikokuya.co.uk>
8081
8082 * c-common.c (c_common_post_options): Update prototype;
8083 don't init backends if preprocessing only.
8084 * langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
8085 * langhooks.h (struct lang_hooks): Update post_options to
8086 return a boolean.
8087 * toplev.c (parse_options_and_default_flags, do_compile,
8088 lang_independent_init): Update prototypes. Allow the
8089 front end to specify that there is no need to initialize
8090 the back end.
8091 (general_init): Move call to hex_init here...
8092 (toplev_main): ...from here. Pass flag for back end init
8093 suppression.
8094
c8cc4417
R
8095Sun Jul 7 20:38:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
8096
8097 * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
8098 (PREDICATE_CODES): Add entries for equality_comparison_operator,
8099 greater_comparison_operator and less_comparison_operator.
8100 * sh.c (print_operand): Add '\'' code. Make 'o' handle
8101 more operators.
8102 (equality_comparison_operator): New function.
8103 (greater_comparison_operator, less_comparison_operator): Likewise.
8104 * sh.md (beq_media_i): Disable generator function generation.
8105 Use match_operator to handle a whole class of comparisons. Add
8106 modifier in output template to provide branch prediction. Add type.
8107 (bgt_media_i, ble_media_i): Likewise. Allow zero operands.
8108 (bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
8109 (blt_media_i, bleu_media_i, bltu_media_i): Likewise.
8110 (bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.
8111
957ec0f9
HPN
81122002-07-07 Hans-Peter Nilsson <hp@bitrange.com>
8113
8114 Emit MMIX function prologue and epilogue as rtl.
8115 * config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
8116 not unprototyped get_hard_reg_initial_val.
8117 ("call_value", "nonlocal_goto_receiver"): Ditto.
8118 ("return"): Make define_expand. Move real insn to...
8119 ("*expanded_return"): New pattern.
8120 ("prologue", "epilogue"): New define_expands.
8121 * config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
8122 (struct machine_function): New member in_prologue.
8123 (FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
8124 (FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
8125 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
8126 (MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
8127 (REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
8128 (LOCAL_REGNO): Define. Adjust comment.
8129 * config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
8130 Consider regs_ever_live[MMIX_rJ_REGNUM], not just
8131 leaf_function_p.
8132 (MMIX_OUTPUT_REGNO): Don't translate registers while outputting
8133 the prologue.
8134 (mmix_target_asm_function_prologue): Make static. Just mark that
8135 the prologue is being emitted. Move guts to...
8136 (mmix_expand_prologue): New function. Adjust for emitting
8137 prologue as rtl. For sizes, use HOST_WIDE_INT only.
8138 (mmix_target_asm_function_epilogue): Make static. Simply emit a
8139 \n. Move guts to...
8140 (mmix_expand_epilogue): New function. Adjust for emitting
8141 epilogue as rtl. For sizes, use HOST_WIDE_INT only.
8142 (mmix_target_asm_function_end_prologue): Mark that the prologue
8143 has ended.
8144 (TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
8145 (mmix_conditional_register_usage): Improve comments.
8146 (mmix_local_regno): New function.
8147 (mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
8148 * config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
8149 (mmix_expand_prologue, mmix_expand_epilogue): Ditto.
8150 (mmix_get_hard_reg_initial_val): Ditto.
8151
7ab5c789
AJ
81522002-07-06 Andreas Jaeger <aj@suse.de>
8153
8154 * toplev.c (set_fast_math_flags): Don't use ISO C style function
8155 definitions.
8156 * gengtype.c (open_base_files): Likewise.
8157 (close_output_files): Likewise.
8158 * tracer.c (find_best_predecessor): Likewise.
8159 (find_best_successor): Likewise.
8160 (ignore_bb_p): Likewise.
8161
df061a43
RS
81622002-07-05 Roger Sayle <roger@eyesopen.com>
8163
8164 PR c++/7099
8165 * builtin-attrs.def: Define new attribute lists for use in
8166 builtins.def.
8167 * builtins.def [DEF_BUILTIN]: Modify to take an additional
8168 ATTRS argument, an enumerated value defined in builtin-attrs.def
8169 that represents the attribute list for the builtins. Modify
8170 all builtin functions to pass an appropriate attribute list.
8171 Specify "abort", "exit", "_exit" and "_Exit" builtins here with
8172 their required noreturn attributes.
8173 * tree.h (enum_builtin_function): Ignore the additional parameter
8174 to DEF_BUILTIN.
8175 * builtins.c (built_in_names): Likewise.
8176 * c-common.c: (builtin_function_2): Replace the "int noreturn_p"
8177 argument with a tree representing the functions attribute list.
8178 Pass this "attrs" argument to builtin_function. No longer handle
8179 the noreturn_p processing manually.
8180 (built_in_attributes): Move the definitions from builtin-attrs.def
8181 before c_common_nodes_and_builtins.
8182 (c_common_nodes_and_builtins): Handle the new ATTRS parameter in
8183 DEF_BUILTIN, passing it to both builtin_function and the changed
8184 builtin_function_2.
8185
8186 * doc/extend.texi: Document __builtin_abort, __builtin_exit,
8187 __builtin__exit and __builtin__Exit.
8188
e5eb8de8
SC
81892002-07-05 Stephane Carrez <stcarrez@nerim.fr>
8190
8191 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
8192 QI mode registers in soft registers.
7ab5c789 8193 ("zero_extendqihi2"): Do not take into account soft registers
e5eb8de8
SC
8194 for register allocation (use '*' constraint).
8195
4c8aed14
SC
81962002-07-05 Stephane Carrez <stcarrez@nerim.fr>
8197
8198 * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
8199 it is dead.
8200 ("*ashrsi3"): Likewise.
8201 ("*lshrsi3"): Likewise.
8202
99ed68ea
VM
82032002-07-05 Vladimir Makarov <vmakarov@redhat.com>
8204
8205 * genautomata.c (output_max_insn_queue_index_def): Take latencies
8206 into account.
8207
4c8aed14 82082002-07-05 Stephane Carrez <stcarrez@nerim.fr>
581fd392
SC
8209
8210 * config/m68hc11/m68hc11.md (peephole2): New peephole2 to optimize
8211 address computation and memory moves.
8212
9833f679
MM
82132002-07-03 Mark Mitchell <mark@codesourcery.com>
8214
8215 PR c++/6706
8216 * dwarfout.c (output_reg_number): Fix warning message.
8217 (output_bound_representation): Check SAVE_EXPR_RTL is not NULL
8218 before using it.
7ab5c789 8219
81bca2f5
RO
82202002-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8221
8222 * gcc/gcc.c (asm_debug): Move initialization ...
8223 (init_spec): ... here.
8224
17f44f02
NS
82252002-07-05 Nathan Sidwell <nathan@codesourcery.com>
8226
8227 * c-parse.in (extdef): Append ';'.
8228 (old_style_parm_decls): Append ';'.
8229
da77408f
DJ
82302002-07-04 Daniel Jacobowitz <drow@mvista.com>
8231
8232 * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag to
8233 gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag
8234 to gcc_cv_as_gstabs_flag.
8235 * configure: Rebuilt.
8236
ec52b446
GK
82372002-07-04 Geoffrey Keating <geoffk@redhat.com>
8238
8239 * ggc.h (ggc_add_root): Document as obsolete.
8240
8721e3df
R
8241Thu Jul 4 07:58:01 2002 J"orn Rennecke <joern.rennecke@superh.com>
8242
8243 * sh.md (mshfhi_b, mshflo_b, mshfhi_l, mshflo_l, mshfhi_w): Add DONE.
8244 (mshflo_w): Likewise.
8245
3767c0fd
R
8246Thu Jul 4 07:36:29 2002 J"orn Rennecke <joern.rennecke@superh.com>
8247
8248 * simplify-rtx.c (simplify_subreg): Reduce problem of finding
8249 vector mode subregs of constants to finding integer mode
8250 subregs of constants.
8251 * cse.c (cse_insn): Use simplify_gen_subreg.
8252 * convert.c (convert_to_integer): Don't strip a NOP_EXPR
8253 From a vector mode expression of different size than the
8254 target mode.
8255
4e314d1f
EC
82562002-07-03 Eric Christopher <echristo@redhat.com>
8257
8258 * config/mips/linux.h: Add #undef for SUBTARGET_CPP_SPEC.
8259 * config/mips/mips.h: Remove deprecated -m<processor> options
8260 and cc1_cpu_spec associated.
8261 (CONSTANT_ADDRESS_P): Fix last patch.
8262 (ASM_DECLARE_FUNCTION_NAME): Declare. Fix comment.
8263 * config/mips/mips.md (bungt, bunge, sungt_df, sungt_sf, sunge_df,
8264 sunge_sf): Remove.
8265
6f0361e3
SS
82662002-07-03 Stan Shebs <shebs@apple.com>
8267
8268 * config/darwin.h (APPLE_CC): Remove, not meaningful in FSF GCC.
8269 (STRINGIFY_THIS, REALLY_STRINGIFY): Remove.
8270 (CPP_SPEC): Remove insertion of APPLE_CC definition.
8271
3129af4c
RS
82722002-07-03 Roger Sayle <roger@eyesopen.com>
8273
8274 * combine.c (struct_undo): Change types of recorded substitutions
8275 to be either "int" or "rtx", instead of "unsigned int" and "rtx".
8276 (do_SUBST_INT): Change types of the substitution from unsigned int
8277 to int, to avoid compilation warning from SUBST_INT's only caller.
8278
8279 (make_extraction): Add cast to avoid compilation warning.
8280 (force_to_mode): Remove cast to avoid compilation warning.
8281
c7375e61
EB
82822002-07-03 Eric Botcazou <ebotcazou@multimania.com>
8283 Jeff Law <law@redhat.com>
8284
8285 * i386.md (length_immediate attribute): Fix typo.
8286 (length_address attribute): Likewise.
8287 (modrm attribute): Set it to 0 for immediate call instructions.
8288 (jcc_1 pattern): Set modrm attribute to 0.
8289 (jcc_2 pattern ): Likewise.
8290 (jump pattern): Likewise.
8291 (doloop_end_internal pattern): Explicitly set length.
8292 (leave pattern): Fix typo.
8293 (leave_rex64 pattern): Likewise.
8294
61c07d3c
DE
82952002-07-03 David Edelsohn <edelsohn@gnu.org>
8296
8297 * config/rs6000/rs6000.md (fix_truncdfsi2_internal): Ignore DImode
8298 in FPR as preference.
8299 (fctiwz): Same.
8300 (floatdidf2, fix_truncdfdi2): Same.
8301 (floatdisf2, floatditf2, fix_trunctfdi2): Same.
8302 (floatditf2): Same.
8303 (floatsitf2, fix_trunctfsi2): SImode in GPR.
8304 (ctrdi): Remove FPR alternative and splitter.
8305
83062002-07-03 Will Cohen <wcohen@redhat.com>
77966be3
WC
8307
8308 * config/i386/i386.c (x86_integer_DFmode_moves): Disable for PPro.
8309
34a80643
R
8310Wed Jul 3 10:24:16 2002 J"orn Rennecke <joern.rennecke@superh.com>
8311
8312 * optabs.c (expand_vector_binop): Don't store using a SUBREG smaller
8313 than UNITS_PER_WORD, unless this is little endian and the first unit
8314 in this word. Let extract_bit_field decide how to load an element.
8315 Force arguments to matching mode.
8316 (expand_vector_unop): Likewise.
8317
8318 * simplify-rtx.c (simplify_subreg): Don't assume that all vectors
8319 consist of word_mode elements.
8320 * c-typeck.c (build_binary_op): Allow vector types for BIT_AND_EXPR,
8321 BIT_ANDTC_EXPR, BIT_IOR_EXPR and BIT_XOR_EXPR.
8322 (build_unary_op): Allow vector types for BIT_NOT_EPR.
8323 * emit-rtl.c (gen_lowpart_common): Use simplify_gen_subreg for
8324 CONST_VECTOR.
8325 * optabs.c (expand_vector_binop): Try to perform operation in
8326 smaller vector modes with same inner size. Add handling of AND, IOR
8327 and XOR. Reject expansion to inner-mode sized scalars when using
8328 OPTAB_DIRECT. Use simplify_gen_subreg on constants.
8329 (expand_vector_unop): Try to perform operation in smaller vector
8330 modes with same inner size. Add handling of one's complement.
8331 When there is no vector negate operation, try a vector subtract
8332 operation. Use simplify_gen_subreg on constants.
8333 * simplify-rtx.c (simplify_subreg): Add capability to convert vector
8334 constants into smaller vectors with same inner mode, and to
8335 integer CONST_DOUBLEs.
8336
622d3731
KG
83372002-07-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8338
8339 * c-parse.in (parsing_iso_function_signature): New variable.
8340 (extdef_1): New, copied from...
8341 (extdef): ... here. Reset parsing_iso_function_signature.
8342 (old_style_parm_decls): Reset parsing_iso_function_signature.
8343 (old_style_parm_decls_1): New, copied from old_style_parm_decls.
8344 Warn about ISO C style function definitions.
8345 (nested_function, notype_nested_function): Reset
8346 parsing_iso_function_signature.
8347 (parmlist_2): Set parsing_iso_function_signature.
8348
8349 * doc/invoke.texi (-Wtraditional): Document new behavior.
8350
9bb46191
CD
83512002-07-02 Chris Demetriou <cgd@broadcom.com>
8352
8353 * config.gcc (mips*el-*-*): Use tm_defines to set
8354 TARGET_ENDIAN_DEFAULT, rather than including mips/little.h.
8355 * config/mips/little.h: Remove.
8356
e1c2dd26 83572002-07-02 Devang Patel <dpatel@apple.com>
c40da518 8358
c40da518 8359 * objc/objc-act.c (adjust_type_for_id_default): Do not allow an
31e25abd
CD
8360 object as parameter. Prevent something like 'NSObject' to be
8361 used as the type for a method argument.
c40da518 8362
0879540b
NB
83632002-07-03 Neil Booth <neil@daikokuya.co.uk>
8364
8365 * cpptrad.c: Update comment.
8366
b6fb43ab 83672002-07-02 Neil Booth <neil@daikokuya.co.uk>
4e314d1f 8368
b6fb43ab
NB
8369 * doc/cpp.texi: Update for traditional preprocessing changes.
8370 * goc/cppopts.texi: Similarly.
8371
c1c5187c
ZL
83722002-07-02 Ziemowit Laski <zlaski@apple.com>
8373
8374 * c-parse.in (designator): Enable designated initializers if ObjC.
8375 (objcmessageexpr): Remove references to objc_receiver_context.
8376 * objc/objc-act.h (objc_receiver_context): Remove decl.
8377 * objc/objc-act.c (objc_receiver_context): Remove.
8378 (lookup_objc_ivar): Test objc_method_context instead of
8379 objc_receiver_context.
8380
52702ae1
R
8381Tue Jul 2 18:45:45 2002 J"orn Rennecke <joern.rennecke@superh.com>
8382
8383 * sh.c (print_operand, case 'N'): Allow zero vector.
8384 (arith_reg_or_0_operand): Likewise.
8385 (zero_vec_operand): Check for CONST_VECTOR, not PARALLEL.
4e314d1f 8386 * sh.h (CONST_COSTS): 0 has 0 cost. Check OUTER_CODE for
52702ae1
R
8387 IOR, XOR, PLUS and SET and take their respective constant
8388 ranges into account.
8389 (PREDICATE_CODES, arith_reg_or_0_operand): Can be CONST_VECTOR.
8390 * sh.md (subdi3, subdi3_media): Allow zero operand.
8391 (movv8qi_i+3): Only vector that is not split is the zero vector.
8392 Fix operand 3 to simplify_subreg.
8393 (movv2si_i): Split alternative 1.
8394 (mshfhi_l_di_rev+1): New splitter.
8395
49e7b251
NB
83962002-07-02 Neil Booth <neil@daikokuya.co.uk>
8397
ba57a9c0 8398 PR preprocessor/7029
49e7b251
NB
8399 * cppinit.c (cpp_handle_option): Suppress warnings with an
8400 implicit "-w" for "-M" and "-MM".
8401 * doc/cppopts.texi: Update.
8402
a3acdc0c
RS
84032002-07-01 Roger Sayle <roger@eyesopen.com>
8404
8405 * config/sh/sh.c (sh_media_init_builtins): Change use of poisoned
8406 identifier "bzero" to "memset". Pass extra NULL_TREE argument to
8407 builtin_function.
8408
0b558962
AM
84092002-07-02 Alan Modra <amodra@bigpond.net.au>
8410
8411 * README.Portability: Fix typos.
8412
9a81c5b7
HPN
84132002-07-01 Hans-Peter Nilsson <hp@axis.com>
8414
8415 PR target/7177
8416 * config/cris/cris.h (LEGITIMIZE_RELOAD_ADDRESS): Correct number
8417 of indirections for register inside sign-extended mem part.
8418
6a2dd09a
RS
84192002-07-01 Roger Sayle <roger@eyesopen.com>
8420
8421 * tree.h: Modify builtin_function interface to take an extra
8422 argument ATTRS, which is a tree representing an attribute list.
8423
8424 * c-decl.c (builtin_function): Accept additional parameter.
8425 * objc/objc-act.c (builtin_function): Likewise.
8426 * f/com.c (builtin_function): Likewise.
8427 * java/decl.c (builtin_function): Likewise.
8428 * ada/utils.c (builtin_function): Likewise.
8429 * cp/decl.c (builtin_function): Likewise.
8430 (builtin_function_1): Likewise.
8431
8432 * c-common.c (c_common_nodes_and_builtins): Pass an additional
8433 NULL_TREE argument to builtin_function. (builtin_function_2):
8434 Likewise.
8435 * cp/call.c (build_java_interface_fn_ref): Likewise.
8436 * objc/objc-act.c (synth_module_prologue): Likewise.
8437 * java/decl.c (java_init_decl_processing): Likewise.
8438 * f/com.c (ffe_com_init_0): Likewise.
8439
8440 * config/alpha/alpha.c (alpha_init_builtins): Pass an additional
8441 NULL_TREE argument to builtin_function.
8442 * config/arm/arm.c (def_builtin): Likewise.
8443 * config/c4x/c4x.c (c4x_init_builtins): Likewise.
8444 * config/i386/i386.c (def_builtin): Likewise.
8445 * config/ia64/ia64.c (def_builtin): Likewise.
8446 * config/rs6000/rs6000.c (def_builtin): Likewise.
8447
e20569ae
ZW
84482002-07-01 Zack Weinberg <zack@codesourcery.com>
8449
8450 * config/ip2k/t-ip2k: Remove LIBGCC1, CROSS_LIBGCC1, and LIBGCC1_TEST.
8451 * config/mips/t-isa3264: Likewise.
8452 * config/mmix/t-mmix: Likewise.
8453
f1b690f1
JDA
84542002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca>
8455
8456 * emit-rtl.c (init_emit_once): Add missing cast to HOST_WIDE_INT.
8457
6bfa5aac
RS
84582002-07-01 Roger Sayle <roger@eyesopen.com>
8459
8460 PR opt/4046
8461 * fold-const.c (fold) [COND_EXPR]: Simplify A ? 0 : 1 to !A,
8462 A ? B : 0 to A && B and A ? B : 1 into !A || B if both A and
8463 B are truth values.
8464
9a5c1b9d
NN
84652002-07-01 Nathanael Nerode <neroden@gcc.gnu.org>
8466
8467 * config/mmix/t-mmix: Eliminate last reference to LIBGCC1_TEST.
8468
d3fc4dbc
MK
84692002-07-01 Matt Kraai <kraai@alumni.cmu.edu>
8470
3b2124df
MK
8471 * README.Portability (Function prototypes): Give an example of
8472 declaring and defining a function with no arguments.
8473
d3fc4dbc
MK
8474 * README.Portability (Function prototypes): Document new
8475 variable-argument function macros.
8476
c1b92d09
R
8477Mon Jul 1 19:55:17 2002 J"orn Rennecke <joern.rennecke@superh.com>
8478
8479 * sh.c (langhooks.h): Include.
8480 (sh_init_builtins, sh_media_init_builtins): New functions.
8481 (sh_expand_builtin, arith_reg_dest,and_operand): Likewise.
8482 (mextr_bit_offset, extend_reg_operand, zero_vec_operand): Likewise.
8483 (sh_rep_vec, sh_1el_vec, sh_const_vec): Likewise.
8484 (builtin_description): New struct tag.
8485 (signature_args, bdesc): New arrays.
8486 (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Undef / define.
8487 (print_operand): Add 'N' modifier.
8488 * sh.h (VECTOR_MODE_SUPPORTED_P): Add SHmedia vector modes.
8489 (EXTRA_CONSTRAINT_U, EXTRA_CONSTRAINT_W): New macros.
8490 (EXTRA_CONSTRAINT): Add 'U' and 'W' cases.
8491 (CONST_COSTS): Add special case for SHmedia AND.
8492 (PREDICATE_CODES): Add and_operand, arith_reg_dest,
8493 extend_reg_operand, extend_reg_or_0_operand, mextr_bit_offset,
8494 sh_const_vec, sh_1el_vec, sh_rep_vec, zero_vec_operand.
8495 target_operand can also be const or unspec.
8496 * sh.md (UNSPEC_INIT_TRAMP, UNSPEC_FCOSA UNSPEC_FSRRA): New constants.
8497 (UNSPEC_FSINA, UNSPEC_NSB, UNSPEC_ALLOCO): Likewise.
8498 (attribute type): Add new types.
8499 (anddi3): Add splitter.
8500 (movdi_const_16bit+1): Add code to handle vector constants and
8501 bitmasks efficiently.
8502 (shori_media): Have generator function made.
8503 (movv8qi, movv8qi_i, movv8qi_i+1, movv8qi_i+2): New patterns.
8504 (movv8qi_i+3, movv2hi, movv2hi_i, movv4hi, movv4hi_i): Likewise.
8505 (movv2si, movv2si_i, absv2si2, absv4hi2, addv2si3, addv4hi3): Likewise.
8506 (ssaddv2si3, usaddv8qi3, ssaddv4hi3, negcmpeqv8qi): Likewise.
8507 (negcmpeqv2si, negcmpeqv4hi, negcmpgtuv8qi, negcmpgtv2si): Likewise.
8508 (negcmpgtv4hi, mcmv, mcnvs_lw, mcnvs_wb, mcnvs_wub): Likewise.
8509 (mextr_rl, mextr_lr, mextr1, mextr2, mextr3, mextr4, mextr5): Likewise.
8510 (mextr6, mextr7, mmacfx_wl, mmacfx_wl_i, mmacnfx_wl): Likewise.
8511 (mmacnfx_wl_i, mulv2si3, mulv4hi3, mmulfx_l, mmulfx_w): Likewise.
8512 (mmulfxrp_w, mmulhi_wl, mmullo_wl, mmul23_wl, mmul01_wl): Likewise.
8513 (mmulsum_wq, mmulsum_wq_i, mperm_w, mperm_w_little): LIkewise.
8514 (mperm_w_big, mperm_w0, msad_ubq, msad_ubq_i, mshalds_l): Likewise.
8515 (mshalds_w, ashrv2si3, ashrv4hi3, mshards_q, mshfhi_b): Likewise.
8516 (mshflo_b, mshf4_b, mshf0_b, mshfhi_l, mshflo_l, mshf4_l): Likewsie.
8517 (mshf0_l, mshfhi_w, mshflo_w, mshf4_w, mshf0_w, mshfhi_l_di): Likewise.
8518 (mshfhi_l_di_rev, mshflo_l_di, mshflo_l_di_rev): Likewise.
8519 (mshflo_l_di_x, mshflo_l_di_x_rev, ashlv2si3, ashlv4hi3): Likewise.
8520 (lshrv2si3, lshrv4hi3, subv2si3, subv4hi3, sssubv2si3): Likewise.
8521 (ussubv8qi3, sssubv4hi3, fcosa_s, fsina_s, fipr, fsrra_s): Likewise.
8522 (ftrv): Likewise.
8523
8524 (fpu_switch+1, fpu_switch+2): Remove constraint.
8525
97ebc06f
AH
85262002-07-01 Aldy Hernandez <aldyh@redhat.com>
8527
6c535c69
ZW
8528 * tree.c (build_function_type_list): Update function comment.
8529 Rename first argument to return_type.
97ebc06f 8530
353a10d0
NB
85312002-07-01 Neil Booth <neil@daikokuya.co.uk>
8532
8533 * Makefile.in: Remove all trace of tradcpp.c, tradcpp.h,
8534 tradcif.y and related files.
8535
e34cabb3
NB
85362002-07-01 Neil Booth <neil@daikokuya.co.uk>
8537
8538 * cpptrad.c (skip_whitespace): Pass pointer to prior char.
8539
8bf3ccbb
KG
85402002-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8541
8542 * mips.h (FUNCTION_ARG_REGNO_P): Fix parentheses.
8543
44eedb75 8544See ChangeLog.7 for earlier changes.
This page took 1.377242 seconds and 5 git commands to generate.