1. 22 Sep, 2002 3 commits
    • Daily bump. · 4bc38b68
      From-SVN: r57405
      GCC Administrator committed
    • i386.h (BIGGEST_FIELD_ALIGNMENT): Set proper default for x86_64. · ef49d42e
      
      
      	* 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
      Jan Hubicka committed
    • ChangeLog: Follow spelling conventions. · da7d8304
      	* 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
      Kazu Hirata committed
  2. 21 Sep, 2002 15 commits
    • netbsd-aout.h (NETBSD_LINK_SPEC_AOUT): New, takes old definition of LINK_SPEC. · 330cc6c7
      * 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 committed
    • re PR rtl-optimization/7930 (ICE in ARM backend) · 9ee4fa29
      PR opt/7930
      * cse.c (fold_rtx): Calculate old_cost before we fold each
      operand.
      
      From-SVN: r57395
      Richard Earnshaw committed
    • cse.c (fold_rtx): Calculate the old cost before we fold each operand. · 5b437e0f
      * cse.c (fold_rtx): Calculate the old cost before we fold each
      operand.
      
      From-SVN: r57394
      Richard Earnshaw committed
    • get the changelog right, stupid error on last commit. · 51270f0a
      From-SVN: r57393
      Nathanael Nerode committed
    • configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs. · fbf86afb
      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
      Nathanael Nerode committed
    • c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__... · 2a15d344
              * 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 committed
    • c-common.c (builtin_define_float_constants): Use real_format to get the floating-point parameters. · 3fdacdf9
              * c-common.c (builtin_define_float_constants): Use real_format
              to get the floating-point parameters.
      
      From-SVN: r57390
      Richard Henderson committed
    • jcf-parse.c (get_constant): Decode from IEEE no matter what the target format. · aa2046c4
              * jcf-parse.c (get_constant): Decode from IEEE no matter
              what the target format.
      
      From-SVN: r57389
      Richard Henderson committed
    • real.c (struct real_format): Move to real.h. · 3dc85dfb
      	* 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
      Richard Henderson committed
    • ChangeLog: Follow spelling conventions. · 838dfd8a
      	* 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
      Kazu Hirata committed
    • Daily bump. · 42cd531a
      From-SVN: r57386
      GCC Administrator committed
    • 2002-09-21 Michael Koch <konqueror@gmx.de> · be362a0d
      	* 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
      Michael Koch committed
    • rs6000.md (builtin_setjmp_receiver): Add #if TARGET_MACHO. · 84d7dd4a
      	* config/rs6000/rs6000.md (builtin_setjmp_receiver): Add
      	#if TARGET_MACHO.
      
      From-SVN: r57379
      Alan Modra committed
    • ChangeLog: Follow spelling conventions. · ee142fe7
      	* 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
      Kazu Hirata committed
    • rs6000.md (floatdisf2_internal2): Combine insns. · 42a6388c
      	* config/rs6000/rs6000.md (floatdisf2_internal2): Combine
      	insns.  Supply missing clobber of scratch reg.
      
      From-SVN: r57377
      Alan Modra committed
  3. 20 Sep, 2002 22 commits
    • m32r.c: Follow spelling conventions. · a0ab749a
      	* 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
      Kazu Hirata committed
    • Don't clobber app register r5 in muldi3. · 2f0da74c
      	* config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28.
      
      From-SVN: r57375
      Jim Wilson committed
    • i386.md (UNSPEC_GOTNTPOFF, [...]): New. · dea73790
      	* 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
      Jakub Jelinek committed
    • Fix v850 ICE. · a9b2f059
      	* 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
      Jim Wilson committed
    • * testsuite/gcc.dg/cpp/tr-warn2.c: Additional test. · 27eba309
      From-SVN: r57370
      Neil Booth committed
    • configure.in: Rearrange. · 8f89dbf4
      2002-09-20  Nathanael Nerode <neroden@doctor.moo.mud.org>
      
      	* configure.in: Rearrange.
      
      From-SVN: r57369
      Nathanael Nerode committed
    • mips.c (dfhigh, [...]): Remove. · 1f7422bd
              * 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
      Richard Henderson committed
    • * gcc.dg/tls/struct-1.c: New test. · 6ba085e7
      From-SVN: r57367
      Jakub Jelinek committed
    • cppmacro.c: Don't warn about function-like macros without '(' during pre-expandion. · 56941bf2
      	* cppmacro.c: Don't warn about function-like macros without
      	'(' during pre-expandion.
      testsuite:
      	* gcc.dg/cpp/tr-warn2.c: Update.
      
      From-SVN: r57366
      Neil Booth committed
    • Fix -O3 stdarg miscompilation. · 66a0dfeb
      	* 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
      Jim Wilson committed
    • rs6000.c (rs6000_emit_prologue): Update for change to load_macho_picbase. · f51eee6a
      	* 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 committed
    • rs6000.h (ELIMINABLE_REGS): Use RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30. · 97b23853
      	* 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
      Geoffrey Keating committed
    • real.c (real_hash): New. · 46b33600
              * 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
      Richard Henderson committed
    • hpux.h (STARTFILE_SPEC): Modify. · 40ad65d0
      	* config/ia64/hpux.h (STARTFILE_SPEC): Modify.
      	(STARTFILE_PREFIX_SPEC): New.
      	(LINK_SPEC): Modify.
      	(LIB_SPEC): Modify.
      	(LIBGCC_SPEC): New.
      
      From-SVN: r57352
      Steve Ellcey committed
    • i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and UNSPEC_DTPOFF to… · 600f3392
      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
      Jakub Jelinek committed
    • 990208-1.x: XFAIL this at -O3 for ARM-based systems. · 1ce505c4
      * gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based
      systems.
      
      From-SVN: r57349
      Richard Earnshaw committed
    • Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> · c1ff6200
      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
      Jeroen Dobbelaere committed
    • real.c (do_fix_trunc): Static. · 60b78700
              * 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 committed
    • real.h (enum real_value_class, [...]): Move from real.c. · 0ee6fdb5
              * 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
      Richard Henderson committed
    • Daily bump. · 42449812
      From-SVN: r57342
      GCC Administrator committed
    • real.h (UNKNOWN_FLOAT_FORMAT, [...]): Move ... · 66d93b5a
              * 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
      Richard Henderson committed