7015 – certain asm constructs rejected (original) (raw)

finish_asm_stmt, in its output_operands loop, sets 'operand' to the same value for all output operands, thus causing problems with the mark_addressable call at the bottom of the loop.

Release: 3.1

Environment: Cross compilers running on Cygwin (Win2K).

How-To-Repeat: The problem is obvious, and I don't have a specific example at hand.

Comment 1 jbeulich 2002-06-13 04:06:01 UTC

Fix: Replace

operand = TREE_VALUE (output_operands);

with

operand = TREE_VALUE (t);

Comment 2 Nathan Sidwell 2002-09-14 14:59:47 UTC

State-Changed-From-To: open->feedback State-Changed-Why: although obvious, could you provide a test case that I can insert in the testsuite

Comment 3 Nathan Sidwell 2002-09-16 01:15:40 UTC

Responsible-Changed-From-To: unassigned->nathan Responsible-Changed-Why: patching

Comment 4 Nathan Sidwell 2002-09-16 01:15:40 UTC

State-Changed-From-To: feedback->analyzed State-Changed-Why: test case received

Comment 6 Nathan Sidwell 2002-10-01 12:23:30 UTC

State-Changed-From-To: analyzed->closed State-Changed-Why: fixed