This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/51782] -ftree-sra: Missing address-space information leads to wrong
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 17 Feb 2012 17:59:43 +0000
- Subject: [Bug tree-optimization/51782] -ftree-sra: Missing address-space information leads to wrong
- Auto-submitted: auto-generated
- References: <bug-51782-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51782
--- Comment #17 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-02-17 17:59:43 UTC ---
Created attachment 26695
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26695
Untested proposed fix
This untested patch fixes the issue for me on a cross-compiler. It
would be great if someone who is set up to run the testsuite on a
platform with multiple address spaces or a simulator of one could test
it a bit.
My plan is to discuss this with maintainers next week and if they like
the approach, give it a formal bootstrap and test run on x86_64 and
submit shortly thereafter if everything goes fine.