[Bug tree-optimization/67283] GCC regression over inlining of returned structures

2016-12-16 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 Xavier Roche changed: What|Removed |Added Known to work||6.1.0, 6.2.0 Known to fail|

[Bug tree-optimization/67283] GCC regression over inlining of returned structures

2015-08-27 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #11 from Xavier Roche --- PS: Shall I create a twin ticket for the structure case ?

[Bug tree-optimization/67283] GCC regression over inlining of returned structures

2015-08-27 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #10 from Xavier Roche --- The "Second test case" attached should produce exactly the same bytes (byte-to-byte) for the two demo_1 and demo_2 functions. And this would not rely on stack size that might change. With GCC 4.4.7: demo_2(

[Bug tree-optimization/67283] GCC regression over inlining of returned structures

2015-08-27 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #9 from Xavier Roche --- Created attachment 36260 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36260&action=edit Second test case (might be useful for unit testing)

[Bug tree-optimization/67283] GCC regression over inlining of returned structures

2015-08-24 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #6 from Xavier Roche --- > the problem is that the structure contains an array an total scalarization is > not implemented for them I confirm that without any array the inlining is fine. Side note: the same problem appears with an

[Bug c/67283] GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #3 from Xavier Roche --- Created attachment 36222 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36222&action=edit Produced assembly code with GCC 5.2.0 on x86_64 Produced assembly code with GCC 5.2.0 on x86_64

[Bug c/67283] GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #2 from Xavier Roche --- Created attachment 36221 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36221&action=edit Produced assembly code with GCC 4.6.4 on x86_64 Produced assembly code with GCC 4.6.4 on x86_64

[Bug c/67283] GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67283 --- Comment #1 from Xavier Roche --- Created attachment 36220 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36220&action=edit Produced assembly code with GCC 4.4.7 on x86_64 Produced assembly code with GCC 4.4.7 on x86_64

[Bug c/67283] New: GCC regression over inlining of returned structures

2015-08-19 Thread roche at httrack dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: roche at httrack dot com Target Milestone: --- Created attachment 36219 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36219&action=edit Sample test case (gcc -S -O3 -W -Wall) An optimization bug regression