[Bug c++/90757] New: inlining skips function parameter initialization

2019-06-05 Thread jens.georg at desy dot de
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.georg at desy dot de Target Milestone: --- Created attachment 46454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46454&action=edit sample code showing inlining issue When compiling the attached code w

[Bug c++/90757] inlining skips function parameter initialization

2019-06-06 Thread jens.georg at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90757 --- Comment #3 from Jens Georg --- I mean even if the code in main is invalid, so what. If we replace that by memcopy, the function argument is still not initialized when inlined. IMHOt there's something fishy, but well. your decision