- 12 Nov, 2010 24 commits
-
-
* config/cloog.m4: Pass ppl libraries to the CLooG version check. * configure: Regenerate. From-SVN: r166669
Tobias Grosser committed -
* function.c (expand_function_end): Set the locator of the prologue on the stack checking insns. From-SVN: r166668
Eric Botcazou committed -
PR c++/39415 * typeck.c (build_static_cast_1): Convert to the target type when doing static_cast<cv Derived*>(Base*). From-SVN: r166667
James Dennett committed -
* config.gcc [xtensa] (extra_options): Add fused-madd.opt. * config/xtensa/xtensa.opt (mfused-madd): Remove. * config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_FUSED_MADD. * config/xtensa/xtensa.md (fmasf4): Rename from muladdsf3; use * fma. (fnmasf4): Rename from mulsubsf3; use fma. From-SVN: r166666
Richard Henderson committed -
PR target/46450 * config/stormy16/stormy16.c (xstormy16_expand_prologue): Use add_reg_note. (xstormy16_function_arg): Dereference cum. (xstormy16_expand_builtin): Use expand_normal. Change type of omode to enum machine_mode. (combine_bnp): Rename and to and_insn. From-SVN: r166665
Joern Rennecke committed -
PR target/46428 * config/moxie/moxie.c (moxie_expand_prologue): Remove unused variables. * config/moxie/moxie.h (HARD_REGNO_OK_FOR_BASE_P): Use unsigned comparison. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r166664
Joern Rennecke committed -
PR target/46431 * config/fr30/fr30.md (*movsf_constant_store): Remove duplicated assignment. From-SVN: r166663
Joern Rennecke committed -
PR middle-end/44769 * final.c (split_double): Don't use BITS_PER_WORD directly in shift count. From-SVN: r166662
Joern Rennecke committed -
PR target/46412 * config/bfin/bfin-protos.h (bfin_local_alignment): Update prototype. * config/bfin/bfin.c: Include sel-sched.h . (bfin_cpus): Use BFIN_CPU_UNKNOWN for last initializer element. (expand_interrupt_handler_prologue): Remove unused variable insn. (bfin_load_pic_reg): Likewise. (bfin_rtx_costs): Make code / outer_code variables of type enum rtx_code, copied from re-named parameters. (bfin_local_alignment): Change align argument and return type to unsigned. (bfin_adjust_cost): Remove unused variable insn_type. Declare variables at start of block. (struct loop_info): Rename to... (struct loop_info_d). (workaround_rts_anomaly): Change type of icode to int. (harmless_null_pointer_p): Cast REGNO (..) to int before comparison with int-typed variable. (note_np_check_stores): Likewise. (trapping_loads_p): Remove unused variable pat. (bfin_expand_binop_builtin): Use expand_normal. (bfin_expand_unop_builtin): Likewise. (bfin_expand_builtin): Likewise. Set tmode before use. From-SVN: r166661
Joern Rennecke committed -
PR bootstrap/44756 PR build/44767 * doc/tm.texi.in (LOCAL_ALIGNMENT): State that the type, if any, should be unsigned. (STACK_SLOT_ALIGNMENT, LOCAL_DECL_ALIGNMENT, PUSH_ROUNDING): Likewise. * doc/tm.texi: Regenerate. From-SVN: r166660
Joern Rennecke committed -
* opts-common.c (decode_cmdline_option): Initialize separate_args. From-SVN: r166658
Pat Haugen committed -
* doc/invoke.texi (early-inlining-insns): Update default. * params.def (early-inlining-insns): Default to 10. From-SVN: r166657
Jan Hubicka committed -
* config/rs6000/aix.h: #undef TARGET_AIX_OS before #define. From-SVN: r166654
Olivier Hainque committed -
PR rtl-optimization/46433 * var-tracking.c: Include tm_p.h . From-SVN: r166651
Joern Rennecke committed -
* config/mips/iris6.h [!IRIX_USING_GNU_LD] (SUPPORTS_INIT_PRIORITY): Define. gcc/testsuite: * lib/prune.exp (prune_gcc_output): Ignore IRIX 6 linker multiline warning. * g++.dg/abi/packed1.C (struct INNER): Ignore warning on mips-sgi-irix*. * g++.dg/cpp/_Pragma1.C: Skip on mips-sgi-irix*. * gcc.target/mips/call-3.c: Add dg-require-visibility. From-SVN: r166648
Rainer Orth committed -
PR target/46430 * config/avr/avr-protos.h (avr_return_addr_rtx): Update prototype. * config/avr/driver-avr.c (avr_device_to_arch): Always return value. (avr_device_to_data_start, avr_device_to_startfiles): Likewise. (avr_device_to_devicelib): Likewise. * config/avr/avr.md (zero_extendqihi2): Put variable declarations into block. (zero_extendqisi2, zero_extendhisi2, zero_extendqidi2): Likewise. (zero_extendhidi2, zero_extendsidi2): Likewise. * config/avr/avr.c (avr_num_arg_regs): Constify type. (avr_return_addr_rtx): De-constify tem. (avr_rotate_bytes): Move declarations to start of block. Don't use variable length array. Put nested if/else into block. From-SVN: r166647
Joern Rennecke committed -
PR debug/46375 * emit-rtl.c (remove_insn): Do not mark BBs upon debug insns. From-SVN: r166646
Eric Botcazou committed -
2010-11-11 Rodrigo Rivas Costa <rodrigorivascosta@gmail.com> PR lto/46376 * lto-symtab.c (lto_symtab_resolve_replaceable_p): Use DECL_ONE_ONLY. From-SVN: r166645
Rodrigo Rivas Costa committed -
gcc/ PR c/44782 * common.opt (fmax-errors=): New option. * opts.c (common_handle_option) [OPT_fmax_errors_]: Handle it. * diagnostic.h (struct diagnostic_context): Add max_errors field. * diagnostic.c (diagnostic_initialize): Initialize it. (diagnostic_action_after_output): Exit if more than max_errors have been output. * doc/invoke.texi (Warning Options): Add -fmax-errors. (-fmax-errors): Document. gcc/fortran/ PR c/44782 * options.c (gfc_post_options): Initialize gfc_option.max_errors. (gfc_handle_option) [OPT_fmax_errors_]: Remove. * lang.opt (fmax-errors=): Remove. gcc/testsuite/ PR c/44782 * c-c++-common/fmax-errors.c: New test. From-SVN: r166644
Nathan Froyd committed -
From-SVN: r166643
Richard Henderson committed -
* config/fused-madd.opt: New file. * config.gcc [i386-*, x86_64-*] (extra_options): Use it. * config/i386/i386.c (ix86_extra_costs): Handle FMA. (TARGET_DEFAULT_TARGET_FLAGS): Remove MASK_FUSED_MADD. * config/i386/i386.opt (mfused-madd): Remove. * config/i386/sse.md (split_fma): Remove. (split_fms, split_fnma, split_fnms): Remove. From-SVN: r166642
Richard Henderson committed -
From-SVN: r166641
GCC Administrator committed -
From-SVN: r166637
Jan Hubicka committed -
* gcc.dg/tree-ssa/inline-5.c: Fix testcase. * gcc.dg/tree-ssa/inline-6.c: Remove bogus testcase. From-SVN: r166636
Jan Hubicka committed
-
- 11 Nov, 2010 16 commits
-
-
re PR target/46088 (ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops) PR target/46088 * config/i386/i386.md (*ashl<mode>3_cconly, *<shiftrt_insn><mode>3_cconly): Don't use ix86_binary_operator_ok, change nonimmediate_operand predicate to register_operand. * gcc.dg/pr46088.c: New test. From-SVN: r166635
Jakub Jelinek committed -
2010-11-11 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (gengtype-lex.c): Include bconfig.h first. From-SVN: r166634
Paolo Bonzini committed -
2010-11-10 Steven G. Kargl <kargl@gcc.gnu.org> * symbol.c (verify_bind_c_derived_type): Accept BIND(C) on an empty derived type. 2010-11-10 Steven G. Kargl <kargl@gcc.gnu.org> * gfortran.dg/empty_derived_type.f90: New test. From-SVN: r166633
Steven G. Kargl committed -
* opts.c (finish_options): Do not error on -flto-partition alone. * options.c (gfc_post_options): Remove flag_whopr. From-SVN: r166632
Jan Hubicka committed -
2010-11-11 Tobias Burnus <burnus@net-b.de> PR fortran/46413 * resolve.c (resolve_transfer): Reject I/O transfer of polymorphic type. PR fortran/46205 * resolve.c (resolve_code): Reject nonscalar FORALL masks. 2010-11-11 Tobias Burnus <burnus@net-b.de> PR fortran/46413 * gfortran.dg/class_31.f90: New. PR fortran/46205 * gfortran.dg/forall_14.f90: New. From-SVN: r166631
Tobias Burnus committed -
From-SVN: r166630
Jan Hubicka committed -
2010-11-11 Jakub Jelinek <jakub@redhat.com> Tobias Burnus <burnus@net-b.de> PR fortran/46325 * gfortran.dg/char_initialiser_actual.f90: Make test case valid. Co-Authored-By: Tobias Burnus <burnus@net-b.de> From-SVN: r166628
Jakub Jelinek committed -
* doc/invoke.texi (-fwhopr): Merge into -flto section. (-flto-partition): Document none. * gcc.c (LINK_COMMAND_SPEC): Remove -fwhopr. * lto-wrapper.c: Update comment. (run_gcc): Update LTO option parsing. * opts.c (finish_options): add support -flto-partition=none (common_handle_option): Remove fwhopr. * common.opt: Turn fwhopr into flto. * collect2.c (main): Update option handling. * cgraphunit.c (cgraph_decide_is_function_needed): Remove flag_whopr. * ipa-split.c (execute_split_functions): Remove flag_whopr. * ipa.c (function_and_variable_visibility): Remove flag_whopr. * ipa-prop.c (ipa_compute_jump_functions): Remove flag_whopr. * varpool.c (decide_is_variable_needed): Remove flag_whopr. * gcc.dg/20081223-1.c: Update LTO options. * gcc.dg/lto/20090206-1_0.c: Update LTO options. * gcc.dg/lto/20081118_0.c: Update LTO options. * gcc.dg/lto/ipareference_0.c: Update LTO options. * gcc.dg/lto/20100423-2_0.c: Update LTO options. * gcc.dg/lto/20081201-1_0.c: Update LTO options. * gcc.dg/lto/ipacp_0.c: Update LTO options. * gcc.dg/lto/20090116_0.c: Update LTO options. * gcc.dg/lto/20091015-1_0.c: Update LTO options. * gcc.dg/lto/20090126-2_0.c: Update LTO options. * gcc.dg/lto/20081202-2_0.c: Update LTO options. * gcc.dg/lto/20081204-1_0.c: Update LTO options. * gcc.dg/lto/const-uniq_0.c: Update LTO options. * gcc.dg/lto/20081224_0.c: Update LTO options. * gcc.dg/lto/20090219_0.c: Update LTO options. * gcc.dg/lto/ipareference2_0.c: Update LTO options. * gcc.dg/lto/20090206-2_0.c: Update LTO options. * gcc.dg/lto/20081115_0.c: Update LTO options. * gcc.dg/lto/20081201-2_0.c: Update LTO options. * gcc.dg/lto/20081120-2_0.c: Update LTO options. * gcc.dg/lto/materialize-1_0.c: Update LTO options. * gcc.dg/lto/20090126-1_0.c: Update LTO options. * gcc.dg/lto/20081202-1_0.c: Update LTO options. * gcc.dg/lto/noreturn-1_0.c: Update LTO options. * g++.dg/20090107-1.C: Update LTO options. * g++.dg/lto/pr45679-2_0.C: Update LTO options. * g++.dg/lto/20081123_0.C: Update LTO options. * g++.dg/lto/20090313_0.C: Update LTO options. * g++.dg/lto/20081125_0.C: Update LTO options. * g++.dg/lto/20081109-1_0.C: Update LTO options. * g++.dg/lto/20081219_0.C: Update LTO options. * g++.dg/lto/20100724-1_0.C: Update LTO options. * g++.dg/lto/20081204-1_0.C: Update LTO options. * g++.dg/lto/20090303_0.C: Update LTO options. * g++.dg/lto/20100723-1_0.C: Update LTO options. * g++.dg/lto/pr45679-1_0.C: Update LTO options. * g++.dg/lto/20090128_0.C: Update LTO options. * g++.dg/lto/20081204-2_0.C: Update LTO options. * g++.dg/lto/20090302_0.C: Update LTO options. * g++.dg/lto/20081119-1_0.C: Update LTO options. * g++.dg/lto/20081118_0.C: Update LTO options. * g++.dg/20090121-1.C: Update LTO options. * objc.dg/lto/lto.exp: Update LTO options. * lib/lto.exp: Update LTO options. * lib/gcc-dg.exp: Update LTO options. * lib/c-torture.exp: Update LTO options. * obj-c++.dg/lto/lto.exp: Update LTO options. From-SVN: r166625
Jan Hubicka committed -
PR tree-optimize/40436 * gcc.dg/tree-ssa/inline-5.c: New testcase. * gcc.dg/tree-ssa/inline-6.c: New testcase. * ipa-inline.c (likely_eliminated_by_inlining_p): Rename to ... (eliminated_by_inlining_prob): ... this one; return 50% probability for SRA. (estimate_function_body_sizes): Update use of eliminated_by_inlining_prob; estimate static function size for 2 instructions. From-SVN: r166624
Jan Hubicka committed -
2010-11-11 Janus Weil <janus@gcc.gnu.org> * resolve.c (resolve_procedure_interface): Copy 'is_bind_c' attribute. 2010-11-11 Janus Weil <janus@gcc.gnu.org> * gfortran.dg/proc_decl_24.f90: New. From-SVN: r166623
Janus Weil committed -
2010-11-11 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * configure.ac: Support official CLooG.org versions. * configure: Regenerate. * config/cloog.m4: New. From-SVN: r166622
Andreas Simbuerger committed -
PR target/44749 * config/mep/mep-protos.h (mep_legitimize_reload_address): Always declare. Change type of argument four to type int. (mep_secondary_input_reload_class): Returns enum reg_class. (mep_secondary_output_reload_class): Likewise. (mep_function_value): Change types of arguments to cont_tree. * config/mep/mep.c (mep_legitimize_reload_address): Change type of argument four to type int. (mep_secondary_input_reload_class): Returns enum reg_class. (mep_secondary_output_reload_class): Likewise. (mep_function_value): Change types of arguments to cont_tree. * config/mep/mep.h (REGNO_REG_CLASS): Cast return value of mep_regno_reg_class to enum reg_class. From-SVN: r166614
Joern Rennecke committed -
From-SVN: r166613
Nicola Pero committed -
In gcc/objc/: 2010-11-11 Nicola Pero <nicola.pero@meta-innovation.com> * objc-act.c (objc_add_property_declaration): Check that the type of a property and of an inherited property match. (objc_maybe_build_component_ref): Tidied up indentation and comments. (objc_common_type): Added new type of check (-5). If an unknown class is involved in a comparison, try to look up its interface. (objc_add_synthesize_declaration_for_property): Check that the property to synthesize and the instance variable to use have the same type. In gcc/testsuite/: 2010-11-11 Nicola Pero <nicola.pero@meta-innovation.com> * objc.dg/property/at-property-20.m: New. * objc.dg/property/synthesize-8.m: New. * obj-c++.dg/property/at-property-20.m: New. * obj-c++.dg/property/synthesize-8.mm: New. From-SVN: r166612
Nicola Pero committed -
tree-ssa-math-opts.c (convert_mult_to_fma): Do not verify that the target has the exact fma operation that we matched. * tree-ssa-math-opts.c (convert_mult_to_fma): Do not verify that the target has the exact fma operation that we matched. From-SVN: r166611
Richard Henderson committed -
* reginfo.c (fix_register): Avoid inserting English word in diagnostic sentence. Use %qs for quoting and %'. From-SVN: r166610
Joseph Myers committed
-