- 28 Mar, 2013 21 commits
-
-
2013-03-28 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55806 * frontend-passes.c (optimize_code): Keep track of current code to make code insertion possible. (combine_array_constructor): New function. (optimize_op): Call it. 2013-03-28 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/55806 * gfortran.dg/array_constructor_43.f90: New test. * gfortran.dg/random_seed_3.f90: New test. From-SVN: r197216
Thomas Koenig committed -
From-SVN: r197215
Ian Bolton committed -
re PR c++/17232 ([DR 1640] classes and class template specializations treated differently w.r.t. core issue #337) PR c++/17232 PR c++/52748 * typeck2.c (abstract_virtuals_error_sfinae): Don't complete the type if tf_decltype is set. * pt.c (fn_type_unification): Add decltype_p parm. (get_bindings): Adjust. * cp-tree.h: Adjust. * class.c (resolve_address_of_overloaded_function): Adjust. * call.c (add_template_candidate_real, print_z_candidate): Adjust. From-SVN: r197214
Jason Merrill committed -
PR c++/56679 * parser.c (cp_parser_sizeof_pack): Split out from... (cp_parser_sizeof_operand): ...here. Require (id). From-SVN: r197213
Jason Merrill committed -
PR c++/56701 * semantics.c (finish_this_expr): 'this' is an rvalue. * typeck.c (cp_build_indirect_ref): Handle NOP_EXPR of 'this'. From-SVN: r197212
Jason Merrill committed -
re PR c++/56710 (Using reserved double underscore variable name in a lambda causes internal compiler error) PR c++/56710 * semantics.c (finish_member_declaration): Don't push closure members. From-SVN: r197211
Jason Merrill committed -
name-lookup.c (pushdecl_maybe_friend_1): Use nonlambda_method_basetype and current_nonlambda_class_type. * name-lookup.c (pushdecl_maybe_friend_1): Use nonlambda_method_basetype and current_nonlambda_class_type. From-SVN: r197210
Jason Merrill committed -
PR c++/56728 * semantics.c (potential_constant_expression_1) [NOP_EXPR]: Reject conversion from integer to pointer. (cxx_eval_constant_expression): Likewise. (cxx_eval_indirect_ref): Use the folded operand if we still think this might be constant. From-SVN: r197209
Jason Merrill committed -
* config/i386/i386.md (*vec_extract2vdi_1): Merge with *vec_extractv2di_1_rex64. Use x64 isa attribute. From-SVN: r197208
Uros Bizjak committed -
2013-03-28 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com> * config/aarch64/aarch64.md (*and<mode>3_compare0): New pattern. (*andsi3_compare0_uxtw): New pattern. (*and_<SHIFT:optab><mode>3_compare0): New pattern. (*and_<SHIFT:optab>si3_compare0_uxtw): New pattern. From-SVN: r197207
Naveen H.S committed -
/cp 2013-03-28 Paolo Carlini <paolo.carlini@oracle.com> Manuel Lopez-Ibanez <manu@gcc.gnu.org> PR c++/56725 * call.c (convert_like_real): Change series of two permerrors to permerror + inform (and likewise for two errors). (build_new_method_call_1): Likewise. * typeck.c (convert_for_initialization): Change additional warning or error to inform. /testsuite 2013-03-28 Paolo Carlini <paolo.carlini@oracle.com> PR c++/56725 * g++.dg/conversion/op4.C: Adjust. * g++.dg/cpp0x/rv1n.C: Likewise. * g++.dg/cpp0x/rv2n.C: Likewise. * g++.dg/cpp0x/template_deduction.C: Likewise. * g++.dg/expr/cond8.C: Likewise. * g++.dg/other/error4.C: Likewise. * g++.old-deja/g++.bugs/900514_03.C: Likewise. * g++.old-deja/g++.bugs/900519_02.C: Likewise. * g++.old-deja/g++.bugs/900519_03.C: Likewise. * g++.old-deja/g++.bugs/900520_02.C: Likewise. * g++.old-deja/g++.jason/conversion2.C: Likewise. * g++.old-deja/g++.law/cvt20.C: Likewise. * g++.old-deja/g++.law/cvt8.C: Likewise. * g++.old-deja/g++.law/init8.C: Likewise. * g++.old-deja/g++.mike/net12.C: Likewise. * g++.old-deja/g++.mike/net8.C: Likewise. * g++.old-deja/g++.mike/p2793.C: Likewise. * g++.old-deja/g++.mike/p3836.C: Likewise. * g++.old-deja/g++.mike/p418.C: Likewise. * g++.old-deja/g++.mike/p701.C: Likewise. * g++.old-deja/g++.mike/p807.C: Likewise. From-SVN: r197206
Paolo Carlini committed -
* data-streamer-in.c (streamer_read_gcov_count): New function. * gimple-streamer-out.c: Include value-prof.h. (output_gimple_stmt): Output histogram. (output_bb): Use streamer_write_gcov_count. * value-prof.c: Include data-streamer.h (dump_histogram_value): Add HIST_TYPE_MAX. (stream_out_histogram_value): New function. (stream_in_histogram_value): New function. * value-prof.h (enum hist_type): Add HIST_TYPE_MAX. (stream_out_histogram_value, stream_in_histogram_value): Declare. * data-streamer-out.c (streamer_write_gcov_count): New function. (streamer_write_gcov_count_stream): New function. * lto-cgraph.c (lto_output_edge): Update counter streaming. (lto_output_node): Likewise. (input_node, input_edge): Likewise. * lto-streamer-out.c (output_cfg): Update streaming. * lto-streamer-in.c (input_cfg): Likewise. * data-streamer.h (streamer_write_gcov_count, streamer_write_gcov_count_stream, streamer_read_gcov_count): Declare. * gimple-streamer-in.c: Include value-prof.h (input_gimple_stmt): Input histograms. (input_bb): Update profile streaming. From-SVN: r197205
Jan Hubicka committed -
2013-03-28 Tejas Belagod <tejas.belagod@arm.com> PR middle-end/56694 * g++.dg/torture/pr56694.C: Fix test case to build on bare-metal targets. From-SVN: r197201
Tejas Belagod committed -
2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> * genmodes.c (emit_max_int): New function. (emit_insn_modes_h): Added call to emit_max_function. * doc/rtl.texi (MAX_BITSIZE_MODE_ANY_INT, MAX_BITSIZE_MODE_ANY_MODE): Added doc. * machmode.def: Fixed comment. From-SVN: r197200
Kenneth Zadeck committed -
2013-03-28 Kenneth Zadeck <zadeck@naturalbridge.com> * combine.c (try_combine): Removed useless assert. * cselib.c (rtx_equal_for_cselib_1): Removed unnecessary parens. From-SVN: r197198
Kenneth Zadeck committed -
* cp-tree.h (next_aggr_init_expr_arg): Remove static specifier. (first_aggr_init_expr): Likewise. (more_aggr_init_expr_args_p): Likewise. (type_of_this_parm): Likewise. (class_of_this_parm): Likewise. * name-lookup.h (get_global_value_if_present): Likewise. (is_typename_at_global_scope): Likewise. From-SVN: r197196
Gabriel Dos Reis committed -
PR tree-optimization/56695 * tree-vect-stmts.c (vectorizable_condition): Unconditionally build signed result of a vector comparison. * tree-cfg.c (verify_gimple_comparison): Check that a result of a vector comparison has signed type. Co-Authored-By: Richard Biener <rguenther@suse.de> From-SVN: r197192
Marek Polacek committed -
2013-03-28 Paolo Carlini <paolo.carlini@oracle.com> * call.c (joust): Don't call inform for a permerror returning false. * parser.c (cp_parser_check_class_key): Likewise. * pt.c (tsubst_copy_and_build): Likewise. From-SVN: r197190
Paolo Carlini committed -
2013-03-28 Richard Biener <rguenther@suse.de> PR tree-optimization/37021 * tree-vect-slp.c (vect_build_slp_tree): When not unrolling do not restrict gaps between groups. * tree-vect-stmts.c (vectorizable_load): Properly account for a gap between groups. * gcc.dg/vect/fast-math-slp-38.c: New testcase. * gcc.dg/vect/O3-pr36098.c: Un-XFAIL. From-SVN: r197189
Richard Biener committed -
* toplev.c (process_options): Do not disable -fomit-frame-pointer on a general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS is not enabled. From-SVN: r197186
Eric Botcazou committed -
From-SVN: r197184
GCC Administrator committed
-
- 27 Mar, 2013 19 commits
-
-
* doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual. * doc/extend.texi (Named Address Spaces): Ditto. (Variable Attributes): Ditto. From-SVN: r197180
Gerald Pfeifer committed -
* configure: Regenerated. From-SVN: r197179
Kai Tietz committed -
* configure: Regenerated. From-SVN: r197178
Kai Tietz committed -
* configure: Regenerated. From-SVN: r197177
Kai Tietz committed -
2013-03-27 Kai Tietz <ktietz@redhat.com> * config.host: Add support for cygwin x64 target. * configure: Regenerated. From-SVN: r197176
Kai Tietz committed -
From-SVN: r197175
Kai Tietz committed -
* crossconfig.m4: Add support for cygwin x64 target. * configure: Regenerated. From-SVN: r197174
Kai Tietz committed -
From-SVN: r197172
Joseph Myers committed -
* config.build: Add support for cygwin x64 target. * config.gcc: Likewise. * config.host: Likewise. * configure.ac: Likewise * configure: Regenerated. From-SVN: r197171
Kai Tietz committed -
* dfp.m4: Add support for cygwin x64 target. * picflag.m4: Likewise. From-SVN: r197170
Kai Tietz committed -
* config/i386/cygwin-stdint.h: Add support for cygwin x64 target. * config/i386/t-cygwin-w64: New file. * config/i386/cygwin-w64.h: New file. * config/i386/cygwin.h (EXTRA_OS_CPP_BUILTINS): Extend and add support for x64-cygwin target. (CPP_SPEC): Likewise. (CXX_WRAP_SPEC_LIST): Undefine before define. (LIBGCJ_SONAME): Use 15 as version. From-SVN: r197168
Kai Tietz committed -
re PR c++/56749 (weird interaction between scoped enum used as non-type template parameter and template lookup) PR c++/56749 * semantics.c (finish_qualified_id_expr): Return early for enum scope. From-SVN: r197166
Jason Merrill committed -
re PR target/56716 (during gcc 4.8.0 build on Cygwin: bid128_fma.c:4460:1: internal compiler error: Segmentation fault) 2013-03-27 Richard Biener <rguenther@suse.de> PR tree-optimization/56716 * tree-ssa-structalias.c (perform_var_substitution): Adjust dumping for ref nodes. From-SVN: r197165
Richard Biener committed -
2013-03-27 Martin Jambor <mjambor@suse.cz> PR tree-optimization/55334 * ipa-cp.c (initialize_node_lattices): Allow IPA-CP through and to restricted pointers to arrays. From-SVN: r197163
Martin Jambor committed -
* Makefile.in (.SUFFIXES): Add .cc. (.c.o): Apply same recipe for implicit rule .cc.o. From-SVN: r197162
Gabriel Dos Reis committed -
2013-03-27 Tobias Burnus <burnus@net-b.de> PR fortran/56650 PR fortran/36437 * check.c (gfc_check_sizeof, gfc_check_c_sizeof, gfc_check_storage_size): Update checks. * intrinsic.texi (SIZEOF): Correct class. * intrinsic.h (gfc_simplify_sizeof, gfc_simplify_storage_size): New prototypes. * intrinsic.c (add_functions): Use them. * simplify.c (gfc_simplify_sizeof, gfc_simplify_storage_size): New functions. 2013-03-27 Tobias Burnus <burnus@net-b.de> PR fortran/56650 PR fortran/36437 * gfortran.dg/sizeof_2.f90: New. * gfortran.dg/sizeof_3.f90: New. * gfortran.dg/sizeof_proc.f90: Update dg-error. From-SVN: r197159
Tobias Burnus committed -
2013-03-27 Richard Biener <rguenther@suse.de> PR tree-optimization/37021 * tree-vect-data-refs.c (vect_check_strided_load): Allow REALPART/IMAGPART_EXPRs around the supported refs. * tree-ssa-structalias.c (find_func_aliases): Assume that floating-point values are not used to transfer pointers. * gfortran.dg/vect/fast-math-pr37021.f90: New testcase. From-SVN: r197158
Richard Biener committed -
* g++.dg/ipa/ivinline-1.C: Add target nonpic. * g++.dg/ipa/ivinline-2.C: Likewise. * g++.dg/ipa/ivinline-3.C: Likewise. * g++.dg/ipa/ivinline-4.C: Likewise. * g++.dg/ipa/ivinline-5.C: Likewise. * g++.dg/ipa/ivinline-7.C: Likewise. * g++.dg/ipa/ivinline-8.C: Likewise. * g++.dg/ipa/ivinline-9.C: Likewise. * g++.dg/cpp0x/noexcept03.C: Likewise. * gcc.dg/const-1.c: Likewise. * gcc.dg/ipa/pure-const-1.c: Likewise. * gcc.dg/noreturn-8.c: Likewise. * gcc.target/i386/mmx-1.c: Likewise. * gcc.dg/tree-ssa/ipa-split-5.c: Likewise. * gcc.dg/tree-ssa/loadpre6.c: Likewise. * gcc.c-torture/execute/pr33992.x: New file. From-SVN: r197157
Alexander Ivchenko committed -
* gcc/target.def (TARGET_HAS_IFUNC_P): New target hook. * gcc/doc/tm.texi.in (TARGET_HAS_IFUNC_P): New. * gcc/doc/tm.texi: Regenerate. * gcc/targhooks.h (default_has_ifunc_p): New. * gcc/targhooks.c (default_has_ifunc_p): Ditto. * gcc/config/linux-protos.h: New file. * gcc/config/linux-android.h (TARGET_HAS_IFUNC_P): Using version of this hook for linux which disables support of indirect functions in android. * gcc/config/linux-android.c: New file. * gcc/config/t-linux-android.c: Ditto. * gcc/config.gcc: Added new object file linux-android.o. * gcc/config/i386/i386.c (ix86_get_function_versions_dispatcher): Using TARGET_HAS_IFUNC hook instead of HAVE_GNU_INDIRECT_FUNCTION. * gcc/varasm.c (do_assemble_alias): Likewise. * configure.ac: Define HAVE_GNU_INDIRECT_FUNCTION as zero if the target doesn't support indirect functions. * configure: Regenerate. From-SVN: r197156
Alexander Ivchenko committed
-