[Bug c++/70515] New: Nested lambdas causing invalid captured pointers on some platforms

2016-04-02 Thread gcc at norgg dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at norgg dot org Target Milestone: --- Created attachment 38163 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38163&action=edit Minimal testcase The attached code c

[Bug c++/70515] Nested lambdas causing invalid captured pointers on some platforms

2016-04-02 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515 --- Comment #1 from Norgg --- Created attachment 38164 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38164&action=edit Preprocessed file

[Bug c++/70515] Nested lambdas causing invalid captured pointers on some platforms

2017-03-17 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515 Norgg changed: What|Removed |Added CC||gcc at norgg dot org --- Comment #4 from Norgg

[Bug c++/70515] Nested lambdas causing invalid captured pointers on some platforms

2017-03-17 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70515 --- Comment #5 from Norgg --- Created attachment 40994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40994&action=edit gcc -v output for gcc 6.2.0

[Bug c++/67699] New: Segfault compiling a constexpr array with -fmerge-all-constants -flto

2015-09-23 Thread gcc at norgg dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at norgg dot org Target Milestone: --- Created attachment 36380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36380&action=edit Minimal testcase Minimal te

[Bug c++/67699] Segfault compiling a constexpr array with -fmerge-all-constants -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 --- Comment #1 from Norgg --- Created attachment 36381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36381&action=edit Reduced testcase with const instead of constexpr Futher testing by slowriot found that you can change the constexpr to

[Bug c++/67699] Segfault compiling a constexpr array with -fmerge-all-constants -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 --- Comment #2 from Norgg --- It seems the -fmerge-all-constants isn't necessary to cause the segfault either any more, although it was in an earlier larger test case. Minimal command line to reproduce is now: $ g++ const_crash.cpp -flto const_c

[Bug c++/67699] Segfault compiling a const array with -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 --- Comment #3 from Norgg --- Created attachment 36382 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36382&action=edit Preprocessed file