- 13 Aug, 2013 20 commits
-
-
* gcc-interface/decl.c (gnat_to_gnu_entity): Do not bother about alias sets of derived types in ASIS mode. From-SVN: r201705
Eric Botcazou committed -
* gcc-interface/decl.c (gnat_to_gnu_entity): Replace True with true. (is_cplusplus_method): Likewise, and False with false. (components_need_strict_alignment): Likewise. * gcc-interface/misc.c (gnat_init_gcc_fp): Likewise. * gcc-interface/trans.c (Loop_Statement_to_gnu): Likewise. (Handled_Sequence_Of_Statements_to_gnu): Likewise. (add_cleanup): Likewise. (Sloc_to_locus1): Likewise. (Sloc_to_locus): Likewise. (set_expr_location_from_node): Likewise. * gcc-interface/utils.c (potential_alignment_gap): Likewise. From-SVN: r201704
Eric Botcazou committed -
* gcc-interface/trans.c (set_end_locus_from_node): Clear column info for the end_locus of a block if it does not come from an End_Label. From-SVN: r201703
Thomas Quinot committed -
* gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu): If there is no End_Label, attach cleanup actions to the sloc of the HSS node instead. (Exception_Handler_to_gnu_zcx): Associate cleanup actions with the sloc of the handler itself. (add_cleanup): Clear column information in sloc of cleanup actions. (Sloc_to_locus1): New static function. (Sloc_to_locus): Call it. (set_expr_location_from_node1): New static function. (set_expr_location_from_node): Call it. From-SVN: r201702
Thomas Quinot committed -
rs6000.c (rs6000_legitimize_reload_address): Don't perform invalid legitimization on greater-than-word-size modes for... * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't perform invalid legitimization on greater-than-word-size modes for TARGET_E500_DOUBLE. From-SVN: r201701
Julian Brown committed -
* gcc-interface/trans.c (Call_to_gnu): Deal with specific conditional expressions for misaligned actual parameters. From-SVN: r201700
Eric Botcazou committed -
ira.c (setup_class_translate_array): Use aclass instead of cl for classes not fully covered by allocno classes. 2013-08-13 Vladimir Makarov <vmakarov@redhat.com> * ira.c (setup_class_translate_array): Use aclass instead of cl for classes not fully covered by allocno classes. From-SVN: r201699
Vladimir Makarov committed -
PR tree-optimization/57661 * tree-inline.h (struct copy_body_data): Add blocks_to_copy field. * tree-inline.c (tree_function_versioning): Initialize it. (remap_gimple_stmt): Return GIMPLE_NOP for MEM_REF lhs clobber stmts if id->blocks_to_copy and MEM_REF's SSA_NAME is defined in a block that is not being copied. * g++.dg/opt/pr57661.C: New test. From-SVN: r201698
Jakub Jelinek committed -
PR sanitizer/56417 * asan.c (instrument_strlen_call): Fix typo in comment. Use char * type even for the lhs of POINTER_PLUS_EXPR. * gcc.dg/asan/pr56417.c: New test. From-SVN: r201696
Jakub Jelinek committed -
* gcc-interface/trans.c (can_equal_min_or_max_val_p): Be prepared for values outside of the range of the type. From-SVN: r201692
Eric Botcazou committed -
2013-08-13 Steve Ellcey <sellcey@mips.com> * config/mips/mips.md (prefetch): Use lw instead of ld on loongson in 32bit mode. From-SVN: r201691
Steve Ellcey committed -
From-SVN: r201690
Nick Clifton committed -
From-SVN: r201689
Maciej W. Rozycki committed -
From-SVN: r201686
Marek Polacek committed -
* cgraph.c (cgraph_turn_edge_to_speculative): Return newly introduced edge; fix typo in sanity check. (cgraph_resolve_speculation): Export; improve diagnostic. (cgraph_redirect_edge_call_stmt_to_callee): Better diagnostic; cancel speculation at type mismatch. * cgraph.h (cgraph_turn_edge_to_speculative): Update. (cgraph_resolve_speculation): Declare. (symtab_can_be_discarded): New function. * value-prof.c (gimple_ic_transform): Remove actual transform code. * ipa-inline-transform.c (speculation_removed): New global var. (clone_inlined_nodes): See if speculation can be removed. (inline_call): If speculations was removed, we growths may not match. * ipa-inline.c (can_inline_edge_p): Add DISREGARD_LIMITS parameter. (speculation_useful_p): New function. (resolve_noninline_speculation): New function. (inline_small_functions): Resolve useless speculations. * ipa-inline.h (speculation_useful_p): Declare * ipa.c (can_replace_by_local_alias): Simplify. (ipa_profile): Produce speculative calls in non-lto, too; add simple cost model; produce local aliases. From-SVN: r201683
Jan Hubicka committed -
utils2.c (build_atomic_load): Do a mere view-conversion to the original type before converting to the result type. * gcc-interface/utils2.c (build_atomic_load): Do a mere view-conversion to the original type before converting to the result type. (build_atomic_store): First do a conversion to the original type before view-converting to the effective type, but deal with a padded type specially. From-SVN: r201682
Eric Botcazou committed -
gcc/testsuite 2013-08-13 David Malcolm <dmalcolm@redhat.com> Example of converting global state to per-pass state. * gcc.dg/plugin/one_time_plugin.c (one_pass::execute): Convert global state "static int counter" to... (one_pass::counter): ...this instance data. From-SVN: r201681
David Malcolm committed -
gcc/testsuite 2013-08-13 David Malcolm <dmalcolm@redhat.com> * gcc.dg/plugin/one_time_plugin.c: (one_pass_gate): Convert to member function... (one_pass::gate): ...this. (one_pass_exec): Convert to member function... (one_pass::impl_execute): ...this. From-SVN: r201680
David Malcolm committed -
2013-08-13 David Malcolm <dmalcolm@redhat.com> * config/i386/t-i386 (i386.o): Rename stray PIPELINE_H to PASS_MANAGER_H From-SVN: r201679
David Malcolm committed -
From-SVN: r201678
GCC Administrator committed
-
- 12 Aug, 2013 14 commits
-
-
From-SVN: r201674
Adam Butcher committed -
From-SVN: r201673
Adam Butcher committed -
2013-08-12 Paolo Carlini <paolo.carlini@oracle.com> PR c++/57416 * g++.dg/cpp0x/pr57416.C: New. From-SVN: r201672
Paolo Carlini committed -
2013-08-12 Paolo Carlini <paolo.carlini@oracle.com> * config/i386/i386.c (ix86_function_versions): Use error + inform. /cp 2013-08-12 Paolo Carlini <paolo.carlini@oracle.com> * decl.c (warn_extern_redeclared_static, duplicate_decls, check_elaborated_type_specifier): Use error + inform. * friend.c (make_friend_class): Likewise. * semantics.c (finish_id_expression): Likewise. /testsuite 2013-08-12 Paolo Carlini <paolo.carlini@oracle.com> * g++.dg/cpp0x/constexpr-function2.C: Adjust for error -> inform changes. * g++.dg/cpp0x/constexpr-neg1.C: Likewise. * g++.dg/cpp0x/defaulted2.C: Likewise. * g++.dg/cpp0x/defaulted31.C: Likewise. * g++.dg/cpp0x/error6.C: Likewise. * g++.dg/cpp0x/gen-attrs-32.C: Likewise. * g++.dg/cpp0x/override2.C: Likewise. * g++.dg/cpp0x/parse1.C: Likewise. * g++.dg/cpp0x/scoped_enum.C: Likewise. * g++.dg/cpp0x/temp_default4.C: Likewise. * g++.dg/ext/attrib32.C: Likewise. * g++.dg/ext/gnu-inline-global-reject.C: Likewise. * g++.dg/ext/mv13.C: Likewise. * g++.dg/ext/mv7.C: Likewise. * g++.dg/ext/mv9.C: Likewise. * g++.dg/ext/pr57362.C: Likewise. * g++.dg/ext/typeof10.C: Likewise. * g++.dg/lookup/anon6.C: Likewise. * g++.dg/lookup/crash6.C: Likewise. * g++.dg/lookup/name-clash5.C: Likewise. * g++.dg/lookup/name-clash6.C: Likewise. * g++.dg/other/anon4.C: Likewise. * g++.dg/other/error15.C: Likewise. * g++.dg/other/error8.C: Likewise. * g++.dg/other/redecl2.C: Likewise. * g++.dg/parse/crash16.C: Likewise. * g++.dg/parse/crash21.C: Likewise. * g++.dg/parse/crash38.C: Likewise. * g++.dg/parse/redef2.C: Likewise. * g++.dg/parse/struct-as-enum1.C: Likewise. * g++.dg/template/crash39.C: Likewise. * g++.dg/template/redecl3.C: Likewise. * g++.dg/tls/diag-3.C: Likewise. * g++.dg/warn/Wredundant-decls-spec.C: Likewise. * g++.old-deja/g++.benjamin/typedef01.C: Likewise. * g++.old-deja/g++.benjamin/warn02.C: Likewise. * g++.old-deja/g++.brendan/crash16.C: Likewise. * g++.old-deja/g++.brendan/crash18.C: Likewise. * g++.old-deja/g++.brendan/err-msg4.C: Likewise. * g++.old-deja/g++.brendan/redecl1.C: Likewise. * g++.old-deja/g++.brendan/static3.C: Likewise. * g++.old-deja/g++.bugs/900127_02.C: Likewise. * g++.old-deja/g++.jason/binding.C: Likewise. * g++.old-deja/g++.jason/crash4.C: Likewise. * g++.old-deja/g++.jason/crash7.C: Likewise. * g++.old-deja/g++.jason/lineno.C: Likewise. * g++.old-deja/g++.jason/scoping7.C: Likewise. * g++.old-deja/g++.mike/misc3.C: Likewise. * g++.old-deja/g++.mike/net44.C: Likewise. * g++.old-deja/g++.mike/ns3.C: Likewise. * g++.old-deja/g++.ns/alias4.C: Likewise. * g++.old-deja/g++.ns/ns11.C: Likewise. * g++.old-deja/g++.other/crash23.C: Likewise. * g++.old-deja/g++.other/decl8.C: Likewise. * g++.old-deja/g++.other/linkage3.C: Likewise. * g++.old-deja/g++.other/typeck1.C: Likewise. * g++.old-deja/g++.other/typedef5.C: Likewise. * g++.old-deja/g++.pt/explicit34.C: Likewise. * g++.old-deja/g++.pt/friend36.C: Likewise. * obj-c++.dg/method-8.mm: Likewise. * obj-c++.dg/tls/diag-3.mm: Likewise. From-SVN: r201671
Paolo Carlini committed -
From-SVN: r201669
Caroline Tice committed -
2013-08-12 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (floatunssi<mode>2 expand): Use MODEF mode iterator instead of X87MODEF. 2013-08-12 Perez Read <netfirewall@gmail.com> PR target/58132 * config/i386/i386.md (*movabs<mode>_1): Add <ptrsize> PTR before operand 0 for intel asm alternative. (*movabs<mode>_2): Ditto for operand 1. testsuite/ChangeLog: 2013-08-12 Perez Read <netfirewall@gmail.com> PR target/58132 * gcc.target/i386/movabs-1.c: New test. From-SVN: r201668
Uros Bizjak committed -
gcc/ * config/aarch64/arm_none.h (vdup<bhsd>_lane_<su><8,16,32,64>): Fix macro call. From-SVN: r201666
James Greenhalgh committed -
From-SVN: r201664
Nick Clifton committed -
i386.md (floatunssi<mode>2 expand): Add new expand for QI/HImode operand to produce more effictive code for... * config/i386/i386.md (floatunssi<mode>2 expand): Add new expand for QI/HImode operand to produce more effictive code for unsigned char(short) --> float(double) conversion. From-SVN: r201663
Yuri Rumyantsev committed -
From-SVN: r201661
Alexander Monakov committed -
re PR tree-optimization/57980 (gcc 4.8.1 -foptimize-sibling-calls -O1 ICE in build_int_cst_wide, at tree.c:1210) PR tree-optimization/57980 Co-Authored-By: Marc Glisse <marc.glisse@inria.fr> From-SVN: r201660
Marek Polacek committed -
From-SVN: r201659
Jan Hubicka committed -
2013-08-12 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/56666 * gfortran.h (gfc_option_t): Add warn_zerotrip. * invoke.texi (-Wzerotrip): Document option. * lang.opt (Wzerotrip): Add. * options.c (gfc_init_options): Initialize warn_zerotrip. (set_Wall): Add handling of warn_zerotrip. (gfc_handle_option): Handle OPT_Wzerotrip. * resolve.c (gfc_resolve_iterator): Honor gfc_option.warn_zerotrip; update error message to show how to suppress the warning. 2013-08-12 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/56666 * gfortran.dg/do_check_10.f90: New test. * gfortran.dg/array_constructor_11.f90: Add -Wzerotrip to dg-options. * gfortran.dg/array_constructor_18.f90: Likewise. * gfortran.dg/array_constructor_22.f90: Likewise. * gfortran.dg/coarray_15.f90: Likewise. * gfortran.dg/do_1.f90: Add -Wall to dg-options. * gfortran.dg/do_3.F90: Add -Wzerotrip to dg-options. * gfortran.dg/do_check_5.f90: Add -Wall to gd-options. From-SVN: r201658
Thomas Koenig committed -
From-SVN: r201657
GCC Administrator committed
-
- 11 Aug, 2013 2 commits
-
-
2013-08-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/53349 * g++.dg/cpp0x/constexpr-ice8.C: New. From-SVN: r201654
Paolo Carlini committed -
From-SVN: r201651
GCC Administrator committed
-
- 10 Aug, 2013 4 commits
-
-
Workaround binutils PR14342 * tree-profile.c (init_ic_make_global_vars): Add LTO path. (gimple_init_edge_profiler): Likewise. (gimple_gen_ic_func_profiler): Likewise. * Makefile.in: Add _gcov_indirect_call_profiler_v2 symbol. * libgcov.c (L_gcov_indirect_call_profiler): Restore original API. (L_gcov_indirect_call_profiler_v2): New. From-SVN: r201648
Jan Hubicka committed -
From-SVN: r201646
Jan Hubicka committed -
From-SVN: r201645
Xinliang David Li committed -
2013-08-09 Carlos O'Donell <carlos@redhat.com> * MAINTAINERS (Write After Approval): Update email. From-SVN: r201644
Carlos O'Donell committed
-