aboutsummaryrefslogtreecommitdiff
path: root/gcc
AgeCommit message (Collapse)AuthorFilesLines
2010-11-06NS/CF String format syntax parsing.Iain Sandoe23-32/+569
gcc: PR target/44981 * doc/extend.tex (format): Document NSString extension. (format_arg): Likewise. (Darwin Format Checks): New section. * doc/tm.texi: Document string object hooks (generated). * doc/tm.texi.in (TARGET_OBJC_CONSTRUCT_STRING_OBJECT) Rename. (TARGET_STRING_OBJECT_REF_TYPE_P): New. (TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): New. * target.def (objc_construct_string_object): Rename, amend documentation. (string_object_ref_type_p): New hook. (check_string_object_format_arg): New hook. * c-parser.c (c_parser_attributes): Allow objective-c class names as attribute identifiers. * config/darwin-c.c (darwin_cfstring_ref_p): New. (darwin_check_cfstring_format_arg): New. (darwin_additional_format_types): New. * config/darwin-protos.h (darwin_cfstring_ref_p) New. (darwin_check_cfstring_format_arg): New. * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT) Renamed. (TARGET_STRING_OBJECT_REF_TYPE_P): New. (TARGET_N_FORMAT_TYPES): New. (TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): New. gcc/c-family: PR target/44981 * c-format.c (format_type): New type gcc_objc_string_format_type. (valid_stringptr_type_p): New. (handle_format_arg_attribute): Use valid_stringptr_type_p (). (check_format_string): Pass expected type, use valid_stringptr_type_p (), check that the format string types are consistent with the format specification. (decode_format_attr): Warn if NSString is used outside objective-c. (format_types_orig): Add NSString. (format_name): New. (format_flags): New. (check_format_arg): Handle format strings requiring an external parser. first_target_format_type: New variable. (handle_format_attribute): Set up first_target_format_type, pass the expected format arg string type to check_format_string(). * c-common.h (FMT_FLAG_PARSE_ARG_CONVERT_EXTERNAL): New flag. * stub-objc.c (objc_string_ref_type_p): New. (objc_check_format_arg): New. gcc/objc: PR target/44981 * objc-act.c (objc_build_string_object): Amend for renamed hook. (objc_string_ref_type_p): New. (objc_check_format_arg): New. gcc/testsuite: PR target/44981 * gcc.dg/darwin-cfstring-format-1.c: New. * gcc.dg/warn-nsstring.c: New. * objc.dg/fsf-nsstring-format-1.m: New. * obj-c++.dg/fsf-nsstring-format-1.mm: New. * obj-c++.dg/torture/strings/const-cfstring-1.mm: Update for darwin10 linker warning. From-SVN: r166398
2010-11-06cygming.h (DWARF_FRAME_REGISTERS): Redefine.Eric Botcazou2-0/+10
* config/i386/cygming.h (DWARF_FRAME_REGISTERS): Redefine. Use 33 in 64-bit mode and 17 otherwise. Co-Authored-By: Pascal Obry <obry@adacore.com> From-SVN: r166397
2010-11-06re PR debug/45939 (Wrong debug info: Negative location range generated)Andreas Krebbel2-1/+17
2010-11-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> PR debug/45939 * var-tracking.c (emit_note_insn_var_location): Make sure that call related var location notes come before the normal ones. From-SVN: r166396
2010-11-05Fix a typo in ix86_delegitimize_address.H.J. Lu2-2/+8
2010-11-05 H.J. Lu <hongjiu.lu@intel.com> PR target/46326 * config/i386/i386.c (ix86_delegitimize_address): Fix a typo in the last change. From-SVN: r166394
2010-11-06explow.c (allocate_dynamic_stack_space): Check MALLOC_ABI_ALIGNMENT.Ian Lance Taylor2-7/+17
* explow.c (allocate_dynamic_stack_space): Check MALLOC_ABI_ALIGNMENT. From-SVN: r166393
2010-11-05re PR c++/45473 (ICE: in dfs_walk_once, at cp/search.c:1659)Jason Merrill4-0/+30
PR c++/45473 * search.c (look_for_overrides): A constructor is never virtual. From-SVN: r166391
2010-11-06Daily bump.GCC Administrator1-1/+1
From-SVN: r166390
2010-11-06re PR c/44772 (-Wc++-compat warns incorrectly for anonymous unions)Jakub Jelinek4-1/+38
PR c/44772 * c-decl.c (warn_cxx_compat_finish_struct): Don't call pointer_set_contains if DECL_NAME is NULL. * gcc.dg/Wcxx-compat-21.c: New test. From-SVN: r166384
2010-11-05re PR target/46084 (gcc.dg/split-4.c failed with -mavx -m32)Ian Lance Taylor4-2/+92
gcc/: PR target/46084 * explow.c (allocate_dynamic_stack_space): If flag_split_stack, request enough additional space for alignment, and force alignment. testsuite/: * gcc.target/i386/pr46084.c: New test. From-SVN: r166383
2010-11-06i386.c (legitimate_pic_address_disp_p): Handle UNSPEC_PCREL.Kai Tietz4-7/+43
2010-11-05 Kai Tietz <kai.tietz@onevision.com> * config/i386/i386.c (legitimate_pic_address_disp_p): Handle UNSPEC_PCREL. (ix86_legitimate_address_p): Likewise. (legitimize_pic_address): Likewise. (output_pic_addr_const): Likewise. (ix86_delegitimize_address): Likewise. (ix86_find_base_term): Likewise. (memory_address_length): Likewise. (x86_output_mi_thunk): Handle special case x64 for non local binding. * config/i386/i386.md (UNSPEC_PCREL): New. * config/i386/winnt.c (i386_pe_binds_local_p): Allow weak symbol for x64 windows with non-local binding. From-SVN: r166382
2010-11-05target-supports.exp (check_function_available): Use -fno-builtin.Steve Ellcey3-1/+16
2010-11-05 Steve Ellcey <sje@cup.hp.com> * lib/target-supports.exp (check_function_available): Use -fno-builtin. * (check_effective_target_mempcpy): New. * gcc.c-torture/execute/pr45636.c: Move this... * gcc.dg/torture/pr45636.c: to here. Add add dg- directives. From-SVN: r166378
2010-11-05i386.exp (FLAGS): Remove.Rainer Orth2-3/+19
* gcc.target/i386/i386.exp (FLAGS): Remove. Wrap gcc_target_compile with $clearcap_ldflags added to options. From-SVN: r166377
2010-11-05re PR c++/46160 (ICE with volatile structure and enum)Jakub Jelinek4-0/+37
PR c++/46160 * cp-gimplify.c (cp_gimplify_expr): Drop volatile MEM_REFs on the RHS to avoid infinite recursion with gimplify_expr. * g++.dg/opt/empty2.C: New test. From-SVN: r166372
2010-11-05re PR target/45670 (Less efficient x86 addressing mode selection on 4.6, ↵Jakub Jelinek4-1/+35
causes -Os size regression from 4.5) PR target/45670 * expr.c (expand_expr_real_1) <case MEM_REF>: Use EXPAND_SUM instead of EXPAND_NORMAL for base expansion. * gcc.target/i386/pr45670.c: New test. From-SVN: r166371
2010-11-05re PR target/44754 (m32c_pragma_memregs / m32c_pragma_address warnings)Joern Rennecke8-33/+66
PR target/44754 * config/m32c/m32c.c (m32_function_arg): Rename declaration to... (m32c_function_arg). Add comma between arguments two and three. (m32c_promote_prototypes): Remove declaration. (current_function_special_page_vector): Likewise. (m32c_regno_reg_class): Change return type to enum reg_class. (m32c_pushm_popm): Use add_reg_note. (m32c_push_rounding): Change return type to unsigned int. (m32c_legitimize_reload_address): Cast argument 11 to push_reload to enum reload_type. (m32c_insert_attributes): Constify variable name. (m32c_output_aligned_common): Add ATTRIBUTE_UNUSED to argument decl. (m32c_prepare_shift): Remove variable lref. (m32c_expand_movcc): Remove variable cmp. (m32c_expand_insv): Fix check of op0 rtx_code to use GET_CODE. (m32c_compare_redundant): Remove variable op2. * config/m32c/m32c-pragma.c ("c-family/c-common.h"): Include. (m32c_pragma_memregs): Assign the number to target_memregs. (m32c_pragma_address): Remove variable var_str. * config/m32c/m32c.h (REG_CLASS_FROM_CONSTRAINT): Case value to enum reg_class. (LIMIT_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise. * config/m32c/bitops.md (andsi3): Add default case to switch. (iorsi3, xorsi3): Likewise. * config/m32c/addsub.md (addsi3_1, subsi3_1): Likewise. * config/m32c/jump.md (call, call_value): Likewise. * config/m32c/m32c-protos.h (m32c_push_rounding): Update prototype. (m32c_regno_reg_class): Likewise. (current_function_special_page_vector): Declare. From-SVN: r166370
2010-11-05config.gcc: Support --with-fpmath=avx for x86.Uros Bizjak5-32/+65
* config.gcc: Support --with-fpmath=avx for x86. * config/i386/avxmath.h: New. * doc/install.texi (--with-fpmath=): Document --with-fpmath=avx. From-SVN: r166369
2010-11-05re PR fortran/45451 ([OOP] Inconsistent status of ALLOCATABLE components ↵Janus Weil8-27/+179
inside CLASS variables.) 2010-11-05 Janus Weil <janus@gcc.gnu.org> PR fortran/45451 PR fortran/46174 * class.c (gfc_find_derived_vtab): Improved search for existing vtab. Add component '$copy' to vtype symbol for polymorphic deep copying. * expr.c (gfc_check_pointer_assign): Make sure the vtab is generated during resolution stage. * resolve.c (resolve_codes): Don't resolve code if namespace is already resolved. * trans-stmt.c (gfc_trans_allocate): Call '$copy' procedure for polymorphic ALLOCATE statements with SOURCE. 2010-11-05 Janus Weil <janus@gcc.gnu.org> PR fortran/45451 PR fortran/46174 * gfortran.dg/class_19.f03: Modified. * gfortran.dg/class_allocate_6.f03: New. From-SVN: r166368
2010-11-05re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)Joern Rennecke3-2/+8
PR bootstrap/44756 * expr.c (can_store_by_pieces): Add ATTRIBUTE_UNUSED to cst. * haifa-sched.c (initiate_bb_reg_pressure_info): Add ATTRIBUTE_UNUSED to i. From-SVN: r166366
2010-11-05tree.h (struct tree_type): Don't use descbits in GTY annotation.Ian Lance Taylor3-4/+7
* tree.h (struct tree_type): Don't use descbits in GTY annotation. * gengtype.c (walk_type): Don't recognize descbits option. From-SVN: r166365
2010-11-05re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)Joern Rennecke2-1/+5
PR bootstrap/44756 * expr.c (emit_push_insn): Cast value of PUSH_ROUNDING before comparing it to a signed value. From-SVN: r166360
2010-11-05defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG, [...]): Remove.Joseph Myers11-84/+100
* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG, WORD_SWITCH_TAKES_ARG): Remove. * doc/options.texi (Args): Document. * doc/tm.texi.in (WORD_SWITCH_TAKES_ARG): Remove. * doc/tm.texi: Regenerate. * opt-functions.awk (switch_flags): Handle Args. * opts-common.c: Update comment on tm.h include. (decode_cmdline_option): Handle options with multiple arguments. Don't check WORD_SWITCH_TAKES_ARG for unknown options. * opts.h (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK): Define. (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, CL_TARGET, CL_COMMON): Update values. * system.h (WORD_SWITCH_TAKES_ARG): Poison. * config/darwin.h (WORD_SWITCH_TAKES_ARG): Remove. * config/darwin.opt (Zsegaddr, sectalign, sectcreate, sectobjectsymbols, sectorder, segcreate, segprot): New. From-SVN: r166359
2010-11-05Check 256bit AVX register in move expanders.H.J. Lu4-1/+37
gcc/ 2010-11-05 H.J. Lu <hongjiu.lu@intel.com> Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.c (ix86_expand_move): Set use_avx256_p if 256bit AVX register is used. (ix86_expand_vector_move_misalign): Likewise. (ix86_expand_vector_move): Replace use_avx256_p with VALID_AVX256_REG_MODE. gcc/testsuite/ 2010-11-05 H.J. Lu <hongjiu.lu@intel.com> * gcc.target/i386/avx-vzeroupper-19.c: New. Co-Authored-By: Uros Bizjak <ubizjak@gmail.com> From-SVN: r166358
2010-11-05Remove gcc/ prefixesEric Botcazou1-14/+14
From-SVN: r166357
2010-11-05re PR target/44750 (pdp-11 fails to build)Joern Rennecke2-2/+10
PR target/44750 * config/pdp11/t-pdp11 (dwarf2out.o, java/constants.o): Undo last change. Set $@-warn.o to -Wno-error. From-SVN: r166356
2010-11-05re PR tree-optimization/46099 (ICE: in replace_ssa_name, at tree-cfg.c:5643 ↵Jakub Jelinek4-13/+121
with -ftree-parallelize-loops -g) PR tree-optimization/46099 * tree-parloops.c (take_address_of): Add GSI argument. Return NULL if it is NULL and uid wasn't found in the hash table. Just fold the result if it is NULL otherwise. Insert other potentially needed stmts right before current stmt instead of on the entry edge. (struct elv_data): Add gsi and reset fields. (eliminate_local_variables_1): Adjust caller. If take_address_of failed for debug stmt, set dta->reset and return. (eliminate_local_variables_stmt): Change STMT argument for GSI, pass GSI through to the callback, handle resetting of debug stmts. (eliminate_local_variables): Adjust caller. Process debug stmts in second phase. * gcc.dg/autopar/pr46099.c: New test. From-SVN: r166355
2010-11-05re PR middle-end/43690 (Internal compiler error detected by avr-gcc.)Jakub Jelinek4-0/+29
PR middle-end/43690 * gimplify.c (gimplify_asm_expr): If a "m" input is a {pre,post}{in,de}crement, fail. * c-c++-common/pr43690.c: New test. From-SVN: r166354
2010-11-05cfgexpand.c (expand_debug_expr): Handle MEM_REF with non-zero offset.Jakub Jelinek2-4/+12
* cfgexpand.c (expand_debug_expr): Handle MEM_REF with non-zero offset. From-SVN: r166353
2010-11-05NeXT runtime compatibility changes.Iain Sandoe26-157/+152
gcc/testsuite: * objc.dg/torture/forward-1.m: Restore for m32 NeXT. * objc.dg/demangle-1.m: Remove NeXT ifdef around +initialize declaration and implementation. * objc.dg/property/dotsyntax-3.m: XFAIL NeXT m64 run. * obj-c++.dg/property/at-property-13.mm: Likewise. * obj-c++.dg/property/fsf-property-method-access.mm: Likewise. * obj-c++.dg/property/property-1.mm: Likewise. * obj-c++.dg/property/at-property-7.mm: Likewise. * obj-c++.dg/property/at-property-9.mm: Likewise. * obj-c++.dg/property/dotsyntax-2.mm: Likewise. * obj-c++.dg/property/at-property-10.mm: Likewise. * obj-c++.dg/property/synthesize-2.mm: Likewise. * obj-c++.dg/property/at-property-12.mm: Likewise. * obj-c++.dg/property/fsf-property-basic.mm: Likewise. * obj-c++.dg/property/fsf-property-named-ivar.mm: Likewise. * obj-c++.dg/property/at-property-6.mm: Likewise. * obj-c++.dg/property/at-property-8.mm: Likewise. * obj-c++.dg/property/dotsyntax-1.mm: Likewise. * obj-c++.dg/property/dotsyntax-3.mm: Likewise. * obj-c++.dg/property/at-property-11.mm: Likewise. * obj-c++.dg/template-8.mm: Likewise. * obj-c++.dg/encode-3.mm: Use abort (), cast char types. * obj-c++.dg/demangle-2.mm: Add +initialize:, XFAIL NeXT m64. * obj-c++.dg/property/at-property-2.mm: Comment out a case that ICEs and put a FIXME for this. * obj-c++.dg/property/property-2.mm: Remove. * obj-c++.dg/property/property-3.mm: Remove. From-SVN: r166352
2010-11-05re PR debug/46307 (ICE with FMA_EXPR in DEBUG stmts)Jakub Jelinek6-0/+43
PR debug/46307 * tree-ssa-operands.c (get_expr_operands): Handle FMA_EXPR. * tree-pretty-print.c (dump_generic_node): Likewise. (op_code_prio): Likewise. * cfgexpand.c (expand_debug_expr): Likewise. * gcc.dg/pr46307.c: New test. From-SVN: r166351
2010-11-05re PR c++/46304 (g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770)Jason Merrill4-0/+21
PR c++/46304 * pt.c (tsubst_copy): Handle COMPLEX_CST. From-SVN: r166350
2010-11-05intrinsic_numeric_arg.f: Add test to check error message.Bud Davis2-0/+14
2010-11-04 Bud Davis <jimmied@smu.edu> * gfortran.dg/intrinsic_numeric_arg.f: Add test to check error message. From-SVN: r166347
2010-11-04md.texi (Machine Constraints): Correct formatting in PDP-11 constraints.Paul Koning2-4/+9
* doc/md.texi (Machine Constraints): Correct formatting in PDP-11 constraints. From-SVN: r166346
2010-11-05mips32-dsp.c: Add tests for madd, maddu, msub, msubu, mult, multu.Chao-ying Fu3-0/+132
2010-11-04 Chao-ying Fu <fu@mips.com> * gcc.target/mips/mips32-dsp.c: Add tests for madd, maddu, msub, msubu, mult, multu. * gcc.target/mips/mips32-dsp-run.c: Likewise. From-SVN: r166345
2010-11-05configure.ac: Test assembler support for DSP Rev1 mult.Chao-ying Fu11-60/+152
2010-11-04 Chao-ying Fu <fu@mips.com> * configure.ac: Test assembler support for DSP Rev1 mult. * configure: Regenerate. * config.in: Regenerate. * config/mips/mips.h (ISA_HAS_DSP_MULT): New define. * config/mips/mips.c (CODE_FOR_mips_mult): New define. (CODE_FOR_mips_multu): New define. (mips_builtins): Move madd, maddu, msub, msubu, mult, multu from dspr2_32 to dsp_32. (mips_mulsidi3_gen_fn): Test (TARGET_FIX_R4000 && !ISA_HAS_DSP). Delete returns when ISA_HAS_DSPR2, because the old patterns are deleted. * config/mips/mips-dsp.md (mips_madd<u>, mips_msub<u>): New define_expand patterns. * config/mips/constraints.md (ka): Update the constraint to test ISA_HAS_DSP_MULT instead of ISA_HAS_DSPR2. * config/mips/mips-dspr2.md (mips_madd<u>, mips_msub<u>, mips_mult, mips_multu): Delete. * config/mips/mips.md (<u>mulsidi3_32bit): Add comments. Change target constraint to "ka". Use (!TARGET_FIX_R4000 || ISA_HAS_DSP), instead of (!TARGET_FIX_R4000 && !ISA_HAS_DSPR2). Emit the accumulator destination when ISA_HAS_DSP_MULT. (<u>msubsidi4): Add comments. Test ISA_HAS_DSP. Emit the accumulator destination when ISA_HAS_DSP_MULT. (<u>maddsidi4): Likewise. * doc/extend.texi (MIPS DSP Built-in Functions): Move madd, maddu, msub, msubu, mult, multu built-in functions from DSP r2 to DSP r1. From-SVN: r166344
2010-11-05Daily bump.GCC Administrator1-1/+1
From-SVN: r166343
2010-11-04re PR target/44751 (h8300 get_attr_cc warnings)Joern Rennecke3-13/+28
PR target/44751 * config/h8300/h8300.c: Include df.h. (push, pop): Use add_reg_note. (compute_plussi_cc, compute_logical_op_cc): Return enum attr_c. (compute_a_shift_cc): Likewise. (expand_a_shift): Argument code has type enum rtx_code. (struct shift_insn): Member cc_valid has type enum attr_cc. (struct shift_info) <cc_inline, cc_special>: Likewise. enum attr_cc. * config/h8300/h8300-protos.h (compute_plussi_cc): Update prototype. (compute_a_shift_cc, compute_logical_op_cc, expand_a_shift): Likewise. From-SVN: r166336
2010-11-04* doc/md.texi (Machine Constraints): Add PDP-11 constraints.Paul Koning2-0/+53
From-SVN: r166335
2010-11-04* doc/invoke.texi (PDP-11 Options): Delete -msplit, -mno-split.Paul Koning2-9/+5
From-SVN: r166334
2010-11-04In gcc/: 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com>Nicola Pero16-19/+499
In gcc/: 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> Fixed using the Objective-C 2.0 dot-syntax with class names. * c-parser.c (c_parser_next_token_starts_declspecs): In Objective-C, detect Objective-C 2.0 dot-syntax with a class name. (c_parser_next_token_starts_declaration): Same. (c_parser_postfix_expression): Parse the Objective-C 2.0 dot-syntax with a class name. In gcc/cp/: 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> Fixed using the Objective-C 2.0 dot-syntax with class names. * parser.c (cp_parser_primary_expression): Recognize Objective-C 2.0 dot-syntax with class names and process it. (cp_parser_nonclass_name): Recognize Objective-C 2.0 dot-syntax with class names. (cp_parser_class_name): Same change. (cp_parser_simple_type_specifier): Tidied comments. In gcc/c-family/: 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> Fixed using the Objective-C 2.0 dot-syntax with class names. * c-common.h (objc_build_class_component_ref): New. * stub-objc.c (objc_build_class_component_ref): New. In gcc/objc/: 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> Fixed using the Objective-C 2.0 dot-syntax with class names. * objc-act.c (objc_build_class_component_ref): New. In gcc/testsuite/: 2010-11-04 Nicola Pero <nicola.pero@meta-innovation.com> Fixed using the Objective-C 2.0 dot-syntax with class names. * objc.dg/property/dotsyntax-3.m: New. * objc.dg/property/dotsyntax-4.m: New. * obj-c++.dg/property/dotsyntax-3.mm: New. * obj-c++.dg/property/dotsyntax-4.mm: New. * objc.dg/fobjc-std-1.m: Added test for warnings when the Objective-C 2.0 dot-syntax is used with class names. * obj-c++.dg/fobjc-std-1.mm: Same change. From-SVN: r166333
2010-11-04re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)Joern Rennecke2-2/+7
PR bootstrap/44756 * genopinit.c (main) [FIXUNS_TRUNC_LIKE_FIX_TRUNC]: Cast iteration variables to enum machine_mode. From-SVN: r166332
2010-11-04re PR target/44750 (pdp-11 fails to build)Joern Rennecke3-9/+27
PR target/44750 * config/pdp11/pdp11.c: (pdp11_secondary_reload): Now static. (pdp11_preferred_reload_class): Rename class to rclass. (pdp11_preferred_output_reload_class): Likewise. * config/pdp11/t-pdp11 (dwarf2out.o): Add -Wno-error=type-limits to ALL_COMPILERFLAGS . (java/constants.o): Add -Wno-error to ALL_COMPILERFLAGS. From-SVN: r166331
2010-11-04re PR c++/46298 (constexpr ICE on ARM)Jason Merrill2-2/+7
PR c++/46298 * semantics.c (build_constexpr_constructor_member_initializers): Handle an enclosing STATEMENT_LIST. From-SVN: r166330
2010-11-04final.c (compute_alignments): Compute/free loop info all the time.Pat Haugen8-8/+79
* final.c (compute_alignments): Compute/free loop info all the time. * config/rs6000/rs6000.h (LOOP_ALIGN): Define. * config/rs6000/rs6000-protos.h (rs6000_loop_align): Declare. * config/rs6000/t-rs6000 (rs6000.o): Add cfgloop.h. * config/rs6000/rs6000.c (cfgloop.h): Include. (can_override_loop_align): New. (rs6000_option_override_internal): Set it. (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define target hook. (rs6000_loop_align): New function. (rs6000_loop_align_max_skip): Likewise. * gcc.target/powerpc/loop_align.c: New. From-SVN: r166329
2010-11-04re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)Joern Rennecke2-1/+4
PR bootstrap/44756 * varasm.c (asm_output_bss): Add ATTRIBUTE_UNUSED to function. From-SVN: r166328
2010-11-04Fix PR driver/45703: let --help -v show linker help.Ralf Wildenhues2-10/+17
gcc/: PR driver/45703 * collect2.c (main): Print --help output to stdout. Do not exit right away, so ld --help is appended. Add empty lines to separate output suitably. From-SVN: r166327
2010-11-04update Darwin ABI tests for m64Iain Sandoe3-0/+642
* gcc.target/powerpc/ppc64-abi-1.c: Skip for Darwin. merge from FSF 'apple/trunk' branch. * gcc.target/powerpc/darwin64-abi.c: New. From-SVN: r166326
2010-11-04re PR tree-optimization/46233 (ICE: verify_flow_info failed: control flow in ↵Jakub Jelinek4-2/+23
the middle of basic block 3 with -foptimize-sibling-calls) PR tree-optimization/46233 * ipa-pure-const.c (local_pure_const): Do noreturn discovery after calling analyze_function, not before. * gcc.dg/pr46233.c: New test. From-SVN: r166324
2010-11-04re PR target/46234 (ICE in expand_expr_real_2 for va-arg-XXX tescases)Jakub Jelinek4-4/+12
PR target/46234 * config/rs6000/rs6000.c (rs6000_va_start): Use build_simple_mem_ref instead of build_va_arg_indirect_ref. * config/spu/spu.c (spu_va_start): Likewise. * config/s390/s390.c (s390_va_start): Likewise. From-SVN: r166323
2010-11-04Missed from previous commit.Iain Sandoe1-0/+5
testsuite: * objc.dg/property/property-2.m: Deleted. * objc.dg/property/property-3.m: Deleted. From-SVN: r166322
2010-11-04next-mapping.h: Ensure a GNU-compatible nil is defined.Iain Sandoe25-257/+65
* objc-obj-c++-shared/next-mapping.h: Ensure a GNU-compatible nil is defined. * objc.dg/property/fsf-property-basic.m: XFAIL m64 NeXT run. * objc.dg/property/fsf-property-named-ivar.m: Likewise. * objc.dg/property/property-1.m: Likewise. * objc.dg/property/at-property-6.m: Likewise. * objc.dg/property/at-property-7.m: Likewise. * objc.dg/property/dotsyntax-1.m: Likewise. * objc.dg/property/at-property-8.m: Likewise. * objc.dg/property/dotsyntax-2.m: Likewise. * objc.dg/property/at-property-9.m: Likewise. * objc.dg/property/synthesize-2.m: Likewise. * objc.dg/property/at-property-10.m: Likewise. * objc.dg/property/at-property-11.m: Likewise. * objc.dg/property/at-property-12.m: Likewise. * objc.dg/property/at-property-13.m: Likewise. * objc.dg/property/fsf-property-method-access.m: Likewise. * objc.dg/torture/strings/const-cfstring-1.m: Cater for bogus Darwin10 linker warning. * objc.dg/encode-7-next.m: Use next-mapping.h, ignore deprecation warnings. * objc.dg/encode-7-next-64bit.m: Use next-mapping.h, ignore deprecation warnings. Use Object1 implemenation. * objc.dg/demangle-1.m: Provide +initialize. XFAIL m64 NeXT run. * objc/execute/forward-1.m: Move to objc.dg/torture and reduce scope to m32 NeXT. * objc/execute/forward-1.x: Remove. From-SVN: r166321