All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] Internal compiler error
@ 2000-07-12 18:26 Grant Grundler
  2000-07-12 18:35 ` John David Anglin
  0 siblings, 1 reply; 6+ messages in thread
From: Grant Grundler @ 2000-07-12 18:26 UTC (permalink / raw)
  To: parisc-linux

Dave (dhd),
Since you expressed an interest in compiler bugs:

...
make[1]: Leaving directory `/linux/grundler/linux-2.3/arch/parisc/hpux'
hppa-linux-gcc -I/linux/grundler/linux-2.3/include  -D__KERNEL__ -I/linux/grundler/linux-2.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -ffunction-sections -D__linux__ -pipe -fno-strength-reduce  -DUTS_MACHINE='"parisc"' -c -o init/version.o init/version.c
dino.c: In function `dino_common_init':
dino.c:675: incompatible type for argument 2 of `list_add'
dino.c:675: Tree check: expected class 't', have 'x' (error_mark)
dino.c:675: Internal compiler error in `expand_inline_function', at integrate.c:678
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [dino.o] Error 1
make[3]: Leaving directory `/linux/grundler/linux-2.3/drivers/gsc'
...

I'm changing code in several files in order to build an I/O tree of hp_devices
much like pci does...the problem above was due to one of my changes:

...
STATIC struct list_head dino_list;
...

        list_add(&dino_dev->dino_hba.hba_dev->global_list, dino_list);


Missing a '&' in front of dino_list and the compiler really
didn't like that. I don't have a big problem with the compiler
"oops"ing here since it correctly identified the problem.

cheers,
grant

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-07-12 19:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-12 18:26 [parisc-linux] Internal compiler error Grant Grundler
2000-07-12 18:35 ` John David Anglin
2000-07-12 19:17   ` Grant Grundler
2000-07-12 18:15     ` willy
2000-07-12 19:43       ` John David Anglin
2000-07-12 19:37     ` John David Anglin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.