[Bug c++/84502] [8 Regression] Argument corruption when passing empty templated struct

2018-02-21 Thread patrick.schlangen at bmw dot de
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!

[Bug c++/84502] Argument corruption when passing empty templated struct

2018-02-21 Thread patrick.schlangen at bmw dot de
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

[Bug c++/84502] New: Argument corruption when passing empty templated struct

2018-02-21 Thread patrick.schlangen at bmw dot de
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