https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87188

--- Comment #6 from Martin Jambor <jamborm at gcc dot gnu.org> ---
gcc61.fsffrance.org unfortunately seems inaccessible, can you post
-fdump-tree-esra-details dump here together with the preceeding tree
dump file?

I cannot see anything wrong with the dump excerpt that you posted
above.  SRA saw a structure that is not addressable and with only
local uses and decided to scalarize it, the pointer is now in SR.13_3
and all accesses to __pfn should be replaced with that.  The
comparison is converted.

If the *type* of D.43111 is somehow special in a way that is
undetectable to a tree pass, it (again, the type) should have
TREE_ADDRESSABLE set.

Reply via email to