]> gcc.gnu.org Git - gcc.git/log
gcc.git
23 years agoc-lex.h (save_and_forget_protocol_qualifiers, [...]): Remove deleted functions' proto...
Neil Booth [Wed, 16 May 2001 06:42:06 +0000 (06:42 +0000)]
c-lex.h (save_and_forget_protocol_qualifiers, [...]): Remove deleted functions' prototypes.

* c-lex.h (save_and_forget_protocol_qualifiers,
forget_protocol_qualifiers, remember_protocol_qualifiers):
Remove deleted functions' prototypes.

From-SVN: r42135

23 years agoexpr.c (build_class_init): Move MODIFY_EXPR outside of COND_EXPR.
Jeff Sturm [Wed, 16 May 2001 06:41:10 +0000 (06:41 +0000)]
expr.c (build_class_init): Move MODIFY_EXPR outside of COND_EXPR.

2000-05-02  Jeff Sturm  <jsturm@one-point.com>

* expr.c (build_class_init): Move MODIFY_EXPR
outside of COND_EXPR.  Remove variable `call'.

From-SVN: r42134

23 years agoc-parse.in (methodtype): New production.
Neil Booth [Wed, 16 May 2001 06:34:34 +0000 (06:34 +0000)]
c-parse.in (methodtype): New production.

* c-parse.in (methodtype): New production.
(methoddef, methodproto): Collapse separate '-' and '+'
handlers into 1.

From-SVN: r42133

23 years agoc-common.h (RID_FIRST_PQ): New.
Neil Booth [Wed, 16 May 2001 06:22:15 +0000 (06:22 +0000)]
c-common.h (RID_FIRST_PQ): New.

* 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.

From-SVN: r42132

23 years agoflow.c (life_analysis): After life analysis is complete...
Jeffrey A Law [Wed, 16 May 2001 04:12:33 +0000 (04:12 +0000)]
flow.c (life_analysis): After life analysis is complete...

        * 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.

From-SVN: r42131

23 years agounwind-sjlj.c (_Unwind_GetDataRelBase): New.
Richard Henderson [Wed, 16 May 2001 03:08:28 +0000 (20:08 -0700)]
unwind-sjlj.c (_Unwind_GetDataRelBase): New.

        * unwind-sjlj.c (_Unwind_GetDataRelBase): New.
        (_Unwind_GetTextRelBase): New.

From-SVN: r42129

23 years ago001-05-15 Benjamin Kosnik <bkoz@redhat.com>
Benjamin Kosnik [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.

From-SVN: r42127

23 years agoeb27.C: Convert.
Benjamin Kosnik [Wed, 16 May 2001 01:59:01 +0000 (01:59 +0000)]
eb27.C: Convert.

2001-05-15  Benjamin Kosnik  <bkoz@redhat.com>

* g++.old-deja/g++.robertl/eb27.C: Convert.

From-SVN: r42126

23 years agosol2.h (CPLUSPLUS_CPP_SPEC): Define.
Mark Mitchell [Wed, 16 May 2001 01:11:20 +0000 (01:11 +0000)]
sol2.h (CPLUSPLUS_CPP_SPEC): Define.

* 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.

From-SVN: r42125

23 years agoGregorianCalendar.java (computeTime): Only call getTimeZone() once.
Tom Tromey [Tue, 15 May 2001 21:44:24 +0000 (21:44 +0000)]
GregorianCalendar.java (computeTime): Only call getTimeZone() once.

* java/util/GregorianCalendar.java (computeTime): Only call
getTimeZone() once.

From-SVN: r42121

23 years agoendfile.c (t_runc): Add cast to help case where ftruncate() prototype is somehow...
Loren J. Rittle [Tue, 15 May 2001 21:24:41 +0000 (21:24 +0000)]
endfile.c (t_runc): Add cast to help case where ftruncate() prototype is somehow missing even...

* libI77/endfile.c (t_runc): Add cast to help case where
ftruncate() prototype is somehow missing even though autoconf
test found it properly.

From-SVN: r42120

23 years agoinserters_extractors.cc, [...]: Replace multi-line string constants with C89-style...
Zack Weinberg [Tue, 15 May 2001 20:46:50 +0000 (20:46 +0000)]
inserters_extractors.cc, [...]: Replace multi-line string constants with C89-style concatenated string constants.

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.

From-SVN: r42116

23 years agoobjc-act.c (handle_class_ref): Use rest_of_decl_compilation so that CHOOSE_SECTION...
Geoffrey Keating [Tue, 15 May 2001 19:54:53 +0000 (19:54 +0000)]
objc-act.c (handle_class_ref): Use rest_of_decl_compilation so that CHOOSE_SECTION gets used.

* objc/objc-act.c (handle_class_ref): Use rest_of_decl_compilation
so that CHOOSE_SECTION gets used.

From-SVN: r42114

23 years agosysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like flag_pic for...
Geoffrey Keating [Tue, 15 May 2001 19:50:49 +0000 (19:50 +0000)]
sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat TARGET_RELOCATABLE like flag_pic for now.

* config/rs6000/sysv4.h (ASM_PREFERRED_EH_DATA_FORMAT): Treat
TARGET_RELOCATABLE like flag_pic for now.

From-SVN: r42113

23 years agofix typo
David Edelsohn [Tue, 15 May 2001 19:29:44 +0000 (15:29 -0400)]
fix typo

From-SVN: r42112

23 years agors6000.md (movdi splitter): Sign extend more efficiently.
David Edelsohn [Tue, 15 May 2001 19:27:13 +0000 (19:27 +0000)]
rs6000.md (movdi splitter): Sign extend more efficiently.

* 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.

From-SVN: r42111

23 years agoclass.c (build_utf8_ref): Don't generate identifier based on utf8const contents.
Tom 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.

* class.c (build_utf8_ref): Don't generate identifier based on
utf8const contents.

From-SVN: r42110

23 years ago* gthr-posix.h: Make additional pthread-* functions weak.
Loren J. Rittle [Tue, 15 May 2001 16:29:06 +0000 (16:29 +0000)]
* gthr-posix.h: Make additional pthread-* functions weak.

From-SVN: r42107

23 years ago* recog.c (apply_change_group): Avoid unneeded validating.
Jan Hubicka [Tue, 15 May 2001 11:55:42 +0000 (13:55 +0200)]
* recog.c (apply_change_group): Avoid unneeded validating.

From-SVN: r42106

23 years agoAdd new test - do not warn about (non-)redundant friend declaration.
Nick Clifton [Tue, 15 May 2001 07:55:53 +0000 (07:55 +0000)]
Add new test - do not warn about (non-)redundant friend declaration.

From-SVN: r42105

23 years agoMove ChangeLog entry to correct file
Nick Clifton [Tue, 15 May 2001 07:39:52 +0000 (07:39 +0000)]
Move ChangeLog entry to correct file

From-SVN: r42104

23 years agoDaily bump.
GCC Administrator [Tue, 15 May 2001 07:16:42 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42103

23 years ago* gcc_update (touch_files): Enhance make portability.
Loren J. Rittle [Tue, 15 May 2001 04:58:07 +0000 (04:58 +0000)]
* gcc_update (touch_files): Enhance make portability.

From-SVN: r42100

23 years agors6000.c (num_insns_constant_wide): Constants are sign-extended.
David Edelsohn [Tue, 15 May 2001 04:26:33 +0000 (04:26 +0000)]
rs6000.c (num_insns_constant_wide): Constants are sign-extended.

        * rs6000.c (num_insns_constant_wide): Constants are sign-extended.
        (num_insns_constant): CONST_INT can be 64-bits.

From-SVN: r42099

23 years ago* gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
Mark Mitchell (admin) [Tue, 15 May 2001 02:45:32 +0000 (04:45 +0200)]
* gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.

From-SVN: r42098

23 years agodarwin.h (LIB_SPEC): Just use -lSystem.
Stan Shebs [Tue, 15 May 2001 02:17:14 +0000 (02:17 +0000)]
darwin.h (LIB_SPEC): Just use -lSystem.

        * config/darwin.h (LIB_SPEC): Just use -lSystem.
        (LIBGCC_SPEC): Don't define.

From-SVN: r42094

23 years agoconfigure.in (gcc_cv_as_eh_frame): New test.
Richard Henderson [Tue, 15 May 2001 01:45:10 +0000 (18:45 -0700)]
configure.in (gcc_cv_as_eh_frame): New test.

        * configure.in (gcc_cv_as_eh_frame): New test.
        * config.in, configure: Rebuild.
        * gcc.c (init_spec): Honor USE_AS_TRADITIONAL_FORMAT.

From-SVN: r42092

23 years ago* gcc_update (touch_files): Use a Makefile to touch files.
Alexandre Oliva [Mon, 14 May 2001 19:57:52 +0000 (19:57 +0000)]
* gcc_update (touch_files): Use a Makefile to touch files.

From-SVN: r42088

23 years agolib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide.
Andrew MacLeod [Mon, 14 May 2001 17:47:07 +0000 (17:47 +0000)]
lib1funcs.asm (__divtf3): Fix incorrect bits in extended precision divide.

2001-05-14  Andrew MacLeod  <amacleod@redhat.com>

* config/ia64/lib1funcs.asm (__divtf3): Fix incorrect bits in
extended precision divide.

From-SVN: r42079

23 years agoia64.c (rtx_needs_barrier): Call rtx_needs_barrier for RETURNS as well.
Andrew MacLeod [Mon, 14 May 2001 17:44:56 +0000 (17:44 +0000)]
ia64.c (rtx_needs_barrier): Call rtx_needs_barrier for RETURNS as well.

2001-05-14  Andrew MacLeod  <amacleod@redhat.com>

* config/ia64/ia64.c (rtx_needs_barrier): Call rtx_needs_barrier
for RETURNS as well.

From-SVN: r42077

23 years agoSimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before computing...
Tom Tromey [Mon, 14 May 2001 17:40:29 +0000 (17:40 +0000)]
SimpleDateFormat.java (parse): Clear DST_OFFSET and ZONE_OFFSET just before computing the time.

* java/text/SimpleDateFormat.java (parse): Clear DST_OFFSET and
ZONE_OFFSET just before computing the time.

From-SVN: r42076

23 years ago* mknumeric_limits: Build with -fno-exceptions.
Richard Henderson [Mon, 14 May 2001 17:16:58 +0000 (10:16 -0700)]
* mknumeric_limits: Build with -fno-exceptions.

From-SVN: r42075

23 years agoSuppress warning about duplicate decls if the first decl is a friend.
Nick Clifton [Mon, 14 May 2001 17:09:34 +0000 (17:09 +0000)]
Suppress warning about duplicate decls if the first decl is a friend.

From-SVN: r42073

23 years agoi386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH
Jan Hubicka [Mon, 14 May 2001 15:36:17 +0000 (17:36 +0200)]
i386.h (TARGET_64BIT): Define to constant if !TARGET_BI_ARCH

* 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.

From-SVN: r42070

23 years agosom.h (NM_FLAGS): Remove.
Jeffrey A Law [Mon, 14 May 2001 14:54:53 +0000 (14:54 +0000)]
som.h (NM_FLAGS): Remove.

        * 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.

From-SVN: r42068

23 years agoregrename.c (regrename_optimize): Do not rename registers to leaf registers.
Mark Mitchell [Mon, 14 May 2001 07:56:57 +0000 (07:56 +0000)]
regrename.c (regrename_optimize): Do not rename registers to leaf registers.

* regrename.c (regrename_optimize): Do not rename registers to
leaf registers.

From-SVN: r42066

23 years ago* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
Mark Mitchell [Mon, 14 May 2001 07:49:11 +0000 (07:49 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.

From-SVN: r42065

23 years agoDaily bump.
GCC Administrator [Mon, 14 May 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42063

23 years agortl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may contain MEMs.
Alexandre Oliva [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.

* rtl.texi (CALL_INSN_FUNCTION_USAGE): Note that (and when) it may
contain MEMs.  Remove useless distinction about clobbering
registers.

From-SVN: r42060

23 years agors6000.h (EXCEPTION_SECTION): Move to...
Geoffrey Keating [Mon, 14 May 2001 03:40:04 +0000 (03:40 +0000)]
rs6000.h (EXCEPTION_SECTION): Move to...

* 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.

From-SVN: r42058

23 years agolibgcc2.c, libgcc2.h: Restore __eprintf.
Zack Weinberg [Mon, 14 May 2001 02:46:22 +0000 (02:46 +0000)]
libgcc2.c, libgcc2.h: Restore __eprintf.

* 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).

From-SVN: r42057

23 years agog++.exp: Use testsuite_flags.
Benjamin Kosnik [Mon, 14 May 2001 01:27:23 +0000 (01:27 +0000)]
g++.exp: Use testsuite_flags.

2001-05-13  Benjamin Kosnik  <bkoz@redhat.com>

* lib/g++.exp: Use testsuite_flags.

From-SVN: r42056

23 years agoSwitch over to new harness.
Benjamin Kosnik [Mon, 14 May 2001 01:15:36 +0000 (01:15 +0000)]
Switch over to new harness.

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.

From-SVN: r42055

23 years agoSwitch over to new harness.
Benjamin Kosnik [Mon, 14 May 2001 01:07:38 +0000 (01:07 +0000)]
Switch over to new harness.

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.

From-SVN: r42054

23 years agoacinclude.m4: Use ../libtool.m4.
Alexandre Oliva [Sun, 13 May 2001 22:31:24 +0000 (22:31 +0000)]
acinclude.m4: Use ../libtool.m4.

* acinclude.m4: Use ../libtool.m4.
* configure.in: Use ${zlib_basedir}/.. for AC_CONFIG_AUX_DIR.
* acinclude.m4, configure, Makefile.in: Rebuilt.

From-SVN: r42052

23 years agoconfigure.target: Remove detection of AIX pthread multilib, now obtained from `gcc...
Alexandre Oliva [Sun, 13 May 2001 22:17:11 +0000 (22:17 +0000)]
configure.target: Remove detection of AIX pthread multilib, now obtained from `gcc -v'.

* configure.target: Remove detection of AIX pthread multilib, now
obtained from `gcc -v'.

From-SVN: r42049

23 years agotm.texi (THREAD_MODEL_SPEC): Document it.
Alexandre Oliva [Sun, 13 May 2001 22:17:02 +0000 (22:17 +0000)]
tm.texi (THREAD_MODEL_SPEC): Document it.

* 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.

From-SVN: r42048

23 years agortl.h (SYMBOL_REF_WEAK): New macro.
Franz Sirl [Sun, 13 May 2001 21:16:58 +0000 (21:16 +0000)]
rtl.h (SYMBOL_REF_WEAK): New macro.

        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.

From-SVN: r42046

23 years ago* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.
Mark Mitchell [Sun, 13 May 2001 19:47:20 +0000 (19:47 +0000)]
* gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.

From-SVN: r42044

23 years agoMakefile.in (STAMP): New macro.
Mark Mitchell [Sun, 13 May 2001 19:37:13 +0000 (19:37 +0000)]
Makefile.in (STAMP): New macro.

* 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).

From-SVN: r42041

23 years ago* ChangeLog: Add omitted changelog.
Neil Booth [Sun, 13 May 2001 13:55:05 +0000 (13:55 +0000)]
* ChangeLog: Add omitted changelog.

From-SVN: r42039

23 years agoconfigure.in: ldopen is never in -lexc, so don't test for it.
Richard 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.

* configure.in: ldopen is never in -lexc, so don't test for it.
Add test for exc_resume in -lexc for Ada.
* configure: Regenerated.

From-SVN: r42037

23 years agomkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU size.
John David Anglin [Sun, 13 May 2001 11:08:57 +0000 (11:08 +0000)]
mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU size.

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.

From-SVN: r42036

23 years agoDaily bump.
GCC Administrator [Sun, 13 May 2001 07:16:37 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42034

23 years agojava-tree.def (JAVA_EXC_OBJ_EXPR): New.
Richard Henderson [Sun, 13 May 2001 04:59:33 +0000 (21:59 -0700)]
java-tree.def (JAVA_EXC_OBJ_EXPR): New.

        * 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.

From-SVN: r42030

23 years agoFix date last entry.
Richard Henderson [Sun, 13 May 2001 04:34:20 +0000 (21:34 -0700)]
Fix date last entry.

From-SVN: r42029

23 years agodwarf2asm.c (size_of_encoded_value): New function.
Richard Henderson [Sun, 13 May 2001 04:30:09 +0000 (21:30 -0700)]
dwarf2asm.c (size_of_encoded_value): New function.

        * 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.

From-SVN: r42028

23 years agoexcept.c (choose_personality_routine): Export.
Zack Weinberg [Sun, 13 May 2001 01:28:18 +0000 (01:28 +0000)]
except.c (choose_personality_routine): Export.

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.

From-SVN: r42027

23 years agoAdd per-function commentary.
Richard Henderson [Sat, 12 May 2001 18:42:45 +0000 (11:42 -0700)]
Add per-function commentary.

From-SVN: r42003

23 years agoc-parse.in (bison parser, [...]): Remove uses of doing_objc_thang.
Neil Booth [Sat, 12 May 2001 17:58:41 +0000 (17:58 +0000)]
c-parse.in (bison parser, [...]): Remove uses of doing_objc_thang.

* c-parse.in (bison parser, init_reswords): Remove uses of
doing_objc_thang.
* c-tree.h (doing_objc_thang): Remove.

From-SVN: r42000

23 years agotestsuite_flags.in: New, simplified interface.
Benjamin Kosnik [Sat, 12 May 2001 17:49:16 +0000 (17:49 +0000)]
testsuite_flags.in: New, simplified interface.

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.

From-SVN: r41999

23 years agotestsuite_flags.in: New, simplified interface.
Benjamin Kosnik [Sat, 12 May 2001 17:45:46 +0000 (17:45 +0000)]
testsuite_flags.in: New, simplified interface.

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.

From-SVN: r41998

23 years ago*.cc: Remove spaces, make sure testcases return zero.
Benjamin Kosnik [Sat, 12 May 2001 16:53:08 +0000 (16:53 +0000)]
*.cc: Remove spaces, make sure testcases return zero.

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.

From-SVN: r41997

23 years agodwarfout.c (dwarfout_init): Add cast.
Neil Booth [Sat, 12 May 2001 16:16:23 +0000 (16:16 +0000)]
dwarfout.c (dwarfout_init): Add cast.

* 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.

From-SVN: r41996

23 years agocpplex.c (_cpp_lex_token): Ensure we warn at most once about files not ending in...
Neil Booth [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.

* cpplex.c (_cpp_lex_token): Ensure we warn at most once
about files not ending in newlines.

From-SVN: r41995

23 years ago* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
Alexandre Oliva [Sat, 12 May 2001 14:58:47 +0000 (14:58 +0000)]
* config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.

From-SVN: r41993

23 years agocp-tree.h (ptrmemfunc_vbit_where_t): Declare type.
Alexandre Oliva [Sat, 12 May 2001 10:41:31 +0000 (10:41 +0000)]
cp-tree.h (ptrmemfunc_vbit_where_t): Declare type.

* 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.

From-SVN: r41990

23 years agodefaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
Alexandre Oliva [Sat, 12 May 2001 10:41:21 +0000 (10:41 +0000)]
defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.

* defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.

From-SVN: r41989

23 years agoReverted Geoff Keating's 2001-05-03's patch.
Alexandre Oliva [Sat, 12 May 2001 10:37:48 +0000 (10:37 +0000)]
Reverted Geoff Keating's 2001-05-03's patch.

From-SVN: r41988

23 years agoDaily bump.
GCC Administrator [Sat, 12 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41986

23 years ago* cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.
Ira Ruben [Sat, 12 May 2001 06:36:57 +0000 (06:36 +0000)]
* cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.

From-SVN: r41985

23 years agoconfigure.in (ia64-*): Don't set SYSDEP_SOURCES.
Richard Henderson [Sat, 12 May 2001 06:25:03 +0000 (23:25 -0700)]
configure.in (ia64-*): Don't set SYSDEP_SOURCES.

        * configure.in (ia64-*): Don't set SYSDEP_SOURCES.
        * java/lang/natThrowable.cc: Don't use __ia64_backtrace.

From-SVN: r41984

23 years agoexception.cc: Include unwind-pe.h.
Richard Henderson [Sat, 12 May 2001 06:17:31 +0000 (23:17 -0700)]
exception.cc: Include unwind-pe.h.

        * exception.cc: Include unwind-pe.h.  Remove all pointer
        encoding logic.

From-SVN: r41983

23 years agoeh_personality.cc: Include unwind-pe.h.
Richard Henderson [Sat, 12 May 2001 06:16:21 +0000 (23:16 -0700)]
eh_personality.cc: Include unwind-pe.h.

        * 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.

From-SVN: r41982

23 years agodefaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.
Richard Henderson [Sat, 12 May 2001 06:03:20 +0000 (23:03 -0700)]
defaults.h (ASM_PREFERRED_EH_DATA_FORMAT): New.

* 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.

From-SVN: r41981

23 years agoia64.c (group_barrier_needed_p): Don't allow calls and jumps to be bundled together.
Richard Henderson [Sat, 12 May 2001 05:21:09 +0000 (22:21 -0700)]
ia64.c (group_barrier_needed_p): Don't allow calls and jumps to be bundled together.

        * 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.

From-SVN: r41979

23 years agoc-lex.c (lex_charconst): Convert into a simple wrapper around cpp_interpret_charconst...
Neil Booth [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...

* 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.

From-SVN: r41978

23 years agoinstall.texi: New file.
Dean Wakerley [Fri, 11 May 2001 22:10:54 +0000 (22:10 +0000)]
install.texi: New file.

* doc/install.texi: New file. Converted to texinfo from the HTML
documentation in wwwdocs/htdocs/install.

From-SVN: r41977

23 years agogcse.c (insert_insn_end_bb): Do not search for assignments to non-argumment registers...
Jeffrey A 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...

        * gcse.c (insert_insn_end_bb): Do not search for assignments to
        non-argumment registers that are mentioned in CALL_INSN_FUNCTION_USAGE.

From-SVN: r41976

23 years agotoplev.c (compile_file): Move comment for opening output file to just before the...
Jeffrey A 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...

       * toplev.c (compile_file): Move comment for opening output
        file to just before the code that opens the output file.

From-SVN: r41975

23 years agoregmove.c (regmove_optimize): Suppress the optimization for unchanging destination...
Jakub Jelinek [Fri, 11 May 2001 20:08:04 +0000 (22:08 +0200)]
regmove.c (regmove_optimize): Suppress the optimization for unchanging destination register.

* regmove.c (regmove_optimize): Suppress the optimization for
unchanging destination register.  Add comment above function.

From-SVN: r41974

23 years agoMakefile.in: Exterminate all references to assert.h.
Zack Weinberg [Fri, 11 May 2001 17:03:02 +0000 (17:03 +0000)]
Makefile.in: Exterminate all references to assert.h.

* 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.

From-SVN: r41972

23 years ago* gcc.c-torture/execute/ieee/ieee.exp: Don't run ieee tests on VAX.
John David Anglin [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.

From-SVN: r41971

23 years ago* lib/objc.exp: Add -lposix4 on Solaris 2.8.
Mark Mitchell [Fri, 11 May 2001 16:20:54 +0000 (16:20 +0000)]
* lib/objc.exp: Add -lposix4 on Solaris 2.8.

From-SVN: r41968

23 years ago* combine.c (simplify_comparison): Fix typo.
Graham Stott [Fri, 11 May 2001 16:15:49 +0000 (16:15 +0000)]
* combine.c (simplify_comparison): Fix typo.

From-SVN: r41967

23 years agoloop.h (struct movables): Remove `num'.
Mark Mitchell [Fri, 11 May 2001 15:54:19 +0000 (15:54 +0000)]
loop.h (struct movables): Remove `num'.

* 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.

From-SVN: r41966

23 years ago* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.
Mark Mitchell [Fri, 11 May 2001 15:28:40 +0000 (15:28 +0000)]
* optabs.c (emit_libcall_block): Don't mark calls as CONST_CALL_P.

From-SVN: r41963

23 years agoDaily bump.
GCC Administrator [Fri, 11 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r41960

23 years agoc-common.c (finish_label_expr): New function, lifted from from cp/semantics.c.
Neil Booth [Fri, 11 May 2001 06:38:48 +0000 (06:38 +0000)]
c-common.c (finish_label_expr): New function, lifted from from cp/semantics.c.

* c-common.c (finish_label_expr): New function, lifted from
from cp/semantics.c.
* c-common.h (finish_label_expr, lookup_label): New prototypes.
* c-parse.in: Move 3 blocks of parser code into new functions.
* c-typeck.c (simple_asm_stmt, c_cast_expr): New functions.
* c-tree.h (simple_asm_stmt, c_cast_expr): New prototypes.
(lookup_label): Remove.

From-SVN: r41959

23 years agocp-tree.h (finish_label_expr, [...]): Delete.
Neil Booth [Fri, 11 May 2001 06:35:10 +0000 (06:35 +0000)]
cp-tree.h (finish_label_expr, [...]): Delete.

* cp-tree.h (finish_label_expr, lookup_label): Delete.
* parse.y: Update for '&&'; don't issue warning here.
* semantics.c (finish_label_expr): Delete.

From-SVN: r41958

23 years agot-mn10300 (dp-bit.c, fp-bit.c): Don't define FLOAT_BIT_ORDER_MISMATCH.
Alexandre Oliva [Fri, 11 May 2001 04:23:57 +0000 (04:23 +0000)]
t-mn10300 (dp-bit.c, fp-bit.c): Don't define FLOAT_BIT_ORDER_MISMATCH.

* config/mn10300/t-mn10300 (dp-bit.c, fp-bit.c): Don't define
FLOAT_BIT_ORDER_MISMATCH.

From-SVN: r41957

23 years agoexpr.c (emit_push_insn): Convert PUSH_ROUNDING argument to bytes.
David Edelsohn [Fri, 11 May 2001 01:56:12 +0000 (01:56 +0000)]
expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to bytes.

        * expr.c (emit_push_insn): Convert PUSH_ROUNDING argument to
        bytes.  Reported by Kazu Hirata <kazu@hxi.com>.

From-SVN: r41956

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Fri, 11 May 2001 01:03:45 +0000 (01:03 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added Polygon.java.
* java/awt/Polygon.java: New file.

* java/awt/geom/AffineTransform.java
(setToRotation(double,double,double)): New method.
(AffineTransform): Set type to TYPE_GENERAL_TRANSFORM.
(setToShear): Likewise.

From-SVN: r41954

23 years agocse.c (cse_insn): Mostly remove first hunk of code which collapsed a computed jump...
Jeffrey A Law [Fri, 11 May 2001 00:23:46 +0000 (00:23 +0000)]
cse.c (cse_insn): Mostly remove first hunk of code which collapsed a computed jump into an...

        * cse.c (cse_insn): Mostly remove first hunk of code which collapsed
        a computed jump into an unconditional jump.
        In second hunk of code for collapsing computed and conditional jumps
        into unconditional jumps, reemit the jump in additional cases.

From-SVN: r41953

23 years agoexpr.c (emit_group_load): extract_bit_field requires a REG or MEM as an argument.
David Edelsohn [Thu, 10 May 2001 21:59:10 +0000 (21:59 +0000)]
expr.c (emit_group_load): extract_bit_field requires a REG or MEM as an argument.

        * expr.c (emit_group_load): extract_bit_field requires a REG or
        MEM as an argument.

From-SVN: r41950

23 years agoMakefile.in (all-sid): New target.
Ben Elliston [Thu, 10 May 2001 20:51:52 +0000 (20:51 +0000)]
Makefile.in (all-sid): New target.

2001-05-11  Ben Elliston  <bje@redhat.com>

* Makefile.in (all-sid): New target.
(check-sid, clean-sid, install-sid): Likewise.

From-SVN: r41948

23 years agojump.c (jump_optimize_1): Do not wrap the new jump target inside a LABEL_REF...
Jeffrey A Law [Thu, 10 May 2001 20:43:50 +0000 (20:43 +0000)]
jump.c (jump_optimize_1): Do not wrap the new jump target inside a LABEL_REF...

        * jump.c (jump_optimize_1): Do not wrap the new jump target
        inside a LABEL_REF; gen_jump will do that automatically.

From-SVN: r41947

23 years ago* ansidecl.h (NULL_PTR): Delete.
Kaveh R. Ghazi [Thu, 10 May 2001 19:11:58 +0000 (19:11 +0000)]
* ansidecl.h (NULL_PTR): Delete.

From-SVN: r41946

23 years agodwarf2out.c (mem_loc_descriptor): Do not pass constant pool contents for a SYMBOL_REF...
Toon Moene [Thu, 10 May 2001 18:52:28 +0000 (20:52 +0200)]
dwarf2out.c (mem_loc_descriptor): Do not pass constant pool contents for a SYMBOL_REF in case of floating point...

2001-05-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* dwarf2out.c (mem_loc_descriptor): Do not pass constant pool
contents for a SYMBOL_REF in case of floating point constants.

From-SVN: r41945

23 years agohowto.html: Fix typo.
Tom Browder [Thu, 10 May 2001 18:42:11 +0000 (18:42 +0000)]
howto.html: Fix typo.

2001-05-01  Tom Browder  <tbrowder@home.com>

* docs/html/ext/howto.html:  Fix typo.

From-SVN: r41944

This page took 0.102213 seconds and 5 git commands to generate.