nathan [Wed, 30 May 2001 08:44:56 +0000 (08:44 +0000)]
cp:
PR g++/2936
* decl.c (finish_anon_union): Copy context.
* optimize.c (remap_decl): Remap anonymous aggregate members too.
testsuite:
* g++.old-deja/g++.other/optimize3.C: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42705
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 30 May 2001 08:30:04 +0000 (08:30 +0000)]
* docs/html/17_intro/howto.html: Update link.
* docs/html/23_containers/howto.html: Likewise. Add new link.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42703
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 30 May 2001 07:16:19 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42701
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Wed, 30 May 2001 00:50:42 +0000 (00:50 +0000)]
* gcc.texi: Add links for information about Objective-C.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42696
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 29 May 2001 22:18:41 +0000 (22:18 +0000)]
* include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42694
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 29 May 2001 21:31:23 +0000 (21:31 +0000)]
* configure: Rebuilt.
* configure.in: Only add multilib support code if we just rebuilt
top-level Makefile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42693
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Tue, 29 May 2001 18:59:47 +0000 (18:59 +0000)]
2001-05-29 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/compile/
20010518-2.x: New file to compile, not
assemble.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42692
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Tue, 29 May 2001 17:50:50 +0000 (17:50 +0000)]
2001-05-29 Andrew Haley <aph@redhat.com>
* include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
pointer: the dwarf unwinder in libgcc will do everything that's
needed.
(HANDLE_DIVIDE_OVERFLOW): Tidy. Don't mess with stack frames any
more than we absolutely need to.
* configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha.
* configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on
Alpha.
(SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not
"$libgcj_sjlj".
* configure: Rebuilt.
* include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC
for Alpha.
(SIGNAL_HANDLER): Use siginfo style handler.
(INIT_SEGV): Likewise.
(INIT_FPE): Likewise.
* include/ppc-signal.h: Delete whole file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42691
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Tue, 29 May 2001 15:16:24 +0000 (15:16 +0000)]
* configure.in (gcc_version): Remove unrequired \ on ". (Solaris
/bin/sed fails on [^\"]).
(configargs.h): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42689
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 29 May 2001 10:44:01 +0000 (10:44 +0000)]
* config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42688
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 29 May 2001 07:17:13 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42685
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Mon, 28 May 2001 23:56:18 +0000 (23:56 +0000)]
* objc/objc.gperf: Remove, no longer used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42683
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Mon, 28 May 2001 21:03:21 +0000 (21:03 +0000)]
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared
libraries when using g++ with native linker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42680
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 28 May 2001 20:57:50 +0000 (20:57 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42678
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Mon, 28 May 2001 20:49:42 +0000 (20:49 +0000)]
* ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42677
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 28 May 2001 16:27:03 +0000 (16:27 +0000)]
Fix the comment, it is propagate_one_insn, not propagate_on_insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42675
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 28 May 2001 15:50:29 +0000 (15:50 +0000)]
* contrib/test_summary (files): Sort before evaluating.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42673
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Mon, 28 May 2001 07:55:13 +0000 (07:55 +0000)]
* doc/install.texi (Specific): reality.sgi.com/ariel/freeware/
became http://freeware.sgi.com/.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42671
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 28 May 2001 07:17:51 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42669
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 28 May 2001 02:21:28 +0000 (02:21 +0000)]
* local-alloc.c (update_equiv_regs): Don't eliminate constant
expressions at -O0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42667
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Mon, 28 May 2001 01:01:10 +0000 (01:01 +0000)]
* objc/objc-act.c: Add/fix various comments.
(init_selector): Remove, no longer used.
(build_msg_pool_reference): Ditto.
(objc_debug): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42666
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 27 May 2001 21:04:28 +0000 (21:04 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42665
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sun, 27 May 2001 18:21:04 +0000 (18:21 +0000)]
reorganize inclhacks and apply fix to fixtests.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42663
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 27 May 2001 18:06:00 +0000 (18:06 +0000)]
* cpplib.c (run_directive): Set pfile->directive.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42661
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sun, 27 May 2001 17:09:47 +0000 (17:09 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42660
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sun, 27 May 2001 17:08:11 +0000 (17:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42659
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sun, 27 May 2001 17:07:48 +0000 (17:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42658
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Sun, 27 May 2001 17:07:17 +0000 (17:07 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42657
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Sun, 27 May 2001 10:35:09 +0000 (10:35 +0000)]
* combine.c (try_combine): Fix typo in comment.
* expr.c (expand_expr): Likewise.
* config/i370/i370.md (untyped_call): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42655
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 27 May 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42652
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Sat, 26 May 2001 19:20:06 +0000 (19:20 +0000)]
cp:
PR g++/2823
* semantics.c (expand_body): Don't optimize thunks.
testsuite:
* g++.old-deja/g++.other/optimize2.C: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42650
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 26 May 2001 18:36:28 +0000 (18:36 +0000)]
* configure: Remove obsolete file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42644
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 18:27:00 +0000 (18:27 +0000)]
regenerate
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42643
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 18:26:29 +0000 (18:26 +0000)]
* 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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42642
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 18:12:26 +0000 (18:12 +0000)]
test result moved to "testing.h" file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42641
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 18:04:43 +0000 (18:04 +0000)]
add fix test results for freebsd_gcc3_breakage
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42640
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 18:00:59 +0000 (18:00 +0000)]
add fix test results for irix_limits_const hack
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42639
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 17:58:57 +0000 (17:58 +0000)]
Add fix test result for strict_ansi_not_ctd
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42638
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 17:40:44 +0000 (17:40 +0000)]
Add another caveat
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42637
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 17:38:05 +0000 (17:38 +0000)]
Add fix check test for alpha___assert
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42636
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42635
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 17:27:10 +0000 (17:27 +0000)]
We must apply the fix in test mode
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42634
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 16:39:15 +0000 (16:39 +0000)]
Upgrade to current collection of tests
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42633
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 16:17:46 +0000 (16:17 +0000)]
This check template is now upgraded for AutoGen5
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42632
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 16:16:34 +0000 (16:16 +0000)]
wchar_t typedefs are now wrapped in "ifndef __cplusplus"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42631
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42630
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 15:47:11 +0000 (15:47 +0000)]
Add fix test from solaris27_mutex_init
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42629
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 15:46:38 +0000 (15:46 +0000)]
Add fix test from irix_stdio_dummy_va_list
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42628
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 May 2001 15:37:20 +0000 (15:37 +0000)]
Correct test results for avoid-bool-define fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42627
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Sat, 26 May 2001 15:07:50 +0000 (15:07 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42626
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Sat, 26 May 2001 14:11:12 +0000 (14:11 +0000)]
2001-05-26 Philip Blundell <philb@gnu.org>
* config/arm/arm-protos.h: Use GCC_C_PRAGMA_H in place of _C_PRAGMA_H.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42625
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 26 May 2001 07:16:38 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42624
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sat, 26 May 2001 07:03:23 +0000 (07:03 +0000)]
* include/c_std/bits/std_cmath.h (sqrt): #undef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42622
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 26 May 2001 05:28:26 +0000 (05:28 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42618
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 26 May 2001 04:54:42 +0000 (04:54 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42617
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 26 May 2001 01:31:47 +0000 (01:31 +0000)]
Standardize header guards.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42615
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 26 May 2001 01:14:19 +0000 (01:14 +0000)]
* config/arc/initfini.c (.init): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42614
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42612
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 26 May 2001 00:47:18 +0000 (00:47 +0000)]
* po2tbl.sed.in: Fixed typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42610
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 26 May 2001 00:46:02 +0000 (00:46 +0000)]
* i386/i386.h (CC1_CPU_SPEC): Clarify -m486 etc deprecation messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42609
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 26 May 2001 00:08:59 +0000 (00:08 +0000)]
* libgcc-std.ver: Export XFmode and TFmode versions of symbols.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42605
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 23:08:57 +0000 (23:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42602
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 25 May 2001 22:19:25 +0000 (22:19 +0000)]
2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* mknumeric_limits: Stop if gen-num-limits dies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42601
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 25 May 2001 22:11:21 +0000 (22:11 +0000)]
* config.gcc (*-*-freebsd*): Report bad configuration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42599
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 25 May 2001 22:08:30 +0000 (22:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42598
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 25 May 2001 21:53:51 +0000 (21:53 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42596
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 25 May 2001 21:43:42 +0000 (21:43 +0000)]
* include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
fabs, sin, sqrt. They are now implemented in terms of __builtin_
variants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42595
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 21:36:08 +0000 (21:36 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42593
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 21:08:53 +0000 (21:08 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42589
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42588
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 20:15:22 +0000 (20:15 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42587
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 20:07:18 +0000 (20:07 +0000)]
* config/alpha/alpha.md (movtf_internal): Use reg_overlap_mentioned_p
instead of rtx_equal_p for early clobber test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42585
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 20:00:59 +0000 (20:00 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42583
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Fri, 25 May 2001 19:50:50 +0000 (19:50 +0000)]
2001-05-25 Dale Johannesen <dalej@apple.com>
* config/rs6000/t-darwin: Fix dependencies for darwin.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42582
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Fri, 25 May 2001 19:44:20 +0000 (19:44 +0000)]
* c-parse.in (notype_initdcl): Remove redundant line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42581
138bc75d-0d04-0410-961f-
82ee72b054a4
dnovillo [Fri, 25 May 2001 19:38:52 +0000 (19:38 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42580
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 19:30:11 +0000 (19:30 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42578
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 19:05:24 +0000 (19:05 +0000)]
* function.c (expand_function_start): Don't abort on PARALLEL
returns from hard_function_value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42577
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 25 May 2001 18:17:40 +0000 (18:17 +0000)]
* config/i386/i386.md: Revert previous change. Do not apply
the peephole if the components do not die after the sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42576
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Fri, 25 May 2001 11:12:47 +0000 (11:12 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42574
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 09:16:08 +0000 (09:16 +0000)]
New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42570
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 09:09:17 +0000 (09:09 +0000)]
* config/i386/i386.md: Make sure cmpstr peepholes do not
affect liveness information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42568
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 25 May 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42566
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [Fri, 25 May 2001 07:14:10 +0000 (07:14 +0000)]
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>).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42562
138bc75d-0d04-0410-961f-
82ee72b054a4
ovidiu [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, not the method IMP
(reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42561
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 06:34:16 +0000 (06:34 +0000)]
* c-typeck.c (digest_init): Issue error messages about
invalid constants, not warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42560
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 25 May 2001 04:24:12 +0000 (04:24 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42557
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 25 May 2001 02:10:55 +0000 (02:10 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42556
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 01:33:21 +0000 (01:33 +0000)]
* 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'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42555
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42554
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 May 2001 01:27:08 +0000 (01:27 +0000)]
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42553
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 24 May 2001 23:09:53 +0000 (23:09 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42547
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 24 May 2001 21:16:41 +0000 (21:16 +0000)]
2001-05-24 Philip Blundell <philb@gnu.org>
* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
required.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42546
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 24 May 2001 21:16:36 +0000 (21:16 +0000)]
2001-05-24 Philip Blundell <philb@gnu.org>
* doc/install.texi (arm*-*-linux-gnu): Say that binutils 2.10 is
required.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42545
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 24 May 2001 21:09:05 +0000 (21:09 +0000)]
2001-05-24 Philip Blundell <philb@gnu.org>
* config/arm/arm.c (output_return_instruction): Correctly handle
interworking and interrupt functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42543
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 24 May 2001 21:06:36 +0000 (21:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42542
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 24 May 2001 21:06:35 +0000 (21:06 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42541
138bc75d-0d04-0410-961f-
82ee72b054a4
pb [Thu, 24 May 2001 20:54:59 +0000 (20:54 +0000)]
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42539
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 24 May 2001 20:51:33 +0000 (20:51 +0000)]
* include/bits/c++config(__NO_MATH_INLINES): Move to...
* config/os/gnu-linux/bits/os_defines.h: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42538
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 24 May 2001 20:15:13 +0000 (20:15 +0000)]
* config/rs6000/linux.h (SIGNAL_FRAMESIZE): Define.
(MD_FALLBACK_FRAME_STATE_FOR): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42534
138bc75d-0d04-0410-961f-
82ee72b054a4