This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/51782] Missing address-space information leads to wrong code


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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]