https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70010
--- Comment #5 from Cyril Bur ---
Hi Martin,
(After forgetting -O2 and wondering why everything changed: conclusion -O2 is
important for this)
I added -fno-inline (so: -O2 -Wall -Wextra -flto -fno-inline) to my cases and
while optimisations may
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70010
--- Comment #2 from Cyril Bur ---
Created attachment 37820
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37820&action=edit
with -flto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70010
--- Comment #1 from Cyril Bur ---
Created attachment 37819
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37819&action=edit
without -flto
iority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: cyrilbur at gmail dot com
Target Milestone: ---
Created attachment 37818
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37818&action=edit
C code to reproduce
$ powerpc64-buildroot-linux-gnu-gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69969
--- Comment #1 from Cyril Bur ---
Created attachment 37798
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37798&action=edit
minimal test case in c
Assignee: unassigned at gcc dot gnu.org
Reporter: cyrilbur at gmail dot com
Target Milestone: ---
Created attachment 37797
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37797&action=edit
preprocessed file
$ powerpc64-buildroot-linux-gnu-gcc -v
Using b
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65096
--- Comment #1 from Cyril Bur ---
Created attachment 34796
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34796&action=edit
Preprocessed version of the simple test case
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: cyrilbur at gmail dot com
Created attachment 34795
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34795&action=edit
Simple test case
When a heap allocated packed struct is passed by value and the struct cont