https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585
Richard Biener changed:
What|Removed |Added
Keywords||missed-optimization
Status|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585
--- Comment #3 from Richard Biener ---
That is, compare DECL_RTL for a in the good/bad case and see how it arrives so.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585
--- Comment #4 from Richard Biener ---
Bad case:
(mem/c:BLK (plus:DI (reg/f:DI 150 virtual-stack-vars)
(const_int 64 [0x40])) [1 a+0 S64 A128])
#0 set_decl_rtl (t=, x=0x2c1ae960)
at /space/rguenther/src/svn/trunk/gcc/emit-rtl.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585
--- Comment #5 from Bill Schmidt ---
(In reply to Richard Biener from comment #1)
> The issue is not SRA pushing things to memory - it doesn't. The issue is
> that in the GIMPLE IL the parameter appears as "memory" as it is an
> aggregate type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585
--- Comment #6 from rguenther at suse dot de ---
On August 12, 2016 3:46:46 PM GMT+02:00, "wschmidt at gcc dot gnu.org"
wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74585
>
>--- Comment #5 from Bill Schmidt ---
>(In reply to Richard Bie