target/8340: [mainline regression] ICE on x86 inline asm w/ -fPIC

glen@imodulo.com glen@imodulo.com
Thu Oct 24 10:05:00 GMT 2002


>Number:         8340
>Category:       target
>Synopsis:       [mainline regression] ICE on x86 inline asm w/ -fPIC
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 24 09:56:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Glen Nakamura
>Release:        gcc version 3.3 20021023 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
asm.c: In function `foo':
asm.c:5: internal compiler error: asm clobber conflict with output operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
gcc -fPIC -c asm.c
>Fix:
(work-around) remove "static" from:
static int a;
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="asm.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="asm.c"

aW50CmZvbyAoKQp7CiAgc3RhdGljIGludCBhOwogIF9fYXNtX18gX192b2xhdGlsZV9fICgKICAg
ICJ4b3JsICUlZWJ4LCAlJWVieFxuIgogICAgIm1vdmwgJSVlYngsICUwXG4iCiAgICA6ICI9bSIg
KGEpCiAgICA6CiAgICA6ICIlZWJ4IgogICk7CiAgcmV0dXJuIGE7Cn0K



More information about the Gcc-bugs mailing list