]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
* function.c: Revert patch for c/6358.
[gcc.git] / gcc / ChangeLog
CommitLineData
0cd3301b
RH
12002-04-18 Richard Henderson <rth@redhat.com>
2
58533fa2 3 * function.c: Revert patch for c/6358.
0cd3301b
RH
4
52002-04-18 Richard Henderson <rth@redhat.com>
6
58533fa2
RH
7 * ifcvt.c (find_cond_trap): Handle cases with no proper THEN or JOIN
8 blocks. Handle multiple references to the TRAP block. Handle
9 non-adjacent THEN and OTHER blocks.
0cd3301b 10
58533fa2
RH
112002-04-18 Richard Henderson <rth@redhat.com>
12
13 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
14 crash with no type for by-mode libcalls.
15
16 * config/ia64/ia64.md (conditional_trap): Fix predicate polarity.
0cd3301b 17
57174693
BW
182002-04-18 Bob Wilson <bob.wilson@acm.org>
19
20 * config/xtensa/lib2funcs.S (__xtensa_libgcc_window_spill,
21 __xtensa_nonlocal_goto): Use a syscall instructions to flush
22 the register windows.
23
46468cd9
ZW
242002-04-18 Zack Weinberg <zack@codesourcery.com>
25
26 * real.h: Define REAL_VALUE_TYPE_SIZE as 96 or 160, as
27 appropriate. Document need for extended precision even when
28 MAX_LONG_DOUBLE_TYPE_SIZE is smaller. Define REAL_WIDTH here,
29 based on REAL_VALUE_TYPE_SIZE. Use REAL_WIDTH to size
30 REAL_VALUE_TYPE. Define CONST_DOUBLE_FORMAT here. Use #error
31 instead of relying on later syntax error when REAL_WIDTH > 5.
32 * real.c: Define NE based only on whether or not we have a
33 full 128-bit extended type (not INTEL_EXTENDED_IEEE_FORMAT).
34 Require sizeof(REAL_VALUE_TYPE) == 2*NE. Unconditionally
35 define GET_REAL and PUT_REAL as simple memcpy operations; no
36 need to byteswap or round.
37 Use #error instead of #ifdef-ing out the entire file, for
38 prompt error detection.
39
40 * rtl.c, gengenrtl.c: No need to calculate CONST_DOUBLE_FORMAT here.
41
2f82dbf8
DM
422002-04-18 David S. Miller <davem@redhat.com>
43
44 * config/sparc/sparc.h (BRANCH_COST): Define.
45
46 * fold-const.c (BRANCH_COST): Don't provide default here, expr.h
47 does it.
48
566576e7
HPN
492002-04-18 Hans-Peter Nilsson <hp@bitrange.com>
50
51 * flow.c (update_life_info): Ignore return value of cleanup_cfg.
52 Mask out PROP_SCAN_DEAD_CODE | PROP_KILL_DEAD_CODE in
53 propagate_block calls after relaxation loop using new variable
54 stabilized_prop_flags.
55
51dcde6f
RH
562002-04-18 Richard Henderson <rth@redhat.com>
57
58 * config/ia64/ia64.c (ia64_function_arg_pass_by_reference): New.
59 (ia64_va_arg): Expect variable sized types by reference.
60 * config/ia64/ia64-protos.h: Update.
46468cd9 61 * config/ia64/ia64.h (FUNCTION_ARG_PASS_BY_REFERENCE): Use
51dcde6f
RH
62 ia64_function_arg_pass_by_reference.
63
26406018
RH
642002-04-18 Richard Henderson <rth@redhat.com>
65
46468cd9
ZW
66 * ifcvt.c: Include except.h.
67 (block_has_only_trap): Break out from find_cond_trap.
68 (find_cond_trap): Use it. Always delete the trap block.
69 (merge_if_block): Allow then block null. Be less simplistic about
70 what insns can end a block.
71 * Makefile.in (ifcvt.o): Depend on except.h.
96b453dc 72
26406018
RH
73 * config/ia64/ia64.md (trap, conditional_trap): New.
74
a3acf46d
JJ
752002-04-18 Jakub Jelinek <jakub@redhat.com>
76
77 PR c/6358
78 * function.c (assign_parms): Assign hard current_function_return_rtx
79 register here...
80 (expand_function_end): ...not here.
81
7a228918
NB
822002-04-18 Neil Booth <neil@daikokuya.demon.co.uk>
83
84 * c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
85 * c-tree.h (c_incomplete_type_error): New.
86 * c-typeck.c (require_complete_type, build_component_ref): Update.
87 (incomplete_type_error): Rename.
88 * langhooks-def.h (lhd_incomplete_type_error): New.
89 (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
90 (LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
91 * langhooks.c (lhd_incomplete_type_error): New.
92 * langhooks.h (struct lang_hooks_for_types): New hook.
93 * tree.c (size_in_bytes): Use new hook.
94 * tree.h (incomplete_type_error): Remove.
95objc:
96 * objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
97
f18664c1
ZW
982002-04-18 Zack Weinberg <zack@codesourcery.com>
99
100 * config/arc/arc.md: Remove #if HOST_FLOAT_FORMAT !=
101 TARGET_FLOAT_FORMAT blocks.
102
8ecab453
GP
1032002-04-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
104
105 * doc/install.texi (Downloading the source): Do not mention Chill
106 any longer, but mention Ada.
107 (Configuration): Do not mention Chill any longer.
108
528d8489
HPN
1092002-04-18 Hans-Peter Nilsson <hp@axis.com>
110
111 * config/cris/cris.h (TARGET_VERSION): Remove local version number.
112
91da27c5
JH
113Thu Apr 18 17:14:08 CEST 2002 Jan Hubicka <jh@suse.cz>
114
115 * i386.h (SSE_FLOAT_MODE_P): Fix bogus conflict resolution
116 in last patch.
117
a32db605
JJ
1182002-04-18 Jakub Jelinek <jakub@redhat.com>
119
120 * fold-const.c (fold): Use (*lang_hooks.types.unsigned_type)
121 instead of unsigned_type.
122
5a28d8cc
JH
123Thu Apr 18 15:49:12 CEST 2002 Jan Hubicka <jh@suse.cz>
124
125 * i386.h (SSE_FLOAT_MODE_P): Kill bogus TARGET_SSE_MATH check.
126 * i386.md (sse_mov?fcc*): Swap operands for cases they will be swapped
127 later.
128
3d980b9f
BS
1292002-04-18 Bernd Schmidt <bernds@redhat.com>
130
131 * attribs.c (vector_type_node_list): New static variable.
132 (handle_vector_size_attribute): Use it to avoid generating a
133 new type node each time we are called.
134
2e676d78
BS
135 * combine.c (subst): Avoid trying to make a vector mode subreg of
136 an integer constant.
137 (gen_lowpart_for_combine): Likewise.
46468cd9 138
58c2956c
RS
1392002-04-18 Roger Sayle <roger@eyesopen.com>
140 Jakub Jelinek <jakub@redhat.com>
141
142 * fold-const.c (fold) [NOP_EXPR]: Convert (T)(x&c) into ((T)x&(T)c)
143 for integer constant c (if x has unsigned type or sign bit is not
144 set in c). This folds the zero/sign extension into the bit-wise and
145 operation.
146
692efa8e
JJ
1472002-04-18 Jakub Jelinek <jakub@redhat.com>
148
149 PR middle-end/6205
150 * config/i386/i386.md (movsf_1): Use pxor only if TARGET_SSE2,
151 otherwise xorps.
152
1372d4ce
NY
1532002-04-17 NIIBE Yutaka <gniibe@m17n.org>
154
155 * config/sh/elf.h: Undefine ASM_OUTPUT_CASE_LABEL.
156
169ce44d
NC
1572002-04-17 Nick Clifton <nickc@cambridge.redhat.com>
158
159 * gcc.c (read_specs): Detect and fail if an attempt is made to
160 rename a spec string to an already existing string.
161
b30d2115
UW
1622002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
163
164 * config/s390/s390.c (legitimize_pic_address): Do not generate
165 illegal address constant without CONST.
166
d6964c30
KG
1672002-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
168
169 * sparc/linux64.h (CC1_SPEC): Error for -m32 and -m64.
170 * sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
171
7c82a1ed
UW
1722002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
173
174 PR optimization/6305
175 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
176 to make sure previous reloads are taken into account. Generate
177 better code if one operand is an in-range immediate constant.
178
58db9d1a
AH
1792002-04-16 Andrew Haley <aph@cambridge.redhat.com>
180
181 * doc/install.texi (Building): libgcj requires GNU make.
182
2a732575
JJ
1832002-04-17 Jakub Jelinek <jakub@redhat.com>
184
185 PR bootstrap/6315
186 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
187 even if hard quad and register is not floating.
188 (movtf reg<-mem split): Disallow splitting if hard quad and
189 register is floating.
190 (movtf mem<-reg split): Likewise.
191 * config/sparc/sparc.c (fp_register_operand): New predicate.
192 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
193
75a65e46
ZW
1942002-04-17 Zack Weinberg <zack@codesourcery.com>
195
196 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
197 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
198 (unprotoize.o): Ditto. Build from protoize.c. Define
199 UNPROTOIZE on command line.
200 * protoize.c: Include cppdefault.h. Delete include_defaults.
201 (in_system_include_dir): Use cpp_include_defaults (defined in
202 cppdefault.o).
203 * unprotoize.c: Delete file.
204
650f0e97
AH
2052002-04-17 Aldy Hernandez <aldyh@redhat.com>
206
46468cd9
ZW
207 * config/rs6000/altivec.h (vec_ld): Add array variants.
208 (vec_lde): Same.
209 (vec_ldl): Same.
650f0e97 210
71a0ab0c 2112002-04-17 Alan Matsuoka <alanm@redhat.com>
46468cd9 212 Aldy Hernandez <aldyh@redhat.com>
71a0ab0c 213
46468cd9
ZW
214 * config/rs6000/altivec.h: Define __ALTIVEC__.
215 (bool): New.
216 (__pixel): New.
217 (pixel): New.
218 (vec_cfux): New.
219 (vec_vmaddfp): New.
220 (vec_vsldoi): New.
221 Add parentheses to all macro arguments.
71a0ab0c 222
ff2c46ac
RH
2232002-04-16 Richard Henderson <rth@redhat.com>
224
225 PR c++/6320
226 * except.c (remove_eh_handler): Insert inner regions at beginning
227 of sibling chain. Refactor expressions.
228
f1ba94dd
RH
2292002-04-16 Richard Henderson <rth@redhat.com>
230
f0871dfe
RH
231 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
232 * config/sparc/sol2-gas-bi.h: New file.
233 * config.gcc (sparc*-solaris): Add it as needed.
234 * configure.in (AS_SPARC64_FLAG): Remove check.
235 * config.in, configure: Regenerate.
236
237 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
238
2392002-04-16 Richard Henderson <rth@redhat.com>
240
241 * config/mips/mips.c (override_options): Don't override N32 for
242 a 64-bit ISA.
409d3c60 243
f1ba94dd
RH
244 PR 6202
245 * config/mips/mips.md (can_delay): Split out of existing define_delays.
246 (HILO_delay): Set can_delay false.
247
178c3eff
DJ
2482002-04-16 Dale Johannesen <dalej@apple.com>
249
250 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
251 instruction addresses.
252 (rs6000_output_function_epilogue): Likewise.
253
7d6f6369
PC
2542002-04-16 Paolo Carlini <pcarlini@unitus.it>
255
256 * c-parse.in (poplevel, compstmt_start,
257 compstmt_primary_start): Add ending ';', in accordance
258 with POSIX.
259
8947df0c
RH
2602002-04-16 Richard Henderson <rth@redhat.com>
261
262 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
263 Adjust tm_file order to get TARGET_DEFAULT set properly.
264 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
265 * doc/install.texi (sparc-solaris): Update.
266
3148ad6d
DJ
2672002-04-16 Dale Johannesen <dalej@apple.com>
268
269 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
270 comparison operands do not match each other or if modes of
271 conditions do not match result.
272
014cb9b6 2732002-04-16 Hartmut Penner <hpenner@de.ibm.com>
562a69be 274
014cb9b6
HP
275 PR target/6305
276 * config/s390/s390.md (mulsidi3): Set both subregs of the
46468cd9 277 multiword register.
562a69be 278
014cb9b6 2792002-04-16 Aldy Hernandez <aldyh@redhat.com>
4c8c0dec 280
8947df0c 281 * config/rs6000/altivec.h (vec_addc): Type check.
4c8c0dec 282
a9772b60
JJ
2832002-04-16 Jakub Jelinek <jakub@redhat.com>
284
285 PR middle-end/6279
286 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
287
288 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
289
861829ed
RH
2902002-04-15 Richard Henderson <rth@redhat.com>
291
292 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
293 call_really_used_regs too.
294
bcf2fe9c
RH
2952002-04-15 Richard Henderson <rth@redhat.com>
296
297 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
298
629111c7
DM
2992002-04-15 David S. Miller <davem@redhat.com>
300
301 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
302 as being CLOBBERed.
303
98ef3137
JJ
3042002-04-16 Jakub Jelinek <jakub@redhat.com>
305
306 PR c/6290
307 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
308 CONST_VECTOR is { 0, ... 0 }.
309
0aa911c5
LR
3102002-04-15 Loren J. Rittle <ljrittle@acm.org>
311
312 * doc/install.texi (Installing GCC: Configuration): Clarify
313 the only supported ways to configure gcc.
314
83248d49 3152002-04-15 Roland McGrath <roland@frob.com>
46468cd9 316
83248d49
RM
317 * config.gcc (alpha*-*-gnu*): New target configuration.
318 * config/alpha/gnu.h: New file for it.
319 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
320
b2123dc0
MM
3212002-04-16 Mark Mitchell <mark@codesourcery.com>
322
323 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
324 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
325 * tree.h (expand_start_stmt_expr): Update prototype.
326 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
327 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
328 on the STMT_EXPR created for the inline function.
46468cd9 329
8fe2d853
RH
3302002-04-15 Richard Henderson <rth@redhat.com>
331
332 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
333 config/i386/linux-aout.h, config/i386/linux-oldld.h,
334 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
335 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
336 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
337 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
338 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
339 Define __gnu_linux__, not gnu_linux.
340 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
341
07cdae91
MM
3422002-04-15 Mark Mitchell <mark@codesourcery.com>
343
344 Remove Chill front end.
345 * gcc.c (default_compilers): Remove Chill entries.
346 * ch: Remove directory.
347 * doc/frontends.texi: Remove information about Chill.
348 * doc/sourcebuild.texi: Likewise.
349 * doc/standards.texi: Likewise.
350
41823c5e
DR
3512002-04-15 Douglas B Rupp <rupp@gnat.com>
352
353 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
354 (LONGLONG_STANDALONE): Define.
355
eb29ddb6
DM
3562002-04-15 David S. Miller <davem@redhat.com>
357
358 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
359 Call emit_library_call with LCT_NORMAL.
360 (sparc_initialize_trampoline): Use LCT_foo instead of
361 magic constant in emit_library_call invocations.
362 (sparc64_initialize_trampoline): Likewise.
363 (sparc_profile_hook): Likewise.
364 * config/sparc/sparc.md: Likewise.
365
366 * config/sparc/sparc.c (sparc_extra_constraint_check):
367 Fix type of argument 'c'.
368 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
369 Likewise.
370
bd6bec6b
GDR
3712002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
372
373 * diagnostic.h (output_buffer_state): Redefine.
374 (output_format_decoder): New macro.
375 (output_prefixing_rule): Likewise.
376 (output_line_cutoff): Likewise.
377 (diagnostic_format_decoder): Adjust.
378 (diagnostic_prefixing_rule): Likewise.
379 (diagnostic_line_cutoff): Likewise.
380 (diagnostic_state): Likewise.
381 (diagnostic_kind_count): Likewise.
382 (diagnostic_buffer): Now a macro.
383
384 * diagnostic.c (diagnostic_buffer): Remove definition.
385 (output_is_line_wrapping): Adjust.
386 (set_real_maximum_length): Likewise.
387 (output_set_maximum_length): Likewise.
388 (init_output_buffer): Likewise.
389 (lhd_print_error_function): Likewise.
390 (output_do_verbatim): Likewise.
391
ebef4e8c
NB
3922002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
393
394 * cpperror.c (print_location): Don't print include chain
395 if line == 0.
396 (cpp_begin_message): Update to use DL_ macros.
397 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
398 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
399 cpp_notice, cpp_notice_from_errno): Remove.
400 (cpp_error, cpp_error_with_line): Update to take a diagnostic
401 level.
402 (cpp_errno): New.
403 * cppexp.c (CPP_ICE): Remove.
404 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
405 lex, integer_overflow, _cpp_parse_expr): Update.
406 * cppfiles.c (read_include_file, find_include_file,
407 handle_missing_header, _cpp_read_file, remap_filename): Update.
408 * cpphash.h (enum error_type): Remove.
409 (_cpp_begin_message): Update.
410 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
411 cpp_handle_option, cpp_post_options): Update.
412 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
413 skip_whitespace, parse_identifier, parse_slow, parse_string,
414 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
415 cpp_interpret_charconst): Update.
416 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
417 lex_macro_node, do_undef, glue_header_name, parse_include,
418 do_include_common, read_flag, do_line, do_linemarker, do_ident,
419 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
420 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
421 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
422 _cpp_pop_buffer, do_diagnostic): Update.
423 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
424 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
425 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
426 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
427 cpp_notice, cpp_notice_from_errno): Remove.
428 (cpp_error, cpp_error_with_line): Update to take a diagnostic
429 level.
430 (cpp_errno): New.
431 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
432 collect_args, enter_macro_context, save_parameter, parse_params,
433 _cpp_create_definition, check_trad_stringification,
434 cpp_macro_definition): Update.
435 * cppmain.c (cpp_preprocess_file): Update.
436 * fix-header.c (read_scan_file): Update.
437
c19a3859
AS
4382002-04-14 Andreas Schwab <schwab@suse.de>
439
440 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
441
10fdbed6
JD
4422002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
443
444 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
445
77660a9a
MM
4462002-04-13 Mark Mitchell <mark@codesourcery.com>
447
448 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
449 not gnu_hurd.
450
e0ff1ded
HPN
4512002-04-13 Hans-Peter Nilsson <hp@axis.com>
452
453 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
454
2341c7ea
JS
4552002-04-13 Joel Sherrill <joel@OARcorp.com>
456
457 * config/sparc/t-elf: Enable v8 multilibs. Impacts
458 sparc-elf and sparc-rtems targets.
459
d29350c0
MM
4602002-04-13 Mark Mitchell <mark@codesourcery.com>
461
462 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
463 defined, and __gnu_hurd__ wherever __GNU__ is defined.
464 * arm/linux-elf.h: Likewise.
465 * cris/aout.h: Likewise.
466 * cris/linux.h: Likewise.
467 * i370/linux.h: Likewise.
468 * i386/gnu.h: Likewise.
469 * i386/linux-aout.h: Likewise.
470 * i386/linux-oldld.h: Likewise.
471 * i386/linux.h: Likewise.
472 * i386/linux64.h: Likewise.
473 * ia64/linux.h: Likewise.
474 * m68k/linux-aout.h: Likewise.
475 * m68k/linux.h: Likewise.
476 * mips/linux.h: Likewise.
477 * pa/pa-linux.h: Likewise.
478 * pj/linux.h: Likewise.
479 * rs6000/sysv4.h: Likewise.
480 * s390/linux.h: Likewise.
481 * sh/linux.h: Likewise.
482 * sparc/linux-aout.h: Likewise.
483 * sparc/linux.h: Likewise.
484 * sparc/linux64.h: Likewise.
485 * xtensa/linux.h: Likewise.
486
fc552851
RS
4872002-04-13 Richard Sandiford <rsandifo@redhat.com>
488
489 * stmt.c (check_unique_operand_names): Expect operand names to
490 be strings rather than identifiers. Use simple_cst_equal to
491 compare them.
492 (resolve_operand_name_1): Make same identifier to string change here.
493 * c-parse.in (asm_operand): Convert a named operand into a string.
494 * cp/parse.y (asm_operand): Likewise.
495
1d405c5e
AS
4962002-04-13 Andreas Schwab <schwab@suse.de>
497
498 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
499
c740732f
MM
5002002-04-12 Mark Mitchell <mark@codesourcery.com>
501
502 Revert these changes:
503
504 2002-04-06 Mark Mitchell <mark@codesourcery.com>
505
506 PR c++/5571
507 * stor-layout.c (layout_decl): Reset the RTL for the decl.
508
3fc602a0
RH
5092002-04-12 Richard Henderson <rth@redhat.com>
510
511 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
512 (sparc*-*-solaris): Clean up header files.
513 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
514 and plan on generating 64-bit code.
515 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
516 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
517 * config/sparc/sol2-sld-64.h: Rename ...
518 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
519 for AS_SPARC64_FLAG not defined.
520 * config/sparc/sol2-gld-bi.h: New.
521 * config/sparc/sol2-sld.h: Remove.
522 * config/sparc/sol26-sld.h: New.
523 * config/sparc/sol2.h: Tidy comments.
524 * doc/install.texi: Document sparc-solaris configury changes.
525
2f15e255
RH
5262002-04-12 Richard Henderson <rth@redhat.com>
527
528 * recog.c (offsettable_address_p): Match the logic in adjust_address.
529
530 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
531 in 64-bit mode only. Use only for 32-bit or MEDLOW.
532
cc8475cb
RO
5332002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
534
535 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
536
6f133a4a
JL
537Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
538
ef1b8858 539 * pa.c (pa_can_combine_p): Call extract_insn before calling
6f133a4a
JL
540 constrain_operands.
541
1329e600
DR
5422002-04-12 Douglas B Rupp <rupp@gnat.com>
543
544 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
545 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
546 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
2d424b9f 547 (CPP_PREDEFINES): Handle __declspec.
1329e600
DR
548 * config/i386/t-interix (USER_H): Remove.
549
0339d239
DD
5502002-04-12 DJ Delorie <dj@redhat.com>
551
552 * integrate.c (compare_blocks): Make comparisons safe for when
553 sizeof(int) < sizeof(char *).
554 (find_block): Likewise.
555
cc4d5fec
JH
5562002-04-12 Jan Hubicka <jh@suse.cz>
557 David Edelsohn <edelsohn@gnu.org>
558
559 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
560 registers.
561 (symbol_ref_operand): New.
562 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
563 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
564
93215a1b
AS
5652002-04-12 Andreas Schwab <schwab@suse.de>
566
567 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
568 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
569 overrides the definition in config/svr4.h.
46468cd9 570
1d80248e
EN
5712002-04-12 Eric Norum <eric.norum@usask.ca>
572
573 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
574 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
575 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
576 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
577 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
578 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
579 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
580 definitions to config/rtems.h and make the targets more similar.
581
fa1591cb
RK
582Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
583
fa06ab5c
RK
584 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
585 POINTERS_EXTEND_UNSIGNED.
586 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
587 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
588
fa1591cb
RK
589 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
590 not specified.
591
12e85a0e
R
592Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
593
594 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
595 depends on TARGET_SHMEDIA, not TARGET_SH5.
596
1ab3e58a
HPN
5972002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
598
599 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
600 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
601
18778292
R
602Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
603
604 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
605 no r0 clobber.
606
9002507c
AS
6072002-04-12 Andreas Schwab <schwab@suse.de>
608
609 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
610
9be40833
RH
6112002-04-12 Richard Henderson <rth@redhat.com>
612
613 PR bootstrap/4191
614 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
615
616 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
617 modes spanning multiple hard regs.
46468cd9 618
9be40833
RH
619 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
620
3d9268b6
JDA
6212002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
622
623 * pa.c (pa_output_function_prologue): Don't accumulate the total
624 number of code bytes when using TARGET_64BIT, or gas, SOM and not
625 the portable runtime.
626 (output_deferred_plabels): Handle 64bit plabels.
627 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
628 generating pic code using the GAS assembler for object formats that
629 are not SOM (ie., ELF32 and ELF64).
630 (output_millicode_call): Check attribute type if attribute length is 28.
631 Likewise use $PIC_pcrel$0. Only call get_attr_length and
632 dbr_sequence_length once.
633 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
634 dbr_sequence_length once.
635 * pa.h (TARGET_SOM): Define if not defined.
636 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
637 with GAS and not SOM.
638 (jump, call_internal_reg, call_value_internal_reg): Likewise.
639 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
640
d360fd18
DB
6412002-04-11 David O'Brien <obrien@FreeBSD.org>
642
643 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
644 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
645 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
646 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
647 elfos.h and dbxelf.h values are fine now.
648 * config/i386/freebsd.h, config/alpha/freebsd.h
649 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
650
5b8fcab6
DB
6512002-04-11 David O'Brien <obrien@FreeBSD.org>
652
653 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
654 or set Acpu or Amachine. Reformat.
655 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
656 define.
657 (LINK_SPEC): Do not need to undef.
658 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
659 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
660 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
661 define.
662 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
663 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
664 (LINK_SPEC): Do not need to undef.
665 (DONT_USE_BUILTIN_SETJMP): Do not define.
666 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
667 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
668 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
669 Remove trailing spaces.
670 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
671 __ELF__, or set Acpu or Amachine. Reformat.
672 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
673 define.
674
fee42cc1
DB
6752002-04-11 David O'Brien <obrien@FreeBSD.org>
676
677 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
678 all other *-*-freebsd* targets.
679
77a403e4
RH
6802002-04-11 Richard Henderson <rth@redhat.com>
681
682 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
683
cf0005c6
DB
6842002-04-11 David O'Brien <obrien@FreeBSD.org>
685
686 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
687 Include {cpu}/{cpu}.h thru tm_file.
688 (alpha*-*-linux*ecoff): Remove target.
689 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
690 (LINK_SPEC): Remove, is not OS independent.
691 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
692 (LINK_SPEC): Do not need to #undef any longer.
693 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
694 any longer.
695 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
696 __ELF__.
697 (LINK_SPEC): Moved here from alpha/elf.h.
698 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
699 SUB_CPP_PREDEFINES.
700 * config/alpha/linux-ecoff.h: Remove.
701 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
702 (CPP_SPEC): Define _POSIX_SOURCE as needed.
703 (CPP_SUBTARGET_SPEC): Do not define.
704 (LINK_SPEC): Do not need to #undef any longer.
705 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
706 * config/alpha/vms.h: Likewise.
707
9be40833 7082002-04-11 Richard Sandiford <rsandifo@redhat.com>
7825d1cf
RS
709
710 * doc/extend.texi: Remove old claim that typedefs cannot have
711 an alignment attribute.
712
010f87c4
JJ
7132002-04-11 Jakub Jelinek <jakub@redhat.com>
714
715 PR optimization/6177
716 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
717 bitpos is 0 and bitsize CONCAT size.
718
578fc63d
JJ
7192002-04-11 Jakub Jelinek <jakub@redhat.com>
720
721 PR c/6223
722 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
723
bf9b85ce
DB
7242002-04-10 David O'Brien <obrien@FreeBSD.org>
725
726 * config/alpha/freebsd.h: Minor reformatting.
727 (CPP_SPEC): Define ELF and add cpp_subtarget.
728 (ASM_SPEC): No longer needed.
729
7425707d
RH
7302002-04-11 Richard Henderson <rth@redhat.com>
731
732 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
733 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
734 (dimode mem/zero splitter): New.
735
1a05e874
HPN
7362002-04-11 Hans-Peter Nilsson <hp@axis.com>
737
738 * config/cris/cris.c (cris_override_options): Tweak error message
739 for PIC not implemented.
740
741 * config/cris/cris.h: Tweak comments related to parameter-passing.
742
743 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
744
6f3d0447
RH
7452002-04-10 Richard Henderson <rth@redhat.com>
746
747 * except.c (add_ehl_entry): Allow duplicates after landing pad
748 creation.
749
174bf2b1
DE
7502002-04-10 David Edelsohn <edelsohn@gnu.org>
751
752 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
753
03f10472
TM
7542002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
755
756 * c-decl.c (c_init_decl_processing): Move generation of
757 decls for g77_integer_type_node and friends from here ...
758 * c-common.c (c_common_nodes_and_builtins): ... to here.
759
2f460a0a
UW
7602002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
761
762 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
763 is only used as frame pointer when frame_pointer_needed is true.
764
0be5cf85
RE
7652002-04-10 Richard Earnshaw <rearnsha@arm.com>
766
767 PR target/817
768 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
769 for the fact that the pool entry uses two words.
770 (movdf_hard_insn): Similarly. Also, ADR instruction can span
771 1k bytes.
772 (movdf_soft_insn): Similarly.
773 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
774 for the fact that the pool entry uses three words.
775
bf6d4777
RS
7762002-04-10 Richard Sandiford <rsandifo@redhat.com>
777
778 * config/mips/mips.c (mips_va_arg): When using the struct version
779 of the EABI va_list, allow arguments in the register save area to
780 take up less room than a stack argument.
781
c2e9dc85
RH
7822002-04-10 Richard Henderson <rth@redhat.com>
783
784 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
785 if EXPAND_INITIALIZER.
786
bc8e8e97
RH
7872002-04-09 Richard Henderson <rth@redhat.com>
788
789 * config/alpha/alpha.md (movdi_er_maybe_g): New.
790 * config/alpha/alpha.c (alpha_expand_mov): Use it.
791
a6a063b8
AM
7922002-04-10 Alan Modra <amodra@bigpond.net.au>
793
794 PR optimization/6233
795 * rtlanal.c (pure_call_p): New function.
796 * rtl.h (pure_call_p): Declare.
797 * loop.c (prescan_loop): Use it to set has_nonconst_call.
798 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
799
7b2e1077
EC
8002002-04-09 Eric Christopher <echristo@redhat.com>
801
802 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
803 information to .comm directive.
804
d8a50944
RH
8052002-04-09 Richard Henderson <rth@redhat.com>
806
807 PR c/5078
808 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
809
6a58eee9
RH
8102002-04-09 Richard Henderson <rth@redhat.com>
811
812 * basic-block.h (flow_delete_block_noexpunge): Declare.
813 (expunge_block_nocompact): Declare.
814 * cfg.c (expunge_block_nocompact): Split out from ...
815 (expunge_block): ... here.
816 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
817 (flow_delete_block_noexpunge): Split out from ...
818 (flow_delete_block): ... here.
819 * cfgcleanup.c (delete_unreachable_blocks): Compact while
820 removing dead blocks.
821 * except.c (exception_handler_labels): Remove.
822 (exception_handler_label_map): New.
823 (struct eh_region): Add aka member.
824 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
825 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
826 (for_each_eh_label, for_each_eh_label_1): New.
827 (init_eh): Register exception_handler_label_map.
828 (free_eh_status): Use free_region.
829 (find_exception_handler_labels): Use the map, not the list.
830 (remove_exception_handler_label): Likewise.
831 (maybe_remove_eh_handler): Likewise.
832 (remove_eh_handler): Use the region aka bitmap.
833 * except.h (exception_handler_labels): Remove.
834 (for_each_eh_label): Declare.
835 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
836 * loop.c (invalidate_loops_containing_label): New.
837 (find_and_verify_loops): Use it. Use for_each_eh_label.
838 * sched-rgn.c (is_cfg_nonregular): Use
839 current_function_has_exception_handlers.
840
b47374fa
RH
8412002-04-09 Richard Henderson <rth@redhat.com>
842
843 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
844 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
845 Do not return changed status.
846 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
847 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
848 New functions that do return changed status.
849 * sbitmap.h: Update decls.
850 * gcse.c, lcm.c: Use _cg functions as needed.
851
1951818c
R
852Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
853
854 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
855 (sh64-*-elf*, sh-*-rtemself*): Likewise.
856 * config/sh/embed_bb.c: New file.
857 * config/sh/embed-elf.h: New file.
858 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
859 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
860 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
861 __PTRDIFF_TYPE__ .
862 (SUBTARGET_CPP_PTR_SPEC): Don't define.
863 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
864 Add subtarget_asm_endian_spec.
865 (ASM_SPEC): Use subtarget_asm_endian_spec.
866 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
867 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
868 (WCHAR_UNSIGNED): Define.
869 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
870 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
871 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
872 Fix value.
873 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
874 (sh_adjust_cost): Likewise.
875 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
876 __PTRDIFF_TYPE__ .
877 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
878 (WCHAR_TYPE_SIZE): Likewise.
879 (ASM_SPEC): Use subtarget_asm_endian_spec.
880 (SH_ELF_WCHAR_TYPE): #undef/ #define.
881 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
882 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
883 (MAX_WCHAR_TYPE_SIZE): Don't #define .
884 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
885 (USER_LABEL_PREFIX): Don't #undef /#define .
886 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
887 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
888 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
889 (ASM_SPEC): Likewise.
890 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
891 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
892 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
893 (LIB2FUNCS_EXTRA): Define.
894 * t-sh64 (LIB2FUNCS_EXTRA): Define.
895 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
896 (LIB1ASMFUNCS_CACHE): Define.
897 (LIB2FUNCS_EXTRA): Redefine empty.
898
34295799
RH
8992002-04-08 Richard Henderson <rth@redhat.com>
900
901 * reorg.c (get_branch_condition): Use reversed_comparison_code.
902
e8766a39
SC
9032002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
904
905 * config/m68hc11/larith.asm (__map_data_section): Fix condition
906 and optimize for size.
907 (__do_global_ctors): Fix pointer comparison.
908 (__do_global_dtors): Likewise.
909
f451b552
DM
9102002-04-09 David S. Miller <davem@redhat.com>
911
912 * config/sparc/sparc.c (sparc_extra_constraint_check): New
913 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
914 allow reloading pseudos.
915 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
916 * config/sparc/sparc-protos.h: Declare it.
917
918 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
919 unsigned comparison warning.
920 (output_restore_regs): Mark leaf_function as unused.
921
1ce7f3c2
RK
922Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
923
924 * expr.c (is_aligning_offset): New function.
925 (expand_expr, case COMPONENT_EXPR): Call it.
926
7a31a340
DM
9272002-04-08 David S. Miller <davem@redhat.com>
928
929 PR target/6082
930 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
931
932 Make init_priority work on Sparc when using GNU ld.
933 * config/sparc/linux.h, config/sparc/linux64.h,
934 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
935 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
936 * config/sparc/sol2-gld.h: New file to do the same.
937 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
938 sparc/sol2-gld.h to tm_file.
939
940 PR optimization/4328
941 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
942 * doc/md.texi: Document it.
943 * config/sparc/sparc.md (movdi_insn_sp64_novis,
944 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
945 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
946 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
947 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
948
11579f33
AJ
9492002-04-08 Andreas Jaeger <aj@suse.de>
950
951 * stmt.c (expand_asm_operands): Revert last patch from Richard
952 Henderson.
953
b57215d9
GP
9542002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
955
956 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
957 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
958
9592002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
960
961 * doc/contrib.texi (Contributors): Add David O'Brien.
962
534d0cc0
AM
9632002-04-08 Alan Modra <amodra@bigpond.net.au>
964
965 * configure.in (auto-build.h): Use target_alias and build_alias
966 when running configure.
967 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
968 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
969 * configure: Regenerate.
970
19fe522a
DM
9712002-04-07 David S. Miller <davem@redhat.com>
972
973 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
974
bf2d0b8e
JDA
9752002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
976
977 PR 5933
978 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
979 generating 32-bit pic code.
980
477cdac7
JT
9812002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
982
983 * cppinit.c (cpp_create_reader): Initialize
984 discard_comments_in_macro_exp.
985 (COMMAND_LINE_OPTIONS): Add "-CC" option.
986 (cpp_handle_option): Handle "-CC" option.
987 * cpplex.c (save_comment): If saving a C++ comment in
988 a directive, convert it to a C comment.
989 (_cpp_lex_direct): Pass second comment start character to
990 save_comment to indicate comment type.
991 * cpplib.c (_cpp_handle_directive): If processing
992 a "#define" directive and discard_comments_in_macro_exp
993 is false, re-enable saving of comments.
994 (lex_macro_node): If discard_comments_in_macro_exp is false,
995 discard any comments before the macro identifier.
996 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
997 member.
998 * cppmacro.c (cpp_get_token): If expanding a macro while
999 processing a directive, discard any comments we might encounter.
1000 (parse_params): If discard_comments_in_macro_exp is false,
1001 ignore comments in the macro parameter list.
1002 * gcc.c (cpp_unique_options): Add "-CC" option.
1003 (option_map): Map "--comments-in-macros" to "-CC".
1004 * doc/cppopts.texi: Document "-CC" option.
1005 * f/lang-specs.h: Add "-CC" option.
1006 * testsuite/gcc.dg/cpp/maccom1.c: New test.
1007 * testsuite/gcc.dg/cpp/maccom2.c: New test.
1008 * testsuite/gcc.dg/cpp/maccom3.c: New test.
1009 * testsuite/gcc.dg/cpp/maccom4.c: New test.
1010 * testsuite/gcc.dg/cpp/maccom5.c: New test.
1011 * testsuite/gcc.dg/cpp/maccom6.c: New test.
1012
f1526122
JDA
10132002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
1014
1015 PR middle-end/6180
1016 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
1017
b1896e61
MM
10182002-04-06 Mark Mitchell <mark@codesourcery.com>
1019
0154eaa8
MM
1020 PR c++/5571
1021 * stor-layout.c (layout_decl): Reset the RTL for the decl.
1022
b1896e61
MM
1023 PR opt/5120
1024 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
1025 RTX_UNCHANGING_P for the functions arguments when a tail call
1026 is made.
1027
b0148884
JM
10282002-04-06 Jason Merrill <jason@redhat.com>
1029
1030 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
1031 (parse_options_and_default_flags): Set them appropriately.
1032 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
1033
392fc5b0
HPN
10342002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
1035
1036 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
1037 here.
1038
1039 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
1040 semicolon.
1041
1042 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
1043 types come in by-reference. Fix typo in comment.
1044
2d69e3cb
DM
10452002-04-05 David S. Miller <davem@redhat.com>
1046
1047 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
1048 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
1049 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
1050 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
1051
10522002-04-05 David S. Miller <davem@redhat.com>
1053
1054 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
1055 are not going to emit return instructions, emit at least a nop
1056 for the sake of sane backtraces.
1057
5f9fb0e3
RH
10582002-04-05 Richard Henderson <rth@redhat.com>
1059
1060 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
1061
49f37a0d
JJ
10622002-04-05 Jakub Jeilnek <jakub@redhat.com>
1063
1064 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
1065
974a3101
AO
10662002-04-05 Alexandre Oliva <aoliva@redhat.com>
1067
1068 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
1069 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
1070 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
1071
2e04a694
AS
10722002-04-05 Andreas Schwab <schwab@suse.de>
1073
a40179bd 1074 * c-convert.c: Include c-common.h.
2e04a694
AS
1075 * Makefile.in (c-convert.o): Updated.
1076
1f785b7c
JJ
10772002-04-05 Jakub Jelinek <jakub@redhat.com>
1078
1079 * mklibgcc.in: Use separate libgcc.map for each multilib.
1080 * Makefile.in (distclean): Don't remove libgcc.map here.
1081
4d2fb38b
JJ
10822002-04-05 Jakub Jelinek <jakub@redhat.com>
1083
1084 * Makefile.in (s-mlib): Handle --disable-multilib by separate
1085 genmultilib invocation.
1086
bb63e5a0
RS
10872002-04-04 Richard Sandiford <rsandifo@redhat.com>
1088
1089 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
1090 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
1091 to num_gprs for symmetry.
1092 * config/mips/mips.c: Adjust accordingly.
1093
8ab80eaa
NB
10942002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
1095
1096 * c-common.c (truthvalue_conversion): Rename, update.
1097 * c-common.h (c_common_truthvalue_conversion): New.
1098 * c-convert.c (convert): Update.
1099 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
1100 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
1101 * c-typeck.c (build_binary_op, build_unary_op,
1102 build_conditional_expr): Update.
1103 * fold-const.c (constant_boolean_node, fold): Use langhook.
1104 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
1105 * langhooks.h (struct lang_hooks): New hook.
1106 * stmt.c (expand_decl_cleanup): Use langhook.
1107 * tree.h (truthvalue_conversion): Remove.
1108objc:
1109 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
1110
a2e9374a
AM
11112002-04-05 Alan Modra <amodra@bigpond.net.au>
1112
1113 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
1114 Add rules to make null object file.
1115
64d08263
JB
11162002-04-04 Jim Blandy <jimb@redhat.com>
1117
1118 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
1119 macro formal parameter names.
1120
aa7634dd
DM
11212002-04-04 David S. Miller <davem@redhat.com>
1122
1123 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
1124
ecc114f7
RH
11252002-04-04 Richard Henderson <rth@redhat.com>
1126
1127 PR middle-end/5099
1128 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
1129 Support copies into and out of memory. Don't accept allows_reg
1130 and allows_mem as gospel.
1131
c4484b8f
RH
11322002-04-04 Richard Henderson <rth@redhat.com>
1133
1134 PR opt/6165
1135 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
1136 (write_dependence_p): Likewise.
1137
39002160
RH
11382002-04-04 Richard Henderson <rth@redhat.com>
1139
1140 * predict.c (estimate_bb_frequencies): Do frequency calculation
1141 with a volatile temporary.
1142
f53ebe71
UW
11432002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
1144
1145 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
1146
15e0ecab
JJ
11472002-04-04 Jakub Jelinek <jakub@redhat.com>
1148
1149 PR c++/6119
1150 * final.c (final_start_function): Don't bump profile_label_no here...
1151 (final_end_function): ...but here.
1152
ffd386b0
JJ
11532002-04-04 Jakub Jelinek <jakub@redhat.com>
1154
1155 * config/sparc/sparc.md (pic): New attribute.
1156 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
1157 into stack slots.
1158 (split after do_builtin_setjmp_setup): New.
1159
8b156b3e
JJ
11602002-04-04 Jakub Jelinek <jakub@redhat.com>
1161
1162 PR fortran/6106
1163 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
1164 change.
1165
014c0998
JJ
11662002-04-04 Jakub Jelinek <jakub@redhat.com>
1167
1168 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
1169 UNITS_PER_WORD for zero sized aggregates.
1170
4d8611d9
DM
11712002-04-03 David S. Miller <davem@redhat.com>
1172
1173 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
1174 one-character spec for this, just use %(link_gcc_c_sequence).
1175
b03ad99d
DM
11762002-04-03 David S. Miller <davem@redhat.com>
1177
1178 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
1179 handling.
1180
823fbbce
JDA
11812002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1182
1183 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
1184 (DWARF_FRAME_RETURN_COLUMN): Move.
1185 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1186 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
1187 * pa.c (except.h, predict.h): Include.
1188 (FRP): Delete.
1189 (store_reg_modify, set_reg_plus_d): Revise prototypes.
1190 (output_ascii): Add cast.
1191 (store_reg_modify): Revise to add frame notes.
1192 (set_reg_plus_d): Likewise.
1193 (compute_frame_size): Include space for eh data registers in frame if
1194 the current function calls eh_return.
1195 (hppa_expand_prologue): Ensure register %r2 is saved if the current
1196 function calls eh_return. Save eh data registers if the current
1197 function calls eh_return. Fix code to add frame notes. Emit
1198 blockage to prevent insns with frame notes being scheduled in the
1199 delay slot of calls.
1200 (hppa_expand_epilogue): Restore eh data registers and do final stack
1201 adjustment if the current function calls eh_return. Don't add frame
1202 notes.
1203 (output_call): Revise for change in length of call insn. Don't do
1204 return pointer adjustment for an unconditional jump in the delay slot
1205 of a call when using frame notes.
1206 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
1207 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
1208 (ARG_POINTER_CFA_OFFSET): Define.
1209 * pa.md (return_external_pic): New pattern.
1210 (prologue): Correct formatting. Use return_external_pic if current
1211 function calls eh_return.
1212 (call_internal_symref, call_value_internal_symref,
1213 sibcall_internal_symref, sibcall_value_internal_symref): Change default
1214 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
1215 respectively.
1216 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
1217
1218 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
1219 list of targets to check using "nop" insn.
1220 * configure: Rebuilt.
1221
4078e224
AM
12222002-04-04 Alan Modra <amodra@bigpond.net.au>
1223
1224 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
1225
bbd7687d
DM
12262002-04-03 David S. Miller <davem@redhat.com>
1227
1228 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
1229 library sequence passed to the linker.
1230 (LINK_COMMAND_SPEC): Use it.
1231 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
1232 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
1233 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1234
659e5a7a
JM
12352002-04-03 Jason Merrill <jason@redhat.com>
1236
1237 * except.c (struct eh_status): Remove protect_list.
1238 (begin_protect_partials, end_protect_partials): Remove.
1239 (add_partial_entry): Remove.
1240 * except.h: Remove prototypes.
1241
1242 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
1243 expand_decl_cleanup_eh.
1244
1245 PR c++/5636
1246 * tree.h (CLEANUP_EH_ONLY): New macro.
1247 * stmt.c (expand_decl_cleanup_eh): New fn.
1248 (expand_cleanups): Check CLEANUP_EH_ONLY.
1249 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
1250 Use expand_decl_cleanup_eh.
1251 (expand_stmt): Adjust.
1252 * c-common.h: Adjust prototype.
1253
053d3344
HPN
12542002-04-04 Hans-Peter Nilsson <hp@axis.com>
1255
1256 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
1257 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
1258 (cris_target_asm_function_epilogue): Ditto.
1259 (cris_initial_frame_pointer_offset): Ditto.
1260 (cris_simple_epilogue): Ditto.
1261 (cris_expand_builtin_va_arg): Variable-size types come in
1262 by-reference.
1263
61ab5260
DM
12642002-04-03 David S. Miller <davem@redhat.com>
1265
1266 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
1267 little-endian.
1268 (set_fast_math): Correct 'fsr' type.
1269
ef4f94ac
RH
12702002-04-03 Richard Henderson <rth@redhat.com>
1271
36c2272c 1272 PR opt/3569
ef4f94ac
RH
1273 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
1274 * toplev.c (check_global_declarations): Use it.
1275 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
1276 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
1277 (LANG_HOOKS_DECLS): Add it.
1278 * langhooks.c (lhd_warn_unused_global_decl): New.
1279 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
1280 * c-objc-common.c (c_warn_unused_global_decl): New.
1281 * c-tree.h (c_warn_unused_global_decl): Declare.
1282 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
1283
599bba86
NB
12842002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
1285
1286 * langhooks-def.h (lhd_set_decl_assembler_name,
1287 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
1288 (LANG_HOOKS_INITIALIZER): Update.
1289 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
1290 * langhooks.h (struct lang_hooks): New hook.
1291 * tree.c (set_decl_assembler_name): Move to langhooks.c.
1292 (lang_set_decl_assembler_name): Remove.
1293 (init_obstacks): Don't set hook.
1294 (decl_assembler_name): New function.
1295 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
1296 (decl_assembler_name): New.
1297 (lang_set_decl_assembler_name): Remove.
1298
cf7b8b0d
JJ
12992002-04-03 Jakub Jelinek <jakub@redhat.com>
1300
1301 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
1302 works properly with .hidden symbols.
1303 * configure: Rebuilt.
1304 * config.in: Rebuilt.
1305 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
1306 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
1307 properly with .hidden symbols.
1308
faf6db38
JJ
13092002-04-03 Jakub Jelinek <jakub@redhat.com>
1310
1311 PR middle-end/6102
1312 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
1313 USE argument.
1314
68c17f30
RH
13152002-04-03 Richard Henderson <rth@redhat.com>
1316
1317 PR opt/4120
1318 * sched-rgn.c (sets_likely_spilled): New.
1319 (sets_likely_spilled_1): New.
1320 (add_branch_dependences): Use it.
1321
6584b4aa
RH
13222002-04-02 Richard Henderson <rth@redhat.com>
1323
1324 PR opt/4311
1325 * loop.h (LOOP_FIRST_PASS): New.
1326 * loop.c (strength_reduce): Mind it when deciding to unroll.
1327 * toplev.c (rest_of_compilation): Set it.
1328
0acf409f
DM
13292002-04-02 David S. Miller <davem@redhat.com>
1330
1331 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
1332 mems_ok_for_ldd_peep when the order of the loads being examined
1333 is reversed.
1334 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
1335 existing comment to increase comprehension of this situation.
1336
85654444
ZW
13372002-04-02 Zack Weinberg <zack@codesourcery.com>
1338
1339 * config/sh/sh.md: Don't use union real_extract.
1340
543828ca
RH
13412002-04-02 Richard Henderson <rth@redhat.com>
1342
1343 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
1344
39ed301b
DB
13452002-04-02 David O'Brien <obrien@FreeBSD.org>
1346
1347 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
1348 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
1349 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
1350 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
1351 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
1352 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
1353 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
1354 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
1355 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
1356 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
1357 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
1358 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
1359 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
1360 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
1361 Include as many configury headers via tm_file as possible. This
1362 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
1363 * config/openbsd-oldgas.h: New file.
1364 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
1365 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
1366 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
1367 config/i386/i386-coff.h, config/i386/i386-interix.h,
1368 config/i386/iscdbx.h, config/i386/linux-aout.h,
1369 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
1370 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
1371 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
1372 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
1373 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
1374 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
1375 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
1376 config/i386/vxi386.h: Do not directly include configury headers.
1377 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
1378 Directly include configury headers that are no longer automatically
1379 included by the above headers.
1380 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
1381 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
1382 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
1383 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
1384 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
1385 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
1386 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
1387 (TARGET_VERSION): Define.
1388 * config/i386/beos-elf.h, config/i386/freebsd.h,
1389 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
1390 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
1391 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
1392 config/i386/sco5.h, config/i386/sysv4.h
1393 (TARGET_VERSION): Do not need to protect.
1394 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
1395 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
1396 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
1397 config/i386/i386-interix.h, config/i386/linux-aout.h,
1398 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
1399 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
1400 (YES_UNDERSCORES): Do not define - not needed.
1401 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
1402 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
1403 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
1404 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
1405 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
1406 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
1407 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
1408 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
1409
9432c136
EB
14102002-04-02 Eric Botcazou <ebotcazou@multimania.com>
1411 Richard Henderson <rth@redhat.com>
1412
1413 PR c/5484
1414 * function.c (assign_temp): Accept either type or decl argument.
1415 Detect variables whose size is too large to fit into an integer.
1416 * stmt.c (expand_decl): Pass the decl, not the type.
1417
058b1275
DB
14182002-04-02 David O'Brien <obrien@FreeBSD.org>
1419
1420 * protoize.c: Match include directory usage with cppdefault.c.
1421
5add6d1a 14222002-04-03 Jeffrey A Law (law@redhat.com)
9be40833 1423 Hans-Peter Nilsson <hp@bitrange.com>
5add6d1a
JL
1424
1425 * combine.c (simplify_comparison): Avoid narrowing a comparison
1426 with a paradoxical subreg when doing so would drop signficant bits.
1427
1e533e4b
SE
14282002-04-02 Steve Ellcey <sje@cup.hp.com>
1429
1430 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
1431 if POINTERS_EXTEND_UNSIGNED is defined.
1432
7a145e92
RH
14332002-04-02 Richard Henderson <rth@redhat.com>
1434
1435 PR opt/3967
1436 * local-alloc.c (contains_replace_regs): LO_SUM may contain
1437 replace regs.
1438
3a079822
RH
14392002-04-02 Richard Henderson <rth@redhat.com>
1440
1441 * doc/standards.texi: Document required freestanding libc entry points.
1442
c94ccb87
AM
14432002-04-02 Alan Modra <amodra@bigpond.net.au>
1444
1445 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
1446 associated splitter. Remove MQ constraint.
1447 (ctrdi_internal4): Correct CCmode clobber.
1448
fe660a1a
JDA
14492002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1450
1451 * milli64.S ($$dyncall): New function.
1452 * t-linux (LIB1ASMFUNCS): Revise module list.
1453 (LIB1ASMSRC): Use pa/milli64.S.
1454
eadc0202
RH
14552002-04-02 Richard Henderson <rth@redhat.com>
1456
1457 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
1458 rename solaris_sys_varargs_h.
1459
a1471322
RK
1460Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1461
1462 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
1463 the same mode as its component.
1464
c8b94768
RH
14652002-04-02 Richard Henderson <rth@redhat.com>
1466
1467 PR opt/190
1468 * final.c (this_is_asm_operands): Export.
1469 * output.h (this_is_asm_operands): Declare.
1470 * config/i386/i386.c (print_operand): Error odd asm operands.
1471
161eb4fc
RH
14722002-04-02 Richard Henderson <rth@redhat.com>
1473
1474 PR opt/420
1475 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
1476
b88a94c6
RH
14772002-04-01 Richard Henderson <rth@redhat.com>
1478
1479 PR target/1538
1480 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
1481 * fixinc/fixincl.x: Rebuild.
1482
72e32876
RH
14832002-04-01 Richard Henderson <rth@redhat.com>
1484
1485 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
1486 (atomic_alloc, atomic_free): New.
1487 (SIZE, MASK_FOR, PTR_IN): New.
1488 (emergency_reg_state, emergency_reg_state_free): New.
1489 (emergency_labeled_state, emergency_labeled_state_free): New.
1490 (reg_state_alloced, labeled_state_alloced): New.
1491 (alloc_reg_state, free_reg_state): New.
1492 (alloc_label_state, free_label_state, free_label_states): New.
1493 (push, pop, dup_state_stack, free_state_stack): Use them.
1494 (desc_label_state): Likewise.
1495 (uw_frame_state_for): Free label states and state stack.
1496 (uw_update_reg_address): Eliminate warnings.
1497
84d76074
VM
14982002-04-01 Vladimir Makarov <vmakarov@redhat.com>
1499
1500 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
9be40833 1501 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
84d76074 1502
dffd7eb6
NB
15032002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1504
1505 * c-decl.c (grokdeclarator): Update.
1506 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1507 * c-tree.h (c_mark_addressable): New.
1508 * c-typeck.c (default_function_array_conversion, build_unary_op,
1509 build_array_ref, convert_for_assignment): Update.
1510 (mark_addressable): Rename.
1511 * calls.c (try_to_integrate, expand_call): Use langhook.
1512 * expr.c (expand_expr): Use langhook.
1513 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
1514 * langhooks.h (struct lang_hooks): New hook.
1515 * stmt.c (expand_asm_operands): Use langhook.
1516 * tree.h (mark_addressable): Remove.
1517objc:
1518 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1519
544ef5b5
BW
15202002-04-01 Bob Wilson <bob.wilson@acm.org>
1521
9be40833
RH
1522 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
1523 in previous change.
544ef5b5 1524
bcf88f9b
BW
15252002-04-01 Bob Wilson <bob.wilson@acm.org>
1526
1527 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
1528 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
1529
ceef8ce4
NB
15302002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1531
1532 * c-common.c (unsigned_conversion_warning, convert_and_check,
1533 unsigned_type, signed_type, shorten_compare,
1534 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
1535 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
1536 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
1537 New.
1538 * c-decl.c (grokdeclarator): Update.
1539 * c-format.c (check_format_types): Update.
1540 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1541 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1542 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
1543 * convert.c (convert_to_integer): Use new hooks.
1544 * expmed.c (make_tree): Use new hooks.
1545 * expr.c (store_expr): Use new hooks.
1546 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
1547 all_ones_mask_p, unextend, fold): Use new hooks.
1548 * langhooks.h (struct lang_hooks_for_types): New hooks.
1549 * tree.h (signed_or_unsigned_type, signed_type,
1550 unsigned_type): Remove.
1551objc:
1552 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1553 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1554
1d9ad0e0
RH
15552002-03-31 Richard Henderson <rth@redhat.com>
1556
1557 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
1558 (desc_frgr_mem): Fix reference to f16-f31.
1559
d544bc39
KG
15602002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1561
1562 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
1563 RTVEC_ELT): Const-ify.
d8750784
KG
1564 * varray.h (VARRAY_CHECK): Const-ify.
1565 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
1566 ggc_mark_rtvec, ggc_mark): Const-ify.
d544bc39 1567
b18101c7
NB
15682002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1569
1570 * diagnostic.c: Include langhooks-def.h.
1571 * Makefile.in (diagnostic.o): Update.
1572
48a7a235
NB
15732002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1574
1575 * c-common.c (c_unsafe_for_reeval): Rename.
1576 * c-common.h (c_unsafe_for_reeval): Rename.
1577 * c-decl.c (finish_incomplete_decl): Rename.
1578 (c_init_decl_processing): Don't set langhook.
1579 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
1580 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
1581 * c-objc-common.c (c_objc_common_init): Don't set langhook.
1582 * c-tree.h (finish_incomplete_decl): Rename.
1583 * langhooks-def.h (lhd_unsafe_for_reeval): New.
1584 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
1585 (LANG_HOOKS_INITIALIZER): Update.
1586 * langhooks.c (lhd_unsafe_For_reeval): New.
1587 * langhooks.h (struct langhooks): New hooks.
1588 * toplev.c (incomplete_decl_finalize_hook): Remove.
1589 (wrapup_global_declarations): Update.
1590 * tree.c (lang_unsafe_for_reeval): Remove.
1591 (unsafe_for_reeval): Update.
1592 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
1593 Remove.
1594objc:
1595 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
1596 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
1597
7cb32822
NB
15982002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1599
1600 * diagnostic.c (print_error_function): Remove.
1601 (default_print_error_function): Rename.
1602 (report_error_function): Update.
1603 * diagnostic.h (print_error_function): Remove.
1604 (default_print_error_function): Remove.
1605 * langhooks-def.h (struct diagnostic_context): Predeclare.
1606 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
1607 (LANG_HOOKS_INITIALIZER): Update.
1608 * langhooks.h (struct diagnostic context): Predeclare.
1609 (struct lang_hooks): New hook.
1610
1db02437
FS
16112002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1612
1613 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
1614 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
1615 !flag_pic.
1616 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
1617 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
1618 of PIC_OFFSET_TABLE_REGNUM thruout.
1619 * config/rs6000/rs6000.md: Likewise.
1620 * config/rs6000/darwin.h: Likewise.
1621
3bf1e984
RK
1622Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1623
1624 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
1625 unsigned HOST_WIDE_INT, not unsigned int.
1626
0864c526
JJ
16272002-03-31 Jakub Jelinek <jakub@redhat.com>
1628
1629 PR middle-end/6096, middle-end/6098, middle-end/6099
1630 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
1631 CODE_LABELs.
1632 (fill_slots_from_thread): Likewise.
1633
105b2084
JJ
16342002-03-31 Jakub Jelinek <jakub@redhat.com>
1635
1636 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
1637 floating fields in float regs.
1638 (function_arg_record_value_2): Likewise.
1639
db08fddf
HPN
16402002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
1641
1642 * config/mmix/mmix.md (define_constants): Remove misleading
1643 FIXME. Add MMIX_fp_rO_OFFSET.
1644 ("nonlocal_goto_receiver"): Don't have stack-frame address of
1645 saved rO as part of the pattern. Remove FIXME.
1646 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
1647 here, at output-time.
1648
4f31cce8
JJ
16492002-03-31 Jakub Jelinek <jakub@redhat.com>
1650
1651 PR middle-end/6100
1652 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
1653 REG_BR_PRED.
1654 (output_v9branch): Likewise.
1655
ba2b7435
AO
16562002-03-31 Alexandre Oliva <aoliva@redhat.com>
1657
1658 * gcc.c: Revert previous patch for now.
1659 * config/i386/djgpp.h: Likewise.
1660
aa66aa5f 16612002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
8f840f57
HPN
1662
1663 * config/mmix/crti.asm (_init): Register _fini with atexit.
1664 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
1665
41ba8a20
RH
16662002-03-31 Richard Henderson <rth@redhat.com>
1667
1668 PR target/3997
1669 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
1670 (ASM_OUTPUT_DEF_FROM_DECLS): New.
1671
adc186ef
RH
16722002-03-31 Richard Henderson <rth@redhat.com>
1673
1674 * libgcc2.c (__bb_exit_func): Make static.
1675
9be40833 1676 * config/alpha/alpha.md (trap): New.
a7648399 1677
9602f5a0
RH
16782002-03-31 Richard Henderson <rth@redhat.com>
1679
1680 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
1681 promoted argument types; build trap.
1682 (expand_builtin_trap): New.
1683 (expand_builtin): Use it.
1684 * stmt.c (expand_nl_goto_receivers): Likewise.
1685 * expr.h (expand_builtin_trap): Declare.
1686 * libfuncs.h (LTI_abort, abort_libfunc): New.
1687 * optabs.c (init_optabs): Init abort_libfunc.
1688
1a0a7539
AO
16892002-03-31 Alexandre Oliva <aoliva@redhat.com>
1690
1691 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
1692 (LINK_COMMAND_SPEC): ... from here.
7b2e1077 1693 (init_gcc_specs): Duplicate it here too, omitting
1a0a7539
AO
1694 shared_name in the second copy.
1695 (init_spec): Test for duplicate
1696 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
1697
b5de1a27
DM
16982002-03-30 David S. Miller <davem@redhat.com>
1699
1700 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1701 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
1702
78414d74 17032002-03-30 Roger Sayle <roger@eyesopen.com>
9be40833 1704 Richard Henderson <rth@redhat.com>
78414d74 1705
9be40833
RH
1706 * regmove.c (combine_stack_adjustments_for_block): Avoid
1707 emitting a stack adjustment of zero bytes. Let delete_insn
1708 update bb->head.
78414d74 1709
33074e5f
RH
17102002-03-30 Richard Henderson <rth@redhat.com>
1711
1712 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
1713 (sparc_emitting_epilogue): New.
1714 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
1715 * config/sparc/sparc-protos.h: Update.
1716 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
1717 (TARGET_SWITCHES): Update.
1718 * config/sparc/sparc.md (return): Remove.
1719 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
1720 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
1721 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
1722 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
1723 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
1724 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
1725 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
1726 Remove MASK_EPILOGUE.
1727 * doc/invoke.texi: Update.
1728
606cc056
DB
17292002-03-30 Daniel Berlin <dan@dberlin.org>
1730
1731 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
1732 CPP will start the file for us.
7b2e1077 1733
bdbe5b8d
RH
17342002-03-30 Richard Henderson <rth@redhat.com>
1735
1736 PR target/5446
1737 * config/ia64/ia64.c (group_barrier_needed_p): Special case
1738 prologue_allocate_stack.
1739 (ia64_single_set): Use insn codes for recognition of special
1740 cases, not rtl matching.
1741 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
1742
4ab95d82
JH
1743Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
1744
1745 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
1746
89a8b315
RH
17472002-03-30 Richard Henderson <rth@redhat.com>
1748
1749 PR target/6032
1750 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
1751 or -fomit-frame-pointer with profiling.
1752 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
1753 (FUNCTION_PROFILER): Do nothing.
1754 (PROFILE_HOOK): New.
1755 * config/sparc/sparc.c (sparc_override_options): Don't check
1756 code models for profiling.
1757 (sparc_function_profiler): Remove.
1758 (sparc_profile_hook): New.
1759 * config/sparc/sparc-protos.h: Update.
1760
30984c57
JJ
17612002-03-30 Jakub Jelinek <jakub@redhat.com>
1762
1763 PR optimization/6086
1764 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
1765 of SUBREG of volatile MEM or because the MEM was mode dependent,
1766 return CLOBBER instead of unmodified SUBREG.
1767
1540f9eb
JH
1768Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1769
89a8b315
RH
1770 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
1771 when not optimizing.
1540f9eb
JH
1772
1773 * toplev.c (rest_of_compilation): Cann mark_constant_function
1774 only when optimizing.
1775
89a8b315
RH
1776 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
1777 are NULL.
1540f9eb
JH
1778
1779 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
1780 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
1781 (try_optimize_cfg): clear all AUX fields.
1782
1783 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1784 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1785 (ix86_address_cost): Be prepared for SUBREGed registers.
1786 (legitimate_address_p): Accept SUBREGed registers.
1787
70d95bac
RH
17882002-03-29 Richard Henderson <rth@redhat.com>
1789
1790 PR target/5672
1791 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
1792
d3294cd9
FS
17932002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1794
1795 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
1796 for aggregate and TFmode types.
1797
a106c875
HPN
17982002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
1799
1800 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
1801
7d7a5d6f
RH
18022002-03-29 Richard Henderson <rth@redhat.com>
1803
6e2d670b 1804 PR target/5886
7d7a5d6f
RH
1805 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
1806 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
1807
30c99a84
RH
18082002-03-29 Richard Henderson <rth@redhat.com>
1809
6e2d670b 1810 PR target/6041
30c99a84
RH
1811 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
1812 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
1813 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
1814 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
1815 conditional.
1816 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
1817
02a566dc
DJ
18182002-03-29 Dale Johannesen <dalej@apple.com>
1819
1820 * loop.c (combine_movables): Do allow combination of pseudos.
1821
bc3a44db
LR
18222002-03-29 Loren J. Rittle <ljrittle@acm.org>
1823
1824 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
1825 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
1826 No functional change except ...
1827 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
1828 * doc/install.texi (*-*-freebsd*): Document port configuration.
1829
b0c48229
NB
18302002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
1831
1832 * Makefile.in (convert.o, calls.o, expmed.o): Update.
1833 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
1834 Use new hooks.
1835 * builtin-types.def (BT_PTRMODE): Update.
1836 * c-common.c (type_for_size): Rename c_common_type_for_size.
1837 (type_for_mode): Similarly.
1838 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
1839 Use new hook.
1840 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
1841 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
1842 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
1843 Redefine.
1844 * c-typeck.c (common_type, comptypes, default_conversion):
1845 Use new hooks.
1846 * calls.c: Include langhooks.h.
1847 (emit_library_call_value_1): Use new hooks. Avoid redundant
1848 calls.
1849 * convert.c: Include langhooks.h
1850 (convert_to_pointer, convert_to_integer): Use new hooks.
1851 * except.c (init_eh): Similarly.
1852 * expmed.c: Include langhooks.h.
1853 (expand_mult_add): Use new hooks.
1854 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
1855 try_casesi): Similarly.
1856 * fold-const.c (optimize_bit_field_compare, make_range,
1857 decode_field_reference, fold_truthop, fold): Similarly.
1858 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
1859 put_var_into_stack): Similarly.
1860 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
1861 LANG_HOOKS_TYPE_FOR_SIZE): New.
1862 (LANG_HOOKS_TYPES_INITIALIZER): Update.
1863 * langhooks.h (lang_hooks_for_types): New hooks.
1864 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
1865 * tree.c (get_unwidened, get_narrower): Similarly.
1866 * tree.h (type_for_mode, type_for_size): Remove.
1867 * varasm.c (force_const_mem): Use new hooks.
1868 * utils2.c (nonbinary_modular_operation): Update.
1869objc:
1870 * objc-act.c (handle_impent): Update.
1871 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
1872 Redefine.
1873
e206a74f
SE
18742002-03-29 Steve Ellcey <sje@cup.hp.com>
1875
1876 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
1877 * config/ia64/ia64.c (basereg_operand): New.
1878 * config/ia64/ia64-protos.h (basereg_operand): Declare.
1879 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
1880
7d9b6378
HPN
18812002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
1882
1883 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
1884 unwind information when frame_pointer_needed.
1885 (mmix_assemble_integer): Tweak wording in comment.
1886
f1e639b1
NB
18872002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
1888
1889 * Makefile.in (except.o): Update.
1890 * except.c: Include langhooks.h.
1891 (init_eh): Use langhook.
1892 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
1893 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
1894 (LANG_HOOKS_INITIALIZER): Update.
1895 * langhooks.h (lang_hooks_for_types): New.
1896 (struct lang_hooks): Add it.
1897 * tree.c (make_lang_type_fn, make_lang_type): Remove.
1898 * tree.h (make_lang_type_fn, make_lang_type): Remove.
1899config:
1900 * alpha/alpha.c: Include langhooks.h.
1901 (alpha_build_va_list): Use langhook.
1902 * d30v/d30v.c: Include langhooks.h.
1903 (d30v_build_va_list): Use langhook.
1904 * i386/i386.c: Include langhooks.h.
1905 (ix86_build_va_list): Use langhook.
1906 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
1907 * s390/s390.c: Include langhooks.h.
1908 (s390_build_va_list): Use langhook.
1909 * stormy16/stormy16.c: Include langhooks.h.
1910 (stormy16_build_va_list): Use langhook.
1911
f17f9332
JJ
19122002-03-29 Jakub Jelinek <jakub@redhat.com>
1913
1914 PR c++/5964
1915 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
1916 attributes.
1917 (length): Compute variable length for branches/calls/jumps here.
1918 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
1919 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
1920 define branch_type attribute.
1921 (divsi3_sp32): Maximum length is 6 not 7.
1922 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
1923 call_address_untyped_struct_value_sp32,
1924 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
1925 * config/sparc/sparc.c (empty_delay_slot): New function.
1926 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
1927 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
1928
0a0440c9
JJ
19292002-03-29 Jakub Jelinek <jakub@redhat.com>
1930
1931 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
1932 nonzero_bits if not needed.
1933 (nonzero_bits) [XOR]: Likewise.
1934 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
1935 reg_last_set_mode and mode are both MODE_INT, but not equal.
1936 (record_value_for_reg): Compute reg_last_set_nonzero_bits
1937 in nonzero_bits_mode for MODE_INT modes.
1938
c9045f47
RH
19392002-03-28 Richard Henderson <rth@redhat.com>
1940
1941 PR target/5715
1942 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
1943 to GAS. Correct drift between alternatives.
1944
f8ed1958
RH
19452002-03-28 Richard Henderson <rth@redhat.com>
1946
1947 PR target/6087
1948 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
1949
54e20385
LR
19502002-03-28 Alexandre Oliva <aoliva@redhat.com>
1951
1952 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
1953 emulation to the linker.
1954
19552002-03-28 Loren J. Rittle <ljrittle@acm.org>
1956
1957 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
1958 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
1959
8bc52806
JL
1960Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
1961
1962 * combine.c (simplify_and_const_int): Make sure to apply mask
1963 when force_to_mode returns a constant integer. PR3311.
1964
279dccc5
JDA
19652002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
1966
1967 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
1968
62aaa62c
GP
19692002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1970
1971 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
1972 and Objective-C Dialect Options.
1973
b8de5050
RH
19742002-03-28 Richard Henderson <rth@redhat.com>
1975
1976 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
1977 comparison should be done vs !=0 not >0 return code. Tidy cases.
1978
619708cc
RH
19792002-03-28 Richard Henderson <rth@redhat.com>
1980
1981 * c-decl.c (finish_function): New arg can_defer_p. Pass it
1982 on to c_expand_body.
1983 * c-tree.h (finish_function): Update decl.
1984 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
1985
b1d874d7
JH
1986Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
1987
1988 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
1989
f5eb5fd0
JH
1990Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
1991
1992 * rtlanal.c: Include flags.h
1993 (may_trap_p): Do not mark FP operations if trapping
1994 if !flag_trapping_math
1995 * Makefile.in (rtlanal.o): Add dependency on flag.h
1996 * ifcvt.c (noce_operand_ok): Avoid the lameness.
1997
81b4c798
ZW
19982002-03-27 Zack Weinberg <zack@codesourcery.com>
1999
2000 * mips.md: Use dconst1, not 1.0, as first argument of
2001 REAL_VALUE_LDEXP. Don't use union real_extract.
2002
55a2ea2a
AM
20032002-03-28 Alan Modra <amodra@bigpond.net.au>
2004
2005 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
2006 rather than $target. Heed program_prefix and
2007 program_transform_name. Search for gas in cross-compiler case too.
2008 "test -x" rather than "test -f".
2009 (gcc_cv_ld): Likewise.
2010 (gcc_cv_nm): Heed program_prefix and program_transform_name.
2011 (gcc_cv_objdump): Likewise.
2012 * configure: Regenerate.
2013
7ffb4fd2
NB
20142002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
2015
2016 * Makefile.in (attribs.o): Update.
2017 * attribs.c: Include langhooks.h.
2018 (decl_attributes): Use langhook.
2019 * c-decl.c (insert_default_attributes): Rename.
2020 * c-tree.h (c_insert_default_attributes): New.
2021 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
2022 (LANG_HOOKS_INITIALIZER): Update.
2023 * langhooks.h (struct lang_hooks): New hook.
2024 * tree.h (insert_default_attributes): Remove.
2025objc:
2026 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
2027
e4dbaed5
AS
20282002-03-27 Andreas Schwab <schwab@suse.de>
2029
2030 * config/i386/i386.c (classify_argument): Also check for
2031 QUAL_UNION_TYPE.
2032
18b467f1
RO
20332002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2034
2035 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
2036 any more.
2037
d337d653
JH
2038Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
2039
2040 * i960.md (ret): Set PC.
2041 (nonlocal_goto): Fix expander.
2042 * builtins.c (epxand_builin_longjmp): Check that we've emitted
2043 some jump or call.
2044
218aa620
JH
2045Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
2046
2047 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
2048 of libcall regions.
2049
e27a4eaf
ZD
2050Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
2051
2052 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
2053 assigning to BLOCK_FOR_INSN directly.
2054
8a12f34c
JH
2055Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
2056
2057 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
2058
c9d892a8
NB
20592002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
2060
2061 * c-common.c (c_expand_expr): Fix prototype.
2062 * c-common.h (c_expand_expr): Always declare, update.
2063 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
2064 * c-objc-common.c (c_objc_common_init): No global hook.
2065 * expr.c (expand_expr): Use langhook.
2066 * expr.h (enum expand_modifier): Conditionally declare.
2067 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
2068 (LANG_HOOKS_INITIALIZER): Update.
2069 * langhooks.c (lhd_expand_expr): New.
2070 * langhooks.h (struct lang_hooks): New hook.
2071 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
2072 (lang_independent_init): Don't default hook.
2073objc:
2074 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
2075
6dad5a56
RH
20762002-03-27 Richard Henderson <rth@redhat.com>
2077
2078 PR target/6054
2079 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
2080 TARGET_CONST_GP. Simplify conditions.
2081
59f96879
RH
20822002-03-27 Richard Henderson <rth@redhat.com>
2083
2084 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
2085 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
2086 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
2087
f3f1190d
DS
20882002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
2089
2090 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
2091 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
2092 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
2093 Remove unnecessary masks.
2094 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
2095 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
2096 -mwindows, -mdll switches and their negations.
2097
31c816cf
NB
20982002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
2099
2100 * gcc-common.c (lang_mark_false_label_stack): Remove.
2101 * ggc.h (lang_mark_false_label_stack): Similarly.
2102
7b2e1077 21032002-03-26 Vladimir Makarov <vmakarov@redhat.com>
aee8f532
VM
2104
2105 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
2106
2107 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
2108 or __rtems_ is defined.
2109
1ef9531b
RH
21102002-03-26 Richard Henderson <rth@redhat.com>
2111
2112 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
2113 if a non-trivial load was emitted.
2114 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
2115 in high+extra+low case.
2116
300d4093
RH
21172002-03-26 Richard Henderson <rth@redhat.com>
2118
2119 * config.gcc (sparc*-solaris): Use float_format=sparc.
2120
b3689904
RH
21212002-03-26 Richard Henderson <rth@redhat.com>
2122
2123 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
2124 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
2125 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
2126 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
2127 (WINT_TYPE_SIZE): Fix at 32.
2128
1eefb6c1
RH
21292002-03-26 Richard Henderson <rth@redhat.com>
2130
2131 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
2132 until after eh landing pad generation.
2133 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
2134 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
2135
361ea006
RH
21362002-03-26 Richard Henderson <rth@redhat.com>
2137
2138 * expr.h (ADD_PARM_SIZE): One more convert for INC.
2139
1de38a88
PE
21402002-03-26 Phil Edwards <pme@gcc.gnu.org>
2141
2142 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
2143 and warning switches.
2144 (cc1_options): Likewise.
2145
d7e60e95 21462002-03-26 Hans Boehm <Hans_Boehm@hp.com>
361ea006 2147
d7e60e95
HB
2148 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
2149 Restore more of the signal context. Set no_reg_stack_frame.
2150 * config/ia64/unwind-ia64.c (unw_state_record):
2151 Add no_reg_stack_frame, comments.
2152 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
2153 (uw_update_context): Adjust bsp when unwinding from leaf,
2154 but not signal frame.
2155
7032923b
DE
21562002-03-26 David Edelsohn <edelsohn@gnu.org>
2157
2158 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
2159
8be56275
BW
21602002-03-26 Bob Wilson <bob.wilson@acm.org>
2161
2162 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
2163
56fbb855
RE
21642002-03-26 Richard Earnshaw <rearnsha@arm.com>
2165
2166 PR target/5621
2167 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
2168 "Add a pool_range attribute", which was lost during the ARM/Thumb
2169 merge.
2170
3437320b
BW
21712002-03-26 Bob Wilson <bob.wilson@acm.org>
2172
2173 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
2174 a register into the MAC16 accumulator.
2175
173028e5
AC
21762002-03-26 Andrew Cagney <ac131313@redhat.com>
2177
2178 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
2179 (Warning Options): Document -Wswitch-enum.
2180 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
2181 -Wswitch.
2182 (warn_switch_enum): Define variables.
2183 * flags.h (warn_switch_enum): Declare variables.
2184 * stmt.c (expand_end_case_type): When warn_switch_enum /
2185 -Wswitch-enum, perform switch checks.
2186 Fix PR c/5044.
7b2e1077 2187
e14365a7
RE
21882002-03-26 Richard Earnshaw <rearnsha@arm.com>
2189
2190 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
2191 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
2192 (reload_muladdsi_compare0_scratch): Delete.
2193
46fc709d
LR
21942002-03-26 Loren J. Rittle <ljrittle@acm.org>
2195
2196 * doc/install.texi (*-*-freebsd*): Update.
2197
f36dea3c
RH
21982002-03-26 Richard Henderson <rth@redhat.com>
2199
8e5fe23f
RH
2200 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
2201 (SUB_PARM_SIZE): Cast DEC to ssizetype.
2202
2203 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
2204 types from the normal argument frame.
2205
f36dea3c
RH
2206 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
2207 variable sized objects by reference.
2208 (sparc_va_arg): Receive them by reference too.
2209
1447dc69
HP
22102002-03-26 Hartmut Penner <hpenner@de.ibm.com>
2211
2212 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
7b2e1077 2213 code to not restoring global registers.
1447dc69 2214
4f0ade92
NB
22152002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
2216
2217 * Makefile.in (ggc-common.o): Update.
2218 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
2219 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
2220 * c-tree.h (c_mark_tree): New.
2221 * ggc-common.c: Include langhooks.h.
2222 (gcc_mark_trees): Use new langhook.
2223 * ggc-callbacks.c: Delete file.
2224 * ggc.h (lang_mark_tree): Remove.
2225 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
2226 (LANG_HOOKS_INITIALIZER): Update.
2227 * langhooks.h (struct lang_hooks): New hook.
2228objc:
2229 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
2230
caba570b
ZW
22312002-03-25 Zack Weinberg <zack@codesourcery.com>
2232
2233 * doc/cpp.texi: Exclude entire Top node from printed manual.
2234 Move option index after directive index. Insert page breaks
2235 before GFDL and concept index. Index environment variables
2236 with command line options.
2237 * doc/cppenv.texi: Use @vtable for environment variable list.
2238 Add paragraph explaining semantics of empty elements in path
2239 variables. Exclude a cross-reference to Fishkill from the
2240 manpage. Remove an unnecessary cross-reference of the entry
2241 right above the referer. Don't use @anchor in text that goes
2242 into manpage.
2243 * doc/cppopts.texi: Cross-reference the environment variables
2244 section, not the specific environment variable, for consistency.
2245
6b2e80b7
RH
22462002-03-25 Richard Henderson <rth@redhat.com>
2247
2248 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
2249 anywhere in the block. Don't refer to insns that have been
2250 removed from the chain. Iterate backward through the new insns.
2251 Don't refer to edges that have been removed.
2252
67e469d7
AM
22532002-03-26 Alan Modra <amodra@bigpond.net.au>
2254
2255 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
2256 test for overflow of constant.
2257
f2356393
RE
22582002-03-25 Richard Earnshaw <rearnsha@arm.com>
2259
2260 PR target/2623
2261 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
2262 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
2263 these patterns on arm_archv4.
2264
355426ab
DS
22652002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
2266
2267 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
2268 int".
2269
15e5ad76
ZW
22702002-03-25 Zack Weinberg <zack@codesourcery.com>
2271
2272 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
2273 float_handled, float_handler, float_signal, set_float_handler,
2274 and do_float_handler. Set handler for SIGFPE to crash_signal.
2275 * toplev.h: Don't prototype do_float_handler.
2276
2277 * c-lex.c: Fold parse_float into lex_number. Make warning
2278 about portability of hex float constants more informative, and
2279 don't issue it on top of a syntax error.
2280 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
2281 their callers.
2282 * real.h: Define REAL_VALUE_ABS here...
2283 * simplify-rtx.c: ... not here. Fold check_fold_consts,
2284 simplify_unary_real, simplify_binary_real, and
2285 simplify_binary_is2orm1 into their callers.
2286 * tree.c: Fold build_real_from_int_cst_1 into caller.
2287
2288 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
2289
2290 * tsystem.h: Include float.h here...
2291 * libgcc2.c: ... not here.
2292
56ae9405
NC
22932002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
2294
2295 Fixes for: PR bootstrap/3591, target/5676
2296 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
2297 defined. Do not disable exceptions or rtti.
2298 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
2299 mcore.h. Disable exceptions and rtti, since they are not
2300 supported by EPOC.
2301
c88770e9
NB
23022002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
2303
2304 * c-decl.c (maybe_build_cleanup): Remove.
2305 * expr.c (expand_expr): Use langhook.
2306 * langhooks-def.h (lhd_return_null_tree,
2307 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
2308 (LANGHOOKS_INITIALIZER): Update.
2309 * langhooks.c (lhd_return_null_tree): New.
2310 * langhooks.h (struct lang_hooks): New hook.
2311 * tree-inline.c (initialize_inlined_parameters): Use langhook.
2312 * tree.h (maybe_build_cleanup): Remove.
2313
2ed1f154
JJ
23142002-03-25 Jakub Jelinek <jakub@redhat.com>
2315
2316 * regrename.c (build_def_use): Move recog_memoized
2317 before extract_insn.
2318
6ddae612
JJ
23192002-03-25 Jakub Jelinek <jakub@redhat.com>
2320
2321 PR target/6043
2322 * expr.c (emit_group_store): Handle storing into CONCAT.
2323
ea475b23
JJ
23242002-03-25 Jakub Jelinek <jakub@redhat.com>
2325
2326 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
2327 corresponding MATCH_DUP.
2328
e7d482b9
RH
23292002-03-24 Richard Henderson <rth@redhat.com>
2330
cd39fc13
RH
2331 * unroll.c (unroll_loop): Zero label_map.
2332
e7d482b9
RH
2333 * gcse.c: Include except.h.
2334 * Makefile.in (gcse.o): Update.
2335
1bd6476f
RH
23362002-03-24 Richard Henderson <rth@redhat.com>
2337
2338 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
2339 Do resolve_unique_section before shared data clause.
2340
2e6c150a
RH
23412002-03-24 Richard Henderson <rth@redhat.com>
2342
2343 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
2344
b29afcf8
RH
23452002-03-24 Richard Henderson <rth@redhat.com>
2346
15e5ad76 2347 * recog.c (peephole2_optimize): Split blocks when EH insns are
b29afcf8
RH
2348 generated in the middle of a block. Do global life update if
2349 zapped EH edges.
2350
05ed1296
RH
23512002-03-24 Richard Henderson <rth@redhat.com>
2352
2353 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
2354
3ddbb8a9
NB
23552002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
2356
2357 preprocessor/3951
15e5ad76 2358 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
3ddbb8a9
NB
2359 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
2360 (init_dependency_output): Don't make no_output decision here.
2361
740b77b6
AC
23622002-03-24 Andrew Cagney <ac131313@redhat.com>
2363
2364 * stmt.c (check_for_full_enumeration_handling): Remove tests of
2365 warn_switch. Update description.
2366 (expand_end_case_type): Call check_for_full_enumeration_handling
2367 when warn_switch.
2368
7590cfd0
SC
23692002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2370
2371 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
2372 (m68hc11_split_move): Call it to see if the source and destination
2373 operands use the same direction auto inc/dec mode, otherwise make the
c61f581f 2374 source an offsetable memory operand and generate an add.
7590cfd0 2375
2e3d3481
SC
23762002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2377
2378 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
2379 register for operand 2.
2380 ("*subsi3_zero_extendqi"): Likewise.
2381 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
2382 bits so that it is compatible with a pop.
2383 ("*andhi3_gen"): Likewise.
2384 ("xorhi3"): Likewise.
2385
2784528c
NB
23862002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
2387
2388 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
2389 -pedantic here...
2390 (cpp_post_options): ... not here.
2391
aaf93206
NB
23922002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
2393 Aldy Hernandez <aldyh@redhat.com>
2394
2395 Removal of separate preprocessor cpp0.
2396
2397 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
2398 cpp0, install-common): Update.
2399 * c-common.c (flag_preprocess_only): New.
2400 (c_common_init): Preprocess for -E.
2401 * c-common.h (flag_preprocess_only): New.
2402 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
2403 * c-objc-common.c (c_init_decl_processing): Exit quickly
2404 for NULL return from c_common_init.
2405 * cpplib.h (cpp_preprocess_file): New.
2406 * cppmain.c (main, general_init, pfile, progname): Remove.
2407 (do_preprocessing): Rename cpp_preprocess_file, don't call
2408 cpp_finish. Don't close stdout here.
2409 (setup_callbacks): Update prototype.
2410 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
2411 Update.
2412 * tradcpp.c (main): Ignore -quiet.
2413objc:
2414 * lang-specs.h (default_compilers): Preprocess with cc1obj.
2415
c6e6f5c1
RH
24162002-03-24 Richard Henderson <rth@redhat.com>
2417
2418 PR optimization/5742
2419 * machmode.def: Add inner mode field to complex modes.
2420 * config/mips/mips.c (mips_function_value): Always define. Add
2421 new argument to handle libcalls.
2422 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
2423 (FUNCTION_VALUE): Likewise.
2424 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
2425 * config/mips/mips-protos.h: Update.
2426
d88e57d1
RH
24272002-03-23 Richard Henderson <rth@redhat.com>
2428
2429 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
2430 * config/sparc/sparc-protos.h: Update.
2431 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
2432
6dfaf9ba
RH
24332002-03-23 Richard Henderson <rth@redhat.com>
2434
2435 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
2436 _start or _init begins the text segment.
2437
0c769cf8
DE
24382002-03-23 David Edelsohn <edelsohn@gnu.org>
2439
2440 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
2441 not HOST_WIDEST_INT.
2442 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
2443
64e92a26
RE
24442002-03-23 Richard Earnshaw <rearnsha@arm.com>
2445
2446 PR java/5489
2447 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
2448 operand argument to output_return_instruction.
15e5ad76 2449 * arm.c (arm_print_operand, case 'd'): If the operand is
64e92a26
RE
2450 const_true_rtx then just return.
2451 (arm_print_operand, case 'D'): If the operand is const_true_rtx
2452 then abort.
2453
d6961341
AC
24542002-03-23 Andrew Cagney <ac131313@redhat.com>
2455
2456 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
2457 (Warning Options): Document -Wswitch-default.
2458 * toplev.c (W_options): Add -Wswitch-default. Update comment on
2459 -Wswitch.
2460 (warn_switch_default): Define variable.
2461 (warn_switch): Update comment.
2462 * flags.h (warn_switch_default): Declare variable.
2463 (warn_switch): Update comment.
2464 * stmt.c (expand_end_case): Check for and, when
2465 warn_switch_no_default, warn of a missing default case.
15e5ad76 2466
d4c5ac1f
AM
24672002-03-23 Alan Modra <amodra@bigpond.net.au>
2468
bbaa9790
AM
2469 * real.h (N): Special case 128 bit doubles.
2470
d4c5ac1f
AM
2471 * combine.c (simplify_comparison): When widening modes, ignore
2472 sign extension on CONST_INTs.
2473
84bf8c2c
BW
24742002-03-22 Bob Wilson <bob.wilson@acm.org>
2475
2476 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
2477 passed to adjust_address. Fix comment formatting.
2478
2479
b216cd4a
ZW
24802002-03-22 Zack Weinberg <zack@codesourcery.com>
2481
2482 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
2483 Always make REAL_VALUE_TYPE a struct containing an array of
2484 HOST_WIDE_INT, not a double. Tidy up the code deciding how
2485 big it is. Don't declare or use union real_extract.
2486
2487 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
2488 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
2489 (print_operand), config/arm/arm.c (output_move_double),
2490 config/arm/arm.md (consttable_4, consttable_8),
2491 config/romp/romp.c (output_fpops), config/s390/s390.h
2492 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
2493 (xtensa_output_literal): Don't use union real_extract.
2494
2495 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
2496 (sfmode_constant_to_ulong), config/ns32k/merlin.h
2497 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
2498 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
2499 (PRINT_OPERAND): Don't use local version of union
2500 real_extract.
2501
2502 * config/convex/convex.c (check_float_value), config/vax/vax.c
2503 (vax_float_literal), config/m88k/m88k.md (divdf3),
2504 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
2505 config/pdp11/pdp11.c (output_move_quad): Don't do host
2506 arithmetic on target floating point quantities.
2507
2508 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
2509 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
2510
2511 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
2512 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
2513
2514 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
2515 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
2516 INFINITY.
2517 * print-rtl.c (print_rtx): Disable code which needs
2518 floating-point emulator.
2519 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
2520 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
2521 depending on HOST_FLOAT_FORMAT to be defined properly.
2522
2523 * config/1750a/1750a.c (get_double, float_label): Delete.
2524 (print_operand): Delete huge commented-out chunk. Use
2525 REAL_VALUE_TO_DECIMAL.
2526 * config/1750a/1750a-protos.h: Delete prototypes of deleted
2527 functions.
2528 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
2529 IEEE_FLOAT_FORMAT.
2530 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
2531 Use REAL_VALUE_TO_DECIMAL as ELF version does.
2532 * config/m88k/m88k.c (real_power_of_2_operand,
2533 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
2534 real_extract out of the union; run the input through
2535 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
2536 from that into the union.
2537 * config/pdp11/pdp11.c (output_move_double): Rearrange
2538 parentheses to make automatic indenter happy.
2539
2540 * doc/tm.texi (Cross-compilation): Rename node to "Floating
2541 Point" and rewrite to describe current situation. Also adjust
2542 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
2543 match code.
2544 * doc/rtl.texi: Adjust cross reference.
2545
a8cacfd2
BW
25462002-03-22 Bob Wilson <bob.wilson@acm.org>
2547
2548 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
2549 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
2550 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
2551 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
2552 prevent use of sp as a reload register.
2553 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
2554 non_acc_reg_operand.
2555 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
2556 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
2557 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
2558 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
2559
d4e6133f
NB
25602002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
2561
b216cd4a
ZW
2562 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
2563 * cpplex.c (unterminated): Delete.
2564 (parse_string): No string literal may extend over multiple
2565 lines. Suppress the error when preprocessing assembly.
d4e6133f
NB
2566 * cppmain.c (scan_translation_unit): Strings are single-line.
2567
b216cd4a 2568 * doc/cpp.texi: Update to match.
d4e6133f 2569
65e6c005
JJ
25702002-03-22 Jakub Jelinek <jakub@redhat.com>
2571
2572 PR optimization/5854
2573 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
2574 Shut up warnings.
2575 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
2576 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
2577 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
2578 const0 if scratch register was not allocated.
2579 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
2580 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
2581 with GEN_INT (...).
2582 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
2583 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
2584 with GEN_INT (...) everywhere. Remove constraints in define_split
2585 patterns.
2586 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
2587 require scratch register for setting 0 into regs/non-pushable memory.
2588
7f48c9e1
AO
25892002-03-22 Alexandre Oliva <aoliva@redhat.com>
2590
2591 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
2592 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
2593
909de5da
PE
25942002-03-22 Phil Edwards <pme@gcc.gnu.org>
2595
2596 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
2597 * cppinit.c (cpp_create_reader): On by default.
2598 (cpp_handle_option): Handle -W[no-]endif-labels.
2599 (cpp_post_options): Also enable if -pedantic.
2600 * cpplib.c (do_else): Use it.
2601 (do_endif): Likewise.
2602 * doc/cppopts.texi: Document new option.
2603 * doc/invoke.texi: Document new option.
2604
d8bf17f9
LB
26052002-03-22 Lars Brinkhoff <lars@nocrew.org>
2606
2607 * config/i386/i386.c, config/i386/i386.md: Change all occurences
2608 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
2609
70e0ccd0
AO
26102002-03-22 Alexandre Oliva <aoliva@redhat.com>
2611
2612 * flow.c (calculate_global_regs_live): Clear aux fields of
2613 ENTRY and EXIT.
2614
68882f0f
JJ
26152002-03-22 Jakub Jelinek <jakub@redhat.com>
2616
2617 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
2618 REG or MEM subregs, pass rtx * instead of rtx to it.
2619 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
2620 rtx * instead of rtx to alter_subreg.
2621 * config/m32r/m32r.c (gen_split_move_double): Likewise.
2622 * config/pj/pj.c (pj_output_rval): Likewise.
2623
648fe28b
RH
26242002-03-22 Richard Henderson <rth@redhat.com>
2625
2626 PR target/3177
2627 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
2628 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
2629 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
2630 (ia64_expand_prologue): Look at int_regs, not words, for number
2631 of incomming int regs.
2632
e8dcd824
AM
26332002-03-22 Andrew MacLeod <amacleod@redhat.com>
2634
2635 * expr.c (expand_expr): A RESULT_DECL is part of a call.
2636
96327cdc
JH
2637Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
2638
2639 * toplev.c (flag_loop_optimize, flag_crossjumping):
2640 New static variables.
2641 (rest_of_compilation): Conditionalize crossjumping and
2642 loop optimizer.
2643 (parse_options_and_default_flags): Default loop_optimize and
2644 crossjumping.
2645 (lang_independent_options): Add -fcrossjumping and -floop-optimize
2646 * invoke.texi (crossjumping, loop-optimize): Document.
2647
bc185257
RS
26482002-03-22 Richard Sandiford <rsandifo@redhat.com>
2649
2650 * real.c (eiisneg): Move outside #ifdef NANS.
2651
0a2ed1f1
JH
2652Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
2653
2654 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
2655 frequencies match; avoid match on different loop depths.
2656 (try_crossjump_to_bb): Kill tests that no longer brings time
2657 savings.
2658 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
2659 updating code.
2660 (split_edge): Likewise.
2661
2662 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
2663 variable.
2664
2665 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
2666 * cfgrtl.c: Include insn-config.h
2667 (split_block) Dirtify block in presence of conditional execution
2668
4d72536e
RS
26692002-03-22 Richard Sandiford <rsandifo@redhat.com>
2670
2671 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
2672 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
2673 (function_arg): Constify CUMULATIVE_ARGS.
2674 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
2675 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
2676 (UNITS_PER_DOUBLE): New macro.
2677 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
2678 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
2679 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
2680 fp_regs and stack_words.
2681 (EABI_FLOAT_VARARGS_P): New macro.
2682 * config/mips/mips.c (struct mips_arg_info): New.
2683 (mips_arg_info): New function.
2684 (function_arg_advance): Use it. Add adjustment instructions here
2685 rather than in function_arg.
2686 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
2687 for VOIDmode at the beginning of the function.
2688 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
2689 (function_arg_pass_by_reference): Likewise.
2690 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
2691 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
2692 (mips_va_start): Likewise. Use the new stack_words field of
2693 CUMULATIVE_ARGS to set up overflow area. Reformat.
2694 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
2695 doubles and other types, aligning the overflow pointer for non-doubles
2696 too. Remove some code duplication. Replace hard-coded constants.
2697
e6f884cd
RS
26982002-03-22 Richard Sandiford <rsandifo@redhat.com>
2699
2700 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
2701 (CLASS_UNITS): Undefine.
2702 (CLASS_MAX_NREGS): Use FP_INC.
2703 * config/mips/mips.c (compute_frame_size): Likewise.
2704 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
2705
10cf9bde
NB
27062002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
2707
2708 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
2709 prototype, and handle lexing numbers and identifiers.
2710 (parse_identifier): Update to new form of parse_slow.
2711 (parse_number): Fast path only, use parse_slow otherwise.
2712 (_cpp_lex_direct): Update calls to parse_number.
2713
fbc2782e
DD
27142002-03-21 DJ Delorie <dj@redhat.com>
2715
2716 * bb-reorder.c (make_reorder_chain_1): Protect against
2717 when redundant edges are omitted.
2718 * predict.c (dump_prediction): Likewise.
2719
fba39eaf
RH
27202002-03-21 Richard Henderson <rth@redhat.com>
2721
2722 PR target/5996
2723 * fixinc/inclhack.def (solaris_stdio_tag): New.
2724 * fixinc/fixincl.x: Regenerate.
2725
eba80994
EB
27262002-03-21 Eric Botcazou <ebotcazou@multimania.com>
2727
2728 PR c/5597
2729 * c-typeck.c (process_init_element): Flag non-static
2730 initialization of a flexible array member as illegal.
2731
2a78758b
AM
27322002-03-22 Alan Modra <amodra@bigpond.net.au>
2733
2734 * config/rs6000/t-linux64: New.
2735 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
2736 t-ppccomm. Use t-rs6000 and t-linux64.
2737 (powerpc64-*-gnu* <tmake_file>): Likewise.
bac015e7
AM
2738 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
2739 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
2740 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
2a78758b 2741
2cb921f4
AH
27422002-03-21 Aldy Hernandez <aldyh@redhat.com>
2743
eba80994
EB
2744 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
2745 flag_really_no_inline instead of optimize == 0.
2cb921f4 2746
eba80994 2747 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
2cb921f4 2748
eba80994 2749 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
2cb921f4 2750
eba80994 2751 * flags.h (flag_really_no_inline): New.
2cb921f4 2752
659e5a7a 2753 * c-common.c (c_common_post_options): Initialize
eba80994 2754 flag_really_no_inline.
2cb921f4 2755
eba80994 2756 * toplev.c (flag_really_no_inline): New.
2cb921f4 2757
239b8b9d
JJ
27582002-03-21 Jakub Jelinek <jakub@redhat.com>
2759
2760 * config/avr/avr.md (length): Fix length computation for
2761 conditional branches.
2762
43577e6b
NB
27632002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
2764
2765 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
2766 sdbout.o, profile.o): Update.
2767 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
2768 langhook.
2769 * c-common.h (gettags): Move here from tree.h.
2770 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
2771 insert_block, getdecls, kept_level_p, global_bindings_p): New.
2772 * dbxout.c (dbxout_init): Use getdecls langhook.
2773 * expr.c (expand_expr): Use insert_block langhook.
2774 * fold-const.c: Include langhooks.h.
2775 (fold_range_test, fold_binary_op_with_conditional_arg,
2776 fold): Use global_bindings_p langhook.
2777 * integrate.c (expand_inline_function): Use insert_block langhook.
2778 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
2779 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
2780 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
2781 LANG_HOOKS_GETDECLS): New.
2782 (LANG_HOOKS_INITIALIZER): Update.
2783 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
2784 langhook.
2785 * langhooks.h (struct lang_hooks_for_decls): New.
2786 (struct lang_hooks): Update.
2787 * profile.c: Include langhooks.h.
2788 (output_func_start_profiler): Use new langhooks.
2789 * sdbout.c: Include langhooks.h.
2790 (sdbout_init, sdbout_finish): Use getdecls langhook.
2791 * stmt.c: Include langhooks.h.
2792 (expand_fixup, fixup_gotos): Use new langhooks.
2793 * stor-layout.c: Include langhooks.h.
2794 (variable_size): Use global_bindings_p langhook.
2795 * toplev.c (compile_file): Use getdecls langhook.
2796 * tree-inline.c (remap_block): Use insert_block langhook.
2797 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
2798 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
2799
5b19b10c
RH
28002002-03-21 Richard Henderson <rth@redhat.com>
2801
2802 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
2803 constants in .data when -fpic.
2804
e05af335
GP
28052002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2806
2807 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
2808 where appropriate.
2809
60ffc997
TT
28102002-03-21 Tom Tromey <tromey@redhat.com>
2811
2812 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
2813
75897075
RK
2814Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2815
a73afd69 2816 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
46399021 2817
75897075
RK
2818 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
2819
312687cf
EB
28202002-03-21 Eric Botcazou <ebotcazou@multimania.com>
2821 Richard Henderson <rth@redhat.com>
2822
2823 PR c/5354
2824 * c-common.c (c_expand_expr): Preserve result of a statement
2825 expression if needed.
2826
f0e1f482
JJ
28272002-03-21 Jakub Jelinek <jakub@redhat.com>
2828
2829 PR bootstrap/4195
2830 * genrecog.c (maybe_both_true_mode): Remove.
2831 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
2832 * machmode.def (Pmode): Likewise.
2833
c14b9960
JW
2834Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
2835
2836 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
2837 (nonlocal_mentioned_p_1): New function.
2838 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
2839 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
2840 (mark_constant_function): Recognize pure functions.
2841 * rtl.h (global_reg_mentioned_p): New prototype.
2842 * rtlanal.c (global_reg_mentioned_p,
2843 global_reg_mentioned_p_1): New function.
2844
aaa4d130
RO
28452002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2846
2847 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
2848 UNIX assert.h.
2849 * fixinc/fixincl.x: Regenerate.
2850
e5c4bd1b
JM
28512002-03-20 Jason Merrill <jason@redhat.com>
2852
2853 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
2854
852b81bb
MM
28552002-03-20 Michael Meissner <meissner@redhat.com>
2856
2857 * doc/invoke.texi (Optimize Options): Document that -O2 sets
2858 -fstrict-aliasing.
2859
86d8c251
BW
28602002-03-20 Bob Wilson <bob.wilson@acm.org>
2861
2862 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
2863 ".literal_position" directive before the constant pool.
2864
0a39c350
GP
28652002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2866
2867 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
2868 Add Craig Rodrigues.
2869 Add Brad Lucier to testers.
2870
71a83373
JJ
28712002-03-20 Jakub Jelinek <jakub@redhat.com>
2872
2873 PR target/4792
2874 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
2875 to if_then_else.
2876 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
2877 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
2878 instead of insn_extract.
2879
a29b099d
JJ
28802002-03-20 Jakub Jelinek <jakub@redhat.com>
2881
2882 PR bootstrap/4192
71a83373 2883 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
a29b099d
JJ
2884
2885 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
2886 stmt if some case has been output.
2887
048b1c95
JJ
28882002-03-20 Jakub Jelinek <jakub@redhat.com>
2889
2890 PR c/5972
2891 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
2892 movsfcc_1, movdfcc_1): Add %O2.
2893 * config/i386/i386.c (print_operand): Handle %ON.
2894 Print . before float condition codes in Sun as cmov syntax.
2895 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
2896 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
2897 no longer true.
2898
f4864588
PB
28992002-03-20 Philip Blundell <pb@nexus.co.uk>
2900
2901 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
2902 return instruction if PC was popped.
2903
3a307de4
BW
29042002-03-20 Bob Wilson <bob.wilson@acm.org>
2905
2906 * config/xtensa/xtensa.md: Remove unused type attributes.
2907 (adddi_carry, subddi_carry): Change type attribute to "multi".
2908
048b1c95 29092002-03-19 Dale Johannesen <dalej@apple.com>
ed7d44bc
DJ
2910
2911 PR optimization/5999, middle-end/5731
2912 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
2913 multiplications by reciprocals.
2914
7afff7cf
NB
29152002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
2916
2917 * Makefile.in: Update.
2918 * c-common.c: Include langhooks.h.
2919 (inline_forbidden_p): Use new hook.
2920 * diagnostic.c: Include langhooks.h.
2921 (format_with_decl, announce_function,
2922 default_print_error_function): Use new hook.
2923 * dwarf2out.c (dwarf2_name): Use new hook.
2924 * function.c: Include langhooks.h.
2925 (init_function_start): Use new hook.
2926 * langhooks-def.h (lhd_decl_printable_name): New.
2927 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
2928 (LANGHOOKS_INITIALIZER): Update.
2929 * langhooks.c (lhd_decl_printable_name): New.
2930 * langhooks.h (struct lang_hooks): New hook.
2931 * toplev.c (decl_name, decl_printable_name): Remove.
2932 (open_dump_file): Use new hook.
2933 (process_options): Remove old hook.
2934 * tree.h (decl_printable_name): Remove.
2935objc:
2936 * objc-act.c (objc_init): Remove old hook.
2937 (objc_printable_name): Export.
2938 * objc-act.h (objc_printable_name): New.
2939 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
2940
f78ce0b7
JB
29412002-03-19 Jim Blandy <jimb@redhat.com>
2942
2943 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
2944 the start_source_file debug hook, not the current line number.
2945
15b5aef3
RH
29462002-03-19 Richard Henderson <rth@redhat.com>
2947
2948 * flow.c (EH_USES): Provide default.
2949 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
2950 * doc/tm.texi (EH_USES): New.
2951
2952 * config/ia64/ia64.c (ia64_eh_uses): New.
2953 * config/ia64/ia64-protos.h: Update.
2954 * config/ia64/ia64.h (EH_USES): New.
2955
02a7a3fd
RH
29562002-03-19 Richard Henderson <rth@redhat.com>
2957
2958 * varasm.c (output_constant_def): Fix stupid typo.
2959
93f82d60
RH
29602002-03-19 Richard Henderson <rth@redhat.com>
2961
2842be05 2962 PR 5879
93f82d60
RH
2963 * except.c (current_function_has_exception_handlers): New.
2964 * except.h: Declare it.
2965 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
2966 Combine tests that disable all sibcalls for the function.
2967
ed4fbfa0
OH
29682002-03-19 Olivier Hainque <hainque@act-europe.fr>
2969
2970 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
2971 for INTEGER_CST.
2972
ebf0e888
RH
29732002-03-19 Richard Henderson <rth@redhat.com>
2974
1e82682b 2975 PR 5977, 5991
ebf0e888
RH
2976 * config/ia64/ia64.c: Revert 2002-03-01 patch.
2977 * config/ia64/ia64.h (INIT_EXPANDERS): New.
2978
e37b38d7
JB
29792002-03-19 Jim Blandy <jimb@redhat.com>
2980
2981 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
2982 name, even if the replacement list contains no tokens, as required
2983 by Dwarf.
2984
2a4ea326
JM
29852002-03-19 Jason Merrill <jason@redhat.com>
2986
f9d09ae5
JM
2987 * varasm.c (globalize_decl): Get the name from the RTL, not
2988 DECL_ASSEMBLER_NAME.
2989
2a4ea326
JM
2990 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
2991
99b96edb
BW
29922002-03-19 Bob Wilson <bob.wilson@acm.org>
2993
2994 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
2995 subdi_carry): Define.
2996
3774b567
DE
29972002-03-19 David Edelsohn <edelsohn@gnu.org>
2998
2999 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
3000 about -fpic/-fPIC if extra_warnings set.
3001
21ef78aa
DE
30022002-03-19 David Edelsohn <edelsohn@gnu.org>
3003
3004 * expr.c (expand_expr): Sign-extend CONST_INT generated from
3005 TREE_STRING_POINTER.
0c2fdcdf 3006 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
21ef78aa 3007
91d4b3fd
RK
3008Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3009
3010 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
3011 in favor of SP if FRAME_POINTER_REQUIRED is false.
3012
2496c7bd
LB
30132002-03-19 Lars Brinkhoff <lars@nocrew.org>
3014
3015 * emit-rtl.c (gen_int_mode): New function.
3016 * rtl.h: Prototype for it.
3017 * combine.c (make_extraction, simplify_comparison), expmed.c
3018 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
3019 (convert_modes, store_field), optabs.c (expand_fix),
3020 simplify-rtx.c (neg_const_int, simplify_unary_real),
3021
3022 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
3023 Use it instead of GEN_INT (trunc_int_for_mode (...)).
3024
f735a153
JJ
30252002-03-19 Jakub Jelinek <jakub@redhat.com>
3026
3027 PR c/5656
3028 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
3029 convert_parm_for_inlining.
3030 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
3031 Define.
3032 * langhooks-def.h: Likewise.
3033 * objc/objc-lang.c: Likewise.
3034 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
3035 function.
3036 * tree-inline.c (initialize_inlined_parameters):
3037 Call convert_parm_for_inlining lang hook if needed.
3038 * c-typeck.c (c_convert_parm_for_inlining): New function.
3039 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
3040
1929c971
MM
30412002-03-18 Mark Mitchell <mark@codesourcery.com>
3042
b216cd4a 3043 * calls.c (precompute_arguments): Do not assume that temporaries
1929c971
MM
3044 can be destroyed after expanding the argument.
3045 (expand_call): Likewise.
3046
c79ca0ac
EC
30472002-03-15 Eric Christopher <echristo@redhat.com>
3048
3049 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
3050 Fix register preference on last change.
3051 * config/mips/mips.c (mips_return_in_memory): New function.
3052 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
3053 * config/mips/mips-protos.h: Declare.
3054 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
3055 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
3056
07e2e444
AO
30572002-03-18 Alexandre Oliva <aoliva@redhat.com>
3058
1bfbbbcf
AO
3059 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
3060 a register too.
3061 (anddi3, iorsi3): Likewise.
3062
c066429e
AO
3063 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
3064 use %gprel for symbols that are going to be placed in linkonce
3065 sections.
3066
07e2e444
AO
3067 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
3068 RETURN_ADDRESS_POINTER_REGNUM to $ra.
3069 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
3070 not needed. Disregard leaf_function_p().
3071 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
3072 mips16 frame pointer.
3073 * config/mips/mips.md (store ra): Only to small SP offsets.
3074 2001-08-22 Graham Stott <grahams@redhat.com>
3075 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
3076 return a REG rtx for the return address register.
3077
eb8e00ea
BW
30782002-03-18 Bob Wilson <bob.wilson@acm.org>
3079
3080 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
3081 constant-pool addresses as "mode-dependent".
3082 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
3083
cbb92744
JJ
30842002-03-18 Jakub Jelinek <jakub@redhat.com>
3085
3086 PR target/5740
3087 * expr.c (emit_group_load): Use extract_bit_field if
3088 needed for CONCAT arguments.
3089
657d9449
RE
30902002-03-18 Richard Earnshaw <rearnsha@arm.com>
3091
91f3a802 3092 PR target/4863
657d9449
RE
3093 * arm.md (tablejump): Make this a define_expand. For PIC add the
3094 offset to the base of the table.
3095 (thumb_tablejump): Matcher for Thumb tablejump insn.
3096 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
3097 as the difference of two labels.
3098 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
3099 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
3100 tables in the code.
3101 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
3102 * arm.c (get_jump_table_size): If the table is not in the text
3103 section, return zero.
c79ca0ac 3104
5d5603e2
BS
31052002-03-18 Bernd Schmidt <bernds@redhat.com>
3106
3107 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
3108 of gen_rtx_SUBREG.
3109 (arm_reload_out_hi): Use gen_lowpart instead of
3110 gen_rtx_SUBREG to access QImode components.
3111 * config/arm/arm.md: Disable zero_extend split for QImode
3112 subregs in BIG_ENDIAN mode.
3113 (storehi_bigend): Match use of least significant byte.
3114 (storeinthi): Remove extraneous SUBREG.
66c17b64 3115 Add missing construction of operands[2].
5d5603e2
BS
3116 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
3117 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
3118 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
3119
df15fbc7
AH
31202002-03-18 Aldy Hernandez <aldyh@redhat.com>
3121
2496c7bd
LB
3122 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
3123 any_operand.
df15fbc7 3124
b83b7fa3
RH
31252002-03-17 Richard Henderson <rth@redhat.com>
3126
3127 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
3128 explicitly.
3129
6f7c00fe
HPN
31302002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
3131
3132 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
3133 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
3134
155038f2
KG
31352002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3136
720d42fa
KG
3137 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
3138
155038f2
KG
3139 * predict.c (estimate_bb_frequencies): Delete unused variables.
3140
e6542f4e
RH
31412002-03-17 Richard Henderson <rth@redhat.com>
3142
3143 * config/ia64/ia64.c (ia64_attribute_table): Move before
3144 targetm definition. Make static.
3145
52dabb6c
NB
31462002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
3147
3148 * c-common.h (yyparse, c_common_parse_file): New.
3149 * c-lang.c: Include c-common.h.
3150 (LANG_HOOKS_PARSE_FILE): Redefine.
3151 * c-lex.c: Include c-common.h.
3152 (yyparse): Rename c_common_parse_file. Call yyparse.
3153 * c-parse.in (yyparse): Remove macro.
3154 * c-tree.h (yyparse_1): Remove.
3155 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
3156 (LANG_HOOKS_INITIALIZER): Update.
3157 * langhooks.h (struct lang_hoooks): New hook parse_file.
3158 * toplev.c (compile_file): Use parse_file hook.
3159 * tree.h (yyparse): Remove.
e6542f4e 3160 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
52dabb6c 3161
b5ffe606
HPN
31622002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
3163
ba82f58b
HPN
3164 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
3165 float_truncate, not fix.
3166 ("*truncdfsf2_real"): Ditto.
3167 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
3168
b5ffe606
HPN
3169 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
3170
c8d1b2b7
AO
31712002-03-16 Alexandre Oliva <aoliva@redhat.com>
3172
cfb773f9
AO
3173 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
3174 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
3175 where appropriate. Make the second reference to
3176 leaf_function_p a function call, as intended. Reindented.
3177
4dffef52
AO
3178 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
3179 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
3180
4f5bd6d7
AO
3181 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
3182 add register to non-constant into sp.
3183
c8d1b2b7
AO
3184 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
3185 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
3186 (mips16_gp_pseudo_rtx): Lose.
3187 (INIT_EXPANDERS): Deleted.
3188 * config/mips/mips.c (mips_init_machine_status): New.
3189 (mips_free_machine_status): New.
3190 (mips_mark_machine_status): New.
3191 (override_options): Set them.
3192 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
3193 (struct machine_function): ... new. Replaced all references.
3194 (mips_add_gc_roots): Don't mark them.
3195 (embedded_pic_fnaddr_reg): New, extracted from...
3196 (embedded_pic_offset): ... here.
3197 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
3198 (movsi): Likewise.
3199
b3124fac
NB
32002002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
3201
3202 * cppinit.c: Revert -MD removal.
3203
121449b6
SC
32042002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3205
3206 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
3207 soft registers by default for 68HC12.
3208 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
3209 when compiling with -fomit-frame-pointer.
3210 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
3211 (expand_epilogue): Likewise.
3212 (m68hc11_gen_rotate): Use exg when rotating by 8.
3213
840e2ff1
SC
32142002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3215
3216 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
3217 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
3218 (splits): Remove unused add splits.
3219 ("*addhi3_68hc12"): Tune constraints.
3220 ("addhi_sp"): Try to use X instead of Y in all cases and if the
3221 constant fits in 8-bits and D is dead use abx/aby instructions.
3222 ("*addhi3"): Remove extern declaration of ix_reg.
3223 ("*subsi3"): Optimize and provide new split.
3224 ("subhi3"): Cleanup.
3225 ("*subhi3_sp"): Avoid saving X if we know it is dead.
3226 (arith splits): For 68hc12 save the address register on the stack
3227 and do the arithmetic operation with a pop.
3228
3c9a5efe
SC
32292002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3230
3231 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
3232 allocating QImode in address registers.
3233 ("*movqi_m68hc11"): Likewise.
3234
e41f3392
JH
3235Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
3236
3237 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
3238
576786b0
NB
32392002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
3240
3241 * cppinit.c (print_help): Display -MD and -MMD.
3242 Don't display usage string. Update assertion syntax and
3243 typo.
3244 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
3245 (cpp_handle_option): Update.
3246
1ac458d4
CD
32472002-03-15 Chris Demetriou <cgd@broadcom.com>
3248
3249 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
3250 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
3251 and define it so that regardless of target CPU size,
3252 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
3253 of "int" rather than "long."
3254
1fcd592b
RH
32552002-03-15 Richard Henderson <rth@redhat.com>
3256
3257 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
3258 size as a tree.
3259
a0df6910
SC
32602002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3261
3262 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
3263 ("tstqi" split): Avoid using memory for tstqi on address register.
3264 (splits): Remove constraints.
3265 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
3266 ("cmpdf", "cmpsf"): Remove since not used.
3267 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
3268 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
3269
015a2e59
SC
32702002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3271
3272 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
3273 ("neghi2"): Tighten constraints.
3274 ("one_cmplsi2"): Optimize and simplify split.
3275 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
3276
cd28557c
SC
32772002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3278
3279 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
3280 and split of AND operation to clear the upper bits.
3281 ("*logicalsi3_zextqi"): Likewise.
3282 ("*logicallhi3_zexthi_ashift8"): Likewise.
3283 ("*logicalsi3_silshr16"): Likewise.
3284 ("logicalsi3_silshl16"): Likewise.
3285 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
3286
932657df
SC
32872002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3288
3289 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
3290 (m68hc11_indirect_p): New function.
3291 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
3292 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
3293 TARGET_M6812.
3294 (asm_print_register): Likewise.
3295 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
3296 (m68hc11_indirect_p): Declare.
3297 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
3298 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
3299 (TARGET_SWITCHES): New option -mrelax.
3300 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
3301 destination.
3302 ("iorsi3", "xorsi3"): Likewise.
3303 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
3304 ("*andhi3_mem"): New to handle destination in memory with bclr
3305 and a scratch register.
3306 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
3307 ("*andhi3_const"): New when operand2 is constant.
3308 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
3309 ("*andhi3_gen"): Cleanup of the old "andhi3".
3310 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
3311 ("xorqi3"): Update constraints.
3312
fdffea1a
SC
33132002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3314
3315 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
3316 for reg_equiv_memory_loc when the operand is a register that does
3317 not get a hard register (stack location).
3318 (tst_operand): After reload, accept all memory operand.
3319 (symbolic_memory_operand): Fix detection of symbolic references.
3320 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
3321 accept symbols and any constant.
3322
6272bc68
SC
33232002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3324
3325 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
3326 note on the insn that sets the soft frame register.
3327 (must_parenthesize): ix and iy are also reserved names.
3328 (print_operand_address): One more place where parenthesis are required
3329 to avoid confusion with register names.
3330 (m68hc11_gen_movhi): Allow push of stack pointer.
3331 (m68hc11_check_z_replacement): Fix handling of parallel with a
3332 clobber.
3333 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
3334 the replacement register is.
3335 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
3336 and D8_REGS classes.
3337 (MODES_TIEABLE_P): All modes are tieable except QImode.
3338
1d2d9def
SC
33392002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3340
3341 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
3342 (___subdi3): Likewise.
3343 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
3344 (__map_data_section): Optimize 68hc11 case.
3345
a0ccf503
SC
33462002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3347
3348 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
3349 than a shift to avoid adding a register with itself.
3350 (m68hc11_memory_move_cost): Take into account NO_REGS.
3351 (m68hc11_register_move_cost): Update and use memory move cost
3352 for soft registers.
3353 (m68hc11_address_cost): Make cost of valid offset not 0 so that
3354 it gives more opportunities to cse to optimize.
3355 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
3356 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
3357
6e4ae815
MM
33582002-03-15 Mark Mitchell <mark@codesourcery.com>
3359
3360 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
3361 * c-common.def (CLEANUP_STMT): New tree node.
3362 * c-common.h (CLEANUP_DECL): New macro.
3363 (CLEANUP_EXPR): Likewise.
3364 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
3365 * expr.c (expand_expr): Tidy.
3366 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
3367 * tree-inline.c (initialize_inlined_parameters): Clean up
3368 new local variables.
3369
a42519be
JJ
33702002-03-15 Jakub Jelinek <jakub@redhat.com>
3371
3372 PR bootstrap/4128
3373 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
3374 before movrXX only, use reg_overlap_mentioned_p.
3375 Only special case NE if just one insn can be generated.
3376
15409448
JM
33772002-03-15 Jason Merrill <jason@redhat.com>
3378
3379 * varasm.c (assemble_variable): Call resolve_unique_section before
3380 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
3381 of error_mark_node.
3382
3a4edb44
RE
33832002-03-15 Richard Earnshaw <rearnsha@arm.com>
3384
3385 PR target/5170
3386 * arm.md (split pattern for thumb shiftable immediates): Add comment
3387 explaining non-obvious test.
3388
32defa36
RE
33892002-03-15 Richard Earnshaw <rearnsha@arm.com>
3390
3391 PR target/5712
3392 * arm.md (movaddr, movaddr_insn): Delete.
3393
5cc90635
JM
33942002-03-15 Jason Merrill <jason@redhat.com>
3395
3396 * toplev.c (wrapup_global_declarations): Clarify variable handling.
3397 -fkeep-static-consts doesn't apply to comdats.
3398
ecb0eece
RH
33992002-03-14 Richard Henderson <rth@redhat.com>
3400
3401 * c-decl.c: Include c-pragma.h.
3402 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
3403 (finish_function): Tidy.
3404 * c-pragma.c: Include c-common.h.
3405 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
3406 (handle_pragma_weak): Use them.
3407 (init_pragma): Register pending_weaks.
3408 * c-pragma.h (maybe_apply_pragma_weak): Declare.
3409 * print-tree.c (print_node): Print DECL_WEAK.
3410 * varasm.c (mark_weak_decls): Remove.
3411 (remove_from_pending_weak_list): Remove.
3412 (add_weak): Remove.
3413 (asm_emit_uninitialised): Call globalize_decl for weak commons.
3414 (weak_decls): Make a tree_list.
3415 (declare_weak): Cons weak_decls directly.
3416 (globalize_decl): Remove weak_decls elements directly.
3417 (weak_finish): Simplify weak_decls walk. Don't weaken unused
3418 symbols. Don't pretend to handle aliases.
3419 (init_varasm_once): Update weak_decls registry.
3420 * Makefile.in: Update dependencies.
3421
98d2b17e
RH
34222002-03-14 Richard Henderson <rth@redhat.com>
3423
3424 PR target/5312
3425 * config/ia64/ia64.c: Include tm_p.h last.
3426 (gen_nop_type): Remove duplicate definition.
3427 (cycle_end_fill_slots): Set sched_data for second L slot.
3428 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
3429 (nop_cycles_until): Fix typos.
3430
f2f4927e
JJ
34312002-03-15 Jakub Jelinek <jakub@redhat.com>
3432
3433 PR optimization/5891
3434 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
3435
5025a549
DM
34362002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
3437
3438 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
3439 descriptors correctly.
3440
03e9dbc9
MM
34412002-03-14 Michael Meissner <meissner@redhat.com>
3442
3443 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
3444 100, allowing MAX_UNROLLED_INSNS to be overridden.
3445
3446 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
3447 --param.
3448
3449 * unroll.c (params.h): Include.
3450 (MAX_UNROLLED_INSNS): Delete, now in params.h.
3451
3452 * doc/invoke.texi (--param max-unroll-insns): Document.
3453
3454 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
3455
12249385
RE
34562002-03-14 Richard Earnshaw <rearnsha@arm.com>
3457
3458 * arm.md: Fix warnings about constraints in peepholes and splits.
3459
f0cce04a
ZW
34602002-03-14 Zack Weinberg <zack@codesourcery.com>
3461
3462 * cpphash.h (struct lexer_state): Remove line_extension member.
3463 * cpplib.c (dequote_string, do_linemarker): New functions.
3464 (linemarker_dir): New data object.
3465 (DIRECTIVE_TABLE): No longer need to interpret #line in
3466 preprocessed source. Delete obsolete comment about return
3467 values of handlers.
3468 (end_directive, directive_diagnostics, _cpp_handle_directive):
3469 Don't muck with line_extension.
3470 (directive_diagnostics): No need to issue warnings for
3471 linemarkers here.
3472 (_cpp_handle_directive): Issue warnings for linemarkers here,
3473 when appropriate. Dispatch linemarkers to do_linemarker, not
3474 do_line.
3475 (do_line): Code to handle linemarkers split out to do_linemarker.
3476 Convert escape sequences in filename argument, both places.
3477
3478 * cppmacro.c (quote_string): Rename cpp_quote_string and
3479 export. All callers changed.
3480 * cpplib.h (cpp_quote_string): Prototype.
3481 * cppmain.c (print_line): Call cpp_quote_string on to_file
3482 before printing it.
3483
3484 * doc/cpp.texi: Document that escapes are now interpreted in
3485 #line and in linemarkers, and that non-printing characters are
3486 converted to octal escapes when linemarkers are generated.
3487
3488Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
83a49407
JH
3489
3490 * emit-rtl.c (try_split): Use delete_insns.
3491 * recog.c (split_all_insns): Fix terminating condition.
3492
c882c7ac
RE
34932002-03-14 Richard Earnshaw <rearnsha@arm.com>
3494 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
3495
3496 PR target/5828
3497 * arm.c (arm_output_epilogue): Fix floating-point register save
3498 adjustment when using a frame pointer.
3499
3f26edaa
RS
35002002-03-14 Richard Sandiford <rsandifo@redhat.com>
3501
3502 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
3503 * config/mips/mips.c (compute_frame_size): Retrofit them here.
3504 (save_restore_insns, mips_expand_epilogue): And here.
3505 (build_mips16_call_stub): And here.
3506 (mips_function_value): Use the new macros to decide whether a single
3507 or complex float can be returned in floating-point registers. Return
3508 a parallel rtx in the complex case.
3509
1e3881c2
JH
3510Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
3511
3512 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
3513 call after liveness analysis.
3514
3515 * recog.c (split_insn): Use delete_insn_and_edges.
3516
3517 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
3518 instructions to have branch prediction notes.
3519 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
3520
200ef634
GK
35212002-03-14 Geoffrey Keating <geoffk@redhat.com>
3522
3523 * configure.in: Don't pass -Wno-long-long to a ADA compiler
3524 that doesn't support it.
3525 * configure: Regenerate.
3526
0b82d204
JJ
35272002-03-13 Jakub Jelinek <jakub@redhat.com>
3528
3529 PR target/5626
3530 * config/sparc/sparc.md (normal_branch, inverted_branch,
3531 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
3532 inverted_fp_branch): Adjust calls to output_cbranch.
3533 Set length attribute.
3534 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
3535 output_v9branch. Set length attribute.
3536 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
3537 predicates.
3538 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
3539 (output_cbranch): Likewise. Handle far branches.
3540 (output_v9branch): Handle far branches.
3541 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
3542 Adjust prototypes.
3543 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
3544 noov_compare64_op predicates.
3545
7a8de19b
JM
35462002-03-13 Jason Merrill <jason@redhat.com>
3547
3548 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
3549 into the function and constify it.
3550 * gthr-dce.h, gthr-solaris.h: Likewise.
3551
2a55fd42
DE
35522002-03-13 David Edelsohn <edelsohn@gnu.org>
3553
3554 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
3555 * config/rs6000/rs6000.c (rs6000_va_arg): Use
3556 std_expand_builtin_va_arg if not ABI_V4.
3557
19c5b1cf
JM
35582002-03-13 Jason Merrill <jason@redhat.com>
3559
3560 * varasm.c (globalize_decl): New fn.
3561 (assemble_start_function): Use it.
3562 (asm_emit_uninitialized): Use it.
3563 (assemble_alias): Use it.
3564 (assemble_variable): Use it.
3565
2a15f5e1
HPN
35662002-03-13 Hans-Peter Nilsson <hp@axis.com>
3567
3568 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
f0cce04a 3569 2002-03-12 internal visibility change.
2a15f5e1
HPN
3570 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
3571 visibility into SYMBOL_REF_FLAG.
3572
c0a3eeac
UW
35732002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3574
3575 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
3576 VOIDmode operand. Add compile-time optimization for constant results.
3577
a1652cee
JM
35782002-03-12 Jason Merrill <jason@redhat.com>
3579
3580 * c-typeck.c (convert_for_assignment): Don't allow conversions
3581 between pointers and references. Only allow lvalues to convert to
3582 reference.
3583
c52a375d
HP
35842002-03-13 Hartmut Penner <hpenner@de.ibm.com>
3585
f0cce04a
ZW
3586 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
3587 before prologue, to avoid scheduling problems.
c52a375d 3588
e387e99b
JJ
35892002-03-13 Jakub Jelinek <jakub@redhat.com>
3590
3591 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
3592 (ELIMINABLE_REGS): Add sfp->sp.
3593 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
3594
35952002-03-13 Jakub Jelinek <jakub@redhat.com>
09948ece
JJ
3596
3597 PR optimization/5892
3598 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
3599
4061c1a3
JJ
36002002-03-13 Jakub Jelinek <jakub@redhat.com>
3601
3602 * loop.c (basic_induction_var): Don't call convert_modes if mode
3603 classes are different.
3604
5b43fed1
RH
36052002-03-12 Richard Henderson <rth@redhat.com>
3606
9f53e965
RH
3607 PR optimization/5901
3608 * function.c (reposition_prologue_and_epilogue_notes): Position
3609 the markers after/before the last/first insn not deleted.
3610
36112002-03-12 Richard Henderson <rth@redhat.com>
3612
3613 PR optimization/5878
5b43fed1
RH
3614 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
3615 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
3616 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
3617
3618 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
3619 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
3620 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
3621
3622 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
3623 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
3624 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
3625 also. Don't set it if not flag_pic.
3626 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
3627 to be INVALID_REGNUM when not used.
3628
4e9bb42b
AH
36292002-03-13 Aldy Hernandez <aldyh@redhat.com>
3630
5b43fed1
RH
3631 * expmed.c (store_bit_field): Reset alias set for memory.
3632 (extract_bit_field): Same.
4e9bb42b 3633
2f9834e8
KG
36342002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3635
3636 * c-common.c (c_tree_code_type, c_tree_code_length,
3637 c_tree_code_name, add_c_tree_codes): Delete.
3638 * c-common.h (add_c_tree_codes): Delete.
3639 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
3640 Define.
3641 * c-objc-common.c (c_objc_common_init): Don't call
3642 add_c_tree_codes, instead set lang_unsafe_for_reeval.
3643 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
3644 objc_tree_code_name, add_objc_tree_codes): Delete.
3645 (objc_init): Don't call add_objc_tree_codes.
3646 * objc/objc-lang.c (tree_code_type, tree_code_length,
3647 tree_code_name): Define.
3648 * toplev.c (lang_independent_init): Don't set
3649 tree_code_length[IDENTIFIER_NODE].
3650 * tree.c (tree_code_type, tree_code_length, tree_code_name):
3651 Delete definitions, moved to language front-ends.
3652 * tree.def (IDENTIFIER_NODE): Hardwire the length.
3653 * tree.h (tree_code_type, tree_code_length, tree_code_name):
3654 Const-ify.
3655 (tree_code_length): Change type to unsigned char.
3656
36ad2436
RH
36572002-03-12 Richard Henderson <rth@redhat.com>
3658
3659 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
3660 internal visibility change.
3661
0ae02efa
BW
36622002-03-12 Bob Wilson <bob.wilson@acm.org>
3663
3664 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
3665 validize_mem() instead of change_address to avoid clobbering
3666 memory attributes.
3667
35bb2bee
NB
36682002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
3669
3670 * c-lex.h (position_after_whitespace): Remove.
3671
62ae2529
JJ
36722002-03-12 Jakub Jelinek <jakub@redhat.com>
3673
3674 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
3675 (lex_string): Use unsigned char pointers.
3676
6a45951f
UW
36772002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3678
3679 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
3680 is not a valid memory_operand.
3681
e2fb85da
BW
36822002-03-12 Bob Wilson <bob.wilson@acm.org>
3683
3684 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
3685 * config/xtensa/lib1funcs.asm: Fix copyright to include
3686 special case for libgcc files.
3687 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
3688 (__divsi3): Likewise.
3689 (__umodsi3): Likewise.
3690 (__modsi3): Likewise.
3691 * config/xtensa/lib2funcs.S: Fix copyright to include
3692 special case for libgcc files.
3693
5b8619f8
TR
36942002-03-12 Tom Rix <trix@redhat.com>
3695
3696 * collect2.c (resolve_lib_name): Move outside of
f0cce04a 3697 OBJECT_FORMAT_COFF ifdef.
5b8619f8
TR
3698 (ignore_library): Same.
3699
089c8f97
BW
37002002-03-12 Bob Wilson <bob.wilson@acm.org>
3701
3702 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
3703
958c70ff
BW
37042002-03-12 Bob Wilson <bob.wilson@acm.org>
3705
3706 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
3707 to function_section before writing out the constant pool.
3708
a65c591c
DE
37092002-03-12 David Edelsohn <edelsohn@gnu.org>
3710
3711 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
3712 zero_constant.
3713 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
3714
37152002-03-12 Alan Modra <amodra@bigpond.net.au>
3716
3717 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
3718 (adddi3): Likewise.
3719 (movdf): Likewise.
3720 (movdi): Likewise.
3721 (cmpsi splitter): Likewise.
3722 (modsi3): Fail if <= 0.
3723 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
3724 redundant test when HOST_BITS_PER_WIDE_INT != 32.
3725 (reg_or_sub_cint64_operand): Likewise.
3726 (num_insns_constant_wide): Optimize sign extension.
3727 (rs6000_legitimize_address): Likewise.
3728
17720332
AM
37292002-03-12 Andrew MacLeod <amacleod@redhat.com>
3730
3731 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3732 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3733
cd49f073
AM
37342002-03-12 Andrew MacLeod <amacleod@redhat.com>
3735
3736 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
3737 address calculation.
3738
6a4e49c1
UW
37392002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3740
3741 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
3742 scratch register to DImode / TImode.
3743 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
3744 register used does not overlap the target.
3745
54b6670a
KG
37462002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3747
3748 * Makefile.in (debug.o): Depend on debug.h.
3749 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
3750 * debug.c (do_nothing_debug_hooks): Likewise.
3751 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
3752 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
3753 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
3754 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
3755 * dwarfout.c (dwarf_debug_hooks): Likewise.
3756 * integrate.c (output_inline_function): Likewise.
3757 * objc/objc-act.c (synth_module_prologue): Likewise.
3758 * sdbout.c (sdb_debug_hooks): Likewise.
3759 * toplev.c (debug_hooks): Likewise.
3760 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
3761
2465bf76
KG
37622002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3763
3764 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
3765 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
3766 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
3767 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
3768 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
3769 * defaults.h (POINTER_SIZE): Define.
3770 * doc/tm.texi (POINTER_SIZE): Document default.
3771
53f3e9ca
KG
37722002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3773
3774 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
3775
44d3eb5b
RH
37762002-03-11 Richard Henderson <rth@redhat.com>
3777
3778 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
3779 if rebuild_label_notes_after_reload.
3780
4a085d2e
HPN
37812002-03-12 Hans-Peter Nilsson <hp@axis.com>
3782
3783 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
3784 emit pic register load if "internal" visibility.
3785 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
3786 (cris_expand_builtin_va_arg): Do all computations on trees.
3787
bc204393
RH
37882002-03-11 Richard Henderson <rth@redhat.com>
3789
3790 * rtlanal.c: Include recog.h.
3791 (keep_with_call_p): Fix thinko.
3792 * Makefile.in (rtlanal.o): Update dependencies.
3793
6b8b9d7b
CM
37942002-03-11 Chris Meyer <cmeyer@gatan.com>
3795
3796 * genflags.c (gen_insn): Use IS_VSPACE.
3797 * genoutput.c (output_insn_data): Likewise.
3798 (process_template): Likewise.
3799
6c40858f
RH
38002002-03-11 Richard Henderson <rth@redhat.com>
3801
3802 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
3803
40adaa27
NB
38042002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
3805
3806 * Makefile.in: Update.
6c40858f 3807 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
40adaa27 3808 Update documentation.
6c40858f
RH
3809 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
3810 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
40adaa27 3811
049b03f4
ZW
38122002-03-11 Zack Weinberg <zack@codesourcery.com>
3813
3814 * Makefile.in: Give texi2pod its input file as a command line
3815 argument, not on stdin.
3816
61eece67
DN
38172002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
3818 Daniel Berlin <dan@dberlin.org>
3819
3820 C++ alias analysis improvement.
f0cce04a 3821 * alias.c (record_component_aliases): Record aliases for base
61eece67
DN
3822 classes too.
3823
a65c591c
DE
38242002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
3825
ff080aba
UW
3826 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
3827
1682dbb1
DR
38282002-03-11 Douglas B Rupp <rupp@gnat.com>
3829
fa2d765a
DR
3830 * toplev.c (vms_fopen): Remove, not needed.
3831
6f1fd286
DR
3832 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
3833
b230e057
DR
3834 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
3835
cb9a8e97
DR
3836 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
3837 for FP, already done later.
3838
1682dbb1
DR
3839 * toplev.c (debug_args): Add entry for VMS_DEBUG.
3840 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
3841
3fcaac1d
RS
38422002-03-11 Richard Sandiford <rsandifo@redhat.com>
3843
3844 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
3845 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
3846 LARGEST_EXPONENT_IS_NORMAL for the given mode.
3847 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
3848 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
3849 (ediv, emul, eldexp, esqrt): Likewise.
3850 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
3851 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
3852 (saturate): New function.
3853 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
3854 (make_nan): Use a saturation value instead of a NaN if
3855 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
3856 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
3857 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
3858 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
3859 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
3860 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
3861 !ROUND_TOWARDS_ZERO.
3862 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
3863 (ROUND_TOWARDS_ZERO): Document.
3864
d25558be
AJ
38652002-03-11 Andreas Jaeger <aj@suse.de>
3866
3867 * cfg.c (dump_flow_info): Remove unused variable.
3868
c71f9ae7
HPN
38692002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
3870
3871 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
3872 computations on trees.
3873
561c9153
RH
38742002-03-10 Richard Henderson <rth@redhat.com>
3875
932b4e3e 3876 PR 5693:
561c9153
RH
3877 * reload.c (copy_replacements_1): New.
3878 (copy_replacements): Use it to recurse through the rtx.
3879
26b738be
RH
38802002-03-10 Richard Henderson <rth@redhat.com>
3881
3882 * loop.c (strength_reduce): Compute number of iterations as
3883 unsigned HOST_WIDE_INT.
3884
8d8a083e
RH
38852002-03-10 Richard Henderson <rth@redhat.com>
3886
3887 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
3888 to move away from the end of the block.
3889
32810ba3
NB
38902002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
3891
3892 PR preprocessor/5899
3893 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
d25558be 3894
2b03d201
KG
38952002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3896
f90c544c
KG
3897 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
3898
2b03d201
KG
3899 * attribs.c (decl_attributes): Fix signed/unsigned warning.
3900
3ec1b4cb
HPN
39012002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
3902
3903 * config/mmix/mmix.c: Improve comments.
3904 (mmix_target_asm_function_prologue): Drop variable
3905 empty_stack_frame. Don't allocate unused slot above fp.
3906 (mmix_target_asm_function_epilogue): Mirror prologue changes.
3907 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
3908 brace in first column.
3909 (enum reg_class): Ditto.
3910 (FIRST_PARM_OFFSET): Now 0.
3911 (USER_LABEL_PREFIX): Remove #if 0:d definition.
3912
27e486c5
KG
39132002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3914
3915 * combine.c (make_extraction): Fix error in last change.
3916
0139adca
KG
39172002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3918
3919 * c4x.c (c4x_fp_reglist): Const-ify.
3920 * cris.c (cris_print_operand): Likewise.
3921 * i386.c (ix86_va_arg): Likewise.
3922 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
3923 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
3924 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
3925 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
3926 * mcore.h (regno_reg_class): Likewise.
3927 * mips.c (gen_int_relational): Likewise.
3928 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
3929 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
a4334c36 3930 * pdp11.c (move_costs): Likewise.
0139adca
KG
3931 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
3932 * s390.c (s390_branch_condition_mnemonic, regclass_map):
3933 Likewise.
3934 * s390.h (regclass_map): Likewise.
3935 * sh.c (shift_amounts): Likewise.
a4334c36 3936 * sh.md (rotlsi3): Likewise.
0139adca 3937
889b90a1
GK
39382002-03-09 Geoffrey Keating <geoffk@redhat.com>
3939
3940 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
3941 (ne0+5): Use new clobber to generate proper shift pattern.
3942 Patch by Michael Matz <matz@kde.org>.
3943
2877e0ae
AS
39442002-03-09 Andreas Schwab <schwab@suse.de>
3945
3946 * gcc.c (validate_all_switches): Also handle `%W{...}'.
3947
79b51cd7
GK
39482002-03-09 Geoffrey Keating <geoffk@redhat.com>
3949
3950 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
3951
e0f1be5c
JJ
39522002-03-09 Jakub Jelinek <jakub@redhat.com>
3953
3954 PR middle-end/5877
3955 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
3956 even for non-representable constants.
3957
0a7ec763
RK
3958Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3959
93fe8e92
RK
3960 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
3961 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
3962 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
3963 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
3964 (pop_function_context): Compute MAY_SHARE parameter for
3965 fixup_var_refs.
3966 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
3967 (gen_mem_addressof): Call fixup_var_refs with new parm.
3968
0a7ec763
RK
3969 * combine.c (make_extraction): Don't make extension of CONST_INT.
3970
a85cd407
AO
39712002-03-09 Alexandre Oliva <aoliva@redhat.com>
3972
9445b814
AO
3973 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
3974 in o32 and o64 ABIs.
3975 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
3976 but getting fixed-size structs passed in registers regardless of
3977 padding in o32 and o64 ABIs.
3978
a85cd407
AO
3979 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
3980 offset before loading address of argument passed by transparent
3981 reference.
3982
c51fbe40
JDA
39832002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3984
3985 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
3986
918e70dd
AO
39872002-03-09 Alexandre Oliva <aoliva@redhat.com>
3988
3989 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
3990 marker such that registers after it are saved.
3991
3070dd00
KG
39922002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3993
3994 * sparc.c (arith_4096_operand): Fix error in last change.
3995
e25d11b0
AO
39962002-03-08 Alexandre Oliva <aoliva@redhat.com>
3997
3998 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
3999 defaults for MEABI.
4000
41daaf0e
AH
40012002-03-08 Aldy Hernandez <aldyh@redhat.com>
4002
5b43fed1
RH
4003 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
4004 vectors.
41daaf0e 4005
fa139b00
AH
40062002-03-08 Aldy Hernandez <aldyh@redhat.com>
4007
5b43fed1 4008 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
fa139b00 4009
c51d95ec
JH
4010Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
4011
4012 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
4013 removed; fix return value.
4014 * combine.c (combine_instructions): Dirtify blocks where we failed to
4015 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
4016 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
4017
3b25fbfe
KG
40182002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4019
4020 * gcse.c (insert_insn_end_bb): Fix typo in last change.
4021
189ae0f4
JH
4022Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
4023
4024 * recog.c (peephole2_optimize): Re-distribute EH edges.
4025
24965e7a
NB
40262002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
4027
4028 * expr.c (expand_expr): Use unsave lang hook.
4029 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
4030 (LANG_HOOKS_INITIALIZER): Update.
4031 * langhooks.h (struct lang_hooks): New hook unsave.
4032 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
4033 (unsave_expr_1): Remove unused lang_unsave_expr_now.
4034 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
4035 (unsave_expr_now): Remove.
4036 * tree.h (unsave_expr_now, lang_unsave,
4037 lang_unsave_expr_now): Remove.
4038 (lhd_unsave): New.
4039
1e4e95d6
AJ
40402002-03-08 Andreas Jaeger <aj@suse.de>
4041
4042 * flow.c (propagate_block_delete_insn): Remove unused variable.
4043
054ef905
KH
40442002-03-08 Kazu Hirata <kazu@hxi.com>
4045
4046 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
4047 insn length for memory load/store.
4048
5304400d 40492002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
1e4e95d6 4050
5304400d
CR
4051 * doc/install.texi (--with-libiconv-prefix): Document.
4052
81034129
MB
40532002-03-08 Michael Y. Brukman <myb2@cornell.edu>
4054
4055 * doc/sourcebuild.texi: Fix typo.
4056
71db7d03
JJ
40572002-03-08 Jakub Jelinek <jakub@redhat.com>
4058
4059 PR c/3711
4060 * builtins.c (std_expand_builtin_va_arg): Do all computations on
4061 trees.
4062
127c1ba5
RK
4063Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4064
4065 * rtl.c (copy_most_rtx): Move from here ...
4066 * emit-rtl.c (copy_most_rtx): ... to here.
4067
8a13c092
AO
40682002-03-08 Alexandre Oliva <aoliva@redhat.com>
4069
5faae4f7
AO
4070 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
4071 SUBTARGET_CPP_SIZE_SPEC.
4072 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
4073
8a13c092
AO
4074 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
4075
4ec59de2
MH
40762002-03-07 Matt Hiller <hiller@redhat.com>
4077
4078 * gensupport.c (first_dir_md_include): Renamed from include;
4079 change all references.
4080 (last_dir_md_include): Renamed from last_include; change all
4081 references.
4082 (init_md_reader): Unconditionally initialize base_dir whether or
4083 not filename is a relative path.
4084
12f61e77
AO
40852002-03-07 Alexandre Oliva <aoliva@redhat.com>
4086
95356058
AO
4087 * config/fp-bit.c (_unord_f2): Compile it in even if
4088 US_SOFTWARE_GOFAST is enabled.
4089
12f61e77
AO
4090 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
4091 NULL_RTX. Set all HFmode operations as NULL_RTX.
4092 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
4093 NULL_RTX, try reversing the comparison and the operands.
4094
6d7a1c4c
UW
40952002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
4096
4097 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
4098 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
4099 and MATCH_OP_DUP.
4100
66d54344
JH
4101Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
4102
4103 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
4104
068473ec
JH
4105Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
4106
4107 * basic-block.h (fixup_abnormal_edges): Declare.
4108 * reload1.c (fixup_abnormal_edges): New function.
4109 * reg-stack.c (convert_regs): Use it.
4110
4111 * gcse.c (insert_insn_end_bb): Handle trapping insns.
4112
4113 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
4114
71925bc0
RS
41152002-03-07 Richard Sandiford <rsandifo@redhat.com>
4116
4117 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
4118 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
4119 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
4120 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
4121 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
4122 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
4123 unless x and y could be infinite.
4124 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
4125 Check that the common type of both arguments is a real, even for
4126 targets without unordered comparisons. Allow an integer argument
4127 to be compared against a real.
4128 (expand_tree_builtin): Use expand_unordered_cmp.
4129 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
4130 * cse.c (fold_rtx): Likewise. Fix indentation.
4131 * fold-const.c (fold_real_zero_addition_p): New.
4132 (fold): Use it, and the new HONOR_... macros.
4133 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
4134 * jump.c (reversed_comparison_code_parts): After searching for
4135 the true comparison mode, use HONOR_NANS to decide whether it
4136 can be safely reversed.
4137 (reverse_condition_maybe_unordered): Remove IEEE check.
4138 * simplify-rtx.c (simplify_binary_operation): Use the new macros
4139 to decide which simplifications are valid. Allow the following
4140 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
4141 and (a - -b) to (a + b).
4142 (simplify_relational_operation): Use HONOR_NANS.
4143 * doc/tm.texi: Document the MODE_HAS_... macros.
4144
145d3bf2
RE
41452002-03-07 Richard Earnshaw <rearnsha@arm.com>
4146
4147 * combine.c (simplify_comparison): If simplifying a logical shift
4148 right and compare with constant, force the comparison to unsigned.
4149
76a773f3
AH
41502002-03-07 Aldy Hernandez <aldyh@redhat.com>
4151
5b43fed1 4152 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
76a773f3 4153
5b43fed1
RH
4154 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
4155 -mabi=no-altivec
4156 (alt_reg_names): Remove % for vrsave.
76a773f3 4157
ab55f58c
RH
41582002-03-06 Richard Henderson <rth@redhat.com>
4159
5ddec02e 4160 PR optimization/5844
ab55f58c
RH
4161 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
4162 if used indicates we've already emitted one copy of an operand.
4163 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
4164 (gen_split): Supply a non-null used.
4165
e16e3291
UW
41662002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
4167
5b43fed1 4168 * reload1.c (reload): Unshare all rtl after reload is done.
e16e3291 4169
1e4e95d6 4170 * simplify-rtx.c (simplify_plus_minus): Do not abort,
e16e3291
UW
4171 but simply fail if the expression is too complex to simplify.
4172 (simplify_gen_binary): Handle simplify_plus_minus failures.
4173
2ca6672b
JH
4174Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
4175
4176 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
4177 consistently call delete_trivially_dead_insns after CSE and GCSE;
4178 fix DFI_life dumping; do jump threading after liveness; do crossjumping
4179 after liveness2; update comment in last crossjumping.
4180 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
4181
31d0dd4f
JL
4182Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
4183
d094b0b3
JL
4184 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
4185 after completing fast dead code elimination.
4186
31d0dd4f
JL
4187 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
4188 COMPARE operator.
1e4e95d6 4189
f2b958b1
PE
41902002-03-06 Phil Edwards <pme@gcc.gnu.org>
4191
4192 * version.c: Fix misplaced leading blanks on first line.
4193
a2877a09
JH
4194Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
4195
4196 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
4197
fe477d8b
JH
4198Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
4199
4200 * cfgcleanup.c (mentions_nonequal_regs): New function.
4201 (thread_jump): Use it.
4202 * toplev.c (rest_of_compilation): Run jump threading after
4203 liveness.
4204
2041cde4
JJ
42052002-03-06 Jakub Jelinek <jakub@redhat.com>
4206
4207 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
4208 patch.
4209
82d68d46
JH
4210Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
4211
4212 * predict.c (estimate_bb_frequencies): Do not reload the
4213 frequencies from notes.
4214
3dec4024
JH
4215Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
4216
4217 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
4218 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
4219
4220 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
4221 delete_noop_moves): Return indeger.
4222 * flow.c (ndead): New variable.
4223 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
4224 BB argument; update callers.
4225 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
4226 (life_analysis): Do not call purge_all_dead_edges.
4227 (update_life_info): Return number of deleted insns; print statistics.
4228 (update_life_info_in_dirty_blocks): likewise.
4229 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
4230 return number of insns deleted.
4231
4232 * cse.c: Include timevar.h
4233 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
4234 iterate until stabilizes; print statistics; return number of killed
4235 insns.
4236 * Makefile.in: (cse.o): Add timevar.h dependency
4237 * rtl.h (delete_trivially_dead_insns): New.
4238 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
4239 * toplev.c (rest_of_compilation): Update callers.
4240
4241 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
4242 (try_optimize_cfg): Do not update liveness.
4243 (cleanup-cfg): Loop until try_optimize_cfg and dead code
4244 removal stabilizes; use delete_trivially_dead_insns.
4245
4246 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
4247
c7544dd8
ZW
42482002-03-05 Zack Weinberg <zack@codesourcery.com>
4249
4250 * cppmain.c (setup_callbacks): Disable #pragma and #ident
4251 callbacks when processing assembly language.
4252
50b424a9
JDA
42532002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4254
4255 * pa.h (ASM_FILE_END): Define.
4256 * som.h (ASM_FILE_END): Delete.
4257
4258 * pa.c (function_arg): Don't pass floats in general registers in
4259 indirect calls if TARGET_ELF32.
4260
6185f217
RH
42612002-03-05 Richard Henderson <rth@redhat.com>
4262
4263 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
4264
3020a4b2
DS
42652002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
4266
4267 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
4268
65649daa
JJ
42692002-03-05 Jakub Jelinek <jakub@redhat.com>
4270
4271 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
4272 -r command line. Don't hide any symbols if not building
4273 shared libgcc.
4274
5a1a3e5e
JH
4275Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
4276
4277 * cfg.c (dump_flow_info): Warn about profile mismatches.
4278 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
4279 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
4280
170c56da
JJ
42812002-03-05 Jakub Jelinek <jakub@redhat.com>
4282
4283 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
4284 wide volatile memory by parts.
4285
6d051694
JJ
42862002-03-05 Jakub Jelinek <jakub@redhat.com>
4287
4288 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
4289 is NULL.
4290
28bcfd4d
RH
42912002-03-05 Richard Henderson <rth@redhat.com>
4292
5b43fed1 4293 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
28bcfd4d 4294
75227a33
GK
42952002-03-04 Geoffrey Keating <geoffk@redhat.com>
4296
4297 * toplev.c (documented_lang_options): Document more
4298 language-specific options.
4299 * doc/invoke.texi (Warning Options): Correct documentation for
4300 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
4301 * c-decl.c (c_decode_option): Use a table to handle warning options.
4302
4f1aac42
HPN
43032002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
4304
4305 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
4306 parameter to mmix_encode_section_info.
4307 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
4308 relocatably. Always produce ELF, not mmo if linking relocatably.
4309 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
4310 first is non-zero, don't add symbol prefix.
4311 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
4312 prototype accordingly.
4313
12345543
KW
43142002-03-04 Krister Walfridsson <cato@df.lth.se>
4315
4316 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
4317
8e97db8f
JM
43182002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
4319
4320 * configure.in: Increase required makeinfo version to 4.1.
4321 * configure: Regenerate.
4322
06487868
GK
43232002-03-04 Geoffrey Keating <geoffk@redhat.com>
4324
4325 * .cvsignore: Remove *.info* and genrtl*; these files are generated
4326 elsewhere now.
4327
cff42170
JM
43282002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
4329
4330 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
4331 * doc/invoke.texi: Fix @math uses.
4332
974a7f56
JH
4333Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
4334
4335 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
4336 removal
4337
3b7d0e98
AH
43382002-03-03 Aldy Hernandez <aldyh@redhat.com>
4339
5b43fed1
RH
4340 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
4341 (powerpc-*-eabisimaltivec*): Same.
3b7d0e98 4342
5b43fed1 4343 * config/rs6000/t-ppcendian: New.
3b7d0e98 4344
65f2f288
HB
43452002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4346
4347 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
4348 nonimmediate_src_operand and nonimmediate_lsrc_operand to
4349 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
4350
8ce0a8a5
RH
43512002-03-03 Richard Henderson <rth@redhat.com>
4352
4353 * toplev.c (rest_of_decl_compilation): Revert last two changes.
4354
ba31d94e
ZW
43552002-03-03 Zack Weinberg <zack@codesourcery.com>
4356
4357 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
4358 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
4359 tree.c, config/m68k/m68k.c:
4360 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
4361 REAL_ARITHMETIC blocks unconditional. Delete some further
4362 #ifdef blocks predicated on REAL_ARITHMETIC.
4363 * flags.h, toplev.c: Delete remaining references to
4364 flag_pretend_float.
4365
4366 * doc/invoke.texi: Remove documentation of -fpretend-float.
4367 * doc/tm.texi: Describe the various REAL_* macros as provided by
4368 real.h, not by the target configuration files.
4369
4370 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
4371 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
4372 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
4373 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
4374 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
4375 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
4376 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
4377 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
4378 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4379 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
4380 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4381 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
4382 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
4383 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
4384 config/xtensa/xtensa.h:
4385 Do not define, undefine, or mention in comments any of
4386 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
4387 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
4388 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
4389 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
4390 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
4391 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
4392 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
4393 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
4394 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
4395
9a571cfd
KG
43962002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4397
e81dd381
KG
4398 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
4399 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
4400 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
4401 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
4402 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
4403 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
4404 Delete.
4405 * defaults.h (BITS_PER_WORD): Define.
ba31d94e 4406 * doc/tm.texi (BITS_PER_WORD): Document default value.
e81dd381 4407
9a571cfd
KG
4408 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
4409 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
4410 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
4411
ca7558fc
KG
44122002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4413
4414 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
4415 lieu of explicit sizeof/sizeof.
4416 * i386.c (override_options, ix86_init_mmx_sse_builtins,
4417 ix86_expand_builtin): Likewise.
4418 * mips.c (mips_add_gc_roots): Likewise.
4419 * mmix.c (mmix_output_condition): Likewise.
4420 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
4421 altivec_init_builtins): Likewise.
4422 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
4423 * cppexp.c (Nsuff, parse_number): Likewise.
4424 * cppinit.c (builtin_array_end): Likewise.
4425 * gcc.c (n_default_compilers, process_command): Likewise.
4426 * genpreds.c (output_predicate_decls): Likewise.
4427 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
4428 * lcm.c (N_ENTITIES): Likewise.
4429 * stor-layout.c (set_sizetype): Likewise.
ba31d94e 4430
41c78c88
RH
44312002-03-03 Richard Henderson <rth@redhat.com>
4432
4433 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
4434 for types or labels.
4435
9e9b71e6
RH
44362002-03-03 Richard Henderson <rth@redhat.com>
4437
4438 * c-decl.c (start_decl): Initialized variables are not common.
4439
c26a6db8
PB
44402002-03-02 Per Bothner <per@bothner.com>
4441
4442 * gcc.c (option_map): Suport new --bootclasspath option.
4443 --CLASSPATH is now just an alias for --classpath.
4444
9e8aab55
RH
44452002-03-02 Richard Henderson <rth@redhat.com>
4446
4447 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
4448 load if "internal" visibility.
4449 * doc/extend.texi: Document visibility meanings.
4450
b3bbd220
RH
44512002-03-02 Richard Henderson <rth@redhat.com>
4452
4453 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
4454 to functions as well.
4455
b14707c3
RH
44562002-03-02 Richard Henderson <rth@redhat.com>
4457
4458 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
4459 (handle_visibility_attribute): Don't call assemble_visibility.
4460 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
4461 without asmspec. Invoke assemble_alias when needed.
4462 * varasm.c (maybe_assemble_visibility): New.
4463 (assemble_start_function, assemble_variable, assemble_alias): Use it.
4464
b2003250
RH
44652002-03-02 Richard Henderson <rth@redhat.com>
4466
4467 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
4468 invoke ENCODE_SECTION_INFO with first call flag.
4469
4470 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
4471 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
ba31d94e 4472 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
b2003250
RH
4473 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
4474 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
4475 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
4476 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
4477 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
4478 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
4479 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
4480 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4481 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
ba31d94e
ZW
4482 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
4483 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
b2003250
RH
4484 config/mcore/mcore-protos.h, config/mcore/mcore.c,
4485 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
4486 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
ba31d94e 4487 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
b2003250
RH
4488 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
4489 config/sh/sh.h, config/sparc/sparc.h,
4490 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
4491 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
4492 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
4493 FIRST argument. As needed, examine it and do nothing.
4494
ba31d94e 4495 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
b2003250
RH
4496 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
4497 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
4498
4499 * config/arm/t-pe (pe.o): Add dependencies.
4500
5c60f03d
KG
45012002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4502
4503 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
4504 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
4505 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
4506 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
4507 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
4508 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
4509 * defaults.h (BITS_PER_UNIT): Define.
4510 * doc/tm.texi (BITS_PER_UNIT): Document default value.
4511
86855e8c
KH
45122002-03-02 Kazu Hirata <kazu@hxi.com>
4513
4514 * config/h8300/h8300-protos.h: Add a prototype for
4515 compute_a_shift_length.
4516 * config/h8300/h8300.c (h8300_asm_insn_count): New.
4517 (compute_a_shift_length): Likewise.
4518 (h8300_adjust_insn_length): Do not adjust insn length of shift
4519 insns.
4520 * config/h8300/h8300.md (anonymous shift patterns): Use
4521 compute_a_shift_length.
4522
f6041ed8
RK
4523Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4524
35aa3c1c
RK
4525 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
4526 trunc_int_for_mode.
4527
f6041ed8
RK
4528 * emit-rtl.c (offset_address): Call update_temp_slot_address.
4529
27b41650
KG
45302002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4531
4532 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
4533 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
4534 * flags.h (flag_zero_initialized_in_bss): Declare.
4535 * toplev.c (flag_zero_initialized_in_bss): New flag.
4536 (lang_independent_options): Add flag_zero_initialized_in_bss.
4537 * tree.c (initializer_zerop): New function.
4538 * tree.h (initializer_zerop): Declare.
4539 * varasm.c (assemble_variable): If we can emit bss, put zero
4540 initializers in the bss section.
4541
ca734b39
AM
45422002-03-02 Alan Modra <amodra@bigpond.net.au>
4543
4544 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
4545 like more than one symbol per .weak directive.
4546
49b72306
RH
45472002-03-01 Richard Henderson <rth@redhat.com>
4548
4549 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
4550 adjust argument_pointer by pretend_args_size.
4551 (ia64_va_start): Adjust va_start address by -pretend_args_size.
4552
fbf0fe41
KH
45532002-03-01 Kazu Hirata <kazu@hxi.com>
4554
4555 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
4556
0010687d
JH
4557Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
4558
4559 * toplev.c (rest_of_compilation): Delete dead jumptables before
4560 loop.
4561 * flow.c (delete_dead_jumptables): Make global.
4562 * rtl.h (delete_dead_jumptables): Declare.
4563
9429c84c
DE
45642002-03-01 David Edelsohn <edelsohn@gnu.org>
4565
4566 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
4567 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
0c2fdcdf 4568 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
9429c84c 4569
f0b6f9a6
KH
45702002-03-01 Kazu Hirata <kazu@hxi.com>
4571
4572 * config/h8300/h8300-protos.h: Fix formatting.
4573 * config/h8300/h8300.c: Likewise.
4574 * config/h8300/h8300.h: Likewise.
4575
bc8db8a1
KH
45762002-03-01 Kazu Hirata <kazu@hxi.com>
4577
4578 * config/h8300/h8300.c (print_operand): Support 16-bit
4579 constant addresses.
4580 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
4581
32b069d3
RH
45822002-02-28 Richard Henderson <rth@redhat.com>
4583
4584 * expmed.c (store_bit_field): Prevent generation of CONCATs;
4585 pun complex values as integers; use gen_lowpart instead of
4586 gen_rtx_SUBREG.
4587 (extract_bit_field): Likewise.
4588
79c4e63f
AM
45892002-03-01 Alan Modra <amodra@bigpond.net.au>
4590 David Edelsohn <edelsohn@gnu.org>
4591
4592 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
4593 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
4594 (SUPPORTS_WEAK): Likewise.
4595 * output.h (add_weak): Add tree param.
4596 * varasm.c (add_weak): Likewise. Save decl.
4597 (struct weak_syms): Add decl field.
4598 (mark_weak_decls): New function.
4599 (init_varasm_once): ggc_add_root mark_weak_decls.
4600 (assemble_start_function): Use ASM_WEAKEN_DECL.
4601 (assemble_variable): Likewise.
4602 (assemble_alias): Likewise.
4603 (declare_weak): Pass decl to add_weak.
4604 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
4605 (remove_from_pending_weak_list): Declare and define for
4606 ASM_WEAKEN_DECL.
4607 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
4608 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
4609 * defaults.h (SUPPORTS_WEAK): Likewise.
4610 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
4611 .weak for code sym. Do emit .size for descriptor sym.
4612 (ASM_DECLARE_FUNCTION_SIZE): Define.
4613 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
4614 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
4615 .lglobl unless TARGET_XCOFF. Formatting fixes.
4616 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
4617 .weak for code sym.
4618 (HANDLE_PRAGMA_WEAK): Remove.
4619 (ASM_WEAKEN_LABEL): Remove.
4620 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
4621
6f30f1f1
JM
46222002-03-01 Jason Merrill <jason@redhat.com>
4623
4624 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
4625 (TARGET_EXPR_CLEANUP): New macro.
4626
7879b81e
SE
46272002-02-28 Steve Ellcey <sje@cup.hp.com>
4628
4629 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
4630 to take ptr_extend into account as third type of extension.
4631 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
4632 fields used by SUBREG_PROMOTED_UNSIGNED_P.
4633 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
4634 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
4635 * calls.c (precompute_arguments): Use new macro.
4636 (expand_call): Ditto.
4637 * combine.c (nonzero_bits): Ditto.
4638 (record_promoted_value): Ditto.
4639 * expr.c (store_expr): Ditto.
4640 (expand_expr): Ditto.
4641 * function.c (assign_parms): Ditto.
4642
42d579d8
AO
46432002-02-28 Alexandre Oliva <aoliva@redhat.com>
4644
4645 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
4646 override -shared and -shared-libgcc.
4647
e0054185
DB
46482002-02-28 David O'Brien <obrien@FreeBSD.org>
4649
4650 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
4651 of "ultrasparc".
4652 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
4653 to be broken.
4654
abda4f1c
RH
46552002-02-28 Richard Henderson <rth@redhat.com>
4656
4657 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
4658 4 cycle latency from MM producers.
4659 (ia64_internal_sched_reorder): Likewise with pipeline flush.
4660
c0f08649
JJ
46612002-02-28 Jakub Jelinek <jakub@redhat.com>
4662
4663 * mklibgcc.in: Don't use GNU make extension.
4664
f79f2651
NB
46652002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4666
4667 * c-parse.in (STATIC): New terminal.
4668 (scspec): New non-terminal. Update productions accordingly.
4669 (program): Remove bogus ifc / end ifc.
4670 (array_declarator): Simplify production using STATIC.
4671
001e3fee
JM
46722002-02-28 Jim Meyering <meyering@lucent.com>
4673
4674 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
4675 \a still means TARGET_BELL.
4676
89076bb3
RH
46772002-02-28 Richard Henderson <rth@redhat.com>
4678
4679 * haifa-sched.c (sched_emit_insn): New.
4680 (schedule_block): Use last_scheduled_insn to track last insn.
4681 * sched-int.h (sched_emit_insn): Prototype.
4682 * config/ia64/ia64.c (last_issued): Remove.
4683 (ia64_variable_issue): Don't set it.
4684 (nop_cycles_until): Use sched_emit_insn.
4685
e3aaacf4
AM
46862002-02-28 Andrew MacLeod <amacleod@redhat.com>
4687
4688 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
4689 extended constants.
4690
7f473594
KH
46912002-02-28 Kazu Hirata <kazu@hxi.com>
4692
4693 * config/h8300/h8300.c: Fix formatting.
4694 * config/h8300/h8300.h: Likewise.
4695
b96c434c
MM
46962002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
4697
4698 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
4699 which may overwrite the high byte of the frame pointer.
4700
9b420a6a
BT
47012002-02-28 Bo Thorsen <bo@suse.de>
4702
4703 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
4704 (STARTFILE_SPEC): Add 64 bit files.
4705 (ENDFILE_SPEC): Likewise.
4706
6f30f1f1 47072002-02-28 Jason Merrill <jason@redhat.com>
46cfb101
JM
4708
4709 * c-decl.c (finish_function): Only warn about missing return
4710 statement with -Wreturn-type.
4711
70da1d03
JH
4712Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
4713
4714 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
4715
4716 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
4717 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
4718
38c1593d
JH
4719Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
4720
4721 * basic-block.h (BB_REACHABLE): Renumber.
4722 (BB_DIRTY, BB_NEW): New flags.
4723 (clear_bb_flags): Declare.
4724 (update_life_info_in_dirty_blocks): Declare.
4725 * cfg.c (clear_bb_flags): New function.
4726 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
4727 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
4728 reorder_insns, emit_insn_after): Mark block as dirty.
4729 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
4730 (update_life_info_in_dirty_blocks): New function.
4731 * recog.c (apply_change_group): Dirtify block.
4732
4733 * cse.c (cse_insn): Reorder emitting of jump insn to keep
4734 cfg consistent.
4735 * gcse.c (delete_null_pointer_checks): Likewise.
4736
4737 * toplev.c (dump_file_index): Move cse2 after bp,
4738 add DFI_null
4739 (dump_file_info): Similary.
4740 (rest_of_compilation): Avoid most of CFG rebuilds;
4741 do first if converision after null pointer checks, do cse2
4742 after branch prediction; avoid full liveness rebuild after
4743 initializing subregs.
4744 * invoke.texi (-d options): Document -du, renumber.
4745
4746 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
4747 (notice_new_block): Do not set BB_UPDATE_LIFE.
4748 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
4749 merge_blocks_move_successor_nojumps, merge_blocks,
4750 try_crossjump_to_edge): Likewise.
4751 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
4752 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
4753 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
4754 (merge_of_block): Do not use life_data_ok.
4755 (find_if_case_1): Do not use SET_UPDATE_LIFE.
4756 (if_convert): Use BB_DIRTY mechanizm to update life.
4757 * lcm.c (optimize_mode_switching): Update
4758 update_life_info_in_dirty_blocks
4759
63e1b1c4
NB
47602002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4761
4762 * Makefile.in (integrate.o): Update.
4763 * c-decl.c (copy_lang_decl): Rename.
4764 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
4765 * integrate.c: Include langhooks.h.
4766 (copy_decl_for_inlining): Update to use langhook.
4767 * langhooks-def.h (lhd_do_nothing_t,
4768 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
4769 (LANG_HOOKS_INITIALIZER): Update.
4770 * langhooks.c (lhd_do_nothing_t): New.
4771 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
4772 * tree.h (copy_lang_decl): Remove.
4773objc:
4774 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
4775
f472fa29
AM
47762002-02-27 Andrew MacLeod <amacleod@redhat.com>
4777
ba31d94e 4778 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
f472fa29
AM
4779 POST_DEC, and POST_MODIFY.
4780
273cf2e4
ZW
47812002-02-27 Zack Weinberg <zack@codesourcery.com>
4782
4783 * c-typeck.c (digest_init): Remove unused parameter; all
4784 callers changed.
4785
4e07d762
GK
47862002-02-27 Geoffrey Keating <geoffk@redhat.com>
4787
4788 * expmed.c (expand_shift): Correctly test for low part of a
4789 subreg.
4790
6bc627b3
UW
47912002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
4792
4793 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
4794 insn UIDs with insn addresses.
4795
f458d1d5
ZW
47962002-02-27 Zack Weinberg <zack@codesourcery.com>
4797
4798 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
4799 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
4800 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
4801 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
4802 gcc.c, toplev.c: Delete code implementing -traditional mode.
4803
4804 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
4805 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
4806 Document removal of -traditional mode for compilation, and
4807 remove documentation only relevant to that mode.
4808
4809 * config/nextstep.h, config/ptx4.h, config/svr4.h,
4810 config/convex/convex.h, config/d30v/d30v.h,
4811 config/i386/dgux.h, config/i386/osf1elf.h,
4812 config/i386/osfelf.h, config/i386/osfrose.h,
4813 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
4814 config/m68k/hp310.h, config/m88k/dgux.h,
4815 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
4816 config/m88k/m88k.h, config/m88k/openbsd.h,
4817 config/mips/abi64.h, config/mips/osfrose.h,
4818 config/mips/svr4-5.h, config/mips/svr4-t.h,
4819 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
4820 config/stormy16/stormy16.h: Remove all references to
4821 -traditional from target specs. Delete all mention of the
4822 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
4823 delete a couple of commented-out definitions of
4824 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
4825 to -traditional.
4826
4827 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
4828 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
4829
e0b3a8ff
ZW
48302002-02-27 Zack Weinberg <zack@codesourcery.com>
4831
4832 * mklibgcc.in: Don't use \n in a line subject to
4833 interpretation by echo.
4834
5c6a85b7
GS
48352002-02-27 Graham Stott <grahams@redhat.com>
4836
72b05af1
GS
4837 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
4838 Constify NAME.
4839
7d104885
GS
4840 * loop.c (prescan_loop): Handle PARALLEL.
4841
8ed805d2
GS
4842 * unroll.c (loop_iterations): Return 0 if the add_val for
4843 a BIV is REG.
4844
fd478a0a
GS
4845 * final.c (output_operand_lossage): Constify PFX_STR.
4846
5c6a85b7
GS
4847 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
4848
cd98ad03
JH
4849Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
4850
4851 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
4852 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
4853
639ae55b
JH
4854Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
4855
4856 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
4857
e808ec9c
NB
48582002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
4859
4860 * cpplex.c (_cpp_lex_token): Handle directives in macro
4861 arguments.
4862 * cpplib.c (_cpp_handle_directive): Save and restore state
4863 if parsing macro args when entering a directive.
4864 * cppmacro.c (collect_args): No need to handle directives
4865 in macro arguments.
4866 (enter_macro_context, replace_args): Use the original macro
4867 definition in case it was redefined whilst collecting arguments.
4868doc:
4869 * cpp.texi: Update.
4870
f585a356
DE
48712002-02-26 David Edelsohn <edelsohn@gnu.org>
4872
4873 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
4874 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
4875 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
4876 method on AIX.
4877 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
4878 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
4879 (load_toc_v4_PIC_2): Same.
4880
48812002-02-26 Alan Modra <amodra@bigpond.net.au>
4882
4883 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
4884
d699058e
RH
48852002-02-26 Richard Henderson <rth@redhat.com>
4886
4887 * config/alpha/alpha.md (ashldi_se): Re-enable.
4888
eadccfbb
RH
48892002-02-26 Richard Henderson <rth@redhat.com>
4890
4891 * config/alpha/alpha.c (alpha_encode_section_info): Examine
4892 MODULE_LOCAL_P; improve commentary.
4893
7080ada1
ZW
48942002-02-26 Zack Weinberg <zack@codesourcery.com>
4895
4896 * doc/cpp.texi: Clarify documentation of relationship between
4897 #line and #include.
4898
b42cff6b
KH
48992002-02-26 Kazu Hirata <kazu@hxi.com>
4900
4901 * config/h8300/h8300-protos.h: Update the prototype for
4902 compute_logical_op_length. Add the prototype for
4903 compute_logical_op_cc.
4904 * config/h8300/h8300.c (compute_logical_op_length): Figure out
4905 code from operands.
4906 (compute_logical_op_cc): New.
4907 * config/h8300/h8300.md: Combine all the logical op patterns
4908 in HImode and SImode. Use compute_logical_op_cc.
4909
831c4e87
KC
49102002-02-26 Kelley Cook <kelleycook@comcast.net>
4911
4912 * config/i386/i386.c (print_operand): Don't append ATT-style
4913 length suffixs to x87 opcodes when in Intel mode.
4914
ff88fe10
RS
49152002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
4916
4917 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
4918 (init_emit_once): Update calls.
4919 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
4920 (init_syntax_once): Prototype.
4921
d4108589
JDA
49222002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
4923
4924 * pa-linux.h (LIB_SPEC): Update definition.
4925 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
4926
e013f3c7
RH
49272002-02-26 Richard Henderson <rth@redhat.com>
4928
4929 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
4930 if we emitted a stop bit.
4931
9e944a16
JJ
49322002-02-26 Jakub Jelinek <jakub@redhat.com>
4933
4934 * configure.in (libgcc_visibility): Substitute.
4935 * configure: Rebuilt.
4936 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
4937 defined symbols .hidden.
4938
47bd70b5
JJ
49392002-02-26 Jakub Jelinek <jakub@redhat.com>
4940
4941 * attribs.c (c_common_attribute_table): Add visibility.
4942 (handle_visibility_attribute): New function.
4943 * varasm.c (assemble_visibility): New function.
4944 * output.h (assemble_visibility): Add prototype.
4945 * tree.h (MODULE_LOCAL_P): Define.
4946 * crtstuff.c (__dso_handle): Use visibility attribute.
4947 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
4948 for MODULE_LOCAL_P symbols too.
4949 * config/ia64/ia64.c (ia64_encode_section_info): Handle
4950 MODULE_LOCAL_P symbols the same way as local symbols.
4951 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
4952 into .sdata/.sbss by the user.
4953 * doc/extend.texi (Function Attributes): Document visibility
4954 attribute.
4955
6d73371a
JJ
49562002-02-26 Jakub Jelinek <jakub@redhat.com>
4957
4958 PR debug/5770
4959 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
4960 STRING_CST initializer spanning the whole variable without
4961 embedded zeros.
4962 If expand_expr returned MEM, don't use it.
4963
06e224f7
AO
49642002-02-26 Alexandre Oliva <aoliva@redhat.com>
4965
4966 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
4967 generate a die for the lexical block.
4968
40367e2d
KH
49692002-02-26 Kazu Hirata <kazu@hxi.com>
4970
4971 * config/h8300/h8300-protos.h: Add a prototype for
4972 compute_logical_op_length.
4973 * config/h8300/h8300.c (compute_logical_op_length): New.
4974 * config/h8300/h8300.md (anonymous logical patterns): Use
4975 compute_logical_op_length for length.
4976
0e98f924
AH
49772002-02-26 Aldy Hernandez <aldyh@redhat.com>
4978
831c4e87
KC
4979 * dwarf2out.c (modified_type_die): Do not call type_main_variant
4980 for vectors.
4981 (gen_type_die): Same.
0e98f924 4982
831c4e87 4983 * attribs.c (handle_vector_size_attribute): Set debug information.
0e98f924 4984
a50cfd52
DE
49852002-02-26 Daniel Egger <degger@fhm.edu>
4986
831c4e87
KC
4987 * config/rs6000/rs6000.md: Swap define_insn attributes to
4988 fix incorrect generation of merge high instructions instead
4989 of merge low.
a50cfd52 4990
b7997284
AH
49912002-02-26 Aldy Hernandez <aldyh@redhat.com>
4992
831c4e87
KC
4993 * c-typeck.c (really_start_incremental_init): Use
4994 bitsize_zero_node for vectors.
b7997284 4995
376aec5d
AH
49962002-02-26 Aldy Hernandez <aldyh@redhat.com>
4997
831c4e87
KC
4998 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
4999 ("*set_vrsave_internal"): Same.
376aec5d 5000
3b40e71b
RH
50012002-02-25 Richard Henderson <rth@redhat.com>
5002
5003 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
5004 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
5005
232b8f52
JJ
50062002-02-25 Jakub Jelinek <jakub@redhat.com>
5007
5008 PR target/5755
5009 * config/i386/i386.c (ix86_return_pops_args): Only pop
5010 fake structure return argument if it was passed on the stack.
5011
67282790
JM
50122002-02-25 Jason Merrill <jason@redhat.com>
5013
5014 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
5015 RESULT_DECL.
5016
5c181756
AO
50172002-02-25 Alexandre Oliva <aoliva@redhat.com>
5018
5019 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
5020 link with shared_name only.
5021 * doc/invoke.texi (Link Options): Document new behavior.
5022
6786d201
AH
50232002-02-25 Aldy Hernandez <aldyh@redhat.com>
5024
831c4e87 5025 * c-typeck.c (push_init_level): Handle vectors.
6786d201 5026
7d6040e8
AO
50272002-02-25 Alexandre Oliva <aoliva@redhat.com>
5028
5029 * config/sparc/sparc.c (const64_high_operand): Zero-extend
5030 operands of SPARC_SETHI_P.
5031 (input_operand): Likewise.
5032 (sparc_emit_set_const32): Likewise.
5033 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
5034 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
5035 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
5036 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
5037 (movdi_insn_sp64_vis): Likewise.
5038 (movdi split, movdf split): Use SETHI32.
5039 * doc/md.texi: Document SPARC constraints L, M and N.
5040
b188f760
AH
50412002-02-25 Aldy Hernandez <aldyh@redhat.com>
5042
831c4e87
KC
5043 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
5044 ("*set_vrsave_internal"): use mfspr for Darwin.
b188f760 5045
831c4e87
KC
5046 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
5047 gen_get_vrsave_internal.
b188f760 5048
8041889f
RK
5049Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5050
5051 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
5052
a47ed310
NB
50532002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
5054
5055 * cpplex.c (cpp_interpret_charconst): Get signedness or
5056 otherwise of wide character constants correct.
5057 * cppexp.c (lex): Get signedness of wide charconsts correct.
5058
cb8f73be
RK
5059Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5060
5061 * optabs.c (widen_operand): Only call convert_modes for
5062 promoted SUBREG if signedness matches.
5063 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
5064
2450e0b8
NB
50652002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
5066
5067 * cpplib.c (glue_header_name): Use local buffer to build up
5068 header name.
5069
70b6aaed
NB
50702002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
5071
5072 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
5073
6be580c7
KH
50742002-02-23 Kazu Hirata <kazu@hxi.com>
5075
5076 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
5077 H8/300[HS] separately.
5078 * config/h8300/h8300.md: Remove the early clobber constraint
5079 from bit field patterns.
5080
35dad9f1
KH
50812002-02-23 Kazu Hirata <kazu@hxi.com>
5082
5083 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
5084 register_operand.
5085 (mulhisi3): Likewise.
5086 (umulqisi3): Likewise.
5087 (umulhisi3): Likewise.
5088
ab8e2228
NB
50892002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
5090
5091 * cppinit.c (output_deps): Correct test for stdout output.
5092 (init_dependency_output): Cure warning.
5093
ac6f8a15
RK
5094Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5095
5096 * expr.c (store_expr): When converting expression to promoted
5097 equivalent type, allow using SUBREG_REG of TARGET as the target
5098 of the expansion of EXP.
5099 * loop.c (basic_induction_var, case SUBREG): Always look inside.
5100 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
5101 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
5102 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
5103 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
5104
f282ffb3
JM
51052002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
5106
5107 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
5108 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
5109 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
5110
44c5edc0
JJ
51112002-02-23 Jakub Jelinek <jakub@redhat.com>
5112
5113 PR optimization/5747
5114 * loop.c (scan_loop): Update reg info if move_movables created new
5115 pseudos.
5116
f98e43c0
DE
51172002-02-23 David Edelsohn <edelsohn@gnu.org>
5118
5119 * gcc.c (init_gcc_spec): Revert last change.
5120
e72247f4
DE
51212002-02-23 David Edelsohn <edelsohn@gnu.org>
5122
5123 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
5124 gpc_reg_operand constraint.
5125
51262002-02-23 Alan Modra <amodra@bigpond.net.au>
5127
5128 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
5129 Simplify comparison of `low'.
5130 (add_operand): Fix formatting.
5131 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
57deb3a1 5132 (mask_operand): Disallow mask to wrap in 64-bit mode.
e72247f4
DE
5133 (rs6000_stack_info): Remove redundant test setting push_p.
5134 (output_toc): Fix formatting.
5135 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
5136 cc_reg_not_cr0_operand constraint.
5137 (booldi3, boolcdi3 splitters): Same.
5138
a5c30531
AH
51392002-02-23 Aldy Hernandez <aldyh@redhat.com>
5140
831c4e87 5141 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
a5c30531 5142
43710f9f
DE
51432002-02-22 David Edelsohn <edelsohn@gnu.org>
5144
5145 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
5146 gcc invoked with -shared-libgcc.
5147
3256b817
JJ
51482002-02-22 Jakub Jelinek <jakub@redhat.com>
5149
5150 PR c++/5748
5151 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
5152 decl if any of elements was TREE_USED.
5153
9e0625a3
AO
51542002-02-22 Alexandre Oliva <aoliva@redhat.com>
5155
5156 * config/sparc/sol2.h: Don't include sys/mman.h.
5157 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
5158 (arith_4096_operand): Don't throw high bits away.
5159 (const64_operand): Take sign extension of CONST_INTs into account.
5160 (const64_high_operand, sparc_emit_set_const32): Likewise.
5161 (GEN_HIGHINT64): Likewise.
5162 (sparc_emit_set_const64_quick1): Likewise.
5163 (const64_is_2insns): Likewise.
5164 (print_operand): Use trunc_int_for_mode for sign extension.
5165 * config/sparc/sparc.h (SMALL_INT32): Likewise.
5166 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
5167 chars. Assume CONST_INT is already properly sign-extended.
5168 (movdi split): Sign-extend each SImode part.
5169 (andsi3 split): Don't mask high bits off, so that result
5170 remains properly sign-extend.
5171 (iorsi3 split): Likewise.
5172 (xorsi3 split): Likewise.
5173
54fec3d5
RS
51742002-02-22 Richard Sandiford <rsandifo@redhat.com>
5175
5176 * fold-const.c (fold): Fix typo in comments.
5177
667ada9b
DN
51782002-02-21 Diego Novillo <dnovillo@redhat.com>
5179
5180 * Makefile.in (langhooks.o): Update dependencies.
5181
29ac78d5
DN
51822002-02-21 Diego Novillo <dnovillo@redhat.com>
5183
5184 * langhooks.c: Include flags.h.
5185
6aa77e6c
AH
51862002-02-21 Aldy Hernandez <aldyh@redhat.com>
5187
5188 * testsuite/gcc.dg/attr-alwaysinline.c: New.
5189
5190 * c-common.c (c_common_post_options): Set inline trees by
5191 default.
5192
5193 * doc/extend.texi (Function Attributes): Document always_inline
5194 attribute.
5195 Update documentation about inlining when not optimizing.
5196
5197 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
5198
5199 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
5200 unless DECL_ALWAYS_INLINE.
5201
5202 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
5203 unless DECL_ALWAYS_INLINE.
5204 (c_disregard_inline_limits): Disregard if always_inline set.
5205
5206 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
5207 Disregard if always_inline set.
5208 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
5209 unless DECL_ALWAYS_INLINE.
5210
5211 * attribs.c (handle_always_inline_attribute): New.
5212 (c_common_attribute_table): Add always_inline.
5213
5214 * config/rs6000/altivec.h: Add prototypes for builtins
5215 requiring the always_inline attribute.
5216
c410d49e
EC
52172002-02-21 Eric Christopher <echristo@redhat.com>
5218
5219 * expmed.c (store_bit_field): Try to simplify the subreg
5220 before generating a new one when when the mode size of
5221 value is less than maxmode.
5222
e3c8ea67
RH
52232002-02-21 Richard Henderson <rth@redhat.com>
5224
5225 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
5226 than gen_rtx_PLUS to form the sum.
5227 * explow.c (force_reg): Rearrange to not allocate new pseudo
5228 when force_operand returns a register.
5229 * expr.c (expand_assignment): Allow offset_rtx expansion to
5230 return a sum. Do not force addresses into registers.
5231 (expand_expr): Likewise.
5232 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
5233 to canonicalize arithmetic that didn't simpify.
5234 (simplify_plus_minus): New argument force; update
5235 all callers. Don't split CONST unless we can do something with it,
5236 and wouldn't lose the constness of the operands.
5237
5238 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
5239 that we generated earlier.
5240
c1a046e5
TT
52412002-02-21 Tom Tromey <tromey@redhat.com>
5242
5243 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5244 (output_line_info): Use constant `1', with a long explanatory
5245 comment.
5246 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
5247
31fbaad4
R
5248Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
5249
5250 * jump.c (redirect_jump): If old label has no UID, don't try to
5251 delete it.
5252
a7f52356
R
5253Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
5254
5255 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
5256 If input is constant, do shifts at compile time.
5257
924fcc4e
JM
52582002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
5259
5260 * doc/extend.texi: Fix some more overfull hboxes.
5261
e5a20888
JJ
52622002-02-21 Jakub Jelinek <jakub@redhat.com>
5263
5264 PR optimization/4994
5265 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
5266 register moves.
5267
52682002-02-21 Jakub Jelinek <jakub@redhat.com>
22273300
JJ
5269
5270 PR c++/4574
5271 * expr.h (expand_and): Add mode argument.
5272 * expmed.c (expand_and): Add mode argument.
5273 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
5274 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
5275 * except.c (expand_builtin_extract_return_addr): Likewise.
5276 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
5277 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
5278 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
5279 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
5280 * config/c4x/c4x.md: Use GEN_INT (x) instead of
5281 gen_rtx (CONST_INT, VOIDmode, x).
5282
7133e992
JJ
52832002-02-21 Jakub Jelinek <jakub@redhat.com>
5284
5285 PR c/4697:
5286 * stmt.c (warn_if_unused_value): Move side effects test once more.
5287
e2ec05a6
TG
52882002-02-20 Torbjorn Granlund <tege@swox.com>
5289
5290 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
831c4e87 5291 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
e2ec05a6 5292
9dd791c8
AO
5293Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
5294
5295 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
5296 SUBREG or ZERO_EXTEND.
5297
7ab56274
R
5298Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
5299
5300 * sh.h (current_function_anonymous_args): Remove.
5301 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
5302 of current_function_varargs and current_function_stdarg is set.
5303 * sh.c (sh_expand_prologue): Check current_function_varargs /
5304 current_function_stdarg / TARGET_SH5 instead of
5305 current_function_anonymous_args.
5306
5307 * sh64.h (TARGET_VERSION): Define.
5308
b1765bde
DE
53092002-02-20 David Edelsohn <edelsohn@gnu.org>
5310
5311 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
5312 VRSAVE_REGNO on TARGET_ALTIVEC.
5313
53142002-02-20 Alan Modra <amodra@bigpond.net.au>
5315
5316 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
5317 bits of SImode const_int.
5318 (includes_rshift_p): Likewise.
5319 (print_operand): Call mask_operand and mask64_operand with correct
c410d49e 5320 mode.
b1765bde
DE
5321 (rs6000_output_function_epilogue): Pad traceback table to word.
5322 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
5323 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
5324 mask64_operand with correct mode.
b1765bde
DE
5325 (FUNCTION_ARG_REGNO_P): Correct parentheses.
5326
149d6f9e
JJ
53272002-02-20 Jakub Jelinek <jakub@redhat.com>
5328
5329 PR debug/4461
5330 * varasm.c (get_pool_constant_mark): New.
5331 * rtl.h (get_pool_constant_mark): Add prototype.
5332 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
5333 be represented if it has not been output.
5334
4161da12
AO
53352002-02-20 Alexandre Oliva <aoliva@redhat.com>
5336
5337 * combine.c (do_SUBST): Sanity check substitutions of
5338 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
5339 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
5340 CONST_INT into its operand.
5341 (known_cond): Likewise, for ZERO_EXTEND.
5342 * simplify-rtx.c (simplify_unary_operation): Fix condition to
5343 allow for simplification of wide modes. Reject CONST_INTs in
5344 ZERO_EXTEND when their actual mode is not given.
5345
3704ef74
AO
53462002-02-20 Alexandre Oliva <aoliva@redhat.com>
5347
5348 * c-decl.c (pushdecl): If no global declaration is found for an
5349 extern declaration in block scope, try a limbo one.
5350
7552da58
JJ
53512002-02-20 Jakub Jelinek <jakub@redhat.com>
5352
5353 PR c++/4401
5354 * c-common.c (pointer_int_sum): Moved from...
5355 * c-typeck.c (pointer_int_sum): ...here.
5356 * c-common.h (pointer_int_sum): Add prototype.
5357
00fae85d
JJ
53582002-02-20 Jakub Jelinek <jakub@redhat.com>
5359
5360 PR c++/5713
5361 * c-decl.c (duplicate_decls): Return 0 if issued error about
5362 redeclaration.
5363
4636c87e
JJ
53642002-02-20 Roger Sayle <roger@eyesopen.com>
5365 Jakub Jelinek <jakub@redhat.com>
5366
5367 PR c/4389
5368 * tree.c (host_integerp): Ensure that the constant integer is
5369 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
5370 when pos is zero or non-zero respectively. Clarify comment.
5371 * c-format.c (check_format_info_recurse): Fix host_integerp
5372 usage; the pos argument should be zero when assigning to a
5373 signed HOST_WIDE_INT.
5374
59bef189
RH
53752002-02-20 Richard Henderson <rth@redhat.com>
5376
5377 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
5378 of the operand, rather than assuming TImode.
5379 (ix86_expand_binop_builtin): Cope with commutative patterns
5380 using nonimmediate_operand for both operands.
5381 (ix86_expand_timode_binop_builtin): Likewise.
5382 (ix86_expand_store_builtin): Validate operand 1.
5383 (ix86_expand_unop1_builtin): Likewise.
5384
9338ffe6 53852002-02-20 Philip Blundell <philb@gnu.org>
c410d49e 5386
9338ffe6
PB
5387 PR 5705
5388 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
5389
f322b423
RH
53902002-02-20 Richard Henderson <rth@redhat.com>
5391
5392 PR c/5615
5393 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
5394
d94084f7
TT
53952002-02-20 Tom Tromey <tromey@redhat.com>
5396
5397 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5398 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5399 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5400 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5401 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
5402 unconditionally.
5403
37fa124a
AM
5404Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
5405
5406 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
5407 for (const_int 0) in X not just INTVAL.
5408
6e5bb5ad
JM
54092002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
5410
5411 * doc/extend.texi: Avoid or reduce overfull hboxes.
5412
420e7dfa
DN
54132002-02-20 Diego Novillo <dnovillo@redhat.com>
5414
5415 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
5416 operations if the field does not start at a mode boundary.
5417
1b7a2af6
JS
54182001-02-20 Joel Sherrill <joel@OARcorp.com>
5419
5420 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
5421 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
5422 Also done for -Acpu and -Amachine.
5423
56cd5b95
NB
54242002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
5425
5426 * cppinit.c (init_dependency_output): Take deps output file
5427 from -o if none given with -MF. Suppress normal output.
c410d49e 5428 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
56cd5b95
NB
5429 * doc/cpp.texi, doc/invoke.texi: Update.
5430
042cdf71
ZW
54312002-02-19 Zack Weinberg <zack@codesourcery.com>
5432
5433 * toplev.c (output_quoted_string): Write unprintable
5434 characters with octal escapes.
5435
c1f11548
DE
54362002-02-19 David Edelsohn <edelsohn@gnu.org>
5437
5438 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
5439 really_call_used[VRSAVE_REGNO] if not Altivec.
5440
54412002-02-19 Alan Modra <amodra@bigpond.net.au>
c410d49e 5442
c1f11548
DE
5443 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
5444 MODE_MASK.
5445 (constant_pool_expr_1): Fix formatting.
5446 (rs6000_legitimize_reload_address): Likewise.
5447
c964d90e
RK
5448Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5449
5450 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
5451 now that we have one.
5452
ae34ac46
ZW
54532002-02-19 Zack Weinberg <zack@codesourcery.com>
5454
5455 * tree.h (struct tree_common): Remove aux. Add unused_0 at
5456 end of first block of bitfields (which was only seven bits);
5457 rename dummy to unused_1; remove comment which is no longer true.
5458
293c28ee
GS
54592002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
5460
5461 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
5462
7b8781c8
PB
54632002-02-19 Philip Blundell <pb@nexus.co.uk>
5464
0cb6c58d 5465 PR 5399
7b8781c8
PB
5466 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
5467 if generating PIC.
5468
5469 PR 5054
5470 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
5471 arm_is_longcall_p rather than inspecting call-type cookie
5472 directly.
5473 (call_value_insn) [TARGET_THUMB]: Likewise.
5474
5c464583
GS
54752002-02-19 Graham Stott <grahams@redhat.com>
5476
5477 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
5478
71c061e6
DE
54792002-02-19 David Edelsohn <edelsohn@gnu.org>
5480
5481 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
5482 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
6d1def5c 5483 (FP_SAVE_INLINE): Delete.
71c061e6
DE
5484
5485 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
5486 * config/rs6000/eabi.asm: Remove ABI save restore routines.
5487 * config/rs6000/t-ppccomm: Build crtsavres.o.
5488 * config/rs6000/crtsavres.asm: New file.
5489
3a7731fd
PB
54902002-02-19 Philip Blundell <philb@gnu.org>
5491
5492 * config/arm/arm.c (use_return_insn): Don't reject interrupt
5493 functions.
5494 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
5495 (output_return_instruction): Allow interrupt functions to return with
5496 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
5497 (arm_expand_prologue): Subtract 4 before stacking LR in an
5498 interrupt function.
5499
14f583b8
PB
55002002-02-19 Philip Blundell <pb@nexus.co.uk>
5501
5502 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
5503 decl, not just FUNCTION_DECL.
5504 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
5505 (arm_assemble_integer): Likewise.
5506 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
5507 marked local.
c410d49e 5508
4cb7482c
MG
55092002-02-19 matthew green <mrg@eterna.com.au>
5510
5511 * config.gcc (sparc-*-netbsdelf*): Enable target.
5512 (sparc64-*-netbsd*): New target.
5513 * config/sparc/netbsd-elf.h: New file.
5514 * config/sparc/t-netbsd64: New file.
5515
2df3a718
GS
55162002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
5517
5518 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
5519
77f6c1eb
RS
55202002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
5521
5522 * doc/invoke.texi: explicitly list the style guidelines that
5523 -Weffc++ checks for.
5524
fd973d56
JH
5525Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
5526
5527 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
5528
30518e45
NB
55292002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
5530
5531 PR other/5718
5532 * gcc.c (cpp_unique_options): Treat -o as indicating object file
5533 only if not -E. If -E, pass -o through to the preprocessor.
5534
39ea5704
KH
55352002-02-19 Kazu Hirata <kazu@hxi.com>
5536
5537 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
5538 register number with an appropriate macro.
5539
7355dba7
BM
55402002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
5541
5542 * doc/rtl.texi (Constants): Close @code tag.
5543
91c8aa9e
AH
55442002-02-19 Aldy Hernandez <aldyh@redhat.com>
5545
5546 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
5547 ("mmx_uavgv4hi3"): Same.
5548 ("pmulhrwv4hi3"): Same.
5549
5550 * tree-inline.c (walk_tree): Handle vectors.
5551
5552 * c-common.c (constant_expression_warning): Handle vectors.
5553 (overflow_warning): Same.
5554
5555 * sched-deps.c (sched_analyze_2): Handle vectors.
5556
5557 * rtlanal.c (rtx_unstable_p): Handle vectors.
5558 (rtx_varies_p): Same.
5559 (count_occurrences): Same.
5560 (regs_set_between_p): Same.
5561 (modified_between_p): Same.
5562 (modified_in_p): Same.
5563 (volatile_insn_p): Same.
5564 (volatile_refs_p): Same.
5565 (side_effects_p): Same.
5566 (may_trap_p): Same.
5567 (inequality_comparisons_p): Same.
5568 (replace_regs): Same.
5569 (computed_jump_p_1): Same.
5570
5571 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
5572 argument.
5573 (inner_mode_array): New.
5574 (copy_rtx): Handle vectors.
5575 (copy_most_rtx): Same.
5576 (rtx_equal_p): Same.
5577 (get_mode_alignment): Adjust for vectors.
5578
5579 * resource.c (mark_referenced_resources): Handle vectors.
5580 (mark_set_resources): Same.
5581
5582 * reload1.c (eliminate_regs): Handle vectors.
5583 (elimination_effects): Same.
5584 (scan_paradoxical_subregs): Same.
5585
5586 * reload.c (subst_reg_equivs): Handle vectors.
5587
5588 * regrename.c (scan_rtx): Handle vectors.
5589
5590 * regclass.c (reg_scan_mark_refs): Handle vectors.
5591
5592 * recog.c (find_single_use_1): Handle vectors.
5593
5594 * local-alloc.c (equiv_init_varies_p): Handle vectors.
5595 (contains_replace_regs): Same.
5596 (memref_referenced_p): Same.
5597
5598 * integrate.c (copy_rtx_and_substitute): Handle vectors.
5599 (subst_constants): Same.
5600
5601 * genattrtab.c (attr_copy_rtx): Handle vectors.
5602 (encode_units_mask): Same.
5603 (clear_struct_flag): Same.
5604 (count_sub_rtxs): Same.
5605
5606 * gcse.c (want_to_gcse_p): Handle vectors.
5607 (oprs_unchanged_p): Same.
5608 (hash_expr_1): Same.
5609 (oprs_not_set_p): Same.
5610 (expr_killed_p): Same.
5611 (compute_transp): Same.
5612 (store_ops_ok): Same.
5613
5614 * function.c (purge_addressof_1): Do not allow paradoxical subregs
5615 of vectors.
5616 (fixup_var_refs_1): Same.
5617 (instantiate_virtual_regs_1): Same.
5618
5619 * fold-const.c (operand_equal_p): Handle vectors.
5620 (fold): Same.
5621 (rtl_expr_nonnegative_p): Same.
5622
5623 * flow.c (mark_used_regs): Handle vectors.
5624
5625 * df.c (df_uses_record): Handle vectors.
5626
5627 * cselib.c (cselib_subst_to_values): Handle vectors.
5628 (cselib_mem_conflict_p): Same.
5629 (hash_rtx): Same.
5630
5631 * cse.c (canon_reg): Handle vectors.
5632 (fold_rt): Same.
5633 (cse_process_notes): Same.
5634 (count_reg_usage): Same.
5635 (canon_hash): Same.
5636
5637 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
5638
5639 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
5640
5641 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
5642 (gen_rtx): Handle CONST_VECTOR.
5643 (gen_const_vector_0): New.
5644 (copy_rtx_if_shared): CONST_VECTORs can be shared.
5645 (reset_used_flags): Same.
5646 (copy_insn_1): Same.
5647 (initializer_constant_valid_p): Handle VECTOR_CST.
5648
5649 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
5650
5651 * doc/rtl.texi (Constants): Document const_vector.
5652 (CONST0_RTX): Update for vectors.
5653 (RTL sharing): Same.
5654
5655 * print-tree.c (print_node): Add case for VECTOR_CST.
5656
5657 * tree.h (TREE_VECTOR_CST_ELTS): New.
5658 (struct tree_vector): New.
5659 (union tree_node): Add vector node.
5660 (build_vector): Add prototype.
5661
5662 * tree.def (VECTOR_CST): New.
5663
5664 * tree.c (build_vector): New.
5665
5666 * expmed.c (make_tree): Handle CONST_VECTOR.
5667
5668 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
5669 (CONST_VECTOR_ELT): New.
5670 (CONST_VECTOR_NUNITS): New.
5671
5672 * machmode.h (GET_MODE_INNER): New.
5673 (DEF_MACHMODE): Accept 8th arg.
5674
5675 * machmode.def: Add 8th argument for vector inner mode.
5676 Add inner vector modes for vectors.
5677
5678 * rtl.def (VEC_CONST): Remove.
5679 (CONST_VECTOR): New.
5680
5681 * expr.c (clear_storage): Allow vectors.
5682 (is_zeros_p): Handle VECTOR_CST.
5683
5684 * varasm.c (output_constant_pool): Handle vectors.
5685 (rtx_const): Add veclo and vechi fields.
5686 (kind): Add RTX_VECTOR.
5687 (decode_rtx_const): Add case for vector.
5688
5689 * config/rs6000/rs6000-protos.h: Add zero_constant.
c410d49e 5690
91c8aa9e
AH
5691 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
5692 constants. Force easy vector constants into memory.
5693 (easy_vector_constant): New.
5694 (emit_easy_vector_constant): New.
5695 (rs6000_legitimize_reload_address): Do not generate bad reloads on
5696 darwin.
5697
5698 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
5699 instruction does.
5700 ("altivec_lvxl"): Same.
5701 (altivec_lvebx): Same.
5702 (altivec_lvehx): Same.
5703 (altivec_lvewx): Same.
5704 ("*movv4si_const0"): New.
5705 ("*movv4sf_const0"): New.
5706 ("*movv8hi_const0"): New.
5707 ("*movv16qi_const0"): New.
5708
d4d6d0ce
KH
57092002-02-18 Kazu Hirata <kazu@hxi.com>
5710
5711 * config/h8300/h8300.c (notice_update_cc): Use
5712 cc_status.value2.
5713
4915d3aa
KH
57142002-02-18 Kazu Hirata <kazu@hxi.com>
5715
5716 * config/h8300/h8300.md (divmod patterns): Change the
5717 constraints for operands[1] to register_operand.
5718
82be00ee
KH
57192002-02-18 Kazu Hirata <kazu@hxi.com>
5720
5721 * config/h8300/h8300-protos.h: Remove the prototype for
5722 p_operand.
5723 * config/h8300/h8300.c (p_operand): Remove.
5724 * config/h8300/h8300.md: Replace p_operand with
5725 const_int_operand.
5726
1768c26f
PB
57272002-02-18 Philip Blundell <pb@nexus.co.uk>
5728
5729 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
5730 comment.
5731 (output_return_instruction): Allow use of LDR to unstack
5732 return addresss even for interrupt handlers or when
5733 interworking. If compiling for ARMv5, use interworking-safe
5734 return instructions by default. Remove duplicated code and
5735 lengthy "strcat" sequences.
5736
ccd84f51
FS
57372002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5738
5739 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
5740 (LINK_EH_SPEC): Define.
5741 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
5742
2c153108
UW
57432002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
5744
5745 * config/s390/s390.c (s390_emit_prologue): Do not set the
5746 frame_related flag for call-clobbered registers.
5747
e95d6b23
JH
5748Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
5749
5750 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
5751 (construct_container): Fix handling of SSE operands.
5752 (ix86_expand_builtin): Fix handling of 64bit pointers.
5753 (mmx_maskmovq_rex): New pattern.
5754
c43a12b5
JH
5755Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
5756
5757 * regrename.c (kill_set_value): Handle subregs properly.
5758
aeb85a15
DB
57592002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
5760
5761 * objc/objc-act.c (handle_impent): Remove leading '*'
c410d49e 5762 from objc_class_name.
aeb85a15 5763
a615ca3e
RH
57642002-02-17 Richard Henderson <rth@redhat.com>
5765
5766 * config/alpha/alpha.c (some_small_symbolic_operand,
5767 some_small_symbolic_operand_1, split_small_symbolic_operand,
5768 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
5769 Handle small SYMBOL_REFs anywhere, not just inside memories.
5770 * config/alpha/alpha-protos.h: Update.
5771 * config/alpha/alpha.h (PREDICATE_CODES): Update.
5772 * config/alpha/alpha.md (small symbolic operand splitter): Update.
5773
ddb28441
RM
57742002-02-17 Roland McGrath <roland@frob.com>
5775
5776 * config.gcc (powerpc-*-gnu-gnualtivec*,
5777 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
5778 * config/rs6000/gnu.h: New file.
5779 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
5780 Grok "gnu" in rs6000_abi_name.
5781 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
5782 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
5783 Grok -mcall-gnu analogous to -mcall-linux et al.
5784 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
5785 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
5786 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
5787
f6f8ada3
JJ
57882002-02-17 Jakub Jelinek <jakub@redhat.com>
5789
5790 PR c/3444:
5791 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
5792 shortening.
5793
e16b32fc
PT
57942002-02-17 Philipp Thomas <pthomas@suse.de>
5795
5796 * config/cris/cris.h: Undefine STARTFILE_SPEC and
5797 ENDFILE_SPEC before (re)defining them.
5798
f9477efd
KH
57992002-02-17 Kazu Hirata <kazu@hxi.com>
5800
5801 * config/h8300/h8300.c: Fix formatting.
5802 * config/h8300/h8300.h: Likewise.
5803
404ae494
PT
58042002-02-17 Philipp Thomas <pthomas@suse.de>
5805
5806 * doc/tm.texi: Explain why empty strings should not be
5807 marked for translation.
5808
a52453cc
PT
58092002-02-17 Philipp Thomas <pthomas@suse.de>
5810
5811 * final.c (output_operand_lossage): Changed to accept
5812 printf style arguments. Change calls where necessary.
5813 * output.h (output_operand_lossage): Change declaration
5814 accordingly. Update copyright.
5815 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
5816 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
5817 Update copyright date where necessary.
c410d49e 5818
a52453cc
PT
5819 * config/i386/i386.c (print_operand): Likewise. Remove use of
5820 sprintf.
5821
5822 * config/cris/cris.c (cris_operand_lossage): Likewise.
5823 Rename parameter so that exgettext recognizes it as
5824 translatable message.
5825 (LOSE_AND_RETURN): Rename parameter to msgid.
5826
1c11abc4
KH
58272002-02-17 Kazu Hirata <kazu@hxi.com>
5828
5829 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
5830 hard coded register number with an appropriate macro.
5831 (HARD_REGNO_MODE_OK): Likewise.
5832 (ARG_POINTER_REGNUM): Likewise.
5833 (STATIC_CHAIN_REGNUM): Likewise.
5834 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
5835 * config/h8300/h8300.md (define_constants): Define more
5836 register numbers.
5837
a5d17ff3
PT
58382002-02-17 Philipp Thomas <pthomas@suse.de>
5839
5840 * config/i386/i386.h: Don't mark empty strings for translation.
5841
1a7289c4
L
58422002-02-16 H.J. Lu <hjl@gnu.org>
5843
5844 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
5845
afb58288
ZW
58462002-02-16 Zack Weinberg <zack@codesourcery.com>
5847
5848 * cppinit.c (merge_include_chains): Check for brack being
5849 NULL before attempting to merge it with qtail.
5850
d2af4dbd
AC
58512002-02-16 Andrew Cagney <ac131313@redhat.com>
5852
5853 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
5854 DBX_DEBUG.
5855
2e1ed1e3
JDA
58562002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5857
5858 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
5859
604c75b2
JDA
58602002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5861
5862 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
5863 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
5864 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
5865
1a42b072
RK
5866Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5867
7303604f 5868 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
1a42b072
RK
5869 now only if !TARGET_FIX.
5870 (*movsi_nt_vms_fix): New pattern.
5871
c2ea1ac6
DR
58722002-02-16 Douglas B Rupp <rupp@gnat.com>
5873
5874 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
5875 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
5876 (alpha_sa_mask, alpha_sa_size): Reflect above change.
5877 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
5878 (alpha_start_function, alpha_expand_epilogue): Likewise.
5879 (unicosmk_gen_dsib): Likewise.
5880
725e58b1
RK
5881Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5882
5883 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
5884
13e58269
UW
58852002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
5886
c410d49e 5887 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
13e58269
UW
5888 check_and_change_labels, s390_final_chunkify): Delete.
5889 (s390_split_branches, s390_chunkify_pool): New functions.
5890 (s390_function_prologue): Call them.
c410d49e 5891
13e58269
UW
5892 * config/s390/s390.h (S390_REL_MAX): Delete.
5893 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
5894
c410d49e 5895 * config/s390/s390.md (cjump, icjump, jump): Fix length
13e58269
UW
5896 attribute calculation.
5897
5898
34d1b01d
DE
58992002-02-15 David Edelsohn <edelsohn@gnu.org>
5900
5901 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
5902 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
5903
be5cc51a
JDA
59042002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5905
5906 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
5907 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
5908 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
5909
ee96ce90
RS
59102002-02-15 Richard Sandiford <rsandifo@redhat.com>
5911
5912 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
5913
05fa709d
RS
59142002-02-15 Richard Sandiford <rsandifo@redhat.com>
5915
5916 * reload.c (find_dummy_reload): Check that an output register
5917 is valid for its mode.
5918
4606272b
AO
59192002-02-14 Alexandre Oliva <aoliva@redhat.com>
5920
9a360704
AO
5921 * combine.c (known_cond): After replacing the REG of a SUBREG, try
5922 to simplify it.
5923
4606272b
AO
5924 * function.c (assign_parms): Demote promoted argument passed by
5925 transparent reference.
5926
e62d89a1
JS
59272001-02-14 Joel Sherrill <joel@OARcorp.com>
5928
5929 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
5930 -Acpu() and -Amachine() to eliminate warnings.
5931
6c4cf695
UW
59322002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
5933
5934 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
5935
037f11ef
KH
59362002-02-14 Kazu Hirata <kazu@hxi.com>
5937
5938 * config/h8300/h8300-protos.h: Update the prototype for
5939 const_costs.
5940 * config/h8300/h8300.c (const_costs): Treat SET as a little
5941 more expensive operation.
5942 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
5943 reference to const_costs.
5944
fdc76b09
HPN
59452002-02-14 Hans-Peter Nilsson <hp@axis.com>
5946
5947 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
5948
d76e6800
JJ
59492002-02-14 Jakub Jelinek <jakub@redhat.com>
5950
5951 PR c/5503:
5952 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
5953 use arguments from newtype.
5954
5ae590d7
EC
59552002-02-13 Eric Christopher <echristo@redhat.com>
5956
5957 * config/mips/mips.c (override_options): Add check for march/mipsX
5958 on the same command line. Fix error message in cpu processing.
5959 Remove architecture and ISA checks.
5960
b8513691
AH
59612002-02-14 Aldy Hernandez <aldyh@redhat.com>
5962
831c4e87 5963 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
b8513691 5964
831c4e87 5965 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
b8513691 5966
78c875e8
AH
59672002-02-14 Aldy Hernandez <aldyh@redhat.com>
5968
831c4e87
KC
5969 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
5970 alternatives.
5971 ("*movv8hi_internal1"): Same.
5972 ("*movv16qi_internal1"): Same.
5973 ("*movv4sf_internal1"): Same.
78c875e8 5974
831c4e87
KC
5975 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
5976 not push_reload for altivec modes.
78c875e8 5977
d76e6800 59782002-02-13 Joel Sherrill <joel@OARcorp.com>
f22b4bc4
JS
5979
5980 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
5981 all RTEMS targets including removal of #includes from config/*/rtems*.h
5982 file and adding them to tm_file setting. Added xm_defines=POSIX to
5983 many targets.
5984 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
5985 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
5986 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
5987 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
5988 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
5989 config/m68k/rtemself.h: Ditto.
5990 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
5991 config/mips/rtems64.h: Ditto.
5992 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
5993 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
5994 Ditto.
5995 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
5996 config/sparc/rtemself.h: Ditto.
5997 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
5998 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
5999 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
6000 more like arm-elf.
6001 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
6002 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
6003 target made more similar to i386-elf.
6004 * config/i386/t-rtems-i386: Added soft float support and multilibs.
6005 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
6006 be similar to config/m68k/t-m68kelf.
6007 * gthr-rtems.h: Encapsulate with extern "C" for C++.
6008
8686336f
JH
6009Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
6010
6011 * regmove.c (kill_value): Handle subregs.
6012
558740bf
JH
6013Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
6014
6015 * i386.md (mul patterns): Allow memory operand to be first;
6016 add expanders where needed; fix constraints.
6017 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
6018 Allow memory operand to be the first.
6019
6020 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
6021 operands.
6022
21117a17
JJ
60232002-02-13 Jakub Jelinek <jakub@redhat.com>
6024
6025 PR c/5681:
6026 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
6027 GET_MODE (x).
6028
ec65b2e3
JJ
60292002-02-13 Jakub Jelinek <jakub@redhat.com>
6030
6031 PR optimization/5547:
6032 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
6033 all valid IA-32 address modes involving non-scaled %ebx and
6034 GOT/GOTOFF as displacement.
6035
ce50cae8
UW
60362002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
6037
6038 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
6039 after emitting ltorg insns.
6040
6041 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
6042 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
6043 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
6044 *abssf2): Fix "op_type" attribute.
6045
09eb789b
DR
60462002-02-13 Douglas B Rupp <rupp@gnat.com>
6047
2dbe67bb
DR
6048 * mkconfig.sh: Avoid using a subshell redirect.
6049 ($output.T): Change to $(output)T.
6050 (ENABLE_NLS): Remove unneeded undef.
6051
ea5b9a1f
DR
6052 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
6053 * config/alpha/x-vms (libsubdir): Define.
6054
3deb00ce
DR
6055 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
6056 register frame procedures. Optimize retrieving context.
6057
09eb789b
DR
6058 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
6059 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
6060 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
6061
1abade85
RK
6062Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6063
6064 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
6065 Make same change as for find_base_value.
6066
c283e63f
KH
60672002-02-13 Kazu Hirata <kazu@hxi.com>
6068
6069 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
6070 of QImode and SImode.
6071
86039100
KH
60722002-02-13 Kazu Hirata <kazu@hxi.com>
6073
6074 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
6075 length computation of movsi.
6076 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
6077
e1429da0
KH
60782002-02-13 Kazu Hirata <kazu@hxi.com>
6079
6080 * config/h8300/h8300.md (subqi3): Tighten the predicate for
6081 operands[2] to register_operand.
6082
aebfea10
JH
6083Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
6084
6085 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
6086
0ec4e2a8
AH
60872002-02-12 Aldy Hernandez <aldyh@redhat.com>
6088
831c4e87
KC
6089 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
6090 for altivec_lvx* and altivec_stvx*.
6091 ("*movv4si_internal"): Add constraint for loading from GPRs.
6092 ("*movv8hi_internal1"): Same.
6093 ("*movv16qi_internal1"): Same.
6094 ("*movv4sf_internal1"): Same.
0ec4e2a8 6095
831c4e87 6096 * config/rs6000/rs6000.c (altivec_register_operand): New.
0ec4e2a8 6097
831c4e87
KC
6098 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
6099 altivec_register_operand.
0ec4e2a8 6100
b007569d
HPN
61012002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
6102
6103 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
6104 handle SYMBOL_REF.
6105
e6834654
SS
61062002-02-13 Stan Shebs <shebs@apple.com>
6107
831c4e87
KC
6108 * c-typeck.c (digest_init): Handle vectors.
6109 (really_start_incremental_init): Same.
6110 (pop_init_level): Same.
6111 (process_init_element): Same.
e6834654 6112
831c4e87 6113 * varasm.c (output_constant): Same.
e6834654 6114
831c4e87
KC
6115 * expr.c (clear_storage): Same.
6116 (store_constructor): Same.
e6834654 6117
d9b3eb63
EC
61182002-02-12 Eric Christopher <echristo@redhat.com>
6119
6120 * explow.c (hard_function_value): Add comment explaining
6121 signed/unsigned comparison.
6122
56d44285
JJ
61232002-02-12 Jakub Jelinek <jakub@redhat.com>
6124
6125 * jump.c (never_reached_warning): Add finish argument.
6126 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
6127 real insn after end.
6128 * rtl.h (never_reached_warning): Adjust prototype.
6129 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
6130 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
6131 never_reached_warning.
6132
fc209487
GS
61332002-02-12 Graham Stott <grahams@redhat.com>
6134
6135 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
6136
1e41e866
KH
61372002-02-12 Kazu Hirata <kazu@hxi.com>
6138
6139 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
6140 logical shifts on H8/300.
6141 (shift_alg_si): Improve several shifts on H8/300.
6142 (get_shift_alg): Likewise.
6143
a36a47ad
GS
61442002-02-12 Graham Stott <grahams@redhat.com>
6145
6146 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
6147
0aacc8ed
RK
6148Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6149
6150 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
6151 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
6152
a02ac966
HPN
61532002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
6154
6155 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
6156 non-CONST_INT through default_assemble_integer.
6157 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
6158 <case 8>: Abort for CONST_DOUBLE.
6159
d6e06ddc
JDA
61602002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
6161
6162 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
6163 is specified.
6164 * config/pa/pa-linux.h (LIB_SPEC): Delete.
6165 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
6166
515342a8
AH
61672002-02-11 Andrew Haley <aph@cambridge.redhat.com>
6168
6169 * config/stormy16/stormy16.md (zero_extendqihi2): New.
6170
cddd8b72
AO
61712002-02-11 Alexandre Oliva <aoliva@redhat.com>
6172
66df7a98
AO
6173 * regrename.c (regrename_optimize): Don't accept a
6174 part-clobbered register if the replaced register is not part
6175 clobbered.
6176
841404cd
AO
6177 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
6178 take padding into account when computing the argument value.
6179
1d1ade42
AO
6180 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
6181
cddd8b72
AO
6182 * combine.c (try_combine): Apply substitutions in
6183 CALL_INSN_FUNCTION_USAGE too.
6184
5c665b88
AH
61852002-02-11 Aldy Hernandez <aldyh@redhat.com>
6186
77f6c1eb
RS
6187 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
6188 __builtin_altivec_abs*.
6189 (bdesc_abs): New.
5c665b88 6190
77f6c1eb
RS
6191 * config/rs6000/rs6000.h (rs6000_builtins): Add
6192 ALTIVEC_BUILTIN_ABS*.
5c665b88 6193
77f6c1eb
RS
6194 * config/rs6000/altivec.h: Use const char for builtins expecting
6195 literals.
6196 (vec_abs): New versions for C and C++.
6197 (vec_abss): Same.
5c665b88 6198
3494f1b4
KH
61992002-02-10 Kazu Hirata <kazu@hxi.com>
6200
6201 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
6202 using Pmode.
6203
72431aef
KH
62042002-02-10 Kazu Hirata <kazu@hxi.com>
6205
6206 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
6207 constant definition from h8300.md.
6208 (FRAME_POINTER_REGNUM): Likewise.
6209 * config/h8300/h8300.md (define_constants): Add FP_REG.
6210
87e4ee91
KH
62112002-02-10 Kazu Hirata <kazu@hxi.com>
6212
6213 * config/h8300/h8300.c (print_operand): Remove redundant code.
6214
9c188705
KH
62152002-02-10 Kazu Hirata <kazu@hxi.com>
6216
6217 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
6218 * config/h8300/h8300.c (byte_reg): Make it static.
6219
fba78abb
RH
62202002-02-10 Richard Henderson <rth@redhat.com>
6221
6222 PR c/5623
6223 * c-typeck.c (incomplete_type_error): Handle flexible array members.
6224
65739e62
RH
62252002-02-10 Richard Henderson <rth@redhat.com>
6226
6227 PR c++/5624
6228 * tree.c (append_random_chars): Don't abort if main_input_filename
6229 does not exist.
6230
247cb9df
HPN
62312002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
6232
6233 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
6234
232bd029
KH
62352002-02-10 Kazu Hirata <kazu@hxi.com>
6236
65739e62 6237 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
232bd029
KH
6238 (pushhi1): Likewise.
6239
276ef573
JDA
62402002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
6241
6242 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
6243 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
6244
617e9ee5
DB
62452002-02-09 David O'Brien <obrien@FreeBSD.org>
6246
6247 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
6248 remove MASK_VIS.
6249 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
6250
6dfa4005
KH
62512002-02-09 Kazu Hirata <kazu@hxi.com>
6252
6253 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
6254 a half of an SImode register on H8/300.
6255
749e7b80
JH
6256Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
6257
6258 * i386.md (movdi_2): Add missing '!'.
6259
ca77d87c
KH
62602002-02-09 Kazu Hirata <kazu@hxi.com>
6261
6262 * config/h8300/h8300.h: Fix formatting. Remove commented-out
6263 definitions.
6264
16c96304
KH
62652002-02-09 Kazu Hirata <kazu@hxi.com>
6266
6267 * config/h8300/h8300.md (length): Correct the distance valid
6268 for the short branch.
6269
a364bc90
KH
62702002-02-09 Kazu Hirata <kazu@hxi.com>
6271
6272 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
6273
e4ec2cac
AO
62742002-02-09 Alexandre Oliva <aoliva@redhat.com>
6275
a138247b
AO
6276 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
6277 registers in SImode.
6278 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
6279 part-clobbered.
6280
2b1fd83f
AO
6281 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
6282 patch.
d9b3eb63 6283
fa5322fa
AO
6284 Contribute sh64-elf.
6285 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
6286 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
6287 (sh_cannot_modify_jumps_p): New function.
6288 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
6289 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
6290 (sh_ms_bitfield_layout_p): New function.
6291 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
6292 Zack Weinberg <zack@codesourcery.com>
6293 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
6294 expand_simple_binop instead of expand_binop.
6295 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
6296 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
6297 use of .quad and .uaquad.
6298 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
6299 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
6300 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
6301 * config/sh/sh.md (movdi_const, movdi_const_32bit,
6302 movdi_const_16bit): Make sure all CONSTs have modes.
6303 (sym2PIC): Ditto, but by adjusting all callers.
6304 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
6305 if the prologue calls the SHmedia argument decoder or register
6306 saver.
6307 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
6308 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
6309 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
6310 (sh_expand_epilogue): Don't emit USE of return target register.
6311 (prepare_move_operands): Legitimize DImode PIC addresses.
6312 (sh_media_register_for_return): Skip tr0, used to initialize the
6313 PIC register.
6314 (sh_expand_prologue): Remove explicit USE of return register.
6315 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
6316 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
6317 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
6318 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
6319 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
6320 EXTRA_CONSTRAINT_T.
6321 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
6322 (MOVI_SHORI_BASE_OPERAND_P): New.
6323 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
6324 (EXTRA_CONSTRAINT_T): Define in terms of them.
6325 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
6326 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
6327 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
6328 alternatives supporting TARGET_REGS.
6329 (UNSPEC_GOTPLT): New constant.
6330 (movdi split): Move incrementing of LABEL_NUSES...
6331 (movdi_const, movdi_const_32bit): Here. Use
6332 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
6333 (movdi_const_16bit): New.
6334 (call, call_value) [flag_pic]: Use GOTPLT.
6335 (call_pop, call_value_pop): New expands.
6336 (call_pop_compact, call_pop_rettramp): New insns.
6337 (call_value_pop_compact, call_value_pop_rettramp): New insns.
6338 (sibcall) [flag_pic]: Use GOT.
6339 (builtint_setjmp_receiver): Remove bogus, unused expand.
6340 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
6341 (*pt, *ptb, ptrel): New insns.
6342 (sym2GOT): Handle DImode GOT.
6343 (sym2GOTPLT, symGOTPLT2reg): New expands.
6344 (sym2PIC): New expand.
6345 (shcompact_return_tramp): Use GOTPLT to return trampoline.
6346 (shcompact_return_tramp_i): Use return register explicitly.
6347 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
6348 disable flag_reorder_blocks.
6349 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
6350 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
6351 clobbers, for clarity.
6352 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
6353 restoring of r0 in macl as MAYBE_DEAD.
6354 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
6355 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
6356 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
6357 alter_subreg all over.
6358 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
6359 reload, instead of emitting instructions that would require
6360 reloading.
6361 (casesi_load_media): Add missing modes.
6362 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
6363 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
6364 as used if the argument decoder is called.
6365 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
6366 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
6367 Pmode, then extend it to DImode if necessary.
6368 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
6369 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
6370 constants in FPU-enabled SHmedia, let them be loaded from memory.
6371 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
6372 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
6373 Adjust whitespace in assembly output templates.
6374 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
6375 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
6376 mode of if_then_else.
6377 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
6378 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
6379 sh.h.
6380 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
6381 Joern Rennecke <amylaar@redhat.com>
6382 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
6383 (SUBTARGET_CPP_PTR_SPEC): New.
6384 (SUBTARGET_CPP_SPEC): Remove.
6385 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
6386 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
6387 Fix typo in previous checkin.
6388 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
6389 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
6390 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
6391 Alexandre Oliva <aoliva@redhat.com>
6392 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
6393 what single FP register can hold for SHmedia target.
6394 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
6395 Alexandre Oliva <aoliva@redhat.com>
6396 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
6397 Do not split into SUBREG.
6398 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
6399 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
6400 and added new functions as specified in SH5 ABI r9.
6401 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
6402 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
6403 8-byte boundary.
6404 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
6405 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
6406 gen_consttable_4 and gen_consttable_8. Emit multiple labels
6407 and consttable_window_ends.
6408 2001-06-03 Graham Stott <grahams@redhat,com>
6409 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
6410 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
6411 * config/sh/sh.c (print_operand): Handle floating-point pair,
6412 vector and matrix registers.
6413 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
6414 vector modes into account.
6415 * config/sh/sh.md (movv2sf): Split move between registers into
6416 movdf.
6417 (movv4sf, movv16sf): Introduce insns that get split only after
6418 reload.
6419 * config/sh/shmedia.h: Fix Copyright dates.
6420 * config/sh/ushmedia.h: Likewise. Move loop counter
6421 declarations into conditionals that uses them.
6422 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
6423 loop boundary.
6424 * config/sh/sshmedia.h: Fix Copyright dates.
6425 (sh_media_PUTCFG): Fix constraints.
6426 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
6427 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
6428 ptrmemfunc_vbit_in_delta for SH5.
6429 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
6430 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
6431 * invoke.texi: Likewise.
6432 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
6433 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
6434 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
6435 GCC_pop_shmedia_regs_nofpu): New global symbols.
6436 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
6437 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
6438 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
6439 compact function with nonlocal labels.
6440 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
6441 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
6442 (initial_elimination_offset): Account for their stack space.
6443 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
6444 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
6445 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
6446 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
6447 least one of the operands to be a register.
6448 (movv2sf): Likewise. Renamed to movv2sf_i.
6449 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
6450 prepare_move_operands() before emitting SHmedia insns.
6451 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
6452 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
6453 Don't save nor initialize r12. Don't mis-align the stack.
6454 Pad the code with a nop.
6455 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
6456 stack.
6457 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6458 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
6459 [__SHMEDIA__]: Implement.
6460 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
6461 * config/sh/sh.md: Set latency of `pt' closer to reality.
6462 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
6463 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
6464 Set move, load and store type attributes.
6465 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
6466 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
6467 profiling.
6468 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
6469 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
6470 * config/sh/sh.c (sh_media_register_for_return): New function.
6471 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
6472 branch-target register.
6473 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
6474 * config/sh/sh.md (return_media_i): Use any call-clobbered
6475 branch-target register.
6476 (return_media): If r18 wasn't copied in the prologue, copy it
6477 here.
6478 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
6479 Clear class FP0_REGS.
6480 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
6481 from elf.h.
6482 2001-03-08 DJ Delorie <dj@redhat.com>
6483 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
6484 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
6485 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
6486 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
6487 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
6488 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6489 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
6490 return value correctly for call_cookie.
6491 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6492 * config/sh/crt1.asm (start): Modified so as to call
6493 ___setup_argv_and_call_main.
6494 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
6495 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
6496 SHmedia mode.
6497 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
6498 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
6499 (STRIP_NAME_ENCODING): Use it.
6500 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
6501 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
6502 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
6503 prepare_scc_operands().
6504 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
6505 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
6506 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
6507 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
6508 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
6509 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
6510 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
6511 used in shcompact_incoming_args.
6512 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
6513 change.
6514 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
6515 mode.
6516 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
6517 Adjust accordingly.
6518 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
6519 Simplify. Adjust. Add sanity check.
6520 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
6521 FPU_SINGLE_BIT.
6522 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
6523 TARGET_SHCOMPACT.
6524 (udivsi3, divsi3): Use them.
6525 (force_mode_for_call): New insn.
6526 (call, call_value, sibcall_value): Emit it before SHcompact
6527 calls.
6528 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
6529 * config/sh/sh.md (call, call_value, sibcall): Make sure the
6530 call cookie is non-NULL before taking its value.
6531 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
6532 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
6533 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6534 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
6535 block.
6536 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
6537 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
6538 temporary for stack adjusts. Use MACL and MACH to pass
6539 arguments to shcompact_incoming_args.
6540 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
6541 clobber r1.
6542 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
6543 (nested_trampoline): Load static chain address into r1.
6544 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
6545 2001-01-07 Alexandre Oliva <aoliva@redhat.com
6546 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
6547 fp_arith_reg_operand().
6548 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
6549 * config/sh/sh.md (casesi): Sign-extend the first two operands,
6550 and use signed compares for them.
6551 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
6552 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
6553 ones properly aligned.
6554 (find_barrier): Account for extra alignment needed for 8-byte wide
6555 constants.
6556 (machine_dependent_reorg): Require a label for the second 4-byte
6557 constant after an 8-byte one.
6558 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
6559 change.
6560 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
6561 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
6562 last_float when switching float modes.
6563 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
6564 auto-increment for general-purpose registers.
6565 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
6566 result.
6567 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
6568 for stack adjust.
6569 * config/sh/sh.c (sh_builtin_saveregs): Support using all
6570 registers for varargs.
6571 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
6572 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
6573 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
6574 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
6575 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
6576 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
6577 call_cookie accordingly.
6578 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
6579 (SHCOMPACT_BYREF): Likewise.
6580 (SHCOMPACT_FORCE_ON_STACK): New macro.
6581 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
6582 (sh_builtin_saveregs): Likewise.
6583 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6584 shcompact_incoming_args): Use new shift values. Support
6585 sequences of consecutive and non-consecutive pushes/pops.
6586 * config/sh/sh.md (return): Don't explicitly use PR_REG.
6587 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
6588 * config/sh/sh.h (TEXT_SECTION): Define.
6589 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
6590 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
6591 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
6592 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
6593 return values on FPU-enabled SHmedia.
6594 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
6595 FPU-enabled SHmedia.
6596 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
6597 value is returned in a non-FP reg and is not returned by
6598 reference.
6599 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
6600 jump_ind.
6601 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
6602 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
6603 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
6604 quad-aligned to be passed by callee-copy reference.
6605 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
6606 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
6607 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
6608 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
6609 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
6610 copying low-numbered FP regs to r7 and r8.
6611 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
6612 FP regs to general-purpose regs only if the copy was passed on the
6613 stack.
6614 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
6615 copying FP reg to r9.
6616 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
6617 copy FP regs to general-purpose regs only in outgoing calls.
6618 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
1e4e95d6 6619 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
fa5322fa
AO
6620 HOST_WIDE_INT.
6621 * config/sh/sh.h (struct sh_args): Document all fields.
6622 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
6623 passed partially on the stack should not consider making
6624 sibcalls.
6625 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
6626 stack_regs only for incoming calls. When passing FP args,
6627 make sure there are FP regs available before modifying
6628 call_cookie.
6629 (SHCOMPACT_BYREF): Pass double args in general-purpose
6630 registers by reference.
6631 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
6632 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
6633 attempt to generate sibcalls if the caller got any arguments
6634 by reference.
6635 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
6636 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
6637 to 8-byte boundaries.
6638 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
6639 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
6640 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
6641 stored in the stack.
6642 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
6643 for the offsets to have the ISA bit set.
6644 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
6645 invocation. Use beq instead of bgt to mark end of sequence of
6646 loads.
6647 (shcompact_incoming_args): Fix store of r2. Use beq instead of
6648 bgt to mark end of sequence of stores.
6649 * config/sh/sh.c (arith_operand): Don't check whether
6650 CONST_OK_FOR_J for now.
6651 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
6652 instead of long for conversion.
6653 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
6654 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
6655 before passing it to fprintf.
6656 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
6657 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
6658 Call set_fpscr before reading/writing SR.
6659 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
6660 Call set_fpscr.
6661 * config/sh/lib1funcs.asm: Add `.align 2' directives before
6662 SHmedia code.
6663 (FMOVD_WORKS): Define on SH5 with FPU.
6664 (set_fpscr): Define on SH5. Remove separate _fpscr_values
6665 setting.
6666 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
6667 _fpscr_values.
6668 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
6669 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
6670 address.
6671 (ia_main_table): Ditto.
6672 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
6673 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6674 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
6675 the definitions from sh.h.
6676 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
6677 TARGET_SH5.
6678 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
6679 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
6680 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
6681 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
6682 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
6683 Increment LABEL_NUSES.
d9b3eb63 6684
fa5322fa
AO
6685 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
6686 TARGET_SH5.
6687 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
6688 defined.
6689 * config/sh/elf.h (SIZE_TYPE): Likewise.
6690 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
6691 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6692 shcompact_incoming_args): Load switch table addresses using
6693 datalabel.
6694 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
6695 (NO_BUILTIN_SIZE_TYPE): Define.
6696 (SIZE_TYPE): Don't define.
6697 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
6698 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
6699 definition of __SH5__=32 for -m5-compact-nofpu.
6700 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
6701 ADDR_DIFF_VEC.
6702 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
6703 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
6704 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
6705 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
6706 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
6707 (INSN_LENGTH_ALIGNMENT): Likewise.
6708 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6709 * config/sh/sh.md (call, call_value, sibcall): Simplify
6710 copying of non-branch-target register.
6711 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
1e4e95d6 6712 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
fa5322fa
AO
6713 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
6714 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6715 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
6716 floating-point values as structs.
6717 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
6718 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
6719 general-purpose register.
6720 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
6721 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
6722 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
6723 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
6724 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
6725 (ENCODE_SECTION_INFO): Enclose variables and constants in
6726 DATALABEL unspecs.
6727 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
6728 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
6729 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
6730 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
6731 only for LABEL_REFs. For SYMBOL_REFs, prepend
6732 SH_DATALABEL_ENCODING to the symbol name.
6733 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
6734 convert_mode().
6735 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
6736 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
6737 UNSPEC_DATALABEL.
6738 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
6739 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
6740 (DATALABEL_REF_P): Don't require CONST.
6741 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
6742 REL label.
6743 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
6744 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
6745 right.
6746 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
6747 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
6748 Use shallow_copy_rtx and PUT_MODE to change the mode of
6749 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
6750 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
6751 on SHmedia using GENERAL_REGs.
6752 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
6753 bltu_media_i): Fix reversion of conditions.
6754 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
6755 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
6756 * config/sh/sh.c (output_far_jump): Save r13 in macl.
6757 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
6758 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
6759 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6760 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
6761 (GCC_nested_trampoline): Likewise.
6762 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
6763 * config/sh/sh.c (gen_datalabel_ref): Define.
6764 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
6765 (INITIALIZE_TRAMPOLINE): Likewise.
6766 (TRAMPOLINE_ADJUST_ADDRESS): Define.
6767 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
6768 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
6769 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
6770 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
6771 (ic_invalidate): Adjust for SH5.
6772 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
6773 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
6774 _nested_trampoline.
6775 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
6776 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
6777 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
6778 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
6779 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
6780 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
6781 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
6782 * config/sh/sh.c (target_reg_operand): Match only target-branch
6783 registers and pseudos that aren't virtual registers.
6784 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
6785 Copy operands that don't match target_reg_operand to pseudos.
6786 (call_media, call_value_media, sibcall_media): Use
6787 target_reg_operand instead of target_operand.
6788 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
d9b3eb63 6789 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
fa5322fa
AO
6790 * config/sh/sh.c (target_reg_operand): Match hardware registers
6791 other than branch-target registers.
6792 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
6793 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
6794 (fpscr_values) [SH5 == 32]: Define.
6795 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
6796 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
6797 Handle function addresses coming in SUBREGs.
6798 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
6799 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6800 shcompact_return_trampoline): Use datalabel where appropriate.
6801 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
6802 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
6803 general-purpose register to copy one branch-target register to
6804 another.
6805 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
6806 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
6807 SYMBOL_REFs with VOIDmode.
6808 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
6809 bltu_media_i): New insns.
6810 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
6811 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
6812 (INIT_CUMULATIVE_ARGS): Likewise.
6813 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6814 * machmode.def (V16SFmode): New mode.
6815 * c-common.c (type_for_mode): Support V2SF and V16SF.
6816 * tree.c (build_common_tree_nodes_2): Likewise.
6817 * tree.h (tree_index): Likewise.
6818 * calls.c (emit_call_1): Take args_so_far. Adjust all
6819 callers. Introduce CALL_POPS_ARGS.
6820 * tm.texi (CALL_POPS_ARGS): Document.
6821 * config/sh/crt1.asm: Implement in SHmedia mode.
6822 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
6823 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
6824 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
6825 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
6826 Implement divsi and udivsi in SHmedia mode. Introduce
6827 SHcompact trampolines.
6828 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
6829 only in SHmedia64.
6830 (regno_reg_class): Rewrite.
6831 (fp_reg_names): Remove.
6832 (sh_register_names, sh_additional_register_names): New.
6833 (print_operand): Added `u'. Support SUBREGs in addresses.
6834 Add parentheses around shifted CONSTs.
6835 (output_file_start): Output .mode and .abi directives.
6836 (shiftcosts, addsubcosts, multcosts): Adjust.
6837 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
6838 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
6839 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
6840 bytes, not registers. Take into account the need for the
6841 SHcompact incoming args trampoline. Adjust all callers.
6842 (sh_expand_prologue): Take stack_regs into account. Call
6843 incoming args trampoline. Keep stack aligned as per SH5 ABI.
6844 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
6845 stack aligned as per SH5 ABI.
6846 (sh_builtin_saveregs): Support SH5 ABI.
6847 (sh_build_va_list, sh_va_start): Likewise.
6848 (initial_elimination_offset): Take alignment into account.
6849 Compute location of PR according to the SH5 stack frame.
6850 (arith_reg_operand): Reject branch-target registers.
6851 (shmedia_6bit_operand): New.
6852 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
6853 (target_reg_operand): Match DImode only. Accept SUBREGs.
6854 (target_operand): New.
6855 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
6856 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
6857 SIBCALL_REGS for SHmedia.
6858 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
6859 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
6860 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
6861 (TARGET_SWITCHES): New SH5 flags.
6862 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
6863 VALID_REGISTER_P to disable unsupported registers.
6864 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
6865 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
6866 (FUNCTION_ARG_PADDING): Define.
6867 (FASTEST_ALIGNMENT): Adjust.
6868 (SH_REGISTER_NAMES_INITIALIZER): New.
6869 (sh_register_names): Declare.
6870 (DEBUG_REGISTER_NAMES): Define.
6871 (REGISTER_NAMES): Define based on sh_register_names.
6872 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
6873 (sh_additional_register_names): Declare.
6874 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
6875 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
6876 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
6877 (REGISTER_NATURAL_MODE): Define.
6878 (FIRST_PSEUDO_REGISTER): Adjust.
6879 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
6880 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
6881 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
6882 (VECTOR_MODE_SUPPORTED_P): Define.
6883 (REG_CLASS_CONTENTS): Adjust.
6884 (SMALL_REGISTER_CLASSES): Adjust.
6885 (REG_ALLOC_ORDER): Adjust.
6886 (INDEX_REG_CLASS): Adjust.
6887 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
6888 (CONST_OK_FOR_LETTER_P): Adjust.
6889 (PREFERRED_RELOAD_CLASS): Adjust.
6890 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
6891 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
6892 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
6893 (FIRST_FP_PARM_REG): Adjust.
6894 (CALL_POPS_ARGS): Define.
6895 (FUNCTION_ARG_REGNO_P): Adjust.
6896 (struct sh_args): New fields.
6897 (GET_SH_ARG_CLASS): Adjust.
6898 (INIT_CUMULATIVE_ARGS): Adjust.
6899 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
6900 (FUNCTION_ARG_ADVANCE): Adjust.
6901 (FUNCTION_ARG): Adjust.
6902 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
6903 (FUNCTION_ARG_CALLEE_COPIES): Define.
6904 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
6905 (STRICT_ARGUMENT_NAMING): Define.
6906 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
6907 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
6908 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
6909 (SETUP_INCOMING_VARARGS): Adjust.
6910 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
6911 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
6912 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
6913 (SUBREG_OK_FOR_INDEX_P): Adjust.
6914 (EXTRA_CONSTRAINT_S): Update.
6915 (EXTRA_CONSTRAINT_T): New.
6916 (EXTRA_CONSTRAINT): Adjust.
6917 (GO_IF_LEGITIMATE_INDEX): Adjust.
6918 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
6919 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
6920 (MOVE_MAX): Adjust.
6921 (MAX_MOVE_MAX): Define.
6922 (Pmode): Adjust.
6923 (CONST_COSTS): Adjust.
6924 (REGISTER_MOVE_COST): Adjust.
6925 (BRANCH_COST): Adjust.
6926 (TEXT_SECTION_ASM_OP): Adjust.
6927 (DBX_REGISTER_NUMBER): Adjust.
6928 (ASM_OUTPUT_DOUBLE_INT): New.
6929 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6930 (PREDICATE_CODES): Adjust.
6931 (PROMOTE_MODE): Adjust.
6932 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
6933 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
6934 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
6935 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
6936 (DR0_REG, DR2_REG, DR4_REG): Renumber.
6937 (TR0_REG, TR1_REG, TR2_REG): New.
6938 (XD0_REG): Renumber.
6939 (UNSPEC_COMPACT_ARGS): New.
6940 (type): Added pt and ptabs.
6941 (length): Default to 4 on SHmedia. Default pt length to 12
1e4e95d6 6942 and 20 on SHmedia32 and SHmedia64, respectively.
fa5322fa
AO
6943 (pt): New function unit.
6944 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
6945 Add whitespace between operands of SHmedia instructions.
6946 (movdicc): Fix.
6947 (adddi3_media, addsi3_media): Adjust constraints.
6948 (subsi3) [SHmedia]: Force operand 1 into a register.
6949 (udivsi3_i1_media, udivsi3_i4_media): New.
6950 (udivsi3): Support SHmedia.
6951 (divsi3_i1_media, divsi3_i4_media): New.
6952 (divsi3): Support SHmedia.
6953 (anddi3, iordi3, xordi3): Adjust constraints.
6954 (zero_extendhidi2, zero_extendqidi2): New.
6955 (extendsidi2, extendhidi2, extendqidi2): New.
6956 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
6957 (pop_e, pop_fpul, pop_4): Likewise.
6958 (movsi_media): Support FP and BT registers.
6959 (movsi_media_nofpu): New. Adjust splits to DImode.
6960 (lduw, ldub): Renamed to zero_extend* above.
6961 (movqi_media): Fix typo.
6962 (movdi_media): Support FP and BT registers.
6963 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
6964 (movdi_const_32bit): New.
6965 (shori_media): Require immediate operand. Use `u' for output.
6966 (movdf_media, movsf_media): Simplified.
6967 (movdf_media_nofpu, movsf_media_nofpu): New.
6968 (movdf, movsf): Adjust
6969 (movv2sf, movv2sf, movv16sf): New.
6970 (beq_media, beq_media_i): Adjust constraints. Don't use
6971 scratch BT register.
6972 (bne_media, bne_media_i): Likewise.
6973 (bgt_media, bgt_media_i): Likewise.
6974 (bge_media, bge_media_i): Likewise.
6975 (bgtu_media, bgtu_media_i): Likewise.
6976 (bgeu_media, bgeu_media_i): Likewise.
6977 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
6978 bunordered): Emit jump insn. Force operands to registers when
6979 needed.
6980 (jump_media, jump): Simplify.
6981 (call_compact, call_compact_rettramp): New.
6982 (call_value_compact, call_value_compact_rettramp): New.
6983 (call_media, call_value_media): Simplify.
6984 (sibcall_compact, sibcall_media): New.
6985 (call, call_value): Adjust for SHmedia and SHcompact.
6986 (sibcall, sibcall_value, untyped_call): Likewise.
6987 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
6988 (indirect_jump): Adjust for SHmedia.
6989 (casesi_jump_media): New.
6990 (nop): Re-enable for SHmedia.
6991 (call_site): Restrict to SH1.
6992 (casesi): Adjust for SHmedia.
6993 (casesi_shift_media, casesi_load_media): New.
6994 (return): Explicitly use PR register. Call return trampoline
6995 on SHcompact.
6996 (return_i): Explicitly use PR register.
6997 (shcompact_return_tramp, shcompact_return_tramp_i): New.
6998 (return_media): Adjust.
6999 (shcompact_incoming_args): New.
7000 (epilogue): Adjust.
7001 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
7002 (movstrsi): Disable on SH5.
7003 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
7004 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
7005 (subsf3, subsf3_media): Likewise.
7006 (mulsf3, mulsf3_media, mac_media): Likewise.
7007 (divsf3, divsf3_media): Likewise.
7008 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
7009 (floatsisf2, fux_truncsfsi2): Likewise.
7010 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
7011 constraints.
7012 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
7013 (cmpunsf_media, cmpsf): Likewise.
7014 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
7015 (abssf2, abssf2_media): Likewise.
7016 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
7017 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
7018 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
7019 (floatsidf2, fix_truncdfsi2): Likewise.
7020 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
7021 constraints.
7022 (cmpeqdf_media, cmpgtdf_media): Likewise.
7023 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
7024 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
7025 (absdf2, absdf2_media): Likewise.
7026 (extendsfdf2, extendsfdf2_media): Likewise.
7027 (truncsfdf2, truncsfdf2_media): Likewise.
7028 * config/sh/sh64.h: New file.
7029 * config/sh/t-sh64: New file.
7030 * config/sh/shmedia.h: New file.
7031 * config/sh/ushmedia.h: New file.
7032 * config/sh/sshmedia.h: New file.
7033 * configure.in: Added sh64-*-elf.
7034 * configure: Rebuilt.
7035 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
7036 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
7037 (reg_class_from_letter): Use `b' for TARGET_REGS.
7038 (print_operand): Support `%M', `%m', `AND' and
7039 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
7040 (andcosts): Adjust for SHmedia.
7041 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
7042 Likewise.
7043 (target_reg_operand): New function.
7044 * config/sh/sh-protos.h (target_reg_operand): Declare.
7045 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
7046 FP registers on SH5.
7047 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
7048 on SH4.
7049 (TARGET_REGISTER_P): New macro.
7050 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
7051 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
7052 (EXTRA_CONSTRAINT_S): New macro.
7053 (EXTRA_CONSTRAINT): Adjust.
7054 (FLOAT_TYPE_SIZE): Define to 32.
7055 (Pmode): DImode on SHmedia.
7056 (CONST_COSTS): Adjust for SHmedia literals.
7057 (PREDICATE_CODES): Added target_reg_operand.
7058 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
7059 * config/sh/sh.md: Remove all attrs from SHmedia insns.
7060 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
7061 (cmpdi): Accept SHmedia.
7062 (movdicc_false, movdicc_true): New insns.
7063 (movdicc): New expand.
7064 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
7065 no_new_pseudos.
7066 (addsi3_media): Match `S' constraint.
7067 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
7068 (negdi2): Expand for SHmedia.
7069 (one_cmpldi2): New expand.
7070 (zero_extendsidi2): Change from expand to insn.
7071 (extendsidi2): Add constraints.
7072 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
7073 LD/ST address. Fix SI immediate loading split.
7074 (movhi_media, movqi_media, lduw, ldub): New insns.
7075 (movhi, movqi): Accept SHmedia.
7076 (shori_media, movdi_media): Relax input constraints. Split
7077 symbolic constants.
7078 (movdf_media, movsf_media): New insn. New split to movdi.
7079 (movdf, movsf): Match on SHmedia.
7080 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
7081 bgeu_media): New insns and splits. New insns with `_i' suffix.
7082 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
7083 (bunordered): New expand.
7084 (jump_compact): Renamed from `jump'.
7085 (jump_media): New insn.
7086 (jump): New expand.
7087 (call_media, call_value_media): New insns.
7088 (call, call_value): Adjust.
7089 (indirect_jump_compact): Renamed from `indirect_jump'.
7090 (indirect_jump_media): New insn.
7091 (indirect_jump): New expand.
7092 (untyped_call, return): Accept SHmedia.
7093 (return_media): New insn.
7094 (prologue, epilogue, blockage): Accept SHmedia.
7095 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
7096 (sunordered): New expand.
7097 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
7098 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
7099 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
7100 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
7101 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
7102 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
7103 abssf2_media): New insns.
7104 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
7105 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
7106 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
7107 floatdidf2, floatsidf2_media, fix_truncdfdi2,
7108 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
7109 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
7110 absdf2_media): New insns.
7111 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
7112 (extendsfdf2_media, truncdfsf2_media): New insns.
7113 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
7114 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
7115 * config/sh/sh.h (CONST_OK_FOR_J): Document.
7116 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
7117 * config/sh/sh.md (adddi3): New expand.
7118 (adddi3_media, adddi3z_media): New insns.
7119 (adddi3_compact): Renamed from adddi3.
7120 (addsi3_media): Use add.l r63 to add constant zero.
7121 (subdi3): New expand.
7122 (subdi3_media): New insn.
7123 (subdi3_compact): Renamed from subdi3.
7124 (mulsidi3): New expand.
7125 (mulsidi3_media): New insn.
7126 (mulsidi3_compact): Renamed from mulsidi3.
7127 (umulsidi3): New expand.
7128 (umulsidi3_media): New insn.
7129 (umulsidi3_compact): Renamed from umulsidi3.
7130 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
7131 (ashlsi3, ashrsi3, lshrsi3): Use them.
7132 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
7133 (ashldi3, ashrdi3, lshrdi3): Use them.
7134 (zero_extendsidi2): New expand.
7135 (extendsidi2): New insn.
7136 (movsi_media): New insn. Split to movdi to load constants.
7137 (movsi): Enable for shmedia.
7138 (movdi_media): New insn. Use shori_media to load wide constants.
7139 (short_media): New insn.
7140 (movdi): Enable for shmedia.
7141 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
7142 * config/sh/sh.h (CPP_SPEC): Added `m5'.
7143 (SUBTARGET_CPP_SPEC): Added `!m5'.
7144 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
7145 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
7146 to all other SH variants.
7147 (TARGET_DEFAULT): Set to SH1_BIT.
7148 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
7149 (BITS_PER_WORD): Raise to 64 on shmedia.
7150 (MAX_BITS_PER_WORD): Change to 64.
7151 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
7152 (INT_TYPE_SIZE): Keep as 32.
7153 (UNITS_PER_WORD): Raise to 8 on shmedia.
7154 (MIN_UNITS_PER_WORD): Keep as 4.
7155 (POINTER_SIZE): Raise to 64 on shmedia.
7156 (CONST_OK_FOR_J): New macro.
7157 (CONST_OK_FOR_LETTER_P): Use it.
7158 (processor_type): Add PROCESSOR_SH5.
7159 * config/sh/sh.md: Conditionalize all expands, insns and
7160 splits to TARGET_SH1.
7161 (cpu): Added sh5.
7162 (addsi3_compact): Renamed from...
7163 (addsi3): Now an expand.
7164 (addsi3_media, subsi3_media): New insns.
7165 (subsi3): Don't negate constants with SHmedia.
7166
e4ec2cac
AO
7167 * hooks.c: New file.
7168 * hooks.h: New file.
7169 * Makefile.in (HOOKS_H): New.
7170 (TARGET_DEF_H): Added $(HOOKS_H).
7171 (OBJS): Added hooks.o.
7172 (cfgcleanup.o, bb-reorder.o): Added target.h.
7173 (hooks.o): Added dependencies.
7174 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
7175 (TARGET_INITIALIZER): this.
7176 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
7177 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
7178 * bb-reorder.c: Include target.h.
7179 (reorder_basic_blocks): Skip if cannot modify jumps.
7180 * cfgcleanup.c: Include target.h.
7181 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
7182
246a46e0
CD
71832002-02-08 Chris Demetriou <cgd@broadcom.com>
7184
831c4e87
KC
7185 * config/mips/mips.md (casesi_internal, casesi_internal_di):
7186 Protect jump delay slot instructions with .set noreorder and
7187 .set nomacro.
246a46e0
CD
7188
71892002-02-08 Chris Demetriou <cgd@broadcom.com>
6a5ea3f4
CD
7190
7191 * config/mips/mips.md (casesi_internal_di): Calculate
7192 the index into the target offset table correctly.
7193
fdf473ae
RH
71942002-02-08 Richard Henderson <rth@redhat.com>
7195
7196 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
7197 * final.c (output_addr_const): Accept and discard SUBREG.
7198 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
7199 mark them unknown instead.
7200 (simplify_subtraction): Handle RTX_UNKNOWN.
7201 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
7202
c50503ac
DE
72032002-02-08 David Edelsohn <edelsohn@gnu.org>
7204
7205 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
7206
3660d217
RH
72072002-02-08 Richard Henderson <rth@redhat.com>
7208
7209 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
7210
56547299
AJ
72112002-02-08 Andreas Jaeger <aj@suse.de>
7212
7213 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
7214 * config/i386/t-linux64: New file.
7215
1cf537c5
JJ
72162002-02-08 Jakub Jelinek <jakub@redhat.com>
7217
7218 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
7219 * c-parse.in (compstmt): Clear last_expr_type.
7220
5c7f5a5f
RH
72212002-02-07 Richard Henderson <rth@redhat.com>
7222
7223 * loop.c (strength_reduce): Sink final_value when not
7224 eliminating a biv.
7225
b1138bf3
DB
72262002-02-07 David O'Brien <obrien@FreeBSD.org>
7227
7228 * config/sparc/freebsd.h: Fix mismatched spec {.
7229
b6878a45
RH
72302002-02-07 Richard Henderson <rth@redhat.com>
7231
7232 * cfgrtl.c: Include recog.h and insn-config.h.
7233 (keep_with_call_p): Fix general_operand invocation.
7234 * Makefile.in (cfgrtl.o): Update dependencies.
7235
ae19f5ef
KH
72362002-02-07 Kazu Hirata <kazu@hxi.com>
7237
7238 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
7239 comment. Accept HImode only if TARGET_H8300.
7240
b137f9fc
EC
72412002-02-07 Eric Christopher <echristo@redhat.com>
7242
7243 * config/mips/crtn.asm: Cleanup #ifdefs.
7244
72452002-02-07 Eric Christopher <echristo@redhat.com>
7246
7247 * config/mips/crti.asm: Add changes for mips16. mips16 uses
7248 register 7 as RA instead of $31.
7249 * config/mips/crtn.asm: Ditto.
7250 * config/mips/mips.c (mips_move_2words): Add case for
7251 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
7252 (compute_frame_size): Fix typo.
7253 (save_restore_insns): Ditto. Make documentation about using
7254 register $7 as return register more precise.
7255 (mips_expand_epilogue): Fix comment. Add code to work around not
7256 being able to add to the stack pointer directly.
7257 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
7258 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
7259 epilogue.
7260
768070a0
TR
72612002-02-07 Tom Rix <trix@redhat.com>
7262
b137f9fc 7263 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
768070a0
TR
7264 immediates in ldu and stdu DS opcode field.
7265 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
7266 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
7267 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
7268
225909c3
JS
72692002-02-07 Jeff Sturm <jsturm@one-point.com>
7270
7271 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
7272 offset for stack bias.
7273
15fae023
L
72742002-02-07 H.J. Lu <hjl@gnu.org>
7275
7276 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
7277
fde5badd
UW
72782002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
7279
7280 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
7281
162f023b
JH
7282Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
7283
7284 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
7285 * i386.c (x86_order_regs_for_local_alloc): New global function.
7286 * i386.h (REG_ALLOC_ORDER): CLeanup.
7287 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
7288
9b462c42
RH
72892002-02-07 Richard Henderson <rth@redhat.com>
7290
85aa876c 7291 PR optimization/2463
9b462c42
RH
7292 * alias.c (find_base_value): Recall base values for fixed hard regs.
7293 * loop.c (loop_regs_update): Don't use single_set on non-insns.
7294
06e455a9
AO
72952002-02-07 Alexandre Oliva <aoliva@redhat.com>
7296
7297 * config/mips/mips.md (define_delay) [mips16]: Adjust required
7298 length.
7299
edd1967d
RH
73002002-02-06 Richard Henderson <rth@redhat.com>
7301
7302 PR c/5609
7303 * stmt.c (resolve_operand_name_1): Take more care with mixed
7304 named and unnamed operands.
7305
a2cd028f
JJ
73062002-02-06 Janis Johnson <janis187@us.ibm.com>
7307 Jan Hubicka <jh@suse.cz>
7308
7309 * loop.c (remove_constant_addition): Avoid clobbering a shared
7310 CONST expression.
7311
e8487c04
UW
73122002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
7313
7314 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
7315 * config/s390/t-linux64: New file.
7316 * config/s390/libgcc-glibc.ver: New file.
7317
58d10f89
UW
73182002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
7319
7320 * config/s390/linux64.h: Delete file.
7321 * config/s390/s390x.h: New file.
7322 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
7323 as target header file.
7324 * config/s390/linux.h (TARGET_VERSION): Define depending on
7325 DEFAULT_TARGET_64BIT.
7326 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
7327 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
7328 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
7329 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
7330 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
7331 (EXTRA_SPEC): New define.
7332 * config/s390/s390.h (TARGET_VERSION): Define depending on
7333 DEFAULT_TARGET_64BIT.
7334 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
7335
5ce89b2e
JM
73362002-02-06 Jason Merrill <jason@redhat.com>
7337
7338 * c-decl.c (finish_function): Warn about a non-void function with
7339 no return statement and no abnormal exit.
7340 (current_function_returns_abnormally): New variable.
7341 (start_function): Clear it.
7342 (struct c_language_function): Add returns_abnormally.
7343 (push_c_function_context): Save it.
7344 (pop_c_function_context): Restore it.
7345 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
7346 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
7347 an explicit return type.
7348 * c-tree.h: Declare current_function_returns_abnormally.
7349 (C_FUNCTION_IMPLICIT_INT): New macro.
7350 * c-typeck.c (build_function_call): Set it.
7351 (c_expand_return): Set current_function_returns_value even if the
7352 value is erroneous.
7353
caaf2272
JJ
73542002-02-06 Jakub Jelinek <jakub@redhat.com>
7355
7356 PR c/5420:
7357 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
7358 unsafe for reevaluation.
7359
d5129288
JJ
73602002-02-06 Jakub Jelinek <jakub@redhat.com>
7361
7362 PR c/5482:
7363 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
7364 EXPR_STMT, but COMPOUND_STMT, recurse into it.
7365
7fb75099
RH
73662002-02-06 Richard Henderson <rth@redhat.com>
7367
7368 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
7369 be a general_operand. Dest for function value must be a pseudo.
7370
d3a8b6a6
NC
73712002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
7372
7373 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
7374 as SYMBOL_REFs from the constant pool.
7375
3c1299c5
AO
73762002-02-06 Alexandre Oliva <aoliva@redhat.com>
7377
7378 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
7379 passed by invisible reference.
7380
c2c9f6c9
RH
73812002-02-05 Richard Henderson <rth@redhat.com>
7382
7383 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
7384
a824924d
HPN
73852002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
7386
7387 Implement using "base addresses" in insn operands as default.
7388 * config/mmix/mmix.c (mmix_conditional_register_usage): if
7389 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
7390 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
7391 used to read the rtx value.
7392 (mmix_target_asm_function_epilogue): Fix spacing.
7393 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
7394 (mmix_legitimate_address): Ditto.
7395 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
7396 should be loaded with a GETA insn. Don't allocate needless extra
7397 char for nul termination and fix misleading comment.
7398 (mmix_print_operand_address): Handle constants if
7399 TARGET_BASE_ADDRESSES.
7400 (mmix_output_register_setting): Use base addressing if
7401 TARGET_BASE_ADDRESSES and the number of insns is 3.
7402 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
7403 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
7404 to use R as constraint, add LDA to match s.
7405 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
7406 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
7407 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
7408 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
7409 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
7410 order with other fixed registers.
7411 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
7412 other parameter/call-clobbered registers.
7413 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
7414 -mbase-addresses, -mno-base-addresses.
7415 (MMIX Options): Ditto.
7416
73c342b9
JDA
74172002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
7418
7419 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
7420
ef238c58
AH
74212002-02-06 Aldy Hernandez <aldyh@redhat.com>
7422
831c4e87 7423 * config/rs6000/altivec.h: Change elem to _S_elem.
ef238c58 7424
ad08e60e
JT
74252002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
7426
7427 * config/netbsd.h (WCHAR_TYPE): Define.
7428 (WCHAR_TYPE_SIZE): Ditto.
7429 (WINT_TYPE): Ditto.
7430 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
7431 (WCHAR_UNSIGNED): Ditto.
7432 (WCHAR_TYPE_SIZE): Ditto.
7433 (WINT_TYPE): Ditto.
7434 * config/arm/netbsd.h: Likewise.
7435 * config/i386/netbsd-elf.h: Likewise.
7436 * config/i386/netbsd.h: Likewise.
7437 * config/m68k/netbsd-elf.h: Likewise.
7438 * config/m68k/netbsd.h: Likewise.
7439 * config/ns32k/netbsd.h: Likewise.
7440 * config/sparc/netbsd.h: Likewise.
7441 * config/vax/netbsd.: Likewise.
7442
f913c102
AO
74432002-02-05 Alexandre Oliva <aoliva@redhat.com>
7444
7445 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
7446 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
7447 (TARGET_INITIALIZER): this.
7448 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
7449 (BITFIELD_NBYTES_LIMITED): Markup fix.
7450 * tree.h (default_ms_bitfield_layout_p): Declare.
7451 (record_layout_info): Added prev_field.
7452 * tree.c (default_ms_bitfield_layout_p): New fn.
7453 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
7454 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
7455 * stor-layout.c: Include target.h.
7456 (start_record_layout): Initialize prev_field.
7457 (place_field): Handle MS bit-field layout, and disregard
7458 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
7459 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
7460 * Makefile.in (stor-layout.o): Adjust dependencies.
7461
c13db5d1
JM
74622002-02-05 Jason Merrill <jason@redhat.com>
7463
c13db5d1
JM
7464 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
7465
4505024e
AJ
74662002-02-05 Andreas Jaeger <aj@suse.de>
7467
7468 * crtstuff.c: Fix comments.
7469
794ad79d
RH
74702002-02-05 Richard Henderson <rth@redhat.com>
7471
2e279a9b
RH
7472 PR fortran/3393
7473 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
7474 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
7475
794ad79d
RH
7476 PR fortran/3392
7477 * config/mips/mips.c (function_arg): Handle TImode.
7478 (function_arg_advance): Likewise.
7479
8f909017
AH
74802002-02-05 Aldy Hernandez <aldyh@redhat.com>
7481
c13db5d1
JM
7482 * config/rs6000/altivec.h (vec_step_help): Rename to
7483 __vec_step_help.
8f909017 7484
66daa9e3
AH
74852002-02-05 Aldy Hernandez <aldyh@redhat.com>
7486
c13db5d1 7487 * config/rs6000/altivec.h: Fix typos.
66daa9e3 7488
2696e97b
JT
74892002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
7490
7491 * config/arm/netbsd.h: Correct a comment.
7492
3deb2758
AH
74932002-02-05 Aldy Hernandez <aldyh@redhat.com>
7494
c13db5d1
JM
7495 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
7496 building void typed builtins.
3deb2758 7497
c13db5d1
JM
7498 * config/rs6000/altivec.h (vec_ld*): Fix typos.
7499 (vec_step): Implement for C++.
3deb2758 7500
c13db5d1 7501Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2c79137a
RK
7502
7503 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
7504
ebbb0a63
RH
75052002-02-04 Richard Henderson <rth@redhat.com>
7506
7507 * combine.c (nonzero_bits): Re-introduce special case for
7508 sp/fp/ap wrt REGNO_POINTER_ALIGN.
7509
ae4b4a02
AH
75102002-02-05 Aldy Hernandez <aldyh@redhat.com>
7511
c13db5d1
JM
7512 * doc/extend.texi: Warn about unsupported usage of altivec
7513 builtins.
ae4b4a02 7514
c13db5d1
JM
7515 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
7516 (altivec_predicate_*): New.
ae4b4a02 7517
c13db5d1
JM
7518 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
7519 Add C++ version of vec_*() functions.
ae4b4a02 7520
c13db5d1
JM
7521 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
7522 (bdesc_2arg): Remove altivec predicates.
7523 (altivec_expand_builtin): Handle predicates.
7524 (altivec_init_builtins): Handle predicates.
7525 (altivec_expand_predicate_builtin): New.
ae4b4a02 7526
f6bcf44c
JDA
75272002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7528
7529 * pa.c (DO_FRAME_NOTES): Move forward.
7530 (store_reg): Revise handling of frame notes.
7531 (load_reg): Likewise.
7532 (set_reg_plus_d): Likewise.
7533 (hppa_expand_prologue): Likewise.
7534 (hppa_expand_epilogue): Likewise.
b137f9fc 7535
703b0080
JDA
75362002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7537
7538 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
7539
6f9fdf4d
JJ
75402002-02-04 Jakub Jelinek <jakub@redhat.com>
7541
7542 PR c/4475, c++/3780:
7543 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
7544 * c-common.h (SWITCH_TYPE): Define.
7545 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
7546 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
7547 Rename spareness variable to sparseness.
7548 (expand_end_case_type): Renamed from expand_end_case, use orig_type
7549 if non-NULL instead of TREE_TYPE (orig_index).
7550 * tree.h (expand_end_case_type): Renamed from expand_end_case.
7551 (expand_end_case): Define using expand_end_case_type.
7552 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
7553 to expand_end_case_type.
7554 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
7555
79109502
JDA
75562002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7557
7558 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
7559 (BIGGEST_ALIGNMENT): Change to 128.
7560
e62a5987
JDA
75612002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7562
7563 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
7564
219f24a4
JDA
75652002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7566
7567 * pa.md (call_internal_reg_64bit): Remove unused variable.
7568
3cb66fd7
NC
75692002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
7570
7571 * config/arm/arm.h (machine_function): Add uses_anonymous_args
7572 field.
831c4e87 7573 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
3cb66fd7 7574 * config/arm/arm.c (current_function_anonymous_args): Delete,
831c4e87
KC
7575 replace uses with cfun->machine->uses_anonymous_args.
7576 (arm_reorg): Do not reset uses_anonymous_args.
3cb66fd7
NC
7577
7578 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
7579 any geenral register.
b137f9fc 7580
5d5603e2 75812001-02-04 Bernd Schmidt <bernds@redhat.com>s
24c545ff
BS
7582
7583 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
7584 the entry block.
7585
563c12b0
RH
75862002-02-04 Richard Henderson <rth@redhat.com>
7587
7588 * combine.c (force_to_mode): Remove STACK_BIAS code.
7589 (nonzero_bits): Likewise. Replace sp/fp special case with
7590 REGNO_POINTER_ALIGN.
7591
7592 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
7593 (HARD_FRAME_POINTER_REGNUM): New.
7594 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
7595 (FIXED_REGS, CALL_USED_REGS): Update.
7596 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
7597 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
7598 (HARD_REGNO_NREGS): Update for SFP.
7599 (STACK_POINTER_OFFSET): Include bias here ...
7600 (FIRST_PARM_OFFSET): ... not here.
7601 (STACK_BIAS): Remove.
7602 (INIT_EXPANDERS): New.
7603 (STARTING_FRAME_OFFSET): Do not include bias.
7604 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
7605 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
7606 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
7607 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
7608 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
7609 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
7610 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
7611 (MUST_SAVE_REGISTER): Likewise.
7612 (sparc_flat_function_prologue): Likewise.
7613 (sparc_flat_function_epilogue): Likewise.
7614 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
7615 (sparc_init_modes): SFP is GENERAL_REGS.
7616 (sparc_builtin_saveregs): SFP does not have bias applied.
7617
14691f8d
RH
76182002-02-04 Richard Henderson <rth@redhat.com>
7619
7620 * config/alpha/alpha.c (current_function_is_thunk): Don't check
7621 current_function_is_thunk.
7622 (alpha_sa_mask): Distinguish between current_function_is_thunk
7623 called from ASM_OUTPUT_MI_THUNK and not.
7624 (alpha_does_function_need_gp): Thunks always need gp.
7625 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
7626 (alpha_output_mi_thunk_osf): New.
7627 * config/alpha/alpha-protos.h: Update.
7628 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
7629
af702de8
RS
76302002-02-04 Richard Sandiford <rsandifo@redhat.com>
7631
7632 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
7633 function types, not when they're taken away.
7634
5b1cacd8
JL
7635Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
7636
7637 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
7638 CODE_LABEL and jump table when replacing a table jump with a
7639 simple jump.
7640
f3e9edff
UW
76412002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7642
7643 * config/s390/s390-protos.h (legitimize_la_operand,
7644 s390_secondary_input_reload_class, s390_plus_operand,
7645 s390_expand_plus_operand): Add prototypes.
7646
7647 config/s390/s390.c (s390_secondary_input_reload_class,
7648 s390_plus_operand, s390_expand_plus_operand): New functions.
7649
7650 (struct s390_address): New member 'pointer'.
7651 (s390_decompose_address): Compute it.
7652 (legitimate_la_operand_p): Use it.
7653 (legitimize_la_operand): New function.
7654 (movti, movdi, movdf splitters): Call it.
7655
7656 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
7657 (PREDICATE_CODES): Add s390_plus_operand.
7658
7659 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
7660 (la_ccclobber): Allow GENERAL_REGS as output operand.
7661
7662 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
7663 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
7664 (*la_64, *la_31, reload_indi, reload_insi): ... these.
7665
3c9a08ec
UW
76662002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7667
7668 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
7669 register names for regular asm () construct.
7670
ac300a45
JJ
76712002-02-04 Jakub Jelinek <jakub@redhat.com>
7672
7673 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
7674 registers.
7675
fa852403
JJ
76762002-02-04 Jakub Jelinek <jakub@redhat.com>
7677
7678 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
7679 pat for recog.
7680
fecaac37
HP
76812002-02-04 Hartmut Penner <hpenner@de.ibm.com>
7682
831c4e87
KC
7683 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
7684 constant pool to be identical by string address and index.
fecaac37 7685
10c45943
AG
76862002-02-04 Anthony Green <green@redhat.com>
7687
7688 * output.h (SECTION_OVERRIDE): Define.
7689 * varasm.c (named_section): Obey SECTION_OVERRIDE.
7690
69474c3c
JT
76912002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
7692
7693 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
7694 by existing arm*-*-netbsd* (a.out) target.
7695 (ns32k-*-netbsdelf*): Likewise.
7696 (sparc-*-netbsdelf*): Likewise.
7697 (vax-*-netbsdelf*): Likewise.
7698
939a46f6 76992002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
3b56934f
CF
7700
7701 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
7702 headers and libobjc headers.
7703
77042002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
7705
7706 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
7707 (_mingw.h): Remove duplicate include.
7708
2fd95d71
JT
77092002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
7710
7711 * config.gcc: Set cpu_type to m68k for 68010, as well.
7712 (m68010-*-netbsdelf*): New...
7713 (m68k*-*-netbsdelf*): ...targets.
7714 * config/m68k/netbsd-elf.h: New file.
7715
0ea6f6a0
KH
77162002-02-02 Kazu Hirata <kazu@hxi.com>
7717
7718 * config/h8300/h8300.c (hand_list): Move inside function_arg.
7719
cbf1b2da
KH
77202002-02-02 Kazu Hirata <kazu@hxi.com>
7721
7722 * config/h8300/h8300.c (h8_push_ops): Move inside
7723 h8300_init_once.
7724 (h8_pop_ops): Likewise.
7725 (h8_move_ops): Likewise.
7726
0869f126
KH
77272002-02-02 Kazu Hirata <kazu@hxi.com>
7728
7729 * config/h8300/h8300.c (os_task): Make it static.
7730 (monitor): Likewise.
7731 (pragma_saveall): Likewise.
7732
90e65b70
AO
77332002-02-02 Alexandre Oliva <aoliva@redhat.com>
7734
7735 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
7736 constant is a valid sign-extension for Pmode.
7737
9cbcd983
KH
77382002-02-02 Kazu Hirata <kazu@hxi.com>
7739
7740 * config/h8300/h8300.c: Fix formatting.
7741
7a27efc4
KH
77422002-02-02 Kazu Hirata <kazu@hxi.com>
7743
7744 * config/h8300/h8300.md: Fix formatting.
7745
54175a44
KH
77462002-02-02 Kazu Hirata <kazu@hxi.com>
7747
7748 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
7749 predicates of operands[1]. Split the patterns for each
7750 processor variant.
7751
eceb1755
KH
77522002-02-02 Kazu Hirata <kazu@hxi.com>
7753
7754 * config/h8300/h8300.md (xor patterns): Tighten the predicates
7755 of operands[1] to register_operand.
7756
0fef3fd0
NB
77572002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
7758
7759 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
7760 * cpphash.c (_cpp_init_hashtable): Similarly.
7761 * cppinit.c (cpp_create_reader): Default the signed_char flag.
7762 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
7763 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
7764 (cpp_handle_option): Handle the new options.
7765 * cpplex.c (cpp_interpret_charconst): Use new flag.
7766 * cpplib.h (struct cpp_options): New member signed_char.
7767 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
7768 (cpp_options): Handle -fsigned-char and -funsigned-char.
7769 (static_specs): Remove signed_char_spec.
7770 (do_spec1): Don't handle %c.
7771 * system.h: Poison SIGNED_CHAR_SPEC.
7772 * tradcif.y (yylex): Use flag_signed_char.
7773 * tradcpp.h (flag_signed_char): New.
7774 * tradcpp.c (flag_signed_char): New.
7775 (main): Handle new command-line options.
7776 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
7777config:
7778 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
7779 * avr/avr.h: Remove old comments.
7780 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
7781 (CC1_SPEC): Pass -fsigned-char if -mic*.
7782 (SIGNED_CHAR_SPEC): Remove.
7783doc:
7784 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
7785
0617ed52
EC
77862002-02-01 Eric Christopher <echristo@redhat.com>
7787
7788 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
7789 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
7790 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
7791 (ASM_OUTPUT_REG_POP): Ditto.
7792
dfd48d76
NB
77932002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
7794
7795 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
7796 patch.
7797
4a23409e
JJ
77982002-02-02 Jakub Jelinek <jakub@redhat.com>
7799
7800 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
7801
d3c52658
JJ
78022002-02-02 Jakub Jelinek <jakub@redhat.com>
7803
7804 PR c/5304:
7805 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
7806 unconditionally.
7807
02c5a3bd
JJ
78082002-02-01 Janis Johnson <janis187@us.ibm.com>
7809
7810 * cfganal.c: Include tm_p.h.
7811 (keep_with_call_p): Fix the test that determines if a register holds
7812 the return value of a call.
7813
3968de80
DD
78142002-02-01 DJ Delorie <dj@redhat.com>
7815
7816 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
7817 we are given conflicting registers, switch to the other one we
7818 had allocated for us.
7819 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
7820 as TImode so we know when the "other" register is available.
7821
1338ea6c
DB
78222002-02-01 David O'Brien <obrien@FreeBSD.org>
7823
7824 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
7825 sparc/sparc_bi.h.
7826
f015be23
JJ
78272002-02-01 Janis Johnson <janis187@us.ibm.com>
7828
7829 * cfganal.c (keep_with_call_p): New function.
7830 (flow_call_edges_add): Prevent splitting a block between a call and
7831 a single-set instruction that should be kept in the same block.
7832
63708ffc
CR
78332002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
7834
7835 * doc/install.texi (avr): Update outdated URL.
7836
5ee4950e
AH
78372002-01-30 Andrew Haley <aph@cambridge.redhat.com>
7838
831c4e87
KC
7839 * config/stormy16/stormy16.md (pushqi): New.
7840 (popqi): New.
7841 (pushhi): New.
7842 (pophi): New.
7843 (movhi): Remove stack operands.
7844 (movqi): Likewise.
7845 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
7846 nonimmediate_nonstack_operand.
7847 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
7848 New.
7849 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
7850 New.
5ee4950e 7851
b88c0704
JM
78522002-01-31 Jason Merrill <jason@redhat.com>
7853
7854 * Makefile.in (c-parse.c): Handle .output file.
7855 * objc/Make-lang.in (objc-parse.c): Likewise.
7856
ac282977
AO
78572002-02-01 Alexandre Oliva <aoliva@redhat.com>
7858
7859 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
7860 the -me[lb] option is given. Don't output the default flag
7861 twice.
7862
bebc7e8b
ZW
78632002-01-31 Zack Weinberg <zack@codesourcery.com>
7864
7865 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
7866 the primary source file; this has not been done yet.
7867 * c-decl.c (c_expand_body): Reset input_filename from
7868 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
7869
5809eb5f
KH
78702002-01-31 Kazu Hirata <kazu@hxi.com>
7871
7872 * rtlanal.c (subreg_regno_offset): Do not use
7873 SUBREG_REGNO_OFFSET.
7874 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
7875 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
7876
8512bbd7
JM
78772002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
7878
7879 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
7880 version rather than GNATS version in --version output.
7881
74cb3cc8
RS
78822002-01-31 Richard Sandiford <rsandifo@redhat.com>
7883
7884 * ifcvt.c (noce_process_if_block): Make a copy of the destination
7885 when copying back from a temporary.
7886
874b5b14
RH
78872002-01-30 Richard Henderson <rth@redhat.com>
7888
7889 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
7890 and new_dest are the same.
7891
e803a64b
RH
78922002-01-30 Richard Henderson <rth@redhat.com>
7893
89cf7be5 7894 PR opt/5076
e803a64b
RH
7895 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
7896 * rtl.c (note_insn_name): Update.
7897 * emit-rtl.c (remove_unnecessary_notes): Kill it.
7898 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
7899 to perform loop rotation.
7900 (expand_exit_loop_top_cond): New.
7901 * tree.h (expand_exit_loop_top_cond): Declare it.
7902 * c-semantics.c (genrtl_while_stmt): Use it.
7903 (genrtl_for_stmt): Likewise.
7904
0b51254d
AO
79052002-01-30 Alexandre Oliva <aoliva@redhat.com>
7906
7907 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
7908 arguments to 64-bit boundaries on 64-bit ABIs.
7909
71cef493
SE
79102002-01-30 Steve Ellcey <sje@cup.hp.com>
7911
7912 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
7913
6169e5fd
JM
79142002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
7915
7916 * c-decl.c (grokdeclarator): Handle type being a typedef for an
7917 invalid type.
7918
86f808dc
DB
79192002-01-30 David O'Brien <obrien@FreeBSD.org>
7920
7921 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
7922 * config/sparc/sparc_bi.h: Remove file.
7923 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
7924
5748ebeb
RH
79252002-01-30 Richard Henderson <rth@redhat.com>
7926
7927 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
7928
20d32cc2
ZW
79292002-01-30 Zack Weinberg <zack@codesourcery.com>
7930
7931 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
7932
b88c0704 79332002-01-30 Jason Merrill <jason@redhat.com>
6bb28965
JM
7934
7935 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
7936 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
7937 (reg_save): Use DW_CFA_offset_extended_sf instead.
7938
7939 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
7940
37060e78
JJ
79412002-01-29 Jakub Jelinek <jakub@redhat.com>
7942
7943 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
7944 in cselib_lookup.
7945
d18dba68
AH
79462002-01-29 Aldy Hernandez <aldyh@redhat.com>
7947
bebc7e8b
ZW
7948 * rs6000.md ("*call_value_local32"): Remove constraints.
7949 ("*call_value_local64"): Same.
7950 ("*call_value_indirect_nonlocal_aix32"): Same.
7951 ("*call_value_nonlocal_aix32"): Same.
7952 ("*call_value_indirect_nonlocal_aix64"): Same.
7953 ("*call_value_nonlocal_aix64"): Same.
7954 ("*call_value_nonlocal_sysv"): Same.
d18dba68 7955
80a8aac6
RH
79562002-01-29 Richard Henderson <rth@redhat.com>
7957
7958 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
7959
12beba6f
RH
79602002-01-29 Richard Henderson <rth@redhat.com>
7961
7962 * expr.c (force_operand): Ignore flag_pic for detecting pic
7963 address loads.
7964 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
7965 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
7966 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
7967 instead of open-coded loop.
7968 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
7969 be fixed when in use.
7970
2583081e
RH
79712002-01-29 Richard Henderson <rth@redhat.com>
7972
7973 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
7974 * sched-rgn.c (propagate_deps): Update them.
7975 * sched-deps.c (sched_analyze_insn): Update them. Flush the
7976 clobbers list when either gets too long.
7977
3b8d200e
JJ
79782002-01-29 Jakub Jelinek <jakub@redhat.com>
7979
7980 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
7981 and INDEX_REGS the same as GENERAL_REGS.
7982 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7983
2d3115eb
NB
79842002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
7985
bebc7e8b 7986 * tree.c (build_nonstandard_integer_type): Correct prototype.
2d3115eb 7987
ecbe845e
UW
79882002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
7989
bebc7e8b 7990 * config/s390/s390.md (movstrsico, movstrdix_64,
ecbe845e 7991 movstrsix_31): Remove, replace by ...
bebc7e8b 7992 (movstrdi_short, movstrsi_short, movstrdi_long,
ecbe845e
UW
7993 movstrsi_long): ... these. New.
7994 (movstrdi, movstrsi): Adapt.
7995
7996 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
bebc7e8b 7997 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
ecbe845e
UW
7998 Remove unnecessary CC clobber.
7999 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
8000 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
8001
8002 (divmoddi4): Don't partially initialize TImode register.
8003
0b32fca5
GK
80042002-01-29 Geoffrey Keating <geoffk@redhat.com>
8005
8006 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
8007
08ef5437
RH
80082002-01-29 Richard Henderson <rth@redhat.com>
8009
8010 * flow.c (print_rtl_and_abort): Remove.
8011 (print_rtl_and_abort_fcn): Remove.
8012 (verify_local_live_at_start): Use dump_bb instead.
8013 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
8014 (verify_wide_reg_1): Return 2 on mode test failure.
8015
8469e54e
NB
80162002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
8017
8018 PR c/3325, c/3326, c/2511, c/3347
8019 * c-decl.c (enum_decl_context): Remove BITFIELD.
8020 (grokdeclarator): Take bitfield width as an input.
8021 Ensure bitfields are given the correct type. Perform
8022 bitfield width validation with build_bitfield_integer_type
8023 rather than waiting for finish_struct.
8024 (grok_typename, grok_typename_in_parm_context, start_decl,
8025 push_parmdecl, grokfield, start_function): Update calls to
8026 grokdeclarator.
8027 (build_bitfield_integer_type): New function.
8028 (finish_struct): Move bitfield validation to grokdeclarator
bebc7e8b 8029 and build_bitfield_integer_type.
8469e54e
NB
8030 * tree.c (build_nonstandard_integer_type): New function.
8031 * tree.h (build_nonstandard_integer_type): New prototype.
8032objc:
8033 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
8034
ffdeea47
JJ
80352002-01-29 Jakub Jelinek <jakub@redhat.com>
8036
8037 PR other/1502:
8038 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
8039 don't ignore unrecognized -W* options.
8040 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
8041 * cpplib.h (cpp_handle_option): Adjust prototype.
8042 * c-decl.c (c_decode_options): Pass 0 as last argument to
8043 cpp_handle_option.
8044
8045 PR c/2896:
8046 * gcc.c (cpp_unique_options): Split from cpp_options.
8047 (cpp_options): Source cpp_unique_options.
8048 (default_compilers): Use cpp_unique_options instead of cpp_options
8049 when used together with cc1_options.
8050 (static_specs): Add cpp_unique_options.
8051 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
8052 when used together with cc1_options.
8053
1a275226
KH
80542002-01-29 Kazu Hirata <kazu@hxi.com>
8055
8056 * config/h8300/h8300-protos.h: Update the prototype of
8057 output_a_shift.
8058 * config/h8300/h8300.c (output_a_shift): Remove an unused
8059 argument 'insn'. Remove redundant code.
8060 * config/h8300/h8300.md: Adust to the new prototype of
8061 output_a_shift.
8062
a11d9dfc
KH
80632002-01-29 Kazu Hirata <kazu@hxi.com>
8064
8065 * config/h8300/h8300-protos.h: Update the prototypes of
8066 emit_a_rotate and expand_a_rotate.
8067 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
8068 first argument to 'enum rtx_code'.
8069 (expand_a_rotate): Likewise.
8070
871f73e3
KH
80712002-01-28 Kazu Hirata <kazu@hxi.com>
8072
8073 * config/h8300/h8300-protos.h: Update the prototype of
8074 output_simode_bld.
8075 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
8076 'log2'.
8077 * config/h8300/h8300.md: Adjust to the new prototype.
8078
5fc4b751
KH
80792002-01-28 Kazu Hirata <kazu@hxi.com>
8080
8081 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
8082 redundant code.
8083
2d67bd7b
JDA
80842002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
8085
8086 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
8087 is a fixed register before returning pic_offset_table_rtx.
8088 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
8089 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
8090
5a852b3e
JM
80912002-01-28 Jason Merrill <jason@redhat.com>
8092
6bb28965 8093 * dwarf2.h: Sync with src version.
5a852b3e 8094
3bca17dd
PK
80952002-01-28 Paul Koning <pkoning@equallogic.com>
8096
8097 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
8098 BT_FN_VOID_PTR_VAR.
8099 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
8100 * doc/extend.texi (__builtin_prefetch): Update documentation:
8101 first argument is now const void ptr.
8102
7dc3f8c0
KH
81032002-01-28 Kazu Hirata <kazu@hxi.com>
8104
8105 * config/h8300/h8300-protos.h: Remove an unused prototype.
8106
e83cb5f0
RZ
81072002-01-28 Roman Zippel <zippel@linux-m68k.org>
8108
8109 * toplev.c (lang_independent_init): Round up identifier size.
8110
5721cd84
RE
81112002-01-28 Richard Earnshaw <rearnsha@arm.com>
8112
8113 * config.gcc: Revert previous change.
8114
d534119e
AP
81152002-01-28 Andris Pavenis <pavenis@latnet.lv>
8116
8117 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
8118
5a721dab
RE
81192002-01-28 Richard Earnshaw <rearnsha@arm.com>
8120
8121 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
8122 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
8123 other non-elf netbsd config frags.
8124 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
8125 collect2 will does that.
8126 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
8127 shared-lib frobbing will work.
8128
da1775d6
KH
81292002-01-28 Kazu Hirata <kazu@hxi.com>
8130
8131 * config/h8300/h8300.h: Fix formatting.
8132 * config/h8300/h8300.md: Likewise.
8133
8f2e963b
LR
81342002-01-28 Loren J. Rittle <ljrittle@acm.org>
8135
8136 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
8137 the old, removed AAA_standards fix.
8138 * fixinc/fixincl.x: Rebuilt.
8139
fdae5767
HPN
81402002-01-28 Hans-Peter Nilsson <hp@axis.com>
8141
8142 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
8143 atexit call in crtbegin, hooked in after call to frame_dummy;
8144 register EH before registering __fini__start.
8145
2a2ecb63
AH
81462002-01-28 Aldy Hernandez <aldyh@redhat.com>
8147
8148 * config/rs6000/altivec.h: Remove spurious semicolons.
8149
8ed43adf
KH
81502002-01-27 Kazu Hirata <kazu@hxi.com>
8151
8152 * config/h8300/h8300.md: Replace dead bit extraction patterns
8153 with ones that work.
8154
917afb0c
RK
8155Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8156
8157 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
8158 if not STRICT_ALIGNMENT.
8159 * rtl.h (MEM_ALIGN): Likewise.
8160
f70a54cb
CR
81612002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
8162
8163 * doc/invoke.texi (-fdump-translation-unit): Revert this
8164 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
8165
d8fd4914
KH
81662002-01-27 Kazu Hirata <kazu@hxi.com>
8167
8168 * config/h8300/h8300.md (define_constants): New.
8169 (anonymous patterns) Use defined constants appropriately.
8170
15e0e275
KH
81712002-01-27 Kazu Hirata <kazu@hxi.com>
8172
8173 * config/h8300/h8300.c (function_arg): Remove redundant code.
8174
37a0f8a5
RH
81752002-01-26 Richard Henderson <rth@redhat.com>
8176
8177 * sched-deps.c (reg_pending_uses_head): New.
8178 (reg_pending_barrier): Rename from reg_pending_sets_all.
8179 (find_insn_list): Don't mark inline.
8180 (find_insn_mem_list): Remove.
8181 (add_dependence_list, add_dependence_list_and_free): New.
8182 (flush_pending_lists): Replace only_write param with separate
8183 for_read and for_write parameters. Update all callers. Use
8184 add_dependence_list_and_free.
8185 (sched_analyze_1): Do not add reg dependencies here; just set
8186 the pending bits. Use add_dependence_list.
8187 (sched_analyze_2): Likewise.
8188 (sched_analyze_insn): Replace schedule_barrier_found with
8189 reg_pending_barrier. Add all dependencies for pending reg
8190 uses, sets, and clobbers.
8191 (sched_analyze): Don't add reg dependencies for calls, just
8192 set pending bits. Use regs_invalidated_by_call. Treat
8193 sched_before_next_call as a normal list, not a fake insn.
8194 (init_deps): No funny init for sched_before_next_call.
8195 (free_deps): Free pending mems lists. Don't zero reg_last.
8196 (init_deps_global): Init reg_pending_uses.
8197 (finish_deps_global): Free it.
8198 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
8199 (find_insn_mem_list): Remove.
8200 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
8201 (propagate_deps): Use them. Zero temp mem lists.
8202
cea3bd3e
RH
82032002-01-26 Richard Henderson <rth@redhat.com>
8204
8205 * Makefile.in (CRTSTUFF_CFLAGS): New.
8206 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
8207 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
8208 crtstuff.c instead of alpha assembly version.
8209 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
8210 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
8211 not FORCE_{INIT,FINI}_SECTION_ALIGN.
8212 (__do_global_dtors_aux): Mark used.
8213 (frame_dummy, __do_global_ctors_aux): Mark used.
8214 (fini_dummy, init_dummy): Remove.
8215
8216 * config/alpha/crtbegin.asm: Remove file.
8217 * config/alpha/crtend.asm: Remove file.
8218 * config/alpha/t-crtbe: Remove file.
8219 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
8220 (LINK_EH_SPEC): New.
8221
8222 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
8223 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
8224 calling constructors.
8225 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
8226
8227 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
8228 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
8229 CRT_END_INIT_DUMMY hack.
8230 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
8231 FORCE_{INIT,FINI}_SECTION_ALIGN.
8232
8233 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
8234 FORCE_{INIT,FINI}_SECTION_ALIGN.
8235
8236 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
8237 invocation sequence.
8238 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
8239
8240 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
8241 (FORCE_CODE_SECTION_ALIGN): New.
8242
60ffa0e5
RH
82432002-01-26 Richard Henderson <rth@redhat.com>
8244
8245 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
8246
61334ebe
RH
82472002-01-26 Richard Henderson <rth@redhat.com>
8248
8249 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
8250 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
8251
1d788fb6
KH
82522002-01-26 Kazu Hirata <kazu@hxi.com>
8253
8254 * config/h8300/h8300.md: Remove bit extraction patterns that
8255 cannot be triggered.
8256 Restrict each bit extraction pattern to a variant on which the
8257 pattern is tested.
8258
87611f88
JM
82592002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
8260
8261 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
8262
cd74ec59
KH
82632002-01-26 Kazu Hirata <kazu@hxi.com>
8264
8265 * config/h8300/h8300.md: Remove bit test patterns that cannot
8266 be triggered.
8267 Restrict each bit test pattern to a variant on which the
8268 pattern is tested.
8269
93051e0f
KG
82702002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8271
8272 * builtins.c (expand_builtin_strncat): Remove redundant check for
8273 INTEGER_CST.
8274
216c995f
DB
82752002-01-25 David O'Brien <obrien@FreeBSD.org>
8276
8277 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
8278 default setting.
8279 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
8280 existing setting.
8281
33c7f925
GK
82822002-01-25 Geoffrey Keating <geoffk@redhat.com>
8283
8284 * dbxout.c (dbxout_init): Use assemble_name rather than just
8285 stripping off the first character.
8286 (dbxout_source_file): Likewise.
8287
6cd444b4
DD
82882002-01-25 DJ Delorie <dj@redhat.com>
8289
8290 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
8291 using rtx_equal_p, not by comparing pointers.
8292
751551d5
SE
82932002-01-25 Steve Ellcey <sje@cup.hp.com>
8294
8295 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
8296 for PIC_OFFSET_TABLE_REGNUM.
8297 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
8298
e564e618
DB
82992002-01-25 David O'Brien <obrien@FreeBSD.org>
8300
8301 * config.gcc (x86_64-*-freebsd*): New target.
8302 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
8303 value.
8304 (i[34567]86-*-freebsd*): Don't include svr4.h.
8305 * config/i386/freebsd64.h: New file.
8306
ff3aaf17
DR
83072002-01-25 Douglas B Rupp <rupp@gnat.com>
8308
4857d29d
DR
8309 * config/alpha/x-vms (version): Make static.
8310
8311 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
8312 in previous checkin.
8313
ff3aaf17
DR
8314 * Makefile.in (install-headers-cp): New target.
8315 * config.gcc (alpha-dec-*vms*): Install headers with
8316 install-headers-cp
8317
48d79c43
JH
8318Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
8319
8320 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
8321 avoid it's copies.
8322
995b5904
RK
8323Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8324
8325 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
8326 of compare_tree_int.
8327 (expand_builtin_strncat): Likewise.
8328 * c-decl.c (finish_struct): Use tree_low_cst.
8329 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
8330 * tree.c (compare_tree_int): Likewise.
8331
75eefe3f
UW
83322002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
8333
8334 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
8335 adjustments even if they are implemented by more than two insns.
8336
5a133afd
JH
8337Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
8338
995b5904 8339 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
5a133afd
JH
8340 * df.h (struct ref): Kill B.
8341 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
8342
8343 * basic-block.h (PROP_EQUAL_NOTES): New flag.
8344 * flow.c (propagate_one_insn): Use it.
8345 (mark_used_regs): Handle NIL.
8346
ead39bdf 83472002-01-25 Geoffrey Keating <geoffk@redhat.com>
3d8dd3c0
GK
8348
8349 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
8350 to help folding.
8351
01a2ccd0
DE
83522002-01-25 David Edelsohn <edelsohn@gnu.org>
8353
8354 * rs6000.md (prefetch): Make address V4SI mode so that the address
8355 is restricted to legitimate form for instruction.
8356
fd29f6ea
BW
83572002-01-25 Bob Wilson <bob.wilson@acm.org>
8358
8359 * doc/install.texi (xtensa-*-elf): New target.
8360 (xtensa-*-linux*): New target.
8361 * doc/contrib.texi: Add myself.
8362
55492b32
NC
83632002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
8364
8365 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
8366 purpose register to hold an SImode (or smaller) value.
8367
72c7c913
JJ
83682002-01-25 Jakub Jelinek <jakub@redhat.com>
8369
8370 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
8371 registry only.
8372 * crtstuff.c: Likewise.
8373
c4df4ceb
KH
83742002-01-25 Kazu Hirata <kazu@hxi.com>
8375
8376 * config/h8300/h8300.md (negation patterns): Tighten
8377 predicates to register_operand.
8378
70e531f5
AH
83792002-01-24 Aldy Hernandez <aldyh@redhat.com>
8380
3bca17dd
PK
8381 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
8382 mode, not Pmode.
70e531f5 8383
3bca17dd 8384 * builtins.c (expand_builtin_prefetch): Same.
70e531f5 8385
a4f76ef9
AO
83862002-01-24 Alexandre Oliva <aoliva@redhat.com>
8387
8388 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
8389 modes.
8390
9bf25b09
KH
83912002-01-24 Kazu Hirata <kazu@hxi.com>
8392
8393 * config/h8300/h8300.c (print_operand): Remove support for
8394 operand character 'A'.
8395 * config/h8300/h8300.md (three anonymous patterns): Replace
8396 operand character 'A' with either 'T' or 'S'.
8397
974af6a5
KH
83982002-01-24 Kazu Hirata <kazu@hxi.com>
8399
8400 * config/h8300/h8300.c (print_operand): Remove support for
8401 operand character 'U'.
8402
7a5bb7b8
AP
84032002-01-24 Andris Pavenis <pavenis@latnet.lv>
8404
3bca17dd 8405 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
7a5bb7b8 8406
92a4639e
NC
84072002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
8408
8409 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
8410 values to be assigned to the stack pointer.
8411
467cb2da
HP
84122002-01-14 Hartmut Penner <hpenner@de.ibm.com>
8413
bebc7e8b 8414 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
467cb2da
HP
8415 to const_double needs to be done right for big-endian systems.
8416
3b6cb920
JM
84172002-01-24 Jason Merrill <jason@redhat.com>
8418
b08dd119 8419 PR c++/2432
3b6cb920
JM
8420 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
8421 to can_throw_internal.
8422
f3077311
RH
84232002-01-23 Richard Henderson <rth@redhat.com>
8424
8425 * fold-const.c (fold): Change UINT_MAX test to check vs precision
8426 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
8427
e1d71275
AO
84282002-01-24 Alexandre Oliva <aoliva@redhat.com>
8429
8430 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
8431 (symGOT2reg): Use them, then set as GOT value as unchanging.
8432 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
8433 as a temporary, if possible.
8434 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
8435 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
8436
dc271dbe
KH
84372002-01-23 Kazu Hirata <kazu@hxi.com>
8438
8439 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
8440 accept to accept 0x80 as operands[2].
8441
1a9017f9
AO
84422002-01-24 Alexandre Oliva <aoliva@redhat.com>
8443
8444 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
8445
6932f033
RH
84462002-01-23 Richard Henderson <rth@redhat.com>
8447
8448 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
8449
709619d9
AH
84502002-01-23 Aldy Hernandez <aldyh@redhat.com>
8451
3bca17dd
PK
8452 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
8453 (parmlist_or_identifiers_1): Verify that only a parmlist follows
8454 an attribute.
709619d9 8455
3d709fd3
RH
84562002-01-23 Richard Henderson <rth@redhat.com>
8457
8458 * expr.c (move_by_pieces_1): Extend size before negation.
8459
88a446c0
RH
8460 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
8461 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
8462 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
8463 * config/m68k/t-m68kelf: Likewise.
8464
03984308
BW
84652002-01-23 Bob Wilson <bob.wilson@acm.org>
8466
8467 * config/xtensa/elf.h: New file.
8468 * config/xtensa/lib1funcs.asm: New file.
8469 * config/xtensa/lib2funcs.S: New file.
8470 * config/xtensa/linux.h: New file.
8471 * config/xtensa/t-xtensa: New file.
8472 * config/xtensa/xtensa-config.h: New file.
8473 * config/xtensa/xtensa-protos.h: New file.
8474 * config/xtensa/xtensa.c: New file.
8475 * config/xtensa/xtensa.h: New file.
8476 * config/xtensa/xtensa.md: New file.
8477 * config.gcc (xtensa-*-elf*): New target.
8478 (xtensa-*-linux*): New target.
8479 * cse.c (canon_hash): Compare rtx pointers instead of register
8480 numbers. This is required for the Xtensa port.
8481 * integrate.c (copy_insn_list): Handle case where the static
8482 chain is in memory and the memory address has to be copied to
8483 a register.
8484 * doc/invoke.texi (Option Summary): Add Xtensa options.
8485 (Xtensa Options): New node.
8486 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
8487
c3d5c3fa
ZW
84882002-01-23 Zack Weinberg <zack@codesourcery.com>
8489
a63bea75
ZW
8490 * diagnostic.c (internal_error): Do ICE suppression only
8491 when ENABLE_CHECKING is not defined.
8492
c3d5c3fa
ZW
8493 * c-typeck.c (require_complete_type): Return error_mark_node
8494 if type is error_mark_node.
8495
1398974c
JJ
84962002-01-23 Janis Johnson <janis187@us.ibm.com>
8497
8498 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
8499 -Os and issue a warning.
8500
807633e5
ZW
85012002-01-23 Zack Weinberg <zack@codesourcery.com>
8502
8503 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
8504 current (lack of) need for host configuration by hand.
8505
8506 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
8507 references. Documentation of some target macros moved from
8508 hostconfig.texi to tm.texi.
8509
cf8002d0
WC
85102002-01-23 Will Cohen <wcohen@redhat.com>
8511
8512 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
8513 defined.
8514
d1e76310
KH
85152002-01-23 Kazu Hirata <kazu@hxi.com>
8516
8517 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
8518 operand[3].
8519
b2115575
JM
85202002-01-23 Jason Merrill <jason@redhat.com>
8521
f893c16e
JM
8522 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
8523
b2115575
JM
8524 * function.c (assign_parms): Don't put args of inline functions
8525 into registers when not optimizing.
8526
6bacc7b0
NC
85272002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
8528
8529 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
8530 (prologue_use): New pattern.
8531 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
8532 preference to gen_rtx_USE.
8533 (thumb_expand_prologue): Use gen_prologue_use in preference to
8534 gen_rtx_USE.
8535 (thumb_expand_epilogue): Use gen_prologue_use in preference to
8536 gen_rtx_USE.
8537
a415f7bc
HPN
85382002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
8539
8540 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
8541
5372b3fb
NB
85422002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
8543
8544 PR c/3504
8545 * doc/extend.texi: Correct documentation of __alignof__.
8546
bd571ffc
ZW
85472002-01-22 Zack Weinberg <zack@codesourcery.com>
8548
8549 * params.h: Rename arguments of DEFPARAM so that it will be
8550 recognized as a translation keyword.
8551
333c8841
AH
85522002-01-22 Aldy Hernandez <aldyh@redhat.com>
8553
bd571ffc
ZW
8554 * extend.texi: Document altivec functions.
8555 Fix N-bit adjectives in X86 builtin documentation.
333c8841 8556
38979c65
AO
85572002-01-22 Alexandre Oliva <aoliva@redhat.com>
8558
8559 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
8560 auto_inc_dec values.
8561
7458a9f0
RE
85622002-01-22 Richard Earnshaw <rearnsha@arm.com>
8563
8564 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
8565 after backslash.
8566 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
8567
129bd0c4
AO
85682002-01-22 Alexandre Oliva <aoliva@redhat.com>
8569
8570 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
8571
8b9b74a9
RH
85722002-01-22 Richard Henderson <rth@redhat.com>
8573
8574 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
8575 copy_insn not copy_rtx.
8576
d0c9db30
AM
85772002-01-23 Alan Modra <amodra@bigpond.net.au>
8578
8579 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
8580 "nonzero" as that might add "1" bits. Ensure "constop" is
8581 properly sign extened.
8582 (force_to_mode): Tweak for sign extended constop.
8583
1e7e480e
RH
85842002-01-22 Richard Henderson <rth@redhat.com>
8585
8586 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
8587 for_each_rtx instead of assuming we're already looking at the MEM.
8588 (split_small_symbolic_mem_operand): Likewise.
8589 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8590 * config/alpha/alpha.md (small symbolic memory splitters): Update.
8591
85922002-01-22 Richard Henderson <rth@redhat.com>
2e271932
RH
8593
8594 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
8595 sequence number for the literal.
8596 (divmoddi_internal_er): Likewise.
8597
b7f2fb96
CR
85982002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
8599
8600 PR java/4972
8601 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
8602 in LIBICONV variable.
8603 * configure: Regenerated.
8604
f66a0046
KW
86052002-01-22 Krister Walfridsson <cato@df.lth.se>
8606
8607 * dependence.c (build_def_use): Remove array_idx.
8608
e3b0efd1
KW
8609 * dwarfout.c (last_filename): Remove.
8610 (output_compile_unit_die): Remove last_filename.
8611
d8086cbb
RS
86122002-01-22 Roger Sayle <roger@eyesopen.com>
8613 Richard Henderson <rth@redhat.com>
8614
8615 PR opt/3640
8616 * fold-const.c (fold): Optimize unsigned comparisons against
8617 UINT_MAX (and similar unsigned constants).
8618
e8d52ba0
JJ
86192002-01-22 Janis Johnson <janis187@us.ibm.com>
8620
d8086cbb 8621 * Makefile.in (loop.o): Depend on OPTABS_H.
1398974c 8622 * loop.c (emit_prefetch_instructions): Check the prefetch operand
d8086cbb 8623 against the predicate.
11303d15 8624
e8d52ba0
JJ
8625 PR target/5379
8626 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
8627 for the address operand.
8628
cc7b420e
RH
86292002-01-22 Richard Henderson <rth@redhat.com>
8630
8631 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
8632
816e265a
CR
86332002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
8634
8635 PR other/5450
cc7b420e
RH
8636 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
8637 preprocessor flags.
816e265a 8638
7c884404
JT
86392002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
8640
8641 * config.gcc (x86_64-*-netbsd*): New target.
8642 * config/i386/netbsd64.h: New file.
8643
2b672c08
AH
86442002-01-22 Aldy Hernandez <aldyh@redhat.com>
8645
d8086cbb 8646 * regrename.c (kill_value): Fix typo.
2b672c08
AH
8647
86482002-01-22 Aldy Hernandez <aldyh@redhat.com>
8649
d8086cbb 8650 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
2b672c08 8651
d8086cbb 8652 * config/rs6000/rs6000.h: Same.
2b672c08 8653
d8086cbb
RS
8654 * function.c (instantiate_virtual_regs): Remove
8655 STARTING_FRAME_PHASE.
8656 (assign_stack_local_1): Same.
8657 Calculate frame phase.
2b672c08 8658
4b02997f
NC
86592002-01-22 Nick Clifton <nickc@redhat.com>
8660
8661 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
8662 variable declaration to outer scope in order to simplify
8663 future extensions.
8664 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
8665 arm_hard_regno_mode_ok.
8666 * config/arm/arm-protos.h: Add a prototype for
8667 arm_hard_regno_mode_ok.
8668 * config/arm/arm.c (soft_df_operand): Remove now redundant
8669 check for DImode values using IP_REGNUM.
8670 (nonimmediate_soft_df_operand): Remove now redundant check for
8671 DImode values using IP_REGNUM.
8672 (arm_hard_regno_mode_ok): New function. New check: make sure
8673 that DImode values are not stored in IP_REGNUM.
c14a3a45
NC
8674
8675 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
8676 note with a USE.
8677 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
8678
8a827ab2
JM
86792002-01-22 Jason Merrill <jason@redhat.com>
8680
8681 * c-semantics.c (genrtl_compound_stmt): Only check nesting
8682 consistency if this COMPOUND_STMT is scoped.
8683
cf403648
KH
86842002-01-22 Kazu Hirata <kazu@hxi.com>
8685
8686 * predict.c: Fix formatting.
8687 * print-tree.c: Likewise.
8688 * protoize.c: Likewise.
8689 * real.h: Likewise.
8690 * rtl.h: Likewise.
8691 * sbitmap.h: Likewise.
8692 * scan.c: Likewise.
8693 * sched-deps.c: Likewise.
8694 * sched-vis.c: Likewise.
8695 * sdbout.c: Likewise.
8696 * sibcall.c: Likewise.
8697 * ssa.c: Likewise.
8698 * ssa-ccp.c: Likewise.
8699 * ssa-dce.c: Likewise.
8700 * stmt.c: Likewise.
8701 * stor-layout.c: Likewise.
8702 * system.h: Likewise.
8703
aea9695c
RK
8704Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8705
a8765ae7
RK
8706 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
8707 if fits in bounds of base type.
8708
aea9695c
RK
8709 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
8710 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
8711 (add_bound_info, default): If can't find a context, make a
8712 SAVE_EXPR.
8713 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
8714
58bf601b
HPN
87152002-01-22 Hans-Peter Nilsson <hp@axis.com>
8716
8717 * c-typeck.c (parser_build_binary_op): If result from
8718 build_binary_op is ERROR_MARK just return error_mark_node without
8719 further processing.
8720
f982f805
JT
87212002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
8722
8723 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
8724 Split a.out-specific bits into...
8725 * config/netbsd-aout.h: ...this.
8726 * config/netbsd-elf.h: New file.
8727 * config/alpha/netbsd-elf.h: Remove.
8728 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
8729 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
bd571ffc 8730 (STARTFILE_SPEC): Remove redundant definition.
f982f805
JT
8731 (ENDFILE_SPEC): Likewise.
8732 (LINK_SPEC): Likewise.
8733 (CPP_SPEC): Likewise.
8734 (ASM_SPEC): Likewise.
8735 (LIB_SPEC): Likewise.
8736 (SWITCH_TAKES_ARG): Likewise.
8737 (TARGET_MEM_FUNCTIONS): Likewise.
8738 (CPP_PREDEFINES): Redefine.
8739 (ASM_FINAL_SPEC): Remove redefinition.
8740 (ASM_COMMENT_START): Redefine.
8741 (FUNCTION_PROFILER): Define.
8742 (TARGET_VERSION): Redefine.
8743 Comment and formatting cleanup.
8744 * config/i386/netbsd.h: Include <netbsd-aout.h>.
8745 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
8746 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
8747 big- or little-endian.
8748 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
8749 * config.gcc (*-*-netbsd*): Add definitions common to all
8750 NetBSD configs.
8751 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
8752 gnu_ld definitions. Add netbsd-elf.h to and remove
8753 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
8754 tmake_file, and don't lose previous tmake_file contents.
8755 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
8756 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
8757 gnu_ld definitions. Add netbsd-elf.h to tm_file.
8758 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
8759 (mipsel-*-netbsd*): Rename this to...
8760 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
8761 mips/little.h to tm_file for mips*el-*.
8762 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
8763 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
8764 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
8765
2e396476
JDA
87662002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
8767
8768 * pa-protos.h (reg_before_reload_operand): New function prototype.
8769 * pa.c (reg_before_reload_operand): New function implementation.
8770 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
8771 contraints to "*m".
8772
3b5708e7
FS
87732002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8774
8775 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
8776
85e79f96
JDA
87772002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
8778
8779 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
8780 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
8781 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
8782 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
8783 (ENDFILE_SPEC): Undefine.
8784 (STARTFILE_SPEC): Redefine for PA.
8785
38abadee
FS
87862002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8787
8788 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
8789
94f1d97c
DJ
87902002-01-21 Daniel Jacobowitz <drow@mvista.com>
8791
8792 * config.gcc: Add entries to supported PowerPC --with-cpu
8793 types.
8794
0333394e
JJ
87952002-01-21 Jakub Jelinek <jakub@redhat.com>
8796
8797 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
8798 true for 64-bit mode only SSE registers in 32-bit mode.
8799
e9d1b155
KH
88002002-01-21 Kazu Hirata <kazu@hxi.com>
8801
8802 * unwind-dw2.c: Fix formatting.
8803 * unwind-dw2-fde.c: Likewise.
8804 * unwind-dw2-fde.h: Likewise.
8805 * unwind-pe.h: Likewise.
8806 * varasm.c: Likewise.
8807 * varray.h: Likewise.
8808
07338cf8
HPN
88092002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
8810
8811 Remove workaround for register stack overwrite bug in mmix.
8812 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
8813 support for TARGET_REG_STACK_FILL_BUG.
8814 * config/mmix/mmix.h: Remove member has_call_without_parameters.
8815 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
8816 Delete.
8817 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
8818 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
8819 -mno-reg-stack-fill-bug-workaround.
8820 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
8821 machine member has_call_without_parameters.
8822 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
8823 -mreg-stack-fill-bug-workaround and
8824 -mno-reg-stack-fill-bug-workaround.
8825 (MMIX Options): Ditto.
8826
7192cbf1
KH
88272002-01-21 Kazu Hirata <kazu@hxi.com>
8828
8829 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
8830 as appropriate.
8831 Remove redundant code.
8832
d1552d7b
JM
88332002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
8834
8835 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
8836 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8837 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
8838 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
8839 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
8840 out target macro definitions and non-target-specific comments
8841 mostly taken from old versions of the manual.
8842
ed168e45
KH
88432002-01-20 Kazu Hirata <kazu@hxi.com>
8844
8845 * config/h8300/h8300.h: Fix comment formatting.
8846 * config/ia64/aix.h: Likewise.
8847 * config/ia64/ia64-protos.h: Likewise.
8848 * config/ia64/ia64.c: Likewise.
8849 * config/ia64/ia64.h: Likewise.
8850 * config/ia64/ia64intrin.h: Likewise.
8851 * config/ia64/linux.h: Likewise.
8852 * config/ia64/unwind-aix.c: Likewise.
8853 * config/ia64/unwind-ia64.c: Likewise.
8854
005e3e05
KH
88552002-01-20 Kazu Hirata <kazu@hxi.com>
8856
8857 * config/h8300/h8300.c: Revise comments about shift code.
8858
64bead4c
KH
88592002-01-20 Kazu Hirata <kazu@hxi.com>
8860
8861 * config/h8300/h8300.c (function_arg): Update a comment.
8862
ed863595
KH
88632002-01-20 Kazu Hirata <kazu@hxi.com>
8864
8865 * config/h8300/h8300.md: Update the comments at the beginning
8866 of the file.
8867
5904dc87
KH
88682002-01-20 Kazu Hirata <kazu@hxi.com>
8869
8870 * config/i370/i370.c: Fix comment formatting.
8871 * config/i370/i370.h: Likewise.
8872 * config/i370/i370.md: Likewise.
8873 * config/i370/linux.h: Likewise.
8874
9702143f
RK
8875Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8876
cbafacd1
RK
8877 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
8878
9702143f
RK
8879 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
8880 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
8881 in incomplete case.
8882
6b6996b8
GS
88832002-01-20 Graham Stott <grahams@redhat.com>
8884
8885 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
8886
eab854f6
JDA
88872002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
8888
8889 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
8890
5b029315
TR
88912002-01-19 Tom Rix <trix@redhat.com>
8892
8893 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
8894
1d690052
AH
88952002-01-18 Aldy Hernandez <aldyh@redhat.com>
8896
d8086cbb 8897 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
1d690052 8898
d8086cbb
RS
8899 * function.c (assign_stack_local_1): Adjust x_frame_offset with
8900 STARTING_FRAME_PHASE.
8901 (STARTING_FRAME_PHASE): New.
8902 (instantiate_virtual_regs): Check saneness of
8903 STARTING_FRAME_PHASE.
1d690052 8904
d8086cbb 8905 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
1d690052 8906
4dd8c093
AO
89072002-01-19 Alexandre Oliva <aoliva@redhat.com>
8908
8909 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
8910
6f2a28d7
CR
89112002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
8912
8913 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
8914 be used for bootstrapping GCC 3.0.
8915
8763a465
KH
89162002-01-18 Kazu Hirata <kazu@hxi.com>
8917
8918 * config/h8300/h8300.md: Fix an insn length.
8919
3ef42a0c
KH
89202002-01-18 Kazu Hirata <kazu@hxi.com>
8921
8922 * bitmap.h: Fix comment formatting.
8923 * combine.c: Likewise.
8924 * cppfiles.c: Likewise.
8925 * c-pragma.h: Likewise.
8926 * c-typeck.c: Likewise.
8927 * df.c: Likewise.
8928 * dwarf2out.c: Likewise.
8929 * function.c: Likewise.
8930 * gcc.c: Likewise.
8931 * genattrtab.c: Likewise.
8932 * gthr-win32.h: Likewise.
8933 * haifa-sched.c: Likewise.
8934 * predict.c: Likewise.
8935 * rtlanal.c: Likewise.
8936 * rtl.h: Likewise.
8937 * unwind-dw2-fde.h: Likewise.
8938 * unwind-pe.h: Likewise.
8939 * vmsdbgout.c: Likewise.
8940
dd4dc3cd
RK
8941Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8942
8943 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
8944 if type_required and passed decl.
8945
5fb4cf24
AH
89462002-01-17 Aldy Hernandez <aldyh@redhat.com>
8947
d8086cbb
RS
8948 * config.gcc (cpu_type): Include altivec.h in powerpc
8949 extra_headers.
8950 Same for darwin.
5fb4cf24 8951
d8086cbb 8952 * config/rs6000/altivec.h: New.
5fb4cf24 8953
2705baf5
DE
89542002-01-17 David Edelsohn <edelsohn@gnu.org>
8955
8956 * doc/install.texi (*-ibm-aix*): Update assembler and exception
8957 handling information.
8958 * doc/trouble.texi (Interoperation): Add libstdc++ information
8959 for AIX.
8960 (Misunderstandings): Add template instantiation and static template
8961 member information for AIX.
8962
dbd680e1
JM
89632002-01-17 Jason Merrill <jason@redhat.com>
8964
821adc5e
JM
8965 * dbxout.c (dbxout_type): Support const and volatile.
8966
dbd680e1
JM
8967 * except.c (add_partial_entry): Remove backwards compatibility code.
8968 (end_protect_partials): Likewise.
8969
d0e82870
JJ
89702002-01-17 Jakub Jelinek <jakub@redhat.com>
8971
8972 * config/ia64/ia64.md (prologue_use): New.
8973 * config/ia64/ia64.c (ia64_expand_prologue): Use
8974 gen_prologue_use instead of gen_rtx_USE.
8975 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
8976 as CODE_FOR_pred_rel_mutex.
8977 (ia64_sched_reorder2): Likewise.
8978
f9f45c65
EC
89792002-01-16 Eric Christopher <echristo@redhat.com>
8980
8981 * config/mips/r3900.h: Reformat.
8982 (SUBTARGET_CPP_SIZE_SPEC): Remove.
8983 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8984 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
8985 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
8986 * config/mips/t-elf: Remove mips3 multilib.
8987
c66c8b0e
L
89882002-01-16 H.J. Lu <hjl@gnu.org>
8989
8990 * config/mips/linux.h: Include "mips/abi64.h".
8991
5f083b72
L
89922002-01-16 H.J. Lu <hjl@gnu.org>
8993
8994 * config/mips/t-linux: New.
8995
8996 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
8997
8998 * config/mips/linux.h: Don't include "gofast.h".
8999 (INIT_SUBTARGET_OPTABS): Removed.
9000
af3c90a6
KH
90012002-01-16 Kazu Hirata <kazu@hxi.com>
9002
9003 * config/h8300/h8300-protos.h: Replace emit_a_shift with
9004 output_a_shift.
9005 * config/h8300/h8300.c: Likewise.
9006 * config/h8300/h8300.md: Likewise.
9007
a1bf0a16
KH
90082002-01-16 Kazu Hirata <kazu@hxi.com>
9009
9010 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
9011 spaces after an opcode name.
9012 (pushqi1_h8300hs): Likewise.
9013 (pushhi1_h8300hs): Likewise.
9014
88ab0d1c
KH
90152002-01-16 Kazu Hirata <kazu@hxi.com>
9016
9017 * doc/extend.texi: Replace "option" with "attribute"
9018 appropriately.
9019
51c561e3
JJ
90202002-01-16 Jakub Jelinek <jakub@redhat.com>
9021
9022 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
9023 (and:DI () (const_int -8)).
9024 (split_small_symbolic_mem_operand): Split
9025 (mem (and:DI () (const_int -8)).
9026
b8c1a6b8
JJ
90272002-01-16 Jakub Jelinek <jakub@redhat.com>
9028
9029 PR target/5309:
d8086cbb 9030 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
b8c1a6b8
JJ
9031 same way as TYPE_IMUL.
9032 (ultrasparc_sched_reorder): Likewise.
9033 * config/sparc/sparc.md (type): Add comment to update
9034 ultrasparc_sched_reorder when making changes.
9035
1e4e4df2
KH
90362002-01-16 Kazu Hirata <kazu@hxi.com>
9037
9038 * doc/invoke.texi: Change the dump file name of block
9039 reordering pass from 28.bbro to 29.bbro.
9040 Mention -dk option.
9041
14d920c0
JH
9042Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
9043
9044 * i386.md (minsf splitter): Fix pasto.
9045
2e99323f
NC
90462002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
9047
9048 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
9049 to frame pointer initialisation instruction.
9050 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
9051 initialisation instruction.
ab8081c1
NC
9052 (soft_df_operand): Do not accept the IP register.
9053 (nonimmediate_soft_df_operand): Do not accept the IP register.
2e99323f 9054
c4031a04
JJ
90552002-01-16 Jakub Jelinek <jakub@redhat.com>
9056
9057 PR target/5357:
9058 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
9059 MASK_V8 being both set.
9060
44b8152b
UW
90612002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
9062
9063 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
9064 insn for GOT register; add REG_MAYBE_DEAD notes instead.
9065 config/s390/s390.md (call, call_value): Add GOT register to
9066 CALL_INSN_FUNCTION_USAGE where needed.
9067 (call_exp, call_value_exp): New.
9068
1d6e90ac
NC
90692002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
9070
9071 * config/arm/arm.c: General formatting tidy up.
9072
90732002-01-16 Graham Stott <grahams@redhat.com>
60e8b9f0
GS
9074
9075 * calls.c (try_to_integrate): Use "(size_t)" intermediate
9076 cast and when casting an integer literal to "rtx" pointer.
9077 (expand_call): Likewise.
9078 * flow.c (try_pre_increment): Likewise.
9079 (find_use_as_address): Likewise.
9080 * integrate.c (expand_iline_function): Likewise.
9081 * regmove.c (try_auto_increment): Likewise.
9082
1d6e90ac 90832002-01-16 Graham Stott <grahams@redhat.com>
7b25b076
GS
9084
9085 * sched-rgn.c (passed): Use sbitmap_free.
9086 (header): Likewise.
9087 (inner): Likewise.
9088 (in_queue): Likewise.
9089 (in_stack): Likewise.
9090
31fce3c4
EC
90912002-01-15 Eric Christopher <echristo@redhat.com>
9092
9093 * flow.c (propagate_one_insn): Change to use fatal_insn.
9094
c99d986a
KH
90952002-01-15 Kazu Hirata <kazu@hxi.com>
9096
9097 * expmed.c (extract_fixed_bit_field): Remove unused code.
9098 * system.h: Poison SLOW_ZERO_EXTEND.
9099 * doc/tm.texi: Remove.
9100 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
9101 * config/arm/arm.h: Likewise.
9102 * config/avr/avr.h: Likewise.
9103 * config/clipper/clipper.h: Likewise.
9104 * config/convex/convex.h: Likewise.
9105 * config/d30v/d30v.h: Likewise.
9106 * config/dsp16xx/dsp16xx.h: Likewise.
9107 * config/elxsi/elxsi.h: Likewise.
9108 * config/fr30/fr30.h: Likewise.
9109 * config/h8300/h8300.h: Likewise.
9110 * config/i370/i370.h: Likewise.
9111 * config/i386/i386.h: Likewise.
9112 * config/m68k/m68k.h: Likewise.
9113 * config/mips/mips.h: Likewise.
9114 * config/ns32k/ns32k.h: Likewise.
9115 * config/pdp11/pdp11.h: Likewise.
9116 * config/pj/pj.h: Likewise.
9117 * config/s390/s390.h: Likewise.
9118 * config/sh/sh.h: Likewise.
9119 * config/stormy16/stormy16.h: Likewise.
9120 * config/v850/v850.h: Likewise.
9121 * config/vax/vax.h: Likewise.
9122 * config/we32k/we32k.h: Likewise.
9123
acfab996
AH
91242002-01-15 Aldy Hernandez <aldyh@redhat.com>
9125
d8086cbb
RS
9126 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
9127 (altivec_lvsl): Change constraint to b.
9128 (altivec_lvsr): Same.
9129 (altivec_lvebx): Same.
9130 (altivec_lvehx): Same.
9131 (altivec_lvewx): Same.
9132 (altivec_lvxl): Same.
9133 (altivec_lvx): Same.
9134 (altivec_stvx): Add parallel.
9135 (altivec_stvxl): Same.
9136 (altivec_stvehx): Same.
9137 (altivec_stvebx): Same.
9138 (altivec_stvebx): Same.
acfab996 9139
5e505bc9
AH
91402002-01-15 Aldy Hernandez <aldyh@redhat.com>
9141
d8086cbb 9142 * config.gcc: Change altivec.h to altivec-defs.h.
5e505bc9 9143
d8086cbb 9144 * config/rs6000/altivec.h: Delete.
5e505bc9 9145
d8086cbb 9146 * config/rs6000/altivec-defs.h: Add.
5e505bc9 9147
5c41fdfb
JDA
91482002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
9149
9150 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
9151 and UMOD modes.
9152
9153 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
9154 less than or equal to eight bytes.
9155
9156 * vax.md (andsi3): Remove constraints and change SET destination
9157 operand type to nonimmediate_operand.
9158 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
9159 when it is a CONST_INT.
9160
de097a2d
JM
91612002-01-15 Jason Merrill <jason@redhat.com>
9162
9163 * c-common.def (FILE_STMT): New code.
9164 * c-common.c (statement_code_p): It's a statement.
9165 * c-common.h (stmt_tree_s): Add x_last_filename.
9166 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
9167 (last_expr_filename): New macro.
9168 * c-semantics.c (begin_stmt_tree): Initialize it.
9169 (add_stmt): If the filename changed, also insert a
9170 FILE_STMT.
9171 (expand_stmt): Handle seeing one.
9172
4a913dd6
EC
91732002-01-15 Eric Christopher <echristo@redhat.com>
9174
9175 * flow.c (propagate_one_insn): Add error message and print out
9176 insn for debugging.
9177
006946e4
JM
91782002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
9179
9180 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
9181 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
9182 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
9183 TRAMPOLINE_ALIGNMENT.
9184 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
9185 to be in bits.
9186 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
9187 PCC_BITFIELD_TYPE_MATTERS.
9188 * config/interix.h (STDC_VALUE): Remove. Use
9189 STDC_0_IN_SYSTEM_HEADERS.
9190 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
9191 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
9192 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
9193
751a1458
CR
91942002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
9195
9196 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
9197 not work on this platform currently.
9198
57771fe8
JM
91992002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
9200
9201 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
9202 readonly_warning in _().
9203
0e83ceb1 92042002-01-15 Douglas B Rupp <rupp@gnat.com>
9a52433e 9205
0e83ceb1 9206 * gcc.c (delete_if_ordinary): Backout previous change.
9a52433e 9207
8e2e89f7
KH
92082002-01-15 Kazu Hirata <kazu@hxi.com>
9209
0e83ceb1
DR
9210 * config/h8300/h8300.c (print_operand): Remove support for
9211 unused operand characters.
9212
8e2e89f7
KH
9213 * read-rtl.c: Fix formatting.
9214 * real.c: Likewise.
9215 * recog.c: Likewise.
9216 * regclass.c: Likewise.
9217 * regmove.c: Likewise.
9218 * reg-stack.c: Likewise.
9219 * reload1.c: Likewise.
9220 * rtlanal.c: Likewise.
9221
b531087a
KH
92222002-01-15 Kazu Hirata <kazu@hxi.com>
9223
9224 * config/i386/i386.c: Fix formatting.
9225
7c94ce7f
JJ
92262002-01-15 Jakub Jelinek <jakub@redhat.com>
9227
9228 * c-typeck.c (process_init_element): Don't save_expr
9229 COMPOUND_LITERAL_EXPR if just its initializer will be used.
9230
6041bf2f
DE
92312002-01-15 David Edelsohn <edelsohn@gnu.org>
9232
9233 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
9234 emit optional traceback table if optimize_size or TARGET_ELF.
9235 * config/rs6000/rs6000.md (prefetch): New.
9236
8559c8c0
AJ
92372002-01-15 Andreas Jaeger <aj@suse.de>
9238
9239 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
9240
70f122f2
KH
92412002-01-15 Kazu Hirata <kazu@hxi.com>
9242
9243 * mips-tfile.c: Fix formatting.
9244
6a7b4ca6
JH
9245Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
9246
9247 * unroll.c (final_reg_note_copy): Fix previous commit.
9248
e7afe229
KH
92492002-01-14 Kazu Hirata <kazu@hxi.com>
9250
9251 * config/h8300/h8300-protos.h: Remove the prototype for
9252 eq_operator.
9253 * config/h8300/h8300.c (eq_operator): Remove.
9254
7d378549
RH
92552002-01-14 Richard Henderson <rth@redhat.com>
9256
9257 * config/i386/i386.md (prefetch): Tidy.
9258 (prefetch_3dnow): Fix locality operand.
9259
ab093b81
RH
92602002-01-14 Richard Henderson <rth@redhat.com>
9261
9262 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
9263 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
9264
d300f51f
HPN
92652002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
9266
9267 * reload1.c (reload_combine): Pass reg_sum replacement through
9268 copy_rtx in loop performing multiple changes.
9269
655dd289
JJ
92702002-01-14 Jakub Jelinek <jakub@redhat.com>
9271
9272 * except.c (remove_unreachable_regions): New.
9273 (free_eh_status): Clear exception_handler_labels.
9274 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
9275 (find_exception_handler_labels): Don't add the same label more than
9276 once.
9277 (remove_exception_handler_label): Don't die if
9278 find_exception_handler_labels hasn't been called for the current
9279 function yet.
9280
1fba46a7
JH
9281Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
9282
9283 * toplev.c (rest_of_compilation): Rebuild jump labels after
9284 gcse.
9285
0975678f
JM
92862002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
9287
9288 * doc/extend.texi: Move documentation of X86 built-in functions
9289 here.
9290 * doc/invoke.texi: From here.
9291 * doc/sourcebuild.texi: Document location of documentation for
9292 machine built-in functions.
9293
969815c7
CF
92942002-01-13 Christopher Faylor <cgf@redhat.com>
9295
9296 * cppfiles.c (TEST_THRESHOLD): New macro.
9297 (SHOULD_MMAP): Ditto.
9298 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
9299 be used.
9300
494c950b
JH
9301Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
9302
9303 * unroll.c (final_reg_note_copy): Properly handle
9304 REG_LABEL
9305 (unroll_loops): Fix LOOP_CONDITION heuristics.
9306
69a0611f
GK
93072002-01-14 Geoffrey Keating <geoffk@redhat.com>
9308
9309 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
9310 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
9311
b90e45ae
JH
9312Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
9313
9314 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
9315 threaded loop.
9316
8377288b
TR
93172002-01-14 Tom Rix <trix@redhat.com>
9318
9319 * config/rs6000/rs6000.md: Fix typo with sradi.
9320
9f37ccb1
UW
93212002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
9322
9323 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
9324 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
9325 (clrstrdi, clrstrsi): Adapt callers.
9326
9327 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
9328
8559c8c0 9329 (movti splitter): Never use register 0 as base register.
9f37ccb1 9330
6c2d03d0
HP
93312002-01-14 Hartmut Penner <hpenner@de.ibm.com>
9332
8559c8c0
AJ
9333 * combine.c (simplify_shift_const): Always generate new rtx
9334 for shift expression instead of reusing given expression.
6c2d03d0 9335
d3e98208
RK
9336Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9337
9338 * config/alpha/alpha.c (alpha_expand_mov): Don't call
9339 alpha_legitimize_address unless mode is Pmode.
9340
9f339dde
GK
93412002-01-13 Geoffrey Keating <geoffk@redhat.com>
9342
9343 * doc/md.texi (Modifiers): Document the '*' constraint for the
9344 user.
9345
9346 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
9347 * doc/extend.texi (Function Attributes): 'interrupt' is valid
9348 for xstormy16 too.
9349
02a10130
RH
93502002-01-13 Richard Henderson <rth@redhat.com>
9351
9352 * reload.c (find_reloads): Use a hard reg destination as reload reg
9353 for an input reload of the source.
9354
61d47787
GP
93552002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9356
9357 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
9358 more generic.
9359
f0df8029
DR
9360Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
9361
9362 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
9363 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
9364
d2a37256
DR
9365 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
9366
a9e8a5ee
RK
9367Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9368
9369 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
9370
bc06712d
TR
93712002-01-12 Tom Rix <trix@redhat.com>
9372
8559c8c0 9373 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
bc06712d
TR
9374 TARGET_POWERPC64.
9375
7cbe9bb7
RH
93762002-01-12 Richard Henderson <rth@redhat.com>
9377
38b29e64
RH
9378 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
9379
58605ba0
RH
9380 * doc/invoke.texi: Update Alpha options.
9381
7cbe9bb7
RH
9382 * doc/invoke.texi: Update i386 built-in function lists.
9383
9d560860
JH
9384Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
9385
9386 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
9387 referencing outside.
9388
bb93b973
RK
9389Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9390
9391 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
9392 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
9393 offsets, and change line folding.
9394 * optabs.c (expand_binop): Remove warnings.
9395 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
8559c8c0 9396
f9f6b7df
GS
93972002-01-12 Graham Stott <grahams@redhat.com>
9398
9399 * attribs.c (handle_deprecated_attribute): constify WHAT.
9400 * diagnostic.c (warn_deprecated_use): Add braces, fixes
9401 dangling else warning and constify WHAT.
9402 * except.h (struct function, struct inline_remap): Move
9403 struct tag forward defs before all prototypes.
9404 (duplicate_eh_regions): Whitespace.
9405
4a692617
NC
94062002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
9407
9408 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
9409 MODE_BASE_REG_CLASS.
9410 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
9411
e37af218
RH
94122002-01-12 Richard Henderson <rth@redhat.com>
9413
9414 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
9415 (ix86_expand_vector_move): New.
9416 (bdesc_2arg): Remove andps, andnps, orps, xorps.
9417 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
9418 Remove old prefetch builtins. Special case the logicals removed above.
9419 (ix86_expand_builtin): Likewise.
9420 (safe_vector_operand): Use V4SFmode, not TImode.
9421 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
9422 (ix86_expand_timode_binop_builtin): New.
9423 * config/i386/i386-protos.h: Update.
9424 * config/i386/i386.h (enum ix86_builtins): Update.
9425 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
9426 Use ix86_expand_vector_move in vector move expanders.
9427 (movti_internal, movti_rex64): Add xorps alternative.
9428 (sse_clrv4sf): Rename and adjust from sse_clrti.
9429 (prefetch): Don't work so hard.
9430 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
9431 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
9432 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
9433
6f1a6c5b
RH
94342002-01-11 Richard Henderson <rth@redhat.com>
9435
9436 * config/i386/mmintrin.h: New file.
9437 * config/i386/xmmintrin.h: New file.
9438 * config.gcc (i?86-*-*): Add extra_headers.
9439 * simplify-rtx.c (simplify_unary_operation): Handle saturating
9440 truncation codes.
9441 (simplify_binary_operation): Handle saturating arithmetic codes.
9442 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
9443 not the lowpart subreg.
9444 (ix86_expand_builtin): Return a TImode dummy register instead of 0
9445 on error.
9446 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
9447
cdb574d3
MH
94482002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9449
9450 * conflict.c (conflict_graph_compute): Free regsets when finished.
9451 * ssa.c (compute_coalesced_reg_partition): Likewise.
8559c8c0 9452
cf11ac55
HB
94532002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9454
9455 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
9456 every where we allocate a register.
9457
76ac938b
MH
94582002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9459
9460 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
9461 * lcm.c (compute_earliest, compute_farthest): Likewise.
9462
a84b4898
JJ
94632002-01-11 Janis Johnson <janis187@us.ibm.com>
9464
9465 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
9466
aaef1c12
JJ
94672002-01-11 Janis Johnson <janis187@us.ibm.com>
9468
9469 * doc/rtl.texi (Insns): Fix 2 typos.
9470
5d22c1a5
JM
94712002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
9472
9473 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
9474 options. Use @table @gcctabopt for MMIX options. Add index
9475 entries for MMIX options. Start new paragraph with first
9476 heading of the machine-dependent options.
9477
3e92902c
CR
94782002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
9479
9480 PR other/5299
9481 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
9482 * combine.c (force_to_mode): Same.
9483 * reload1.c (clear_reload_reg_in_use): Same.
9484
96ae8197
NC
94852002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
9486
9487 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
9488 and 'subtargets'.
9489
9b780582
AJ
94902002-01-11 Andreas Jaeger <aj@suse.de>,
9491 Brad Lucier <lucier@math.purdue.edu>
9492
9493 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
9494 mcpu.
9495
12300dad
DR
9496Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
9497
9498 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
9499 Protect with IN_LIBGCC.
9500 (LINK_EH_SPEC): Add required trailing space.
9501
27511a9a
NP
9502Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
9503
9b780582 9504 * c-tree.h: Move function declarations so that they are listed
27511a9a
NP
9505 under the filename which contains them.
9506 (check_identifier, finish_decl_top_level,
9507 lookup_name_current_level_global, shadow_record_fields): Remove.
9508
4daeab16
AJ
95092002-01-11 Andreas Jaeger <aj@suse.de>
9510
9511 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
9512 march.
9513
40571d67
RH
95142002-01-10 Richard Henderson <rth@redhat.com>
9515
9516 * config/alpha/alpha.c (print_operand): Add 'J'.
9517 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
9518 new operand with the sequence number for the lituse. When splitting
9519 the insns, use gen_movdi_er_high_g and generate a sequence number.
9520 (gen_movdi_er_high_g): Print the sequence number if non-zero.
9521
6525c0e7
AH
95222002-01-10 Aldy Hernandez <aldyh@redhat.com>
9523
d8086cbb
RS
9524 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
9525 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
9526 stvxl.
9527 (altivec_expand_builtin): Same.
9528 (altivec_expand_stv_builtin): New.
9529
9530 * config/rs6000/rs6000.h (rs6000_builtins): Same.
9531
9532 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
9533 ("altivec_lvehx"): New.
9534 ("altivec_lvewx"): New.
9535 ("altivec_lvxl"): New.
9536 ("altivec_lvx"): New.
9537 ("altivec_stvx"): New.
9538 ("altivec_stvebx"): New.
9539 ("altivec_stvehx"): New.
9540 ("altivec_stvewx"): New.
9541 ("altivec_stvxl"): New.
6525c0e7 9542
cda94cbb
RH
95432002-01-10 Richard Henderson <rth@redhat.com>
9544
9545 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
9546 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
9547 care not to delete instructions twice.
9548
df2c9a44
ZW
95492002-01-10 Zack Weinberg <zack@codesourcery.com>
9550
9551 * toplev.c: Don't declare environ (it's not used anywhere).
9552 * configure.in: Don't check for declaration of environ.
9553 * config/i386/xm-mingw32.h: Don't #define environ.
9554 * config.in, configure: Regenerate.
9555
5dd8a9b1
ZW
95562002-01-10 Zack Weinberg <zack@codesourcery.com>
9557
9558 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
9559 * configure: Regenerate.
9560
9561 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
9562 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
9563 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
9564 alpha/xm-vms.h.
9565 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
9566 LIMITS_H_TEST here, not in m68k/x-next.
9567 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
9568 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
9569
9570 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
9571 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
9572 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
9573
9574 * config/i386/x-djgpp: Renamed i386/t-djgpp.
9575 * config/m88k/x-dolph: Renamed m88k/t-dolph.
9576 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
9577 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
9578 replacement of quadlib.asm with quadlib.c.
9579
9580 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
9581 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
9582 config/rs6000/xm-beos.h: Delete file.
9583
9584 * config.gcc: Update to match above changes.
9585
d10dd44c
KH
95862002-01-10 Kazu Hirata <kazu@hxi.com>
9587
9588 * config/h8300/h8300.h: Fix comment typos.
9589 * config/h8300/h8300.md: Likewise.
9590 * config/h8300/lib1funcs.asm: Likewise.
9591
04894c5a
DJ
95922002-01-10 Dale Johannesen <dalej@apple.com>
9593
9594 PR optimization/5269
9595 * unroll.c (precondition_loop_p): Make *increment be the correct
9596 sign when n_iterations known, to avoid confusing caller.
9597
adc9fe67
KH
95982002-01-10 Kazu Hirata <kazu@hxi.com>
9599
9600 * doc/extend.texi (deprecated): Fix a typo.
9601
b446e5a2
JH
9602Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
9603
9604 * basic-block.h (update_br_prob_note): Declare.
9605 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
9606 (try_forward_edges): Care negative frequencies and update note.
9607 (outgoing_edges_match): Tweek conditional merging heuristics.
9608 (try_crossjump_to_edge): use update_br_prob_note.
9609 * cfglayout.c (fixup_reorder_chain): Likewise.
9610 * cfrtl.c (update_br_prob_note): New.
9611 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
9612
9613 * i386.c (ix86_decompose_address): Return -1 if address contains
9614 shift.
9615 (legitimate_address_p): Require ix86_decompose_address to return 1.
9616
9617 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
9618 (cprop_insn): Likewise.
9619
a01da83b
KH
96202002-01-10 Kazu Hirata <kazu@hxi.com>
9621
9622 * toplev.c: Fix formatting.
9623 * tree.c: Likewise.
9624 * tree-dump.c: Likewise.
9625 * unroll.c: Likewise.
9626 * unwind-dw2.c: Likewise.
9627 * unwind-dw2-fde.c: Likewise.
9628 * unwind-dw2-fde-glibc.c: Likewise.
9629 * unwind-sjlj.c: Likewise.
9630
9f85bca7
JM
96312002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
9632
9633 * doc/invoke.texi: Document PDP-11 options.
9634
f48f56b1
KH
96352002-01-10 Kazu Hirata <kazu@hxi.com>
9636
9637 * config/h8300/h8300.h: Fix formatting.
9638
ead39bdf 96392002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
9640
9641 Add __attribute__ ((deprecated)).
9642 * extend.texi: Document __attribute__ ((deprecated)).
9643 * invoke.texi: Document -Wno-deprecated-declarations.
9644 * testsuite/g++.dg/other/deprecated.C: New C++ test.
9645 * testsuite/gcc.dg/deprecated.c: New C test.
9646 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
9647 (c_common_attribute_table): Add "deprecated" entry.
9648 (handle_deprecated_attribute): New function.
9649 * c-decl.c (deprecated_states): New enum.
9650 deprecated_state: State of "deprecated" handling.
9651 (start_decl): Set deprecated_state based on attributes.
9652 (grokdeclarator): Test for deprecated uses, propagate attribute.
9653 * c-typeck.c (build_component_ref): Test for deprecated fields.
9654 (build_external_ref): Test for deprecated primaries.
9655 * diagnostic.c (warn_deprecated_use) New function to issue
9656 warnings about __attribute__ ((depricated)) references.
9657 * flags.h (warn_deprecated_decl): Extern declared for
9658 -W[no-]deprecated-declarations option.
9659 * print-tree.c (print_node): Show deprecated flag status.
9660 * toplev.c (warn_deprecated_decl): Defined.
9661 (W_options): Added "deprecated-declaration".
9662 * toplev.h (warn_deprecated_use): Extern declared.
9663 * tree.h (struct tree_common): Define deprecated_flag.
9664 (TREE_DEPRECATED): New macro to access flag.
9665 * cp/call.c (build_call): Test for deprecated calls.
9666 * cp/class.c (add_implicitly_declared_members): Set global
9667 flag to tell grokdeclarator to not issue deprecated warnings.
9668 * cp/cp-tree.h: Add extern for adding_implicit_members.
9669 * cp/decl.c (deprecated_states): New enum.
9670 (start_decl): Set deprecated_state based on attributes.
9671 (grokdeclarator): Test for deprecated uses, propagate attribute.
9672 * cp/lex.c (do_identifier): Test for deprecated primaries.
9673 * cp/typeck.c (build_component_ref): Test for deprecated fields.
9674
ead39bdf 96752002-01-10 Ira Ruben <ira@apple.com>
7f180628
IR
9676
9677 Fix to assign attributes to inline member functions.
9678 * cp/decl.c (start_method): Handle attrlist.
9679
47073a38
KH
96802002-01-10 Kazu Hirata <kazu@hxi.com>
9681
9682 * combine.c (expand_field_assignment): Use subreg_lsb().
9683
d288e53d
DE
96842002-01-10 David Edelsohn <edelsohn@gnu.org>
9685
9686 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
9687 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
9688 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
9689 Recurse for any operand of AND as long as constant is non-zero.
9690
08a02ffa
KH
96912002-01-10 Kazu Hirata <kazu@hxi.com>
9692
9693 * config/h8300/h8300.md: Remove constraints from expanders.
9694
c203e7fe
KH
96952002-01-10 Kazu Hirata <kazu@hxi.com>
9696
9697 * varasm.c: Fix formatting.
9698 * varray.c: Likewise.
9699 * vmsdbgout.c: Likewise.
9700 * xcoffout.c: Likewise.
9701
bcb3bc6d
JH
9702Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
9703
9704 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
cda94cbb 9705 update edge probabilities to match.
bcb3bc6d 9706
0a553c7e
JM
97072002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
9708
9709 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
9710 dependencies.
9711 * doc/languages.texi, doc/sourcebuild.texi: New files.
9712 * doc/configfiles.texi: Make a subsubsection. Update.
9713 * doc/configterms.texi: Add @node. Remove warning that this isn't
9714 instructions for building GCC.
9715 * doc/makefile.texi: Make a subsection.
9716 * doc/gccint.texi: Update.
9717
adc7fcb8
JH
9718Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
9719
9720 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
9721
5a4dd0b3
NP
9722Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
9723
9724 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
9725
3987b9db
JH
9726Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
9727
9728 * optabs.c (expand_fix): Look for wider integer modes first.
9729
9730 * i386.md (mov?f): Avoid the fake const double trick for medium
9731 memory model.
9732 (min?f*/max?f*): Prohibit memory operands for i387 variant.
9733 (fop_df_4): Disable for SSE compilation.
9734
ceb15948 97352002-01-10 Graham Stott <grahams@redhat.com>
117f9d28
GS
9736
9737 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
cda94cbb 9738 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
117f9d28 9739
e1623399
RH
97402002-01-10 Richard Henderson <rth@redhat.com>
9741
9742 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
9743
c4abb293
RH
97442002-01-10 Richard Henderson <rth@redhat.com>
9745
9746 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
9747 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
9748
d2604ae9
KH
97492002-01-10 Kazu Hirata <kazu@hxi.com>
9750
9751 * combine.c (can_combine_p): Fix a comment typo.
9752
766c7ad1
ZW
97532002-01-09 Zack Weinberg <zack@codesourcery.com>
9754
9755 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
9756 empty list correctly. Change loop index $t to $f for
9757 consistency with rest of Makefile.
9758
95385cbb
AH
97592002-01-08 Aldy Hernandez <aldyh@redhat.com>
9760
9761 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
9762 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
9763
9764 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
9765 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
9766 (altivec_init_builtins): Same.
9767 (altivec_expand_unop_builtin): Return NULL_RTX on error.
9768 (altivec_expand_binop_builtin): Same.
9769 (altivec_expand_ternop_builtin): Same.
9770 (bdesc_dst): New.
9771
9772 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
9773 ("altivec_vctuxs"): Fix typo.
9774 ("altivec_vnmsubfp"): Same.
9775 ("altivec_dssall"): New.
9776 ("altivec_mfvscr"): New.
9777 ("altivec_dss"): New.
9778 ("altivec_lvsl"): New.
9779 ("altivec_lvsr"): New.
9780 ("altivec_dstt"): New.
9781 ("altivec_dstst"): New.
9782 ("altivec_dststt"): New.
9783 ("altivec_dst"): New.
9784
9785 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
9786 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
9787
e4ac76b4
RH
97882002-01-09 Richard Henderson <rth@redhat.com>
9789
9790 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
9791
c893e4a4
HPN
97922002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
9793
9794 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
9795 function.
9796 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
9797 prototype.
7387c700 9798 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
c893e4a4 9799
f4f4d0f8
KH
98002002-01-09 Kazu Hirata <kazu@hxi.com>
9801
9802 * read-rtl.c: Fix formatting.
9803 * real.c: Likewise.
9804 * regclass.c: Likewise.
9805 * regrename.c: Likewise.
9806 * reg-stack.c: Likewise.
9807 * reload1.c: Likewise.
9808 * reload.c: Likewise.
9809 * rtl.c: Likewise.
9810
cc863bea
KH
98112002-01-09 Kazu Hirata <kazu@hxi.com>
9812
9813 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
9814 to extract items in the expr_list chain.
9815
7b4dfe3d
RH
98162002-01-09 Richard Henderson <rth@redhat.com>
9817
9818 * config/vax/vax.c (vax_rtx_cost): Never abort.
9819
1d969638
RH
9820 * config/vax/vax.h (REAL_ARITHMETIC): Define.
9821
7d5ab30e
JH
98222002-01-09 Jan Hubicka <jh@suse.cz>
9823
9824 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
9825
9503f3d1
RH
98262002-01-09 Richard Henderson <rth@redhat.com>
9827
9828 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
9829 Unify code from various alternatives.
9830
42bd17b7
RH
98312002-01-09 Richard Henderson <rth@redhat.com>
9832
9833 * regrename.c (copy_value): Ignore the copy if the source register
9834 is present in the value chain with a narrower mode.
9835
bdca3c33
HB
98362002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9837
cda94cbb
RH
9838 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
9839 for the c4x target. Also improve layout.
bdca3c33 9840
c73a5e94
RH
98412002-01-09 Richard Henderson <rth@redhat.com>
9842
9843 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
9844 * config/m32r/m32r.md (and ior xor splitters): Swap operands
9845 to match insn patterns.
9846
dd0a18c0
RH
98472002-01-09 Richard Henderson <rth@redhat.com>
9848
9849 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
9850 (copyprop_hardreg_forward_1): Likewise.
9851
1fd9ac1e
JDA
98522002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9853
9854 * pa.md (decrement_and_branch_until_zero): Change predicate for
9855 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
9856
5cb265ec
BM
98572002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9858
9859 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
9860 gets undefined. For Darwin.
9861
fcd8fa8b
HB
98622002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9863
9864 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
9865
bd3ab23a
MH
98662002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9867
9868 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
9869
21e16bd6
RH
98702002-01-08 Richard Henderson <rth@redhat.com>
9871
9872 * regrename.c (copy_value): Ignore overlapping copies.
9873
a5376276
RH
98742002-01-08 Richard Henderson <rth@redhat.com>
9875
9876 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
9877 as needed to avoid shared structure.
9878
18cf8dda
KH
98792002-01-08 Kazu Hirata <kazu@hxi.com>
9880
9881 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
9882 H8/300H and H8/S.
9883
16c484c7
JM
98842002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9885
9886 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
9887 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
9888 documentation of obsolete macros.
9889 * system.h: Poison these macros.
9890 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
9891 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
9892 config/c4x/c4x.h, config/clipper/clipper.h,
9893 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
9894 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
9895 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
9896 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
9897 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
9898 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
9899 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
9900 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
9901 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
9902 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
9903 config/sparc/sparc.h, config/stormy16/stormy16.h,
9904 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
9905 definitions and commented out definitions of obsolete macros.
9906 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
9907 of MAX_INT_TYPE_SIZE.
9908
14b3e8ef
UW
99092002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
9910
9911 * config/s390/s390.c (s390_preferred_reload_class): Never
9912 return ADDR_REGS if it isn't a subset of the given class.
9913 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
9914 FP_REGS, but all superclasses as well.
9915
9916 * config/s390/s390.c (s390_function_profiler): Fix thinko.
9917
9918 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
9919 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
9920 must not be a const_int.
9921
a693284d
RH
99222002-01-08 Richard Henderson <rth@redhat.com>
9923
9924 * Makefile.in (toplev.o): Depend on options.h.
9925 (gcc.o): Depend on specs.h.
9926
b3ca30df
JJ
99272002-01-08 Jakub Jelinek <jakub@redhat.com>
9928
9929 * expr.c (store_expr): Convert VOIDmode constants back to target's
9930 mode.
9931
24dbb440
GP
99322002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9933
9934 * doc/invoke.texi: Markup gcc as @command. Refer to
9935 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
9936 of http://gcc.gnu.org/thanks.html.
9937
234e114c
DJ
99382002-01-08 Dale Johannesen <dalej@apple.com>
9939
9940 * config/rs6000/rs6000.md: Add missing int register
9941 target case to movdf_low.
9942
0d24f4d1
ZW
99432002-01-08 Zack Weinberg <zack@codesourcery.com>
9944
9945 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
9946 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
9947 (cppinit.o): Depend on except.h.
9948 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
9949 s-specs): New rules.
9950
9951 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
9952 Don't create specs.h/options.h/gencheck.h here. Remove
9953 unnecessary variable settings from last argument of AC_OUTPUT.
9954 * config.in, configure: Regenerate.
9955 * intl.c: Hardcode package name as "gcc".
9956
9957 * cppinit.c: Include except.h.
9958 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
9959 appropriate.
9960 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
9961 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
9962 (!)USING_SJLJ_EXCEPTIONS.
9963 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
9964
ed722f66
JM
99652002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9966
9967 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
9968 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
9969 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
9970 documentation of obsolete macros.
9971 * system.h: Poison these macros.
9972 * config/d30v/d30v.h, config/ns32k/encore.h,
9973 config/stormy16/stormy16.h: Remove definitions and commented out
9974 definitions of obsolete macros.
9975
31e5e29a
NP
9976Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
9977
9978 * objc/objc-act.c (handle_class_ref): Mark the declaration of
9979 %sobjc_class_ref_%s as used - to prevent unwanted compiler
9980 warnings.
9981
bc1fa59c
UW
99822002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
9983
9984 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
9985 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
9986 to insn adjusting stack/frame pointer.
0d24f4d1 9987 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
bc1fa59c
UW
9988 accept operands that cause the insn to be non-splittable.
9989
a8086abf
GS
99902002-01-08 Graham Stott <grahams@redhat.com>
9991
9992 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
9993 (C_TYPE_FIELDS_VOLATILE): Likewise.
9994 (C_TYPE_BEING_DEFINED): Likewise.
9995 (C_IS_RESERVED_WORD): Likewise.
9996 (C_TYPE_VARIABLE_SIZE): Likewise.
9997 (C_DECL_VARIABLE_SIZE): Likewise.
9998 (C_MISSING_PROTOTYPE_WARNED): Likewise.
9999 (C_SET_EXP_ORIGINAL_CODE): Likewise.
10000 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
10001 parenthesis.
10002 (C_DECL_ANTICIPATED): Likewise.
10003 (c_build_type_variant): Add parenthesis.
10004
3f595aa1
JM
100052002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
10006
10007 * gcc.c (option_map): Remove --version.
10008 (process_command): Handle -fversion following the GNU Coding
10009 Standards. Partially addresses PR other/704.
10010
5bc5a8f9
GS
100112002-01-08 Graham Stott <grahams@redhat.com>
10012
10013 * combine.c (combine_instructions): Fix typo.
10014
16ec4ebf
GS
100152002-01-08 Graham Stott <grahams@redhat.com>
10016
10017 * debug.h: Use "tree" and "rtx" throughout.
10018
10019 * debug.c: Likewise.
10020
4b69f385
NC
100212002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
10022
10023 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
10024 constant pool, use the pool's version of the symbol instead.
10025
57d1019b
RH
100262002-01-07 Richard Henderson <rth@redhat.com>
10027
10028 * regrename.c (find_oldest_value_reg): Ignore the value chain if
10029 the original register was copied in a mode with a fewer number of
10030 hard registers than the desired mode.
10031 (copyprop_hardreg_forward_1): Likewise.
10032 (debug_value_data): Fix loop test.
10033 * toplev.c (parse_options_and_default_flags): Reenable
10034 -fcprop-registers at -O1.
10035
100362002-01-07 Aldy Hernandez <aldyh@redhat.com>
fa066a23 10037
0d24f4d1
ZW
10038 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
10039 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
fa066a23 10040
0d24f4d1
ZW
10041 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
10042 predicates.
fa066a23 10043
0d24f4d1 10044 * config/rs6000/rs6000.md: Add altivec predicate patterns.
fa066a23 10045
8f949e7e
JDA
100462002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
10047
10048 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
10049 (pa_output_function_prologue): Output local label at the beginning of
10050 the prologue when profiling.
10051 (hppa_profile_hook): Use the local label rather than the function label.
10052 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
10053
c62f2db5
AH
100542002-01-07 Aldy Hernandez <aldyh@redhat.com>
10055
0d24f4d1
ZW
10056 * config/rs6000/rs6000.c (print_operand): Remove extra space.
10057 (altivec_expand_unop_builtin): Fix thinko.
10058 (altivec_expand_binop_builtin): Same.
10059 (altivec_expand_ternop_builtin): Same.
10060 (altivec_expand_builtin): Same.
c62f2db5 10061
b5235ba7
RH
100622002-01-07 Richard Henderson <rth@redhat.com>
10063
10064 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
10065
7d8ac293
JM
100662002-01-07 Jason Merrill <jason@redhat.com>
10067
10068 * unwind-dw2.c (execute_cfa_program): Use < again.
10069
571a03b8
JJ
100702002-01-07 Jakub Jelinek <jakub@redhat.com>
10071
10072 * predict.c (combine_predictions_for_insn): Avoid division by zero.
10073
2e951384
JJ
100742002-01-07 Jakub Jelinek <jakub@redhat.com>
10075
10076 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
10077 Don't allow -1 - x -> ~x simplifications in the first pass.
10078
20e26713
AH
100792002-01-07 Aldy Hernandez <aldyh@redhat.com>
10080
0d24f4d1
ZW
10081 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
10082 arguments.
10083 (altivec_expand_binop_builtin): Same.
10084 (altivec_expand_unop_builtin): Same.
10085 (print_operand): Fix typo.
10086 (bdesc_1arg): Add vupk* variants.
20e26713 10087
0d24f4d1 10088 * rs6000.h (rs6000_builtins): Add vupk* enums.
20e26713 10089
0d24f4d1 10090 * rs6000.md: Add altivec_vupk* variants.
20e26713 10091
4dd57c18
JM
100922002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
10093
10094 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
10095 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
10096 and last update dates.
10097
0341c5d2
JJ
100982002-01-07 Janis Johnson <janis187@us.ibm.com>
10099
10100 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
10101
c7f3e0b0
MM
101022002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
10103
10104 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
10105 * config/avr/avr.h (CPP_SPEC): Likewise.
10106 (LINK_SPEC): Likewise.
10107 (CRT_BINUTILS_SPECS): Likewise.
10108 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
10109 * doc/invoke.texi (AVR Options): Document them.
10110
6ba4d630
JH
10111Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
10112
10113 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
10114 LABEL_NUSES.
10115
6253d571
GS
101162002-01-07 Graham Stott <grahams@redhat.com>
10117
0d24f4d1
ZW
10118 * config/i386/i386.h: Update copyright date.
10119 (HALF_PIC_PTR): Add parenthesis.
10120 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
10121 (CONSTANT_ALIGNMENT): Add parenthesis.
10122 (DATA_ALIGNMENT): Likewise.
10123 (LOCAL_ALIGNMENT): Likewise.
10124 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
10125 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
10126 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
10127 (HARD_REGNO_NREGS): Add paranethesis.
10128 (VALID_SSE_REG_MODE): Whitespace.
10129 (VALID_MMX_REG_MODE): Whitespace.
10130 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
10131 (ix86_hard_regno_mode_ok): Add parenthesis.
10132 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
10133 (RETURN_IN_MEMORY): Whitespace.
10134 (N_REG_CLASSES): Add parenthesis.
10135 (INTEGER_CLASS_P): Add parenthesis and wrap.
10136 (FLOAT_CLASS_P): Likewise.
10137 (SSE_CLASS_P): Likewise.
10138 (MMX_CLASS_P): Likewise.
10139 (MAYBE_INTEGER_CLASS_P): Likewise.
10140 (MAYBE_FLOAT_CLASS_P): Likewise.
10141 (MAYBE_SSE_CLASS_P): Likewise.
10142 (MAYBE_MMX_CLASS_P): Likewise.
10143 (Q_CLASS_P): Likewise.
10144 (GENERAL_REGNO_P): Uppercase macro parameter.
10145 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
10146 (FP_REGNO_P): Likewise.
10147 (ANY_FP_REGNO_P): Uppercase macro parameter.
10148 (SSE_REGNO_P): Likewise.
10149 (SSE_REGNO): Likewise.
10150 (SSE_REG_P): Likewise.
10151 (SSE_FLOAT_MODE_P): Likewise.
10152 (MMX_REGNO_P): Likewise.
10153 (MMX_REG_P):Likewise.
10154 (STACK_REG_P): Likewise.
10155 (NON_STACK_REG_P): Likewise.
10156 (STACK_TOP_P): Likewise.
10157 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
10158 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
10159 (SECONDARY_MEMORY_NEEDED): Likewise.
10160 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
10161 (MD_ASM_CLOBBERS): Whitespace and wrap.
10162 (MUST_PASS_IN_STACK): Whitespace and wrap.
10163 (RETURN_POPS_ARGS): Add parenthesis.
10164 (INIT_CUMULATIVE_ARGS): Likewise.
10165 (FUNCTION_ARG): Likewise.
10166 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
10167 (SETUP_INCOMING_VARARGS): Likewise.
10168 (BUILD_VA_LIST_TYPE): Add parenthesis.
10169 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
10170 parenthsis.
10171 (EXPAND_BUILTIN_VA_ARG): Likewise.
10172 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
10173 (INITIALIZE_TRAMPOLINE): Add parenthesis.
10174 (INITIAL_ELIMINATION_OFFSET): Likewise.
10175 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
10176 (REGNO_OK_FOR_BASE_P): Likewise.
10177 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
10178 (REGNO_OK_FOR_DIREG_P): Likewise.
10179 (REG_OK_FOR_INDEX_P): Whitespace.
10180 (REG_OK_FOR_BASE_P): Whitespace.
10181 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
10182 parenthesis.
10183 (FIND_BASE_TERM): Fix typo.
10184 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
10185 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
10186 (SYMBOLIC_CONST; Whitespace.
10187 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
10188 (ENCODE_SECTION_INFO): Whitespace.
10189 (FINALIZE_PIC): Remove do { ... } while (0).
10190 (PROMOTE_MODE): Wrap in do { ... } while (0).
10191 (CONST_COSTS): Whitespace.
10192 (RTX_COSTS): Add paramethesis, whitespace and wrap.
10193 (REGISTER_MOVE_COST): Add parenthesis.
10194 (MEMORY_MOVE_COST): Likewise.
10195 (EXTRA_CC_MODES): Whitespace.
10196 (SELECT_CC_MODE): Add parenthesis and whitespace.
10197 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
10198 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
10199 (ASM_OUTPUT_LABEL): Add paramethesis.
10200 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
10201 (ASM_OUTPUT_REG_POP): Likewise.
10202 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
10203 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
d9a5f180 10204
07933f72
GS
10205 * config/i386/i386.c: Update copyright.
10206 (CHECK_STACK_LIMIT): Add parenthesis.
10207 (AT_BP): Uppercase macro parameter.
10208 (x86_64_int_parameter_registers): Constify.
10209 (x86_64_int_return_registers): Likewise.
10210 (ix86_compare_op0): Use rtx.
10211 (construct_container): Constify INTREG parameter.
10212 (function_arg): Use rtx.
10213
0b4d32c9
GS
10214 * diagnostic.h: Update copyright date.
10215 (output_buffer_state): Add parenthesis.
10216 (output_buffer_format_args): Likewise.
10217
6253d571
GS
10218 * combine.c (combine_instructions): Replace XEXP (links, 0)
10219 with link.
10220
68f3f6f1
L
102212002-01-06 H.J. Lu <hjl@gnu.org>
10222
10223 * cfgcleanup.c (thread_jump): Fix 2 typos.
10224
102252002-01-06 Aldy Hernandez <aldyh@redhat.com>
480f7f3a 10226
0d24f4d1 10227 * config.gcc: Add support for --enable-altivec.
480f7f3a 10228
13b8c631
CR
102292002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
10230
10231 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
10232
58ad89b1
JJ
102332002-01-06 Jakub Jelinek <jakub@redhat.com>
10234
10235 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
10236 __objc_class_name_*.
10237
e403b4bc
CR
102382002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
10239
10240 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
10241
e41c7831
RH
102422002-01-06 Richard Henderson <rth@redhat.com>
10243
10244 * reorg.c (emit_delay_sequence): Remove death notes, not merely
10245 nop them out. Increment label reference count for REG_LABEL.
10246 (fill_slots_from_thread): Frob label reference count around
10247 delete_related_insns.
10248
3b3b1e32
RH
102492002-01-05 Richard Henderson <rth@redhat.com>
10250
10251 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
10252 jump threading.
10253
c28abdf0
RH
102542002-01-05 Richard Henderson <rth@redhat.com>
10255
10256 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
10257 * integrate.c (output_inline_function): Likewise.
10258 * toplev.c (rest_of_compilation): Do it here instead. Move call
10259 to remove_unnecessary_notes after emitting abstract instance.
10260 Force an emitted nested function to have its parent emited as well.
10261 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
10262 for null.
10263 (rtl_for_decl_location): Do not look at reload data structures
10264 before reload has run.
10265
c4f2c499
KH
102662002-01-05 Kazu Hirata <kazu@hxi.com>
10267
10268 * cse.c: Fix formatting.
10269 * dwarf2asm.c: Likewise.
10270 * dwarf2out.c: Likewise.
10271 * explow.c: Likewise.
10272 * expmed.c: Likewise.
10273 * function.c: Likewise.
10274 * gcov.c: Likewise.
10275 * gencheck.c: Likewise.
10276 * genrecog.c: Likewise.
10277 * ggc-common.c: Likewise.
10278 * ggc-page.c: Likewise.
10279 * global.c: Likewise.
10280
cf0d9408
KH
102812002-01-05 Kazu Hirata <kazu@hxi.com>
10282
10283 * combine.c: Fix formatting.
10284
bedca03a
CR
102852002-01-05 Craig Rodrigues <crodrigu@bbn.com>
10286
10287 PR middle-end/1557
10288 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
10289
0134bf2d
DE
102902002-01-05 David Edelsohn <edelsohn@gnu.org>
10291
10292 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
10293 as 1 for __powerpc64__ as well.
10294
10295 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
10296
10297 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
10298 return it.
10299
9ca88d5a
DB
103002002-01-05 Daniel Berlin <dan@dberlin.org>
10301
10302 * lcm.c: Revert change, due to performance regression it causes on
10303 SPEC because it's slightly more conservative (sigh, I hate
10304 edge-based LCM).
0d24f4d1 10305
1c570418
JH
10306Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
10307
10308 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
10309
d83bb9f7
NB
103102002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
10311
10312 * doc/cppinternals.texi: Update.
10313
3e0f61ac
HPN
103142002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
10315
10316 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
10317 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
10318 negatives.
10319 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
10320 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
10321 kludge for pre-october-14th mmix versions to handle new-found bug
10322 with PUSHJ/PUSHGO and the register stack.
10323 * config/mmix/mmix.h (struct machine_function): Rename member
10324 has_call_value_without_parameters to has_call_without_parameters.
10325 All referers changed.
10326 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
10327 TARGET_MASK_BRANCH_PREDICT): New macros.
10328 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
10329 -mno-reg-stack-fill-bug-workaround.
10330 * config/mmix/mmix.md ("call"): Set struct machine member
10331 has_call_without_parameters.
10332
4deaa2f8
JH
10333Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
10334
10335 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
10336
9f16e871
JH
10337Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
10338
10339 * cfgcleanup.c: Include tm_p.h
10340 (mark_effect): Fix handling of hard register; fix handling of SET
10341
96eb1157
KH
103422002-01-04 Kazu Hirata <kazu@hxi.com>
10343
10344 * config/h8300/h8300.md (anonymous patterns): Check that
10345 operands are registers before using REGNO on them.
10346
48180d68
RM
103472002-01-03 Roland McGrath <roland@frob.com>
10348
10349 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
10350
b0832fe1
JJ
103512002-01-04 Jakub Jelinek <jakub@redhat.com>
10352
10353 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
10354 * c-common.h (genrtl_expr_stmt_value): Likewise.
10355 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
10356 (expand_expr_stmt_value): Add maybe_last argument.
10357 Don't warn about statement with no effect if it is the last statement
10358 in expression statement.
10359 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
10360 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
10361 expand_expr_stmt_value.
10362 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
10363 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
10364 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
10365 as maybe_last to expand_expr_stmt_value.
10366
c1e14513
JL
10367Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
10368
0d24f4d1
ZW
10369 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
10370 be passed in, do not build it.
10371 (c_begin_if_stmt): New function.
10372 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
10373 * c-common.h (c_expand_start_cond): Update prototype.
10374 (c_begin_if_stmt): Prototype new function.
10375 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
10376 * c-parse.in (if_prefix): Use c_begin_if_stmt,
10377 c_begin_while_stmt and c_finish_while_stmt_cond.
c1e14513 10378
b6ec437a
WC
103792002-01-04 William Cohen <wcohen@redhat.com>
10380
10381 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
10382 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
10383 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
10384 * config/pa/som.h (ASM_FILE_START): Likewise.
10385
ead39bdf 103862002-01-04 Daniel Berlin <dan@cgsoftware.com>
517b711f
DB
10387
10388 * lcm.c: Include df.h.
10389 Add available_transfer_function prototype.
10390 (compute_available): Rework to use iterative dataflow framework.
10391 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
10392 with bb_info in df.h
10393 (available_transfer_function): New function.
10394
10395 * Makefile.in (lcm.o): add df.h to dependencies.
10396
551cc6fd
RH
103972002-01-04 Richard Henderson <rth@redhat.com>
10398
10399 * config/alpha/alpha.c (some_operand): Accept HIGH.
10400 (input_operand): Likewise; accept simple references to globals.
10401 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
10402 (alpha_const_double_ok_for_letter_p): Likewise.
10403 (alpha_extra_constraint): Likewise.
10404 (alpha_preferred_reload_class): Likewise. Do not force
10405 symbolic constants to memory.
10406 (alpha_legitimate_address_p): Accept simple references
10407 to small_symbolic_operand.
10408 (alpha_legitimize_address): New arg scratch. Be prepared to be
10409 called when no_new_pseudos. Emit simple symbolic references.
10410 Split integers into low, high, and rest.
10411 (alpha_expand_mov): Use alpha_legitimize_address.
10412 (some_small_symbolic_mem_operand): New.
10413 (split_small_symbolic_mem_operand): New.
10414 * config/alpha/alpha-protos.h: Update.
10415 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
10416 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
10417 (EXTRA_CONSTRAINT): Likewise.
10418 (PREFERRED_RELOAD_CLASS): Likewise.
10419 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
10420 (PREDICATE_CODES): Update.
10421 * config/alpha/alpha.md: New post-reload splitters to convert
10422 simplfied symbolic operands to the form that references $29.
10423 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
10424 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
10425
1eaea054
RH
104262002-01-03 Richard Henderson <rth@redhat.com>
10427
10428 * local-alloc.c (function_invariant_p): Update commentary.
10429
c4cc12b7
L
104302002-01-04 H.J. Lu <hjl@gnu.org>
10431
10432 * toplev.c (rest_of_compilation): Fix a typo when calling
10433 cleanup_cfg.
10434
173bf5be
KH
104352002-01-03 Kazu Hirata <kazu@hxi.com>
10436
10437 * c-common.c: Fix formatting.
10438 * diagnostic.c: Likewise.
10439 * doloop.c: Likewise.
10440 * dwarf2out.c: Likewise.
10441
187462ac
KH
104422002-01-03 Kazu Hirata <kazu@hxi.com>
10443
10444 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
10445 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
10446
5d8ebbd8
NB
104472002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
10448
10449 * cpperror.c: Update comments and copyright.
10450 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
10451 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
10452
518c1311
JDA
104532002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
10454
10455 * collect2.c (main): Use strcmp when testing for "-shared".
10456
d15a58c0
NB
104572002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
10458
10459 * cppmacro.c: Don't include intl.h. Update comments.
10460 (new_number_token): Allocate enough buffer for 64-bit unsigned
10461 integers; update prototype.
10462 * cppmain.c: Update comments.
10463
70f4f91c
WC
104642002-01-03 William Cohen <wcohen@redhat.com>
10465
10466 * function.h (struct function): Add profile.
10467 (current_function_profile): New.
10468 doc/extend.texi: Update documentation.
10469 * final.c (final_start_function): Use current_function_profile
10470 instead of profile_flag.
10471 (profile_after_prologue): Likewise.
10472 * function.c (expand_function_start): Likewise.
10473 (expand_function_start): Likewise.
c4cc12b7 10474 * config/alpha/alpha.c (direct_call_operand):
70f4f91c
WC
10475 (alpha_does_function_need_gp): Likewise.
10476 (alpha_expand_prologue): Likewise.
10477 * config/arm/arm.c (arm_expand_prologue): Likewise.
10478 thumb_expand_prologue: Likewise.
10479 * config/d30v/d30v.c (d30v_stack_info): Likewise.
10480 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
10481 (fr30_expand_prologue): Likewise.
10482 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
10483 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
10484 * config/i386/i386.h (FINALIZE_PIC): Likewise.
10485 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
10486 * config/i960/i960.c (i960_output_function_prologue): Likewise.
10487 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
10488 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
10489 (m32r_expand_prologue): Likewise.
10490 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
10491 (m88k_expand_prologue): Likewise.
10492 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
10493 * config/mips/mips.c (compute_frame_size): Likewise.
10494 (mips_expand_prologue): Likewise.
10495 (mips_can_use_return_insn): Likewise.
10496 * config/pa/elf.h (ASM_FILE_START): Likewise.
10497 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
10498 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
10499 * config/pa/som.h (ASM_FILE_START): Likewise.
10500 * config/romp/romp.c (romp_using_r14): Likewise.
10501 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
10502 (rs6000_stack_info): Likewise.
10503 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
2fd17409 10504 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
70f4f91c
WC
10505 * config/v850/v850.c (compute_register_save_size): Likewise.
10506
cb1ac742
JJ
105072002-01-03 Jakub Jelinek <jakub@redhat.com>
10508
10509 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
10510 gen_lowpart_common fails, use gen_lowpart_SUBREG.
10511
61d951df 105122002-01-03 Turly O'Connor <turly@apple.com>
cb1ac742 10513
61d951df
TC
10514 * darwin.c (machopic_output_possible_stub_label): Don't generate
10515 stub routines for pseudo-stubs which we've just defined.
10516
505ddab6
KH
105172002-01-03 Kazu Hirata <kazu@hxi.com>
10518
10519 * builtins.c: Fix formatting.
10520 * c-typeck.c: Likewise.
10521 * combine.c: Likewise.
10522 * expr.c: Likewise.
10523 * loop.c: Likewise.
10524
b7e30d8a
AS
105252002-01-03 Andreas Schwab <schwab@suse.de>
10526
10527 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
10528 and return true if _cpp_push_next_buffer pushed a new include
10529 file.
10530 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
10531 _cpp_pop_file_buffer did not push a new file.
10532 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
10533
ff81832f
EC
105342002-01-02 Eric Christopher <echristo@redhat.com>
10535
10536 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
10537 FIND_REG_INC_NOTE call. Update copyright.
10538 * loop.c (canonicalize_condition): Ditto.
10539 * reorg.c (delete_scheduled_jump): Ditto.
10540
8e42ace1
KH
105412002-01-03 Kazu Hirata <kazu@hxi.com>
10542
10543 * gcse.c: Fix formatting.
10544
fb2bf631
GS
105452002-01-03 Graham Stott <grahams@redhat.com>
10546
10547 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
10548 forward defs for struct tags rtx_def, union_tree, rtvec_def
6253d571 10549 also output corresponding typedefs for rtx, tree, and rtvec.
fb2bf631
GS
10550
10551 * system.h: Move forward defs for struct tags rtx_def, union_tree,
10552 rtvec_def along with corresponding typedefs for rtx, tree, and
6253d571 10553 rtvec to config.h, hconfig.h, tconfig.h.
fb2bf631
GS
10554
105552002-01-03 Graham Stott <grahams@redhat.com>
b9daac31
GS
10556
10557 * tree.h: Update copyright date.
10558 (IS_EXPR_CODE_CLASS): Add parenthesis.
10559 (TREE_SET_CODE): Add whitespace.
10560 (TREE_CHECK): Add parenthesis.
10561 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
10562 (CST_OR_CONSTRUCTOR_CHECK):
10563 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
10564 (TREE_SYMBOL_REFERENCED): Whitespace.
10565 (INT_CST_LT): Likewise.
10566 (INT_CST_LT_UNSIGNED): Likewise.
10567 (tree_real_cst): Unwrap comment.
10568 (tree_string): Likewise.
10569 (tree_complex): Likewise.
10570 (IDENTIFIER_POINTER): correct cast.
10571 (SAVE_EXPR_CONTEXT): Whitespace.
10572 (EXPR_WFL_FILENAME_NODE): Likewise.
10573 (EXPR_WFL_FILENAME): Remove parenthesis.
10574 (DECL_ORIGIN): Add parenthesis.
10575 (DECL_FROM_INLINE): Use NULL_TREE.
10576 (build_int_2): Whitespace.
10577 (build_type_variant): Add parenthesis.
10578
10579 * gcc/jcf-parse.c: Update copyright date.
10580 (yyparse): Constify resource_filename.
10581
f52eda29
GS
105822002-01-03 Graham Stott <grahams@redhat.com>
10583
10584 * rtl.h: Update copyright date.
10585 (RTL_CHECK1): Wrap long line.
10586 (RTL_CHECK2): Likewise.
10587 (RTL_CHECKC1): Wrap long line and whitespace.
10588 (RTL_CHECKC2): Likewise.
10589 (XWINT): Whitespace.
10590 (XINT): Likewise.
10591 (XSTR): Likewise.
10592 (XEXP): Likewise.
10593 (XVEC): Likewise.
10594 (XMODE): Likewise.
10595 (XBITMAP): Likewise.
10596 (XTREE): Likewise.
10597 (XBBDEF): Likewise.
10598 (XTMPL): Likewise.
10599 (X0WINT): Likewise.
10600 (X0INT):Likewise.
10601 (X0UINT): Likewise.
10602 (X0STR): Likewise.
10603 (X0EXP): Likewise.
10604 (X0VEC): Likewise.
10605 (X0MODE): Likewise.
10606 (X0BITMAP): Likewise.
10607 (X0TREE): Likewise.
10608 (X0BBDEF): Likewise.
10609 (X0ADVFLAGS): Likewise.
10610 (X0CSELIB): Likewise.
10611 (X0MEMATTR): Likewise.
10612 (XCWINT): Likewise.
10613 (XCINT): Likewise.
10614 (XCUINT): Likewise.
10615 (XCSTR): Likewise.
10616 (XCEXP): Likewise.
10617 (XCVEC): Likewise.
10618 (XCMODE): Likewise.
10619 (XCBITMAP): Likewise.
10620 (XCTREE): Likewise.
10621 (XCBBDEF): Likewise.
10622 (XCADVFLAGS): Likewise.
10623 (XCCSELIB): Likewise.
10624 (XC2EXP): Likewise.
10625 (INSN_UID): Likewise.
10626 (PREV_INSN): Likewise.
10627 (PATTERN): Likewise.
10628 (INSN_CODE): Likewise.
10629 (PUT_REG_NOTE_KIND): Likewise.
10630 (CODE_LABEL_NUMBER): Likewise.
10631 (NOTE_SOURCE_FILE): Likewise.
10632 (NOTE_BLOCK): Likewise.
10633 (NOTE_EH_HANDLER): Likewise.
10634 (NOTE_RANGE_INFO): Likewise.
10635 (NOTE_LIVE_INFO): Likewise.
10636 (NOTE_BASIC_BLOCK): Likewise.
10637 (NOTE_EXPECTED_VALUE): Likewise.
10638 (NOTE_LINE_NUMBER): Likewise.
10639 (LABEL_NAME): Likewise.
10640 (LABEL_NUSES): Likewise.
10641 (LABEL_ALTERNATE_NAME): Likewise.
10642 (ADDRESSOF_DECL): Likewise.
10643 (JUMP_LABEL): Likewise.
10644 (LABEL_NEXTREF): Likewise.
10645 (REGNO): Likewise.
10646 (ORIGINAL_REGNO: Likewise.
10647 (HARD_REGISTER_NUM_P): Add parenthesis.
10648 (SUBREG_REG): Whitespace.
10649 (SUBREG_BYTE): Likewise.
10650 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
10651 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
10652 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
10653 (ASM_OPERANDS_INPUT_VEC): Likewise.
10654 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
10655 (ASM_OPERANDS_INPUT): Likewise.
10656 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
10657 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
10658 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
10659 (ASM_OPERANDS_INPUT_MODE): Likewise.
10660 (ASM_OPERANDS_SOURCE_FILE): Likewise.
10661 (ASM_OPERANDS_SOURCE_LINE): Likewise.
10662 (MEM_SET_IN_STRUCT_P): Minor reformat.
10663 (TRAP_CONDITION): Whitespace.
10664 (TRAP_CODE): Likewise.
10665 (COND_EXEC_TEST): Likewise.
10666 (COND_EXEC_CODE): Likewise.
10667 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
10668 (PHI_NODE_P): Add parenthesis.
10669 (plus_constant): Whitespace and add parenthesis.
10670
e03f5d43
KH
106712002-01-03 Kazu Hirata <kazu@hxi.com>
10672
10673 * config/avr/avr.c: Fix comment typos.
10674 * config/c4x/c4x.md: Likewise.
10675 * config/dsp16xx/dsp16xx.h: Likewise.
10676 * config/dsp16xx/dsp16xx.md: Likewise.
10677 * config/i386/i386.md: Likewise.
10678 * config/ia64/ia64.c: Likewise.
10679 * config/m32r/m32r.h: Likewise.
10680 * config/m68hc11/m68hc11.md: Likewise.
10681 * config/mmix/mmix.c: Likewise.
10682 * config/mn10200/mn10200.c: Likewise.
10683 * config/romp/romp.c: Likewise.
10684 * config/sh/sh.c: Likewise.
10685 * config/stormy16/stormy16.c: Likewise.
10686 * config/stormy16/stormy16.h: Likewise.
10687 * config/stormy16/stormy16.md: Likewise.
10688
97e300e9
GS
106892002-01-03 Graham Stott <grahams@redhat.com>
10690
10691 * loop.h: Update copyright date.
0d24f4d1
ZW
10692 (LOOP_MOVABLES): Fix typo.
10693 (LOOP_REGS): Likewise.
10694 (LOOP_IVS): Likewise.
ff81832f 10695
745b26b3
GS
106962002-01-03 Graham Stott <grahams@redhat.com>
10697
10698 * cppinit.c: Update copyright date.
10699 Don't include output.h
10700 * Makefile.in: Update copyright date.
10701 Update dependency.
10702
0a379b7a
CR
107032002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
10704
10705 PR c/5226
10706 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
10707 (-pthread) Add to RS/6000 options.
10708
a8154559
KH
107092002-01-02 Kazu Hirata <kazu@hxi.com>
10710
10711 * except.c: Fix comment typos.
10712 * loop.c: Likewise.
10713 * varasm.c: Likewise.
10714 * doc/tm.texi: Fix a typo.
10715
e6ecc89b
JJ
107162002-01-02 Jakub Jelinek <jakub@redhat.com>
10717
10718 * c-typeck.c (output_init_element): Allow initializing static storage
10719 duration objects with compound literals.
10720
d1094b40
RH
107212002-01-02 Richard Henderson <rth@redhat.com>
10722
10723 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
10724 after abusing it.
10725
0c5d8c82
KG
107262002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10727
5e65297b
KG
10728 * gcc.c (default_compilers): Const-ify.
10729 * mips-tdump.c (stab_names): Likewise.
10730 * mips-tfile.c (map_coff_types, map_coff_storage,
10731 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
10732 pseudo_ops_t, pseudo_ops): Likewise.
10733 * protoize.c (default_include): Likewise
10734
0c5d8c82
KG
10735 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
10736 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
10737 Add array size in declaration.
10738 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
10739 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
10740 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
10741 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
10742 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
10743 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
10744 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
10745 emtens, make_nan): Const-ify.
10746 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
10747 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
10748
817e13c4
JM
107492002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
10750
10751 * config.gcc (ia64-*-*): Set extra_headers.
10752 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
10753 * config/alpha/t-osf: Remove.
10754 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
10755
98095e2b
DE
107562002-01-02 David Edelsohn <edelsohn@gnu.org>
10757
10758 * config/rs6000/t-aix43: Revert previous change.
10759
a4200657
JM
107602002-01-02 Jason Merrill <jason@redhat.com>
10761
10762 * c-decl.c (c_expand_body): Call outlining_inline_function when
10763 emitting an inline function out of line.
10764
54ba1f0d
RH
107652002-01-02 Richard Henderson <rth@redhat.com>
10766
10767 * dwarf2out.c (limbo_die_node): Add created_for member.
10768 (new_die): New argument created_for. Update all callers.
10769 (mark_limbo_die_list): New.
10770 (dwarf2out_init): Register limbo_die_list as a root.
10771 (dwarf2out_finish): Force insert limbo dies into their function
10772 context.
10773
323728aa
NS
107742002-01-02 Nathan Sidwell <nathan@codesourcery.com>
10775
10776 PR c++/5089
10777 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
10778
aefc5826
KH
107792002-01-02 Kazu Hirata <kazu@hxi.com>
10780
10781 * config/h8300/fixunssfsi.c: Update copyright.
10782 Fix comment typos.
10783 Fix formatting.
10784 * config/h8300/h8300.c: Update copyright.
10785 Eliminate warnings.
10786
b1c9bc51
KH
107872002-01-02 Kazu Hirata <kazu@hxi.com>
10788
10789 * config/romp/romp.c: Fix comment formatting.
10790 * config/romp/romp.h: Likewise.
10791 * config/romp/romp.md: Likewise.
10792 * config/s390/s390.c: Likewise.
10793 * config/stormy16/stormy16.c: Likewise.
10794 * config/stormy16/stormy16.h: Likewise.
10795
1574ef13
AO
107962002-01-02 Alexandre Oliva <aoliva@redhat.com>
10797
10798 * c-common.h (genrtl_expr_stmt_value): Declare.
10799 * c-semantics.c (genrtl_goto_stmt): Redirect to...
10800 (genrtl_goto_stmt_value): ... this new function. Pass new
10801 argument down to expand_expr_stmt_value, taking
10802 TREE_ADDRESSABLE into account.
10803 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
10804 STMT_EXPR as addressable, i.e., one whose result we want.
10805 * expr.c (expand_expr): Don't save expression statement value
10806 of labeled_blocks or loop_exprs.
10807 * stmt.c (expand_expr_stmt): Redirect to...
10808 (expand_expr_stmt_value): ... this new function. Use new
10809 argument to tell whether to save expression value.
10810 (expand_end_stmt_expr): Reset last_expr_type and
10811 last_expr_value if we don't have either.
10812 * tree-inline.c (declare_return_variable): Mark its use
10813 statement as addressable.
10814 * tree.h: Document new use of TREE_ADDRESSABLE.
10815 (expand_expr_stmt_value): Declare.
10816
252b88f7
TR
108172002-01-01 Tom Rix <trix@redhat.com>
10818
10819 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
10820 rs6000_emit_allocate_stack.
10821
29f7a208
JM
108222002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
10823
10824 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
10825 ${srcdir}/ginclude/ to every entry in extra_headers.
10826 * configure: Regenerate.
10827 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
10828 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
10829 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
10830 * ginclude/proto.h: Rename to config/convex/proto.h.
10831
2cc2d4bb
RK
10832Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10833
10834 * attribs.c (handle_vector_size_attribute): Use host_integerp
10835 and tree_int_cst; remove warnings.
10836 * caller-save.c (insert_restore): Add cast to get rid of warning.
10837 (insert_save): Likewise.
10838 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
10839 * regmove.c (find_matches): Add temporary var to kill a warning.
10840
f01c9bcd
DR
108412002-01-01 Douglas B Rupp <rupp@gnat.com>
10842
16b61764
DR
10843 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
10844 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
10845 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
10846 (vms-dwarf2eh.o): Add Makefile rule.
10847 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
10848 * config/alpha/vms-dwarf2eh.asm: New file.
10849
f01c9bcd
DR
10850 * gcc.c (delete_if_ordinary): Delete all versions.
10851
91312b81
HPN
108522002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
10853
10854 * config/mmix/mmix.md: Update FIXME to not mention
10855 define_constants.
10856 (MMIX_rJ_REGNUM): New define_constants constant.
10857 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
10858 "*movdicc_real"): Adjust contraints formatting.
10859 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
10860 for branch prediction.
10861 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
10862 output template.
10863 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
10864 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
10865 number. Delete related FIXMEs.
10866 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
10867 from number to MMIX_rJ_REGNUM.
10868 (TARGET_MASK_BRANCH_PREDICT): New.
10869 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
10870 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
10871 value. Add -mbranch-predict and -mno-branch-predict.
10872 (TARGET_VERSION): Drop date.
10873 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
10874 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
10875 for finding out global symbols.
10876 (mmix_asm_output_labelref): Revert condition for global symbol.
10877 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
10878 (mmix_print_operand_punct_valid_p): A '+' is valid.
10879
619acae7 10880See ChangeLog.6 for earlier changes.
This page took 1.360851 seconds and 5 git commands to generate.