David Billinghurst [Sun, 3 Feb 2002 00:43:23 +0000 (00:43 +0000)]
pr3743.f: Delete
2002-02-03 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.f-torture/compile/pr3743.f: Delete
* g77.dg/pr3743-1.f: New test.
* g77.dg/pr3743-2.f: New test.
* g77.dg/pr3743-3.f: New test.
* g77.dg/pr3743-4.f: New test.
From-SVN: r49450
Kazu Hirata [Sat, 2 Feb 2002 21:38:49 +0000 (21:38 +0000)]
* config/h8300/h8300.c: Fix formatting.
From-SVN: r49449
Kazu Hirata [Sat, 2 Feb 2002 21:15:24 +0000 (21:15 +0000)]
* config/h8300/h8300.md: Fix formatting.
From-SVN: r49448
Tom Tromey [Sat, 2 Feb 2002 21:14:29 +0000 (21:14 +0000)]
* Makefile.in: Rebuilt.
From-SVN: r49447
Kazu Hirata [Sat, 2 Feb 2002 20:57:06 +0000 (20:57 +0000)]
h8300.md (one_cmpl patterns): Tighten the predicates of operands[1].
* config/h8300/h8300.md (one_cmpl patterns): Tighten the
predicates of operands[1]. Split the patterns for each
processor variant.
From-SVN: r49446
Kazu Hirata [Sat, 2 Feb 2002 20:48:38 +0000 (20:48 +0000)]
h8300.md (xor patterns): Tighten the predicates of operands[1] to register_operand.
* config/h8300/h8300.md (xor patterns): Tighten the predicates
of operands[1] to register_operand.
From-SVN: r49445
Neil Booth [Sat, 2 Feb 2002 18:56:37 +0000 (18:56 +0000)]
cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.c (_cpp_init_hashtable): Similarly.
* cppinit.c (cpp_create_reader): Default the signed_char flag.
(init_builtins): Define __CHAR_UNSIGNED__ appropriately.
(COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
(cpp_handle_option): Handle the new options.
* cpplex.c (cpp_interpret_charconst): Use new flag.
* cpplib.h (struct cpp_options): New member signed_char.
* gcc.c (cpp_unique_options): Remove %c spec and documentation.
(cpp_options): Handle -fsigned-char and -funsigned-char.
(static_specs): Remove signed_char_spec.
(do_spec1): Don't handle %c.
* system.h: Poison SIGNED_CHAR_SPEC.
* tradcif.y (yylex): Use flag_signed_char.
* tradcpp.h (flag_signed_char): New.
* tradcpp.c (flag_signed_char): New.
(main): Handle new command-line options.
(initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
config:
* alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
* avr/avr.h: Remove old comments.
* i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
(CC1_SPEC): Pass -fsigned-char if -mic*.
(SIGNED_CHAR_SPEC): Remove.
doc:
* tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
testsuite:
* gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests.
From-SVN: r49444
Jason Merrill [Sat, 2 Feb 2002 18:23:02 +0000 (13:23 -0500)]
* Makefile.am (clean-nat): New target.
From-SVN: r49443
Richard Henderson [Sat, 2 Feb 2002 17:57:33 +0000 (09:57 -0800)]
991118-1.c: Revert 2002-01-29 change.
* gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change.
* gcc.c-torture/execute/bf64-1.c: Likewise.
From-SVN: r49442
Paolo Carlini [Sat, 2 Feb 2002 13:46:47 +0000 (14:46 +0100)]
2002-02-02 Paolo Carlini <pcarlini@unitus.it>
* testsuite/22_locale/operators.cc
(gnu_collate::do_compare()): Add return statement to
suppress "no return statement" warning.
From-SVN: r49441
Paolo Carlini [Sat, 2 Feb 2002 13:13:00 +0000 (14:13 +0100)]
ostream_manip.cc: Enable test02.
2002-02-01 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_manip.cc: Enable test02.
From-SVN: r49440
Toon Moene [Sat, 2 Feb 2002 11:42:19 +0000 (11:42 +0000)]
g77.texi [...]: Change last update date and/or copyright year.
2002-02-02 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.texi proj.h com.c bugs.texi: Change last update date
and/or copyright year.
From-SVN: r49439
Jakub Jelinek [Sat, 2 Feb 2002 09:28:25 +0000 (10:28 +0100)]
* gcc.c-torture/execute/bitfld-2.c: New test.
From-SVN: r49438
Jakub Jelinek [Sat, 2 Feb 2002 09:22:00 +0000 (10:22 +0100)]
* gcc.dg/
20020201-3.c: New test.
From-SVN: r49437
GCC Administrator [Sat, 2 Feb 2002 08:16:46 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49436
Tom Tromey [Sat, 2 Feb 2002 07:45:50 +0000 (07:45 +0000)]
* java/io/natFile.cc: Removed old "FIXME" comments.
From-SVN: r49434
Tom Tromey [Sat, 2 Feb 2002 07:43:16 +0000 (07:43 +0000)]
natPosixProcess.cc (myclose): New function.
* java/lang/natPosixProcess.cc (myclose): New function.
(fail): Use it.
(startProcess): Likewise.
From-SVN: r49433
Geoffrey Keating [Sat, 2 Feb 2002 05:23:34 +0000 (05:23 +0000)]
Contribute regression tester scripts
From-SVN: r49432
Adam Megacz [Sat, 2 Feb 2002 04:39:26 +0000 (04:39 +0000)]
*** empty log message ***
From-SVN: r49431
Adam Megacz [Sat, 2 Feb 2002 04:37:54 +0000 (04:37 +0000)]
prims.cc: Added #undef STRICT after #include<windows.h>.
2002-02-01 Adam Megacz <adam@xwt.org>
* prims.cc: Added #undef STRICT after #include<windows.h>.
From-SVN: r49430
Adam Megacz [Sat, 2 Feb 2002 04:34:15 +0000 (04:34 +0000)]
2002-02-01 Adam Megacz <adam@xwt.org>
* prims.cc
(_Jv_CreateJavaVM): We now use WIN32 instead of
USE_WIN32_SIGNALLING and USE_WINSOCK.
(win32_exception_handler): Now throws an exception out of
the signal handler; assumes SJLJ
From-SVN: r49429
Adam Megacz [Sat, 2 Feb 2002 04:31:34 +0000 (04:31 +0000)]
2002-02-01 Adam Megacz
* win32-threads.cc:
(_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
wait() algorithm to make it safe.
(ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
Added lazy creation of Win32 Events for better performance
(really_start): This now uses GC_CreateThread so boehm-gc
knows about new threads even when statically linked.
From-SVN: r49428
Adam Megacz [Sat, 2 Feb 2002 04:27:34 +0000 (04:27 +0000)]
win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer wait() algorithm.
2002-02-01 Adam Megacz <adam@xwt.org>
* include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
enable safer wait() algorithm.
(_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
_Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
(_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
_Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
instead of mutex.
(_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
From-SVN: r49427
Adam Megacz [Sat, 2 Feb 2002 04:23:13 +0000 (04:23 +0000)]
2002-02-01 Adam Megacz <adam@xwt.org>
* boehm-gc on win32 now automatically detects if it is being built
as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html
From-SVN: r49426
Adam Megacz [Sat, 2 Feb 2002 04:19:24 +0000 (04:19 +0000)]
configure.in: Added support for mingw.
2002-02-01 Adam Megacz <adam@xwt.org>
* configure.in: Added support for mingw.
* java/lang/Win32Process.java: Created as empty file.
* java/lang/natWin32Process.cc: Created as empty file.
From-SVN: r49425
Adam Megacz [Sat, 2 Feb 2002 04:11:01 +0000 (04:11 +0000)]
*** empty log message ***
From-SVN: r49424
Eric Christopher [Sat, 2 Feb 2002 03:54:39 +0000 (03:54 +0000)]
2002-02-01 Eric Christopher <echristo@redhat.com>
From Daniel Jacobowitz <dmj+@andrew.cmu.edu>
* config/mips/mips.h (FUNCTION_PROFILER): Fix function profiling.
* config/mips/linux.h (ASM_OUTPUT_REG_PUSH): Undefine.
(ASM_OUTPUT_REG_POP): Ditto.
From-SVN: r49423
Phil Edwards [Sat, 2 Feb 2002 00:18:24 +0000 (00:18 +0000)]
documentation.html: Update for 3.0.96.
2002-02-01 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Update for 3.0.96.
* docs/html/faq/index.html: Update for 3.0.96.
* docs/html/faq/index.txt: Regenerated.
* docs/doxygen/TODO: Update notes.
* docs/html/17_intro/howto.html: Initial impl-specific listing.
From-SVN: r49422
Jakub Jelinek [Sat, 2 Feb 2002 00:16:39 +0000 (01:16 +0100)]
* gcc.dg/
20020201-2.c: New test.
From-SVN: r49421
Neil Booth [Sat, 2 Feb 2002 00:14:41 +0000 (00:14 +0000)]
c-decl.c, [...]: Revert bitfield patch.
* c-decl.c, tree.c, tree.h, objc/objc-act.c: Revert bitfield
patch.
* gcc.dg/bitfld-1.c: Update.
* gcc.dg/bitfld-2.c: Update.
* gcc.c-torture/execute/bitfld-1.x: New.
From-SVN: r49420
Jakub Jelinek [Sat, 2 Feb 2002 00:05:11 +0000 (01:05 +0100)]
* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
From-SVN: r49419
Nic Ferrier [Fri, 1 Feb 2002 23:46:11 +0000 (23:46 +0000)]
added change for gcj manual.
From-SVN: r49418
Nic Ferrier [Fri, 1 Feb 2002 23:43:35 +0000 (23:43 +0000)]
* gcj.texi (About CNI): New node.
From-SVN: r49417
Jakub Jelinek [Fri, 1 Feb 2002 23:43:19 +0000 (00:43 +0100)]
re PR c/5304 (gcc-
20011231 generates incorrect divmod code for chars)
PR c/5304:
* expmed.c (expand_mult_highpart): Use immed_double_const for wide_op1
unconditionally.
* gcc.c-torture/execute/
20020201-1.c: New test.
From-SVN: r49416
Janis Johnson [Fri, 1 Feb 2002 23:38:46 +0000 (23:38 +0000)]
cfganal.c: Include tm_p.h.
* cfganal.c: Include tm_p.h.
(keep_with_call_p): Fix the test that determines if a register holds
the return value of a call.
From-SVN: r49415
Richard Henderson [Fri, 1 Feb 2002 23:19:29 +0000 (15:19 -0800)]
Fix year typos.
From-SVN: r49414
Toon Moene [Fri, 1 Feb 2002 22:43:03 +0000 (23:43 +0100)]
bad.def: Remove non-historical reference to version 0.6.
2002-02-01 Toon Moene <toon@moene.indiv.nluug.nl>
* bad.def: Remove non-historical reference to version 0.6.
* bugs.texi: Ditto.
* com.c: Ditto.
* ffe.texi: Ditto.
* proj.h: Ditto.
* g77.texi: Ditto.
From-SVN: r49413
DJ Delorie [Fri, 1 Feb 2002 21:54:39 +0000 (16:54 -0500)]
sparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting registers...
* config/sparc/sparc.c (sparc_emit_set_symbolic_const64): If
we are given conflicting registers, switch to the other one we
had allocated for us.
* config/sparc/sparc.md (reload_indi, reload_outdi): Pass op[2]
as TImode so we know when the "other" register is available.
From-SVN: r49412
Craig Rodrigues [Fri, 1 Feb 2002 21:16:05 +0000 (21:16 +0000)]
re PR java/4972 (undefined reference to `libiconv')
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR java/4972
* aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
for libiconv in LIBICONV variable.
* configure: Regenerated.
From-SVN: r49411
Craig Rodrigues [Fri, 1 Feb 2002 21:07:31 +0000 (21:07 +0000)]
re PR java/5080 (gcc/java/jcf-parse.c:908: `LC_CTYPE' undeclared (first use in this function))
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR java/5080
* jcf-parse.c : Check for HAVE_LOCALE_H before using
setlocale() with LC_CTYPE as a parameter.
* jv-scan.c: Same.
From-SVN: r49410
H.J. Lu [Fri, 1 Feb 2002 20:37:13 +0000 (20:37 +0000)]
cp-demangle.c (cp_demangle_type): Call demangling_new with DMGL_GNU_V3.
2002-02-01 H.J. Lu <hjl@gnu.org>
* cp-demangle.c (cp_demangle_type): Call demangling_new with
DMGL_GNU_V3.
From-SVN: r49409
Jason Merrill [Fri, 1 Feb 2002 19:51:42 +0000 (14:51 -0500)]
fix typo
From-SVN: r49408
Jason Merrill [Fri, 1 Feb 2002 19:32:51 +0000 (14:32 -0500)]
re PR c++/4872 (missed warning (no return) -- regression from 2.95)
PR c++/4872
* decl.c (finish_function): Warn about a non-void function with
no return statement and no abnormal exit.
* cp-tree.h (struct cp_language_function): Add returns_abnormally.
(current_function_returns_abnormally): New macro.
* call.c (build_call): Set it.
From-SVN: r49407
Jason Merrill [Fri, 1 Feb 2002 19:31:23 +0000 (14:31 -0500)]
typeck.c (build_component_ref): Always complain about offsetof constructs on non-PODs.
* typeck.c (build_component_ref): Always complain about offsetof
constructs on non-PODs. Only make it an error for members of
virtual bases.
From-SVN: r49406
David O'Brien [Fri, 1 Feb 2002 19:30:01 +0000 (19:30 +0000)]
sol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2002-02-01 David O'Brien <obrien@FreeBSD.org>
* config/sparc/sol2-sld-64.h: Include sparc/biarch64.h rather than
sparc/sparc_bi.h.
Approved by: Geoff Keating <geoffk@geoffk.org>
Message-ID: <jmzo2uma5l.fsf@desire.geoffk.org>
From-SVN: r49405
Jason Merrill [Fri, 1 Feb 2002 19:19:50 +0000 (14:19 -0500)]
link, expect link errors
From-SVN: r49404
Jason Merrill [Fri, 1 Feb 2002 19:15:58 +0000 (14:15 -0500)]
use unused attribute for the parm
From-SVN: r49403
Janis Johnson [Fri, 1 Feb 2002 19:01:55 +0000 (19:01 +0000)]
re PR target/5469 ([IA64] ia64 arc profiling can use the wrong global pointer)
PR target/5469
* gcc.dg/
20020201-1.c: New test.
From-SVN: r49402
Janis Johnson [Fri, 1 Feb 2002 18:58:39 +0000 (18:58 +0000)]
cfganal.c (keep_with_call_p): New function.
* cfganal.c (keep_with_call_p): New function.
(flow_call_edges_add): Prevent splitting a block between a call and
a single-set instruction that should be kept in the same block.
From-SVN: r49401
Craig Rodrigues [Fri, 1 Feb 2002 18:42:37 +0000 (18:42 +0000)]
install.texi (avr): Update outdated URL.
2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
* doc/install.texi (avr): Update outdated URL.
From-SVN: r49399
Richard Henderson [Fri, 1 Feb 2002 16:56:43 +0000 (08:56 -0800)]
I'm the i386 maintainer.
From-SVN: r49398
Jason Merrill [Fri, 1 Feb 2002 16:06:10 +0000 (11:06 -0500)]
fix typo
From-SVN: r49397
Jason Merrill [Fri, 1 Feb 2002 15:56:43 +0000 (10:56 -0500)]
error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
* error.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
(dump_function_decl): Always dump parms.
From-SVN: r49396
Jason Merrill [Fri, 1 Feb 2002 15:50:01 +0000 (10:50 -0500)]
re PR c++/4286 (Internal error: Segmentation fault)
* decl2.c (finish_static_data_member_decl): Complain about a local
class with a static data member.
PR c++/4286
* search.c (lookup_field_1): Don't xref a static data member
just because we looked it up.
From-SVN: r49395
Andrew Haley [Fri, 1 Feb 2002 15:20:16 +0000 (15:20 +0000)]
stormy16.md (pushqi): New.
2002-01-30 Andrew Haley <aph@cambridge.redhat.com>
* config/stormy16/stormy16.md (pushqi): New.
(popqi): New.
(pushhi): New.
(pophi): New.
(movhi): Remove stack operands.
(movqi): Likewise.
* config/stormy16/stormy16.h (PREDICATE_CODES): Add
nonimmediate_nonstack_operand.
* config/stormy16/stormy16.c (nonimmediate_nonstack_operand):
New.
* config/stormy16/stormy16-protos.h (nonimmediate_nonstack_operand)
New.
From-SVN: r49394
Jason Merrill [Fri, 1 Feb 2002 11:48:46 +0000 (06:48 -0500)]
Makefile.in (c-parse.c): Handle .output file.
* Makefile.in (c-parse.c): Handle .output file.
* objc/Make-lang.in (objc-parse.c): Likewise.
* cp/Make-lang.in (parse.c): Handle .output file.
From-SVN: r49393
Alexandre Oliva [Fri, 1 Feb 2002 10:27:36 +0000 (10:27 +0000)]
mips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given.
* config/mips/mips.h (ENDIAN_SPEC): Output the endianness flag if
the -me[lb] option is given. Don't output the default flag
twice.
From-SVN: r49392
GCC Administrator [Fri, 1 Feb 2002 08:17:03 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r49390
Tom Tromey [Fri, 1 Feb 2002 05:48:00 +0000 (05:48 +0000)]
verify.cc (state::enter_subroutine): New method.
* verify.cc (state::enter_subroutine): New method.
(handle_jsr_insn): Use it.
(state::merge): When processing a `ret', correctly use
subroutine's state to determine which local variables have
changed.
(push_exception_jump): Don't let stack overflow.
From-SVN: r49388
Benjamin Kosnik [Fri, 1 Feb 2002 03:20:39 +0000 (03:20 +0000)]
codecvt_specializations_ieee_1003.1-200x.h: Initialize all data members in copy ctor.
2002-01-31 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/codecvt_specializations_ieee_1003.1-200x.h:
Initialize all data members in copy ctor. Make ctors explicit.
(__enc_traits::__enc_traits()): Default ctor does nothing.
(__enc_traits::_M_init): Guard against multiple iconv_opens.
* include/std/std_sstream.h (basic_stringbuf): Make data members
protected.
* include/std/std_fstream.h (basic_filebuf): Same.
* include/std/std_streambuf.h: Tweak.
* include/bits/streambuf.tcc: Same.
* include/bits/sstream.tcc: Same.
* include/bits/fstream.tcc: Same.
From-SVN: r49387
Phil Edwards [Fri, 1 Feb 2002 01:27:21 +0000 (01:27 +0000)]
cp-demangle.c: Revert yesterday's change.
2002-01-31 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c: Revert yesterday's change.
From-SVN: r49386
Loren J. Rittle [Fri, 1 Feb 2002 00:24:12 +0000 (00:24 +0000)]
codecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv().
* testsuite/22_locale/codecvt_members_char_char.cc: Do not
allow NULL argument to be passed to setenv().
* testsuite/22_locale/codecvt_members_wchar_t_char.cc: Likewise.
* testsuite/22_locale/collate_members_char.cc: Likewise.
* testsuite/22_locale/collate_members_wchar_t.cc: Likewise.
* testsuite/22_locale/ctype_members_char.cc: Likewise.
* testsuite/22_locale/ctype_members_wchar_t.cc: Likewise.
* testsuite/22_locale/messages_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_char.cc: Likewise.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Likewise.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Likewise.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Likewise.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_put_members_char.cc: Likewise.
* testsuite/22_locale/num_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Likewise.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Likewise.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Likewise.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
From-SVN: r49384
Zack Weinberg [Fri, 1 Feb 2002 00:11:30 +0000 (00:11 +0000)]
c-lex.c (yyparse): Call debug_hooks->start_source_file for the primary source file...
* c-lex.c (yyparse): Call debug_hooks->start_source_file for
the primary source file; this has not been done yet.
* c-decl.c (c_expand_body): Reset input_filename from
DECL_SOURCE_FILE (fndecl) before calling init_function_start.
From-SVN: r49383
David Billinghurst [Thu, 31 Jan 2002 23:48:06 +0000 (23:48 +0000)]
re PR fortran/3743 (Reference to intrinsic `ISHFT' invalid)
2002-02-01 David.Billinghurst <David.Billinghurst@riotinto.com>
PR fortran/3743
* g77.f-torture/execute/f90-intrinsic-bit.x: Remove
* g77.f-torture/compile/pr3743.x: Remove
From-SVN: r49382
Kazu Hirata [Thu, 31 Jan 2002 23:29:09 +0000 (23:29 +0000)]
rtlanal.c (subreg_regno_offset): Do not use SUBREG_REGNO_OFFSET.
* rtlanal.c (subreg_regno_offset): Do not use
SUBREG_REGNO_OFFSET.
* system.h: Add SUBREG_REGNO_OFFSET to the GCC poison list.
* doc/tm.texi (SUBREG_REGNO_OFFSET): Remove.
From-SVN: r49381
Jason Merrill [Thu, 31 Jan 2002 22:52:11 +0000 (17:52 -0500)]
re PR c++/3395 (Attribute causes type lookup to fail. Regression.)
PR c++/3395
* decl.c (xref_tag): Remember early attributes in TYPE_ATTRIBUTES,
not TREE_TYPE.
* semantics.c (finish_class_definition): Adjust.
From-SVN: r49380
Anthony Green [Thu, 31 Jan 2002 22:25:31 +0000 (22:25 +0000)]
Configure changes to enable cross compiling.
From-SVN: r49378
Jason Merrill [Thu, 31 Jan 2002 20:14:37 +0000 (15:14 -0500)]
Allow attributes in parms and casts.
* parse.y (named_parm): Don't strip attrs.
(declmods): Remove 'attributes' production.
(nonempty_cv_qualifiers): Accept attributes.
(ATTRIBUTE): Give precedence.
* decl.c (groktypename): Handle attributes.
(grokparms): Likewise.
From-SVN: r49373
Joseph Myers [Thu, 31 Jan 2002 19:36:28 +0000 (19:36 +0000)]
gccbug.in: Follow GNU Coding Standards for --version.
gcc:
* gccbug.in: Follow GNU Coding Standards for --version. Use GCC
version rather than GNATS version in --version output.
gcc/f:
* g77spec.c (lang_specific_driver): Follow GNU Coding Standards
for --version.
gcc/java:
* gjavah.c (version), jcf-dump.c (version), jv-scan.c (version):
Follow GNU Coding Standards for --version.
libjava:
* gnu/gcj/convert/Convert.java: Only include one copyright year in
--version output.
From-SVN: r49372
Adam Megacz [Thu, 31 Jan 2002 18:19:39 +0000 (18:19 +0000)]
configure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.
* gcc/libiberty/configure.in: Treat mingw the same as cywin
wrt HAVE_SYS_ERRLIST.
From-SVN: r49371
Philipp Thomas [Thu, 31 Jan 2002 12:15:25 +0000 (12:15 +0000)]
Check in new greek translation.
From-SVN: r49370
Richard Sandiford [Thu, 31 Jan 2002 11:07:14 +0000 (11:07 +0000)]
ifcvt.c (noce_process_if_block): Make a copy of the destination when copying back from a temporary.
* ifcvt.c (noce_process_if_block): Make a copy of the destination
when copying back from a temporary.
From-SVN: r49369
GCC Administrator [Thu, 31 Jan 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49368
Richard Henderson [Thu, 31 Jan 2002 07:10:49 +0000 (23:10 -0800)]
ifcvt.c (dead_or_predicable): Handling merging when other_bb and new_dest are the same.
* ifcvt.c (dead_or_predicable): Handling merging when other_bb
and new_dest are the same.
From-SVN: r49366
Richard Henderson [Thu, 31 Jan 2002 06:35:55 +0000 (22:35 -0800)]
Record PR number last change.
From-SVN: r49365
Richard Henderson [Thu, 31 Jan 2002 06:21:31 +0000 (22:21 -0800)]
rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
* rtl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
* rtl.c (note_insn_name): Update.
* emit-rtl.c (remove_unnecessary_notes): Kill it.
* stmt.c (expand_end_loop): Kill jump opt code. Use LOOP_END_TOP_COND
to perform loop rotation.
(expand_exit_loop_top_cond): New.
* tree.h (expand_exit_loop_top_cond): Declare it.
* c-semantics.c (genrtl_while_stmt): Use it.
(genrtl_for_stmt): Likewise.
* ada/trans.c (tree_transform) [N_Loop_Statement]: Use
expand_exit_loop_top_cond.
* f/ste.c (ffeste_begin_iterdo_): Use expand_exit_loop_top_cond.
(ffeste_R819B): Likewise.
From-SVN: r49364
Bryce McKinlay [Thu, 31 Jan 2002 02:48:54 +0000 (02:48 +0000)]
This commit was generated by cvs2svn to compensate for changes in r49361,
which included commits to RCS files with non-trunk default branches.
From-SVN: r49362
Bryce McKinlay [Thu, 31 Jan 2002 02:48:44 +0000 (02:48 +0000)]
Initial revision
From-SVN: r49359
Benjamin Kosnik [Thu, 31 Jan 2002 02:05:17 +0000 (02:05 +0000)]
c_locale_gnu.cc: Same errno fixes as generic.
2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
* ChangeLog-2001: Fix my spelling errors...
* docs/html/17_intro/RELEASE-NOTES: Update.
* docs/html/17_intro/TODO: Update.
* README (file): Update.
From-SVN: r49358
Tom Rix [Thu, 31 Jan 2002 01:44:14 +0000 (01:44 +0000)]
Make gcsec-1.c unsupported for AIX.
From-SVN: r49357
Alexandre Oliva [Thu, 31 Jan 2002 01:40:54 +0000 (01:40 +0000)]
mips.h (PARM_BOUNDARY): Guarantee alignment of arguments to 64-bit boundaries on 64-bit ABIs.
* config/mips/mips.h (PARM_BOUNDARY): Guarantee alignment of
arguments to 64-bit boundaries on 64-bit ABIs.
From-SVN: r49356
Steve Ellcey [Thu, 31 Jan 2002 01:37:22 +0000 (01:37 +0000)]
* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
From-SVN: r49355
Benjamin Kosnik [Thu, 31 Jan 2002 01:21:08 +0000 (01:21 +0000)]
c_locale_gnu.cc: Same errno fixes as generic.
2002-01-30 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Same errno fixes as generic.
From-SVN: r49354
Phil Edwards [Thu, 31 Jan 2002 01:03:05 +0000 (01:03 +0000)]
cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
2002-01-30 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
(cplus_demangle_v3): Mimic __cxa_demangle and fall back on
cp_demangle_type.
* testsuite/demangle-expected: New gnu-v3 test.
From-SVN: r49353
Joseph Myers [Thu, 31 Jan 2002 01:01:02 +0000 (01:01 +0000)]
c-decl.c (grokdeclarator): Handle type being a typedef for an invalid type.
* c-decl.c (grokdeclarator): Handle type being a typedef for an
invalid type.
testsuite:
* gcc.dg/noncompile/
20020130-1.c: New test.
From-SVN: r49352
Tom Tromey [Thu, 31 Jan 2002 00:52:16 +0000 (00:52 +0000)]
jartool.c (main): NULL-terminate new_argv.
* jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
to init_args.
From-SVN: r49351
Loren J. Rittle [Thu, 31 Jan 2002 00:47:05 +0000 (00:47 +0000)]
c_locale_generic.cc: Check errno for ERANGE instead of non-zero to aid portability.
* config/locale/c_locale_generic.cc: Check errno for ERANGE
instead of non-zero to aid portability.
From-SVN: r49350
Peter Schmid [Thu, 31 Jan 2002 00:24:56 +0000 (00:24 +0000)]
messages.html: Fix example code.
2002-01-30 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* docs/html/22_locale/messages.html: Fix example code.
From-SVN: r49349
Richard Henderson [Thu, 31 Jan 2002 00:03:31 +0000 (16:03 -0800)]
ostream_inserter_arith.cc (test03_check): Break out from test03 and templatize.
* testsuite/27_io/ostream_inserter_arith.cc (test03_check): Break
out from test03 and templatize.
(test03): Use it.
From-SVN: r49348
Toon Moene [Wed, 30 Jan 2002 22:59:47 +0000 (23:59 +0100)]
intrin.c (upcasecmp_): New function.
2002-01-30 Toon Moene <toon@moene.indiv.nluug.nl>
* intrin.c (upcasecmp_): New function.
(ffeintrin_cmp_name_): Use it to correctly compare name
and table entry for bsearch.
From-SVN: r49347
David O'Brien [Wed, 30 Jan 2002 22:37:10 +0000 (22:37 +0000)]
config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
2002-01-30 David O'Brien <obrien@FreeBSD.org>
* config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
* config/sparc/sparc_bi.h: Remove file.
* config/sparc/biarch64.h: New file (rename of sparc_bi.h).
Approved by: Richard Henderson <rth@redhat.com>
Message-ID: <
20020130102608.B9040@redhat.com>
From-SVN: r49346
Tom Tromey [Wed, 30 Jan 2002 22:22:36 +0000 (22:22 +0000)]
natPlainSocketImpl.cc (_Jv_recv): Added template parameter for `recv' return type.
* java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
parameter for `recv' return type.
From-SVN: r49345
Tom Tromey [Wed, 30 Jan 2002 22:20:23 +0000 (22:20 +0000)]
verify.cc (handle_ret_insn): Check for subroutine merge here...
* verify.cc (handle_ret_insn): Check for subroutine merge here...
(state::merge): ... not here.
(subr_entry_info): New structure.
(entry_points): New field.
(~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
entry_points.
From-SVN: r49344
Paolo Carlini [Wed, 30 Jan 2002 21:00:40 +0000 (22:00 +0100)]
2002-01-30 Paolo Carlini <pcarlini@unitus.it>
* config/locale/numpunct_members_gnu.cc
(numpunct<char, wchar_t>::_M_initialize_numpunct()):
Fix initialization of _M_grouping for locales which have
_M_thousands_sep == '\0'(L'\0', respectively).
* testsuite/22_locale/numpunct_byname.cc (test02): Add test.
From-SVN: r49343
Paolo Carlini [Wed, 30 Jan 2002 20:45:18 +0000 (21:45 +0100)]
ostream_inserter_arith.cc (test03): Better fix for 32/64 bit architectures...
2002-01-30 Paolo Carlini <pcarlini@unitus.it>
* testsuite/27_io/ostream_inserter_arith.cc (test03):
Better fix for 32/64 bit architectures, avoiding the
implicit assumption that CHAR_BIT == 8.
From-SVN: r49342
Richard Henderson [Wed, 30 Jan 2002 18:07:44 +0000 (10:07 -0800)]
* sched-deps.c (sched_analyze): Make a call read the frame pointer.
From-SVN: r49341
Zack Weinberg [Wed, 30 Jan 2002 17:29:13 +0000 (17:29 +0000)]
* expmed.c (emit_store_flag): Call protect_from_queue on op0 and op1.
From-SVN: r49340
GCC Administrator [Wed, 30 Jan 2002 08:16:39 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r49338
David Billinghurst [Wed, 30 Jan 2002 04:48:28 +0000 (04:48 +0000)]
f77-edit-i-out.f: Escape \.
2002-01-30 David Billinghurst <David.Billinghurst@riotinto.com>
* g77.dg/f77-edit-i-out.f: Escape \. Allow \r\n and \r.
From-SVN: r49337
Richard Henderson [Wed, 30 Jan 2002 03:39:56 +0000 (19:39 -0800)]
991118-1.c: Cast various constants back to long long.
* gcc.c-torture/execute/991118-1.c: Cast various constants back
to long long.
* gcc.c-torture/execute/bf64-1.c: Likewise.
From-SVN: r49336