[Bug c++/86183] Scoped enumeration instantiated even if not required

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86183 --- Comment #2 from zhonghao at pku dot org.cn --- (In reply to Jonathan Wakely from comment #1) > The definition of a member scoped enumaration type should not be > instantiated by the implicit instantiation of the class template. Is the code il

[Bug tree-optimization/86231] New: [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 Bug ID: 86231 Summary: [8/9 Regression] vrp_meet causes wrong-code Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug tree-optimization/86231] [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 Jakub Jelinek changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRME

[Bug libstdc++/86138] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-20 Thread franke at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #11 from Christian Franke --- (In reply to Jonathan Wakely from comment #8) > You still haven't explained why declaring the specialization is bogus. The > explicit specialization is defined at > https://gcc.gnu.org/git/?p=gcc.git;a=b

[Bug tree-optimization/86203] duplicate non-constant call to strlen() not folded

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86203 --- Comment #5 from Richard Biener --- (In reply to Martin Sebor from comment #4) > You're right, a strict reading of the standard does imply that the pointer > argument to strlen could point to the integer. I keep forgetting about this > unfort

[Bug tree-optimization/86231] [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 --- Comment #1 from Jakub Jelinek --- Created attachment 44299 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44299&action=edit gcc9-pr86231.patch Full untested patch.

[Bug middle-end/86166] ICE in convert_move, at expr.c:299 on aarch64-linux-gnu

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86166 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83623 Richard Biener changed: What|Removed |Added CC||doko at debian dot org --- Comment #7 f

[Bug libstdc++/86138] C++17: getline(istream, string) crashes on Cygwin because incompatible C++14 function is called

2018-06-20 Thread franke at computer dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86138 --- Comment #12 from Christian Franke --- (In reply to Jonathan Wakely from comment #7) > OK, so then this is the whack Windows linker model, where every DLL has its > own address space, and probably the same as PR 81522. Yes. Likely also affect

[Bug target/81921] [6 Regression] Fails to always-inline intrinsics with -flto

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81921 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86082] user-defined literals are not converted to the execution charset

2018-06-20 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86082 --- Comment #2 from Andreas Krebbel --- Created attachment 44300 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44300&action=edit experimental patch

[Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate

2018-06-20 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83623 Ramana Radhakrishnan changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug debug/86194] [8/9 Regression] ICE: SIGSEGV in avoid_constant_pool_reference (simplify-rtx.c:215) with -O -g -mavx512bw

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86194 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug debug/86194] [8/9 Regression] ICE: SIGSEGV in avoid_constant_pool_reference (simplify-rtx.c:215) with -O -g -mavx512bw

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86194 --- Comment #2 from Jakub Jelinek --- Started with r250397, latent before.

[Bug tree-optimization/86232] New: ICE in record_estimate, at tree-ssa-loop-niter.c:3258

2018-06-20 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86232 Bug ID: 86232 Summary: ICE in record_estimate, at tree-ssa-loop-niter.c:3258 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug rtl-optimization/86108] [8 Regression] crash during unwinding with -O2

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86108 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | Summary|[8/9 Regression] cra

[Bug c++/86227] invalid suffix on floating constant

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86227 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/86183] Scoped enumeration instantiated even if not required

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86183 --- Comment #3 from Jonathan Wakely --- The code is valid. It should not give an error, because the definition of the scoped enumeration type should be instantiated by the implicit instantiation of the class template. I changed the status to NEW

[Bug c++/86210] [6/7/8/9 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #2 from Tom de Vries --- Earliest point of detection: ... @@ -1570,6 +1570,7 @@ canonicalize_loop_ivs (struct loop *loop, tree *nit, bool bump_in_latch) fe->flags = EDGE_TRUE_VALUE; } gimple_cond_set_code (stmt, LT_EXPR

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #3 from Tom de Vries --- Tentative patch: ... diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index bf425afd436..555842b8420 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -1542,7 +1542,7

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #4 from rguenther at suse dot de --- On Wed, 20 Jun 2018, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 > > --- Comment #2 from Tom de Vries --- > Earliest point of detection: > ... > @@ -1570

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #5 from rguenther at suse dot de --- On Wed, 20 Jun 2018, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 > > --- Comment #3 from Tom de Vries --- > Tentative patch: > ... > diff --git a/gcc/tre

[Bug target/86209] Peephole does not happen because the type of zero/sign extended operands is not the same.

2018-06-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86209 --- Comment #7 from ktkachov at gcc dot gnu.org --- The other thing to consider with merging loads is how the result is used. In your example if you merge the 16-bit loads into a single 32-bit register load you'll have to add instructions to extra

[Bug target/86209] Peephole does not happen because the type of zero/sign extended operands is not the same.

2018-06-20 Thread sameerad at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86209 --- Comment #8 from sameerad at gcc dot gnu.org --- Currently, we are not planning to restrict load/store merging to specific cases. Restricted merging of loads and stores is already handled by GIMPLE store-merging pass. We are combining loads/st

[Bug c++/86210] [6/7/8/9 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/86233] New: A tricky code sample

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 Bug ID: 86233 Summary: A tricky code sample Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: un

[Bug c++/86234] New: non-type template argument is not a constant expression

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86234 Bug ID: 86234 Summary: non-type template argument is not a constant expression Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Prio

[Bug tree-optimization/82285] [6 Regression] Optimizing error when using enumeration

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82285 --- Comment #7 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug tree-optimization/82697] [6 Regression] Wrong optimization with aliasing and "if"

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697 --- Comment #7 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug c++/83713] [6 Regression] ICE in do_narrow at gcc/convert.c:474

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83713 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug tree-optimization/82402] [6 Regression] error: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82402 --- Comment #11 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 2

[Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83623 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug tree-optimization/82264] [6 Regression] ICE in vn_phi_lookup at gcc/tree-ssa-sccvn.c:3125

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82264 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug c/82765] [6 Regression] ICE at -Os on valid code on x86_64-linux-gnu: in tree_to_shwi, at tree.c:6611

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82765 --- Comment #9 from Richard Biener --- Author: rguenth Date: Wed Jun 20 11:09:28 2018 New Revision: 261799 URL: https://gcc.gnu.org/viewcvs?rev=261799&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug tree-optimization/82285] [6 Regression] Optimizing error when using enumeration

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82285 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/82402] [6 Regression] error: SSA_NAME_OCCURS_IN_ABNORMAL_PHI should be set

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82402 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/82264] [6 Regression] ICE in vn_phi_lookup at gcc/tree-ssa-sccvn.c:3125

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82264 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug tree-optimization/82697] [6 Regression] Wrong optimization with aliasing and "if"

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82697 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/83713] [6 Regression] ICE in do_narrow at gcc/convert.c:474

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83713 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c/82765] [6 Regression] ICE at -Os on valid code on x86_64-linux-gnu: in tree_to_shwi, at tree.c:6611

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82765 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/86235] New: g++ accept an erroneous code sample

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86235 Bug ID: 86235 Summary: g++ accept an erroneous code sample Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/86236] New: -mstackrealign prologue clobbers %edi for fastcall functions with global register variable

2018-06-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 Bug ID: 86236 Summary: -mstackrealign prologue clobbers %edi for fastcall functions with global register variable Product: gcc Version: 8.1.0 Status: UNCONFIRMED

[Bug c++/86237] New: Narrowing from int to bool is not allowed in a non type template argument

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86237 Bug ID: 86237 Summary: Narrowing from int to bool is not allowed in a non type template argument Product: gcc Version: unknown Status: UNCONFIRMED Severity: nor

[Bug c++/86238] New: a vtable layout bug

2018-06-20 Thread zhonghao at pku dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238 Bug ID: 86238 Summary: a vtable layout bug Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: una

[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable

2018-06-20 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 Florian Weimer changed: What|Removed |Added Summary|-mstackrealign prologue |Stack alignment prologue

[Bug target/86236] -mstackrealign prologue clobbers %edi for fastcall functions with global register variable

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug target/86236] Stack alignment prologue clobbers %edi for fastcall functions with global register variable

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86236 --- Comment #3 from Jakub Jelinek --- Though, obviously with -m32 we are getting -><- this close to getting rid out of all usable registers with fastcall, static chain and drap, especially if also -fpic.

[Bug c/86239] New: Suggestion: Improve "set but not used variable" warning

2018-06-20 Thread pattakosn at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86239 Bug ID: 86239 Summary: Suggestion: Improve "set but not used variable" warning Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/86173] Default construction of a union (in std::optional)

2018-06-20 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86173 --- Comment #4 from Marc Glisse --- Recent related commits: r261758 r261735 (they don't fix the issue).

[Bug c++/86228] ordered comparison between pointer and zero

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86228 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c/84873] [6 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84873 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c/84873] [6 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84873 --- Comment #13 from Richard Biener --- Author: rguenth Date: Wed Jun 20 13:10:21 2018 New Revision: 261800 URL: https://gcc.gnu.org/viewcvs?rev=261800&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 2

[Bug tree-optimization/85597] [6 Regression] internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.c:229

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85597 --- Comment #7 from Richard Biener --- Author: rguenth Date: Wed Jun 20 13:10:21 2018 New Revision: 261800 URL: https://gcc.gnu.org/viewcvs?rev=261800&root=gcc&view=rev Log: 2018-06-20 Richard Biener Backport from mainline 20

[Bug tree-optimization/85597] [6 Regression] internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.c:229

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85597 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2016-11-08 00:00:00 |2018-6-20 See Also|

[Bug c++/86237] Narrowing from int to bool is not allowed in a non type template argument

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86237 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/57891] No diagnostic of narrowing conversion in non-type template argument

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57891 Jonathan Wakely changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment

[Bug c++/86230] missing exception specification

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86230 --- Comment #1 from Jonathan Wakely --- Isn't this the same as PR 86233 ?

[Bug c++/65969] typename allowed in using declaration of non-types names

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65969 Jonathan Wakely changed: What|Removed |Added CC||zhonghao at pku dot org.cn --- Comment

[Bug c++/86235] g++ accept an erroneous code sample

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86235 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/86233] A tricky code sample

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 --- Comment #1 from Jonathan Wakely --- *** Bug 86230 has been marked as a duplicate of this bug. ***

[Bug c++/86230] missing exception specification

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86230 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/83623] [8 Regression] ICE: in convert_move, at expr.c:248 with -march=knl and 16bit vector bswap/rotate

2018-06-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83623 Richard Biener changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug c++/65969] typename allowed in using declaration of non-types names

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65969 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86218] [9 Regression] ICE in compare_ics, at cp/call.c:9769

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86218 --- Comment #3 from Marek Polacek --- Which I guess is Bug 78244.

[Bug c++/86240] New: ice: unexpected expression absu_expr

2018-06-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Bug ID: 86240 Summary: ice: unexpected expression absu_expr Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86240] ice: unexpected expression absu_expr

2018-06-20 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 David Binderman changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug c++/86233] A tricky code sample

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Status|UNC

[Bug c++/86233] explicit specialization of function template accepted with weaker exception specification

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86233 Jonathan Wakely changed: What|Removed |Added Summary|A tricky code sample|explicit specialization of

[Bug c++/86240] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/86238] a vtable layout bug

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238 --- Comment #1 from Jonathan Wakely --- Clang's errors have absolutely nothing to do with a vtable bug (that was a completely different bug that was demonstrated by the same code).

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Target Milestone|--- |9.0 Summary|ice: unexpected e

[Bug c++/86238] No diagnostic for virtual base class with inaccessible destructor

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86238 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Summary|a v

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/86241] New: duplicate strlen-like snprintf calls not folded

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86241 Bug ID: 86241 Summary: duplicate strlen-like snprintf calls not folded Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug tree-optimization/86203] duplicate non-constant call to strlen() not folded

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86203 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/86242] New: [F03] ICE for derived type with allocatable class component

2018-06-20 Thread c...@mnet-mail.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86242 Bug ID: 86242 Summary: [F03] ICE for derived type with allocatable class component Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 --- Comment #8 from Nathan Sidwell --- Author: nathan Date: Wed Jun 20 14:34:06 2018 New Revision: 261802 URL: https://gcc.gnu.org/viewcvs?rev=261802&root=gcc&view=rev Log: [PR c++/85634] Fix tsubst ICE https://gcc.gnu.org/ml/gcc-patches/2018-0

[Bug c++/86184] Conditional expression with omitted operand cannot use rvalue of type convertible to bool

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86184 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|WAITI

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-06-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 --- Comment #7 from Nathan Sidwell --- Fixed trunk r261802

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 Tom de Vries changed: What|Removed |Added Keywords||patch --- Comment #6 from Tom de Vries -

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #7 from Tom de Vries --- Author: vries Date: Wed Jun 20 14:44:45 2018 New Revision: 261804 URL: https://gcc.gnu.org/viewcvs?rev=261804&root=gcc&view=rev Log: Generate correctly typed compare in canonicalize_loop_ivs 2018-06-20 Tom

[Bug tree-optimization/86231] [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:47:28 2018 New Revision: 261805 URL: https://gcc.gnu.org/viewcvs?rev=261805&root=gcc&view=rev Log: PR tree-optimization/86231 * tree-vrp.c (union_ranges): Fo

[Bug tree-optimization/86231] [8/9 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:50:09 2018 New Revision: 261806 URL: https://gcc.gnu.org/viewcvs?rev=261806&root=gcc&view=rev Log: PR tree-optimization/86231 * tree-vrp.c (union_ranges): Fo

[Bug debug/86194] [8/9 Regression] ICE: SIGSEGV in avoid_constant_pool_reference (simplify-rtx.c:215) with -O -g -mavx512bw

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86194 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:51:04 2018 New Revision: 261807 URL: https://gcc.gnu.org/viewcvs?rev=261807&root=gcc&view=rev Log: PR debug/86194 * var-tracking.c (use_narrower_mode_test):

[Bug tree-optimization/86231] [6/7 Regression] vrp_meet causes wrong-code

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86231 Jakub Jelinek changed: What|Removed |Added Target Milestone|8.2 |6.5 Summary|[8/9 Regression]

[Bug debug/86194] [8/9 Regression] ICE: SIGSEGV in avoid_constant_pool_reference (simplify-rtx.c:215) with -O -g -mavx512bw

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86194 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jun 20 14:57:55 2018 New Revision: 261808 URL: https://gcc.gnu.org/viewcvs?rev=261808&root=gcc&view=rev Log: PR debug/86194 * var-tracking.c (use_narrower_mode_test):

[Bug tree-optimization/86097] [8/9 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #8 from Tom de Vries --- (In reply to Jakub Jelinek from comment #1) > This first started to ICE in r254867, with: That commit is part of gcc-8-branch, and was committed to trunk before the gcc-8-branch branch point, so that probably

[Bug tree-optimization/86097] [8 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 Arseny Solokha changed: What|Removed |Added Summary|[8/9 Regression] ICE: |[8 Regression] ICE: |

[Bug tree-optimization/86097] [8 Regression] ICE: verify_gimple failed (error: mismatching comparison operand types)

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86097 --- Comment #10 from Jakub Jelinek --- Sure, that is why this is an 8/9 regression. Checking needs to be enabled to reproduce on the 8.x branch.

[Bug c++/86243] New: unknown attributes causing hard error

2018-06-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 Bug ID: 86243 Summary: unknown attributes causing hard error Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/86243] unknown attributes causing hard error

2018-06-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 --- Comment #1 from Jonathan Wakely --- (In reply to Hannes Hauswedell from comment #0) > Note that I am not even setting -Wall or -Wextra. As documented, -Wattributes is enabled by default and you need to use -Wno-attributes to disable it.

[Bug tree-optimization/85859] [6/7/8/9 Regression] wrong code with -fno-isolate-erroneous-paths-dereference

2018-06-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85859 --- Comment #3 from Tom de Vries --- Created attachment 44305 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44305&action=edit Tentative patch

[Bug tree-optimization/86244] New: misleading use of "may be too large" in -Walloca-larger-than and -Wvla-larger-than warnings involving ranges

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86244 Bug ID: 86244 Summary: misleading use of "may be too large" in -Walloca-larger-than and -Wvla-larger-than warnings involving ranges Product: gcc Version: 8.0

[Bug tree-optimization/86244] misleading use of "may be too large" in -Walloca-larger-than and -Wvla-larger-than warnings involving ranges

2018-06-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86244 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Wed Jun 20 15:46:02 2018 New Revision: 261809 URL: https://gcc.gnu.org/viewcvs?rev=261809&root=gcc&view=rev Log: PR c++/86240 * constexpr.c (cxx_eval_constant_expressio

[Bug c++/86240] [9 Regression] ice: unexpected expression absu_expr

2018-06-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86240 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/86210] [6/7/8/9 Regression] Missing -Wnonnull warning for function defined in the same TU

2018-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86210 --- Comment #3 from Jakub Jelinek --- WIP patch to warn also during inlining, with the intent to handle e.g. int *p = 0; declared_and_defined(p); for both C/C++. Unfortunately if it is inlined during early inlining, we still don't warn, beca

[Bug c++/86243] unknown attributes causing hard error

2018-06-20 Thread h2+bugs at fsfe dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86243 --- Comment #2 from Hannes Hauswedell --- (In reply to Jonathan Wakely from comment #1) > (In reply to Hannes Hauswedell from comment #0) > > Note that I am not even setting -Wall or -Wextra. > > As documented, -Wattributes is enabled by default

  1   2   >