[Bug ipa/115767] [12/13/14/15 regression] GCC loses track of value on aarch64 with -O2 since r11-3308-gd119f34c952f87

2024-08-05 Thread bugs at qult dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #11 from Ignacy Gawędzki --- (In reply to Sam James from comment #10) > Could you try trunk or the 14.2 RC1? A bunch of IPA fixes landed. I tested with 162a1ed70303a031c81b0aaac499aaf394560390 and the problem is still there with van

[Bug ipa/115767] [12/13/14/15 regression] GCC loses track of value on aarch64 with -O2 since r11-3308-gd119f34c952f87

2024-07-24 Thread bugs at qult dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #9 from Ignacy Gawędzki --- (In reply to Sam James from comment #8) > While we wait for Honza, Ignacy, if you could try reduce it to get rid of > the Boost dependency, it'd be appreciated. I'm struggling to get a minimal example. I

[Bug middle-end/115767] [11/12/13/14/15 regression] GCC loses track of value on aarch64 with -O2

2024-07-04 Thread bugs at qult dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 --- Comment #5 from Ignacy Gawędzki --- FWIW, I ran a git bisect from releases/gcc-10.5.0 to releases/gcc-11.1.0 and the first bad commit is d119f34c952f8718fdbabc63e2f369a16e92fa07, which adds modref/ipa_modref optimization passes.

[Bug middle-end/115767] [11/12/13/14/15 regression] GCC loses track of value on aarch64 with -O2

2024-07-03 Thread bugs at qult dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 Ignacy Gawędzki changed: What|Removed |Added Target|aarch64 |aarch64 x86_64 --- Comment #3 from Ig

[Bug target/115767] GCC looses track of value on aarch64 with -O2

2024-07-03 Thread bugs at qult dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115767 Ignacy Gawędzki changed: What|Removed |Added CC||bugs at qult dot net --- Comment #1

[Bug target/115767] New: GCC looses track of value on aarch64 with -O2

2024-07-03 Thread bugs at qult dot net via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net Target Milestone: --- I've stumbled upon what looks like a compiler bug with the following code, compiled for aarch64: #include #include #include int main() { using map_type = boost::

[Bug c++/91070] New: Spurious notes about uninitialized members in C++17

2019-07-03 Thread bugs at qult dot net
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net Target Milestone: --- I what appears to be the minimal example below, struct foo { int a; }; int main() { [](auto) { if (int x = []{ return 0; }()) { foo a; (void) a; } }(0

[Bug c++/78367] New: Out-of-line definitions fail to match in-line declarations with decltype and template arguments

2016-11-15 Thread bugs at qult dot net
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net Target Milestone: --- The following code doesn't compile with -std=gnu++11 in any of GCC 4.9.4, 5.4.1 or 6.2.0: #include struc

[Bug c++/65422] New: [C++11] Rejected valid double expansion packs.

2015-03-13 Thread bugs at qult dot net
++ Assignee: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net Created attachment 35031 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35031&action=edit Failing code with double parameter pack expansion. The attached code fails to compile with pretty m

[Bug c++/65409] New: ICE in store_field

2015-03-12 Thread bugs at qult dot net
: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net Created attachment 35022 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35022&action=edit ICE-triggering source. I get an ICE with the attached source, from version 4.8 on to the head of the Git repository. Output o

[Bug c++/63532] New: Cannot increase access of member function template.

2014-10-14 Thread bugs at qult dot net
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net The following code is rejected by GCC while it is accepted by Clang. struct Foo { template voidmeth(); }; struct Bar : private Foo { using Foo::meth; }; int main() { (void) &Bar::

[Bug c++/61259] New: Spurious "ISO C++ forbids zero-size array" warning with -pedantic

2014-05-20 Thread bugs at qult dot net
ity: minor Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: bugs at qult dot net The following code, when compiled with -pedantic, compiles properly but produces a warning about zero-sized array 'argv'. #include struct Foo {