gcc.git
22 years agotoplev.c (rest_of_compilation): Cleanup CFG after dead jumptables removal
Jan Hubicka [Mon, 4 Mar 2002 14:37:45 +0000 (15:37 +0100)]
toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables removal

* toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
removal

From-SVN: r50277

22 years agoDaily bump.
GCC Administrator [Mon, 4 Mar 2002 08:17:49 +0000 (08:17 +0000)]
Daily bump.

From-SVN: r50276

22 years agoRemove cvs junk
Bryce McKinlay [Mon, 4 Mar 2002 01:01:08 +0000 (01:01 +0000)]
Remove cvs junk

From-SVN: r50271

22 years agoMakefile.am: Use -bootclasspath, not -CLASSPATH.
Bryce McKinlay [Mon, 4 Mar 2002 01:00:16 +0000 (01:00 +0000)]
Makefile.am: Use -bootclasspath, not -CLASSPATH.

* Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.in: Rebuilt.

From-SVN: r50270

22 years agoconfig.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
Aldy Hernandez [Mon, 4 Mar 2002 00:30:25 +0000 (00:30 +0000)]
config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.

2002-03-03  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
        (powerpc-*-eabisimaltivec*): Same.

        * config/rs6000/t-ppcendian: New.

From-SVN: r50268

22 years agoc4x-protos.h, [...]: Add new functions nonimmediate_src_operand and nonimmediate_lsrc...
Herman A.J. ten Brugge [Sun, 3 Mar 2002 23:05:33 +0000 (00:05 +0100)]
c4x-protos.h, [...]: Add new functions nonimmediate_src_operand and nonimmediate_lsrc_operand to...

* c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
nonimmediate_src_operand and nonimmediate_lsrc_operand to
disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.

From-SVN: r50266

22 years ago* xmalloc.c (xmalloc_fail): Clarify error message.
Neil Booth [Sun, 3 Mar 2002 21:57:57 +0000 (21:57 +0000)]
* xmalloc.c (xmalloc_fail): Clarify error message.

From-SVN: r50265

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

From-SVN: r50264

22 years agoemit-rtl.c, [...]: Remove all #ifndef REAL_ARITHMETIC blocks...
Zack Weinberg [Sun, 3 Mar 2002 21:10:09 +0000 (21:10 +0000)]
emit-rtl.c, [...]: Remove all #ifndef REAL_ARITHMETIC blocks...

* 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.

From-SVN: r50263

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

From-SVN: r50262

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

From-SVN: r50260

22 years agostd_sstream.h: Remove trailing spaces.
Phil Edwards [Sun, 3 Mar 2002 17:48:42 +0000 (17:48 +0000)]
std_sstream.h: Remove trailing spaces.

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.

From-SVN: r50258

22 years ago1750a.h, [...] (BITS_PER_WORD): Delete.
Kaveh R. Ghazi [Sun, 3 Mar 2002 15:40:44 +0000 (15:40 +0000)]
1750a.h, [...] (BITS_PER_WORD): Delete.

* 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.

From-SVN: r50257

22 years ago1750a.h, [...] (CHAR_TYPE_SIZE): Delete.
Kaveh R. Ghazi [Sun, 3 Mar 2002 15:37:32 +0000 (15:37 +0000)]
1750a.h, [...] (CHAR_TYPE_SIZE): Delete.

* 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.

From-SVN: r50256

22 years agoattribs.c (init_attributes, [...]): Use ARRAY_SIZE in lieu of explicit sizeof/sizeof.
Kaveh R. Ghazi [Sun, 3 Mar 2002 14:07:39 +0000 (14:07 +0000)]
attribs.c (init_attributes, [...]): Use ARRAY_SIZE in lieu of explicit sizeof/sizeof.

* 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.

From-SVN: r50255

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

From-SVN: r50254

22 years agotoplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl for types or labels.
Richard Henderson [Sun, 3 Mar 2002 09:11:38 +0000 (01:11 -0800)]
toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl for types or labels.

        * toplev.c (rest_of_decl_compilation): Do not invoke make_decl_rtl
        for types or labels.

From-SVN: r50253

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

From-SVN: r50252

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

From-SVN: r50250

22 years agoMake --CLASSPATH by a synonym for --classpath and -classpath.
Per Bothner [Sun, 3 Mar 2002 08:35:11 +0000 (00:35 -0800)]
Make --CLASSPATH by a synonym for --classpath and -classpath.

Implement --bootclasspath.

From-SVN: r50247

22 years agogcc.c (option_map): Suport new --bootclasspath option.
Per Bothner [Sun, 3 Mar 2002 08:33:59 +0000 (00:33 -0800)]
gcc.c (option_map): Suport new --bootclasspath option.

* gcc.c (option_map):  Suport new --bootclasspath option.
--CLASSPATH is now just an alias for --classpath.

From-SVN: r50246

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

From-SVN: r50245

22 years ago20020103-1.c: Add othe -D ppc variants.
Aldy Hernandez [Sun, 3 Mar 2002 06:41:07 +0000 (06:41 +0000)]
20020103-1.c: Add othe -D ppc variants.

2002-03-03  Aldy Hernandez  <aldyh@redhat.com>

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

From-SVN: r50241

22 years agoi386.h (ix86_expand_prologue): Do not emit pic register load if "internal" visibility.
Richard Henderson [Sun, 3 Mar 2002 05:20:04 +0000 (21:20 -0800)]
i386.h (ix86_expand_prologue): Do not emit pic register load if "internal" visibility.

        * config/i386/i386.h (ix86_expand_prologue): Do not emit pic register
        load if "internal" visibility.
        * doc/extend.texi: Document visibility meanings.

From-SVN: r50240

22 years agoi386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies to functions as well.
Richard Henderson [Sun, 3 Mar 2002 04:57:02 +0000 (20:57 -0800)]
i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies to functions as well.

        * config/i386/i386.h (ENCODE_SECTION_INFO): MODULE_LOCAL_P applies
        to functions as well.

From-SVN: r50239

22 years agoRevert bogus commit.
Richard Henderson [Sun, 3 Mar 2002 04:51:15 +0000 (20:51 -0800)]
Revert bogus commit.

From-SVN: r50238

22 years agoattribs.c (handle_alias_attribute): Don't call assemble_alias.
Richard Henderson [Sun, 3 Mar 2002 04:50:53 +0000 (20:50 -0800)]
attribs.c (handle_alias_attribute): Don't call assemble_alias.

        * 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.

From-SVN: r50237

22 years agovarasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; invoke ENCODE_SECTION_I...
Richard Henderson [Sun, 3 Mar 2002 04:23:21 +0000 (20:23 -0800)]
varasm.c (make_decl_rtl): Remove call to REDO_SECTION_INFO_P; invoke ENCODE_SECTION_INFO with first call flag.

* 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.

From-SVN: r50236

22 years agoa29k.h, [...]: (BITS_PER_UNIT): Delete.
Kaveh R. Ghazi [Sun, 3 Mar 2002 02:27:42 +0000 (02:27 +0000)]
a29k.h, [...]: (BITS_PER_UNIT): Delete.

* 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.

From-SVN: r50235

22 years agonum_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).
Paolo Carlini [Sat, 2 Mar 2002 21:32:56 +0000 (22:32 +0100)]
num_get_members_char.cc (test04): Use a named locale expecting grouping (de_DE).

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.

From-SVN: r50234

22 years agore PR c++/775 (2.97 error declaring nested class a friend)
Nathan Sidwell [Sat, 2 Mar 2002 19:51:57 +0000 (19:51 +0000)]
re PR c++/775 (2.97 error declaring nested class a friend)

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.

From-SVN: r50230

22 years agoFix for PR java/5758, java/5632:
Alexandre Petit-Bianco [Sat, 2 Mar 2002 17:58:05 +0000 (09:58 -0800)]
Fix for PR java/5758, java/5632:

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.

From-SVN: r50228

22 years agoh8300-protos.h: Add a prototype for compute_a_shift_length.
Kazu Hirata [Sat, 2 Mar 2002 17:20:01 +0000 (17:20 +0000)]
h8300-protos.h: Add a prototype for compute_a_shift_length.

* 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.

From-SVN: r50227

22 years agosparc.c (sparc_initialize_trampoline): Use trunc_int_for_mode.
Richard Kenner [Sat, 2 Mar 2002 13:53:38 +0000 (13:53 +0000)]
sparc.c (sparc_initialize_trampoline): Use trunc_int_for_mode.

* config/sparc/sparc.c (sparc_initialize_trampoline): Use
trunc_int_for_mode.

From-SVN: r50226

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

From-SVN: r50223

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

From-SVN: r50222

22 years agoMakefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.
Kaveh R. Ghazi [Sat, 2 Mar 2002 03:52:17 +0000 (03:52 +0000)]
Makefile.in (CRTSTUFF_CFLAGS): Add -fno-zero-initialized-in-bss.

* 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.

From-SVN: r50218

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

* config/rs6000/rs6000.h (ASM_WEAKEN_DECL): AIX assembler doesn't
like more than one symbol per .weak directive.

From-SVN: r50217

22 years agoia64.c (ia64_initial_elimination_offset): Do not adjust argument_pointer by pretend_a...
Richard Henderson [Fri, 1 Mar 2002 23:56:33 +0000 (15:56 -0800)]
ia64.c (ia64_initial_elimination_offset): Do not adjust argument_pointer by pretend_args_size.

        * 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.

From-SVN: r50212

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

From-SVN: r50207

22 years agotoplev.c (rest_of_compilation): Delete dead jumptables before loop.
Jan Hubicka [Fri, 1 Mar 2002 20:07:01 +0000 (21:07 +0100)]
toplev.c (rest_of_compilation): Delete dead jumptables before loop.

* toplev.c (rest_of_compilation): Delete dead jumptables before
loop.
* flow.c (delete_dead_jumptables): Make global.
* rtl.h (delete_dead_jumptables): Declare.

From-SVN: r50205

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

From-SVN: r50204

22 years ago981223-1.x: New.
Richard Henderson [Fri, 1 Mar 2002 18:39:21 +0000 (10:39 -0800)]
981223-1.x: New.

        * gcc.c-torture/compile/981223-1.x: New.
        * gcc.c-torture/compile/920625-1.x: New.

From-SVN: r50202

22 years agors6000.h (HANDLE_PRAGMA_PACK): Delete.
David Edelsohn [Fri, 1 Mar 2002 17:33:21 +0000 (17:33 +0000)]
rs6000.h (HANDLE_PRAGMA_PACK): Delete.

        * config/rs6000/rs6000.h (HANDLE_PRAGMA_PACK): Delete.
        * config/rs6000/darwin.h (HANDLE_SYSV_PRAGMA): Define.
        * config/rs6000/xcoff.h (COLLET_EXPORT_LIST): Delete.

From-SVN: r50200

22 years agotypeck.c (cp_pointer_int_sum): Complete inner type which is used later by size_in_byt...
Michael Matz [Fri, 1 Mar 2002 13:50:28 +0000 (13:50 +0000)]
typeck.c (cp_pointer_int_sum): Complete inner type which is used later by size_in_bytes().

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().

From-SVN: r50197

22 years agoOops. A ChangeLog entry got committed prematurely with my last change.
Anthony 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.

From-SVN: r50196

22 years agoh8300-protos.h: Fix formatting.
Kazu Hirata [Fri, 1 Mar 2002 09:14:08 +0000 (09:14 +0000)]
h8300-protos.h: Fix formatting.

* config/h8300/h8300-protos.h: Fix formatting.
* config/h8300/h8300.c: Likewise.
* config/h8300/h8300.h: Likewise.

From-SVN: r50192

22 years agoh8300.c (print_operand): Support 16-bit constant addresses.
Kazu Hirata [Fri, 1 Mar 2002 08:57:14 +0000 (08:57 +0000)]
h8300.c (print_operand): Support 16-bit constant addresses.

* config/h8300/h8300.c (print_operand): Support 16-bit
constant addresses.
* config/h8300/h8300.h (TINY_CONSTANT_ADDRESS_P): New.

From-SVN: r50191

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

From-SVN: r50190

22 years agoexpmed.c (store_bit_field): Prevent generation of CONCATs...
Richard Henderson [Fri, 1 Mar 2002 08:13:04 +0000 (00:13 -0800)]
expmed.c (store_bit_field): Prevent generation of CONCATs...

        * 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.

From-SVN: r50185

22 years agocp-tree.h: Require __GNUC__ to be #defined.
Phil Edwards [Fri, 1 Mar 2002 07:19:29 +0000 (07:19 +0000)]
cp-tree.h: Require __GNUC__ to be #defined.

2002-03-01  Phil Edwards  <pme@gcc.gnu.org>

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

From-SVN: r50183

22 years agotm.texi (ASM_WEAKEN_DECL): Document.
Alan Modra [Fri, 1 Mar 2002 06:00:38 +0000 (06:00 +0000)]
tm.texi (ASM_WEAKEN_DECL): Document.

* 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.

Co-Authored-By: David Edelsohn <edelsohn@gnu.org>
From-SVN: r50181

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

From-SVN: r50180

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

From-SVN: r50179

22 years agotree.h (TARGET_EXPR_SLOT, [...]): New macros.
Jason Merrill [Fri, 1 Mar 2002 01:49:00 +0000 (20:49 -0500)]
tree.h (TARGET_EXPR_SLOT, [...]): New macros.

        * 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.

From-SVN: r50177

22 years agolinker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.
Richard Henderson [Fri, 1 Mar 2002 01:27:57 +0000 (17:27 -0800)]
linker-map.gnu: Export operator new with unsigned long, and with std::nothrow_t.

        * config/linker-map.gnu: Export operator new with unsigned long,
        and with std::nothrow_t.  Likewise operator delete.

From-SVN: r50176

22 years agortl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition to take ptr_extend into...
Steve Ellcey [Fri, 1 Mar 2002 01:19:52 +0000 (01:19 +0000)]
rtl.texi (SUBREG_PROMOTED_UNSIGNED_P): Change definition to take ptr_extend into account as third type of extension.

        * 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.

From-SVN: r50174

22 years agogcc.c (init_gcc_specs): Get -static and -static-libgcc to override -shared and -share...
Alexandre Oliva [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.

* gcc.c (init_gcc_specs): Get -static and -static-libgcc to
override -shared and -shared-libgcc.

From-SVN: r50171

22 years agoconfigure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.
Alexandre Oliva [Fri, 1 Mar 2002 00:49:53 +0000 (00:49 +0000)]
configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for libjava.

* configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
libjava.
(CXX_FOR_TARGET): Explain why -shared-libgcc here.

From-SVN: r50169

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

From-SVN: r50167

22 years agoconfig.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".
David O'Brien [Thu, 28 Feb 2002 23:06:25 +0000 (23:06 +0000)]
config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc".

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>

From-SVN: r50165

22 years agolocale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecima...
Paolo Carlini [Thu, 28 Feb 2002 21:16:45 +0000 (22:16 +0100)]
locale_facets.tcc (num_get::_M_extract_int): Admit grouping for octals and hexadecimals too.

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.

From-SVN: r50162

22 years agoia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.
Richard Henderson [Thu, 28 Feb 2002 19:48:40 +0000 (11:48 -0800)]
ia64.c (ia64_adjust_cost): All non-MM consumers have 4 cycle latency from MM producers.

        * 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.

From-SVN: r50160

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

From-SVN: r50156

22 years agoc-parse.in (STATIC): New terminal.
Neil Booth [Thu, 28 Feb 2002 18:51:14 +0000 (18:51 +0000)]
c-parse.in (STATIC): New terminal.

* 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.

From-SVN: r50155

22 years agocpplex.c (cpp_parse_escape): Restore mistakenly-removed code: \a still means TARGET_BELL.
Jim Meyering [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.

* cpplex.c (cpp_parse_escape): Restore mistakenly-removed code:
\a still means TARGET_BELL.

From-SVN: r50154

22 years agohaifa-sched.c (sched_emit_insn): New.
Richard Henderson [Thu, 28 Feb 2002 18:32:12 +0000 (10:32 -0800)]
haifa-sched.c (sched_emit_insn): New.

        * 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.

From-SVN: r50153

22 years agosparc.c (sparc64_initialize_trampoline): Generate sign extended constants.
Andrew MacLeod [Thu, 28 Feb 2002 18:31:00 +0000 (18:31 +0000)]
sparc.c (sparc64_initialize_trampoline): Generate sign extended constants.

* config/sparc/sparc.c (sparc64_initialize_trampoline): Generate sign
extended constants.

From-SVN: r50152

22 years agoh8300.c: Fix formatting.
Kazu Hirata [Thu, 28 Feb 2002 18:13:06 +0000 (18:13 +0000)]
h8300.c: Fix formatting.

* config/h8300/h8300.c: Fix formatting.
* config/h8300/h8300.h: Likewise.

From-SVN: r50150

22 years agosearch.c (lookup_base_r): Don't clear is_non_public just because we found a friendly...
Jason Merrill [Thu, 28 Feb 2002 15:46:31 +0000 (10:46 -0500)]
search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.

        * search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

From-SVN: r50143

22 years agosearch.c (lookup_base_r): Don't clear is_non_public just because we found a friendly...
Jason Merrill [Thu, 28 Feb 2002 15:32:38 +0000 (10:32 -0500)]
search.c (lookup_base_r): Don't clear is_non_public just because we found a friendly scope.

        * search.c (lookup_base_r): Don't clear is_non_public just because
        we found a friendly scope.

From-SVN: r50140

22 years agoavr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte...
Marek Michalkiewicz [Thu, 28 Feb 2002 15:23:54 +0000 (16:23 +0100)]
avr.c (avr_hard_regno_mode_ok): Do not allow r29 which may overwrite the high byte of the frame pointer.

* config/avr/avr.c (avr_hard_regno_mode_ok): Do not allow r29
which may overwrite the high byte of the frame pointer.

From-SVN: r50138

22 years agolinux64.h (LINK_SPEC): Fix 32/64 bit compilation.
Bo Thorsen [Thu, 28 Feb 2002 15:16:17 +0000 (15:16 +0000)]
linux64.h (LINK_SPEC): Fix 32/64 bit compilation.

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.

From-SVN: r50137

22 years agoc-decl.c (finish_function): Only warn about missing return statement with -Wreturn...
Jason Merrill [Thu, 28 Feb 2002 13:30:04 +0000 (08:30 -0500)]
c-decl.c (finish_function): Only warn about missing return statement with -Wreturn-type.

        * 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.

From-SVN: r50132

22 years agoexpr.c (java_array_data_offset): Removed function.
Bryce McKinlay [Thu, 28 Feb 2002 11:40:29 +0000 (11:40 +0000)]
expr.c (java_array_data_offset): Removed function.

* 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.

From-SVN: r50129

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

* 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

From-SVN: r50128

22 years agobasic-block.h (BB_REACHABLE): Renumber.
Jan Hubicka [Thu, 28 Feb 2002 10:11:01 +0000 (10:11 +0000)]
basic-block.h (BB_REACHABLE): Renumber.

* 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

From-SVN: r50127

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

From-SVN: r50126

22 years agoMakefile.in (integrate.o): Update.
Neil Booth [Thu, 28 Feb 2002 07:39:44 +0000 (07:39 +0000)]
Makefile.in (integrate.o): Update.

* 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.

From-SVN: r50122

22 years agodwarf2out.c (stack_adjust_offset): Add support for POST_INC, POST_DEC, and POST_MODIFY.
Andrew MacLeod [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.

* dwarf2out.c (stack_adjust_offset): Add support for POST_INC,
POST_DEC, and POST_MODIFY.

From-SVN: r50121

22 years agonatInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.
Adam Megacz [Thu, 28 Feb 2002 01:03:37 +0000 (01:03 +0000)]
natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.

2002-02-27  Adam Megacz <adam@xwt.org>

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

From-SVN: r50120

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

* c-typeck.c (digest_init): Remove unused parameter; all
callers changed.

From-SVN: r50118

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

From-SVN: r50117

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

From-SVN: r50116

22 years agovisibility13.C: Remove "instantiated from here" ERROR lines.
Mark Mitchell [Wed, 27 Feb 2002 20:29:45 +0000 (20:29 +0000)]
visibility13.C: Remove "instantiated from here" ERROR lines.

* 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.

From-SVN: r50115

22 years agoIndex: ChangeLog
Geoffrey Keating [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.

From-SVN: r50114

22 years agos390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses.
Ulrich Weigand [Wed, 27 Feb 2002 20:20:54 +0000 (20:20 +0000)]
s390.c (s390_chunkify_pool): Do not confuse insn UIDs with insn addresses.

* config/s390/s390.c (s390_chunkify_pool): Do not confuse
insn UIDs with insn addresses.

From-SVN: r50112

22 years agoios_manip_basefield.cc (test01): Fix for 64 bit machines.
Paolo Carlini [Wed, 27 Feb 2002 19:54:32 +0000 (20:54 +0100)]
ios_manip_basefield.cc (test01): Fix for 64 bit machines.

2002-02-27  Paolo Carlini  <pcarlini@unitus.it>

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

From-SVN: r50111

22 years agoc-common.c, [...]: Delete code implementing -traditional mode.
Zack Weinberg [Wed, 27 Feb 2002 18:48:07 +0000 (18:48 +0000)]
c-common.c, [...]: Delete code implementing -traditional mode.

* 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.

From-SVN: r50110

22 years agomklibgcc.in: Don't use \n in a line subject to interpretation by echo.
Zack Weinberg [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.

* mklibgcc.in: Don't use \n in a line subject to
interpretation by echo.

From-SVN: r50109

22 years agors6000.h (ASM_OUTPUT_DEF_FROM_DELC): Constify NAME.
Graham Stott [Wed, 27 Feb 2002 15:08:07 +0000 (15:08 +0000)]
rs6000.h (ASM_OUTPUT_DEF_FROM_DELC): Constify NAME.

        * config/rs6000/rs6000.h (ASM_OUTPUT_DEF_FROM_DELC):
        Constify NAME.

From-SVN: r50102

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

From-SVN: r50101

22 years agounroll.c (loop_iterations): Return 0 if the add_val for a BIV is REG.
Graham Stott [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.

        * unroll.c (loop_iterations): Return 0 if the add_val for
        a BIV is REG.

From-SVN: r50100

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

From-SVN: r50099

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

From-SVN: r50098

22 years agolinux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.
Jan Hubicka [Wed, 27 Feb 2002 09:47:27 +0000 (10:47 +0100)]
linux64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Remove.

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.

From-SVN: r50097

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

From-SVN: r50096

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

From-SVN: r50095

22 years agocpplex.c (_cpp_lex_token): Handle directives in macro arguments.
Neil Booth [Wed, 27 Feb 2002 07:24:53 +0000 (07:24 +0000)]
cpplex.c (_cpp_lex_token): Handle directives in macro arguments.

* 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.

From-SVN: r50091

22 years ago[multiple changes]
David Edelsohn [Wed, 27 Feb 2002 05:42:20 +0000 (00:42 -0500)]
[multiple changes]

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.

From-SVN: r50090