summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* real.c (real_hash): New.Richard Henderson2002-09-209-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
* hpux.h (STARTFILE_SPEC): Modify.Steve Ellcey2002-09-202-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
* i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and ↵Jakub Jelinek2002-09-202-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
* * gcc.c-torture/execute/20020720-1.x: Skip test on ARM-based systems.Richard Earnshaw2002-09-202-1/+7
| | | | From-SVN: r57350
* 990208-1.x: XFAIL this at -O3 for ARM-based systems.Richard Earnshaw2002-09-202-1/+6
| | | | | | | * gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based systems. From-SVN: r57349
* Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>Jeroen Dobbelaere2002-09-202-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
* real.c (do_fix_trunc): Static.Richard Henderson2002-09-202-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
* real.h (enum real_value_class, [...]): Move from real.c.Richard Henderson2002-09-205-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
* Daily bump.GCC Administrator2002-09-207-7/+7
| | | | From-SVN: r57342
* real.h (UNKNOWN_FLOAT_FORMAT, [...]): Move ...Richard Henderson2002-09-1913-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
* mmix.md ("negdf2"): Rewrite.Hans-Peter Nilsson2002-09-202-4/+18
| | | | | | | * config/mmix/mmix.md ("negdf2"): Rewrite. ("*expanded_negdf2"): New. From-SVN: r57332
* * gcc.c-torture/execute/ieee/mzero3.c: New test.Hans-Peter Nilsson2002-09-202-0/+53
| | | | From-SVN: r57331
* cp-demangle.c (demangling_new): Cast 0 to enum.John David Anglin2002-09-209-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
* Mention removed duplicate cxxfilt settingHans-Peter Nilsson2002-09-201-1/+2
| | | | From-SVN: r57326
* scanasm.exp (scan-assembler-dem, [...]): Adjust for c++filt moved to binutils.Hans-Peter Nilsson2002-09-202-14/+15
| | | | | | | * lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not): Adjust for c++filt moved to binutils. From-SVN: r57325
* libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding ↵Alexandre Oliva2002-09-202-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
* fix subreg optimization bug introduced 2002-05-25Jim Wilson2002-09-192-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
* * gcc.dg/20020312-2.c: Update for darwin.Geoffrey Keating2002-09-192-4/+9
| | | | From-SVN: r57320
* Remove creation of invalid subreg. PR 7705, 7339, 7720.Dale Johannesen2002-09-192-0/+9
| | | | From-SVN: r57315
* Update email addresses for bugs and patches.Nick Clifton2002-09-192-1/+6
| | | | From-SVN: r57313
* ClassLoader.java (resolveClass0): Set cause for newly-created exception.Tom Tromey2002-09-192-11/+23
| | | | | | | * java/lang/ClassLoader.java (resolveClass0): Set cause for newly-created exception. From-SVN: r57310
* s390.c (addr_generation_dependency_p): Handle SUBREG and STRICT_LOW_PART ↵Ulrich Weigand2002-09-193-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
* cp-tree.h: New prototype for walk_vtabls().Devang Patel2002-09-194-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
* hpux.h (CTORS_SECTION_ASM_OP): New.Steve Ellcey2002-09-192-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
* fp-bit.c: Follow spelling conventions.Kazu Hirata2002-09-1922-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
* sh.h (UNSPEC_GOTOFF_P): Define.Stephen Clarke2002-09-192-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
* Daily bump.GCC Administrator2002-09-196-6/+6
| | | | From-SVN: r57301
* Daily bump.GCC Administrator2002-09-191-1/+1
| | | | | | [[Split portion of a mixed commit.]] From-SVN: r57300.3
* * testsuite/18_support/numeric_limits.cc (test_epsilon): New.Loren J. Rittle2002-09-192-0/+18
| | | | From-SVN: r57295
* ifcvt.c (noce_process_if_block): Correctly detect X modified with INSN_B ↵Richard Henderson2002-09-183-21/+35
| | | | | | | | | | | | | 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
* calls.c (store_one_arg): Rename default_align to parm_align; always adjust ↵Richard Henderson2002-09-182-12/+25
| | | | | | | | | 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
* toplev.c (backend_init): Move init_real_once invocation ...Richard Henderson2002-09-182-3/+10
| | | | | | | * toplev.c (backend_init): Move init_real_once invocation ... (do_compile): ... here. From-SVN: r57291
* sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove ↵Richard Henderson2002-09-182-6/+12
| | | | | | | | | 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
* * real.c (round_for_format): Collect sticky as unsigned long, not bool.Richard Henderson2002-09-182-3/+7
| | | | From-SVN: r57289
* rs6000.md: (floatdisf2): Rename to floatdisf2_internal1.Alan Modra2002-09-192-4/+55
| | | | | | | | | * config/rs6000/rs6000.md: (floatdisf2): Rename to floatdisf2_internal1. (floatdisf2): New define_expand. (floatdisf2_internal2): Likewise. From-SVN: r57288
* real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool.Richard Henderson2002-09-182-2/+7
| | | | | | | * real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool. From-SVN: r57284
* s390.c (s390_address_cost): New function.Ulrich Weigand2002-09-184-11/+28
| | | | | | | | | * 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
* stor-layout.c (place_field): Handle alignment of whole structures when MSVC ↵Douglas B Rupp2002-09-184-44/+203
| | | | | | | | | | | | | | | | | | | 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
* * testsuite/18_support/numeric_limits.cc: Add -mieee for alpha.Richard Henderson2002-09-182-0/+6
| | | | From-SVN: r57280
* re PR rtl-optimization/7967 (optimization produces wrong code (ARM))Richard Earnshaw2002-09-182-1/+8
| | | | | | | | PR optimization/7967 * arm.md (ne_zeroextractsi): Add clobber of the condition code register. From-SVN: r57278
* decl.c (grokdeclarator): Use assert, not internal_error.Nathan Sidwell2002-09-184-18/+19
| | | | | | | | | | 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
* s390.c: Follow spelling convention.Kazu Hirata2002-09-1814-56/+72
| | | | | | | | | | | | | | | | | | * 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
* Matcher.java, [...]: Merge with classpath, new files.Michael Koch2002-09-188-7/+272
| | | | | | | | | | | | | | | | | | 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
* rs6000.c (rs6000_emit_move): Handle V1DImode moves.Nick Clifton2002-09-184-0/+24
| | | | | | | | * 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
* Daily bump.GCC Administrator2002-09-186-6/+6
| | | | From-SVN: r57273
* Daily bump.GCC Administrator2002-09-181-1/+1
| | | | | | [[Split portion of a mixed commit.]] From-SVN: r57272.3
* ABOUT-GCC-NLS: Remove reference to enquire...Zack Weinberg2002-09-182-8/+10
| | | | | | | * ABOUT-GCC-NLS: Remove reference to enquire, and out-of-date statement that the only translation is to en_UK. From-SVN: r57267
* alpha.c: Follow spelling conventions.Kazu Hirata2002-09-1715-45/+64
| | | | | | | | | | | | | | | | | | | * 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
* Sam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.Samuel Figueroa2002-09-174-0/+21
| | | | From-SVN: r57261
* Do not foward a branch to just after a loop exit beforeDale Johannesen2002-09-173-0/+33
| | | | | | loop optimization; this broke doloop detection. From-SVN: r57260