This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure
- From: "wilson at specifix dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2007 19:30:55 -0000
- Subject: [Bug tree-optimization/33389] [4.3 Regression] Revision 128239 causes libgomp failure
- References: <bug-33389-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from wilson at specifix dot com 2007-09-12 19:30 -------
Subject: Re: [4.3 Regression] Revision 128239
causes libgomp failure
The failure occurs in the sdse (simple dead store elimination) pass.
It looks like it is confused by an extended asm statement with
input/output operands. It thinks these operands are not read by the
asm. If the only use of a variable is inside such an asm, then sdse
will think that the variable is never read, and optimize away stores to
it. I haven't tried debugging sdse yet to see exactly what is going wrong.
Jim
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33389