hubicka [Wed, 16 May 2001 18:35:08 +0000 (18:35 +0000)]
* gcc.c-torture/compile/
20010516-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42161
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 16 May 2001 17:58:10 +0000 (17:58 +0000)]
* stmt.c (expand_asm_operands): Be able to offload addressof
expression to memory. (PR optimization/185)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42160
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 16 May 2001 16:54:12 +0000 (16:54 +0000)]
* combine.c (combine_simplify_rtx): Set op0_mode to VOIDmode after
applying distributive law.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42159
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 16 May 2001 16:08:41 +0000 (16:08 +0000)]
* pa-hpux10.h (THREAD_MODEL_SPEC): Define.
* gthr-dce.h (UNUSED): Attribute unused macro.
(__gthread_key_dtor): Make arguments UNUSED.
(__gthread_key_delete): Revise for compatibility with DRAFT4
implementation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42157
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 16 May 2001 15:34:46 +0000 (15:34 +0000)]
* java/text/SimpleDateFormat.java (parse): Handle non-dst time
zones.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42156
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Wed, 16 May 2001 14:57:06 +0000 (14:57 +0000)]
* doc/install.texi: Update AIX information.
* README.RS6000: Remove obsolete file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42154
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 16 May 2001 13:53:43 +0000 (13:53 +0000)]
Revert XFAIL removal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42153
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 16 May 2001 12:23:30 +0000 (12:23 +0000)]
* gcc.c (give_switch): Don't write before start of string.
Always append suffix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42152
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Wed, 16 May 2001 10:26:52 +0000 (10:26 +0000)]
* libI77/Makefile.in (endfile.o): Add dependency on config.h.
* libI77/endfile.c: Include config.h and sys/types for off_t.
* libI77/config.h.in: New file.
* libI77/configure.in: Add test for off_t, create config.h file.
* libI77/configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42148
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 16 May 2001 09:38:47 +0000 (09:38 +0000)]
* cpplex.c (_cpp_lex_token, '/' case): Comments can't appear
after stage3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42144
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 16 May 2001 09:37:21 +0000 (09:37 +0000)]
cp:
* spew.c (read_token): Call yyerror on all unexpected tokens.
testsuite:
* g++.old-deja/g++.other/crash41.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42143
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 16 May 2001 09:34:24 +0000 (09:34 +0000)]
cp:
* init.c (member_init_ok_or_else): Take a tree rather than
string for name.
(expand_member_init): Adjust.
testsuite:
* g++.pt/inherit2.C: Remove XFAIL.
* g++.pt/crash66.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42142
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 16 May 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42139
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 16 May 2001 06:44:48 +0000 (06:44 +0000)]
2001-05-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* README.ALTOS: Remove obsolete file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42137
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 16 May 2001 06:42:06 +0000 (06:42 +0000)]
* c-lex.h (save_and_forget_protocol_qualifiers,
forget_protocol_qualifiers, remember_protocol_qualifiers):
Remove deleted functions' prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42135
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 16 May 2001 06:41:10 +0000 (06:41 +0000)]
2000-05-02 Jeff Sturm <jsturm@one-point.com>
* expr.c (build_class_init): Move MODIFY_EXPR
outside of COND_EXPR. Remove variable `call'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42134
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 16 May 2001 06:34:34 +0000 (06:34 +0000)]
* c-parse.in (methodtype): New production.
(methoddef, methodproto): Collapse separate '-' and '+'
handlers into 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42133
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 16 May 2001 06:22:15 +0000 (06:22 +0000)]
* c-common.h (RID_FIRST_PQ): New.
* c-parse.in (objc_pq_context): New.
(objc parser): Set objc_pq_context rather than calling
remember_protocol_qualifiers and forget_protocol_qualifiers.
Don't call save_and_forget_protocol_qualifiers.
(yylexname): Handle objc protocol qualifiers here.
* stringpool.c (struct str_header): Replace with sp_hashnode.
(SP_EMPTY, SP_LEN, SP_TREE, SP_STR, SP_VALID): New.
(alloc_string): Rename alloc_ident. Use the SP_ accessors.
Allocate an IDENTIFIER_NODE for each identifier.
(FORALL_STRINGS, set_identifier): Delete.
(FORALL_IDS, expand_string_table, stringpool_statistics): Update.
(ggc_alloc_string): Use an obstack.
(get_identifier, maybe_get_identifier, mark_string_hash): Update.
* tree.h: Update comments.
(set_identifier): Delete.
* objc/objc-act.c (N_PQ, saved_pq, saved_not_pq,
save_and_forget_protocol_qualifiers, forget_protocol_qualifiers,
remember_protocol_qualifiers): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42132
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 16 May 2001 04:12:33 +0000 (04:12 +0000)]
* flow.c (life_analysis): After life analysis is complete, do
an optional scan over insns looking for REG_LABEL notes that
reference a deleted label.
(propagate_block_delete_insn): Verify INOTE is a CODE_LABEL
before peeking at LABEL_NUSES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42131
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 16 May 2001 03:08:28 +0000 (03:08 +0000)]
* unwind-sjlj.c (_Unwind_GetDataRelBase): New.
(_Unwind_GetTextRelBase): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42129
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 16 May 2001 02:03:30 +0000 (02:03 +0000)]
001-05-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite_flags.in (query): Add backwards, ext directories.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42127
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 16 May 2001 01:59:01 +0000 (01:59 +0000)]
2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
* g++.old-deja/g++.robertl/eb27.C: Convert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42126
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 16 May 2001 01:11:20 +0000 (01:11 +0000)]
* config/sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
* porting.texi: Correct documentation about handling
_LARRGEFILE_SOURCE and its ilk.
* config/os/solaris/solaris2.5/bits/os_defines.h: Remove
definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
__EXTENSIONS__.
* config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42125
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 15 May 2001 21:44:24 +0000 (21:44 +0000)]
* java/util/GregorianCalendar.java (computeTime): Only call
getTimeZone() once.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42121
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 15 May 2001 21:24:41 +0000 (21:24 +0000)]
* libI77/endfile.c (t_runc): Add cast to help case where
ftruncate() prototype is somehow missing even though autoconf
test found it properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42120
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Tue, 15 May 2001 20:46:50 +0000 (20:46 +0000)]
2001-05-15 Zack Weinberg <zackw@stanford.edu>
* testsuite/21_strings/inserters_extractors.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/stringstream.cc:
Replace multi-line string constants with C89-style
concatenated string constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42116
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 15 May 2001 19:54:53 +0000 (19:54 +0000)]
* objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
so that CHOOSE_SECTION gets used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42114
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 15 May 2001 19:50:49 +0000 (19:50 +0000)]
* config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
TARGET_RELOCATABLE like flag_pic for now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42113
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 15 May 2001 19:29:44 +0000 (19:29 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42112
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 15 May 2001 19:27:13 +0000 (19:27 +0000)]
* rs6000.md (movdi splitter): Sign extend more efficiently.
* rs6000.c (reg_or_arith_cint_operand): Redefine 64-bit constant
to "long long" valid on 32-bit and 64-bit hosts.
(logical_operand): Cast trunc_int_for_mode rturn value.
(rs6000_emit_move): Shift macro to encapsulate variable.
(rs6000_va_start): Use HOST_WIDE_INT_PRINT_DEC.
(rs6000_emit_{prologue,epilogue}): EH regno is unsigned but
plus_constant requires signed argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42111
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 15 May 2001 18:20:57 +0000 (18:20 +0000)]
* class.c (build_utf8_ref): Don't generate identifier based on
utf8const contents.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42110
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 15 May 2001 16:29:06 +0000 (16:29 +0000)]
* gthr-posix.h: Make additional pthread-* functions weak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42107
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 15 May 2001 11:55:42 +0000 (11:55 +0000)]
* recog.c (apply_change_group): Avoid unneeded validating.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42106
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 15 May 2001 07:55:53 +0000 (07:55 +0000)]
Add new test - do not warn about (non-)redundant friend declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42105
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 15 May 2001 07:39:52 +0000 (07:39 +0000)]
Move ChangeLog entry to correct file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42104
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 15 May 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42103
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Tue, 15 May 2001 04:58:07 +0000 (04:58 +0000)]
* gcc_update (touch_files): Enhance make portability.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42100
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 15 May 2001 04:26:33 +0000 (04:26 +0000)]
* rs6000.c (num_insns_constant_wide): Constants are sign-extended.
(num_insns_constant): CONST_INT can be 64-bits.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42099
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 15 May 2001 02:45:32 +0000 (02:45 +0000)]
* gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42098
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 15 May 2001 02:17:14 +0000 (02:17 +0000)]
* config/darwin.h (LIB_SPEC): Just use -lSystem.
(LIBGCC_SPEC): Don't define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42094
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 15 May 2001 01:45:10 +0000 (01:45 +0000)]
* configure.in (gcc_cv_as_eh_frame): New test.
* config.in, configure: Rebuild.
* gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42092
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Mon, 14 May 2001 19:57:52 +0000 (19:57 +0000)]
* gcc_update (touch_files): Use a Makefile to touch files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42088
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Mon, 14 May 2001 17:47:07 +0000 (17:47 +0000)]
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
extended precision divide.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42079
138bc75d-0d04-0410-961f-
82ee72b054a4
amacleod [Mon, 14 May 2001 17:44:56 +0000 (17:44 +0000)]
2001-05-14 Andrew MacLeod <amacleod@redhat.com>
* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
for RETURNS as well.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42077
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 14 May 2001 17:40:29 +0000 (17:40 +0000)]
* java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and
ZONE_OFFSET just before computing the time.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42076
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 14 May 2001 17:16:58 +0000 (17:16 +0000)]
* mknumeric_limits: Build with -fno-exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42075
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Mon, 14 May 2001 17:09:34 +0000 (17:09 +0000)]
Suppress warning about duplicate decls if the first decl is a friend.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42073
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 14 May 2001 15:36:17 +0000 (15:36 +0000)]
* i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
(CPP_CPU??_SIZE_TYPE): New.
(CPP_CPU??_SPEC, CPP_CPUCOMMON_SPEC): Break out from...
(CPP_CPU_SPEC): ... here; support choosing of CPU.
(EXTRA_SPECS): Add cpp_cpu??, cpp_cpu??sizet, cpp_cpucommon.
(MAX_LONG_TYPE_SIZE, MAX_BITS_PER_WORD): Define to 32 for 32bit-only
compiler.
* i386.c (override_options): Add sorry about not suported modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42070
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 14 May 2001 14:54:53 +0000 (14:54 +0000)]
* config/pa/som.h (NM_FLAGS): Remove.
(ASM_OUTPUT_FUNCTION_PREFIX): No longer truncate subspace names.
(ASM_OUTPUT_SECTION_NAME): Remove.
(MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42068
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 14 May 2001 07:56:57 +0000 (07:56 +0000)]
* regrename.c (regrename_optimize): Do not rename registers to
leaf registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42066
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 14 May 2001 07:49:11 +0000 (07:49 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42065
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 14 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42063
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Mon, 14 May 2001 05:11:38 +0000 (05:11 +0000)]
* rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
contain MEMs. Remove useless distinction about clobbering
registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42060
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 14 May 2001 03:40:04 +0000 (03:40 +0000)]
* config/rs6000/rs6000.h (EXCEPTION_SECTION): Move to...
* config/rs6000/aix.h (EXCEPTION_SECTION): ... here.
* config/rs6000/sysv4.h (CONST_SECTION_ASM_OP): Delete.
(ASM_PREFERRED_EH_DATA_FORMAT): Define.
(EXCEPTION_SECTION): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42058
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 14 May 2001 02:46:22 +0000 (02:46 +0000)]
* libgcc2.c, libgcc2.h: Restore __eprintf. Label as used for
binary backward compat only.
* Makefile.in (LIB2FUNCS_ST): New. Put _eprintf here, not
in LIB2FUNCS. Pass it to mklibgcc.
* mklibgcc.in: Handle LIB2FUNCS_ST.
* Makefile.in (installdirs): Don't create $(gcc_tooldir).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42057
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 14 May 2001 01:27:23 +0000 (01:27 +0000)]
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
* lib/g++.exp: Use testsuite_flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42056
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 14 May 2001 01:15:36 +0000 (01:15 +0000)]
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
Switch over to new harness.
* testsuite_flags.in: Tweaks via Gaby.
* testsuite/Makefile.am: Change tool to libstdc++-v3.
(EXPECT): Quote directly.
(RUNTEST): Same.
* configure.in: Output testsuite_flags.
* acinclude.m4: Substitute src, bld, and prefix dirs.
Remove glibcpp_expect, glibcpp_runtestflags.
* Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
* mkcheck.in: Port to new interface.
* aclocal.m4: Regerate.
* configure: Regnerate.
* Makefile.in: Regnerate.
* */Makefile.in: Regenerate.
* tests_flags.in: Remove.
* testsuite/lib/libstdc++.exp: Remove.
* testsuite/libstdc++.tests/tests.exp: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42055
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Mon, 14 May 2001 01:07:38 +0000 (01:07 +0000)]
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
Switch over to new harness.
* testsuite_flags.in: Tweaks via Gaby.
* testsuite/Makefile.am: Change tool to libstdc++-v3.
(EXPECT): Quote directly.
(RUNTEST): Same.
* configure.in: Output testsuite_flags.
* acinclude.m4: Substitute src, bld, and prefix dirs.
Remove glibcpp_expect, glibcpp_runtestflags.
* Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
* mkcheck.in: Port to new interface.
* aclocal.m4: Regerate.
* configure: Regnerate.
* Makefile.in: Regnerate.
* */Makefile.in: Regenerate.
* tests_flags.in: Remove.
* testsuite/lib/libstdc++.exp: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42054
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 13 May 2001 22:31:24 +0000 (22:31 +0000)]
* acinclude.m4: Use ../libtool.m4.
* configure.in: Use ${zlib_basedir}/.. for AC_CONFIG_AUX_DIR.
* acinclude.m4, configure, Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42052
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 13 May 2001 22:17:11 +0000 (22:17 +0000)]
* configure.target: Remove detection of AIX pthread multilib, now
obtained from `gcc -v'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42049
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 13 May 2001 22:17:02 +0000 (22:17 +0000)]
* tm.texi (THREAD_MODEL_SPEC): Document it.
* gcc.c (main): Use it.
* config/rs6000/aix43.h (THREAD_MODEL_SPEC): Define it.
* config/rs6000/aix51.h (THREAD_MODEL_SPEC): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42048
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Sun, 13 May 2001 21:16:58 +0000 (21:16 +0000)]
2001-05-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* rtl.h (SYMBOL_REF_WEAK): New macro.
* rtlanal.h (rtx_addr_can_trap): Use it, a weak SYMBOL_REF can trap.
* varasm.c (make_decl_rtl): Mark SYMBOL_REF weak if necessary.
* rtl.texi (SYMBOL_REF_WEAK): Document it.
* gcc.texi: Remove wrong description.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42046
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 13 May 2001 19:47:20 +0000 (19:47 +0000)]
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42044
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 13 May 2001 19:37:13 +0000 (19:37 +0000)]
* Makefile.in (STAMP): New macro.
Replace all uses of `touch' with $(STAMP).
* fixinc/Makefile.in: Likewise.
* Make-lang.in: Replace all uses of `touch' with $(STAMP).
* Makefile.in.in (STAMP): New macro.
Replace all uses of `touch' with $(STAMP).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42041
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 13 May 2001 13:55:05 +0000 (13:55 +0000)]
* ChangeLog: Add omitted changelog.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42039
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 13 May 2001 11:25:55 +0000 (11:25 +0000)]
* configure.in: ldopen is never in -lexc, so don't test for it.
Add test for exc_resume in -lexc for Ada.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42037
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Sun, 13 May 2001 11:08:57 +0000 (11:08 +0000)]
2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
* mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
size. Add hpux case for HP size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42036
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 13 May 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42034
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 13 May 2001 04:59:33 +0000 (04:59 +0000)]
* java-tree.def (JAVA_EXC_OBJ_EXPR): New.
* expr.c (java_lang_expand_expr): Expand it.
(process_jvm_instruction): Build JAVA_EXC_OBJ_EXPR instead of
calling build_exception_object_ref.
* parse.y (catch_clause_parameter): Likewise.
(build_dot_class_method): Likewise.
(try_reference_assignconv): Likewise.
* check-init.c (check_init): Check JAVA_EXC_OBJ_EXPR not EXC_PTR_EXPR.
* jcf-write.c (generate_bytecode_insns): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42030
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 13 May 2001 04:34:20 +0000 (04:34 +0000)]
Fix date last entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42029
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 13 May 2001 04:30:09 +0000 (04:30 +0000)]
* dwarf2asm.c (size_of_encoded_value): New function.
* dwarf2asm.h: Declare it.
* except.c (output_function_exception_table): Align the TType
array only as wide as the encoding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42028
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 13 May 2001 01:28:18 +0000 (01:28 +0000)]
gcc/cp:
* except.c (choose_personality_routine): Export. Add
explanatory comment. Take an enum languages, not a boolean.
(initialize_handler_parm): Adjust to match.
* cp-tree.h: Prototype choose_personality_routine.
* lex.c (handle_pragma_java_exceptions): New function.
(init_cp_pragma): Register #pragma GCC java_exceptions.
gcc:
* extend.texi: Document #pragma GCC java_exceptions.
libjava:
* Makefile.am (libgcj_la_OBJECTS): Remove libsupc++convenience.la.
* Makefile.in: Regenerate (by hand).
* include/jvm.h: Add #pragma GCC java_exceptions at top of file.
* doc/cni.sgml: Document #pragma GCC java_exceptions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42027
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 18:42:45 +0000 (18:42 +0000)]
Add per-function commentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42003
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 17:58:41 +0000 (17:58 +0000)]
* c-parse.in (bison parser, init_reswords): Remove uses of
doing_objc_thang.
* c-tree.h (doing_objc_thang): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42000
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 12 May 2001 17:49:16 +0000 (17:49 +0000)]
2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite_flags.in: New, simplified interface.
* testsuite/lib/libstdc++-v3-dg.exp: New test harness.
* testsuite/libstdc++-v3.dg: Add.
* testsuite/libstdc++-v3.dg/dg.exp: Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41999
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 12 May 2001 17:45:46 +0000 (17:45 +0000)]
2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite_flags.in: New, simplified interface.
* testsuite/lib/libstdc++-v3-dg.exp: New test harness.
* testsuite/libstdc++-v3.dg: Add.
* testsuite/libstdc++-v3.dg/dg.exp: Add.
* testsuite/Makefile.am: Change tool to libstdc++-v3.
* configure.in: Output testsuite_flags.
* acinclude.m4: Substitute src, bld, and prefix dirs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41998
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 12 May 2001 16:53:08 +0000 (16:53 +0000)]
2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
* testsuite/config/default.exp: Update bugs email address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41997
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 16:16:23 +0000 (16:16 +0000)]
* dwarfout.c (dwarfout_init): Add cast.
* sched-deps.c (sched_analyze_insn): Remove unused vars.
* unwind-dw2-fde.c (_Unwind_Find_FDE): Flag unused parameter so.
cp:
* method.c (build_mangled_C99_name): Remove unused prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41996
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 16:02:01 +0000 (16:02 +0000)]
* cpplex.c (_cpp_lex_token): Ensure we warn at most once
about files not ending in newlines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41995
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 14:58:47 +0000 (14:58 +0000)]
* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41993
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 10:41:31 +0000 (10:41 +0000)]
* cp-tree.h (ptrmemfunc_vbit_where_t): Declare type.
* typeck.c (get_member_function_from_ptrfunc,
build_ptrmemfunc, expand_ptrmemfunc_cst): Take
TARGET_PTRMEMFUNC_VBIT_LOCATION into account.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41990
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 10:41:21 +0000 (10:41 +0000)]
* defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41989
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 12 May 2001 10:37:48 +0000 (10:37 +0000)]
Reverted Geoff Keating's 2001-05-03's patch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41988
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 12 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41986
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 12 May 2001 06:36:57 +0000 (06:36 +0000)]
* cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41985
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:25:03 +0000 (06:25 +0000)]
* configure.in (ia64-*): Don't set SYSDEP_SOURCES.
* java/lang/natThrowable.cc: Don't use __ia64_backtrace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41984
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:17:31 +0000 (06:17 +0000)]
* exception.cc: Include unwind-pe.h. Remove all pointer
encoding logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41983
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:16:21 +0000 (06:16 +0000)]
* libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
all pointer encoding logic.
(struct lsda_header_info): Add ttype_base.
(get_ttype_entry): Use it instead of a context.
(check_exception_spec): Likewise.
(PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
the c++ exception header for __cxa_call_unexpected.
(__cxa_call_unexpected): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41982
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 06:03:20 +0000 (06:03 +0000)]
* defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
* dwarf2asm.c (dw2_force_const_mem, dw2_output_indirect_constant_1,
dw2_output_indirect_constants, dw2_asm_output_encoded_addr_rtx): New.
* dwarf2asm.h (dw2_asm_output_encoded_addr_rtx): Prototype.
(dw2_output_indirect_constants): Prototype.
* dwarf2out.c (dwarf2out_begin_prologue): Generate
current_function_func_begin_label if we'll need it for EH. Exit
early for IA64_UNWIND_INFO.
* except.c: Get DW_EH_PE_* defines from dwarf2.h.
(eh_data_format_name): Update for indirect references.
(output_function_exception_table): Care for IA64_UNWIND_INFO.
Handle ASM_PREFERRED_EH_DATA_FORMAT.
* except.h (MUST_USE_SJLJ_EXCEPTIONS): IA64_UNWIND_INFO needn't
define HAVE_eh_return etc.
* final.c (final_start_function): Always call dwarf2out_begin_prologue.
(final_end_function): Don't call output_function_exception_table.
* toplev.c (compile_file): Call dw2_output_indirect_constants.
(rest_of_compilation): Invoke output_function_exception_table
for ia64 before assemble_end_function.
* tm.texi (ASM_PREFERRED_EH_DATA_FORMAT): Document.
(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): Document.
* unwind-dw2.c (_Unwind_GetTextRelBase, _Unwind_GetDataRelBase): New.
* unwind.h: Declare them.
* libgcc-std.ver: Export them.
* unwind-pe.h: New file.
* config/alpha/elf.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
* config/ia64/fde-glibc.c: Use "struct unw_table_entry"
instead of "fde".
(find_fde_for_dso): Extract DT_PLTGOT.
(_Unwind_FindTableEntry): Rename from __ia64_find_fde; return
the segment and gp as well.
* config/ia64/frame-ia64.c: Remove file.
* config/ia64/frame-ia64.h: Remove file.
* config/ia64/unwind-ia64.c: New file.
* config/ia64/unwind-ia64.h: New file.
* config/ia64/ia64.h (ASM_OUTPUT_EH_CHAR): Remove.
(ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT): Remove.
(ASM_OUTPUT_EH_DOUBLE_INT): Remove.
(ASM_PREFERRED_EH_DATA_FORMAT): New.
(ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX): New.
(IA64_UNWIND_INFO): Re-enable.
(HANDLER_SECTION): Remove.
(EH_RETURN_DATA_REGNO): New.
* config/ia64/ia64.md (exception_receiver): Remove.
* config/ia64/t-glibc (LIB2ADDEH): Re-enable.
* config/ia64/t-ia64 (LIB2ADDEH): Re-enable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41981
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 12 May 2001 05:21:09 +0000 (05:21 +0000)]
* config/ia64/ia64.c (group_barrier_needed_p): Don't allow
calls and jumps to be bundled together.
(ia64_reorg): Emit a break after a noreturn call that ends
a function.
* config/ia64/ia64.md (break_f): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41979
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 11 May 2001 23:48:21 +0000 (23:48 +0000)]
* c-lex.c (lex_charconst): Convert into a simple wrapper
around cpp_interpret_charconst, to which most of the code
body is moved.
* cppexp.c (MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE,
MAX_LONG_TYPE_SIZE, MAX_INT_TYPE_SIZE, MAX_CHAR_TYPE_MASK,
MAX_WCHAR_TYPE_MASK, parse_escape, parse_charconst): Remove.
(lex): Use cpp_interpret_charconst.
* cpplex.c (parse_escape, read_ucs, cpp_interpret_charconst,
hex_digit_value): New functions.
(MAX_CHAR_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): New macros.
* cpplib.h (cpp_interpret_charconst): New prototype.
* Makefile.in: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41978
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Fri, 11 May 2001 22:10:54 +0000 (22:10 +0000)]
* doc/install.texi: New file. Converted to texinfo from the HTML
documentation in wwwdocs/htdocs/install.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41977
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 11 May 2001 22:07:58 +0000 (22:07 +0000)]
* gcse.c (insert_insn_end_bb): Do not search for assignments to
non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41976
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 11 May 2001 22:00:23 +0000 (22:00 +0000)]
* toplev.c (compile_file): Move comment for opening output
file to just before the code that opens the output file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41975
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 11 May 2001 20:08:04 +0000 (20:08 +0000)]
* regmove.c (regmove_optimize): Suppress the optimization for
unchanging destination register. Add comment above function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41974
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 11 May 2001 17:03:02 +0000 (17:03 +0000)]
* Makefile.in: Exterminate all references to assert.h.
* cross-make: Likewise.
* assert.h: Delete.
* configure.in: Correct commentary.
* configure: Regenerate.
* po/POTFILES.in: Remove assert.h.
* libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
Remove __eprintf.
* config/t-freebsd, config/t-linux, config/t-linux-aout,
config/t-netbsd, config/t-rtems, config/x-linux,
config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
No need to override INSTALL_ASSERT_H.
* fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
fixinc/fixincl.sh: Don't install assert.h into objdir/include.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41972
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 11 May 2001 16:56:29 +0000 (16:56 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Don't run ieee tests on VAX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41971
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 11 May 2001 16:20:54 +0000 (16:20 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41968
138bc75d-0d04-0410-961f-
82ee72b054a4
grahams [Fri, 11 May 2001 16:15:49 +0000 (16:15 +0000)]
* combine.c (simplify_comparison): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41967
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 11 May 2001 15:54:19 +0000 (15:54 +0000)]
* loop.h (struct movables): Remove `num'.
* loop.c (scan_loop): Don't set it. Use count_insns_in_loop.
Adjust call to strength_reduce.
(num_unmoved_movables): New function.
(move_movables): Don't set movables->num.
(strength_reduce): Compute the number of instructions in the loop
here, rather than in the caller.
(check_dbra_loop): Always clear reversible_mem_store if there
are any memory sets.
(loop_regs_scan): Don't count instructions here.
(count_insn_in_loop): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41966
138bc75d-0d04-0410-961f-
82ee72b054a4