aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2005-05-27[multiple changes]Richard Guenther4-14/+94
2005-05-18 Richard Guenther <rguenth@gcc.gnu.org> * tree-inline.c (copy_body_r): Manually fold *& to deal with ADDR_EXPRs with mismatched types for now. 2005-05-17 Richard Guenther <rguenth@gcc.gnu.org> * gimplify.c (fold_indirect_ref_rhs): New function. (gimplify_modify_expr_rhs): Use it instead of pessimistic fold_indirect_ref. 2005-05-15 Richard Guenther <rguenth@gcc.gnu.org> * fold-const.c (fold_indirect_ref_1): Add type argument; make sure the resulting expression is of this type. (build_fold_indirect_ref, fold_indirect_ref): Adjust callers. From-SVN: r100267
2005-05-27re PR tree-optimization/21658 (CCP does not propagate ADDR_EXPR far enough.)Kazu Hirata4-2/+35
gcc/ PR tree-optimization/21658 * tree-ssa-ccp.c (ccp_fold): Call fold_binary instead of fold_binary_to_constant. Likewise, call fold_unary instead of fold_unary_to_constant. testsuite/ PR tree-optimization/21658 * gcc.dg/tree-ssa/pr21658.c: New. From-SVN: r100266
2005-05-27re PR c++/21455 (type 'X' is not a base type for type 'X' in pointer to ↵Nathan Sidwell4-27/+52
member conversion) cp: PR c++/21455 * typeck.c (get_delta_difference): Cope with incomplete but equal classes. Reorder if. testsuite: PR c++/21455 * g++.dg/inherit/ptrmem3.C: New. From-SVN: r100258
2005-05-27re PR c++/21681 (ICE with nested types in template)Nathan Sidwell4-0/+34
cp: PR c++/21681 * parser.c (cp_parser_late_parsing_for_member): Disable access checking for template functions. testsuite: PR c++/21681 * g++.dg/parse/template16.C: New. From-SVN: r100252
2005-05-27vec.h: Implement integral type vector specialization.Nathan Sidwell6-62/+125
* vec.h: Implement integral type vector specialization. (VEC_T): Define a non-GTY structure. (VEC_T_GTY): Define a GTY structure. (VEC_TA): Rename to ... (VEC_TA_GTY): ... here. (DEF_VEC_I, DEF_VEC_ALLOC_I): New. (DEF_VEC_P, DEF_VEC_ALLOC_P): Adjust. (DEF_VEC_FUNC_P, DEF_VEC_ALLOC_FUNC_P): New, broken out of DEF_VEC_P and DEF_VEC_ALLOC_P. (DEF_VEC_O, DEF_VEC_ALLOC_O): Adjust. (DEF_VEC_FUNC_O, DEF_VEC_ALLOC_FUNC_O): New, broken out of DEF_VEC_O and DEF_VEC_ALLOC_O. * global.c: Use DEF_VEC_I, DEF_VEC_ALLOC_I. * lambda-code.c: Likewise. * tree-into-ssa.c: Likewise. * tree-ssa-live.c: Likewise. From-SVN: r100251
2005-05-27tree-into-ssa.c (update_ssa): Ensure that the operand cache is up-to-date.Kazu Hirata3-9/+20
* tree-into-ssa.c (update_ssa): Ensure that the operand cache is up-to-date. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Call update_stmt_if_modified before calling update_ssa. From-SVN: r100250
2005-05-27t-rtems: Remove roe multilib variant.Ralf Corsepius2-35/+4
2005-05-27 Ralf Corsepius <ralf.corsepius@rtems.org> * config/rs6000/t-rtems: Remove roe multilib variant. From-SVN: r100249
2005-05-27* gcc.dg/setjmp-2.c: Only run in 32-bit.Andreas Jaeger2-0/+3
From-SVN: r100248
2005-05-27Correct Martin Loewis's last name ("oe" was "o" with umlaut) mangled byRanjit Mathew1-1/+1
my editor in the previous commit. From-SVN: r100247
2005-05-27re PR java/19870 (gcj -C doesn't generate accessors for private members ↵Ranjit Mathew4-156/+309
across nested class boundaries) PR java/19870. * java-tree.h (OUTER_FIELD_ACCESS_IDENTIFIER_P): Rename to NESTED_FIELD_ACCESS_IDENTIFIER_P. (FIELD_INNER_ACCESS): Rename to FIELD_NESTED_ACCESS. (FIELD_INNER_ACCESS_P): Rename to FIELD_NESTED_ACCESS_P. * jcf-write.c (generate_classfile): Use NESTED_FIELD_ACCESS_IDENTIFIER_P instead of OUTER_FIELD_ACCESS_IDENTIFIER_P. * parse.y (build_outer_field_access): Rename to build_nested_field_access. Support static fields and outer-to-inner class accesses. (outer_field_access_p): Rename to nested_field_access_p. Support static fields and generalise to outer-to-inner class and sibling inner class accesses. (outer_field_expanded_access_p): Rename to nested_field_expanded_access_p and support static fields. (outer_field_access_fix): Rename to nested_field_access_fix and support static fields. (build_outer_field_access_expr): Rename to build_nested_field_access_expr and support static fields. (build_outer_field_access_methods): Rename to build_nested_field_access_methods and support static fields. For static fields, generate accessors without class instance parameters. (build_outer_field_access_method): Rename to build_nested_field_access_method and support static fields. (build_outer_method_access_method): Use NESTED_FIELD_ACCESS_IDENTIFIER_P instead of OUTER_FIELD_ACCESS_IDENTIFIER_P. (resolve_expression_name): Consider static field accesses across nested classes. (resolve_qualified_expression_name): Likewise. (java_complete_lhs): Use nested_field_access_fix instead of outer_field_access_fix. (patch_unary_op): Rename outer_field_flag to nested_field_flag. Use nested_field_expanded_access_p instead of outer_field_expanded_access_p. Use nested_field_access_fix instead of outer_field_access_fix. (check_thrown_exceptions): Use NESTED_FIELD_ACCESS_IDENTIFIER_P instead of OUTER_FIELD_ACCESS_IDENTIFIER_P. From-SVN: r100246
2005-05-27i386-sse-8.c: Run test on all archs.Andreas Jaeger3-6/+9
* gcc.dg/i386-sse-8.c: Run test on all archs. * gcc.dg/2002122-2.c: Fix compiler flags. From-SVN: r100244
2005-05-27isa-field-1.m: Only run on darwin.Mike Stump4-3/+9
* objc.dg/isa-field-1.m: Only run on darwin. * objc.dg/lookup-1.m: Likewise. * objc.dg/try-catch-8.m: Likewise. From-SVN: r100242
2005-05-27comp-types-8.m, [...]: New.Ziemowit Laski22-0/+683
* objc.dg/comp-types-8.m, objc.dg/encode-6.m, objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m, objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m, objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m, objc.dg/method-19.m, objc.dg/next-runtime-1.m, objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m, objc.dg/stubify-2.m, objc.dg/super-class-4.m, objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m, objc.dg/try-catch-6.m, objc.dg/try-catch-7.m, objc.dg/try-catch-8.m: New. From-SVN: r100241
2005-05-27re PR tree-optimization/9814 (gcc fails to optimise if (l&2) l|=2 away)Roger Sayle4-1/+274
PR tree-optimization/9814 * ifcvt.c (noce_emit_move_insn): If we fail to recognize the move instruction, add the necessary clobbers by re-expanding the RTL for arithmetic operations via optab.c's expand_unop/expand_binop. (noce_try_bitop): New function to optimize bit manipulation idioms of the form "if (x & C) x = x op C" and "if (!(x & C) x = x op C". (noce_process_if_block): Call noce_try_bitop. * gcc.dg/pr9814-1.c: New test case. From-SVN: r100240
2005-05-27comp-types-8.m, [...]: New.Ziemowit Laski1-0/+13
* objc.dg/comp-types-8.m, objc.dg/encode-6.m, objc.dg/extra-semi.m, objc.dg/fix-and-continue-2.m, objc.dg/isa-field-1.m, objc.dg/lookup-1.m, objc.dg/method-15.m, objc.dg/method-16.m, objc.dg/method-17.m, objc.dg/method-18.m, objc.dg/method-19.m, objc.dg/next-runtime-1.m, objc.dg/no-extra-load.m, objc.dg/pragma-1.m, objc.dg/stubify-1.m, objc.dg/stubify-2.m, objc.dg/super-class-4.m, objc.dg/super-dealloc-1.m, objc.dg/super-dealloc-2.m, objc.dg/try-catch-6.m, objc.dg/try-catch-7.m, objc.dg/try-catch-8.m: New. From-SVN: r100239
2005-05-27reg-stack.c (convert_regs_entry, [...]): Delete prototypes.Roger Sayle2-121/+117
* reg-stack.c (convert_regs_entry, convert_regs_exit, convert_regs_1, convert_regs_2, convert_regs): Delete prototypes. (reg_to_stack): Move to end of the file. Initialize the per basic block information here, instead of... (convert_regs_entry): Here. (convert_regs): Change unused return type to void. From-SVN: r100238
2005-05-27Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100236.2
2005-05-27c-pch.c, [...]: Update copyright.Kazu Hirata13-12/+20
* c-pch.c, timevar.c, timevar.h, unwind-compat.c, unwind-dw2-fde-compat.c, unwind-dw2-fde.c, config/mmix/mmix.h, config/rs6000/eabispe.h, config/rs6000/lynx.h, config/sh/elf.h, config/sh/symbian-pre.h, config/sparc/sparc-protos.h: Update copyright. From-SVN: r100234
2005-05-26darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers for ↵Mike Stump2-0/+7
Objective-C++. * darwin.h (ASM_OUTPUT_LABELREF): Handle quoted non-lazy pointers for Objective-C++. From-SVN: r100233
2005-05-27Fix last patch.Andreas Jaeger1-2/+2
From-SVN: r100232
2005-05-26Fix last checkinAndreas Jaeger1-3/+2
From-SVN: r100230
2005-05-26obj-c++.exp (obj-c++_target_compile): Declare global variable, remove ↵Janis Johnson2-3/+9
extraneous semicolons. * lib/obj-c++.exp (obj-c++_target_compile): Declare global variable, remove extraneous semicolons. From-SVN: r100229
2005-05-26comp-types-12.mm: New.Ziemowit Laski4-0/+64
[gcc/testsuite/ChangeLog] 2005-05-26 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/comp-types-12.mm: New. * objc.dg/comp-types-11.m: New. * objc.dg/selector-4.m: New. From-SVN: r100226
2005-05-26re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64)Andreas Jaeger56-110/+145
PR testsuite/20772 * g++.old-deja/g++.ext/attrib1.C, g++.old-deja/g++.ext/attrib2.C, g++.old-deja/g++.ext/attrib3.C, g++.old-deja/g++.other/store-expr1.C, g++.old-deja/g++.other/store-expr2.C, g++.dg/opt/longbranch2.C, gcc.dg/20000609-1.c, gcc.dg/20000720-1.c, gcc.dg/20011107-1.c, gcc.dg/20011119-1.c, gcc.dg/20020108-1.c, gcc.dg/20020122-2.c, gcc.dg/20020122-3.c, gcc.dg/20020201-3.c, gcc.dg/20020206-1.c, gcc.dg/20020218-1.c, gcc.dg/20020310-1.c, gcc.dg/20020411-1.c, gcc.dg/20020418-2.c, gcc.dg/20020426-1.c, gcc.dg/20020426-2.c, gcc.dg/20020517-1.c, gcc.dg/20020523-1.c, gcc.dg/20020523-2.c, gcc.dg/20020729-1.c, gcc.dg/20030204-1.c, gcc.dg/20030826-2.c, gcc.dg/20030926-1.c, gcc.dg/20031202-1.c, gcc.dg/980312-1.c, gcc.dg/980313-1.c, gcc.dg/990424-1.c, gcc.dg/990524-1.c, gcc.dg/991230-1.c, gcc.dg/i386-387-1.c, gcc.dg/i386-387-2.c, gcc.dg/i386-387-3.c, gcc.dg/i386-387-4.c, gcc.dg/i386-387-5.c, gcc.dg/i386-387-6.c, gcc.dg/i386-bitfield1.c, gcc.dg/i386-bitfield2.c, gcc.dg/i386-loop-1.c, gcc.dg/i386-loop-2.c, gcc.dg/i386-loop-3.c, gcc.dg/i386-pic-1.c, gcc.dg/i386-regparm.c, gcc.dg/i386-signbit-1.c, gcc.dg/i386-signbit-2.c, gcc.dg/i386-sse-5.c, gcc.dg/i386-sse-8.c, gcc.dg/i386-unroll-1.c, gcc.dg/tls/opt-1.c, gcc.dg/tls/opt-2.c, gcc.dg/unroll-1.c: Handle 32-bit x86-64 compilation. From-SVN: r100225
2005-05-26ieee.exp: Set float-store for 32-bit x86-64 compilation.Andreas Jaeger2-1/+9
* gcc.c-torture/execute/ieee/ieee.exp: Set float-store for 32-bit x86-64 compilation. From-SVN: r100224
2005-05-26tree-ssa-forwprop.c (forward_propagate_addr_expr): See through ADDR_EXPR in ↵Richard Guenther2-3/+12
finding place to propagate into. * tree-ssa-forwprop.c (forward_propagate_addr_expr): See through ADDR_EXPR in finding place to propagate into. From-SVN: r100223
2005-05-26decl.c (GCJ_BINARYCOMPAT_ADDITION, [...]): Removed.Bryce McKinlay2-20/+44
2005-05-26 Bryce McKinlay <mckinlay@redhat.com> * decl.c (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed. (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER, MINOR_BINARYCOMPAT_ABI_VERSION): New. (GCJ_CURRENT_BC_ABI_VERSION): Use new method to calculate version ID. (parse_version): Calculate version ID using new method. Use bit-flags for flag_indirect_dispatch and flag_bootstrap_classes. 2005-05-26 Bryce McKinlay <mckinlay@redhat.com> * include/jvm.h (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER): New. (GCJ_BINARYCOMPAT_ADDITION, GCJ_BOOTSTRAP_LOADER_ADDITION): Removed. (OLD_GCJ_40_BC_ABI_VERSION): Renamed. Old-style version ID for BC-ABI classes. (GCJ_CXX_ABI_VERSION): Renamed from GCJ_ABI_VERSION. (GCJ_40_BC_ABI_VERSION): New. Calculate version IDs using new method. (_Jv_CheckABIVersion): Check for both old and new style version IDs. (_Jv_ClassForBootstrapLoader): Use FLAG_BOOTSTRAP_LOADER. From-SVN: r100222
2005-05-26re PR testsuite/20772 (x86 tests should run on both i?86 and x86_64)Andreas Jaeger28-46/+77
PR testsuite/20772 * gfortran.dg/promotion.f90, gcc.misc-tests/i386-pf-3dnow-1.c, gcc.misc-tests/i386-pf-athlon-1.c, gcc.misc-tests/i386-pf-none-1.c, gcc.misc-tests/i386-pf-sse-1.c, g++.dg/opt/mmx1.C, g++.dg/other/big-struct.C, g++.dg/abi/bitfield3.C, g++.dg/abi/bitfield8.C, g++.dg/abi/bitfield9.C, g++.dg/abi/empty7.C, g++.dg/abi/empty9.C, g++.dg/abi/layout4.C, g++.dg/abi/thunk1.C, g++.dg/abi/thunk2.C, g++.dg/abi/vbase11.C, g++.dg/abi/vthunk2.C, g++.dg/abi/vthunk3.C, g++.dg/ext/attrib8.C: Run also on x86_64 compiling 32-bit x86 programs. * g++.dg/opt/reg-stack4.C, g++.dg/eh/simd-1.C, g++.dg/eh/simd-1.C, gcc.dg/setjmp-2.c, gcc.dg/short-compare-1.c, gcc.dg/short-compare-2.c, gcc.target/i386/asm-1.c: Handle 32-bit x86-64 compilation. * g++.dg/warn/register-var-1.C, g++.dg/charset/asm2.c: Run also on x86_64. * gcc.dg/i386-pentium4-not-mull.c: Change option handling to use effective-target ilp32. From-SVN: r100220
2005-05-26data.c, [...]: Fix comment typos.Kazu Hirata10-11/+17
* data.c, parse.c, trans-array.c, trans-decl.c, trans-intrinsic.c, trans-stmt.c, trans-types.c, trans.c, trans.h: Fix comment typos. Follow spelling conventions. From-SVN: r100219
2005-05-26c-common.c, [...]: Fix comment typos.Kazu Hirata50-70/+90
* c-common.c, c-parser.c, cfgbuild.c, cfghooks.c, cfghooks.h, cfgrtl.c, cgraphunit.c, ddg.c, expr.h, gcse.c, ggc-page.c, ggc-zone.c, gimplify.c, ipa-inline.c, longlong.h, targhooks.c, tree-flow-inline.h, tree-pass.h, tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c, tree-vect-analyze.c, tree-vect-transform.c, tree-vectorizer.c, tree.c, config/arm/arm.c, config/bfin/bfin.c, config/frv/frv.c, config/frv/frv.md, config/i386/i386.c, config/i386/sse.md, config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, config/mcore/mcore.c, config/mips/mips.c, config/mips/mips.md, config/rs6000/darwin-ldouble.c, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/sh/sh.c, config/sh/sh.md, config/sh/ushmedia.h, config/sparc/sparc.c, config/sparc/sparc.md, config/stormy16/stormy-abi: Fix comment typos. Follow spelling conventions. * doc/invoke.texi, doc/tm.texi, doc/tree-ssa.texi: Fix typos. Follow spelling conventions. From-SVN: r100218
2005-05-26ext_ins.c: New test for testing the generation of MIPS32/64 rev 2 ext/ins ↵David Ung6-5/+126
instructions. * gcc.target/mips/ext_ins.c: New test for testing the generation of MIPS32/64 rev 2 ext/ins instructions. * config/mips/mips.c (mips_use_ins_ext_p): New helper function that determines whether the MIPS32/64 R2 ext/ins should be used. * config/mips/mips.h (ISA_HAS_EXT_INS): New macro. * config/mips/mips.md (extzv): Changed predicate for operand to nonimmediate_operand. Add code to generate insn patterns for extzvsi and extzvdi. (extzv<mode>): New pattern to match mips32/64 r2 ext insn. (insv): Similarly for insertion. (insv<mode>): Similarly. From-SVN: r100212
2005-05-26unsigned.tree: Use gimple instead of nonexisting generic dump.Andreas Jaeger2-3/+8
* treelang/compile/unsigned.tree: Use gimple instead of nonexisting generic dump. From-SVN: r100208
2005-05-26re PR translation/21768 (ICE in error message due to violation of coding ↵Volker Reichelt2-4/+9
conventions) PR c++/21768 * pt.c (redeclare_class_template): Change error message according to coding conventions. From-SVN: r100206
2005-05-26* call.c (build_op_delete_call): Fix quoting in error message.Volker Reichelt2-1/+5
From-SVN: r100201
2005-05-26simplify-rtx.c (avoid_constant_pool_reference): Support offsetted addresses ↵Paolo Bonzini2-14/+34
in the constant pool. 2005-05-26 Paolo Bonzini <bonzini@gnu.org> * simplify-rtx.c (avoid_constant_pool_reference): Support offsetted addresses in the constant pool. From-SVN: r100198
2005-05-26df.h (DF_SUBREGS, [...]): New.Paolo Bonzini3-6/+71
2005-05-26 Paolo Bonzini <bonzini@gnu.org> * df.h (DF_SUBREGS, df_local_def_available_p, df_insn_modified_p): New. * df.c (DF_SUBREGS, df_local_def_available_p, df_insn_modified_p): New. From-SVN: r100197
2005-05-26re PR target/21716 (ICE in reg-stack.c's swap_rtx_condition)Jakub Jelinek2-5/+17
PR target/21716 * reg-stack.c (swap_rtx_condition): Don't crash if %ax user was not found in the basic block and last insn in the basic block is not INSN_P. Remove explicit unspec numbers that are no longer valid from comments. From-SVN: r100196
2005-05-26tree-vect-transform.c (vectorizable_operation): Try word_mode vectorization ↵Paolo Bonzini4-3/+22
if UNITS_PER_WORD == UNITS_PER_SIMD_WORD... 2005-05-26 Paolo Bonzini <bonzini@gnu.org> * tree-vect-transform.c (vectorizable_operation): Try word_mode vectorization if UNITS_PER_WORD == UNITS_PER_SIMD_WORD, even if a vector mode is available. testsuite/ChangeLog: 2005-05-26 Paolo Bonzini <bonzini@gnu.org> * gcc.dg/vect/vect-7.c: Remove xfail for alpha. From-SVN: r100195
2005-05-26* gcc.dg/tree-ssa/ssa-pre-14.c (foo): Use correct type for strlen.Andreas Jaeger2-31/+35
From-SVN: r100194
2005-05-26re PR fortran/17283 (UNPACK issues)Thomas Koenig2-0/+10
2005-05-26 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/17283 * gfortran.fortran-torture/execute/intrinsic_unpack.f90: Test callee-allocated memory with write statements. 2005-05-26 Thomas Koenig <Thomas.Koenig@online.de> PR libfortran/17283 * intrinsics/unpack_generic.c: Fix name of routine on top. Update copyright years. (unpack1): Remove const from return array descriptor. rs: New variable, for calculating return sizes. Populate return array descriptor if ret->data is NULL. From-SVN: r100189
2005-05-26re PR middle-end/21709 (ICE on compile-time complex NaN)Roger Sayle4-21/+41
PR middle-end/21709 * fold-const.c (const_binop): Check for division by zero during complex division. * gcc.dg/pr21709-1.c: New test case. From-SVN: r100188
2005-05-26reload1.c (verify_initial_elim_offsets): Add braces to avoid having a ↵Ian Lance Taylor2-8/+15
declaration after a statement. * reload1.c (verify_initial_elim_offsets): Add braces to avoid having a declaration after a statement. From-SVN: r100187
2005-05-26opt-functions.awk (var_type): New function.Richard Sandiford43-413/+240
* opt-functions.awk (var_type): New function. (var_set): Use CLVC_STRING if var_type returns "const char *". * opth-gen.awk: Use var_type to find out the types of variables. Don't print comments above each "extern" definition. * optc-gen.awk: Use var_type in the same way. * opts.h (cl_var_cond): Rename to... (cl_var_type): ...this. Add CLVC_STRING. (cl_option): Make "flag_var" a "void *" pointer. Replace "var_cond" with "var_type". * opts.c (handle_option, option_enabled): Update after above name change. Cast flag_var before using it. Handle CLVC_STRING. * config/alpha/alpha.h (alpha_tls_size): Delete. * config/alpha/alpha.c (alpha_tls_size, alpha_cpu_string) (alpha_tune_string, alpha_tp_string, alpha_fprm_string) (alpha_fptm_string, alpha_mlat_string): Delete. (alpha_handle_option): Don't set the above variables here. Use the integer argument to check the validity of -mtls-size=. * config/alpha/alpha.opt (mcpu=, mtune=, mfp-rounding-mode=) (mfp-trap-mode=, mtrap-precision=, mmemory-latency=): Add Var()s. (mtls-size=): Likewise. Convert to a UInteger and initialize the variable to 32. * config/arc/arc.c (arc_cpu_string, arc_text_string) (arc_data_string, arc_rodata_string): Delete. (arc_handle_option): Don't set the above variables here. * config/arc/arc.opt (mcpu=, mtext=, mdata=, mrodata=): Add Var()s and initialize them. * config/arm/arm.c (target_fpu_name, target_fpe_name) (target_float_abi_name, target_abi_name, structure_size_string) (arm_pic_register_string): Delete. (arm_handle_option): Don't set the above variables here, except in the handling of -mhard-float and -msoft-float. * config/arm/arm.opt (mabi=, mfloat-abi=, mfp=, mfpe=, mfpu=) (mpic-register=, mstructure-size-boundary=): Add Var()s. * config/avr/avr.c (avr_init_stack, avr_mcu_name, TARGET_HANDLE_OPTION) (avr_handle_option): Delete. * config/avr/avr.opt (mmcu=, minit-stack=): Add Var()s and initialize them. * config/bfin/bfin.c (bfin_library_id): Delete. (bfin_handle_option): Don't set it. * config/bfin/bfin.opt (mshared-library-id=): Add Var(). * config/c4x/c4x.h (c4x_rpts_cycles): Delete. * config/c4x/c4x.c (c4x_rpts_cycles): Delete. (c4x_handle_option): Don't set c4x_rpts_cycles here. * config/c4x/c4x.opt (mrpts=): Add Var(). * config/cris/aout.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't set cris_elinux_stacksize_str here. * config/cris/aout.opt (melinux-stacksize=): Add Var(). * config/cris/cris.h (cris_max_stackframe_str, cris_cpu_str) (cris_tune_str, cris_elinux_stacksize_str): Delete. * config/cris/cris.c (cris_max_stackframe_str, cris_cpu_str) (cris_tune_str, cris_elinux_stacksize_str): Delete. (cris_handle_option): Don't set the above variables here. * config/cris/cris.opt (mcpu=, march=, mtune=, mmax-stackframe=) (max-stackframe=): Add Var()s. * config/i386/i386.h (ix86_tune_string, ix86_arch_string): Delete. * config/i386/i386.c (ix86_cmodel_string, ix86_asm_string) (ix86_tls_dialect_string, ix86_tune_string, ix86_arch_string) (ix86_fpmath_string, ix86_regparm_string, ix86_align_loops_string) (ix86_align_jumps_string, ix86_preferred_stack_boundary_string) (ix86_branch_cost_string, ix86_align_funcs_string): Delete. (ix86_handle_option): Don't set the above variables here. * config/i386/i386.opt (malign-functions=, malign-jumps=) (malign-loops=, march=, masm=, mbranch-cost=, mcmodel=, mfpmath=) (mpreferred-stack-boundary=, mregparm=, mtls-dialect=, mtune=): Add Var()s. * config/ia64/ia64.h (ia64_tls_size): Delete. * config/ia64/ia64.c (ia64_tls_size): Delete. (ia64_handle_option): Treat -mtls-size= as a UInteger option, reading the integer argument from the "value" parameter. Don't set ia64_tls_size here. * config/ia64/ia64.opt (mtls-size=): Turn into a UInteger option. Add Var() and Init(). * config/m32r/m32r.h (m32r_cache_flush_func): Delete. (m32r_cache_flush_trap): Delete. * config/m32r/m32r.c (m32r_cache_flush_func): Delete. (m32r_cache_flush_trap): Delete. (m32r_handle_option): Don't set the above variables when handling -mflush-func= and -mflush-trap=. * config/m32r/m32r.opt (-mflush-func=, -mflush-trap=): Add Var()s and Init()s. * config/mips/mips.h (mips_cache_flush_func): Delete. * config/mips/mips.c (mips_arch_string, mips_tune_string) (mips_cache_flush_func): Delete. (mips_handle_option): Don't set the above variables when handling -march=, -mtune= and -mflush-func=. * config/mips/mips.opt (march=, mflush-func=, mtune=): Add Var()s. * config/s390/s390.c (s390_arch_string): Delete. (s390_handle_option): Don't set it here. * config/s390/s390.opt (march=): Add Var(). * config/sparc/sparc.h (sparc_cmodel_string): Delete. * config/sparc/sparc.c (sparc_cmodel_string): Delete. (sparc_handle_option): Don't set it here. * config/sparc/sparc.opt (mcmodel=): Add Var(). From-SVN: r100185
2005-05-26convert.c (convert_to_integer): Avoid recursive call to convert_to_integer ↵Roger Sayle2-7/+13
by building the NOP_EXPR directly. * convert.c (convert_to_integer) <POINTER_TYPE>: Avoid recursive call to convert_to_integer by building the NOP_EXPR directly. From-SVN: r100184
2005-05-26Minor reformatting twaeks.Mike Stump1-2/+2
From-SVN: r100183
2005-05-26basic.mm: New.Ziemowit Laski2-0/+22
* obj-c++.dg/basic.mm: New. Co-Authored-By: Mike Stump <mrs@apple.com> From-SVN: r100182
2005-05-26next_mapping.h: Update for C++.Ziemowit Laski60-31/+2104
* objc/execute/next_mapping.h: Update for C++. * obj-c++.dg/selector-1.mm: Move to... * obj-c++.dg/selector-4.mm: here... * obj-c++.dg/comp-types-1.mm: New. * obj-c++.dg/cxx-class-1.mm: New. * obj-c++.dg/cxx-ivars-1.mm: New. * obj-c++.dg/cxx-ivars-2.mm: New. * obj-c++.dg/cxx-ivars-3.mm: New. * obj-c++.dg/cxx-scope-1.mm: New. * obj-c++.dg/cxx-scope-2.mm: New. * obj-c++.dg/defs.mm: New. * obj-c++.dg/empty-private-1.mm: New. * obj-c++.dg/encode-1.mm: New. * obj-c++.dg/encode-2.mm: New. * obj-c++.dg/encode-3.mm: New. * obj-c++.dg/extern-c-1.mm: New. * obj-c++.dg/extra-semi.mm: New. * obj-c++.dg/fix-and-continue-2.mm: New. * obj-c++.dg/isa-field-1.mm: New. * obj-c++.dg/ivar-list-semi.mm: New. * obj-c++.dg/local-decl-1.mm: New. * obj-c++.dg/lookup-1.mm: New. * obj-c++.dg/lookup-2.mm: New. * obj-c++.dg/method-1.mm: New. * obj-c++.dg/method-2.mm: New. * obj-c++.dg/method-3.mm: New. * obj-c++.dg/method-4.mm: New. * obj-c++.dg/method-5.mm: New. * obj-c++.dg/method-6.mm: New. * obj-c++.dg/method-7.mm: New. * obj-c++.dg/no-extra-load.mm: New. * obj-c++.dg/overload-1.mm: New. * obj-c++.dg/pragma-1.mm: New. * obj-c++.dg/pragma-2.mm: New. * obj-c++.dg/private-1.mm: New. * obj-c++.dg/private-2.mm: New. * obj-c++.dg/proto-qual-1.mm: New. * obj-c++.dg/qual-types-1.mm: New. * obj-c++.dg/stubify-1.mm: New. * obj-c++.dg/stubify-2.mm: New. * obj-c++.dg/super-class-1.mm: New. * obj-c++.dg/super-class-2.mm: New. * obj-c++.dg/super-dealloc-1.mm: New. * obj-c++.dg/super-dealloc-2.mm: New. * obj-c++.dg/template-1.mm: New. * obj-c++.dg/template-2.mm: New. * obj-c++.dg/template-3.mm: New. * obj-c++.dg/template-4.mm: New. * obj-c++.dg/template-5.mm: New. * obj-c++.dg/template-6.mm: New. * obj-c++.dg/try-catch-1.mm: New. * obj-c++.dg/try-catch-2.mm: New. * obj-c++.dg/try-catch-3.mm: New. * obj-c++.dg/try-catch-4.mm: New. * obj-c++.dg/try-catch-5.mm: New. * obj-c++.dg/try-catch-6.mm: New. * obj-c++.dg/try-catch-7.mm: New. * obj-c++.dg/try-catch-8.mm: New. * obj-c++.dg/try-catch-9.mm: New. * obj-c++.dg/va-meth-1.mm: New. Co-Authored-By: Mike Stump <mrs@apple.com> From-SVN: r100181
2005-05-26selector-1.mm: Move to...Mike Stump2-0/+31
* obj-c++.dg/selector-1.mm: Move to... * obj-c++.dg/selector-4.mm: here... From-SVN: r100180
2005-05-26selector-1.mm: New.Ziemowit Laski3-0/+48
[gcc/testsuite/ChangeLog] 2005-05-25 Ziemowit Laski <zlaski@apple.com> * obj-c++.dg/selector-1.mm: New. * obj-c++.dg/selector-2.mm: New. From-SVN: r100179
2005-05-26Daily bump.GCC Administrator1-1/+1
[[Split portion of a mixed commit.]] From-SVN: r100177.2