inline-asm/8832: [3.2/3.3 regression] traditional "asm volatile" code is illegally optimized

ebotcazou@gcc.gnu.org ebotcazou@gcc.gnu.org
Mon Jan 13 05:17:00 GMT 2003


Synopsis: [3.2/3.3 regression] traditional "asm volatile" code is illegally optimized

State-Changed-From-To: analyzed->closed
State-Changed-By: ebotcazou
State-Changed-When: Fri Jan 10 02:59:33 2003
State-Changed-Why:
    2003-01-09  Eric Botcazou  <ebotcazou@libertysurf.fr>
    
    	PR inline-asm/8832
    	* tree.h (expand_asm): New prototype.
    	* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
    	to do so.
    	* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
    	down to expand_asm.
    	* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
    	* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
    	(volatile_refs_p) [ASM_INPUT]: Likewise.
    	(side_effects_p) [ASM_INPUT]: Likewise.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8832



More information about the Gcc-bugs mailing list