Egcs-1.1 generates incorrect code for LinuxKernel2.1.122

Nuno Ferreira nmrf@rnl.ist.utl.pt
Mon Sep 28 02:58:00 GMT 1998


On Sun, Sep 20, 1998 at 04:48:24AM +0000, Alexandre Oliva wrote:
> Nuno Ferreira <nmrf@rnl.ist.utl.pt> writes:
> 
> > I found that egcs1.1 (from Debian) generates incorrect code for my pcbit
> > ISDN adapter in the latest development kernels.
> 
> Could you be more specific?  Finding the `incorrect code' in a 20k
> file is quite hard :-)
> 
> If you could provide a smaller test case, or at least point out what
> are the failures you're observing, we might be able to do something
> about it.
> 
> -- 
> Alexandre Oliva
> mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
> http://www.dcc.unicamp.br/~oliva
> Universidade Estadual de Campinas, SP, Brasil
> 

I should be asleep when I sent that bug report :)
Well, when using this kernel my ISDN adapter can't connect and  I get some
message in the log like this:
 Sep 22 18:22:23 rcu133 kernel: fsm error: event 20 on state 1 
 Sep 22 18:22:23 rcu133 kernel: fsm error: event 4 on state 1

This messages are printed out in a debug function called
pcbit_fsm_event. This function is not directly called from this file but
I'm almost sure that the only way it could be called from here would be
calling pcbit_l3_receive (which is also on another file).
This one is only called from pcbit_deliver so I think the bug must be
there.

Hope this helps to find the bug. Sorry I took so long to answer but I've
been away for a while.
-- 
Nuno Ferreira
nmrf@rnl.ist.utl.pt



More information about the Gcc-bugs mailing list