Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Piotr Nestorow - TeleLOGIC Malmo...
Thu, 13 Aug 1992 09:58
gcc-2.2.2 cc1 problem on HP710 (HPUX-7.05)
Author: Piotr Nestorow - TeleLOGIC Malmo...
Date: Thu, 13 Aug 1992 09:58
Date: Thu, 13 Aug 1992 09:58
69 lines
2347 bytes
2347 bytes
Hi!
Machine: HP710 (HP-UX 7.05)
Gcc: gcc-2.2.2
When compiling (sorry about the example -
the code is generated by a code generator):
/* ------------------------ */
typedef int SDL_Integer;
typedef unsigned int SDL_Natural;
typedef SDL_Integer z1C_Digit_Type;
typedef SDL_Integer z1D_A_AbNo_Type;
typedef SDL_Integer z1E_B_AbNo_Type;
typedef SDL_Natural z00L_Limit;
typedef struct {
z1E_B_AbNo_Type B_AbNo;
SDL_Integer NoOf_Periods;
} z00J_Call_Info_Type;
typedef struct {
z00J_Call_Info_Type A[100 - 1+1];
} z00K_Log_Array_Type;
typedef struct {
SDL_Integer NoOfCalls;
z00K_Log_Array_Type Log_Array;
} z0055_Call_Record_Type;
typedef struct {
z0055_Call_Record_Type A[50 - 1+1];
} z0056_Data_Base_Type;
extern z0056_Data_Base_Type yMake_z0056_Data_Base_Type ( yExpr )
z0055_Call_Record_Type yExpr;
{
int yIndex;
z0056_Data_Base_Type yVar;
memset((void *)(&yVar), 0, sizeof(z0056_Data_Base_Type));
for (yIndex = 0; yIndex<=50 - 1; yIndex++)
yVar.A[yIndex] = yExpr;
return yVar;
}
/* ------------------------ */
Cc1 dumps core:
pn@cobra-11:42am-135 > /usr/local/lib/gcc-lib/hp710-hpux/2.2.2/cc1 TELEPHONE_EXCHANGE.i -quiet -dumpbase TELEPHONE_EXCHANGE.c -g -version -o TELEPHONE_EXCHANGE.s
GNU C version 2.2.2 (hp9000s800) compiled by GNU C version 2.2.2.
TELEPHONE_EXCHANGE.i: In function `yMake_z0056_Data_Base_Type':
TELEPHONE_EXCHANGE.i:38: internal error--unrecognizable insn:
(insn 76 75 77 (parallel[
(set (mem:BLK (reg:SI 132))
(mem:BLK (reg:SI 133)))
(clobber (reg:SI 132))
(clobber (reg:SI 133))
(clobber (scratch:SI))
(clobber (scratch:SI))
(use (const_int 40200))
(use (const_int 4))
] ) -1 (nil)
(nil))
IOT trap (core dumped)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads