1. 12 Nov, 2010 24 commits
  2. 11 Nov, 2010 16 commits
    • re PR target/46088 (ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with… · 94252ac2
      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
    • Makefile.in (gengtype-lex.c): Include bconfig.h first. · 8fb15466
      2010-11-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * Makefile.in (gengtype-lex.c): Include bconfig.h first.
      
      From-SVN: r166634
      Paolo Bonzini committed
    • symbol.c (verify_bind_c_derived_type): Accept BIND(C) on an empty derived type. · f76b96c2
      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. · a9c64730
      
      	* 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
    • re PR fortran/46413 ([OOP] ICE when printing a polymorphic type) · d5656544
      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
    • * config/bootstrap-lto: Use -flto. · dc09b107
      From-SVN: r166630
      Jan Hubicka committed
    • re PR fortran/46325 (gfortran.dg/char_initialiser_actual.f90 FAILs with -fstack-protector) · 58ebaaf1
      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
    • invoke.texi (-fwhopr): Merge into -flto section. · 014d92e1
      
      	* 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
    • re PR tree-optimization/40436 (0.5% code size regression caused by r147852) · 2503de8d
      	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
    • resolve.c (resolve_procedure_interface): Copy 'is_bind_c' attribute. · 8be3d7da
      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
    • Support official CLooG.org versions. · d32ef397
      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
    • re PR target/44749 (mep-elf fails to build) · 77b0efff
              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
    • In gcc/objc/: 2010-11-11 Nicola Pero <nicola.pero@meta-innovation.com> · 10e34e6e
      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… · a1d8aa4b
      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. · 658bd5ca
      	* reginfo.c (fix_register): Avoid inserting English word in
      	diagnostic sentence.  Use %qs for quoting and %'.
      
      From-SVN: r166610
      Joseph Myers committed