John David Anglin [Sun, 22 Sep 2002 18:59:08 +0000 (18:59 +0000)]
20020219-1.c: Add "-mdisable-indexing" option for target hppa*-*-hpux*.
* gcc.dg/
20020219-1.c: Add "-mdisable-indexing" option for target
hppa*-*-hpux*. Update test comment.
From-SVN: r57415
Richard Henderson [Sun, 22 Sep 2002 18:37:51 +0000 (11:37 -0700)]
std_limits.h (__glibcpp_integral_traps): New.
* include/std/std_limits.h (__glibcpp_integral_traps): New.
(__glibcpp_char_traps, __glibcpp_short_traps, __glibcpp_int_traps,
__glibcpp_long_traps, __glibcpp_wchar_t_traps,
__glibcpp_long_long_traps, __glibcpp_plain_char_traps,
__glibcpp_signed_char_traps, __glibcpp_unsigned_char_traps,
__glibcpp_signed_short_traps, __glibcpp_unsigned_short_traps,
__glibcpp_signed_int_traps, __glibcpp_unsigned_int_traps,
__glibcpp_signed_long_traps, __glibcpp_unsigned_long_traps,
__glibcpp_signed_long_long_traps, __glibcpp_unsigned_long_long_traps,
__glibcpp_char_is_modulo, __glibcpp_signed_char_is_modulo,
__glibcpp_signed_short_is_modulo, __glibcpp_signed_int_is_modulo,
__glibcpp_signed_long_is_modulo, __glibcpp_signed_long_long_is_modulo,
__glibcpp_wchar_t_is_modulo, __glibcpp_float_is_bounded,
__glibcpp_double_is_bounded, __glibcpp_long_double_is_bounded): Kill.
(numeric_limits<T>::traps, T integral): Use __glibcpp_integral_traps.
(numeric_limits<T>::is_modulo, T integral): Use true.
(numeric_limits<T>::is_bounded, T floating): Use true.
From-SVN: r57414
Richard Henderson [Sun, 22 Sep 2002 18:36:38 +0000 (11:36 -0700)]
std_limits.h (__glibcpp_f32_is_iec559, [...]): Remove.
* include/std/std_limits.h (__glibcpp_f32_is_iec559,
__glibcpp_f64_is_iec559, __glibcpp_f80_is_iec559,
__glibcpp_f96_is_iec559, __glibcpp_f128_is_iec559,
__glibcpp_float_is_iec559, __glibcpp_double_is_iec559,
__glibcpp_long_double_is_iec559): Remove.
(numeric_limits<float>::is_iec559): Use has_infinity & has_quiet_NaN.
(numeric_limits<double>, numeric_limits<long double>): Similarly.
From-SVN: r57413
Richard Henderson [Sun, 22 Sep 2002 18:35:24 +0000 (11:35 -0700)]
std_limits.h (__glibcpp_f32_round_error, [...]): Kill.
* include/std/std_limits.h (__glibcpp_f32_round_error,
__glibcpp_f64_round_error, __glibcpp_f80_round_error,
__glibcpp_f96_round_error, __glibcpp_f128_round_error,
__glibcpp_float_round_error, __glibcpp_double_round_error,
__glibcpp_long_double_round_error, __glibcpp_float_round_style,
__glibcpp_double_round_style, __glibcpp_long_double_round_style): Kill.
(numeric_limits<char>::epsilon, round_error): Use constant 0.
(numeric_limits<float>::round_error): Use constant 0.5.
(numeric_limits<float>::round_style): Use round_to_nearest.
(numeric_limits<double>, numeric_limits<long double>): Similarly.
From-SVN: r57412
Jason Thorpe [Sun, 22 Sep 2002 17:57:10 +0000 (17:57 +0000)]
configure.in (with_headers): Skip copy if value is "yes".
* configure.in (with_headers): Skip copy if value is "yes".
(with_libs): Likewise.
* doc/install.texi: Document behavior of --with-headers and
--with-libs when arguments are omitted.
From-SVN: r57411
Kazu Hirata [Sun, 22 Sep 2002 14:09:34 +0000 (14:09 +0000)]
dbxout.c: Follow spelling conventions.
* dbxout.c: Follow spelling conventions.
* defaults.h: Likewise.
* df.c: Likewise.
* diagnostic.h: Likewise.
* doloop.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expmed.c: Likewise.
* expr.c: Likewise.
* expr.h: Likewise.
* flags.h: Likewise.
* flow.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* function.h: Likewise.
* gcc.c: Likewise.
* gcov-io.h: Likewise.
* gcov.c: Likewise.
* gcse.c: Likewise.
* genattrtab.c: Likewise.
* genconfig.c: Likewise.
* genrecog.c: Likewise.
* ggc-page.c: Likewise.
* ggc.h: Likewise.
* global.c: Likewise.
* gthr-win32.h: Likewise.
* integrate.c: Likewise.
* jump.c: Likewise.
* langhooks.c: Likewise.
* langhooks.h: Likewise.
* line-map.h: Likewise.
* local-alloc.c: Likewise.
* longlong.h: Likewise.
* loop.c: Likewise.
* loop.h: Likewise.
From-SVN: r57406
GCC Administrator [Sun, 22 Sep 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57405
Jan Hubicka [Sun, 22 Sep 2002 03:15:38 +0000 (05:15 +0200)]
i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
* i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64.
* i386.c (overwrite_options): Set -mpreferred-stack-boundary to 128
for -Os/TARGET_64BIT too.
From-SVN: r57399
Kazu Hirata [Sun, 22 Sep 2002 02:03:17 +0000 (02:03 +0000)]
ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
* ChangeLog.0: Likewise.
* ChangeLog.1: Likewise.
* ChangeLog.2: Likewise.
* ChangeLog.3: Likewise.
* ChangeLog.4: Likewise.
* ChangeLog.5: Likewise.
* ChangeLog.6: Likewise.
* FSFChangeLog.10: Likewise.
* FSFChangeLog.11: Likewise.
* alias.c: Likewise.
* basic-block.h: Likewise.
* c-aux-info.c: Likewise.
* c-common.c: Likewise.
* c-common.h: Likewise.
* c-decl.c: Likewise.
* c-format.c: Likewise.
* c-semantics.c: Likewise.
* c-typeck.c: Likewise.
* calls.c: Likewise.
* cfganal.c: Likewise.
* cfgloop.c: Likewise.
* collect2.c: Likewise.
* combine.c: Likewise.
* conflict.c: Likewise.
* cppexp.c: Likewise.
* cppfiles.c: Likewise.
* cpphash.h: Likewise.
* cppinit.c: Likewise.
* cpplex.c: Likewise.
* cpplib.c: Likewise.
* cpplib.h: Likewise.
* cppmacro.c: Likewise.
* cse.c: Likewise.
From-SVN: r57398
Richard Earnshaw [Sat, 21 Sep 2002 20:20:55 +0000 (20:20 +0000)]
netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of LINK_SPEC.
* netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of
LINK_SPEC.
(LINK_SPEC): Define to NETBSD_LINK_SPEC_AOUT.
* arm/netbsd.h (SUBTARGET_EXTRA_SEPCS): Add NETBSD_LINK_SPEC_AOUT.
(LINK_SPEC): Rework to use NETBSD_LINK_SPEC_AOUT).
From-SVN: r57397
Richard Earnshaw [Sat, 21 Sep 2002 17:11:56 +0000 (17:11 +0000)]
re PR rtl-optimization/7930 (ICE in ARM backend)
PR opt/7930
* cse.c (fold_rtx): Calculate old_cost before we fold each
operand.
From-SVN: r57395
Richard Earnshaw [Sat, 21 Sep 2002 17:08:16 +0000 (17:08 +0000)]
cse.c (fold_rtx): Calculate the old cost before we fold each operand.
* cse.c (fold_rtx): Calculate the old cost before we fold each
operand.
From-SVN: r57394
Nathanael Nerode [Sat, 21 Sep 2002 16:36:45 +0000 (16:36 +0000)]
get the changelog right, stupid error on last commit.
From-SVN: r57393
Nathanael Nerode [Sat, 21 Sep 2002 16:33:09 +0000 (16:33 +0000)]
configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs.
2002-07-12 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs.
* configure.in (sh*-*-pe*): Ditto.
* configure.in (mips*-*-pe*): Ditto.
* configure.in (*arm-wince-pe): Ditto.
From-SVN: r57392
Richard Henderson [Sat, 21 Sep 2002 16:32:49 +0000 (09:32 -0700)]
c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__...
* c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__,
__GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
__TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
__TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__,
__TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__.
* doc/cpp.texi: Don't document them.
From-SVN: r57391
Richard Henderson [Sat, 21 Sep 2002 16:27:40 +0000 (09:27 -0700)]
c-common.c (builtin_define_float_constants): Use real_format to get the floating-point parameters.
* c-common.c (builtin_define_float_constants): Use real_format
to get the floating-point parameters.
From-SVN: r57390
Richard Henderson [Sat, 21 Sep 2002 16:16:24 +0000 (09:16 -0700)]
jcf-parse.c (get_constant): Decode from IEEE no matter what the target format.
* jcf-parse.c (get_constant): Decode from IEEE no matter
what the target format.
From-SVN: r57389
Richard Henderson [Sat, 21 Sep 2002 16:10:36 +0000 (09:10 -0700)]
real.c (struct real_format): Move to real.h.
* real.c (struct real_format): Move to real.h.
(real_format_for_mode): Rename from fmt_for_mode; update all users;
initialize with ieee defaults.
(real_to_target_fmt, real_from_target_fmt): New.
(ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
ieee_extended_intel_96_format, ieee_extended_intel_128_format,
ieee_quad_format, i370_single_format, i370_double_format,
c4x_single_format, c4x_extended_format): Rename from s/_format//.
(ieee_quad_format): Fix emin.
(format_for_size, init_real_once): Remove.
* real.h (struct real_format): Move from real.c.
(real_format_for_mode): Declare.
(real_to_target_fmt, real_from_target_fmt): Declare.
(ieee_single_format, ieee_double_format, ieee_extended_motorola_format,
ieee_extended_intel_96_format, ieee_extended_intel_128_format,
ieee_quad_format, vax_f_format, vax_d_format, vax_g_format,
i370_single_format, i370_double_format, c4x_single_format,
c4x_extended_format): Declare.
* toplev.c (do_compile): Don't call init_real_once.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
* doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove.
* config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define.
* config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode.
* config/alpha/alpha.c (override_options): Set real_format_for_mode
for VAX, if enabled.
* config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode
for C4X.
* config/i370/i370.h (OVERRIDE_OPTIONS): New.
* config/i370/i370.c (override_options): New.
* config/i370/i370-protos.h: Update.
* config/i386/i386.c (override_options): Set real_format_for_mode
for Intel 80-bit extended.
* config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove.
* config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64.
(OVERRIDE_OPTIONS): Move code...
* config/i960/i960.c (i960_initialize): ... here. Set
real_format_for_mode for Intel 80-bit extended.
* config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode
for Intel 80-bit extended, if enabled.
* config/m68k/m68k.c (override_options): Set real_format_for_mode
for Motorola 96-bit extended.
* config/vax/vax.h (OVERRIDE_OPTIONS): New.
* config/vax/vax.c (override_options): New.
* config/vax/vax-protos.h: Update.
From-SVN: r57388
Kazu Hirata [Sat, 21 Sep 2002 12:51:56 +0000 (12:51 +0000)]
ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
* ChangeLog.2: Likewise.
* call.c: Likewise.
* class.c: Likewise.
* cp-tree.h: Likewise.
* cvt.c: Likewise.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* friend.c: Likewise.
* g++spec.c: Likewise.
* init.c: Likewise.
* lex.c: Likewise.
* mangle.c: Likewise.
* method.c: Likewise.
* operators.def: Likewise.
* optimize.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* search.c: Likewise.
* semantics.c: Likewise.
* spew.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
From-SVN: r57387
GCC Administrator [Sat, 21 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57386
Michael Koch [Sat, 21 Sep 2002 06:59:20 +0000 (06:59 +0000)]
2002-09-21 Michael Koch <konqueror@gmx.de>
* java/net/Socket.java
(sendUrgentData): New method.
(getChannel): New method.
* java/net/ServerSocket.java
(getChannel): New method.
(isBound): New method.
* java/net/DatagramSocket.java
(DatagramSocket): Two new methods.
(bind): New method.
(getChannel): New method.
(isBound): New method.
(send): Added newline to to make shorter lines.
* java/net/PlainDatagramSocketImpl.java
(mcastGrp): Added argument.
(join): Use new mcastGrp.
(leave): Use new mcastGrp.
(joinGroup): New method.
(leaveGroup): New method.
* java/net/natPlainDatagramSocketImpl.cc
(mcastGrp): Added argument, no yet really implemented.
(getOption): Added newline for shorter lines.
* java/net/natPlainSocketImpl.cc
(read, setOption, getOption): Added newline for shorter lines.
From-SVN: r57380
Alan Modra [Sat, 21 Sep 2002 02:47:14 +0000 (02:47 +0000)]
rs6000.md (builtin_setjmp_receiver): Add #if TARGET_MACHO.
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
#if TARGET_MACHO.
From-SVN: r57379
Kazu Hirata [Sat, 21 Sep 2002 02:19:44 +0000 (02:19 +0000)]
ChangeLog: Follow spelling conventions.
* ChangeLog: Follow spelling conventions.
* class.c: Likewise.
* decl.c: Likewise.
* expr.c: Likewise.
* gjavah.c: Likewise.
* java-tree.h: Likewise.
* jcf-dump.c: Likewise.
* jcf-parse.c: Likewise.
* jvspec.c: Likewise.
* lang.c: Likewise.
* mangle.c: Likewise.
* parse.y: Likewise.
From-SVN: r57378
Alan Modra [Sat, 21 Sep 2002 00:20:14 +0000 (00:20 +0000)]
rs6000.md (floatdisf2_internal2): Combine insns.
* config/rs6000/rs6000.md (floatdisf2_internal2): Combine
insns. Supply missing clobber of scratch reg.
From-SVN: r57377
Kazu Hirata [Fri, 20 Sep 2002 23:47:00 +0000 (23:47 +0000)]
m32r.c: Follow spelling conventions.
* config/m32r/m32r.c: Follow spelling conventions.
* config/m32r/m32r.h: Likewise.
* config/m32r/m32r.md: Likewise.
* config/m68k/m68k.c: Likewise.
* config/m88k/m88k.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mips/mips.c: Likewise.
* config/mips/mips.h: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10200/mn10200.c: Likewise.
* config/ns32k/ns32k.h: Likewise.
* config/pa/pa.c: Likewise.
* config/pa/pa64-linux.h: Likewise.
* config/pdp11/pdp11.h: Likewise.
* config/romp/romp.c: Likewise.
* config/romp/romp.h: Likewise.
* config/rs6000/eabi.asm: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/rs6000/rs6000.md: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/xcoff.h: Likewise.
From-SVN: r57376
Jim Wilson [Fri, 20 Sep 2002 23:36:30 +0000 (23:36 +0000)]
Don't clobber app register r5 in muldi3.
* config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
From-SVN: r57375
Jakub Jelinek [Fri, 20 Sep 2002 22:08:34 +0000 (00:08 +0200)]
i386.md (UNSPEC_GOTNTPOFF, [...]): New.
* config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New.
* config/i386/i386.c (legitimate_pic_address_disp_p): Handle
UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF.
(legitimate_address_p): Likewise.
(legitimize_address): Use @gotntpoff and @indntpoff.
(output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF.
(output_addr_const_extra): Likewise.
From-SVN: r57373
Jim Wilson [Fri, 20 Sep 2002 21:42:25 +0000 (21:42 +0000)]
Fix v850 ICE.
* combine.c (try_combine): When split an instruction pair, where the
first has a sign_extend src, verify that the src and dest modes match.
From-SVN: r57371
Neil Booth [Fri, 20 Sep 2002 21:21:10 +0000 (21:21 +0000)]
* testsuite/gcc.dg/cpp/tr-warn2.c: Additional test.
From-SVN: r57370
Nathanael Nerode [Fri, 20 Sep 2002 21:00:07 +0000 (21:00 +0000)]
configure.in: Rearrange.
2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org>
* configure.in: Rearrange.
From-SVN: r57369
Richard Henderson [Fri, 20 Sep 2002 20:11:25 +0000 (13:11 -0700)]
mips.c (dfhigh, [...]): Remove.
* config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove.
(override_options): Do not initialize them.
(mips_const_double_ok): Allow no fp constants except zero,
and not even that for mips16.
(const_float_1_operand): Use dconst1.
* config/mips/mips.md (movsf, movsf_internal1, movsf_internal2,
movdf, movdf_internal1, movdf_internal1a, movdf_internal2):
Don't allow arbitrary constants; fix predicates and C constraint.
From-SVN: r57368
Jakub Jelinek [Fri, 20 Sep 2002 20:03:40 +0000 (22:03 +0200)]
* gcc.dg/tls/struct-1.c: New test.
From-SVN: r57367
Neil Booth [Fri, 20 Sep 2002 19:44:09 +0000 (19:44 +0000)]
cppmacro.c: Don't warn about function-like macros without '(' during pre-expandion.
* cppmacro.c: Don't warn about function-like macros without
'(' during pre-expandion.
testsuite:
* gcc.dg/cpp/tr-warn2.c: Update.
From-SVN: r57366
Jim Wilson [Fri, 20 Sep 2002 19:15:53 +0000 (19:15 +0000)]
Fix -O3 stdarg miscompilation.
* config/v850/v850.c (current_function_anonymous_args): Delete.
(expand_prologue): Use current_function_args_info.anonymous_args.
(expand_epilogue): Delete use of current_function_anonymous_args.
* config/v850/v850.h (struct cum_arg): Add anonymous_args field.
(INIT_CUMULATIVE_ARGS): Clear anonymous_args field.
(current_function_anonymous_args): Delete extern declaration.
(SETUP_INCOMING_VARARGS): Set anonymous_args field.
From-SVN: r57363
Geoffrey Keating [Fri, 20 Sep 2002 18:42:24 +0000 (18:42 +0000)]
rs6000.c (rs6000_emit_prologue): Update for change to load_macho_picbase.
* config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change
to load_macho_picbase.
* config/rs6000/rs6000.md: Document Darwin-specific unspec IDs.
(load_macho_picbase): Take the symbol to use as a parameter.
(macho_correct_pic): New insn.
(builtin_setjmp_reciever): On Darwin, restore the PIC register.
From-SVN: r57360
Geoffrey Keating [Fri, 20 Sep 2002 18:40:27 +0000 (18:40 +0000)]
rs6000.h (ELIMINABLE_REGS): Use RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
* config/rs6000/rs6000.h (ELIMINABLE_REGS): Use
RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30.
(CAN_ELIMINATE): Likewise.
(INITIAL_ELIMINATION_OFFSET): Likewise.
(TOC_REGISTER): Likewise.
From-SVN: r57359
Richard Henderson [Fri, 20 Sep 2002 17:50:48 +0000 (10:50 -0700)]
real.c (real_hash): New.
* real.c (real_hash): New.
* real.h: Declare it.
* cse.c (canon_hash): Use it.
* cselib.c (hash_rtx): Likewise.
* emit-rtl.c (const_double_htab_hash): Likewise.
* rtl.h (CONST_DOUBLE_REAL_VALUE): New.
* varasm.c (struct rtx_const): Reduce vector size; separate
integer and fp vectors.
(HASHBITS): Remove.
(const_hash_1): Rename from const_hash. Use real_hash. Do not
take modulus MAX_HASH_TABLE.
(const_hash): New. Do take modulus MAX_HASH_TABLE.
(output_constant_def): Do not take modulus MAX_HASH_TABLE.
(SYMHASH): Don't use HASHBITS.
(decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE.
Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison.
(simplify_subtraction): Fix kind comparison.
(const_hash_rtx): Return unsigned int. Don't use HASHBITS.
Use a union to pun integer array.
* config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash;
only hash two words of integral CONST_DOUBLE.
From-SVN: r57356
Steve Ellcey [Fri, 20 Sep 2002 16:53:25 +0000 (16:53 +0000)]
hpux.h (STARTFILE_SPEC): Modify.
* config/ia64/hpux.h (STARTFILE_SPEC): Modify.
(STARTFILE_PREFIX_SPEC): New.
(LINK_SPEC): Modify.
(LIB_SPEC): Modify.
(LIBGCC_SPEC): New.
From-SVN: r57352
Jakub Jelinek [Fri, 20 Sep 2002 16:40:31 +0000 (18:40 +0200)]
i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
From-SVN: r57351
Richard Earnshaw [Fri, 20 Sep 2002 15:48:05 +0000 (15:48 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Skip test on ARM-based systems.
From-SVN: r57350
Richard Earnshaw [Fri, 20 Sep 2002 15:14:19 +0000 (15:14 +0000)]
990208-1.x: XFAIL this at -O3 for ARM-based systems.
* gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based
systems.
From-SVN: r57349
Jeroen Dobbelaere [Fri, 20 Sep 2002 13:58:49 +0000 (13:58 +0000)]
Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):
Add clobber of the condition code register.
From-SVN: r57347
Richard Henderson [Fri, 20 Sep 2002 07:56:42 +0000 (00:56 -0700)]
real.c (do_fix_trunc): Static.
* real.c (do_fix_trunc): Static.
(encode_ieee_single, encode_ieee_double, encode_ieee_extended,
encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g,
encode_i370_single, encode_i370_double, encode_c4x_single,
encode_c4x_extended): Add default abort case.
From-SVN: r57344
Richard Henderson [Fri, 20 Sep 2002 07:33:25 +0000 (00:33 -0700)]
real.h (enum real_value_class, [...]): Move from real.c.
* real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS,
MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c.
(struct realvaluetype): Remove.
(REAL_VALUE_TYPE): Use struct real_value.
(REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS.
(test_real_width): New.
* real.c: Global replace struct real_value with REAL_VALUE_TYPE.
(real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters.
(real_compare, real_exponent, real_ldexp, real_isinf, real_isnan,
real_isneg, real_isnegzero, real_identical, exact_real_inverse,
real_to_integer, real_to_integer2, real_to_decimal,
real_to_hexadecimal, real_from_string, real_from_integer,
real_inf, real_nan, real_2expN, real_convert, real_to_target,
real_from_target): Likewise.
* tree.h (struct tree_real_cst): Use real_value not realvaluetype.
* gengtype-yacc.y (bitfieldopt): Accept an ID as well.
From-SVN: r57343
GCC Administrator [Fri, 20 Sep 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57342
Richard Henderson [Fri, 20 Sep 2002 06:36:36 +0000 (23:36 -0700)]
real.h (UNKNOWN_FLOAT_FORMAT, [...]): Move ...
* real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT,
IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ...
* defaults.h: ... here.
* config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h,
config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h,
config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h,
config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove.
From-SVN: r57336
Hans-Peter Nilsson [Fri, 20 Sep 2002 03:06:25 +0000 (03:06 +0000)]
mmix.md ("negdf2"): Rewrite.
* config/mmix/mmix.md ("negdf2"): Rewrite.
("*expanded_negdf2"): New.
From-SVN: r57332
Hans-Peter Nilsson [Fri, 20 Sep 2002 03:04:15 +0000 (03:04 +0000)]
* gcc.c-torture/execute/ieee/mzero3.c: New test.
From-SVN: r57331
John David Anglin [Fri, 20 Sep 2002 02:40:51 +0000 (02:40 +0000)]
cp-demangle.c (demangling_new): Cast 0 to enum.
* cp-demangle.c (demangling_new): Cast 0 to enum.
(demangle_char): Cast return of strdup to char *.
(is_gnu_v3_mangled_ctor): Cast 0 to enum.
(is_gnu_v3_mangled_dtor): Likewise.
* cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
(work_stuff_copy_to_from): Cast return of xmalloc to char **.
* fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
* md5.c (md5_process_bytes): Cast results back to const void *.
(md5_process_block): Add cast to const md5_uint32 *.
* regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
* safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
unsigned short.
* splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
to void *.
* vasprintf.c (int_vasprintf): Cast return of malloc to char *.
From-SVN: r57330
Hans-Peter Nilsson [Fri, 20 Sep 2002 01:02:18 +0000 (01:02 +0000)]
Mention removed duplicate cxxfilt setting
From-SVN: r57326
Hans-Peter Nilsson [Fri, 20 Sep 2002 00:52:14 +0000 (00:52 +0000)]
scanasm.exp (scan-assembler-dem, [...]): Adjust for c++filt moved to binutils.
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not):
Adjust for c++filt moved to binutils.
From-SVN: r57325
Alexandre Oliva [Fri, 20 Sep 2002 00:21:54 +0000 (00:21 +0000)]
libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding HAVE_DECL_ macro is 1.
* libiberty.h (asprintf, vasprintf): Don't declare them if the
corresponding HAVE_DECL_ macro is 1.
From-SVN: r57324
Jim Wilson [Thu, 19 Sep 2002 23:39:34 +0000 (23:39 +0000)]
fix subreg optimization bug introduced 2002-05-25
fix subreg optimization bug introduced 2002-05-25
* combine.c (simplify_set): When optimizing a subreg src with a
cc0 dest, use GET_MODE (src) for mask instead of inner_mode.
From-SVN: r57323
Geoffrey Keating [Thu, 19 Sep 2002 23:01:49 +0000 (23:01 +0000)]
* gcc.dg/
20020312-2.c: Update for darwin.
From-SVN: r57320
Dale Johannesen [Thu, 19 Sep 2002 18:54:56 +0000 (18:54 +0000)]
Remove creation of invalid subreg. PR 7705, 7339, 7720.
From-SVN: r57315
Nick Clifton [Thu, 19 Sep 2002 18:07:23 +0000 (18:07 +0000)]
Update email addresses for bugs and patches.
From-SVN: r57313
Tom Tromey [Thu, 19 Sep 2002 17:44:49 +0000 (17:44 +0000)]
ClassLoader.java (resolveClass0): Set cause for newly-created exception.
* java/lang/ClassLoader.java (resolveClass0): Set cause for
newly-created exception.
From-SVN: r57310
Ulrich Weigand [Thu, 19 Sep 2002 17:06:29 +0000 (17:06 +0000)]
s390.c (addr_generation_dependency_p): Handle SUBREG and STRICT_LOW_PART within SET_DEST.
* config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG
and STRICT_LOW_PART within SET_DEST.
* config/s390/s390.md ("*extractqi", "*extracthi"): New insns with
splitters, replacing pre-reload splitters.
("*zero_extendhisi2_31", "*zero_extendqisi2_31",
"*zero_extendqihi2_31"): New insns.
("*zero_extendqihi2_64"): Do not clobber CC.
From-SVN: r57309
Devang Patel [Thu, 19 Sep 2002 16:19:36 +0000 (09:19 -0700)]
cp-tree.h: New prototype for walk_vtabls().
2002-09-19 Devang Patel <dpatel@apple.com>
* cp/cp-tree.h: New prototype for walk_vtabls().
* cp/decl.c (walk_vtables_r): New function.
(struct cp_binding_level): Add new members, namespaces,
names_size and vtables.
(add_decl_to_level): Add decl in namespaces or vtables
chain, if conditions match.
(walk_vtables): New function.
(walk_namespaces_r): Travers separate namespace chain
for namespace decls.
(wrapup_globals_for_namespace): Use names_size instead
of list_length().
* cp/decl2.c (finish_file): Use walk_vtables() instead of
walk_globals() to walk vtable decls.
From-SVN: r57305
Steve Ellcey [Thu, 19 Sep 2002 15:52:10 +0000 (15:52 +0000)]
hpux.h (CTORS_SECTION_ASM_OP): New.
* config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New.
(DTORS_SECTION_ASM_OP): Ditto.
(READONLY_DATA_SECTION_ASM_OP): Moved.
(DATA_SECTION_ASM_OP): New.
(SDATA_SECTION_ASM_OP): New.
(BSS_SECTION_ASM_OP): New.
(SBSS_SECTION_ASM_OP): New.
(TEXT_SECTION_ASM_OP): New.
From-SVN: r57304
Kazu Hirata [Thu, 19 Sep 2002 13:51:24 +0000 (13:51 +0000)]
fp-bit.c: Follow spelling conventions.
* config/fp-bit.c: Follow spelling conventions.
* config/d30v/d30v.c: Likewise.
* config/d30v/d30v.h: Likewise.
* config/fr30/fr30.c: Likewise.
* config/fr30/fr30.h: Likewise.
* config/fr30/fr30.md: Likewise.
* config/frv/frv.c: Likewise.
* config/frv/frv.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/h8300/lib1funcs.asm: Likewise.
* config/i370/i370.c: Likewise.
* config/i386/i386.h: Likewise.
* config/i386/i386.md: Likewise.
* config/i386/pentium.md: Likewise.
* config/i386/winnt.c: Likewise.
* config/i960/i960.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.c: Likewise.
* config/ip2k/ip2k.h: Likewise.
* config/ip2k/ip2k.md: Likewise.
* config/ip2k/libgcc.S: Likewise.
From-SVN: r57303
Stephen Clarke [Thu, 19 Sep 2002 13:17:57 +0000 (13:17 +0000)]
sh.h (UNSPEC_GOTOFF_P): Define.
2002-09-19 Stephen Clarke <stephen.clarke@superh.com>
* config/sh/sh.h (UNSPEC_GOTOFF_P): Define.
(GOTOFF_P): Extend to allow gotoff plus constant.
From-SVN: r57302
GCC Administrator [Thu, 19 Sep 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57301
GCC Administrator [Thu, 19 Sep 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r57300.3
Loren J. Rittle [Thu, 19 Sep 2002 04:26:25 +0000 (04:26 +0000)]
* testsuite/18_support/numeric_limits.cc (test_epsilon): New.
From-SVN: r57295
Richard Henderson [Thu, 19 Sep 2002 01:07:10 +0000 (18:07 -0700)]
ifcvt.c (noce_process_if_block): Correctly detect X modified with INSN_B before COND_EARLIEST.
* ifcvt.c (noce_process_if_block): Correctly detect X modified
with INSN_B before COND_EARLIEST. Don't check A and B for
modification in condition range. Reorder INSN_B for A==B properly.
(if_convert): Iterate until no matches for a block.
* gcc.c-torture/execute/
20020916-1.c: New.
From-SVN: r57294
Richard Henderson [Thu, 19 Sep 2002 00:37:24 +0000 (17:37 -0700)]
calls.c (store_one_arg): Rename default_align to parm_align; always adjust parm_align for downward padding.
* calls.c (store_one_arg): Rename default_align to parm_align;
always adjust parm_align for downward padding.
From-SVN: r57292
Richard Henderson [Thu, 19 Sep 2002 00:12:07 +0000 (17:12 -0700)]
toplev.c (backend_init): Move init_real_once invocation ...
* toplev.c (backend_init): Move init_real_once invocation ...
(do_compile): ... here.
From-SVN: r57291
Richard Henderson [Thu, 19 Sep 2002 00:10:10 +0000 (17:10 -0700)]
sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove RTX_UNCHANGING_P markers for successful tail-recursive replacement.
* sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove
RTX_UNCHANGING_P markers for successful tail-recursive replacement.
From-SVN: r57290
Richard Henderson [Thu, 19 Sep 2002 00:05:28 +0000 (17:05 -0700)]
* real.c (round_for_format): Collect sticky as unsigned long, not bool.
From-SVN: r57289
Alan Modra [Wed, 18 Sep 2002 23:27:29 +0000 (23:27 +0000)]
rs6000.md: (floatdisf2): Rename to floatdisf2_internal1.
* config/rs6000/rs6000.md: (floatdisf2): Rename to
floatdisf2_internal1.
(floatdisf2): New define_expand.
(floatdisf2_internal2): Likewise.
From-SVN: r57288
Richard Henderson [Wed, 18 Sep 2002 21:23:24 +0000 (14:23 -0700)]
real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool.
* real.c (sticky_rshift_significand): Collect sticky as
unsigned long, not bool.
From-SVN: r57284
Ulrich Weigand [Wed, 18 Sep 2002 18:57:18 +0000 (18:57 +0000)]
s390.c (s390_address_cost): New function.
* config/s390/s390.c (s390_address_cost): New function.
config/s390/s390-protos.h (s390_address_cost): Add prototype.
config/s390/s390.h (ADDRESS_COST): Call s390_address_cost.
(RTX_COST): Use COSTS_N_INSNS.
From-SVN: r57282
Douglas B Rupp [Wed, 18 Sep 2002 18:51:14 +0000 (18:51 +0000)]
stor-layout.c (place_field): Handle alignment of whole structures when MSVC compatible bitfields are involved.
* stor-layout.c (place_field): Handle alignment of whole
structures when MSVC compatible bitfields are involved.
Change method of computing location of MS bitfields to
be compatible with #pragma pack(n).
* tree.h (record_layout_info): Add new field
remaining_in_alignment.
* doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update.
(pragma pack): Add paragraph on MSVC bitfield packing.
Co-Authored-By: Donn Terry <donnte@microsoft.com>
From-SVN: r57281
Richard Henderson [Wed, 18 Sep 2002 18:06:13 +0000 (11:06 -0700)]
* testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.
From-SVN: r57280
Richard Earnshaw [Wed, 18 Sep 2002 14:01:58 +0000 (14:01 +0000)]
re PR rtl-optimization/7967 (optimization produces wrong code (ARM))
PR optimization/7967
* arm.md (ne_zeroextractsi): Add clobber of the condition code
register.
From-SVN: r57278
Nathan Sidwell [Wed, 18 Sep 2002 13:08:34 +0000 (13:08 +0000)]
decl.c (grokdeclarator): Use assert, not internal_error.
cp:
* decl.c (grokdeclarator): Use assert, not internal_error. Don't
ICE with invalid pointers & references.
testsuite:
* g++.old-deja/g++.other/crash32.C: Mark ICE.
From-SVN: r57277
Kazu Hirata [Wed, 18 Sep 2002 11:43:45 +0000 (11:43 +0000)]
s390.c: Follow spelling convention.
* config/s390/s390.c: Follow spelling convention.
* config/sh/lib1funcs.asm: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/sparc/sparc.md: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/v850/v850.c: Likewise.
* config/v850/v850.h: Likewise.
* config/vax/vax.c: Likewise.
* config/vax/vax.h: Likewise.
From-SVN: r57276
Michael Koch [Wed, 18 Sep 2002 10:15:52 +0000 (10:15 +0000)]
Matcher.java, [...]: Merge with classpath, new files.
2002-09-18 Michael Koch <konqueror@gmx.de>
* java/util/regex/Matcher.java, java/util/regex/Pattern.java,
java/util/regex/PatternSyntaxException.java:
Merge with classpath, new files.
* Makefile.am (core_java_source_files):
Added java/util/regex/Matcher.java,
java/util/regex/Pattern.java,
java/util/regex/PatternSyntaxException.java
* Makefile.in: Regenerated.
* include/config.h.in: Added HAVE_NET_IF_H.
* java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
Removed #if 0 ... #endif.
From-SVN: r57275
Nick Clifton [Wed, 18 Sep 2002 07:54:57 +0000 (07:54 +0000)]
rs6000.c (rs6000_emit_move): Handle V1DImode moves.
* config/rs60000/rs6000.c (rs6000_emit_move): Handle V1DImode moves.
* config/rs60000/rs6000.c (SPE_VECTOR_MODE): Include V1DImode.
* config/rs6000/spe.md (movv1di, movv1di_internal): New patterns.
From-SVN: r57274
GCC Administrator [Wed, 18 Sep 2002 07:17:15 +0000 (07:17 +0000)]
Daily bump.
From-SVN: r57273
GCC Administrator [Wed, 18 Sep 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.
[[Split portion of a mixed commit.]]
From-SVN: r57272.3
Zack Weinberg [Wed, 18 Sep 2002 05:07:02 +0000 (05:07 +0000)]
ABOUT-GCC-NLS: Remove reference to enquire...
* ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date
statement that the only translation is to en_UK.
From-SVN: r57267
Kazu Hirata [Tue, 17 Sep 2002 23:10:04 +0000 (23:10 +0000)]
alpha.c: Follow spelling conventions.
* config/alpha/alpha.c: Follow spelling conventions.
* config/alpha/alpha.h: Likewise.
* config/alpha/alpha.md: Likewise.
* config/arc/arc.h: Likewise.
* config/arm/arm.c: Likewise.
* config/arm/arm.h: Likewise.
* config/arm/arm.md: Likewise.
* config/arm/pe.c: Likewise.
* config/arm/unknown-elf.h: Likewise.
* config/avr/avr.c: Likewise.
* config/avr/avr.h: Likewise.
* config/c4x/c4x.c: Likewise.
* config/cris/cris.c: Likewise.
* config/cris/cris.h: Likewise.
From-SVN: r57266
Samuel Figueroa [Tue, 17 Sep 2002 21:36:29 +0000 (21:36 +0000)]
Sam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.
From-SVN: r57261
Dale Johannesen [Tue, 17 Sep 2002 21:25:13 +0000 (21:25 +0000)]
Do not foward a branch to just after a loop exit before
loop optimization; this broke doloop detection.
From-SVN: r57260
Tom Tromey [Tue, 17 Sep 2002 20:59:53 +0000 (20:59 +0000)]
re PR java/7950 (jc1 parses files ending in 0x0d incorrectly)
* lex.c (java_read_unicode_collapsing_terminators): Handle case
where \r appears at EOF. Fixes PR java/7950.
From-SVN: r57258
Nick Clifton [Tue, 17 Sep 2002 19:29:12 +0000 (19:29 +0000)]
(output_return_instruction): Do not writeback the stack pointer when it is being loaded.
(output_return_instruction): Do not writeback the stack pointer when it is
being loaded. (arm_output_epilogue): Likewise.
From-SVN: r57256
Kazu Hirata [Tue, 17 Sep 2002 19:02:58 +0000 (19:02 +0000)]
optabs.c (prepare_cmp_insn): Let emit_library_call_value generate a pseudo reg that receives the result of a...
* optabs.c (prepare_cmp_insn): Let emit_library_call_value
generate a pseudo reg that receives the result of a libcall.
(prepare_float_lib_cmp): Likewise.
From-SVN: r57255
Joseph Myers [Tue, 17 Sep 2002 18:14:37 +0000 (19:14 +0100)]
* update_web_docs (MANUALS): Add fastjar.
From-SVN: r57254
Steve Ellcey [Tue, 17 Sep 2002 15:50:08 +0000 (15:50 +0000)]
* config/ia64/elf.h: Remove CPP_PREDEFINES.
From-SVN: r57253
Nicola Pero [Tue, 17 Sep 2002 14:00:15 +0000 (16:00 +0200)]
New tests for ObjC typechecking
From-SVN: r57251
Nicola Pero [Tue, 17 Sep 2002 13:59:30 +0000 (15:59 +0200)]
Fixed ObjC typechecking, particularly case with protocols
From-SVN: r57250
Nick Clifton [Tue, 17 Sep 2002 13:03:40 +0000 (13:03 +0000)]
machmode.def (V1DImode): New mode.
* machmode.def (V1DImode): New mode. A single element vector.
* tree.h (TI_UV1DI_TYPE, TI_V1DI_TYPE): New tree_index enums.
(unsigned_V1DI_type_node, V1D1_type_node): New type nodes.
* tree.c (build_common_tree_nodes_2): Build
unsigned_V1DI_type_node and V1D1_type_node.
* c-common.c (c_common_type_for_mode): Return
unsigned_V1DI_type_node or V1D1_type_node for V1DImode.
* rtl.c (class_narrowest_): Start integer vector nodes with V1DImode.
From-SVN: r57248
Nicola Pero [Tue, 17 Sep 2002 11:51:40 +0000 (13:51 +0200)]
Extended/updated objc documentation on constant string classes
From-SVN: r57247
Michael Koch [Tue, 17 Sep 2002 10:57:14 +0000 (10:57 +0000)]
natNetworkInterface.cc: Removed unneed and yet wrong includes.
2002-09-17 Michael Koch <konqueror@gmx.de>
* java/net/natNetworkInterface.cc:
Removed unneed and yet wrong includes.
From-SVN: r57246
Richard Henderson [Tue, 17 Sep 2002 09:30:47 +0000 (02:30 -0700)]
trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
* trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.
* config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN.
* config/mips/mips.md (fixuns_truncdfsi2): Likewise.
(fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise.
* config/m68k/m68k.c (floating_exact_log2): Use real_exponent
and real_2expN instead of a loop.
* doc/tm.texi (REAL_VALUE_LDEXP): Remove.
(REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove.
From-SVN: r57245
Richard Henderson [Tue, 17 Sep 2002 09:26:05 +0000 (02:26 -0700)]
Fix typo.
From-SVN: r57244
Roger Sayle [Tue, 17 Sep 2002 09:03:57 +0000 (09:03 +0000)]
cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
* cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned
NOTE_INSN_LOOP_CONT notes when deleting basic blocks.
From-SVN: r57243
Nathan Sidwell [Tue, 17 Sep 2002 08:36:04 +0000 (08:36 +0000)]
Add expected error
From-SVN: r57242