]> gcc.gnu.org Git - gcc.git/log
gcc.git
22 years agora-rewrite.c: #include reload.h, insn-config.h
Daniel Berlin [Tue, 16 Jul 2002 11:29:14 +0000 (11:29 +0000)]
ra-rewrite.c: #include reload.h, insn-config.h

* ra-rewrite.c: #include reload.h, insn-config.h
* ra-build.c: #include reload.h
* Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
depend on reload.h, insn-config.h.

From-SVN: r55483

22 years agoexpr.c (emit_move_insn_1): Handle arbitrary moves that are the same size as a word.
J"orn Rennecke [Tue, 16 Jul 2002 10:59:15 +0000 (10:59 +0000)]
expr.c (emit_move_insn_1): Handle arbitrary moves that are the same size as a word.

* expr.c (emit_move_insn_1): Handle arbitrary moves that are
the same size as a word.

* regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
BYTES_BIG_ENDIAN into account.

From-SVN: r55482

22 years agoi386.md (prefetch): Fix for 64bit mode.
Jan Hubicka [Tue, 16 Jul 2002 10:24:11 +0000 (12:24 +0200)]
i386.md (prefetch): Fix for 64bit mode.

* i386.md (prefetch): Fix for 64bit mode.
(prefetch_sse_rex, prefetch_3dnow_rex): New patterns.

* i386.md (movss, movsd): Use xorps/xorpd for Athlon.

From-SVN: r55481

22 years agonew (set_new_handler): Declare to not throw any exceptions.
Andreas Schwab [Tue, 16 Jul 2002 08:28:40 +0000 (08:28 +0000)]
new (set_new_handler): Declare to not throw any exceptions.

* libsupc++/new (set_new_handler): Declare to not throw any
exceptions.
* libsupc++/new_handler.cc (set_new_handler): Likewise.

From-SVN: r55480

22 years agoDaily bump.
GCC Administrator [Tue, 16 Jul 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55479

22 years ago* hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
Marek Michalkiewicz [Tue, 16 Jul 2002 05:54:07 +0000 (07:54 +0200)]
* hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.

From-SVN: r55474

22 years agovarargs.h: Replace with stub which issues #error.
Zack Weinberg [Tue, 16 Jul 2002 02:16:47 +0000 (02:16 +0000)]
varargs.h: Replace with stub which issues #error.

* ginclude/varargs.h: Replace with stub which issues #error.
* ginclude/stdarg.h: __builtin_stdarg_start is renamed
__builtin_va_start.

* builtins.def (BUILT_IN_VARARGS_START): Delete.
(BUILT_IN_VA_START): New.
* builtins.c (expand_builtin_va_start): Eliminate first
argument and code to implement pre-ISO varargs.
(std_expand_builtin_va_start): Ignore first argument; it is
always 1.
(expand_builtin): Handle BUILT_IN_VA_START and
BUILT_IN_STDARG_START identically.  Delete
BUILT_IN_VARARGS_START case.

* function.c (assign_parms): Delete hide_last_arg and all
its uses.
(mark_varargs): Delete function.
* function.h (struct function): Delete 'varargs' bit.
(current_function_varargs): Delete macro.
* tree.h: Don't declare mark_varargs.

* c-decl.c (c_function_varargs, c_mark_varargs): Delete.
(c_expand_body): Don't call mark_varargs.
* c-objc-common.c: Handle BUILT_IN_VA_START and
BUILT_IN_STDARG_START identically.  Delete
BUILT_IN_VARARGS_START case.
* c-tree.h: Don't declare c_mark_varargs.
* c-parse.in: Remove grammar rules for '&...' (which has been
commented out since before 2.7.2) and for '...' in K+R
argument declarations.

* builtins.c, function.c, integrate.c, sibcall.c,
config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
config/stormy16/stormy16.c: Delete all references to
current_function_varargs, and code predicated on that flag.

* config/alpha/alpha.c (alpha_va_start),
config/arc/arc.c (arc_va_start),
config/i386/i386.c (ix86_va_start),
config/mips/mips.c (mips_va_start),
config/mn10300/mn10300.c (mn10300_va_start),
config/rs6000/rs6000.c (rs6000_va_start),
config/s390/s390.c (s390_va_start),
config/sh/sh.c (sh_va_start),
Ignore first argument; it is always 1.

* config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
* config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
Delete m68hc11_va_start.
* config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
No need to define EXPAND_BUILTIN_VA_START.

* doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
doc/trouble.texi: Remove references to GCC-provided <varargs.h>.

testsuite:
* c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c,
c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c,
c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c,
c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c:
Convert to use <stdarg.h>.
* c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x:
Delete.
* gcc.dg/va-arg-2.c: New.
* lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS.

From-SVN: r55472

22 years agoMakefile.am (bits_headers): Remove slice.h
Gabriel Dos Reis [Tue, 16 Jul 2002 00:19:18 +0000 (00:19 +0000)]
Makefile.am (bits_headers): Remove slice.h

* include/Makefile.am (bits_headers): Remove slice.h
* include/Makefile.in: Regenerate.
* include/bits/slice.h (slice): move to include/bits/slice_array.h
* include/bits/slice.h Remove.
* include/std/std_valarray.h: Don't #include bits/slice.h anymore.
* include/bits/slice_array.h: Comply to official coding styles.
* testsuite/26_numerics/slice.cc: New test.
:w
:q

From-SVN: r55470

22 years agore PR middle-end/7153 (bad operands for 'movsbl' error)
Eric Botcazou [Mon, 15 Jul 2002 23:59:02 +0000 (23:59 +0000)]
re PR middle-end/7153 (bad operands for 'movsbl' error)

        PR optimization/7153
        * regmove.c (optimize_reg_copy_3): Don't optimize if the register
        dies in more than one insn.

From-SVN: r55468

22 years ago* MAINTAINERS: Update email address.
Neil Booth [Mon, 15 Jul 2002 21:17:51 +0000 (21:17 +0000)]
* MAINTAINERS: Update email address.

From-SVN: r55467

22 years ago* MAINTAINERS: Fix typo in a maintainer email address.
Hans-Peter Nilsson [Mon, 15 Jul 2002 21:12:31 +0000 (21:12 +0000)]
* MAINTAINERS: Fix typo in a maintainer email address.

From-SVN: r55466

22 years agoctype_base.h (ctype_base): Fix print to match vendor <ctype.h>.
Rainer Orth [Mon, 15 Jul 2002 20:23:38 +0000 (20:23 +0000)]
ctype_base.h (ctype_base): Fix print to match vendor <ctype.h>.

* config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
print to match vendor <ctype.h>.

From-SVN: r55463

22 years agoindex.html: Fix download links.
Phil Edwards [Mon, 15 Jul 2002 20:05:54 +0000 (20:05 +0000)]
index.html: Fix download links.

2002-07-15  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Fix download links.
* docs/html/faq/index.txt:  Regenerate.
* docs/html/17_intro/porting.html:  Regenerate from earlier changes.

From-SVN: r55462

22 years ago* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
Jason Thorpe [Mon, 15 Jul 2002 18:15:48 +0000 (18:15 +0000)]
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.

From-SVN: r55461

22 years agoMakefile.in: Rebuilt.
Tom Tromey [Mon, 15 Jul 2002 16:05:13 +0000 (16:05 +0000)]
Makefile.in: Rebuilt.

* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/beans/ExceptionListener.java: Merged with Classpath.
* java/beans/PropertyChangeEvent.java: Merged with Classpath.
* java/beans/PropertyChangeListener.java: Merged with Classpath.
* java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
* java/beans/PropertyChangeSupport.java: Merged with Classpath.
* java/beans/VetoableChangeListener.java: Merged with Classpath.
* java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
* java/beans/VetoableChangeSupport.java: Merged with Classpath.

From-SVN: r55459

22 years ago[multiple changes]
Michael Matz [Mon, 15 Jul 2002 14:07:06 +0000 (14:07 +0000)]
[multiple changes]

2002-07-15  Michael Matz  <matz@suse.de>,
            Daniel Berlin  <dberlin@dberlin.org>,
    Denis Chertykov  <denisc@overta.ru>

Add a new register allocator.

* ra.c: New file.
* ra.h: New file.
* ra-build.c: New file.
* ra-colorize.c: New file.
* ra-debug.c: New file.
* ra-rewrite.c: New file.

* Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
(ra-rewrite.o): New .o files for libbackend.a.
(GTFILES): Add basic-block.h.

* toplev.c (flag_new_regalloc): New.
(f_options): New option "new-ra".
(rest_of_compilation): Call initialize_uninitialized_subregs()
only for the old allocator.  If flag_new_regalloc is set, call
new allocator, instead of local_alloc(), global_alloc() and
friends.

* doc/invoke.texi: Document -fnew-ra.
* basic-block.h (FOR_ALL_BB): New.
* config/rs6000/rs6000.c (print_operand): Write small constants
as @l+80.

* df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
(df_reg_table_realloc): Make size at least as large as max_reg_num().
(df_insn_table_realloc): Size argument now is absolute, not relative.
Changed all callers.

* gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
* regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.

2002-06-20  Michael Matz  <matz@suse.de>

* df.h (struct ref.id): Make unsigned.
* df.c (df_bb_reg_def_chain_create): Remove unsigned cast.

2002-06-13  Michael Matz  <matz@suse.de>

* df.h (DF_REF_MODE_CHANGE): New flag.
* df.c (df_def_record_1, df_uses_record): Set this flag for refs
involving subregs with invalid mode changes, when
CLASS_CANNOT_CHANGE_MODE is defined.

2002-05-07  Michael Matz  <matz@suse.de>

* reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.

2002-05-03  Michael Matz  <matz@suse.de>

* sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.

Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>

* regclass.c (regclass): Work with all regs which have sets or
refs.
(reg_scan_mark_refs): Count regs inside (clobber ...).

2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>

* df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
(df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
add new refs.
(df_bb_refs_update): Don't clear insns_modified here, ...
(df_analyse): ... but here.

* sbitmap.c (dump_sbitmap_file): New.
(debug_sbitmap): Use it.

* sbitmap.h (dump_sbitmap_file): Add prototype.

2001-08-07  Daniel Berlin  <dan@cgsoftware.com>

* df.c (df_insn_modify): Grow the UID table if necessary, rather
than assume all emits go through df_insns_modify.

2001-07-26  Daniel Berlin  <dan@cgsoftware.com>

* regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
increase REG_N_REFS (like flow does), so that regclass doesn't
think a reg is useless, and thus, not calculate a class, when it
really should have.

2001-01-28  Daniel Berlin  <dberlin@redhat.com>

* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
dataflow analysis.

From-SVN: r55458

22 years agomake.adb (Add_Switch): Make Generic_Position a procedure.
Florian Weimer [Mon, 15 Jul 2002 09:43:06 +0000 (11:43 +0200)]
make.adb (Add_Switch): Make Generic_Position a procedure.

2002-07-15  Florian Weimer  <fw@deneb.enyo.de>

* make.adb (Add_Switch): Make Generic_Position a procedure.  The
function approach did not work well because of a side effect (the
function call could reallocate the table which was being indexed
using its result). Fixes ada/4851. [RESURRECTED]

From-SVN: r55457

22 years agoDaily bump.
GCC Administrator [Mon, 15 Jul 2002 07:16:52 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55456

22 years agore PR middle-end/7245 (ICE in find_reloads)
Jakub Jelinek [Mon, 15 Jul 2002 06:57:36 +0000 (08:57 +0200)]
re PR middle-end/7245 (ICE in find_reloads)

PR middle-end/7245
* config/i386/i386.c (const_int_1_31_operand): New.
* config/i386/i386.h (PREDICATE_CODES): Add it.
* config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.

* gcc.c-torture/compile/20020710-1.c: New test.

From-SVN: r55451

22 years ago2002-07-14� Mark Wielaard� <mark@klomp.org>
Mark Wielaard [Sun, 14 Jul 2002 22:18:35 +0000 (22:18 +0000)]
2002-07-14� Mark Wielaard� <mark@klomp.org>

    * gnu/java/security/der/DEREncodingException.java,
    gnu/java/security/provider/DERReader.java,
    gnu/java/security/provider/DERWriter.java,
    gnu/java/security/provider/DSAKeyPairGenerator.java,
    gnu/java/security/provider/DSAParameterGenerator.java,
    gnu/java/security/provider/DSAParameters.java,
    gnu/java/security/provider/DSASignature.java,
    gnu/java/security/provider/GnuDSAPrivateKey.java,
    gnu/java/security/provider/GnuDSAPublicKey.java,
    gnu/java/security/provider/MD5.java,
    gnu/java/security/util/Prime.java: New files from Classpath.
    * Makefile.am (ordinary_java_source_files): Add new files.
    * Makefile.in: Regenerate.

2002-07-14� C. Brian Jones <cbj@gnu.org>

    * gnu/java/security/provider/DefaultPolicy.java
    (getPermissions): do not maintain static class variable of
    Permissions
    * gnu/java/security/provider/SHA.java
    (engineUpdate): algorithm change
    (engineDigest): algorithm change

From-SVN: r55444

22 years agore PR target/7282 (unrecognizable insn)
Alan Modra [Sun, 14 Jul 2002 14:28:14 +0000 (14:28 +0000)]
re PR target/7282 (unrecognizable insn)

PR target/7282
* config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
(floatunssidf2): Likewise.
(floatsidf_ppc64): New insn_and_split.
(floatunssidf_ppc64): Likewise.

From-SVN: r55443

22 years agoDaily bump.
GCC Administrator [Sun, 14 Jul 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55442

22 years agoconfig.gcc (sh64): Remove unused target_requires_64bit_host_wide_int.
Andreas Jaeger [Sun, 14 Jul 2002 07:01:36 +0000 (09:01 +0200)]
config.gcc (sh64): Remove unused target_requires_64bit_host_wide_int.

* config.gcc (sh64): Remove unused
target_requires_64bit_host_wide_int.

From-SVN: r55437

22 years agoMake gengtype.c language independent.
Tim Josling [Sun, 14 Jul 2002 01:59:15 +0000 (01:59 +0000)]
Make gengtype.c language independent.

From-SVN: r55436

22 years agoDaily bump.
GCC Administrator [Sat, 13 Jul 2002 07:16:49 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55435

22 years agoexpr.c [...]: New macro defining the maximum number of move instructions to use when...
Roger Sayle [Sat, 13 Jul 2002 00:13:15 +0000 (00:13 +0000)]
expr.c [...]: New macro defining the maximum number of move instructions to use when...

* expr.c [CLEAR_RATIO]: New macro defining the maximum number
of move instructions to use when clearing memory, c.f. MOVE_RATIO.
[CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
whether clear_by_pieces should be used to clear storage.
(clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.

* doc/tm.texi: Document these two new target macros.

From-SVN: r55429

22 years agoFor PR libgcj/7292:
Jesse Rosenstock [Fri, 12 Jul 2002 21:13:16 +0000 (21:13 +0000)]
For PR libgcj/7292:

2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>

For PR libgcj/7292:
* java/lang/Character.java (toString(char)): Now static.

From-SVN: r55427

22 years agom68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.
Stephane Carrez [Fri, 12 Jul 2002 20:41:43 +0000 (22:41 +0200)]
m68hc11.md ("zero_extendsidi2"): Use D_REG only for the scratch register.

* config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
the scratch register.
("*movhi2_push"): Accept Z_REG because a split pattern can make use
of it, forbid reload to use it.

From-SVN: r55425

22 years agonatThrowable.cc (printRawStackTrace): removed.
Mark Wielaard [Fri, 12 Jul 2002 12:52:44 +0000 (12:52 +0000)]
natThrowable.cc (printRawStackTrace): removed.

* java/lang/natThrowable.cc (printRawStackTrace): removed.
(getStackTrace0): new method.
* java/lang/Throwable.java (CPlusPlusDemangler): removed.
(printStackTrace(PrintWriter)): replace with pure java implementation.
(printRawStackTrace): removed.
(getStackTrace0): new method.
* java/lang/StackTraceElement.java (toString): add extra whitespace.
* gcj/javaprims.h: regenerate class list.
* include/name-finder.h (lookup): new returns StackTraceElement*.
(method_name, file_name): fields removed.
(pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
(~_Jv_name_finder): close new descriptors.
* name-finder.cc(_Jv_name_finder): setup c++filt helper process.
(createStackTraceElement): new method.
(lookup): returns StackTraceElement*, uses createStackTraceElement().

From-SVN: r55424

22 years agoavr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return...
Marek Michalkiewicz [Fri, 12 Jul 2002 11:19:47 +0000 (13:19 +0200)]
avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT usage on 64-bit hosts, return value was truncated to 32 bits.

* config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
usage on 64-bit hosts, return value was truncated to 32 bits.

From-SVN: r55421

22 years ago* class.c (add_method): Correct handling of conversion operators.
Mark Mitchell [Fri, 12 Jul 2002 07:55:16 +0000 (07:55 +0000)]
* class.c (add_method): Correct handling of conversion operators.

From-SVN: r55419

22 years agoDaily bump.
GCC Administrator [Fri, 12 Jul 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55417

22 years agosimplify-rtx.c (simplify_subreg): Handle floating point CONST_DOUBLEs.
J"orn Rennecke [Thu, 11 Jul 2002 23:53:01 +0000 (23:53 +0000)]
simplify-rtx.c (simplify_subreg): Handle floating point CONST_DOUBLEs.

gcc:
Thu Jul 11 15:39:21 2002  J"orn Rennecke <joern.rennecke@superh.com>

* simplify-rtx.c (simplify_subreg): Handle floating point
CONST_DOUBLEs.  When an integer subreg of a smaller mode than
the element mode is requested, compute a subreg with an
integer mode of the same size as the element mode first.

testsuite:
Thu Jul 11 15:39:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
                          Andrew Pinski  <pinskia@physics.uc.edu>

gcc.c-torture/compile/simd-2.c: New testcase.
gcc.c-torture/compile/simd-3.c: Likewise.

Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
From-SVN: r55410

22 years agore PR c++/7224 (g++ 3.x does not tecognize unused ambiguous inline member functions)
Mark Mitchell [Thu, 11 Jul 2002 22:34:58 +0000 (22:34 +0000)]
re PR c++/7224 (g++ 3.x does not tecognize unused ambiguous inline member functions)

PR c++/7224
* class.c (add_method): Simplify.

PR c++/7224
* g++.dg/overload/error1.C: New test.

From-SVN: r55409

22 years agore PR c++/7279 (NRV related miscompilation)
Jason Merrill [Thu, 11 Jul 2002 21:55:49 +0000 (17:55 -0400)]
re PR c++/7279 (NRV related miscompilation)

        PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

From-SVN: r55407

22 years agore PR c++/7279 (NRV related miscompilation)
Jason Merrill [Thu, 11 Jul 2002 21:12:47 +0000 (17:12 -0400)]
re PR c++/7279 (NRV related miscompilation)

        PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

From-SVN: r55405

22 years agocombine.c (try_combine): When converting a paradoxical subreg to an extension...
J"orn Rennecke [Thu, 11 Jul 2002 21:03:51 +0000 (21:03 +0000)]
combine.c (try_combine): When converting a paradoxical subreg to an extension...

* combine.c (try_combine): When converting a paradoxical subreg
to an extension, take LOAD_EXTEND_OP into account.

From-SVN: r55404

22 years ago* configure.in: Remove two redundant tests.
Nathanael Nerode [Thu, 11 Jul 2002 19:54:04 +0000 (19:54 +0000)]
* configure.in: Remove two redundant tests.

From-SVN: r55402

22 years agoconfigure.in (mips*-*-irix6*o32): Enable stabs.
Rainer Orth [Thu, 11 Jul 2002 18:56:58 +0000 (18:56 +0000)]
configure.in (mips*-*-irix6*o32): Enable stabs.

* configure.in (mips*-*-irix6*o32): Enable stabs.

gcc:
* config.gcc (mips-sgi-irix6*o32): New configuration.

* configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
configurations.
* configure: Regenerate.

* config/mips/iris6-o32-as.h: New file.
* config/mips/iris6-o32.h: New file.

* config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
(NM_FLAGS): Define.
(HAVE_AS_SHF_MERGE): Undefine.

* config/mips/t-iris5-as: New file.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.

* config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
dp-bit.c, fp-bit.c): Move ...
* config/mips/t-iris5-6: ... here.
New file, shared by IRIX 5 and IRIX 6.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
mips-sgi-irix5*): Use it.

* config/mips/iris6.h: Remove duplicate comment.

* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
!TARGET_IRIX6]: Define.
(mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.

* config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.

gcc/testsuite:
* gcc.misc-tests/linkage.exp: Handle mips-sgi-irix6*o32
configuration and IRIX 6 O32 ABI.

libstdc++-v3:
* configure.target (target_os switch): Allow for irix6*o32
configurations.

From-SVN: r55401

22 years agopa.md (adddi3): Change predicate of operand 2 to adddi3_operand and delete code to...
John David Anglin [Thu, 11 Jul 2002 18:47:45 +0000 (18:47 +0000)]
pa.md (adddi3): Change predicate of operand 2 to adddi3_operand and delete code to force...

* pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
and delete code to force constant to register.
* pa-protos.h (adddi3_operand): Add prototype.
* pa.c (adddi3_operand): New function.

From-SVN: r55400

22 years agoc-decl.c (duplicate_decls): Preserve the noreturn attribute on non-ANSI builtin funct...
Roger Sayle [Thu, 11 Jul 2002 12:29:07 +0000 (12:29 +0000)]
c-decl.c (duplicate_decls): Preserve the noreturn attribute on non-ANSI builtin functions.

* c-decl.c (duplicate_decls): Preserve the noreturn attribute on
non-ANSI builtin functions.

* gcc.c-torture/execute/builtin-noret-1.c: Test non-ANSI functions.

From-SVN: r55396

22 years agortl.h (gen_rtx_CONST_VECTOR): Declare.
J"orn Rennecke [Thu, 11 Jul 2002 10:32:54 +0000 (10:32 +0000)]
rtl.h (gen_rtx_CONST_VECTOR): Declare.

* rtl.h (gen_rtx_CONST_VECTOR): Declare.
* gengenrtl.c (special_rtx): Check for CONST_VECTOR.
* emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
(gen_const_vector_0): Use it.

From-SVN: r55395

22 years agoDaily bump.
GCC Administrator [Thu, 11 Jul 2002 07:16:52 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55394

22 years agopa.md (adddi3): For 32-bit targets...
John David Anglin [Thu, 11 Jul 2002 05:04:55 +0000 (05:04 +0000)]
pa.md (adddi3): For 32-bit targets...

* pa.md (adddi3): For 32-bit targets, force constants to a register
if they don't fit in an 11-bit immediate.  Change insn predicate to
arith11_operand.  Remove comment.
* pa.c (cint_ok_for_move): Fix comment.
(emit_move_sequence):  Don't directly split DImode constants on 32-bit
targets.

From-SVN: r55389

22 years agostl_deque.h: Fix misspelling of `Create' as `Creats'.
Matt Kraai [Thu, 11 Jul 2002 04:43:15 +0000 (04:43 +0000)]
stl_deque.h: Fix misspelling of `Create' as `Creats'.

* include/bits/stl_deque.h: Fix misspelling of `Create' as `Creats'.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.

From-SVN: r55388

22 years agore PR c/2454 (Test Program A0376972.c fails with gcc-20010320, works with gcc-2.95.3)
Roger Sayle [Thu, 11 Jul 2002 01:23:07 +0000 (01:23 +0000)]
re PR c/2454 (Test Program A0376972.c fails with gcc-20010320, works with gcc-2.95.3)

PR c/2454
* combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.

From-SVN: r55386

22 years agobuiltins.def: Make the argument types of abort and exit independent of the front...
Roger Sayle [Thu, 11 Jul 2002 01:20:23 +0000 (01:20 +0000)]
builtins.def: Make the argument types of abort and exit independent of the front-end.

2002-07-10  Roger Sayle  <roger@eyesopen.com>
    Zack Weinberg <zack@codesourcery.com>

* builtins.def: Make the argument types of abort and exit
independent of the front-end.

* java/builtins.c (initialize_builtins): Remove defines that
handled C/C++ specific junk hereby removed from builtins.def.

* gcc.c-torture/execute/20000217-1.c: Fix usage of "abort".

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>
From-SVN: r55385

22 years ago* config/rs6000/linux64.h (ASM_SPEC): Define.
Alan Modra [Thu, 11 Jul 2002 00:23:16 +0000 (00:23 +0000)]
* config/rs6000/linux64.h (ASM_SPEC): Define.

From-SVN: r55384

22 years agors6000.c (emit_frame_save): New.
Aldy Hernandez [Wed, 10 Jul 2002 23:12:53 +0000 (23:12 +0000)]
rs6000.c (emit_frame_save): New.

2002-07-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (emit_frame_save): New.
        (rs6000_frame_related): Replace reg2 before reg.
        (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
        and eh_return registers.

From-SVN: r55383

22 years agoopen.c (f_open): Do not indicate unformatted file if record length is given without...
Toon Moene [Wed, 10 Jul 2002 21:17:29 +0000 (23:17 +0200)]
open.c (f_open): Do not indicate unformatted file if record length is given without a...

2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/open.c (f_open): Do not indicate unformatted file
if record length is given without a FORMATTED/UNFORMATTED
specification.

From-SVN: r55380

22 years agoRevert all patches for optimization of Complex .op.
Toon Moene [Wed, 10 Jul 2002 21:13:26 +0000 (23:13 +0200)]
Revert all patches for optimization of Complex .op.

2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

Revert all patches for optimization of Complex .op. Real.
* complex_part_zero_p: Remove
* expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
with x.
* expand_cmplxdiv_wide: Ditto.
* expand_binop: Ditto.

From-SVN: r55379

22 years agoavr.md: Fix two 0x80000000 constants to make them negative also on 64-bit hosts.
Marek Michalkiewicz [Wed, 10 Jul 2002 21:08:41 +0000 (23:08 +0200)]
avr.md: Fix two 0x80000000 constants to make them negative also on 64-bit hosts.

* config/avr/avr.md: Fix two 0x80000000 constants to make them
negative also on 64-bit hosts.

Default to -fno-reorder-blocks when optimizing for size.
* config/avr/avr-protos.h (avr_optimization_options): Declare.
* config/avr/avr.c (avr_optimization_options): New function.
* config/avr/avr.h (OPTIMIZATION_OPTIONS): New.

Optimize returning from simple functions.
* config/avr/avr-protos.h (avr_simple_epilogue): Declare.
* config/avr/avr.c (avr_simple_epilogue): New function.
* config/avr/avr.md (return): New insn.

From-SVN: r55378

22 years agoi386.c (ix86_svr3_asm_out_constructor): Add HAS_INIT_SECTION to protection.
Douglas B Rupp [Wed, 10 Jul 2002 20:32:51 +0000 (20:32 +0000)]
i386.c (ix86_svr3_asm_out_constructor): Add HAS_INIT_SECTION to protection.

        * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
        HAS_INIT_SECTION to protection.

From-SVN: r55377

22 years agoinvoke.texi (Debugging Options): Mention that -gdwarf is deprecated.
Mark Mitchell [Wed, 10 Jul 2002 19:17:51 +0000 (19:17 +0000)]
invoke.texi (Debugging Options): Mention that -gdwarf is deprecated.

* doc/invoke.texi (Debugging Options): Mention that -gdwarf is
deprecated.

From-SVN: r55376

22 years agocombine.c (gen_lowpart_for_combine): Handle vector modes.
J"orn Rennecke [Wed, 10 Jul 2002 18:51:20 +0000 (18:51 +0000)]
combine.c (gen_lowpart_for_combine): Handle vector modes.

* combine.c (gen_lowpart_for_combine): Handle vector modes.
Supply non-VOID mode to simplify_gen_subreg.

From-SVN: r55375

22 years agopt.c (template_parm_this_level_p, [...]): Pass depth as int pointer.
Graham Stott [Wed, 10 Jul 2002 18:45:05 +0000 (18:45 +0000)]
pt.c (template_parm_this_level_p, [...]): Pass depth as int pointer.

* pt.c (template_parm_this_level_p, push_template_decl_real):
Pass depth as int pointer.

From-SVN: r55374

22 years agomn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes as appropriate.
Jeff Law [Wed, 10 Jul 2002 18:26:59 +0000 (12:26 -0600)]
mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes as appropriate.

        * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
        as appropriate.

From-SVN: r55373

22 years agocp-tree.h (unqualified_name_lookup_error): Declare it.
Mark Mitchell [Wed, 10 Jul 2002 18:16:24 +0000 (18:16 +0000)]
cp-tree.h (unqualified_name_lookup_error): Declare it.

* cp-tree.h (unqualified_name_lookup_error): Declare it.
(begin_function_definition): Adjust prototype.
* lex.c (unqualified_name_lookup_error): New function, split out
from ...
(do_identifier): ... here.
* parse.y (parse_begin_function_definition): New function.
(fn.def1): Use it.
* semantics.c (begin_function_definition): Accept decl-specifiers
and attributes as separate parameters.

From-SVN: r55372

22 years ago* i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
Jan Hubicka [Wed, 10 Jul 2002 17:52:59 +0000 (17:52 +0000)]
* i386.c (ix86_init_mmx_sse_builtins): Fix thinko.

From-SVN: r55371

22 years ago981006-1.x: Do not use -fpic for mn102.
Jeff Law [Wed, 10 Jul 2002 17:38:37 +0000 (11:38 -0600)]
981006-1.x: Do not use -fpic for mn102.

        * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.

        * gcc.c-torture/compile/930326-1.x: Remove.  No longer needed.

From-SVN: r55370

22 years agomn10200.c (expand_epilogue): Fix test to determine which scratch register to use.
Jeff Law [Wed, 10 Jul 2002 17:26:31 +0000 (11:26 -0600)]
mn10200.c (expand_epilogue): Fix test to determine which scratch register to use.

        * mn10200.c (expand_epilogue): Fix test to determine which scratch
        register to use.

From-SVN: r55369

22 years agocse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
J"orn Rennecke [Wed, 10 Jul 2002 15:08:04 +0000 (15:08 +0000)]
cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.

* cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
Get mode from dest.
If simplify_gen_subreg fails, try next equivalent.

From-SVN: r55368

22 years agoreverted bogus checkin
Tom Tromey [Wed, 10 Jul 2002 14:33:04 +0000 (14:33 +0000)]
reverted bogus checkin

From-SVN: r55367

22 years agoconfigure: Rebuilt.
Tom Tromey [Wed, 10 Jul 2002 14:30:15 +0000 (14:30 +0000)]
configure: Rebuilt.

* configure: Rebuilt.
* configure.in: Use `test' after `&&'.  From Chris Faylor.

From-SVN: r55366

22 years agovalarray_meta.h (_UnFunBase): Take a second template parameter.
Gabriel Dos Reis [Wed, 10 Jul 2002 12:06:37 +0000 (12:06 +0000)]
valarray_meta.h (_UnFunBase): Take a second template parameter.

* include/bits/valarray_meta.h (_UnFunBase): Take a second
template parameter. Remove _M_func data member.
(_UnFunClos): Take a third template parameter.
(__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
__atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.

From-SVN: r55365

22 years agodiagnostic.h: #include location.h
Gabriel Dos Reis [Wed, 10 Jul 2002 10:36:27 +0000 (10:36 +0000)]
diagnostic.h: #include location.h

* diagnostic.h: #include location.h
(location_t): Move definition to..
* location.h: ... here.  New file.
* tree.h: #include location.h
(DECL_SOURCE_LOCATION): New macro.
(DECL_SOURCE_FILE): Use.
(DECL_SOURCE_LINE): Likewise.
(struct tree_decl): REplace filename and linenum with locus.
* Makefile.in (TREE_H): add location.h
(diagnostic.o): Depends on gt-location.h
(gt-location.h): Depends on s-gtype

From-SVN: r55364

22 years agoDaily bump.
GCC Administrator [Wed, 10 Jul 2002 07:17:32 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r55363

22 years agoaix.h: Convert CPP_PREDEFINES to TARGET_OS_CPP_BUILTINS.
Matt Kraai [Wed, 10 Jul 2002 00:33:52 +0000 (00:33 +0000)]
aix.h: Convert CPP_PREDEFINES to TARGET_OS_CPP_BUILTINS.

* config/rs6000/aix.h: Convert CPP_PREDEFINES to
TARGET_OS_CPP_BUILTINS.
* config/rs6000/aix31.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/rs6000/aix43.h: Likewise.
* config/rs6000/aix51.h: Likewise.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/eabi.h: Likewise.
* config/rs6000/eabisim.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/lynx.h: Likewise.
* config/rs6000/mach.h: Likewise.
* config/rs6000/rtems.h: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/vxppc.h: Likewise.

From-SVN: r55356

22 years agocp-demangle.c (demangle_identifier): Support extended Unicode characters.
Jason Merrill [Tue, 9 Jul 2002 23:57:09 +0000 (19:57 -0400)]
cp-demangle.c (demangle_identifier): Support extended Unicode characters.

        * cp-demangle.c (demangle_identifier): Support extended Unicode
        characters.

From-SVN: r55354

22 years agore PR c++/6255 (ICE with templatess)
Jason Merrill [Tue, 9 Jul 2002 23:45:37 +0000 (19:45 -0400)]
re PR c++/6255 (ICE with templatess)

        PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

From-SVN: r55352

22 years agocp-tree.h (constructor_name_p): Declare it.
Mark Mitchell [Tue, 9 Jul 2002 23:31:28 +0000 (23:31 +0000)]
cp-tree.h (constructor_name_p): Declare it.

* cp-tree.h (constructor_name_p): Declare it.
(check_template_template_default_arg): Likewise.
* class.c (handle_using_decl): Use constructor_name_p.
* decl.c (grokdeclarator): Likewise.
* decl2.c (constructor_name_p): Define it.
* init.c (build_member_call): Use constructor_name_p.
* parse.y (template_parm): Use check_template_template_default_arg.
* pt.c (check_explicit_specialization): Use constructor_name_p.
* semantics.c (check_template_template_default_arg): New function.

From-SVN: r55350

22 years ago* gcc.dg/20020312-2.c: Check for __PPC__.
Aldy Hernandez [Tue, 9 Jul 2002 23:30:51 +0000 (23:30 +0000)]
* gcc.dg/20020312-2.c: Check for __PPC__.

From-SVN: r55349

22 years agoobjc-act.c (adjust_type_for_id_default): Fix my previous patch.
Devang Patel [Tue, 9 Jul 2002 22:29:11 +0000 (15:29 -0700)]
objc-act.c (adjust_type_for_id_default): Fix my previous patch.

2002-07-09 Devang Patel <dpatel@apple.com>
        * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
        Do not allow ObjC objects as a parameter type for Objective-C methods.
        My previous patch restricted  'struct' also.

From-SVN: r55348

22 years agocpperror.c (cpp_error): Default to directive_line within directives here.
Neil Booth [Tue, 9 Jul 2002 22:21:37 +0000 (22:21 +0000)]
cpperror.c (cpp_error): Default to directive_line within directives here.

* cpperror.c (cpp_error): Default to directive_line within
directives here.
* cppexp.c (cpp_interpret_integer): Only use traditional
number semantics in directives.
* cpplib.c (prepare_directive_trad): Don't reset pfile->line.
(do_include_common): Similarly.
* cpptrad.c (scan_out_logical_line): Implement accurate
quoting of <> in #include.
* doc/cpp.texi: Update.

From-SVN: r55347

22 years agosh.c (sh_adjust_cost): Special handling of SHMEDIA code.
Stephen Clarke [Tue, 9 Jul 2002 22:04:34 +0000 (22:04 +0000)]
sh.c (sh_adjust_cost): Special handling of SHMEDIA code.

Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
                          J"orn Rennecke <joern.rennecke@superh.com>

* sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
* sh.md (attribute issues): Replace with:
(attribute pipe_model).  All users changed.
(attribute type): Change pt / ptabs to pt_media / ptabs_media.
All users changed.
(function units sh5issue, sh5fds): New.
(attribute is_mac_media): New.
(adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
(andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
(ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
(movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
(call_media, call_value_media, sibcall_media): Likewise.
(casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
(return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
(mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
(fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
(cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
(sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
(muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
(fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
(cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
(sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
(truncdfsf2_media): Likewise.
(movsi_media, movsi_media_nofpu, movdi_media): Use new types.
(movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.

Co-Authored-By: J"orn Rennecke <joern.rennecke@superh.com>
From-SVN: r55346

22 years agosh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
J"orn Rennecke [Tue, 9 Jul 2002 21:30:32 +0000 (21:30 +0000)]
sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.

* sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
* sh.c (general_extend_operand, inqhi_operand): New functions.
* sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
alternatives using 'N' modifier.  Add type.
(adddi3z_media): Likewise.  Enable generator function generation.
(movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
exact predicates / constraints.  Add type.
(subsi3): Allow 0 for SHMEDIA.
(udivsi3_i4_media): Use match_operand for input values
rather than hard registers.
(udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
unnecessarily through hard registers.  Keep copies of pseudo
registers outside of the libcall sequence.
(mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
(ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
(zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
(extendhidi2, extendqidi2): Likewise.
(andsi3_compact): Name.
(andcdi3): Enable generator function generation.
(zero_extendhisi2, zero_extendqisi2): Rename to
(zero_extendhisi2_compact, zero_extendqisi2_compact).
(extendhisi2, extendqisi2): Rename to
(extendhisi2_compact, extendqisi2_compact).
(rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
(loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
(zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
(zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
(extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
(extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
(truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
(shmedia32_initialize_trampoline_big): Likewise.
(shmedia32_initialize_trampoline_little): Likewise.
(nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
(negdi2): Remove spurious T clobber.
(zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
(movsi_media, movsi_media_nofpu): Remove spurious *k after b.
(movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
(movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
(ic_invalidate_line_media): Write back data cache before invalidating
instruction cache.  Add type.
(movsf_media): Sign-extend when the destination is a general
purpose register.  Add type.
(bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
(casesi_worker_0+1): Only increment ref count for proper label.
(casesi_worker_0+2): Likewise.

From-SVN: r55345

22 years agoTreelang updates for new attrib regime.
Tim Josling [Tue, 9 Jul 2002 21:19:08 +0000 (21:19 +0000)]
Treelang updates for new attrib regime.

From-SVN: r55344

22 years ago* gcc.c-torture/compile/20020709-1.c: New test.
Diego Novillo [Tue, 9 Jul 2002 19:52:02 +0000 (19:52 +0000)]
* gcc.c-torture/compile/20020709-1.c: New test.

From-SVN: r55343

22 years ago* dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.
Mark Mitchell [Tue, 9 Jul 2002 17:04:56 +0000 (17:04 +0000)]
* dwarfout.c (dwarfout_init): Warn that DWARF1 is deprecated.

From-SVN: r55342

22 years agoexcept.c (expand_eh_region_end_cleanup): Change exception pointer from Pmode to ptr_mode.
Steve Ellcey [Tue, 9 Jul 2002 15:28:22 +0000 (15:28 +0000)]
except.c (expand_eh_region_end_cleanup): Change exception pointer from Pmode to ptr_mode.

* gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
from Pmode to ptr_mode.
(get_exception_pointer): Ditto.
(connect_post_landing_pads): Ditto.
(dw2_build_landing_pads): Ditto.

From-SVN: r55341

22 years agoDaily bump.
GCC Administrator [Tue, 9 Jul 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55340

22 years agocp-demangle.c (demangle_v3_with_details): Wrap in !defined IN_GLIBCPP_V3.
Kaveh R. Ghazi [Tue, 9 Jul 2002 00:32:22 +0000 (00:32 +0000)]
cp-demangle.c (demangle_v3_with_details): Wrap in !defined IN_GLIBCPP_V3.

* cp-demangle.c (demangle_v3_with_details): Wrap in
!defined IN_GLIBCPP_V3.

From-SVN: r55335

22 years agoconfigure.in: Don't build grez.
Nathanael Nerode [Mon, 8 Jul 2002 21:40:41 +0000 (21:40 +0000)]
configure.in: Don't build grez.

* configure.in: Don't build grez.
* Makefile.in: Ditto.

From-SVN: r55334

22 years agomauve-libgcj: Don't compile java.sql.Blob.BlobTest...
Mark Wielaard [Mon, 8 Jul 2002 21:36:25 +0000 (21:36 +0000)]
mauve-libgcj: Don't compile java.sql.Blob.BlobTest...

* mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
java.sql.DatabaseMetaData.TestJdbc20

From-SVN: r55333

22 years agoMakefile.in: Remove references to bsp, cygmon, libstub.
Nathanael Nerode [Mon, 8 Jul 2002 20:06:51 +0000 (20:06 +0000)]
Makefile.in: Remove references to bsp, cygmon, libstub.

* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.

* configure.in: Remove leftover reference to gdbtest.

From-SVN: r55332

22 years agoconfigure.target: Fix comment for mips atomicity.
Eric Christopher [Mon, 8 Jul 2002 19:41:57 +0000 (19:41 +0000)]
configure.target: Fix comment for mips atomicity.

2002-07-08  Eric Christopher  <echristo@redhat.com>

* configure.target: Fix comment for mips atomicity. Add
mips*-*-linux* target, enable atomic operations there.
* config/cpu/mips/atomicity.h: Fix comments, remove
#ifndef/#endif. Add push/pop mips2.

From-SVN: r55331

22 years agoc-pragma.h (add_to_renaming_pragma_list): New function.
Steve Ellcey [Mon, 8 Jul 2002 17:53:24 +0000 (17:53 +0000)]
c-pragma.h (add_to_renaming_pragma_list): New function.

* gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
* gcc/c-pragma.c (add_to_renaming_pragma_list): New function.
(handle_pragma_redefine_extname): Change to use new function.

From-SVN: r55330

22 years agocombine.c (combine_simplify_rtx): Add an explicit cast to avoid signed/unsigned compa...
Roger Sayle [Mon, 8 Jul 2002 15:59:53 +0000 (15:59 +0000)]
combine.c (combine_simplify_rtx): Add an explicit cast to avoid signed/unsigned comparison warning.

* combine.c (combine_simplify_rtx): Add an explicit cast
to avoid signed/unsigned comparison warning.
(simplify_if_then_else): Likewise.
(extended_count): Likewise.
(simplify_shift_const): Likewise.
(simplify_comparison): Likewise.

From-SVN: r55329

22 years agopt.c (can_complete_type_without_circularity): Add static to function definition.
Kriang Lerdsuwanakij [Mon, 8 Jul 2002 14:53:51 +0000 (14:53 +0000)]
pt.c (can_complete_type_without_circularity): Add static to function definition.

* pt.c (can_complete_type_without_circularity): Add static to
function definition.

From-SVN: r55326

22 years agostl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compile...
Peter Schmid [Mon, 8 Jul 2002 12:24:52 +0000 (12:24 +0000)]
stl_deque.h (_Deque_alloc_base): Change order of member declarations to avoid compiler warnings and restore 3.1 ABI.

2002-07-08  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

* include/bits/stl_deque.h (_Deque_alloc_base):  Change order of
member declarations to avoid compiler warnings and restore 3.1 ABI.

From-SVN: r55325

22 years agoconfigure.in (gxx_include_dir): Change to match versioned C++ headers if --enable...
Phil Edwards [Mon, 8 Jul 2002 10:00:39 +0000 (10:00 +0000)]
configure.in (gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs...

2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

* configure.in (gxx_include_dir):  Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.

From-SVN: r55323

22 years agohowto.html: Link to dk_std::vector paper and homepage.
Phil Edwards [Mon, 8 Jul 2002 09:51:54 +0000 (09:51 +0000)]
howto.html: Link to dk_std::vector paper and homepage.

2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/23_containers/howto.html:  Link to dk_std::vector paper
and homepage.

From-SVN: r55322

22 years agomips.md: Add imadd type.
Richard Sandiford [Mon, 8 Jul 2002 08:56:20 +0000 (08:56 +0000)]
mips.md: Add imadd type.

* config/mips/mips.md: Add imadd type.  Update scheduler description
to use imadd as well as imul.
(*mul_acc_si, *madsi): Change imul alternatives to imadd.
(*mul_acc_di, *mul_acc_64bit_di): Likewise.
(*mul_sub_si): Likewise for first alternative.  Change second
alternative from imul to multi.

From-SVN: r55321

22 years agocp-tree.h (have_extern_spec): Declare it
Mark Mitchell [Mon, 8 Jul 2002 07:49:58 +0000 (07:49 +0000)]
cp-tree.h (have_extern_spec): Declare it

* cp-tree.h (have_extern_spec): Declare it
* decl.c (have_extern_spec): Define it.
(start_decl): Eliminate use of used_extern_spec.
(start_function): Likewise.
* parse.y (have_extern_spec): Remove declaration.
(used_extern_spec): Likewise.
(frob_specs): Eliminate use of used_extern_spec.
(.hush_warning): Likewise.

From-SVN: r55319

22 years agoDaily bump.
GCC Administrator [Mon, 8 Jul 2002 07:16:59 +0000 (07:16 +0000)]
Daily bump.

From-SVN: r55318

22 years agoMake-lang.in (cp/parse.o): Depend on decl.h.
Mark Mitchell [Mon, 8 Jul 2002 02:25:19 +0000 (02:25 +0000)]
Make-lang.in (cp/parse.o): Depend on decl.h.

* Make-lang.in (cp/parse.o): Depend on decl.h.
* cp-tree.h (do_decl_instantiation): Change prototype.
* parse.y: Include decl.h.
(parse_decl_instantiation): New function.
(explicit_instantiation): Use it.
* pt.c (do_decl_instantiation): Accept a DECL, not a DECLARATOR
and DECLSPECS.

From-SVN: r55309

22 years agoc-common.c (c_common_post_options): Update prototype; don't init backends if preproce...
Neil Booth [Sun, 7 Jul 2002 22:10:18 +0000 (22:10 +0000)]
c-common.c (c_common_post_options): Update prototype; don't init backends if preprocessing only.

* c-common.c (c_common_post_options): Update prototype;
don't init backends if preprocessing only.
* langhooks-def.h (LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options to
return a boolean.
* toplev.c (parse_options_and_default_flags, do_compile,
lang_independent_init): Update prototypes.  Allow the
front end to specify that there is no need to initialize
the back end.
(general_init): Move call to hex_init here...
(toplev_main): ...from here.  Pass flag for back end init
suppression.
java:
* lang.c (java_post_options): Update prototype.

From-SVN: r55306

22 years agosh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
J"orn Rennecke [Sun, 7 Jul 2002 19:56:31 +0000 (19:56 +0000)]
sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.

* sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
(PREDICATE_CODES): Add entries for equality_comparison_operator,
greater_comparison_operator and less_comparison_operator.
* sh.c (print_operand): Add '\'' code.  Make 'o' handle
more operators.
(equality_comparison_operator): New function.
(greater_comparison_operator, less_comparison_operator): Likewise.
* sh.md (beq_media_i): Disable generator function generation.
Use match_operator to handle a whole class of comparisons.  Add
modifier in output template to provide branch prediction.  Add type.
(bgt_media_i, ble_media_i): Likewise.  Allow zero operands.
(bne_media_i, bge_media_i, bgtu_media_i, bgeu_media_i): Delete.
(blt_media_i, bleu_media_i, bltu_media_i): Likewise.
(bgt, blt, ble, bge, bgtu, bltu, bgeu, bleu): Allow zero operands.

From-SVN: r55305

22 years agoerror.c (dump_function_name): Use DECL_TEMPLATE_RESULT for constructor and destructor...
Roger Sayle [Sun, 7 Jul 2002 18:56:18 +0000 (18:56 +0000)]
error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for constructor and destructor tests when...

* error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for
constructor and destructor tests when passed a TEMPLATE_DECL.

* g++.dg/template/qualttp21.C: New test case.

From-SVN: r55304

22 years agoEmit MMIX function prologue and epilogue as rtl.
Hans-Peter Nilsson [Sun, 7 Jul 2002 17:13:14 +0000 (17:13 +0000)]
Emit MMIX function prologue and epilogue as rtl.

* config/mmix/mmix.md ("call"): Use mmix_get_hard_reg_initial_val,
not unprototyped get_hard_reg_initial_val.
("call_value", "nonlocal_goto_receiver"): Ditto.
("return"): Make define_expand.  Move real insn to...
("*expanded_return"): New pattern.
("prologue", "epilogue"): New define_expands.
* config/mmix/mmix.h (MMIX_rO_REGNUM): New macro.
(struct machine_function): New member in_prologue.
(FIRST_PSEUDO_REGISTER): Adjust for including rO as register.
(FIXED_REGISTERS, CALL_USED_REGISTERS): Ditto.
(MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Ditto.
(MMIX_GNU_ABI_REG_ALLOC_ORDER, REG_CLASS_CONTENTS): Ditto.
(REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): Ditto.
(LOCAL_REGNO): Define.  Adjust comment.
* config/mmix/mmix.c (MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS):
Consider regs_ever_live[MMIX_rJ_REGNUM], not just
leaf_function_p.
(MMIX_OUTPUT_REGNO): Don't translate registers while outputting
the prologue.
(mmix_target_asm_function_prologue): Make static.  Just mark that
the prologue is being emitted.  Move guts to...
(mmix_expand_prologue): New function.  Adjust for emitting
prologue as rtl.  For sizes, use HOST_WIDE_INT only.
(mmix_target_asm_function_epilogue): Make static.  Simply emit a
\n.  Move guts to...
(mmix_expand_epilogue): New function.  Adjust for emitting
epilogue as rtl.  For sizes, use HOST_WIDE_INT only.
(mmix_target_asm_function_end_prologue): Mark that the prologue
has ended.
(TARGET_ASM_FUNCTION_END_PROLOGUE): Define.
(mmix_conditional_register_usage): Improve comments.
(mmix_local_regno): New function.
(mmix_emit_sp_add, mmix_get_hard_reg_initial_val): Ditto.
* config/mmix/mmix-protos.h (mmix_local_regno): Prototype.
(mmix_expand_prologue, mmix_expand_epilogue): Ditto.
(mmix_get_hard_reg_initial_val): Ditto.

From-SVN: r55302

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