- 04 Oct, 2010 8 commits
-
-
* optc-gen.awk: Define global_options_set. Don't define target_flags_explicit. * opth-gen.awk: Declare global_options_set. Define target_flags_explicit as macro. * opts-common.c (handle_option): Take opts_set and generated_p parameters. (handle_generated_option, read_cmdline_option, set_option): Take opts_set parameter. (set_option): Use opts_set instead of hardcoding target_flags and target_flags_explicit. * opts.c (sel_sched_switch_set, profile_arc_flag_set, flag_profile_values_set, flag_unroll_loops_set, flag_tracer_set, flag_value_profile_transformations_set, flag_peel_loops_set, flag_branch_probabilities_set, flag_inline_functions_set, flag_ipa_cp_set, flag_ipa_cp_clone_set, flag_predictive_commoning_set, flag_unswitch_loops_set, flag_gcse_after_reload_set): Remove. (common_handle_option, lang_handle_option, target_handle_option): Take opts_set parameter. Assert that it is &global_options_set. (common_handle_option): Don't set _set variables. Check opts_set instead of such variables. (enable_warning_as_error): Pass &global_options_set to handle_generated_option. * opts.h (cl_option_handler_func.handler, set_option, handle_option, handle_generated_option, read_cmdline_option): Add opts_set parameters. (handle_option): Add generated_p parameter. * config/i386/i386.c (ix86_function_specific_save, ix86_function_specific_restore): Updat for renaming of target_flags_explicit field. * config/i386/i386.opt (target_flags_explicit): Rename to ix86_target_flags_explicit. * config/ia64/ia64.c (ia64_override_options_after_change): Check global_options_set.x_flag_selective_scheduling and global_options_set.x_flag_selective_scheduling2, not sel_sched_switch_set. * flags.h (sel_sched_switch_set, flag_speculative_prefetching_set): Remove. * gcc.c (driver_handle_option): Take opts_set parameter. Assert that it is &global_options_set. (process_command): Pass &global_options_set to read_cmdline_option. * lto-opts.c (lto_reissue_options): Pass &global_options_set to set_option. * toplev.c (target_flags_explicit): Remove. c-family: * c-opts.c (c_common_handle_option): Pass &global_options_set to handle_generated_option. From-SVN: r164932
Joseph Myers committed -
PR middle-end/45871 * tree-ssa-ccp.c (get_base_constructor): Take HOST_WIDE_INT offset; use get_ref_base_and_offset to handle references. (fold_const_aggregate_ref): Update. From-SVN: r164931
Jan Hubicka committed -
re PR tree-optimization/45572 (various ICEs with -finline-small-functions -findirect-inlining -finline-functions) 2010-10-04 Martin Jambor <mjambor@suse.cz> PR tree-optimization/45572 * ipa-prop.c (ipa_make_edge_direct_to_target): Call ipa_check_create_node_params. * ipa-inline.c (add_new_edges_to_heap): Do not insert inlined edges. * testsuite/g++.dg/ipa/pr45572-1.C: New test. * testsuite/g++.dg/ipa/pr45572-2.C: Likewise. From-SVN: r164930
Martin Jambor committed -
2010-10-04 Yao Qi <yao@codesourcery.com> * doc/passes.texi: Clean up. From-SVN: r164929
Yao Qi committed -
2010-10-04 Richard Guenther <rguenther@suse.de> * f95-lang.c (current_translation_unit): New global variable. (gfc_create_decls): Build a translation-unit decl. (pushdecl): In the global binding-level use the translation-unit decl as DECL_CONTEXT. * trans-decl.c (gfc_get_symbol_decl): Use DECL_FILE_SCOPE_P. (build_function_decl): Likewise. Delay setting the assembler name, leave setting of DECL_CONTEXT to pushdecl. (trans_function_start): Use DECL_FILE_SCOPE_P. (gfc_create_module_variable): Likewise. Remove questionable asserts. * trans.c (gfc_generate_module_code): Likewise. From-SVN: r164928
Richard Guenther committed -
* acinclude.m4 (GLIBCXX_ENABLE): Properly quote argument to AC_HELP_STRING. Double quote expansion of _g_help. (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Double quote third argument of GLIBCXX_ENABLE. (GLIBCXX_ENABLE_CHEADERS): Likewise. (GLIBCXX_ENABLE_CLOCALE): Likewise. (GLIBCXX_ENABLE_ALLOCATOR): Likewise. (GLIBCXX_ENABLE_CSTDIO): Likewise. (GLIBCXX_ENABLE_SYMVERS): Likewise. * configure: Regenerate. From-SVN: r164927
Andreas Schwab committed -
gcc/: * c-typeck.c (lookup_field): If -fplan9-extensions, permit referring to a field using a typedef name. (find_anonymous_field_with_type): New static function. (convert_to_anonymous_field): New static function. (convert_for_assignment): If -fplan9-extensions, permit converting pointer to struct to pointer to anonymous field. * c-decl.c (grokfield): If -fplan9-extensions, permit anonymous fields. (is_duplicate_field): New static function. (detect_field_duplicates_hash): If -fplan9-extensions, check for typedef names duplicating field names. (detect_field_duplicates): Likewise. * doc/invoke.texi (Option Summary): Mention -fplan9-extensions. (C Dialect Options): Document -fplan9-extensions. * doc/extend.texi (Unnamed Fields): Document -fplan9-extensions. gcc/c-family/: * c.opt (-fplan9-extensions): New option. gcc/testsuite/: * gcc.dg/anon-struct-11.c: New test. * gcc.dg/anon-struct-12.c: New test. * gcc.dg/anon-struct-13.c: New test. * gcc.dg/anon-struct-14.c: New test. From-SVN: r164926
Ian Lance Taylor committed -
From-SVN: r164924
GCC Administrator committed
-
- 03 Oct, 2010 8 commits
-
-
gcc/ 2010-10-03 H.J. Lu <hongjiu.lu@intel.com> * tree-vect-data-refs.c (vect_analyze_data_ref_access): Revert revision 164914. (vect_create_data_ref_ptr): Likewise. * tree-vect-stmts.c (vectorizable_store): Likewise. (perm_mask_for_reverse): Likewise. (reverse_vec_elements): Likewise. (vectorizable_load): Likewise. gcc/testsuite/ 2010-10-03 H.J. Lu <hongjiu.lu@intel.com> * g++.dg/torture/pr45764.C: Revert revision 164914. * gcc.dg/vect/pr43432.c: Likewise. * gcc.dg/vect/vect-114.c: Likewise. * gcc.dg/vect/vect-15.c: Likewise. From-SVN: r164919
H.J. Lu committed -
* typeck.c (require_complete_type_sfinae): Add complain parm to... (require_complete_type): ...this function. (cp_build_array_ref, convert_arguments): Use it. (convert_for_initialization, cp_build_modify_expr): Likewise. * cp-tree.h: Declare it. * call.c (build_over_call): Use it. From-SVN: r164918
Jason Merrill committed -
gcc/ * cppbuiltin.c: New file. * cppbuiltin.h: New file. * Makefile.in: Take into account cppbuiltin.{h,c}. gcc/c-family/ * c-cppbuiltin.c (define__GNUC__, builtin_define_type_precision): Remove. (c_cpp_builtins): Call functions from cppbuiltin.c instead of duplicating code. gcc/fortran/ * cpp.c (cpp_define_builtins): Call functions from cppbuiltin.c instead of duplicating code. * Make-lang.in: Add dependency on cppbuiltin.h. Don't define BASEVER. From-SVN: r164917
François-Xavier Coudert committed -
gcc/ 2010-10-03 Andi Kleen <ak@linux.intel.com> * lto-cgraph.c (input_cgraph): Check for missing sections. gcc/lto/ 2010-10-03 Andi Kleen <ak@linux.intel.com> * lto.c (lto_file_finalize): Replace gcc_assert for missing section with fatal_error. From-SVN: r164916
Andi Kleen committed -
* config/i386/i386.md (*ashl<mode>3_mask): Change operand 2 preticate to nonimmediate_operand. Force operand 2 to register when allowed. (*<shiftrt_insn><mode>3_mask): Ditto. (*<rotate_insn><mode>3_mask): Ditto. From-SVN: r164915
Uros Bizjak committed -
gcc/ 2010-10-02 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/45720 PR tree-optimization/45764 * tree-vect-data-refs.c (vect_analyze_data_ref_access): Don't accept backwards consecutive accesses. (vect_create_data_ref_ptr): Disallow negative steps. * tree-vect-stmts.c (vectorizable_store): Allow negative steps. (perm_mask_for_reverse): Removed. (reverse_vec_elements): Likewise. (vectorizable_load): Don't hanle negative steps. gcc/testsuite/ 2010-10-02 H.J. Lu <hongjiu.lu@intel.com> PR tree-optimization/45720 PR tree-optimization/45764 * g++.dg/torture/pr45764.C: New. * gcc.dg/vect/pr43432.c: Xfail. * gcc.dg/vect/vect-114.c: Likewise. * gcc.dg/vect/vect-15.c: Likewise. From-SVN: r164914
H.J. Lu committed -
2010-10-02 H.J. Lu <hongjiu.lu@intel.com> PR libstdc++/45863 * scripts/extract_symvers: Revert the pvs change. From-SVN: r164913
H.J. Lu committed -
From-SVN: r164912
GCC Administrator committed
-
- 02 Oct, 2010 7 commits
-
-
* tree-ssa-ccp.c (ccp_fold_stmt): Fold away OBJ_TYPE_REF when call destination is known. From-SVN: r164908
Jan Hubicka committed -
* gcc.dg/torture/pr45678-1.c: Add -fno-common to options on 32-bit hppa*-*-hpux*. * gcc.dg/torture/pr45678-2.c: Likewise. From-SVN: r164906
John David Anglin committed -
PR target/45820 * config/pa/pa.c (pa_secondary_reload): Handle symbolic operands earlier. From-SVN: r164905
John David Anglin committed -
/: PR bootstrap/45326 PR bootstrap/45174 * configure.ac: Honor initial values of $build_configargs, $host_configargs, $target_configargs. Mark the precious, so environment settings get recorded. * configure: Regenerate. gcc/: * doc/install.texi (Configuration): Document build_configargs, host_configargs, target_configargs. From-SVN: r164904
Ralf Wildenhues committed -
2010-10-02 Janus Weil <janus@gcc.gnu.org> PR fortran/45748 * resolve.c (resolve_formal_arglist): Avoid setting default type for formal arguments of intrinsic procedures. 2010-10-02 Janus Weil <janus@gcc.gnu.org> PR fortran/45748 * gfortran.dg/intrinsic_6.f90: New. From-SVN: r164901
Janus Weil committed -
2010-10-02 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/42831 * gfortran.dg/dependency_37.f90: New test. From-SVN: r164900
Thomas Koenig committed -
From-SVN: r164899
GCC Administrator committed
-
- 01 Oct, 2010 17 commits
-
-
* config/i386/i386.md (*ashl<mode>3_mask): New insn_and_split pattern. (*<shiftrt_insn><mode>3_mask): Ditto. (*<rotate_insn><mode>3_mask): Ditto. testsuite/ChangeLog: * gcc.target/i386/shift_mask.c: New test. From-SVN: r164895
Uros Bizjak committed -
* config/t-stack(LIB2ADD_ST): Set instead of LIB2ADD. * config/i386/t-stack-i386 (LIB2ADD_ST): Likewise. From-SVN: r164893
Ian Lance Taylor committed -
2010-10-01 Benjamin Kosnik <bkoz@redhat.com> * scripts/extract_symvers: Add support for tracking TLS symbols. * testsuite/util/testsuite_abi.h (symbol::category): Add tls type. * testsuite/util/testsuite_abi.cc: Set symbol type to tls when appropriate, collect size info. From-SVN: r164892
Benjamin Kosnik committed -
2010-10-01 Steve Ellcey <sje@cup.hp.com> PR tree-optimization/44716 * config/ia64/hpux.h (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Define. (HOT_TEXT_SECTION_NAME): Define. From-SVN: r164891
Steve Ellcey committed -
From-SVN: r164887
Rainer Orth committed -
* common.opt: Add -fcombine-stack-adjustments. * opts.c (decode_options): Enable -fcombine-stack-adjustments at -O1. * combine-stack-adj.c (gate_handle_stack_adjustments): Check flag_combine_stack_adjustments. * doc/invoke.texi: Document the new option. From-SVN: r164883
Nick Clifton committed -
2010-10-01 Richard Guenther <rguenther@suse.de> PR tree-optimization/45854 * tree-eh.c (cleanup_empty_eh): Avoid degenerate case. * g++.dg/torture/pr45854.C: New testcase. From-SVN: r164881
Richard Guenther committed -
* scripts/extract_symvers: Use pvs if present. * config/abi/post/solaris2.8/baseline_symbols.txt: New file. * config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. * configure.host (i?86-*-solaris2*): Remove. (sparc*-*-solaris2*): Remove. (*-*-solaris2.[89]): Use solaris2.8 baseline. (*-*-solaris2.1[0-9]): Use solaris2.10 baseline. * testsuite/Makefile.am (new-abi-baseline): Add missing /. * testsuite/Makefile.in: Regenerate. From-SVN: r164879
Rainer Orth committed -
From-SVN: r164878
H.J. Lu committed -
From-SVN: r164877
Anthony Green committed -
2010-10-01 H.J. Lu <hongjiu.lu@intel.com> PR target/45858 * config.host: Add the missing `$'. From-SVN: r164876
H.J. Lu committed -
2010-10-01 Richard Guenther <rguenther@suse.de> * dwarf2out.c (gen_namespace_die): Use DECL_FILE_SCOPE_P. (gen_decl_die): Likewise. From-SVN: r164874
Richard Guenther committed -
* config/spu/spu.c (spu_init_builtins): No longer add END_BUILTINS to the function code for SPU MD builtins. (spu_expand_builtin): Update. * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Update. From-SVN: r164873
Ulrich Weigand committed -
* config/spu/spu.c (TARGET_EXCEPT_UNWIND_INFO): Set to sjlj_except_unwind_info. From-SVN: r164872
Ulrich Weigand committed -
PR libffi/45677 * src/x86/ffi64.c (ffi_prep_cif_machdep): Ensure cif->bytes is a multiple of 8. * testsuite/libffi.call/many2.c: New test. From-SVN: r164829
Jakub Jelinek committed -
2010-10-01 Tristan Gingold <gingold@adacore.com> * configure.ac: Define the nop insn for avr*-*-* * configure: Regenerate. From-SVN: r164828
Tristan Gingold committed -
PR target/45807 * config/rs6000/rs6000.c (rs6000_emit_prologue): Properly sign extend toc_restore_insn. From-SVN: r164825
Alan Modra committed
-