- 20 May, 2014 13 commits
-
-
gcc/cp/ PR bootstrap/61210 * pt.c (tsubst_copy, tsubst_omp_for_iterator, tsubst_expr) (tsubst_copy_and_build): Perform recursive substitutions in a deterministic order. From-SVN: r210645
Richard Sandiford committed -
simplify-rtx.c (simplify_binary_operation_1): Optimize case of nested VEC_SELECTs that are inverses of each other. [gcc] 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * simplify-rtx.c (simplify_binary_operation_1): Optimize case of nested VEC_SELECTs that are inverses of each other. [gcc/testsuite] 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.target/powerpc/vsxcopy.c: New test. From-SVN: r210644
Bill Schmidt committed -
2014-05-20 Richard Biener <rguenther@suse.de> * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating, (extract_and_process_scc_for_name): not here. (cond_dom_walker::before_dom_children): Only process stmts that end the BB in interesting ways. (run_scc_vn): Mark param uses as visited. From-SVN: r210643
Richard Biener committed -
/cp 2014-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58664 * typeck2.c (cxx_incomplete_type_inform): New. (cxx_incomplete_type_diagnostic): Use it. * decl.c (grokdeclarator): Check the element type of an incomplete array type; call the above. * cp-tree.h (cxx_incomplete_type_inform): Declare. /testsuite 2014-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58664 * g++.dg/cpp0x/nsdmi-union6.C: New. * g++.dg/parse/pr58664.C: Likewise. * g++.dg/cpp0x/nsdmi6.C: Tweak. * g++.dg/parse/crash31.C: Likewise. * g++.dg/template/error2.C: Likewise. * g++.dg/template/inherit8.C: Likewise. * g++.dg/template/offsetof2.C: Likewise. From-SVN: r210642
Paolo Carlini committed -
* config/arm/arm.md (arith_shiftsi): Do not predicate for arm_restrict_it. From-SVN: r210640
Kyrylo Tkachov committed -
contrib/ * dg-extract-results.py (parse_run): Handle warnings that are printed before a test harness is run. From-SVN: r210637
Richard Sandiford committed -
msp430.md (zero_extendpsisi2): Use + constraint on operand 0 in order to prevent confusion about the number of... * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on operand 0 in order to prevent confusion about the number of registers involved. From-SVN: r210636
Nick Clifton committed -
2014-05-20 Sebastian Huber <sebastian.huber@embedded-brains.de> libffi/ * testsuite/lib/libffi.exp (load_gcc_lib): Register loaded libs. libjava/ * testsuite/lib/libjava.exp (load_gcc_lib): Register loaded libs. libstdc++-v3/ * testsuite/lib/libstdc++.exp (load_gcc_lib): Register loaded libs. From-SVN: r210634
Sebastian Huber committed -
2014-05-20 Richard Biener <rguenther@suse.de> PR tree-optimization/61221 * tree-ssa-pre.c (el_to_update): Remove. (eliminate_dom_walker::before_dom_children): Handle released VDEFs by value-numbering them to the associated VUSE. Update stmt immediately for substituted call address. (eliminate): Remove delayed stmt updating code. * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing possibly late re-numbered vuses. (vn_reference_lookup_2): Adjust. (vn_reference_lookup_pieces): Likewise. (vn_reference_lookup): Likewise. From-SVN: r210633
Richard Biener committed -
2014-05-20 Richard Biener <rguenther@suse.de> gcc/ * config.gcc: Remove need_64bit_hwint. * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT. * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume it to be true. * config.in: Regenerate. * configure: Likewise. libcpp/ * configure.ac: Copy gcc logic of detecting a 64bit type. Remove HOST_WIDE_INT define. * include/cpplib.h: typedef cpp_num_part to a 64bit type, similar to how hwint.h does it. * config.in: Regenerate. * configure: Likewise. From-SVN: r210632
Richard Biener committed -
From-SVN: r210631
Joern Rennecke committed -
2014-05-20 Tim Shen <timshen91@gmail.com> PR libstdc++/61227 * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_character_class): Add negative character class support. * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply): Likewise. * testsuite/28_regex/algorithms/regex_match/ecma/char/quoted_char.cc: Add more testcases. From-SVN: r210630
Tim Shen committed -
From-SVN: r210629
GCC Administrator committed
-
- 19 May, 2014 23 commits
-
-
From-SVN: r210625
Jonathan Wakely committed -
PR c++/58761 * pt.c (tsubst_copy): Don't check at_function_scope_p. (instantiate_class_template_1): Don't push_to_top_level in an nsdmi. From-SVN: r210624
Jason Merrill committed -
/cp 2014-05-19 Paolo Carlini <paolo.carlini@oracle.com> * typeck2.c (cxx_incomplete_type_diagnostic): Use inform. * parser.c (cp_parser_enum_specifier): Likewise. /testsuite 2014-05-19 Paolo Carlini <paolo.carlini@oracle.com> * c-c++-common/gomp/simd4.c: Adjust for inform. * g++.dg/cpp0x/decltype-call1.C: Likewise. * g++.dg/cpp0x/forw_enum6.C: Likewise. * g++.dg/cpp0x/lambda/lambda-ice7.C: Likewise. * g++.dg/cpp0x/noexcept15.C: Likewise. * g++.dg/cpp0x/variadic-ex2.C: Likewise. * g++.dg/eh/spec6.C: Likewise. * g++.dg/expr/cast1.C: Likewise. * g++.dg/expr/dtor1.C: Likewise. * g++.dg/ext/is_base_of_diagnostic.C: Likewise. * g++.dg/ext/unary_trait_incomplete.C: Likewise. * g++.dg/gomp/pr49223-2.C: Likewise. * g++.dg/gomp/udr-4.C: Likewise. * g++.dg/init/delete1.C: Likewise. * g++.dg/other/crash-2.C: Likewise. * g++.dg/parse/crash24.C: Likewise. * g++.dg/parse/crash25.C: Likewise. * g++.dg/parse/crash31.C: Likewise. * g++.dg/parse/crash49.C: Likewise. * g++.dg/parse/crash50.C: Likewise. * g++.dg/parse/crash54.C: Likewise. * g++.dg/parse/dtor7.C: Likewise. * g++.dg/parse/error40.C: Likewise. * g++.dg/parse/fused-params1.C: Likewise. * g++.dg/parse/new1.C: Likewise. * g++.dg/template/crash35.C: Likewise. * g++.dg/template/crash59.C: Likewise. * g++.dg/template/crash77.C: Likewise. * g++.dg/template/error51.C: Likewise. * g++.dg/template/incomplete1.C: Likewise. * g++.dg/template/incomplete3.C: Likewise. * g++.dg/template/incomplete4.C: Likewise. * g++.dg/template/incomplete5.C: Likewise. * g++.dg/template/inherit8.C: Likewise. * g++.dg/template/instantiate1.C: Likewise. * g++.dg/template/instantiate3.C: Likewis: Likewise. * g++.dg/template/offsetof2.C: Likewise. * g++.dg/tm/pr51928.C: Likewise. * g++.dg/warn/Wdelete-incomplete-1.C: Likewise. * g++.dg/warn/incomplete1.C: Likewise. * g++.dg/warn/incomplete2.C: Likewise. * g++.old-deja/g++.brendan/friend4.C: Likewise. * g++.old-deja/g++.bugs/900121_01.C: Likewise. * g++.old-deja/g++.bugs/900214_01.C: Likewise. * g++.old-deja/g++.eh/catch1.C: Likewise. * g++.old-deja/g++.eh/spec6.C: Likewise. * g++.old-deja/g++.mike/p7868.C: Likewise. * g++.old-deja/g++.other/crash38.C: Likewise. * g++.old-deja/g++.other/enum2.C: Likewise. * g++.old-deja/g++.other/incomplete.C: Likewise. * g++.old-deja/g++.other/vaarg3.C: Likewise. * g++.old-deja/g++.pt/crash9.C: Likewise. * g++.old-deja/g++.pt/niklas01a.C: Likewise. * g++.old-deja/g++.pt/typename8.C: Likewise. * g++.old-deja/g++.robertl/ice990323-1.C: Likewise. From-SVN: r210623
Paolo Carlini committed -
2014-05-19 David Wohlferd <dw@LimeGreenSocks.com> * doc/extend.texi: Create Label Attributes section, move all label attributes into it and reference it. From-SVN: r210621
David Wohlferd committed -
From-SVN: r210620
Mike Stump committed -
* arm.c (thumb1_reorg): When scanning backwards skip anything that's not a proper insn. From-SVN: r210618
Richard Earnshaw committed -
(check_effective_target_vect_sizes_32B_16B): Return false if 128-bit AVX vectors preferred. From-SVN: r210617
Joseph Myers committed -
target-supports.exp (check_effective_target_avx): Early out if not x86 to prevent x86 flags on non-x86 targets. * lib/target-supports.exp (check_effective_target_avx): Early out if not x86 to prevent x86 flags on non-x86 targets. From-SVN: r210616
Mike Stump committed -
From-SVN: r210615
Richard Henderson committed -
2014-05-19 Richard Biener <rguenther@suse.de> PR tree-optimization/61221 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Do nothing for unreachable blocks. * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children): Improve unreachability detection. * gcc.dg/torture/pr61221.c: New testcase. From-SVN: r210614
Richard Biener committed -
2014-05-19 Richard Biener <rguenther@suse.de> PR tree-optimization/61209 * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP. * gfortran.dg/pr61209.f90: New testcase. From-SVN: r210613
Richard Biener committed -
* except.c (init_eh): Fix computation of builtin setjmp buffer size to allow for targets where POINTER_SIZE > BITS_PER_WORD. From-SVN: r210612
Nick Clifton committed -
2014-05-19 Richard Biener <rguenther@suse.de> PR tree-optimization/61184 * tree-vrp.c (is_negative_overflow_infinity): Use TREE_OVERFLOW_P and do that check first. (is_positive_overflow_infinity): Likewise. (is_overflow_infinity): Likewise. (vrp_operand_equal_p): Properly treat operands with differing overflow as not equal. * c-c++-common/torture/pr61184.c: New testcase. From-SVN: r210611
Richard Biener committed -
* simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in shift simplification where it was intended. From-SVN: r210610
Bernd Schmidt committed -
PR target/61195 * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov From-SVN: r210608
Christian Bruel committed -
gcc/ PR target/61084 * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather than wide_int. From-SVN: r210604
Richard Sandiford committed -
gcc/ * reg-notes.def (CROSSING_JUMP): Likewise. * rtl.h (rtx_def): Update comment for jump flag. (CROSSING_JUMP_P): Define. * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead of a REG_CROSSING_JUMP note. * cfghooks.c (tidy_fallthru_edges): Likewise. * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise. * emit-rtl.c (try_split): Likewise. * haifa-sched.c (sched_create_recovery_edges): Likewise. * ifcvt.c (find_if_case_1, find_if_case_2): Likewise. * jump.c (redirect_jump_2): Likewise. * reorg.c (follow_jumps, fill_slots_from_thread): Likewise. (relax_delay_slots): Likewise. * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise. (bbit_di): Likewise. * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise. * config/sh/sh.md (jump_compact): Likewise. * bb-reorder.c (rotate_loop): Likewise. (pass_duplicate_computed_gotos::execute): Likewise. (add_reg_crossing_jump_notes): Rename to... (update_crossing_jump_flags): ...this. (pass_partition_blocks::execute): Update accordingly. From-SVN: r210603
Richard Sandiford committed -
gcc/ * tree.h: Remove extraneous template <>. From-SVN: r210602
Richard Sandiford committed -
2014-05-18 Wei Mi <wmi@google.com> PR target/58066 * gcc.target/i386/pr58066.c: Replace pattern matching of .cfi directive with rtl insns. Add effective-target of fpic and tls_native. From-SVN: r210601
Wei Mi committed -
From-SVN: r210599
Xinliang David Li committed -
ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated. * ipa.c (symtab_remove_unreachable_nodes): Remove symbol from comdat group if its body was eliminated. (comdat_can_be_unshared_p_1): Static symbols can always be privatized. * symtab.c (symtab_remove_from_same_comdat_group): Break out from ... (symtab_unregister_node): ... this one. (verify_symtab_base): More strict checking of comdats. * cgraph.h (symtab_remove_from_same_comdat_group): Declare. From-SVN: r210598
Jan Hubicka committed -
* tree-pass.h (make_pass_ipa_comdats): New pass. * timevar.def (TV_IPA_COMDATS): New timevar. * passes.def (pass_ipa_comdats): Add. * Makefile.in (OBJS): Add ipa-comdats.o * ipa-comdats.c: New file. * g++.dg/ipa/comdat.C: New file. From-SVN: r210597
Jan Hubicka committed -
From-SVN: r210596
GCC Administrator committed
-
- 18 May, 2014 4 commits
-
-
* ipa.c (update_visibility_by_resolution_info): New function. (function_and_variable_visibility): Use it. From-SVN: r210592
Jan Hubicka committed -
* gcc-interface/trans.c (Subprogram_Body_to_gnu): Rework comment and set function_start_locus. From-SVN: r210591
Eric Botcazou committed -
* utils.c (gnat_write_global_declarations): Adjust the flags put on dummy_global. From-SVN: r210589
Eric Botcazou committed -
* gcc-interface/decl.c (change_qualified_type): New static function. (gnat_to_gnu_entity): Use it throughout to add qualifiers on types. <E_Array_Type>: Set TYPE_VOLATILE on the array type directly. <E_Array_Subtype>: Likewise. Do not set flags on an UNCONSTRAINED_ARRAY_TYPE directly. (gnat_to_gnu_component_type): Likewise. (gnat_to_gnu_param): Likewise. From-SVN: r210588
Eric Botcazou committed
-