This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51782] Missing address-space information leads to wrong code
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 Jan 2012 16:19:14 +0000
- Subject: [Bug tree-optimization/51782] Missing address-space information leads to wrong code
- Auto-submitted: auto-generated
- References: <bug-51782-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51782
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mjambor at suse dot cz
--- Comment #9 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-12 16:19:14 UTC ---
(In reply to comment #7)
> Please figure out where the address-space information is lost.
Is -f[no-]tree-sra enough information to find the bug for someone familiar with
RSA?
Here is an even simpler test case:
struct rgb { char r; };
char read_rgb_bug (const __pgm struct rgb *s)
{
struct rgb t = *s;
return t.r;
}