aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-21c-common.c (builtin_define_float_constants): Use real_format to get the ↵Richard Henderson2-153/+44
floating-point parameters. * c-common.c (builtin_define_float_constants): Use real_format to get the floating-point parameters. From-SVN: r57390
2002-09-21jcf-parse.c (get_constant): Decode from IEEE no matter what the target format.Richard Henderson2-30/+27
* jcf-parse.c (get_constant): Decode from IEEE no matter what the target format. From-SVN: r57389
2002-09-21real.c (struct real_format): Move to real.h.Richard Henderson24-243/+321
* 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
2002-09-21ChangeLog: Follow spelling conventions.Kazu Hirata24-164/+191
* 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
2002-09-21Daily bump.GCC Administrator7-7/+7
From-SVN: r57386
2002-09-212002-09-21 Michael Koch <konqueror@gmx.de>Michael Koch7-13/+205
* 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
2002-09-21rs6000.md (builtin_setjmp_receiver): Add #if TARGET_MACHO.Alan Modra2-0/+5
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Add #if TARGET_MACHO. From-SVN: r57379
2002-09-21ChangeLog: Follow spelling conventions.Kazu Hirata12-55/+70
* 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
2002-09-21rs6000.md (floatdisf2_internal2): Combine insns.Alan Modra2-2/+11
* config/rs6000/rs6000.md (floatdisf2_internal2): Combine insns. Supply missing clobber of scratch reg. From-SVN: r57377
2002-09-20m32r.c: Follow spelling conventions.Kazu Hirata24-62/+88
* 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
2002-09-20Don't clobber app register r5 in muldi3.Jim Wilson2-7/+11
* config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28. From-SVN: r57375
2002-09-21i386.md (UNSPEC_GOTNTPOFF, [...]): New.Jakub Jelinek3-14/+50
* 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
2002-09-20Fix v850 ICE.Jim Wilson2-0/+11
* 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
2002-09-20* testsuite/gcc.dg/cpp/tr-warn2.c: Additional test.Neil Booth2-1/+3
From-SVN: r57370
2002-09-20configure.in: Rearrange.Nathanael Nerode2-19/+23
2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org> * configure.in: Rearrange. From-SVN: r57369
2002-09-20mips.c (dfhigh, [...]): Remove.Richard Henderson3-103/+38
* 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
2002-09-20* gcc.dg/tls/struct-1.c: New test.Jakub Jelinek2-0/+36
From-SVN: r57367
2002-09-20cppmacro.c: Don't warn about function-like macros without '(' during ↵Neil Booth4-10/+28
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
2002-09-20Fix -O3 stdarg miscompilation.Jim Wilson3-9/+14
* 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
2002-09-20rs6000.c (rs6000_emit_prologue): Update for change to load_macho_picbase.Geoffrey Keating3-13/+47
* 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
2002-09-20rs6000.h (ELIMINABLE_REGS): Use RS6000_PIC_OFFSET_TABLE_REGNUM rather than ↵Geoffrey Keating2-7/+16
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
2002-09-20real.c (real_hash): New.Richard Henderson9-91/+216
* 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
2002-09-20hpux.h (STARTFILE_SPEC): Modify.Steve Ellcey2-13/+34
* config/ia64/hpux.h (STARTFILE_SPEC): Modify. (STARTFILE_PREFIX_SPEC): New. (LINK_SPEC): Modify. (LIB_SPEC): Modify. (LIBGCC_SPEC): New. From-SVN: r57352
2002-09-20i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and ↵Jakub Jelinek2-6/+5
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
2002-09-20* gcc.c-torture/execute/20020720-1.x: Skip test on ARM-based systems.Richard Earnshaw2-1/+7
From-SVN: r57350
2002-09-20990208-1.x: XFAIL this at -O3 for ARM-based systems.Richard Earnshaw2-1/+6
* gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based systems. From-SVN: r57349
2002-09-20Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>Jeroen Dobbelaere2-2/+9
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
2002-09-20real.c (do_fix_trunc): Static.Richard Henderson2-1/+42
* 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
2002-09-20real.h (enum real_value_class, [...]): Move from real.c.Richard Henderson5-304/+289
* 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
2002-09-20Daily bump.GCC Administrator7-7/+7
From-SVN: r57342
2002-09-19real.h (UNKNOWN_FLOAT_FORMAT, [...]): Move ...Richard Henderson13-61/+22
* 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
2002-09-20mmix.md ("negdf2"): Rewrite.Hans-Peter Nilsson2-4/+18
* config/mmix/mmix.md ("negdf2"): Rewrite. ("*expanded_negdf2"): New. From-SVN: r57332
2002-09-20* gcc.c-torture/execute/ieee/mzero3.c: New test.Hans-Peter Nilsson2-0/+53
From-SVN: r57331
2002-09-20cp-demangle.c (demangling_new): Cast 0 to enum.John David Anglin9-28/+46
* 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
2002-09-20Mention removed duplicate cxxfilt settingHans-Peter Nilsson1-1/+2
From-SVN: r57326
2002-09-20scanasm.exp (scan-assembler-dem, [...]): Adjust for c++filt moved to binutils.Hans-Peter Nilsson2-14/+15
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not): Adjust for c++filt moved to binutils. From-SVN: r57325
2002-09-20libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding ↵Alexandre Oliva2-0/+9
HAVE_DECL_ macro is 1. * libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding HAVE_DECL_ macro is 1. From-SVN: r57324
2002-09-19fix subreg optimization bug introduced 2002-05-25Jim Wilson2-1/+6
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
2002-09-19* gcc.dg/20020312-2.c: Update for darwin.Geoffrey Keating2-4/+9
From-SVN: r57320
2002-09-19Remove creation of invalid subreg. PR 7705, 7339, 7720.Dale Johannesen2-0/+9
From-SVN: r57315
2002-09-19Update email addresses for bugs and patches.Nick Clifton2-1/+6
From-SVN: r57313
2002-09-19ClassLoader.java (resolveClass0): Set cause for newly-created exception.Tom Tromey2-11/+23
* java/lang/ClassLoader.java (resolveClass0): Set cause for newly-created exception. From-SVN: r57310
2002-09-19s390.c (addr_generation_dependency_p): Handle SUBREG and STRICT_LOW_PART ↵Ulrich Weigand3-17/+80
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
2002-09-19cp-tree.h: New prototype for walk_vtabls().Devang Patel4-52/+98
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
2002-09-19hpux.h (CTORS_SECTION_ASM_OP): New.Steve Ellcey2-4/+35
* 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
2002-09-19fp-bit.c: Follow spelling conventions.Kazu Hirata22-72/+96
* 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
2002-09-19sh.h (UNSPEC_GOTOFF_P): Define.Stephen Clarke2-2/+13
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
2002-09-19Daily bump.GCC Administrator6-6/+6
From-SVN: r57301
2002-09-19Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r57300.3
2002-09-19* testsuite/18_support/numeric_limits.cc (test_epsilon): New.Loren J. Rittle2-0/+18
From-SVN: r57295