]> gcc.gnu.org Git - gcc.git/log
gcc.git
22 years agoconfig.gcc: Set cpu_type to m68k for 68010, as well.
Jason Thorpe [Sun, 3 Feb 2002 20:53:44 +0000 (20:53 +0000)]
config.gcc: Set cpu_type to m68k for 68010, as well.

* config.gcc: Set cpu_type to m68k for 68010, as well.
(m68010-*-netbsdelf*): New...
(m68k*-*-netbsdelf*): ...targets.
* config/m68k/netbsd-elf.h: New file.

From-SVN: r49464

22 years agore PR c/4475 (-Wswitch option not functional)
Andrew Cagney [Sun, 3 Feb 2002 15:58:08 +0000 (15:58 +0000)]
re PR c/4475 (-Wswitch option not functional)

* gcc.dg/Wswitch.c: New test.
PR gcc/4475. PR gcc/3780.

From-SVN: r49462

22 years agominor typo
DJ Delorie [Sun, 3 Feb 2002 13:10:29 +0000 (08:10 -0500)]
minor typo

From-SVN: r49461

22 years agore PR fortran/5122 (g77 rejects accepted use of INTEGER*2 as type of DATA statement...
Toon Moene [Sun, 3 Feb 2002 12:57:21 +0000 (13:57 +0100)]
re PR fortran/5122 (g77 rejects accepted use of INTEGER*2 as type of DATA statement loop index)

2002-02-03  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/5122.f: New test for regressions
against PR fortran/5122.

From-SVN: r49460

22 years agoexpr.c (ffeexpr_sym_impdoitem_): Allow other than default INTEGER implied-do loop...
Toon Moene [Sun, 3 Feb 2002 12:54:09 +0000 (13:54 +0100)]
expr.c (ffeexpr_sym_impdoitem_): Allow other than default INTEGER implied-do loop counts.

2002-02-03  Toon Moene  <toon@moene.indiv.nluug.nl>

* expr.c (ffeexpr_sym_impdoitem_): Allow other than
default INTEGER implied-do loop counts.

From-SVN: r49459

22 years agoclass.c (add_field): Mark static fields external.
Richard Henderson [Sun, 3 Feb 2002 06:23:37 +0000 (22:23 -0800)]
class.c (add_field): Mark static fields external.

        * class.c (add_field): Mark static fields external.
        (build_class_ref): Remove redundant set.
        * parse.y (java_expand_classes): Mark static fields of classes
        to be compiled as local.
        * jcf-parse.c (parse_class_file): Likewise.

From-SVN: r49458

22 years agocp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
H.J. Lu [Sun, 3 Feb 2002 04:00:36 +0000 (04:00 +0000)]
cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.

2002-02-02  H.J. Lu  (hjl@gnu.org)

* cp-demangle.c (cp_demangle_type): Do not protect with
IN_LIBGCC2.
(cplus_demangle_v3_all): New.
(cplus_demangle_v3): Call cplus_demangle_v3_all.
(cplus_demangle_v3_type): Call cplus_demangle_v3_all.

* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
Initialized to cplus_demangle_v3.
(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
of cplus_demangle_v3.
(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
command line symbol.

* testsuite/regress-demangle: Pass the mangled name at the
command line.

From-SVN: r49456

22 years agodemangle.h (cplus_demangle_v3_type): New prototype.
H.J. Lu [Sun, 3 Feb 2002 03:59:23 +0000 (03:59 +0000)]
demangle.h (cplus_demangle_v3_type): New prototype.

2002-02-02  H.J. Lu  (hjl@gnu.org)

* demangle.h (cplus_demangle_v3_type): New prototype.

From-SVN: r49455

22 years ago* config/h8300/h8300.c (hand_list): Move inside function_arg.
Kazu Hirata [Sun, 3 Feb 2002 01:36:13 +0000 (01:36 +0000)]
* config/h8300/h8300.c (hand_list): Move inside function_arg.

From-SVN: r49454

22 years agoh8300.c (h8_push_ops): Move inside h8300_init_once.
Kazu Hirata [Sun, 3 Feb 2002 01:29:16 +0000 (01:29 +0000)]
h8300.c (h8_push_ops): Move inside h8300_init_once.

* config/h8300/h8300.c (h8_push_ops): Move inside
h8300_init_once.
(h8_pop_ops): Likewise.
(h8_move_ops): Likewise.

From-SVN: r49453

22 years agoh8300.c (os_task): Make it static.
Kazu Hirata [Sun, 3 Feb 2002 01:24:11 +0000 (01:24 +0000)]
h8300.c (os_task): Make it static.

* config/h8300/h8300.c (os_task): Make it static.
(monitor): Likewise.
(pragma_saveall): Likewise.

From-SVN: r49452

22 years agosh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extensio...
Alexandre Oliva [Sun, 3 Feb 2002 00:50:50 +0000 (00:50 +0000)]
sh.md (ic_invalidate_line): Make sure the immediate constant is a valid sign-extension for Pmode.

* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
constant is a valid sign-extension for Pmode.

From-SVN: r49451

22 years agopr3743.f: Delete
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

22 years ago* config/h8300/h8300.c: Fix formatting.
Kazu Hirata [Sat, 2 Feb 2002 21:38:49 +0000 (21:38 +0000)]
* config/h8300/h8300.c: Fix formatting.

From-SVN: r49449

22 years ago* config/h8300/h8300.md: Fix formatting.
Kazu Hirata [Sat, 2 Feb 2002 21:15:24 +0000 (21:15 +0000)]
* config/h8300/h8300.md: Fix formatting.

From-SVN: r49448

22 years ago* Makefile.in: Rebuilt.
Tom Tromey [Sat, 2 Feb 2002 21:14:29 +0000 (21:14 +0000)]
* Makefile.in: Rebuilt.

From-SVN: r49447

22 years agoh8300.md (one_cmpl patterns): Tighten the predicates of operands[1].
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

22 years agoh8300.md (xor patterns): Tighten the predicates of operands[1] to register_operand.
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

22 years agocpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
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

22 years ago* Makefile.am (clean-nat): New target.
Jason Merrill [Sat, 2 Feb 2002 18:23:02 +0000 (13:23 -0500)]
* Makefile.am (clean-nat): New target.

From-SVN: r49443

22 years ago991118-1.c: Revert 2002-01-29 change.
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

22 years ago2002-02-02 Paolo Carlini <pcarlini@unitus.it>
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

22 years agoostream_manip.cc: Enable test02.
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

22 years agog77.texi [...]: Change last update date and/or copyright year.
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

22 years ago* gcc.c-torture/execute/bitfld-2.c: New test.
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

22 years ago* gcc.dg/20020201-3.c: New test.
Jakub Jelinek [Sat, 2 Feb 2002 09:22:00 +0000 (10:22 +0100)]
* gcc.dg/20020201-3.c: New test.

From-SVN: r49437

22 years agoDaily bump.
GCC Administrator [Sat, 2 Feb 2002 08:16:46 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49436

22 years ago* java/io/natFile.cc: Removed old "FIXME" comments.
Tom Tromey [Sat, 2 Feb 2002 07:45:50 +0000 (07:45 +0000)]
* java/io/natFile.cc: Removed old "FIXME" comments.

From-SVN: r49434

22 years agonatPosixProcess.cc (myclose): New function.
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

22 years agoContribute regression tester scripts
Geoffrey Keating [Sat, 2 Feb 2002 05:23:34 +0000 (05:23 +0000)]
Contribute regression tester scripts

From-SVN: r49432

22 years ago*** empty log message ***
Adam Megacz [Sat, 2 Feb 2002 04:39:26 +0000 (04:39 +0000)]
*** empty log message ***

From-SVN: r49431

22 years agoprims.cc: Added #undef STRICT after #include<windows.h>.
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

22 years ago2002-02-01 Adam Megacz <adam@xwt.org>
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

22 years ago2002-02-01 Adam Megacz
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

22 years agowin32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer wait() algor...
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

22 years ago2002-02-01 Adam Megacz <adam@xwt.org>
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

22 years agoconfigure.in: Added support for mingw.
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

22 years ago*** empty log message ***
Adam Megacz [Sat, 2 Feb 2002 04:11:01 +0000 (04:11 +0000)]
*** empty log message ***

From-SVN: r49424

22 years ago2002-02-01 Eric Christopher <echristo@redhat.com>
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

22 years agodocumentation.html: Update for 3.0.96.
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

22 years ago* gcc.dg/20020201-2.c: New test.
Jakub Jelinek [Sat, 2 Feb 2002 00:16:39 +0000 (01:16 +0100)]
* gcc.dg/20020201-2.c: New test.

From-SVN: r49421

22 years agoc-decl.c, [...]: Revert bitfield patch.
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

22 years ago* config/i386/i386.h (CPP_CPUCOMMON_SPEC): Add missing | separators.
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

22 years agoadded change for gcj manual.
Nic Ferrier [Fri, 1 Feb 2002 23:46:11 +0000 (23:46 +0000)]
added change for gcj manual.

From-SVN: r49418

22 years ago* gcj.texi (About CNI): New node.
Nic Ferrier [Fri, 1 Feb 2002 23:43:35 +0000 (23:43 +0000)]
* gcj.texi (About CNI): New node.

From-SVN: r49417

22 years agore PR c/5304 (gcc-20011231 generates incorrect divmod code for chars)
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

22 years agocfganal.c: Include tm_p.h.
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

22 years agoFix year typos.
Richard Henderson [Fri, 1 Feb 2002 23:19:29 +0000 (15:19 -0800)]
Fix year typos.

From-SVN: r49414

22 years agobad.def: Remove non-historical reference to version 0.6.
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

22 years agosparc.c (sparc_emit_set_symbolic_const64): If we are given conflicting registers...
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

22 years agore PR java/4972 (undefined reference to `libiconv')
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

22 years agore PR java/5080 (gcc/java/jcf-parse.c:908: `LC_CTYPE' undeclared (first use in this...
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

22 years agocp-demangle.c (cp_demangle_type): Call demangling_new with DMGL_GNU_V3.
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

22 years agofix typo
Jason Merrill [Fri, 1 Feb 2002 19:51:42 +0000 (14:51 -0500)]
fix typo

From-SVN: r49408

22 years agore PR c++/4872 (missed warning (no return) -- regression from 2.95)
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

22 years agotypeck.c (build_component_ref): Always complain about offsetof constructs on non...
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

22 years agosol2-sld-64.h: Include sparc/biarch64.h rather than sparc/sparc_bi.h.
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

22 years agolink, expect link errors
Jason Merrill [Fri, 1 Feb 2002 19:19:50 +0000 (14:19 -0500)]
link, expect link errors

From-SVN: r49404

22 years agouse unused attribute for the parm
Jason Merrill [Fri, 1 Feb 2002 19:15:58 +0000 (14:15 -0500)]
use unused attribute for the parm

From-SVN: r49403

22 years agore PR target/5469 ([IA64] ia64 arc profiling can use the wrong global pointer)
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

22 years agocfganal.c (keep_with_call_p): New function.
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

22 years agoinstall.texi (avr): Update outdated URL.
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

22 years agoI'm the i386 maintainer.
Richard Henderson [Fri, 1 Feb 2002 16:56:43 +0000 (08:56 -0800)]
I'm the i386 maintainer.

From-SVN: r49398

22 years agofix typo
Jason Merrill [Fri, 1 Feb 2002 16:06:10 +0000 (11:06 -0500)]
fix typo

From-SVN: r49397

22 years agoerror.c (dump_scope): Don't add TFF_DECL_SPECIFIERS.
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

22 years agore PR c++/4286 (Internal error: Segmentation fault)
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

22 years agostormy16.md (pushqi): New.
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

22 years agoMakefile.in (c-parse.c): Handle .output file.
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

22 years agomips.h (ENDIAN_SPEC): Output the endianness flag if the -me[lb] option is given.
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

22 years agoDaily bump.
GCC Administrator [Fri, 1 Feb 2002 08:17:03 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r49390

22 years agoverify.cc (state::enter_subroutine): New method.
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

22 years agocodecvt_specializations_ieee_1003.1-200x.h: Initialize all data members in copy ctor.
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

22 years agocp-demangle.c: Revert yesterday's change.
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

22 years agocodecvt_members_char_char.cc: Do not allow NULL argument to be passed to setenv().
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

22 years agoc-lex.c (yyparse): Call debug_hooks->start_source_file for the primary source file...
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

22 years agore PR fortran/3743 (Reference to intrinsic `ISHFT' invalid)
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

22 years agortlanal.c (subreg_regno_offset): Do not use SUBREG_REGNO_OFFSET.
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

22 years agore PR c++/3395 (Attribute causes type lookup to fail. Regression.)
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

22 years agoConfigure changes to enable cross compiling.
Anthony Green [Thu, 31 Jan 2002 22:25:31 +0000 (22:25 +0000)]
Configure changes to enable cross compiling.

From-SVN: r49378

22 years agoAllow attributes in parms and casts.
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

22 years agogccbug.in: Follow GNU Coding Standards for --version.
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

22 years agoconfigure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.
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

22 years agoCheck in new greek translation.
Philipp Thomas [Thu, 31 Jan 2002 12:15:25 +0000 (12:15 +0000)]
Check in new greek translation.

From-SVN: r49370

22 years agoifcvt.c (noce_process_if_block): Make a copy of the destination when copying back...
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

22 years agoDaily bump.
GCC Administrator [Thu, 31 Jan 2002 08:16:41 +0000 (08:16 +0000)]
Daily bump.

From-SVN: r49368

22 years agoifcvt.c (dead_or_predicable): Handling merging when other_bb and new_dest are the...
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

22 years agoRecord PR number last change.
Richard Henderson [Thu, 31 Jan 2002 06:35:55 +0000 (22:35 -0800)]
Record PR number last change.

From-SVN: r49365

22 years agortl.h (NOTE_INSN_LOOP_END_TOP_COND): New.
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

22 years agoThis commit was generated by cvs2svn to compensate for changes in r49361,
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

22 years agoInitial revision
Bryce McKinlay [Thu, 31 Jan 2002 02:48:44 +0000 (02:48 +0000)]
Initial revision

From-SVN: r49359

22 years agoc_locale_gnu.cc: Same errno fixes as generic.
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

22 years agoMake gcsec-1.c unsupported for AIX.
Tom Rix [Thu, 31 Jan 2002 01:44:14 +0000 (01:44 +0000)]
Make gcsec-1.c unsupported for AIX.

From-SVN: r49357

22 years agomips.h (PARM_BOUNDARY): Guarantee alignment of arguments to 64-bit boundaries on...
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

22 years ago* loop.c (loop_invariant_p): Special case pic_offset_table_rtx.
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

22 years agoc_locale_gnu.cc: Same errno fixes as generic.
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

22 years agocp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
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

22 years agoc-decl.c (grokdeclarator): Handle type being a typedef for an invalid type.
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

22 years agojartool.c (main): NULL-terminate new_argv.
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

22 years agoc_locale_generic.cc: Check errno for ERANGE instead of non-zero to aid portability.
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

22 years agomessages.html: Fix example code.
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

This page took 0.098981 seconds and 5 git commands to generate.