Commit Graph

35074 Commits

Author SHA1 Message Date
GCC Administrator
04466dc874 Daily bump.
From-SVN: r42103
2001-05-15 07:16:42 +00:00
Loren J. Rittle
af22667e53 * gcc_update (touch_files): Enhance make portability.
From-SVN: r42100
2001-05-15 04:58:07 +00:00
David Edelsohn
0d30d43586 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
2001-05-15 00:26:33 -04:00
Mark Mitchell (admin)
0239bfdd63 * gcc.dg/ultrasp2.c: Don't run it with -m64 on sparc-*-*.
From-SVN: r42098
2001-05-15 02:45:32 +00:00
Stan Shebs
5fa5a27cce darwin.h (LIB_SPEC): Just use -lSystem.
* config/darwin.h (LIB_SPEC): Just use -lSystem.
        (LIBGCC_SPEC): Don't define.

From-SVN: r42094
2001-05-15 02:17:14 +00:00
Richard Henderson
c64688ae79 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
2001-05-14 18:45:10 -07:00
Alexandre Oliva
e8b073c1bd * gcc_update (touch_files): Use a Makefile to touch files.
From-SVN: r42088
2001-05-14 19:57:52 +00:00
Andrew MacLeod
f327ea3ebe 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
2001-05-14 17:47:07 +00:00
Andrew MacLeod
339cb12e41 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
2001-05-14 17:44:56 +00:00
Tom Tromey
127699902e 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
2001-05-14 17:40:29 +00:00
Richard Henderson
402d7dfed5 * mknumeric_limits: Build with -fno-exceptions.
From-SVN: r42075
2001-05-14 10:16:58 -07:00
Nick Clifton
3581fae0bb Suppress warning about duplicate decls if the first decl is a friend.
From-SVN: r42073
2001-05-14 17:09:34 +00:00
Jan Hubicka
0c2dc519c9 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
2001-05-14 15:36:17 +00:00
Jeffrey A Law
4779212949 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
2001-05-14 08:54:53 -06:00
Mark Mitchell
b2a8b02619 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
2001-05-14 07:56:57 +00:00
Mark Mitchell
ce29729adf * lib/objc.exp: Add -lposix4 on Solaris 2.6 and Solaris 2.7.
From-SVN: r42065
2001-05-14 07:49:11 +00:00
GCC Administrator
7f09a9dcbc Daily bump.
From-SVN: r42063
2001-05-14 07:16:39 +00:00
Alexandre Oliva
c78df6e155 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
2001-05-14 05:11:38 +00:00
Geoffrey Keating
e44713f730 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
2001-05-14 03:40:04 +00:00
Zack Weinberg
3fe68d0af3 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
2001-05-14 02:46:22 +00:00
Benjamin Kosnik
8b9df536ae g++.exp: Use testsuite_flags.
2001-05-13  Benjamin Kosnik  <bkoz@redhat.com>

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

From-SVN: r42056
2001-05-14 01:27:23 +00:00
Benjamin Kosnik
c6192d882f 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
2001-05-14 01:15:36 +00:00
Benjamin Kosnik
602928d139 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
2001-05-14 01:07:38 +00:00
Alexandre Oliva
0fd91e0afb 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
2001-05-13 22:31:24 +00:00
Alexandre Oliva
d048104204 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
2001-05-13 22:17:11 +00:00
Alexandre Oliva
008355a6ed 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
2001-05-13 22:17:02 +00:00
Franz Sirl
ff0b6b9921 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
2001-05-13 21:16:58 +00:00
Mark Mitchell
6f22140248 * gcc.c-torture/execute/ieee/rbug.x: XFAIL FreeBSD 4.x.
From-SVN: r42044
2001-05-13 19:47:20 +00:00
Mark Mitchell
d9835ae8a3 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
2001-05-13 19:37:13 +00:00
Neil Booth
64f0ba0a3e * ChangeLog: Add omitted changelog.
From-SVN: r42039
2001-05-13 13:55:05 +00:00
Richard Kenner
7f2749d411 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
2001-05-13 07:25:55 -04:00
John David Anglin
fca8e37bb1 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
2001-05-13 11:08:57 +00:00
GCC Administrator
c7d9e0a6b4 Daily bump.
From-SVN: r42034
2001-05-13 07:16:37 +00:00
Richard Henderson
f17f18980b 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
2001-05-12 21:59:33 -07:00
Richard Henderson
d9c219593b Fix date last entry.
From-SVN: r42029
2001-05-12 21:34:20 -07:00
Richard Henderson
b627d6fe5d 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
2001-05-12 21:30:09 -07:00
Zack Weinberg
1f730ff7b6 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
2001-05-13 01:28:18 +00:00
Richard Henderson
c9ec8f321f Add per-function commentary.
From-SVN: r42003
2001-05-12 11:42:45 -07:00
Neil Booth
a3eaca15d9 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
2001-05-12 17:58:41 +00:00
Benjamin Kosnik
c66ce1f5b7 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
2001-05-12 17:49:16 +00:00
Benjamin Kosnik
70769376db 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
2001-05-12 17:45:46 +00:00
Benjamin Kosnik
04d930e6d4 *.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
2001-05-12 16:53:08 +00:00
Neil Booth
90e0c41055 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
2001-05-12 16:16:23 +00:00
Neil Booth
800914c30a 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
2001-05-12 16:02:01 +00:00
Alexandre Oliva
92928d71f4 * config/arm/arm.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Use delta.
From-SVN: r41993
2001-05-12 14:58:47 +00:00
Alexandre Oliva
cb7fdde2d7 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
2001-05-12 10:41:31 +00:00
Alexandre Oliva
f3c55c97be defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* defaults.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define.
* tm.texi (TARGET_PRTMEMFUNC_VBIT_LOCATION): Document.

From-SVN: r41989
2001-05-12 10:41:21 +00:00
Alexandre Oliva
18ae7f6399 Reverted Geoff Keating's 2001-05-03's patch.
From-SVN: r41988
2001-05-12 10:37:48 +00:00
GCC Administrator
a45b480e68 Daily bump.
From-SVN: r41986
2001-05-12 07:16:09 +00:00
Ira Ruben
401deb20e2 * cp-tree.h (C_EXP_ORIGINAL_CODE): Delete; declared in c-common.h.
From-SVN: r41985
2001-05-12 06:36:57 +00:00