- 09 Mar, 2015 6 commits
-
-
PR libstdc++/64467 * testsuite/28_regex/traits/char/isctype.cc: Don't test newline for newlib targets. Really fix mixed line-endings this time. From-SVN: r221279
Jonathan Wakely committed -
* c-convert.c (convert): Make use of do_ubsan_in_current_function. * c-decl.c (grokdeclarator): Likewise. * c-typeck.c (build_binary_op): Likewise. From-SVN: r221278
Marek Polacek committed -
* ipa-inline-analysis.c (check_callers): Check node->can_remove_if_no_direct_calls_and_refs_p. (growth_likely_positive): Reorganize to call can_remove_if_no_direct_calls_p later. * cgraph.h (will_be_removed_from_program_if_no_direct_calls_p, will_be_removed_from_program_if_no_direct_calls_p): Add will_inline parameter. * cgraph.c (cgraph_node::can_remove_if_no_direct_calls_p, cgraph_node::will_be_removed_from_program_if_no_direct_calls_p): Handle inliner case correctly. From-SVN: r221277
Jan Hubicka committed -
2015-03-09 Thomas Preud'homme <thomas.preudhomme@arm.com> gcc/ PR tree-optimization/63743 * cfgexpand.c (reorder_operands): Also reorder if only second operand had its definition forwarded by TER. gcc/testsuite/ PR tree-optimization/63743 * gcc.dg/pr63743.c: New test. From-SVN: r221276
Thomas Preud'homme committed -
re PR lto/65316 (LTO: Uninitialized memory / ICE with -g -fno-lto-odr-type-merging: in types_same_for_odr, at ipa-devirt.c:465) PR lto/65316 * ipa-utils.h (types_odr_comparable): Add strict argument. * ipa-devirt.c: Fix whitespace; (odr_hasher): Remove. (odr_name_hasher, odr_vtable_hasher): New hashers. (can_be_name_hashed_p): New predicate. (hash_type_name): remove. (hash_odr_name): New. (odr_name_hasher::hash): new. (can_be_vtable_hashed_p): New. (hash_odr_vtable): New. (odr_vtable_hasher::hash): New. (types_same_for_odr): Add strict parameter. (types_odr_comparable): Likewise. (odr_name_hasher::equal): New. (odr_vtable_hasher::equal): New. (odr_name_hasher::remove): New. (odr_hash_type): Change to hash_table<odr_name_hasher>. (odr_vtable_hash_type): New. (odr_vtable_hash): New. (odr_subtypes_equivalent_p): Do strict comparsion. (add_type_duplicate): Merge type names; cleanup; avoid type duplicates. (register_odr_type): Initialize vtable hash. (build_type_inheritance_graph): Likewise (get_odr_type): Reorg to use two hashes. (dump_possible_polymorphic_call_targets): Move sanity check after debug output. (ipa_devirt): Dump type_inheritance_graph. (types_same_for_odr): Add strict mode. * g++.dg/lto/pr65316_0.C: New testcase. * g++.dg/lto/pr65316_1.C: New testcase. From-SVN: r221275
Jan Hubicka committed -
From-SVN: r221274
GCC Administrator committed
-
- 08 Mar, 2015 11 commits
-
-
PR target/62247 * g++.dg/abi/anon3.C: Skip failing scan-assembler checks on hppa*-*-hpux*. * g++.dg/abi/rtti3.C: Likewise. From-SVN: r221271
John David Anglin committed -
* g++.dg/ipa/pr63621.C: Add dg-require-effective-target named_sections. From-SVN: r221270
John David Anglin committed -
* varasm.c (function_section_1): Use definition_alignment. (assemble_start_function): Likewise. (emit_local): likewise. (build_constant_desc): Likewsie. (output_constant_def_contents): Likewise. (place_block_symbol): Likewise. (output_object_block): Likewise. From-SVN: r221269
Jan Hubicka committed -
re PR ipa/65334 (r221099 caused: FAIL: gfortran.fortran-torture/execute/in-pack.f90 execution, -O2 -ftree-vectorize -msse2) PR ipa/65334 * cgraph.h (symtab_node): Add definition_alignment, can_increase_alignment_p and increase_alignment. * symtab.c (symtab_node::can_increase_alignment_p, increase_alignment_1, symtab_node::increase_alignment, symtab_node::definition_alignment): New. * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Use can_increase_alignment_p. * tree-vectorizer.c (increase_alignment): Use increase_alignment. * tree-vect-stmts.c (ensure_base_align): Likewise. From-SVN: r221268
Jan Hubicka committed -
PR target/62251 * gfortran.dg/quad_2.f90: xfail hppa*-*-hpux*. From-SVN: r221267
John David Anglin committed -
* gcc.dg/signbit-sa.c: Add dg-require-effective-target c99_runtime From-SVN: r221266
John David Anglin committed -
* gcc.dg/ipa/pr64307.c: Add target c99_runtime. From-SVN: r221265
John David Anglin committed -
* gcc.dg/ipa/ipa-icf-34.c: Add dg-require-alias. From-SVN: r221264
John David Anglin committed -
From-SVN: r221263
David Edelsohn committed -
PR fortran/60898 fortran/ * resolve.c (resolve_symbol): Check that the symbol found by name lookup really is the current symbol being resolved. testsuite/ * gfortran.dg/entry_20.f90: New. From-SVN: r221262
Mikael Morin committed -
From-SVN: r221261
GCC Administrator committed
-
- 07 Mar, 2015 6 commits
-
-
re PR lto/65316 (LTO: Uninitialized memory / ICE with -g -fno-lto-odr-type-merging: in types_same_for_odr, at ipa-devirt.c:465) PR ipa/65316 * tree.c (free_lang_data_in_type): Be sure to keep BINFO_VTABLE when outputting debug. From-SVN: r221258
Jan Hubicka committed -
re PR target/65153 ([SH][4.9 Regression] "insn does not satisfy its constraints" when compiling libmcrypt) gcc/testsuite/ PR target/65153 * gcc.c-torture/compile/pr65153.c: New. From-SVN: r221257
Oleg Endo committed -
re PR target/65249 (unable to find a register to spill in class 'R0_REGS' when compiling protobuf on sh4) gcc/testsuite/ PR target/65249 * g++.dg/torture/pr65249.C: New. From-SVN: r221256
Oleg Endo committed -
* gcc.target/i386/pr45685.c (uint64_t): Replace long with long long. (int64_t): Likewise. From-SVN: r221255
H.J. Lu committed -
From-SVN: r221254
Joseph Myers committed -
From-SVN: r221253
GCC Administrator committed
-
- 06 Mar, 2015 17 commits
-
-
PR sanitizer/65280 * doc/invoke.texi: Update description of -fsanitize=bounds. * c-ubsan.c (ubsan_instrument_bounds): Check for COMPONENT_REF before trying to figure out whether we have a flexible array member. * c-c++-common/ubsan/bounds-1.c: Add testing of flexible array member-like arrays. * c-c++-common/ubsan/bounds-8.c: New test. * c-c++-common/ubsan/bounds-9.c: New test. * gcc.dg/ubsan/bounds-2.c: New test. Co-Authored-By: Martin Uecker <uecker@eecs.berkeley.edu> From-SVN: r221250
Marek Polacek committed -
* ptree.c (cxx_print_lambda_node): New. (cxx_print_xnode): Handle LAMBDA_EXPR. From-SVN: r221249
Aldy Hernandez committed -
re PR testsuite/63175 (FAIL: gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c scan-tree-dump-times slp2" basic block vectorized using SLP" 1) 2015-03-05 Martin Sebor <msebor@redhat.com> * PR testsuite/63175 * gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a.c (main1): Move checking of results into main to prevent it from getting optimized away. * gcc.dg/vect/costmodel/ppc/costmodel-bb-slp-9a-pr63175.c: New test. From-SVN: r221248
Martin Sebor committed -
2015-03-06 Bernd Edlinger <bernd.edlinger@hotmail.de> * dg-extract-results.sh: Check that the necessary python modules exist. From-SVN: r221247
Bernd Edlinger committed -
2015-03-06 Wilco Dijkstra <wdijkstr@arm.com> gcc/ * tree-ssa-phiopt.c (neg_replacement): Remove. (tree_ssa_phiopt_worker): Remove negate optimization. gcc/testsuite/ * gcc.dg/tree-ssa/pr45685.c: Move to gcc.target/i386. * gcc.target/aarch64/csneg-1.c (test_csneg_cmp): New test. * gcc.target/i386/pr45685.c: Moved test, check for conditional move on x64. From-SVN: r221246
Wilco Dijkstra committed -
From-SVN: r221245
Ian Lance Taylor committed -
PR ipa/65302 * value-prof.c (gimple_ic): Pure dead eh edges when needed. * g++.dg/lto/pr65302_1.C: New testcase. * g++.dg/lto/pr65302_0.C: New testcase. From-SVN: r221244
Jan Hubicka committed -
gcc/ * gcc.target/arm/atomic-comp-swap-release-acquire.c: Add -fno-ipa-icf to dg-options. From-SVN: r221243
James Greenhalgh committed -
/ * MAINTAINERS (CPU Port Maintainers): Add myself i386 vector ISA extns mantainer. From-SVN: r221238
Kirill Yukhin committed -
re PR middle-end/64928 (Inordinate cpu time and memory usage in "phase opt and generate" with -ftest-coverage -fprofile-arcs) 2015-03-06 Richard Biener <rguenther@suse.de> PR middle-end/64928 * tree-ssa-live.h (struct tree_live_info_d): Add livein_obstack and liveout_obstack members. (calculate_live_on_exit): Remove. (calculate_live_ranges): Change declaration. * tree-ssa-live.c (liveness_bitmap_obstack): Remove global var. (new_tree_live_info): Adjust. (calculate_live_ranges): Delete livein when not wanted. (calculate_live_ranges): Do not initialize liveness_bitmap_obstack. Deal with partly deleted live info. (loe_visit_block): Remove temporary bitmap by using bitmap_ior_and_compl_into. (live_worklist): Adjust accordingly. (calculate_live_on_exit): Make static. * tree-ssa-coalesce.c (coalesce_ssa_name): Tell calculate_live_ranges we do not need livein. From-SVN: r221237
Richard Biener committed -
* include/std/future (future_error(error_code)): Construct base class with error_code's message. * src/c++11/future.cc (future_error::what()): Do not call c_str() on temporary string. From-SVN: r221236
Jonathan Wakely committed -
From-SVN: r221235
Jonathan Wakely committed -
2015-03-06 Alex Velenko <alex.velenko@arm.com> * ChangeLog (2015-03-05): Reflect Richard Henderson as actual author of the patch. From-SVN: r221234
Alex Velenko committed -
for -flto -fuse-linker-plugin gcc/testsuite/ * c-c++-common/torture/aarch64-vect-lane-2.c: Skip for LTO compiles. From-SVN: r221233
James Greenhalgh committed -
* c-ada-spec.c (dump_ada_double_name): Fix pasto. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r221231
Eric Botcazou committed -
For expressions containing a TypeSwitchGuard with a short variable declaration e.g. var := x.(type), the spec says that var is declared at the beginning of the implicit block for each in each clause. Previously, var was declared in the block for the switch statement and each implicit block, which led to errors if the type case clause referenced a type with a similar name as the declared variable. Fixes golang/go#10047. From-SVN: r221230
Ian Lance Taylor committed -
From-SVN: r221229
GCC Administrator committed
-