Commit 1b929c9a by Richard Sandiford Committed by Richard Sandiford

resource.c (mark_referenced_resources): Look inside UNSPEC_VOLATILEs and ASM_INPUTs.

gcc/
	* resource.c (mark_referenced_resources): Look inside
	UNSPEC_VOLATILEs and ASM_INPUTs.

From-SVN: r137375
parent 65c5f2a6
2008-07-02 Richard Sandiford <rdsandiford@googlemail.com>
* resource.c (mark_referenced_resources): Look inside
UNSPEC_VOLATILEs and ASM_INPUTs.
2008-07-02 Ian Lance Taylor <iant@google.com>
* rtlanal.c (add_reg_note): New function.
......
......@@ -266,13 +266,10 @@ mark_referenced_resources (rtx x, struct resources *res,
return;
case UNSPEC_VOLATILE:
case TRAP_IF:
case ASM_INPUT:
/* Traditional asm's are always volatile. */
res->volatil = 1;
return;
case TRAP_IF:
res->volatil = 1;
break;
case ASM_OPERANDS:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment