[Bug c/14896] Fails to generate code for structure field assignment when assigning first field and assignment is within an infinite loop

aweiner at lsil dot com gcc-bugzilla@gcc.gnu.org
Mon Apr 12 15:40:00 GMT 2004


------- Additional Comments From aweiner at lsil dot com  2004-04-12 15:17 -------
Subject: RE:  Fails to generate code for structure field assi
	gnment when assigning first field and assignment is within an infinite lo
	op

That's plausible, but why does the compiler not exhibit consistent behavior
across all fields of the structure? It only seems exhibits this behavior for
the first element of the structure; it compiles assignments for all
subsequent elements.

-----Original Message-----
From: pinskia at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org]
Sent: Thursday, April 08, 2004 4:07 PM
To: aweiner@lsil.com
Subject: [Bug c/14896] Fails to generate code for structure field
assignment when assigning first field and assignment is within an
infinite loop



------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-08
23:06 -------
This is invalid, you should use volatile keyword to keep the store in there.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14896

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14896



More information about the Gcc-bugs mailing list