Commit Graph

35373 Commits

Author SHA1 Message Date
Bruce Korb
c6db95b2fa Add fix test from solaris27_mutex_init
From-SVN: r42629
2001-05-26 15:47:11 +00:00
Bruce Korb
97472fd6e9 Add fix test from irix_stdio_dummy_va_list
From-SVN: r42628
2001-05-26 15:46:38 +00:00
Bruce Korb
a5f1c5aa3b Correct test results for avoid-bool-define fix
From-SVN: r42627
2001-05-26 15:37:20 +00:00
Philip Blundell
8ac865bcc0 c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
2001-05-26  Philip Blundell  <philb@gnu.org>

	* config/c4x/c4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
	* config/i960/i960-protos.h: Likewise.
	* config/i370/i370-protos.h: Likewise.
	* config/h8300/h8300-protos.h: Likewise,
	* config/sh/sh-protos.h: Likewise.
	* config/v850/v850-protos.h: Likewise.

From-SVN: r42626
2001-05-26 15:07:50 +00:00
Philip Blundell
16d645fa81 arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
2001-05-26  Philip Blundell  <philb@gnu.org>

	* config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.

From-SVN: r42625
2001-05-26 14:11:12 +00:00
GCC Administrator
ff6cb60994 Daily bump.
From-SVN: r42624
2001-05-26 07:16:38 +00:00
Gabriel Dos Reis
4200d6fe87 * include/c_std/bits/std_cmath.h (sqrt): #undef.
From-SVN: r42622
2001-05-26 07:03:23 +00:00
Zack Weinberg
a63719408d toplev.c (debug_args, [...]): Mark descriptions for translation.
* toplev.c (debug_args, f_options, W_options): Mark
	descriptions for translation.
	(display_help): Translate descriptions on output.

	* cp/lang-options.h, f/lang-options.h, java/lang-options.h,
	objc/lang-options.h: Mark descriptions for translation.

From-SVN: r42618
2001-05-26 05:28:26 +00:00
Zack Weinberg
05e126346a aclocal.m4: Quote final argument of patsubst.
* aclocal.m4: Quote final argument of patsubst.  Use
	3-argument form of AC_DEFINE.  Restore quotes to [] while
	using AC_FD_CC.
	* configure.in: Remove unnecessary changequote calls.
	* configure, config.in: Regenerate.

From-SVN: r42617
2001-05-26 04:54:42 +00:00
Richard Henderson
88657302b7 Standardize header guards.
From-SVN: r42615
2001-05-25 18:31:47 -07:00
Stacey Sheldon
f811f821d5 * config/arc/initfini.c (.init): Fix typo.
From-SVN: r42614
2001-05-25 18:14:19 -07:00
Geoffrey Keating
d365ba4289 dbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only for variable-size records.
* dbxout.c (dbxout_symbol): Invert previous patch, which was
	outputting a tag only for variable-size records.

From-SVN: r42612
2001-05-26 01:08:13 +00:00
Rainer Orth
e66a4f0927 * po2tbl.sed.in: Fixed typo.
From-SVN: r42610
2001-05-25 17:47:18 -07:00
Rainer Orth
3f0e0fa283 * i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
From-SVN: r42609
2001-05-25 17:46:02 -07:00
Richard Henderson
f204d330bd * libgcc-std.ver: Export XFmode and TFmode versions of symbols.
From-SVN: r42605
2001-05-25 17:08:59 -07:00
Richard Henderson
7b3a4df550 config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
* config.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
        (i386-*-solaris2): Use t-slibgcc-elf-ver or t-slibgcc-sld.
        (sparc*-*-solaris2): Likewise.
        * config/t-linux: Remove shared libgcc macros.
        * config/t-slibgcc-elf-ver: Move from sparc/t-slibgcc.
        * config/t-slibgcc-sld: Move from sparc/t-slibgcc-sld.

From-SVN: r42602
2001-05-25 16:08:57 -07:00
Rainer Orth
57db2f4df6 mknumeric_limits: Stop if gen-num-limits dies.
2001-05-23  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * mknumeric_limits: Stop if gen-num-limits dies.

From-SVN: r42601
2001-05-25 22:19:25 +00:00
Loren J. Rittle
45f1add133 * config.gcc (*-*-freebsd*): Report bad configuration.
From-SVN: r42599
2001-05-25 22:11:21 +00:00
David Edelsohn
f245e30e85 xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
* xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.

	* config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
	any prefix.
	(ASM_OUTPUT_LABELREF): Delete.

From-SVN: r42598
2001-05-25 18:08:30 -04:00
Benjamin Kosnik
bd937d500d [multiple changes]
2001-05-25  Benjamin Kosnik  <bkoz@redhat.com>

	other/2931
	* acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
	* aclocal.m4: Regenerate.
	* configure: Same.

2001-05-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
            Phil Edwards  <pme@sources.redhat.com>
	    Alexandre Oliva  <aoliva@redhat.com>

        * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
        in an amd-safe manner. Revert glibcpp_prefixdir.

From-SVN: r42596
2001-05-25 21:53:51 +00:00
Gabriel Dos Reis
4e588ec90e std_cmath.h: Tweak.
* include/c_std/bits/std_cmath.h: Tweak.  #define away abs, cos,
      fabs, sin, sqrt.  They are now implemented in terms of __builtin_
      variants.

From-SVN: r42595
2001-05-25 21:43:42 +00:00
Rainer Orth
a26c3bb593 inclhack.def (strict_ansi_not, [...]): Don't run if stdc_0_in_system_headers.
* fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
        strict_ansi_only): Don't run if stdc_0_in_system_headers.
        * fixinc/fixincl.x: Regenerate.
        * fixinc/fixtests.c (stdc_0_in_system_headers_test): New function.
        (FIX_TEST_TABLE): Declare it.
        * fixinc/fixlib.h: Include config.h.

From-SVN: r42593
2001-05-25 14:36:08 -07:00
Rainer Orth
a88072eb43 inclhack.def (alpha___assert): Change char * args to const char * on Tru64 UNIX to avoid excessive warnings...
* fixinc/inclhack.def (alpha___assert): Change char * args to
        const char * on Tru64 UNIX to avoid excessive warnings from
        assert.h.
        * fixinc/fixincl.x: Regenerate.

From-SVN: r42589
2001-05-25 14:08:53 -07:00
Geoffrey Keating
83a05a970b dbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only for variable-size records.
* dbxout.c (dbxout_symbol): Invert previous patch, which was
	outputting a tag only for variable-size records.

From-SVN: r42588
2001-05-25 20:55:52 +00:00
Mark Mitchell
351d8ec89e Fix typo
From-SVN: r42587
2001-05-25 20:15:22 +00:00
Jeff Knaggs
dde5a56301 alpha.md (movtf_internal): Use reg_overlap_mentioned_p instead of rtx_equal_p for early clobber test.
* config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
        instead of rtx_equal_p for early clobber test.

From-SVN: r42585
2001-05-25 13:07:18 -07:00
Mark Mitchell
1084128584 builtins.def: Encode additional information, such as names and types, here.
* builtins.def: Encode additional information, such as names and
	types, here.
	* builtin-types.def: New file.
	* builtins.c (built_in_names): Adjust use of DEF_BUILTIN.
	(built_in_decls): Likewise.  Don't explicitly initialize global
	data to NULL.
	(expand_builtin_mathfn): Handle float and long double variants of
	math builtins.
	(expand_builtin): Likewise.
	* c-common.c (c_common_nodes_and_builtins): Make it table-driven.
	(expand_tree_builtin): Handle long, long long, float, and long
	double variants of math functions.
	* c-common.h (c_tree_index): Remove some unused nodes.
	(void_ftype): Remove.
	(void_type_ptr): Likewise.
	(int_ftype_int): Likewise.
	(ptr_ftype_sizetype): Likewise.
	* c-decl.c (init_decl_processing): Remove creation of DWARF
	builtins.
	* defaults.h (MD_INIT_BUILTINS): Provide default definition.
	* tree.h (built_in_function): Adjust definition of DEF_BUILTIN.
	* Makefile.in (c-common.o): Depend on builtin-types.def.

	* decl.c (init_decl_processing): Tweak.

From-SVN: r42583
2001-05-25 20:00:59 +00:00
Dale Johannesen
c132505efe t-darwin: Fix dependencies for darwin.o.
2001-05-25  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/t-darwin: Fix dependencies for darwin.o.

From-SVN: r42582
2001-05-25 19:50:50 +00:00
Neil Booth
d3c733f95f * c-parse.in (notype_initdcl): Remove redundant line.
From-SVN: r42581
2001-05-25 19:44:20 +00:00
Diego Novillo
47cf924739 20010518-2.c: New file.
2001-05-25  Diego Novillo  <dnovillo@redhat.com>

	* gcc.c-torture/compile/20010518-2.c: New file.
	* gcc.c-torture/execute/20010518-1.c: New file.
	* gcc.c-torture/execute/20010518-2.c: New file.

From-SVN: r42580
2001-05-25 15:38:52 -04:00
Rainer Orth
827ae6cf7c aclocal.m4: Fixed typo.
* aclocal.m4: Fixed typo.
        (gcc_AC_HEADER_STDBOOL): Define.
        (gcc_AC_C__BOOL): Define.
        * configure.in: Use them.
        (AC_CHECK_HEADERS): Remove stdbool.h
        * configure, config.in: Regenerate.

From-SVN: r42578
2001-05-25 12:30:11 -07:00
Richard Henderson
80a480ca16 function.c (expand_function_start): Don't abort on PARALLEL returns from hard_function_value.
* function.c (expand_function_start): Don't abort on PARALLEL
        returns from hard_function_value.

From-SVN: r42577
2001-05-25 12:05:24 -07:00
Richard Henderson
244ec848eb i386.md: Revert previous change.
* config/i386/i386.md: Revert previous change.  Do not apply
        the peephole if the components do not die after the sequence.

From-SVN: r42576
2001-05-25 11:17:40 -07:00
Joseph Myers
0e03329a6f c-parse.in (array_declarator): New.
* c-parse.in (array_declarator): New.  Handle C99 constructs.
	Don't restrict [*] declarators to C only.
	(after_type_declarator, parm_declarator_starttypename,
	parm_declarator_nostarttypename, notype_declarator,
	direct_absdcl1): Use it.
	* c-decl.c (build_array_declarator, set_array_declarator_type):
	New functions.  Warn that [*] isn't properly implemented; pedwarn
	for [*] outside C99 mode if pedantic rather than giving a hard
	error.
	(grokdeclarator): Handle static and type qualifiers in parameter
	array declarators.
	* c-tree.h (build_array_declarator, set_array_declarator_type):
	Declare.
	* extend.texi (Attribute Syntax): Document attributes in parameter
	array declarators.

testsuite:
	* gcc.dg/c90-arraydecl-1.c, gcc.dg/c99-arraydecl-1.c: New tests.

From-SVN: r42574
2001-05-25 12:12:47 +01:00
Mark Mitchell
b60868e00c New test
From-SVN: r42570
2001-05-25 09:16:08 +00:00
Mark Mitchell
e35031a67a i386.md: Make sure cmpstr peepholes do not affect liveness information.
* config/i386/i386.md: Make sure cmpstr peepholes do not
	affect liveness information.

From-SVN: r42568
2001-05-25 09:09:17 +00:00
GCC Administrator
2afb18a116 Daily bump.
From-SVN: r42566
2001-05-25 07:16:41 +00:00
Ovidiu Predescu
12e010668b init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key...
2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>

	* init.c (__objc_send_message_in_list): When setting a new entry
	in __objc_load_methods use the method name as key, not the method
	IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).

From-SVN: r42562
2001-05-25 07:14:10 +00:00
Ovidiu Predescu
3e5252057d (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key...
(__objc_send_message_in_list): When setting a new entry in
__objc_load_methods use the method name as key, not the method IMP
(reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).

From-SVN: r42561
2001-05-25 07:12:17 +00:00
Mark Mitchell
eb8543b353 c-typeck.c (digest_init): Issue error messages about invalid constants, not warnings.
* c-typeck.c (digest_init): Issue error messages about
	invalid constants, not warnings.

From-SVN: r42560
2001-05-25 06:34:16 +00:00
Benjamin Kosnik
a16ad77946 inserters_extractors.cc (test09): New test.
2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2830
	* testsuite/21_strings/inserters_extractors.cc (test09): New test.
	* include/bits/ostream.tcc: Format to match istream.tcc.
	(operator<<(basic_ostream __out, const basic_string __s)): Fix.

From-SVN: r42557
2001-05-25 04:24:12 +00:00
Phil Edwards
1044b043c2 eh_alloc.cc (__cxa_allocate_exception): Qualify malloc with std:: .
2001-05-24  Phil Edwards  <pme@sources.redhat.com>

	* libsupc++/eh_alloc.cc (__cxa_allocate_exception):  Qualify
	malloc with std:: .
	(__cxa_free_exception):  Likewise with free.

From-SVN: r42556
2001-05-25 02:10:55 +00:00
Mark Mitchell
eeff8d2c06 std_cstring.h: #define away all global functions we will redeclare in namespace `std'.
* include/c_std/bin/std_cstring.h: #define away all global
	functions we will redeclare in namespace `std'.
	* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
	std::memset, instead of memset.
	* testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
	not plain `strcmp'.
	* testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
	plain `strcpy'.

From-SVN: r42555
2001-05-25 01:33:21 +00:00
Mark Mitchell
f5aada2647 G++ no longer defines builtins that do not begin with __builtin.
* g++.old-deja/g++.abi/bitfields.C: Update accordingly.
	* g++.old-deja/g++.brendand/misc13.C: Likewise.
	* g++.old-deja/g++.law/builtin1.C: Likewise.
	* g++.old-deja/g++.law/cvt2.C: Likewise.
	* g++.old-deja/g++.mike/net5.C: Likewise.
	* g++.old-deja/g++.other/builtins1.C: Likewise.
	* g++.old-deja/g++.other/builtins2.C: Likewise.
	* g++.old-deja/g++.other/builtins3.C: Likewise.
	* g++.old-deja/g++.other/builtins4.C: Likewise.
	* g++.old-deja/g++.other/inline8.C: Likewise.
	* g++.old-deja/g++.robertl/eb39.C: Likewise.

From-SVN: r42554
2001-05-25 01:30:57 +00:00
Mark Mitchell
0b1161fcb2 invoke.texi (-fno-builtin): Document that this is always on in C++.
* invoke.texi (-fno-builtin): Document that this is always on
	in C++.

	* decl.c (duplicate_decls): Tidy.
	(init_decl_processing): Always set flag_no_builtin.

From-SVN: r42553
2001-05-25 01:27:08 +00:00
Benjamin Kosnik
d422980b3f basic_ios.tcc: Small tweak.
2001-05-24  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2832
	* include/bits/basic_ios.tcc: Small tweak.
	* include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
	ctors and dtors, and rdbuf settings.
	(ofstream): Same.
	(fstream): Same.
	* include/bits/std_sstream.h: Same, but for stringstream classes.
	* testsuite/27_io/ostringstream_members.cc: New.
	* testsuite/27_io/stringstream_members.cc: New.
	* testsuite/27_io/fstream_members.cc: New.
	* testsuite/27_io/ifstream_members.cc: Add test.
	* testsuite/27_io/istringstream_members.cc: Add test.
	* testsuite/27_io/ofstream_members.cc: Add test.

From-SVN: r42547
2001-05-24 23:09:53 +00:00
Phil Blundell
476c334ecf install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is required.
2001-05-24  Philip Blundell  <philb@gnu.org>

	* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
	required.

From-SVN: r42546
2001-05-24 21:16:41 +00:00
Phil Blundell
6646fd701f install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is required.
2001-05-24  Philip Blundell  <philb@gnu.org>

	* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
	required.

[[Split portion of a mixed commit.]]

From-SVN: r42545.2
2001-05-24 21:16:36 +00:00
Philip Blundell
e46ccf7c81 arm.c (output_return_instruction): Correctly handle interworking and interrupt functions.
2001-05-24  Philip Blundell  <philb@gnu.org>

	* config/arm/arm.c (output_return_instruction): Correctly handle
	interworking and interrupt functions.

From-SVN: r42543
2001-05-24 21:09:05 +00:00
Phil Blundell
b605cfa891 arm.h (TARGET_SWITCHES): Correct misleading help for -m{no-}sched-prolog.
2001-05-24  Philip Blundell  <philb@gnu.org>

	* config/arm/arm.h (TARGET_SWITCHES): Correct misleading help for
	-m{no-}sched-prolog.  Fix typos and improve formatting.

From-SVN: r42542
2001-05-24 21:06:36 +00:00