This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/5158: ICE when asm has 2 conflicting constraints
- From: bshaft at cisco dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 18 Dec 2001 22:39:08 -0000
- Subject: c/5158: ICE when asm has 2 conflicting constraints
- Reply-to: bshaft at cisco dot com
>Number: 5158
>Category: c
>Synopsis: ICE when asm has 2 conflicting constraints
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: ice-on-illegal-code
>Submitter-Id: net
>Arrival-Date: Tue Dec 18 14:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Brian Shaft
>Release: 2.95.3 - 3.1
>Organization:
>Environment:
solaris 2.6 and others. Found on powerpc cross compiler.
>Description:
Conflicting asm constraints causes ICE at all -O levels. The same variable is mentioned twice, constrained firstly with "r" and then "m".
>How-To-Repeat:
gcc -S tst.c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="tst2.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="tst2.c"
c3RhdGljIGlubGluZSB1bnNpZ25lZCBsb25nIGZmKHZvaWQqIHh4KQ0Kew0KICAgIHVuc2lnbmVk
IGxvbmcgY2M7DQogICAgX19hc21fXyBfX3ZvbGF0aWxlX18oImx3YnJ4ICUwLDAsJTEiIDogIj1y
IiAoY2MpIDogInIiICh4eCkgLCAibSIgKHh4KSk7DQogICAgcmV0dXJuICgwKTsNCn0NCg0KdW5z
aWduZWQgbG9uZyBtbSgpDQp7DQogICAgdW5zaWduZWQgY2hhciBra1sxXTsNCiAgICByZXR1cm4g
ZmYoa2spOw0KfQ0K