public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/4120: "Unable to find a register to spill" with -fschedule-insns
@ 2002-04-03 9:59 rth
0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-04-03 9:59 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, kevind, rth, toasty
Synopsis: "Unable to find a register to spill" with -fschedule-insns
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Wed Apr 3 09:59:35 2002
State-Changed-Why:
http://gcc.gnu.org/ml/gcc-patches/2002-04/msg00117.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4120
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: optimization/4120: "Unable to find a register to spill" with -fschedule-insns
@ 2002-04-02 23:17 rth
0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-04-02 23:17 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, kevind, nobody, rth, toasty
Synopsis: "Unable to find a register to spill" with -fschedule-insns
Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: rth
Responsible-Changed-When: Tue Apr 2 23:17:20 2002
Responsible-Changed-Why:
.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4120
^ permalink raw reply [flat|nested] 3+ messages in thread
* optimization/4120: "Unable to find a register to spill" with -fschedule-insns
@ 2001-08-24 14:16 toasty
0 siblings, 0 replies; 3+ messages in thread
From: toasty @ 2001-08-24 14:16 UTC (permalink / raw)
To: gcc-gnats; +Cc: kevind
>Number: 4120
>Category: optimization
>Synopsis: "Unable to find a register to spill" with -fschedule-insns
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 24 14:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Kevin Day
>Release: gcc version 3.0.1
>Organization:
>Environment:
Reading specs from /usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/specs
Configured with: ./..//gcc-3.0.1/configure --disable-nls --with-gnu-as --with-gnu-ld --with-gxx-include-dir=/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/g++ --disable-shared --prefix=/usr/local i386-unknown-freebsd4.2
Thread model: posix
gcc version 3.0.1
>Description:
test.c: In function `fattr3* NH_FATTR3(fattr3*)':
test.c:29: Unable to find a register to spill in class `AREG'.
test.c:29: This is the insn:
(insn 51 92 21 (set (reg/v:HI 45)
(mem/s:HI (plus:SI (reg/v/f:SI 1 edx [42])
(const_int 8 [0x8])) 3)) 39 {*movhi_1} (insn_list 6 (nil))
(nil))
test.c:29: confused by earlier errors, bailing out
>How-To-Repeat:
g++ -O2 -finline-functions -fschedule-insns -march=pentium test.ii -c
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="test.ii"
Content-Disposition: inline; filename="test.ii"
# 18 "test.c"
# 1 "../../../common/includes/nfsc_utils.h" 1
# 1 "../../../common/includes/nfss.h" 1
# 1 "../../../common/includes/ika_com_types.h" 1
# 56 "../../../common/includes/ika_com_types.h"
# 1 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 1 3
# 54 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 3
# 1 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/cdefs.h" 1 3
# 55 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 2 3
# 1 "/usr/include/sys/inttypes.h" 1 3
# 9 "/usr/include/sys/inttypes.h" 3
# 1 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/machine/ansi.h" 1 3
# 112 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/machine/ansi.h" 3
typedef int __attribute__((__mode__(__DI__))) __int64_t;
typedef unsigned int __attribute__((__mode__(__DI__))) __uint64_t;
# 124 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/machine/ansi.h" 3
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef int __intptr_t;
typedef unsigned int __uintptr_t;
# 10 "/usr/include/sys/inttypes.h" 2 3
typedef __int8_t int8_t;
typedef __int16_t int16_t;
typedef __int32_t int32_t;
typedef __int64_t int64_t;
typedef __uint8_t uint8_t;
typedef __uint16_t uint16_t;
typedef __uint32_t uint32_t;
typedef __uint64_t uint64_t;
typedef __intptr_t intptr_t;
typedef __uintptr_t uintptr_t;
# 58 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 2 3
# 1 "/usr/include/machine/types.h" 1 3
# 41 "/usr/include/machine/types.h" 3
typedef struct _physadr {
int r[1];
} *physadr;
typedef struct label_t {
int val[6];
} label_t;
typedef unsigned int vm_offset_t;
typedef __int64_t vm_ooffset_t;
typedef unsigned int vm_pindex_t;
typedef unsigned int vm_size_t;
typedef __int32_t register_t;
# 64 "/usr/include/machine/types.h" 3
typedef __uint32_t intrmask_t;
typedef void inthand2_t (void *_cookie);
typedef void ointhand2_t (int _device_id);
# 59 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 2 3
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef __uint8_t u_int8_t;
typedef __uint16_t u_int16_t;
typedef __uint32_t u_int32_t;
typedef __uint64_t u_int64_t;
typedef u_int64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef char * caddr_t;
typedef const char * c_caddr_t;
typedef volatile char *v_caddr_t;
typedef int32_t daddr_t;
typedef u_int32_t u_daddr_t;
typedef u_int32_t fixpt_t;
typedef u_int32_t gid_t;
typedef u_int32_t ino_t;
typedef long key_t;
typedef u_int16_t mode_t;
typedef u_int16_t nlink_t;
typedef __int64_t off_t;
typedef int pid_t;
typedef quad_t rlim_t;
typedef int32_t segsz_t;
typedef int32_t swblk_t;
typedef int32_t ufs_daddr_t;
typedef u_int32_t uid_t;
# 116 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 3
typedef u_int32_t dev_t;
# 134 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 3
# 1 "/usr/include/machine/endian.h" 1 3
# 59 "/usr/include/machine/endian.h" 3
# 1 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/cdefs.h" 1 3
# 60 "/usr/include/machine/endian.h" 2 3
extern "C" {
unsigned long htonl (unsigned long);
unsigned short htons (unsigned short);
unsigned long ntohl (unsigned long);
unsigned short ntohs (unsigned short);
}
# 135 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 2 3
typedef unsigned long clock_t;
typedef int clockid_t;
typedef unsigned int size_t;
typedef int ssize_t;
typedef long time_t;
typedef int timer_t;
# 183 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 3
typedef unsigned long fd_mask;
typedef struct fd_set {
fd_mask fds_bits[(((1024) + (((sizeof(fd_mask) * 8)) - 1)) / ((sizeof(fd_mask) * 8)))];
} fd_set;
# 207 "/usr/local/lib/gcc-lib/i386-unknown-freebsd4.2/3.0.1/include/sys/types.h" 3
extern "C" {
int ftruncate (int, off_t);
off_t lseek (int, off_t, int);
void * mmap (void *, size_t, int, int, int, off_t);
int truncate (const char *, off_t);
}
# 57 "../../../common/includes/ika_com_types.h" 2
# 71 "../../../common/includes/ika_com_types.h"
typedef unsigned char BOOL;
typedef unsigned char UCHAR;
typedef unsigned int UINT;
typedef unsigned short USHORT;
typedef unsigned long ULONG;
# 95 "../../../common/includes/ika_com_types.h"
typedef struct _FABRIC_ADDR_T
{
u_int8_t hops;
u_int8_t xhops;
u_int8_t row;
u_int8_t port;
u_int8_t device;
u_int8_t reserved;
} fab_dev_addr, *Pfab_dev_addr;
typedef struct _MPEG2_HEADER
{
u_int32_t sync_byte:8;
u_int32_t transport_error_indicator:1;
u_int32_t payload_start_indicator:1;
u_int32_t transport_priority:1;
u_int32_t pid:13;
u_int32_t scrambling_control:2;
u_int32_t adaptation_field:2;
u_int32_t continuity_counter:4;
} mpeg2_header, *Pmpeg2_header;
typedef void* Handle_t;
typedef int (*init_func_t)( void );
typedef void (*tsk_func_t)( void );
typedef void (*test_func_t)( u_int32_t );
typedef union _fbrc_addr
{
u_int16_t fa_w;
u_int8_t fa_b[2];
} fbrc_addr_t;
typedef struct
{
u_int8_t dest;
u_int8_t type;
u_int16_t cell_length;
fbrc_addr_t src_addr;
u_int16_t seq_num;
} vmsg_header_t;
# 7 "../../../common/includes/nfss.h" 2
# 1 "../../../common/includes/ika_com_defs.h" 1
# 17 "../../../common/includes/ika_com_defs.h"
# 1 "../../../common/includes/ika_com_types.h" 1
# 18 "../../../common/includes/ika_com_defs.h" 2
# 37 "../../../common/includes/ika_com_defs.h"
# 8 "../../../common/includes/nfss.h" 2
# 18 "../../../common/includes/nfss.h"
typedef char* filename3;
typedef char* nfspath3;
typedef u_int64_t fileid3;
typedef u_int64_t cookie3;
typedef char cookieverf3[8];
typedef char createverf3[8];
typedef char writeverf3[8];
typedef u_int32_t uid3;
typedef u_int32_t gid3;
typedef u_int64_t size3;
typedef u_int64_t offset3;
typedef u_int32_t mode3;
typedef u_int32_t count3;
typedef enum
{
NFS3RPC_NULL=0,
NFS3RPC_GETATTR=1,
NFS3RPC_SETATTR=2,
NFS3RPC_LOOKUP=3,
NFS3RPC_ACCESS=4,
NFS3RPC_READLINK=5,
NFS3RPC_READ=6,
NFS3RPC_WRITE=7,
NFS3RPC_CREATE=8,
NFS3RPC_MKDIR=9,
NFS3RPC_SYMLINK=10,
NFS3RPC_MKNOD=11,
NFS3RPC_REMOVE=12,
NFS3RPC_RMDIR=13,
NFS3RPC_RENAME=14,
NFS3RPC_LINK=15,
NFS3RPC_READDIR=16,
NFS3RPC_READDIRPLUS=17,
NFS3RPC_FSSTAT=18,
NFS3RPC_FSINFO=19,
NFS3RPC_PATHCONF=20,
NFS3RPC_COMMIT=21
}NFS3RPC_enum;
typedef u_int32_t NFS3RPC;
typedef enum
{
NF3NON = 0,
NF3REG = 1,
NF3DIR = 2,
NF3BLK = 3,
NF3CHR = 4,
NF3LNK = 5,
NF3SOCK= 6,
NF3FIFO= 7
}ftype3_enum;
typedef u_int32_t ftype3;
typedef struct
{
int32_t tv_sec __attribute__ ((packed));
int32_t tv_usec __attribute__ ((packed));
}nfstime3 __attribute__ ((packed));
typedef struct
{
u_int32_t st_dev __attribute__ ((packed));
u_int32_t st_ino __attribute__ ((packed));
u_int16_t st_mode __attribute__ ((packed));
u_int16_t st_nlink __attribute__ ((packed));
u_int32_t st_uid __attribute__ ((packed));
u_int32_t st_gid __attribute__ ((packed));
u_int32_t st_rdev __attribute__ ((packed));
nfstime3 st_atimespec __attribute__ ((packed));
nfstime3 st_mtimespec __attribute__ ((packed));
nfstime3 st_ctimespec __attribute__ ((packed));
int64_t st_size __attribute__ ((packed));
int64_t st_blocks __attribute__ ((packed));
u_int32_t st_blksize __attribute__ ((packed));
u_int32_t st_flags __attribute__ ((packed));
u_int32_t st_gen __attribute__ ((packed));
int32_t st_lspare __attribute__ ((packed));
int64_t st_qspare[2] __attribute__ ((packed));
}fattr3;
# 7 "../../../common/includes/nfsc_utils.h" 2
# 19 "test.c" 2
fattr3 *NH_FATTR3(fattr3 *s)
{
s->st_dev = __extension__ ({ register u_long __X = (s->st_dev); __asm ("xchgb %h1, %b1\n\trorl $16, %1\n\txchgb %h1, %b1" : "=q" (__X) : "0" (__X)); __X; });
s->st_ino = __extension__ ({ register u_long __X = (s->st_ino); __asm ("xchgb %h1, %b1\n\trorl $16, %1\n\txchgb %h1, %b1" : "=q" (__X) : "0" (__X)); __X; });
s->st_mode = __extension__ ({ register u_short __X = (s->st_mode); __asm ("xchgb %h1, %b1" : "=q" (__X) : "0" (__X)); __X; });
s->st_nlink = __extension__ ({ register u_short __X = (s->st_nlink); __asm ("xchgb %h1, %b1" : "=q" (__X) : "0" (__X)); __X; });
s->st_uid = __extension__ ({ register u_long __X = (s->st_uid); __asm ("xchgb %h1, %b1\n\trorl $16, %1\n\txchgb %h1, %b1" : "=q" (__X) : "0" (__X)); __X; });
return s;
}
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-03 17:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-03 9:59 optimization/4120: "Unable to find a register to spill" with -fschedule-insns rth
-- strict thread matches above, loose matches on Subject: below --
2002-04-02 23:17 rth
2001-08-24 14:16 toasty
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).