1 2002-04-17 Ulrich Weigand <uweigand@de.ibm.com>
4 * config/s390/s390.c (s390_expand_plus_operand): Use find_replacement
5 to make sure previous reloads are taken into account. Generate
6 better code if one operand is an in-range immediate constant.
8 2002-04-16 Andrew Haley <aph@cambridge.redhat.com>
10 * doc/install.texi (Building): libgcj requires GNU make.
12 2002-04-17 Jakub Jelinek <jakub@redhat.com>
15 * config/sparc/sparc.md (movtf reg<-reg split): Allow spliting
16 even if hard quad and register is not floating.
17 (movtf reg<-mem split): Disallow splitting if hard quad and
19 (movtf mem<-reg split): Likewise.
20 * config/sparc/sparc.c (fp_register_operand): New predicate.
21 * config/sparc/sparc.h (PREDICATE_CODES): Add fp_register_operand.
23 2002-04-17 Zack Weinberg <zack@codesourcery.com>
25 * Makefile.in (PROTO_OBJS): Add cppdefault.o.
26 (protoize.o): Take $(PREPROCESSOR_DEFINES) off command line.
27 (unprotoize.o): Ditto. Build from protoize.c. Define
28 UNPROTOIZE on command line.
29 * protoize.c: Include cppdefault.h. Delete include_defaults.
30 (in_system_include_dir): Use cpp_include_defaults (defined in
32 * unprotoize.c: Delete file.
34 2002-04-17 Aldy Hernandez <aldyh@redhat.com>
36 * config/rs6000/altivec.h (vec_ld): Add array variants.
40 2002-04-17 Alan Matsuoka <alanm@redhat.com>
41 Aldy Hernandez <aldyh@redhat.com>
43 * config/rs6000/altivec.h: Define __ALTIVEC__.
50 Add parentheses to all macro arguments.
52 2002-04-16 Richard Henderson <rth@redhat.com>
55 * except.c (remove_eh_handler): Insert inner regions at beginning
56 of sibling chain. Refactor expressions.
58 2002-04-16 Richard Henderson <rth@redhat.com>
60 * config/sparc/sol2-bi.h (AS_SPARC64_FLAG): New.
61 * config/sparc/sol2-gas-bi.h: New file.
62 * config.gcc (sparc*-solaris): Add it as needed.
63 * configure.in (AS_SPARC64_FLAG): Remove check.
64 * config.in, configure: Regenerate.
66 * config/sparc/sol2-bi.h (CC1_SPEC): Error for -m32 and -m64.
68 2002-04-16 Richard Henderson <rth@redhat.com>
70 * config/mips/mips.c (override_options): Don't override N32 for
74 * config/mips/mips.md (can_delay): Split out of existing define_delays.
75 (HILO_delay): Set can_delay false.
77 2002-04-16 Dale Johannesen <dalej@apple.com>
79 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Compute
80 instruction addresses.
81 (rs6000_output_function_epilogue): Likewise.
83 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
85 * c-parse.in (poplevel, compstmt_start,
86 compstmt_primary_start): Add ending ';', in accordance
89 2002-04-16 Richard Henderson <rth@redhat.com>
91 * config.gcc (sparcv9-solaris): Configure for 64-bit default.
92 Adjust tm_file order to get TARGET_DEFAULT set properly.
93 (sparc-solaris): Configure 2.[78] for 64-bit multilibs.
94 * doc/install.texi (sparc-solaris): Update.
96 2002-04-16 Dale Johannesen <dalej@apple.com>
98 * config/rs6000/rs6000.c (rs6000_emit_cmove): Fail if modes of
99 comparison operands do not match each other or if modes of
100 conditions do not match result.
102 2002-04-16 Hartmut Penner <hpenner@de.ibm.com>
105 * config/s390/s390.md (mulsidi3): Set both subregs of the
108 2002-04-16 Aldy Hernandez <aldyh@redhat.com>
110 * config/rs6000/altivec.h (vec_addc): Type check.
112 2002-04-16 Jakub Jelinek <jakub@redhat.com>
115 * expr.c (store_expr): Don't copy if DECL_RTL (exp) == target.
117 * expr.c (safe_from_p): Cleanup: use DECL_RTL_IF_SET.
119 2002-04-15 Richard Henderson <rth@redhat.com>
121 * config/mips/abi64.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Set
122 call_really_used_regs too.
124 2002-04-15 Richard Henderson <rth@redhat.com>
126 * config/alpha/gnu.h (CPP_PREDEFINES): Underscores for gnu_hurd.
128 2002-04-15 David S. Miller <davem@redhat.com>
130 * rtlanal.c (note_stores): Don't present PARALLEL SET_DESTs
133 2002-04-16 Jakub Jelinek <jakub@redhat.com>
136 * config/rs6000/rs6000.c (easy_vector_constant): Return 1 if the
137 CONST_VECTOR is { 0, ... 0 }.
139 2002-04-15 Loren J. Rittle <ljrittle@acm.org>
141 * doc/install.texi (Installing GCC: Configuration): Clarify
142 the only supported ways to configure gcc.
144 2002-04-15 Roland McGrath <roland@frob.com>
146 * config.gcc (alpha*-*-gnu*): New target configuration.
147 * config/alpha/gnu.h: New file for it.
148 * config/gnu.h (TARGET_MEM_FUNCTIONS): #undef before #define.
150 2002-04-16 Mark Mitchell <mark@codesourcery.com>
152 * c-common.h (STMT_EXPR_NO_SCOPE): New macro.
153 * c-common.c (c_expand_expr): Respect STMT_EXPR_NO_SCOPE.
154 * tree.h (expand_start_stmt_expr): Update prototype.
155 * stmt.c (expand_start_stmt_expr): Add has_scope parameter.
156 * tree-inline.c (expand_call_inline): Set STMT_EXPR_NO_SCOPE
157 on the STMT_EXPR created for the inline function.
159 2002-04-15 Richard Henderson <rth@redhat.com>
161 * config/alpha/linux.h, config/arm/linux-elf.h, config/i370/linux.h,
162 config/i386/linux-aout.h, config/i386/linux-oldld.h,
163 config/i386/linux.h, config/i386/linux64.h, config/ia64/linux.h,
164 config/m68k/linux-aout.h, config/m68k/linux.h, config/mips/linux.h,
165 config/pa/pa-linux.h, config/pj/linux.h, config/s390/linux.h,
166 config/sh/linux.h, config/sparc/linux-aout.h, config/sparc/linux.h,
167 config/sparc/linux64.h, config/xtensa/linux.h (CPP_PREDEFINES):
168 Define __gnu_linux__, not gnu_linux.
169 * config/rs6000/sysv4.h (CPP_OS_GNU_SPEC): Likewise for gnu_hurd.
171 2002-04-15 Mark Mitchell <mark@codesourcery.com>
173 Remove Chill front end.
174 * gcc.c (default_compilers): Remove Chill entries.
175 * ch: Remove directory.
176 * doc/frontends.texi: Remove information about Chill.
177 * doc/sourcebuild.texi: Likewise.
178 * doc/standards.texi: Likewise.
180 2002-04-15 Douglas B Rupp <rupp@gnat.com>
182 * config/alpha/vms.h (INCLUDE_DEFAULTS): Add /gnu/lib/gcc-lib/include.
183 (LONGLONG_STANDALONE): Define.
185 2002-04-15 David S. Miller <davem@redhat.com>
187 * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
188 Call emit_library_call with LCT_NORMAL.
189 (sparc_initialize_trampoline): Use LCT_foo instead of
190 magic constant in emit_library_call invocations.
191 (sparc64_initialize_trampoline): Likewise.
192 (sparc_profile_hook): Likewise.
193 * config/sparc/sparc.md: Likewise.
195 * config/sparc/sparc.c (sparc_extra_constraint_check):
196 Fix type of argument 'c'.
197 * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
200 2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
202 * diagnostic.h (output_buffer_state): Redefine.
203 (output_format_decoder): New macro.
204 (output_prefixing_rule): Likewise.
205 (output_line_cutoff): Likewise.
206 (diagnostic_format_decoder): Adjust.
207 (diagnostic_prefixing_rule): Likewise.
208 (diagnostic_line_cutoff): Likewise.
209 (diagnostic_state): Likewise.
210 (diagnostic_kind_count): Likewise.
211 (diagnostic_buffer): Now a macro.
213 * diagnostic.c (diagnostic_buffer): Remove definition.
214 (output_is_line_wrapping): Adjust.
215 (set_real_maximum_length): Likewise.
216 (output_set_maximum_length): Likewise.
217 (init_output_buffer): Likewise.
218 (lhd_print_error_function): Likewise.
219 (output_do_verbatim): Likewise.
221 2002-04-14 Neil Booth <neil@daikokuya.demon.co.uk>
223 * cpperror.c (print_location): Don't print include chain
225 (cpp_begin_message): Update to use DL_ macros.
226 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
227 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
228 cpp_notice, cpp_notice_from_errno): Remove.
229 (cpp_error, cpp_error_with_line): Update to take a diagnostic
232 * cppexp.c (CPP_ICE): Remove.
233 (SYNTAX_ERROR, SYNTAX_ERROR2, parse_number, parse_defined,
234 lex, integer_overflow, _cpp_parse_expr): Update.
235 * cppfiles.c (read_include_file, find_include_file,
236 handle_missing_header, _cpp_read_file, remap_filename): Update.
237 * cpphash.h (enum error_type): Remove.
238 (_cpp_begin_message): Update.
239 * cppinit.c (append_include_chain, remove_dup_dirs, output_deps,
240 cpp_handle_option, cpp_post_options): Update.
241 * cpplex.c (trigraph_p, skip_escaped_newlines, skip_block_comment,
242 skip_whitespace, parse_identifier, parse_slow, parse_string,
243 _cpp_lex_direct, cpp_spell_token, maybe_read_ucs, cpp_parse_escape,
244 cpp_interpret_charconst): Update.
245 * cpplib.c (check_eol, directive_diagnostics, _cpp_handle_directive,
246 lex_macro_node, do_undef, glue_header_name, parse_include,
247 do_include_common, read_flag, do_line, do_linemarker, do_ident,
248 cpp_register_pragma, do_pragma_once, do_pragma_system_header,
249 do_pragma_poison, do_pragma_dependency, _cpp_do__Pragma, do_else,
250 do_elif, do_endif, parse_answer, parse_assertion, do_assert,
251 _cpp_pop_buffer, do_diagnostic): Update.
252 * cpplib.h (DL_WARNING, DL_WARNING_SYSHDR, DL_PEDWARN, DL_ERROR,
253 DL_FATAL, DL_ICE, DL_EXTRACT, DL_WARNING_P): New.
254 (cpp_ice, cpp_fatal, cpp_error_from_errno, cpp_warning,
255 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
256 cpp_notice, cpp_notice_from_errno): Remove.
257 (cpp_error, cpp_error_with_line): Update to take a diagnostic
260 * cppmacro.c (builtin_macro, stringify_arg, paste_all_tokens,
261 collect_args, enter_macro_context, save_parameter, parse_params,
262 _cpp_create_definition, check_trad_stringification,
263 cpp_macro_definition): Update.
264 * cppmain.c (cpp_preprocess_file): Update.
265 * fix-header.c (read_scan_file): Update.
267 2002-04-14 Andreas Schwab <schwab@suse.de>
269 * config/ia64/linux.h (CPP_PREDEFINES): Fix missing backslash.
271 2002-04-14 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
273 * config/arm/linux-elf.h (CPLUSPLUS_CPP_SPEC): Define.
275 2002-04-13 Mark Mitchell <mark@codesourcery.com>
277 * config/i386/gnu.h (CPP_PREDEFINES): Define __gnu_hurd__,
280 2002-04-13 Hans-Peter Nilsson <hp@axis.com>
282 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC): Fix typo.
284 2002-04-13 Joel Sherrill <joel@OARcorp.com>
286 * config/sparc/t-elf: Enable v8 multilibs. Impacts
287 sparc-elf and sparc-rtems targets.
289 2002-04-13 Mark Mitchell <mark@codesourcery.com>
291 * alpha/linux.h: Define __gnu_linux__ wherever __linux__ is
292 defined, and __gnu_hurd__ wherever __GNU__ is defined.
293 * arm/linux-elf.h: Likewise.
294 * cris/aout.h: Likewise.
295 * cris/linux.h: Likewise.
296 * i370/linux.h: Likewise.
297 * i386/gnu.h: Likewise.
298 * i386/linux-aout.h: Likewise.
299 * i386/linux-oldld.h: Likewise.
300 * i386/linux.h: Likewise.
301 * i386/linux64.h: Likewise.
302 * ia64/linux.h: Likewise.
303 * m68k/linux-aout.h: Likewise.
304 * m68k/linux.h: Likewise.
305 * mips/linux.h: Likewise.
306 * pa/pa-linux.h: Likewise.
307 * pj/linux.h: Likewise.
308 * rs6000/sysv4.h: Likewise.
309 * s390/linux.h: Likewise.
310 * sh/linux.h: Likewise.
311 * sparc/linux-aout.h: Likewise.
312 * sparc/linux.h: Likewise.
313 * sparc/linux64.h: Likewise.
314 * xtensa/linux.h: Likewise.
316 2002-04-13 Richard Sandiford <rsandifo@redhat.com>
318 * stmt.c (check_unique_operand_names): Expect operand names to
319 be strings rather than identifiers. Use simple_cst_equal to
321 (resolve_operand_name_1): Make same identifier to string change here.
322 * c-parse.in (asm_operand): Convert a named operand into a string.
323 * cp/parse.y (asm_operand): Likewise.
325 2002-04-13 Andreas Schwab <schwab@suse.de>
327 * config/ia64/ia64.h (CPP_SPEC): Include %(cpp_cpu).
329 2002-04-12 Mark Mitchell <mark@codesourcery.com>
331 Revert these changes:
333 2002-04-06 Mark Mitchell <mark@codesourcery.com>
336 * stor-layout.c (layout_decl): Reset the RTL for the decl.
338 2002-04-12 Richard Henderson <rth@redhat.com>
340 * config.gcc (sparcv9-*-solaris2): Default to 32-bit code.
341 (sparc*-*-solaris): Clean up header files.
342 * configure.in (AS_SPARC64_FLAG): Error out if can't find it
343 and plan on generating 64-bit code.
344 * toplev.c (decode_g_option): Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.
345 * config/sparc/sol2-64.h: Delete and reuse for default 64-bit code.
346 * config/sparc/sol2-sld-64.h: Rename ...
347 * config/sparc/sol2-bi.h: ... here. Remove the bits that checked
348 for AS_SPARC64_FLAG not defined.
349 * config/sparc/sol2-gld-bi.h: New.
350 * config/sparc/sol2-sld.h: Remove.
351 * config/sparc/sol26-sld.h: New.
352 * config/sparc/sol2.h: Tidy comments.
353 * doc/install.texi: Document sparc-solaris configury changes.
355 2002-04-12 Richard Henderson <rth@redhat.com>
357 * recog.c (offsettable_address_p): Match the logic in adjust_address.
359 * config/sparc/sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Handle TFmode
360 in 64-bit mode only. Use only for 32-bit or MEDLOW.
362 2002-04-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
364 * config/alpha/osf.h (LINK_SPEC): Pass -S to silence ld warnings.
366 Fri Apr 12 15:42:59 2002 Jeffrey A Law (law@redhat.com)
368 * pa.c (pa_can_combine_p): Call extract_insn before calling
371 2002-04-12 Douglas B Rupp <rupp@gnat.com>
373 * config/i386/i386-interix.h (EH_FRAME_IN_DATA_SECTION): Define.
374 (TARGET_ASM_NAMED_SECTION, RETURN_IN_MEMORY) Define.
375 (DEFAULT_PCC_STRUCT_RETURN): Define as 0.
376 (CPP_PREDEFINES): Handle __declspec.
377 * config/i386/t-interix (USER_H): Remove.
379 2002-04-12 DJ Delorie <dj@redhat.com>
381 * integrate.c (compare_blocks): Make comparisons safe for when
382 sizeof(int) < sizeof(char *).
383 (find_block): Likewise.
385 2002-04-12 Jan Hubicka <jh@suse.cz>
386 David Edelsohn <edelsohn@gnu.org>
388 * config/rs6000/rs6000.c (call_operand): Allow LINK and COUNT
390 (symbol_ref_operand): New.
391 * config/rs6000/rs6000.h (PREDICATE_CODES): Add symbol_ref_operand.
392 * config/rs6000/rs6000.md (call_nonlocal_aix): Use symbol_ref_operand.
394 2002-04-12 Andreas Schwab <schwab@suse.de>
396 * config/ia64/ia64.h (ASM_SPEC): Moved from here ...
397 * config/ia64/sysv4.h (ASM_SPEC): ... to here, so that it
398 overrides the definition in config/svr4.h.
400 2002-04-12 Eric Norum <eric.norum@usask.ca>
402 * config/rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
403 config/c4x/rtems.h, config/h8300/rtems.h, config/i386/rtems.h,
404 config/i386/rtemself.h, config/i960/rtems.h, config/m68k/rtems.h,
405 config/m68k/rtemself.h, config/mips/rtems.h, config/mips/rtems64.h,
406 config/pa/rtems.h, config/rs6000/rtems.h, config/sh/rtems.h,
407 config/sh/rtemself.h, config/sparc/rtems.h, config/sparc/rtemself.h,
408 config/v850/rtems.h (*-rtems*): Cleanup pass to move common
409 definitions to config/rtems.h and make the targets more similar.
411 Fri Apr 12 08:06:54 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
413 * expr.c (expand_assigment): Remove duplicate conversions #ifdef
414 POINTERS_EXTEND_UNSIGNED.
415 (store_constructor, expand_expr, case COMPONENT_REF): Likewise.
416 (store_expr): Use TYPE_MODE (sizetype), not ptr_mode.
418 * emit-rtl.c (widen_memory_access): Don't do anything if MEMOFFSET
421 Fri Apr 12 12:11:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
423 * sh.c (calc_live_regs, sh_pr_n_sets): Use of PR_MEDIA_REG / PR_REG
424 depends on TARGET_SHMEDIA, not TARGET_SH5.
426 2002-04-12 Hans-Peter Nilsson <hp@bitrange.com>
428 * function.c (fixup_var_refs_1) <SET, handling VAR in SET_SRC>:
429 For paradoxical (subreg VAR), replace VAR, don't try the subreg.
431 Fri Apr 12 10:51:38 2002 J"orn Rennecke <joern.rennecke@superh.com>
433 * sh.c (broken_move): Constant 0. / 1. load is OK if there is
436 2002-04-12 Andreas Schwab <schwab@suse.de>
438 * config/ia64/ia64.h (EXTRA_SPECS): Fix missing backslash.
440 2002-04-12 Richard Henderson <rth@redhat.com>
443 * config/d30v/d30v.h (INIT_SECTION_ASM_OP): Don't undef.
445 * flow.c (mark_used_reg): Manage reg_cond_dead properly for
446 modes spanning multiple hard regs.
448 * recog.c (peephole2_optimize): Rebuild jump labels as needed.
450 2002-04-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
452 * pa.c (pa_output_function_prologue): Don't accumulate the total
453 number of code bytes when using TARGET_64BIT, or gas, SOM and not
454 the portable runtime.
455 (output_deferred_plabels): Handle 64bit plabels.
456 (output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
457 generating pic code using the GAS assembler for object formats that
458 are not SOM (ie., ELF32 and ELF64).
459 (output_millicode_call): Check attribute type if attribute length is 28.
460 Likewise use $PIC_pcrel$0. Only call get_attr_length and
461 dbr_sequence_length once.
462 (output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
463 dbr_sequence_length once.
464 * pa.h (TARGET_SOM): Define if not defined.
465 * pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
466 with GAS and not SOM.
467 (jump, call_internal_reg, call_value_internal_reg): Likewise.
468 * som.h (OBJ_SOM): Rename to TARGET_SOM. Undefine before defining.
470 2002-04-11 David O'Brien <obrien@FreeBSD.org>
472 * config/freebsd.h (NO_IMPLICIT_EXTERN_C, SCCS_DIRECTIVE): Give value.
473 (DEFAULT_PCC_STRUCT_RETURN) Do not redefine.
474 (USER_LABEL_PREFIX, HANDLE_SYSV_PRAGMA, IDENT_ASM_OP,
475 DWARF2_DEBUGGING_INFO, DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE):
476 elfos.h and dbxelf.h values are fine now.
477 * config/i386/freebsd.h, config/alpha/freebsd.h
478 (DEFAULT_PCC_STRUCT_RETURN): Define to 0.
480 2002-04-11 David O'Brien <obrien@FreeBSD.org>
482 * config/ia64/aix.h (CPP_PREDEFINES): Do not define _LP64/__LP64__
483 or set Acpu or Amachine. Reformat.
484 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
486 (LINK_SPEC): Do not need to undef.
487 * config/ia64/elf.h (ASM_EXTRA_SPEC): Define.
488 * config/ia64/freebsd.h (LINK_SPEC): Do not need to undef.
489 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
491 * config/ia64/hpux.h (ASM_EXTRA_SPEC): Define.
492 (ASM_SPEC): Do not define, use ASM_EXTRA_SPEC instead.
493 (LINK_SPEC): Do not need to undef.
494 (DONT_USE_BUILTIN_SETJMP): Do not define.
495 * config/ia64/ia64.h (ASM_SPEC, ASM_EXTRA_SPEC): Add.
496 (CPP_CPU_SPEC): Define _LP64, set Acpu and Amachine. Remove -Dia64.
497 (DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Define.
498 Remove trailing spaces.
499 * config/ia64/linux.h (CPP_PREDEFINES): Do not define _LP64/__LP64__,
500 __ELF__, or set Acpu or Amachine. Reformat.
501 (ASM_SPEC, DONT_USE_BUILTIN_SETJMP, PROFILE_BEFORE_PROLOGUE): Do not
504 2002-04-11 David O'Brien <obrien@FreeBSD.org>
506 * config.gcc (ia64-*-freebsd*): Fix ordering of tm_files to match
507 all other *-*-freebsd* targets.
509 2002-04-11 Richard Henderson <rth@redhat.com>
511 * config.gcc (alpha*-*-linux*ecoff): Detect and reject.
513 2002-04-11 David O'Brien <obrien@FreeBSD.org>
515 * config.gcc (alpha*-*-openbsd, alpha64-dec-*vms,alpha*-dec-*vms):
516 Include {cpu}/{cpu}.h thru tm_file.
517 (alpha*-*-linux*ecoff): Remove target.
518 * config/alpha/elf.h (CPP_SUBTARGET_SPEC): Define __ELF__.
519 (LINK_SPEC): Remove, is not OS independent.
520 * config/alpha/freebsd.h (CPP_SPEC): Do not define __ELF__.
521 (LINK_SPEC): Do not need to #undef any longer.
522 * config/alpha/linux-ecoff.h (LINK_SPEC): Do not need to #undef
524 * config/alpha/linux-elf.h (SUB_CPP_PREDEFINES): Do not define
526 (LINK_SPEC): Moved here from alpha/elf.h.
527 * config/alpha/linux.h (CPP_PREDEFINES): No longer consumer of
529 * config/alpha/linux-ecoff.h: Remove.
530 * config/alpha/netbsd.h (CPP_PREDEFINES): Do not define __ELF__.
531 (CPP_SPEC): Define _POSIX_SOURCE as needed.
532 (CPP_SUBTARGET_SPEC): Do not define.
533 (LINK_SPEC): Do not need to #undef any longer.
534 * config/alpha/openbsd.h: Do not directly include alpha/alpha.h.
535 * config/alpha/vms.h: Likewise.
537 2002-04-11 Richard Sandiford <rsandifo@redhat.com>
539 * doc/extend.texi: Remove old claim that typedefs cannot have
540 an alignment attribute.
542 2002-04-11 Jakub Jelinek <jakub@redhat.com>
545 * expr.c (expand_expr) [COMPONENT_REF]: Handle op0 CONCAT if
546 bitpos is 0 and bitsize CONCAT size.
548 2002-04-11 Jakub Jelinek <jakub@redhat.com>
551 * combine.c (if_then_else_cond): Use trunc_int_for_mode on nz.
553 2002-04-10 David O'Brien <obrien@FreeBSD.org>
555 * config/alpha/freebsd.h: Minor reformatting.
556 (CPP_SPEC): Define ELF and add cpp_subtarget.
557 (ASM_SPEC): No longer needed.
559 2002-04-11 Richard Henderson <rth@redhat.com>
561 * config/sparc/sparc.md (movdi_insn_sp32): Add o/J alternative.
562 (movdi_insn_sp32_v9): Likewise. Only allow stx with aligned memory.
563 (dimode mem/zero splitter): New.
565 2002-04-11 Hans-Peter Nilsson <hp@axis.com>
567 * config/cris/cris.c (cris_override_options): Tweak error message
568 for PIC not implemented.
570 * config/cris/cris.h: Tweak comments related to parameter-passing.
572 * t-cris (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc here.
574 2002-04-10 Richard Henderson <rth@redhat.com>
576 * except.c (add_ehl_entry): Allow duplicates after landing pad
579 2002-04-10 David Edelsohn <edelsohn@gnu.org>
581 * config/rs6000/t-aix43 (SHLIB_NM_FLAGS): Add -X32_64.
583 2002-04-10 Toon Moene <toon@moene.indiv.nluug.nl>
585 * c-decl.c (c_init_decl_processing): Move generation of
586 decls for g77_integer_type_node and friends from here ...
587 * c-common.c (c_common_nodes_and_builtins): ... to here.
589 2002-04-10 Ulrich Weigand <uweigand@de.ibm.com>
591 * reload1.c (choose_reload_regs): HARD_FRAME_POINTER_REGNUM
592 is only used as frame pointer when frame_pointer_needed is true.
594 2002-04-10 Richard Earnshaw <rearnsha@arm.com>
597 * arm.md (arm_movdi): Adjust neg_pool_range attribute to allow
598 for the fact that the pool entry uses two words.
599 (movdf_hard_insn): Similarly. Also, ADR instruction can span
601 (movdf_soft_insn): Similarly.
602 (movxf_hard_insn): Adjust neg_pool_range attribute to allow
603 for the fact that the pool entry uses three words.
605 2002-04-10 Richard Sandiford <rsandifo@redhat.com>
607 * config/mips/mips.c (mips_va_arg): When using the struct version
608 of the EABI va_list, allow arguments in the register save area to
609 take up less room than a stack argument.
611 2002-04-10 Richard Henderson <rth@redhat.com>
613 * expr.c (expand_expr) [INTEGER_CST]: Don't force into registers
614 if EXPAND_INITIALIZER.
616 2002-04-09 Richard Henderson <rth@redhat.com>
618 * config/alpha/alpha.md (movdi_er_maybe_g): New.
619 * config/alpha/alpha.c (alpha_expand_mov): Use it.
621 2002-04-10 Alan Modra <amodra@bigpond.net.au>
624 * rtlanal.c (pure_call_p): New function.
625 * rtl.h (pure_call_p): Declare.
626 * loop.c (prescan_loop): Use it to set has_nonconst_call.
627 * gcse.c (store_killed_in_insn): Use pure_call_p here too.
629 2002-04-09 Eric Christopher <echristo@redhat.com>
631 * config/mips/mips.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): Add additional
632 information to .comm directive.
634 2002-04-09 Richard Henderson <rth@redhat.com>
637 * expr.c (expand_expr) [INTEGER_CST]: Force overflows into registers.
639 2002-04-09 Richard Henderson <rth@redhat.com>
641 * basic-block.h (flow_delete_block_noexpunge): Declare.
642 (expunge_block_nocompact): Declare.
643 * cfg.c (expunge_block_nocompact): Split out from ...
644 (expunge_block): ... here.
645 * cfgrtl.c (can_delete_label_p): Don't use exception_handler_labels.
646 (flow_delete_block_noexpunge): Split out from ...
647 (flow_delete_block): ... here.
648 * cfgcleanup.c (delete_unreachable_blocks): Compact while
649 removing dead blocks.
650 * except.c (exception_handler_labels): Remove.
651 (exception_handler_label_map): New.
652 (struct eh_region): Add aka member.
653 (mark_ehl_map_entry, mark_ehl_map, free_region): New.
654 (ehl_hash, ehl_eq, ehl_free, add_ehl_entry): New.
655 (for_each_eh_label, for_each_eh_label_1): New.
656 (init_eh): Register exception_handler_label_map.
657 (free_eh_status): Use free_region.
658 (find_exception_handler_labels): Use the map, not the list.
659 (remove_exception_handler_label): Likewise.
660 (maybe_remove_eh_handler): Likewise.
661 (remove_eh_handler): Use the region aka bitmap.
662 * except.h (exception_handler_labels): Remove.
663 (for_each_eh_label): Declare.
664 * jump.c (rebuild_jump_labels): Don't check exception_handler_labels.
665 * loop.c (invalidate_loops_containing_label): New.
666 (find_and_verify_loops): Use it. Use for_each_eh_label.
667 * sched-rgn.c (is_cfg_nonregular): Use
668 current_function_has_exception_handlers.
670 2002-04-09 Richard Henderson <rth@redhat.com>
672 * sbitmap.c (sbitmap_union_of_diff, sbitmap_a_and_b, sbitmap_a_xor_b,
673 sbitmap_a_or_b, sbitmap_a_or_b_and_c, sbitmap_a_and_b_or_c):
674 Do not return changed status.
675 (sbitmap_union_of_diff_cg, sbitmap_a_and_b_cg, sbitmap_a_xor_b_cg,
676 sbitmap_a_or_b_cg, sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c_cg):
677 New functions that do return changed status.
678 * sbitmap.h: Update decls.
679 * gcse.c, lcm.c: Use _cg functions as needed.
681 Tue Apr 9 19:15:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
683 * config.gcc (sh-*-elf*): Use sh/embed-elf.h instead of sh/elf.h.
684 (sh64-*-elf*, sh-*-rtemself*): Likewise.
685 * config/sh/embed_bb.c: New file.
686 * config/sh/embed-elf.h: New file.
687 * sh.h (CPP_SPEC): Supply __SIZE_TYPE__ and __PTRDIFF_TYPE__
688 if -m[12345]* option is given. Don't use subtarget_cpp_ptr_spec.
689 (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
691 (SUBTARGET_CPP_PTR_SPEC): Don't define.
692 (EXTRA_SPECS): Remove subtarget_cpp_ptr_spec.
693 Add subtarget_asm_endian_spec.
694 (ASM_SPEC): Use subtarget_asm_endian_spec.
695 (SUBTARGET_ASM_ENDIAN_SPEC): Define.
696 (RETURN_ADDR_RTX): Use PR_MEDIA_REG for TARGET_SH5.
697 (WCHAR_UNSIGNED): Define.
698 (SH_ELF_WCHAR_TYPE, SH_DBX_REGISTER_NUMBER): Define.
699 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
700 (ALLOCATE_INITIAL_VALUE): Use PR_MEDIA_REG for TARGET_SH5.
702 * sh.c (calc_live_regs): Use PR_MEDIA_REG for TARGET_SH5.
703 (sh_adjust_cost): Likewise.
704 sh64.h (CPP_DEFAULT_CPU_SPEC): Add settings for __SIZE_TYPE__ and
706 (SUBTARGET_CPP_PTR_SPEC, WCHAR_TYPE): Don't #undef/ #define.
707 (WCHAR_TYPE_SIZE): Likewise.
708 (ASM_SPEC): Use subtarget_asm_endian_spec.
709 (SH_ELF_WCHAR_TYPE): #undef/ #define.
710 (MAX_WCHAR_TYPE_SIZE): Don't #undef.
711 * config/sh/elf.h (WCHAR_UNSIGNED): #undef .
712 (MAX_WCHAR_TYPE_SIZE): Don't #define .
713 (WCHAR_TYPE, WCHAR_TYPE_SIZE): #undef / #define .
714 (USER_LABEL_PREFIX): Don't #undef /#define .
715 (DBX_REGISTER_NUMBER): Use SH_DBX_REGISTER_NUMBER.
716 * config/elf/linux.h (USER_LABEL_PREFIX): Don't #undef /#define .
717 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE): Likewise.
718 (ASM_SPEC): Likewise.
719 (SUBTARGET_ASM_ENDIAN_SPEC): #undef / #define .
720 (CC1_SPEC): don't supply -m3 for -m4*, -m5*.
721 * t-sh: (LIB1ASMFUNCS): Use LIB1ASMFUNCS_CACHE.
722 (LIB2FUNCS_EXTRA): Define.
723 * t-sh64 (LIB2FUNCS_EXTRA): Define.
724 * config/sh/t-linux (LIB1ASMFUNCS): Don't redefine.
725 (LIB1ASMFUNCS_CACHE): Define.
726 (LIB2FUNCS_EXTRA): Redefine empty.
728 2002-04-08 Richard Henderson <rth@redhat.com>
730 * reorg.c (get_branch_condition): Use reversed_comparison_code.
732 2002-04-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
734 * config/m68hc11/larith.asm (__map_data_section): Fix condition
735 and optimize for size.
736 (__do_global_ctors): Fix pointer comparison.
737 (__do_global_dtors): Likewise.
739 2002-04-09 David S. Miller <davem@redhat.com>
741 * config/sparc/sparc.c (sparc_extra_constraint_check): New
742 function, implementing EXTRA_CONSTRAINTS. For memory constraints,
743 allow reloading pseudos.
744 * config/sparc/sparc.h (EXTRA_CONSTRAINTS): Use it.
745 * config/sparc/sparc-protos.h: Declare it.
747 * config/sparc/sparc.c (const64_is_2insns): Kill signed vs.
748 unsigned comparison warning.
749 (output_restore_regs): Mark leaf_function as unused.
751 Tue Apr 9 09:35:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
753 * expr.c (is_aligning_offset): New function.
754 (expand_expr, case COMPONENT_EXPR): Call it.
756 2002-04-08 David S. Miller <davem@redhat.com>
759 * config/sparc/freebsd.h (SPARC_DEFAULT_CMODEL): Set to CM_MEDLOW
761 Make init_priority work on Sparc when using GNU ld.
762 * config/sparc/linux.h, config/sparc/linux64.h,
763 config/sparc/netbsd-elf.h, config/sparc/freebsd.h
764 (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undefine.
765 * config/sparc/sol2-gld.h: New file to do the same.
766 * config.gcc (sparc*-*-solaris2*): If gnu_ld=yes add
767 sparc/sol2-gld.h to tm_file.
770 * config/sparc/sparc.h (EXTRA_CONSTRAINT): Add new constraint 'W'.
771 * doc/md.texi: Document it.
772 * config/sparc/sparc.md (movdi_insn_sp64_novis,
773 movdi_insn_sp64_vis, movdf_insn_sp32, movdf_insn_v9only_novis,
774 movdf_insn_v9only_vis, movdf_insn_sp64_novis,
775 movdf_insn_sp64_vis): Use it as MEM constraing with 'e' registers.
776 * config/sparc/sparc.c (mem_min_alignment): Fix comment.
778 2002-04-08 Andreas Jaeger <aj@suse.de>
780 * stmt.c (expand_asm_operands): Revert last patch from Richard
783 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
785 * doc/contrib.texi (Contributors): Add John David Anglin and Loren
786 J. Rittle (the latter also to Testers). Update David O'Brien's entry.
788 2002-04-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
790 * doc/contrib.texi (Contributors): Add David O'Brien.
792 2002-04-08 Alan Modra <amodra@bigpond.net.au>
794 * configure.in (auto-build.h): Use target_alias and build_alias
795 when running configure.
796 (gcc_cv_as, gcc_cv_ld): Search install paths when build != host too.
797 (gcc_cv_nm, gcc_cv_objdump): Set for build != host too.
798 * configure: Regenerate.
800 2002-04-07 David S. Miller <davem@redhat.com>
802 * config.gcc (sparc64-*-linux*): Add t-crtfm to tmake_file.
804 2002-04-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
807 * pa.h (ASM_OUTPUT_MI_THUNK): Use indirect jump to target function when
808 generating 32-bit pic code.
810 2002-04-06 Jason Thorpe <thorpej@wasabisystems.com>
812 * cppinit.c (cpp_create_reader): Initialize
813 discard_comments_in_macro_exp.
814 (COMMAND_LINE_OPTIONS): Add "-CC" option.
815 (cpp_handle_option): Handle "-CC" option.
816 * cpplex.c (save_comment): If saving a C++ comment in
817 a directive, convert it to a C comment.
818 (_cpp_lex_direct): Pass second comment start character to
819 save_comment to indicate comment type.
820 * cpplib.c (_cpp_handle_directive): If processing
821 a "#define" directive and discard_comments_in_macro_exp
822 is false, re-enable saving of comments.
823 (lex_macro_node): If discard_comments_in_macro_exp is false,
824 discard any comments before the macro identifier.
825 * cpplib.h (struct cpp_options): Add discard_comments_in_macro_exp
827 * cppmacro.c (cpp_get_token): If expanding a macro while
828 processing a directive, discard any comments we might encounter.
829 (parse_params): If discard_comments_in_macro_exp is false,
830 ignore comments in the macro parameter list.
831 * gcc.c (cpp_unique_options): Add "-CC" option.
832 (option_map): Map "--comments-in-macros" to "-CC".
833 * doc/cppopts.texi: Document "-CC" option.
834 * f/lang-specs.h: Add "-CC" option.
835 * testsuite/gcc.dg/cpp/maccom1.c: New test.
836 * testsuite/gcc.dg/cpp/maccom2.c: New test.
837 * testsuite/gcc.dg/cpp/maccom3.c: New test.
838 * testsuite/gcc.dg/cpp/maccom4.c: New test.
839 * testsuite/gcc.dg/cpp/maccom5.c: New test.
840 * testsuite/gcc.dg/cpp/maccom6.c: New test.
842 2002-04-06 John David Anglin <dave@hiauly1.hia.nrc.ca>
845 * reorg.c (dbr_schedule): Don't reposition prologue and epilogue notes.
847 2002-04-06 Mark Mitchell <mark@codesourcery.com>
850 * stor-layout.c (layout_decl): Reset the RTL for the decl.
853 * sibcall.c (optimize_sibling_and_tail_recursive_call): Clear
854 RTX_UNCHANGING_P for the functions arguments when a tail call
857 2002-04-06 Jason Merrill <jason@redhat.com>
859 * toplev.c (flag_no_inline, flag_really_no_inline): Default to 2.
860 (parse_options_and_default_flags): Set them appropriately.
861 * c-common.c (c_common_post_options): Don't set flag_really_no_inline.
863 2002-04-06 Hans-Peter Nilsson <hp@bitrange.com>
865 * config/mmix/t-mmix (TARGET_LIBGCC2_CFLAGS): Don't -Dinhibit_libc
868 * config/mmix/mmix.h (INITIAL_ELIMINATION_OFFSET): Remove spurious
871 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Variable-size
872 types come in by-reference. Fix typo in comment.
874 2002-04-05 David S. Miller <davem@redhat.com>
876 * config/sparc/freebsd.h (ENDFILE_SPEC): Add crtfastmath bits.
877 * config.gcc (sparc64-wrs-vxworks, sparc-*-chorusos,
878 sparc-*-rtems*, sparclite-*-elf* sparc86x-*-elf*, sparc64-*-elf*,
879 {sparc64,ultrasparc}-*-freebsd*): Add sparc/t-crtfm to tmake_file.
881 2002-04-05 David S. Miller <davem@redhat.com>
883 * config/sparc/sparc.c (sparc_nonflat_function_epilogue): If we
884 are not going to emit return instructions, emit at least a nop
885 for the sake of sane backtraces.
887 2002-04-05 Richard Henderson <rth@redhat.com>
889 * doc/rtl.texi (Regs and Memory): Document (mem:BLK (scratch)).
891 2002-04-05 Jakub Jeilnek <jakub@redhat.com>
893 * mklibgcc.in: Use $tmpmapfile, not tmp-$@.
895 2002-04-05 Alexandre Oliva <aoliva@redhat.com>
897 * config/mips/mips.h (ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE,
898 ISA_HAS_FP4, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB,
899 ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Disable if TARGET_MIPS16.
901 2002-04-05 Andreas Schwab <schwab@suse.de>
903 * c-convert.c: Include c-common.h.
904 * Makefile.in (c-convert.o): Updated.
906 2002-04-05 Jakub Jelinek <jakub@redhat.com>
908 * mklibgcc.in: Use separate libgcc.map for each multilib.
909 * Makefile.in (distclean): Don't remove libgcc.map here.
911 2002-04-05 Jakub Jelinek <jakub@redhat.com>
913 * Makefile.in (s-mlib): Handle --disable-multilib by separate
914 genmultilib invocation.
916 2002-04-04 Richard Sandiford <rsandifo@redhat.com>
918 * config/mips/mips.h (CUMULATIVE_ARGS): Rename fp_regs to num_fprs
919 to avoid clash with Irix header file sys/ucontext.h. Rename gp_regs
920 to num_gprs for symmetry.
921 * config/mips/mips.c: Adjust accordingly.
923 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk>
925 * c-common.c (truthvalue_conversion): Rename, update.
926 * c-common.h (c_common_truthvalue_conversion): New.
927 * c-convert.c (convert): Update.
928 * c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
929 * c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
930 * c-typeck.c (build_binary_op, build_unary_op,
931 build_conditional_expr): Update.
932 * fold-const.c (constant_boolean_node, fold): Use langhook.
933 * langhooks-def.h (LANGHOOK_INITIALIZER): Update.
934 * langhooks.h (struct lang_hooks): New hook.
935 * stmt.c (expand_decl_cleanup): Use langhook.
936 * tree.h (truthvalue_conversion): Remove.
938 * objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
940 2002-04-05 Alan Modra <amodra@bigpond.net.au>
942 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtsavres.o
943 Add rules to make null object file.
945 2002-04-04 Jim Blandy <jimb@redhat.com>
947 * cppmacro.c (cpp_macro_definition): Do not emit spaces after
948 macro formal parameter names.
950 2002-04-04 David S. Miller <davem@redhat.com>
952 * calls.c (store_one_arg): If ECF_SIBCALL, use tail_call_reg.
954 2002-04-04 Richard Henderson <rth@redhat.com>
957 * stmt.c (expand_asm_operands): Validate outputs vs asm_operand_ok.
958 Support copies into and out of memory. Don't accept allows_reg
959 and allows_mem as gospel.
961 2002-04-04 Richard Henderson <rth@redhat.com>
964 * alias.c (true_dependence): Force (mem:blk (scratch)) to conflict.
965 (write_dependence_p): Likewise.
967 2002-04-04 Richard Henderson <rth@redhat.com>
969 * predict.c (estimate_bb_frequencies): Do frequency calculation
970 with a volatile temporary.
972 2002-04-04 Ulrich Weigand <uweigand@de.ibm.com>
974 * config/s390/linux.h (LOCAL_LABEL_PREFIX): Define.
976 2002-04-04 Jakub Jelinek <jakub@redhat.com>
979 * final.c (final_start_function): Don't bump profile_label_no here...
980 (final_end_function): ...but here.
982 2002-04-04 Jakub Jelinek <jakub@redhat.com>
984 * config/sparc/sparc.md (pic): New attribute.
985 (do_builtin_setjmp_setup): Save %fp, %i7 and %l7 for TARGET_V9
987 (split after do_builtin_setjmp_setup): New.
989 2002-04-04 Jakub Jelinek <jakub@redhat.com>
992 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): Backout 2001-01-01
995 2002-04-04 Jakub Jelinek <jakub@redhat.com>
997 * config/sparc/sparc.c (sparc_va_arg): Adjust va_list by
998 UNITS_PER_WORD for zero sized aggregates.
1000 2002-04-03 David S. Miller <davem@redhat.com>
1002 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): No need for a new
1003 one-character spec for this, just use %(link_gcc_c_sequence).
1005 2002-04-03 David S. Miller <davem@redhat.com>
1007 * config/sparc/crtfastmath.c (FPRS_NS): Delete bogus little-endian
1010 2002-04-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
1012 * pa-linux.h (INCOMING_RETURN_ADDR_RTX): Move.
1013 (DWARF_FRAME_RETURN_COLUMN): Move.
1014 (ASM_PREFERRED_EH_DATA_FORMAT): Define.
1015 (ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Define.
1016 * pa.c (except.h, predict.h): Include.
1018 (store_reg_modify, set_reg_plus_d): Revise prototypes.
1019 (output_ascii): Add cast.
1020 (store_reg_modify): Revise to add frame notes.
1021 (set_reg_plus_d): Likewise.
1022 (compute_frame_size): Include space for eh data registers in frame if
1023 the current function calls eh_return.
1024 (hppa_expand_prologue): Ensure register %r2 is saved if the current
1025 function calls eh_return. Save eh data registers if the current
1026 function calls eh_return. Fix code to add frame notes. Emit
1027 blockage to prevent insns with frame notes being scheduled in the
1028 delay slot of calls.
1029 (hppa_expand_epilogue): Restore eh data registers and do final stack
1030 adjustment if the current function calls eh_return. Don't add frame
1032 (output_call): Revise for change in length of call insn. Don't do
1033 return pointer adjustment for an unconditional jump in the delay slot
1034 of a call when using frame notes.
1035 * pa.h (EH_RETURN_DATA_REGNO): Revise for TARGET_64BIT compatibility.
1036 (EH_RETURN_HANDLER_RTX): Use saved value on stack.
1037 (ARG_POINTER_CFA_OFFSET): Define.
1038 * pa.md (return_external_pic): New pattern.
1039 (prologue): Correct formatting. Use return_external_pic if current
1040 function calls eh_return.
1041 (call_internal_symref, call_value_internal_symref,
1042 sibcall_internal_symref, sibcall_value_internal_symref): Change default
1043 lengths of short, long non-pic, and long pic calls to 8, 68, and 84,
1045 (exception_receiver): Use hppa_pic_save_rtx () to restore pic register.
1047 * configure.in ("assembler dwarf2 debug_line support"): Add hppa*-*-* to
1048 list of targets to check using "nop" insn.
1049 * configure: Rebuilt.
1051 2002-04-04 Alan Modra <amodra@bigpond.net.au>
1053 * config/rs6000/t-linux64 (EXTRA_MULTILIB_PARTS): Define.
1055 2002-04-03 David S. Miller <davem@redhat.com>
1057 * gcc.c (LINK_GCC_C_SEQUENCE_SPEC): New spec to override the gcc/c
1058 library sequence passed to the linker.
1059 (LINK_COMMAND_SPEC): Use it.
1060 * doc/tm.texi: Document it, and mention from LINK_COMMAND_SPEC as
1061 a macro a target can use to avoid overriding LINK_COMMAND_SPEC.
1062 * config/sparc/sparc.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
1064 2002-04-03 Jason Merrill <jason@redhat.com>
1066 * except.c (struct eh_status): Remove protect_list.
1067 (begin_protect_partials, end_protect_partials): Remove.
1068 (add_partial_entry): Remove.
1069 * except.h: Remove prototypes.
1071 * expr.c (expand_expr) [WITH_CLEANUP_EXPR, TARGET_EXPR]: Use
1072 expand_decl_cleanup_eh.
1075 * tree.h (CLEANUP_EH_ONLY): New macro.
1076 * stmt.c (expand_decl_cleanup_eh): New fn.
1077 (expand_cleanups): Check CLEANUP_EH_ONLY.
1078 * c-semantics.c (genrtl_decl_cleanup): Just take the CLEANUP_STMT.
1079 Use expand_decl_cleanup_eh.
1080 (expand_stmt): Adjust.
1081 * c-common.h: Adjust prototype.
1083 2002-04-04 Hans-Peter Nilsson <hp@axis.com>
1085 * config/cris/cris.c (cris_target_asm_function_prologue): Cast
1086 uses of PIC_OFFSET_TABLE_REGNUM to int to silence warnings.
1087 (cris_target_asm_function_epilogue): Ditto.
1088 (cris_initial_frame_pointer_offset): Ditto.
1089 (cris_simple_epilogue): Ditto.
1090 (cris_expand_builtin_va_arg): Variable-size types come in
1093 2002-04-03 David S. Miller <davem@redhat.com>
1095 * config/sparc/crtfastmath.c (FPRS_NS): Get it right for
1097 (set_fast_math): Correct 'fsr' type.
1099 2002-04-03 Richard Henderson <rth@redhat.com>
1102 * langhooks.h (lang_hooks.decls.warn_unused_global): New.
1103 * toplev.c (check_global_declarations): Use it.
1104 * langhooks-def.h (lhd_warn_unused_global_decl): Declare.
1105 (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
1106 (LANG_HOOKS_DECLS): Add it.
1107 * langhooks.c (lhd_warn_unused_global_decl): New.
1108 * c-decl.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
1109 * c-objc-common.c (c_warn_unused_global_decl): New.
1110 * c-tree.h (c_warn_unused_global_decl): Declare.
1111 * objc/objc-lang.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): New.
1113 2002-04-03 Neil Booth <neil@daikokuya.demon.co.uk>
1115 * langhooks-def.h (lhd_set_decl_assembler_name,
1116 LANG_HOOKS_SET_DECL_ASSEMBLER_NAME): New.
1117 (LANG_HOOKS_INITIALIZER): Update.
1118 * langhooks.c (lhd_set_decl_assembler_name): New, from tree.c
1119 * langhooks.h (struct lang_hooks): New hook.
1120 * tree.c (set_decl_assembler_name): Move to langhooks.c.
1121 (lang_set_decl_assembler_name): Remove.
1122 (init_obstacks): Don't set hook.
1123 (decl_assembler_name): New function.
1124 * tree.h (DECL_ASSEMBLER_NAME): Turn into a function call.
1125 (decl_assembler_name): New.
1126 (lang_set_decl_assembler_name): Remove.
1128 2002-04-03 Jakub Jelinek <jakub@redhat.com>
1130 * configure.in (HAVE_SPARC_UA_PCREL_HIDDEN): Test whether %r_disp32()
1131 works properly with .hidden symbols.
1132 * configure: Rebuilt.
1133 * config.in: Rebuilt.
1134 * config/sparc/sparc.h (ASM_PREFERRED_EH_DATA_FORMAT): Use
1135 DW_EH_PE_absptr for flag_pic && GLOBAL if %r_disp32() doesn't work
1136 properly with .hidden symbols.
1138 2002-04-03 Jakub Jelinek <jakub@redhat.com>
1141 * df.c (df_insn_refs_record): Use XEXP not SET_DEST to access
1144 2002-04-03 Richard Henderson <rth@redhat.com>
1147 * sched-rgn.c (sets_likely_spilled): New.
1148 (sets_likely_spilled_1): New.
1149 (add_branch_dependences): Use it.
1151 2002-04-02 Richard Henderson <rth@redhat.com>
1154 * loop.h (LOOP_FIRST_PASS): New.
1155 * loop.c (strength_reduce): Mind it when deciding to unroll.
1156 * toplev.c (rest_of_compilation): Set it.
1158 2002-04-02 David S. Miller <davem@redhat.com>
1160 * config/sparc/sparc.md (ldd peephole2s): Fix final arg to
1161 mems_ok_for_ldd_peep when the order of the loads being examined
1163 * config/sparc/sparc.c (mems_ok_for_ldd_peep): Expand upon
1164 existing comment to increase comprehension of this situation.
1166 2002-04-02 Zack Weinberg <zack@codesourcery.com>
1168 * config/sh/sh.md: Don't use union real_extract.
1170 2002-04-02 Richard Henderson <rth@redhat.com>
1172 * libgcc2.c (__bb_exit_func): Revert 03-31 change.
1174 2002-04-02 David O'Brien <obrien@FreeBSD.org>
1176 * config.gcc (i386-dg-dgux, i386-go32-msdos , i386-go32-rtems,
1177 i386-ibm-aix, i386-moss-msdos, i386-ncr-sysv4, i386-next-,
1178 i386-pc-msdosdjgpp, i386-sequent-bsd, i386-sequent-ptx1,
1179 i386-sequent-ptx2, i386-sequent-ptx4, i386-sun-sunos,
1180 i386-wrs-vxworks, i386-*-aout, i386-*-beoself, i386-*-bsd,
1181 i386-*-bsdi, i386-*-chorusos, i386-*-coff, i386-*-elf,
1182 i386-*-freebsd5, i386-*-freebsd-aout, i386-*-gnu, i386-*-interix,
1183 i386-*-interix3, i386-*-isc, i386-*-linux, i386-*-linuxaout,
1184 i386-*-linuxoldld, i386-*-lynxos, i386-*-mach, i386-*-mingw32,
1185 i386-*-netbsd, i386-*-netbsdelf, i386-*-netware, i386-*-openbsd,
1186 i386-*-osf1, i386-*-osfrose, i386-*-pe , i386-*-rtems,
1187 i386-*-rtemscoff, i386-*-sco3.2v5, i386-*-solaris2, i386-*-sysv,
1188 i386-*-sysv4, i386-*-sysv5, i386-*-udk, i386-*-uwin, i386-*-vsta,
1189 i386-*-win32, x86_64-*-freebsd5, x86_64-*-linux, x86_64-*-netbsd):
1190 Include as many configury headers via tm_file as possible. This
1191 includes among others i386/unix.h, i386/bsd.h, i386/gas.h.
1192 * config/openbsd-oldgas.h: New file.
1193 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/att.h,
1194 config/i386/bsd.h, config/i386/djgpp.h, config/i386/freebsd-aout.h,
1195 config/i386/gas.h, config/i386/gstabs.h, config/i386/i386-aout.h,
1196 config/i386/i386-coff.h, config/i386/i386-interix.h,
1197 config/i386/iscdbx.h, config/i386/linux-aout.h,
1198 config/i386/linux-oldld.h, config/i386/lynx-ng.h, config/i386/lynx.h,
1199 config/i386/mach.h, config/i386/netbsd.h, config/i386/next.h,
1200 config/i386/openbsd.h, config/i386/osfelf.h, config/i386/osfrose.h,
1201 config/i386/sco5.h, config/i386/seq-gas.h, config/i386/seq-sysv3.h,
1202 config/i386/seq2-sysv3.h, config/i386/sequent.h, config/i386/sun.h,
1203 config/i386/sun386.h, config/i386/svr3dbx.h, config/i386/svr3gas.h,
1204 config/i386/sysv3.h, config/i386/uwin.h, config/i386/vsta.h,
1205 config/i386/vxi386.h: Do not directly include configury headers.
1206 * config/i386/cygwin.h, config/i386/djgpp.h, config/i386/win32.h:
1207 Directly include configury headers that are no longer automatically
1208 included by the above headers.
1209 * config/i386/att.h, config/i386/bsd.h (TARGET_VERSION): Do not define.
1210 * config/i386/386bsd.h, config/i386/aix386ng.h, config/i386/cygwin.h,
1211 config/i386/djgpp.h, config/i386/i386-aout.h, config/i386/i386-coff.h,
1212 config/i386/lynx-ng.h, config/i386/lynx.h, config/i386/mach.h,
1213 config/i386/netbsd.h, config/i386/openbsd.h, config/i386/rtems.h,
1214 config/i386/seq-sysv3.h, config/i386/sequent.h, config/i386/svr3gas.h,
1215 config/i386/sysv3.h, config/i386/vsta.h, config/i386/vxi386.h
1216 (TARGET_VERSION): Define.
1217 * config/i386/beos-elf.h, config/i386/freebsd.h,
1218 config/i386/i386-interix.h, config/i386/i386elf.h, config/i386/linux.h,
1219 config/i386/linux64.h, config/i386/netbsd-elf.h, config/i386/netbsd64.h,
1220 config/i386/osfelf.h, config/i386/osfrose.h, config/i386/ptx4-i.h,
1221 config/i386/sco5.h, config/i386/sysv4.h
1222 (TARGET_VERSION): Do not need to protect.
1223 * config/i386/freebsd64.h (TARGET_VERSION): Fix style.
1224 * config/i386/386bsd.h, config/i386/cygwin.h, config/i386/djgpp.h,
1225 config/i386/freebsd-aout.h, config/i386/i386-aout.h,
1226 config/i386/i386-interix.h, config/i386/linux-aout.h,
1227 config/i386/linux-oldld.h, config/i386/mach.h, config/i386/netbsd.h,
1228 config/i386/openbsd.h, config/i386/vsta.h, config/i386/win32.h
1229 (YES_UNDERSCORES): Do not define - not needed.
1230 * config/i386/bsd.h, config/i386/gas.h (LPREFIX,
1231 ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
1232 USER_LABEL_PREFIX): Do not handle the "NO_UNDERSCORES" case.
1233 * config/i386/i386-coff.h, config/i386/lynx.h, config/i386/lynx-ng.h
1234 (LPREFIX, ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL,
1235 USER_LABEL_PREFIX): Define. (handles the "NO_UNDERSCORES" case)
1236 * config/i386/isc.h: Preserve comment from config/i386/isccoff.h.
1237 * config/i386/isccoff.h, config/i386/v3gas.h: Remove.
1239 2002-04-02 Eric Botcazou <ebotcazou@multimania.com>
1240 Richard Henderson <rth@redhat.com>
1243 * function.c (assign_temp): Accept either type or decl argument.
1244 Detect variables whose size is too large to fit into an integer.
1245 * stmt.c (expand_decl): Pass the decl, not the type.
1247 2002-04-02 David O'Brien <obrien@FreeBSD.org>
1249 * protoize.c: Match include directory usage with cppdefault.c.
1251 2002-04-03 Jeffrey A Law (law@redhat.com)
1252 Hans-Peter Nilsson <hp@bitrange.com>
1254 * combine.c (simplify_comparison): Avoid narrowing a comparison
1255 with a paradoxical subreg when doing so would drop signficant bits.
1257 2002-04-02 Steve Ellcey <sje@cup.hp.com>
1259 * builtins.c (expand_builtin_prefetch): Force op0 pointer to Pmode
1260 if POINTERS_EXTEND_UNSIGNED is defined.
1262 2002-04-02 Richard Henderson <rth@redhat.com>
1265 * local-alloc.c (contains_replace_regs): LO_SUM may contain
1268 2002-04-02 Richard Henderson <rth@redhat.com>
1270 * doc/standards.texi: Document required freestanding libc entry points.
1272 2002-04-02 Alan Modra <amodra@bigpond.net.au>
1274 * config/rs6000/rs6000.md (ctrdi*): Add FPR constraint and
1275 associated splitter. Remove MQ constraint.
1276 (ctrdi_internal4): Correct CCmode clobber.
1278 2002-04-02 John David Anglin <dave@hiauly1.hia.nrc.ca>
1280 * milli64.S ($$dyncall): New function.
1281 * t-linux (LIB1ASMFUNCS): Revise module list.
1282 (LIB1ASMSRC): Use pa/milli64.S.
1284 2002-04-02 Richard Henderson <rth@redhat.com>
1286 * fixinc/inclhack.def (AAB_solaris_sys_varargs_h): Move and
1287 rename solaris_sys_varargs_h.
1289 Tue Apr 2 06:47:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1291 * stor-layout.c (layout_type, case ARRAY_TYPE): Give one-element array
1292 the same mode as its component.
1294 2002-04-02 Richard Henderson <rth@redhat.com>
1297 * final.c (this_is_asm_operands): Export.
1298 * output.h (this_is_asm_operands): Declare.
1299 * config/i386/i386.c (print_operand): Error odd asm operands.
1301 2002-04-02 Richard Henderson <rth@redhat.com>
1304 * config/m68k/m68k.md (dbcc peepholes): Match four forms of dbra.
1306 2002-04-01 Richard Henderson <rth@redhat.com>
1309 * fixinc/inclhack.def (solaris_sys_varargs_h): New.
1310 * fixinc/fixincl.x: Rebuild.
1312 2002-04-01 Richard Henderson <rth@redhat.com>
1314 * config/ia64/unwind-ia64.c: Include ia64intrin.h.
1315 (atomic_alloc, atomic_free): New.
1316 (SIZE, MASK_FOR, PTR_IN): New.
1317 (emergency_reg_state, emergency_reg_state_free): New.
1318 (emergency_labeled_state, emergency_labeled_state_free): New.
1319 (reg_state_alloced, labeled_state_alloced): New.
1320 (alloc_reg_state, free_reg_state): New.
1321 (alloc_label_state, free_label_state, free_label_states): New.
1322 (push, pop, dup_state_stack, free_state_stack): Use them.
1323 (desc_label_state): Likewise.
1324 (uw_frame_state_for): Free label states and state stack.
1325 (uw_update_reg_address): Eliminate warnings.
1327 2002-04-01 Vladimir Makarov <vmakarov@redhat.com>
1329 * config/pa/pa-pro-end.h (ASM_OUTPUT_ALIGNED_COMMON,
1330 ASM_OUTPUT_ALIGNED_LOCAL): Redefine them.
1332 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1334 * c-decl.c (grokdeclarator): Update.
1335 * c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1336 * c-tree.h (c_mark_addressable): New.
1337 * c-typeck.c (default_function_array_conversion, build_unary_op,
1338 build_array_ref, convert_for_assignment): Update.
1339 (mark_addressable): Rename.
1340 * calls.c (try_to_integrate, expand_call): Use langhook.
1341 * expr.c (expand_expr): Use langhook.
1342 * langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
1343 * langhooks.h (struct lang_hooks): New hook.
1344 * stmt.c (expand_asm_operands): Use langhook.
1345 * tree.h (mark_addressable): Remove.
1347 * objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
1349 2002-04-01 Bob Wilson <bob.wilson@acm.org>
1351 * config/xtensa/xtensa.c (xtensa_va_arg): Fix compiler warning
1354 2002-04-01 Bob Wilson <bob.wilson@acm.org>
1356 * config/xtensa/xtensa.c (xtensa_va_arg): Fix to handle arguments
1357 for which MUST_PASS_IN_STACK is true (e.g., variable-sized types).
1359 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1361 * c-common.c (unsigned_conversion_warning, convert_and_check,
1362 unsigned_type, signed_type, shorten_compare,
1363 c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
1364 (unsigned_type, signed_type, signed_or_unsigned_type): Rename.
1365 * c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
1367 * c-decl.c (grokdeclarator): Update.
1368 * c-format.c (check_format_types): Update.
1369 * c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1370 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1371 * c-typeck.c (build_binary_op, convert_for_assignment): Update.
1372 * convert.c (convert_to_integer): Use new hooks.
1373 * expmed.c (make_tree): Use new hooks.
1374 * expr.c (store_expr): Use new hooks.
1375 * fold-const.c (operand_equal_for_comparison_p, build_range_check,
1376 all_ones_mask_p, unextend, fold): Use new hooks.
1377 * langhooks.h (struct lang_hooks_for_types): New hooks.
1378 * tree.h (signed_or_unsigned_type, signed_type,
1379 unsigned_type): Remove.
1381 * objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
1382 LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
1384 2002-03-31 Richard Henderson <rth@redhat.com>
1386 * config/ia64/unwind-ia64.c (alloc_spill_area): Fix offset.
1387 (desc_frgr_mem): Fix reference to f16-f31.
1389 2002-03-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1391 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2,
1392 RTVEC_ELT): Const-ify.
1393 * varray.h (VARRAY_CHECK): Const-ify.
1394 * ggc.h (ggc_mark_rtx, ggc_mark_tree, ggc_mark_nonnull_tree,
1395 ggc_mark_rtvec, ggc_mark): Const-ify.
1397 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk>
1399 * diagnostic.c: Include langhooks-def.h.
1400 * Makefile.in (diagnostic.o): Update.
1402 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1404 * c-common.c (c_unsafe_for_reeval): Rename.
1405 * c-common.h (c_unsafe_for_reeval): Rename.
1406 * c-decl.c (finish_incomplete_decl): Rename.
1407 (c_init_decl_processing): Don't set langhook.
1408 * c-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
1409 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
1410 * c-objc-common.c (c_objc_common_init): Don't set langhook.
1411 * c-tree.h (finish_incomplete_decl): Rename.
1412 * langhooks-def.h (lhd_unsafe_for_reeval): New.
1413 (LANG_HOOKS_FINISH_INCOMPLETE_DECL, LANG_HOOKS_UNSAFE_FOR_REEVAL): New.
1414 (LANG_HOOKS_INITIALIZER): Update.
1415 * langhooks.c (lhd_unsafe_For_reeval): New.
1416 * langhooks.h (struct langhooks): New hooks.
1417 * toplev.c (incomplete_decl_finalize_hook): Remove.
1418 (wrapup_global_declarations): Update.
1419 * tree.c (lang_unsafe_for_reeval): Remove.
1420 (unsafe_for_reeval): Update.
1421 * tree.h (lang_unsafe_for_reeval, incomplete_decl_finalize_hook):
1424 * objc-lang.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL,
1425 LANG_HOOKS_UNSAFE_FOR_REEVAL): Redefine.
1427 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk>
1429 * diagnostic.c (print_error_function): Remove.
1430 (default_print_error_function): Rename.
1431 (report_error_function): Update.
1432 * diagnostic.h (print_error_function): Remove.
1433 (default_print_error_function): Remove.
1434 * langhooks-def.h (struct diagnostic_context): Predeclare.
1435 (lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
1436 (LANG_HOOKS_INITIALIZER): Update.
1437 * langhooks.h (struct diagnostic context): Predeclare.
1438 (struct lang_hooks): New hook.
1440 2002-03-31 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1442 * config/rs6000/rs6000.h (RS6000_PIC_OFFSET_TABLE_REGNUM): New.
1443 (PIC_OFFSET_TABLE_REGNUM): Use it and return INVALID_REGNUM if
1445 (CONDITIONAL_REGISTER_USAGE): Adjust accordingly.
1446 * config/rs6000/rs6000.h: Use RS6000_PIC_OFFSET_TABLE_REGNUM instead
1447 of PIC_OFFSET_TABLE_REGNUM thruout.
1448 * config/rs6000/rs6000.md: Likewise.
1449 * config/rs6000/darwin.h: Likewise.
1451 Sun Mar 31 14:43:24 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1453 * emit-rtl.c (adjust_address_1, offset_address): Cast value to
1454 unsigned HOST_WIDE_INT, not unsigned int.
1456 2002-03-31 Jakub Jelinek <jakub@redhat.com>
1458 PR middle-end/6096, middle-end/6098, middle-end/6099
1459 * reorg.c (emit_delay_sequence): Only increment LABEL_NUSES for
1461 (fill_slots_from_thread): Likewise.
1463 2002-03-31 Jakub Jelinek <jakub@redhat.com>
1465 * config/sparc/sparc.c (function_arg_record_value_1): Pass complex
1466 floating fields in float regs.
1467 (function_arg_record_value_2): Likewise.
1469 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
1471 * config/mmix/mmix.md (define_constants): Remove misleading
1472 FIXME. Add MMIX_fp_rO_OFFSET.
1473 ("nonlocal_goto_receiver"): Don't have stack-frame address of
1474 saved rO as part of the pattern. Remove FIXME.
1475 ("*nonlocal_goto_receiver_expanded"): Similar. Generate address
1476 here, at output-time.
1478 2002-03-31 Jakub Jelinek <jakub@redhat.com>
1481 * config/sparc/sparc.c (output_cbranch): Use REG_BR_PROB, not
1483 (output_v9branch): Likewise.
1485 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
1487 * gcc.c: Revert previous patch for now.
1488 * config/i386/djgpp.h: Likewise.
1490 2002-03-31 Hans-Peter Nilsson <hp@bitrange.com>
1492 * config/mmix/crti.asm (_init): Register _fini with atexit.
1493 * config/mmix/crtn.asm (_fini): Add omitted "POP 0,0".
1495 2002-03-31 Richard Henderson <rth@redhat.com>
1498 * config/alpha/elf.h (ASM_OUTPUT_DEF): Tidy.
1499 (ASM_OUTPUT_DEF_FROM_DECLS): New.
1501 2002-03-31 Richard Henderson <rth@redhat.com>
1503 * libgcc2.c (__bb_exit_func): Make static.
1505 * config/alpha/alpha.md (trap): New.
1507 2002-03-31 Richard Henderson <rth@redhat.com>
1509 * builtins.c (expand_builtin_va_arg): Give warnings not errors for
1510 promoted argument types; build trap.
1511 (expand_builtin_trap): New.
1512 (expand_builtin): Use it.
1513 * stmt.c (expand_nl_goto_receivers): Likewise.
1514 * expr.h (expand_builtin_trap): Declare.
1515 * libfuncs.h (LTI_abort, abort_libfunc): New.
1516 * optabs.c (init_optabs): Init abort_libfunc.
1518 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
1520 * gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...
1521 (LINK_COMMAND_SPEC): ... from here.
1522 (init_gcc_specs): Duplicate it here too, omitting
1523 shared_name in the second copy.
1524 (init_spec): Test for duplicate
1525 * config/i386/djgpp.h (LINK_COMMAND_SPEC): Remove `%L %G'.
1527 2002-03-30 David S. Miller <davem@redhat.com>
1529 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1530 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Likewise.
1532 2002-03-30 Roger Sayle <roger@eyesopen.com>
1533 Richard Henderson <rth@redhat.com>
1535 * regmove.c (combine_stack_adjustments_for_block): Avoid
1536 emitting a stack adjustment of zero bytes. Let delete_insn
1539 2002-03-30 Richard Henderson <rth@redhat.com>
1541 * config/sparc/sparc.c: Remove all references to TARGET_EPILOGUE.
1542 (sparc_emitting_epilogue): New.
1543 (leaf_label, output_return, sparc_return_peephole_ok): Remove.
1544 * config/sparc/sparc-protos.h: Update.
1545 * config/sparc/sparc.h (MASK_EPILOGUE, TARGET_EPILOGUE): Remove.
1546 (TARGET_SWITCHES): Update.
1547 * config/sparc/sparc.md (return): Remove.
1548 (return_*): Use sparc_emitting_epilogue, not !TARGET_EPILOGUE.
1549 * config/sparc/freebsd.h, config/sparc/linux64.h, config/sparc/lite.h,
1550 config/sparc/liteelf.h, config/sparc/netbsd-elf.h,
1551 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
1552 config/sparc/sp64-aout.h, config/sparc/sp64-elf.h,
1553 config/sparc/sp86x-aout.h, config/sparc/sp86x-elf.h,
1554 config/sparc/splet.h, config/sparc/vxsparc64.h (TARGET_DEFAULT):
1555 Remove MASK_EPILOGUE.
1556 * doc/invoke.texi: Update.
1558 2002-03-30 Daniel Berlin <dan@dberlin.org>
1560 * dwarf2out.c (dwarf2out_define): Remove start_source_file call,
1561 CPP will start the file for us.
1563 2002-03-30 Richard Henderson <rth@redhat.com>
1566 * config/ia64/ia64.c (group_barrier_needed_p): Special case
1567 prologue_allocate_stack.
1568 (ia64_single_set): Use insn codes for recognition of special
1569 cases, not rtl matching.
1570 * config/ia64/ia64.md (prologue_allocate_stack): Op 3 is in-out.
1572 Sat Mar 30 23:48:41 CET 2002 Jan Hubicka <jh@suse.cz>
1574 * cfgbuild.c (find_basic_blocks_1): Clear aux for blocks.
1576 2002-03-30 Richard Henderson <rth@redhat.com>
1579 * config/sparc/sparc.h (OVERRIDE_OPTIONS): Don't override -fpic
1580 or -fomit-frame-pointer with profiling.
1581 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
1582 (FUNCTION_PROFILER): Do nothing.
1583 (PROFILE_HOOK): New.
1584 * config/sparc/sparc.c (sparc_override_options): Don't check
1585 code models for profiling.
1586 (sparc_function_profiler): Remove.
1587 (sparc_profile_hook): New.
1588 * config/sparc/sparc-protos.h: Update.
1590 2002-03-30 Jakub Jelinek <jakub@redhat.com>
1592 PR optimization/6086
1593 * combine.c (combine_simplify_rtx): If simplify_rtx failed because
1594 of SUBREG of volatile MEM or because the MEM was mode dependent,
1595 return CLOBBER instead of unmodified SUBREG.
1597 Sat Mar 30 14:08:55 CET 2002 Jan Hubicka <jh@suse.cz>
1599 * local-alloc.c (local_alloc): Avoid call of update_equiv_regs
1600 when not optimizing.
1602 * toplev.c (rest_of_compilation): Cann mark_constant_function
1603 only when optimizing.
1605 * flow.c (calculate_global_regs_live): Ensure that all AUX fields
1608 * cfgcleanup.c (bb_flags): Add BB_NONTHREADABLE_BLOCK.
1609 (thread_jump): Set BB_NONTHREADABLE_BLOCK, check it.
1610 (try_optimize_cfg): clear all AUX fields.
1612 * i386.c (aligned_operand): Be prepared for SUBREGed registers.
1613 (ix86_decompose_address): Use REG_P instead of GET_CODE (...) == REG.
1614 (ix86_address_cost): Be prepared for SUBREGed registers.
1615 (legitimate_address_p): Accept SUBREGed registers.
1617 2002-03-29 Richard Henderson <rth@redhat.com>
1620 * expr.c (expand_expr): Pass along EXPAND_INITIALIZER one more place.
1622 2002-03-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1624 * config/rs6000/rs6000.c (rs6000_va_arg): Correctly set register count
1625 for aggregate and TFmode types.
1627 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
1629 * cfg.c (dump_flow_info): Guard against NULL regno_reg_rtx[i].
1631 2002-03-29 Richard Henderson <rth@redhat.com>
1634 * config/ia64/aix.h (CPP_PREDEFINES): Add -D_LP64.
1635 * config/ia64/hpux.h, config/ia64/linux.h: Likewise.
1637 2002-03-29 Richard Henderson <rth@redhat.com>
1640 * config/i386/i386.c (x86_arch_always_fancy_math_387): New.
1641 (override_options): Disable NO_FANCY_MATH_387 if the arch allows.
1642 * config/i386/i386.h (x86_arch_always_fancy_math_387): New.
1643 * config/i386/i386.md (sqrtxf2, sqrtextendsfxf2, sinxf2): Fix
1645 * docs/invoke.texi: Update -mno-fancy-math-387 docs.
1647 2002-03-29 Dale Johannesen <dalej@apple.com>
1649 * loop.c (combine_movables): Do allow combination of pseudos.
1651 2002-03-29 Loren J. Rittle <ljrittle@acm.org>
1653 * config.gcc (*-*-freebsd*): Enable creation of libgcc_s.so.
1654 * config/t-slibgcc-elf-ver (SHLIB_LC): Add macro and use it.
1655 No functional change except ...
1656 * config/t-slibgcc-nolc-override (SHLIB_LC): Override it. New file.
1657 * doc/install.texi (*-*-freebsd*): Document port configuration.
1659 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
1661 * Makefile.in (convert.o, calls.o, expmed.o): Update.
1662 * attribs.c (handle_mode_attribute, handle_vector_size_attribute):
1664 * builtin-types.def (BT_PTRMODE): Update.
1665 * c-common.c (type_for_size): Rename c_common_type_for_size.
1666 (type_for_mode): Similarly.
1667 (shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
1669 * c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
1670 * c-decl.c (finish_enum, build_enumerator): Use new hooks.
1671 * c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
1673 * c-typeck.c (common_type, comptypes, default_conversion):
1675 * calls.c: Include langhooks.h.
1676 (emit_library_call_value_1): Use new hooks. Avoid redundant
1678 * convert.c: Include langhooks.h
1679 (convert_to_pointer, convert_to_integer): Use new hooks.
1680 * except.c (init_eh): Similarly.
1681 * expmed.c: Include langhooks.h.
1682 (expand_mult_add): Use new hooks.
1683 * expr.c (store_expr, store_constructor, expand_expr, do_jump,
1684 try_casesi): Similarly.
1685 * fold-const.c (optimize_bit_field_compare, make_range,
1686 decode_field_reference, fold_truthop, fold): Similarly.
1687 * function.c (assign_stack_local_1, assign_stack_temp_for_type,
1688 put_var_into_stack): Similarly.
1689 * langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
1690 LANG_HOOKS_TYPE_FOR_SIZE): New.
1691 (LANG_HOOKS_TYPES_INITIALIZER): Update.
1692 * langhooks.h (lang_hooks_for_types): New hooks.
1693 * stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
1694 * tree.c (get_unwidened, get_narrower): Similarly.
1695 * tree.h (type_for_mode, type_for_size): Remove.
1696 * varasm.c (force_const_mem): Use new hooks.
1697 * utils2.c (nonbinary_modular_operation): Update.
1699 * objc-act.c (handle_impent): Update.
1700 * objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
1703 2002-03-29 Steve Ellcey <sje@cup.hp.com>
1705 * config/ia64/ia64.md (*ptr_extend_plus_1, *ptr_extend_plus_2): New.
1706 * config/ia64/ia64.c (basereg_operand): New.
1707 * config/ia64/ia64-protos.h (basereg_operand): Declare.
1708 * config/ia64/ia64.h (PREDICATE_CODES): Add basereg_operand.
1710 2002-03-29 Hans-Peter Nilsson <hp@bitrange.com>
1712 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Correct
1713 unwind information when frame_pointer_needed.
1714 (mmix_assemble_integer): Tweak wording in comment.
1716 2002-03-29 Neil Booth <neil@daikokuya.demon.co.uk>
1718 * Makefile.in (except.o): Update.
1719 * except.c: Include langhooks.h.
1720 (init_eh): Use langhook.
1721 * langhooks-def.h (LANG_HOOKS_MAKE_TYPE,
1722 LANG_HOOKS_FOR_TYPES_INITIALIZER): New.
1723 (LANG_HOOKS_INITIALIZER): Update.
1724 * langhooks.h (lang_hooks_for_types): New.
1725 (struct lang_hooks): Add it.
1726 * tree.c (make_lang_type_fn, make_lang_type): Remove.
1727 * tree.h (make_lang_type_fn, make_lang_type): Remove.
1729 * alpha/alpha.c: Include langhooks.h.
1730 (alpha_build_va_list): Use langhook.
1731 * d30v/d30v.c: Include langhooks.h.
1732 (d30v_build_va_list): Use langhook.
1733 * i386/i386.c: Include langhooks.h.
1734 (ix86_build_va_list): Use langhook.
1735 * rs6000/rs6000.c (rs6000_build_va_list): Use langhook.
1736 * s390/s390.c: Include langhooks.h.
1737 (s390_build_va_list): Use langhook.
1738 * stormy16/stormy16.c: Include langhooks.h.
1739 (stormy16_build_va_list): Use langhook.
1741 2002-03-29 Jakub Jelinek <jakub@redhat.com>
1744 * config/sparc/sparc.md (empty_delay_slot, branch_type): New
1746 (length): Compute variable length for branches/calls/jumps here.
1747 (branch, inverted_branch, normal_fp_branch, inverted_fp_branch,
1748 normal_fpe_branch, inverted_fpe_branch): Remove length attribute,
1749 define branch_type attribute.
1750 (divsi3_sp32): Maximum length is 6 not 7.
1751 (call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
1752 call_address_untyped_struct_value_sp32,
1753 call_symbolic_untyped_struct_value_sp32): Set length to 3 not 2.
1754 * config/sparc/sparc.c (empty_delay_slot): New function.
1755 * config/sparc/sparc.h (ADJUST_INSN_LENGTH): Remove.
1756 * config/sparc/sparc-protos.h (empty_delay_slot): Add prototype.
1758 2002-03-29 Jakub Jelinek <jakub@redhat.com>
1760 * combine.c (set_nonzero_bits_and_sign_copies): Don't call
1761 nonzero_bits if not needed.
1762 (nonzero_bits) [XOR]: Likewise.
1763 (nonzero_bits) [REG]: Use reg_last_set_nonzero_bits even if
1764 reg_last_set_mode and mode are both MODE_INT, but not equal.
1765 (record_value_for_reg): Compute reg_last_set_nonzero_bits
1766 in nonzero_bits_mode for MODE_INT modes.
1768 2002-03-28 Richard Henderson <rth@redhat.com>
1771 * config/alpha/osf.h (ASM_SPEC): Don't pass any special options
1772 to GAS. Correct drift between alternatives.
1774 2002-03-28 Richard Henderson <rth@redhat.com>
1777 * reload1.c (fixup_abnormal_edges): Move insn to edge via sequence.
1779 2002-03-28 Alexandre Oliva <aoliva@redhat.com>
1781 * config/i386/freebsd.h (LINK_SPEC): Don't pass default
1782 emulation to the linker.
1784 2002-03-28 Loren J. Rittle <ljrittle@acm.org>
1786 * config/alpha/freebsd.h (LINK_SPEC): Likewise.
1787 * config/sparc/freebsd.h (LINK_SPEC): Likewise.
1789 Thu Mar 28 16:35:31 2002 Jeffrey A Law (law@redhat.com)
1791 * combine.c (simplify_and_const_int): Make sure to apply mask
1792 when force_to_mode returns a constant integer. PR3311.
1794 2002-03-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
1796 * pa-linux.h (LOCAL_LABEL_PREFIX): Define.
1798 2002-03-28 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1800 * doc/invoke.texi (Warning Options): Refer to C++ Dialect Options
1801 and Objective-C Dialect Options.
1803 2002-03-28 Richard Henderson <rth@redhat.com>
1805 * config/alpha/alpha.c (alpha_emit_conditional_branch): TFmode NE
1806 comparison should be done vs !=0 not >0 return code. Tidy cases.
1808 2002-03-28 Richard Henderson <rth@redhat.com>
1810 * c-decl.c (finish_function): New arg can_defer_p. Pass it
1811 on to c_expand_body.
1812 * c-tree.h (finish_function): Update decl.
1813 * c-objc-common.c, c-parse.in, objc/objc-act.c: Update calls.
1815 Thu Mar 28 19:13:36 CET 2002 Jan Hubicka <jh@suse.cz>
1817 * ifcvt.c (if_convert): Clear aux_for_blocks early enought.
1819 Thu Mar 28 13:21:53 CET 2002 Jan Hubicka <jh@suse.cz>
1821 * rtlanal.c: Include flags.h
1822 (may_trap_p): Do not mark FP operations if trapping
1823 if !flag_trapping_math
1824 * Makefile.in (rtlanal.o): Add dependency on flag.h
1825 * ifcvt.c (noce_operand_ok): Avoid the lameness.
1827 2002-03-27 Zack Weinberg <zack@codesourcery.com>
1829 * mips.md: Use dconst1, not 1.0, as first argument of
1830 REAL_VALUE_LDEXP. Don't use union real_extract.
1832 2002-03-28 Alan Modra <amodra@bigpond.net.au>
1834 * configure.in (gcc_cv_as): Use $target_alias in directory searchs
1835 rather than $target. Heed program_prefix and
1836 program_transform_name. Search for gas in cross-compiler case too.
1837 "test -x" rather than "test -f".
1838 (gcc_cv_ld): Likewise.
1839 (gcc_cv_nm): Heed program_prefix and program_transform_name.
1840 (gcc_cv_objdump): Likewise.
1841 * configure: Regenerate.
1843 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1845 * Makefile.in (attribs.o): Update.
1846 * attribs.c: Include langhooks.h.
1847 (decl_attributes): Use langhook.
1848 * c-decl.c (insert_default_attributes): Rename.
1849 * c-tree.h (c_insert_default_attributes): New.
1850 * langhooks-def.h (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES):New.
1851 (LANG_HOOKS_INITIALIZER): Update.
1852 * langhooks.h (struct lang_hooks): New hook.
1853 * tree.h (insert_default_attributes): Remove.
1855 * objc-lang.c (LANG_HOOKS_INSERT_DEFAULT_ATTRIBUTES): Redefine.
1857 2002-03-27 Andreas Schwab <schwab@suse.de>
1859 * config/i386/i386.c (classify_argument): Also check for
1862 2002-03-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1864 * doc/install.texi (alpha*-dec-osf*): Don't need --enable-libgcj
1867 Wed Mar 27 23:19:30 CET 2002 Jan Hubicka <jh@suse.cz>
1869 * i960.md (ret): Set PC.
1870 (nonlocal_goto): Fix expander.
1871 * builtins.c (epxand_builin_longjmp): Check that we've emitted
1874 Wed Mar 27 23:11:35 CET 2002 Jan Hubicka <jh@suse.cz>
1876 * optabs.c (emit_no_conflict_block, emit_libcall_block): Avoid nesting
1879 Wed Mar 27 22:54:14 CET 2002 Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz>
1881 * cfgrtl.c (merge_blocks_nomove): Use set_block_for_insn instead of
1882 assigning to BLOCK_FOR_INSN directly.
1884 Wed Mar 27 22:33:05 CET 2002 Jan Hubicka <jh@suse.cz>
1886 * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
1888 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1890 * c-common.c (c_expand_expr): Fix prototype.
1891 * c-common.h (c_expand_expr): Always declare, update.
1892 * c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1893 * c-objc-common.c (c_objc_common_init): No global hook.
1894 * expr.c (expand_expr): Use langhook.
1895 * expr.h (enum expand_modifier): Conditionally declare.
1896 * langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
1897 (LANG_HOOKS_INITIALIZER): Update.
1898 * langhooks.c (lhd_expand_expr): New.
1899 * langhooks.h (struct lang_hooks): New hook.
1900 * toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
1901 (lang_independent_init): Don't default hook.
1903 * objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
1905 2002-03-27 Richard Henderson <rth@redhat.com>
1908 * config/ia64/ia64.c (ia64_expand_call): Use pic patterns for
1909 TARGET_CONST_GP. Simplify conditions.
1911 2002-03-27 Richard Henderson <rth@redhat.com>
1913 * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
1914 config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
1915 config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
1917 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
1919 * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
1920 TARGET_CYGWIN, TARGET_WINDOWS): Remove unused switches.
1921 (MASK_DLL, MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS):
1922 Remove unnecessary masks.
1923 (MASK_NOP_FUN_DLLIMPORT): Use an unused an bit.
1924 (SUBTARGET_SWITCHES): Use empty masks for -mwin32, -mcygwin,
1925 -mwindows, -mdll switches and their negations.
1927 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk>
1929 * gcc-common.c (lang_mark_false_label_stack): Remove.
1930 * ggc.h (lang_mark_false_label_stack): Similarly.
1932 2002-03-26 Vladimir Makarov <vmakarov@redhat.com>
1934 * pa/pa-pro-end.h (CPP_PREDEFINES): Add -D__pro__.
1936 * pa/lib2funcs.asm: Don't use .SPACE and .SUBSPACE if __pro__
1937 or __rtems_ is defined.
1939 2002-03-26 Richard Henderson <rth@redhat.com>
1941 * config/alpha/alpha.c (alpha_emit_set_const): Add a REG_EQUAL note
1942 if a non-trivial load was emitted.
1943 (alpha_emit_set_const_1): Remove obsolete extension. Fix thinko
1944 in high+extra+low case.
1946 2002-03-26 Richard Henderson <rth@redhat.com>
1948 * config.gcc (sparc*-solaris): Use float_format=sparc.
1950 2002-03-26 Richard Henderson <rth@redhat.com>
1952 * config/sparc/sparc.h (MAX_WCHAR_TYPE_SIZE): Don't define.
1953 * config/sparc/linux-aout.h (MAX_WCHAR_TYPE_SIZE): Don't undef.
1954 * config/sparc/linux.h, config/sparc/linux64.h: Likewise.
1955 * config/sparc/sol2.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Redefine.
1956 (WINT_TYPE_SIZE): Fix at 32.
1958 2002-03-26 Richard Henderson <rth@redhat.com>
1960 * toplev.c (rest_of_compilation): Delay emit_initial_value_sets
1961 until after eh landing pad generation.
1962 * config/alpha/alpha.c (alpha_gp_save_rtx): Use gen_mem_addressof.
1963 * config/alpha/alpha.md (exception_receiver_2): Only accept MEMs.
1965 2002-03-26 Richard Henderson <rth@redhat.com>
1967 * expr.h (ADD_PARM_SIZE): One more convert for INC.
1969 2002-03-26 Phil Edwards <pme@gcc.gnu.org>
1971 * gcc.c (cpp_options): Preserve relative ordering of -pedantic
1972 and warning switches.
1973 (cc1_options): Likewise.
1975 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
1977 * config/ia64/linux.h (MD_FALLBACK_FRAME_STATE_FOR):
1978 Restore more of the signal context. Set no_reg_stack_frame.
1979 * config/ia64/unwind-ia64.c (unw_state_record):
1980 Add no_reg_stack_frame, comments.
1981 (uw_frame_state_for): Initialize when field to UNW_WHEN_NEVER.
1982 (uw_update_context): Adjust bsp when unwinding from leaf,
1983 but not signal frame.
1985 2002-03-26 David Edelsohn <edelsohn@gnu.org>
1987 * config/rs6000/aix51.h (WCHAR_TYPE): Define.
1989 2002-03-26 Bob Wilson <bob.wilson@acm.org>
1991 * config/xtensa/xtensa.c (xtensa_va_arg): Handle variable-sized types.
1993 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
1996 * arm.md (define_asm_attributes): Reapply patch of Thu Sep 9, 1999:
1997 "Add a pool_range attribute", which was lost during the ARM/Thumb
2000 2002-03-26 Bob Wilson <bob.wilson@acm.org>
2002 * config/xtensa/xtensa.c (xtensa_valid_move): Allow move from
2003 a register into the MAC16 accumulator.
2005 2002-03-26 Andrew Cagney <ac131313@redhat.com>
2007 * doc/invoke.texi (Option Summary): Mention -Wswitch-enum.
2008 (Warning Options): Document -Wswitch-enum.
2009 * toplev.c (W_options): Add -Wswitch-enum. Update comment on
2011 (warn_switch_enum): Define variables.
2012 * flags.h (warn_switch_enum): Declare variables.
2013 * stmt.c (expand_end_case_type): When warn_switch_enum /
2014 -Wswitch-enum, perform switch checks.
2017 2002-03-26 Richard Earnshaw <rearnsha@arm.com>
2019 * arm.md (reload_mulsi3, reload_mulsi_compare0, reload_muladdsi)
2020 (reload_mulsi_compare0_scratch, reload_muladdsi_compare0)
2021 (reload_muladdsi_compare0_scratch): Delete.
2023 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
2025 * doc/install.texi (*-*-freebsd*): Update.
2027 2002-03-26 Richard Henderson <rth@redhat.com>
2029 * expr.h (ADD_PARM_SIZE): Cast INC to ssizetype.
2030 (SUB_PARM_SIZE): Cast DEC to ssizetype.
2032 * config/alpha/alpha.c (alpha_va_arg): Read MUST_PASS_IN_STACK
2033 types from the normal argument frame.
2035 * config/sparc/sparc.c (function_arg_pass_by_reference): Pass
2036 variable sized objects by reference.
2037 (sparc_va_arg): Receive them by reference too.
2039 2002-03-26 Hartmut Penner <hpenner@de.ibm.com>
2041 * config/s390/s390.c (s390_emit_epilogue): Change epilogue
2042 code to not restoring global registers.
2044 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk>
2046 * Makefile.in (ggc-common.o): Update.
2047 * c-decl.c (lang_mark_tree): Rename c_mark_tree.
2048 * c-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
2049 * c-tree.h (c_mark_tree): New.
2050 * ggc-common.c: Include langhooks.h.
2051 (gcc_mark_trees): Use new langhook.
2052 * ggc-callbacks.c: Delete file.
2053 * ggc.h (lang_mark_tree): Remove.
2054 * langhooks-def.h (LANG_HOOKS_MARK_TREE): New.
2055 (LANG_HOOKS_INITIALIZER): Update.
2056 * langhooks.h (struct lang_hooks): New hook.
2058 * objc-lang.c (LANG_HOOKS_MARK_TREE): Redefine.
2060 2002-03-25 Zack Weinberg <zack@codesourcery.com>
2062 * doc/cpp.texi: Exclude entire Top node from printed manual.
2063 Move option index after directive index. Insert page breaks
2064 before GFDL and concept index. Index environment variables
2065 with command line options.
2066 * doc/cppenv.texi: Use @vtable for environment variable list.
2067 Add paragraph explaining semantics of empty elements in path
2068 variables. Exclude a cross-reference to Fishkill from the
2069 manpage. Remove an unnecessary cross-reference of the entry
2070 right above the referer. Don't use @anchor in text that goes
2072 * doc/cppopts.texi: Cross-reference the environment variables
2073 section, not the specific environment variable, for consistency.
2075 2002-03-25 Richard Henderson <rth@redhat.com>
2077 * recog.c (peephole2_optimize): Distribute EH_REGION -1 notes
2078 anywhere in the block. Don't refer to insns that have been
2079 removed from the chain. Iterate backward through the new insns.
2080 Don't refer to edges that have been removed.
2082 2002-03-26 Alan Modra <amodra@bigpond.net.au>
2084 * combine.c (simplify_comparison <ASHIFTRT, LSHIFTRT>): Correct
2085 test for overflow of constant.
2087 2002-03-25 Richard Earnshaw <rearnsha@arm.com>
2090 * arm.md (loadhi_preinc, loadhi_predec, loadhi_shiftpreinc)
2091 (loadhi_shiftpredec, loadhi-with-writeback peephole): Don't use
2092 these patterns on arm_archv4.
2094 2002-03-25 Danny Smith <dannysmith@sourceforge.users.net>
2096 * config/i386/mingw32.h (WINT_TYPE): Define as "short unsigned
2099 2002-03-25 Zack Weinberg <zack@codesourcery.com>
2101 * toplev.c: Don't include setjmp.h. Kill float_handler_set,
2102 float_handled, float_handler, float_signal, set_float_handler,
2103 and do_float_handler. Set handler for SIGFPE to crash_signal.
2104 * toplev.h: Don't prototype do_float_handler.
2106 * c-lex.c: Fold parse_float into lex_number. Make warning
2107 about portability of hex float constants more informative, and
2108 don't issue it on top of a syntax error.
2109 * fold-const.c: Fold const_binop_1 and fold_convert_1 into
2111 * real.h: Define REAL_VALUE_ABS here...
2112 * simplify-rtx.c: ... not here. Fold check_fold_consts,
2113 simplify_unary_real, simplify_binary_real, and
2114 simplify_binary_is2orm1 into their callers.
2115 * tree.c: Fold build_real_from_int_cst_1 into caller.
2117 * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE.
2119 * tsystem.h: Include float.h here...
2120 * libgcc2.c: ... not here.
2122 2002-03-25 Nick Clifton <nickc@cambridge.redhat.com>
2124 Fixes for: PR bootstrap/3591, target/5676
2125 * config/mcore/mcore.h (CC1_SPEC): Define only if not already
2126 defined. Do not disable exceptions or rtti.
2127 * config/mcore/mcore-pe.h (CC1_SPEC): Define before including
2128 mcore.h. Disable exceptions and rtti, since they are not
2131 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk>
2133 * c-decl.c (maybe_build_cleanup): Remove.
2134 * expr.c (expand_expr): Use langhook.
2135 * langhooks-def.h (lhd_return_null_tree,
2136 LANG_HOOKS_MAYBE_BUILD_CLEANUP): New.
2137 (LANGHOOKS_INITIALIZER): Update.
2138 * langhooks.c (lhd_return_null_tree): New.
2139 * langhooks.h (struct lang_hooks): New hook.
2140 * tree-inline.c (initialize_inlined_parameters): Use langhook.
2141 * tree.h (maybe_build_cleanup): Remove.
2143 2002-03-25 Jakub Jelinek <jakub@redhat.com>
2145 * regrename.c (build_def_use): Move recog_memoized
2146 before extract_insn.
2148 2002-03-25 Jakub Jelinek <jakub@redhat.com>
2151 * expr.c (emit_group_store): Handle storing into CONCAT.
2153 2002-03-25 Jakub Jelinek <jakub@redhat.com>
2155 * regrename.c (build_def_use): Share RTL between MATCH_OPERATOR and
2156 corresponding MATCH_DUP.
2158 2002-03-24 Richard Henderson <rth@redhat.com>
2160 * unroll.c (unroll_loop): Zero label_map.
2162 * gcse.c: Include except.h.
2163 * Makefile.in (gcse.o): Update.
2165 2002-03-24 Richard Henderson <rth@redhat.com>
2167 * varasm.c (asm_emit_uninitialised): Revert 2002-03-14 change.
2168 Do resolve_unique_section before shared data clause.
2170 2002-03-24 Richard Henderson <rth@redhat.com>
2172 * config/alpha/elf.h (STARTFILE_SPEC): Use crtbeginT with -static.
2174 2002-03-24 Richard Henderson <rth@redhat.com>
2176 * recog.c (peephole2_optimize): Split blocks when EH insns are
2177 generated in the middle of a block. Do global life update if
2180 2002-03-24 Richard Henderson <rth@redhat.com>
2182 * mips.c (mips_function_value): Only promote_mode for non-libcalls.
2184 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
2187 * gcc.c (cpp_options): Pass -MD through as -MD not -M -MF.
2188 * cppinit.c (cpp_handle_option): Set no_ouput if -MD or -MMD.
2189 (init_dependency_output): Don't make no_output decision here.
2191 2002-03-24 Andrew Cagney <ac131313@redhat.com>
2193 * stmt.c (check_for_full_enumeration_handling): Remove tests of
2194 warn_switch. Update description.
2195 (expand_end_case_type): Call check_for_full_enumeration_handling
2198 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2200 * config/m68hc11/m68hc11.c (m68hc11_autoinc_compatible_p): New function.
2201 (m68hc11_split_move): Call it to see if the source and destination
2202 operands use the same direction auto inc/dec mode, otherwise make the
2203 source an offsetable memory operand and generate an add.
2205 2002-03-24 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2207 * config/m68hc11/m68hc11.md ("*subsi3_zero_extendhi"): Allow address
2208 register for operand 2.
2209 ("*subsi3_zero_extendqi"): Likewise.
2210 ("*iorhi3_gen"): Do the operation on the upper bits and then lower
2211 bits so that it is compatible with a pop.
2212 ("*andhi3_gen"): Likewise.
2213 ("xorhi3"): Likewise.
2215 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
2217 * cppinit.c (cpp_handle_option): Set warn_endif_labels if
2219 (cpp_post_options): ... not here.
2221 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk>
2222 Aldy Hernandez <aldyh@redhat.com>
2224 Removal of separate preprocessor cpp0.
2226 * Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
2227 cpp0, install-common): Update.
2228 * c-common.c (flag_preprocess_only): New.
2229 (c_common_init): Preprocess for -E.
2230 * c-common.h (flag_preprocess_only): New.
2231 * c-decl.c (c_decode_option): Handle -E and -std=c++98.
2232 * c-objc-common.c (c_init_decl_processing): Exit quickly
2233 for NULL return from c_common_init.
2234 * cpplib.h (cpp_preprocess_file): New.
2235 * cppmain.c (main, general_init, pfile, progname): Remove.
2236 (do_preprocessing): Rename cpp_preprocess_file, don't call
2237 cpp_finish. Don't close stdout here.
2238 (setup_callbacks): Update prototype.
2239 * gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
2241 * tradcpp.c (main): Ignore -quiet.
2243 * lang-specs.h (default_compilers): Preprocess with cc1obj.
2245 2002-03-24 Richard Henderson <rth@redhat.com>
2247 PR optimization/5742
2248 * machmode.def: Add inner mode field to complex modes.
2249 * config/mips/mips.c (mips_function_value): Always define. Add
2250 new argument to handle libcalls.
2251 * config/mips/mips.h (LIBCALL_VALUE): Use mips_function_value.
2252 (FUNCTION_VALUE): Likewise.
2253 * config/mips/abi64.h (FUNCTION_VALUE): Remove.
2254 * config/mips/mips-protos.h: Update.
2256 2002-03-23 Richard Henderson <rth@redhat.com>
2258 * config/sparc/sparc.c (sparc_emit_floatunsdi): New.
2259 * config/sparc/sparc-protos.h: Update.
2260 * config/sparc/sparc.md (floatunsdisf2, floatunsdidf2): New.
2262 2002-03-23 Richard Henderson <rth@redhat.com>
2264 * config/sparc/gmon-sol2.c (internal_mcount): Assume either
2265 _start or _init begins the text segment.
2267 2002-03-23 David Edelsohn <edelsohn@gnu.org>
2269 * config/rs6000/rs6000.h (RETURN_IN_MEMORY): Cast to HOST_WIDE_INT
2270 not HOST_WIDEST_INT.
2271 (RS6000_ARG_SIZE): Remove unsigned cast of int_size_in_bytes.
2273 2002-03-23 Richard Earnshaw <rearnsha@arm.com>
2276 * arm.md (return, sibcall_epilogue): Pass const_true_rtx as the
2277 operand argument to output_return_instruction.
2278 * arm.c (arm_print_operand, case 'd'): If the operand is
2279 const_true_rtx then just return.
2280 (arm_print_operand, case 'D'): If the operand is const_true_rtx
2283 2002-03-23 Andrew Cagney <ac131313@redhat.com>
2285 * doc/invoke.texi (Option Summary): Mention -Wswitch-default.
2286 (Warning Options): Document -Wswitch-default.
2287 * toplev.c (W_options): Add -Wswitch-default. Update comment on
2289 (warn_switch_default): Define variable.
2290 (warn_switch): Update comment.
2291 * flags.h (warn_switch_default): Declare variable.
2292 (warn_switch): Update comment.
2293 * stmt.c (expand_end_case): Check for and, when
2294 warn_switch_no_default, warn of a missing default case.
2296 2002-03-23 Alan Modra <amodra@bigpond.net.au>
2298 * real.h (N): Special case 128 bit doubles.
2300 * combine.c (simplify_comparison): When widening modes, ignore
2301 sign extension on CONST_INTs.
2303 2002-03-22 Bob Wilson <bob.wilson@acm.org>
2305 * config/xtensa/xtensa.c (print_operand): Fix incorrect mode
2306 passed to adjust_address. Fix comment formatting.
2309 2002-03-22 Zack Weinberg <zack@codesourcery.com>
2311 * real.h: Don't define REAL_INFINITY or REAL_IS_NOT_DOUBLE.
2312 Always make REAL_VALUE_TYPE a struct containing an array of
2313 HOST_WIDE_INT, not a double. Tidy up the code deciding how
2314 big it is. Don't declare or use union real_extract.
2316 * emit-rtl.c (init_emit_once), varasm.c (immed_real_const_1,
2317 decode_rtx_const, output_constant_pool), config/a29k/a29k.c
2318 (print_operand), config/arm/arm.c (output_move_double),
2319 config/arm/arm.md (consttable_4, consttable_8),
2320 config/romp/romp.c (output_fpops), config/s390/s390.h
2321 (ASM_OUTPUT_SPECIAL_POOL_ENTRY), config/xtensa/xtensa.c
2322 (xtensa_output_literal): Don't use union real_extract.
2324 * config/dsp16xx/dsp16xx.c (print_operand), config/i860/i860.c
2325 (sfmode_constant_to_ulong), config/ns32k/merlin.h
2326 (PRINT_OPERAND), config/ns32k/ns32k.c (print_operand),
2327 config/pdp11/pdp11.h (PRINT_OPERAND), config/we32k/we32k.h
2328 (PRINT_OPERAND): Don't use local version of union
2331 * config/convex/convex.c (check_float_value), config/vax/vax.c
2332 (vax_float_literal), config/m88k/m88k.md (divdf3),
2333 config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2),
2334 config/pdp11/pdp11.c (output_move_quad): Don't do host
2335 arithmetic on target floating point quantities.
2337 * config/a29k/a29k.md, config/dsp16xx/dsp16xx.c
2338 (output_dsp16xx_float_const): Don't test HOST_FLOAT_FORMAT.
2340 * fold-const.c (fold), simplify-rtx.c (simplify_binary_real):
2341 Use MODE_HAS_INFINITIES rather than #ifdef REAL_INFINITY.
2343 * real.c (earith): Test INFINITY rather than REAL_INFINITY;
2344 NANS implies INFINITY, so can drop #ifdef NANS inside #ifndef
2346 * print-rtl.c (print_rtx): Disable code which needs
2347 floating-point emulator.
2348 * libgcc2.c: Include float.h and use DBL_MANT_DIG,
2349 FLT_MANT_DIG, to define DF_SIZE and SF_SIZE, rather than
2350 depending on HOST_FLOAT_FORMAT to be defined properly.
2352 * config/1750a/1750a.c (get_double, float_label): Delete.
2353 (print_operand): Delete huge commented-out chunk. Use
2354 REAL_VALUE_TO_DECIMAL.
2355 * config/1750a/1750a-protos.h: Delete prototypes of deleted
2357 * config/convex/convex.h: Always set TARGET_FLOAT_FORMAT to
2359 * config/i370/i370.h (PRINT_OPERAND [TARGET_HLASM version]):
2360 Use REAL_VALUE_TO_DECIMAL as ELF version does.
2361 * config/m88k/m88k.c (real_power_of_2_operand,
2362 legitimize_operand): Take the REAL_VALUE_TYPE and/or union
2363 real_extract out of the union; run the input through
2364 REAL_VALUE_TO_TARGET_DOUBLE, then plug the pair of longwords
2365 from that into the union.
2366 * config/pdp11/pdp11.c (output_move_double): Rearrange
2367 parentheses to make automatic indenter happy.
2369 * doc/tm.texi (Cross-compilation): Rename node to "Floating
2370 Point" and rewrite to describe current situation. Also adjust
2371 documentation of REAL_VALUE_TO_TARGET_SINGLE and friends to
2373 * doc/rtl.texi: Adjust cross reference.
2375 2002-03-22 Bob Wilson <bob.wilson@acm.org>
2377 * config/xtensa/xtensa-protos.h (non_acc_reg_operand): Remove.
2378 (xtensa_valid_move, xtensa_preferred_reload_class): Define.
2379 * config/xtensa/xtensa.c (non_acc_reg_operand): Remove.
2380 (xtensa_valid_move, xtensa_preferred_reload_class): Define to
2381 prevent use of sp as a reload register.
2382 (xtensa_emit_move_sequence): Use xtensa_valid_move instead of
2383 non_acc_reg_operand.
2384 * config/xtensa/xtensa.h (PREDICATE_CODES): Remove non_acc_reg_operand.
2385 (PREFERRED_RELOAD_CLASS): Move code to xtensa_preferred_reload_class.
2386 * config/xtensa/xtensa.md (movsi_internal, movhi_internal,
2387 movqi_internal): Use xtensa_valid_move instead of non_acc_reg_operand.
2389 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
2391 * cpphash.h (struct cpp_reader): Remove mls_line and mls_col.
2392 * cpplex.c (unterminated): Delete.
2393 (parse_string): No string literal may extend over multiple
2394 lines. Suppress the error when preprocessing assembly.
2395 * cppmain.c (scan_translation_unit): Strings are single-line.
2397 * doc/cpp.texi: Update to match.
2399 2002-03-22 Jakub Jelinek <jakub@redhat.com>
2401 PR optimization/5854
2402 * config/m68hc11/m68hc11.h (CONST_OK_FOR_LETTER_VALUE_P): Use K for 0.
2404 (CONST_DOUBLE_OK_FOR_LETTER_P): Use G for 0.0.
2405 (EXTRA_CONSTRAINT): Use S for non-push memory operand.
2406 * config/m68hc11/m68hc11.c (m68hc11_split_move): Handle setting from
2407 const0 if scratch register was not allocated.
2408 (m68hc11_reload_operands, m68hc11_gen_lowpart, m68hc11_gen_highpart,
2409 m68hc11_z_replacement): Replace gen_rtx (CONST_INT, VOIDmode, ...)
2411 (m68hc11_reorg): Compute BLOCK_FOR_INSN before reload_cse_regs.
2412 * config/m68hc11/m68hc11.md: Replace gen_rtx (CONST_INT, VOIDmode, ...)
2413 with GEN_INT (...) everywhere. Remove constraints in define_split
2415 (movdi_internal, movdf_internal, movsi_internal, movsf_internal): Don't
2416 require scratch register for setting 0 into regs/non-pushable memory.
2418 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
2420 * config/mips/mips.h (MASK_RETURN_ADDR): Define.
2421 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
2423 2002-03-22 Phil Edwards <pme@gcc.gnu.org>
2425 * cpplib.h (struct cpp_options): New member, warn_endif_labels.
2426 * cppinit.c (cpp_create_reader): On by default.
2427 (cpp_handle_option): Handle -W[no-]endif-labels.
2428 (cpp_post_options): Also enable if -pedantic.
2429 * cpplib.c (do_else): Use it.
2430 (do_endif): Likewise.
2431 * doc/cppopts.texi: Document new option.
2432 * doc/invoke.texi: Document new option.
2434 2002-03-22 Lars Brinkhoff <lars@nocrew.org>
2436 * config/i386/i386.c, config/i386/i386.md: Change all occurences
2437 of GEN_INT (trunc_int_for_mode (...)) to gen_int_mode (...).
2439 2002-03-22 Alexandre Oliva <aoliva@redhat.com>
2441 * flow.c (calculate_global_regs_live): Clear aux fields of
2444 2002-03-22 Jakub Jelinek <jakub@redhat.com>
2446 * config/v850/v850.c (v850_reorg): Only call alter_subreg on
2447 REG or MEM subregs, pass rtx * instead of rtx to it.
2448 * config/i860/i860.c (output_delayed_branch, output_delay_insn): Pass
2449 rtx * instead of rtx to alter_subreg.
2450 * config/m32r/m32r.c (gen_split_move_double): Likewise.
2451 * config/pj/pj.c (pj_output_rval): Likewise.
2453 2002-03-22 Richard Henderson <rth@redhat.com>
2456 * config/ia64/ia64.h (CUMULATIVE_ARGS): Add int_regs.
2457 (INIT_CUMULATIVE_ARGS, INIT_CUMULATIVE_INCOMING_ARGS): Update.
2458 * config/ia64/ia64.c (ia64_function_arg_advance): Set int_regs.
2459 (ia64_expand_prologue): Look at int_regs, not words, for number
2460 of incomming int regs.
2462 2002-03-22 Andrew MacLeod <amacleod@redhat.com>
2464 * expr.c (expand_expr): A RESULT_DECL is part of a call.
2466 Fri Mar 22 16:30:42 CET 2002 Jan Hubicka <jh@suse.cz>
2468 * toplev.c (flag_loop_optimize, flag_crossjumping):
2469 New static variables.
2470 (rest_of_compilation): Conditionalize crossjumping and
2472 (parse_options_and_default_flags): Default loop_optimize and
2474 (lang_independent_options): Add -fcrossjumping and -floop-optimize
2475 * invoke.texi (crossjumping, loop-optimize): Document.
2477 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
2479 * real.c (eiisneg): Move outside #ifdef NANS.
2481 Fri Mar 22 12:08:36 CET 2002 Jan Hubicka <jh@suse.cz>
2483 * cfgcleanup.c (outgoing_edges_math): Fix condition; relax
2484 frequencies match; avoid match on different loop depths.
2485 (try_crossjump_to_bb): Kill tests that no longer brings time
2487 * cfgrtl.c (force_nonfallthru_and_redirect): Fix loop_depth
2489 (split_edge): Likewise.
2491 * flow.c (update_life_info_in_dirty_blocks): Fix uninitialized
2494 * Makefile.in (cfgrtl): Add insn-config.h depenendency.
2495 * cfgrtl.c: Include insn-config.h
2496 (split_block) Dirtify block in presence of conditional execution
2498 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
2500 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Undefine.
2501 * config/mips/mips-protos.h (mips_setup_incoming_varargs): Declare.
2502 (function_arg): Constify CUMULATIVE_ARGS.
2503 (function_arg_partial_nregs, function_arg_pass_by_reference): Likewise.
2504 * config/mips/mips.h (UNITS_PER_FPVALUE): Zero when TARGET_SOFT_FLOAT.
2505 (UNITS_PER_DOUBLE): New macro.
2506 (SETUP_INCOMING_VARARGS): Define. Use mips_setup_incoming_varargs.
2507 (CUMULATIVE_ARGS): Reformat. Remove num_adjusts workaround and
2508 last_arg_fp field. Replace arg_words and fp_arg_words with gp_regs,
2509 fp_regs and stack_words.
2510 (EABI_FLOAT_VARARGS_P): New macro.
2511 * config/mips/mips.c (struct mips_arg_info): New.
2512 (mips_arg_info): New function.
2513 (function_arg_advance): Use it. Add adjustment instructions here
2514 rather than in function_arg.
2515 (function_arg): Constify CUMULATIVE_ARGS. Use mips_arg_info. Check
2516 for VOIDmode at the beginning of the function.
2517 (function_partial_nregs): Constify CUMULATIVE_ARGS. Use mips_arg_info.
2518 (function_arg_pass_by_reference): Likewise.
2519 (mips_setup_incoming_varags): New, largely based on old abi64.h code.
2520 (mips_build_va_list): Test EABI_FLOAT_VARARGS_P.
2521 (mips_va_start): Likewise. Use the new stack_words field of
2522 CUMULATIVE_ARGS to set up overflow area. Reformat.
2523 (mips_va_arg): Test EABI_FLOAT_VARARGS_P. Unify EABI handling of
2524 doubles and other types, aligning the overflow pointer for non-doubles
2525 too. Remove some code duplication. Replace hard-coded constants.
2527 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
2529 * config/mips/mips.h (FUNCTION_ARG_REGNO_P): Simplify.
2530 (CLASS_UNITS): Undefine.
2531 (CLASS_MAX_NREGS): Use FP_INC.
2532 * config/mips/mips.c (compute_frame_size): Likewise.
2533 (override_options): Use FP_INC and UNITS_PER_FPVALUE.
2535 2002-03-22 Neil Booth <neil@daikokuya.demon.co.uk>
2537 * cpplex.c (parse_identifier_slow): Rename parse_slow, adjust
2538 prototype, and handle lexing numbers and identifiers.
2539 (parse_identifier): Update to new form of parse_slow.
2540 (parse_number): Fast path only, use parse_slow otherwise.
2541 (_cpp_lex_direct): Update calls to parse_number.
2543 2002-03-21 DJ Delorie <dj@redhat.com>
2545 * bb-reorder.c (make_reorder_chain_1): Protect against
2546 when redundant edges are omitted.
2547 * predict.c (dump_prediction): Likewise.
2549 2002-03-21 Richard Henderson <rth@redhat.com>
2552 * fixinc/inclhack.def (solaris_stdio_tag): New.
2553 * fixinc/fixincl.x: Regenerate.
2555 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
2558 * c-typeck.c (process_init_element): Flag non-static
2559 initialization of a flexible array member as illegal.
2561 2002-03-22 Alan Modra <amodra@bigpond.net.au>
2563 * config/rs6000/t-linux64: New.
2564 * config.gcc (powerpc64-*-linux* <tmake_file>): Drop t-ppcos and
2565 t-ppccomm. Use t-rs6000 and t-linux64.
2566 (powerpc64-*-gnu* <tmake_file>): Likewise.
2567 * mklibgcc.in (SHLIB_MKMAP_OPTS): New variable.
2568 * mkmap-symver.awk (dotsyms): If set, output .foo as well as foo.
2569 * Makefile.in (SHLIB_MKMAP_OPTS): Pass to mklibgcc.
2571 2002-03-21 Aldy Hernandez <aldyh@redhat.com>
2573 * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Check
2574 flag_really_no_inline instead of optimize == 0.
2576 * c-objc-common.c (c_cannot_inline_tree_fn): Same.
2578 * cp/tree.c (cp_cannot_inline_tree_fn): Same.
2580 * flags.h (flag_really_no_inline): New.
2582 * c-common.c (c_common_post_options): Initialize
2583 flag_really_no_inline.
2585 * toplev.c (flag_really_no_inline): New.
2587 2002-03-21 Jakub Jelinek <jakub@redhat.com>
2589 * config/avr/avr.md (length): Fix length computation for
2590 conditional branches.
2592 2002-03-21 Neil Booth <neil@daikokuya.demon.co.uk>
2594 * Makefile.in (fold-const.o, stor-layout.o, stmt.o,
2595 sdbout.o, profile.o): Update.
2596 * c-common.c (c_common_nodes_and_builtins): Use pushdecl
2598 * c-common.h (gettags): Move here from tree.h.
2599 * c-tree.h (pushdecl, pushlevel, poplevel, set_block,
2600 insert_block, getdecls, kept_level_p, global_bindings_p): New.
2601 * dbxout.c (dbxout_init): Use getdecls langhook.
2602 * expr.c (expand_expr): Use insert_block langhook.
2603 * fold-const.c: Include langhooks.h.
2604 (fold_range_test, fold_binary_op_with_conditional_arg,
2605 fold): Use global_bindings_p langhook.
2606 * integrate.c (expand_inline_function): Use insert_block langhook.
2607 * langhooks-def.h (LANG_HOOKS_DECLS, LANG_HOOKS_PUSHLEVEL,
2608 LANG_HOOKS_POPLEVEL, LANG_HOOKS_GLOBAL_BINDINGS_P,
2609 LANG_HOOKS_INSERT_BLOCK, LANG_HOOKS_SET_BLOCK, LANG_HOOKS_PUSHDECL,
2610 LANG_HOOKS_GETDECLS): New.
2611 (LANG_HOOKS_INITIALIZER): Update.
2612 * langhooks.c (lhd_clear_binding_stack): Use global_bindings_p
2614 * langhooks.h (struct lang_hooks_for_decls): New.
2615 (struct lang_hooks): Update.
2616 * profile.c: Include langhooks.h.
2617 (output_func_start_profiler): Use new langhooks.
2618 * sdbout.c: Include langhooks.h.
2619 (sdbout_init, sdbout_finish): Use getdecls langhook.
2620 * stmt.c: Include langhooks.h.
2621 (expand_fixup, fixup_gotos): Use new langhooks.
2622 * stor-layout.c: Include langhooks.h.
2623 (variable_size): Use global_bindings_p langhook.
2624 * toplev.c (compile_file): Use getdecls langhook.
2625 * tree-inline.c (remap_block): Use insert_block langhook.
2626 * tree.h (pushdecl, pushlevel, poplevel, set_block, gettags,
2627 insert_block, getdecls, kept_level_p, global_bindings_p): Remove.
2629 2002-03-21 Richard Henderson <rth@redhat.com>
2631 * config/rs6000/rs6000.c (rs6000_select_rtx_section): Put symbolic
2632 constants in .data when -fpic.
2634 2002-03-21 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2636 * doc/contrib.texi (Contributors): Use GNU/Linux instead of Linux
2639 2002-03-21 Tom Tromey <tromey@redhat.com>
2641 * config/i386/sol2.h (ASM_QUAD): Undef. Fixes PR bootstrap/5948.
2643 Thu Mar 21 09:50:48 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2645 * config/ia64/ia64.c (hfa_element_mode, case ARRAY_TYPE): Recurse.
2647 * expr.c (emit_group_store): Don't copy const0_rtx to a CONCAT.
2649 2002-03-21 Eric Botcazou <ebotcazou@multimania.com>
2650 Richard Henderson <rth@redhat.com>
2653 * c-common.c (c_expand_expr): Preserve result of a statement
2654 expression if needed.
2656 2002-03-21 Jakub Jelinek <jakub@redhat.com>
2659 * genrecog.c (maybe_both_true_mode): Remove.
2660 (maybe_both_true_2, write_switch): Revert 2001-07-17 changes.
2661 * machmode.def (Pmode): Likewise.
2663 Thu Mar 21 01:55:06 EST 2002 John Wehle (john@feith.com)
2665 * alias.c: (nonlocal_mentioned_p): Use for_each_rtx.
2666 (nonlocal_mentioned_p_1): New function.
2667 (nonlocal_referenced_p, nonlocal_referenced_p_1): Likewise.
2668 (nonlocal_set_p, nonlocal_set_p_1): Likewise.
2669 (mark_constant_function): Recognize pure functions.
2670 * rtl.h (global_reg_mentioned_p): New prototype.
2671 * rtlanal.c (global_reg_mentioned_p,
2672 global_reg_mentioned_p_1): New function.
2674 2002-03-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2676 * fixinc/inclhack.def (alpha_assert): Fix assert macro in Tru64
2678 * fixinc/fixincl.x: Regenerate.
2680 2002-03-20 Jason Merrill <jason@redhat.com>
2682 * config/i386/cygwin.h (DWARF2_UNWIND_INFO): Define to 0.
2684 2002-03-20 Michael Meissner <meissner@redhat.com>
2686 * doc/invoke.texi (Optimize Options): Document that -O2 sets
2689 2002-03-20 Bob Wilson <bob.wilson@acm.org>
2691 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Emit a
2692 ".literal_position" directive before the constant pool.
2694 2002-03-20 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2696 * doc/contrib.texi (Contributors): Update Geoffrey Keating.
2697 Add Craig Rodrigues.
2698 Add Brad Lucier to testers.
2700 2002-03-20 Jakub Jelinek <jakub@redhat.com>
2703 * config/arc/arc.md (movsicc, movdicc, movsfcc, movdfcc): Add mode
2705 (movsicc_insn, movdicc_insn, movsfcc_insn, movdfcc_insn): Likewise.
2706 * config/arc/arc.c (arc_final_prescan_insn): Use extract_insn_cached
2707 instead of insn_extract.
2709 2002-03-20 Jakub Jelinek <jakub@redhat.com>
2712 * config/fr30/fr30.md (jump): Remove clobber of fixed register.
2714 * genemit.c (output_added_clobbers_hard_reg_p): Only output return
2715 stmt if some case has been output.
2717 2002-03-20 Jakub Jelinek <jakub@redhat.com>
2720 * config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
2721 movsfcc_1, movdfcc_1): Add %O2.
2722 * config/i386/i386.c (print_operand): Handle %ON.
2723 Print . before float condition codes in Sun as cmov syntax.
2724 * config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
2725 * config.gcc (i[34567]86-*-solaris2*): Remove comment which is
2728 2002-03-20 Philip Blundell <pb@nexus.co.uk>
2730 * config/arm/arm.c (arm_output_epilogue): Don't generate separate
2731 return instruction if PC was popped.
2733 2002-03-20 Bob Wilson <bob.wilson@acm.org>
2735 * config/xtensa/xtensa.md: Remove unused type attributes.
2736 (adddi_carry, subddi_carry): Change type attribute to "multi".
2738 2002-03-19 Dale Johannesen <dalej@apple.com>
2740 PR optimization/5999, middle-end/5731
2741 * expr.c (expand_expr) [RDIV_EXPR]: Only convert real divisions into
2742 multiplications by reciprocals.
2744 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk>
2746 * Makefile.in: Update.
2747 * c-common.c: Include langhooks.h.
2748 (inline_forbidden_p): Use new hook.
2749 * diagnostic.c: Include langhooks.h.
2750 (format_with_decl, announce_function,
2751 default_print_error_function): Use new hook.
2752 * dwarf2out.c (dwarf2_name): Use new hook.
2753 * function.c: Include langhooks.h.
2754 (init_function_start): Use new hook.
2755 * langhooks-def.h (lhd_decl_printable_name): New.
2756 (LANGHOOKS_DECL_PRINTABLE_NAME): New.
2757 (LANGHOOKS_INITIALIZER): Update.
2758 * langhooks.c (lhd_decl_printable_name): New.
2759 * langhooks.h (struct lang_hooks): New hook.
2760 * toplev.c (decl_name, decl_printable_name): Remove.
2761 (open_dump_file): Use new hook.
2762 (process_options): Remove old hook.
2763 * tree.h (decl_printable_name): Remove.
2765 * objc-act.c (objc_init): Remove old hook.
2766 (objc_printable_name): Export.
2767 * objc-act.h (objc_printable_name): New.
2768 * objc-lang.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine.
2770 2002-03-19 Jim Blandy <jimb@redhat.com>
2772 * c-lex.c (cb_file_change): Pass the #inclusion's line number to
2773 the start_source_file debug hook, not the current line number.
2775 2002-03-19 Richard Henderson <rth@redhat.com>
2777 * flow.c (EH_USES): Provide default.
2778 (calculate_global_regs_live): Use it for EH edges and noreturn calls.
2779 * doc/tm.texi (EH_USES): New.
2781 * config/ia64/ia64.c (ia64_eh_uses): New.
2782 * config/ia64/ia64-protos.h: Update.
2783 * config/ia64/ia64.h (EH_USES): New.
2785 2002-03-19 Richard Henderson <rth@redhat.com>
2787 * varasm.c (output_constant_def): Fix stupid typo.
2789 2002-03-19 Richard Henderson <rth@redhat.com>
2792 * except.c (current_function_has_exception_handlers): New.
2793 * except.h: Declare it.
2794 * sibcall.c (optimize_sibling_and_tail_recursive_call): Use it.
2795 Combine tests that disable all sibcalls for the function.
2797 2002-03-19 Olivier Hainque <hainque@act-europe.fr>
2799 * varasm.c (output_constant_def): Don't call ENCODE_SECTION_INFO
2802 2002-03-19 Richard Henderson <rth@redhat.com>
2805 * config/ia64/ia64.c: Revert 2002-03-01 patch.
2806 * config/ia64/ia64.h (INIT_EXPANDERS): New.
2808 2002-03-19 Jim Blandy <jimb@redhat.com>
2810 * cppmacro.c (cpp_macro_definition): Emit a space after the macro
2811 name, even if the replacement list contains no tokens, as required
2814 2002-03-19 Jason Merrill <jason@redhat.com>
2816 * varasm.c (globalize_decl): Get the name from the RTL, not
2817 DECL_ASSEMBLER_NAME.
2819 * Makefile.in (LIBGCC2_DEBUG_CFLAGS): Set to -g.
2821 2002-03-19 Bob Wilson <bob.wilson@acm.org>
2823 * config/xtensa/xtensa.md (adddi3, adddi_carry, subdi3,
2824 subdi_carry): Define.
2826 2002-03-19 David Edelsohn <edelsohn@gnu.org>
2828 * config/rs6000/rs6000.c (rs6000_override_options): Only warn
2829 about -fpic/-fPIC if extra_warnings set.
2831 2002-03-19 David Edelsohn <edelsohn@gnu.org>
2833 * expr.c (expand_expr): Sign-extend CONST_INT generated from
2834 TREE_STRING_POINTER.
2835 * fold-const.c (fold): Delete #if 0 ARRAY_REF case.
2837 Tue Mar 19 14:12:32 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2839 * config/sparc/sparc.h (CAN_ELMINIATE): Can only eliminate FP
2840 in favor of SP if FRAME_POINTER_REQUIRED is false.
2842 2002-03-19 Lars Brinkhoff <lars@nocrew.org>
2844 * emit-rtl.c (gen_int_mode): New function.
2845 * rtl.h: Prototype for it.
2846 * combine.c (make_extraction, simplify_comparison), expmed.c
2847 (store_bit_field, expand_mult_highpart, expand_divmod), expr.c
2848 (convert_modes, store_field), optabs.c (expand_fix),
2849 simplify-rtx.c (neg_const_int, simplify_unary_real),
2851 * config/rs6000/rs6000.c, config/rs6000/rs6000.md:
2852 Use it instead of GEN_INT (trunc_int_for_mode (...)).
2854 2002-03-19 Jakub Jelinek <jakub@redhat.com>
2857 * langhooks.h (struct lang_hooks_for_tree_inlining): Add
2858 convert_parm_for_inlining.
2859 * c-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
2861 * langhooks-def.h: Likewise.
2862 * objc/objc-lang.c: Likewise.
2863 * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): New
2865 * tree-inline.c (initialize_inlined_parameters):
2866 Call convert_parm_for_inlining lang hook if needed.
2867 * c-typeck.c (c_convert_parm_for_inlining): New function.
2868 * c-tree.h (c_convert_parm_for_inlining): Add prototype.
2870 2002-03-18 Mark Mitchell <mark@codesourcery.com>
2872 * calls.c (precompute_arguments): Do not assume that temporaries
2873 can be destroyed after expanding the argument.
2874 (expand_call): Likewise.
2876 2002-03-15 Eric Christopher <echristo@redhat.com>
2878 * config/mips/mips.md (movdf_internal2): Add two new move constraints.
2879 Fix register preference on last change.
2880 * config/mips/mips.c (mips_return_in_memory): New function.
2881 * config/mips/mips.h (RETURN_IN_MEMORY): Use.
2882 * config/mips/mips-protos.h: Declare.
2883 * config/mips/abi64.h (RETURN_IN_MEMORY): Remove. Add to above.
2884 * config/mips/elf64.h: Add #ifndef/#endif brackets around defaults.
2886 2002-03-18 Alexandre Oliva <aoliva@redhat.com>
2888 * config/mips/mips.md (andsi3) [TARGET_MIPS16]: Force operand 1 to
2890 (anddi3, iorsi3): Likewise.
2892 * config/mips/mips.h (ENCODE_SECTION_INFO) [TARGET_MIPS16]: Don't
2893 use %gprel for symbols that are going to be placed in linkonce
2896 * config/mips/mips.h (ELIMINABLE_REGS): Can't eliminate
2897 RETURN_ADDRESS_POINTER_REGNUM to $ra.
2898 (CAN_ELIMINATE): Only eliminate it to $sp if a frame pointer is
2899 not needed. Disregard leaf_function_p().
2900 (INITIAL_ELIMINATION_OFFSET): Adjust for elimination of rap to
2901 mips16 frame pointer.
2902 * config/mips/mips.md (store ra): Only to small SP offsets.
2903 2001-08-22 Graham Stott <grahams@redhat.com>
2904 * config/mips/mips.h (RETURN_ADDR_RTX): For a leaf function
2905 return a REG rtx for the return address register.
2907 2002-03-18 Bob Wilson <bob.wilson@acm.org>
2909 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Treat
2910 constant-pool addresses as "mode-dependent".
2911 (GO_IF_LEGITIMATE_ADDRESS): Rename macro arguments.
2913 2002-03-18 Jakub Jelinek <jakub@redhat.com>
2916 * expr.c (emit_group_load): Use extract_bit_field if
2917 needed for CONCAT arguments.
2919 2002-03-18 Richard Earnshaw <rearnsha@arm.com>
2922 * arm.md (tablejump): Make this a define_expand. For PIC add the
2923 offset to the base of the table.
2924 (thumb_tablejump): Matcher for Thumb tablejump insn.
2925 * config/arm/aout.h (ASM_OUTPUT_ADDR_DIFF_ELT): Output thumb entries
2926 as the difference of two labels.
2927 * config/arm/aof.h (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
2928 * config/arm/elf.h (JUMP_TABLES_IN_TEXT_SECTION): Only put ARM jump
2930 * config/arm/coff.h (JUMP_TABLES_IN_TEXT_SECTION): Likewise.
2931 * arm.c (get_jump_table_size): If the table is not in the text
2932 section, return zero.
2934 2002-03-18 Bernd Schmidt <bernds@redhat.com>
2936 * config/arm/arm.c (arm_gen_movstrqi): Use gen_lowpart instead
2938 (arm_reload_out_hi): Use gen_lowpart instead of
2939 gen_rtx_SUBREG to access QImode components.
2940 * config/arm/arm.md: Disable zero_extend split for QImode
2941 subregs in BIG_ENDIAN mode.
2942 (storehi_bigend): Match use of least significant byte.
2943 (storeinthi): Remove extraneous SUBREG.
2944 Add missing construction of operands[2].
2945 (movhi): Use gen_lowpart in place of gen_rtx_SUBREG.
2946 (movqi): Use gen_lowpart in place of gen_rtx_SUBREG.
2947 Replace gen_rtx (SUBREG) with gen_rtx_SUBREG.
2949 2002-03-18 Aldy Hernandez <aldyh@redhat.com>
2951 * config/rs6000/rs6000.h (PREDICATE_CODES): Add PARALLEL to
2954 2002-03-17 Richard Henderson <rth@redhat.com>
2956 * config/alpha/alpha.c (alpha_emit_set_const_1): Build add insns
2959 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
2961 * config/mmix/mmix.md ("fixuns_truncdfdi2"): Use (unsigned_fix:DI
2962 (unsigned_fix:DF op1)), not (unsigned_fix:DI (fix:DF op1)).
2964 2002-03-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2966 * ifcvt.c (dead_or_predicable): Fix uninitialized variable.
2968 * predict.c (estimate_bb_frequencies): Delete unused variables.
2970 2002-03-17 Richard Henderson <rth@redhat.com>
2972 * config/ia64/ia64.c (ia64_attribute_table): Move before
2973 targetm definition. Make static.
2975 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk>
2977 * c-common.h (yyparse, c_common_parse_file): New.
2978 * c-lang.c: Include c-common.h.
2979 (LANG_HOOKS_PARSE_FILE): Redefine.
2980 * c-lex.c: Include c-common.h.
2981 (yyparse): Rename c_common_parse_file. Call yyparse.
2982 * c-parse.in (yyparse): Remove macro.
2983 * c-tree.h (yyparse_1): Remove.
2984 * langhooks-def.h (LANG_HOOKS_PARSE_FILE): New.
2985 (LANG_HOOKS_INITIALIZER): Update.
2986 * langhooks.h (struct lang_hoooks): New hook parse_file.
2987 * toplev.c (compile_file): Use parse_file hook.
2988 * tree.h (yyparse): Remove.
2989 * objc/objc-lang.c (LANG_HOOKS_PARSE_FILE): Redefine.
2991 2002-03-17 Hans-Peter Nilsson <hp@bitrange.com>
2993 * config/mmix/mmix.md ("truncdfsf2"): Correct operator is
2994 float_truncate, not fix.
2995 ("*truncdfsf2_real"): Ditto.
2996 ("*nonlocal_goto_receiver_expanded"): Fix output template formatting.
2998 * config/mmix/mmix.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Don't define.
3000 2002-03-16 Alexandre Oliva <aoliva@redhat.com>
3002 * config/mips/mips.h (CAN_ELIMINATE): Don't eliminate rap to $fp
3003 (s8), but rather HARD_FRAME_POINTER_REGNUM. Add parentheses
3004 where appropriate. Make the second reference to
3005 leaf_function_p a function call, as intended. Reindented.
3007 * config/mips/mips.h (ISA_HAS_COND_TRAP): Not available on MIPS16.
3008 * config/mips/mips.md (trap) [TARGET_MIPS16]: Emit `break 0'.
3010 * config/mips/mips.md (addsi3, adddi3): Use scratch register to
3011 add register to non-constant into sp.
3013 * config/mips/mips-protos.h (embedded_pic_fnaddr_reg): New.
3014 * config/mips/mips.h (embedded_pic_fnaddr_rtx): Lose.
3015 (mips16_gp_pseudo_rtx): Lose.
3016 (INIT_EXPANDERS): Deleted.
3017 * config/mips/mips.c (mips_init_machine_status): New.
3018 (mips_free_machine_status): New.
3019 (mips_mark_machine_status): New.
3020 (override_options): Set them.
3021 (embedded_pic_fnaddr_rtx, mips16_gp_pseudo_rtx): Moved to...
3022 (struct machine_function): ... new. Replaced all references.
3023 (mips_add_gc_roots): Don't mark them.
3024 (embedded_pic_fnaddr_reg): New, extracted from...
3025 (embedded_pic_offset): ... here.
3026 * config/mips/mips.md (movdi): Call embedded_pic_fnaddr_reg.
3029 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
3031 * cppinit.c: Revert -MD removal.
3033 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3035 * config/m68hc11/m68hc11.c (m68hc11_override_options): Don't use
3036 soft registers by default for 68HC12.
3037 (m68hc11_conditional_register_usage): Don't use Z register for 68HC12
3038 when compiling with -fomit-frame-pointer.
3039 (expand_prologue): Use push/pop to allocate 4-bytes of locals on 68HC12.
3040 (expand_epilogue): Likewise.
3041 (m68hc11_gen_rotate): Use exg when rotating by 8.
3043 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3045 * config/m68hc11/m68hc11-protos.h (ix_reg): Declare.
3046 * config/m68hc11/m68hc11.md ("addsi3"): Use general_operand for sources.
3047 (splits): Remove unused add splits.
3048 ("*addhi3_68hc12"): Tune constraints.
3049 ("addhi_sp"): Try to use X instead of Y in all cases and if the
3050 constant fits in 8-bits and D is dead use abx/aby instructions.
3051 ("*addhi3"): Remove extern declaration of ix_reg.
3052 ("*subsi3"): Optimize and provide new split.
3053 ("subhi3"): Cleanup.
3054 ("*subhi3_sp"): Avoid saving X if we know it is dead.
3055 (arith splits): For 68hc12 save the address register on the stack
3056 and do the arithmetic operation with a pop.
3058 2002-03-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3060 * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Fix constraints, avoid
3061 allocating QImode in address registers.
3062 ("*movqi_m68hc11"): Likewise.
3064 Sat Mar 16 12:57:28 CET 2002 Jan HUbicka <jh@suse.cz>
3066 * cfgcleanup.c (cleanup_cfg): Fix updating of liveness.
3068 2002-03-16 Neil Booth <neil@daikokuya.demon.co.uk>
3070 * cppinit.c (print_help): Display -MD and -MMD.
3071 Don't display usage string. Update assertion syntax and
3073 (COMMAND_LINE_OPTIONS): Remove OPT_MD, OPT_MMD.
3074 (cpp_handle_option): Update.
3076 2002-03-15 Chris Demetriou <cgd@broadcom.com>
3078 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Provide an
3079 MEABI case for each definition of SUBTARGET_CPP_SIZE_SPEC,
3080 and define it so that regardless of target CPU size,
3081 __SIZE_TYPE__ and __PTRDIFF_TYPE__ are defined in terms
3082 of "int" rather than "long."
3084 2002-03-15 Richard Henderson <rth@redhat.com>
3086 * config/alpha/alpha.c (alpha_va_arg): Manipulate the type
3089 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3091 * config/m68hc11/m68hc11.md ("tstqi_1"): Try to use ldab instead of tst.
3092 ("tstqi" split): Avoid using memory for tstqi on address register.
3093 (splits): Remove constraints.
3094 ("cmphi_1_hc12"): New from "cmphi_1" and tuned for 68HC12.
3095 ("cmpdf", "cmpsf"): Remove since not used.
3096 ("*tbeq", "*tbne", "*tbeq8", "*tbne8"): Also look in cc_status.value2.
3097 (peephole2): New peepholes to optimize tstqi and pre inc/dec addressing.
3099 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3101 * config/m68hc11/m68hc11.md ("negsi2"): Optimize inline case.
3102 ("neghi2"): Tighten constraints.
3103 ("one_cmplsi2"): Optimize and simplify split.
3104 * config/m68hc11/larith.asm (__negsi2): Likewise for library.
3106 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3108 * config/m68hc11/m68hc11.md ("logicalsi3_zexthi"): Fix constraints
3109 and split of AND operation to clear the upper bits.
3110 ("*logicalsi3_zextqi"): Likewise.
3111 ("*logicallhi3_zexthi_ashift8"): Likewise.
3112 ("*logicalsi3_silshr16"): Likewise.
3113 ("logicalsi3_silshl16"): Likewise.
3114 ("anddi3", "iordi3", "xordi3" splits): Remove constraints.
3116 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3118 * config/m68hc11/m68hc11.c (m68hc11_symbolic_p): New function.
3119 (m68hc11_indirect_p): New function.
3120 (m68hc11_override_options): Must set MASK_NO_DIRECT_MODE for 68HC12.
3121 (m68hc11_gen_highpart): Use TARGET_NO_DIRECT_MODE instead of
3123 (asm_print_register): Likewise.
3124 * config/m68hc11/m68hc11-protos.h (m68hc11_symbolic_p): Declare.
3125 (m68hc11_indirect_p): Declare.
3126 * config/m68hc11/m68hc11.h (EXTRA_CONSTRAINT): New constraint 'R', 'Q'.
3127 (TARGET_NO_DIRECT_MODE, TARGET_RELAX): New.
3128 (TARGET_SWITCHES): New option -mrelax.
3129 * config/m68hc11/m68hc11.md ("andsi3"): Allow soft register for
3131 ("iorsi3", "xorsi3"): Likewise.
3132 ("andhi3", "andqi3", "iorhi3", "iorqi3"): Use a define_expand.
3133 ("*andhi3_mem"): New to handle destination in memory with bclr
3134 and a scratch register.
3135 ("*andqi3_mem", "*iorhi3_mem", "*iorqi3_mem"): Likewise.
3136 ("*andhi3_const"): New when operand2 is constant.
3137 ("*andqi3_const", "*iorhi3_const", "*iorqi3_const"): Likewise.
3138 ("*andhi3_gen"): Cleanup of the old "andhi3".
3139 ("*andqi3_gen", "*iorhi3_gen", "*iorqi3_gen"): Likewise.
3140 ("xorqi3"): Update constraints.
3142 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3144 * config/m68hc11/m68hc11.c (m68hc11_small_indexed_indirect_p): Look
3145 for reg_equiv_memory_loc when the operand is a register that does
3146 not get a hard register (stack location).
3147 (tst_operand): After reload, accept all memory operand.
3148 (symbolic_memory_operand): Fix detection of symbolic references.
3149 * config/m68hc11/m68hc11.h (VALID_CONSTANT_OFFSET_P): For 68HC12
3150 accept symbols and any constant.
3152 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3154 * config/m68hc11/m68hc11.c (emit_move_after_reload): Add a REG_INC
3155 note on the insn that sets the soft frame register.
3156 (must_parenthesize): ix and iy are also reserved names.
3157 (print_operand_address): One more place where parenthesis are required
3158 to avoid confusion with register names.
3159 (m68hc11_gen_movhi): Allow push of stack pointer.
3160 (m68hc11_check_z_replacement): Fix handling of parallel with a
3162 (m68hc11_z_replacement): Must update the REG_INC notes to tell what
3163 the replacement register is.
3164 * config/m68hc11/m68hc11.h (REG_CLASS_CONTENTS): Switch Z_REGS
3165 and D8_REGS classes.
3166 (MODES_TIEABLE_P): All modes are tieable except QImode.
3168 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3170 * config/m68hc11/larith.asm (___adddi3): Optimize saving of result.
3171 (___subdi3): Likewise.
3172 (__mulsi3, __mulhi32): Avoid using _.tmp scratch location.
3173 (__map_data_section): Optimize 68hc11 case.
3175 2002-03-15 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3177 * config/m68hc11/m68hc11.c (m6812_cost): Make cost of add higher
3178 than a shift to avoid adding a register with itself.
3179 (m68hc11_memory_move_cost): Take into account NO_REGS.
3180 (m68hc11_register_move_cost): Update and use memory move cost
3182 (m68hc11_address_cost): Make cost of valid offset not 0 so that
3183 it gives more opportunities to cse to optimize.
3184 * config/m68hc11/m68hc11.h (REGISTER_MOVE_COST): Pass the mode.
3185 * config/m68hc11/m68hc11-protos.h (m68hc11_register_move_cost): Update.
3187 2002-03-15 Mark Mitchell <mark@codesourcery.com>
3189 * c-common.c (statement_code_p): Handle CLEANUP_STMT.
3190 * c-common.def (CLEANUP_STMT): New tree node.
3191 * c-common.h (CLEANUP_DECL): New macro.
3192 (CLEANUP_EXPR): Likewise.
3193 * c-semantics.c (expand_stmt): Handle CLEANUP_STMT.
3194 * expr.c (expand_expr): Tidy.
3195 * tree-dump.c (dequeue_and_dump): Handle CLEANUP_STMT.
3196 * tree-inline.c (initialize_inlined_parameters): Clean up
3197 new local variables.
3199 2002-03-15 Jakub Jelinek <jakub@redhat.com>
3202 * config/sparc/sparc.c (gen_v9_scc): Move early clobber test
3203 before movrXX only, use reg_overlap_mentioned_p.
3204 Only special case NE if just one insn can be generated.
3206 2002-03-15 Jason Merrill <jason@redhat.com>
3208 * varasm.c (assemble_variable): Call resolve_unique_section before
3209 checking DECL_SECTION_NAME. Use zeros for a decl with DECL_INITIAL
3212 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
3215 * arm.md (split pattern for thumb shiftable immediates): Add comment
3216 explaining non-obvious test.
3218 2002-03-15 Richard Earnshaw <rearnsha@arm.com>
3221 * arm.md (movaddr, movaddr_insn): Delete.
3223 2002-03-15 Jason Merrill <jason@redhat.com>
3225 * toplev.c (wrapup_global_declarations): Clarify variable handling.
3226 -fkeep-static-consts doesn't apply to comdats.
3228 2002-03-14 Richard Henderson <rth@redhat.com>
3230 * c-decl.c: Include c-pragma.h.
3231 (start_decl, start_function): Invoke maybe_apply_pragma_weak.
3232 (finish_function): Tidy.
3233 * c-pragma.c: Include c-common.h.
3234 (pending_weaks, apply_pragma_weak, maybe_apply_pragma_weak): New.
3235 (handle_pragma_weak): Use them.
3236 (init_pragma): Register pending_weaks.
3237 * c-pragma.h (maybe_apply_pragma_weak): Declare.
3238 * print-tree.c (print_node): Print DECL_WEAK.
3239 * varasm.c (mark_weak_decls): Remove.
3240 (remove_from_pending_weak_list): Remove.
3242 (asm_emit_uninitialised): Call globalize_decl for weak commons.
3243 (weak_decls): Make a tree_list.
3244 (declare_weak): Cons weak_decls directly.
3245 (globalize_decl): Remove weak_decls elements directly.
3246 (weak_finish): Simplify weak_decls walk. Don't weaken unused
3247 symbols. Don't pretend to handle aliases.
3248 (init_varasm_once): Update weak_decls registry.
3249 * Makefile.in: Update dependencies.
3251 2002-03-14 Richard Henderson <rth@redhat.com>
3254 * config/ia64/ia64.c: Include tm_p.h last.
3255 (gen_nop_type): Remove duplicate definition.
3256 (cycle_end_fill_slots): Set sched_data for second L slot.
3257 (maybe_rotate): Call cycle_end_fill_slots to fill in nop slots.
3258 (nop_cycles_until): Fix typos.
3260 2002-03-15 Jakub Jelinek <jakub@redhat.com>
3262 PR optimization/5891
3263 * unroll.c (copy_loop_body) [CALL_INSN]: Copy SIBLING_CALL_P flag.
3265 2002-03-14 David Mosberger <davidm@hpl.hp.com>, Hans Boehm <Hans_Boehm@hp.com>
3267 * config/ia64/unwind-ia64.c: Handle copy_state and label_state
3268 descriptors correctly.
3270 2002-03-14 Michael Meissner <meissner@redhat.com>
3272 * params.def (PARAM_MAX_UNROLLED_INSNS): New macro, default to
3273 100, allowing MAX_UNROLLED_INSNS to be overridden.
3275 * params.h (MAX_UNROLLED_INSNS): Define so it can be overridden by
3278 * unroll.c (params.h): Include.
3279 (MAX_UNROLLED_INSNS): Delete, now in params.h.
3281 * doc/invoke.texi (--param max-unroll-insns): Document.
3283 * Makefile.in (unroll.o): Add $(PARAMS_H) dependency.
3285 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
3287 * arm.md: Fix warnings about constraints in peepholes and splits.
3289 2002-03-14 Zack Weinberg <zack@codesourcery.com>
3291 * cpphash.h (struct lexer_state): Remove line_extension member.
3292 * cpplib.c (dequote_string, do_linemarker): New functions.
3293 (linemarker_dir): New data object.
3294 (DIRECTIVE_TABLE): No longer need to interpret #line in
3295 preprocessed source. Delete obsolete comment about return
3297 (end_directive, directive_diagnostics, _cpp_handle_directive):
3298 Don't muck with line_extension.
3299 (directive_diagnostics): No need to issue warnings for
3301 (_cpp_handle_directive): Issue warnings for linemarkers here,
3302 when appropriate. Dispatch linemarkers to do_linemarker, not
3304 (do_line): Code to handle linemarkers split out to do_linemarker.
3305 Convert escape sequences in filename argument, both places.
3307 * cppmacro.c (quote_string): Rename cpp_quote_string and
3308 export. All callers changed.
3309 * cpplib.h (cpp_quote_string): Prototype.
3310 * cppmain.c (print_line): Call cpp_quote_string on to_file
3313 * doc/cpp.texi: Document that escapes are now interpreted in
3314 #line and in linemarkers, and that non-printing characters are
3315 converted to octal escapes when linemarkers are generated.
3317 Thu Mar 14 19:04:29 CET 2002 Jan Hubicka <jh@suse.cz>
3319 * emit-rtl.c (try_split): Use delete_insns.
3320 * recog.c (split_all_insns): Fix terminating condition.
3322 2002-03-14 Richard Earnshaw <rearnsha@arm.com>
3323 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
3326 * arm.c (arm_output_epilogue): Fix floating-point register save
3327 adjustment when using a frame pointer.
3329 2002-03-14 Richard Sandiford <rsandifo@redhat.com>
3331 * config/mips/mips.h (FP_INC, UNITS_PER_FPVALUE): New macros.
3332 * config/mips/mips.c (compute_frame_size): Retrofit them here.
3333 (save_restore_insns, mips_expand_epilogue): And here.
3334 (build_mips16_call_stub): And here.
3335 (mips_function_value): Use the new macros to decide whether a single
3336 or complex float can be returned in floating-point registers. Return
3337 a parallel rtx in the complex case.
3339 Thu Mar 14 11:03:12 CET 2002 Jan Hubicka <jh@suse.cz>
3341 * toplev.c (rest_of_compilation): Add CLEANUP_UPDATE_LIFE to cfg_cleanup
3342 call after liveness analysis.
3344 * recog.c (split_insn): Use delete_insn_and_edges.
3346 * cfgrtl.c (verify_flow_info): Be permisive about non-any_condjump
3347 instructions to have branch prediction notes.
3348 * ia64reorg.c (ia64_reorg): Do not rebuild CFG.
3350 2002-03-14 Geoffrey Keating <geoffk@redhat.com>
3352 * configure.in: Don't pass -Wno-long-long to a ADA compiler
3353 that doesn't support it.
3354 * configure: Regenerate.
3356 2002-03-13 Jakub Jelinek <jakub@redhat.com>
3359 * config/sparc/sparc.md (normal_branch, inverted_branch,
3360 normal_fp_branch, inverted_fp_branch, normal_fpe_branch,
3361 inverted_fp_branch): Adjust calls to output_cbranch.
3362 Set length attribute.
3363 (normal_int_branch_sp64, inverted_int_branch_sp64): Adjust calls to
3364 output_v9branch. Set length attribute.
3365 * config/sparc/sparc.c (fcc0_reg_operand, noov_compare64_op): New
3367 (noov_compare_op): Handle CCX_NOOVmode the same way as CC_NOOVmode.
3368 (output_cbranch): Likewise. Handle far branches.
3369 (output_v9branch): Handle far branches.
3370 * config/sparc/sparc-protos.h (output_cbranch, output_v9branch):
3372 * config/sparc/sparc.h (PREDICATE_CODES): Add fcc0_reg_operand and
3373 noov_compare64_op predicates.
3375 2002-03-13 Jason Merrill <jason@redhat.com>
3377 * gthr-posix.h (__gthread_active_p): Move __gthread_active_ptr
3378 into the function and constify it.
3379 * gthr-dce.h, gthr-solaris.h: Likewise.
3381 2002-03-13 David Edelsohn <edelsohn@gnu.org>
3383 * config/rs6000/rs6000.h (PAD_VARARGS_DOWN): Define.
3384 * config/rs6000/rs6000.c (rs6000_va_arg): Use
3385 std_expand_builtin_va_arg if not ABI_V4.
3387 2002-03-13 Jason Merrill <jason@redhat.com>
3389 * varasm.c (globalize_decl): New fn.
3390 (assemble_start_function): Use it.
3391 (asm_emit_uninitialized): Use it.
3392 (assemble_alias): Use it.
3393 (assemble_variable): Use it.
3395 2002-03-13 Hans-Peter Nilsson <hp@axis.com>
3397 * config/cris/cris.c (cris_target_asm_function_prologue): Revert
3398 2002-03-12 internal visibility change.
3399 (cris_encode_section_info): Consider MODULE_LOCAL_P when encoding
3400 visibility into SYMBOL_REF_FLAG.
3402 2002-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3404 * expr.c (expand_expr, case NE_EXPR): Do not call copy_to_reg with
3405 VOIDmode operand. Add compile-time optimization for constant results.
3407 2002-03-12 Jason Merrill <jason@redhat.com>
3409 * c-typeck.c (convert_for_assignment): Don't allow conversions
3410 between pointers and references. Only allow lvalues to convert to
3413 2002-03-13 Hartmut Penner <hpenner@de.ibm.com>
3415 * config/s390/s390.h (PROFILE_BEFORE_PROLOGUE): Emit profile code
3416 before prologue, to avoid scheduling problems.
3418 2002-03-13 Jakub Jelinek <jakub@redhat.com>
3420 * config/sparc/sparc.h (INITIAL_FRAME_POINTER_OFFSET): Remove.
3421 (ELIMINABLE_REGS): Add sfp->sp.
3422 (INITIAL_ELIMINATION_OFFSET): Compute sfp->sp offset too.
3424 2002-03-13 Jakub Jelinek <jakub@redhat.com>
3426 PR optimization/5892
3427 * config/ia64/ia64.c (rotate_one_bundle): Update current packet.
3429 2002-03-13 Jakub Jelinek <jakub@redhat.com>
3431 * loop.c (basic_induction_var): Don't call convert_modes if mode
3432 classes are different.
3434 2002-03-12 Richard Henderson <rth@redhat.com>
3436 PR optimization/5901
3437 * function.c (reposition_prologue_and_epilogue_notes): Position
3438 the markers after/before the last/first insn not deleted.
3440 2002-03-12 Richard Henderson <rth@redhat.com>
3442 PR optimization/5878
3443 * config/arc/arc.h, config/cris/cris.h, config/i386/i386.h,
3444 config/m68k/m68k.h, config/s390/s390.h, config/sparc/sparc.h
3445 (PIC_OFFSET_TABLE_REGNUM): Conditionalize on flag_pic.
3447 * config/arm/arm.h config/i386/i386.h, config/m68k/m68k.h,
3448 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Set
3449 PIC_OFFSET_TABLE_REGNUM based on INVALID_REGNUM not flag_pic.
3451 * config/arc/arc.h (CONDITIONAL_REGISTER_USAGE): New.
3452 * config/arm/arm.c (arm_pic_register): Init to INVALID_REGNUM.
3453 (arm_override_options): Set arm_pic_register if TARGET_APCS_STACK
3454 also. Don't set it if not flag_pic.
3455 * config/i386/i386.c (ix86_save_reg): Trust PIC_OFFSET_TABLE_REGNUM
3456 to be INVALID_REGNUM when not used.
3458 2002-03-13 Aldy Hernandez <aldyh@redhat.com>
3460 * expmed.c (store_bit_field): Reset alias set for memory.
3461 (extract_bit_field): Same.
3463 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3465 * c-common.c (c_tree_code_type, c_tree_code_length,
3466 c_tree_code_name, add_c_tree_codes): Delete.
3467 * c-common.h (add_c_tree_codes): Delete.
3468 * c-lang.c (tree_code_type, tree_code_length, tree_code_name):
3470 * c-objc-common.c (c_objc_common_init): Don't call
3471 add_c_tree_codes, instead set lang_unsafe_for_reeval.
3472 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
3473 objc_tree_code_name, add_objc_tree_codes): Delete.
3474 (objc_init): Don't call add_objc_tree_codes.
3475 * objc/objc-lang.c (tree_code_type, tree_code_length,
3476 tree_code_name): Define.
3477 * toplev.c (lang_independent_init): Don't set
3478 tree_code_length[IDENTIFIER_NODE].
3479 * tree.c (tree_code_type, tree_code_length, tree_code_name):
3480 Delete definitions, moved to language front-ends.
3481 * tree.def (IDENTIFIER_NODE): Hardwire the length.
3482 * tree.h (tree_code_type, tree_code_length, tree_code_name):
3484 (tree_code_length): Change type to unsigned char.
3486 2002-03-12 Richard Henderson <rth@redhat.com>
3488 * config/i386/i386.c (ix86_expand_prologue): Revert 2002-03-03
3489 internal visibility change.
3491 2002-03-12 Bob Wilson <bob.wilson@acm.org>
3493 * config/xtensa/xtensa.c (xtensa_expand_block_move): Use
3494 validize_mem() instead of change_address to avoid clobbering
3497 2002-03-12 Neil Booth <neil@daikokuya.demon.co.uk>
3499 * c-lex.h (position_after_whitespace): Remove.
3501 2002-03-12 Jakub Jelinek <jakub@redhat.com>
3503 * c-lex.c (cb_ident, c_lex): Remove unnecessary cast.
3504 (lex_string): Use unsigned char pointers.
3506 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3508 * reload1.c (reload): Ignore MEM REG_EQUIV notes if the equivalent
3509 is not a valid memory_operand.
3511 2002-03-12 Bob Wilson <bob.wilson@acm.org>
3513 * config/xtensa/xtensa-config.h: Define XCHAL_HAVE_LOOPS.
3514 * config/xtensa/lib1funcs.asm: Fix copyright to include
3515 special case for libgcc files.
3516 (__udivsi3): Avoid loop instructions when XCHAL_HAVE_LOOPS is 0.
3517 (__divsi3): Likewise.
3518 (__umodsi3): Likewise.
3519 (__modsi3): Likewise.
3520 * config/xtensa/lib2funcs.S: Fix copyright to include
3521 special case for libgcc files.
3523 2002-03-12 Tom Rix <trix@redhat.com>
3525 * collect2.c (resolve_lib_name): Move outside of
3526 OBJECT_FORMAT_COFF ifdef.
3527 (ignore_library): Same.
3529 2002-03-12 Bob Wilson <bob.wilson@acm.org>
3531 * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
3533 2002-03-12 Bob Wilson <bob.wilson@acm.org>
3535 * config/xtensa/xtensa.h (ASM_OUTPUT_POOL_PROLOGUE): Switch
3536 to function_section before writing out the constant pool.
3538 2002-03-12 David Edelsohn <edelsohn@gnu.org>
3540 * config/rs6000/rs6000.h (PREDICATE_CODES): Add any_operand and
3542 * config/rs6000/rs6000.c (easy_fp_constant): Fix formatting.
3544 2002-03-12 Alan Modra <amodra@bigpond.net.au>
3546 * config/rs6000/rs6000.md (addsi3): Optimize sign extension.
3550 (cmpsi splitter): Likewise.
3551 (modsi3): Fail if <= 0.
3552 * config/rs6000/rs6000.c (reg_or_add_cint64_operand): Remove
3553 redundant test when HOST_BITS_PER_WIDE_INT != 32.
3554 (reg_or_sub_cint64_operand): Likewise.
3555 (num_insns_constant_wide): Optimize sign extension.
3556 (rs6000_legitimize_address): Likewise.
3558 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
3560 * config/sparc/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3561 * config/sparc/linux64.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
3563 2002-03-12 Andrew MacLeod <amacleod@redhat.com>
3565 * config/sparc/sparc.h (RETURN_ADDR_RTX): Include v9 stack bias in
3566 address calculation.
3568 2002-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3570 * config/s390/s390.md (reload_insi, reload_indi): Change mode of
3571 scratch register to DImode / TImode.
3572 config/s390/s390.c (s390_expand_plus_operand): Make sure scratch
3573 register used does not overlap the target.
3575 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3577 * Makefile.in (debug.o): Depend on debug.h.
3578 * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify.
3579 * debug.c (do_nothing_debug_hooks): Likewise.
3580 * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks,
3581 sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks,
3582 dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise.
3583 * dwarf2out.c (dwarf2_debug_hooks): Likewise.
3584 * dwarfout.c (dwarf_debug_hooks): Likewise.
3585 * integrate.c (output_inline_function): Likewise.
3586 * objc/objc-act.c (synth_module_prologue): Likewise.
3587 * sdbout.c (sdb_debug_hooks): Likewise.
3588 * toplev.c (debug_hooks): Likewise.
3589 * vmsdbgout.c (vmsdbg_debug_hooks): Likewise.
3591 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3593 * 1750a.h, a29k.h, arc.h, arm.h, c4x.h, clipper.h, cris.h, d30v.h,
3594 dsp16xx.h, fr30.h, h8300.h, i370.h, i386.h, i860.h, i960.h,
3595 m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h, mmix.h, mn10300.h,
3596 ns32k.h, pa.h, pdp11.h, pj.h, romp.h, s390.h, stormy16.h,
3597 v850.h, vax.h, we32k.h, xtensa.h (POINTER_SIZE): Delete.
3598 * defaults.h (POINTER_SIZE): Define.
3599 * doc/tm.texi (POINTER_SIZE): Document default.
3601 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3603 * mn10200.h (PTRDIFF_TYPE): Change it to a signed type.
3605 2002-03-11 Richard Henderson <rth@redhat.com>
3607 * toplev.c (rest_of_compilation): Call purge_all_dead_edges
3608 if rebuild_label_notes_after_reload.
3610 2002-03-12 Hans-Peter Nilsson <hp@axis.com>
3612 * config/cris/cris.c (cris_target_asm_function_prologue): Do not
3613 emit pic register load if "internal" visibility.
3614 (cris_print_operand): Avoid traditional-warning for 0xffffffff.
3615 (cris_expand_builtin_va_arg): Do all computations on trees.
3617 2002-03-11 Richard Henderson <rth@redhat.com>
3619 * rtlanal.c: Include recog.h.
3620 (keep_with_call_p): Fix thinko.
3621 * Makefile.in (rtlanal.o): Update dependencies.
3623 2002-03-11 Chris Meyer <cmeyer@gatan.com>
3625 * genflags.c (gen_insn): Use IS_VSPACE.
3626 * genoutput.c (output_insn_data): Likewise.
3627 (process_template): Likewise.
3629 2002-03-11 Richard Henderson <rth@redhat.com>
3631 * toplev.c (rest_of_compilation): Don't compile if we've had errors.
3633 2002-03-11 Neil Booth <neil@daikokuya.demon.co.uk>
3635 * Makefile.in: Update.
3636 * doc/cppenv.texi, cppopts.texi: Split out of cpp.texi and gcc.texi.
3637 Update documentation.
3638 * doc/gcc.texi: Include cppopts.texi and cppenv.texi.
3639 * doc/cpp.texi: Include cppopts.texi and cppenv.texi.
3641 2002-03-11 Zack Weinberg <zack@codesourcery.com>
3643 * Makefile.in: Give texi2pod its input file as a command line
3644 argument, not on stdin.
3646 2002-03-11 Dan Nicolaescu <dann@ics.uci.edu>
3647 Daniel Berlin <dan@dberlin.org>
3649 C++ alias analysis improvement.
3650 * alias.c (record_component_aliases): Record aliases for base
3653 2002-03-11 Ulrich Weigand <uweigand@de.ibm.com>
3655 * config/s390/s390.h (REG_ALLOC_ORDER): Add missing register.
3657 2002-03-11 Douglas B Rupp <rupp@gnat.com>
3659 * toplev.c (vms_fopen): Remove, not needed.
3661 * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.
3663 * config/alpha/xm-vms.h (__UNIX_FWRITE): Define.
3665 * config/alpha/alpha.c (alpha_sa_size, VMS): Don't reserve space
3666 for FP, already done later.
3668 * toplev.c (debug_args): Add entry for VMS_DEBUG.
3669 * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc.
3671 2002-03-11 Richard Sandiford <rsandifo@redhat.com>
3673 * defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO): New.
3674 (MODE_HAS_NANS, MODE_HAS_INFINITIES): Evaluate to false if
3675 LARGEST_EXPONENT_IS_NORMAL for the given mode.
3676 (MODE_HAS_SIGN_DEPENDENT_ROUNDING): False when ROUND_TOWARDS_ZERO.
3677 * real.c (eadd1): Make rounding dependent on !ROUND_TOWARDS_ZERO.
3678 (ediv, emul, eldexp, esqrt): Likewise.
3679 (etoe113, etoe64, etoe53, etoe24, etodec, etoibm, etoc4x): Likewise.
3680 (e24toe): Only check NaNs & infinities if !LARGEST_EXPONENT_IS_NORMAL.
3681 (saturate): New function.
3682 (toe53, toe24): Saturate on overflow if LARGEST_EXPONENT_IS_NORMAL.
3683 (make_nan): Use a saturation value instead of a NaN if
3684 LARGEST_EXPONENT_IS_NORMAL. Warn when this happens.
3685 * fp-bit.c (pack_d): Saturate on NaN, infinite or overflowing
3686 inputs if LARGEST_EXPONENT_IS_NORMAL. Represent subnormals as
3687 zero if NO_DENORMALS. Only round to nearest if !ROUND_TOWARDS_ZERO.
3688 (unpack_d): No NaNs or infinities if LARGEST_EXPONENT_IS_NORMAL.
3689 (_fpmul_parts, _fpdiv_parts): Only round to nearest if
3690 !ROUND_TOWARDS_ZERO.
3691 * doc/tm.texi (LARGEST_EXPONENT_IS_NORMAL): Document.
3692 (ROUND_TOWARDS_ZERO): Document.
3694 2002-03-11 Andreas Jaeger <aj@suse.de>
3696 * cfg.c (dump_flow_info): Remove unused variable.
3698 2002-03-11 Hans-Peter Nilsson <hp@bitrange.com>
3700 * config/mmix/mmix.c (mmix_expand_builtin_va_arg): Do all
3701 computations on trees.
3703 2002-03-10 Richard Henderson <rth@redhat.com>
3706 * reload.c (copy_replacements_1): New.
3707 (copy_replacements): Use it to recurse through the rtx.
3709 2002-03-10 Richard Henderson <rth@redhat.com>
3711 * loop.c (strength_reduce): Compute number of iterations as
3712 unsigned HOST_WIDE_INT.
3714 2002-03-10 Richard Henderson <rth@redhat.com>
3716 * sched-rgn.c (add_branch_dependences): Don't allow insns that throw
3717 to move away from the end of the block.
3719 2002-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
3721 PR preprocessor/5899
3722 * cppinit.c (init_dependency_output): Don't ignore -dM etc.
3724 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3726 * mbchar.c (JIS_state_table, JIS_action_table): Const-ify.
3728 * attribs.c (decl_attributes): Fix signed/unsigned warning.
3730 2002-03-10 Hans-Peter Nilsson <hp@bitrange.com>
3732 * config/mmix/mmix.c: Improve comments.
3733 (mmix_target_asm_function_prologue): Drop variable
3734 empty_stack_frame. Don't allocate unused slot above fp.
3735 (mmix_target_asm_function_epilogue): Mirror prologue changes.
3736 * config/mmix/mmix.h (MMIX_GNU_ABI_REG_ALLOC_ORDER): Don't have
3737 brace in first column.
3738 (enum reg_class): Ditto.
3739 (FIRST_PARM_OFFSET): Now 0.
3740 (USER_LABEL_PREFIX): Remove #if 0:d definition.
3742 2002-03-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3744 * combine.c (make_extraction): Fix error in last change.
3746 2002-03-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3748 * c4x.c (c4x_fp_reglist): Const-ify.
3749 * cris.c (cris_print_operand): Likewise.
3750 * i386.c (ix86_va_arg): Likewise.
3751 * ia64/unwind-ia64.c (unw_decode_table): Likewise.
3752 * m32r.c (m32r_hard_regno_mode_ok): Likewise.
3753 * m32r.h (m32r_hard_regno_mode_ok): Likewise.
3754 * mcore.c (regno_reg_class, mcore_unique_section): Likewise.
3755 * mcore.h (regno_reg_class): Likewise.
3756 * mips.c (gen_int_relational): Likewise.
3757 * ns32k.c (ns32k_reg_class_contents, regclass_map): Likewise.
3758 * ns32k.h (ns32k_reg_class_contents, regclass_map): Likewise.
3759 * pdp11.c (move_costs): Likewise.
3760 * pj.h (INITIALIZE_TRAMPOLINE): Likewise.
3761 * s390.c (s390_branch_condition_mnemonic, regclass_map):
3763 * s390.h (regclass_map): Likewise.
3764 * sh.c (shift_amounts): Likewise.
3765 * sh.md (rotlsi3): Likewise.
3767 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
3769 * config/rs6000/rs6000.md (ne0+4): Add extra CLOBBER.
3770 (ne0+5): Use new clobber to generate proper shift pattern.
3771 Patch by Michael Matz <matz@kde.org>.
3773 2002-03-09 Andreas Schwab <schwab@suse.de>
3775 * gcc.c (validate_all_switches): Also handle `%W{...}'.
3777 2002-03-09 Geoffrey Keating <geoffk@redhat.com>
3779 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Don't define.
3781 2002-03-09 Jakub Jelinek <jakub@redhat.com>
3784 * expr.c (highest_pow2_factor): Check TREE_INT_CST_LOW
3785 even for non-representable constants.
3787 Sat Mar 9 07:20:01 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3789 * emit-rtl.c (copy_most_rtx): Accept EXPR_LIST for may_share.
3790 * function.c (fixup_var_refs): Add MAY_SHARE parameter.
3791 (fixup_var_refs_insns, fixup_var_refs_insns_with_has): Likewise.
3792 (fixup_var_refs_insn, fixup_var_refs_1): Likewise.
3793 (pop_function_context): Compute MAY_SHARE parameter for
3795 (fixup_var_refs_1, case MEM): Pass MAY_SHARE to copy_most_rtx, not VAR.
3796 (gen_mem_addressof): Call fixup_var_refs with new parm.
3798 * combine.c (make_extraction): Don't make extension of CONST_INT.
3800 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
3802 * config/mips/mips.c (function_arg_pass_by_reference): Force to 0
3803 in o32 and o64 ABIs.
3804 * config/mips/abi64.h (MUST_PASS_IN_STACK): Define as in expr.h,
3805 but getting fixed-size structs passed in registers regardless of
3806 padding in o32 and o64 ABIs.
3808 * config/mips/mips.c (mips_va_arg): Apply big-endianness address
3809 offset before loading address of argument passed by transparent
3812 2002-03-08 John David Anglin <dave@hiauly1.hia.nrc.ca>
3814 * t-pa64 (LIB1ASMFUNCS, LIB1ASMSRC): Delete.
3816 2002-03-09 Alexandre Oliva <aoliva@redhat.com>
3818 * config/mips/mips.c (mips_expand_prologue): Set regno of vararg
3819 marker such that registers after it are saved.
3821 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3823 * sparc.c (arith_4096_operand): Fix error in last change.
3825 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
3827 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Remove duplicate
3830 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
3832 * config/rs6000/rs6000.c (rs6000_va_arg): Fix alignment for
3835 2002-03-08 Aldy Hernandez <aldyh@redhat.com>
3837 * config/rs6000/sysv4.h (BIGGEST_ALIGNMENT): Change for altivec.
3839 Fri Mar 8 21:27:49 CET 2002 Jan Hubicka <jh@suse.cz>
3841 * cfgrtl.c (purge_dead_edges): Set BB_DRITY flags if edge has been
3842 removed; fix return value.
3843 * combine.c (combine_instructions): Dirtify blocks where we failed to
3844 update liveness; purge dead edges; use update_life_info_in_dirty_blocks.
3845 * toplev.c (rest_of_compilation): Do not purge_dead_edges after combine.
3847 2002-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3849 * gcse.c (insert_insn_end_bb): Fix typo in last change.
3851 Fri Mar 8 21:08:52 CET 2002 Jan Hubicka <jh@suse.cz>
3853 * recog.c (peephole2_optimize): Re-distribute EH edges.
3855 2002-03-08 Neil Booth <neil@daikokuya.demon.co.uk>
3857 * expr.c (expand_expr): Use unsave lang hook.
3858 * langhooks-def.h (LANG_HOOKS_UNSAVE): New.
3859 (LANG_HOOKS_INITIALIZER): Update.
3860 * langhooks.h (struct lang_hooks): New hook unsave.
3861 * tree.c (lang_unsave, lang_unsave_expr_now): Remove.
3862 (unsave_expr_1): Remove unused lang_unsave_expr_now.
3863 (unsave_expr_now_r): Rename lhd_unsave. Update. Return input.
3864 (unsave_expr_now): Remove.
3865 * tree.h (unsave_expr_now, lang_unsave,
3866 lang_unsave_expr_now): Remove.
3869 2002-03-08 Andreas Jaeger <aj@suse.de>
3871 * flow.c (propagate_block_delete_insn): Remove unused variable.
3873 2002-03-08 Kazu Hirata <kazu@hxi.com>
3875 * config/h8300/h8300.c (h8300_adjust_insn_length): Tighten
3876 insn length for memory load/store.
3878 2002-03-08 Craig Rodrigues <rodrigc@gcc.gnu.org>
3880 * doc/install.texi (--with-libiconv-prefix): Document.
3882 2002-03-08 Michael Y. Brukman <myb2@cornell.edu>
3884 * doc/sourcebuild.texi: Fix typo.
3886 2002-03-08 Jakub Jelinek <jakub@redhat.com>
3889 * builtins.c (std_expand_builtin_va_arg): Do all computations on
3892 Fri Mar 8 06:48:45 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3894 * rtl.c (copy_most_rtx): Move from here ...
3895 * emit-rtl.c (copy_most_rtx): ... to here.
3897 2002-03-08 Alexandre Oliva <aoliva@redhat.com>
3899 * config/mips/mips.h (LONG_MAX_SPEC): Rewrite, along with
3900 SUBTARGET_CPP_SIZE_SPEC.
3901 * config/mips/abi64.h (LONG_MAX_SPEC): Delete.
3903 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): Simplify.
3905 2002-03-07 Matt Hiller <hiller@redhat.com>
3907 * gensupport.c (first_dir_md_include): Renamed from include;
3908 change all references.
3909 (last_dir_md_include): Renamed from last_include; change all
3911 (init_md_reader): Unconditionally initialize base_dir whether or
3912 not filename is a relative path.
3914 2002-03-07 Alexandre Oliva <aoliva@redhat.com>
3916 * config/fp-bit.c (_unord_f2): Compile it in even if
3917 US_SOFTWARE_GOFAST is enabled.
3919 * config/gofast.h (GOFAST_RENAME_LIBCALLS): Set gt and ge as
3920 NULL_RTX. Set all HFmode operations as NULL_RTX.
3921 * optabs.c (prepare_float_lib_cmp) <GT, GE, LT, LE>: If libfunc is
3922 NULL_RTX, try reversing the comparison and the operands.
3924 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
3926 * genextract.c (walk_rtx): Recurse into MATCH_PAR_DUP.
3927 genoutput.c (scan_operands): Recurse into MATCH_PAR_DUP
3930 Thu Mar 7 16:54:10 CET 2002 Jan Hubicka <jh@suse.cz>
3932 * reload1.c (reload_cse_delete_noop_set): Purge dead edges.
3934 Thu Mar 7 16:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
3936 * basic-block.h (fixup_abnormal_edges): Declare.
3937 * reload1.c (fixup_abnormal_edges): New function.
3938 * reg-stack.c (convert_regs): Use it.
3940 * gcse.c (insert_insn_end_bb): Handle trapping insns.
3942 * gcse.c (hash_scan_set): Refuse instructions with EH edges.
3944 2002-03-07 Richard Sandiford <rsandifo@redhat.com>
3946 * defaults.h (MODE_HAS_NANS, MODE_HAS_INFINITIES): New.
3947 (MODE_HAS_SIGNED_ZEROS, MODE_HAS_SIGN_DEPENDENT_ROUNDING): New.
3948 * flags.h (HONOR_NANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS): New.
3949 (HONOR_SIGN_DEPENDENT_ROUNDING): New.
3950 * builtins.c (expand_builtin_mathfn): Use HONOR_NANS.
3951 * c-common.c (truthvalue_conversion): Reduce x - y != 0 to x != y
3952 unless x and y could be infinite.
3953 (expand_unordered_cmp): New, mostly split from expand_tree_builtin.
3954 Check that the common type of both arguments is a real, even for
3955 targets without unordered comparisons. Allow an integer argument
3956 to be compared against a real.
3957 (expand_tree_builtin): Use expand_unordered_cmp.
3958 * combine.c (combine_simplify_rtx): Use the new HONOR_... macros.
3959 * cse.c (fold_rtx): Likewise. Fix indentation.
3960 * fold-const.c (fold_real_zero_addition_p): New.
3961 (fold): Use it, and the new HONOR_... macros.
3962 * ifcvt.c (noce_try_minmax): Use the new HONOR_... macros.
3963 * jump.c (reversed_comparison_code_parts): After searching for
3964 the true comparison mode, use HONOR_NANS to decide whether it
3965 can be safely reversed.
3966 (reverse_condition_maybe_unordered): Remove IEEE check.
3967 * simplify-rtx.c (simplify_binary_operation): Use the new macros
3968 to decide which simplifications are valid. Allow the following
3969 simplifications for IEEE: (-a + b) to (b - a), (a + -b) to (a - b),
3970 and (a - -b) to (a + b).
3971 (simplify_relational_operation): Use HONOR_NANS.
3972 * doc/tm.texi: Document the MODE_HAS_... macros.
3974 2002-03-07 Richard Earnshaw <rearnsha@arm.com>
3976 * combine.c (simplify_comparison): If simplifying a logical shift
3977 right and compare with constant, force the comparison to unsigned.
3979 2002-03-07 Aldy Hernandez <aldyh@redhat.com>
3981 * doc/invoke.texi: Add documentation for -mabi=no-altivec.
3983 * config/rs6000/rs6000.c (rs6000_parse_abi_options): Add
3985 (alt_reg_names): Remove % for vrsave.
3987 2002-03-06 Richard Henderson <rth@redhat.com>
3989 PR optimization/5844
3990 * genemit.c (gen_exp): New argument used. Invoke copy_rtx
3991 if used indicates we've already emitted one copy of an operand.
3992 (gen_insn, gen_expand, output_add_clobbers): Supply a null used.
3993 (gen_split): Supply a non-null used.
3995 2002-03-06 Ulrich Weigand <uweigand@de.ibm.com>
3997 * reload1.c (reload): Unshare all rtl after reload is done.
3999 * simplify-rtx.c (simplify_plus_minus): Do not abort,
4000 but simply fail if the expression is too complex to simplify.
4001 (simplify_gen_binary): Handle simplify_plus_minus failures.
4003 Wed Mar 6 20:32:09 CET 2002 Jan Hubicka <jh@suse.cz>
4005 * toplev.c (rest_of_compilation): Do jump threading before SSA path;
4006 consistently call delete_trivially_dead_insns after CSE and GCSE;
4007 fix DFI_life dumping; do jump threading after liveness; do crossjumping
4008 after liveness2; update comment in last crossjumping.
4009 * cfgcleanup.c (try_crossjump_to_edge): Dirtify block.
4011 Wed Mar 6 12:27:10 2002 Jeffrey A Law (law@redhat.com)
4013 * ssa-ccp.c (ssa_fast_dce): Update the DF def-use chains
4014 after completing fast dead code elimination.
4016 * m68k.h (CONST_COSTS): Lower cost of 0.0 when used inside a
4019 2002-03-06 Phil Edwards <pme@gcc.gnu.org>
4021 * version.c: Fix misplaced leading blanks on first line.
4023 Wed Mar 6 19:08:03 CET 2002 Jan Hubicka <jh@suse.cz>
4025 * cfgrtl.c (verify_flow_info): Accept RESX as EH edge source.
4027 Wed Mar 6 18:14:43 CET 2002 Jan Hubicka <jh@suse.cz>
4029 * cfgcleanup.c (mentions_nonequal_regs): New function.
4030 (thread_jump): Use it.
4031 * toplev.c (rest_of_compilation): Run jump threading after
4034 2002-03-06 Jakub Jelinek <jakub@redhat.com>
4036 * ssa-ccp.c (ssa_ccp_substitute_constants): Backout 2002-03-05
4039 Wed Mar 6 11:28:19 CET 2002 Jan Hubicka <jh@suse.cz>
4041 * predict.c (estimate_bb_frequencies): Do not reload the
4042 frequencies from notes.
4044 Wed Mar 6 10:59:39 CET 2002 Jan Hubicka <jh@suse.cz>
4046 * cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
4047 * rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare
4049 * basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
4050 delete_noop_moves): Return indeger.
4051 * flow.c (ndead): New variable.
4052 (propagate_block_delete_insn): Use delete_insn_and_edges; remove
4053 BB argument; update callers.
4054 (propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
4055 (life_analysis): Do not call purge_all_dead_edges.
4056 (update_life_info): Return number of deleted insns; print statistics.
4057 (update_life_info_in_dirty_blocks): likewise.
4058 (delete_noop_moves): Use delete_insn_and_edges; print statistics;
4059 return number of insns deleted.
4061 * cse.c: Include timevar.h
4062 (delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
4063 iterate until stabilizes; print statistics; return number of killed
4065 * Makefile.in: (cse.o): Add timevar.h dependency
4066 * rtl.h (delete_trivially_dead_insns): New.
4067 * timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
4068 * toplev.c (rest_of_compilation): Update callers.
4070 * cfgcleanup.c (try_optimize_cfg): Kill blocks.
4071 (try_optimize_cfg): Do not update liveness.
4072 (cleanup-cfg): Loop until try_optimize_cfg and dead code
4073 removal stabilizes; use delete_trivially_dead_insns.
4075 * cfgrtl.c (verify_flow_info): Sanity check outgoing edges.
4077 2002-03-05 Zack Weinberg <zack@codesourcery.com>
4079 * cppmain.c (setup_callbacks): Disable #pragma and #ident
4080 callbacks when processing assembly language.
4082 2002-03-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
4084 * pa.h (ASM_FILE_END): Define.
4085 * som.h (ASM_FILE_END): Delete.
4087 * pa.c (function_arg): Don't pass floats in general registers in
4088 indirect calls if TARGET_ELF32.
4090 2002-03-05 Richard Henderson <rth@redhat.com>
4092 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
4094 2002-03-05 Danny Smith <dannysmith@users.sourceforge.net>
4096 * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
4098 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4100 * mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
4101 -r command line. Don't hide any symbols if not building
4104 Tue Mar 5 18:31:27 CET 2002 Jan Hubicka <jh@suse.cz>
4106 * cfg.c (dump_flow_info): Warn about profile mismatches.
4107 * cfgrtl.c (verify_flow_info): Few aditional sanity checks.
4108 (purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.
4110 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4112 * expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
4113 wide volatile memory by parts.
4115 2002-03-05 Jakub Jelinek <jakub@redhat.com>
4117 * ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
4120 2002-03-05 Richard Henderson <rth@redhat.com>
4122 * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
4124 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
4126 * toplev.c (documented_lang_options): Document more
4127 language-specific options.
4128 * doc/invoke.texi (Warning Options): Correct documentation for
4129 -Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
4130 * c-decl.c (c_decode_option): Use a table to handle warning options.
4132 2002-03-05 Hans-Peter Nilsson <hp@bitrange.com>
4134 * config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
4135 parameter to mmix_encode_section_info.
4136 (LINK_SPEC): Don't defsym __.MMIX.start..text if linking
4137 relocatably. Always produce ELF, not mmo if linking relocatably.
4138 * config/mmix/mmix.c (mmix_encode_section_info): If new parameter
4139 first is non-zero, don't add symbol prefix.
4140 * config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
4141 prototype accordingly.
4143 2002-03-04 Krister Walfridsson <cato@df.lth.se>
4145 * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
4147 2002-03-05 Joseph S. Myers <jsm28@cam.ac.uk>
4149 * configure.in: Increase required makeinfo version to 4.1.
4150 * configure: Regenerate.
4152 2002-03-04 Geoffrey Keating <geoffk@redhat.com>
4154 * .cvsignore: Remove *.info* and genrtl*; these files are generated
4157 2002-03-04 Joseph S. Myers <jsm28@cam.ac.uk>
4159 * doc/include/texinfo.tex: Update to version 2002-03-01.06.
4160 * doc/invoke.texi: Fix @math uses.
4162 Mon Mar 4 15:33:54 CET 2002 Jan Hubicka <jh@suse.cz>
4164 * toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
4167 2002-03-03 Aldy Hernandez <aldyh@redhat.com>
4169 * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
4170 (powerpc-*-eabisimaltivec*): Same.
4172 * config/rs6000/t-ppcendian: New.
4174 2002-03-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
4176 * c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
4177 nonimmediate_src_operand and nonimmediate_lsrc_operand to
4178 disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.
4180 2002-03-03 Richard Henderson <rth@redhat.com>
4182 * toplev.c (rest_of_decl_compilation): Revert last two changes.
4184 2002-03-03 Zack Weinberg <zack@codesourcery.com>
4186 * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
4187 print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
4188 tree.c, config/m68k/m68k.c:
4189 Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
4190 REAL_ARITHMETIC blocks unconditional. Delete some further
4191 #ifdef blocks predicated on REAL_ARITHMETIC.
4192 * flags.h, toplev.c: Delete remaining references to
4195 * doc/invoke.texi: Remove documentation of -fpretend-float.
4196 * doc/tm.texi: Describe the various REAL_* macros as provided by
4197 real.h, not by the target configuration files.
4199 * config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
4200 config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
4201 config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
4202 config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
4203 config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
4204 config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
4205 config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
4206 config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
4207 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
4208 config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
4209 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
4210 config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
4211 config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
4212 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
4213 config/xtensa/xtensa.h:
4214 Do not define, undefine, or mention in comments any of
4215 REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
4216 REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
4217 REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
4218 REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
4219 REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
4220 REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
4221 REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
4222 REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
4223 REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.
4225 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4227 * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
4228 convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
4229 i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
4230 m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
4231 pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
4232 stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
4234 * defaults.h (BITS_PER_WORD): Define.
4235 * doc/tm.texi (BITS_PER_WORD): Document default value.
4237 * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
4238 m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
4239 stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.
4241 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4243 * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
4244 lieu of explicit sizeof/sizeof.
4245 * i386.c (override_options, ix86_init_mmx_sse_builtins,
4246 ix86_expand_builtin): Likewise.
4247 * mips.c (mips_add_gc_roots): Likewise.
4248 * mmix.c (mmix_output_condition): Likewise.
4249 * rs6000.c (rs6000_override_options, altivec_expand_builtin,
4250 altivec_init_builtins): Likewise.
4251 * sparc.c (mark_ultrasparc_pipeline_state): Likewise.
4252 * cppexp.c (Nsuff, parse_number): Likewise.
4253 * cppinit.c (builtin_array_end): Likewise.
4254 * gcc.c (n_default_compilers, process_command): Likewise.
4255 * genpreds.c (output_predicate_decls): Likewise.
4256 * ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
4257 * lcm.c (N_ENTITIES): Likewise.
4258 * stor-layout.c (set_sizetype): Likewise.
4260 2002-03-03 Richard Henderson <rth@redhat.com>
4262 * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
4263 for types or labels.
4265 2002-03-03 Richard Henderson <rth@redhat.com>
4267 * c-decl.c (start_decl): Initialized variables are not common.
4269 2002-03-02 Per Bothner <per@bothner.com>
4271 * gcc.c (option_map): Suport new --bootclasspath option.
4272 --CLASSPATH is now just an alias for --classpath.
4274 2002-03-02 Richard Henderson <rth@redhat.com>
4276 * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
4277 load if "internal" visibility.
4278 * doc/extend.texi: Document visibility meanings.
4280 2002-03-02 Richard Henderson <rth@redhat.com>
4282 * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
4283 to functions as well.
4285 2002-03-02 Richard Henderson <rth@redhat.com>
4287 * attribs.c (handle_alias_attribute): Don't call assemble_alias.
4288 (handle_visibility_attribute): Don't call assemble_visibility.
4289 * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
4290 without asmspec. Invoke assemble_alias when needed.
4291 * varasm.c (maybe_assemble_visibility): New.
4292 (assemble_start_function, assemble_variable, assemble_alias): Use it.
4294 2002-03-02 Richard Henderson <rth@redhat.com>
4296 * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
4297 invoke ENCODE_SECTION_INFO with first call flag.
4299 * config/darwin-protos.h, config/darwin.c, config/darwin.h,
4300 config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
4301 config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
4302 config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
4303 config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
4304 config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
4305 config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
4306 config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
4307 config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
4308 config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
4309 config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4310 config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
4311 config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
4312 config/m68hc11/m68hc11.h, config/m88k/m88k.h,
4313 config/mcore/mcore-protos.h, config/mcore/mcore.c,
4314 config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
4315 config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
4316 config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
4317 config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
4318 config/sh/sh.h, config/sparc/sparc.h,
4319 config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
4320 config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
4321 config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
4322 FIRST argument. As needed, examine it and do nothing.
4324 * config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
4325 config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
4326 config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.
4328 * config/arm/t-pe (pe.o): Add dependencies.
4330 2002-03-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4332 * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
4333 cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
4334 i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
4335 mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
4336 pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
4337 vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
4338 * defaults.h (BITS_PER_UNIT): Define.
4339 * doc/tm.texi (BITS_PER_UNIT): Document default value.
4341 2002-03-02 Kazu Hirata <kazu@hxi.com>
4343 * config/h8300/h8300-protos.h: Add a prototype for
4344 compute_a_shift_length.
4345 * config/h8300/h8300.c (h8300_asm_insn_count): New.
4346 (compute_a_shift_length): Likewise.
4347 (h8300_adjust_insn_length): Do not adjust insn length of shift
4349 * config/h8300/h8300.md (anonymous shift patterns): Use
4350 compute_a_shift_length.
4352 Sat Mar 2 06:30:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4354 * config/sparc/sparc.c (sparc_initialize_trampoline): Use
4357 * emit-rtl.c (offset_address): Call update_temp_slot_address.
4359 2002-03-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4361 * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
4362 * doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
4363 * flags.h (flag_zero_initialized_in_bss): Declare.
4364 * toplev.c (flag_zero_initialized_in_bss): New flag.
4365 (lang_independent_options): Add flag_zero_initialized_in_bss.
4366 * tree.c (initializer_zerop): New function.
4367 * tree.h (initializer_zerop): Declare.
4368 * varasm.c (assemble_variable): If we can emit bss, put zero
4369 initializers in the bss section.
4371 2002-03-02 Alan Modra <amodra@bigpond.net.au>
4373 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
4374 like more than one symbol per .weak directive.
4376 2002-03-01 Richard Henderson <rth@redhat.com>
4378 * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
4379 adjust argument_pointer by pretend_args_size.
4380 (ia64_va_start): Adjust va_start address by -pretend_args_size.
4382 2002-03-01 Kazu Hirata <kazu@hxi.com>
4384 * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
4386 Fri Mar 1 20:59:14 CET 2002 Jan Hubicka <jh@suse.cz>
4388 * toplev.c (rest_of_compilation): Delete dead jumptables before
4390 * flow.c (delete_dead_jumptables): Make global.
4391 * rtl.h (delete_dead_jumptables): Declare.
4393 2002-03-01 David Edelsohn <edelsohn@gnu.org>
4395 * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
4396 * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
4397 * config/rs6000/xcoff.h (COLLECT_EXPORT_LIST): Delete.
4399 2002-03-01 Kazu Hirata <kazu@hxi.com>
4401 * config/h8300/h8300-protos.h: Fix formatting.
4402 * config/h8300/h8300.c: Likewise.
4403 * config/h8300/h8300.h: Likewise.
4405 2002-03-01 Kazu Hirata <kazu@hxi.com>
4407 * config/h8300/h8300.c (print_operand): Support 16-bit
4409 * config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.
4411 2002-02-28 Richard Henderson <rth@redhat.com>
4413 * expmed.c (store_bit_field): Prevent generation of CONCATs;
4414 pun complex values as integers; use gen_lowpart instead of
4416 (extract_bit_field): Likewise.
4418 2002-03-01 Alan Modra <amodra@bigpond.net.au>
4419 David Edelsohn <edelsohn@gnu.org>
4421 * doc/tm.texi (ASM_WEAKEN_DECL): Document.
4422 (ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
4423 (SUPPORTS_WEAK): Likewise.
4424 * output.h (add_weak): Add tree param.
4425 * varasm.c (add_weak): Likewise. Save decl.
4426 (struct weak_syms): Add decl field.
4427 (mark_weak_decls): New function.
4428 (init_varasm_once): ggc_add_root mark_weak_decls.
4429 (assemble_start_function): Use ASM_WEAKEN_DECL.
4430 (assemble_variable): Likewise.
4431 (assemble_alias): Likewise.
4432 (declare_weak): Pass decl to add_weak.
4433 (weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
4434 (remove_from_pending_weak_list): Declare and define for
4436 * c-pragma.c (handle_pragma_weak): Adjust add_weak call.
4437 * c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
4438 * defaults.h (SUPPORTS_WEAK): Likewise.
4439 * config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
4440 .weak for code sym. Do emit .size for descriptor sym.
4441 (ASM_DECLARE_FUNCTION_SIZE): Define.
4442 * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
4443 (ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here. Don't output
4444 .lglobl unless TARGET_XCOFF. Formatting fixes.
4445 * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
4447 (HANDLE_PRAGMA_WEAK): Remove.
4448 (ASM_WEAKEN_LABEL): Remove.
4449 * config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.
4451 2002-03-01 Jason Merrill <jason@redhat.com>
4453 * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
4454 (TARGET_EXPR_CLEANUP): New macro.
4456 2002-02-28 Steve Ellcey <sje@cup.hp.com>
4458 * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
4459 to take ptr_extend into account as third type of extension.
4460 (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
4461 fields used by SUBREG_PROMOTED_UNSIGNED_P.
4462 * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
4463 (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
4464 * calls.c (precompute_arguments): Use new macro.
4465 (expand_call): Ditto.
4466 * combine.c (nonzero_bits): Ditto.
4467 (record_promoted_value): Ditto.
4468 * expr.c (store_expr): Ditto.
4469 (expand_expr): Ditto.
4470 * function.c (assign_parms): Ditto.
4472 2002-02-28 Alexandre Oliva <aoliva@redhat.com>
4474 * gcc.c (init_gcc_specs): Get -static and -static-libgcc to
4475 override -shared and -shared-libgcc.
4477 2002-02-28 David O'Brien <obrien@FreeBSD.org>
4479 * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
4481 * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears
4484 2002-02-28 Richard Henderson <rth@redhat.com>
4486 * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
4487 4 cycle latency from MM producers.
4488 (ia64_internal_sched_reorder): Likewise with pipeline flush.
4490 2002-02-28 Jakub Jelinek <jakub@redhat.com>
4492 * mklibgcc.in: Don't use GNU make extension.
4494 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4496 * c-parse.in (STATIC): New terminal.
4497 (scspec): New non-terminal. Update productions accordingly.
4498 (program): Remove bogus ifc / end ifc.
4499 (array_declarator): Simplify production using STATIC.
4501 2002-02-28 Jim Meyering <meyering@lucent.com>
4503 * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
4504 \a still means TARGET_BELL.
4506 2002-02-28 Richard Henderson <rth@redhat.com>
4508 * haifa-sched.c (sched_emit_insn): New.
4509 (schedule_block): Use last_scheduled_insn to track last insn.
4510 * sched-int.h (sched_emit_insn): Prototype.
4511 * config/ia64/ia64.c (last_issued): Remove.
4512 (ia64_variable_issue): Don't set it.
4513 (nop_cycles_until): Use sched_emit_insn.
4515 2002-02-28 Andrew MacLeod <amacleod@redhat.com>
4517 * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
4520 2002-02-28 Kazu Hirata <kazu@hxi.com>
4522 * config/h8300/h8300.c: Fix formatting.
4523 * config/h8300/h8300.h: Likewise.
4525 2002-02-28 Marek Michalkiewicz <marekm@amelek.gda.pl>
4527 * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
4528 which may overwrite the high byte of the frame pointer.
4530 2002-02-28 Bo Thorsen <bo@suse.de>
4532 * config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
4533 (STARTFILE_SPEC): Add 64 bit files.
4534 (ENDFILE_SPEC): Likewise.
4536 2002-02-28 Jason Merrill <jason@redhat.com>
4538 * c-decl.c (finish_function): Only warn about missing return
4539 statement with -Wreturn-type.
4541 Don Feb 28 11:24:30 CET 2002 Jan Hubicka <jh@suse.cz>
4543 * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
4545 * i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
4546 PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM
4548 Don Feb 28 11:07:36 CET 2002 Jan Hubicka <jh@suse.cz>
4550 * basic-block.h (BB_REACHABLE): Renumber.
4551 (BB_DIRTY, BB_NEW): New flags.
4552 (clear_bb_flags): Declare.
4553 (update_life_info_in_dirty_blocks): Declare.
4554 * cfg.c (clear_bb_flags): New function.
4555 * cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
4556 * emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
4557 reorder_insns, emit_insn_after): Mark block as dirty.
4558 * flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
4559 (update_life_info_in_dirty_blocks): New function.
4560 * recog.c (apply_change_group): Dirtify block.
4562 * cse.c (cse_insn): Reorder emitting of jump insn to keep
4564 * gcse.c (delete_null_pointer_checks): Likewise.
4566 * toplev.c (dump_file_index): Move cse2 after bp,
4568 (dump_file_info): Similary.
4569 (rest_of_compilation): Avoid most of CFG rebuilds;
4570 do first if converision after null pointer checks, do cse2
4571 after branch prediction; avoid full liveness rebuild after
4572 initializing subregs.
4573 * invoke.texi (-d options): Document -du, renumber.
4575 * cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
4576 (notice_new_block): Do not set BB_UPDATE_LIFE.
4577 (try_forward_edges, merge_blocks_move_predecessor_nojumps,
4578 merge_blocks_move_successor_nojumps, merge_blocks,
4579 try_crossjump_to_edge): Likewise.
4580 (try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
4581 * cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
4582 * ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
4583 (merge_of_block): Do not use life_data_ok.
4584 (find_if_case_1): Do not use SET_UPDATE_LIFE.
4585 (if_convert): Use BB_DIRTY mechanizm to update life.
4586 * lcm.c (optimize_mode_switching): Update
4587 update_life_info_in_dirty_blocks
4589 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk>
4591 * Makefile.in (integrate.o): Update.
4592 * c-decl.c (copy_lang_decl): Rename.
4593 * c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
4594 * integrate.c: Include langhooks.h.
4595 (copy_decl_for_inlining): Update to use langhook.
4596 * langhooks-def.h (lhd_do_nothing_t,
4597 LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
4598 (LANG_HOOKS_INITIALIZER): Update.
4599 * langhooks.c (lhd_do_nothing_t): New.
4600 * langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
4601 * tree.h (copy_lang_decl): Remove.
4603 * objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
4605 2002-02-27 Andrew MacLeod <amacleod@redhat.com>
4607 * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
4608 POST_DEC, and POST_MODIFY.
4610 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4612 * c-typeck.c (digest_init): Remove unused parameter; all
4615 2002-02-27 Geoffrey Keating <geoffk@redhat.com>
4617 * expmed.c (expand_shift): Correctly test for low part of a
4620 2002-02-27 Ulrich Weigand <uweigand@de.ibm.com>
4622 * config/s390/s390.c (s390_chunkify_pool): Do not confuse
4623 insn UIDs with insn addresses.
4625 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4627 * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
4628 c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
4629 cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
4630 builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
4631 gcc.c, toplev.c: Delete code implementing -traditional mode.
4633 * doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
4634 doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
4635 Document removal of -traditional mode for compilation, and
4636 remove documentation only relevant to that mode.
4638 * config/nextstep.h, config/ptx4.h, config/svr4.h,
4639 config/convex/convex.h, config/d30v/d30v.h,
4640 config/i386/dgux.h, config/i386/osf1elf.h,
4641 config/i386/osfelf.h, config/i386/osfrose.h,
4642 config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
4643 config/m68k/hp310.h, config/m88k/dgux.h,
4644 config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
4645 config/m88k/m88k.h, config/m88k/openbsd.h,
4646 config/mips/abi64.h, config/mips/osfrose.h,
4647 config/mips/svr4-5.h, config/mips/svr4-t.h,
4648 config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
4649 config/stormy16/stormy16.h: Remove all references to
4650 -traditional from target specs. Delete all mention of the
4651 no-longer-necessary TRADITIONAL_RETURN_FLOAT macro. Also
4652 delete a couple of commented-out definitions of
4653 DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
4656 * system.h: Poison TRADITIONAL_RETURN_FLOAT.
4657 * doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.
4659 2002-02-27 Zack Weinberg <zack@codesourcery.com>
4661 * mklibgcc.in: Don't use \n in a line subject to
4662 interpretation by echo.
4664 2002-02-27 Graham Stott <grahams@redhat.com>
4666 * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
4669 * loop.c (prescan_loop): Handle PARALLEL.
4671 * unroll.c (loop_iterations): Return 0 if the add_val for
4674 * final.c (output_operand_lossage): Constify PFX_STR.
4676 * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
4678 Wed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
4680 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
4681 * x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.
4683 Wed Feb 27 10:39:20 CET 2002 Jan Hubicka <jh@suse.cz>
4685 * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
4687 2002-02-27 Neil Booth <neil@daikokuya.demon.co.uk>
4689 * cpplex.c (_cpp_lex_token): Handle directives in macro
4691 * cpplib.c (_cpp_handle_directive): Save and restore state
4692 if parsing macro args when entering a directive.
4693 * cppmacro.c (collect_args): No need to handle directives
4695 (enter_macro_context, replace_args): Use the original macro
4696 definition in case it was redefined whilst collecting arguments.
4700 2002-02-26 David Edelsohn <edelsohn@gnu.org>
4702 * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
4703 * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
4704 * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
4706 * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
4707 (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
4708 (load_toc_v4_PIC_2): Same.
4710 2002-02-26 Alan Modra <amodra@bigpond.net.au>
4712 * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.
4714 2002-02-26 Richard Henderson <rth@redhat.com>
4716 * config/alpha/alpha.md (ashldi_se): Re-enable.
4718 2002-02-26 Richard Henderson <rth@redhat.com>
4720 * config/alpha/alpha.c (alpha_encode_section_info): Examine
4721 MODULE_LOCAL_P; improve commentary.
4723 2002-02-26 Zack Weinberg <zack@codesourcery.com>
4725 * doc/cpp.texi: Clarify documentation of relationship between
4728 2002-02-26 Kazu Hirata <kazu@hxi.com>
4730 * config/h8300/h8300-protos.h: Update the prototype for
4731 compute_logical_op_length. Add the prototype for
4732 compute_logical_op_cc.
4733 * config/h8300/h8300.c (compute_logical_op_length): Figure out
4735 (compute_logical_op_cc): New.
4736 * config/h8300/h8300.md: Combine all the logical op patterns
4737 in HImode and SImode. Use compute_logical_op_cc.
4739 2002-02-26 Kelley Cook <kelleycook@comcast.net>
4741 * config/i386/i386.c (print_operand): Don't append ATT-style
4742 length suffixs to x87 opcodes when in Intel mode.
4744 2002-02-26 Ryan T. Sammartino <ryants@shaw.ca>
4746 * emit-rtl.c (gen_const_vector_0): Remove TYPE argument.
4747 (init_emit_once): Update calls.
4748 * fixinc/gnu-regex.c (_GNU_SOURCE): Remove.
4749 (init_syntax_once): Prototype.
4751 2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
4753 * pa-linux.h (LIB_SPEC): Update definition.
4754 * pa32-linux.h (LINK_COMMAND_SPEC): Delete.
4756 2002-02-26 Richard Henderson <rth@redhat.com>
4758 * config/ia64/ia64.c (nop_cycles_until): Do init_insn_group_barriers
4759 if we emitted a stop bit.
4761 2002-02-26 Jakub Jelinek <jakub@redhat.com>
4763 * configure.in (libgcc_visibility): Substitute.
4764 * configure: Rebuilt.
4765 * mklibgcc.in: If libgcc_visibility = yes, make libgcc.a global
4766 defined symbols .hidden.
4768 2002-02-26 Jakub Jelinek <jakub@redhat.com>
4770 * attribs.c (c_common_attribute_table): Add visibility.
4771 (handle_visibility_attribute): New function.
4772 * varasm.c (assemble_visibility): New function.
4773 * output.h (assemble_visibility): Add prototype.
4774 * tree.h (MODULE_LOCAL_P): Define.
4775 * crtstuff.c (__dso_handle): Use visibility attribute.
4776 * config/i386/i386.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG
4777 for MODULE_LOCAL_P symbols too.
4778 * config/ia64/ia64.c (ia64_encode_section_info): Handle
4779 MODULE_LOCAL_P symbols the same way as local symbols.
4780 Add SDATA_NAME_FLAG_CHAR even if decl was explicitely forced
4781 into .sdata/.sbss by the user.
4782 * doc/extend.texi (Function Attributes): Document visibility
4785 2002-02-26 Jakub Jelinek <jakub@redhat.com>
4788 * dwarf2out.c (rtl_for_decl_location): Return CONST_STRING for
4789 STRING_CST initializer spanning the whole variable without
4791 If expand_expr returned MEM, don't use it.
4793 2002-02-26 Alexandre Oliva <aoliva@redhat.com>
4795 * dwarf2out.c (gen_inlined_subroutine_die): If block is abstract,
4796 generate a die for the lexical block.
4798 2002-02-26 Kazu Hirata <kazu@hxi.com>
4800 * config/h8300/h8300-protos.h: Add a prototype for
4801 compute_logical_op_length.
4802 * config/h8300/h8300.c (compute_logical_op_length): New.
4803 * config/h8300/h8300.md (anonymous logical patterns): Use
4804 compute_logical_op_length for length.
4806 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
4808 * dwarf2out.c (modified_type_die): Do not call type_main_variant
4810 (gen_type_die): Same.
4812 * attribs.c (handle_vector_size_attribute): Set debug information.
4814 2002-02-26 Daniel Egger <degger@fhm.edu>
4816 * config/rs6000/rs6000.md: Swap define_insn attributes to
4817 fix incorrect generation of merge high instructions instead
4820 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
4822 * c-typeck.c (really_start_incremental_init): Use
4823 bitsize_zero_node for vectors.
4825 2002-02-26 Aldy Hernandez <aldyh@redhat.com>
4827 * config/rs6000/rs6000.md (get_vrsave_internal): Fix typo.
4828 ("*set_vrsave_internal"): Same.
4830 2002-02-25 Richard Henderson <rth@redhat.com>
4832 * expr.c (expand_expr) [MULT_EXPR]: Do not apply distributive law
4833 in EXPAND_SUM case. Use host_integerp/tree_low_cst.
4835 2002-02-25 Jakub Jelinek <jakub@redhat.com>
4838 * config/i386/i386.c (ix86_return_pops_args): Only pop
4839 fake structure return argument if it was passed on the stack.
4841 2002-02-25 Jason Merrill <jason@redhat.com>
4843 * attribs.c (decl_attributes): Also re-layout PARM_DECL and
4846 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
4848 * gcc.c (init_gcc_specs): Get -shared-libgcc along with -shared to
4849 link with shared_name only.
4850 * doc/invoke.texi (Link Options): Document new behavior.
4852 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
4854 * c-typeck.c (push_init_level): Handle vectors.
4856 2002-02-25 Alexandre Oliva <aoliva@redhat.com>
4858 * config/sparc/sparc.c (const64_high_operand): Zero-extend
4859 operands of SPARC_SETHI_P.
4860 (input_operand): Likewise.
4861 (sparc_emit_set_const32): Likewise.
4862 * config/sparc/sparc.h (SPARC_SETHI_P): Disregard TARGET_ARCH64.
4863 (SPARC_SETHI32_P): Zero-extend operand from 32 bits.
4864 (CONST_OK_FOR_LETTER_P): Use SETHI32 for `K'. Add `N' as SETHI.
4865 * config/sparc/sparc.md (movdi_insn_sp64_novis): Use `N'.
4866 (movdi_insn_sp64_vis): Likewise.
4867 (movdi split, movdf split): Use SETHI32.
4868 * doc/md.texi: Document SPARC constraints L, M and N.
4870 2002-02-25 Aldy Hernandez <aldyh@redhat.com>
4872 * config/rs6000/rs6000.md ("get_vrsave_internal"): New.
4873 ("*set_vrsave_internal"): use mfspr for Darwin.
4875 * config/rs6000/rs6000.c (rs6000_emit_prologue): Call
4876 gen_get_vrsave_internal.
4878 Sun Feb 24 16:38:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4880 * optabs.c (widen_operand): Properly handle CONST_INT for NO_EXTEND.
4882 2002-02-24 Neil Booth <neil@daikokuya.demon.co.uk>
4884 * cpplex.c (cpp_interpret_charconst): Get signedness or
4885 otherwise of wide character constants correct.
4886 * cppexp.c (lex): Get signedness of wide charconsts correct.
4888 Sun Feb 24 07:41:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4890 * optabs.c (widen_operand): Only call convert_modes for
4891 promoted SUBREG if signedness matches.
4892 * config/alpha/alpha.md (*addsi_se2, *subsi_se2): New patterns.
4894 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
4896 * cpplib.c (glue_header_name): Use local buffer to build up
4899 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
4901 * doc/cpp.texi, doc/invoke.texi: Update documentation for -MM.
4903 2002-02-23 Kazu Hirata <kazu@hxi.com>
4905 * config/h8300/h8300.c (output_simode_bld): Handle H8/300 and
4906 H8/300[HS] separately.
4907 * config/h8300/h8300.md: Remove the early clobber constraint
4908 from bit field patterns.
4910 2002-02-23 Kazu Hirata <kazu@hxi.com>
4912 * config/h8300/h8300.md (mulqihi3): Tighten predicates to
4914 (mulhisi3): Likewise.
4915 (umulqisi3): Likewise.
4916 (umulhisi3): Likewise.
4918 2002-02-23 Neil Booth <neil@daikokuya.demon.co.uk>
4920 * cppinit.c (output_deps): Correct test for stdout output.
4921 (init_dependency_output): Cure warning.
4923 Sat Feb 23 08:42:47 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4925 * expr.c (store_expr): When converting expression to promoted
4926 equivalent type, allow using SUBREG_REG of TARGET as the target
4927 of the expansion of EXP.
4928 * loop.c (basic_induction_var, case SUBREG): Always look inside.
4929 * config/alpha/alpha.c (rtx_equiv_function_matters): Delete decl.
4930 (alpha_emit_set_const): Handle SImode when can't make new pseudos.
4931 (alpha_emit_set_const_1, alpha_sa_mask): Use no_new_pseudos.
4932 * config/alpha/alpha.md (addsi3, subsi3): Don't use if optimizing.
4934 2002-02-23 Joseph S. Myers <jsm28@cam.ac.uk>
4936 * doc/contribute.texi, doc/extend.texi, doc/install.texi,
4937 doc/invoke.texi, doc/md.texi, doc/passes.texi, doc/rtl.texi,
4938 doc/standards.texi, doc/tm.texi: Remove trailing whitespace.
4940 2002-02-23 Jakub Jelinek <jakub@redhat.com>
4942 PR optimization/5747
4943 * loop.c (scan_loop): Update reg info if move_movables created new
4946 2002-02-23 David Edelsohn <edelsohn@gnu.org>
4948 * gcc.c (init_gcc_spec): Revert last change.
4950 2002-02-23 David Edelsohn <edelsohn@gnu.org>
4952 * config/rs6000/rs6000.md (load_toc_aix_{si,di}): Use
4953 gpc_reg_operand constraint.
4955 2002-02-23 Alan Modra <amodra@bigpond.net.au>
4957 * config/rs6000/rs6000.c (num_insns_constant): Fix formatting.
4958 Simplify comparison of `low'.
4959 (add_operand): Fix formatting.
4960 (non_add_cint_operand): Use CONST_OK_FOR_LETTER_P.
4961 (mask_operand): Disallow mask to wrap in 64-bit mode.
4962 (rs6000_stack_info): Remove redundant test setting push_p.
4963 (output_toc): Fix formatting.
4964 * config/rs6000/rs6000.md (boolsi3, boolcsi3 splitters): Use
4965 cc_reg_not_cr0_operand constraint.
4966 (booldi3, boolcdi3 splitters): Same.
4968 2002-02-23 Aldy Hernandez <aldyh@redhat.com>
4970 * config/rs6000/altivec.h: Add extra level of parentheses on casts.
4972 2002-02-22 David Edelsohn <edelsohn@gnu.org>
4974 * gcc.c (init_gcc_spec): Do not link with static libgcc.a if
4975 gcc invoked with -shared-libgcc.
4977 2002-02-22 Jakub Jelinek <jakub@redhat.com>
4980 * stmt.c (expand_anon_union_decl): Set TREE_USED on the anon union
4981 decl if any of elements was TREE_USED.
4983 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
4985 * config/sparc/sol2.h: Don't include sys/mman.h.
4986 * config/sparc/sparc.c (arith_operand): Use SMALL_INT32.
4987 (arith_4096_operand): Don't throw high bits away.
4988 (const64_operand): Take sign extension of CONST_INTs into account.
4989 (const64_high_operand, sparc_emit_set_const32): Likewise.
4990 (GEN_HIGHINT64): Likewise.
4991 (sparc_emit_set_const64_quick1): Likewise.
4992 (const64_is_2insns): Likewise.
4993 (print_operand): Use trunc_int_for_mode for sign extension.
4994 * config/sparc/sparc.h (SMALL_INT32): Likewise.
4995 * config/sparc/sparc.md (movqi): Sign-extend CONST_DOUBLE
4996 chars. Assume CONST_INT is already properly sign-extended.
4997 (movdi split): Sign-extend each SImode part.
4998 (andsi3 split): Don't mask high bits off, so that result
4999 remains properly sign-extend.
5000 (iorsi3 split): Likewise.
5001 (xorsi3 split): Likewise.
5003 2002-02-22 Richard Sandiford <rsandifo@redhat.com>
5005 * fold-const.c (fold): Fix typo in comments.
5007 2002-02-21 Diego Novillo <dnovillo@redhat.com>
5009 * Makefile.in (langhooks.o): Update dependencies.
5011 2002-02-21 Diego Novillo <dnovillo@redhat.com>
5013 * langhooks.c: Include flags.h.
5015 2002-02-21 Aldy Hernandez <aldyh@redhat.com>
5017 * testsuite/gcc.dg/attr-alwaysinline.c: New.
5019 * c-common.c (c_common_post_options): Set inline trees by
5022 * doc/extend.texi (Function Attributes): Document always_inline
5024 Update documentation about inlining when not optimizing.
5026 * cp/decl.c (duplicate_decls): Merge always_inline attribute.
5028 * cp/tree.c (cp_cannot_inline_tree_fn): Do not inline at -O0
5029 unless DECL_ALWAYS_INLINE.
5031 * c-objc-common.c (c_cannot_inline_tree_fn): Do not inline at -O0
5032 unless DECL_ALWAYS_INLINE.
5033 (c_disregard_inline_limits): Disregard if always_inline set.
5035 * langhooks.c (lhd_tree_inlining_disregard_inline_limits):
5036 Disregard if always_inline set.
5037 (lhd_tree_inlining_cannot_inline_tree_fn): Do not inline at -O0
5038 unless DECL_ALWAYS_INLINE.
5040 * attribs.c (handle_always_inline_attribute): New.
5041 (c_common_attribute_table): Add always_inline.
5043 * config/rs6000/altivec.h: Add prototypes for builtins
5044 requiring the always_inline attribute.
5046 2002-02-21 Eric Christopher <echristo@redhat.com>
5048 * expmed.c (store_bit_field): Try to simplify the subreg
5049 before generating a new one when when the mode size of
5050 value is less than maxmode.
5052 2002-02-21 Richard Henderson <rth@redhat.com>
5054 * emit-rtl.c (offset_address): Use simplify_gen_binary rather
5055 than gen_rtx_PLUS to form the sum.
5056 * explow.c (force_reg): Rearrange to not allocate new pseudo
5057 when force_operand returns a register.
5058 * expr.c (expand_assignment): Allow offset_rtx expansion to
5059 return a sum. Do not force addresses into registers.
5060 (expand_expr): Likewise.
5061 * simplify-rtx.c (simplify_gen_binary): Use simplify_plus_minus
5062 to canonicalize arithmetic that didn't simpify.
5063 (simplify_plus_minus): New argument force; update
5064 all callers. Don't split CONST unless we can do something with it,
5065 and wouldn't lose the constness of the operands.
5067 * config/i386/i386.c (legitimize_pic_address): Recognize UNSPECs
5068 that we generated earlier.
5070 2002-02-21 Tom Tromey <tromey@redhat.com>
5072 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5073 (output_line_info): Use constant `1', with a long explanatory
5075 * system.h (DWARF_LINE_MIN_INSTR_LENGTH): Poison.
5077 Thu Feb 21 22:43:44 2002 J"orn Rennecke <joern.rennecke@superh.com>
5079 * jump.c (redirect_jump): If old label has no UID, don't try to
5082 Thu Feb 21 21:17:21 2002 J"orn Rennecke <joern.rennecke@superh.com>
5084 * sh.md (insv): Provide byte offsets for gen_rtx_SUBREG.
5085 If input is constant, do shifts at compile time.
5087 2002-02-21 Joseph S. Myers <jsm28@cam.ac.uk>
5089 * doc/extend.texi: Fix some more overfull hboxes.
5091 2002-02-21 Jakub Jelinek <jakub@redhat.com>
5093 PR optimization/4994
5094 * config/i386/i386.md (movsi_1, movsf_1): Support MMX -> MMX
5097 2002-02-21 Jakub Jelinek <jakub@redhat.com>
5100 * expr.h (expand_and): Add mode argument.
5101 * expmed.c (expand_and): Add mode argument.
5102 (expand_mult_highpart_adjust, emit_store_flag): Adjust callers.
5103 * expr.c (store_field, expand_expr, do_store_flag): Likewise.
5104 * except.c (expand_builtin_extract_return_addr): Likewise.
5105 * config/alpha/alpha.c (alpha_initialize_trampoline): Likewise.
5106 * config/sparc/sparc.c (sparc_initialize_trampoline): Likewise.
5107 * config/c4x/c4x.h (INITIALIZE_TRAMPOLINE): Likewise.
5108 Use GEN_INT (x) instead of gen_rtx (CONST_INT, VOIDmode, x).
5109 * config/c4x/c4x.md: Use GEN_INT (x) instead of
5110 gen_rtx (CONST_INT, VOIDmode, x).
5112 2002-02-21 Jakub Jelinek <jakub@redhat.com>
5115 * stmt.c (warn_if_unused_value): Move side effects test once more.
5117 2002-02-20 Torbjorn Granlund <tege@swox.com>
5119 * config/avr/avr.md: Add more patterns for mized-mode add and subtract
5120 (addsi3_zero_extend, subhi3_zero_extend1, subsi3_zero_extend).
5122 Thu Feb 21 16:20:46 2002 Alexandre Oliva <aoliva@redhat.com>
5124 * rtlanal.c (replace_rtx): Don't make a CONST_INT the operand of
5125 SUBREG or ZERO_EXTEND.
5127 Thu Feb 21 15:35:46 2002 J"orn Rennecke <joern.rennecke@superh.com>
5129 * sh.h (current_function_anonymous_args): Remove.
5130 (SETUP_INCOMING_VARARGS): Don't set it - just check that one
5131 of current_function_varargs and current_function_stdarg is set.
5132 * sh.c (sh_expand_prologue): Check current_function_varargs /
5133 current_function_stdarg / TARGET_SH5 instead of
5134 current_function_anonymous_args.
5136 * sh64.h (TARGET_VERSION): Define.
5138 2002-02-20 David Edelsohn <edelsohn@gnu.org>
5140 * config/rs6000/rs6000.h (EPILOGUE_USES): Conditionalize
5141 VRSAVE_REGNO on TARGET_ALTIVEC.
5143 2002-02-20 Alan Modra <amodra@bigpond.net.au>
5145 * config/rs6000/rs6000.c (includes_lshift_p): Mask irrelevant
5146 bits of SImode const_int.
5147 (includes_rshift_p): Likewise.
5148 (print_operand): Call mask_operand and mask64_operand with correct
5150 (rs6000_output_function_epilogue): Pad traceback table to word.
5151 * config/rs6000/rs6000.h (MASK_64BIT): Correct comment.
5152 (EXTRA_CONSTRAINT, 'S' and 'T'): Call mask_operand and
5153 mask64_operand with correct mode.
5154 (FUNCTION_ARG_REGNO_P): Correct parentheses.
5156 2002-02-20 Jakub Jelinek <jakub@redhat.com>
5159 * varasm.c (get_pool_constant_mark): New.
5160 * rtl.h (get_pool_constant_mark): Add prototype.
5161 * dwarf2out.c (mem_loc_descriptor): A pool constant cannot
5162 be represented if it has not been output.
5164 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
5166 * combine.c (do_SUBST): Sanity check substitutions of
5167 CONST_INTs, and reject them in SUBREGs and ZERO_EXTENDs.
5168 (subst): Simplify SUBREG or ZERO_EXTEND instead of SUBSTing a
5169 CONST_INT into its operand.
5170 (known_cond): Likewise, for ZERO_EXTEND.
5171 * simplify-rtx.c (simplify_unary_operation): Fix condition to
5172 allow for simplification of wide modes. Reject CONST_INTs in
5173 ZERO_EXTEND when their actual mode is not given.
5175 2002-02-20 Alexandre Oliva <aoliva@redhat.com>
5177 * c-decl.c (pushdecl): If no global declaration is found for an
5178 extern declaration in block scope, try a limbo one.
5180 2002-02-20 Jakub Jelinek <jakub@redhat.com>
5183 * c-common.c (pointer_int_sum): Moved from...
5184 * c-typeck.c (pointer_int_sum): ...here.
5185 * c-common.h (pointer_int_sum): Add prototype.
5187 2002-02-20 Jakub Jelinek <jakub@redhat.com>
5190 * c-decl.c (duplicate_decls): Return 0 if issued error about
5193 2002-02-20 Roger Sayle <roger@eyesopen.com>
5194 Jakub Jelinek <jakub@redhat.com>
5197 * tree.c (host_integerp): Ensure that the constant integer is
5198 representable in a HOST_WIDE_INT or an unsigned HOST_WIDE_INT
5199 when pos is zero or non-zero respectively. Clarify comment.
5200 * c-format.c (check_format_info_recurse): Fix host_integerp
5201 usage; the pos argument should be zero when assigning to a
5202 signed HOST_WIDE_INT.
5204 2002-02-20 Richard Henderson <rth@redhat.com>
5206 * config/i386/i386.c (ix86_expand_vector_move): Use the mode
5207 of the operand, rather than assuming TImode.
5208 (ix86_expand_binop_builtin): Cope with commutative patterns
5209 using nonimmediate_operand for both operands.
5210 (ix86_expand_timode_binop_builtin): Likewise.
5211 (ix86_expand_store_builtin): Validate operand 1.
5212 (ix86_expand_unop1_builtin): Likewise.
5214 2002-02-20 Philip Blundell <philb@gnu.org>
5217 * config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
5219 2002-02-20 Richard Henderson <rth@redhat.com>
5222 * expr.h (ARGS_SIZE_TREE): Convert size.var to ssizetype.
5224 2002-02-20 Tom Tromey <tromey@redhat.com>
5226 * config/fr30/fr30.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5227 * config/sh/sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5228 * config/pj/pj.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5229 * config/cris/cris.h (DWARF_LINE_MIN_INSTR_LENGTH): Removed.
5230 * dwarf2out.c (DWARF_LINE_MIN_INSTR_LENGTH): Define
5233 Wed Feb 20 00:03:25 EST 2002 Alan Matsuoka <alanm@redhat.com>
5235 * config/rs6000/rs6000.h (LEGITIMATE_OFFSET_ADDRESS_P): Look
5236 for (const_int 0) in X not just INTVAL.
5238 2002-02-20 Joseph S. Myers <jsm28@cam.ac.uk>
5240 * doc/extend.texi: Avoid or reduce overfull hboxes.
5242 2002-02-20 Diego Novillo <dnovillo@redhat.com>
5244 * expmed.c (store_bit_field): Do not store bit fields using SUBREG
5245 operations if the field does not start at a mode boundary.
5247 2001-02-20 Joel Sherrill <joel@OARcorp.com>
5249 * config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h,
5250 config/mips/rtems.h: Use new style of -Asystem= rather than -Asystem().
5251 Also done for -Acpu and -Amachine.
5253 2002-02-20 Neil Booth <neil@daikokuya.demon.co.uk>
5255 * cppinit.c (init_dependency_output): Take deps output file
5256 from -o if none given with -MF. Suppress normal output.
5257 * gcc.c (cpp_unique_options): Have -M and -MM imply -E.
5258 * doc/cpp.texi, doc/invoke.texi: Update.
5260 2002-02-19 Zack Weinberg <zack@codesourcery.com>
5262 * toplev.c (output_quoted_string): Write unprintable
5263 characters with octal escapes.
5265 2002-02-19 David Edelsohn <edelsohn@gnu.org>
5267 * config/rs6000/rs6000.h (CONDITIONAL_REGISTER_USAGE): Set
5268 really_call_used[VRSAVE_REGNO] if not Altivec.
5270 2002-02-19 Alan Modra <amodra@bigpond.net.au>
5272 * config/rs6000/rs6000.c (u_short_cint_operand): Mask op with
5274 (constant_pool_expr_1): Fix formatting.
5275 (rs6000_legitimize_reload_address): Likewise.
5277 Tue Feb 19 20:13:57 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5279 * config/sparc/sparc.md (nonlocal_goto): Use hard_frame_pointer_rtx
5280 now that we have one.
5282 2002-02-19 Zack Weinberg <zack@codesourcery.com>
5284 * tree.h (struct tree_common): Remove aux. Add unused_0 at
5285 end of first block of bitfields (which was only seven bits);
5286 rename dummy to unused_1; remove comment which is no longer true.
5288 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
5290 * doc/c-tree.texi (Classes, TYPE_BINFO): Fix typo.
5292 2002-02-19 Philip Blundell <pb@nexus.co.uk>
5295 * config/arm/arm.h (THUMB_LEGITIMATE_CONSTANT_P): Accept anything
5299 * config/arm/arm.md (call_insn) [TARGET_THUMB]: Use
5300 arm_is_longcall_p rather than inspecting call-type cookie
5302 (call_value_insn) [TARGET_THUMB]: Likewise.
5304 2002-02-19 Graham Stott <grahams@redhat.com>
5306 * config/i386/i386.c (ix86_expand_builtin): Fix typo.
5308 2002-02-19 David Edelsohn <edelsohn@gnu.org>
5310 * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC): Look in /lib64.
5311 ({STARTFILE,ENDFILE}_LINUX_SPEC): Define.
5312 (FP_SAVE_INLINE): Delete.
5314 * config/rs6000/sysv4.h (ENDFILE_SPEC): Add crtsaveres.o.
5315 * config/rs6000/eabi.asm: Remove ABI save restore routines.
5316 * config/rs6000/t-ppccomm: Build crtsavres.o.
5317 * config/rs6000/crtsavres.asm: New file.
5319 2002-02-19 Philip Blundell <philb@gnu.org>
5321 * config/arm/arm.c (use_return_insn): Don't reject interrupt
5323 (arm_compute_save_reg_mask): Save LR for interrupt functions too.
5324 (output_return_instruction): Allow interrupt functions to return with
5325 ldmfd sp!, {... pc}^. Use LDR to restore any single register.
5326 (arm_expand_prologue): Subtract 4 before stacking LR in an
5329 2002-02-19 Philip Blundell <pb@nexus.co.uk>
5331 * config/arm/arm.c (arm_encode_call_attribute): Operate on any
5332 decl, not just FUNCTION_DECL.
5333 (legitimize_pic_address): Handle local SYMBOL_REF like LABEL_REF.
5334 (arm_assemble_integer): Likewise.
5335 * config/arm/arm.h (ARM_ENCODE_CALL_TYPE): Allow any decl to be
5338 2002-02-19 matthew green <mrg@eterna.com.au>
5340 * config.gcc (sparc-*-netbsdelf*): Enable target.
5341 (sparc64-*-netbsd*): New target.
5342 * config/sparc/netbsd-elf.h: New file.
5343 * config/sparc/t-netbsd64: New file.
5345 2002-02-19 Gaute B Strokkenes <gs234@cam.ac.uk>
5347 * doc/rtl.texi (Flags, MEM_SCALAR_P): Fix typo.
5349 2002-02-19 Ryan T. Sammartino <ryants@shaw.ca>
5351 * doc/invoke.texi: explicitly list the style guidelines that
5352 -Weffc++ checks for.
5354 Tue Feb 19 12:37:23 CET 2002 Jan Hubicka <jh@suse.cz>
5356 * regmove.c (regmove_optimize): Avoid increasing of register pressure.
5358 2002-02-19 Neil Booth <neil@daikokuya.demon.co.uk>
5361 * gcc.c (cpp_unique_options): Treat -o as indicating object file
5362 only if not -E. If -E, pass -o through to the preprocessor.
5364 2002-02-19 Kazu Hirata <kazu@hxi.com>
5366 * config/h8300/h8300.h (REGNO_REG_CLASS): Replace a literal
5367 register number with an appropriate macro.
5369 2002-02-19 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
5371 * doc/rtl.texi (Constants): Close @code tag.
5373 2002-02-19 Aldy Hernandez <aldyh@redhat.com>
5375 * config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
5376 ("mmx_uavgv4hi3"): Same.
5377 ("pmulhrwv4hi3"): Same.
5379 * tree-inline.c (walk_tree): Handle vectors.
5381 * c-common.c (constant_expression_warning): Handle vectors.
5382 (overflow_warning): Same.
5384 * sched-deps.c (sched_analyze_2): Handle vectors.
5386 * rtlanal.c (rtx_unstable_p): Handle vectors.
5387 (rtx_varies_p): Same.
5388 (count_occurrences): Same.
5389 (regs_set_between_p): Same.
5390 (modified_between_p): Same.
5391 (modified_in_p): Same.
5392 (volatile_insn_p): Same.
5393 (volatile_refs_p): Same.
5394 (side_effects_p): Same.
5396 (inequality_comparisons_p): Same.
5397 (replace_regs): Same.
5398 (computed_jump_p_1): Same.
5400 * rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
5402 (inner_mode_array): New.
5403 (copy_rtx): Handle vectors.
5404 (copy_most_rtx): Same.
5405 (rtx_equal_p): Same.
5406 (get_mode_alignment): Adjust for vectors.
5408 * resource.c (mark_referenced_resources): Handle vectors.
5409 (mark_set_resources): Same.
5411 * reload1.c (eliminate_regs): Handle vectors.
5412 (elimination_effects): Same.
5413 (scan_paradoxical_subregs): Same.
5415 * reload.c (subst_reg_equivs): Handle vectors.
5417 * regrename.c (scan_rtx): Handle vectors.
5419 * regclass.c (reg_scan_mark_refs): Handle vectors.
5421 * recog.c (find_single_use_1): Handle vectors.
5423 * local-alloc.c (equiv_init_varies_p): Handle vectors.
5424 (contains_replace_regs): Same.
5425 (memref_referenced_p): Same.
5427 * integrate.c (copy_rtx_and_substitute): Handle vectors.
5428 (subst_constants): Same.
5430 * genattrtab.c (attr_copy_rtx): Handle vectors.
5431 (encode_units_mask): Same.
5432 (clear_struct_flag): Same.
5433 (count_sub_rtxs): Same.
5435 * gcse.c (want_to_gcse_p): Handle vectors.
5436 (oprs_unchanged_p): Same.
5437 (hash_expr_1): Same.
5438 (oprs_not_set_p): Same.
5439 (expr_killed_p): Same.
5440 (compute_transp): Same.
5441 (store_ops_ok): Same.
5443 * function.c (purge_addressof_1): Do not allow paradoxical subregs
5445 (fixup_var_refs_1): Same.
5446 (instantiate_virtual_regs_1): Same.
5448 * fold-const.c (operand_equal_p): Handle vectors.
5450 (rtl_expr_nonnegative_p): Same.
5452 * flow.c (mark_used_regs): Handle vectors.
5454 * df.c (df_uses_record): Handle vectors.
5456 * cselib.c (cselib_subst_to_values): Handle vectors.
5457 (cselib_mem_conflict_p): Same.
5460 * cse.c (canon_reg): Handle vectors.
5462 (cse_process_notes): Same.
5463 (count_reg_usage): Same.
5466 * alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
5468 * combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
5470 * emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
5471 (gen_rtx): Handle CONST_VECTOR.
5472 (gen_const_vector_0): New.
5473 (copy_rtx_if_shared): CONST_VECTORs can be shared.
5474 (reset_used_flags): Same.
5475 (copy_insn_1): Same.
5476 (initializer_constant_valid_p): Handle VECTOR_CST.
5478 * doc/c-tree.texi (Expression trees): Document VECTOR_CST.
5480 * doc/rtl.texi (Constants): Document const_vector.
5481 (CONST0_RTX): Update for vectors.
5482 (RTL sharing): Same.
5484 * print-tree.c (print_node): Add case for VECTOR_CST.
5486 * tree.h (TREE_VECTOR_CST_ELTS): New.
5487 (struct tree_vector): New.
5488 (union tree_node): Add vector node.
5489 (build_vector): Add prototype.
5491 * tree.def (VECTOR_CST): New.
5493 * tree.c (build_vector): New.
5495 * expmed.c (make_tree): Handle CONST_VECTOR.
5497 * rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
5498 (CONST_VECTOR_ELT): New.
5499 (CONST_VECTOR_NUNITS): New.
5501 * machmode.h (GET_MODE_INNER): New.
5502 (DEF_MACHMODE): Accept 8th arg.
5504 * machmode.def: Add 8th argument for vector inner mode.
5505 Add inner vector modes for vectors.
5507 * rtl.def (VEC_CONST): Remove.
5508 (CONST_VECTOR): New.
5510 * expr.c (clear_storage): Allow vectors.
5511 (is_zeros_p): Handle VECTOR_CST.
5513 * varasm.c (output_constant_pool): Handle vectors.
5514 (rtx_const): Add veclo and vechi fields.
5515 (kind): Add RTX_VECTOR.
5516 (decode_rtx_const): Add case for vector.
5518 * config/rs6000/rs6000-protos.h: Add zero_constant.
5520 * config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
5521 constants. Force easy vector constants into memory.
5522 (easy_vector_constant): New.
5523 (emit_easy_vector_constant): New.
5524 (rs6000_legitimize_reload_address): Do not generate bad reloads on
5527 * config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
5529 ("altivec_lvxl"): Same.
5530 (altivec_lvebx): Same.
5531 (altivec_lvehx): Same.
5532 (altivec_lvewx): Same.
5533 ("*movv4si_const0"): New.
5534 ("*movv4sf_const0"): New.
5535 ("*movv8hi_const0"): New.
5536 ("*movv16qi_const0"): New.
5538 2002-02-18 Kazu Hirata <kazu@hxi.com>
5540 * config/h8300/h8300.c (notice_update_cc): Use
5543 2002-02-18 Kazu Hirata <kazu@hxi.com>
5545 * config/h8300/h8300.md (divmod patterns): Change the
5546 constraints for operands[1] to register_operand.
5548 2002-02-18 Kazu Hirata <kazu@hxi.com>
5550 * config/h8300/h8300-protos.h: Remove the prototype for
5552 * config/h8300/h8300.c (p_operand): Remove.
5553 * config/h8300/h8300.md: Replace p_operand with
5556 2002-02-18 Philip Blundell <pb@nexus.co.uk>
5558 * config/arm/arm.c (arm_compute_save_reg_mask): Fix typo in
5560 (output_return_instruction): Allow use of LDR to unstack
5561 return addresss even for interrupt handlers or when
5562 interworking. If compiling for ARMv5, use interworking-safe
5563 return instructions by default. Remove duplicated code and
5564 lengthy "strcat" sequences.
5566 2002-02-18 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5568 * config/rs6000/sysv4.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
5569 (LINK_EH_SPEC): Define.
5570 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
5572 2002-02-18 Ulrich Weigand <uweigand@de.ibm.com>
5574 * config/s390/s390.c (s390_emit_prologue): Do not set the
5575 frame_related flag for call-clobbered registers.
5577 Mon Feb 18 15:07:35 CET 2002 Jan Hubicka <jh@suse.cz>
5579 * i386.c (classify_argument): Properly classify SSE/MMX modes and VOIDmode.
5580 (construct_container): Fix handling of SSE operands.
5581 (ix86_expand_builtin): Fix handling of 64bit pointers.
5582 (mmx_maskmovq_rex): New pattern.
5584 Mon Feb 18 11:55:55 CET 2002 Jan Hubicka <jh@suse.cz>
5586 * regrename.c (kill_set_value): Handle subregs properly.
5588 2002-02-18 David Billinghurst <David.Billinghurst@riotinto.com>
5590 * objc/objc-act.c (handle_impent): Remove leading '*'
5591 from objc_class_name.
5593 2002-02-17 Richard Henderson <rth@redhat.com>
5595 * config/alpha/alpha.c (some_small_symbolic_operand,
5596 some_small_symbolic_operand_1, split_small_symbolic_operand,
5597 split_small_symbolic_operand_1): Rename from *symbolic_mem_op*.
5598 Handle small SYMBOL_REFs anywhere, not just inside memories.
5599 * config/alpha/alpha-protos.h: Update.
5600 * config/alpha/alpha.h (PREDICATE_CODES): Update.
5601 * config/alpha/alpha.md (small symbolic operand splitter): Update.
5603 2002-02-17 Roland McGrath <roland@frob.com>
5605 * config.gcc (powerpc-*-gnu-gnualtivec*,
5606 powerpc-*-gnu*, powerpc64-*-gnu*): New configurations.
5607 * config/rs6000/gnu.h: New file.
5608 * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS):
5609 Grok "gnu" in rs6000_abi_name.
5610 (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC,
5611 CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC):
5612 Grok -mcall-gnu analogous to -mcall-linux et al.
5613 (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
5614 LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros.
5615 (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them.
5617 2002-02-17 Jakub Jelinek <jakub@redhat.com>
5620 * c-typeck.c (build_binary_op) [BIT_XOR_EXPR]: Remove explicit
5623 2002-02-17 Philipp Thomas <pthomas@suse.de>
5625 * config/cris/cris.h: Undefine STARTFILE_SPEC and
5626 ENDFILE_SPEC before (re)defining them.
5628 2002-02-17 Kazu Hirata <kazu@hxi.com>
5630 * config/h8300/h8300.c: Fix formatting.
5631 * config/h8300/h8300.h: Likewise.
5633 2002-02-17 Philipp Thomas <pthomas@suse.de>
5635 * doc/tm.texi: Explain why empty strings should not be
5636 marked for translation.
5638 2002-02-17 Philipp Thomas <pthomas@suse.de>
5640 * final.c (output_operand_lossage): Changed to accept
5641 printf style arguments. Change calls where necessary.
5642 * output.h (output_operand_lossage): Change declaration
5643 accordingly. Update copyright.
5644 * config/arc/arc.c config/fr30/fr30.c config/m32r/m32r.c
5645 config/m88k/m88k.c : Adapt all calls to output_operand_lossage.
5646 Update copyright date where necessary.
5648 * config/i386/i386.c (print_operand): Likewise. Remove use of
5651 * config/cris/cris.c (cris_operand_lossage): Likewise.
5652 Rename parameter so that exgettext recognizes it as
5653 translatable message.
5654 (LOSE_AND_RETURN): Rename parameter to msgid.
5656 2002-02-17 Kazu Hirata <kazu@hxi.com>
5658 * config/h8300/h8300.h (CONDITIONAL_REGISTER_USAGE): Replace a
5659 hard coded register number with an appropriate macro.
5660 (HARD_REGNO_MODE_OK): Likewise.
5661 (ARG_POINTER_REGNUM): Likewise.
5662 (STATIC_CHAIN_REGNUM): Likewise.
5663 (RETURN_ADDRESS_POINTER_REGNUM): Likewise.
5664 * config/h8300/h8300.md (define_constants): Define more
5667 2002-02-17 Philipp Thomas <pthomas@suse.de>
5669 * config/i386/i386.h: Don't mark empty strings for translation.
5671 2002-02-16 H.J. Lu <hjl@gnu.org>
5673 * config/mips/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
5675 2002-02-16 Zack Weinberg <zack@codesourcery.com>
5677 * cppinit.c (merge_include_chains): Check for brack being
5678 NULL before attempting to merge it with qtail.
5680 2002-02-16 Andrew Cagney <ac131313@redhat.com>
5682 * config/rs6000/netbsd.h (PREFERRED_DEBUGGING_TYPE): Set to
5685 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5687 * pa/t-pa, pa/t-pro, som.h: Revert last patch.
5689 2002-02-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
5691 * pa/t-pa (LIB2FUNCS_EXTRA): Don't build lib2funcs.asm.
5692 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise.
5693 * som.h (DO_GLOBAL_DTORS_BODY): Delete define.
5695 Sat Feb 16 13:48:50 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5697 * config/alpha/alpha.md (*movsi_nt_vms_nofix): Was *movsi_nt_vms;
5698 now only if !TARGET_FIX.
5699 (*movsi_nt_vms_fix): New pattern.
5701 2002-02-16 Douglas B Rupp <rupp@gnat.com>
5703 * config/alpha/alpha.c: Implement null frame procedure types on VMS.
5704 (alpha_procedure_type): Replaces alpha_is_stack_procedure.
5705 (alpha_sa_mask, alpha_sa_size): Reflect above change.
5706 (alpha_pv_save_size, alpha_expand_prologue): Likewise.
5707 (alpha_start_function, alpha_expand_epilogue): Likewise.
5708 (unicosmk_gen_dsib): Likewise.
5710 Sat Feb 16 13:39:09 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5712 * expr.c (store_constructor): Handle target REG case for ARRAY_TYPE.
5714 2002-02-16 Ulrich Weigand <uweigand@de.ibm.com>
5716 * config/s390/s390.c (pool_stop_uid, other_chunk, far_away,
5717 check_and_change_labels, s390_final_chunkify): Delete.
5718 (s390_split_branches, s390_chunkify_pool): New functions.
5719 (s390_function_prologue): Call them.
5721 * config/s390/s390.h (S390_REL_MAX): Delete.
5722 (S390_CHUNK_MAX, S390_CHUNK_OV): Adjust values.
5724 * config/s390/s390.md (cjump, icjump, jump): Fix length
5725 attribute calculation.
5728 2002-02-15 David Edelsohn <edelsohn@gnu.org>
5730 * config/rs6000/linux64.h (STRIP_NAME_ENCODING): Delete.
5731 * config/rs6000/ppc-asm.h (JUMP_TARGET): Define for powerpc64.
5733 2002-02-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
5735 * gcc.c (init_gcc_specs): Revert patch from 2002-02-15.
5736 * config/pa/pa-linux.h (LIB_SPEC): Likewise.
5737 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Likewise.
5739 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
5741 * c-decl.c (grokdeclarator): Prevent a segfault on unnamed decls.
5743 2002-02-15 Richard Sandiford <rsandifo@redhat.com>
5745 * reload.c (find_dummy_reload): Check that an output register
5746 is valid for its mode.
5748 2002-02-14 Alexandre Oliva <aoliva@redhat.com>
5750 * combine.c (known_cond): After replacing the REG of a SUBREG, try
5753 * function.c (assign_parms): Demote promoted argument passed by
5754 transparent reference.
5756 2001-02-14 Joel Sherrill <joel@OARcorp.com>
5758 * config/arm/rtems-elf.h, config/h8300/rtems.h: Removed redundant
5759 -Acpu() and -Amachine() to eliminate warnings.
5761 2002-02-14 Ulrich Weigand <uweigand@de.ibm.com>
5763 * config/s390/linux.h (ASM_OUTPUT_ALIGNED_BSS): New.
5765 2002-02-14 Kazu Hirata <kazu@hxi.com>
5767 * config/h8300/h8300-protos.h: Update the prototype for
5769 * config/h8300/h8300.c (const_costs): Treat SET as a little
5770 more expensive operation.
5771 * config/h8300/h8300.h (DEFAULT_RTX_COSTS): Update the
5772 reference to const_costs.
5774 2002-02-14 Hans-Peter Nilsson <hp@axis.com>
5776 * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.
5778 2002-02-14 Jakub Jelinek <jakub@redhat.com>
5781 * c-decl.c (duplicate_decls): If builtin type has TYPE_ARG_TYPES NULL,
5782 use arguments from newtype.
5784 2002-02-13 Eric Christopher <echristo@redhat.com>
5786 * config/mips/mips.c (override_options): Add check for march/mipsX
5787 on the same command line. Fix error message in cpu processing.
5788 Remove architecture and ISA checks.
5790 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
5792 * config/rs6000/darwin.h (ROUND_TYPE_ALIGN): Adjust for vectors.
5794 * config/rs6000/sysv4.h (ROUND_TYPE_ALIGN): Add MAX.
5796 2002-02-14 Aldy Hernandez <aldyh@redhat.com>
5798 * config/rs6000/rs6000.md ("*movv4si_internal"): Add m<-r and r<-r
5800 ("*movv8hi_internal1"): Same.
5801 ("*movv16qi_internal1"): Same.
5802 ("*movv4sf_internal1"): Same.
5804 * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Do
5805 not push_reload for altivec modes.
5807 2002-02-13 Joel Sherrill <joel@OARcorp.com>
5809 * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across
5810 all RTEMS targets including removal of #includes from config/*/rtems*.h
5811 file and adding them to tm_file setting. Added xm_defines=POSIX to
5813 * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto.
5814 * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto.
5815 * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto.
5816 * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto.
5817 * config.gcc (m68k-*-rtems*), config/m68k/rtems.h,
5818 config/m68k/rtemself.h: Ditto.
5819 * config.gcc (mips*-*-rtems*), config/mips/rtems.h,
5820 config/mips/rtems64.h: Ditto.
5821 * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto.
5822 * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h:
5824 * config.gcc (sparc-*-rtems*), config/sparc/rtems.h,
5825 config/sparc/rtemself.h: Ditto.
5826 * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto.
5827 * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved
5828 arm-rtems stanza closer to other arm-elf targets and made arm-rtems
5830 * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h,
5831 config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself
5832 target made more similar to i386-elf.
5833 * config/i386/t-rtems-i386: Added soft float support and multilibs.
5834 * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to
5835 be similar to config/m68k/t-m68kelf.
5836 * gthr-rtems.h: Encapsulate with extern "C" for C++.
5838 Wed Feb 13 23:41:15 CET 2002 Jan Hubicka <jh@suse.cz>
5840 * regmove.c (kill_value): Handle subregs.
5842 Wed Feb 13 23:34:30 CET 2002 Jan Hubicka <jh@suse.cz>
5844 * i386.md (mul patterns): Allow memory operand to be first;
5845 add expanders where needed; fix constraints.
5846 (min?f_nonieee, max?f_nonieee, SSE TImode patterns):
5847 Allow memory operand to be the first.
5849 * i386.c (ix86_prepare_fp_compare_args): Fix condition for swapping
5852 2002-02-13 Jakub Jelinek <jakub@redhat.com>
5855 * expr.c (safe_from_p): Pass VOIDmode to true_dependence instead of
5858 2002-02-13 Jakub Jelinek <jakub@redhat.com>
5860 PR optimization/5547:
5861 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify
5862 all valid IA-32 address modes involving non-scaled %ebx and
5863 GOT/GOTOFF as displacement.
5865 2002-02-13 Ulrich Weigand <uweigand@de.ibm.com>
5867 * config/s390/s390.c (s390_final_chunkify): Re-run shorten_branches
5868 after emitting ltorg insns.
5870 * config/s390/s390.md (*cmpdf_ccs_0, *cmpdf_ccs, *cmpsf_ccs_0,
5871 *cmpsf_ccs, truncdfsf2_ieee, *adddf3, *addsf3, *subdf3, *subsf3,
5872 *muldf3, *mulsf3, *divdf3, *divsf3, *negdf2, *negsf2, *absdf2,
5873 *abssf2): Fix "op_type" attribute.
5875 2002-02-13 Douglas B Rupp <rupp@gnat.com>
5877 * mkconfig.sh: Avoid using a subshell redirect.
5878 ($output.T): Change to $(output)T.
5879 (ENABLE_NLS): Remove unneeded undef.
5881 * config/alpha/vms.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Define.
5882 * config/alpha/x-vms (libsubdir): Define.
5884 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Handle
5885 register frame procedures. Optimize retrieving context.
5887 * config/alpha/t-vms (MULTILIB_OPTIONS): Define.
5888 (MULTILIB_DIRNAME, LIBGCC, INSTALL_LIBGCC): Likewise.
5889 * config/alpha/vms.h (ASM_FILE_START): Write .arch directive.
5891 Wed Feb 13 09:45:08 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5893 * alias.c (find_base_term, case ZERO_EXTEND, case SIGN_EXTEND):
5894 Make same change as for find_base_value.
5896 2002-02-13 Kazu Hirata <kazu@hxi.com>
5898 * config/h8300/h8300.h (MODES_TIEABLE_P): Accept a combination
5899 of QImode and SImode.
5901 2002-02-13 Kazu Hirata <kazu@hxi.com>
5903 * config/h8300/h8300.c (h8300_adjust_insn_length): Correct the
5904 length computation of movsi.
5905 * config/h8300/h8300.md (movsi_h8300hs): Correct the length.
5907 2002-02-13 Kazu Hirata <kazu@hxi.com>
5909 * config/h8300/h8300.md (subqi3): Tighten the predicate for
5910 operands[2] to register_operand.
5912 Wed Feb 13 10:35:56 CET 2002 Jan Hubicka <jh@suse.cz>
5914 * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
5916 2002-02-12 Aldy Hernandez <aldyh@redhat.com>
5918 * config/rs6000/rs6000.md: Use predicate altivec_register_operand
5919 for altivec_lvx* and altivec_stvx*.
5920 ("*movv4si_internal"): Add constraint for loading from GPRs.
5921 ("*movv8hi_internal1"): Same.
5922 ("*movv16qi_internal1"): Same.
5923 ("*movv4sf_internal1"): Same.
5925 * config/rs6000/rs6000.c (altivec_register_operand): New.
5927 * config/rs6000/rs6000.h (PREDICATE_CODES): Add
5928 altivec_register_operand.
5930 2002-02-13 Hans-Peter Nilsson <hp@bitrange.com>
5932 * config/mmix/mmix.c (mmix_assemble_integer) <case 4>: Don't
5935 2002-02-13 Stan Shebs <shebs@apple.com>
5937 * c-typeck.c (digest_init): Handle vectors.
5938 (really_start_incremental_init): Same.
5939 (pop_init_level): Same.
5940 (process_init_element): Same.
5942 * varasm.c (output_constant): Same.
5944 * expr.c (clear_storage): Same.
5945 (store_constructor): Same.
5947 2002-02-12 Eric Christopher <echristo@redhat.com>
5949 * explow.c (hard_function_value): Add comment explaining
5950 signed/unsigned comparison.
5952 2002-02-12 Jakub Jelinek <jakub@redhat.com>
5954 * jump.c (never_reached_warning): Add finish argument.
5955 If finish is NULL, stop on CODE_LABEL, otherwise stop before first
5956 real insn after end.
5957 * rtl.h (never_reached_warning): Adjust prototype.
5958 * cse.c (cse_insn): Pass NULL as finish to never_reached_warning.
5959 * cfgrtl.c (flow_delete_block): Pass b->end as finish to
5960 never_reached_warning.
5962 2002-02-12 Graham Stott <grahams@redhat.com>
5964 * config/hp/pa.h (GO_IF_LEGITIMATE_ADDRESS): Fix typos.
5966 2002-02-12 Kazu Hirata <kazu@hxi.com>
5968 * config/h8300/h8300.c (shift_alg_hi): Improve the 15-bit
5969 logical shifts on H8/300.
5970 (shift_alg_si): Improve several shifts on H8/300.
5971 (get_shift_alg): Likewise.
5973 2002-02-12 Graham Stott <grahams@redhat.com>
5975 * config/pa/pa.c (compute_movstrsi_length): Fix typos.
5977 Tue Feb 12 10:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5979 * alias.c (find_base_value, case ZERO_EXTEND, case SIGN_EXTEND):
5980 Handle #ifdef POINTERS_EXTEND_UNSIGNED.
5982 2002-02-11 Hans-Peter Nilsson <hp@bitrange.com>
5984 * config/mmix/mmix.c (mmix_assemble_integer) <case 1, 2>: Handle
5985 non-CONST_INT through default_assemble_integer.
5986 <case 4>: Likewise, for non-CONST_INT, non-SYMBOL_REF.
5987 <case 8>: Abort for CONST_DOUBLE.
5989 2002-02-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
5991 * gcc.c (init_gcc_specs): Add static libgcc to link when "-shared"
5993 * config/pa/pa-linux.h (LIB_SPEC): Delete.
5994 * config/pa/pa32-linux.h (LINK_COMMAND_SPEC): Delete.
5996 2002-02-11 Andrew Haley <aph@cambridge.redhat.com>
5998 * config/stormy16/stormy16.md (zero_extendqihi2): New.
6000 2002-02-11 Alexandre Oliva <aoliva@redhat.com>
6002 * regrename.c (regrename_optimize): Don't accept a
6003 part-clobbered register if the replaced register is not part
6006 * calls.c (store_one_arg): In the non-BLKmode non-partial case,
6007 take padding into account when computing the argument value.
6009 * config/sh/sh.h (FUNCTION_ARG_REGNO_P): Fix parenthesizing error.
6011 * combine.c (try_combine): Apply substitutions in
6012 CALL_INSN_FUNCTION_USAGE too.
6014 2002-02-11 Aldy Hernandez <aldyh@redhat.com>
6016 * config/rs6000/rs6000.c (altivec_init_builtins): Handle
6017 __builtin_altivec_abs*.
6020 * config/rs6000/rs6000.h (rs6000_builtins): Add
6021 ALTIVEC_BUILTIN_ABS*.
6023 * config/rs6000/altivec.h: Use const char for builtins expecting
6025 (vec_abs): New versions for C and C++.
6028 2002-02-10 Kazu Hirata <kazu@hxi.com>
6030 * config/h8300/h8300.h (INITIALIZE_TRAMPOLINE): Simplify by
6033 2002-02-10 Kazu Hirata <kazu@hxi.com>
6035 * config/h8300/h8300.h (STACK_POINTER_REGNUM): Use the
6036 constant definition from h8300.md.
6037 (FRAME_POINTER_REGNUM): Likewise.
6038 * config/h8300/h8300.md (define_constants): Add FP_REG.
6040 2002-02-10 Kazu Hirata <kazu@hxi.com>
6042 * config/h8300/h8300.c (print_operand): Remove redundant code.
6044 2002-02-10 Kazu Hirata <kazu@hxi.com>
6046 * config/h8300/h8300-protos.h: Remove the prototype for byte_reg.
6047 * config/h8300/h8300.c (byte_reg): Make it static.
6049 2002-02-10 Richard Henderson <rth@redhat.com>
6052 * c-typeck.c (incomplete_type_error): Handle flexible array members.
6054 2002-02-10 Richard Henderson <rth@redhat.com>
6057 * tree.c (append_random_chars): Don't abort if main_input_filename
6060 2002-02-10 Hans-Peter Nilsson <hp@bitrange.com>
6062 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): Disable.
6064 2002-02-10 Kazu Hirata <kazu@hxi.com>
6066 * config/h8300/h8300.md (pushhi1_h8300): Correct the mode used.
6067 (pushhi1): Likewise.
6069 2002-02-10 John David Anglin <dave@hiauly1.hia.nrc.ca>
6071 * pa.c (reg_before_reload_operand): Don't accept a SUBREG operand.
6072 * pa.h (PREDICATE_CODES): Adjust codes for reg_before_reload_operand.
6074 2002-02-09 David O'Brien <obrien@FreeBSD.org>
6076 * config/sparc/freebsd.h(TARGET_DEFAULT): Add MASK_EPILOGUE setting and
6078 (ASM_CPU_DEFAULT_SPEC): Remove. Default setting is fine.
6080 2002-02-09 Kazu Hirata <kazu@hxi.com>
6082 * config/h8300/h8300.c (output_logical_op): Use sub.w to clear
6083 a half of an SImode register on H8/300.
6085 Sat Feb 9 18:28:02 CET 2002 Jan Hubicka <jh@suse.cz>
6087 * i386.md (movdi_2): Add missing '!'.
6089 2002-02-09 Kazu Hirata <kazu@hxi.com>
6091 * config/h8300/h8300.h: Fix formatting. Remove commented-out
6094 2002-02-09 Kazu Hirata <kazu@hxi.com>
6096 * config/h8300/h8300.md (length): Correct the distance valid
6097 for the short branch.
6099 2002-02-09 Kazu Hirata <kazu@hxi.com>
6101 * config/h8300/h8300.md (iorhi3): Tighten the predicates.
6103 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
6105 * config/sh/sh.h (REGISTER_NATURAL_MODE): Save part-clobbered
6106 registers in SImode.
6107 (HARD_REGNO_CALL_PART_CLOBBERED) [TARGET_SHMEDIA32]: Set r18 as
6110 * config/sh/sh.c (expand_prologue): Fix mis-applied 2001-11-09's
6113 Contribute sh64-elf.
6114 2002-02-09 Alexandre Oliva <aoliva@redhat.com>
6115 * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to...
6116 (sh_cannot_modify_jumps_p): New function.
6117 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
6118 * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to...
6119 (sh_ms_bitfield_layout_p): New function.
6120 2002-02-04 Alexandre Oliva <aoliva@redhat.com>
6121 Zack Weinberg <zack@codesourcery.com>
6122 * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use
6123 expand_simple_binop instead of expand_binop.
6124 2002-02-03 Alexandre Oliva <aoliva@redhat.com>
6125 * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable
6126 use of .quad and .uaquad.
6127 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP,
6128 TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above.
6129 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
6130 * config/sh/sh.md (movdi_const, movdi_const_32bit,
6131 movdi_const_16bit): Make sure all CONSTs have modes.
6132 (sym2PIC): Ditto, but by adjusting all callers.
6133 * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live
6134 if the prologue calls the SHmedia argument decoder or register
6136 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
6137 * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define.
6138 (TARGET_ASM_ALIGNED_DI_OP): Likewise.
6139 (sh_expand_epilogue): Don't emit USE of return target register.
6140 (prepare_move_operands): Legitimize DImode PIC addresses.
6141 (sh_media_register_for_return): Skip tr0, used to initialize the
6143 (sh_expand_prologue): Remove explicit USE of return register.
6144 (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in
6145 CONST_DOUBLEs. UNSPEC_GOTPLT is PIC.
6146 * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete.
6147 (OVERRIDE_OPTIONS): Don't disable PIC on SH5.
6148 (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of
6150 (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New.
6151 (MOVI_SHORI_BASE_OPERAND_P): New.
6152 (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New.
6153 (EXTRA_CONSTRAINT_T): Define in terms of them.
6154 (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT.
6155 * config/sh/sh.md (movsi_media, movsi_media_nofpu,
6156 movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to
6157 alternatives supporting TARGET_REGS.
6158 (UNSPEC_GOTPLT): New constant.
6159 (movdi split): Move incrementing of LABEL_NUSES...
6160 (movdi_const, movdi_const_32bit): Here. Use
6161 MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T.
6162 (movdi_const_16bit): New.
6163 (call, call_value) [flag_pic]: Use GOTPLT.
6164 (call_pop, call_value_pop): New expands.
6165 (call_pop_compact, call_pop_rettramp): New insns.
6166 (call_value_pop_compact, call_value_pop_rettramp): New insns.
6167 (sibcall) [flag_pic]: Use GOT.
6168 (builtint_setjmp_receiver): Remove bogus, unused expand.
6169 (GOTaddr2picreg): Implement for SHcompact and SHmedia.
6170 (*pt, *ptb, ptrel): New insns.
6171 (sym2GOT): Handle DImode GOT.
6172 (sym2GOTPLT, symGOTPLT2reg): New expands.
6173 (sym2PIC): New expand.
6174 (shcompact_return_tramp): Use GOTPLT to return trampoline.
6175 (shcompact_return_tramp_i): Use return register explicitly.
6176 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't
6177 disable flag_reorder_blocks.
6178 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
6179 * config/sh/sh.md (sibcall_compact): Reorder return, uses and
6180 clobbers, for clarity.
6181 (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and
6182 restoring of r0 in macl as MAYBE_DEAD.
6183 2002-01-18 Alexandre Oliva <aoliva@redhat.com>
6184 * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define.
6185 * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of
6186 alter_subreg all over.
6187 (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after
6188 reload, instead of emitting instructions that would require
6190 (casesi_load_media): Add missing modes.
6191 2001-11-09 Alexandre Oliva <aoliva@redhat.com>
6192 * config/sh/sh.c (sh_expand_prologue): Mark the PIC register
6193 as used if the argument decoder is called.
6194 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
6195 * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in
6196 Pmode, then extend it to DImode if necessary.
6197 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
6198 * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode
6199 constants in FPU-enabled SHmedia, let them be loaded from memory.
6200 2001-08-28 Alexandre Oliva <aoliva@redhat.com>
6201 * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media):
6202 Adjust whitespace in assembly output templates.
6203 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com>
6204 * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust
6205 mode of if_then_else.
6206 2001-08-04 Alexandre Oliva <aoliva@redhat.com>
6207 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in
6209 2001-07-26 Andrew Haley <aph@cambridge.redhat.com>
6210 Joern Rennecke <amylaar@redhat.com>
6211 * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New.
6212 (SUBTARGET_CPP_PTR_SPEC): New.
6213 (SUBTARGET_CPP_SPEC): Remove.
6214 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
6215 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
6216 Fix typo in previous checkin.
6217 2001-07-11 Chandrakala Chavva <cchavva@redhat.com>
6218 * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations.
6219 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com>
6220 Alexandre Oliva <aoliva@redhat.com>
6221 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than
6222 what single FP register can hold for SHmedia target.
6223 2001-07-06 Chandrakala Chavva <cchavva@redhat.com>
6224 Alexandre Oliva <aoliva@redhat.com>
6225 * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1):
6226 Do not split into SUBREG.
6227 2001-06-14 Alexandre Oliva <aoliva@redhat.com>
6228 * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures
6229 and added new functions as specified in SH5 ABI r9.
6230 2001-06-04 Alexandre Oliva <aoliva@redhat.com>
6231 * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an
6233 2001-06-03 Alexandre Oliva <aoliva@redhat.com>
6234 * config/sh/sh.c (dump_table): Add const0_rtx in calls of
6235 gen_consttable_4 and gen_consttable_8. Emit multiple labels
6236 and consttable_window_ends.
6237 2001-06-03 Graham Stott <grahams@redhat,com>
6238 * config/sh/sh.md (movdi split): Remove unused variable last_insn.
6239 2001-05-16 Alexandre Oliva <aoliva@redhat.com>
6240 * config/sh/sh.c (print_operand): Handle floating-point pair,
6241 vector and matrix registers.
6242 * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer
6243 vector modes into account.
6244 * config/sh/sh.md (movv2sf): Split move between registers into
6246 (movv4sf, movv16sf): Introduce insns that get split only after
6248 * config/sh/shmedia.h: Fix Copyright dates.
6249 * config/sh/ushmedia.h: Likewise. Move loop counter
6250 declarations into conditionals that uses them.
6251 (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in
6253 * config/sh/sshmedia.h: Fix Copyright dates.
6254 (sh_media_PUTCFG): Fix constraints.
6255 2001-05-12 Alexandre Oliva <aoliva@redhat.com>
6256 * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to
6257 ptrmemfunc_vbit_in_delta for SH5.
6258 2001-05-08 Alexandre Oliva <aoliva@redhat.com>
6259 * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*.
6260 * invoke.texi: Likewise.
6261 2001-04-14 Alexandre Oliva <aoliva@redhat.com>
6262 * config/sh/lib1funcs.asm (GCC_push_shmedia_regs,
6263 GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs,
6264 GCC_pop_shmedia_regs_nofpu): New global symbols.
6265 * config/sh/t-sh64 (LIB1ASMFUNCS): Add them.
6266 * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro.
6267 * config/sh/sh.c (calc_live_regs): Account for PR's saving in
6268 compact function with nonlocal labels.
6269 (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed.
6270 (sh_expand_epilogue) [SHcompact]: Pop them when appropriate.
6271 (initial_elimination_offset): Account for their stack space.
6272 * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn.
6273 * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media,
6274 movhi_media, movdi_media, movdi_media_nofpu, movdf_media,
6275 movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at
6276 least one of the operands to be a register.
6277 (movv2sf): Likewise. Renamed to movv2sf_i.
6278 (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf):
6279 prepare_move_operands() before emitting SHmedia insns.
6280 2001-04-03 Alexandre Oliva <aoliva@redhat.com>
6281 * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]:
6282 Don't save nor initialize r12. Don't mis-align the stack.
6283 Pad the code with a nop.
6284 * config/sh/crti.asm: Don't restore r12. Don't mis-align the
6286 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
6287 * gcc/longlong.h (__umulsidi3, count_leading_zeros)
6288 [__SHMEDIA__]: Implement.
6289 2001-03-11 Alexandre Oliva <aoliva@redhat.com>
6290 * config/sh/sh.md: Set latency of `pt' closer to reality.
6291 (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu,
6292 movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu):
6293 Set move, load and store type attributes.
6294 * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3.
6295 * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable
6297 * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode.
6298 * config/sh/sh-protos.h (sh_media_register_for_return): Declare.
6299 * config/sh/sh.c (sh_media_register_for_return): New function.
6300 (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available
6301 branch-target register.
6302 (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it.
6303 * config/sh/sh.md (return_media_i): Use any call-clobbered
6304 branch-target register.
6305 (return_media): If r18 wasn't copied in the prologue, copy it
6307 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]:
6308 Clear class FP0_REGS.
6309 * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied
6311 2001-03-08 DJ Delorie <dj@redhat.com>
6312 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA.
6313 2001-02-09 Alexandre Oliva <aoliva@redhat.com>
6314 * config/sh/sh.md (sibcall_compact): Set fp_mode to single.
6315 2001-02-07 Alexandre Oliva <aoliva@redhat.com>
6316 * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'.
6317 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
6318 * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode
6319 return value correctly for call_cookie.
6320 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
6321 * config/sh/crt1.asm (start): Modified so as to call
6322 ___setup_argv_and_call_main.
6323 2001-01-26 Alexandre Oliva <aoliva@redhat.com>
6324 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in
6326 2001-01-20 Alexandre Oliva <aoliva@redhat.com>
6327 * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro.
6328 (STRIP_NAME_ENCODING): Use it.
6329 (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name().
6330 2001-01-19 Alexandre Oliva <aoliva@redhat.com>
6331 * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of
6332 prepare_scc_operands().
6333 * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"...
6334 (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here.
6335 2001-01-17 Alexandre Oliva <aoliva@redhat.com>
6336 * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'.
6337 2001-01-13 Alexandre Oliva <aoliva@redhat.com>
6338 * config/sh/sh.md (shcompact_incoming_args): Use R0_REG.
6339 * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants,
6340 used in shcompact_incoming_args.
6341 * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous
6343 * config/sh/crt1.asm (start) [SH5]: Switch to single-precision
6345 * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr):
6347 * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue):
6348 Simplify. Adjust. Add sanity check.
6349 * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set
6351 * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match
6353 (udivsi3, divsi3): Use them.
6354 (force_mode_for_call): New insn.
6355 (call, call_value, sibcall_value): Emit it before SHcompact
6357 2001-01-11 Alexandre Oliva <aoliva@redhat.com>
6358 * config/sh/sh.md (call, call_value, sibcall): Make sure the
6359 call cookie is non-NULL before taking its value.
6360 2001-01-10 Alexandre Oliva <aoliva@redhat.com>
6361 * config.gcc (sh64): Set target_requires_64bit_host_wide_int.
6362 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
6363 * config/sh/sh.md (shcompact_incoming_args): Set argument memory
6365 * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1.
6366 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as
6367 temporary for stack adjusts. Use MACL and MACH to pass
6368 arguments to shcompact_incoming_args.
6369 * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't
6371 * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise.
6372 (nested_trampoline): Load static chain address into r1.
6373 * config/sh/sh.md (movdi_media splits): Fix sign-extension.
6374 2001-01-07 Alexandre Oliva <aoliva@redhat.com
6375 * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call
6376 fp_arith_reg_operand().
6377 2001-01-06 Alexandre Oliva <aoliva@redhat.com>
6378 * config/sh/sh.md (casesi): Sign-extend the first two operands,
6379 and use signed compares for them.
6380 * config/sh/sh.c (dump_table): Don't emit 8-byte constants after
6381 4-byte ones. Instead, inter-leave them, maintaining the 8-byte
6382 ones properly aligned.
6383 (find_barrier): Account for extra alignment needed for 8-byte wide
6385 (machine_dependent_reorg): Require a label for the second 4-byte
6386 constant after an 8-byte one.
6387 * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's
6389 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
6390 * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset
6391 last_float when switching float modes.
6392 * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer
6393 auto-increment for general-purpose registers.
6394 * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the
6396 * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary
6398 * config/sh/sh.c (sh_builtin_saveregs): Support using all
6399 registers for varargs.
6400 2001-01-01 Alexandre Oliva <aoliva@redhat.com>
6401 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify.
6402 * config/sh/sh.h (CALL_COOKIE_STACKSEQ,
6403 CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros.
6404 (CALL_COOKIE_INT_REG_SHIFT): Adjust.
6405 (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust
6406 call_cookie accordingly.
6407 (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK.
6408 (SHCOMPACT_BYREF): Likewise.
6409 (SHCOMPACT_FORCE_ON_STACK): New macro.
6410 * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format.
6411 (sh_builtin_saveregs): Likewise.
6412 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6413 shcompact_incoming_args): Use new shift values. Support
6414 sequences of consecutive and non-consecutive pushes/pops.
6415 * config/sh/sh.md (return): Don't explicitly use PR_REG.
6416 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com>
6417 * config/sh/sh.h (TEXT_SECTION): Define.
6418 * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP.
6419 2001-01-05 Alexandre Oliva <aoliva@redhat.com>
6420 * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro.
6421 * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for
6422 return values on FPU-enabled SHmedia.
6423 (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on
6424 FPU-enabled SHmedia.
6425 (INIT_CUMULATIVE_ARGS): Set up return trampoline only if
6426 value is returned in a non-FP reg and is not returned by
6428 * config/sh/sh.md (shcompact_return_tramp_i): Change type to
6430 2000-01-04 Alexandre Oliva <aoliva@redhat.com>
6431 * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New.
6432 (FUNCTION_ARG_CALLEE_COPIES): Require argument to be
6433 quad-aligned to be passed by callee-copy reference.
6434 2001-01-03 Alexandre Oliva <aoliva@redhat.com>
6435 * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define.
6436 * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine.
6437 2001-01-02 Alexandre Oliva <aoliva@redhat.com>
6438 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in
6439 copying low-numbered FP regs to r7 and r8.
6440 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of
6441 FP regs to general-purpose regs only if the copy was passed on the
6443 * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in
6444 copying FP reg to r9.
6445 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to
6446 copy FP regs to general-purpose regs only in outgoing calls.
6447 * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect
6448 change from 2000-10-30. Adjust for 64-bit (or 32-bit)
6450 * config/sh/sh.h (struct sh_args): Document all fields.
6451 (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments
6452 passed partially on the stack should not consider making
6454 * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to
6455 stack_regs only for incoming calls. When passing FP args,
6456 make sure there are FP regs available before modifying
6458 (SHCOMPACT_BYREF): Pass double args in general-purpose
6459 registers by reference.
6460 2000-12-30 Alexandre Oliva <aoliva@redhat.com>
6461 * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't
6462 attempt to generate sibcalls if the caller got any arguments
6464 * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double.
6465 * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode
6466 to 8-byte boundaries.
6467 * config/sh/sh.md (shcompact_preserve_incoming_args): New insn.
6468 * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro.
6469 * config/sh/sh.c (sh_expand_prologue): Preserve args that will be
6470 stored in the stack.
6471 * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange
6472 for the offsets to have the ISA bit set.
6473 (shcompact_call_trampoline): Document. Swap r0 and r1, to match
6474 invocation. Use beq instead of bgt to mark end of sequence of
6476 (shcompact_incoming_args): Fix store of r2. Use beq instead of
6477 bgt to mark end of sequence of stores.
6478 * config/sh/sh.c (arith_operand): Don't check whether
6479 CONST_OK_FOR_J for now.
6480 * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT
6481 instead of long for conversion.
6482 2000-12-29 Alexandre Oliva <aoliva@redhat.com>
6483 * config/sh/sh.c (print_operand_address): Convert INTVAL to int
6484 before passing it to fprintf.
6485 2000-12-28 Alexandre Oliva <aoliva@redhat.com>
6486 * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit.
6487 Call set_fpscr before reading/writing SR.
6488 * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR.
6490 * config/sh/lib1funcs.asm: Add `.align 2' directives before
6492 (FMOVD_WORKS): Define on SH5 with FPU.
6493 (set_fpscr): Define on SH5. Remove separate _fpscr_values
6495 * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of
6497 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com>
6498 * config/sh/lib1funcs.asm (ct_main_table): Align contents to even
6500 (ia_main_table): Ditto.
6501 2000-12-27 Alexandre Oliva <aoliva@redhat.com>
6502 * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define.
6503 * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate
6504 the definitions from sh.h.
6505 * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on
6507 (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined.
6508 * config/sh/elf.h (PTRDIFF_TYPE): Likewise.
6509 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
6510 2000-12-26 Alexandre Oliva <aoliva@redhat.com>
6511 * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes.
6512 Increment LABEL_NUSES.
6514 * config/sh/sh.h (SIZE_TYPE): Define as conditional on
6516 (SUBTARGET_CPP_SPEC): Arrange for __SIZE_TYPE__ to be always
6518 * config/sh/elf.h (SIZE_TYPE): Likewise.
6519 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise.
6520 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6521 shcompact_incoming_args): Load switch table addresses using
6523 * config/sh/sh.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
6524 (NO_BUILTIN_SIZE_TYPE): Define.
6525 (SIZE_TYPE): Don't define.
6526 * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Define __SIZE_TYPE__.
6527 * config/sh/sh.h (CPP_SPEC): Fixed typo that prevented the
6528 definition of __SH5__=32 for -m5-compact-nofpu.
6529 * config/sh/sh.c (barrier_align): Ensure 32-bit alignment after
6531 2000-12-24 Alexandre Oliva <aoliva@redhat.com>
6532 * config/sh/sh.h (FUNCTION_ARG_PADDING): Removed.
6533 2000-12-23 Alexandre Oliva <aoliva@redhat.com>
6534 * config/sh/sh.h (TARGET_CACHE32): Enable on SH5.
6535 (FUNCTION_BOUNDARY): Ensure 32-bit alignment for SHmedia.
6536 (INSN_LENGTH_ALIGNMENT): Likewise.
6537 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6538 * config/sh/sh.md (call, call_value, sibcall): Simplify
6539 copying of non-branch-target register.
6540 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6541 * glimits.h (__LONG_MAX__): Revert 2000-12-13's patch.
6542 * config/sh/sh.h (CPP_SPEC): Define it here for 64-bit SHmedia.
6543 2000-12-22 Alexandre Oliva <aoliva@redhat.com>
6544 * config/sh/sh.h (GET_SH_ARG_CLASS): Handle complex
6545 floating-point values as structs.
6546 (FUNCTION_ARG): Use SH5_PROTOTYPED_FLOAT_ARG.
6547 (SH5_PROTOTYPELESS_FLOAT_ARG): List FP registers before
6548 general-purpose register.
6549 (SH5_PROTOTYPED_FLOAT_ARG): New macro.
6550 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
6551 * config/sh/sh.md (addsi3): Force operand1 to reg for SHmedia.
6552 * config/sh/sh.md (movsi_media): Split CONST_DOUBLE loads too.
6553 * config/sh/sh.h (DATALABEL_REF_P): Don't require the CONST.
6554 (ENCODE_SECTION_INFO): Enclose variables and constants in
6556 (SH_DATALABEL_ENCODING, DATALABEL_SYMNAME_P): Define.
6557 (STRIP_NAME_ENCODING): Strip SH_DATALABEL_ENCODING off.
6558 (ASM_OUTPUT_LABELREF, AMS_OUTPUT_SYMBOL_REF): Define.
6559 * config/sh/sh.c (gen_datalabel_ref): Use UNSPEC_DATALABEL
6560 only for LABEL_REFs. For SYMBOL_REFs, prepend
6561 SH_DATALABEL_ENCODING to the symbol name.
6562 * config/sh/sh.md (indirect_jump): Use SUBREG instead of
6564 2000-12-20 Alexandre Oliva <aoliva@redhat.com>
6565 * config/sh/sh.md (casesi): Enclose ADDR_DIFF_VEC address in
6567 * config/sh/sh.c (gen_datalabel_ref): Accept LABEL_REFs.
6568 * config/sh/sh.h (DATALABEL_REF_NO_CONST_P): Likewise.
6569 (DATALABEL_REF_P): Don't require CONST.
6570 (ASM_OUTPUT_ADDR_DIFF_ELT): On SH5, output datalabel before
6572 2000-12-19 Alexandre Oliva <aoliva@redhat.com>
6573 * config/sh/sh.md (extendhidi2, extendqidi2): Use arithmetic shift
6575 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
6576 * config/sh/sh.md (movsi_media, call, call_value, sibcall):
6577 Use shallow_copy_rtx and PUT_MODE to change the mode of
6578 SYMBOL_REFs, LABEL_REFs, CONSTs, etc.
6579 * config/sh/sh.h (PREFERRED_RELOAD_CLASS): Reload SYMBOL_REFs
6580 on SHmedia using GENERAL_REGs.
6581 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
6582 bltu_media_i): Fix reversion of conditions.
6583 2000-12-18 Alexandre Oliva <aoliva@redhat.com>
6584 * config/sh/sh.md (zero_extendhidi2): Use logical shift right.
6585 * config/sh/sh.c (output_far_jump): Save r13 in macl.
6586 2000-12-17 Alexandre Oliva <aoliva@redhat.com>
6587 * config/sh/sh.c (gen_datalabel_ref): Fix mode of the UNSPEC.
6588 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
6589 * config/sh/lib1funcs.asm (ic_invalidate): Define for SH5.
6590 (GCC_nested_trampoline): Likewise.
6591 * config/sh/sh-protos.h (gen_datalabel_ref): Declare.
6592 * config/sh/sh.c (gen_datalabel_ref): Define.
6593 * config/sh/sh.h (TRAMPOLINE_SIZE): Adjust for SH5.
6594 (INITIALIZE_TRAMPOLINE): Likewise.
6595 (TRAMPOLINE_ADJUST_ADDRESS): Define.
6596 (DATALABEL_REF_NO_CONST_P, DATALABEL_REF_P): Define.
6597 (EXTRA_CONSTRAINT_T): Match DATALABEL unspecs.
6598 (OUTPUT_ADDR_CONST_EXTRA): Handle DATALABEL unspecs.
6599 * config/sh/sh.md (UNSPEC_DATALABEL): New constant.
6600 (ic_invalidate): Adjust for SH5.
6601 (ic_invalidate_line_media, ic_invalidate_line_compact): New insns.
6602 * config/sh/t-sh64 (LIB1ASMFUNCS): Added _ic_invalidate and
6604 2000-12-15 Alexandre Oliva <aoliva@redhat.com>
6605 * config/sh/sh.h (MOVE_MAX): Set to 8 for SHmedia, 4 elsewhere.
6606 (MOVE_MAX_PIECES): Set to 8 on SHmedia too.
6607 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
6608 * config/sh/sh.h (DBX_REGISTER_NUMBER): Adjust for sh64-elf-gdb.
6609 * config/sh/elf.h (DBX_REGISTER_NUMBER): Likewise.
6610 2000-12-14 Alexandre Oliva <aoliva@redhat.com>
6611 * config/sh/sh.c (target_reg_operand): Match only target-branch
6612 registers and pseudos that aren't virtual registers.
6613 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
6614 Copy operands that don't match target_reg_operand to pseudos.
6615 (call_media, call_value_media, sibcall_media): Use
6616 target_reg_operand instead of target_operand.
6617 2000-12-13 Alexandre Oliva <aoliva@redhat.com>
6618 * glimits.h (__LONG_MAX__) [SH5 == 64]: Adjust for 64 bits.
6619 * config/sh/sh.c (target_reg_operand): Match hardware registers
6620 other than branch-target registers.
6621 * config/sh/sh.md (zero_extendqidi2): Input operand is %1.
6622 * config/sh/lib1funcs.asm (sdivsi3) [SH5]: Make it global.
6623 (fpscr_values) [SH5 == 32]: Define.
6624 * config/sh/t-sh64 (LIB1ASMFUNCS): Add fpscr_values.
6625 * config/sh/sh.md (call, call_value, sibcall) [TARGET_SHMEDIA]:
6626 Handle function addresses coming in SUBREGs.
6627 2000-12-12 Alexandre Oliva <aoliva@redhat.com>
6628 * config/sh/lib1funcs.asm (shcompact_call_trampoline,
6629 shcompact_return_trampoline): Use datalabel where appropriate.
6630 2000-12-09 Alexandre Oliva <aoliva@redhat.com>
6631 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use a
6632 general-purpose register to copy one branch-target register to
6634 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
6635 * config/sh/sh.c (target_operand): Accept LABEL_REFs and
6636 SYMBOL_REFs with VOIDmode.
6637 * config/sh/sh.md (ble_media_i, blt_media_i, bleu_media_i,
6638 bltu_media_i): New insns.
6639 2000-12-06 Alexandre Oliva <aoliva@redhat.com>
6640 * config/sh/sh.h (RETURN_IN_MEMORY): Adjust for SH5 ABI.
6641 (INIT_CUMULATIVE_ARGS): Likewise.
6642 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
6643 * machmode.def (V16SFmode): New mode.
6644 * c-common.c (type_for_mode): Support V2SF and V16SF.
6645 * tree.c (build_common_tree_nodes_2): Likewise.
6646 * tree.h (tree_index): Likewise.
6647 * calls.c (emit_call_1): Take args_so_far. Adjust all
6648 callers. Introduce CALL_POPS_ARGS.
6649 * tm.texi (CALL_POPS_ARGS): Document.
6650 * config/sh/crt1.asm: Implement in SHmedia mode.
6651 * config/sh/crti.asm, config/sh/crtn.asm: Likewise
6652 * config/sh/elf.h (ASM_SPEC, LINK_SPEC): Support SH5 flags.
6653 (DBX_REGISTER_NUMBER): Renumber registers for SH5.
6654 * config/sh/lib1funcs.asm: Disable functions unused in SH5.
6655 Implement divsi and udivsi in SHmedia mode. Introduce
6656 SHcompact trampolines.
6657 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): Use DImode
6659 (regno_reg_class): Rewrite.
6660 (fp_reg_names): Remove.
6661 (sh_register_names, sh_additional_register_names): New.
6662 (print_operand): Added `u'. Support SUBREGs in addresses.
6663 Add parentheses around shifted CONSTs.
6664 (output_file_start): Output .mode and .abi directives.
6665 (shiftcosts, addsubcosts, multcosts): Adjust.
6666 (output_stack_adjust): Compute alignment. Sanity-check SIZE.
6667 (push_regs): Take array of HOST_WIDE_INTs. Adjust callers.
6668 (calc_live_regs): Output to array of HOST_WIDE_INTs. Count
6669 bytes, not registers. Take into account the need for the
6670 SHcompact incoming args trampoline. Adjust all callers.
6671 (sh_expand_prologue): Take stack_regs into account. Call
6672 incoming args trampoline. Keep stack aligned as per SH5 ABI.
6673 (sh_expand_epilogue): Take stack_regs into accoutn. Keep
6674 stack aligned as per SH5 ABI.
6675 (sh_builtin_saveregs): Support SH5 ABI.
6676 (sh_build_va_list, sh_va_start): Likewise.
6677 (initial_elimination_offset): Take alignment into account.
6678 Compute location of PR according to the SH5 stack frame.
6679 (arith_reg_operand): Reject branch-target registers.
6680 (shmedia_6bit_operand): New.
6681 (logical_operand): Use CONST_OK_FOR_P on SHmedia.
6682 (target_reg_operand): Match DImode only. Accept SUBREGs.
6683 (target_operand): New.
6684 * config/sh/sh.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Support SH5 flags.
6685 (CONDITIONAL_REGISTER_USAGE): Implement SH5 ABI. Initialize
6686 SIBCALL_REGS for SHmedia.
6687 (TARGET_SH3E, TARGET_SH4): Only if SH1_BIT is set too.
6688 (TARGET_FPU_DOUBLE, TARGET_FPU_ANY): New.
6689 (TARGET_SHMEDIA32, TARGET_SHMEDIA64): New.
6690 (TARGET_SWITCHES): New SH5 flags.
6691 (OVERRIDE_OPTIONS): Set SH5-specific options. Use
6692 VALID_REGISTER_P to disable unsupported registers.
6693 (LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE): Set.
6694 (POINTER_SIZE, PARM_BOUNDARY): Adjust.
6695 (FUNCTION_ARG_PADDING): Define.
6696 (FASTEST_ALIGNMENT): Adjust.
6697 (SH_REGISTER_NAMES_INITIALIZER): New.
6698 (sh_register_names): Declare.
6699 (DEBUG_REGISTER_NAMES): Define.
6700 (REGISTER_NAMES): Define based on sh_register_names.
6701 (SH_ADDITIONAL_REGISTER_NAMES_INITIALIZER): New.
6702 (sh_additional_register_names): Declare.
6703 (LAST_GENERAL_REG, LAST_FP_REG, LAST_XD_REG): Adjust for SHmedia.
6704 (FIRST_TARGET_REG, LAST_TARGET_REG): Define.
6705 (TARGET_REGISTER_P, SHMEDIA_REGISTER_P, VALID_REGISTER_P): Define.
6706 (REGISTER_NATURAL_MODE): Define.
6707 (FIRST_PSEUDO_REGISTER): Adjust.
6708 (FIXED_REGISTERS, CALL_USED_REGISTERS): Adjust.
6709 (HARD_REGNO_CALL_PART_CLOBBERED): Define.
6710 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Adjust.
6711 (VECTOR_MODE_SUPPORTED_P): Define.
6712 (REG_CLASS_CONTENTS): Adjust.
6713 (SMALL_REGISTER_CLASSES): Adjust.
6714 (REG_ALLOC_ORDER): Adjust.
6715 (INDEX_REG_CLASS): Adjust.
6716 (CONST_OK_FOR_O, CONST_OK_FOR_P): New.
6717 (CONST_OK_FOR_LETTER_P): Adjust.
6718 (PREFERRED_RELOAD_CLASS): Adjust.
6719 (SECONDARY_OUTPUT_RELOAD_CLASS): Adjust.
6720 (SECONDARY_INPUT_RELOAD_CLASS): Adjust.
6721 (NPARM_REGS, FIRST_PARM_REG, FIRST_RET_REG): Adjust.
6722 (FIRST_FP_PARM_REG): Adjust.
6723 (CALL_POPS_ARGS): Define.
6724 (FUNCTION_ARG_REGNO_P): Adjust.
6725 (struct sh_args): New fields.
6726 (GET_SH_ARG_CLASS): Adjust.
6727 (INIT_CUMULATIVE_ARGS): Adjust.
6728 (INIT_CUMULATIVE_INCOMING_ARGS): Define.
6729 (FUNCTION_ARG_ADVANCE): Adjust.
6730 (FUNCTION_ARG): Adjust.
6731 (FUNCTION_ARG_PASS_BY_REFERENCE, SHCOMPACT_BYREF): Define.
6732 (FUNCTION_ARG_CALLEE_COPIES): Define.
6733 (SH5_PROTOTYPELESS_FLOAT_ARG): Define.
6734 (STRICT_ARGUMENT_NAMING): Define.
6735 (PRETEND_OUTGOING_VARARGS_NAMED): Adjust.
6736 (FUNCTION_ARG_PARTIAL_NREGS): Adjust.
6737 (SH5_WOULD_BE_PARTIAL_NREGS): Define.
6738 (SETUP_INCOMING_VARARGS): Adjust.
6739 (HAVE_POST_INCREMENT, HAVE_PRE_DECREMENT): Adjust.
6740 (USE_LOAD_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Adjust.
6741 (REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Adjust.
6742 (SUBREG_OK_FOR_INDEX_P): Adjust.
6743 (EXTRA_CONSTRAINT_S): Update.
6744 (EXTRA_CONSTRAINT_T): New.
6745 (EXTRA_CONSTRAINT): Adjust.
6746 (GO_IF_LEGITIMATE_INDEX): Adjust.
6747 (GO_IF_LEGITIMATE_ADDRESS): Adjust.
6748 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Adjust.
6750 (MAX_MOVE_MAX): Define.
6752 (CONST_COSTS): Adjust.
6753 (REGISTER_MOVE_COST): Adjust.
6754 (BRANCH_COST): Adjust.
6755 (TEXT_SECTION_ASM_OP): Adjust.
6756 (DBX_REGISTER_NUMBER): Adjust.
6757 (ASM_OUTPUT_DOUBLE_INT): New.
6758 (UNALIGNED_DOUBLE_INT_ASM_OP): New.
6759 (PREDICATE_CODES): Adjust.
6760 (PROMOTE_MODE): Adjust.
6761 (CRT_CALL_STATIC_FUNCTION): Do not define for SHmedia.
6762 * config/sh/sh.md (AP_REG, PR_REG, T_REG, GBR_REG): Renumber.
6763 (MACH_REG, MACL_REG, FPUL_REG, RAP_REG, FPSCR_REG): Renumber.
6764 (PR_MEDIA_REG, T_MEDIA_REG, R10_REG): New.
6765 (DR0_REG, DR2_REG, DR4_REG): Renumber.
6766 (TR0_REG, TR1_REG, TR2_REG): New.
6767 (XD0_REG): Renumber.
6768 (UNSPEC_COMPACT_ARGS): New.
6769 (type): Added pt and ptabs.
6770 (length): Default to 4 on SHmedia. Default pt length to 12
6771 and 20 on SHmedia32 and SHmedia64, respectively.
6772 (pt): New function unit.
6773 (movdi, movsi): Add types pt and ptabs. Don't increment LABEL_NUSES.
6774 Add whitespace between operands of SHmedia instructions.
6776 (adddi3_media, addsi3_media): Adjust constraints.
6777 (subsi3) [SHmedia]: Force operand 1 into a register.
6778 (udivsi3_i1_media, udivsi3_i4_media): New.
6779 (udivsi3): Support SHmedia.
6780 (divsi3_i1_media, divsi3_i4_media): New.
6781 (divsi3): Support SHmedia.
6782 (anddi3, iordi3, xordi3): Adjust constraints.
6783 (zero_extendhidi2, zero_extendqidi2): New.
6784 (extendsidi2, extendhidi2, extendqidi2): New.
6785 (push, pop, push_e, push_fpul, push_4): Disable on SH5.
6786 (pop_e, pop_fpul, pop_4): Likewise.
6787 (movsi_media): Support FP and BT registers.
6788 (movsi_media_nofpu): New. Adjust splits to DImode.
6789 (lduw, ldub): Renamed to zero_extend* above.
6790 (movqi_media): Fix typo.
6791 (movdi_media): Support FP and BT registers.
6792 (movdi_media_nofpu): New. Adjust splits for SHmedia32.
6793 (movdi_const_32bit): New.
6794 (shori_media): Require immediate operand. Use `u' for output.
6795 (movdf_media, movsf_media): Simplified.
6796 (movdf_media_nofpu, movsf_media_nofpu): New.
6797 (movdf, movsf): Adjust
6798 (movv2sf, movv2sf, movv16sf): New.
6799 (beq_media, beq_media_i): Adjust constraints. Don't use
6800 scratch BT register.
6801 (bne_media, bne_media_i): Likewise.
6802 (bgt_media, bgt_media_i): Likewise.
6803 (bge_media, bge_media_i): Likewise.
6804 (bgtu_media, bgtu_media_i): Likewise.
6805 (bgeu_media, bgeu_media_i): Likewise.
6806 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu,
6807 bunordered): Emit jump insn. Force operands to registers when
6809 (jump_media, jump): Simplify.
6810 (call_compact, call_compact_rettramp): New.
6811 (call_value_compact, call_value_compact_rettramp): New.
6812 (call_media, call_value_media): Simplify.
6813 (sibcall_compact, sibcall_media): New.
6814 (call, call_value): Adjust for SHmedia and SHcompact.
6815 (sibcall, sibcall_value, untyped_call): Likewise.
6816 (sibcall_epilogue): Preserve r0 across epilogue for SHcompact.
6817 (indirect_jump): Adjust for SHmedia.
6818 (casesi_jump_media): New.
6819 (nop): Re-enable for SHmedia.
6820 (call_site): Restrict to SH1.
6821 (casesi): Adjust for SHmedia.
6822 (casesi_shift_media, casesi_load_media): New.
6823 (return): Explicitly use PR register. Call return trampoline
6825 (return_i): Explicitly use PR register.
6826 (shcompact_return_tramp, shcompact_return_tramp_i): New.
6827 (return_media): Adjust.
6828 (shcompact_incoming_args): New.
6830 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
6831 (movstrsi): Disable on SH5.
6832 (fpu_switch0, fpu_switch1, movpsi): Enable on SH4.
6833 (addsf3, addsf3_media): Test TARGET_SHMEDIA_FPU.
6834 (subsf3, subsf3_media): Likewise.
6835 (mulsf3, mulsf3_media, mac_media): Likewise.
6836 (divsf3, divsf3_media): Likewise.
6837 (floatdisf2, floatsisf2_media): Likewise. Adjust constraints.
6838 (floatsisf2, fux_truncsfsi2): Likewise.
6839 (fix_truncsfdi2, fix_truncsfsi2_media): Likewise. Adjust
6841 (cmpeqsf_media, cmpgtsf_media, cmpgesf_media): Likewise.
6842 (cmpunsf_media, cmpsf): Likewise.
6843 (negsf2, negsf2_media, sqrtsf2, sqrtsf2_media): Likewise.
6844 (abssf2, abssf2_media): Likewise.
6845 (adddf3, adddf3_media, subdf3, subdf3_media): Likewise.
6846 (muldf3, muldf3_media, divdf3, divdf3_media): Likewise.
6847 (floatdidf2, floatsidf2_media): Likewise. Adjust constraints.
6848 (floatsidf2, fix_truncdfsi2): Likewise.
6849 (fix_truncdfdi2, fix_truncdfsi2_media): Likewise. Adjust
6851 (cmpeqdf_media, cmpgtdf_media): Likewise.
6852 (cmpgedf_media, cmpundf_media, cmpdf): Likewise.
6853 (negdf2, negdf2_media, sqrtdf2, sqrtdf2_media): Likewise.
6854 (absdf2, absdf2_media): Likewise.
6855 (extendsfdf2, extendsfdf2_media): Likewise.
6856 (truncsfdf2, truncsfdf2_media): Likewise.
6857 * config/sh/sh64.h: New file.
6858 * config/sh/t-sh64: New file.
6859 * config/sh/shmedia.h: New file.
6860 * config/sh/ushmedia.h: New file.
6861 * config/sh/sshmedia.h: New file.
6862 * configure.in: Added sh64-*-elf.
6863 * configure: Rebuilt.
6864 2000-10-10 Alexandre Oliva <aoliva@redhat.com>
6865 * config/sh/sh.c (GEN_MOV, GEN_ADD3, GEN_SUB3): New macros.
6866 (reg_class_from_letter): Use `b' for TARGET_REGS.
6867 (print_operand): Support `%M', `%m', `AND' and
6868 `ASHIFTRT'. Do not precede constants with `#' on SHmedia.
6869 (andcosts): Adjust for SHmedia.
6870 (output_stack_adjust, sh_expand_prologue, sh_expand_epilogue):
6872 (target_reg_operand): New function.
6873 * config/sh/sh-protos.h (target_reg_operand): Declare.
6874 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't disable
6875 FP registers on SH5.
6876 (HARD_REGNO_MODE_OK): Accept them whenever they're acceptable
6878 (TARGET_REGISTER_P): New macro.
6879 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Added TARGET_REGS.
6880 (FUNCTION_VALUE): Use DImode for promoted types on SHmedia.
6881 (EXTRA_CONSTRAINT_S): New macro.
6882 (EXTRA_CONSTRAINT): Adjust.
6883 (FLOAT_TYPE_SIZE): Define to 32.
6884 (Pmode): DImode on SHmedia.
6885 (CONST_COSTS): Adjust for SHmedia literals.
6886 (PREDICATE_CODES): Added target_reg_operand.
6887 (PROMOTE_MODE): Promote signed types to DImode on SHmedia.
6888 * config/sh/sh.md: Remove all attrs from SHmedia insns.
6889 (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): New insns.
6890 (cmpdi): Accept SHmedia.
6891 (movdicc_false, movdicc_true): New insns.
6892 (movdicc): New expand.
6893 (adddi3): Accept arith_operand for op2, but FAIL on SH1 if
6895 (addsi3_media): Match `S' constraint.
6896 (anddi3, andcdi3, iordi3, xordi3, negdi_media): New insns.
6897 (negdi2): Expand for SHmedia.
6898 (one_cmpldi2): New expand.
6899 (zero_extendsidi2): Change from expand to insn.
6900 (extendsidi2): Add constraints.
6901 (movdi_media, movsi_media): Change `%x' to `%M'. Use `%m' for
6902 LD/ST address. Fix SI immediate loading split.
6903 (movhi_media, movqi_media, lduw, ldub): New insns.
6904 (movhi, movqi): Accept SHmedia.
6905 (shori_media, movdi_media): Relax input constraints. Split
6907 (movdf_media, movsf_media): New insn. New split to movdi.
6908 (movdf, movsf): Match on SHmedia.
6909 (beq_media, bne_media, bgt_media, bge_media, bgtu_media,
6910 bgeu_media): New insns and splits. New insns with `_i' suffix.
6911 (beq, bne, bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Adjust.
6912 (bunordered): New expand.
6913 (jump_compact): Renamed from `jump'.
6914 (jump_media): New insn.
6916 (call_media, call_value_media): New insns.
6917 (call, call_value): Adjust.
6918 (indirect_jump_compact): Renamed from `indirect_jump'.
6919 (indirect_jump_media): New insn.
6920 (indirect_jump): New expand.
6921 (untyped_call, return): Accept SHmedia.
6922 (return_media): New insn.
6923 (prologue, epilogue, blockage): Accept SHmedia.
6924 (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu, sne): Adjust.
6925 (sunordered): New expand.
6926 (addsf3, subsf3, mulsf3, divsf3, floatsisf2, fix_truncsfsi2,
6927 cmpsf, negsf2, sqrtsf2, abssf2): Adjust for SHmedia.
6928 (addsf3_media, subsf3_media, mulsf3_media, mac_media,
6929 divsf3_media, floatdisf2, floatsisf2_media, fix_truncsfdi2,
6930 fix_truncsfsi2_media, cmpeqsf_media, cmpgtsf_media,
6931 cmpgesf_media, cmpunsf_media, negsf2_media, sqrtsf2_media,
6932 abssf2_media): New insns.
6933 (adddf3, subdf3, muldf3, divdf3, floatsidf2, fix_truncdfsi2,
6934 cmpdf, negdf2, sqrtdf2, absdf2): Adjust for SHmedia.
6935 (adddf3_media, subdf3_media, muldf3_media, divdf3_media,
6936 floatdidf2, floatsidf2_media, fix_truncdfdi2,
6937 fix_truncdfsi2_media, cmpeqdf_media, cmpgtdf_media,
6938 cmpgedf_media, cmpundf_media, negdf2_media, sqrtdf2_media,
6939 absdf2_media): New insns.
6940 (extendsfdf2, truncdfsf2): Adjust for SHmedia.
6941 (extendsfdf2_media, truncdfsf2_media): New insns.
6942 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
6943 * config/sh/sh.c (machine_dependent_reorg): On shmedia, skip for now.
6944 * config/sh/sh.h (CONST_OK_FOR_J): Document.
6945 (LEGITIMATE_CONSTANT_P): Accept CONST_DOUBLEs on shmedia.
6946 * config/sh/sh.md (adddi3): New expand.
6947 (adddi3_media, adddi3z_media): New insns.
6948 (adddi3_compact): Renamed from adddi3.
6949 (addsi3_media): Use add.l r63 to add constant zero.
6950 (subdi3): New expand.
6951 (subdi3_media): New insn.
6952 (subdi3_compact): Renamed from subdi3.
6953 (mulsidi3): New expand.
6954 (mulsidi3_media): New insn.
6955 (mulsidi3_compact): Renamed from mulsidi3.
6956 (umulsidi3): New expand.
6957 (umulsidi3_media): New insn.
6958 (umulsidi3_compact): Renamed from umulsidi3.
6959 (ashlsi3_media, ashrsi3_media, lshrsi3_media): New insns.
6960 (ashlsi3, ashrsi3, lshrsi3): Use them.
6961 (ashldi3_media, ashrdi3_media, lshrdi3_media): New insns.
6962 (ashldi3, ashrdi3, lshrdi3): Use them.
6963 (zero_extendsidi2): New expand.
6964 (extendsidi2): New insn.
6965 (movsi_media): New insn. Split to movdi to load constants.
6966 (movsi): Enable for shmedia.
6967 (movdi_media): New insn. Use shori_media to load wide constants.
6968 (short_media): New insn.
6969 (movdi): Enable for shmedia.
6970 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
6971 * config/sh/sh.h (CPP_SPEC): Added `m5'.
6972 (SUBTARGET_CPP_SPEC): Added `!m5'.
6973 (SH5_BIT, TARGET_SH5, TARGET_SHMEDIA, TARGET_SHCOMPACT): New macros.
6974 (TARGET_SWITCHES): Added `5' and `5-compact'. Added SH1_BIT
6975 to all other SH variants.
6976 (TARGET_DEFAULT): Set to SH1_BIT.
6977 (OVERRIDE_OPTIONS): Recognize sh5 CPU.
6978 (BITS_PER_WORD): Raise to 64 on shmedia.
6979 (MAX_BITS_PER_WORD): Change to 64.
6980 (MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Set to MAX_BITS_PER_WORD.
6981 (INT_TYPE_SIZE): Keep as 32.
6982 (UNITS_PER_WORD): Raise to 8 on shmedia.
6983 (MIN_UNITS_PER_WORD): Keep as 4.
6984 (POINTER_SIZE): Raise to 64 on shmedia.
6985 (CONST_OK_FOR_J): New macro.
6986 (CONST_OK_FOR_LETTER_P): Use it.
6987 (processor_type): Add PROCESSOR_SH5.
6988 * config/sh/sh.md: Conditionalize all expands, insns and
6989 splits to TARGET_SH1.
6991 (addsi3_compact): Renamed from...
6992 (addsi3): Now an expand.
6993 (addsi3_media, subsi3_media): New insns.
6994 (subsi3): Don't negate constants with SHmedia.
6996 * hooks.c: New file.
6997 * hooks.h: New file.
6998 * Makefile.in (HOOKS_H): New.
6999 (TARGET_DEF_H): Added $(HOOKS_H).
7000 (OBJS): Added hooks.o.
7001 (cfgcleanup.o, bb-reorder.o): Added target.h.
7002 (hooks.o): Added dependencies.
7003 * target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
7004 (TARGET_INITIALIZER): this.
7005 * doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
7006 * target.h (struct gcc_target): Added cannot_modify_jumps_p.
7007 * bb-reorder.c: Include target.h.
7008 (reorder_basic_blocks): Skip if cannot modify jumps.
7009 * cfgcleanup.c: Include target.h.
7010 (try_optimize_cfg): Skip merge blocking if cannot modify jumps.
7012 2002-02-08 Chris Demetriou <cgd@broadcom.com>
7014 * config/mips/mips.md (casesi_internal, casesi_internal_di):
7015 Protect jump delay slot instructions with .set noreorder and
7018 2002-02-08 Chris Demetriou <cgd@broadcom.com>
7020 * config/mips/mips.md (casesi_internal_di): Calculate
7021 the index into the target offset table correctly.
7023 2002-02-08 Richard Henderson <rth@redhat.com>
7025 * expr.c (expand_expr): Mind EXPAND_INITIALIZER for truncation also.
7026 * final.c (output_addr_const): Accept and discard SUBREG.
7027 * varasm.c (decode_addr_const): Don't abort on unknown expressions --
7028 mark them unknown instead.
7029 (simplify_subtraction): Handle RTX_UNKNOWN.
7030 (initializer_constant_valid_p): Strip NOP_EXPRs that narrow the mode.
7032 2002-02-08 David Edelsohn <edelsohn@gnu.org>
7034 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix typo.
7036 2002-02-08 Richard Henderson <rth@redhat.com>
7038 * config/alpha/elf.h (ASM_OUTPUT_ALIGNED_BSS): New.
7040 2002-02-08 Andreas Jaeger <aj@suse.de>
7042 * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.
7043 * config/i386/t-linux64: New file.
7045 2002-02-08 Jakub Jelinek <jakub@redhat.com>
7047 * c-common.c (c_expand_expr): Revert 2002-02-06 patch.
7048 * c-parse.in (compstmt): Clear last_expr_type.
7050 2002-02-07 Richard Henderson <rth@redhat.com>
7052 * loop.c (strength_reduce): Sink final_value when not
7055 2002-02-07 David O'Brien <obrien@FreeBSD.org>
7057 * config/sparc/freebsd.h: Fix mismatched spec {.
7059 2002-02-07 Richard Henderson <rth@redhat.com>
7061 * cfgrtl.c: Include recog.h and insn-config.h.
7062 (keep_with_call_p): Fix general_operand invocation.
7063 * Makefile.in (cfgrtl.o): Update dependencies.
7065 2002-02-07 Kazu Hirata <kazu@hxi.com>
7067 * config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a
7068 comment. Accept HImode only if TARGET_H8300.
7070 2002-02-07 Eric Christopher <echristo@redhat.com>
7072 * config/mips/crtn.asm: Cleanup #ifdefs.
7074 2002-02-07 Eric Christopher <echristo@redhat.com>
7076 * config/mips/crti.asm: Add changes for mips16. mips16 uses
7077 register 7 as RA instead of $31.
7078 * config/mips/crtn.asm: Ditto.
7079 * config/mips/mips.c (mips_move_2words): Add case for
7080 TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
7081 (compute_frame_size): Fix typo.
7082 (save_restore_insns): Ditto. Make documentation about using
7083 register $7 as return register more precise.
7084 (mips_expand_epilogue): Fix comment. Add code to work around not
7085 being able to add to the stack pointer directly.
7086 * config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
7087 to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
7090 2002-02-07 Tom Rix <trix@redhat.com>
7092 * config/rs6000/rs6000.c (reg_or_aligned_short_operand): New. For
7093 immediates in ldu and stdu DS opcode field.
7094 * config/rs6000/rs6000.md (movdi_update, movdi_update1): Use.
7095 * config/rs6000/rs6000-protos.h: Add reg_or_aligned_short_operand.
7096 * config/rs6000/rs6000.h (PREDICATE_CODES): Same.
7098 2002-02-07 Jeff Sturm <jsturm@one-point.com>
7100 * config/sparc/sparc.c (compute_frame_size): Don't correct frame
7101 offset for stack bias.
7103 2002-02-07 H.J. Lu <hjl@gnu.org>
7105 * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined.
7107 2002-02-07 Ulrich Weigand <uweigand@de.ibm.com>
7109 * testsuite/gcc.dg/cpp/charconst-2.c: Add -fsigned-char option.
7111 Thu Feb 7 12:14:17 CET 2002 Jan Hubicka <jh@suse.cz>
7113 * i386-protos.h (x86_order_regs_for_local_alloc): Declare
7114 * i386.c (x86_order_regs_for_local_alloc): New global function.
7115 * i386.h (REG_ALLOC_ORDER): CLeanup.
7116 (ORDER_REGS_FOR_LOCAL_ALLOC): New.
7118 2002-02-07 Richard Henderson <rth@redhat.com>
7120 PR optimization/2463
7121 * alias.c (find_base_value): Recall base values for fixed hard regs.
7122 * loop.c (loop_regs_update): Don't use single_set on non-insns.
7124 2002-02-07 Alexandre Oliva <aoliva@redhat.com>
7126 * config/mips/mips.md (define_delay) [mips16]: Adjust required
7129 2002-02-06 Richard Henderson <rth@redhat.com>
7132 * stmt.c (resolve_operand_name_1): Take more care with mixed
7133 named and unnamed operands.
7135 2002-02-06 Janis Johnson <janis187@us.ibm.com>
7136 Jan Hubicka <jh@suse.cz>
7138 * loop.c (remove_constant_addition): Avoid clobbering a shared
7141 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
7143 * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.
7144 * config/s390/t-linux64: New file.
7145 * config/s390/libgcc-glibc.ver: New file.
7147 2002-02-06 Ulrich Weigand <uweigand@de.ibm.com>
7149 * config/s390/linux64.h: Delete file.
7150 * config/s390/s390x.h: New file.
7151 * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h
7152 as target header file.
7153 * config/s390/linux.h (TARGET_VERSION): Define depending on
7154 DEFAULT_TARGET_64BIT.
7155 (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise.
7156 (SIZE_TYPE, PTRDIFF_TYPE): Likewise.
7157 (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
7158 (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines.
7159 (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines.
7160 (EXTRA_SPEC): New define.
7161 * config/s390/s390.h (TARGET_VERSION): Define depending on
7162 DEFAULT_TARGET_64BIT.
7163 (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT.
7165 2002-02-06 Jason Merrill <jason@redhat.com>
7167 * c-decl.c (finish_function): Warn about a non-void function with
7168 no return statement and no abnormal exit.
7169 (current_function_returns_abnormally): New variable.
7170 (start_function): Clear it.
7171 (struct c_language_function): Add returns_abnormally.
7172 (push_c_function_context): Save it.
7173 (pop_c_function_context): Restore it.
7174 (builtin_function): Set TREE_THIS_VOLATILE on return fns.
7175 (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without
7176 an explicit return type.
7177 * c-tree.h: Declare current_function_returns_abnormally.
7178 (C_FUNCTION_IMPLICIT_INT): New macro.
7179 * c-typeck.c (build_function_call): Set it.
7180 (c_expand_return): Set current_function_returns_value even if the
7183 2002-02-06 Jakub Jelinek <jakub@redhat.com>
7186 * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR
7187 unsafe for reevaluation.
7189 2002-02-06 Jakub Jelinek <jakub@redhat.com>
7192 * c-common.c (c_expand_expr) [STMT_EXPR]: If last expression is not
7193 EXPR_STMT, but COMPOUND_STMT, recurse into it.
7195 2002-02-06 Richard Henderson <rth@redhat.com>
7197 * cfganal.c (keep_with_call_p): Source for fixed_reg dest must
7198 be a general_operand. Dest for function value must be a pseudo.
7200 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com>
7202 * dbxout.c (dbxout_symbol_location): Accept LABEL_REFs as well
7203 as SYMBOL_REFs from the constant pool.
7205 2002-02-06 Alexandre Oliva <aoliva@redhat.com>
7207 * dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
7208 passed by invisible reference.
7210 2002-02-05 Richard Henderson <rth@redhat.com>
7212 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
7214 2002-02-06 Hans-Peter Nilsson <hp@bitrange.com>
7216 Implement using "base addresses" in insn operands as default.
7217 * config/mmix/mmix.c (mmix_conditional_register_usage): if
7218 -mabi=gnu, modify fixed_regs to fit the GNU ABI.
7219 (mmix_extra_constraint): Use 'R' to indicate that GETA should be
7220 used to read the rtx value.
7221 (mmix_target_asm_function_epilogue): Fix spacing.
7222 (mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
7223 (mmix_legitimate_address): Ditto.
7224 (mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
7225 should be loaded with a GETA insn. Don't allocate needless extra
7226 char for nul termination and fix misleading comment.
7227 (mmix_print_operand_address): Handle constants if
7228 TARGET_BASE_ADDRESSES.
7229 (mmix_output_register_setting): Use base addressing if
7230 TARGET_BASE_ADDRESSES and the number of insns is 3.
7231 * config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
7232 * config/mmix/mmix.md ("movdi"): Change the alternative with GETA
7233 to use R as constraint, add LDA to match s.
7234 * config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
7235 (TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
7236 (TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
7237 (FIXED_REGISTERS): Make registers $231..$246 fixed by default.
7238 (MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
7239 order with other fixed registers.
7240 (MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
7241 other parameter/call-clobbered registers.
7242 * doc/invoke.texi (Option Summary) <MMIX Options>: Add
7243 -mbase-addresses, -mno-base-addresses.
7244 (MMIX Options): Ditto.
7246 2002-02-05 John David Anglin <dave@hiauly1.hia.nrc.ca>
7248 * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
7250 2002-02-06 Aldy Hernandez <aldyh@redhat.com>
7252 * config/rs6000/altivec.h: Change elem to _S_elem.
7254 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
7256 * config/netbsd.h (WCHAR_TYPE): Define.
7257 (WCHAR_TYPE_SIZE): Ditto.
7259 * config/alpha/netbsd.h (WCHAR_TYPE): Remove.
7260 (WCHAR_UNSIGNED): Ditto.
7261 (WCHAR_TYPE_SIZE): Ditto.
7263 * config/arm/netbsd.h: Likewise.
7264 * config/i386/netbsd-elf.h: Likewise.
7265 * config/i386/netbsd.h: Likewise.
7266 * config/m68k/netbsd-elf.h: Likewise.
7267 * config/m68k/netbsd.h: Likewise.
7268 * config/ns32k/netbsd.h: Likewise.
7269 * config/sparc/netbsd.h: Likewise.
7270 * config/vax/netbsd.: Likewise.
7272 2002-02-05 Alexandre Oliva <aoliva@redhat.com>
7274 * target.h (struct gcc_target): Added ms_bitfield_layout_p.
7275 * target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New. Added to...
7276 (TARGET_INITIALIZER): this.
7277 * doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
7278 (BITFIELD_NBYTES_LIMITED): Markup fix.
7279 * tree.h (default_ms_bitfield_layout_p): Declare.
7280 (record_layout_info): Added prev_field.
7281 * tree.c (default_ms_bitfield_layout_p): New fn.
7282 * c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
7283 PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
7284 * stor-layout.c: Include target.h.
7285 (start_record_layout): Initialize prev_field.
7286 (place_field): Handle MS bit-field layout, and disregard
7287 EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
7288 PCC_BITFIELD_TYPE_MATTERS in this case. Update prev_field.
7289 * Makefile.in (stor-layout.o): Adjust dependencies.
7291 2002-02-05 Jason Merrill <jason@redhat.com>
7293 * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.
7295 2002-02-05 Andreas Jaeger <aj@suse.de>
7297 * crtstuff.c: Fix comments.
7299 2002-02-05 Richard Henderson <rth@redhat.com>
7302 * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
7303 (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.
7306 * config/mips/mips.c (function_arg): Handle TImode.
7307 (function_arg_advance): Likewise.
7309 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7311 * config/rs6000/altivec.h (vec_step_help): Rename to
7314 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7316 * config/rs6000/altivec.h: Fix typos.
7318 2002-02-05 Jason Thorpe <thorpej@wasabisystems.com>
7320 * config/arm/netbsd.h: Correct a comment.
7322 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7324 * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
7325 building void typed builtins.
7327 * config/rs6000/altivec.h (vec_ld*): Fix typos.
7328 (vec_step): Implement for C++.
7330 Mon Feb 4 19:23:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7332 * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
7334 2002-02-04 Richard Henderson <rth@redhat.com>
7336 * combine.c (nonzero_bits): Re-introduce special case for
7337 sp/fp/ap wrt REGNO_POINTER_ALIGN.
7339 2002-02-05 Aldy Hernandez <aldyh@redhat.com>
7341 * doc/extend.texi: Warn about unsupported usage of altivec
7344 * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
7345 (altivec_predicate_*): New.
7347 * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
7348 Add C++ version of vec_*() functions.
7350 * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
7351 (bdesc_2arg): Remove altivec predicates.
7352 (altivec_expand_builtin): Handle predicates.
7353 (altivec_init_builtins): Handle predicates.
7354 (altivec_expand_predicate_builtin): New.
7356 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7358 * pa.c (DO_FRAME_NOTES): Move forward.
7359 (store_reg): Revise handling of frame notes.
7360 (load_reg): Likewise.
7361 (set_reg_plus_d): Likewise.
7362 (hppa_expand_prologue): Likewise.
7363 (hppa_expand_epilogue): Likewise.
7365 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7367 * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
7369 2002-02-04 Jakub Jelinek <jakub@redhat.com>
7371 PR c/4475, c++/3780:
7372 * c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
7373 * c-common.h (SWITCH_TYPE): Define.
7374 * c-typeck.c (c_start_case): Set SWITCH_TYPE.
7375 * stmt.c (all_cases_count): Set lastval to thisval at end of loop.
7376 Rename spareness variable to sparseness.
7377 (expand_end_case_type): Renamed from expand_end_case, use orig_type
7378 if non-NULL instead of TREE_TYPE (orig_index).
7379 * tree.h (expand_end_case_type): Renamed from expand_end_case.
7380 (expand_end_case): Define using expand_end_case_type.
7381 * c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
7382 to expand_end_case_type.
7383 * doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.
7385 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7387 * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
7388 (BIGGEST_ALIGNMENT): Change to 128.
7390 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7392 * pa32-linux.h (LINK_COMMAND_SPEC): Define.
7394 2002-02-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
7396 * pa.md (call_internal_reg_64bit): Remove unused variable.
7398 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
7400 * config/arm/arm.h (machine_function): Add uses_anonymous_args
7402 (SETUP_INCOMING_VARARGS): Set uses_anonymous_args.
7403 * config/arm/arm.c (current_function_anonymous_args): Delete,
7404 replace uses with cfun->machine->uses_anonymous_args.
7405 (arm_reorg): Do not reset uses_anonymous_args.
7407 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any value in
7408 any geenral register.
7410 2001-02-04 Bernd Schmidt <bernds@redhat.com>s
7412 * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
7415 2002-02-04 Richard Henderson <rth@redhat.com>
7417 * combine.c (force_to_mode): Remove STACK_BIAS code.
7418 (nonzero_bits): Likewise. Replace sp/fp special case with
7419 REGNO_POINTER_ALIGN.
7421 * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
7422 (HARD_FRAME_POINTER_REGNUM): New.
7423 (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
7424 (FIXED_REGS, CALL_USED_REGS): Update.
7425 (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
7426 (CONDITIONAL_REGISTER_USAGE): Update for HFP.
7427 (HARD_REGNO_NREGS): Update for SFP.
7428 (STACK_POINTER_OFFSET): Include bias here ...
7429 (FIRST_PARM_OFFSET): ... not here.
7430 (STACK_BIAS): Remove.
7431 (INIT_EXPANDERS): New.
7432 (STARTING_FRAME_OFFSET): Do not include bias.
7433 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
7434 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
7435 (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
7436 * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
7437 * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
7438 * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
7439 (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
7440 (MUST_SAVE_REGISTER): Likewise.
7441 (sparc_flat_function_prologue): Likewise.
7442 (sparc_flat_function_epilogue): Likewise.
7443 (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
7444 (sparc_init_modes): SFP is GENERAL_REGS.
7445 (sparc_builtin_saveregs): SFP does not have bias applied.
7447 2002-02-04 Richard Henderson <rth@redhat.com>
7449 * config/alpha/alpha.c (current_function_is_thunk): Don't check
7450 current_function_is_thunk.
7451 (alpha_sa_mask): Distinguish between current_function_is_thunk
7452 called from ASM_OUTPUT_MI_THUNK and not.
7453 (alpha_does_function_need_gp): Thunks always need gp.
7454 (alpha_start_function, alpha_output_function_end_prologue): Likewise.
7455 (alpha_output_mi_thunk_osf): New.
7456 * config/alpha/alpha-protos.h: Update.
7457 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.
7459 2002-02-04 Richard Sandiford <rsandifo@redhat.com>
7461 * c-typeck.c (build_c_cast): Warn when qualifiers are added to
7462 function types, not when they're taken away.
7464 Mon Feb 4 09:05:58 2002 Jeffrey A Law (law@redhat.com)
7466 * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
7467 CODE_LABEL and jump table when replacing a table jump with a
7470 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7472 * config/s390/s390-protos.h (legitimize_la_operand,
7473 s390_secondary_input_reload_class, s390_plus_operand,
7474 s390_expand_plus_operand): Add prototypes.
7476 config/s390/s390.c (s390_secondary_input_reload_class,
7477 s390_plus_operand, s390_expand_plus_operand): New functions.
7479 (struct s390_address): New member 'pointer'.
7480 (s390_decompose_address): Compute it.
7481 (legitimate_la_operand_p): Use it.
7482 (legitimize_la_operand): New function.
7483 (movti, movdi, movdf splitters): Call it.
7485 config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
7486 (PREDICATE_CODES): Add s390_plus_operand.
7488 config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
7489 (la_ccclobber): Allow GENERAL_REGS as output operand.
7491 (reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
7492 *reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
7493 (*la_64, *la_31, reload_indi, reload_insi): ... these.
7495 2002-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7497 * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
7498 register names for regular asm () construct.
7500 2002-02-04 Jakub Jelinek <jakub@redhat.com>
7502 * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
7505 2002-02-04 Jakub Jelinek <jakub@redhat.com>
7507 * combine.c (recog_for_combine): Create a dummy insn with PATTERN
7510 2002-02-04 Hartmut Penner <hpenner@de.ibm.com>
7512 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
7513 constant pool to be identical by string address and index.
7515 2002-02-04 Anthony Green <green@redhat.com>
7517 * output.h (SECTION_OVERRIDE): Define.
7518 * varasm.c (named_section): Obey SECTION_OVERRIDE.
7520 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
7522 * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
7523 by existing arm*-*-netbsd* (a.out) target.
7524 (ns32k-*-netbsdelf*): Likewise.
7525 (sparc-*-netbsdelf*): Likewise.
7526 (vax-*-netbsdelf*): Likewise.
7528 2002-02-03 Danny Smith <dannysmith@users.sourceforge.net>
7530 * gthr-win32.h: Protect against conflicting typedef for BOOL in windows
7531 headers and libobjc headers.
7533 2002-02-03 Mumit Khan <khan@nanotech.wisc.edu>
7535 * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
7536 (_mingw.h): Remove duplicate include.
7538 2002-02-03 Jason Thorpe <thorpej@wasabisystems.com>
7540 * config.gcc: Set cpu_type to m68k for 68010, as well.
7541 (m68010-*-netbsdelf*): New...
7542 (m68k*-*-netbsdelf*): ...targets.
7543 * config/m68k/netbsd-elf.h: New file.
7545 2002-02-02 Kazu Hirata <kazu@hxi.com>
7547 * config/h8300/h8300.c (hand_list): Move inside function_arg.
7549 2002-02-02 Kazu Hirata <kazu@hxi.com>
7551 * config/h8300/h8300.c (h8_push_ops): Move inside
7553 (h8_pop_ops): Likewise.
7554 (h8_move_ops): Likewise.
7556 2002-02-02 Kazu Hirata <kazu@hxi.com>
7558 * config/h8300/h8300.c (os_task): Make it static.
7559 (monitor): Likewise.
7560 (pragma_saveall): Likewise.
7562 2002-02-02 Alexandre Oliva <aoliva@redhat.com>
7564 * config/sh/sh.md (ic_invalidate_line): Make sure the immediate
7565 constant is a valid sign-extension for Pmode.
7567 2002-02-02 Kazu Hirata <kazu@hxi.com>
7569 * config/h8300/h8300.c: Fix formatting.
7571 2002-02-02 Kazu Hirata <kazu@hxi.com>
7573 * config/h8300/h8300.md: Fix formatting.
7575 2002-02-02 Kazu Hirata <kazu@hxi.com>
7577 * config/h8300/h8300.md (one_cmpl patterns): Tighten the
7578 predicates of operands[1]. Split the patterns for each
7581 2002-02-02 Kazu Hirata <kazu@hxi.com>
7583 * config/h8300/h8300.md (xor patterns): Tighten the predicates
7584 of operands[1] to register_operand.
7586 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
7588 * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
7589 * cpphash.c (_cpp_init_hashtable): Similarly.
7590 * cppinit.c (cpp_create_reader): Default the signed_char flag.
7591 (init_builtins): Define __CHAR_UNSIGNED__ appropriately.
7592 (COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
7593 (cpp_handle_option): Handle the new options.
7594 * cpplex.c (cpp_interpret_charconst): Use new flag.
7595 * cpplib.h (struct cpp_options): New member signed_char.
7596 * gcc.c (cpp_unique_options): Remove %c spec and documentation.
7597 (cpp_options): Handle -fsigned-char and -funsigned-char.
7598 (static_specs): Remove signed_char_spec.
7599 (do_spec1): Don't handle %c.
7600 * system.h: Poison SIGNED_CHAR_SPEC.
7601 * tradcif.y (yylex): Use flag_signed_char.
7602 * tradcpp.h (flag_signed_char): New.
7603 * tradcpp.c (flag_signed_char): New.
7604 (main): Handle new command-line options.
7605 (initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
7607 * alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
7608 * avr/avr.h: Remove old comments.
7609 * i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
7610 (CC1_SPEC): Pass -fsigned-char if -mic*.
7611 (SIGNED_CHAR_SPEC): Remove.
7613 * tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
7615 2002-02-01 Eric Christopher <echristo@redhat.com>
7617 From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
7618 * config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
7619 * config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
7620 (ASM_OUTPUT_REG_POP): Ditto.
7622 2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
7624 * c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
7627 2002-02-02 Jakub Jelinek <jakub@redhat.com>
7629 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
7631 2002-02-02 Jakub Jelinek <jakub@redhat.com>
7634 * expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
7637 2002-02-01 Janis Johnson <janis187@us.ibm.com>
7639 * cfganal.c: Include tm_p.h.
7640 (keep_with_call_p): Fix the test that determines if a register holds
7641 the return value of a call.
7643 2002-02-01 DJ Delorie <dj@redhat.com>
7645 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
7646 we are given conflicting registers, switch to the other one we
7647 had allocated for us.
7648 * config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
7649 as TImode so we know when the "other" register is available.
7651 2002-02-01 David O'Brien <obrien@FreeBSD.org>
7653 * config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
7656 2002-02-01 Janis Johnson <janis187@us.ibm.com>
7658 * cfganal.c (keep_with_call_p): New function.
7659 (flow_call_edges_add): Prevent splitting a block between a call and
7660 a single-set instruction that should be kept in the same block.
7662 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
7664 * doc/install.texi (avr): Update outdated URL.
7666 2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
7668 * config/stormy16/stormy16.md (pushqi): New.
7672 (movhi): Remove stack operands.
7674 * config/stormy16/stormy16.h (PREDICATE_CODES): Add
7675 nonimmediate_nonstack_operand.
7676 * config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
7678 * config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
7681 2002-01-31 Jason Merrill <jason@redhat.com>
7683 * Makefile.in (c-parse.c): Handle .output file.
7684 * objc/Make-lang.in (objc-parse.c): Likewise.
7686 2002-02-01 Alexandre Oliva <aoliva@redhat.com>
7688 * config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
7689 the -me[lb] option is given. Don't output the default flag
7692 2002-01-31 Zack Weinberg <zack@codesourcery.com>
7694 * c-lex.c (yyparse): Call debug_hooks->start_source_file for
7695 the primary source file; this has not been done yet.
7696 * c-decl.c (c_expand_body): Reset input_filename from
7697 DECL_SOURCE_FILE (fndecl) before calling init_function_start.
7699 2002-01-31 Kazu Hirata <kazu@hxi.com>
7701 * rtlanal.c (subreg_regno_offset): Do not use
7702 SUBREG_REGNO_OFFSET.
7703 * system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
7704 * doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
7706 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
7708 * gccbug.in: Follow GNU Coding Standards for --version. Use GCC
7709 version rather than GNATS version in --version output.
7711 2002-01-31 Richard Sandiford <rsandifo@redhat.com>
7713 * ifcvt.c (noce_process_if_block): Make a copy of the destination
7714 when copying back from a temporary.
7716 2002-01-30 Richard Henderson <rth@redhat.com>
7718 * ifcvt.c (dead_or_predicable): Handling merging when other_bb
7719 and new_dest are the same.
7721 2002-01-30 Richard Henderson <rth@redhat.com>
7724 * rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
7725 * rtl.c (note_insn_name): Update.
7726 * emit-rtl.c (remove_unnecessary_notes): Kill it.
7727 * stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
7728 to perform loop rotation.
7729 (expand_exit_loop_top_cond): New.
7730 * tree.h (expand_exit_loop_top_cond): Declare it.
7731 * c-semantics.c (genrtl_while_stmt): Use it.
7732 (genrtl_for_stmt): Likewise.
7734 2002-01-30 Alexandre Oliva <aoliva@redhat.com>
7736 * config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
7737 arguments to 64-bit boundaries on 64-bit ABIs.
7739 2002-01-30 Steve Ellcey <sje@cup.hp.com>
7741 * loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
7743 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
7745 * c-decl.c (grokdeclarator): Handle type being a typedef for an
7748 2002-01-30 David O'Brien <obrien@FreeBSD.org>
7750 * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
7751 * config/sparc/sparc_bi.h: Remove file.
7752 * config/sparc/biarch64.h: New file (rename of sparc_bi.h).
7754 2002-01-30 Richard Henderson <rth@redhat.com>
7756 * sched-deps.c (sched_analyze): Make a call read the frame pointer.
7758 2002-01-30 Zack Weinberg <zack@codesourcery.com>
7760 * expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
7762 2002-01-30 Jason Merrill <jason@redhat.com>
7764 * dwarf2out.c (dwarf_cfi_name): Add other DWARF 3 codes.
7765 (output_cfi): Likewise. Disable DW_CFA_GNU_negative_offset_extended.
7766 (reg_save): Use DW_CFA_offset_extended_sf instead.
7768 * dwarf2out.c (dwarf2out_finish): Don't abort if there were errors.
7770 2002-01-29 Jakub Jelinek <jakub@redhat.com>
7772 * cselib.c (cselib_record_sets): Use IF_THEN_ELSE result
7775 2002-01-29 Aldy Hernandez <aldyh@redhat.com>
7777 * rs6000.md ("*call_value_local32"): Remove constraints.
7778 ("*call_value_local64"): Same.
7779 ("*call_value_indirect_nonlocal_aix32"): Same.
7780 ("*call_value_nonlocal_aix32"): Same.
7781 ("*call_value_indirect_nonlocal_aix64"): Same.
7782 ("*call_value_nonlocal_aix64"): Same.
7783 ("*call_value_nonlocal_sysv"): Same.
7785 2002-01-29 Richard Henderson <rth@redhat.com>
7787 * config/alpha/elf.h (SDB_DEBUGGING_INFO): Undef.
7789 2002-01-29 Richard Henderson <rth@redhat.com>
7791 * expr.c (force_operand): Ignore flag_pic for detecting pic
7793 * regclass.c (init_reg_sets_1): Test fixed_regs not flag_pic
7794 for determining if PIC_OFFSET_TABLE_REGNUM is call-clobbered.
7795 * resource.c (mark_target_live_regs): Use regs_invalidated_by_call
7796 instead of open-coded loop.
7797 * doc/tm.texi (PIC_OFFSET_TABLE_REGNUM): Clarify that it must
7798 be fixed when in use.
7800 2002-01-29 Richard Henderson <rth@redhat.com>
7802 * sched-int.h (struct deps_reg): Add uses_length, clobbers_length.
7803 * sched-rgn.c (propagate_deps): Update them.
7804 * sched-deps.c (sched_analyze_insn): Update them. Flush the
7805 clobbers list when either gets too long.
7807 2002-01-29 Jakub Jelinek <jakub@redhat.com>
7809 * config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
7810 and INDEX_REGS the same as GENERAL_REGS.
7811 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7813 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
7815 * tree.c (build_nonstandard_integer_type): Correct prototype.
7817 2002-01-29 Ulrich Weigand <uweigand@de.ibm.com>
7819 * config/s390/s390.md (movstrsico, movstrdix_64,
7820 movstrsix_31): Remove, replace by ...
7821 (movstrdi_short, movstrsi_short, movstrdi_long,
7822 movstrsi_long): ... these. New.
7823 (movstrdi, movstrsi): Adapt.
7825 (rotldi3, rotlsi3, ashldi3, *ashldi3_31, *ashldi3_64,
7826 ashlsi3, lshrdi3, *lshrdi3_31, *lshrdi3_64, lshrsi3):
7827 Remove unnecessary CC clobber.
7828 (*ashrdi3_cc_31, *ashrdi3_cconly_31, *ashrdi3_cc_64,
7829 *ashrdi3_cconly_64, *ashrsi3_cc, *ashrsi3_cconly): New.
7831 (divmoddi4): Don't partially initialize TImode register.
7833 2002-01-29 Geoffrey Keating <geoffk@redhat.com>
7835 * doc/sourcebuild.texi (C Tests): Document gcc.dg/debug directory.
7837 2002-01-29 Richard Henderson <rth@redhat.com>
7839 * flow.c (print_rtl_and_abort): Remove.
7840 (print_rtl_and_abort_fcn): Remove.
7841 (verify_local_live_at_start): Use dump_bb instead.
7842 (verify_wide_reg): Likewise. Take a basic_block, not rtl endpoints.
7843 (verify_wide_reg_1): Return 2 on mode test failure.
7845 2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
7847 PR c/3325, c/3326, c/2511, c/3347
7848 * c-decl.c (enum_decl_context): Remove BITFIELD.
7849 (grokdeclarator): Take bitfield width as an input.
7850 Ensure bitfields are given the correct type. Perform
7851 bitfield width validation with build_bitfield_integer_type
7852 rather than waiting for finish_struct.
7853 (grok_typename, grok_typename_in_parm_context, start_decl,
7854 push_parmdecl, grokfield, start_function): Update calls to
7856 (build_bitfield_integer_type): New function.
7857 (finish_struct): Move bitfield validation to grokdeclarator
7858 and build_bitfield_integer_type.
7859 * tree.c (build_nonstandard_integer_type): New function.
7860 * tree.h (build_nonstandard_integer_type): New prototype.
7862 * objc-act.c (objc_copy_list): Remove DECL_INITIAL kludge.
7864 2002-01-29 Jakub Jelinek <jakub@redhat.com>
7867 * cppinit.c (cpp_handle_option): Add ignore argument, if it is zero,
7868 don't ignore unrecognized -W* options.
7869 (cpp_handle_options): Pass 1 as last argument to cpp_handle_option.
7870 * cpplib.h (cpp_handle_option): Adjust prototype.
7871 * c-decl.c (c_decode_options): Pass 0 as last argument to
7875 * gcc.c (cpp_unique_options): Split from cpp_options.
7876 (cpp_options): Source cpp_unique_options.
7877 (default_compilers): Use cpp_unique_options instead of cpp_options
7878 when used together with cc1_options.
7879 (static_specs): Add cpp_unique_options.
7880 * objc/lang-specs.h: Use cpp_unique_options instead of cpp_options
7881 when used together with cc1_options.
7883 2002-01-29 Kazu Hirata <kazu@hxi.com>
7885 * config/h8300/h8300-protos.h: Update the prototype of
7887 * config/h8300/h8300.c (output_a_shift): Remove an unused
7888 argument 'insn'. Remove redundant code.
7889 * config/h8300/h8300.md: Adust to the new prototype of
7892 2002-01-29 Kazu Hirata <kazu@hxi.com>
7894 * config/h8300/h8300-protos.h: Update the prototypes of
7895 emit_a_rotate and expand_a_rotate.
7896 * config/h8300/h8300.c (emit_a_rotate): Change the type of the
7897 first argument to 'enum rtx_code'.
7898 (expand_a_rotate): Likewise.
7900 2002-01-28 Kazu Hirata <kazu@hxi.com>
7902 * config/h8300/h8300-protos.h: Update the prototype of
7904 * config/h8300/h8300.c (output_simode_bld): Remove an argumen
7906 * config/h8300/h8300.md: Adjust to the new prototype.
7908 2002-01-28 Kazu Hirata <kazu@hxi.com>
7910 * conifg/h8300/h8300.c (h8300_adjust_insn_length): Remove
7913 2002-01-28 John David Anglin <dave@hiauly1.hia.nrc.ca>
7915 * emit-rtl.c (gen_rtx_REG): Check that the PIC_OFFSET_TABLE_REGNUM
7916 is a fixed register before returning pic_offset_table_rtx.
7917 * loop.c (scan_loop): Don't hoist insns that set pic_offset_table_rtx
7918 when PIC_OFFSET_TABLE_REG_CALL_CLOBBERED is defined.
7920 2002-01-28 Jason Merrill <jason@redhat.com>
7922 * dwarf2.h: Sync with src version.
7924 2002-01-28 Paul Koning <pkoning@equallogic.com>
7926 * builtin-types.def (BT_FN_VOID_CONST_PTR_VAR): Replace
7928 * builtins.def (BUILT_IN_PREFETCH): Change first argument to be const.
7929 * doc/extend.texi (__builtin_prefetch): Update documentation:
7930 first argument is now const void ptr.
7932 2002-01-28 Kazu Hirata <kazu@hxi.com>
7934 * config/h8300/h8300-protos.h: Remove an unused prototype.
7936 2002-01-28 Roman Zippel <zippel@linux-m68k.org>
7938 * toplev.c (lang_independent_init): Round up identifier size.
7940 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
7942 * config.gcc: Revert previous change.
7944 2002-01-28 Andris Pavenis <pavenis@latnet.lv>
7946 * config/i386/djgpp.h: Use STRIP_NAME_ENCODING in macro UNIQUE_SECTION
7948 2002-01-28 Richard Earnshaw <rearnsha@arm.com>
7950 * config.gcc (*-*-netbsdelf*): Set up generic parameters.
7951 (*-*-netbsd*): Always use collect2. Remove collect2 settings from
7952 other non-elf netbsd config frags.
7953 * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since
7954 collect2 will does that.
7955 * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that
7956 shared-lib frobbing will work.
7958 2002-01-28 Kazu Hirata <kazu@hxi.com>
7960 * config/h8300/h8300.h: Fix formatting.
7961 * config/h8300/h8300.md: Likewise.
7963 2002-01-28 Loren J. Rittle <ljrittle@acm.org>
7965 * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
7966 the old, removed AAA_standards fix.
7967 * fixinc/fixincl.x: Rebuilt.
7969 2002-01-28 Hans-Peter Nilsson <hp@axis.com>
7971 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
7972 atexit call in crtbegin, hooked in after call to frame_dummy;
7973 register EH before registering __fini__start.
7975 2002-01-28 Aldy Hernandez <aldyh@redhat.com>
7977 * config/rs6000/altivec.h: Remove spurious semicolons.
7979 2002-01-27 Kazu Hirata <kazu@hxi.com>
7981 * config/h8300/h8300.md: Replace dead bit extraction patterns
7982 with ones that work.
7984 Sun Jan 27 13:23:40 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7986 * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
7987 if not STRICT_ALIGNMENT.
7988 * rtl.h (MEM_ALIGN): Likewise.
7990 2002-01-27 Craig Rodrigues <rodrigc@gcc.gnu.org>
7992 * doc/invoke.texi (-fdump-translation-unit): Revert this
7993 patch: 2001-10-21 Craig Rodrigues <rodrigc@gcc.gnu.org>
7995 2002-01-27 Kazu Hirata <kazu@hxi.com>
7997 * config/h8300/h8300.md (define_constants): New.
7998 (anonymous patterns) Use defined constants appropriately.
8000 2002-01-27 Kazu Hirata <kazu@hxi.com>
8002 * config/h8300/h8300.c (function_arg): Remove redundant code.
8004 2002-01-26 Richard Henderson <rth@redhat.com>
8006 * sched-deps.c (reg_pending_uses_head): New.
8007 (reg_pending_barrier): Rename from reg_pending_sets_all.
8008 (find_insn_list): Don't mark inline.
8009 (find_insn_mem_list): Remove.
8010 (add_dependence_list, add_dependence_list_and_free): New.
8011 (flush_pending_lists): Replace only_write param with separate
8012 for_read and for_write parameters. Update all callers. Use
8013 add_dependence_list_and_free.
8014 (sched_analyze_1): Do not add reg dependencies here; just set
8015 the pending bits. Use add_dependence_list.
8016 (sched_analyze_2): Likewise.
8017 (sched_analyze_insn): Replace schedule_barrier_found with
8018 reg_pending_barrier. Add all dependencies for pending reg
8019 uses, sets, and clobbers.
8020 (sched_analyze): Don't add reg dependencies for calls, just
8021 set pending bits. Use regs_invalidated_by_call. Treat
8022 sched_before_next_call as a normal list, not a fake insn.
8023 (init_deps): No funny init for sched_before_next_call.
8024 (free_deps): Free pending mems lists. Don't zero reg_last.
8025 (init_deps_global): Init reg_pending_uses.
8026 (finish_deps_global): Free it.
8027 * sched-int.h (deps): Make in_post_call_group_p boolean. Update docs.
8028 (find_insn_mem_list): Remove.
8029 * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
8030 (propagate_deps): Use them. Zero temp mem lists.
8032 2002-01-26 Richard Henderson <rth@redhat.com>
8034 * Makefile.in (CRTSTUFF_CFLAGS): New.
8035 (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
8036 * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
8037 crtstuff.c instead of alpha assembly version.
8038 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
8039 entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
8040 not FORCE_{INIT,FINI}_SECTION_ALIGN.
8041 (__do_global_dtors_aux): Mark used.
8042 (frame_dummy, __do_global_ctors_aux): Mark used.
8043 (fini_dummy, init_dummy): Remove.
8045 * config/alpha/crtbegin.asm: Remove file.
8046 * config/alpha/crtend.asm: Remove file.
8047 * config/alpha/t-crtbe: Remove file.
8048 * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
8049 (LINK_EH_SPEC): New.
8051 * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
8052 FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
8053 calling constructors.
8054 * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
8056 * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
8057 * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
8058 CRT_END_INIT_DUMMY hack.
8059 * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
8060 FORCE_{INIT,FINI}_SECTION_ALIGN.
8062 * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
8063 FORCE_{INIT,FINI}_SECTION_ALIGN.
8065 * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
8066 invocation sequence.
8067 * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
8069 * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
8070 (FORCE_CODE_SECTION_ALIGN): New.
8072 2002-01-26 Richard Henderson <rth@redhat.com>
8074 * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
8076 2002-01-26 Richard Henderson <rth@redhat.com>
8078 * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
8079 (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
8081 2002-01-26 Kazu Hirata <kazu@hxi.com>
8083 * config/h8300/h8300.md: Remove bit extraction patterns that
8084 cannot be triggered.
8085 Restrict each bit extraction pattern to a variant on which the
8088 2002-01-26 Joseph S. Myers <jsm28@cam.ac.uk>
8090 * doc/include/texinfo.tex: Update to version 2002-01-04.07.
8092 2002-01-26 Kazu Hirata <kazu@hxi.com>
8094 * config/h8300/h8300.md: Remove bit test patterns that cannot
8096 Restrict each bit test pattern to a variant on which the
8099 2002-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8101 * builtins.c (expand_builtin_strncat): Remove redundant check for
8104 2002-01-25 David O'Brien <obrien@FreeBSD.org>
8106 * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
8108 * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
8111 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
8113 * dbxout.c (dbxout_init): Use assemble_name rather than just
8114 stripping off the first character.
8115 (dbxout_source_file): Likewise.
8117 2002-01-25 DJ Delorie <dj@redhat.com>
8119 * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
8120 using rtx_equal_p, not by comparing pointers.
8122 2002-01-25 Steve Ellcey <sje@cup.hp.com>
8124 * emit-rtl.c (gen_rtx_REG): Always return the same rtx
8125 for PIC_OFFSET_TABLE_REGNUM.
8126 (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
8128 2002-01-25 David O'Brien <obrien@FreeBSD.org>
8130 * config.gcc (x86_64-*-freebsd*): New target.
8131 (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
8133 (i[34567]86-*-freebsd*): Don't include svr4.h.
8134 * config/i386/freebsd64.h: New file.
8136 2002-01-25 Douglas B Rupp <rupp@gnat.com>
8138 * config/alpha/x-vms (version): Make static.
8140 * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
8141 in previous checkin.
8143 * Makefile.in (install-headers-cp): New target.
8144 * config.gcc (alpha-dec-*vms*): Install headers with
8147 Fri Jan 25 22:42:49 CET 2002 Jan Hubicka <jh@suse.cz>
8149 * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
8152 Fri Jan 25 08:26:19 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8154 * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
8155 of compare_tree_int.
8156 (expand_builtin_strncat): Likewise.
8157 * c-decl.c (finish_struct): Use tree_low_cst.
8158 * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
8159 * tree.c (compare_tree_int): Likewise.
8161 2002-01-25 Ulrich Weigand <uweigand@de.ibm.com>
8163 * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
8164 adjustments even if they are implemented by more than two insns.
8166 Fri Jan 25 20:43:56 CET 2002 Jan Hubicka <jh@suse.cz>
8168 * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
8169 * df.h (struct ref): Kill B.
8170 (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
8172 * basic-block.h (PROP_EQUAL_NOTES): New flag.
8173 * flow.c (propagate_one_insn): Use it.
8174 (mark_used_regs): Handle NIL.
8176 2002-01-25 Geoffrey Keating <geoffk@redhat.com>
8178 * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM
8181 2002-01-25 David Edelsohn <edelsohn@gnu.org>
8183 * rs6000.md (prefetch): Make address V4SI mode so that the address
8184 is restricted to legitimate form for instruction.
8186 2002-01-25 Bob Wilson <bob.wilson@acm.org>
8188 * doc/install.texi (xtensa-*-elf): New target.
8189 (xtensa-*-linux*): New target.
8190 * doc/contrib.texi: Add myself.
8192 2002-01-25 Nick Clifton <nickc@cambridge.redhat.com>
8194 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow any general
8195 purpose register to hold an SImode (or smaller) value.
8197 2002-01-25 Jakub Jelinek <jakub@redhat.com>
8199 * unwind-dw2-fde-glibc.c: If inhibit_libc, use __register_frame*
8201 * crtstuff.c: Likewise.
8203 2002-01-25 Kazu Hirata <kazu@hxi.com>
8205 * config/h8300/h8300.md (negation patterns): Tighten
8206 predicates to register_operand.
8208 2002-01-24 Aldy Hernandez <aldyh@redhat.com>
8210 * loop.c (emit_prefetch_instructions): Use the prefetch insn's
8213 * builtins.c (expand_builtin_prefetch): Same.
8215 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
8217 * config/sh/sh.md (sym_label2reg): Make sure all CONSTs have
8220 2002-01-24 Kazu Hirata <kazu@hxi.com>
8222 * config/h8300/h8300.c (print_operand): Remove support for
8223 operand character 'A'.
8224 * config/h8300/h8300.md (three anonymous patterns): Replace
8225 operand character 'A' with either 'T' or 'S'.
8227 2002-01-24 Kazu Hirata <kazu@hxi.com>
8229 * config/h8300/h8300.c (print_operand): Remove support for
8230 operand character 'U'.
8232 2002-01-24 Andris Pavenis <pavenis@latnet.lv>
8234 * config/i386/t-djgpp: Use NATIVE_SYSTEM_HEADER_DIR.
8236 2002-01-24 Nick Clifton <nickc@cambridge.redhat.com>
8238 * config/arm/arm.c (arm_hard_regno_mode_ok): Allow SImode
8239 values to be assigned to the stack pointer.
8241 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
8243 * emit_rtl.c (gen_lowpart_common): Conversion from const_int
8244 to const_double needs to be done right for big-endian systems.
8246 2002-01-24 Jason Merrill <jason@redhat.com>
8249 * config/sparc/sparc.md (call-jump peepholes): Pass the right insn
8250 to can_throw_internal.
8252 2002-01-23 Richard Henderson <rth@redhat.com>
8254 * fold-const.c (fold): Change UINT_MAX test to check vs precision
8255 rather than TYPE_MAX_VALUE. Fix indentation and a bogus negation.
8257 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
8259 * config/sh/sh.md (symGOT_load, sym2GOT, sym2GOTOFF): New expands.
8260 (symGOT2reg): Use them, then set as GOT value as unchanging.
8261 (symGOTOFF2reg): Set REG_EQUAL note. Use a different pseudo
8262 as a temporary, if possible.
8263 (symPLT_label2reg): Enclose (pc) in UNSPEC_PIC. Emit
8264 sym@PLT-(.LPCS#+2-.) instead of sym@PLT+.-(.LPCS#+2).
8266 2002-01-23 Kazu Hirata <kazu@hxi.com>
8268 * config/h8300/h8300.md: Fix xorqi and xorqi so that they will
8269 accept to accept 0x80 as operands[2].
8271 2002-01-24 Alexandre Oliva <aoliva@redhat.com>
8273 * config/sparc/sparc.md (fix_trunctfdi2): Correct typo in mode.
8275 2002-01-23 Richard Henderson <rth@redhat.com>
8277 * config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo.
8279 2002-01-23 Aldy Hernandez <aldyh@redhat.com>
8281 * c-parse.in (parmlist_or_identifiers): Add maybe_attribute.
8282 (parmlist_or_identifiers_1): Verify that only a parmlist follows
8285 2002-01-23 Richard Henderson <rth@redhat.com>
8287 * expr.c (move_by_pieces_1): Extend size before negation.
8289 * config/m68k/t-m68kbare (MULTILIB_OPTIONS): Add 68040 and 68060.
8290 (MULTILIB_MATCHES): Remove 68040 and 68060 aliases.
8291 (MULTILIB_EXCEPTIONS): Ignore 68881 and soft-float for 68040 and 68060.
8292 * config/m68k/t-m68kelf: Likewise.
8294 2002-01-23 Bob Wilson <bob.wilson@acm.org>
8296 * config/xtensa/elf.h: New file.
8297 * config/xtensa/lib1funcs.asm: New file.
8298 * config/xtensa/lib2funcs.S: New file.
8299 * config/xtensa/linux.h: New file.
8300 * config/xtensa/t-xtensa: New file.
8301 * config/xtensa/xtensa-config.h: New file.
8302 * config/xtensa/xtensa-protos.h: New file.
8303 * config/xtensa/xtensa.c: New file.
8304 * config/xtensa/xtensa.h: New file.
8305 * config/xtensa/xtensa.md: New file.
8306 * config.gcc (xtensa-*-elf*): New target.
8307 (xtensa-*-linux*): New target.
8308 * cse.c (canon_hash): Compare rtx pointers instead of register
8309 numbers. This is required for the Xtensa port.
8310 * integrate.c (copy_insn_list): Handle case where the static
8311 chain is in memory and the memory address has to be copied to
8313 * doc/invoke.texi (Option Summary): Add Xtensa options.
8314 (Xtensa Options): New node.
8315 * doc/md.texi (Machine Constraints): Add Xtensa machine constraints.
8317 2002-01-23 Zack Weinberg <zack@codesourcery.com>
8319 * diagnostic.c (internal_error): Do ICE suppression only
8320 when ENABLE_CHECKING is not defined.
8322 * c-typeck.c (require_complete_type): Return error_mark_node
8323 if type is error_mark_node.
8325 2002-01-23 Janis Johnson <janis187@us.ibm.com>
8327 * toplev.c (process_options): Disable -fprefetch-loop-arrays with
8328 -Os and issue a warning.
8330 2002-01-23 Zack Weinberg <zack@codesourcery.com>
8332 * doc/fragments.texi, doc/hostconfig.texi: Update to reflect
8333 current (lack of) need for host configuration by hand.
8335 * doc/gccint.texi, doc/rtl.texi, doc/tm.texi: Adjust cross
8336 references. Documentation of some target macros moved from
8337 hostconfig.texi to tm.texi.
8339 2002-01-23 Will Cohen <wcohen@redhat.com>
8341 * config/arm/arm.h (THUMB_FUNCTION_PROFILER): Define if not currently
8344 2002-01-23 Kazu Hirata <kazu@hxi.com>
8346 * config/h8300/h8300.md (*andorhi3): Accept 0x8000 as an
8349 2002-01-23 Jason Merrill <jason@redhat.com>
8351 * tree.c (build1): Don't set TREE_READONLY on INDIRECT_REF.
8353 * function.c (assign_parms): Don't put args of inline functions
8354 into registers when not optimizing.
8356 2002-01-23 Nick Clifton <nickc@cambridge.redhat.com>
8358 * config/arm/arm.md (UNSPEC_PROLOGUE_USE): New unspec constant.
8359 (prologue_use): New pattern.
8360 * config/arm/arm.c (expand_prologue): Use gen_prologue_use in
8361 preference to gen_rtx_USE.
8362 (thumb_expand_prologue): Use gen_prologue_use in preference to
8364 (thumb_expand_epilogue): Use gen_prologue_use in preference to
8367 2002-01-23 Hans-Peter Nilsson <hp@bitrange.com>
8369 * loop.c [!HAVE_prefetch] (CODE_FOR_prefetch): Define to 0.
8371 2002-01-23 Neil Booth <neil@daikokuya.demon.co.uk>
8374 * doc/extend.texi: Correct documentation of __alignof__.
8376 2002-01-22 Zack Weinberg <zack@codesourcery.com>
8378 * params.h: Rename arguments of DEFPARAM so that it will be
8379 recognized as a translation keyword.
8381 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
8383 * extend.texi: Document altivec functions.
8384 Fix N-bit adjectives in X86 builtin documentation.
8386 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
8388 * reload.c (reg_overlap_mentioned_for_reload_p): Handle PLUS and
8389 auto_inc_dec values.
8391 2002-01-22 Richard Earnshaw <rearnsha@arm.com>
8393 * config/netbsd-aout.h (SWITCH_TAKES_ARG): Remove bogus white space
8395 (ASM_DECLARE_OBJECT_NAME): Add missing backslash before final line.
8397 2002-01-22 Alexandre Oliva <aoliva@redhat.com>
8399 * config/i386/freebsd-aout.h (ASM_QUAD): Undefine.
8401 2002-01-22 Richard Henderson <rth@redhat.com>
8403 * config/alpha/alpha.c (split_small_symbolic_mem_operand): Use
8404 copy_insn not copy_rtx.
8406 2002-01-23 Alan Modra <amodra@bigpond.net.au>
8408 * combine.c (simplify_and_const_int): Don't trunc_int_for_mode
8409 "nonzero" as that might add "1" bits. Ensure "constop" is
8410 properly sign extened.
8411 (force_to_mode): Tweak for sign extended constop.
8413 2002-01-22 Richard Henderson <rth@redhat.com>
8415 * config/alpha/alpha.c (some_small_symbolic_mem_operand) Use
8416 for_each_rtx instead of assuming we're already looking at the MEM.
8417 (split_small_symbolic_mem_operand): Likewise.
8418 * config/alpha/alpha.h (PREDICATE_CODES): Update.
8419 * config/alpha/alpha.md (small symbolic memory splitters): Update.
8421 2002-01-22 Richard Henderson <rth@redhat.com>
8423 * config/alpha/alpha.md (divmodsi_internal_er): Generate lituse
8424 sequence number for the literal.
8425 (divmoddi_internal_er): Likewise.
8427 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
8430 * aclocal.m4 (AM_ICONV): Put linking flags for libiconv
8431 in LIBICONV variable.
8432 * configure: Regenerated.
8434 2002-01-22 Krister Walfridsson <cato@df.lth.se>
8436 * dependence.c (build_def_use): Remove array_idx.
8438 * dwarfout.c (last_filename): Remove.
8439 (output_compile_unit_die): Remove last_filename.
8441 2002-01-22 Roger Sayle <roger@eyesopen.com>
8442 Richard Henderson <rth@redhat.com>
8445 * fold-const.c (fold): Optimize unsigned comparisons against
8446 UINT_MAX (and similar unsigned constants).
8448 2002-01-22 Janis Johnson <janis187@us.ibm.com>
8450 * Makefile.in (loop.o): Depend on OPTABS_H.
8451 * loop.c (emit_prefetch_instructions): Check the prefetch operand
8452 against the predicate.
8455 * config/i386/i386.md (prefetch_sse): Specify "p" as a constraint
8456 for the address operand.
8458 2002-01-22 Richard Henderson <rth@redhat.com>
8460 * config/alpha/freebsd.h (FUNCTION_PROFILER): Remove.
8462 2002-01-22 Craig Rodrigues <rodrigc@gcc.gnu.org>
8465 * config/i386/sysv4.h (CPP_SPEC): Define, and add CPU
8468 2002-01-22 Jason Thorpe <thorpej@wasabisystems.com>
8470 * config.gcc (x86_64-*-netbsd*): New target.
8471 * config/i386/netbsd64.h: New file.
8473 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
8475 * regrename.c (kill_value): Fix typo.
8477 2002-01-22 Aldy Hernandez <aldyh@redhat.com>
8479 * doc/tm.texi: Remove STARTING_FRAME_PHASE.
8481 * config/rs6000/rs6000.h: Same.
8483 * function.c (instantiate_virtual_regs): Remove
8484 STARTING_FRAME_PHASE.
8485 (assign_stack_local_1): Same.
8486 Calculate frame phase.
8488 2002-01-22 Nick Clifton <nickc@redhat.com>
8490 * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Move 'regno'
8491 variable declaration to outer scope in order to simplify
8493 (HARD_REGNO_MODE_OK): Replace macro body with a with a call to
8494 arm_hard_regno_mode_ok.
8495 * config/arm/arm-protos.h: Add a prototype for
8496 arm_hard_regno_mode_ok.
8497 * config/arm/arm.c (soft_df_operand): Remove now redundant
8498 check for DImode values using IP_REGNUM.
8499 (nonimmediate_soft_df_operand): Remove now redundant check for
8500 DImode values using IP_REGNUM.
8501 (arm_hard_regno_mode_ok): New function. New check: make sure
8502 that DImode values are not stored in IP_REGNUM.
8504 * config/arm/arm.c (arm_expand_prologue): Replace REG_MAYBE_DEAD
8506 (thumb_expand_prologue): Replace REG_MAYBE_DEAD note with a USE.
8508 2002-01-22 Jason Merrill <jason@redhat.com>
8510 * c-semantics.c (genrtl_compound_stmt): Only check nesting
8511 consistency if this COMPOUND_STMT is scoped.
8513 2002-01-22 Kazu Hirata <kazu@hxi.com>
8515 * predict.c: Fix formatting.
8516 * print-tree.c: Likewise.
8517 * protoize.c: Likewise.
8520 * sbitmap.h: Likewise.
8522 * sched-deps.c: Likewise.
8523 * sched-vis.c: Likewise.
8524 * sdbout.c: Likewise.
8525 * sibcall.c: Likewise.
8527 * ssa-ccp.c: Likewise.
8528 * ssa-dce.c: Likewise.
8530 * stor-layout.c: Likewise.
8531 * system.h: Likewise.
8533 Tue Jan 22 06:26:33 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8535 * tree.c (int_fits_type_p): If bounds of a subtype are variable, see
8536 if fits in bounds of base type.
8538 * dwarf2out.c (equate_decl_number_to_die): Add "int" to decls.
8539 (loc_descriptor_from_tree, case CALL_EXPR, case ADDR_EXPR): New.
8540 (add_bound_info, default): If can't find a context, make a
8542 (dwarf2out_finish): Check for SAVE_EXPR in node->created_for.
8544 2002-01-22 Hans-Peter Nilsson <hp@axis.com>
8546 * c-typeck.c (parser_build_binary_op): If result from
8547 build_binary_op is ERROR_MARK just return error_mark_node without
8550 2002-01-21 Jason Thorpe <thorpej@wasabisystems.com>
8552 * config/netbsd.h (TARGET_HAS_F_SETLKW): define.
8553 Split a.out-specific bits into...
8554 * config/netbsd-aout.h: ...this.
8555 * config/netbsd-elf.h: New file.
8556 * config/alpha/netbsd-elf.h: Remove.
8557 * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target.
8558 * config/i386/netbsd-elf.h (LIB_SPEC): Remove.
8559 (STARTFILE_SPEC): Remove redundant definition.
8560 (ENDFILE_SPEC): Likewise.
8561 (LINK_SPEC): Likewise.
8562 (CPP_SPEC): Likewise.
8563 (ASM_SPEC): Likewise.
8564 (LIB_SPEC): Likewise.
8565 (SWITCH_TAKES_ARG): Likewise.
8566 (TARGET_MEM_FUNCTIONS): Likewise.
8567 (CPP_PREDEFINES): Redefine.
8568 (ASM_FINAL_SPEC): Remove redefinition.
8569 (ASM_COMMENT_START): Redefine.
8570 (FUNCTION_PROFILER): Define.
8571 (TARGET_VERSION): Redefine.
8572 Comment and formatting cleanup.
8573 * config/i386/netbsd.h: Include <netbsd-aout.h>.
8574 * config/m68k/netbsd.h: Include <netbsd-aout.h>.
8575 * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target,
8576 big- or little-endian.
8577 * config/ns32k/netbsd.h: Include <netbsd-aout.h>.
8578 * config.gcc (*-*-netbsd*): Add definitions common to all
8580 (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and
8581 gnu_ld definitions. Add netbsd-elf.h to and remove
8582 alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from
8583 tmake_file, and don't lose previous tmake_file contents.
8584 (arm*-*-netbsd*): Add netbsd-aout.h to tm_file.
8585 (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and
8586 gnu_ld definitions. Add netbsd-elf.h to tm_file.
8587 (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*.
8588 (mipsel-*-netbsd*): Rename this to...
8589 (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add
8590 mips/little.h to tm_file for mips*el-*.
8591 (powerpc-*-netbsd*): Remove redundant xm_defines definition.
8592 (sparc-*-netbsd*): Add netbsd-aout.h to tm_file.
8593 (vax-*-netbsd*): Add netbsd-aout.h to tm_file.
8595 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
8597 * pa-protos.h (reg_before_reload_operand): New function prototype.
8598 * pa.c (reg_before_reload_operand): New function implementation.
8599 * pa.md (decrement_and_branch_until_zero, movb): Use it. Change "!*m"
8602 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8604 * combine.c (simplify_and_const_int): Properly sign-extend CONSTOP.
8606 2002-01-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
8608 * pa64-hpux.h (MD_EXEC_PREFIX): Set to "/usr/ccs/bin".
8609 (MD_STARTFILE_PREFIX): Set to "/usr/ccs/lib/pa20_64/".
8610 (MD_STARTFILE_PREFIX_1): Set to "/opt/langtools/lib/pa20_64/".
8611 (EH_FRAME_IN_DATA_SECTION): Define and update comment on init sections.
8612 (ENDFILE_SPEC): Undefine.
8613 (STARTFILE_SPEC): Redefine for PA.
8615 2002-01-21 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
8617 * config/rs6000/t-ppccomm (CRTSTUFF_T_CFLAGS_S): Re-add -fPIC.
8619 2002-01-21 Daniel Jacobowitz <drow@mvista.com>
8621 * config.gcc: Add entries to supported PowerPC --with-cpu
8624 2002-01-21 Jakub Jelinek <jakub@redhat.com>
8626 * config/i386/i386.c (ix86_function_arg_regno_p): Never return
8627 true for 64-bit mode only SSE registers in 32-bit mode.
8629 2002-01-21 Kazu Hirata <kazu@hxi.com>
8631 * unwind-dw2.c: Fix formatting.
8632 * unwind-dw2-fde.c: Likewise.
8633 * unwind-dw2-fde.h: Likewise.
8634 * unwind-pe.h: Likewise.
8635 * varasm.c: Likewise.
8636 * varray.h: Likewise.
8638 2002-01-21 Hans-Peter Nilsson <hp@bitrange.com>
8640 Remove workaround for register stack overwrite bug in mmix.
8641 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Remove
8642 support for TARGET_REG_STACK_FILL_BUG.
8643 * config/mmix/mmix.h: Remove member has_call_without_parameters.
8644 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_REG_STACK_FILL_BUG):
8646 (TARGET_DEFAULT): Remove TARGET_MASK_REG_STACK_FILL_BUG.
8647 (TARGET_SWITCHES): Remove -mreg-stack-fill-bug-workaround and
8648 -mno-reg-stack-fill-bug-workaround.
8649 * config/mmix/mmix.md ("call", "call_value"): Don't set struct
8650 machine member has_call_without_parameters.
8651 * doc/invoke.texi (Option Summary) <MMIX Options>: Remove
8652 -mreg-stack-fill-bug-workaround and
8653 -mno-reg-stack-fill-bug-workaround.
8654 (MMIX Options): Ditto.
8656 2002-01-21 Kazu Hirata <kazu@hxi.com>
8658 * config/h8300/h8300.c (function_arg): Replace 0 with NULL_RTX
8660 Remove redundant code.
8662 2002-01-21 Joseph S. Myers <jsm28@cam.ac.uk>
8664 * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h,
8665 config/c4x/c4x.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
8666 config/fr30/fr30.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
8667 config/mips/mips.h, config/rs6000/rs6000.h, config/sparc/sparc.h,
8668 config/stormy16/stormy16.h, config/v850/v850.h: Remove commented
8669 out target macro definitions and non-target-specific comments
8670 mostly taken from old versions of the manual.
8672 2002-01-20 Kazu Hirata <kazu@hxi.com>
8674 * config/h8300/h8300.h: Fix comment formatting.
8675 * config/ia64/aix.h: Likewise.
8676 * config/ia64/ia64-protos.h: Likewise.
8677 * config/ia64/ia64.c: Likewise.
8678 * config/ia64/ia64.h: Likewise.
8679 * config/ia64/ia64intrin.h: Likewise.
8680 * config/ia64/linux.h: Likewise.
8681 * config/ia64/unwind-aix.c: Likewise.
8682 * config/ia64/unwind-ia64.c: Likewise.
8684 2002-01-20 Kazu Hirata <kazu@hxi.com>
8686 * config/h8300/h8300.c: Revise comments about shift code.
8688 2002-01-20 Kazu Hirata <kazu@hxi.com>
8690 * config/h8300/h8300.c (function_arg): Update a comment.
8692 2002-01-20 Kazu Hirata <kazu@hxi.com>
8694 * config/h8300/h8300.md: Update the comments at the beginning
8697 2002-01-20 Kazu Hirata <kazu@hxi.com>
8699 * config/i370/i370.c: Fix comment formatting.
8700 * config/i370/i370.h: Likewise.
8701 * config/i370/i370.md: Likewise.
8702 * config/i370/linux.h: Likewise.
8704 Sun Jan 20 18:40:14 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8706 * reg-stack.c (subst_stack_regs): Properly check for deleted insn.
8708 * dwarf2out.c (loc_descriptor_from_tree): Add TRUTH_*_EXPR cases.
8709 (gen_struct_or_union_type_die): Don't SIGSEGV if no TYPE_STUB_DECL
8712 2002-01-20 Graham Stott <grahams@redhat.com>
8714 * cfgloop.c (flow_loop_preheader_scan): Fix typo.
8716 2002-01-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
8718 * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.
8720 2002-01-19 Tom Rix <trix@redhat.com>
8722 * config/rs6000/rs6000.md: Fix DF split for 64 bit hosts.
8724 2002-01-18 Aldy Hernandez <aldyh@redhat.com>
8726 * doc/tm.texi (STARTING_FRAME_PHASE): Document.
8728 * function.c (assign_stack_local_1): Adjust x_frame_offset with
8729 STARTING_FRAME_PHASE.
8730 (STARTING_FRAME_PHASE): New.
8731 (instantiate_virtual_regs): Check saneness of
8732 STARTING_FRAME_PHASE.
8734 * config/rs6000/rs6000.h (STARTING_FRAME_PHASE): New.
8736 2002-01-19 Alexandre Oliva <aoliva@redhat.com>
8738 * config/sh/sh.md (movdf_i4 split): Fix alter_subreg calls.
8740 2002-01-18 Craig Rodrigues <rodrigc@gcc.gnu.org>
8742 * doc/install.texi (hppa*-hp-hpux11): Clarify that GCC 2.95.x cannot
8743 be used for bootstrapping GCC 3.0.
8745 2002-01-18 Kazu Hirata <kazu@hxi.com>
8747 * config/h8300/h8300.md: Fix an insn length.
8749 2002-01-18 Kazu Hirata <kazu@hxi.com>
8751 * bitmap.h: Fix comment formatting.
8752 * combine.c: Likewise.
8753 * cppfiles.c: Likewise.
8754 * c-pragma.h: Likewise.
8755 * c-typeck.c: Likewise.
8757 * dwarf2out.c: Likewise.
8758 * function.c: Likewise.
8760 * genattrtab.c: Likewise.
8761 * gthr-win32.h: Likewise.
8762 * haifa-sched.c: Likewise.
8763 * predict.c: Likewise.
8764 * rtlanal.c: Likewise.
8766 * unwind-dw2-fde.h: Likewise.
8767 * unwind-pe.h: Likewise.
8768 * vmsdbgout.c: Likewise.
8770 Thu Jan 17 15:28:26 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8772 * attribs.c (decl_attributes): Clear ATTR_FLAG_TYPE_IN_PLACE
8773 if type_required and passed decl.
8775 2002-01-17 Aldy Hernandez <aldyh@redhat.com>
8777 * config.gcc (cpu_type): Include altivec.h in powerpc
8781 * config/rs6000/altivec.h: New.
8783 2002-01-17 David Edelsohn <edelsohn@gnu.org>
8785 * doc/install.texi (*-ibm-aix*): Update assembler and exception
8786 handling information.
8787 * doc/trouble.texi (Interoperation): Add libstdc++ information
8789 (Misunderstandings): Add template instantiation and static template
8790 member information for AIX.
8792 2002-01-17 Jason Merrill <jason@redhat.com>
8794 * dbxout.c (dbxout_type): Support const and volatile.
8796 * except.c (add_partial_entry): Remove backwards compatibility code.
8797 (end_protect_partials): Likewise.
8799 2002-01-17 Jakub Jelinek <jakub@redhat.com>
8801 * config/ia64/ia64.md (prologue_use): New.
8802 * config/ia64/ia64.c (ia64_expand_prologue): Use
8803 gen_prologue_use instead of gen_rtx_USE.
8804 (group_barrier_needed_p): Handle CODE_FOR_prologue_use the same way
8805 as CODE_FOR_pred_rel_mutex.
8806 (ia64_sched_reorder2): Likewise.
8808 2002-01-16 Eric Christopher <echristo@redhat.com>
8810 * config/mips/r3900.h: Reformat.
8811 (SUBTARGET_CPP_SIZE_SPEC): Remove.
8812 * config/mips/isa3264.h (SUBTARGET_CPP_SIZE_SPEC): Ditto.
8813 * config/mips/mips.h (ABI_GAS_ASM_SPEC): Default to "".
8814 (SUBTARGET_CPP_SIZE_SPEC): Rewrite.
8815 * config/mips/t-elf: Remove mips3 multilib.
8817 2002-01-16 H.J. Lu <hjl@gnu.org>
8819 * config/mips/linux.h: Include "mips/abi64.h".
8821 2002-01-16 H.J. Lu <hjl@gnu.org>
8823 * config/mips/t-linux: New.
8825 * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*.
8827 * config/mips/linux.h: Don't include "gofast.h".
8828 (INIT_SUBTARGET_OPTABS): Removed.
8830 2002-01-16 Kazu Hirata <kazu@hxi.com>
8832 * config/h8300/h8300-protos.h: Replace emit_a_shift with
8834 * config/h8300/h8300.c: Likewise.
8835 * config/h8300/h8300.md: Likewise.
8837 2002-01-16 Kazu Hirata <kazu@hxi.com>
8839 * config/h8300/h8300.md (pushqi1_h8300): Use a tab instead of
8840 spaces after an opcode name.
8841 (pushqi1_h8300hs): Likewise.
8842 (pushhi1_h8300hs): Likewise.
8844 2002-01-16 Kazu Hirata <kazu@hxi.com>
8846 * doc/extend.texi: Replace "option" with "attribute"
8849 2002-01-16 Jakub Jelinek <jakub@redhat.com>
8851 * config/alpha/alpha.c (some_small_symbolic_mem_operand): Look into
8852 (and:DI () (const_int -8)).
8853 (split_small_symbolic_mem_operand): Split
8854 (mem (and:DI () (const_int -8)).
8856 2002-01-16 Jakub Jelinek <jakub@redhat.com>
8859 * config/sparc/sparc.c (ultrasparc_adjust_cost): Handle TYPE_IDIV the
8860 same way as TYPE_IMUL.
8861 (ultrasparc_sched_reorder): Likewise.
8862 * config/sparc/sparc.md (type): Add comment to update
8863 ultrasparc_sched_reorder when making changes.
8865 2002-01-16 Kazu Hirata <kazu@hxi.com>
8867 * doc/invoke.texi: Change the dump file name of block
8868 reordering pass from 28.bbro to 29.bbro.
8871 Wed Jan 16 17:54:22 CET 2002 Jan Hubicka <jh@suse.cz>
8873 * i386.md (minsf splitter): Fix pasto.
8875 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
8877 * config/arm/arm.c (arm_expand_prologue): Add REG_MAYBE_DEAD note
8878 to frame pointer initialisation instruction.
8879 (thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
8880 initialisation instruction.
8881 (soft_df_operand): Do not accept the IP register.
8882 (nonimmediate_soft_df_operand): Do not accept the IP register.
8884 2002-01-16 Jakub Jelinek <jakub@redhat.com>
8887 * config/sparc/sparc.c (sparc_override_options): Avoid MASK_V9 and
8888 MASK_V8 being both set.
8890 2002-01-16 Ulrich Weigand <uweigand@de.ibm.com>
8892 * config/s390/s390.c (s390_emit_prologue): Do not emit USE
8893 insn for GOT register; add REG_MAYBE_DEAD notes instead.
8894 config/s390/s390.md (call, call_value): Add GOT register to
8895 CALL_INSN_FUNCTION_USAGE where needed.
8896 (call_exp, call_value_exp): New.
8898 2002-01-16 Nick Clifton <nickc@cambridge.redhat.com>
8900 * config/arm/arm.c: General formatting tidy up.
8902 2002-01-16 Graham Stott <grahams@redhat.com>
8904 * calls.c (try_to_integrate): Use "(size_t)" intermediate
8905 cast and when casting an integer literal to "rtx" pointer.
8906 (expand_call): Likewise.
8907 * flow.c (try_pre_increment): Likewise.
8908 (find_use_as_address): Likewise.
8909 * integrate.c (expand_iline_function): Likewise.
8910 * regmove.c (try_auto_increment): Likewise.
8912 2002-01-16 Graham Stott <grahams@redhat.com>
8914 * sched-rgn.c (passed): Use sbitmap_free.
8917 (in_queue): Likewise.
8918 (in_stack): Likewise.
8920 2002-01-15 Eric Christopher <echristo@redhat.com>
8922 * flow.c (propagate_one_insn): Change to use fatal_insn.
8924 2002-01-15 Kazu Hirata <kazu@hxi.com>
8926 * expmed.c (extract_fixed_bit_field): Remove unused code.
8927 * system.h: Poison SLOW_ZERO_EXTEND.
8928 * doc/tm.texi: Remove.
8929 * config/1750a/1750a.h (SLOW_ZERO_EXTEND): Remove.
8930 * config/arm/arm.h: Likewise.
8931 * config/avr/avr.h: Likewise.
8932 * config/clipper/clipper.h: Likewise.
8933 * config/convex/convex.h: Likewise.
8934 * config/d30v/d30v.h: Likewise.
8935 * config/dsp16xx/dsp16xx.h: Likewise.
8936 * config/elxsi/elxsi.h: Likewise.
8937 * config/fr30/fr30.h: Likewise.
8938 * config/h8300/h8300.h: Likewise.
8939 * config/i370/i370.h: Likewise.
8940 * config/i386/i386.h: Likewise.
8941 * config/m68k/m68k.h: Likewise.
8942 * config/mips/mips.h: Likewise.
8943 * config/ns32k/ns32k.h: Likewise.
8944 * config/pdp11/pdp11.h: Likewise.
8945 * config/pj/pj.h: Likewise.
8946 * config/s390/s390.h: Likewise.
8947 * config/sh/sh.h: Likewise.
8948 * config/stormy16/stormy16.h: Likewise.
8949 * config/v850/v850.h: Likewise.
8950 * config/vax/vax.h: Likewise.
8951 * config/we32k/we32k.h: Likewise.
8953 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
8955 * config/rs6000/rs6000.md (altivec_stvx): Add parallels to stvx.
8956 (altivec_lvsl): Change constraint to b.
8957 (altivec_lvsr): Same.
8958 (altivec_lvebx): Same.
8959 (altivec_lvehx): Same.
8960 (altivec_lvewx): Same.
8961 (altivec_lvxl): Same.
8962 (altivec_lvx): Same.
8963 (altivec_stvx): Add parallel.
8964 (altivec_stvxl): Same.
8965 (altivec_stvehx): Same.
8966 (altivec_stvebx): Same.
8967 (altivec_stvebx): Same.
8969 2002-01-15 Aldy Hernandez <aldyh@redhat.com>
8971 * config.gcc: Change altivec.h to altivec-defs.h.
8973 * config/rs6000/altivec.h: Delete.
8975 * config/rs6000/altivec-defs.h: Add.
8977 2002-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
8979 * vax.c (vax_rtx_cost): Return MAX_COST for unsupported MULT, UDIV
8982 * vax.h (INDEX_TERM_P): Restrict indexing to modes which have a size
8983 less than or equal to eight bytes.
8985 * vax.md (andsi3): Remove constraints and change SET destination
8986 operand type to nonimmediate_operand.
8987 (andhi3, andqi3): Likewise. Don't clear high order bits of operand 1
8988 when it is a CONST_INT.
8990 2002-01-15 Jason Merrill <jason@redhat.com>
8992 * c-common.def (FILE_STMT): New code.
8993 * c-common.c (statement_code_p): It's a statement.
8994 * c-common.h (stmt_tree_s): Add x_last_filename.
8995 (FILE_STMT_FILENAME_NODE, FILE_STMT_FILENAME): New macros.
8996 (last_expr_filename): New macro.
8997 * c-semantics.c (begin_stmt_tree): Initialize it.
8998 (add_stmt): If the filename changed, also insert a
9000 (expand_stmt): Handle seeing one.
9002 2002-01-15 Eric Christopher <echristo@redhat.com>
9004 * flow.c (propagate_one_insn): Add error message and print out
9007 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
9009 * system.h (ASM_IDENTIFY_GCC, STDC_VALUE, TRAMPOLINE_ALIGN,
9010 ASM_IDENTIFY_GCC_AFTER_SOURCE): Poison.
9011 * config/pdp11/pdp11.h (TRAMPOLINE_ALIGN): Rename to
9012 TRAMPOLINE_ALIGNMENT.
9013 * config/arm/arm.h, config/mcore/mcore.h: Likewise. Change value
9015 * config/i386/cygwin.h (PCC_BITFIELDS_TYPE_MATTERS): Rename to
9016 PCC_BITFIELD_TYPE_MATTERS.
9017 * config/interix.h (STDC_VALUE): Remove. Use
9018 STDC_0_IN_SYSTEM_HEADERS.
9019 * config/darwin.h (ASM_IDENTIFY_GCC), config/dsp16xx/dsp16xx.h
9020 (ASM_IDENTIFY_GCC), config/stormy16/stormy16.h (ASM_IDENTIFY_GCC,
9021 ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove.
9023 2002-01-15 Craig Rodrigues <rodrigc@gcc.gnu.org>
9025 * doc/install.texi (hppa*-hp-hpux11): --enable-threads does
9026 not work on this platform currently.
9028 2002-01-15 Joseph S. Myers <jsm28@cam.ac.uk>
9030 * c-typeck.c (build_unary_op): Don't wrap msgid argument of
9031 readonly_warning in _().
9033 2002-01-15 Douglas B Rupp <rupp@gnat.com>
9035 * gcc.c (delete_if_ordinary): Backout previous change.
9037 2002-01-15 Kazu Hirata <kazu@hxi.com>
9039 * config/h8300/h8300.c (print_operand): Remove support for
9040 unused operand characters.
9042 * read-rtl.c: Fix formatting.
9044 * recog.c: Likewise.
9045 * regclass.c: Likewise.
9046 * regmove.c: Likewise.
9047 * reg-stack.c: Likewise.
9048 * reload1.c: Likewise.
9049 * rtlanal.c: Likewise.
9051 2002-01-15 Kazu Hirata <kazu@hxi.com>
9053 * config/i386/i386.c: Fix formatting.
9055 2002-01-15 Jakub Jelinek <jakub@redhat.com>
9057 * c-typeck.c (process_init_element): Don't save_expr
9058 COMPOUND_LITERAL_EXPR if just its initializer will be used.
9060 2002-01-15 David Edelsohn <edelsohn@gnu.org>
9062 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Do not
9063 emit optional traceback table if optimize_size or TARGET_ELF.
9064 * config/rs6000/rs6000.md (prefetch): New.
9066 2002-01-15 Andreas Jaeger <aj@suse.de>
9068 * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.
9070 2002-01-15 Kazu Hirata <kazu@hxi.com>
9072 * mips-tfile.c: Fix formatting.
9074 Tue Jan 15 00:56:11 CET 2002 Jan Hubicka <jh@suse.cz>
9076 * unroll.c (final_reg_note_copy): Fix previous commit.
9078 2002-01-14 Kazu Hirata <kazu@hxi.com>
9080 * config/h8300/h8300-protos.h: Remove the prototype for
9082 * config/h8300/h8300.c (eq_operator): Remove.
9084 2002-01-14 Richard Henderson <rth@redhat.com>
9086 * config/i386/i386.md (prefetch): Tidy.
9087 (prefetch_3dnow): Fix locality operand.
9089 2002-01-14 Richard Henderson <rth@redhat.com>
9091 * config/mips/mips.h (HI_AND_FP_REGS): New register class.
9092 (CLASS_CANNOT_CHANGE_MODE): Disallow HI in little-endian mode.
9094 2002-01-14 Hans-Peter Nilsson <hp@bitrange.com>
9096 * reload1.c (reload_combine): Pass reg_sum replacement through
9097 copy_rtx in loop performing multiple changes.
9099 2002-01-14 Jakub Jelinek <jakub@redhat.com>
9101 * except.c (remove_unreachable_regions): New.
9102 (free_eh_status): Clear exception_handler_labels.
9103 (convert_from_eh_region_ranges): Call remove_unreachable_regions.
9104 (find_exception_handler_labels): Don't add the same label more than
9106 (remove_exception_handler_label): Don't die if
9107 find_exception_handler_labels hasn't been called for the current
9110 Mon Jan 14 21:26:13 CET 2002 Jan Hubicka <jh@suse.cz>
9112 * toplev.c (rest_of_compilation): Rebuild jump labels after
9115 2002-01-14 Joseph S. Myers <jsm28@cam.ac.uk>
9117 * doc/extend.texi: Move documentation of X86 built-in functions
9119 * doc/invoke.texi: From here.
9120 * doc/sourcebuild.texi: Document location of documentation for
9121 machine built-in functions.
9123 2002-01-13 Christopher Faylor <cgf@redhat.com>
9125 * cppfiles.c (TEST_THRESHOLD): New macro.
9126 (SHOULD_MMAP): Ditto.
9127 (read_include_file): Use SHOULD_MMAP macro to decide when mmap should
9130 Mon Jan 14 20:23:34 CET 2002 Jan Hubicka <jh@suse.cz>
9132 * unroll.c (final_reg_note_copy): Properly handle
9134 (unroll_loops): Fix LOOP_CONDITION heuristics.
9136 2002-01-14 Geoffrey Keating <geoffk@redhat.com>
9138 * doc/invoke.texi (Xstormy16 Options): Add xstormy16 option.
9139 * doc/md.texi (Machine Constraints): Use @minus{} where appropriate.
9141 Mon Jan 14 20:18:19 CET 2002 Jan Hubicka <jh@suse.cz>
9143 * cfgcleanup.c (try_forward_edges): Avoid infinite loop at infinite
9146 2002-01-14 Tom Rix <trix@redhat.com>
9148 * config/rs6000/rs6000.md: Fix typo with sradi.
9150 2002-01-14 Ulrich Weigand <uweigand@de.ibm.com>
9152 * config/s390/s390.md (movstrdix_64, movstrsix_31, movstrdi_64,
9153 movstrsi_31, clrstrsi_64, clrstrsi_31): Improve RTL templates.
9154 (clrstrdi, clrstrsi): Adapt callers.
9156 (extendsidi2, zero_extendsidi2): Remove no-conflict blocks.
9158 (movti splitter): Never use register 0 as base register.
9160 2002-01-14 Hartmut Penner <hpenner@de.ibm.com>
9162 * combine.c (simplify_shift_const): Always generate new rtx
9163 for shift expression instead of reusing given expression.
9165 Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9167 * config/alpha/alpha.c (alpha_expand_mov): Don't call
9168 alpha_legitimize_address unless mode is Pmode.
9170 2002-01-13 Geoffrey Keating <geoffk@redhat.com>
9172 * doc/md.texi (Modifiers): Document the '*' constraint for the
9175 * doc/md.texi (Machine Constraints): Add constraints for xstormy16.
9176 * doc/extend.texi (Function Attributes): 'interrupt' is valid
9179 2002-01-13 Richard Henderson <rth@redhat.com>
9181 * reload.c (find_reloads): Use a hard reg destination as reload reg
9182 for an input reload of the source.
9184 2002-01-13 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9186 * doc/install.texi (Binaries): Make link to ftp.writtenword.com
9189 Sun Jan 13 07:23:01 2002 Douglas B Rupp <rupp@gnat.com>
9191 * Makefile.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
9192 * mklibgcc.in (LIB2FUNCS): Split into LIB2FUNCS_1 and LIB2FUNCS_2.
9194 * config/alpha/x-vms (USE_COLLECT2): Set to empty.
9196 Sun Jan 13 06:55:31 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9198 * dwarf2out.c (mem_loc_descriptor, case ADDRESSOF): New case.
9200 2002-01-12 Tom Rix <trix@redhat.com>
9202 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Use ior for
9205 2002-01-12 Richard Henderson <rth@redhat.com>
9207 * config/i386/i386.c (bdesc_2arg): Mark psadbw MASK_3DNOW_A.
9209 * doc/invoke.texi: Update Alpha options.
9211 * doc/invoke.texi: Update i386 built-in function lists.
9213 Sat Jan 12 17:38:11 CET 2002 Jan Hubicka <jh@suse.cz>
9215 * unroll.c (final_reg_note_copy): Avoid crash on REG_LABEL note
9216 referencing outside.
9218 Sat Jan 12 08:54:51 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9220 * diagnostic.c (warn_deprecated_use): Rework to lower indentation.
9221 * expr.c (emit_move_insn_1): Remove warning, use HOST_WIDE_INT for
9222 offsets, and change line folding.
9223 * optabs.c (expand_binop): Remove warnings.
9224 * sdbout.c (sdbout_record_type_name): Constify NAME to avoid warning.
9226 2002-01-12 Graham Stott <grahams@redhat.com>
9228 * attribs.c (handle_deprecated_attribute): constify WHAT.
9229 * diagnostic.c (warn_deprecated_use): Add braces, fixes
9230 dangling else warning and constify WHAT.
9231 * except.h (struct function, struct inline_remap): Move
9232 struct tag forward defs before all prototypes.
9233 (duplicate_eh_regions): Whitespace.
9235 2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
9237 * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
9238 MODE_BASE_REG_CLASS.
9239 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
9241 2002-01-12 Richard Henderson <rth@redhat.com>
9243 * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
9244 (ix86_expand_vector_move): New.
9245 (bdesc_2arg): Remove andps, andnps, orps, xorps.
9246 (ix86_init_mmx_sse_builtins): Make static. Remove composite builtins.
9247 Remove old prefetch builtins. Special case the logicals removed above.
9248 (ix86_expand_builtin): Likewise.
9249 (safe_vector_operand): Use V4SFmode, not TImode.
9250 (ix86_expand_store_builtin): Remove shuffle arg. Update callers.
9251 (ix86_expand_timode_binop_builtin): New.
9252 * config/i386/i386-protos.h: Update.
9253 * config/i386/i386.h (enum ix86_builtins): Update.
9254 * config/i386/i386.md: Correct predicates on MMX/SSE patterns.
9255 Use ix86_expand_vector_move in vector move expanders.
9256 (movti_internal, movti_rex64): Add xorps alternative.
9257 (sse_clrv4sf): Rename and adjust from sse_clrti.
9258 (prefetch): Don't work so hard.
9259 (prefetch_sse, prefetch_3dnow): Use PREFETCH rtx, not UNSPEC.
9260 * config/i386/xmmintrin.h (__m128): Use V4SFmode.
9261 (_mm_getcsr, _mm_setcsr): Fix typo in builtin name.
9263 2002-01-11 Richard Henderson <rth@redhat.com>
9265 * config/i386/mmintrin.h: New file.
9266 * config/i386/xmmintrin.h: New file.
9267 * config.gcc (i?86-*-*): Add extra_headers.
9268 * simplify-rtx.c (simplify_unary_operation): Handle saturating
9270 (simplify_binary_operation): Handle saturating arithmetic codes.
9271 * config/i386/i386.c (ix86_expand_sse_comi): Return the full result,
9272 not the lowpart subreg.
9273 (ix86_expand_builtin): Return a TImode dummy register instead of 0
9275 * config/i386/i386.md (mmx_clrdi): Override memory attribute.
9277 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9279 * conflict.c (conflict_graph_compute): Free regsets when finished.
9280 * ssa.c (compute_coalesced_reg_partition): Likewise.
9282 2002-01-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9284 * global.c (find_reg): Check for HARD_REGNO_CALL_PART_CLOBBERED
9285 every where we allocate a register.
9287 2002-01-12 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9289 * gcse.c (compute_pre_data, pre_gcse): Use sbitmap_free.
9290 * lcm.c (compute_earliest, compute_farthest): Likewise.
9292 2002-01-11 Janis Johnson <janis187@us.ibm.com>
9294 * expr.c (expand_assignment): Fix misuse of MEM_KEEP_ALIAS_SET.
9296 2002-01-11 Janis Johnson <janis187@us.ibm.com>
9298 * doc/rtl.texi (Insns): Fix 2 typos.
9300 2002-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
9302 * doc/invoke.texi: Avoid overfull hboxes. Add summary of D30V
9303 options. Use @table @gcctabopt for MMIX options. Add index
9304 entries for MMIX options. Start new paragraph with first
9305 heading of the machine-dependent options.
9307 2002-01-11 Craig Rodrigues <rodrigc@gcc.gnu.org>
9310 * config/ns32k/ns32k.md: Fix spelling mistake of "than" in comments.
9311 * combine.c (force_to_mode): Same.
9312 * reload1.c (clear_reload_reg_in_use): Same.
9314 2002-01-11 Nick Clifton <nickc@cambridge.redhat.com>
9316 * config/arm/arm.c (arm_gen_constant): Correct test of 'remainder'
9319 2002-01-11 Andreas Jaeger <aj@suse.de>,
9320 Brad Lucier <lucier@math.purdue.edu>
9322 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove wrong
9325 Fri Jan 11 07:35:12 2002 Douglas B Rupp <rupp@gnat.com>
9327 * config/alpha/vms.h: (MD_FALLBACK_FRAME_STATE_FOR): Fix errors.
9328 Protect with IN_LIBGCC.
9329 (LINK_EH_SPEC): Add required trailing space.
9331 Fri Jan 11 09:25:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
9333 * c-tree.h: Move function declarations so that they are listed
9334 under the filename which contains them.
9335 (check_identifier, finish_decl_top_level,
9336 lookup_name_current_level_global, shadow_record_fields): Remove.
9338 2002-01-11 Andreas Jaeger <aj@suse.de>
9340 * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Remove duplicated
9343 2002-01-10 Richard Henderson <rth@redhat.com>
9345 * config/alpha/alpha.c (print_operand): Add 'J'.
9346 * config/alpha/alpha.md (call_osf_1_er, call_value_osf_1_er): Take a
9347 new operand with the sequence number for the lituse. When splitting
9348 the insns, use gen_movdi_er_high_g and generate a sequence number.
9349 (gen_movdi_er_high_g): Print the sequence number if non-zero.
9351 2002-01-10 Aldy Hernandez <aldyh@redhat.com>
9353 * config/rs6000/rs6000.c (altivec_init_builtins): Add support for
9354 lvebx, lvehx, lvewx, lvxl, lvx, stvx, stvebx, stvehx, stvewx,
9356 (altivec_expand_builtin): Same.
9357 (altivec_expand_stv_builtin): New.
9359 * config/rs6000/rs6000.h (rs6000_builtins): Same.
9361 * config/rs6000/rs6000.md ("altivec_lvebx"): New.
9362 ("altivec_lvehx"): New.
9363 ("altivec_lvewx"): New.
9364 ("altivec_lvxl"): New.
9365 ("altivec_lvx"): New.
9366 ("altivec_stvx"): New.
9367 ("altivec_stvebx"): New.
9368 ("altivec_stvehx"): New.
9369 ("altivec_stvewx"): New.
9370 ("altivec_stvxl"): New.
9372 2002-01-10 Richard Henderson <rth@redhat.com>
9374 * cfgrtl.c (delete_insn): Assert insn hasn't been deleted yet.
9375 * reload1.c (delete_output_reload): Zap spill_reg_store. Take
9376 care not to delete instructions twice.
9378 2002-01-10 Zack Weinberg <zack@codesourcery.com>
9380 * toplev.c: Don't declare environ (it's not used anywhere).
9381 * configure.in: Don't check for declaration of environ.
9382 * config/i386/xm-mingw32.h: Don't #define environ.
9383 * config.in, configure: Regenerate.
9385 2002-01-10 Zack Weinberg <zack@codesourcery.com>
9387 * configure.in: Set stage1_cflags for powerpc-*-darwin*.
9388 * configure: Regenerate.
9390 * config/interix.h: Set DO_GLOBAL_CTORS_BODY and
9391 DO_GLOBAL_DTORS_BODY here, not in xm-interix.h.
9392 * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in
9394 * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and
9395 LIMITS_H_TEST here, not in m68k/x-next.
9396 * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and
9397 SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h.
9399 * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL,
9400 LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR.
9401 * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments.
9403 * config/i386/x-djgpp: Renamed i386/t-djgpp.
9404 * config/m88k/x-dolph: Renamed m88k/t-dolph.
9405 * config/m88k/x-texXD88: Renamed m88k/t-texXD88.
9406 * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for
9407 replacement of quadlib.asm with quadlib.c.
9409 * config/x-interix3, config/xm-interix.h, config/i386/x-beos,
9410 config/i386/xm-osf1elf.h, config/rs6000/x-darwin,
9411 config/rs6000/xm-beos.h: Delete file.
9413 * config.gcc: Update to match above changes.
9415 2002-01-10 Kazu Hirata <kazu@hxi.com>
9417 * config/h8300/h8300.h: Fix comment typos.
9418 * config/h8300/h8300.md: Likewise.
9419 * config/h8300/lib1funcs.asm: Likewise.
9421 2002-01-10 Dale Johannesen <dalej@apple.com>
9423 PR optimization/5269
9424 * unroll.c (precondition_loop_p): Make *increment be the correct
9425 sign when n_iterations known, to avoid confusing caller.
9427 2002-01-10 Kazu Hirata <kazu@hxi.com>
9429 * doc/extend.texi (deprecated): Fix a typo.
9431 Thu Jan 10 22:35:54 CET 2002 Jan Hubicka <jh@suse.cz>
9433 * basic-block.h (update_br_prob_note): Declare.
9434 * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note.
9435 (try_forward_edges): Care negative frequencies and update note.
9436 (outgoing_edges_match): Tweek conditional merging heuristics.
9437 (try_crossjump_to_edge): use update_br_prob_note.
9438 * cfglayout.c (fixup_reorder_chain): Likewise.
9439 * cfrtl.c (update_br_prob_note): New.
9440 * ifcvt.c (dead_or_predicable): Call update_br_prob_note.
9442 * i386.c (ix86_decompose_address): Return -1 if address contains
9444 (legitimate_address_p): Require ix86_decompose_address to return 1.
9446 * gcse.c (hash_scan_set): Use CONSTANT_INSN_P.
9447 (cprop_insn): Likewise.
9449 2002-01-10 Kazu Hirata <kazu@hxi.com>
9451 * toplev.c: Fix formatting.
9453 * tree-dump.c: Likewise.
9454 * unroll.c: Likewise.
9455 * unwind-dw2.c: Likewise.
9456 * unwind-dw2-fde.c: Likewise.
9457 * unwind-dw2-fde-glibc.c: Likewise.
9458 * unwind-sjlj.c: Likewise.
9460 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
9462 * doc/invoke.texi: Document PDP-11 options.
9464 2002-01-10 Kazu Hirata <kazu@hxi.com>
9466 * config/h8300/h8300.h: Fix formatting.
9468 2002-01-10 Ira Ruben <ira@apple.com>
9470 Add __attribute__ ((deprecated)).
9471 * extend.texi: Document __attribute__ ((deprecated)).
9472 * invoke.texi: Document -Wno-deprecated-declarations.
9473 * testsuite/g++.dg/other/deprecated.C: New C++ test.
9474 * testsuite/gcc.dg/deprecated.c: New C test.
9475 * attribs.c (enum attrs): Declare handle_deprecated_attribute().
9476 (c_common_attribute_table): Add "deprecated" entry.
9477 (handle_deprecated_attribute): New function.
9478 * c-decl.c (deprecated_states): New enum.
9479 deprecated_state: State of "deprecated" handling.
9480 (start_decl): Set deprecated_state based on attributes.
9481 (grokdeclarator): Test for deprecated uses, propagate attribute.
9482 * c-typeck.c (build_component_ref): Test for deprecated fields.
9483 (build_external_ref): Test for deprecated primaries.
9484 * diagnostic.c (warn_deprecated_use) New function to issue
9485 warnings about __attribute__ ((depricated)) references.
9486 * flags.h (warn_deprecated_decl): Extern declared for
9487 -W[no-]deprecated-declarations option.
9488 * print-tree.c (print_node): Show deprecated flag status.
9489 * toplev.c (warn_deprecated_decl): Defined.
9490 (W_options): Added "deprecated-declaration".
9491 * toplev.h (warn_deprecated_use): Extern declared.
9492 * tree.h (struct tree_common): Define deprecated_flag.
9493 (TREE_DEPRECATED): New macro to access flag.
9494 * cp/call.c (build_call): Test for deprecated calls.
9495 * cp/class.c (add_implicitly_declared_members): Set global
9496 flag to tell grokdeclarator to not issue deprecated warnings.
9497 * cp/cp-tree.h: Add extern for adding_implicit_members.
9498 * cp/decl.c (deprecated_states): New enum.
9499 (start_decl): Set deprecated_state based on attributes.
9500 (grokdeclarator): Test for deprecated uses, propagate attribute.
9501 * cp/lex.c (do_identifier): Test for deprecated primaries.
9502 * cp/typeck.c (build_component_ref): Test for deprecated fields.
9504 2002-01-10 Ira Ruben <ira@apple.com>
9506 Fix to assign attributes to inline member functions.
9507 * cp/decl.c (start_method): Handle attrlist.
9509 2002-01-10 Kazu Hirata <kazu@hxi.com>
9511 * combine.c (expand_field_assignment): Use subreg_lsb().
9513 2002-01-10 David Edelsohn <edelsohn@gnu.org>
9515 * alias.c (find_base_value): Add cases for HIGH, PRE_INC, PRE_DEC,
9516 POST_INC, POST_DEC, PRE_MODIFY, and POST_MODIFY.
9517 (find_base_term): Add cases for TRUNCATE, PRE_MODIFY, and POST_MODIFY.
9518 Recurse for any operand of AND as long as constant is non-zero.
9520 2002-01-10 Kazu Hirata <kazu@hxi.com>
9522 * config/h8300/h8300.md: Remove constraints from expanders.
9524 2002-01-10 Kazu Hirata <kazu@hxi.com>
9526 * varasm.c: Fix formatting.
9527 * varray.c: Likewise.
9528 * vmsdbgout.c: Likewise.
9529 * xcoffout.c: Likewise.
9531 Thu Jan 10 17:19:12 CET 2002 Jan Hubicka <jh@suse.cz>
9533 * cfgcleanup.c (try_forward_edges): Properly initialize nthreaded_edges;
9534 update edge probabilities to match.
9536 2002-01-10 Joseph S. Myers <jsm28@cam.ac.uk>
9538 * Makefile.in ($(docdir)/gccint.info, gccint.dvi): Add additional
9540 * doc/languages.texi, doc/sourcebuild.texi: New files.
9541 * doc/configfiles.texi: Make a subsubsection. Update.
9542 * doc/configterms.texi: Add @node. Remove warning that this isn't
9543 instructions for building GCC.
9544 * doc/makefile.texi: Make a subsection.
9545 * doc/gccint.texi: Update.
9547 Thu Jan 10 16:39:58 CET 2002 Jan Hubicka <jh@suse.cz>
9549 * i386.md (sse_mov?fcc_const0_?): Fix constraints.
9551 Thu Jan 10 12:45:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
9553 * doc/cpp.texi: Document the __OBJC__ preprocessor macro.
9555 Thu Jan 10 11:19:18 CET 2002 Jan Hubicka <jh@suse.cz>
9557 * optabs.c (expand_fix): Look for wider integer modes first.
9559 * i386.md (mov?f): Avoid the fake const double trick for medium
9561 (min?f*/max?f*): Prohibit memory operands for i387 variant.
9562 (fop_df_4): Disable for SSE compilation.
9564 2002-01-10 Graham Stott <grahams@redhat.com>
9566 * dwarf2out.c (indirect_string_alloc, output_indirect_string):
9567 Move prototype into DWARF2_DEBUGGING_INFO conditional block.
9569 2002-01-10 Richard Henderson <rth@redhat.com>
9571 * config/alpha/alpha.md (extendsidi2_fix): Penalize f/f alternative.
9573 2002-01-10 Richard Henderson <rth@redhat.com>
9575 * regrename.c (find_oldest_value_reg): Fix typo in mode change check.
9576 (copyprop_hardreg_forward_1): Likewise. Use mode_change_ok.
9578 2002-01-10 Kazu Hirata <kazu@hxi.com>
9580 * combine.c (can_combine_p): Fix a comment typo.
9582 2002-01-09 Zack Weinberg <zack@codesourcery.com>
9584 * Makefile.in (s-gencheck, s-options, s-specs): Handle an
9585 empty list correctly. Change loop index $t to $f for
9586 consistency with rest of Makefile.
9588 2002-01-08 Aldy Hernandez <aldyh@redhat.com>
9590 * testuite/gcc.dg/altivec-4.c: Add test for mtvscr, dssall,
9591 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
9593 * config/rs6000/rs6000.c (altivec_expand_builtin): Add support for
9594 mtvscr, dssall, mfvscr, dss, lvsl, lvsr, dstt, dst, dstst, dststt.
9595 (altivec_init_builtins): Same.
9596 (altivec_expand_unop_builtin): Return NULL_RTX on error.
9597 (altivec_expand_binop_builtin): Same.
9598 (altivec_expand_ternop_builtin): Same.
9601 * config/rs6000/rs6000.md ("altivec_mtvscr"): New.
9602 ("altivec_vctuxs"): Fix typo.
9603 ("altivec_vnmsubfp"): Same.
9604 ("altivec_dssall"): New.
9605 ("altivec_mfvscr"): New.
9606 ("altivec_dss"): New.
9607 ("altivec_lvsl"): New.
9608 ("altivec_lvsr"): New.
9609 ("altivec_dstt"): New.
9610 ("altivec_dstst"): New.
9611 ("altivec_dststt"): New.
9612 ("altivec_dst"): New.
9614 * config/rs6000/rs6000.h (rs6000_builtins): Add mtvscr, dssall,
9615 mfvscr, dss, lvsl, lvsr, dstt, dstst, dststt, dst.
9617 2002-01-09 Richard Henderson <rth@redhat.com>
9619 * config/alpha/alpha.md (prologue_mcount): Remove lituse_jsr reloc.
9621 2002-01-10 Hans-Peter Nilsson <hp@bitrange.com>
9623 * config/mmix/mmix.c (mmix_asm_identify_gcc): Remove unused
9625 * config/mmix/mmix-protos.h (mmix_asm_identify_gcc): Don't
9627 * config/mmix/mmix.h (ASM_IDENTIFY_GCC): Remove unused macro.
9629 2002-01-09 Kazu Hirata <kazu@hxi.com>
9631 * read-rtl.c: Fix formatting.
9633 * regclass.c: Likewise.
9634 * regrename.c: Likewise.
9635 * reg-stack.c: Likewise.
9636 * reload1.c: Likewise.
9637 * reload.c: Likewise.
9640 2002-01-09 Kazu Hirata <kazu@hxi.com>
9642 * rtlanal.c (find_reg_fusage): Use XEXP instead of SET_DEST
9643 to extract items in the expr_list chain.
9645 2002-01-09 Richard Henderson <rth@redhat.com>
9647 * config/vax/vax.c (vax_rtx_cost): Never abort.
9649 * config/vax/vax.h (REAL_ARITHMETIC): Define.
9651 2002-01-09 Jan Hubicka <jh@suse.cz>
9653 * gcse.c (cprop_jump): Delete insn if simplified jump is no-op.
9655 2002-01-09 Richard Henderson <rth@redhat.com>
9657 * config/arm/arm.c (arm_gen_constant): Use trunc_int_for_mode.
9658 Unify code from various alternatives.
9660 2002-01-09 Richard Henderson <rth@redhat.com>
9662 * regrename.c (copy_value): Ignore the copy if the source register
9663 is present in the value chain with a narrower mode.
9665 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9667 * real.c (c4xtoe, toc4x): Do some special conversion on long doubles
9668 for the c4x target. Also improve layout.
9670 2002-01-09 Richard Henderson <rth@redhat.com>
9672 * config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
9673 * config/m32r/m32r.md (and ior xor splitters): Swap operands
9674 to match insn patterns.
9676 2002-01-09 Richard Henderson <rth@redhat.com>
9678 * regrename.c (find_oldest_value_reg): Use gen_rtx_raw_REG.
9679 (copyprop_hardreg_forward_1): Likewise.
9681 2002-01-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
9683 * pa.md (decrement_and_branch_until_zero): Change predicate for
9684 operand 0 from register_operand to reg_or_nonsymb_mem_operand.
9686 2002-01-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9688 * ginclude/stddef.h: Define _BSD_WCHAR_T_DEFINED_ if _BSD_WCHAR_T_
9689 gets undefined. For Darwin.
9691 2002-01-09 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9693 * config/c4x/c4x.h: Use PUSH_ARGS and PUSH_ROUNDING for stack passing.
9695 2002-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9697 * config/c4x/c4x/md: Remove extraneous constraints from define_splits.
9699 2002-01-08 Richard Henderson <rth@redhat.com>
9701 * regrename.c (copy_value): Ignore overlapping copies.
9703 2002-01-08 Richard Henderson <rth@redhat.com>
9705 * config/alpha/alpha.c (alpha_split_conditional_move): Call copy_rtx
9706 as needed to avoid shared structure.
9708 2002-01-08 Kazu Hirata <kazu@hxi.com>
9710 * config/h8300/h8300.c (get_shift_alg): Fix 15-bit LSHIFTRT on
9713 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9715 * doc/tm.texi (EASY_DIV_EXPR, IMPLICIT_FIX_EXPR,
9716 LONGJMP_RESTORE_FROM_STACK, MAX_INT_TYPE_SIZE): Remove
9717 documentation of obsolete macros.
9718 * system.h: Poison these macros.
9719 * config/1750a/1750a.h, config/a29k/a29k.h, config/alpha/alpha.h,
9720 config/arc/arc.h, config/arm/arm.h, config/avr/avr.h,
9721 config/c4x/c4x.h, config/clipper/clipper.h,
9722 config/convex/convex.h, config/cris/cris.h, config/d30v/d30v.h,
9723 config/dsp16xx/dsp16xx.h, config/elxsi/elxsi.h,
9724 config/fr30/fr30.h, config/h8300/h8300.h, config/i370/i370.h,
9725 config/i386/i386.h, config/i860/i860.h, config/i960/i960.h,
9726 config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h,
9727 config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h,
9728 config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
9729 config/mn10300/mn10300.h, config/ns32k/ns32k.h, config/pa/pa.h,
9730 config/pdp11/pdp11.h, config/pj/pj.h, config/romp/romp.h,
9731 config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
9732 config/sparc/sparc.h, config/stormy16/stormy16.h,
9733 config/v850/v850.h, config/vax/vax.h, config/we32k/we32k.h: Remove
9734 definitions and commented out definitions of obsolete macros.
9735 * config/mips/iris5.h (MAX_WCHAR_TYPE_SIZE): Don't define in terms
9736 of MAX_INT_TYPE_SIZE.
9738 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
9740 * config/s390/s390.c (s390_preferred_reload_class): Never
9741 return ADDR_REGS if it isn't a subset of the given class.
9742 * config/s390/s390.h (REGISTER_MOVE_COST): Penalize not just
9743 FP_REGS, but all superclasses as well.
9745 * config/s390/s390.c (s390_function_profiler): Fix thinko.
9747 * config/s390/s390.md (cmpdi_ccu_mem, cmpsi_ccu_mem,
9748 cmphi_ccu_mem, cmpqi_ccu_mem): First operand of compare
9749 must not be a const_int.
9751 2002-01-08 Richard Henderson <rth@redhat.com>
9753 * Makefile.in (toplev.o): Depend on options.h.
9754 (gcc.o): Depend on specs.h.
9756 2002-01-08 Jakub Jelinek <jakub@redhat.com>
9758 * expr.c (store_expr): Convert VOIDmode constants back to target's
9761 2002-01-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9763 * doc/invoke.texi: Markup gcc as @command. Refer to
9764 http://gcc.gnu.org/onlinedocs/gcc/Contributors.html instead
9765 of http://gcc.gnu.org/thanks.html.
9767 2002-01-08 Dale Johannesen <dalej@apple.com>
9769 * config/rs6000/rs6000.md: Add missing int register
9770 target case to movdf_low.
9772 2002-01-08 Zack Weinberg <zack@codesourcery.com>
9774 * Makefile.in (cs-tconfig.h): Don't depend on $(CONFIG_H) or
9775 except.h. Remove commands to define USING_SJLJ_EXCEPTIONS.
9776 (cppinit.o): Depend on except.h.
9777 (gencheck.h, options.h, specs.h, s-gencheck, s-options,
9778 s-specs): New rules.
9780 * configure.in: Don't AC_DEFINE_UNQUOTED PACKAGE or VERSION.
9781 Don't create specs.h/options.h/gencheck.h here. Remove
9782 unnecessary variable settings from last argument of AC_OUTPUT.
9783 * config.in, configure: Regenerate.
9784 * intl.c: Hardcode package name as "gcc".
9786 * cppinit.c: Include except.h.
9787 (builtin_array): Define __USING_SJLJ_EXCEPTIONS__ when
9789 * unwind-dw2.c, unwind-sjlj.c, config/ia64/unwind-ia64.c:
9790 Use #if(n)def __USING_SJLJ_EXCEPTIONS, not #if
9791 (!)USING_SJLJ_EXCEPTIONS.
9792 * doc/cpp.texi: Document __USING_SJLJ_EXCEPTIONS__.
9794 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9796 * doc/tm.texi (ASM_OUTPUT_EH_REGION_BEG, ASM_OUTPUT_EH_REGION_END,
9797 ASM_OUTPUT_LABELREF_AS_INT, DOESNT_NEED_UNWINDER, EH_TABLE_LOOKUP,
9798 OBJC_SELECTORS_WITHOUT_LABELS, OMIT_EH_TABLE): Remove
9799 documentation of obsolete macros.
9800 * system.h: Poison these macros.
9801 * config/d30v/d30v.h, config/ns32k/encore.h,
9802 config/stormy16/stormy16.h: Remove definitions and commented out
9803 definitions of obsolete macros.
9805 Tue Jan 8 15:56:41 2002 Nicola Pero <nicola@brainstorm.co.uk>
9807 * objc/objc-act.c (handle_class_ref): Mark the declaration of
9808 %sobjc_class_ref_%s as used - to prevent unwanted compiler
9811 2002-01-08 Ulrich Weigand <uweigand@de.ibm.com>
9813 * config/s390/linux.h (ASM_OUTPUT_LABELREF): Remove.
9814 * config/s390/s390.c (s390_emit_epilog): Add REG_FRAME_RELATED_EXPR
9815 to insn adjusting stack/frame pointer.
9816 * config/s390/s390.md (reload_la_64, reload_la_31): Do not
9817 accept operands that cause the insn to be non-splittable.
9819 2002-01-08 Graham Stott <grahams@redhat.com>
9821 * c-tree.h (C_TYPE_FIELDS_READONLY): Uppercase macro parameter.
9822 (C_TYPE_FIELDS_VOLATILE): Likewise.
9823 (C_TYPE_BEING_DEFINED): Likewise.
9824 (C_IS_RESERVED_WORD): Likewise.
9825 (C_TYPE_VARIABLE_SIZE): Likewise.
9826 (C_DECL_VARIABLE_SIZE): Likewise.
9827 (C_MISSING_PROTOTYPE_WARNED): Likewise.
9828 (C_SET_EXP_ORIGINAL_CODE): Likewise.
9829 (C_TYPEDEF_EXPLICITLY_SIGNED): Uppercase macro parameter and remove
9831 (C_DECL_ANTICIPATED): Likewise.
9832 (c_build_type_variant): Add parenthesis.
9834 2002-01-08 Joseph S. Myers <jsm28@cam.ac.uk>
9836 * gcc.c (option_map): Remove --version.
9837 (process_command): Handle -fversion following the GNU Coding
9838 Standards. Partially addresses PR other/704.
9840 2002-01-08 Graham Stott <grahams@redhat.com>
9842 * combine.c (combine_instructions): Fix typo.
9844 2002-01-08 Graham Stott <grahams@redhat.com>
9846 * debug.h: Use "tree" and "rtx" throughout.
9848 * debug.c: Likewise.
9850 2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
9852 * dbxout.c (dbxout_symbol_location): If a symbol ref is in the
9853 constant pool, use the pool's version of the symbol instead.
9855 2002-01-07 Richard Henderson <rth@redhat.com>
9857 * regrename.c (find_oldest_value_reg): Ignore the value chain if
9858 the original register was copied in a mode with a fewer number of
9859 hard registers than the desired mode.
9860 (copyprop_hardreg_forward_1): Likewise.
9861 (debug_value_data): Fix loop test.
9862 * toplev.c (parse_options_and_default_flags): Reenable
9863 -fcprop-registers at -O1.
9865 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
9867 * config/rs6000/rs6000.c (bdesc_2arg): Add altivec predicates.
9868 (altivec_init_builtins): New node v4si_ftype_v16qi_v16qi.
9870 * config/rs6000/rs6000.h (rs6000_builtins): Add enums for altivec
9873 * config/rs6000/rs6000.md: Add altivec predicate patterns.
9875 2002-01-07 John David Anglin <dave@hiauly1.hia.nrc.ca>
9877 * pa.c (FUNC_BEGIN_PROLOG_LABEL, current_function_number): Define.
9878 (pa_output_function_prologue): Output local label at the beginning of
9879 the prologue when profiling.
9880 (hppa_profile_hook): Use the local label rather than the function label.
9881 * pa.h (PROFILE_BEFORE_PROLOGUE): Define.
9883 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
9885 * config/rs6000/rs6000.c (print_operand): Remove extra space.
9886 (altivec_expand_unop_builtin): Fix thinko.
9887 (altivec_expand_binop_builtin): Same.
9888 (altivec_expand_ternop_builtin): Same.
9889 (altivec_expand_builtin): Same.
9891 2002-01-07 Richard Henderson <rth@redhat.com>
9893 * config/rs6000/xcoff.h (ASM_FILE_START): Reverted to profile_flag.
9895 2002-01-07 Jason Merrill <jason@redhat.com>
9897 * unwind-dw2.c (execute_cfa_program): Use < again.
9899 2002-01-07 Jakub Jelinek <jakub@redhat.com>
9901 * predict.c (combine_predictions_for_insn): Avoid division by zero.
9903 2002-01-07 Jakub Jelinek <jakub@redhat.com>
9905 * simplify-rtx.c (simplify_plus_minus): Bump n_ops for NOT.
9906 Don't allow -1 - x -> ~x simplifications in the first pass.
9908 2002-01-07 Aldy Hernandez <aldyh@redhat.com>
9910 * rs6000.c (altivec_expand_ternop_builtin): Don't die on invalid
9912 (altivec_expand_binop_builtin): Same.
9913 (altivec_expand_unop_builtin): Same.
9914 (print_operand): Fix typo.
9915 (bdesc_1arg): Add vupk* variants.
9917 * rs6000.h (rs6000_builtins): Add vupk* enums.
9919 * rs6000.md: Add altivec_vupk* variants.
9921 2002-01-07 Joseph S. Myers <jsm28@cam.ac.uk>
9923 * doc/gcc.texi, doc/gccint.texi, doc/cppinternals.texi,
9924 doc/install.texi, doc/invoke.texi, doc/rtl.texi: Update copyright
9925 and last update dates.
9927 2002-01-07 Janis Johnson <janis187@us.ibm.com>
9929 * doc/rtl.texi (Flags): Clean up documentation of RTL flags
9931 2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl>
9933 * config/avr/avr.c (avr_mcu_types): Add new MCU types.
9934 * config/avr/avr.h (CPP_SPEC): Likewise.
9935 (LINK_SPEC): Likewise.
9936 (CRT_BINUTILS_SPECS): Likewise.
9937 * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
9938 * doc/invoke.texi (AVR Options): Document them.
9940 Mon Jan 7 11:59:34 CET 2002 Jan Hubicka <jh@suse.cz>
9942 * unroll.c (copy_loop_body): Always properly update JUMP_LABEL and
9945 2002-01-07 Graham Stott <grahams@redhat.com>
9947 * config/i386/i386.h: Update copyright date.
9948 (HALF_PIC_PTR): Add parenthesis.
9949 (OPTIMIZATION_OPTIONS): Whitespace, add parenthesis and wrap.
9950 (CONSTANT_ALIGNMENT): Add parenthesis.
9951 (DATA_ALIGNMENT): Likewise.
9952 (LOCAL_ALIGNMENT): Likewise.
9953 (FUNCTION_ARG_BOUNDARY): Whitespace, add parenthesis and wrap.
9954 (IS_STACK_MODE): Uppercase macro parameter, add parenthesis and wrap.
9955 (CONDITIONAL_REGISTER_USAGE): Wrap in do {...} while (0).
9956 (HARD_REGNO_NREGS): Add paranethesis.
9957 (VALID_SSE_REG_MODE): Whitespace.
9958 (VALID_MMX_REG_MODE): Whitespace.
9959 (VALID_FP_MODE_P): Uppercase macros parameter and whitespace.
9960 (ix86_hard_regno_mode_ok): Add parenthesis.
9961 (HARD_REGNO_CALLER_SAVE_MODE): Whitespace.
9962 (RETURN_IN_MEMORY): Whitespace.
9963 (N_REG_CLASSES): Add parenthesis.
9964 (INTEGER_CLASS_P): Add parenthesis and wrap.
9965 (FLOAT_CLASS_P): Likewise.
9966 (SSE_CLASS_P): Likewise.
9967 (MMX_CLASS_P): Likewise.
9968 (MAYBE_INTEGER_CLASS_P): Likewise.
9969 (MAYBE_FLOAT_CLASS_P): Likewise.
9970 (MAYBE_SSE_CLASS_P): Likewise.
9971 (MAYBE_MMX_CLASS_P): Likewise.
9972 (Q_CLASS_P): Likewise.
9973 (GENERAL_REGNO_P): Uppercase macro parameter.
9974 (REX_INT_REGNO_P): Uppercase macro parameter and wrap.
9975 (FP_REGNO_P): Likewise.
9976 (ANY_FP_REGNO_P): Uppercase macro parameter.
9977 (SSE_REGNO_P): Likewise.
9978 (SSE_REGNO): Likewise.
9979 (SSE_REG_P): Likewise.
9980 (SSE_FLOAT_MODE_P): Likewise.
9981 (MMX_REGNO_P): Likewise.
9982 (MMX_REG_P):Likewise.
9983 (STACK_REG_P): Likewise.
9984 (NON_STACK_REG_P): Likewise.
9985 (STACK_TOP_P): Likewise.
9986 (CONVERT_HARD_REGISTER_TO_SSA_P): Add parenthesis.
9987 (PREFERRED_RELOAD_CLASS): Add parenthesis and whitespace.
9988 (SECONDARY_MEMORY_NEEDED): Likewise.
9989 (SECONDARY_OUTPUT_RELOAD_CLASS): Whitespace.
9990 (MD_ASM_CLOBBERS): Whitespace and wrap.
9991 (MUST_PASS_IN_STACK): Whitespace and wrap.
9992 (RETURN_POPS_ARGS): Add parenthesis.
9993 (INIT_CUMULATIVE_ARGS): Likewise.
9994 (FUNCTION_ARG): Likewise.
9995 (FUNCTION_OK_FOR_SIBCALL): Add parenthesis and whitespace.
9996 (SETUP_INCOMING_VARARGS): Likewise.
9997 (BUILD_VA_LIST_TYPE): Add parenthesis.
9998 (EXPAND_BUILTIN_VA_START): Uppercase macro paremeters and add
10000 (EXPAND_BUILTIN_VA_ARG): Likewise.
10001 (FUNCTION_PROFILER): Wrap in do { ... } while (0) and add parenthesis.
10002 (INITIALIZE_TRAMPOLINE): Add parenthesis.
10003 (INITIAL_ELIMINATION_OFFSET): Likewise.
10004 (REGNO_OK_FOR_INDEX_P): Add parenthesis.
10005 (REGNO_OK_FOR_BASE_P): Likewise.
10006 (REGNO_OK_FOR_SIREG_P): Add parenthesis and wrap.
10007 (REGNO_OK_FOR_DIREG_P): Likewise.
10008 (REG_OK_FOR_INDEX_P): Whitespace.
10009 (REG_OK_FOR_BASE_P): Whitespace.
10010 (GO_IF_LEGITIMATE_ADDRESS): Wrap in do { ... } while (0) and add
10012 (FIND_BASE_TERM): Fix typo.
10013 (LEGITIMIZE_ADDRESS): Wrap in { .. } while (0) and add parenthesis.
10014 (REWRITE_ADDRESS): Uppercase macro parameter and whitespace.
10015 (SYMBOLIC_CONST; Whitespace.
10016 (GO_IF_MODE_DEPENDENT_ADDRESS):Wrap in { .. } while (0) and wrap.
10017 (ENCODE_SECTION_INFO): Whitespace.
10018 (FINALIZE_PIC): Remove do { ... } while (0).
10019 (PROMOTE_MODE): Wrap in do { ... } while (0).
10020 (CONST_COSTS): Whitespace.
10021 (RTX_COSTS): Add paramethesis, whitespace and wrap.
10022 (REGISTER_MOVE_COST): Add parenthesis.
10023 (MEMORY_MOVE_COST): Likewise.
10024 (EXTRA_CC_MODES): Whitespace.
10025 (SELECT_CC_MODE): Add parenthesis and whitespace.
10026 (DBX_REGISTER_NUMBER): Uppercase macro parameter and add parenthsis.
10027 (ASM_PREFERRED_EH_DATA_FORMAT): Add parenthesis and whitespace.
10028 (ASM_OUTPUT_LABEL): Add paramethesis.
10029 (ASM_OUTPUT_REG_PUSH): Add parenthesis and whitespace.
10030 (ASM_OUTPUT_REG_POP): Likewise.
10031 (ASM_OUTPUT_ADDR_VEC_ELT): Add parenthesis.
10032 (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
10034 * config/i386/i386.c: Update copyright.
10035 (CHECK_STACK_LIMIT): Add parenthesis.
10036 (AT_BP): Uppercase macro parameter.
10037 (x86_64_int_parameter_registers): Constify.
10038 (x86_64_int_return_registers): Likewise.
10039 (ix86_compare_op0): Use rtx.
10040 (construct_container): Constify INTREG parameter.
10041 (function_arg): Use rtx.
10043 * diagnostic.h: Update copyright date.
10044 (output_buffer_state): Add parenthesis.
10045 (output_buffer_format_args): Likewise.
10047 * combine.c (combine_instructions): Replace XEXP (links, 0)
10050 2002-01-06 H.J. Lu <hjl@gnu.org>
10052 * cfgcleanup.c (thread_jump): Fix 2 typos.
10054 2002-01-06 Aldy Hernandez <aldyh@redhat.com>
10056 * config.gcc: Add support for --enable-altivec.
10058 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
10060 * emit-rtl.c (gen_highpart): Add check for NULL_RTX.
10062 2002-01-06 Jakub Jelinek <jakub@redhat.com>
10064 * objc/objc-act.c (handle_impent): Use assemble_variable to emit
10065 __objc_class_name_*.
10067 2002-01-06 Craig Rodrigues <rodrigc@gcc.gnu.org>
10069 * doc/install.texi (sparcv9-*-solaris2*): Add documentation.
10071 2002-01-06 Richard Henderson <rth@redhat.com>
10073 * reorg.c (emit_delay_sequence): Remove death notes, not merely
10074 nop them out. Increment label reference count for REG_LABEL.
10075 (fill_slots_from_thread): Frob label reference count around
10076 delete_related_insns.
10078 2002-01-05 Richard Henderson <rth@redhat.com>
10080 * cfgcleanup.c (try_forward_edges): Detect infinite loops while
10083 2002-01-05 Richard Henderson <rth@redhat.com>
10085 * c-decl.c (c_expand_body): Don't call outlining_inline_function.
10086 * integrate.c (output_inline_function): Likewise.
10087 * toplev.c (rest_of_compilation): Do it here instead. Move call
10088 to remove_unnecessary_notes after emitting abstract instance.
10089 Force an emitted nested function to have its parent emited as well.
10090 * dwarf2out.c (loc_descriptor_from_tree): Read mode after checking
10092 (rtl_for_decl_location): Do not look at reload data structures
10093 before reload has run.
10095 2002-01-05 Kazu Hirata <kazu@hxi.com>
10097 * cse.c: Fix formatting.
10098 * dwarf2asm.c: Likewise.
10099 * dwarf2out.c: Likewise.
10100 * explow.c: Likewise.
10101 * expmed.c: Likewise.
10102 * function.c: Likewise.
10103 * gcov.c: Likewise.
10104 * gencheck.c: Likewise.
10105 * genrecog.c: Likewise.
10106 * ggc-common.c: Likewise.
10107 * ggc-page.c: Likewise.
10108 * global.c: Likewise.
10110 2002-01-05 Kazu Hirata <kazu@hxi.com>
10112 * combine.c: Fix formatting.
10114 2002-01-05 Craig Rodrigues <crodrigu@bbn.com>
10117 * config/ia64/ia64.h (RENAME_EXTENDED_BLOCKS): Remove.
10119 2002-01-05 David Edelsohn <edelsohn@gnu.org>
10121 * config/rs6000/rs6000.h (TARGET_POWERPC): For IN_LIBGCC2, define
10122 as 1 for __powerpc64__ as well.
10124 * config/rs6000/t-aix43 (T_ADAFLAGS): Define.
10126 * alias.c (find_base_value, PLUS/MINUS): If we found a base,
10129 2002-01-05 Daniel Berlin <dan@dberlin.org>
10131 * lcm.c: Revert change, due to performance regression it causes on
10132 SPEC because it's slightly more conservative (sigh, I hate
10135 Sat Jan 5 11:52:05 CET 2002 Jan Hubicka <jh@suse.cz>
10137 * cfgcleanup.c (try_forward_edges): Allow multiple jump threading.
10139 2002-01-05 Neil Booth <neil@daikokuya.demon.co.uk>
10141 * doc/cppinternals.texi: Update.
10143 2002-01-05 Hans-Peter Nilsson <hp@bitrange.com>
10145 * doc/invoke.texi (Option Summary) <MMIX Options>: Document
10146 -mbranch-predict, -mreg-stack-fill-bug-workaround and their
10148 (MMIX Options): Ditto. Fix item/itemx typo for -mno-zero-extend.
10149 * config/mmix/mmix.c (mmix_target_asm_function_prologue): Rework
10150 kludge for pre-october-14th mmix versions to handle new-found bug
10151 with PUSHJ/PUSHGO and the register stack.
10152 * config/mmix/mmix.h (struct machine_function): Rename member
10153 has_call_value_without_parameters to has_call_without_parameters.
10154 All referers changed.
10155 (TARGET_MASK_REG_STACK_FILL_BUG, TARGET_DEFAULT
10156 TARGET_MASK_BRANCH_PREDICT): New macros.
10157 (TARGET_SWITCHES): New options -mreg-stack-fill-bug-workaround,
10158 -mno-reg-stack-fill-bug-workaround.
10159 * config/mmix/mmix.md ("call"): Set struct machine member
10160 has_call_without_parameters.
10162 Sat Jan 5 02:20:22 CET 2002 Jan Hubicka <jh@suse.cz>
10164 * cfgcleanup.c (thread_jump): Fix handling of reversed branches.
10166 Sat Jan 5 01:35:29 CET 2002 Jan Hubicka <jh@suse.cz>
10168 * cfgcleanup.c: Include tm_p.h
10169 (mark_effect): Fix handling of hard register; fix handling of SET
10171 2002-01-04 Kazu Hirata <kazu@hxi.com>
10173 * config/h8300/h8300.md (anonymous patterns): Check that
10174 operands are registers before using REGNO on them.
10176 2002-01-03 Roland McGrath <roland@frob.com>
10178 * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcall-gnu.
10180 2002-01-04 Jakub Jelinek <jakub@redhat.com>
10182 * tree.h (expand_expr_stmt_value): Add maybe_last argument.
10183 * c-common.h (genrtl_expr_stmt_value): Likewise.
10184 * stmt.c (expand_expr_stmt): Pass 1 as maybe_last.
10185 (expand_expr_stmt_value): Add maybe_last argument.
10186 Don't warn about statement with no effect if it is the last statement
10187 in expression statement.
10188 * c-semantics.c (genrtl_expr_stmt): Pass 1 as maybe_last.
10189 (genrtl_expr_stmt_value): Add maybe_last argument, pass it down to
10190 expand_expr_stmt_value.
10191 (expand_stmt) [EXPR_STMT]: Pass 1 as maybe_last to
10192 genrtl_expr_stmt_value if t is the last EXPR_STMT in its scope.
10193 * expr.c (expand_expr) [LABELED_BLOCK_EXPR, LOOP_EXPR]: Pass 1
10194 as maybe_last to expand_expr_stmt_value.
10196 Fri Jan 4 11:45:05 2002 Jeffrey A Law (law@redhat.com)
10198 * c-common.c (c_expand_start_cond): Expect the IF_STMT node to
10199 be passed in, do not build it.
10200 (c_begin_if_stmt): New function.
10201 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
10202 * c-common.h (c_expand_start_cond): Update prototype.
10203 (c_begin_if_stmt): Prototype new function.
10204 (c_begin_while_stmt, c_finish_while_stmt_cond): Likewise.
10205 * c-parse.in (if_prefix): Use c_begin_if_stmt,
10206 c_begin_while_stmt and c_finish_while_stmt_cond.
10208 2002-01-04 William Cohen <wcohen@redhat.com>
10210 * config/pa/elf.h (ASM_FILE_START): Reverted to profile_flag.
10211 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
10212 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
10213 * config/pa/som.h (ASM_FILE_START): Likewise.
10215 2002-01-04 Daniel Berlin <dan@cgsoftware.com>
10217 * lcm.c: Include df.h.
10218 Add available_transfer_function prototype.
10219 (compute_available): Rework to use iterative dataflow framework.
10220 (struct bb_info): s/bb_info/lcm_bb_info/g to avoid conflict
10221 with bb_info in df.h
10222 (available_transfer_function): New function.
10224 * Makefile.in (lcm.o): add df.h to dependencies.
10226 2002-01-04 Richard Henderson <rth@redhat.com>
10228 * config/alpha/alpha.c (some_operand): Accept HIGH.
10229 (input_operand): Likewise; accept simple references to globals.
10230 (alpha_const_ok_for_letter_p): New, outlined from alpha.h.
10231 (alpha_const_double_ok_for_letter_p): Likewise.
10232 (alpha_extra_constraint): Likewise.
10233 (alpha_preferred_reload_class): Likewise. Do not force
10234 symbolic constants to memory.
10235 (alpha_legitimate_address_p): Accept simple references
10236 to small_symbolic_operand.
10237 (alpha_legitimize_address): New arg scratch. Be prepared to be
10238 called when no_new_pseudos. Emit simple symbolic references.
10239 Split integers into low, high, and rest.
10240 (alpha_expand_mov): Use alpha_legitimize_address.
10241 (some_small_symbolic_mem_operand): New.
10242 (split_small_symbolic_mem_operand): New.
10243 * config/alpha/alpha-protos.h: Update.
10244 * config/alpha/alpha.h (CONST_OK_FOR_LETTER_P): Out-line.
10245 (CONST_DOUBLE_OK_FOR_LETTER_P): Likewise.
10246 (EXTRA_CONSTRAINT): Likewise.
10247 (PREFERRED_RELOAD_CLASS): Likewise.
10248 (LEGITIMIZE_ADDRESS): Update for alpha_legitimize_address change.
10249 (PREDICATE_CODES): Update.
10250 * config/alpha/alpha.md: New post-reload splitters to convert
10251 simplfied symbolic operands to the form that references $29.
10252 (divide expanders): Use emit_move_insn, not gen_movdi_er_high_g.
10253 (movdi_er_nofix, movdi_er_fix): Accept any symbolic operand.
10255 2002-01-03 Richard Henderson <rth@redhat.com>
10257 * local-alloc.c (function_invariant_p): Update commentary.
10259 2002-01-04 H.J. Lu <hjl@gnu.org>
10261 * toplev.c (rest_of_compilation): Fix a typo when calling
10264 2002-01-03 Kazu Hirata <kazu@hxi.com>
10266 * c-common.c: Fix formatting.
10267 * diagnostic.c: Likewise.
10268 * doloop.c: Likewise.
10269 * dwarf2out.c: Likewise.
10271 2002-01-03 Kazu Hirata <kazu@hxi.com>
10273 * config/h8300/h8300.c (output_logical_op): Use 'not.w' instead
10274 of 'neg.w' when xoring with 0x0000ffff or 0xffff0000.
10276 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
10278 * cpperror.c: Update comments and copyright.
10279 * cppexp.c, cppfiles.c, cpphash.c, cpphash.h, cppinit.c,
10280 cpplex.c, cpplib.c, cpplib.h, cppmacro.c, cppmain.c: Similarly.
10282 2002-01-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
10284 * collect2.c (main): Use strcmp when testing for "-shared".
10286 2002-01-03 Neil Booth <neil@daikokuya.demon.co.uk>
10288 * cppmacro.c: Don't include intl.h. Update comments.
10289 (new_number_token): Allocate enough buffer for 64-bit unsigned
10290 integers; update prototype.
10291 * cppmain.c: Update comments.
10293 2002-01-03 William Cohen <wcohen@redhat.com>
10295 * function.h (struct function): Add profile.
10296 (current_function_profile): New.
10297 doc/extend.texi: Update documentation.
10298 * final.c (final_start_function): Use current_function_profile
10299 instead of profile_flag.
10300 (profile_after_prologue): Likewise.
10301 * function.c (expand_function_start): Likewise.
10302 (expand_function_start): Likewise.
10303 * config/alpha/alpha.c (direct_call_operand):
10304 (alpha_does_function_need_gp): Likewise.
10305 (alpha_expand_prologue): Likewise.
10306 * config/arm/arm.c (arm_expand_prologue): Likewise.
10307 thumb_expand_prologue: Likewise.
10308 * config/d30v/d30v.c (d30v_stack_info): Likewise.
10309 * config/fr30/fr30.c (MUST_SAVE_RETURN_POINTER): Likewise.
10310 (fr30_expand_prologue): Likewise.
10311 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
10312 * config/i386/i386.c (ix86_osf_output_function_prologue): Likewise.
10313 * config/i386/i386.h (FINALIZE_PIC): Likewise.
10314 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
10315 * config/i960/i960.c (i960_output_function_prologue): Likewise.
10316 * config/ia64/ia64.c (ia64_compute_frame_size): Likewise.
10317 * config/m32r/m32r.c (MUST_SAVE_RETURN_ADDR): Likewise.
10318 (m32r_expand_prologue): Likewise.
10319 * config/m88k/m88k.c (m88k_layout_frame): Likewise.
10320 (m88k_expand_prologue): Likewise.
10321 * config/m88k/m88k.h (ADJUST_INSN_LENGTH): Likewise.
10322 * config/mips/mips.c (compute_frame_size): Likewise.
10323 (mips_expand_prologue): Likewise.
10324 (mips_can_use_return_insn): Likewise.
10325 * config/pa/elf.h (ASM_FILE_START): Likewise.
10326 * config/pa/pa-linux.h (ASM_FILE_START): Likewise.
10327 * config/pa/pa64-hpux.h (ASM_FILE_START): Likewise.
10328 * config/pa/som.h (ASM_FILE_START): Likewise.
10329 * config/romp/romp.c (romp_using_r14): Likewise.
10330 * config/rs6000/rs6000.c (first_reg_to_save): Likewise.
10331 (rs6000_stack_info): Likewise.
10332 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
10333 * config/rs6000/xcoff.h (ASM_FILE_START): Likewise.
10334 * config/v850/v850.c (compute_register_save_size): Likewise.
10336 2002-01-03 Jakub Jelinek <jakub@redhat.com>
10338 * simplify-rtx.c (simplify_binary_operation) [DIV]: If
10339 gen_lowpart_common fails, use gen_lowpart_SUBREG.
10341 2002-01-03 Turly O'Connor <turly@apple.com>
10343 * darwin.c (machopic_output_possible_stub_label): Don't generate
10344 stub routines for pseudo-stubs which we've just defined.
10346 2002-01-03 Kazu Hirata <kazu@hxi.com>
10348 * builtins.c: Fix formatting.
10349 * c-typeck.c: Likewise.
10350 * combine.c: Likewise.
10351 * expr.c: Likewise.
10352 * loop.c: Likewise.
10354 2002-01-03 Andreas Schwab <schwab@suse.de>
10356 * cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
10357 and return true if _cpp_push_next_buffer pushed a new include
10359 * cpplib.c (_cpp_pop_buffer): Only call obstack_free if
10360 _cpp_pop_file_buffer did not push a new file.
10361 * cpphash.h (_cpp_pop_file_buffer): Update declaration.
10363 2002-01-02 Eric Christopher <echristo@redhat.com>
10365 * final.c (final_scan_insn): Change 0 -> NULL_RTX in
10366 FIND_REG_INC_NOTE call. Update copyright.
10367 * loop.c (canonicalize_condition): Ditto.
10368 * reorg.c (delete_scheduled_jump): Ditto.
10370 2002-01-03 Kazu Hirata <kazu@hxi.com>
10372 * gcse.c: Fix formatting.
10374 2002-01-03 Graham Stott <grahams@redhat.com>
10376 * mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
10377 forward defs for struct tags rtx_def, union_tree, rtvec_def
10378 also output corresponding typedefs for rtx, tree, and rtvec.
10380 * system.h: Move forward defs for struct tags rtx_def, union_tree,
10381 rtvec_def along with corresponding typedefs for rtx, tree, and
10382 rtvec to config.h, hconfig.h, tconfig.h.
10384 2002-01-03 Graham Stott <grahams@redhat.com>
10386 * tree.h: Update copyright date.
10387 (IS_EXPR_CODE_CLASS): Add parenthesis.
10388 (TREE_SET_CODE): Add whitespace.
10389 (TREE_CHECK): Add parenthesis.
10390 (TREE_CLASS_CODE): Add parenthesis and wrap long line.
10391 (CST_OR_CONSTRUCTOR_CHECK):
10392 (EXPR_CHECK): Add parenthis, whitespace and wrap line.
10393 (TREE_SYMBOL_REFERENCED): Whitespace.
10394 (INT_CST_LT): Likewise.
10395 (INT_CST_LT_UNSIGNED): Likewise.
10396 (tree_real_cst): Unwrap comment.
10397 (tree_string): Likewise.
10398 (tree_complex): Likewise.
10399 (IDENTIFIER_POINTER): correct cast.
10400 (SAVE_EXPR_CONTEXT): Whitespace.
10401 (EXPR_WFL_FILENAME_NODE): Likewise.
10402 (EXPR_WFL_FILENAME): Remove parenthesis.
10403 (DECL_ORIGIN): Add parenthesis.
10404 (DECL_FROM_INLINE): Use NULL_TREE.
10405 (build_int_2): Whitespace.
10406 (build_type_variant): Add parenthesis.
10408 * gcc/jcf-parse.c: Update copyright date.
10409 (yyparse): Constify resource_filename.
10411 2002-01-03 Graham Stott <grahams@redhat.com>
10413 * rtl.h: Update copyright date.
10414 (RTL_CHECK1): Wrap long line.
10415 (RTL_CHECK2): Likewise.
10416 (RTL_CHECKC1): Wrap long line and whitespace.
10417 (RTL_CHECKC2): Likewise.
10418 (XWINT): Whitespace.
10424 (XBITMAP): Likewise.
10426 (XBBDEF): Likewise.
10428 (X0WINT): Likewise.
10430 (X0UINT): Likewise.
10434 (X0MODE): Likewise.
10435 (X0BITMAP): Likewise.
10436 (X0TREE): Likewise.
10437 (X0BBDEF): Likewise.
10438 (X0ADVFLAGS): Likewise.
10439 (X0CSELIB): Likewise.
10440 (X0MEMATTR): Likewise.
10441 (XCWINT): Likewise.
10443 (XCUINT): Likewise.
10447 (XCMODE): Likewise.
10448 (XCBITMAP): Likewise.
10449 (XCTREE): Likewise.
10450 (XCBBDEF): Likewise.
10451 (XCADVFLAGS): Likewise.
10452 (XCCSELIB): Likewise.
10453 (XC2EXP): Likewise.
10454 (INSN_UID): Likewise.
10455 (PREV_INSN): Likewise.
10456 (PATTERN): Likewise.
10457 (INSN_CODE): Likewise.
10458 (PUT_REG_NOTE_KIND): Likewise.
10459 (CODE_LABEL_NUMBER): Likewise.
10460 (NOTE_SOURCE_FILE): Likewise.
10461 (NOTE_BLOCK): Likewise.
10462 (NOTE_EH_HANDLER): Likewise.
10463 (NOTE_RANGE_INFO): Likewise.
10464 (NOTE_LIVE_INFO): Likewise.
10465 (NOTE_BASIC_BLOCK): Likewise.
10466 (NOTE_EXPECTED_VALUE): Likewise.
10467 (NOTE_LINE_NUMBER): Likewise.
10468 (LABEL_NAME): Likewise.
10469 (LABEL_NUSES): Likewise.
10470 (LABEL_ALTERNATE_NAME): Likewise.
10471 (ADDRESSOF_DECL): Likewise.
10472 (JUMP_LABEL): Likewise.
10473 (LABEL_NEXTREF): Likewise.
10475 (ORIGINAL_REGNO: Likewise.
10476 (HARD_REGISTER_NUM_P): Add parenthesis.
10477 (SUBREG_REG): Whitespace.
10478 (SUBREG_BYTE): Likewise.
10479 (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
10480 (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
10481 (ASM_OPERANDS_OUTPUT_IDX): Likewise.
10482 (ASM_OPERANDS_INPUT_VEC): Likewise.
10483 (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
10484 (ASM_OPERANDS_INPUT): Likewise.
10485 (ASM_OPERANDS_INPUT_LENGTH): Likewise.
10486 (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
10487 (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
10488 (ASM_OPERANDS_INPUT_MODE): Likewise.
10489 (ASM_OPERANDS_SOURCE_FILE): Likewise.
10490 (ASM_OPERANDS_SOURCE_LINE): Likewise.
10491 (MEM_SET_IN_STRUCT_P): Minor reformat.
10492 (TRAP_CONDITION): Whitespace.
10493 (TRAP_CODE): Likewise.
10494 (COND_EXEC_TEST): Likewise.
10495 (COND_EXEC_CODE): Likewise.
10496 (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
10497 (PHI_NODE_P): Add parenthesis.
10498 (plus_constant): Whitespace and add parenthesis.
10500 2002-01-03 Kazu Hirata <kazu@hxi.com>
10502 * config/avr/avr.c: Fix comment typos.
10503 * config/c4x/c4x.md: Likewise.
10504 * config/dsp16xx/dsp16xx.h: Likewise.
10505 * config/dsp16xx/dsp16xx.md: Likewise.
10506 * config/i386/i386.md: Likewise.
10507 * config/ia64/ia64.c: Likewise.
10508 * config/m32r/m32r.h: Likewise.
10509 * config/m68hc11/m68hc11.md: Likewise.
10510 * config/mmix/mmix.c: Likewise.
10511 * config/mn10200/mn10200.c: Likewise.
10512 * config/romp/romp.c: Likewise.
10513 * config/sh/sh.c: Likewise.
10514 * config/stormy16/stormy16.c: Likewise.
10515 * config/stormy16/stormy16.h: Likewise.
10516 * config/stormy16/stormy16.md: Likewise.
10518 2002-01-03 Graham Stott <grahams@redhat.com>
10520 * loop.h: Update copyright date.
10521 (LOOP_MOVABLES): Fix typo.
10522 (LOOP_REGS): Likewise.
10523 (LOOP_IVS): Likewise.
10525 2002-01-03 Graham Stott <grahams@redhat.com>
10527 * cppinit.c: Update copyright date.
10528 Don't include output.h
10529 * Makefile.in: Update copyright date.
10532 2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
10535 * invoke.texi (-mthreads): Remove from documented RS/6000 options.
10536 (-pthread) Add to RS/6000 options.
10538 2002-01-02 Kazu Hirata <kazu@hxi.com>
10540 * except.c: Fix comment typos.
10541 * loop.c: Likewise.
10542 * varasm.c: Likewise.
10543 * doc/tm.texi: Fix a typo.
10545 2002-01-02 Jakub Jelinek <jakub@redhat.com>
10547 * c-typeck.c (output_init_element): Allow initializing static storage
10548 duration objects with compound literals.
10550 2002-01-02 Richard Henderson <rth@redhat.com>
10552 * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
10555 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10557 * gcc.c (default_compilers): Const-ify.
10558 * mips-tdump.c (stab_names): Likewise.
10559 * mips-tfile.c (map_coff_types, map_coff_storage,
10560 map_coff_sym_type, map_coff_derived_type, stabs_symbol,
10561 pseudo_ops_t, pseudo_ops): Likewise.
10562 * protoize.c (default_include): Likewise
10564 * real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
10565 (ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
10566 Add array size in declaration.
10567 (endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
10568 emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
10569 esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
10570 etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
10571 eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
10572 efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
10573 c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
10574 emtens, make_nan): Const-ify.
10575 (TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
10576 DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.
10578 2002-01-02 Joseph S. Myers <jsm28@cam.ac.uk>
10580 * config.gcc (ia64-*-*): Set extra_headers.
10581 (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf.
10582 * config/alpha/t-osf: Remove.
10583 * config/ia64/t-ia64 (EXTRA_HEADERS): Remove.
10585 2002-01-02 David Edelsohn <edelsohn@gnu.org>
10587 * config/rs6000/t-aix43: Revert previous change.
10589 2002-01-02 Jason Merrill <jason@redhat.com>
10591 * c-decl.c (c_expand_body): Call outlining_inline_function when
10592 emitting an inline function out of line.
10594 2002-01-02 Richard Henderson <rth@redhat.com>
10596 * dwarf2out.c (limbo_die_node): Add created_for member.
10597 (new_die): New argument created_for. Update all callers.
10598 (mark_limbo_die_list): New.
10599 (dwarf2out_init): Register limbo_die_list as a root.
10600 (dwarf2out_finish): Force insert limbo dies into their function
10603 2002-01-02 Nathan Sidwell <nathan@codesourcery.com>
10606 * doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
10608 2002-01-02 Kazu Hirata <kazu@hxi.com>
10610 * config/h8300/fixunssfsi.c: Update copyright.
10613 * config/h8300/h8300.c: Update copyright.
10614 Eliminate warnings.
10616 2002-01-02 Kazu Hirata <kazu@hxi.com>
10618 * config/romp/romp.c: Fix comment formatting.
10619 * config/romp/romp.h: Likewise.
10620 * config/romp/romp.md: Likewise.
10621 * config/s390/s390.c: Likewise.
10622 * config/stormy16/stormy16.c: Likewise.
10623 * config/stormy16/stormy16.h: Likewise.
10625 2002-01-02 Alexandre Oliva <aoliva@redhat.com>
10627 * c-common.h (genrtl_expr_stmt_value): Declare.
10628 * c-semantics.c (genrtl_goto_stmt): Redirect to...
10629 (genrtl_goto_stmt_value): ... this new function. Pass new
10630 argument down to expand_expr_stmt_value, taking
10631 TREE_ADDRESSABLE into account.
10632 * c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
10633 STMT_EXPR as addressable, i.e., one whose result we want.
10634 * expr.c (expand_expr): Don't save expression statement value
10635 of labeled_blocks or loop_exprs.
10636 * stmt.c (expand_expr_stmt): Redirect to...
10637 (expand_expr_stmt_value): ... this new function. Use new
10638 argument to tell whether to save expression value.
10639 (expand_end_stmt_expr): Reset last_expr_type and
10640 last_expr_value if we don't have either.
10641 * tree-inline.c (declare_return_variable): Mark its use
10642 statement as addressable.
10643 * tree.h: Document new use of TREE_ADDRESSABLE.
10644 (expand_expr_stmt_value): Declare.
10646 2002-01-01 Tom Rix <trix@redhat.com>
10648 * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Fix for use by
10649 rs6000_emit_allocate_stack.
10651 2002-01-01 Joseph S. Myers <jsm28@cam.ac.uk>
10653 * configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
10654 ${srcdir}/ginclude/ to every entry in extra_headers.
10655 * configure: Regenerate.
10656 * ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
10657 * ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
10658 * ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
10659 * ginclude/proto.h: Rename to config/convex/proto.h.
10661 Tue Jan 1 17:12:56 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10663 * attribs.c (handle_vector_size_attribute): Use host_integerp
10664 and tree_int_cst; remove warnings.
10665 * caller-save.c (insert_restore): Add cast to get rid of warning.
10666 (insert_save): Likewise.
10667 * emit-rtl.c (adjust_address_1, offset_address): Likewise.
10668 * regmove.c (find_matches): Add temporary var to kill a warning.
10670 2002-01-01 Douglas B Rupp <rupp@gnat.com>
10672 * config/alpha/vms.h (DWARF2_UNWIND_INFO, EH_RETURN_HANDLER_RTX,
10673 LINK_EH_SPEC, MD_FALLBACK_FRAME_STATE_FOR): Define.
10674 * config/alpha/t-vms (EXTRA_PARTS): Add vms-dwarf2eh.o
10675 (vms-dwarf2eh.o): Add Makefile rule.
10676 * config/alpha/vms-ld.c (main): Handle vms-dwarf2eh.o.
10677 * config/alpha/vms-dwarf2eh.asm: New file.
10679 * gcc.c (delete_if_ordinary): Delete all versions.
10681 2002-01-01 Hans-Peter Nilsson <hp@bitrange.com>
10683 * config/mmix/mmix.md: Update FIXME to not mention
10685 (MMIX_rJ_REGNUM): New define_constants constant.
10686 ("movqi", "movsi", "movdi", "*movdicc_real_foldable",
10687 "*movdicc_real"): Adjust contraints formatting.
10688 ("*bCC_foldable"): Add %+ for P in output format and delete FIXME
10689 for branch prediction.
10690 ("*bCC", "*bCC_inverted_foldable", "*bCC_inverted"): Add %+ in
10692 ("*call_real", "*call_value_real", "nonlocal_goto_receiver",
10693 "*nonlocal_goto_receiver_expanded"): Use MMIX_rJ_REGNUM instead of
10694 number. Delete related FIXMEs.
10695 * config/mmix/mmix.h (MMIX_INCOMING_RETURN_ADDRESS_REGNUM): Change
10696 from number to MMIX_rJ_REGNUM.
10697 (TARGET_MASK_BRANCH_PREDICT): New.
10698 (TARGET_DEFAULT): Change to TARGET_MASK_BRANCH_PREDICT.
10699 (TARGET_SWITCHES): Update comment. Correct -mno-toplevel-symbols
10700 value. Add -mbranch-predict and -mno-branch-predict.
10701 (TARGET_VERSION): Drop date.
10702 (ADDITIONAL_REGISTER_NAMES): Use MMIX_rJ_REGNUM, not number.
10703 * config/mmix/mmix.c (mmix_encode_section_info): Correct condition
10704 for finding out global symbols.
10705 (mmix_asm_output_labelref): Revert condition for global symbol.
10706 (mmix_print_operand): <case '+'>: Emit P for a likely branch.
10707 (mmix_print_operand_punct_valid_p): A '+' is valid.
10709 See ChangeLog.6 for earlier changes.