[Bug c++/80119] -Wmaybe-uninitialized wrongly flags the body of a short-circuited if-clause

2017-03-20 Thread julian.pfeifle at upc dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80119 --- Comment #1 from Julian Pfeifle --- The error occurs with -O0 and -O3.

[Bug c++/80119] New: -Wmaybe-uninitialized wrongly flags the body of a short-circuited if-clause

2017-03-20 Thread julian.pfeifle at upc dot edu
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: julian.pfeifle at upc dot edu Target Milestone: --- Consider #include template void failing_function(std::integral_constant) { int i; if (b && (i=4)) {