law [Fri, 20 Apr 2001 01:13:37 +0000 (01:13 +0000)]
* config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
* config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
* config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
name at 32 total characters.
(ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
functions in named sections -- data items can still go into unique
sections, but they have normal names (ie $LIT$ and $DATA$).
* config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
INIT_PRIORITY.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41436
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 20 Apr 2001 00:53:55 +0000 (00:53 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41434
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 19 Apr 2001 23:07:18 +0000 (23:07 +0000)]
2001-04-19 Phil Edwards <pme@sources.redhat.com>
* Makefile.am (doxygen): Assume script is missing execute perms.
* Makefile.in: Regenerated.
* docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41432
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 19 Apr 2001 23:01:40 +0000 (23:01 +0000)]
2001-04-19 Phil Edwards <pme@sources.redhat.com>
* Makefile.am (doxygen): Assume script is missing execute perms.
* Makefile.in: Regenerated.
* docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41431
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Apr 2001 22:49:48 +0000 (22:49 +0000)]
* cp-tree.h (DECL_LANGUAGE): Don't assume DECL_LANG_SPECIFIC is
set.
(SET_DECL_LANGUAGE): New macro.
* decl.c (duplicate_decls): Use SET_DECL_LANGUAGE.
(pushdecl): Likewise.
(build_library_fn_1): Likewise.
(build_cp_library_fn): Likewise.
(grokfndecl): Likewise.
(grokvardecl): Mark `extern "C"' variables as having C linkage.
* decl2.c (grokclassfn): Use SET_DECL_LANGUAGE.
* lex.c (retrofit_lang_decl): Likewise.
* mangle.c (mangle_decl_string): Don't mangle the names of
variables declared with C language linkage.
* semantics.c (finish_member_declaration): Use SET_DECL_LANGUAGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41430
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 19 Apr 2001 20:28:05 +0000 (20:28 +0000)]
* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to TARGET_OBJECT_SUFFIX and TARGET_EXECUTABLE_SUFFIX.
* config/i386/cygwin.h: Likewise.
* config/i386/mingw32.h: Likewise.
* config/vax/vms.h: Likewise.
* config/i386/djgpp.h: Remove NO_AUTO_EXE_SUFFIX.
* config/alpha/xm-vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
to HOST_OBJECT_SUFFIX and HOST_EXECUTABLE_SUFFIX.
* config/i386/xm-cygwin.h: Likewise.
* config/i386/xm-djgpp.h: Likewise.
* config/i386/xm-mingw32.h: Likewise.
* config/vax/xm-vms.h: Likewise.
* mkdeps.c (deps_add_default_target): Use TARGET_OBJECT_SUFFIX
instead of OBJECT_SUFFIX.
* collect2.c (find_a_file): Look for files matching the extension
HOST_EXECUTABLE_SUFFIX instead of EXECUTABLE_SUFFIX.
* gcc.c (DEFAULT_SWITCH_CURTAILS_COMPILATION): Depend on
TARGET_EXECUTABLE_SUFFIX.
(find_a_file): Use HOST_EXECUTABLE_SUFFIX.
(make_relative_prefix): Likewise.
(convert_filename): Use TARGET_ suffixes throughout. Remove
NO_AUTO_EXE_SUFFIX.
(process_command): Likewise.
(do_spec_1): Likewise.
* java/lang.c (init_parse): Likewise.
* gcc.texi : Document four new options matching the pattern
(HOST|TARGET)_(OBJECT|EXECUTABLE)_SUFFIX. Remove documentation
for deleted macros OBJECT_SUFFIX and EXECUTABLE_SUFFIX. Remove
documentation for NO_AUTO_EXE_SUFFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41428
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Apr 2001 19:52:17 +0000 (19:52 +0000)]
* toplev.h (struct lang_hooks): Allow decode_option to indicate
that language-independent processing should not be done.
* toplev.c (main): Adjust accordingly.
* top.c (ffe_decode_option): Do not permit language-independent
processing for -ffixed-line-length.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41427
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Apr 2001 19:44:43 +0000 (19:44 +0000)]
* rtl.texi (jump_insn): Expand on JUMP_LABEL documentation.
* loop.c (load_mems): Handle a NULL JUMP_LABEL for a JUMP_INSN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41424
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Apr 2001 17:35:46 +0000 (17:35 +0000)]
* mips.md (reload_outputdi): Require that operand0 be a
general_operand.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41423
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 19 Apr 2001 13:17:30 +0000 (13:17 +0000)]
* invoke.texi (-Wshadow): Clarify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41420
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 19 Apr 2001 07:17:11 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41419
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 19 Apr 2001 02:15:46 +0000 (02:15 +0000)]
* loop.c (load_mems): Examine all the instructions in the loop
before concluding that all jumps branch to the first instruction
after the loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41417
138bc75d-0d04-0410-961f-
82ee72b054a4
cgf [Thu, 19 Apr 2001 00:35:06 +0000 (00:35 +0000)]
* config/i386/xm-cygwin.h (CPP_SPEC): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41414
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 18 Apr 2001 20:30:48 +0000 (20:30 +0000)]
Eliminate assembler warnings found by ia64-linux bootstrap.
* src/ia64/unix.S: Delete unnecessary increment and decrement of loc2
to eliminate RAW DV.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41411
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 18 Apr 2001 12:40:56 +0000 (12:40 +0000)]
* cpp.texi (-Wwhite-space): Remove.
(-Wall): -Wall does not imply -Wwhite-space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41409
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 18 Apr 2001 07:55:09 +0000 (07:55 +0000)]
* semantics.c (simplify_aggr_init_exprs_r): Don't restore
flag_access_control from uninitialized storage.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41408
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 18 Apr 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41405
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 18 Apr 2001 06:15:38 +0000 (06:15 +0000)]
* dbxout.c (dbxout_init): If DBX_OUTPUT_GCC_MARKER is defined,
use it instead of blindly generating a .stabs.
* xcoffout.h: Define DBX_OUTPUT_GCC_MARKER so we put the type
in the right place.
* xcoffout.c: Don't bother defining default for N_CATCH.
(UNKNOWN_STAB): Use internal_error.
(stab_to_sclass): Remove now-unnecessary aborts.
Remove #if 0'ed case N_BROWS. Add #ifdef N_OPT block.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41404
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 18 Apr 2001 05:13:33 +0000 (05:13 +0000)]
* testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41402
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 18 Apr 2001 03:39:19 +0000 (03:39 +0000)]
* jump.c (mark_all_labels): Canonicalize the tail recursion
label attached to CALL_PLACEHOLDER insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41400
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 18 Apr 2001 03:25:37 +0000 (03:25 +0000)]
* output.h (dump_flow_info, free_basic_block_vars,
which_alternative): Delete redundant prototypes.
* rtl.h (bss_section): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41398
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 18 Apr 2001 01:06:05 +0000 (01:06 +0000)]
2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
* testsuite/23_containers/set_operators.cc: Same.
* include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
default.
(__GLIBCPP__): Bump from value of last release.
* include/bits/concept_check.h: Default to off, edit comments.
* src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
* src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
* src/Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41397
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 17 Apr 2001 23:49:43 +0000 (23:49 +0000)]
* dbxout.c (N_OPT): Define if not available from <stab.h>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41395
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Tue, 17 Apr 2001 23:11:28 +0000 (23:11 +0000)]
2001-04-17 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_algo.h (std::transform): Disable the check
on _OutputIter for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41393
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Tue, 17 Apr 2001 22:53:36 +0000 (22:53 +0000)]
2001-04-18 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/short.x; Remove - Error has been fixed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41392
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 17 Apr 2001 17:54:22 +0000 (17:54 +0000)]
* vax.h (PROMOTE_PROTOTYPES): Define for compatibility with system
libraries and native K&R compilers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41391
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 17 Apr 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41388
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 17 Apr 2001 02:21:10 +0000 (02:21 +0000)]
* c-typeck.c (convert_arguments): Don't check for width changes
with -Wtraditional.
* invoke.texi (-Wtraditional): Update documentation.
testsuite:
* gcc.dg/wtr-conversion-1.c: Don't test for width changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41386
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 16 Apr 2001 18:30:48 +0000 (18:30 +0000)]
* toplev.c (output_lang_identify): Delete.
(compile_file): Don't call ASM_IDENTIFY_GCC or ASM_IDENTIFY_LANGUAGE.
Don't generate gcc2_compiled. label. Don't emit a nop if profiling.
If IDENT_ASM_OP is defined, emit an .ident "GCC (GNU) <version>"
after calling ASM_FILE_END.
* dbxout.c (dbxout_init): Don't call ASM_IDENTIFY_GCC_AFTER_SOURCE.
Instead, unconditionally emit an N_OPT stab with string equal
to STABS_GCC_MARKER, which defaults to "gcc2_compiled."
* defaults.h: Don't provide default for ASM_IDENTIFY_LANGUAGE.
* config/dbxelf.h, config/freebsd.h, config/nextstep.h,
config/psos.h, config/ptx4.h, config/1750a/1750a.h,
config/alpha/alpha.h, config/alpha/elf.h, config/arc/arc.h,
config/arm/aof.h, config/arm/coff.h, config/arm/elf.h,
config/arm/linux-elf.h, config/avr/avr.h, config/d30v/d30v.h,
config/dsp16xx/dsp16xx.h, config/h8300/h8300.h,
config/i370/i370.h, config/i386/beos-elf.h,
config/i386/osf1elf.h, config/i386/osfrose.h,
config/ia64/sysv4.h, config/m68k/3b1.h, config/m68k/auxgas.h,
config/m68k/crds.h, config/m68k/hp320.h, config/m68k/m68kv4.h,
config/m68k/mot3300.h, config/m68k/news.h, config/m68k/sgs.h,
config/m68k/tower-as.h, config/mcore/mcore-elf.h,
config/mips/iris6.h, config/mips/osfrose.h,
config/mips/sni-svr4.h, config/pa/som.h, config/pdp11/pdp11.h,
config/sparc/sp64-elf.h:
Delete definitions of any or all of: ASM_IDENTIFY_GCC,
ASM_IDENTIFY_GCC_AFTER_SOURCE, and ASM_IDENTIFY_LANGUAGE.
* config/elfos.h, config/freebsd.h, config/linux.h,
config/alpha/elf.h, config/arm/linux-elf.h, config/i386/i386elf.h,
config/i386/ptx4-i.h, config/mips/gnu.h, config/mips/linux.h,
config/sparc/linux.h, config/sparc/linux64.h: Delete definitions
of ASM_FILE_START which merely emit a .version directive. Delete
definitions of ASM_FILE_END which merely emit an .ident directive.
* config/avr/avr.h, config/vax/vax.h: Delete definition of
ASM_IDENTIFY_GCC and move part of its logic into
ASM_FILE_START.
* config/i386/att.h, config/i386/gas.h, config/i386/linux.h,
config/sparc/linux-aout.h: Don't emit .version directive in
ASM_FILE_START.
* config/i386/dgux.c, config/m88k/m88k.c, config/sh/sh.c
(output_file_start): Correct comment.
* config/i386/osfrose.h: Don't emit trailing .ident directive.
* config/m68k/mot3300.h: Override STABS_GCC_MARKER to "gcc2_compiled%"
to match gdb.
* config/pa/lib2funcs.asm: Delete gcc_compiled. label.
* config/rs6000/aix.h: Correct comment.
* config/i386/i386afe.h: Delete.
* config.gcc: Remove references to i386afe.h.
* tm.texi: Delete documentation of ASM_IDENTIFY_GCC. The
other macros deleted by this patch were undocumented.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41385
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 16 Apr 2001 17:57:21 +0000 (17:57 +0000)]
* pa.md (reload_outdi): Operand 0 must be a non hard register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41381
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Mon, 16 Apr 2001 15:30:17 +0000 (15:30 +0000)]
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.h: New file - Ternary search tree header.
2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.c: New file - Ternary search tree implementation.
* Makefile.in: Add ternary.o, and ternary.c dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41380
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 16 Apr 2001 15:13:32 +0000 (15:13 +0000)]
* pa.c (secondary_reload_class): SAR<->FP copies require a
secondary register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41379
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 16 Apr 2001 14:02:50 +0000 (14:02 +0000)]
* install.texi (mips-mips-bsd): Update list of functions
required to include memmove.
* tm.texi (TARGET_MEM_FUNCTIONS): Update list of implicitly
used functions to include memmove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41377
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 16 Apr 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41374
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 16 Apr 2001 05:51:38 +0000 (05:51 +0000)]
* cp-tree.h (TYPE_PTRMEM_CLASS_TYPE): Improve documentation.
* mangle.c (write_pointer_to_member_type): Fix mangling of
pointers to cv-qualified member function types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41373
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 16 Apr 2001 02:50:12 +0000 (02:50 +0000)]
* init.c (build_delete): Create a SAVE_EXPR for the address if
we're going to use it more than once.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41371
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 16 Apr 2001 00:12:44 +0000 (00:12 +0000)]
* i386.md (sqrtdf2): SFmode should be DFmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41364
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 15 Apr 2001 16:50:51 +0000 (16:50 +0000)]
* gcse.c (compute_ld_motion_mems): ASM outputs aren't moveable.
(find_moveable_store): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41363
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sun, 15 Apr 2001 08:37:34 +0000 (08:37 +0000)]
Fix ia64 libffi build failure.
* function.c (expand_function_end): Handle PARALLEL real_decl_rtl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41361
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 15 Apr 2001 07:16:07 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41359
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 14 Apr 2001 19:41:38 +0000 (19:41 +0000)]
Missed changelog entry for last regmove commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41357
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 14 Apr 2001 14:27:23 +0000 (14:27 +0000)]
* i386.md (ashldi3_1_rex64): Add 'J' to the constraints
(ashrdi3_1_rex64): Change 'n' constraint to 'J'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41356
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 14 Apr 2001 11:09:21 +0000 (11:09 +0000)]
* config/mn10300/mn10300.md (cmpsi): Tell reload to disregard the
first alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41355
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 14 Apr 2001 09:46:13 +0000 (09:46 +0000)]
2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
* include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
Properly uglify member.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41354
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 14 Apr 2001 08:42:31 +0000 (08:42 +0000)]
* pa.c (force_mode): New function.
(emit_move_sequence): Use it instead of generating new rtx_REGs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41353
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 14 Apr 2001 07:45:10 +0000 (07:45 +0000)]
Update copyright notice
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41352
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 14 Apr 2001 07:26:52 +0000 (07:26 +0000)]
Update copyright notice
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41351
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 14 Apr 2001 07:21:07 +0000 (07:21 +0000)]
Whitespace fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41350
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 14 Apr 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41348
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 14 Apr 2001 03:49:46 +0000 (03:49 +0000)]
Fix linux kernel -foptimize-sibling-calls miscompilation
* config/ia64/ia64.c (ia64_expand_epilogue): Emit alloc if sibcall_p.
(first_instruction): New static variable.
(rtx_needs_barrier): Return 1 for alloc.
(init_insn_group_barriers): Set first_instruction.
(rws_sum): Delete duplicate definition.
(group_barrier_needed_p): Return 0 when first_instruction true.
(safe_group_barrier_needed_p): Save and restore first_instruction
around group_barrier_needed_p call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41347
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 14 Apr 2001 03:39:22 +0000 (03:39 +0000)]
* expr.h (enum libfunc_index): Add LTI_memmove.
(memmove_libfunc): Define macro.
* optabs.c (init_optabs): Initialize memmove_libfunc.
* expr.c (expand_assignment): Use memmove_libfunc instead of
memcpy_libfunc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41345
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 13 Apr 2001 21:47:07 +0000 (21:47 +0000)]
2001-04-13 Alan Modra <alan@linuxcare.com.au>
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Disallow PIC LO_SUM
fp mode addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41343
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 13 Apr 2001 21:16:42 +0000 (21:16 +0000)]
* cp-tree.h (DELTA2_FROM_PTRMEMFUNC): Remove.
(expand_ptremfunc_cst): Change prototype.
(delta2_from_ptrmemfunc): Remove.
* expr.c (cplus_expand_constant): Adjust call to
expand_ptrmemfunc_cst.
* typeck.c (build_ptrmemfunc1): Simplify.
(build_ptrmemfunc): Make sure that casting a PTRMEM_CST still
results in a constant.
(expand_ptrmemfunc_cst): Remove idx and delta2 parameters.
(delta2_from_ptrmemfunc): Remove.
(pfn_from_ptrmemfunc): Adjust call to expand_ptrmemfunc_cst.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41341
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 13 Apr 2001 21:10:16 +0000 (21:10 +0000)]
* Makefile.in (reg-stack.o): Depend on reload.h.
(insn-attrtab.o): Depend on flags.h.
* genattrtab (main): Include flags.h in insn-attrtab.c.
* reg-stack.c: Include reload.h.
* sparc.h (flag_pic): Delete redundant declaration.
* output.h (flag_pic): Likewise.
* tree.h (pedantic): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41340
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 13 Apr 2001 16:41:16 +0000 (16:41 +0000)]
* Makefile.in (toplev.o, jump.o, regmove.o): Depend on reload.h
* jump.c, regmove.c, toplev.c: Include reload.h.
* reload.h (reload_cse_regs): Declare.
* rtl.h (find_equiv_reg, operands_match_p, safe_from_earlyclobber,
reload_cse_regs, init_reload, mark_home_live, reload,
init_caller_save): Delete redundant prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41338
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 13 Apr 2001 16:34:41 +0000 (16:34 +0000)]
* Makefile.in (ssa.o, regclass.o): Depend on $(EXPR_H).
* regclass.c, ssa.c: Include expr.h.
* rtl.h (memory_address, force_reg, emit_queue, emit_move_insn,
gen_move_insn): Delete redundant declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41337
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Fri, 13 Apr 2001 10:14:47 +0000 (10:14 +0000)]
2000-04-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* Makefile.in (STAGE1_CFLAGS): Pass down.
gcc/
* Makefile.in (CFLAGS, BOOT_CFLAGS): Partly revert 2000-10-27 patch.
(stage1_build): Instead pass down STAGE1_CFLAGS here. Pass down.
MAKEINFO and MAKEINFOFLAGS too.
(stage4_build): Correctly order -B flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41335
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 13 Apr 2001 09:28:56 +0000 (09:28 +0000)]
2001-04-13 Phil Edwards <pme@sources.redhat.com>
* include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
of EqualityComparableConcept.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41334
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 13 Apr 2001 09:03:18 +0000 (09:03 +0000)]
2001-04-13 Phil Edwards <pme@sources.redhat.com>
* include/bits/boost_concept_check.h: Uglify, fork from Boost.
* include/bits/concept_check.h: Uglify.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_numeric.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/ext/hash_map: Likewise.
* include/ext/hash_set: Likewise.
* include/ext/slist: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41333
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 13 Apr 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41331
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:59:10 +0000 (05:59 +0000)]
* pa.c: Formatting and white space fixes throughout file.
(zdepi_cint_p): Describe zdepi insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41330
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:51:45 +0000 (05:51 +0000)]
* pa.c (hppa_init_pic_save): Set rtx_unchanging for
PIC_OFFSET_TABLE_SAVE_RTX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41329
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:48:20 +0000 (05:48 +0000)]
* pa.c (uint32_operand): Don't use long constant >= 2^32.
(emit_move_sequence): Use HOST_WIDE_INT constants. Don't worry
about 32->64 bit sign extension if 32 bit HOST_WIDE_INTs.
(compute_movstrsi_length): Make `align' unsigned to avoid warning.
(output_64bit_and): Use plain `int's for shift counts.
(output_64bit_ior): Likewise.
(function_arg_partial_nregs): Use unsigned vars to avoid warnings.
* pa.h (CONST_OK_FOR_LETTER_P): Use HOST_WIDE_INT constants for case
`N', and simplify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41328
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:41:45 +0000 (05:41 +0000)]
* config.guess: Add hppa64-linux support. Note for next import that
this is already in the master file.
* configure.in: Likewise. Accept `parisc' alias for `hppa'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41327
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:34:06 +0000 (05:34 +0000)]
* pa-hpux10.h (NEW_HP_ASSEMBLER): Define to 1.
* pa-hpux11.h (NEW_HP_ASSEMBLER): Likewise.
* pa.h (LEGITIMATE_CONSTANT_P) Collapse two defines depending on
NEW_HP_ASSEMBLER into one. Kill warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41326
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:27:47 +0000 (05:27 +0000)]
* pa-gas.h: Delete file.
* config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*. Update
hppa*-*-linux*. For all pa targets, remove pa/gas.h from tm_file,
instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41325
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:19:02 +0000 (05:19 +0000)]
* config/pa/mill32.S: New file.
* config/pa/mill64.S: New file.
* config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
LIB1ASMSRC, CRTSTUFF_T_CFLAGS_S, TARGET_LIBGCC2_CFLAGS): Define.
* config/pa/t-linux64: New file.
* config/pa/t-pa64 (CROSS_LIBGCC1): Change to libgcc1-asm.a
(LIB1ASMFUNCS, LIB1ASMSRC): Define.
(TARGET_LIBGCC2_CFLAGS): Add -Dpa64=1 -DELF=1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41324
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:13:43 +0000 (05:13 +0000)]
Add new files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41323
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:12:12 +0000 (05:12 +0000)]
* elfos.h (SELECT_SECTION): Undef before defining.
* pa-linux.h (LINUX_DEFAULT_ELF, PTRDIFF_TYPE, CPP_SPEC): Remove.
(LIB_SPEC): Remove -lmilli.
(DBX_REGISTER_NUMBER): Remove.
(PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
(DWARF2_UNWIND_INFO, ASM_SPEC, LINK_SPEC, FUNCTION_OK_FOR_SIBCALL,
NO_PROFILE_COUNTERS, SELECT_RTX_SECTION, INCOMING_RETURN_ADDR_RTX,
DWARF_FRAME_RETURN_COLUMN, STRING_ASM_OP, TEXT_SECTION_ASM_OP,
DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_FILE_START,
ASM_OUTPUT_DEF, ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL, ASM_DECLARE_FUNCTION_NAME,
TARGET_GAS): Define.
* pa.c (output_arg_descriptor): Disable for TARGET_ELF32.
(function_arg): If TARGET_ELF32, pass fp args in both general and fp
regs if we don't have a prototype.
* pa.md (canonicalize_funcptr_for_compare): Not for TARGET_ELF32.
* pa.h (TARGET_ELF32): Default to 0 if undefined.
(EH_RETURN_DATA_REGNO, EH_RETURN_STACKADJ_RTX,
EH_RETURN_HANDLER_RTX): Define.
* pa32-regs.h (DBX_REGISTER_NUMBER): Remove unnecessary test.
(DWARF_FRAME_REGNUM): Define.
* pa64-regs.h (DWARF_FRAME_REGNUM): Define.
* pa32-linux.h: New file.
* pa64-linux.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41322
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 13 Apr 2001 05:06:32 +0000 (05:06 +0000)]
* pa-64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Define.
(ASM_OUTPUT_DOUBLE_INT): Format, protect macro with do..while.
(LINK_SPEC, LIB_SPEC, MD_EXEC_PREFIX, MD_STARTFILE_PREFIX,
NEW_HP_ASSEMBLER, ASM_FILE_START, OBJECT_FORMAT_ELF,
DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_FORMAT,
DWARF2_ASM_LINE_DEBUG_INFO, USE_CONST_SECTION, CONST_SECTION_ASM_OP,
CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
FINI_SECTION_ASM_OP, EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS,
READONLY_DATA_SECTION, CONST_SECTION_FUNCTION, CTORS_SECTION_FUNCTION,
DTORS_SECTION_FUNCTION, ASM_OUTPUT_SECTION_NAME, MAKE_DECL_ONE_ONLY,
UNIQUE_SECTION_P, UNIQUE_SECTION, INT_ASM_OP, ASM_OUTPUT_CONSTRUCTOR,
ASM_OUTPUT_DESTRUCTOR, TYPE_ASM_OP, SIZE_ASM_OP, ASM_WEAKEN_LABEL,
TYPE_OPERAND_FMT, ASM_DECLARE_RESULT): Move to..
* pa64-hpux.h: New file.
(ASM_FILE_START): Correct typo.
(PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
* config.gcc: Modify for above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41321
138bc75d-0d04-0410-961f-
82ee72b054a4
wehle [Fri, 13 Apr 2001 04:10:56 +0000 (04:10 +0000)]
* jump.c (jump_optimize_1): Don't delete dead stores here.
* toplev.c (rest_of_compilation): Call delete_trivially_dead_insns
prior to running jump optimize before cse2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41320
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 13 Apr 2001 02:52:24 +0000 (02:52 +0000)]
* Makefile.in (regmove.o): Depend on except.h.
* remove.c: Include it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41319
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 13 Apr 2001 02:14:11 +0000 (02:14 +0000)]
* testsuite/23_containers/set_operators.cc: Just try to compile.
Mark as XFAIL.
* testsuite/23_containers/map_operators.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41318
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Fri, 13 Apr 2001 01:42:39 +0000 (01:42 +0000)]
* objc/objc-act.c: Remove all code ifdefed with the never-used
macro OBJC_INT_SELECTORS.
* config/d30v/d30v.h: Remove commented-out ref to OBJC_INT_SELECTORS.
* tm.texi: Remove doc for OBJC_INT_SELECTORS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41317
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 13 Apr 2001 00:49:43 +0000 (00:49 +0000)]
* cp-tree.h (decl_namespace_list): New macro.
(struct saved_scope): Add decl_ns_list.
* decl.c (mark_saved_scope): Mark it.
* decl2.c: Lose static decl_namespace_list.
(init_decl2): Don't save it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41316
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 13 Apr 2001 00:12:12 +0000 (00:12 +0000)]
* config/pa/quadlib.c: Add prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41315
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 12 Apr 2001 22:31:56 +0000 (22:31 +0000)]
* cp-tree.h (warn_return_type, yylex): Delete redundant
declarations.
* decl.c (current_class_depth, global_namespace): Likewise.
* decl2.c (current_class_depth, flag_gnu_xref): Likewise
* repo.c (flag_use_repository): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41314
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 12 Apr 2001 22:27:22 +0000 (22:27 +0000)]
* bitmap.h (debug_bitmap): Delete redundant prototype.
* rtl.h (get_frame_size): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41313
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 12 Apr 2001 22:18:51 +0000 (22:18 +0000)]
* bad.c (inhibit_warnings): Delete redundant declaration.
* com.c (skip_redundant_dir_prefix): Likewise.
* com.h (mark_addressable): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41312
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 12 Apr 2001 20:46:19 +0000 (20:46 +0000)]
Fix for PR 2498, getf/stf require normalization after a cast.
* config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Simplify
to just emit an fnorm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41311
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 12 Apr 2001 18:23:09 +0000 (18:23 +0000)]
* c-common.h (truthvalue_conversion, type_for_mode,
type_for_size): Delete redundant declarations.
* c-lex.h (is_class_name): Likewise.
* c-tree.h (pedantic, convert, getdecls, gettags,
global_bindings_p, init_decl_processing, insert_block,
maybe_build_cleanup, poplevel, print_lang_decl,
print_lang_identifier, print_lang_type, pushdecl, pushlevel,
set_block, incomplete_type_error, build_function_call,
lvalue_or_else, mark_addressable): Likewise.
* expr.h (expand_tree_builtin): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41309
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 12 Apr 2001 17:05:13 +0000 (17:05 +0000)]
* invoke.texi: Document --param max-gcse-memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41308
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 12 Apr 2001 15:43:32 +0000 (15:43 +0000)]
* cp-tree.h (pedantic, convert, global_bindings_p, insert_block,
set_block, pushdecl, getdecls, gettags, init_decl_processing,
maybe_build_cleanup, copy_lang_decl, prep_stmt, lvalue_p,
lvalue_or_else, print_lang_statistics, comp_target_types,
unsigned_type, signed_type, signed_or_unsigned_type,
build_function_call, mark_addressable, incomplete_type_error):
Delete redundant declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41306
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Thu, 12 Apr 2001 15:36:24 +0000 (15:36 +0000)]
* configure.in (errno): Check for declaration.
* configure, config.in: Regenerated.
* system.h (errno): Only declare if not already done.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41305
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 12 Apr 2001 14:15:48 +0000 (14:15 +0000)]
* cp-tree.h (TYPE_LINKAGE_IDENTIFIER): New macro.
(TYPE_ANONYMOUS_P): New macro.
(TAGGED_TYPE_P): New macro.
* decl.c (check_tag_decl): Use TYPE_ANONYMOUS_P.
(grokfndecl, grokvardecl, grokdeclarator): Likewise.
* tree.c (no_linkage_helper): Likewise.
* semantics.c (begin_class_definition): Likewise.
* pt.c (convert_template_argument): Likewise.
* lex.c (check_for_missing_semicolon): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41303
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Thu, 12 Apr 2001 13:35:24 +0000 (13:35 +0000)]
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
output_file.
(dg-test): Revert rth's change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41301
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 12:28:03 +0000 (12:28 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.226.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41299
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 12 Apr 2001 09:32:50 +0000 (09:32 +0000)]
libffi:
* Makefile.am: Make a libtool convenience library.
* Makefile.in: Rebuilt.
libjava:
* java/io/File.java (normalizePath): New private method.
(File (String)): Use normalizePath().
(File (String, String)): Likewise.
* Makefile.am (libffi_files): Removed.
(libgcj.la): Link libffi as a convenience library instead of
refering to its object files directly.
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41298
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 12 Apr 2001 07:47:34 +0000 (07:47 +0000)]
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41296
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 12 Apr 2001 07:44:48 +0000 (07:44 +0000)]
cp:
* class.c (dfs_unshared_virtual_bases): New function.
(mark_primary_bases): Call it.
(check_bases): Ignore virtual bases when determining
nearly-emptiness.
testsuite:
* g++.old-deja/g++.abi/primary3.C (main): Correct expected layout.
* g++.old-deja/g++.abi/crash1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41295
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 12 Apr 2001 07:42:17 +0000 (07:42 +0000)]
cp:
* method.c (make_thunk): Clear DECL_CLONED_FUNCTION.
testsuite:
* g++.old-deja/g++.other/crash40.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41294
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 12 Apr 2001 07:16:40 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41291
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 05:25:55 +0000 (05:25 +0000)]
* recog.c (general_operand, immediate_operand,
nonmemory_operand): Require CONST_INTs to be sign-extended
values for their modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41286
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 03:41:36 +0000 (03:41 +0000)]
* expmed.c (store_bit_field): Truncate CONST_INTs.
(expand_mult_highpart, expand_divmod): Likewise.
* expr.c (convert_modes, store_field): Likewise.
* integrate.c (expand_inline_function): Use promote_mode() to
determine whether to convert_modes() an argument as signed
or unsigned.
* optabs.c (expand_binop): Get CONST_INT operands
sign-extended for their appropriate modes.
* stmt.c (emit_case_nodes): Convert node values to the
appropriate mode.
(expand_end_case): Convert minval and range to the appropriate
mode.
* unroll.c (loop_iterations): Truncate abs_diff to the mode of
the iteration variable.
* varasm.c (immed_double_const): Don't require words to be
narrower than host wide ints to properly sign-extend
CONST_INTs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41285
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 03:34:07 +0000 (03:34 +0000)]
* sh.md (builtin_setjmp_receiver): New expander.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41283
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 03:11:48 +0000 (03:11 +0000)]
* config/rs6000/rs6000.c (rs6000_emit_move): Do not
special-case HOST_BITS_PER_WIDE_INT != 32. Use same criteria
for generating CONST_INT and CONST_DOUBLE.
* config/rs6000/rs6000.c (logical_operand): CONST_INTs are
already sign-extended.
(rs6000_emit_prologue): Make register iterator signed.
(rs6000_emit_epilogue): Likewise.
* config/rs6000/rs6000.md (addsi3, adddi3): Sign-extend high
and low.
(movsf split, movdf split): Sign-extend CONST_INTs.
(movdi splits): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41282
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 03:06:00 +0000 (03:06 +0000)]
* config-lang.in (lang_dirs): Add in zlib.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41280
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 12 Apr 2001 02:59:43 +0000 (02:59 +0000)]
* config/i386/i386.md: Apply trunc_int_for_mode() to GEN_INT
operands that make it to RTL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41279
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Thu, 12 Apr 2001 02:19:48 +0000 (02:19 +0000)]
* MAINTAINERS: Add self as Darwin port maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41278
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Thu, 12 Apr 2001 02:13:00 +0000 (02:13 +0000)]
Add Darwin (Mac OS X kernel) native support.
* config.gcc (powerpc-*-darwin*): Add native bits.
* config/darwin.c: New file, generic Darwin support functions.
* config/darwin.h: New file, generic Darwin definitions.
* config/darwin-protos.h: New file, generic Darwin prototypes.
* rs6000/darwin.h: New file, Darwin for PowerPC.
* rs6000/t-darwin: New file, Darwin makefile fragment.
* rs6000/rs6000.h (OBJECT_MACHO): New macro.
(TARGET_MACHO): Ditto.
(rs6000_abi): Add ABI_DARWIN.
(RS6000_REG_SAVE): Add ABI_DARWIN case.
(RS6000_SAVE_AREA): Ditto.
(FP_ARG_MAX_REG): Ditto.
(RETURN_ADDRESS_OFFSET): Ditto.
* rs6000/rs6000.c (rs6000_legitimize_address): Add TARGET_MACHO
cases.
(rs6000_emit_move): Add ABI_DARWIN cases.
(print_operand): Ditto.
(first_reg_to_save): Ditto.
(rs6000_stack_info): Ditto, also align stack by 16 instead of 8.
(debug_stack_info): Ditto.
(rs6000_emit_prologue): Ditto.
(rs6000_emit_epilogue): Ditto.
(output_profiler_hook): Ditto.
(output_function_profiler): Ditto.
(rs6000_add_gc_roots): Call machopic_add_gc_roots if TARGET_MACHO.
(output_mi_thunk): Add TARGET_MACHO case.
(add_compiler_stub): Ditto.
(output_compiler_stub): Ditto.
(no_previous_def): Ditto.
(output_call): Ditto.
(machopic_output_stub): Ditto.
(rs6000_machopic_legitimize_pic_address): Ditto.
(toc_section): Ditto.
* rs6000/rs6000.md (addsi3_high): New TARGET_MACHO pattern.
(macho_high): Ditto.
(macho_low): Ditto.
(movsi_low): Ditto.
(load_macho_picbase): Ditto.
(call): Add TARGET_MACHO case to modify function.
(call_value): Ditto.
(call_nonlocal_sysv): Add ABI_DARWIN case.
(call_value_nonlocal_sysv): Ditto.
* rs6000/rs6000-protos.h (rs6000_machopic_legitimize_pic_address):
Add prototype.
(machopic_output_stub): Ditto.
* ginclude/stddef.h: Test _BSD_WCHAR_T_DEFINED_.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41277
138bc75d-0d04-0410-961f-
82ee72b054a4