OSDN Git Service

pf3gnuchains/gcc-fork.git
22 years ago * xmalloc.c (xmalloc_fail): Clarify error message.
neil [Sun, 3 Mar 2002 21:57:57 +0000 (21:57 +0000)]
* xmalloc.c (xmalloc_fail): Clarify error message.

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

22 years ago * toplev.c (rest_of_decl_compilation): Revert last two changes.
rth [Sun, 3 Mar 2002 21:40:38 +0000 (21:40 +0000)]
    * toplev.c (rest_of_decl_compilation): Revert last two changes.

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

22 years ago * emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
zack [Sun, 3 Mar 2002 21:10:09 +0000 (21:10 +0000)]
* emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
tree.c, config/m68k/m68k.c, f/com.c, f/target.h, java/expr.c,
java/jcf-parse.c, java/lex.c:
Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
REAL_ARITHMETIC blocks unconditional.  Delete some further
#ifdef blocks predicated on REAL_ARITHMETIC.
* flags.h, toplev.c: Delete remaining references to
flag_pretend_float.

* doc/invoke.texi: Remove documentation of -fpretend-float.
* doc/tm.texi: Describe the various REAL_* macros as provided by
real.h, not by the target configuration files.

* config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
config/xtensa/xtensa.h:
Do not define, undefine, or mention in comments any of
REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.

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

22 years ago * gcc_release: Make snapshots come from the 3.1 branch.
jsm28 [Sun, 3 Mar 2002 18:58:36 +0000 (18:58 +0000)]
* gcc_release: Make snapshots come from the 3.1 branch.

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

22 years agoAdd missing PR tag for previous commit.
pme [Sun, 3 Mar 2002 17:52:41 +0000 (17:52 +0000)]
Add missing PR tag for previous commit.

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

22 years ago2002-03-03 Phil Edwards <pme@gcc.gnu.org>
pme [Sun, 3 Mar 2002 17:48:42 +0000 (17:48 +0000)]
2002-03-03  Phil Edwards  <pme@gcc.gnu.org>

* include/std/std_sstream.h:  Remove trailing spaces.
(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.

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

22 years ago * 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
ghazi [Sun, 3 Mar 2002 15:40:44 +0000 (15:40 +0000)]
* 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
Delete.
* defaults.h (BITS_PER_WORD): Define.
* doc/tm.texi (BITS_PER_WORD): Document default value.

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

22 years ago * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
ghazi [Sun, 3 Mar 2002 15:37:32 +0000 (15:37 +0000)]
* 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.

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

22 years ago * attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
ghazi [Sun, 3 Mar 2002 14:07:39 +0000 (14:07 +0000)]
* attribs.c (init_attributes, decl_attributes): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.
* i386.c (override_options, ix86_init_mmx_sse_builtins,
ix86_expand_builtin): Likewise.
* mips.c (mips_add_gc_roots): Likewise.
* mmix.c (mmix_output_condition): Likewise.
* rs6000.c (rs6000_override_options, altivec_expand_builtin,
altivec_init_builtins): Likewise.
* sparc.c (mark_ultrasparc_pipeline_state): Likewise.
* cppexp.c (Nsuff, parse_number): Likewise.
* cppinit.c (builtin_array_end): Likewise.
* gcc.c (n_default_compilers, process_command): Likewise.
* genpreds.c (output_predicate_decls): Likewise.
* ggc-page.c (NUM_EXTRA_ORDERS): Likewise.
* lcm.c (N_ENTITIES): Likewise.
* stor-layout.c (set_sizetype): Likewise.

ada:
* utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in
lieu of explicit sizeof/sizeof.

cp:
* decl.c (cxx_init_decl_processing): Use ARRAY_SIZE in lieu of
explicit sizeof/sizeof.
* decl2.c (cxx_decode_option): Likewise.
* lex.c (init_reswords, REDUCE_LENGTH, TOKEN_LENGTH): Likewise.

java:
* class.c (init_class_processing): Use ARRAY_SIZE in lieu of
explicit sizeof/sizeof.
* decl.c (java_init_decl_processing): Likewise.
* jcf-parse.c (init_jcf_parse): Likewise.
* parse.y (init_src_parse): Likewise.

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

22 years ago * java/util/Timer (TaskQueue.stop): set elements to zero.
mark [Sun, 3 Mar 2002 11:02:04 +0000 (11:02 +0000)]
* java/util/Timer (TaskQueue.stop): set elements to zero.

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

22 years ago * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
rth [Sun, 3 Mar 2002 09:11:38 +0000 (09:11 +0000)]
    * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
        for types or labels.

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

22 years ago * c-decl.c (start_decl): Initialized variables are not common.
rth [Sun, 3 Mar 2002 09:09:33 +0000 (09:09 +0000)]
    * c-decl.c (start_decl): Initialized variables are not common.

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

22 years ago * c-decl.c (start_decl): Initialized variables are not common.
rth [Sun, 3 Mar 2002 09:00:51 +0000 (09:00 +0000)]
    * c-decl.c (start_decl): Initialized variables are not common.

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

22 years ago Make --CLASSPATH by a synonym for --classpath and -classpath.
bothner [Sun, 3 Mar 2002 08:35:11 +0000 (08:35 +0000)]
Make --CLASSPATH by a synonym for --classpath and -classpath.
Implement --bootclasspath.

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

22 years ago * gcc.c (option_map): Suport new --bootclasspath option.
bothner [Sun, 3 Mar 2002 08:33:59 +0000 (08:33 +0000)]
* gcc.c (option_map):  Suport new --bootclasspath option.
--CLASSPATH is now just an alias for --classpath.

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

22 years agoDaily bump.
gccadmin [Sun, 3 Mar 2002 08:17:12 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago2002-03-03 Aldy Hernandez <aldyh@redhat.com>
aldyh [Sun, 3 Mar 2002 06:41:07 +0000 (06:41 +0000)]
2002-03-03  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/20020103-1.c: Add othe -D ppc variants.

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

22 years ago * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
rth [Sun, 3 Mar 2002 05:20:04 +0000 (05:20 +0000)]
    * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
        load if "internal" visibility.
        * doc/extend.texi: Document visibility meanings.

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

22 years ago * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
rth [Sun, 3 Mar 2002 04:57:02 +0000 (04:57 +0000)]
    * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
        to functions as well.

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

22 years agoRevert bogus commit.
rth [Sun, 3 Mar 2002 04:51:15 +0000 (04:51 +0000)]
Revert bogus commit.

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

22 years ago * attribs.c (handle_alias_attribute): Don't call assemble_alias.
rth [Sun, 3 Mar 2002 04:50:53 +0000 (04:50 +0000)]
    * attribs.c (handle_alias_attribute): Don't call assemble_alias.
        (handle_visibility_attribute): Don't call assemble_visibility.
        * toplev.c (rest_of_decl_compilation): Invoke make_decl_rtl even
        without asmspec.  Invoke assemble_alias when needed.
        * varasm.c (maybe_assemble_visibility): New.
        (assemble_start_function, assemble_variable, assemble_alias): Use it.

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

22 years ago * varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
rth [Sun, 3 Mar 2002 04:23:21 +0000 (04:23 +0000)]
* varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P;
invoke ENCODE_SECTION_INFO with first call flag.

* config/darwin-protos.h, config/darwin.c, config/darwin.h,
config/a29k/a29k.h, config/alpha/alpha-protos.h, config/alpha/alpha.c,
config/alpha/alpha.h, config/arc/arc.h, config/arm/arm-protos.h,
config/arm/arm.h, config/arm/pe.c, config/arm/pe.h,
config/avr/avr-protos.h, config/avr/avr.c, config/avr/avr.h,
config/c4x/c4x-protos.h, config/c4x/c4x.c, config/c4x/c4x.h,
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
config/d30v/d30v.h, config/h8300/h8300.h, config/i370/i370.h,
config/i386/cygwin.h, config/i386/i386-interix.h, config/i386/i386.h,
config/i386/osfrose.h, config/i386/win32.h, config/i386/winnt.c,
config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m32r/m32r-protos.h, config/m32r/m32r.c, config/m32r/m32r.h,
config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c,
config/m68hc11/m68hc11.h, config/m88k/m88k.h,
config/mcore/mcore-protos.h, config/mcore/mcore.c,
config/mcore/mcore.h, config/mips/mips.h, config/ns32k/ns32k.h,
config/pa/pa.h, config/romp/romp.h, config/rs6000/linux64.h,
config/rs6000/rs6000-protos.h, config/rs6000/rs6000.c,
config/rs6000/sysv4.h, config/rs6000/xcoff.h, config/s390/s390.h,
config/sh/sh.h, config/sparc/sparc.h,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vms.h,
config/xtensa/xtensa.h, doc/tm.texi: ENCODE_SECTION_INFO now takes
FIRST argument.  As needed, examine it and do nothing.

* config/darwin.h, config/alpha/alpha.h, config/arm/pe.h,
config/i386/cygwin.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h,
config/mcore/mcore.h: Remove REDO_SECTION_INFO_P.

* config/arm/t-pe (pe.o): Add dependencies.

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

22 years ago * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
ghazi [Sun, 3 Mar 2002 02:27:42 +0000 (02:27 +0000)]
* a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
* defaults.h (BITS_PER_UNIT): Define.
* doc/tm.texi (BITS_PER_UNIT): Document default value.

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

22 years ago2002-03-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 2 Mar 2002 21:32:56 +0000 (21:32 +0000)]
2002-03-02  Paolo Carlini  <pcarlini@unitus.it>

        * testsuite/22_locale/num_get_members_char.cc (test04):
Use a named locale expecting grouping (de_DE).
        * testsuite/22_locale/num_get_members_wchar_t.cc (test04):
Ditto.
        * testsuite/27_io/ios_manip_basefield.cc (test01):
Extend coverage, uniform treatment of hexs and octs.

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

22 years agocp:
nathan [Sat, 2 Mar 2002 19:51:57 +0000 (19:51 +0000)]
cp:
        PR c++/775
        * decl.c (lookup_tag): Only reject enum/class mismatch, not
        class/union mismatch.
        * parse.y (check_class_key): New function.
        (structsp): Call it.Read from remote host gcc.gnu.org: Connection reset by peer
testsuite:
        * g++.dg/other/classkey1.C: New test.

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

22 years ago2002-02-28 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Sat, 2 Mar 2002 17:58:05 +0000 (17:58 +0000)]
2002-02-28  Alexandre Petit-Bianco  <apbianco@redhat.com>

Fix for PR java/5758, java/5632:
* jcf-parse.c (load_class): Renamed local variable, consider `.' an
inner-class separator too.
* parse.y (do_resolve_class): New local `decl_result.'
Progressively build a name for what can have been loaded.

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

22 years ago * config/h8300/h8300-protos.h: Add a prototype for
kazu [Sat, 2 Mar 2002 17:20:01 +0000 (17:20 +0000)]
* config/h8300/h8300-protos.h: Add a prototype for
compute_a_shift_length.
* config/h8300/h8300.c (h8300_asm_insn_count): New.
(compute_a_shift_length): Likewise.
(h8300_adjust_insn_length): Do not adjust insn length of shift
insns.
* config/h8300/h8300.md (anonymous shift patterns): Use
compute_a_shift_length.

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

22 years ago * config/sparc/sparc.c (sparc_initialize_trampoline): Use
kenner [Sat, 2 Mar 2002 13:53:38 +0000 (13:53 +0000)]
* config/sparc/sparc.c (sparc_initialize_trampoline): Use
trunc_int_for_mode.

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

22 years ago * emit-rtl.c (offset_address): Call update_temp_slot_address.
kenner [Sat, 2 Mar 2002 11:35:36 +0000 (11:35 +0000)]
* emit-rtl.c (offset_address): Call update_temp_slot_address.

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

22 years agoDaily bump.
gccadmin [Sat, 2 Mar 2002 08:17:34 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
ghazi [Sat, 2 Mar 2002 03:52:17 +0000 (03:52 +0000)]
* Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
* doc/invoke.texi (-fno-zero-initialized-in-bss): Document.
* flags.h (flag_zero_initialized_in_bss): Declare.
* toplev.c (flag_zero_initialized_in_bss): New flag.
(lang_independent_options): Add flag_zero_initialized_in_bss.
* tree.c (initializer_zerop): New function.
* tree.h (initializer_zerop): Declare.
* varasm.c (assemble_variable): If we can emit bss, put zero
initializers in the bss section.

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

22 years ago * config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
amodra [Sat, 2 Mar 2002 00:11:11 +0000 (00:11 +0000)]
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
like more than one symbol per .weak directive.

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

22 years ago * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
rth [Fri, 1 Mar 2002 23:56:33 +0000 (23:56 +0000)]
    * config/ia64/ia64.c (ia64_initial_elimination_offset): Do not
        adjust argument_pointer by pretend_args_size.
        (ia64_va_start): Adjust va_start address by -pretend_args_size.

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

22 years ago * config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.
kazu [Fri, 1 Mar 2002 22:07:44 +0000 (22:07 +0000)]
* config/h8300/h8300.c (h8300_adjust_insn_length): Clean up.

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

22 years ago * toplev.c (rest_of_compilation): Delete dead jumptables before
hubicka [Fri, 1 Mar 2002 20:07:01 +0000 (20:07 +0000)]
* toplev.c (rest_of_compilation): Delete dead jumptables before
loop.
* flow.c (delete_dead_jumptables): Make global.
* rtl.h (delete_dead_jumptables): Declare.

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

22 years agoReduced testcase of a 252.eon (SPEC2000) problem.
matz [Fri, 1 Mar 2002 19:27:05 +0000 (19:27 +0000)]
Reduced testcase of a 252.eon (SPEC2000) problem.

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

22 years ago * gcc.c-torture/compile/981223-1.x: New.
rth [Fri, 1 Mar 2002 18:39:21 +0000 (18:39 +0000)]
    * gcc.c-torture/compile/981223-1.x: New.
        * gcc.c-torture/compile/920625-1.x: New.

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

22 years ago * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
dje [Fri, 1 Mar 2002 17:33:21 +0000 (17:33 +0000)]
    * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
        * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
        * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.

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

22 years ago2002-03-01 Michael Matz <matz@suse.de>
matz [Fri, 1 Mar 2002 13:50:28 +0000 (13:50 +0000)]
2002-03-01  Michael Matz  <matz@suse.de>

        * typeck.c (cp_pointer_int_sum): Complete inner type which is
        used later by size_in_bytes().

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

22 years agoOops. A ChangeLog entry got committed prematurely with my last change.
green [Fri, 1 Mar 2002 13:43:09 +0000 (13:43 +0000)]
Oops.  A ChangeLog entry got committed prematurely with my last change.
This fixes is.

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

22 years ago * config/h8300/h8300-protos.h: Fix formatting.
kazu [Fri, 1 Mar 2002 09:14:08 +0000 (09:14 +0000)]
* config/h8300/h8300-protos.h: Fix formatting.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.

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

22 years ago * config/h8300/h8300.c (print_operand): Support 16-bit
kazu [Fri, 1 Mar 2002 08:57:14 +0000 (08:57 +0000)]
* config/h8300/h8300.c (print_operand): Support 16-bit
constant addresses.
* config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.

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

22 years agoDaily bump.
gccadmin [Fri, 1 Mar 2002 08:19:04 +0000 (08:19 +0000)]
Daily bump.

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

22 years ago * expmed.c (store_bit_field): Prevent generation of CONCATs;
rth [Fri, 1 Mar 2002 08:13:04 +0000 (08:13 +0000)]
    * expmed.c (store_bit_field): Prevent generation of CONCATs;
        pun complex values as integers; use gen_lowpart instead of
        gen_rtx_SUBREG.
        (extract_bit_field): Likewise.

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

22 years ago2002-03-01 Phil Edwards <pme@gcc.gnu.org>
pme [Fri, 1 Mar 2002 07:19:29 +0000 (07:19 +0000)]
2002-03-01  Phil Edwards  <pme@gcc.gnu.org>

* cp-tree.h:  Require __GNUC__ to be #defined.
(build_init):  Add missing prototype.

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

22 years ago * doc/tm.texi (ASM_WEAKEN_DECL): Document.
amodra [Fri, 1 Mar 2002 06:00:38 +0000 (06:00 +0000)]
* doc/tm.texi (ASM_WEAKEN_DECL): Document.
(ASM_WEAKEN_LABEL): Mention ASM_WEAKEN_DECL.
(SUPPORTS_WEAK): Likewise.
* output.h (add_weak): Add tree param.
* varasm.c (add_weak): Likewise.  Save decl.
(struct weak_syms): Add decl field.
(mark_weak_decls): New function.
(init_varasm_once): ggc_add_root mark_weak_decls.
(assemble_start_function): Use ASM_WEAKEN_DECL.
(assemble_variable): Likewise.
(assemble_alias): Likewise.
(declare_weak): Pass decl to add_weak.
(weak_finish): Use ASM_WEAKEN_DECL. Try to find decl.
(remove_from_pending_weak_list): Declare and define for
ASM_WEAKEN_DECL.
* c-pragma.c (handle_pragma_weak): Adjust add_weak call.
* c-pragma.h (HANDLE_PRAGMA_WEAK): Define if ASM_WEAKEN_DECL too.
* defaults.h (SUPPORTS_WEAK): Likewise.
* config/rs6000/linux64.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
.weak for code sym.  Do emit .size for descriptor sym.
(ASM_DECLARE_FUNCTION_SIZE): Define.
* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): Define.
(ASM_OUTPUT_DEF_FROM_DECLS): Don't emit .weak here.  Don't output
.lglobl unless TARGET_XCOFF.  Formatting fixes.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Don't emit
.weak for code sym.
(HANDLE_PRAGMA_WEAK): Remove.
(ASM_WEAKEN_LABEL): Remove.
* config/rs6000/aix.h (HANDLE_SYSV_PRAGMA): Define.

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

22 years agoAdd pointer support to the reflection code.
green [Fri, 1 Mar 2002 05:36:31 +0000 (05:36 +0000)]
Add pointer support to the reflection code.

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

22 years ago * g++.dg/opt/vtgc1.C: Adjust patterns for ia64.
rth [Fri, 1 Mar 2002 02:39:38 +0000 (02:39 +0000)]
    * g++.dg/opt/vtgc1.C: Adjust patterns for ia64.

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

22 years ago * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
jason [Fri, 1 Mar 2002 01:49:00 +0000 (01:49 +0000)]
    * tree.h (TARGET_EXPR_SLOT, TARGET_EXPR_INITIAL): New macros.
        (TARGET_EXPR_CLEANUP): New macro.
cp/
        * except.c: Don't include decl.h or obstack.h.  Do include
        tree-inline.h.
        (build_throw): Destroy temporaries from the thrown
        expression before calling __cxa_throw.  Construct a thrown
        temporary directly into the exception object.
        (stabilize_throw_expr): New function.
        (wrap_cleanups_r): New function.
        * tree.c (stabilize_expr): New function.
        * init.c (build_init): New function.
        * Make-lang.in (cp/except.o): Adjust .h deps.

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

22 years ago * config/linker-map.gnu: Export operator new with unsigned long,
rth [Fri, 1 Mar 2002 01:27:57 +0000 (01:27 +0000)]
    * config/linker-map.gnu: Export operator new with unsigned long,
        and with std::nothrow_t.  Likewise operator delete.

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

22 years ago * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
rth [Fri, 1 Mar 2002 01:19:52 +0000 (01:19 +0000)]
    * doc/rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition
        to take ptr_extend into account as third type of extension.
        (SUBREG_PROMOTED_UNSIGNED_SET): Definition of new macro to set bit
        fields used by SUBREG_PROMOTED_UNSIGNED_P.
        * rtl.h (SUBREG_PROMOTED_UNSIGNED_SET): New macro.
        (SUBREG_PROMOTED_UNSIGNED_P): Change to return -1 as well as 0 or 1.
        * calls.c (precompute_arguments): Use new macro.
        (expand_call): Ditto.
        * combine.c (nonzero_bits): Ditto.
        (record_promoted_value): Ditto.
        * expr.c (store_expr): Ditto.
        (expand_expr): Ditto.
        * function.c (assign_parms): Ditto.

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

22 years ago* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
aoliva [Fri, 1 Mar 2002 00:50:39 +0000 (00:50 +0000)]
* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.

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

22 years ago* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
aoliva [Fri, 1 Mar 2002 00:49:53 +0000 (00:49 +0000)]
* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.

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

22 years ago * expr.c (build_java_arraystore_check): Fix formatting.
bryce [Thu, 28 Feb 2002 23:27:09 +0000 (23:27 +0000)]
* expr.c (build_java_arraystore_check): Fix formatting.

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

22 years ago2002-02-28 David O'Brien <obrien@FreeBSD.org>
obrien [Thu, 28 Feb 2002 23:06:25 +0000 (23:06 +0000)]
2002-02-28  David O'Brien  <obrien@FreeBSD.org>
* config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification
of "ultrasparc".
* config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS.  It appears
to be broken.

Approved by:  Richard Henderson <rth@redhat.com>
              Message-ID: <20020228100723.A30279@redhat.com>

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

22 years ago2002-02-28 Paolo Carlini <pcarlini@unitus.it>
paolo [Thu, 28 Feb 2002 21:16:45 +0000 (21:16 +0000)]
2002-02-28  Paolo Carlini  <pcarlini@unitus.it>

        * include/bits/locale_facets.tcc (num_get::_M_extract_int):
        Admit grouping for octals and hexadecimals too.
        * testsuite/22_locale/num_get_members_char.cc: Add test04.
        (test01): Tweak "." -> "," in void* test.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

        * testsuite/27_io/ios_manip_basefield.cc: Remove static keyword.
        * testsuite/27_io/ios_manip_fmtflags.cc: Remove two of them.

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

22 years ago * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
rth [Thu, 28 Feb 2002 19:48:40 +0000 (19:48 +0000)]
    * config/ia64/ia64.c (ia64_adjust_cost): All non-MM consumers have
        4 cycle latency from MM producers.
        (ia64_internal_sched_reorder): Likewise with pipeline flush.

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

22 years ago * mklibgcc.in: Don't use GNU make extension.
jakub [Thu, 28 Feb 2002 18:56:55 +0000 (18:56 +0000)]
* mklibgcc.in: Don't use GNU make extension.

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

22 years ago * c-parse.in (STATIC): New terminal.
neil [Thu, 28 Feb 2002 18:51:14 +0000 (18:51 +0000)]
* c-parse.in (STATIC): New terminal.
(scspec): New non-terminal.  Update productions accordingly.
(program): Remove bogus ifc / end ifc.
(array_declarator): Simplify production using STATIC.

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

22 years ago * cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
neil [Thu, 28 Feb 2002 18:46:17 +0000 (18:46 +0000)]
* cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
\a still means TARGET_BELL.

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

22 years ago * haifa-sched.c (sched_emit_insn): New.
rth [Thu, 28 Feb 2002 18:32:12 +0000 (18:32 +0000)]
    * haifa-sched.c (sched_emit_insn): New.
        (schedule_block): Use last_scheduled_insn to track last insn.
        * sched-int.h (sched_emit_insn): Prototype.
        * config/ia64/ia64.c (last_issued): Remove.
        (ia64_variable_issue): Don't set it.
        (nop_cycles_until): Use sched_emit_insn.

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

22 years ago * config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
amacleod [Thu, 28 Feb 2002 18:31:00 +0000 (18:31 +0000)]
* config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
extended constants.

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

22 years ago * config/h8300/h8300.c: Fix formatting.
kazu [Thu, 28 Feb 2002 18:13:06 +0000 (18:13 +0000)]
* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.

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

22 years ago * search.c (lookup_base_r): Don't clear is_non_public just because
jason [Thu, 28 Feb 2002 15:46:31 +0000 (15:46 +0000)]
    * search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

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

22 years ago * search.c (lookup_base_r): Don't clear is_non_public just because
jason [Thu, 28 Feb 2002 15:32:38 +0000 (15:32 +0000)]
    * search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

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

22 years ago * config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
marekm [Thu, 28 Feb 2002 15:23:54 +0000 (15:23 +0000)]
* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
which may overwrite the high byte of the frame pointer.

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

22 years ago2002-02-28 Bo Thorsen <bo@suse.de>
bo [Thu, 28 Feb 2002 15:16:17 +0000 (15:16 +0000)]
2002-02-28  Bo Thorsen  <bo@suse.de>

* config/i386/linux64.h (LINK_SPEC): Fix 32/64 bit compilation.
(STARTFILE_SPEC): Add 64 bit files.
(ENDFILE_SPEC): Likewise.

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

22 years ago * c-decl.c (finish_function): Only warn about missing return
jason [Thu, 28 Feb 2002 13:30:04 +0000 (13:30 +0000)]
    * c-decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.
        * cp/decl.c (finish_function): Only warn about missing return
        statement with -Wreturn-type.

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

22 years ago * expr.c (java_array_data_offset): Removed function.
bryce [Thu, 28 Feb 2002 11:40:29 +0000 (11:40 +0000)]
* expr.c (java_array_data_offset): Removed function.
(JAVA_ARRAY_LENGTH_OFFSET): Removed macro.
(build_java_array_length_access): Obtain "length" value using a
COMPONENT_REF, instead of INDIRECT_REF and arithmetic.
(build_java_arrayaccess): Correct comment. Access "data" using a
COMPONENT_REF, and return an ARRAY_REF instead of an INDIRECT_REF.
(build_java_arraystore_check): New function.
(expand_java_arraystore): Use build_java_arraystore_check.
* parse.y (patch_assignment): Simplify code to insert a store check
when lvalue is an ARRAY_REF. Use build_java_arraystore_check.
* check-init.c (check_init): Update to reflect that an array length
access is now a COMPONENT_REF.
* gcj.texi (Code Generation): Improve documentation of
-fno-bounds-check. Add documentation for -fno-store-check.
* java-tree.h (flag_store_check): Declare.
(build_java_arraystore_check): Declare.
* lang.c (flag_store_check): Initialize to 1.
(lang_f_options): Add store-check option.
* jvspec.c: Don't pass store-check option to jvgenmain.
* lang-options.h: Add help string for -fno-store-check.

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

22 years ago * cfgrtl.c (purge_dead_edges): Fix handling of EH edges.
hubicka [Thu, 28 Feb 2002 11:03:16 +0000 (11:03 +0000)]
* cfgrtl.c (purge_dead_edges): Fix handling of EH edges.

* i386.h (CONDITIONAL_REGISTER_USAGE): Do not write to
PIC_OFFSET_TABLE_REGNUM when it is INVALID_REGNUM

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

22 years ago * basic-block.h (BB_REACHABLE): Renumber.
hubicka [Thu, 28 Feb 2002 10:11:01 +0000 (10:11 +0000)]
* basic-block.h (BB_REACHABLE): Renumber.
(BB_DIRTY, BB_NEW): New flags.
(clear_bb_flags): Declare.
(update_life_info_in_dirty_blocks): Declare.
* cfg.c (clear_bb_flags): New function.
* cfgrtl.c (create_basic_block_structure): Set flags to BB_NEW.
* emit-rtl.c (add_insn_after, add_insn_before, remove_insn,
reorder_insns, emit_insn_after): Mark block as dirty.
* flow.c (update_life_info): Fix clearing of PROP_LOG_LINKS.
(update_life_info_in_dirty_blocks): New function.
* recog.c (apply_change_group): Dirtify block.

* cse.c (cse_insn): Reorder emitting of jump insn to keep
cfg consistent.
* gcse.c (delete_null_pointer_checks): Likewise.

* toplev.c (dump_file_index): Move cse2 after bp,
add DFI_null
(dump_file_info): Similary.
(rest_of_compilation): Avoid most of CFG rebuilds;
do first if converision after null pointer checks, do cse2
after branch prediction; avoid full liveness rebuild after
initializing subregs.
* invoke.texi (-d options): Document -du, renumber.

* cfgcleanup.c (bb_flags): Remove BB_UPDATE_LIFE.
(notice_new_block): Do not set BB_UPDATE_LIFE.
(try_forward_edges, merge_blocks_move_predecessor_nojumps,
 merge_blocks_move_successor_nojumps, merge_blocks,
 try_crossjump_to_edge): Likewise.
(try_optimize_cfg): Likewise; use update_life_info_in_dirty_blocks.
* cfgrtl.c (merge_blocks_nomove): Copy b's flags to a.
* ifcvt.c (SET_UPDATE_LIFE, UPDATE_LIFE): Kill.
(merge_of_block): Do not use life_data_ok.
(find_if_case_1): Do not use SET_UPDATE_LIFE.
(if_convert): Use BB_DIRTY mechanizm to update life.
* lcm.c (optimize_mode_switching): Update
update_life_info_in_dirty_blocks

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

22 years agoDaily bump.
gccadmin [Thu, 28 Feb 2002 08:17:15 +0000 (08:17 +0000)]
Daily bump.

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

22 years ago * Makefile.in (integrate.o): Update.
neil [Thu, 28 Feb 2002 07:39:44 +0000 (07:39 +0000)]
* Makefile.in (integrate.o): Update.
* c-decl.c (copy_lang_decl): Rename.
* c-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
* integrate.c: Include langhooks.h.
(copy_decl_for_inlining): Update to use langhook.
* langhooks-def.h (lhd_do_nothing_t,
LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.c (lhd_do_nothing_t): New.
* langhooks.h (struct lang_hooks): Add dup_lang_specific_decl.
* tree.h (copy_lang_decl): Remove.
ada:
* misc.c (copy_lang_decl): Remove.
cp:
* class.c (build_clone): Update.
* cp-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
* cp-tree.h (cxx_dup_lang_specific_decl): New.
* lex.c (copy_lang_decl): Rename cxx_dup_lang_specific_decl.
(copy_decl): Update.
* method.c (make_thunk): Update.
f:
* com.c (copy_lang_decl): Delete.
java:
* decl.c (copy_lang_decl): Rename java_dup_lang_specific_decl.
* java-tree.h (java_dup_lang_specific_decl): New.
* lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.
objc:
* objc-lang.c (LANG_HOOKS_DUP_LANG_SPECIFIC_DECL): Redefine.

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

22 years ago * dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
amacleod [Thu, 28 Feb 2002 03:09:41 +0000 (03:09 +0000)]
* dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
POST_DEC, and POST_MODIFY.

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

22 years ago2002-02-27 Adam Megacz <adam@xwt.org>
megacz [Thu, 28 Feb 2002 01:03:37 +0000 (01:03 +0000)]
2002-02-27  Adam Megacz <adam@xwt.org>

        * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
        '#undef STRICT'.

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

22 years ago * c-typeck.c (digest_init): Remove unused parameter; all
zack [Wed, 27 Feb 2002 22:14:59 +0000 (22:14 +0000)]
* c-typeck.c (digest_init): Remove unused parameter; all
callers changed.

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

22 years ago * gcc.c-torture/execute/20020227-1.c: New test.
hp [Wed, 27 Feb 2002 21:16:55 +0000 (21:16 +0000)]
* gcc.c-torture/execute/20020227-1.c: New test.

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

22 years ago * gcc.c-torture/execute/20020227-1.c: New test.
hp [Wed, 27 Feb 2002 21:11:19 +0000 (21:11 +0000)]
* gcc.c-torture/execute/20020227-1.c: New test.

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

22 years ago * g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
mmitchel [Wed, 27 Feb 2002 20:29:45 +0000 (20:29 +0000)]
* g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
here" ERROR lines.
* g++.old-deja/g++.oliva/partord1.C: Likewise.
* g++.old-deja.g++.other/defarg1.C: Likewise.
* g++.old-deja/g++.pt/calls2.C: Likewise.
* g++.old-deja/g++.pt/crash20.C: Likewise.
* g++.old-deja/g++.pt/crash30.C: Likewise.
* g++.old-deja/g++.pt/crash36.C: Likewise.
* g++.old-deja/g++.pt/crash6.C: Likewise.
* g++.old-deja/g++.pt/defarg13.C: Likewise.
* g++.old-deja/g++.pt/derived3.C: Likewise.
* g++.old-deja/g++.pt/error1.C: Likewise.
* g++.old-deja/g++.pt/friend21.C: Likewise.
* g++.old-deja/g++.pt/friend23.C: Likewise.
* g++.old-deja/g++.pt/infinite1.C: Likewise.
* g++.old-deja/g++.robertl/eb128.C: Likewise.

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

22 years agoIndex: ChangeLog
geoffk [Wed, 27 Feb 2002 20:27:38 +0000 (20:27 +0000)]
Index: ChangeLog

* expmed.c (expand_shift): Correctly test for low part of a
subreg.

Index: testsuite/ChangeLog

* gcc.c-torture/execute/20020225-2.c: New test.

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

22 years ago * config/s390/s390.c (s390_chunkify_pool): Do not confuse
uweigand [Wed, 27 Feb 2002 20:20:54 +0000 (20:20 +0000)]
* config/s390/s390.c (s390_chunkify_pool): Do not confuse
insn UIDs with insn addresses.

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

22 years ago2002-02-27 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 27 Feb 2002 19:54:32 +0000 (19:54 +0000)]
2002-02-27  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/ios_manip_basefield.cc (test01):
Fix for 64 bit machines.

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

22 years ago * c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
zack [Wed, 27 Feb 2002 18:48:07 +0000 (18:48 +0000)]
* c-common.c, c-common.h, c-decl.c, c-lex.c, c-parse.in,
c-tree.h, c-typeck.c, cppexp.c, cpplex.c, cpplib.c, cpplib.h,
cppmacro.c, objc/lang-specs.h, objc/objc-act.c,
builtin-types.def, builtins.def, dwarf2out.c, dwarfout.c,
gcc.c, toplev.c: Delete code implementing -traditional mode.

* ada/misc.c, ch/ch-tree.h, ch/decl.c, cp/decl2.c, f/com.c,
f/lex.c, f/top.c, java/builtins.c, java/decl.c: Delete
traditional-mode-related code copied from the C front end
but not used, or used only to permit the compiler to link.

* doc/bugreport.texi, doc/cpp.texi, doc/extend.texi,
doc/invoke.texi, doc/standards.texi, doc/trouble.texi:
Document removal of -traditional mode for compilation, and
remove documentation only relevant to that mode.

* config/nextstep.h, config/ptx4.h, config/svr4.h,
config/convex/convex.h, config/d30v/d30v.h,
config/i386/dgux.h, config/i386/osf1elf.h,
config/i386/osfelf.h, config/i386/osfrose.h,
config/i386/sco5.h, config/i386/sol2.h, config/m68k/a-ux.h,
config/m68k/hp310.h, config/m88k/dgux.h,
config/m88k/dguxbcs.h, config/m88k/luna.h, config/m88k/m88k.c,
config/m88k/m88k.h, config/m88k/openbsd.h,
config/mips/abi64.h, config/mips/osfrose.h,
config/mips/svr4-5.h, config/mips/svr4-t.h,
config/sparc/sol2-sld-64.h, config/sparc/sol2.h,
config/stormy16/stormy16.h: Remove all references to
-traditional from target specs.  Delete all mention of the
no-longer-necessary TRADITIONAL_RETURN_FLOAT macro.  Also
delete a couple of commented-out definitions of
DOLLARS_IN_IDENTIFIERS, with (incorrect) commentary referring
to -traditional.

* system.h: Poison TRADITIONAL_RETURN_FLOAT.
* doc/tm.texi: Remove mention of TRADITIONAL_RETURN_FLOAT macro.

* testsuite/gcc.c-torture/execute/920730-1t.c,
testsuite/gcc.c-torture/execute/920730-1t.x,
testsuite/gcc.dg/ext-glob.c: Delete test cases, only relevant
to -traditional.

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

22 years ago * mklibgcc.in: Don't use \n in a line subject to
zack [Wed, 27 Feb 2002 18:40:15 +0000 (18:40 +0000)]
* mklibgcc.in: Don't use \n in a line subject to
interpretation by echo.

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

22 years ago * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
grahams [Wed, 27 Feb 2002 15:08:07 +0000 (15:08 +0000)]
    * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
        Constify NAME.

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

22 years ago * loop.c (prescan_loop): Handle PARALLEL.
grahams [Wed, 27 Feb 2002 15:03:05 +0000 (15:03 +0000)]
    * loop.c (prescan_loop): Handle PARALLEL.

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

22 years ago * unroll.c (loop_iterations): Return 0 if the add_val for
grahams [Wed, 27 Feb 2002 15:01:10 +0000 (15:01 +0000)]
    * unroll.c (loop_iterations): Return 0 if the add_val for
        a BIV is REG.

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

22 years ago * final.c (output_operand_lossage): Constify PFX_STR.
grahams [Wed, 27 Feb 2002 13:53:50 +0000 (13:53 +0000)]
    * final.c (output_operand_lossage): Constify PFX_STR.

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

22 years ago * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.
grahams [Wed, 27 Feb 2002 13:50:57 +0000 (13:50 +0000)]
    * df.c (df_insn_refs_record): Use XEXP (x, 0) for USE.

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

22 years agoWed Feb 27 10:45:19 CET 2002 Jan Hubicka <jh@suse.cz>
hubicka [Wed, 27 Feb 2002 09:47:27 +0000 (09:47 +0000)]
Wed Feb 27 10:45:19 CET 2002  Jan Hubicka  <jh@suse.cz>

* linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
* x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Allways define.

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

22 years ago * linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
hubicka [Wed, 27 Feb 2002 09:40:32 +0000 (09:40 +0000)]
* linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.

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

22 years agoDaily bump.
gccadmin [Wed, 27 Feb 2002 08:19:19 +0000 (08:19 +0000)]
Daily bump.

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

22 years ago * cpplex.c (_cpp_lex_token): Handle directives in macro
neil [Wed, 27 Feb 2002 07:24:53 +0000 (07:24 +0000)]
* cpplex.c (_cpp_lex_token): Handle directives in macro
arguments.
* cpplib.c (_cpp_handle_directive): Save and restore state
if parsing macro args when entering a directive.
* cppmacro.c (collect_args): No need to handle directives
in macro arguments.
(enter_macro_context, replace_args): Use the original macro
definition in case it was redefined whilst collecting arguments.
doc:
* cpp.texi: Update.
testsuite:
* gcc.dg/cpp/undef1.c: Remove.
* gcc.dg/cpp/directiv.c: Update.
* gcc.dg/cpp/mac-dir-1.c, mac-dir-2.c: New tests.

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

22 years ago2002-02-26 David Edelsohn <edelsohn@gnu.org>
dje [Wed, 27 Feb 2002 05:42:20 +0000 (05:42 +0000)]
2002-02-26  David Edelsohn  <edelsohn@gnu.org>

        * config/rs6000/aix43.h (THREAD_MODEL_SPEC): Delete.
        * config/rs6000/aix51.h (THREAD_MODEL_SPEC): Delete.
        * config/rs6000/rs6000.c (rs6000_return_addr): Use efficient
        method on AIX.
        * config/rs6000/rs6000.md (movsi_low): Use gpc_reg_operand.
        (movsi_low_st, movdf_low, movdf_low_st, movsf_low, movsf_low_st): Same.
        (load_toc_v4_PIC_2): Same.

2002-02-26  Alan Modra  <amodra@bigpond.net.au>

        * config/rs6000/rs6000.md (load_toc_aix_di): Handle TARGET_RELOCATABLE.

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

22 years ago * java/lang/natSystem.cc (init_properties): Use __VERSION__.
tromey [Wed, 27 Feb 2002 05:32:29 +0000 (05:32 +0000)]
* java/lang/natSystem.cc (init_properties): Use __VERSION__.
* gij.cc (version): Use __VERSION__.
* include/config.h.in: Rebuilt.
* acconfig.h (GCJVERSION): Removed.
* configure: Rebuilt.
* configure.in (GCJVERSION): Removed.

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

22 years agoAdd 20020226-1.c to test rotate patterns
meissner [Wed, 27 Feb 2002 05:28:58 +0000 (05:28 +0000)]
Add 20020226-1.c to test rotate patterns

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

22 years ago2002-02-26 Andreas Schwab <schwab@suse.de>
bryce [Wed, 27 Feb 2002 02:18:09 +0000 (02:18 +0000)]
2002-02-26  Andreas Schwab  <schwab@suse.de>

* acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
glibcpp_CXX, since libjava uses even another CXX.
* aclocal.m4, configure: Regenerated.

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

22 years ago * config/alpha/alpha.md (ashldi_se): Re-enable.
rth [Wed, 27 Feb 2002 01:52:18 +0000 (01:52 +0000)]
    * config/alpha/alpha.md (ashldi_se): Re-enable.

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

22 years ago * config/alpha/alpha.c (alpha_encode_section_info): Examine
rth [Wed, 27 Feb 2002 01:48:57 +0000 (01:48 +0000)]
    * config/alpha/alpha.c (alpha_encode_section_info): Examine
        MODULE_LOCAL_P; improve commentary.

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

22 years ago * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
tromey [Wed, 27 Feb 2002 01:39:30 +0000 (01:39 +0000)]
* java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
`1'.

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