[Bug tree-optimization/79432] [7 Regression] ICE: verify_ssa failed

2017-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79432 --- Comment #7 from Richard Biener --- Author: rguenth Date: Tue Feb 14 07:58:12 2017 New Revision: 245417 URL: https://gcc.gnu.org/viewcvs?rev=245417=gcc=rev Log: 2017-02-14 Richard Biener PR middle-end/79432

[Bug c++/79502] [c++1z] [[nodiscard]] attribute ignored for class template

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

[Bug c++/79502] [[nodiscard]] attribute ignored for class template

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 --- Comment #3 from Jakub Jelinek --- Created attachment 40735 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40735=edit gcc7-pr79502.patch Untested fix. The bug as I see is that we don't actually propagate the attributes from template

[Bug c++/79502] [[nodiscard]] attribute ignored for class template

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

[Bug c++/79503] New: [new inheriting ctors] spurious bad candidate from same or derived type

2017-02-13 Thread lucdanton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79503 Bug ID: 79503 Summary: [new inheriting ctors] spurious bad candidate from same or derived type Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug target/79498] [5/7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #4 from Uroš Bizjak --- (In reply to H.J. Lu from comment #3) > Created attachment 40734 [details] > A patch > > I am testing this. Patch is pre-approved for mainline and release branches.

[Bug libstdc++/58909] C++11's condition variables fail with static linking

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58909 --- Comment #6 from Jakub Jelinek --- INVALID means it is not a gcc bug, glibc has a separate bugzilla.

[Bug c++/79502] [[nodiscard]] attribute ignored for class template

2017-02-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 Andrew Pinski changed: What|Removed |Added Depends on||38172 --- Comment #1 from Andrew Pinski

[Bug c++/79502] New: [[nodiscard]] attribute ignored for class template

2017-02-13 Thread lucdanton at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79502 Bug ID: 79502 Summary: [[nodiscard]] attribute ignored for class template Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/79496] call to snprintf eliminated with -Wformat-truncation=2

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79496 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/79496] call to snprintf eliminated with -Wformat-truncation=2

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79496 --- Comment #3 from Martin Sebor --- Author: msebor Date: Tue Feb 14 04:38:54 2017 New Revision: 245415 URL: https://gcc.gnu.org/viewcvs?rev=245415=gcc=rev Log: PR middle-end/79496 - call to snprintf with zero size eliminated with

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

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #11 from Martin Sebor --- Yes, bug 4210 looks like a duplicate. The test case from attachment 40722 recast in the context of that enhancement request looks like this: int too_large (long x) { const int b = sizeof (int) <

[Bug c++/79501] New: member deduction guide not recognized

2017-02-13 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79501 Bug ID: 79501 Summary: member deduction guide not recognized Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/79500] New: non-template deduction guides cause crash

2017-02-13 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79500 Bug ID: 79500 Summary: non-template deduction guides cause crash Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug testsuite/79273] FAIL: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for excess errors)

2017-02-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79273 John David Anglin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/58909] C++11's condition variables fail with static linking

2017-02-13 Thread brooks at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58909 Brooks Moses changed: What|Removed |Added CC||brooks at gcc dot gnu.org --- Comment #5

[Bug target/79498] [5/7 Regression] ICE in df_insn_delete, at df-scan.c:948

2017-02-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #3 from H.J. Lu --- Created attachment 40734 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40734=edit A patch I am testing this.

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

2017-02-13 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #10 from joseph at codesourcery dot com --- This is arguably the same as or similar to bug 4210 and its duplicates.

[Bug testsuite/79273] FAIL: c-c++-common/Wduplicated-branches-13.c -std=gnu++98 (test for excess errors)

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79273 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|2017-01-30

[Bug target/79495] [6/7 Regression] ICE in extract_constrain_insn, at recog.c:2213

2017-02-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79495 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/79458] attributes on constructor between class name and parameter list not accepted

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79458 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79341 --- Comment #54 from Jakub Jelinek --- Author: jakub Date: Mon Feb 13 23:09:09 2017 New Revision: 245411 URL: https://gcc.gnu.org/viewcvs?rev=245411=gcc=rev Log: PR sanitizer/79341 * c-c++-common/ubsan/float-cast-overflow-8.c

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

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79463 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug c++/66297] [C++14] [DR 1684] constexpr non-static member functions of non-literal types

2017-02-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66297 --- Comment #4 from Jason Merrill --- Created attachment 40732 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40732=edit fix Here's a fix; I'm inclined to hold it for GCC 8, now that the trunk is in regression-only mode.

[Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda

2017-02-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979 --- Comment #6 from Jason Merrill --- Created attachment 40731 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40731=edit patch for DR 1071 Relatedly, here's a patch to implement DR 1071, which is the error clang gives. But this breaks

[Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda

2017-02-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979 --- Comment #5 from Jason Merrill --- Created attachment 40730 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40730=edit fix Here's a fix; I'm inclined to hold it for GCC 8, now that the trunk is in regression-only mode.

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

2017-02-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 Jason Merrill changed: What|Removed |Added Summary|[5/6/7 Regression] [C++1z] |[5/6 Regression] [C++1z]

[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 jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Feb 13 22:31:12 2017 New Revision: 245410 URL: https://gcc.gnu.org/viewcvs?rev=245410=gcc=rev Log: PR c++/79461 - ICE with lambda in constexpr constructor *

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

2017-02-13 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #9 from Paul Eggert --- > 1) It's too subtle for non-expert programmers to understand. Actually, it's typically easy for non-experts to follow this. For example, although GCC falsely warns about this: /*1*/ if (0) return INT_MAX

[Bug c++/70555] ICE in expand_expr_real_1 accessing a multi-dimensional VLA via lambda-capture

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70555 --- Comment #5 from Martin Sebor --- A somewhat simplified test case: void f (int n) { int a[n][n]; []() { }(); }

[Bug c/79498] [5/7 Regression] ICE in df_insn_delete, at df-scan.c:948

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

[Bug c/79497] ICE in extract_insn, at recog.c:2311

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

[Bug c/79495] [6/7 Regression] ICE in extract_constrain_insn, at recog.c:2213

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

[Bug c/79494] [5/6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2330

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

[Bug c++/70555] ICE in expand_expr_real_1 accessing a multi-dimensional VLA via lambda-capture

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70555 Martin Sebor changed: What|Removed |Added Known to fail||7.0 --- Comment #4 from Martin Sebor

[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 --- Comment #4 from prathamesh3492 at gcc dot gnu.org --- David, could you please confirm if r245406 fixes the error for you ? Thanks!

[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 --- Comment #3 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Mon Feb 13 21:40:51 2017 New Revision: 245406 URL: https://gcc.gnu.org/viewcvs?rev=245406=gcc=rev Log: 2017-02-13 Prathamesh Kulkarni

[Bug middle-end/79496] call to snprintf eliminated with -Wformat-truncation=2

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79496 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

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

2017-02-13 Thread mocramis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79482 --- Comment #4 from Remy NOEL --- Ha indeed, my bad. I was confused by the fact that he original problem of the linked ticket is solved (and also because the last comment targets the fix for an old release which made me though it was either

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

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #8 from Martin Sebor --- I understand the distinction, but I don't think it would be helpful to try to make it in the implementation of the warning, for a few reasons: 1) It's too subtle for non-expert programmers to understand. 2)

[Bug c++/66297] [C++14] [DR 1684] constexpr non-static member functions of non-literal types

2017-02-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66297 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/70979] [C++14] g++ falsely accepts constexpr function returning a lambda

2017-02-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70979 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[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 jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79461 Jason Merrill changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code

[Bug c++/79232] [7 Regression] error: invalid rhs for gimple memory store

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

[Bug c++/79232] [7 Regression] error: invalid rhs for gimple memory store

2017-02-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79232 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Feb 13 19:31:14 2017 New Revision: 245401 URL: https://gcc.gnu.org/viewcvs?rev=245401=gcc=rev Log: PR c++/79232 * typeck.c (cp_build_modify_expr): Handle properly

[Bug fortran/79492] LHS reallocation, intrinsic function RHS, and -fcheck=all

2017-02-13 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79492 --- Comment #2 from Steve Kargl --- On Mon, Feb 13, 2017 at 06:54:16PM +, kargl at gcc dot gnu.org wrote: > > The suggested back is s/back/fix > Index: trans-expr.c > === >

[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 --- Comment #3 from Jonathan Wakely --- I didn't say it's solved, I said its the same. Notice that Bug 65656 is still open, because it isn't fixed properly yet. But since that's for C++ and this is for C we can keep both open.

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

2017-02-13 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 --- Comment #7 from Paul Eggert --- > the translation of a program that contains an overflowing constant expression > has undefined behavior Sure, but the programs in question do not contain constant expressions in sense of the C standard.

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

2017-02-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79491 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2

[Bug fortran/79492] LHS reallocation, intrinsic function RHS, and -fcheck=all

2017-02-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79492 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

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

2017-02-13 Thread mocramis at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79482 Remy NOEL changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE

[Bug rtl-optimization/21182] [5/6/7 Regression] gcc can use registers but uses stack instead

2017-02-13 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21182 --- Comment #25 from Vladimir Makarov --- (In reply to Jeffrey A. Law from comment #24) > Do we happen to have easy access to the pressure at the various program > points? Dumping that with the points might prove fruitful in both the > search

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

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

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

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79479 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #5

[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 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[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 #5 from Nathan Sidwell --- Author: nathan Date: Mon Feb 13 18:12:17 2017 New Revision: 245400 URL: https://gcc.gnu.org/viewcvs?rev=245400=gcc=rev Log: PR c++/79296 - ICE mangling localized template instantiation *

[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|RESOLVED|REOPENED Resolution|FIXED

[Bug c/79499] New: ICE in rtl_verify_bb_insns, at cfgrtl.c:2661

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

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

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

[Bug middle-end/79448] unhelpful -Wformat-truncation=2 INT_MAX warning

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79448 --- Comment #4 from Martin Sebor --- Ouch. When its size argument is zero, a snprintf call is a request to compute the size of output without actually writing any into the destination (which may be a null pointer). At level 2 the checker uses

[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 #53 from Dominik Vogt --- (In reply to Dominik Vogt from comment #51) > With r245382 plus the patch from comment 43, only the failure in > null-deref-1.c is left. Ah, not quite; no fails with -m31; with -m64 null-deref-1.c fails

[Bug c/79498] ICE in df_insn_delete, at df-scan.c:948

2017-02-13 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79498 --- Comment #1 from Gerhard Steinmetz --- No ICE seen with gcc version 6.3.1 20170131. On my environment, gcc-5.4.1 gives : $ gcc-5-20170110 -mcmodel=large -O2 -c pr78526.c pr78526.c: In function 'bar':

[Bug c/79498] New: ICE in df_insn_delete, at df-scan.c:948

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

[Bug c/79497] New: ICE in extract_insn, at recog.c:2311

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

[Bug middle-end/79496] New: call to snprintf eliminated with -Wformat-truncation=2

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79496 Bug ID: 79496 Summary: call to snprintf eliminated with -Wformat-truncation=2 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

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

2017-02-13 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79348 --- Comment #14 from Dominik Vogt --- Yep, fixed.(In reply to Jakub Jelinek from comment #13) > Should be fixed now. Yep, fixed.

[Bug middle-end/79496] call to snprintf eliminated with -Wformat-truncation=2

2017-02-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79496 Martin Sebor changed: What|Removed |Added Keywords||wrong-code

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

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

[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

[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

[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=gcc=rev Log: PR c++/79296 - ICE mangling localized template instantiation *

[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/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 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 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 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=gcc=rev Log: PR go/79443 libgo: fix some s390x tests Add `+build ignore`

[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

[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 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 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 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=gcc=rev Log: x32: Update baseline_symbols.txt PR libstdc++/79348 *

[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

[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/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 --- Comment #5 from Dominik Vogt --- Fixed, thanks.

[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 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

[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=edit Compressed preprocessed source of a trivial example

[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

[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

[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=gcc=rev Log: 2017-02-13 Aaron Sawdey PR

[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 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}

[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=gcc=rev Log: PR rtl-optimization/79388 PR rtl-optimization/79450 *

[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=gcc=rev Log: PR rtl-optimization/79388 PR rtl-optimization/79450 *

[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=gcc=rev Log: PR libstdc++/79348 *

[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 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

[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|

  1   2   >