1. 03 Dec, 2009 4 commits
  2. 02 Dec, 2009 25 commits
  3. 01 Dec, 2009 11 commits
    • natVMURLConnection.cc (guessContentTypeFromBuffer): Mark `bytes' and `valid'… · dcaec966
      natVMURLConnection.cc (guessContentTypeFromBuffer): Mark `bytes' and `valid' parameters as potentially unused.
      
      	* java/net/natVMURLConnection.cc (guessContentTypeFromBuffer):
      	Mark `bytes' and `valid' parameters as potentially unused.
      
      From-SVN: r154886
      Ben Elliston committed
    • re PR middle-end/41611 (guard variable is emitted even when the guarded symbol isn't) · 07357341
      	PR c++/41611
      	* decl2.c (get_guard): Copy DECL_COMDAT.
      	(comdat_linkage): Set DECL_COMDAT unconditionally.
      
      From-SVN: r154885
      Jason Merrill committed
    • vperm-v4sf-1.c (dg-options): Use -msse. · e4ad8df0
      	* gcc.target/i386/vperm-v4sf-1.c (dg-options): Use -msse.
      
      From-SVN: r154884
      Uros Bizjak committed
    • i386.md (SWI124): Rename from CRC32MODE. · 79564f1e
      	* config/i386/i386.md (SWI124): Rename from CRC32MODE.
      	(crc32modesuffix): Remove.
      	(crc32modeconstraint): Ditto.
      	(sse4_2_crc32<mode>): Update for renamed mode iterator.  Use
      	imodesuffix instead of crc32modesuffix and <r>m instead of
      	crc32modeconstraint.
      
      From-SVN: r154882
      Uros Bizjak committed
    • re PR c++/3187 (gcc lays down two copies of constructors) · 24b3ff2c
      	PR c++/3187
      	* optimize.c (cdtor_comdat_group): New function.
      	(maybe_clone_body): Also optimize DECL_COMDAT base/complete cdtors
      	and in that case put also the deleting dtor in the same comdat group
      	as base and complete dtor if dtor is virtual.
      
      From-SVN: r154880
      Jakub Jelinek committed
    • re PR debug/42234 (internal compiler error: verify_ssa failed) · 4f2eb765
      	PR c++/42234
      	* tree-cfgcleanup.c (cleanup_omp_return): Don't ICE if control_bb
      	contains no statements.
      
      	* g++.dg/gomp/pr42234.C: New test.
      
      From-SVN: r154878
      Jakub Jelinek committed
    • cgraphunit.c (plugin.h): Include. · 090fa0ab
      2009-12-01  Grigori Fursin  <grigori.fursin@inria.fr>
                  Joern Rennecke  <amylaar@spamcop.net>
      
              * cgraphunit.c (plugin.h): Include.
              (ipa_passes): Invoke PLUGIN_ALL_IPA_PASSES_START /
              PLUGIN_ALL_IPA_PASSES_END at start / end of processing.
              * gcc-plugin.h (highlev-plugin-common.h, hashtab.h): Include.
              (enum plugin_event): Define by including plugin.def.
              Last enumerator is now called PLUGIN_EVENT_FIRST_DYNAMIC.
              (plugin_event_name): Change type to const char **.
              (get_event_last, get_named_event_id, unregister_callback): Declare.
              (register_callback): Change type of event argument to int.
              (highlev-plugin-common.h): New file.
              * Makefile.in (GCC_PLUGIN_H): Add highlev-plugin-common.h and
              $(HASHTAB_H)
              (tree-optimize.o passes.o): Depend on $(PLUGIN_H).
              (PLUGIN_HEADERS): Add opts.h, $(PARAMS_H) and plugin.def.
              (s-header-vars): New rule.
              (install-plugin): Depend on s-header-vars.  Install b-header-vars.
              * params.c (get_num_compiler_params): New function.
              * params.h (get_num_compiler_params): Declare.
              * passes.c (plugin.h): Include.
              (make_pass_instance): Invoke PLUGIN_NEW_PASS.
              (do_per_function_toporder, pass_init_dump_file): No longer static.
              (pass_fini_dump_file): Likewise.
              (execute_one_pass): Likewise.  Invoke PLUGIN_OVERRIDE_GATE and
              PLUGIN_PASS_EXECUTION.
              (execute_ipa_pass_list): Invoke PLUGIN_EARLY_GIMPLE_PASSES_START and
              PLUGIN_EARLY_GIMPLE_PASSES_END.
              * plugin.c (plugin_event_name_init): New array, defined by
              including plugin.def.
              (FMT_FOR_PLUGIN_EVENT): Update.
              (plugin_event_name): Change type to const char ** and initialize
              to plugin_event_name_init.
              (event_tab, event_last, event_horizon): New variable.
              (get_event_last): New function.
              (plugin_callbacks_init): New array.
              (plugin_callbacks: Change type to struct callback_info **.
              Initialize to plugin_callbacks_init.
              (htab_event_eq, get_named_event_id, unregister_callback): New function.
              (invoke_plugin_va_callbacks): Likewise.
              (register_callback): Change type of event argument to int.
              Handle new events.  Allow dynamic events.
              (invoke_plugin_callbacks): Likewise.  Return success status.
              (plugins_active_p): Allow dynamic callbacks.
              * plugin.def: New file.
              * plugin.h (invoke_plugin_callbacks): Update prototype.
              (invoke_plugin_va_callbacks): Declare.
              * tree-optimize.c (plugin.h): Include.
              (tree_rest_of_compilation): Invoke PLUGIN_ALL_PASSES_START and
              PLUGIN_ALL_PASSES_END.
              * tree-pass.h (execute_one_pass, pass_init_dump_file): Declare.
              (pass_fini_dump_file, do_per_function_toporder): Likewise.
              * doc/plugin.texi: Document new event types.
      
      Co-Authored-By: Joern Rennecke <amylaar@spamcop.net>
      
      From-SVN: r154877
      Grigori Fursin committed
    • PR fortran/42131 Sign test using ternary operator · d0d565e1
      From-SVN: r154876
      Janne Blomqvist committed
    • re PR tree-optimization/42237 (internal compiler error: verify_stmts failed) · d557591d
      2009-12-01  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/42237
      	* tree-sra.c (sra_ipa_modify_assign): Split gimple_reg_type assignments
      	in between references into two.
      
      	* testsuite/gcc.c-torture/compile/pr42237.c: New test.
      
      From-SVN: r154874
      Martin Jambor committed
    • tree-inline.c (copy_tree_body_r): Do not set TREE_BLOCK to the block of the call… · ee0192a2
      tree-inline.c (copy_tree_body_r): Do not set TREE_BLOCK to the block of the call when remapping a type.
      
      2009-12-01  Richard Guenther  <rguenther@suse.de>
      
      	* tree-inline.c (copy_tree_body_r): Do not set TREE_BLOCK
      	to the block of the call when remapping a type.
      
      From-SVN: r154873
      Richard Guenther committed
    • cgraph.h (struct cgraph_edge): Reorder fields. · 6009ee7b
      2009-12-01  Martin Jambor  <mjambor@suse.cz>
      
              * cgraph.h (struct cgraph_edge): Reorder fields.  Make loop_nest
      	unsigned short int.
      	* ipa-prop.h (struct ipa_param_call_note): Likewise.
      	* ipa-prop.c (ipa_note_param_call): Initialize note->loop_nest.
      
      From-SVN: r154872
      Martin Jambor committed