aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
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-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-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-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 Administrator2-2/+2
From-SVN: r57301
2002-09-19Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r57300.3
2002-09-18ifcvt.c (noce_process_if_block): Correctly detect X modified with INSN_B ↵Richard Henderson3-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
2002-09-18calls.c (store_one_arg): Rename default_align to parm_align; always adjust ↵Richard Henderson2-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
2002-09-18toplev.c (backend_init): Move init_real_once invocation ...Richard Henderson2-3/+10
* toplev.c (backend_init): Move init_real_once invocation ... (do_compile): ... here. From-SVN: r57291
2002-09-18sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove ↵Richard Henderson2-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
2002-09-18* real.c (round_for_format): Collect sticky as unsigned long, not bool.Richard Henderson2-3/+7
From-SVN: r57289
2002-09-19rs6000.md: (floatdisf2): Rename to floatdisf2_internal1.Alan Modra2-4/+55
* config/rs6000/rs6000.md: (floatdisf2): Rename to floatdisf2_internal1. (floatdisf2): New define_expand. (floatdisf2_internal2): Likewise. From-SVN: r57288
2002-09-18real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool.Richard Henderson2-2/+7
* real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool. From-SVN: r57284
2002-09-18s390.c (s390_address_cost): New function.Ulrich Weigand4-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
2002-09-18stor-layout.c (place_field): Handle alignment of whole structures when MSVC ↵Douglas B Rupp4-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
2002-09-18re PR rtl-optimization/7967 (optimization produces wrong code (ARM))Richard Earnshaw2-1/+8
PR optimization/7967 * arm.md (ne_zeroextractsi): Add clobber of the condition code register. From-SVN: r57278
2002-09-18decl.c (grokdeclarator): Use assert, not internal_error.Nathan Sidwell4-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
2002-09-18s390.c: Follow spelling convention.Kazu Hirata14-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
2002-09-18rs6000.c (rs6000_emit_move): Handle V1DImode moves.Nick Clifton4-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
2002-09-18Daily bump.GCC Administrator2-2/+2
From-SVN: r57273
2002-09-18Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r57272.3
2002-09-18ABOUT-GCC-NLS: Remove reference to enquire...Zack Weinberg2-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
2002-09-17alpha.c: Follow spelling conventions.Kazu Hirata15-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
2002-09-17Sam Figueroa's change to add ASM_OUTPUT_ALIGN_WITH_NOP.Samuel Figueroa4-0/+21
From-SVN: r57261
2002-09-17Do not foward a branch to just after a loop exit beforeDale Johannesen3-0/+33
loop optimization; this broke doloop detection. From-SVN: r57260
2002-09-17re PR java/7950 (jc1 parses files ending in 0x0d incorrectly)Tom Tromey2-1/+6
* lex.c (java_read_unicode_collapsing_terminators): Handle case where \r appears at EOF. Fixes PR java/7950. From-SVN: r57258
2002-09-17(output_return_instruction): Do not writeback the stack pointer when it is ↵Nick Clifton2-1/+18
being loaded. (output_return_instruction): Do not writeback the stack pointer when it is being loaded. (arm_output_epilogue): Likewise. From-SVN: r57256
2002-09-17optabs.c (prepare_cmp_insn): Let emit_library_call_value generate a pseudo ↵Kazu Hirata2-30/+23
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
2002-09-17* config/ia64/elf.h: Remove CPP_PREDEFINES.Steve Ellcey2-6/+4
From-SVN: r57253
2002-09-17New tests for ObjC typecheckingNicola Pero7-0/+332
From-SVN: r57251
2002-09-17Fixed ObjC typechecking, particularly case with protocolsNicola Pero3-48/+221
From-SVN: r57250
2002-09-17machmode.def (V1DImode): New mode.Nick Clifton6-3/+22
* 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
2002-09-17Extended/updated objc documentation on constant string classesNicola Pero2-11/+34
From-SVN: r57247
2002-09-17trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP.Richard Henderson6-37/+30
* 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
2002-09-17Fix typo.Richard Henderson1-1/+1
From-SVN: r57244
2002-09-17cfgrtl.c (flow_delete_block_noexpunge): Delete orphaned NOTE_INSN_LOOP_CONT ↵Roger Sayle2-2/+9
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
2002-09-17Add expected errorNathan Sidwell1-1/+2
From-SVN: r57242
2002-09-17Daily bump.GCC Administrator3-3/+3
From-SVN: r57241
2002-09-17Makefile.am (CFILES): Add cxxfilt.c.Zack Weinberg3-338/+15
binutils: * Makefile.am (CFILES): Add cxxfilt.c. (cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS). (cxxfilt_LDADD): Delete. Remove all references to underscore.c. Regen dependencies. * configure.in: Define TARGET_PREPENDS_UNDERSCORE in config.h from $UNDERSCORE, rather than AC_SUBSTing it. * binutils/cxxfilt.c: Moved here from gcc/cp, minor adjustments to fit into binutils framework. * configure, config.in, Makefile.in, doc/Makefile.in: Regenerate. gcc/cp: * Make-lang.in: Remove all references to the demangler. * cxxfilt.c: Moved to binutils. From-SVN: r57235
2002-09-16expr.c (emit_block_move): Set memory block size as appropriate for the copy.Richard Henderson2-0/+15
* expr.c (emit_block_move): Set memory block size as appropriate for the copy. From-SVN: r57233
2002-09-16re PR fortran/3924 (g77 generates code which is rejected by GAS if COFF ↵Richard Henderson2-17/+5
debugging info is requested) PR fortran/3924 * sdbout.c (sdbout_symbol): Don't handle offsets from a symbol. From-SVN: r57232