- 11 May, 2010 22 commits
-
-
gcc/fortran/: 2010-05-11 Daniel Franke <franke.daniel@gmail.com> PR fortran/43711 * openmp.c (gfc_match_omp_taskwait): Report unexpected characters after OMP statement. (gfc_match_omp_critical): Likewise. (gfc_match_omp_flush): Likewise. (gfc_match_omp_workshare): Likewise. (gfc_match_omp_master): Likewise. (gfc_match_omp_ordered): Likewise. (gfc_match_omp_atomic): Likewise. (gfc_match_omp_barrier): Likewise. (gfc_match_omp_end_nowait): Likewise. gcc/testsuite/: 2010-05-11 Daniel Franke <franke.daniel@gmail.com> PR fortran/43711 * gfortran.dg/gomp/pr43711.f90: New. From-SVN: r159282
Daniel Franke committed -
* lto.c (lto_fixup_decls): Remove global var decls freeing here. (materialize_cgraph): Add it here. From-SVN: r159281
Jan Hubicka committed -
* lto-symtab.c (lto_symtab_free): New function. * lto-streamer.h (lto_symtab_free): Declare. * lto-cgraph.c (reachable_from_other_partition_p): Export; do not assume that if function is needed it is reachable. (lto_output_node): See if it the function is reachable or referenced. (output_cgraph): Update call of lto_output_node. * lto-streamer.h (reachable_from_other_partition_p): Declare. * lto.c (lto_fixup_decls): Free no longer needed lto_global_var_decls vector. * lto.c (lto_1_to_1_map): Remove some no longer needed checks. (lto_promote_cross_file_statics): Never promote DECL_EXTERNAL; use reachable_from_other_partition_p and referenced_from_other_partition_p test. From-SVN: r159280
Jan Hubicka committed -
* crtstuff.c (__JCR_LIST__, __DTOR_END__, __JCR_END__, __FRAME_END__): Mark as used. From-SVN: r159279
Jan Hubicka committed -
gcc/fortran/: 2010-05-11 Daniel Franke <franke.daniel@gmail.com> PR fortran/31820 * resolve.c (validate_case_label_expr): Removed FIXME. (resolve_select): Raise default warning on case labels out of range of the case expression. gcc/testsuite/: 2010-05-11 Daniel Franke <franke.daniel@gmail.com> PR fortran/31820 * gfortran.dg/select_5.f90: Updated. From-SVN: r159278
Daniel Franke committed -
re PR tree-optimization/44063 (build broken for libgcc cris-elf, ICE in cgraph_estimate_size_after_inlining, at ipa-inline) PR tree-optimize/44063 * ipa-inline.c (cgraph_edge_badness): Move always inlines to top of queue. (cgraph_decide_inlining_of_small_function): Skip check when disrgarding limits. (estimate_function_body_sizes): Compute sizes even when disregarding. * gcc.c-torture/compile/pr44063.c: New testcase. From-SVN: r159273
Jan Hubicka committed -
2010-05-11 Kai Tietz <kai.tietz@onevision.com> * collect2.c (maybe_lto_object_file): Add x64-coff magic and check. From-SVN: r159272
Kai Tietz committed -
2010-05-11 Kai Tietz <kai.tietz@onevision.com> * lto-coff.c (validate_file): Add x64-coff support. * lto-coff.h (IMAGE_FILE_MACHINE_ADM64): New. (COFF_KNOWN_MACHINES): Add IMAGE_FILE_MACHINE_ADM64. * lto-lang.c (lto_build_c_type_nodes): Add check for 'long long unsigned int' for x64-windows. (lto_init): Likewise. From-SVN: r159271
Kai Tietz committed -
2010-05-11 Silvius Rus <silvius.rus@gmail.com> PR libstdc++/43259 * include/profile/impl/profiler_algos.h: New. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * include/profile/impl/profiler.h (_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add. * include/profile/impl/profiler_trace.h (__mutex_t, __lock, __unlock): Remove. (__lock_object_table, __lock_stack_table): Remove. Replace uses with calls to __gnu_cxx::__mutex::lock. (__unlock_object_table, __unlock_stack_table): Remove. Replace uses with calls to __gnu_cxx::__mutex::unlock. (__warn, __cost_factor_writer, __cost_factor_setter): Add. * testsuite/ext/profile/profiler_algos.cc: New. From-SVN: r159269
Silvius Rus committed -
2010-05-11 Silvius Rus <silvius.rus@gmail.com> PR libstdc++/43259 * include/profile/impl/profiler_algos.h: New. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * include/profile/impl/profiler.h (_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add. * include/profile/impl/profiler_trace.h (__mutex_t, __lock, __unlock): Remove. (__lock_object_table, __lock_stack_table): Remove. Replace uses with calls to __gnu_cxx::__mutex::lock. (__unlock_object_table, __unlock_stack_table): Remove. Replace uses with calls to __gnu_cxx::__mutex::unlock. (__warn, __cost_factor_writer, __cost_factor_setter): Add. * testsuite/ext/profile/profiler_algos.cc: New. From-SVN: r159268
Silvius Rus committed -
* lto-cgraph.c (output_cgraph): Remove loop adding all varpool nodes into every boundary. From-SVN: r159267
Jan Hubicka committed -
From-SVN: r159263
Jan Hubicka committed -
* lto-streamer.h (struct lto_streamer_cache_d): Nodes vector is in heap. From-SVN: r159262
Jan Hubicka committed -
* lto-streamer.c (lto_streamer_cache_add_to_node_array, lto_streamer_cache_delete): Put nodes into heap. (struct lto_streamer_cache_d): Nodes vector is in heap. From-SVN: r159261
Jan Hubicka committed -
* cgraph.c (cgraph_mark_reachable_node): Accept references to optimized out extern inlines. From-SVN: r159260
Jan Hubicka committed -
* cgraphbuild.c (cgraph_rebuild_references): New. (cgraph_mark_reachable_node): Accept references to optimized out extern inlines. * cgraph.h (cgraph_rebuild_references): Declare. * tree-inline.c (tree_function_versioning): Use it. * ipa-struct-reorg.c (do_reorg_for_func): Likewise. From-SVN: r159259
Jan Hubicka committed -
* cgraph.c: Include ipa-utils.h (cgraph_create_virtual_clone): Update references. * Makefile.in (cgraph.o): Add dependency at ipa-utils.h From-SVN: r159258
Jan Hubicka committed -
tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset prefetch_before to PREFETCH_ALL if to accesses "meet" beyond cache size. 2010-05-11 Christian Borntraeger <borntraeger@de.ibm.com> * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset prefetch_before to PREFETCH_ALL if to accesses "meet" beyond cache size. From-SVN: r159257
Christian Borntraeger committed -
2010-05-11 Christian Borntraeger <borntraeger@de.ibm.com> * tree-ssa-loop-prefetch.c: Add debug for dropped prefetches. From-SVN: r159256
Christian Borntraeger committed -
* gcc.c (execute): For -### don't quote arguments that contain just alphanumerics and _/-. characters. * doc/invoke.texi: Document that change for -###. From-SVN: r159255
Jakub Jelinek committed -
PR debug/44023 * df-problems.c (struct dead_debug): Add to_rescan field. (dead_debug_init): Clear to_rescan field. (dead_debug_finish): Rescan all debug insns in to_rescan bitmap and free the bitmap. (dead_debug_insert_before): Instead of rescanning debug insns immediately queue their rescanning until dead_debug_finish. (df_note_bb_compute): After dead_debug_add do continue instead of break. * gcc.dg/pr44023.c: New test. From-SVN: r159254
Jakub Jelinek committed -
From-SVN: r159251
GCC Administrator committed
-
- 10 May, 2010 18 commits
-
-
* exp_disp.adb (Make_Tags): Mark the imported view of dispatch tables built for interfaces. * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Use imported_p instead of Is_Imported when considering constants. Do not promote alignment of exported objects. <E_Record_Subtype>: Strip all suffixes for dispatch table entities. From-SVN: r159247
Eric Botcazou committed -
PR c++/44017 * semantics.c (baselink_for_fns): Revert earlier change. From-SVN: r159246
Jason Merrill committed -
re PR c++/44045 (initialization of array of shared_ptr's with initializer list causes compiler segfault) PR c++/44045 * typeck.c (cp_build_modify_expr): Complain about assignment to array from init list. From-SVN: r159243
Jason Merrill committed -
PR c++/43719 * decl.c (check_initializer): strip array type before checking for uninitialized const or ref members. From-SVN: r159242
Fabien Chêne committed -
PR debug/44028 * haifa-sched.c (schedule_insn): When clearing INSN_VAR_LOCATION_LOC, clear also INSN_REG_USE_LIST. * gcc.dg/pr44028.c: New test. From-SVN: r159240
Jakub Jelinek committed -
From-SVN: r159239
Rainer Orth committed -
gcc/fortran/: 2010-05-10 Daniel Franke <franke.daniel@gmail.com> PR fortran/27866 PR fortran/35003 PR fortran/42809 * intrinsic.c (gfc_convert_type_warn): Be more discriminative about conversion warnings. gcc/testsuite/: 2010-05-08 Daniel Franke <franke.daniel@gmail.com> PR fortran/27866 PR fortran/35003 PR fortran/42809 * gfortran.dg/array_constructor_type_17.f03: Updated match string. * gfortran.dg/warn_conversion.f90: New. From-SVN: r159238
Daniel Franke committed -
From-SVN: r159234
Jan Hubicka committed -
* passes.c (ipa_write_summaries_1, ipa_write_optimization_summaries): Allocate encoders. * lto-section-out.c (lto_new_out_decl_state): Do not allocate it here. * lto-streamer.c (lto_streamer_cache_insert_1): Use alloc pool. (lto_streamer_cache_create): Init alloc pool. (lto_streamer_cache_delete): Free alloc pool. * lto-streamer.h: Include alloc pool. (lto_streamer_cache_d): Use alloc pool. * lto-stramer-out.c (produce_asm_for_decls): Delete fn_out_states. From-SVN: r159230
Jan Hubicka committed -
* Makefile.in (cgraphbuild.o): Add dependency on except.h. * cgraphbuild.c: Include except.h (record_type_list, record_eh_tables): New function. (build_cgraph_edges, rebuild_cgraph_edges): Use it. From-SVN: r159229
Jan Hubicka committed -
* crtstuff.c (force_to_data, __do_global_dtors_aux_fini_array_entry, __frame_dummy_init_array_entry, force_to_data): Attribute as used rather than unused. From-SVN: r159228
Jan Hubicka committed -
* ChangeLog: Fix whitespace. * testsuite/ChangeLog: Ditto. From-SVN: r159227
Uros Bizjak committed -
* tree-ssa-reassoc.c (undistribute_ops_list): Use create_tmp_reg. (can_reassociate_p): Use FLOAT_TYPE_P. * tree-vectorizer.h (vect_is_simple_reduction): Rename to ... (vect_force_simple_reduction): ... this. * tree-parloops.c (gather_scalar_reductions): Use vect_force_simple_reduction. * tree-vect-loop.c (vect_is_simple_reduction_1): Rename from vect_is_simple_reduction, add modify argument, if true rewrite "a-b" into "a+(-b)". (vect_is_simple_reduction, vect_force_simple_reduction): New functions. (vect_analyze_scalar_cycles_1): Use vect_force_simple_reduction. testsuite/ * gcc.dg/vect/fast-math-vect-reduc-8.c: New test. From-SVN: r159226
Michael Matz committed -
gcc/ 2010-05-10 H.J. Lu<hongjiu.lu@intel.com> Vladimir Makarov<vmakarov@redhat.com> PR rtl-optimization/44012 * ira-build.c (remove_unnecessary_allocnos): Nullify regno_allocno_map of the removed allocno. gcc/testsuite/ 2010-05-10 H.J. Lu <hongjiu.lu@intel.com> PR rtl-optimization/44012 * gcc.dg/pr44012.c: New. From-SVN: r159223
H.J. Lu committed -
* lib/lto.exp (lto_prune_vis_warns): Renamed to lto_prune_warns. Log text on entry and exit. Prune Sun ld warnings for common symbols with differing sizes. (lto-link-and-maybe-run): Change caller. From-SVN: r159222
Rainer Orth committed -
* configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors to /dev/null. * configure: Regenerate. From-SVN: r159220
Rainer Orth committed -
* config/sol2.c (solaris_assemble_visibility): Declare decl, vis unused. Define visibility_types, name, type inside HAVE_GAS_HIDDEN. * configure.ac (gcc_cv_ld_hidden): Explain stages of visibility support in Sun ld. * configure: Regenerate. From-SVN: r159218
Rainer Orth committed -
2010-05-10 Janus Weil <janus@gcc.gnu.org> PR fortran/44044 * match.c (gfc_match_select_type): Move error message to resolve_select_type. * resolve.c (resolve_select_type): Error message moved here from gfc_match_select_type. Correctly set type of temporary. 2010-05-10 Janus Weil <janus@gcc.gnu.org> PR fortran/44044 * gfortran.dg/class_7.f03: Modified. * gfortran.dg/select_type_1.f03: Modified. * gfortran.dg/select_type_12.f03: New. From-SVN: r159217
Janus Weil committed
-