https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84502
--- Comment #6 from patrick.schlangen at bmw dot de ---
(In reply to Jakub Jelinek from comment #5)
> Completely untested fix:
I've applied the patch and it seems to resolve the issue.
Thanks a lot!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84502
--- Comment #1 from patrick.schlangen at bmw dot de ---
Note: This problem does not happen with gcc 7.2.1.
The problem can also be reproduced with -O3 when the empty struct object passed
to the function is actually used in the function. (So it
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: patrick.schlangen at bmw dot de
Target Milestone: ---
Created attachment 43483
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43483&action=edit
Minimal example
Hi,
we've