https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91501
--- Comment #5 from BCartier ---
Thanks for the heads up, nice to know a fix could be possible.
As for the const reference in doStuff, do you mean
void __attribute__((noinline)) doStuff(const struct TestStruct &myStruct)
{
...
}
?
By doing so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91501
--- Comment #1 from BCartier ---
Hello, I see this bug has been marked as unconfirmed, are there any updates
about this issue ?
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: baptiste.cartier at ertosgener dot com
Target Milestone: ---
Created attachment 46735
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46735&action=edit
Preprocessed test file
When calling a function or a