GCC 4.2.2 for DJGPP released (Announce)
> > Hm, bug is still present
>
> If you hand out your source code, some might be able to reproduce your
> problem.
OK, I cut the code as possible, try to compile this: gcc -S x.c -masm=intel
#include <stdlib.h>
#include <stdio.h>
typedef struct {
unsigned long offset; // 32-bit offset
unsigned short selector; // 16-bit selector
} __attribute__((packed)) PM_FAR_POINTER;
int exec_ring0_code(unsigned long code_address, unsigned long ecx, unsigned long *eax, unsigned long *edx)
{
PM_FAR_POINTER callgate_ptr;
asm __volatile__ (
"lcall *%5\n"
: "=a"(*eax), "=d"(*edx)
: "a"(*eax), "c"(ecx), "d"(*edx), "m" (callgate_ptr)
: "memory"
);
return(0);
}
result is:
x.c: In function 'exec_ring0_code':
x.c:19: internal compiler error: in print_operand, at config/i386/i386.c:7961
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Assemler output x.S stops at line
lcall *
when I compile with gcc -S x.c only it compile all without error
and mentioned line looks this:
lcall *-6(%ebp)
---
DOS gives me freedom to unlimited HW access.
Complete thread:
- GCC 4.2.2 for DJGPP released - Rugxulo, 25.10.2007, 06:58 (Announce)
- GCC 4.2.2 for DJGPP released - RayeR, 25.10.2007, 10:54
- GCC 4.2.2 for DJGPP released - RayeR, 26.10.2007, 02:28
- GCC 4.2.2 for DJGPP released - rr, 26.10.2007, 11:19
- GCC 4.2.2 for DJGPP released - RayeR, 27.10.2007, 01:54
- GCC 4.2.2 for DJGPP released - RayeR, 27.10.2007, 03:07
- GCC 4.2.2 for DJGPP released - Rugxulo, 27.10.2007, 14:26
- GCC 4.2.2 for DJGPP released - RayeR, 28.10.2007, 23:17
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 30.10.2007, 05:42
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - RayeR, 30.10.2007, 13:09
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 31.10.2007, 00:26
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 31.10.2007, 09:31
- UPX - lucho, 31.10.2007, 10:08
- UPX - RayeR, 31.10.2007, 12:15
- UPX - rr, 31.10.2007, 17:12
- UPX - gcc - benchmark - RayeR, 01.11.2007, 02:27
- UPX - gcc - benchmark - Rugxulo, 01.11.2007, 02:47
- UPX - gcc - benchmark - RayeR, 01.11.2007, 11:10
- UPX - gcc - benchmark -- LZMA can save a lot (sometimes) - Rugxulo, 03.11.2007, 03:32
- UPX - gcc - benchmark -- LZMA can save a lot (sometimes) - RayeR, 03.11.2007, 11:25
- UPX - gcc - benchmark -- LZMA can save a lot (sometimes) - Rugxulo, 03.11.2007, 03:32
- UPX - gcc - benchmark - RayeR, 01.11.2007, 11:10
- UPX - gcc - benchmark - Rugxulo, 01.11.2007, 02:47
- UPX - rr, 31.10.2007, 13:11
- UPX - Andris, 31.10.2007, 19:30
- UPX - RayeR, 31.10.2007, 12:15
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 01.11.2007, 03:27
- UPX - lucho, 31.10.2007, 10:08
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 31.10.2007, 09:31
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 31.10.2007, 00:26
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - RayeR, 30.10.2007, 13:09
- GCC/DJGPP --masm=intel (plus YASM, GCC speed) - Rugxulo, 30.10.2007, 05:42
- GCC 4.2.2 for DJGPP released - RayeR, 28.10.2007, 23:17
- GCC 4.2.2 for DJGPP released - Rugxulo, 27.10.2007, 14:26
- GCC 4.2.2 for DJGPP released - RayeR, 27.10.2007, 03:07
- GCC 4.2.2 for DJGPP released - RayeR, 27.10.2007, 01:54
- GCC 4.2.2 for DJGPP released - rr, 26.10.2007, 11:19
- GCC 4.2.2 for DJGPP released - RayeR, 26.10.2007, 02:28
- GCC 4.2.2 for DJGPP released - RayeR, 25.10.2007, 10:54