This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/28140] asm gets lost between 125r.cse2 and 126r.life1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jun 2006 20:56:11 -0000
- Subject: [Bug rtl-optimization/28140] asm gets lost between 125r.cse2 and 126r.life1
- References: <bug-28140-5394@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-06-22 20:56 -------
__asm__ ("choke_me %0 %1 %2" : "+m" (*p1), "+m" (*p2), "+m" (*p3));
*p1 = val0;
*p2 = val0;
*p3 = val0;
Actually I don't think so since the asm is dead code as the stores to *p1, *p2,
and *p3 are dead by the next couple of statements.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28140