public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* GCC-current ICE in reload1.c
@ 1998-05-30 16:26 Matthias Urlichs
1998-08-17 1:26 ` Jeffrey A Law
0 siblings, 1 reply; 2+ messages in thread
From: Matthias Urlichs @ 1998-05-30 16:26 UTC (permalink / raw)
To: egcs-bugs
Compiling the following code with gcc -O -fgcse -c results in:
reload1.c:1279: Internal compiler error in function reload
Compiling with just -O does not show the problem.
#############################
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.32/specs
gcc version egcs-2.91.32 19980525 (gcc2 ss-980502 experimental)
/usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.32/cc1 /tmp/cc8nw8AA.i -quiet -dumpbase bm.c -O -fgcse -version -o /tmp/cc8nw8AA.s
GNU C version egcs-2.91.32 19980525 (gcc2 ss-980502 experimental) (i586-pc-linux-gnu) compiled by GNU C version egcs-2.91.32 19980525 (gcc2 ss-980502 experimental).
reload1.c:1279: Internal compiler error in function reload
########################
struct task_struct {
int timeout;
};
static inline struct task_struct * get_current(void)
{
struct task_struct *current;
__asm__("andl %%esp,%0; ":"=r" (current) : "0" (~8191UL));
return current;
}
extern unsigned long jiffies;
void do_mtd_request(int req)
{
int tries;
for (tries = 0; tries < 20; tries++) {
switch (req) {
case 0x00 :
get_current() ->timeout = jiffies;
break;
}
if (signal_pending(get_current() ))
printk ("<5>" "cs: do_mtd_request interrupted!\n");
}
}
--
Matthias Urlichs
noris network GmbH
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC-current ICE in reload1.c
1998-05-30 16:26 GCC-current ICE in reload1.c Matthias Urlichs
@ 1998-08-17 1:26 ` Jeffrey A Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-08-17 1:26 UTC (permalink / raw)
To: Matthias Urlichs; +Cc: egcs-bugs
In message <19980531001939.36991@noris.de>you write:
> Compiling the following code with gcc -O -fgcse -c results in:
> reload1.c:1279: Internal compiler error in function reload
>
> Compiling with just -O does not show the problem.
>
> #############################
>
> Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.32/specs
> gcc version egcs-2.91.32 19980525 (gcc2 ss-980502 experimental)
> /usr/lib/gcc-lib/i586-pc-linux-gnu/egcs-2.91.32/cc1 /tmp/cc8nw8AA.i -quiet
> -dumpbase bm.c -O -fgcse -version -o /tmp/cc8nw8AA.s
> GNU C version egcs-2.91.32 19980525 (gcc2 ss-980502 experimental) (i586-pc-
> linux-gnu) compiled by GNU C version egcs-2.91.32 19980525 (gcc2 ss-980502
> experimental).
> reload1.c:1279: Internal compiler error in function reload
[ ... ]
This seems to compile fine with the upcoming egcs-1.1 release.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-08-17 1:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-30 16:26 GCC-current ICE in reload1.c Matthias Urlichs
1998-08-17 1:26 ` Jeffrey A Law
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).