Commit Graph

46544 Commits

Author SHA1 Message Date
Mark Mitchell
682aea8720 * root.texi: Change version number to 3.4.
From-SVN: r60185
2002-12-16 22:18:33 +00:00
Mark Mitchell
7a04c51ba3 gcc-common.texi: Change version number to 3.4.
* doc/include/gcc-common.texi: Change version number to 3.4.

	* gcj.texi: Change version number to 3.4.

	* root.texi: Change version number to 3.4.

From-SVN: r60183
2002-12-16 21:59:43 +00:00
Jason Merrill
ed698fc59d add PR reference
From-SVN: r60182
2002-12-16 15:52:22 -05:00
Paolo Carlini
77bd447bb4 re PR libstdc++/8949 (numeric_limits<>::denorm_min() and is_iec559 problems.)
2002-12-16  Paolo Carlini  <pcarlini@unitus.it>

	PR libstdc++/8949
	* include/std/std_limits.h
	(struct numeric_limits<short>,
	struct numeric_limits<unsigned short>,
	struct numeric_limits<int>,
	struct numeric_limits<unsigned int>,
	struct numeric_limits<long>,
	struct numeric_limits<unsigned long>,
	struct numeric_limits<long long>,
	struct numeric_limits<unsigned long long>): According
	to 18.2.1.2,53 and 18.2.1.5,1 is_iec559 shall be false.
	* testsuite/18_support/numeric_limits.cc: Add test04.

From-SVN: r60181
2002-12-16 19:52:37 +00:00
Bruce Korb
165bfb59b2 oops.
From-SVN: r60178
2002-12-16 19:02:09 +00:00
Benjamin Kosnik
6aa43d99a3 configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>

        * configure.in (GLIBCPP_ENABLE_DEBUG): Default to none.
	Call GLIBCPP_ENABLE_DEBUG_FLAGS.
        * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): GLIBCPP_BUILD_DEBUG, new
        conditional if --enable-debug is yes. Rework.
	(GLIBCPP_ENABLE_DEBUG_FLAGS): New.
        * aclocal.m4: Regenerate.
	* libio/Makefile.am: Remove DEBUG_FLAGS.
	* libio/Makefile.in: Regenerate.
	* libsupc++/Makefile.am: Remove DEBUG_FLAGS.
	* libsupc++/Makefile.in: Regenerate.
	* docs/html/configopts.html: Add docs for --enable-debug,
	--enable-debug-flags.

2002-12-16  Benjamin Kosnik  <bkoz@redhat.com>

	Correct dependency tracking, build warts.
	* configure.in: Correct repeated AC_OUTPUT thrashing by
	config-ml.in
	* configure: Regenerate.
	* include/Makefile.am (stamp-target): Stamp in top_builddir.
	* include/Makefile.in: Regenerate.
	* src/Makefile.am (codecvt_members.cc): New rule.
	(collate_members.cc): Same.
	(ctype_members.cc): Same.
	(messages_members.cc): Same.
	(monetary_members.cc): Same.
	(numeric_members.cc): Same.
	(time_members.cc): Same.
	(c++locale.cc): Same.
	(basic_file.cc): Same.
	* src/Makefile.in: Regenerate.
	* acinclude.m4 (CCTYPE_CHAR_CC): Remove.
	(CCCODECVT_CC): Don't link, AC_SUBST.
	(CCOLLATE_CC): Same.
	(CCTYPE_CC): Same.
	(CMESSAGES_CC): Same.
	(CMONEY_CC): Same.
	(CNUMERIC_CC): Same.
	(CTIME_CC): Same.
	(CLOCALE_CC): Same.
	* aclocal.m4: Regenerate.

	* src/Makefile.am (libstdc___la_LIBADD): Use top_builddir
	for convenience libraries.
	(version_arg): Rename linker.map to libstdc++.ver.
	(libstdc___la_DEPENDENCIES): Remove linker.map, add
	libstdc++-symbol.ver as a dependency.
	(libstdc++-symbol.ver): Add rule.
	* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Change LINKER_MAP to
	SYMVER_MAP. Don't link, AC_SUBST.

	* include/Makefile.am (target_headers_noinst): New.
	(stamp-target): Add CLOCALE_INTERNAL_H.
	* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't link
	CLOCALE_INTERNAL_H, AC_SUBST.
	* config/locale/gnu/c_locale.cc: Modify c++locale_internal.h
	include.
	* config/locale/gnu/time_members.cc: Same.
	* config/locale/gnu/numeric_members.cc: Same.
	* config/locale/gnu/monetary_members.cc: Same.
	* config/locale/gnu/messages_members.cc: Same.
	* config/locale/gnu/ctype_members.cc: Same.
	* config/locale/gnu/collate_members.cc: Same.
	* config/locale/gnu/codecvt_members.cc: Same.
	* config/locale/generic/codecvt_members.cc: Remove.

From-SVN: r60177
2002-12-16 19:02:01 +00:00
Bruce Korb
27eaa70873 move inclusion of signal.h
From-SVN: r60176
2002-12-16 18:58:42 +00:00
Zack Weinberg
4977bab6ed Merge basic-improvements-branch to trunk
From-SVN: r60174
2002-12-16 18:23:00 +00:00
J"orn Rennecke
b51dc04500 sh.h (EXTRA_CONSTRAINT_Z): New macro.
* sh.h (EXTRA_CONSTRAINT_Z): New macro.
	(EXTRA_CONSTRAINT): Use it.
	* sh.md (anddi3): Use 'Z' constraint for alternative 2.

From-SVN: r60173
2002-12-16 17:21:50 +00:00
GCC Administrator
c82fec369b Daily bump.
From-SVN: r60172
2002-12-16 08:17:31 +00:00
Doug Evans
5d178a595a fix my email address
From-SVN: r60165
2002-12-16 08:16:06 +00:00
Geert Bosch
d2f97d3eb5 * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting
From-SVN: r60159
2002-12-15 18:32:01 +01:00
Geert Bosch
93a81b023f re PR ada/5690 (renaming subprograms and default_expression)
* sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional
        case of a body created for a Renaming_As_Body, on which
        conformance checks are not performed. Fixes PR ada/5690.

From-SVN: r60158
2002-12-15 17:18:20 +01:00
Richard Sandiford
595416a87f Revert last commit due to freeze.
From-SVN: r60157
2002-12-15 12:05:34 +00:00
Richard Sandiford
46b192aea8 * config/mips/mips.md: Disable the movstrsi define_split.
From-SVN: r60156
2002-12-15 11:34:17 +00:00
GCC Administrator
7bd4393548 Daily bump.
From-SVN: r60154
2002-12-15 08:17:26 +00:00
Jason Merrill
6248218aee Makefile.tpl (check-gcc-c++): Renamed from check-c++.
* Makefile.tpl (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.
        * Makefile.in: Regenerate.

From-SVN: r60126
2002-12-14 03:37:12 -05:00
GCC Administrator
2545fbad4e Daily bump.
From-SVN: r60125
2002-12-14 08:17:21 +00:00
John David Anglin
f5f9008b80 pa.c (output_millicode_call): Correct typo.
* pa.c (output_millicode_call): Correct typo.
	(output_call): Likewise.

From-SVN: r60115
2002-12-14 02:54:14 +00:00
Dale Johannesen
69db9b9903 Fix test for LP64, move it to gcc.c-torture/compile (per Kaveh Ghazi)
From-SVN: r60111
2002-12-14 00:54:02 +00:00
Alexandre Oliva
a58be199f1 mn10300.c (print_operand): Check operand's range.
* config/mn10300/mn10300.c (print_operand) <case N>: Check
operand's range.  Print value directly, without aid from
output_address.
<case U>: New.
<case S>: Make sure argument to fprintf has the right type.
* config/mn10300/mn10300.h (OK_FOR_T): New macro.
(EXTRA_CONSTRAINT): Adjust.
* config/mn10300/mn10300.md: Add new all-QImode pattern for
bclr.  Use %U for immediate operands of bset and bclr.
(iorqi3): New expand, with insns for AM33 and mn10300.

From-SVN: r60109
2002-12-13 23:07:47 +00:00
Jason Merrill
0edcfdcb73 Makefile.in (check-gcc-c++): Renamed from check-c++.
* Makefile.in (check-gcc-c++): Renamed from check-c++.  Don't run
        library tests.
        (check-c++): Just depend on it and check-target-libstdc++-v3.

From-SVN: r60107
2002-12-13 17:26:37 -05:00
Gabriel Dos Reis
75c525d71b re PR c++/8031 (ICE in comptypes, at cp/typeck.c:913)
PR C++/8031
* cvt.c (convert_to_pointer_force): Don't try comparing	against
erronous type.

From-SVN: r60106
2002-12-13 21:58:54 +00:00
Geoffrey Keating
8c6ae51fa9 cp-tree.h: Have the multiple-include guards around the entire file.
* cp-tree.h: Have the multiple-include guards around
	the entire file.

From-SVN: r60104
2002-12-13 21:04:27 +00:00
J"orn Rennecke
d9da94a1f0 *** empty log message ***
From-SVN: r60103
2002-12-13 20:20:28 +00:00
Devang Patel
42e903c91c Fix type.
From-SVN: r60102
2002-12-13 12:16:07 -08:00
Jim Wilson
580fb356c0 Doc fix for PR 1621.
* doc/extend.texi (Complex Numbers): Update info on debug info.

From-SVN: r60101
2002-12-13 12:07:15 -08:00
Casey Marshall
b4f145f326 SecurityRandom (digest): Removed field.
2002-12-13  Casey Marshall  <rsdio@metastatic.org>
	    Mark Wielaard  <mark@klomp.org>

	* java/security/SecurityRandom (digest): Removed field.
	(SecureRandom): Check all providers for case-insensitive SecureRandom
	implementation. Don't ignore classname == null. Fallback to SHA1PRNG
	if necessary.
	(getInstance(String,Provider,boolean): New method.
	(getInstance(String)): Use new method.
	(getInstance(String,String)): Likewise.
	(getInstance(String,Provider)): Likewise.

2002-12-13  Casey Marshall  <rsdio@metastatic.org>

	* java/security/Security.java (loadProviders): Increment i only once.

Co-Authored-By: Mark Wielaard <mark@klomp.org>

From-SVN: r60099
2002-12-13 14:21:07 +00:00
Kazu Hirata
697d8028c2 h8300.md (addhi3_h8300): Remove the last alternative.
* config/h8300/h8300.md (addhi3_h8300): Remove the last
	alternative.

From-SVN: r60098
2002-12-13 13:47:12 +00:00
Mark Wielaard
f0caaa23bf ClassLoader.java (resolveClass0): Transform ClassNotFoundException to NoClassDefFoundError.
* java/lang/ClassLoader.java (resolveClass0): Transform
	ClassNotFoundException to NoClassDefFoundError. Transform all other
	throwables to LinkageError.

From-SVN: r60097
2002-12-13 10:04:15 +00:00
GCC Administrator
9d051273bd Daily bump.
From-SVN: r60096
2002-12-13 08:17:16 +00:00
Tom Tromey
19eaa5a38b loader.exp (gcj_loader_test_one): Use libjava_prune_warnings.
* libjava.loader/loader.exp (gcj_loader_test_one): Use
	libjava_prune_warnings.
	(gcj_loader_run): Likewise.
	* libjava.mauve/mauve.exp (test_mauve): Use
	libjava_prune_warnings.
	(test_mauve_sim): Likewise.
	* libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
	libjava_prune_warnings.
	(gcj_jni_build_header): Likewise.
	* lib/libjava.exp (libjava_prune_warnings): New proc.
	(gcj_link): Use it.
	(test_libjava_from_source): Likewise.
	(test_libjava_from_javac): Likewise.

From-SVN: r60089
2002-12-13 05:00:15 +00:00
Devang Patel
dd05b1b461 I forgot to commit ChangeLogs with darwin ld tests and documentation patch.
From-SVN: r60088
2002-12-12 17:32:48 -08:00
Jim Wilson
24aacafbfc re PR debug/1621 (Debugging with complex numbers)
Fix for PR 1621.
	* dbxout.c (dbxout_fptype_value): New.
	(dbxout_type, case COMPLEX_TYPE): Call it.  Use 'R' instead of 'r'.

From-SVN: r60087
2002-12-12 17:24:52 -08:00
Kazu Hirata
09da15320b c-decl.c: Fix a comment typo.
* c-decl.c: Fix a comment typo.
	* cfg.c: Likewise.
	* cfgcleanup.c: Likewise.
	* cfglayout.c: Likewise.
	* cfgrtl.c: Likewise.
	* c-typeck.c: Likewise.
	* dominance.c: Likewise.
	* dwarf2asm.c: Likewise.
	* dwarfout.c: Likewise.
	* expmed.c: Likewise.
	* expr.c: Likewise.
	* final.c: Likewise.
	* flow.c: Likewise.
	* function.c: Likewise.
	* gcc.c: Likewise.
	* genautomata.c: Likewise.
	* integrate.c: Likewise.
	* loop.c: Likewise.
	* loop.h: Likewise.
	* output.h: Likewise.
	* profile.c: Likewise.
	* ra.h: Likewise.
	* reload1.c: Likewise.
	* reload.c: Likewise.
	* sched-rgn.c: Likewise.
	* stmt.c: Likewise.
	* tree.h: Likewise.
	* vmsdbgout.c: Likewise.

From-SVN: r60085
2002-12-13 00:17:22 +00:00
Kazu Hirata
7930523de8 * config/h8300/h8300.md: Add a new peephole2.
From-SVN: r60082
2002-12-12 22:29:10 +00:00
Devang Patel
61c85ff12d invoke.texi: Document Darwin linker options...
gcc
        *doc/invoke.texi: Document Darwin linker options, -bundle
        -bind_at_load, -all_load and -arch_errors_fatal

testsuite
        * gcc.dg/darwin-ld-1.c: New test.
        * gcc.dg/darwin-ld-2.c: New test.
        * gcc.dg/darwin-ld-3.c: New test.
        * gcc.dg/darwin-ld-4.c: New test.
        * gcc.dg/darwin-ld-5.c: New test.

From-SVN: r60081
2002-12-12 14:23:45 -08:00
Kazu Hirata
59578c8447 h8300.md (a peephole2): Accept a constant that's accepted by CONST_OK_FOR_J.
* config/h8300/h8300.md (a peephole2): Accept a constant
	that's accepted by CONST_OK_FOR_J.

From-SVN: r60080
2002-12-12 21:33:43 +00:00
Kazu Hirata
8cc5359b78 h8300.h (CONST_OK_FOR_J): New.
* config/h8300/h8300.h (CONST_OK_FOR_J): New.
	(CONST_OK_FOR_LETTER_P): Use CONST_OK_FOR_J.
	* config/h8300/h8300.md (*addhi_h8300): Add a new alternative.
	(*addhi_h8300hs): Likewise.

From-SVN: r60079
2002-12-12 21:19:57 +00:00
J"orn Rennecke
ec555f3273 sh.c (reg_class_from_letter): No longer const.
* sh.c (reg_class_from_letter): No longer const.  Add 'e' entry.
	(sh_register_move_cost): Add clause for SImode fp-fp moves.
	Increase cost for moves involving multiple general purpose registers.
	* sh.h (OVERRIDE_OPTIONS): Set reg_class_from_letter['e'] according to
	TARGET_FMOVD.
	(HARD_REGNO_MODE_OK): Allow V2SFmode and V4SFmode in general purpose
	registers, and SImode in fp registers, for ! TARGET_SHMEDIA.
	(enum reg_class reg_class_from_letter): No longer const.
	(SECONDARY_OUTPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG /
	REGCLASS_HAS_GENERAL_REG.
	Handle SImode moves from/to fp registers.
	! TARGET_SHMEDIA && TARGET_FMOVD.
	(SECONDARY_INPUT_RELOAD_CLASS): Use REGCLASS_HAS_FP_REG.
	* sh.md (movsi_ie): Add alternatives to move from / to fp regisyters.

From-SVN: r60076
2002-12-12 17:11:13 +00:00
Joern Rennecke
95c0af870b sh.h (REG_CLASS_HAS_FP_REG): New.
Wed Dec 11 19:05:05 2002  J"orn Rennecke <joern.rennecke@superh.com>

        * sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60075
2002-12-12 16:40:49 +00:00
Joern Rennecke
7a18508b1f sh.h (REG_CLASS_HAS_FP_REG): New.
* sh.h (REG_CLASS_HAS_FP_REG): New.
        (REGISTER_MOVE_COST) Use it.  Put body into a function and
        move it into:
        * sh.c (sh_register_move_cost).
        * sh-protos.h (sh_register_move_cost): Declare.

        * sh.c (sh_expand_builtin): Abort for unexpected nop values.
        (sh_adjust_cost): Always return a value.

From-SVN: r60074
2002-12-12 16:25:12 +00:00
Andreas Schwab
83ebfdc01c ia64.c (ia64_hpux_asm_file_end): Fix typo in last change and some warnings.
* config/ia64/ia64.c (ia64_hpux_asm_file_end): Fix typo in last
	change and some warnings.

From-SVN: r60073
2002-12-12 14:08:21 +00:00
Kazu Hirata
299c51115b * doc/md.texi (pushm): Fix a typo.
From-SVN: r60072
2002-12-12 14:03:56 +00:00
Eric Botcazou
2eb96bdbd4 20021212-1.c: New test.
2002-12-12  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* gcc.c-torture/compile/20021212-1.c: New test.

From-SVN: r60068
2002-12-12 11:09:39 +00:00
Eric Botcazou
a5163dcdac Link PR opt/8334 to its fix.
From-SVN: r60067
2002-12-12 10:59:45 +00:00
GCC Administrator
e588dc171f Daily bump.
From-SVN: r60066
2002-12-12 08:17:18 +00:00
Alexandre Oliva
f87505dda0 * Makefile.in (configure-target-rda): Depend on ALL_GCC_C.
From-SVN: r60060
2002-12-12 07:04:34 +00:00
Alexandre Oliva
852dff6156 mips.c (mips_output_conditional_branch): Support PIC-safe out-of-range branch and branch-likely.
* config/mips/mips.c (mips_output_conditional_branch): Support
PIC-safe out-of-range branch and branch-likely.
* config/mips/mips.md (attr length): PIC-safe out-of-range
branches are longer.
("jump"): Support PIC-safe out-of-range-for-branch jumps.  Remove
unused code to support indirect jumps.

From-SVN: r60058
2002-12-12 05:13:04 +00:00
John David Anglin
d6567b3adf pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
* pa.h (BIGGEST_ALIGNMENT): Change 32-bit value to 64 bits.
	(MAX_PARM_BOUNDARY, STACK_BOUNDARY): Express in terms of
	BIGGEST_ALIGNMENT.
	(PREFERRED_STACK_BOUNDARY): Express in terms of STACK_BOUNDARY.
	(FUNCTION_BOUNDARY): Express in terms of BITS_PER_WORD.

From-SVN: r60056
2002-12-12 02:44:02 +00:00