[Bug c++/79452] Provide builtin to detect compile-time execution

2017-02-13 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79452 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug tree-optimization/79483] New: [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28)

2017-02-13 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79483 Bug ID: 79483 Summary: [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28) Product: gcc Version: 7.

[Bug tree-optimization/79483] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28)

2017-02-13 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79483 --- Comment #1 from Arseny Solokha --- int tc, ag; int yv (void) { int bt[2]; int cu; bt[0] = 0; for (tc = 0; tc < 2; ++tc) { cu = bt[tc]; for (ag = 0; ag < 2; ++ag) bt[ag] = 0; } return cu; } % gcc-7.0.0-alpha2017

[Bug middle-end/79396] [5/6/7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79483] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28)

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79483 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/79471] [5/6/7 Regression] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79461] [5/6/7 Regression] [C++1z] ICE when capturing a variable in a lambda in a constexpr constructor

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug target/79481] AVX512PF: unmasked gather prefetch intrinsics missing

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79481 --- Comment #1 from Jakub Jelinek --- The SDM (at least 325462-061) doesn't mention these. Though: https://software.intel.com/en-us/node/523825 and LLVM has them too.

[Bug target/79484] New: Segfault when executing a test in Power8

2017-02-13 Thread sergi.mateo at bsc dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79484 Bug ID: 79484 Summary: Segfault when executing a test in Power8 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/79483] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28)

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79483 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0

[Bug rtl-optimization/79456] [7 regression] Extra instruction emitted after LRA patch

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79456 Richard Biener changed: What|Removed |Added Priority|P2 |P3 Version|unknown

[Bug target/79481] AVX512PF: unmasked gather prefetch intrinsics missing

2017-02-13 Thread wen...@mitsuba-renderer.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79481 --- Comment #2 from Wenzel Jakob --- I agree that the docs from Intel are not particularly consistent. In this case, the hardware has dedicated instructions for these type of gathers, so it would make sense for a matching intrinsic to be part of

[Bug c++/79457] [5/6 Regression] Segmentation fault in templated decltype evaluation

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79457 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/79464] [7 Regression] ICE in ipa_modify_formal_ parameters

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79464 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO

[Bug target/79462] [7 Regression] sh: Stack smashing detected when building __ashrdi3 in libgcc

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79462 Richard Biener changed: What|Removed |Added Target||sh Priority|P3

[Bug c/79459] Please add enable_if and diagnose_if attributes (from clang)

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79459 Richard Biener changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/79461] [5/6/7 Regression] [C++1z] ICE when capturing a variable in a lambda in a constexpr constructor

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/79463] [7 Regression] ICE for -g with ./g++.dg/cpp1y/pr79435.C

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79463 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0 Summary|ice for -g with

[Bug c++/79464] [7 Regression] ICE in ipa_modify_formal_ parameters

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79464 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug c/79471] [5/6/7 Regression] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c/79478] possible gimple error with gcc.dg/gimplefe-16.c

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79478 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug other/79469] Feature request: provide `__builtin_assume` builtin function to allow more aggressive optimizations and to match clang

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79469 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Sever

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/79472] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/79481] AVX512PF: unmasked gather prefetch intrinsics missing

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79481 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 --- Comment #3 from Martin Liška --- GCC 6: void frobulate_for_gcc(uint32_t) (uint32_t v) { const char * s; : switch (v_2(D)) , case 0: , case 1: , case 2: > : goto (); : goto (); : # s_1 = PHI <"foo"(2), "bar"(3), "spam"(4), 0

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread yuriks at yuriks dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 --- Comment #4 from Yuri Kunde Schlesner --- Note that, while this particular example uses a noreturn call, the same pattern applies to any switch where the default case is the only one which has code that can't be transformed into a table. For e

[Bug libstdc++/79433] __has_include() is true but #include gives #error when -std=old

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433 --- Comment #20 from Jonathan Wakely --- (In reply to Marc Glisse from comment #19) > (In reply to Jonathan Wakely from comment #16) > > Even if we moved our headers to separate directories, it wouldn't make > > __has_include sufficient.. > > Co

[Bug c/79482] _Static_assert(__builtin_constant_p(x)):

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79482 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/65656] __builtin_constant_p should always be constexpr

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65656 Jonathan Wakely changed: What|Removed |Added CC||mocramis at gmail dot com --- Comment

[Bug c/43027] #pragma rejected inside enum defn

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43027 --- Comment #5 from Jonathan Wakely --- dup of PR 70811?

[Bug c/70811] error on #pragma GCC diagnostic in an enum

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70811 --- Comment #3 from Jonathan Wakely --- Looks similar to PR 78657 and PR 60875

[Bug preprocessor/78657] Using macro with _Pragma gives error: '#pragma' is not allowed here

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78657 --- Comment #6 from Jonathan Wakely --- This does seem like a dup of either PR 70811 or PR 60875

[Bug fortran/79485] New: Bind(c) and module procedure renaming causes wrong procedure to be called

2017-02-13 Thread vladimir.fuka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79485 Bug ID: 79485 Summary: Bind(c) and module procedure renaming causes wrong procedure to be called Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: norma

[Bug c++/79474] Multiple definitions of user-defined conversion operator cause ICE (internal compiler error)

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79474 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79476] C++ frontend ignores diagnostic pragma in macro

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79476 --- Comment #1 from Jonathan Wakely --- (In reply to Julian Andres Klode from comment #0) > According to cpp, all functions expand to the same code. The difference is where the _Pragma is handled. > This used to work at some point a long time a

[Bug target/79481] AVX512PF: unmasked gather prefetch intrinsics missing

2017-02-13 Thread wen...@mitsuba-renderer.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79481 --- Comment #4 from Wenzel Jakob --- I think that's right. Clang e.g. also does this: #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) ({\ __builtin_ia32_gatherpfdps((__mmask16) -1, \ (__v16si)(__m512

[Bug c++/79300] Wrong diagnostics position

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79300 --- Comment #4 from Martin Liška --- I've got one similar: $ cat tc.cpp #define MOZALLOC_THROW_BAD_ALLOC_IF_HAS_EXCEPTIONS throw(std::bad_alloc) MOZALLOC_THROW_BAD_ALLOC_IF_HAS_EXCEPTIONS $ g++ tc.cpp tc.cpp:1:52: error: expected unqualified-i

[Bug fortran/79475] Missing space in error message: SINK addend not a constant integer

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79475 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/79460] gcc fails to optimise out a trivial additive loop for seemingly arbitrary numbers of iterations

2017-02-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79460 --- Comment #5 from amker at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #4) > (In reply to Richard Biener from comment #3) > > In this case it is complete unrolling that can estimate the non-vector code > > to constant fold but no

[Bug tree-optimization/79347] [7 regression] vect_do_peeling is messing up profile

2017-02-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79347 --- Comment #6 from amker at gcc dot gnu.org --- (In reply to amker from comment #5) > Testing a patch, will send for review soon if no failures. After patching, # of mismatches in profile is improved from: tramp3d-v4.cpp.157t.ifcvt:296 tramp3d-

[Bug c/79478] possible gimple error with gcc.dg/gimplefe-16.c

2017-02-13 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79478 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at gcc

[Bug libstdc++/79486] New: [7 Regression]

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79486 Bug ID: 79486 Summary: [7 Regression] Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unas

[Bug libstdc++/79486] [7 Regression] packaged_task uses wrong value category with result_of

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79486 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug libstdc++/79433] __has_include() is true but #include gives #error when -std=old

2017-02-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79433 --- Comment #21 from Marc Glisse --- (In reply to Jonathan Wakely from comment #20) > A solution that only work for GCC isn't a very good solution, because the > whole point of the feature-test macros is to have portable checks that work > across

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 --- Comment #5 from Jakub Jelinek --- We can indeed ignore what the default: case does, but only if all the other case labels form a contiguous range (i.e. there are no gaps in which the default would need to be supplied).

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #51 from Dominik Vogt --- With r245382 plus the patch from comment 43, only the failure in null-deref-1.c is left.

[Bug middle-end/61225] [5/6/7 Regression] Several new failures after r210458 on x86_64-*-* with -m32

2017-02-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61225 Uroš Bizjak changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment #31

[Bug tree-optimization/79483] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28)

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79483 --- Comment #3 from Martin Liška --- It's gone with ISL 0.18 (and w/ --param graphite-min-loops-per-function=1) because it does not process any transformation.

[Bug c/79471] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 Martin Liška changed: What|Removed |Added Summary|[5/6/7 Regression] valgrind |valgrind error for |err

[Bug c/79471] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 --- Comment #3 from Martin Liška --- Author: marxin Date: Mon Feb 13 13:13:21 2017 New Revision: 245385 URL: https://gcc.gnu.org/viewcvs?rev=245385&root=gcc&view=rev Log: Replace XALLOCAVEC with XCNEWVEC (PR c/79471). 2017-02-13 Martin Liska

[Bug libstdc++/79486] [7 Regression] packaged_task uses wrong value category with result_of

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79486 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Mon Feb 13 13:13:29 2017 New Revision: 245386 URL: https://gcc.gnu.org/viewcvs?rev=245386&root=gcc&view=rev Log: PR libstdc++/79486 use lvalues in result_of expressions PR libst

[Bug c/79471] valgrind error for gcc.c-torture/compile/limits-fnargs.c

2017-02-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79471 Martin Liška changed: What|Removed |Added Known to work||7.0 Known to fail|7.0

[Bug c/79487] New: Invalid _Decimal32 comparison on s390x

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 Bug ID: 79487 Summary: Invalid _Decimal32 comparison on s390x Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug sanitizer/79341] Many Asan tests fail on s390

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 Dominik Vogt changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/79488] New: [7 Regression] ICE from lambda that has invalid return type

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79488 Bug ID: 79488 Summary: [7 Regression] ICE from lambda that has invalid return type Product: gcc Version: 7.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug c++/79488] [7 Regression] ICE from lambda that has invalid return type

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79488 Jonathan Wakely changed: What|Removed |Added Known to work||6.3.1 --- Comment #1 from Jonathan Wak

[Bug libstdc++/79486] [7 Regression] packaged_task uses wrong value category with result_of

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79486 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/79487] Invalid _Decimal32 comparison on s390x

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #1 from Dominik Vogt --- It seems that the pass ccp1 eliminates all information about the type of "min"? Before ccp1: _Decimal32 min; ... if (min_8 != tem.1_3) After ccp1: if (tem.1_3 != -9223372036854775808) (Or is there

[Bug c/79479] -Woverflow false alarm in unreachable expression

2017-02-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79489] New: Strange static branch prediction for n != 0

2017-02-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79489 Bug ID: 79489 Summary: Strange static branch prediction for n != 0 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-

[Bug c++/66135] trailing return type error for generic lambda

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66135 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79490] New: ICE when compiling CATCH unit testing framework header

2017-02-13 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 Bug ID: 79490 Summary: ICE when compiling CATCH unit testing framework header Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 --- Comment #6 from Jakub Jelinek --- Created attachment 40726 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40726&action=edit gcc7-pr79472-wip.patch Untested WIP patch. I believe I still don't handle the PHIs right in the non-standard d

[Bug c++/79490] ICE when compiling CATCH unit testing framework header

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/79461] [5/6/7 Regression] [C++1z] ICE when capturing a variable in a lambda in a constexpr constructor

2017-02-13 Thread hafnermorris at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 --- Comment #2 from Morris Hafner --- I can see that the ice-on-invalid-code tag was set. This is only true in C++14 mode, because constexpr lambdas are part of the current C++17 draft (see Bug 70979). The code is also accepted by the current cla

[Bug tree-optimization/79483] [7 Regression] [graphite] ICE: verify_ssa failed (error: definition in block 31 does not dominate use in block 28)

2017-02-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79483 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug c/79479] -Woverflow false alarm in unreachable expression

2017-02-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #2 from Marek Polacek --- Generalized extended testcase: int fn1 (long x) { if (0) return __INT_MAX__ + 1; if (x || 0) return __INT_MAX__ + 1; /* { dg-warning "integer overflow" } */ if (1 || 0) return __INT_MAX__

[Bug tree-optimization/79472] [7 Regression] x86-64: Switch table generation fails if default case has different code

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79472 --- Comment #7 from Jakub Jelinek --- Seems even unpatched switchconf isn't able to deal with virtual phis: void foo (int); void f1 (int v, int w) { int i; if (w) { foo (23); i = 129; } else switch (v) {

[Bug libstdc++/79348] [7 Regression] abi_check fails on s390x (2 undesignated symbols)

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79348 --- Comment #11 from Jakub Jelinek --- Author: jakub Date: Mon Feb 13 15:38:33 2017 New Revision: 245389 URL: https://gcc.gnu.org/viewcvs?rev=245389&root=gcc&view=rev Log: PR libstdc++/79348 * config/abi/post/x86_64-linux-gnu/bas

[Bug rtl-optimization/79450] [5/6/7 Regression] wrong code with loop at -O1

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79450 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Feb 13 15:39:59 2017 New Revision: 245390 URL: https://gcc.gnu.org/viewcvs?rev=245390&root=gcc&view=rev Log: PR rtl-optimization/79388 PR rtl-optimization/79450

[Bug rtl-optimization/79388] [6/7 Regression] wrong code with -O -fno-tree-coalesce-vars

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79388 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Feb 13 15:39:59 2017 New Revision: 245390 URL: https://gcc.gnu.org/viewcvs?rev=245390&root=gcc&view=rev Log: PR rtl-optimization/79388 PR rtl-optimization/79450

[Bug c/79487] Invalid _Decimal32 comparison on s390x

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79487 --- Comment #2 from Dominik Vogt --- Ah, no, the first Rtl pass that produces an incorrect expression is Cse1. Before: -- (insn 22 21 23 3 (set (reg:SD 75) (const_double:SD -9223372036854775808 [N/A])) "decimal32.c":23 1121 {movsd} (ins

[Bug c++/79490] ICE when compiling CATCH unit testing framework header

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 --- Comment #2 from Jonathan Wakely --- I can only reproduce this with -fsyntax-only, not when compiling. Reducing now with C-Reduce https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction

[Bug target/79449] ppc builtin expansion of strncmp can cross page (4k) boundary where it should not

2017-02-13 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79449 --- Comment #1 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Mon Feb 13 16:00:22 2017 New Revision: 245392 URL: https://gcc.gnu.org/viewcvs?rev=245392&root=gcc&view=rev Log: 2017-02-13 Aaron Sawdey PR target/79449

[Bug c++/79490] ICE when compiling CATCH unit testing framework header

2017-02-13 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 --- Comment #4 from Vadim Zeitlin --- I thought it would be simpler to use the URL I provided to download the real header rather than downloading and uncompressing the attachment (it had to be compressed due to its size), but, sure, here it is if

[Bug c++/79490] ICE when compiling CATCH unit testing framework header

2017-02-13 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 --- Comment #5 from Vadim Zeitlin --- (In reply to Jonathan Wakely from comment #2) > I can only reproduce this with -fsyntax-only, not when compiling. Oops, you're right, really sorry about not realizing this. I was actually testing warning gen

[Bug c++/79490] ICE when compiling CATCH unit testing framework header

2017-02-13 Thread vz-gcc at zeitlins dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 --- Comment #3 from Vadim Zeitlin --- Created attachment 40727 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40727&action=edit Compressed preprocessed source of a trivial example

[Bug c++/79490] ICE when using -fsyntax-only with CATCH unit testing framework header

2017-02-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79490 Jonathan Wakely changed: What|Removed |Added Keywords||ice-on-valid-code Status|W

[Bug c/79479] -Woverflow false alarm in unreachable expression

2017-02-13 Thread bruno at clisp dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #3 from Bruno Haible --- (In reply to Marek Polacek from comment #2) > int > fn1 (long x) > { > if (0) > return __INT_MAX__ + 1; > > if (x || 0) > return __INT_MAX__ + 1; /* { dg-warning "integer overflow" } */ > > if

[Bug ada/79403] Installation of Ada compiler gets permissions wrong

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79403 --- Comment #5 from Dominik Vogt --- Fixed, thanks.

[Bug c/79358] gcc.dg/c99-stdint-1.c fails with excess error

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79358 Dominik Vogt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ada/79403] Installation of Ada compiler gets permissions wrong

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79403 Dominik Vogt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/79491] New: Possibly inefficient code for the inner product of two vectors

2017-02-13 Thread drraph at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79491 Bug ID: 79491 Summary: Possibly inefficient code for the inner product of two vectors Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal P

[Bug libstdc++/79348] [7 Regression] abi_check fails on s390x (2 undesignated symbols)

2017-02-13 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79348 --- Comment #12 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Feb 13 16:47:35 2017 New Revision: 245394 URL: https://gcc.gnu.org/viewcvs?rev=245394&root=gcc&view=rev Log: x32: Update baseline_symbols.txt PR libstdc++/79348

[Bug target/69148] [5 Regression] ICE (floating point exception) on s390x-linux-gnu

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69148 --- Comment #10 from Dominik Vogt --- (In reply to Matthias Klose from comment #8) > I prepared a patch for the distro builds. Any reason that this can't go to > the gcc-5-branch? Ping?

[Bug c/79491] Possibly inefficient code for the inner product of two vectors

2017-02-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79491 --- Comment #1 from Marc Glisse --- Did you benchmark it on some unaligned x and y then? Would you care to share the results?

[Bug fortran/79492] New: odd behaviour triggered on applying log function

2017-02-13 Thread oivulf at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79492 Bug ID: 79492 Summary: odd behaviour triggered on applying log function Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/79449] ppc builtin expansion of strncmp can cross page (4k) boundary where it should not

2017-02-13 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79449 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution

[Bug go/79443] libgo/math test fails on s390x (undefined symbols cosh, sinh, tanh, hasVX)

2017-02-13 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79443 --- Comment #5 from ian at gcc dot gnu.org --- Author: ian Date: Mon Feb 13 17:37:02 2017 New Revision: 245397 URL: https://gcc.gnu.org/viewcvs?rev=245397&root=gcc&view=rev Log: PR go/79443 libgo: fix some s390x tests Add `+buil

[Bug go/79443] libgo/math test fails on s390x (undefined symbols cosh, sinh, tanh, hasVX)

2017-02-13 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79443 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/79348] [7 Regression] abi_check fails on s390x (2 undesignated symbols)

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79348 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/79479] -Woverflow false alarm in unreachable expression

2017-02-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #4 from Marek Polacek --- I might, but the front ends, where the warning is taking place, can't see that the function always returns early.

[Bug rtl-optimization/79388] [6 Regression] wrong code with -O -fno-tree-coalesce-vars

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79388 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug c++/79493] New: Bad diagnostic when referring to inner type that does not exist

2017-02-13 Thread me at haldean dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79493 Bug ID: 79493 Summary: Bad diagnostic when referring to inner type that does not exist Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal

[Bug c++/79296] [6/7 Regression] ICE in mangle_decl, at cp/mangle.c:3845

2017-02-13 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79296 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Mon Feb 13 17:42:31 2017 New Revision: 245398 URL: https://gcc.gnu.org/viewcvs?rev=245398&root=gcc&view=rev Log: PR c++/79296 - ICE mangling localized template instantiation

[Bug c/79494] New: ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79494 Bug ID: 79494 Summary: ICE in maybe_record_trace_start, at dwarf2cfi.c:2330 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c/79495] New: ICE in extract_constrain_insn, at recog.c:2213

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79495 Bug ID: 79495 Summary: ICE in extract_constrain_insn, at recog.c:2213 Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

  1   2   >