https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93951
--- Comment #2 from Guillaume Morin ---
fwiw the reproducer can be reduced further to:
#include
struct S1 {
bool fct() const;
};
struct V {
bool visit() const {
auto visitor = [](auto&& s) -> bool { return s.fct(); };
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: guillaume at morinfr dot org
Target Milestone: ---
Created attachment 47917
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47917&action=edit
reproducer
This program ICEs with '-g -flto -femit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91914
--- Comment #5 from Guillaume Morin ---
Just FYI, we've hit the same wrong-code bug compiling our codebase. And I can
confirm that the patch in comment #2 does fix the problem for us as well.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563
--- Comment #5 from Guillaume Morin ---
Jakub mentioned that r273135 fixed the abort() in the trunk. I noticed that
this revision had already been backported to the gcc-9 branch as r274532. So I
built the gcc-9 branch and I can confirm that it do
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91563
--- Comment #3 from Guillaume Morin ---
Jonathan,
Are you sure? I modified the code to print std::is_trivially_copyable::value
and it does print "1". Am I missing something obvious?
: unassigned at gcc dot gnu.org
Reporter: guillaume at morinfr dot org
Target Milestone: ---
Created attachment 46766
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46766&action=edit
test program
Hi,
The attached program aborts with gcc 9.x -O{1,2,3} (including recent ver
++
Assignee: unassigned at gcc dot gnu.org
Reporter: guillaume at morinfr dot org
Target Milestone: ---
Created attachment 44259
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44259&action=edit
reproducer
I have a program that crashes very reliably after an exception is throw
++
Assignee: unassigned at gcc dot gnu.org
Reporter: guillaume at morinfr dot org
Target Milestone: ---
Created attachment 42200
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42200&action=edit
"slow" testcase
I have attached a test case (slow_add.cpp) that
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82242
--- Comment #1 from Guillaume Morin ---
Created attachment 42201
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42201&action=edit
"fast" testcase
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47466
--- Comment #1 from Guillaume Morin 2011-01-26
18:26:34 UTC ---
A recent 4.6 snapshot shows the same issue
.file"foo.cpp"
.text
.p2align 4,,15
.globltest_expect(EnumStruct const&)
.typetest_expect(EnumStruct const
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47466
Summary: c++ __builtin_expect() regression
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassig...@
11 matches
Mail list logo