This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Internal compiler error in `reverse_condition', at jump.c:3260 , i80x86, using asm()



> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]