This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: inline-asm/8832: [3.2/3.3 regression] traditional "asm volatile" code is illegally optimized
- From: ebotcazou at gcc dot gnu dot org
- To: ebotcazou at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mark at cal005304 dot student dot utwente dot nl
- Date: 10 Jan 2003 10:59:35 -0000
- Subject: Re: inline-asm/8832: [3.2/3.3 regression] traditional "asm volatile" code is illegally optimized
- Reply-to: ebotcazou at gcc dot gnu dot org, ebotcazou at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, mark at cal005304 dot student dot utwente dot nl, gcc-gnats at gcc dot gnu dot org
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