c/1827: ICE in `reverse_condition' or segfault depending on version
etienne_lorrain@yahoo.fr
etienne_lorrain@yahoo.fr
Thu Feb 1 04:06:00 GMT 2001
>Number: 1827
>Category: c
>Synopsis: ICE in `reverse_condition' or segfault depending on version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 01 04:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Etienne LORRAIN
>Release: unknown-1.0
>Organization:
>Environment:
i386, gcc-2.95.3-pre2 or
gcc version 2.97 20010120 (experimental)
>Description:
Use of "%c0" in asm() when variable input, for instance in:
extern inline void gpokeb (unsigned offset,
unsigned char value)
{
asm volatile (" movb %c0,%%gs:%a1 "
: : "qi" (value), "g" (offset));
}
unsigned char dummy, val;
void fct (void)
{
gpokeb ((unsigned)&dummy, val);
}
>How-To-Repeat:
http://www.codesourcery.com/gcc-compile.shtml
Compil option: -O
Language CC
See Compiler messages
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list