Commit Graph

58191 Commits

Author SHA1 Message Date
Benjamin Kosnik 7549d7f202 re PR libstdc++/15046 (Math functions misdetected by cross configuration)
2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/15046
	* crossconfig.m4: Add C99 math bits for linux crosses.
	* configure: Regenerate.

From-SVN: r81797
2004-05-13 17:49:42 +00:00
Paul Brook 09532ff594 20030808-1.c: Force enum size.
* gcc.dg/tree-ssa/20030808-1.c: Force enum size.
	* gcc.dg/tree-ssa/20030714-1.c: Ditto.
	* gcc.dg/tree-ssa/20030708-1.c: Ditto.

From-SVN: r81796
2004-05-13 17:20:10 +00:00
Simon Marshall 95b147fe4a re PR libstdc++/15090 (-fno-for-scope vs. libstdc++)
2004-05-13  Simon Marshall <simon.marshall@misys.com>
	    Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/15090
	* include/bits/locale_facets.h: Fix for -fno-for-scope.
	* include/debug/safe_sequence.h: Same.
	* include/debug/safe_iterator.tcc: Same.
	* src/debug.cc: Same.
	* src/locale.cc: Same.
	* src/locale_init.cc: Same.
	* src/localename.cc: Same.
	* config/locale/gnu/ctype_members.cc: Same.
	* config/locale/gnu/numeric_members.cc: Same.
	* testsuite/testsuite_abi.cc: Same.
	* testsuite/testsuite_hooks.cc: Same.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>

From-SVN: r81795
2004-05-13 16:29:39 +00:00
Jonathan Wakely d7f3083354 abi.html: Document effect of -fabi-version on value of __GXX_ABI_VERSION...
2004-05-13  Jonathan Wakely  <redi@gcc.gnu.org>

	* docs/html/abi.html: Document effect of -fabi-version on value
	of __GXX_ABI_VERSION, and that it's defined in c-cppbuiltin.c.
	Fix markup.

From-SVN: r81794
2004-05-13 16:50:02 +01:00
Andrew Pinski 520f0c4803 tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at the end of the block.
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-outof-ssa.c (rewrite_vars_out_of_ssa): Free map at
        the end of the block.

From-SVN: r81793
2004-05-13 08:28:07 -07:00
Andrew Pinski f472590a2a tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-into-ssa.c (def_blocks_free): XFREE bitmaps allocated
        with BITMAP_XMALLOC.

From-SVN: r81791
2004-05-13 08:26:33 -07:00
Andrew Pinski d1f9044b7b tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated with BITMAP_XMALLOC.
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-alias.c (delete_alias_info): XFREE bitmaps allocated
        with BITMAP_XMALLOC.

From-SVN: r81789
2004-05-13 08:24:47 -07:00
Andrew Pinski cfa4cb00a7 tree-ssa-dom.c (tree_ssa_dominator_optimize): Free nonzero_vars at the end of the function.
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * tree-ssa-dom.c (tree_ssa_dominator_optimize):
        Free nonzero_vars at the end of the function.

From-SVN: r81788
2004-05-13 08:21:53 -07:00
Andrew Pinski 0b87eff524 convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a need to generate code instead of a NOP_EXPR.
2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>

        * convert.c (convert_to_integer): Make a CONVERT_EXPR when there is a
        need to generate code instead of a NOP_EXPR.

From-SVN: r81787
2004-05-13 08:20:24 -07:00
Benjamin Kosnik 4b351c6ee8 re PR libstdc++/15074 (g++ -lsupc++ still links against libstdc++)
2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/15074
	* docs/html/faq/index.html: Update docs for libsupc++ usage.

From-SVN: r81786
2004-05-13 15:14:07 +00:00
Benjamin Kosnik 5c61a86377 re PR libstdc++/15412 (_GLIBCXX_ symbols symbols defined and used in different namespaces)
2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/15412
	* include/bits/stl_threads.h (_GLIBCXX_mutex): Move to namespace
	__gnu_internal.
	(_GLIBCXX_mutex_address): Same.
	(_GLIBCXX_once): Same.
	(_GLIBCXX_mutex_init): Same.
	(_GLIBCXX_mutex_address_init): Same.

From-SVN: r81785
2004-05-13 14:54:24 +00:00
Andreas Schwab c15190ecef re PR testsuite/10819 (testsuite creates CR+LF on compiler version lines in test summary files)
PR other/10819
* lib/gfortran.exp (gfortran_version): Do not match NL/CR
characters.

From-SVN: r81784
2004-05-13 14:38:53 +00:00
Ian Lance Taylor eb18fd8d19 gcc.c (default_compilers): Fill out initializers for new Fortran entries.
* gcc.c (default_compilers): Fill out initializers for new Fortran
	entries.

From-SVN: r81782
2004-05-13 14:08:39 +00:00
Benjamin Kosnik 4b260c2013 abi.html: New.
2004-05-13  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/abi.html: New.
	* docs/html/abi.txt: Remove.
	* docs/html/documentation.html: Add link.
	* testsuite/Makefile.am: Add files.
	* testsuite/Makefile.in: Regenerated.
	* testsuite/abi_check.cc: Move and modify code into...
	* testsuite/testsuite_abi.cc: Add.
	* testsuite/testsuite_abi.h: Add.

	* docs/html/17_intro/TODO: Update.
	* include/bits/stl_pair.h: Format.

From-SVN: r81781
2004-05-13 12:50:53 +00:00
Joseph Myers f8f456c68a gfortran.texi: Use @table @emph instead of @itemize @emph.
* gfortran.texi: Use @table @emph instead of @itemize @emph.
	Remove "set DEVELOPMENT".
	(Compiling GFORTRAN): Remove.

From-SVN: r81780
2004-05-13 13:30:21 +01:00
Paul Brook d81d0bdd6a * config/arm/arm.h (PCC_BITFIELD_TYPE_MATTERS): Define.
From-SVN: r81777
2004-05-13 11:25:49 +00:00
Paul Brook 6b04578500 arm.c (arm_default_short_enums): New function.
* config/arm/arm.c (arm_default_short_enums): New function.
	(TARGET_DEFAULT_SHORT_ENUMS): Define.

From-SVN: r81776
2004-05-13 11:16:27 +00:00
Tobias Schlüter 75089d48a0 MAINTAINERS (Write After Approval): Add myself.
2004-05-13  Tobias Schl��ter  <tobi@gcc.gnu.org>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r81774
2004-05-13 12:36:36 +02:00
Joseph Myers 61995575da update_web_docs: Also remove old .gz files from subdirectories on the 15th of the month.
* update_web_docs: Also remove old .gz files from subdirectories
	on the 15th of the month.

From-SVN: r81773
2004-05-13 11:30:28 +01:00
Joseph Myers 282043099b * update_web_docs (MANUALS): Add gfortran.
From-SVN: r81772
2004-05-13 11:14:00 +01:00
Bud Davis 92fbb7592b re PR libfortran/15204 (ADJUSTR intrinsic accesses corrupted pointer)
PR fortran/15294
        * gfortran.fortran-torture/execute/adjustr.f90: New file.
        * io/intrinsic/string_intrinsics.c(adjustr): rework logic.

From-SVN: r81771
2004-05-13 10:11:02 +00:00
Arnaud Charlet 014251eae3 update_web_docs: Fix generation of Ada docs.
2004-05-13  Arnaud Charlet  <charlet@act-europe.fr>

	* update_web_docs: Fix generation of Ada docs.

From-SVN: r81770
2004-05-13 11:09:25 +01:00
Joseph Myers 90c3ba6e0d * update_version (ADD_BRANCHES): Remove tree-ssa-20020619-branch.
From-SVN: r81768
2004-05-13 09:59:23 +01:00
Joseph Myers 78ff5eeaac * gcc_release (DIFF): Remove -3 option.
From-SVN: r81767
2004-05-13 09:54:30 +01:00
Diego Novillo 6de9cd9a88 Merge tree-ssa-20020619-branch into mainline.
From-SVN: r81764
2004-05-13 02:41:07 -04:00
GCC Administrator ac1a20aec5 Daily bump.
From-SVN: r81758
2004-05-13 00:16:12 +00:00
Paolo Bonzini 5eaad4813d Replace several arrays with a struct of arrays.
2004-05-12  Paolo Bonzini  <bonzini@gnu.org>

	Replace several arrays with a struct of arrays.
        * combine.c (struct reg_stat): New.
        (init_reg_last_arrays): Renamed to...
        (init_reg_last): ...this.  Callers adjusted.
        (reg_stat): New.
        (combine_instructions): Allocate it and use it.
        (reg_last_death, reg_last_set, reg_last_set_value,
        reg_last_set_label, reg_last_set_table_tick,
        reg_last_set_invalid, reg_nonzero_bits, reg_sign_bit_copies,
        reg_last_set_mode, reg_last_set_nonzero_bits,
        reg_last_set_sign_bit_copies): Replace throughout
        with items of reg_stat.

From-SVN: r81740
2004-05-12 08:32:00 +00:00
Richard Sandiford f5657d6742 re PR target/15331 (Assembler error building gnatlib on IRIX 6.5 with GNU as 2.14.91)
PR target/15331
	* 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '.

From-SVN: r81737
2004-05-12 07:25:52 +00:00
Kaz Kojima e51f915912 re PR rtl-optimization/15100 (cc1plus got hang-up on libstdc++-v3/testsuite/abi_check.cc)
PR optimization/15100
	* combine.c (distribute_notes): Don't create a dangling
	REG_LIBCALL/REG_RETVAL note.

From-SVN: r81736
2004-05-12 04:32:01 +00:00
GCC Administrator d0fb39b330 Daily bump.
From-SVN: r81729
2004-05-12 00:16:13 +00:00
Aldy Hernandez 6a599451a5 spe.md (spe_evneg): Rename to negv2si2.
* config/rs6000/spe.md (spe_evneg): Rename to negv2si2.

	* config/rs6000/rs6000.c (bdesc_1arg): Change spe_evneg to
	negv2si2.

From-SVN: r81724
2004-05-11 23:41:08 +00:00
Aldy Hernandez 425a2bde9a * doc/md.texi (Standard Names): Fix typo in vec_init description.
From-SVN: r81723
2004-05-11 23:35:57 +00:00
Roger Sayle 4413b636d9 utils.c (max_size): Use MIN_EXPR to find the minimum value of a COND_EXPR.
* utils.c (max_size): Use MIN_EXPR to find the minimum value of a
	COND_EXPR.

From-SVN: r81721
2004-05-11 22:54:55 +00:00
Ziemowit Laski daca85ca4f altivec-8.C: Use '-maltivec' instead of '-faltivec'; include <altivec.h> explicitly.
2004-05-11  Ziemowit Laski  <zlaski@apple.com>

        * g++.dg/ext/altivec-8.C: Use '-maltivec' instead of '-faltivec';
        include <altivec.h> explicitly.
        * gcc.dg/altivec-13.c: Likewise.

From-SVN: r81719
2004-05-11 21:47:35 +00:00
Geoffrey Keating bed7b8f18d * doc/gty.texi (GTY Options): Clarify example.
From-SVN: r81718
2004-05-11 21:35:57 +00:00
Mike Stump c72c42e8fb Fix typo.
From-SVN: r81717
2004-05-11 20:59:12 +00:00
Fariborz Jahanian 44b2a8daf3 Test for AltiVec function vec_ld, passing a pointer to const vector.
Approved by Aldy Hernandez.

From-SVN: r81716
2004-05-11 20:29:48 +00:00
Fariborz Jahanian 7958a2a62b Fixed problem related to vec_ld in c++ mode.
Approved by Aldy Hernandez.

From-SVN: r81715
2004-05-11 20:28:12 +00:00
Michael Koch 8f0b9daaa2 2004-05-11 Michael Koch <konqueror@gmx.de>
* gnu/java/net/natPlainSocketImplPosix.cc
	(read): Fixed typo in expression.

From-SVN: r81714
2004-05-11 19:48:45 +00:00
Paul Brook 525696406d * gcc.c-torture/compile/20010518-1.c: Force enum size.
From-SVN: r81707
2004-05-11 18:00:43 +00:00
Paul Brook 3277074642 flags.h (flag_short_enums): Update comment.
* flags.h (flag_short_enums): Update comment.
	* opts.c (decode_options): Set flag_short_enums to 2.
	* toplev.c (flag_short_enums): Update comment.
	(process_options): Call default_short_enums target hook.

From-SVN: r81704
2004-05-11 16:23:44 +00:00
Eric Christopher 946f318ae7 Fix entry.
From-SVN: r81697
2004-05-11 15:40:08 +00:00
Eric Christopher 3df844b117 sibcall-3.c: Remove xfail for mips*-*-elf.
2004-05-10  Eric Christopher  <echristo@redhat.com>

	* gcc.dg/sibcall-3.c: Remove xfail for mips*-*-elf.
	* gcc.dg/sibcall-4.c: Ditto.

From-SVN: r81695
2004-05-11 07:37:16 +00:00
Andrew Pinski 78f59f3e9c re PR target/14063 (conditional around vec_dss() call disappears at -O2)
2004-05-11  Andrew Pinski  <pinskia@gcc.gnu.org>

        PR target/14063
        * config/rs6000/altivec.md (altivec_dssall):
        Change to unspec_volatile.
        (altivec_dss): Likewise.

From-SVN: r81694
2004-05-10 21:22:05 -07:00
Aldy Hernandez 39302b6a85 altivec.md ("one_cmplv16qi2"): Change vnot to vnor.
* config/rs6000/altivec.md ("one_cmplv16qi2"): Change vnot to
	vnor.
	("one_cmplv8hi2"): Same.
	("one_cmplv4si2"): Same.

From-SVN: r81693
2004-05-11 03:29:57 +00:00
GCC Administrator 3dc85d39ff Daily bump.
From-SVN: r81689
2004-05-11 00:16:13 +00:00
Kaz Kojima 726d4cb79c re PR target/15130 ([3.3/3.4][sh4-linux] miscompilation with -O2)
PR target/15130
	* config/sh/sh-protos.h (sh_expand_epilogue): Change prototype.
	* config/sh/sh.c (output_stack_adjust): Take the sibcall epilogue
	into account.  Compute the correct number of general registers
	for the return value.  Generate a special push/pop sequence when
	failing to get a temporary register for non SHmedia epilogue.
	(sh_expand_epilogue): Add an argument to show whether it's for
	sibcall or not.  Set the 3rd argument of output_stack_adjust to
	-1 if needed.
	(sh_need_epilogue): Call sh_expand_epilogue with 0.
	* config/sh/sh.md (sibcall_epilogue): Call sh_expand_epilogue
	with 1.
	(epilogue): Call sh_expand_epilogue with 0.

From-SVN: r81683
2004-05-10 23:25:13 +00:00
Andrew Pinski 0c196bf9d8 gcse.c (eliminate_partially_redundant_loads): Instead of returning early, goto a cleanup label.
2004-05-10  Andrew Pinski  <pinskia@physics.uc.edu>

        * gcse.c (eliminate_partially_redundant_loads): Instead of returning early,
        goto a cleanup label.  After the cleanup, free the allocated memory.

From-SVN: r81682
2004-05-10 15:28:50 -07:00
Ziemowit Laski 16cfa3dc57 altivec.h (vec_sld): Add overloads for argument/return types of 'vector bool int'...
[gcc/ChangeLog]
2004-05-10  Ziemowit Laski  <zlaski@apple.com>

        * config/rs6000/altivec.h (vec_sld): Add overloads for
        argument/return types of 'vector bool int', 'vector bool short'
        and 'vector bool char'.

[gcc/testsuite/ChangeLog]
2004-05-10  Ziemowit Laski  <zlaski@apple.com>

        * g++.dg/ext/altivec-8.C: New test case.
        * gcc.dg/altivec-13.c: New test case.

From-SVN: r81681
2004-05-10 22:21:44 +00:00
Andreas Tobler 3f68457e24 libjava.exp (libjava_invoke): Add new argument ld_library_additions.
2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>

	* testsuite/lib/libjava.exp (libjava_invoke): Add new argument
	ld_library_additions. Adjust all calls to libjava_invoke to match
	the new argument.

	* testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
	path to cxxflagslist.
	Pass path of libstdc++ to libjava_invoke.

	* testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
	libjava_invoke arguments.

From-SVN: r81679
2004-05-10 22:44:13 +02:00