aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-10-01dbxout.c (dbxout_fptype_value): Delete.Zack Weinberg2-62/+11
* dbxout.c (dbxout_fptype_value): Delete. (dbxout_type): Emit R3 for all COMPLEX_TYPEs. From-SVN: r72002
2003-10-01output.h (compute_reloc_for_constant): Declare.Alexandre Oliva3-19/+80
* output.h (compute_reloc_for_constant): Declare. * varasm.c (compute_reloc_for_constant): Extract from... (output_addressed_constants): ... here. Adjust all callers. From-SVN: r72000
2003-10-01aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist.John David Anglin3-2/+7
* aclocal.m4: Add hpux10* and hpux11.00 to /dev/zero blacklist. * configure: Rebuilt. From-SVN: r71999
2003-10-01fold-const.c (make_range): When handling unsigned, don't reverse range if ↵Richard Kenner2-4/+9
high bound is zero. * fold-const.c (make_range): When handling unsigned, don't reverse range if high bound is zero. From-SVN: r71991
2003-10-01config/frv/frv.h (PREDICATE_CODES): Added condexec_si_media_operator...Alexandre Oliva2-2/+10
config/frv/frv.h (PREDICATE_CODES): Added condexec_si_media_operator, condexec_sf_add_operator and condexec_sf_conv_operator. Removed condexec_sf_binary_operator and condexec_sf_unary_operator. From-SVN: r71989
2003-10-01aclocal.m4: Add ultrix* to /dev/zero blacklist.John David Anglin3-3/+8
* aclocal.m4: Add ultrix* to /dev/zero blacklist. * configure: Rebuilt. From-SVN: r71987
2003-10-01except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change.Rainer Orth3-6/+17
* except.h (MUST_USE_SJLJ_EXCEPTIONS): Revert 2003-09-23 change. Allow override. * doc/tm.texi (MUST_USE_SJLJ_EXCEPTIONS): Document. From-SVN: r71985
2003-10-01jcf-parse.c (java_parse_file): Write otable and atable.Andrew Haley6-97/+232
2003-10-01 Andrew Haley <aph@redhat.com> * jcf-parse.c (java_parse_file): Write otable and atable. * java-tree.h (atable_methods): New. (atable_decl): New. (atable_syms_decl): New. (enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL, JTI_ATABLE_SYMS_DECL. Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*. (symbol_*type): Rename method_symbol* to symbol*type. (emit_offset_symbol_table): Delete. (emit_symbol_table): New. (get_symbol_table_index): New. (atable_type): New. * expr.c (build_field_ref): Handle flag_indirect_dispatch. (build_known_method_ref): Likewise. (get_symbol_table_index): Rename from get_offset_table_index. Parameterize to allow re-use by differing types of symbol table. (build_invokevirtual): Pass table to get_offset_table_index. * decl.c (java_init_decl_processing): Push types and decls for atable and atable_syyms. * class.c (build_static_field_ref): Handle flag_indirect_dispatch. (make_class_data): Add new fields atable and atable_syms. (emit_symbol_table): Rename from emit_offset_symbol_table. Parameterize to allow re-use by different types of symbol table. (build_symbol_entry): Renamed from build_method_symbols_entry. 2003-10-01 Andrew Haley <aph@redhat.com> * java/lang/natClass.cc (initializeClass): Check for otable and atable. (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite loops using for(). Search superinterfaces. Check for fields as well as methods. Initialize atable as well as otable: check for static methods as well as virtual methods. * java/lang/Class.h (struct _Jv_AddressTable): New. (atable): New. (atable_syms): New. * include/jvm.h (_Jv_equalUtf8Consts): constify. * prims.cc (_Jv_equalUtf8Consts): constify. From-SVN: r71979
2003-10-01linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine before redefining.David S. Miller3-0/+8
* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine before redefining. * config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise. From-SVN: r71973
2003-10-01cris-protos.h, cris.c: Convert to ISO C90 function declarations and definitions.Steven Bosscher3-185/+111
* config/cris/cris-protos.h, config/cris/cris.c: Convert to ISO C90 function declarations and definitions. From-SVN: r71972
2003-10-01* config.gcc (cris-*-linux*): Revert mistaken commit.Nathanael Nerode2-1/+5
From-SVN: r71970
2003-10-01re PR rtl-optimization/11753 (%o7 register being used immediately in the ↵Eric Botcazou2-2/+12
delay slot before a call with -O2) PR optimization/11753 * config/sparc/sparc.md (length attribute) [fcc branch]: Add 1 to the length in the non-V9 case. From-SVN: r71968
2003-09-30dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor ↵Richard Henderson7-16/+88
DWARF_ALT_FRAME_RETURN_COLUMN. * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Honor DWARF_ALT_FRAME_RETURN_COLUMN. * unwind-dw2.c (dwarf_reg_size_table): Expand by one. (_Unwind_GetGR, _Unwind_SetGR): Validate lookup column. (uw_frame_state_for): Return end-of-stack for null return address. * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Add. * config/alpha/alpha.c (alpha_sa_mask): Add r31 for eh_return. (alpha_expand_prologue): Store a zero for it. (alpha_expand_epilogue): Don't reload it. * config/alpha/alpha.h (DWARF_ALT_FRAME_RETURN_COLUMN): New. * config/alpha/linux.h (MD_FALLBACK_FRAME_STATE_FOR): Use column 64 for the sigframe return address. From-SVN: r71967
2003-10-01Daily bump.GCC Administrator1-1/+1
From-SVN: r71963
2003-09-30Add note about PR 6222 fixed by prior patchKaveh Ghazi1-0/+1
From-SVN: r71961
2003-09-30Add PR 9200 to prior patchKaveh Ghazi1-0/+1
From-SVN: r71960
2003-09-30* decl.c (duplicate_decls): Copy DECL_SAVED_INSNS too.Richard Henderson2-1/+8
From-SVN: r71959
2003-09-30Convert to ISO C90 prototypes.Kelley Cook6-11/+16
From-SVN: r71957
2003-09-30cygwin1.c: Convert to ISO C90 prototypes.Kelley Cook4-8/+11
2003-09-30 Kelley Cook <kelleycoook@wideopenwest.com> * config/i386/cygwin1.c: Convert to ISO C90 prototypes. * config/i386/winnt.c: Likewise. * config/i386/cygming.h: Likewise. From-SVN: r71956
2003-09-30fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B for any B.Kazu Hirata2-6/+7
* fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B for any B. From-SVN: r71953
2003-09-30jcf-write.c (generate_bytecode_insns): Implement evaluate-once semantics for ↵Roger Sayle2-1/+36
SAVE_EXPR... * jcf-write.c (generate_bytecode_insns): Implement evaluate-once semantics for SAVE_EXPR, by caching the result in a temporary. From-SVN: r71949
2003-09-30config.gcc (arm*-*-kaos*, [...]): Disable fixproto.Nathanael Nerode2-6/+6
* config.gcc (arm*-*-kaos*, i[34567]86-*-kaos*, powerpc-*-kaos*, powerpcle-*-kaos*, strongarm-*-kaos*): Disable fixproto. From-SVN: r71948
2003-09-30decl.c (pop_binding): Don't mess with nullifying binding->scope here.Gabriel Dos Reis3-8/+33
* decl.c (pop_binding): Don't mess with nullifying binding->scope here. * name-lookup.c: Re-format. (cxx_binding_free): Nullify binding->scope. From-SVN: r71942
2003-09-30* arm/ieee754-sf.S: Tidy formatting.Richard Earnshaw2-9/+14
From-SVN: r71941
2003-09-30Nicolas Pitre <nico@cam.org>Nicolas Pitre2-120/+236
Nicolas Pitre <nico@cam.org> * arm/lib1funcs.asm (ARM_DIV_MOD_BODY) split into ARM_DIV_BODY and ARM_MOD_BODY. (ARM_MOD_BODY): rewritten. added clz insns for __ARM_ARCH__ >= 5. (ARM_DIV_BODY): added clz insns for __ARM_ARCH__ >= 5, added better divisor alignment in the other case. (ARM_DIV2_ORDER): added, finds the order of a single bit divisor. (__divsi3, __udivsi3, __modsi3, __umodsi3): rewritten using the macros above, add fast exits for divisor >= dividend, etc. From-SVN: r71940
2003-09-30Nicolas Pitre <nico@cam.org>Richard Earnshaw3-9/+25
Nicolas Pitre <nico@cam.org> * arm/ieee754-df.S: split compilation of fixunsdfsi from L_fixdfsi target. * arm/t-arm-elf: add _fixunsdfsi target due to the above. From-SVN: r71939
2003-09-30* config.gcc: Default use_fixproto to 'no'.Nathanael Nerode2-127/+103
From-SVN: r71938
2003-09-30re PR rtl-optimization/12345 (internal compiler error: verify_flow_info failed)Richard Sandiford4-27/+85
PR optimization/12345 * config/mips/mips-protos.h (mips_restore_gp): Remove. (mips_gp_save_slot): Declare. * config/mips/mips.c (mips_restore_gp): Remove in favor of... (mips_gp_save_slot): ...this new function. * config/mips/mips.md (exception_receiver): Use mips_gp_save_slot and mips_output_move to generate the output template. (call_internal): Force splitting if TARGET_SPLIT_CALLS. Don't emit a gp load after a noreturn call. Load the gp using a move rather than an exception_receiver pattern. (call_value_internal, call_value_multiple_internal): Likewise. (call_split, call_value_split, call_value_multiple_split): Clobber $28. From-SVN: r71935
2003-09-30Daily bump.GCC Administrator1-1/+1
From-SVN: r71929
2003-09-29re PR debug/12319 (Wrong DW_AT_low_pc and DW_AT_high_pc for ↵Carlo Wood2-0/+19
DW_TAG_inlined_subroutine) PR debug/12319 * cfglayout.c (insn_scope): Use prologue_locator and epilogue_locator; return the outer function scope for pro- and epilogue insns. From-SVN: r71926
2003-09-29objc-act.c (encode_type): Encode INTEGER_TYPEs and REAL_TYPEs based on the ↵Zack Weinberg2-43/+29
bitsize of the type's mode... * objc/objc-act.c (encode_type): Encode INTEGER_TYPEs and REAL_TYPEs based on the bitsize of the type's mode, not the mode directly. From-SVN: r71923
2003-09-29target.c (FFETARGET_ATOF_): Delete.Zack Weinberg3-9/+12
f: * target.c (FFETARGET_ATOF_): Delete. (ffetarget_real1, ffetarget_real2): Use real_from_string directly. * target.h (FFETARGET_REAL_VALUE_FROM_INT_, FFETARGET_REAL_VALUE_FROM_LONGLONG_): Use mode_for_size, don't refer to SFmode or DFmode directly. From-SVN: r71922
2003-09-29trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to initialize ↵Zack Weinberg2-2/+7
dconstp5 and dconstmp5. ada: * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to initialize dconstp5 and dconstmp5. From-SVN: r71921
2003-09-29dwarf2out.c (default_eh_frame_section): Split into ...Rainer Orth3-5/+31
* dwarf2out.c (default_eh_frame_section): Split into ... (named_section_eh_frame_section, collect2_eh_frame_section): ... new functions. * output.h (named_section_eh_frame_section): Declare. (collect2_eh_frame_section): Likewise. From-SVN: r71920
2003-09-29* real.c (real_sqrt): Use get_canonical_qnan directly.Zack Weinberg2-2/+3
From-SVN: r71919
2003-09-29* dwarf2out.c (add_const_value_attribute): Use real_to_target.Zack Weinberg2-18/+3
From-SVN: r71918
2003-09-29varasm.c (assemble_real): Use real_to_target directly...Zack Weinberg2-82/+47
* varasm.c (assemble_real): Use real_to_target directly, calculate the number of significant elements of the result array and write them out in a loop, instead of using a giant switch statement to pick the correct REAL_VALUE_TO_TARGET_* macro. From-SVN: r71917
2003-09-29re PR c++/12175 (Tru64 UNIX bootstrap failure: multiply defined symbols ↵Jan Hubicka6-1/+39
linking libstdc++.so) PR c++/12175 * varasm.c (notice_global_symbol): Discard external symbols. PR optimization/12286 * gcov-io.c (gcov_read_words): Fix memmove call. * profile.c (compute_branch_probabilities): Add extra sanity checks. PR C++/12047 * except.c (build_eh_type_type): Call mark_used on the type. From-SVN: r71916
2003-09-29configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 2.3/SPARC...Rainer Orth4-5/+16
boehm-gc: * configure.in: Remove wildcard from Solaris 8-9/Intel and Solaris 2.3/SPARC, there are no micro versions. Treat Solaris 10 and up alike. * configure: Regenerate. gcc: * config.gcc (sparc-*-solaris2*): Handle Solaris 10 and up like Solaris 7-9. * fixinc/inclhack.def (solaris_widec): Replace solaris2.[0-5]* by wildcards which explicitly match micro versions. * fixinc/fixincl.x: Regenerate. libstdc++-v3: * configure.host: Handle Solaris 2.5 micro releases explicitly. Remove wildcards from Solaris 2.6, 7-9: there were no micro releases. Treat Solaris 10 and up like 7-9. From-SVN: r71914
2003-09-29Remove extra comma in comment.Richard Kenner1-1/+1
From-SVN: r71912
2003-09-29fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B, where B is ↵Kazu Hirata2-0/+28
any power of 2 minus 1. * fold-const.c (fold): Fold (A & ~B) - (A & B) into (A ^ B) - B, where B is any power of 2 minus 1. From-SVN: r71910
2003-09-29* g++.dg/init/array10.C: Add dg-options.Richard Henderson2-0/+5
From-SVN: r71907
2003-09-29* libgcov.c (gcov_exit): Fix two pastos.Jan Hubicka2-2/+6
From-SVN: r71906
2003-09-29h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below ↵Kazu Hirata2-13/+10
to form define_insn_and_split. * config/h8300/h8300.md (*tst_extzv_1_n): Combine with the define_split immediately below to form define_insn_and_split. From-SVN: r71903
2003-09-29h8300.md (*tstsi_variable_bit): New.Kazu Hirata2-0/+41
* config/h8300/h8300.md (*tstsi_variable_bit): New. (*tstsi_variable_bit_qi): Likewise. From-SVN: r71902
2003-09-29cppopts.texi: Use 'dashMP' instead of '-MP' as a cross- reference name.Phil Edwards2-2/+7
2003-09-28 Phil Edwards <phil@codesourcery.com> * doc/cppopts.texi: Use 'dashMP' instead of '-MP' as a cross- reference name. From-SVN: r71894
2003-09-29* g++.dg/opt/unroll1.C: Change unsigned to __SIZE_TYPE__.Eric Botcazou2-1/+7
From-SVN: r71891
2003-09-29Daily bump.GCC Administrator1-1/+1
From-SVN: r71888
2003-09-28c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line ↵Richard Henderson10-35/+41
separately. * c-decl.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately. f/ * com.c (duplicate_decls): Copy DECL_SOURCE_LOCATION, not file and line separately. java/ * check-init.c (check_init): Save and restore input_location instead of file and line separately. * decl.c (java_expand_body): Likewise. * jcf-write.c (generate_bytecode_insns): Likewise. * parse.y (safe_layout_class): Likewise. * jcf-parse.c (read_class, parse_class_file): Likewise. (java_parse_file): Use %H for warning locator. From-SVN: r71886
2003-09-28s390.md ("*adddi3_carry1_cc", [...]): New insns.Ulrich Weigand2-30/+92
* config/s390/s390.md ("*adddi3_carry1_cc", "*adddi3_carry1_cconly", "*adddi3_carry2_cc", "*adddi3_carry2_cconly", "*subdi3_borrow_cc", "*subdi3_borrow_cconly"): New insns. ("*addsi3_sub", "*subsi3_sub"): Remove. ("*subdi3_cc", *subdi3_cconly"): Use only if TARGET_64BIT. ("*subsi3_cc"): Fix op_type attribute. From-SVN: r71885