This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Internal compiler error in `reverse_condition', at jump.c:3260 , i80x86, using asm()
- To: etienne_lorrain at yahoo dot fr (Etienne Lorrain)
- Subject: Re: Internal compiler error in `reverse_condition', at jump.c:3260 , i80x86, using asm()
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Wed, 31 Jan 2001 08:34:01 -0800 (PST)
- Cc: gcc at gcc dot gnu dot org
> extern inline void gpokeb (unsigned offset, unsigned char value)
> {
> asm volatile (" movb %c0,%%gs:(%1) "
> : : "qi" (value), "g" (offset));
> }
>
> i.e. move a constant _or_ a register to a gs-relative address,
> which can itself be constant or variable.
>
> When I use with the "value" variable, I get:
>
> user.c: In function `EGA_setpixel':
> user.c:2119: Internal compiler error in `reverse_condition', at jump.c:3260
> Please submit a full bug report.
> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>
> because probably the "%c0" is not valid - it is more waiting "%w0"
> or "%b0" to match register "%al". But I need the "%c0" for constants
> to add the "$"...
Doesn't matter, you should not get an ICE for any input whatsoever; if
you do it is a bug in the compiler.