gcc.git
23 years agoDaily bump.
GCC Administrator [Tue, 29 May 2001 07:17:13 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r42685

23 years ago* objc/objc.gperf: Remove, no longer used.
Stan Shebs [Mon, 28 May 2001 23:56:18 +0000 (23:56 +0000)]
* objc/objc.gperf: Remove, no longer used.

From-SVN: r42683

23 years agoltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared libraries when using...
Simon Patarin [Mon, 28 May 2001 21:03:21 +0000 (23:03 +0200)]
ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared libraries when using g++ with native linker.

* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

From-SVN: r42680

23 years agoc-tree.texi, [...]: Remove trailing whitespace.
Joseph Myers [Mon, 28 May 2001 20:57:50 +0000 (21:57 +0100)]
c-tree.texi, [...]: Remove trailing whitespace.

* c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
Remove trailing whitespace.

From-SVN: r42678

23 years ago* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
Alexandre Oliva [Mon, 28 May 2001 20:49:42 +0000 (20:49 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.

From-SVN: r42677

23 years agoFix the comment, it is propagate_one_insn, not propagate_on_insn.
H.J. Lu [Mon, 28 May 2001 16:27:03 +0000 (09:27 -0700)]
Fix the comment, it is propagate_one_insn, not propagate_on_insn.

From-SVN: r42675

23 years ago* contrib/test_summary (files): Sort before evaluating.
Rainer Orth [Mon, 28 May 2001 15:50:29 +0000 (15:50 +0000)]
* contrib/test_summary (files): Sort before evaluating.

From-SVN: r42673

23 years agoinstall.texi (Specific): http://reality.sgi.com/ariel/freeware/ became http://freewar...
Gerald Pfeifer [Mon, 28 May 2001 07:55:13 +0000 (09:55 +0200)]
install.texi (Specific): reality.sgi.com/ariel/freeware/ became http://freeware.sgi.com/.

* doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
became http://freeware.sgi.com/.

From-SVN: r42671

23 years agoDaily bump.
GCC Administrator [Mon, 28 May 2001 07:17:51 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r42669

23 years agolocal-alloc.c (update_equiv_regs): Don't eliminate constant expressions at -O0.
Geoffrey Keating [Mon, 28 May 2001 02:21:28 +0000 (02:21 +0000)]
local-alloc.c (update_equiv_regs): Don't eliminate constant expressions at -O0.

* local-alloc.c (update_equiv_regs): Don't eliminate constant
expressions at -O0.

From-SVN: r42667

23 years agoobjc-act.c: Add/fix various comments.
Stan Shebs [Mon, 28 May 2001 01:01:10 +0000 (01:01 +0000)]
objc-act.c: Add/fix various comments.

* objc/objc-act.c: Add/fix various comments.
(init_selector): Remove, no longer used.
(build_msg_pool_reference): Ditto.
(objc_debug): Ditto.

From-SVN: r42666

23 years agoc-decl.c (init_decl_processing): Don't call start_identifier_warnings.
Neil Booth [Sun, 27 May 2001 21:04:28 +0000 (21:04 +0000)]
c-decl.c (init_decl_processing): Don't call start_identifier_warnings.

* c-decl.c (init_decl_processing):
 Don't call start_identifier_warnings.
* flags.h (warn_id_clash, id_clash_len): Remove.
* stringpool.c: Don't include flags.h.
(scan_for_clashes, do_identifier_warnings,
start_identifier_warnings): Remove.
* toplev.c (warn_id_clash, id_clash_len): Remove.
(display_help): Don't document -Wid-clash.
(decode_W_option): Print warning on -Wid-clash.
* tree.h (start_identifier_warnings): Remove.
* invoke.texi: Remove documentation of -Wid-clash.

From-SVN: r42665

23 years agoreorganize inclhacks and apply fix to fixtests.c
Bruce Korb [Sun, 27 May 2001 18:21:04 +0000 (18:21 +0000)]
reorganize inclhacks and apply fix to fixtests.c

From-SVN: r42663

23 years ago* cpplib.c (run_directive): Set pfile->directive.
Neil Booth [Sun, 27 May 2001 18:06:00 +0000 (18:06 +0000)]
* cpplib.c (run_directive): Set pfile->directive.

From-SVN: r42661

23 years agoc-tree.texi: Reformat the manual as a single chapter now included by gcc.texi.
Theodore Papadopoulo [Sun, 27 May 2001 17:09:47 +0000 (19:09 +0200)]
c-tree.texi: Reformat the manual as a single chapter now included by gcc.texi.

* c-tree.texi: Reformat the manual as a single chapter now
included by gcc.texi.
* gcc.texi: Include c-tree.texi. Merge all indexes.
* Makefile.in (dvi): Add generation for the cppinternals
documentation. Added dependencies on fdl.texi and c-tree.texi
where appropriate.  Use TEXI2DVI instead of custom tex calls.
(info): Added dependencies on fdl.texi and c-tree.texi where
appropriate.  Remove the target c-tree.info.

From-SVN: r42660

23 years agoMake-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi.
Theodore Papadopoulo [Sun, 27 May 2001 17:08:11 +0000 (19:08 +0200)]
Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi.

* Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on
fdl.texi.
(f/g77.dvi): Use TEXI2DVI instead of custom tex calls.  Create the
dvi file in the f directory.

From-SVN: r42659

23 years agoMake-lang.in ($(srcdir)/java/gcj.info): Added dependencies on fdl.texi.
Theodore Papadopoulo [Sun, 27 May 2001 17:07:48 +0000 (19:07 +0200)]
Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on fdl.texi.

* Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on
fdl.texi.
(java/gcj.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the java directory.

From-SVN: r42658

23 years agoMake-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
Theodore Papadopoulo [Sun, 27 May 2001 17:07:17 +0000 (19:07 +0200)]
Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.

* Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
(ch/chill.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the ch directory.

From-SVN: r42657

23 years agocombine.c (try_combine): Fix typo in comment.
Lars Brinkhoff [Sun, 27 May 2001 10:35:09 +0000 (10:35 +0000)]
combine.c (try_combine): Fix typo in comment.

* combine.c (try_combine): Fix typo in comment.
* expr.c (expand_expr): Likewise.
* config/i370/i370.md (untyped_call): Likewise.

From-SVN: r42655

23 years agoDaily bump.
GCC Administrator [Sun, 27 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42652

23 years agore PR c++/2823 (kde2/artsd miscompilation (part 1))
Nathan Sidwell [Sat, 26 May 2001 19:20:06 +0000 (19:20 +0000)]
re PR c++/2823 (kde2/artsd miscompilation (part 1))

cp:
PR g++/2823
* semantics.c (expand_body): Don't optimize thunks.
testsuite:
* g++.old-deja/g++.other/optimize2.C: New file.

From-SVN: r42650

23 years ago* configure: Remove obsolete file.
Zack Weinberg [Sat, 26 May 2001 18:36:28 +0000 (18:36 +0000)]
* configure: Remove obsolete file.

From-SVN: r42644

23 years agoregenerate
Bruce Korb [Sat, 26 May 2001 18:27:00 +0000 (18:27 +0000)]
regenerate

From-SVN: r42643

23 years agofixtests.c (stdc_0_in_system_headers_test): Must return "FIX" when fixincl is operati...
Bruce Korb [Sat, 26 May 2001 18:26:29 +0000 (18:26 +0000)]
fixtests.c (stdc_0_in_system_headers_test): Must return "FIX" when fixincl is operating in test mode

* fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
when fixincl is operating in test mode
* fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
(AAB_ultrix_limits): remove redundant text
(AAB_ultrix_memory): ditto
(AAB_ultrix_string): ditto
(djgpp_wchar_h): fix the test text
(irix_stdio_va_list): add test text
(irix_limits_const): add a testing output file (limits.h is overwritten)
(strict_ansi_not_ctd): put limits.h second in list for same reason
(solaris27_mutex_init): test text needed selection text, too

* fixinc/fixtests.c(stdc_0_in_system_headers_test): in testing mode,
always apply the fix

From-SVN: r42642

23 years agotest result moved to "testing.h" file
Bruce Korb [Sat, 26 May 2001 18:12:26 +0000 (18:12 +0000)]
test result moved to "testing.h" file

From-SVN: r42641

23 years agoadd fix test results for freebsd_gcc3_breakage
Bruce Korb [Sat, 26 May 2001 18:04:43 +0000 (18:04 +0000)]
add fix test results for freebsd_gcc3_breakage

From-SVN: r42640

23 years agoadd fix test results for irix_limits_const hack
Bruce Korb [Sat, 26 May 2001 18:00:59 +0000 (18:00 +0000)]
add fix test results for irix_limits_const hack

From-SVN: r42639

23 years agoAdd fix test result for strict_ansi_not_ctd
Bruce Korb [Sat, 26 May 2001 17:58:57 +0000 (17:58 +0000)]
Add fix test result for strict_ansi_not_ctd

From-SVN: r42638

23 years agoAdd another caveat
Bruce Korb [Sat, 26 May 2001 17:40:44 +0000 (17:40 +0000)]
Add another caveat

From-SVN: r42637

23 years agoAdd fix check test for alpha___assert
Bruce Korb [Sat, 26 May 2001 17:38:05 +0000 (17:38 +0000)]
Add fix check test for alpha___assert

From-SVN: r42636

23 years agostdc_0_in_system_headers_test must return "FIX"
Bruce Korb [Sat, 26 May 2001 17:36:06 +0000 (17:36 +0000)]
stdc_0_in_system_headers_test must return "FIX"
when fixincl is operating in test mode

From-SVN: r42635

23 years agoWe must apply the fix in test mode
Bruce Korb [Sat, 26 May 2001 17:27:10 +0000 (17:27 +0000)]
We must apply the fix in test mode

From-SVN: r42634

23 years agoUpgrade to current collection of tests
Bruce Korb [Sat, 26 May 2001 16:39:15 +0000 (16:39 +0000)]
Upgrade to current collection of tests

From-SVN: r42633

23 years agoThis check template is now upgraded for AutoGen5
Bruce Korb [Sat, 26 May 2001 16:17:46 +0000 (16:17 +0000)]
This check template is now upgraded for AutoGen5

From-SVN: r42632

23 years agowchar_t typedefs are now wrapped in "ifndef __cplusplus"
Bruce Korb [Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)]
wchar_t typedefs are now wrapped in "ifndef __cplusplus"

From-SVN: r42631

23 years agowchar_t now gets wrapped inside "ifndef __cplusplus",
Bruce Korb [Sat, 26 May 2001 15:54:35 +0000 (15:54 +0000)]
wchar_t now gets wrapped inside "ifndef __cplusplus",

so we have to adjust the gnu_types fix test for that.

From-SVN: r42630

23 years agoAdd fix test from solaris27_mutex_init
Bruce Korb [Sat, 26 May 2001 15:47:11 +0000 (15:47 +0000)]
Add fix test from solaris27_mutex_init

From-SVN: r42629

23 years agoAdd fix test from irix_stdio_dummy_va_list
Bruce Korb [Sat, 26 May 2001 15:46:38 +0000 (15:46 +0000)]
Add fix test from irix_stdio_dummy_va_list

From-SVN: r42628

23 years agoCorrect test results for avoid-bool-define fix
Bruce Korb [Sat, 26 May 2001 15:37:20 +0000 (15:37 +0000)]
Correct test results for avoid-bool-define fix

From-SVN: r42627

23 years agoc4x-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
Philip Blundell [Sat, 26 May 2001 15:07:50 +0000 (15:07 +0000)]
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

23 years agoarm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
Philip Blundell [Sat, 26 May 2001 14:11:12 +0000 (14:11 +0000)]
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

23 years agoDaily bump.
GCC Administrator [Sat, 26 May 2001 07:16:38 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42624

23 years ago* include/c_std/bits/std_cmath.h (sqrt): #undef.
Gabriel Dos Reis [Sat, 26 May 2001 07:03:23 +0000 (07:03 +0000)]
* include/c_std/bits/std_cmath.h (sqrt): #undef.

From-SVN: r42622

23 years agotoplev.c (debug_args, [...]): Mark descriptions for translation.
Zack Weinberg [Sat, 26 May 2001 05:28:26 +0000 (05:28 +0000)]
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

23 years agoaclocal.m4: Quote final argument of patsubst.
Zack Weinberg [Sat, 26 May 2001 04:54:42 +0000 (04:54 +0000)]
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

23 years agoStandardize header guards.
Richard Henderson [Sat, 26 May 2001 01:31:47 +0000 (18:31 -0700)]
Standardize header guards.

From-SVN: r42615

23 years ago* config/arc/initfini.c (.init): Fix typo.
Stacey Sheldon [Sat, 26 May 2001 01:14:19 +0000 (01:14 +0000)]
* config/arc/initfini.c (.init): Fix typo.

From-SVN: r42614

23 years agodbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only...
Geoffrey Keating [Sat, 26 May 2001 01:08:13 +0000 (01:08 +0000)]
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

23 years ago* po2tbl.sed.in: Fixed typo.
Rainer Orth [Sat, 26 May 2001 00:47:18 +0000 (00:47 +0000)]
* po2tbl.sed.in: Fixed typo.

From-SVN: r42610

23 years ago* i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
Rainer Orth [Sat, 26 May 2001 00:46:02 +0000 (00:46 +0000)]
* i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.

From-SVN: r42609

23 years ago* libgcc-std.ver: Export XFmode and TFmode versions of symbols.
Richard Henderson [Sat, 26 May 2001 00:08:59 +0000 (17:08 -0700)]
* libgcc-std.ver: Export XFmode and TFmode versions of symbols.

From-SVN: r42605

23 years agoconfig.gcc (all gnu and linux): Use t-slibgcc-elf-ver with t-linux.
Richard Henderson [Fri, 25 May 2001 23:08:57 +0000 (16:08 -0700)]
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

23 years agomknumeric_limits: Stop if gen-num-limits dies.
Rainer Orth [Fri, 25 May 2001 22:19:25 +0000 (22:19 +0000)]
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

23 years ago* config.gcc (*-*-freebsd*): Report bad configuration.
Loren J. Rittle [Fri, 25 May 2001 22:11:21 +0000 (22:11 +0000)]
* config.gcc (*-*-freebsd*): Report bad configuration.

From-SVN: r42599

23 years agoxcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
David Edelsohn [Fri, 25 May 2001 22:08:30 +0000 (22:08 +0000)]
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

23 years ago[multiple changes]
Benjamin Kosnik [Fri, 25 May 2001 21:53:51 +0000 (21:53 +0000)]
[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

23 years agostd_cmath.h: Tweak.
Gabriel Dos Reis [Fri, 25 May 2001 21:43:42 +0000 (21:43 +0000)]
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

23 years agoinclhack.def (strict_ansi_not, [...]): Don't run if stdc_0_in_system_headers.
Rainer Orth [Fri, 25 May 2001 21:36:08 +0000 (21:36 +0000)]
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

23 years agoinclhack.def (alpha___assert): Change char * args to const char * on Tru64 UNIX to...
Rainer Orth [Fri, 25 May 2001 21:08:53 +0000 (21:08 +0000)]
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

23 years agodbxout.c (dbxout_symbol): Invert previous patch, which was outputting a tag only...
Geoffrey Keating [Fri, 25 May 2001 20:55:52 +0000 (20:55 +0000)]
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

23 years agoFix typo
Mark Mitchell [Fri, 25 May 2001 20:15:22 +0000 (20:15 +0000)]
Fix typo

From-SVN: r42587

23 years agoalpha.md (movtf_internal): Use reg_overlap_mentioned_p instead of rtx_equal_p for...
Jeff Knaggs [Fri, 25 May 2001 20:07:18 +0000 (20:07 +0000)]
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

23 years agobuiltins.def: Encode additional information, such as names and types, here.
Mark Mitchell [Fri, 25 May 2001 20:00:59 +0000 (20:00 +0000)]
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

23 years agot-darwin: Fix dependencies for darwin.o.
Dale Johannesen [Fri, 25 May 2001 19:50:50 +0000 (19:50 +0000)]
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

23 years ago* c-parse.in (notype_initdcl): Remove redundant line.
Neil Booth [Fri, 25 May 2001 19:44:20 +0000 (19:44 +0000)]
* c-parse.in (notype_initdcl): Remove redundant line.

From-SVN: r42581

23 years ago20010518-2.c: New file.
Diego Novillo [Fri, 25 May 2001 19:38:52 +0000 (19:38 +0000)]
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

23 years agoaclocal.m4: Fixed typo.
Rainer Orth [Fri, 25 May 2001 19:30:11 +0000 (19:30 +0000)]
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

23 years agofunction.c (expand_function_start): Don't abort on PARALLEL returns from hard_functio...
Richard Henderson [Fri, 25 May 2001 19:05:24 +0000 (12:05 -0700)]
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

23 years agoi386.md: Revert previous change.
Richard Henderson [Fri, 25 May 2001 18:17:40 +0000 (11:17 -0700)]
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

23 years agoc-parse.in (array_declarator): New.
Joseph Myers [Fri, 25 May 2001 11:12:47 +0000 (12:12 +0100)]
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

23 years agoNew test
Mark Mitchell [Fri, 25 May 2001 09:16:08 +0000 (09:16 +0000)]
New test

From-SVN: r42570

23 years agoi386.md: Make sure cmpstr peepholes do not affect liveness information.
Mark Mitchell [Fri, 25 May 2001 09:09:17 +0000 (09:09 +0000)]
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

23 years agoDaily bump.
GCC Administrator [Fri, 25 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42566

23 years agoinit.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods...
Ovidiu Predescu [Fri, 25 May 2001 07:14:10 +0000 (07:14 +0000)]
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

23 years ago(__objc_send_message_in_list): When setting a new entry in __objc_load_methods use...
Ovidiu Predescu [Fri, 25 May 2001 07:12:17 +0000 (07:12 +0000)]
(__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

23 years agoc-typeck.c (digest_init): Issue error messages about invalid constants, not warnings.
Mark Mitchell [Fri, 25 May 2001 06:34:16 +0000 (06:34 +0000)]
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

23 years agoinserters_extractors.cc (test09): New test.
Benjamin Kosnik [Fri, 25 May 2001 04:24:12 +0000 (04:24 +0000)]
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

23 years agoeh_alloc.cc (__cxa_allocate_exception): Qualify malloc with std:: .
Phil Edwards [Fri, 25 May 2001 02:10:55 +0000 (02:10 +0000)]
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

23 years agostd_cstring.h: #define away all global functions we will redeclare in namespace ...
Mark Mitchell [Fri, 25 May 2001 01:33:21 +0000 (01:33 +0000)]
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

23 years agoG++ no longer defines builtins that do not begin with __builtin.
Mark Mitchell [Fri, 25 May 2001 01:30:57 +0000 (01:30 +0000)]
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

23 years agoinvoke.texi (-fno-builtin): Document that this is always on in C++.
Mark Mitchell [Fri, 25 May 2001 01:27:08 +0000 (01:27 +0000)]
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

23 years agobasic_ios.tcc: Small tweak.
Benjamin Kosnik [Thu, 24 May 2001 23:09:53 +0000 (23:09 +0000)]
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

23 years agoinstall.texi (arm*-*-linux-gnu): Say that binutils 2.10 is required.
Phil Blundell [Thu, 24 May 2001 21:16:41 +0000 (21:16 +0000)]
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

23 years agoinstall.texi (arm*-*-linux-gnu): Say that binutils 2.10 is required.
Phil Blundell [Thu, 24 May 2001 21:16:36 +0000 (21:16 +0000)]
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

23 years agoarm.c (output_return_instruction): Correctly handle interworking and interrupt functions.
Philip Blundell [Thu, 24 May 2001 21:09:05 +0000 (21:09 +0000)]
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

23 years agoarm.h (TARGET_SWITCHES): Correct misleading help for -m{no-}sched-prolog.
Phil Blundell [Thu, 24 May 2001 21:06:36 +0000 (21:06 +0000)]
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

23 years agoarm.h (TARGET_SWITCHES): Correct misleading help for -m{no-}sched-prolog.
Phil Blundell [Thu, 24 May 2001 21:06:35 +0000 (21:06 +0000)]
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.

[[Split portion of a mixed commit.]]

From-SVN: r42541.2

23 years agoinvoke.texi (ARM Options): Improve wording slightly.
Philip Blundell [Thu, 24 May 2001 20:54:59 +0000 (20:54 +0000)]
invoke.texi (ARM Options): Improve wording slightly.

2001-05-24  Philip Blundell  <philb@gnu.org>

* invoke.texi (ARM Options): Improve wording slightly.  Add
documentation for more options, including those for Thumb mode.
Don't mention options that don't exist or are unimplemented.
(Thumb Options): Delete; merged into above section.

From-SVN: r42539

23 years agoc++config (__NO_MATH_INLINES): Move to...
Gabriel Dos Reis [Thu, 24 May 2001 20:51:33 +0000 (20:51 +0000)]
c++config (__NO_MATH_INLINES): Move to...

      * include/bits/c++config(__NO_MATH_INLINES): Move to...
      * config/os/gnu-linux/bits/os_defines.h: ...here.

From-SVN: r42538

23 years agolinux.h (SIGNAL_FRAMESIZE): Define.
Geoffrey Keating [Thu, 24 May 2001 20:15:13 +0000 (20:15 +0000)]
linux.h (SIGNAL_FRAMESIZE): Define.

* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
(MD_FALLBACK_FRAME_STATE_FOR): Use it.

From-SVN: r42534

23 years agoc++config (__NO_MATH_INLINES): New macro.
Gabriel Dos Reis [Thu, 24 May 2001 18:38:20 +0000 (18:38 +0000)]
c++config (__NO_MATH_INLINES): New macro.

      * include/bits/c++config (__NO_MATH_INLINES): New macro.
      * testsuite/26_numerics/fabs_inline.cc (main): New test.

From-SVN: r42533

23 years agonatString.cc (init): Throw ArrayIndexOutOfBoundsException.
Tom Tromey [Thu, 24 May 2001 18:06:03 +0000 (18:06 +0000)]
natString.cc (init): Throw ArrayIndexOutOfBoundsException.

* java/lang/natString.cc (init): Throw
ArrayIndexOutOfBoundsException.
(getChars): Likewise.
(getBytes): Likewise.
(valueOf): Likewise.

From-SVN: r42531

23 years agoconfigure.in: Only allow hash synchronization when POSIX threads are enabled.
Tom Tromey [Thu, 24 May 2001 18:03:47 +0000 (18:03 +0000)]
configure.in: Only allow hash synchronization when POSIX threads are enabled.

* configure.in: Only allow hash synchronization when POSIX threads
are enabled.
* java/lang/natObject.cc (alloc_heavy): Properly find `init' field
of sync info object.

From-SVN: r42530

23 years agosimplify-rtx.c (simplify_subreg): Fix CONCAT simplification; fix hard register simpli...
Jan Hubicka [Thu, 24 May 2001 17:48:42 +0000 (19:48 +0200)]
simplify-rtx.c (simplify_subreg): Fix CONCAT simplification; fix hard register simplification.

* simplify-rtx.c (simplify_subreg): Fix CONCAT simplification;
fix hard register simplification.

From-SVN: r42529

23 years agosol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead of just copying CPP_CPU_SPEC.
Rainer Orth [Thu, 24 May 2001 15:59:43 +0000 (15:59 +0000)]
sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead of just copying CPP_CPU_SPEC.

* sparc/sol2.h (CPLUSPLUS_CPP_SPEC): Add all of CPP_SPEC instead
of just copying CPP_CPU_SPEC.

From-SVN: r42528

23 years ago* i386.c (incdec_operand): Accept only 1 and -1.
Jan Hubicka [Thu, 24 May 2001 13:59:09 +0000 (15:59 +0200)]
* i386.c (incdec_operand): Accept only 1 and -1.

From-SVN: r42527

23 years agore PR c++/2184 (using declarations for classes in function templates)
Nathan Sidwell [Thu, 24 May 2001 12:00:52 +0000 (12:00 +0000)]
re PR c++/2184 (using declarations for classes in function templates)

cp:
PR c++/2184
* decl2.c (do_local_using_decl): Push the decls, even in a
template.
testsuite:
* g++.old-deja/g++.pt/using1.C: Adjust.
* g++.old-deja/g++.pt/using2.C: New test.

From-SVN: r42526

23 years agoMakefile.am: Override gctest_OBJECTS so tests/test.c can be built.
Bryce McKinlay [Thu, 24 May 2001 07:28:39 +0000 (07:28 +0000)]
Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.

* Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
(libgcjgc_la_SOURCES): Remove typo.
* tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
* Makefile.in: Rebuilt.

From-SVN: r42524

23 years agoDaily bump.
GCC Administrator [Thu, 24 May 2001 07:16:48 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r42523

23 years agoMakefile.in: Rebuilt.
Tom Tromey [Thu, 24 May 2001 05:43:46 +0000 (05:43 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Remove -fvtable-thunks.

From-SVN: r42521