This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/46865] [4.3/4.4/4.5/4.6 Regression] Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 9 Dec 2010 19:11:19 +0000
- Subject: [Bug rtl-optimization/46865] [4.3/4.4/4.5/4.6 Regression] Using -save-temps (or ccache, distcc) produces different results with multiline macros containing asm code
- Auto-submitted: auto-generated
- References: <bug-46865-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46865
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-12-09 19:11:08 UTC ---
Created attachment 22698
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22698
gcc46-pr46865.patch
The problem is that we do not guarantee the rtl locators are unique, locator_eq
needs to be called to check equality.
Perhaps for 4.7 a better way would be to use a different fmt string letter for
these locations and adjust all routines that look at rtl format strings.