Commit Graph

50370 Commits

Author SHA1 Message Date
Jan Hubicka
25f57a0e23 * i386.c (ix86_reorg): Calls are also jumps.
From-SVN: r67133
2003-05-23 20:25:21 +00:00
J"orn Rennecke
839844befa cse.c (count_reg_usage): When processing an INSNs REG_EQUAL note containing an EXPR_LIST...
* cse.c (count_reg_usage): When processing an INSNs REG_EQUAL
	note containing an EXPR_LIST, process all the arguments.

From-SVN: r67132
2003-05-23 21:08:22 +01:00
Nathanael Nerode
6c82ad2561 Makefile.in, [...]: Replace "GNU CC" with "GCC".
2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>

	* Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
	class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
	objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
	objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
	objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".

From-SVN: r67131
2003-05-23 20:04:58 +00:00
Jan Hubicka
97242ddc18 i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__; do not use assertion.
* i386.h (TARGET_CPU_CPP_BUILTINS): Define __amd64 and __amd64__;
	do not use assertion.

Co-Authored-By: Andreas Jaeger <aj@suse.de>

From-SVN: r67130
2003-05-23 19:43:34 +00:00
Mike Stump
973a43f6e6 tlink.c (scan_linker_output): Add support for darwin linker...
* tlink.c (scan_linker_output): Add support for darwin linker, as it
        emits unresolved symbols one per line, consuming the entire line.

From-SVN: r67126
2003-05-23 18:23:13 +00:00
Larin Hennessy
a27b2b71a8 explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
2003-05-23  Larin Hennessy <larin@science.oregonstate.edu>
	    Zack Weinberg <zack@codesourcery.com>

	* explow.c (allocate_dynamic_stack_space): Remove call to gen_probe.
	* config/m68k/m68k.c (m68k_output_function_prologue):
	Remove code under #if NEED_PROBE.
	* config/m68k/m68k.h: Don't define NEED_PROBE.
	* config/m68k/m68k.md: Remove "probe" insn.
	* doc/md.texi: Remove documentation of "probe" pattern.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r67125
2003-05-23 18:19:21 +00:00
Nathanael Nerode
24bcc7214c * win32-host.c: Normalize copyright boilerplate.
From-SVN: r67124
2003-05-23 18:18:49 +00:00
Nathanael Nerode
3014d22144 * exgettext: Add "This file is part of GCC".
From-SVN: r67123
2003-05-23 17:52:54 +00:00
Nathanael Nerode
4b16555887 exgettext: Replace "GNU CC" and "this program" with "GCC" in copyright boilerplate.
* exgettext: Replace "GNU CC" and "this program" with "GCC" in
	copyright boilerplate.

From-SVN: r67122
2003-05-23 17:47:54 +00:00
Nathanael Nerode
487a942794 analyze_brprob, [...]: Change GNU CC to GCC.
* analyze_brprob, gcc_build, gennews, texi2pod.pl: Change GNU CC
	to GCC.

From-SVN: r67120
2003-05-23 16:20:44 +00:00
Kriang Lerdsuwanakij
43b26a0128 re PR c++/10682 (chokes on a typedef for an enum inside a class template)
PR c++/10682
	* pt.c (instantiate_class_template): Use DECL_ARTIFICIAL to
	check for implicitly created typedef to an enum.

	* g++.dg/template/instantiate4.C: New test.

From-SVN: r67118
2003-05-23 15:01:45 +00:00
Dorit Naishlos
d397116182 rs6000.md (save_fpregs_{si,di}): Add branch attribute.
2003-05-23  Dorit Naishlos  <gcchaifa@il.ibm.com>

        * config/rs6000/rs6000.md (save_fpregs_{si,di}): Add branch attribute.

From-SVN: r67117
2003-05-23 10:47:34 -04:00
Eric Botcazou
0dc7ee3cda install.texi: Remove sparc64-*-*.
* doc/install.texi: Remove sparc64-*-*. Add sparc64-*-solaris2*.
	Document sparcv9-*-solaris2* as a synonym for sparc64-*-solaris2*.

From-SVN: r67113
2003-05-23 05:41:21 +00:00
Roger Sayle
18c2511ccb real.c (real_maxval): New function to return the largest finite value representable in a given mode (i.e.
* real.c (real_maxval): New function to return the largest finite
	value representable in a given mode (i.e. FLT_MAX and DBL_MAX).
	* real.h (real_maxval): Prototype here.
	* fold-const.c (fold_inf_compare): Transform comparisons against
	+-Infinity into comparisons against DBL_MAX (or equivalent).

	* gcc.c-torture/execute/ieee/inf-2.c: New test case.

From-SVN: r67112
2003-05-23 03:46:53 +00:00
Jeff Sturm
a8e097d6db re PR libgcj/10838 (GCC 3.3 [libjava]: java.io.ObjectInputStream syntax error)
PR libgcj/10838:
* java/io/ObjectInputStream (enableResolveObject):
Fixed spelling of permission name.

From-SVN: r67111
2003-05-23 03:15:36 +00:00
Benjamin Kosnik
b731048b47 re PR libstdc++/3066 (configure.in generates bad arguments for cross compiling libraries)
2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/3066.
	* configure.in: Switch target to host, don't assume newlib.
	(target_alias): Remove.
	* configure: Regenerate.
	* acinclude.m4: Same.
	* aclocal.m4: Regenerate.
	* configure.target: Same. Rename to...
	* configure.host: This.

From-SVN: r67110
2003-05-23 02:31:07 +00:00
Wolfgang Bangerth
14a9c399be Fix a loose end of a sentence in the way rth suggested.
From-SVN: r67108
2003-05-22 19:24:00 -06:00
Richard Kenner
f3f72ea08d Finish correcting inadvertent checkin.
From-SVN: r67107
2003-05-22 20:38:32 -04:00
GCC Administrator
eaf5fde9e5 Daily bump.
From-SVN: r67105
2003-05-23 00:16:06 +00:00
Richard Kenner
b8d63f74dc Remove hunk commited in error.
From-SVN: r67103
2003-05-22 20:13:04 -04:00
Paolo Carlini
d7ccc91760 std_fstream.h (_S_pback_size): Remove definition.
2003-05-22  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_fstream.h (_S_pback_size): Remove definition.
	(_M_create_pback(), _M_destroy_pback()): Simplify for a single-char
	pback buffer.
	* include/bits/fstream.tcc (_S_pback_size): Remove declaration.
	* testsuite/27_io/basic_filebuf/3.cc: Remove explicit instantiation
	of _S_pback_size for systems with no COMDAT or weak support.
	* testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
	* testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Likewise.
	* testsuite/27_io/basic_fstream/3.cc: Likewise.
	* testsuite/27_io/basic_ifstream/3.cc: Likewise.
	* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Likewise.
	* testsuite/27_io/basic_ofstream/3.cc: Likewise.
	* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Likewise.
	* testsuite/27_io/basic_streambuf/3.cc: Likewise.

From-SVN: r67102
2003-05-22 22:16:41 +00:00
Mike Stump
5f875c8fc6 config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the default.
* config.gcc (*-*-darwin*): Remove use_collect2=no, as it is the
	default.

From-SVN: r67101
2003-05-22 22:08:43 +00:00
DJ Delorie
d892f28886 calls.c (expand_call): If the arg block is going to grow downward...
* calls.c (expand_call): If the arg block is going to grow
downward, we need argblock to point to the top of the block,
not the bottom.

From-SVN: r67099
2003-05-22 16:54:43 -04:00
Richard Kenner
f59700f905 expr.c (expand_expr, [...]): Put into memory if constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.
* expr.c (expand_expr, case CONSTRUCTOR): Put into memory if
	constant and EXPAND_CONST_ADDRESS, not just EXPAND_INITIALIZER.

From-SVN: r67098
2003-05-22 16:31:46 -04:00
Bud Davis
94e01adf1c com.c (ffecom_sym_transform_): Error out on unallocatable storage after type is set.
2003-05-22  Bud Davis  <bdavis9659@comcast.net>

	* com.c (ffecom_sym_transform_): Error out on unallocatable
	storage after type is set.

From-SVN: r67097
2003-05-22 19:49:01 +00:00
Richard Kenner
2949599469 * c-decl.c (duplicate_decls): Test DECL for ERROR_MARK.
From-SVN: r67096
2003-05-22 15:39:13 -04:00
Paolo Carlini
0aef8de2ae fstream.tcc (_M_underflow): simplify...
2003-05-22  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/fstream.tcc (_M_underflow): simplify:
	!__testout implies _M_filepos == _M_in_end, therefore
	the first _M_file.seekoff call is never issued.

From-SVN: r67094
2003-05-22 18:44:02 +00:00
Kaveh R. Ghazi
1f85a61235 m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
* m68hc11.c: Don't use the `0' flag for asm_fprintf specifiers.
	* m68k.c: Likewise.
	* m68k.h: Likewise.

From-SVN: r67093
2003-05-22 17:54:20 +00:00
Benjamin Kosnik
e8751f3527 [multiple changes]
2003-05-22  Benjamin Kosnik  <bkoz@redhat.com>

	* configure.in: Sort cross table.
	* configure: Regenerate.

2003-05-22  Brad Spencer  <spencer@infointeractive.com>

	* configure.in: Add Solaris cross bits.

From-SVN: r67091
2003-05-22 17:04:13 +00:00
Zack Weinberg
5ded58d0e1 re PR other/2873 ([3.3 only][fixinclude] Bogus fixinclude of stdio.h from glibc 2.2.3)
PR other/2873
	* fixinc/inclhack.def (avoid_wchar_t_type): Add bypass
	expressions to prevent triggering on recent curses.h,
	linux/nls.h, or X11/Xlib.h.
	(stdio_va_list): Add _G_va_list to bypass pattern.
	(strict_ansi_not): Add bypass pattern for __SCO_VERSION__.
	* fixinc/fixincl.x: Regenerate.

From-SVN: r67090
2003-05-22 17:03:57 +00:00
Geert Bosch
36f9020c14 * gnat_rm.texi : Remove reference to Ada Core Technologies.
From-SVN: r67089
2003-05-22 18:25:58 +02:00
Rekha Bhintade
0421368833 sh.h (TARGET_SWITCHES): Display all the target switches when --target-help option is specified.
2003-05-22 Rekha Bhintade <rekhad@kpitcummins.com>

	* gcc/config/sh/sh.h (TARGET_SWITCHES): Display all the target
	switches when --target-help option is specified.

From-SVN: r67087
2003-05-22 13:20:53 +01:00
Eric Botcazou
fdbf04c8f4 re PR bootstrap/10805 ([sun-solaris2.7] relocation error when creating sparcv9/libgcc_s.so.1)
PR bootstrap/10805
	* doc/install.texi (sparc-sun-solaris2.7): Document bootstrap
	failure with Sun assembler 5.0 Alpha 03/27/98.

From-SVN: r67085
2003-05-22 07:53:43 +00:00
Loren J. Rittle
1490fbc12f Tweak last commit, adjust ChangeLog to reflect complete delta.
From-SVN: r67083
2003-05-22 06:30:50 +00:00
Ben Elliston
d3d2e8f014 I'm sure Loren James Little meant 2003-05-21, not 2003-03-21. :-)
From-SVN: r67082
2003-05-22 16:24:37 +10:00
Loren J. Rittle
d45d08f7a1 freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9 -D__sparc__ to match system compiler convention.
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Add -D__sparcv9
	-D__sparc__ to match system compiler convention.

From-SVN: r67080
2003-05-22 03:59:19 +00:00
Maciej W. Rozycki
df44510411 configure.in: Use curly braces in the definition of tooldir.
* configure.in: Use curly braces in the definition of tooldir.
* configure: Regenerate.

From-SVN: r67078
2003-05-21 22:49:07 -04:00
DJ Delorie
2eb98e5d4e Makefile.tpl (configure-target-libiberty): Depend only on gcc, not newlib or libgloss.
* Makefile.tpl (configure-target-libiberty): Depend only on gcc, not
newlib or libgloss.
* Makefile.in: Regenerate.

From-SVN: r67077
2003-05-21 22:36:20 -04:00
GCC Administrator
0ee29324ea Daily bump.
From-SVN: r67075
2003-05-22 00:16:07 +00:00
Jason Merrill
49b7aacb4d init.c (build_vec_delete): Copy the address into a temporary variable before calling build_vec_delete_1.
* init.c (build_vec_delete): Copy the address into a temporary
        variable before calling build_vec_delete_1.
        * decl2.c (delete_sanity): Don't call stabilize_reference.

From-SVN: r67072
2003-05-21 19:27:50 -04:00
Janis Johnson
9008d5b47e scalar-return-1_main.c: New file.
2003-05-21  Janis Johnson <janis187@us.ibm.com>

	* gcc.dg/compat/scalar-return-1_main.c: New file.
	* gcc.dg/compat/scalar-return-1_x.c: New file.
	* gcc.dg/compat/scalar-return-1_y.c: New file.
	* gcc.dg/compat/scalar-return-2_main.c: New file.
	* gcc.dg/compat/scalar-return-2_x.c: New file.
	* gcc.dg/compat/scalar-return-2_y.c: New file.
	* gcc.dg/compat/struct-return-3_main.c: New file.
	* gcc.dg/compat/struct-return-3_y.c: New file.
	* gcc.dg/compat/struct-return-3_x.c: New file.
	* gcc.dg/compat/struct-return-2_main.c: New file.
	* gcc.dg/compat/struct-return-2_x.c: New file.
	* gcc.dg/compat/struct-return-2_y.c: New file.

(I thought I had committed these yesterday)

From-SVN: r67070
2003-05-21 23:14:22 +00:00
Danny Smith
81888fcd42 gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined.
* gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero
	value, not just if defined.

	* libstdc++-v3/config/os/mingw32/os_defines.h (__GTHREAD_HIDE_WIN32API):
	Define to 1 by defualt.
	(NOMINMAX): Define.

From-SVN: r67069
2003-05-21 22:16:08 +00:00
John David Anglin
f48758e4ee re PR target/6428 ([hppa*-hp-hpux] gmon.out is not generated when application to be profiled is linked with shared libgcc)
PR target/6428
	* pa-hpux10.h (LINK_SPEC, LIB_SPEC): Move -L options for profiling
	directories from LIB_SPEC to LINK_SPEC.  Emit warning if `-p' or `-pg'
	option is used without `-static'.
	* pa-hpux11.h (LINK_SPEC, LIB_SPEC): Likewise.
	* pa64-hpux.h (LINK_SPEC, LIB_SPEC): Likewise.
	* g++.old-deja/g++.law/profile1.C (dg-options): Add -static to options
	for hppa*-hp-hpux*.
	* gcc.dg/20021014-1.c (dg-options): Likewise.
	* gcc.dg/nest.c (dg-options): Likewise.

From-SVN: r67068
2003-05-21 22:00:58 +00:00
Bob Wilson
7a29f483cf xtensa.h (MASK_SERIALIZE_VOLATILE, [...]): Delete.
* config/xtensa/xtensa.h (MASK_SERIALIZE_VOLATILE,
        TARGET_SERIALIZE_VOLATILE): Delete.
        (MASK_CONST16, MASK_ABS, MASK_ADDX): Renumber flag bits.
        (TARGET_DEFAULT): Remove MASK_SERIALIZE_VOLATILE.
        (TARGET_SWITCHES): Remove "-mserialize-volatile" and
        "-mno-serialize-volatile".
        * config/xtensa/xtensa.c (print_operand): Remove checks of
        TARGET_SERIALIZE_VOLATILE.
        * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise.
        * doc/invoke.texi (Option Summary, Xtensa Options): Remove
        "-mserialize-volatile" and "-mno-serialize-volatile" options.

From-SVN: r67067
2003-05-21 21:23:03 +00:00
DJ Delorie
862fced8b5 Makefile.tpl: Add missing empty maybe-check-gcc target.
* Makefile.tpl: Add missing empty maybe-check-gcc target.
* Makefile.in: Regenerate.

From-SVN: r67066
2003-05-21 17:10:32 -04:00
Paolo Carlini
98ce9d068e std_fstream.h (_M_set_buffer): Fix indentation.
2003-05-21  Paolo Carlini  <pcarlini@unitus.it>

	* include/std/std_fstream.h (_M_set_buffer): Fix indentation.

From-SVN: r67065
2003-05-21 20:22:25 +00:00
Nathan Sidwell
b190f23906 c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
* c-parse.in (fndef): Set DECL_SOURCE_LINE and FILE earlier.
	(nested_function): Likewise.
	(notype_nested_function): Likewise.
cp:
	* pt.c (register_specialization): Update the decl's location,
	if necessary.
	(check_explicit_specialization): Likewise.

From-SVN: r67063
2003-05-21 14:27:46 +00:00
Nick Clifton
278566a235 Update overflow type for R_XSTORMY16_16 reloc.
From-SVN: r67062
2003-05-21 13:53:04 +00:00
Jonathan Wakely
b3b33a51bd index.html: Fix typo.
2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>

	* docs/html/faq/index.html: Fix typo.
	* docs/html/faq/index.txt: Regenerate.

From-SVN: r67061
2003-05-21 13:18:45 +01:00
Jonathan Wakely
baf64b4ec1 test.html: Fix markup.
2003-05-21  Jonathan Wakely  <redi@gcc.gnu.org>

	* docs/html/test.html: Fix markup.

From-SVN: r67060
2003-05-21 13:15:18 +01:00