OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago2002-07-15 Michael Matz <matz@suse.de>,
matz [Mon, 15 Jul 2002 14:07:06 +0000 (14:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55458 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-15 Florian Weimer <fw@deneb.enyo.de>
fw [Mon, 15 Jul 2002 09:43:06 +0000 (09:43 +0000)]
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]

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55457 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55456 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR middle-end/7245
jakub [Mon, 15 Jul 2002 06:57:36 +0000 (06:57 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55451 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-14� Mark Wielaard� <mark@klomp.org>
mark [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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55444 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/7282
amodra [Sun, 14 Jul 2002 14:28:14 +0000 (14:28 +0000)]
PR target/7282
* config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
(floatunssidf2): Likewise.
(floatsidf_ppc64): New insn_and_split.
(floatunssidf_ppc64): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55443 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55442 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config.gcc (sh64): Remove unused
aj [Sun, 14 Jul 2002 07:01:36 +0000 (07:01 +0000)]
* config.gcc (sh64): Remove unused
target_requires_64bit_host_wide_int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55437 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55436 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55435 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c [CLEAR_RATIO]: New macro defining the maximum number
sayle [Sat, 13 Jul 2002 00:13:15 +0000 (00:13 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55429 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
tromey [Fri, 12 Jul 2002 21:13:16 +0000 (21:13 +0000)]
2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55427 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
ciceron [Fri, 12 Jul 2002 20:41:43 +0000 (20:41 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55425 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * java/lang/natThrowable.cc (printRawStackTrace): removed.
mark [Fri, 12 Jul 2002 12:52:44 +0000 (12:52 +0000)]
* 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().

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55424 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
marekm [Fri, 12 Jul 2002 11:19:47 +0000 (11:19 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55421 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55419 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55417 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agogcc:
amylaar [Thu, 11 Jul 2002 23:53:01 +0000 (23:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55410 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7224
mmitchel [Thu, 11 Jul 2002 22:34:58 +0000 (22:34 +0000)]
PR c++/7224
* class.c (add_method): Simplify.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55409 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7279
jason [Thu, 11 Jul 2002 21:55:49 +0000 (21:55 +0000)]
    PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55407 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7279
jason [Thu, 11 Jul 2002 21:12:47 +0000 (21:12 +0000)]
    PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55405 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (try_combine): When converting a paradoxical subreg
amylaar [Thu, 11 Jul 2002 21:03:51 +0000 (21:03 +0000)]
* combine.c (try_combine): When converting a paradoxical subreg
to an extension, take LOAD_EXTEND_OP into account.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55404 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55402 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in (mips*-*-irix6*o32): Enable stabs.
ro [Thu, 11 Jul 2002 18:56:58 +0000 (18:56 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55401 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
danglin [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 constant to register.
* pa-protos.h (adddi3_operand): Add prototype.
* pa.c (adddi3_operand): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55400 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
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.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55396 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rtl.h (gen_rtx_CONST_VECTOR): Declare.
amylaar [Thu, 11 Jul 2002 10:32:54 +0000 (10:32 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55395 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55394 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pa.md (adddi3): For 32-bit targets, force constants to a register
danglin [Thu, 11 Jul 2002 05:04:55 +0000 (05:04 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55389 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/stl_deque.h: Fix misspelling of `Create' as `Creats'.
kraai [Thu, 11 Jul 2002 04:43:15 +0000 (04:43 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55388 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c/2454
sayle [Thu, 11 Jul 2002 01:23:07 +0000 (01:23 +0000)]
PR c/2454
* combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55386 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-10 Roger Sayle <roger@eyesopen.com>
sayle [Thu, 11 Jul 2002 01:20:23 +0000 (01:20 +0000)]
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".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55385 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55384 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 10 Jul 2002 23:12:53 +0000 (23:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55383 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Jul 2002 21:17:29 +0000 (21:17 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55380 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Jul 2002 21:13:26 +0000 (21:13 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55379 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/avr/avr.md: Fix two 0x80000000 constants to make them
marekm [Wed, 10 Jul 2002 21:08:41 +0000 (21:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55378 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
rupp [Wed, 10 Jul 2002 20:32:51 +0000 (20:32 +0000)]
    * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
        HAS_INIT_SECTION to protection.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55377 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
mmitchel [Wed, 10 Jul 2002 19:17:51 +0000 (19:17 +0000)]
* doc/invoke.texi (Debugging Options): Mention that -gdwarf is
deprecated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55376 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (gen_lowpart_for_combine): Handle vector modes.
amylaar [Wed, 10 Jul 2002 18:51:20 +0000 (18:51 +0000)]
* combine.c (gen_lowpart_for_combine): Handle vector modes.
Supply non-VOID mode to simplify_gen_subreg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55375 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pt.c (template_parm_this_level_p, push_template_decl_real):
grahams [Wed, 10 Jul 2002 18:45:05 +0000 (18:45 +0000)]
* pt.c (template_parm_this_level_p, push_template_decl_real):
Pass depth as int pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55374 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
law [Wed, 10 Jul 2002 18:26:59 +0000 (18:26 +0000)]
    * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
        as appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55373 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (unqualified_name_lookup_error): Declare it.
mmitchel [Wed, 10 Jul 2002 18:16:24 +0000 (18:16 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55372 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55371 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.
law [Wed, 10 Jul 2002 17:38:37 +0000 (17:38 +0000)]
    * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55370 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * mn10200.c (expand_epilogue): Fix test to determine which scratch
law [Wed, 10 Jul 2002 17:26:31 +0000 (17:26 +0000)]
    * mn10200.c (expand_epilogue): Fix test to determine which scratch
        register to use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55369 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
amylaar [Wed, 10 Jul 2002 15:08:04 +0000 (15:08 +0000)]
* cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
Get mode from dest.
If simplify_gen_subreg fails, try next equivalent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55368 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55367 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure: Rebuilt.
tromey [Wed, 10 Jul 2002 14:30:15 +0000 (14:30 +0000)]
* configure: Rebuilt.
* configure.in: Use `test' after `&&'.  From Chris Faylor.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55366 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * include/bits/valarray_meta.h (_UnFunBase): Take a second
gdr [Wed, 10 Jul 2002 12:06:37 +0000 (12:06 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55365 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * diagnostic.h: #include location.h
gdr [Wed, 10 Jul 2002 10:36:27 +0000 (10:36 +0000)]
* 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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55364 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55363 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/rs6000/aix.h: Convert CPP_PREDEFINES to
kraai [Wed, 10 Jul 2002 00:33:52 +0000 (00:33 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55356 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-demangle.c (demangle_identifier): Support extended Unicode
jason [Tue, 9 Jul 2002 23:57:09 +0000 (23:57 +0000)]
    * cp-demangle.c (demangle_identifier): Support extended Unicode
        characters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55354 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/6255
jason [Tue, 9 Jul 2002 23:45:37 +0000 (23:45 +0000)]
    PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55352 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (constructor_name_p): Declare it.
mmitchel [Tue, 9 Jul 2002 23:31:28 +0000 (23:31 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55350 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55349 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-09 Devang Patel <dpatel@apple.com>
dpatel [Tue, 9 Jul 2002 22:29:11 +0000 (22:29 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55348 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpperror.c (cpp_error): Default to directive_line within
neil [Tue, 9 Jul 2002 22:21:37 +0000 (22:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55347 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoTue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
amylaar [Tue, 9 Jul 2002 22:04:34 +0000 (22:04 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55346 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
amylaar [Tue, 9 Jul 2002 21:30:32 +0000 (21:30 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55345 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55344 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55343 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55342 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc/except.c (expand_eh_region_end_cleanup): Change exception pointer
sje [Tue, 9 Jul 2002 15:28:22 +0000 (15:28 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55341 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55340 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-demangle.c (demangle_v3_with_details): Wrap in
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55335 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * configure.in: Don't build grez.
neroden [Mon, 8 Jul 2002 21:40:41 +0000 (21:40 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55334 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
mark [Mon, 8 Jul 2002 21:36:25 +0000 (21:36 +0000)]
* mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
java.sql.DatabaseMetaData.TestJdbc20

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55333 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in: Remove references to bsp, cygmon, libstub.
neroden [Mon, 8 Jul 2002 20:06:51 +0000 (20:06 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.

* configure.in: Remove leftover reference to gdbtest.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55332 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-08 Eric Christopher <echristo@redhat.com>
echristo [Mon, 8 Jul 2002 19:41:57 +0000 (19:41 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55331 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc/c-pragma.h (add_to_renaming_pragma_list): New function.
sje [Mon, 8 Jul 2002 17:53:24 +0000 (17:53 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55330 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * combine.c (combine_simplify_rtx): Add an explicit cast
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.
(simplify_if_then_else): Likewise.
(extended_count): Likewise.
(simplify_shift_const): Likewise.
(simplify_comparison): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55329 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * pt.c (can_complete_type_without_circularity): Add static to
lerdsuwa [Mon, 8 Jul 2002 14:53:51 +0000 (14:53 +0000)]
* pt.c (can_complete_type_without_circularity): Add static to
function definition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55326 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
pme [Mon, 8 Jul 2002 12:24:52 +0000 (12:24 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55325 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-08 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 8 Jul 2002 10:00:39 +0000 (10:00 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55323 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-08 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 8 Jul 2002 09:51:54 +0000 (09:51 +0000)]
2002-07-08  Phil Edwards  <pme@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55322 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mips/mips.md: Add imadd type. Update scheduler description
rsandifo [Mon, 8 Jul 2002 08:56:20 +0000 (08:56 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55321 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cp-tree.h (have_extern_spec): Declare it
mmitchel [Mon, 8 Jul 2002 07:49:58 +0000 (07:49 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55319 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55318 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Make-lang.in (cp/parse.o): Depend on decl.h.
mmitchel [Mon, 8 Jul 2002 02:25:19 +0000 (02:25 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55309 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (c_common_post_options): Update prototype;
neil [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.
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55306 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.h (PRINT_OPERAND_PUNCT_VALID_P): Allow '\''.
amylaar [Sun, 7 Jul 2002 19:56:31 +0000 (19:56 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55305 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * error.c (dump_function_name): Use DECL_TEMPLATE_RESULT for
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 passed a TEMPLATE_DECL.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55304 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Emit MMIX function prologue and epilogue as rtl.
hp [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55302 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-07 Paolo Carlini <pcarlini@unitus.it>
paolo [Sun, 7 Jul 2002 10:15:06 +0000 (10:15 +0000)]
2002-07-07  Paolo Carlini  <pcarlini@unitus.it>

PR libstdc++/7186
* include/bits/stl_deque.h (_Deque_iterator::operator-):
Make non-member, as already happens for the comparison
operators in accord with DR179 (Ready).
* testsuite/23_containers/deque_operators.cc: Add test02.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55301 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sun, 7 Jul 2002 07:18:36 +0000 (07:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55300 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* gcc.c-torture/compile/20020706-1.c: New test.
aoliva [Sat, 6 Jul 2002 17:19:51 +0000 (17:19 +0000)]
* gcc.c-torture/compile/20020706-1.c: New test.
* gcc.c-torture/compile/20020706-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55290 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* g++.dg/warn/incomplete1.C: New test.
aoliva [Sat, 6 Jul 2002 16:58:39 +0000 (16:58 +0000)]
* g++.dg/warn/incomplete1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55289 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* linkage1.C, linkage1-main.cc: New test.
aoliva [Sat, 6 Jul 2002 16:16:44 +0000 (16:16 +0000)]
* linkage1.C, linkage1-main.cc: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55288 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoChangeLog entry for my last patch:
aj [Sat, 6 Jul 2002 13:41:12 +0000 (13:41 +0000)]
ChangeLog entry for my last patch:

* toplev.c (set_fast_math_flags): Don't use ISO C style function
definitions.
* gengtype.c (open_base_files): Likewise.
(close_output_files): Likewise.
* tracer.c (find_best_predecessor): Likewise.
(find_best_successor): Likewise.
(ignore_bb_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55287 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * toplev.c (set_fast_math_flags): Don't use ISO C style function
aj [Sat, 6 Jul 2002 13:39:46 +0000 (13:39 +0000)]
* toplev.c (set_fast_math_flags): Don't use ISO C style function
definitions.
* gengtype.c (open_base_files): Likewise.
(close_output_files): Likewise.
* tracer.c (find_best_predecessor): Likewise.
(find_best_successor): Likewise.
(ignore_bb_p): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55286 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 6 Jul 2002 07:17:48 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55285 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-05 Tony Kimball <alk@pobox.com>
tromey [Sat, 6 Jul 2002 05:11:53 +0000 (05:11 +0000)]
2002-07-05  Tony Kimball  <alk@pobox.com>

* java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55280 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
sayle [Sat, 6 Jul 2002 00:25:30 +0000 (00:25 +0000)]
2002-07-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

        PR c++/7099
        * g++.dg/warn/noreturn1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55277 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR c++/7099
sayle [Sat, 6 Jul 2002 00:16:44 +0000 (00:16 +0000)]
PR c++/7099
* builtin-attrs.def: Define new attribute lists for use in
builtins.def.
* builtins.def [DEF_BUILTIN]: Modify to take an additional
ATTRS argument, an enumerated value defined in builtin-attrs.def
that represents the attribute list for the builtins.  Modify
all builtin functions to pass an appropriate attribute list.
Specify "abort", "exit", "_exit" and "_Exit" builtins here with
their required noreturn attributes.
* tree.h (enum_builtin_function): Ignore the additional parameter
to DEF_BUILTIN.
* builtins.c (built_in_names): Likewise.
* c-common.c: (builtin_function_2): Replace the "int noreturn_p"
argument with a tree representing the functions attribute list.
Pass this "attrs" argument to builtin_function.  No longer handle
the noreturn_p processing manually.
(built_in_attributes): Move the definitions from builtin-attrs.def
before c_common_nodes_and_builtins.
(c_common_nodes_and_builtins): Handle the new ATTRS parameter in
DEF_BUILTIN, passing it to both builtin_function and the changed
builtin_function_2.

* doc/extend.texi: Document __builtin_abort, __builtin_exit,
__builtin__exit and __builtin__Exit.

* java/builtins.c (initialize_builtins): Ignore the additional
parameter to DEF_BUILTIN.  Handle more C/C++ specific junk in
the builtins.def file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55276 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
ciceron [Fri, 5 Jul 2002 22:16:38 +0000 (22:16 +0000)]
* config/m68hc11/m68hc11.md ("*movqi_68hc12"): Avoid allocating
QI mode registers in soft registers.
("zero_extendqihi2"): Do not take into account soft registers
for register allocation (use '*' constraint).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55274 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cvt.c (cp_convert_to_pointer): Call force_fit_type for null
jason [Fri, 5 Jul 2002 22:10:25 +0000 (22:10 +0000)]
    * cvt.c (cp_convert_to_pointer): Call force_fit_type for null
        pointers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55272 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
ciceron [Fri, 5 Jul 2002 21:59:17 +0000 (21:59 +0000)]
* config/m68hc11/m68hc11.md ("*ashlsi3"): Avoid saving y if we know
it is dead.
("*ashrsi3"): Likewise.
("*lshrsi3"): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55270 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-07-05 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Fri, 5 Jul 2002 21:40:16 +0000 (21:40 +0000)]
2002-07-05  Vladimir Makarov  <vmakarov@redhat.com>

* genautomata.c (output_max_insn_queue_index_def): Take latencies
into account.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55269 138bc75d-0d04-0410-961f-82ee72b054a4