internal compiler error
Joerg Haertwig
haertwig@cns.mpg.de
Wed Jan 12 06:24:00 GMT 2000
$ make hv.o
g++ -c -O2ÃÂ -DNO_ASM -fwritable-strings -I.ÃÂ -I../../.././include
-I/usr/local/share/include -I/usr/X11R6/include -I/usr/X11R6/include/X11
-I../../.././src/lib -I/usr/includeÃÂ ÃÂ -o hv.o hv.C
hv.C: In method `double hybridViewer::computeMaximumRGB()':
hv.C:1577: Internal compiler error in `find_free_reg', at local-alloc.c:1969
Please submit a full bug report.
############################################################
hv.h:
typedef void (hybridViewer::*renderfn)(void);
class hybridViewer : public imageViewer {
...
ÃÂ ÃÂ ÃÂ ÃÂ // global rendering parameters
ÃÂ ÃÂ ÃÂ ÃÂ renderfn rfn;
...
}
############################################################
ÃÂ
static renderfn rnfn[]= {
ÃÂ & hybridViewer::glgRenderer,
ÃÂ & hybridViewer::marchingCubesRenderer,
ÃÂ & hybridViewer::vbufferRenderer,
ÃÂ & hybridViewer::levoyRenderer,
ÃÂ & hybridViewer::vbinRenderer,
ÃÂ & hybridViewer::hybridRenderer,
ÃÂ & hybridViewer::ovRenderer
};
ÃÂ
double hybridViewer::computeMaximumRGB()ÃÂ {
...
ÃÂ ÃÂ ÃÂ if ( rfn == &hybridViewer::vbufferRendererÃÂ
// I think this causes the problem.
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ || rfn == &hybridViewer::vbinRenderer
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ || rfn == &hybridViewer::ovRenderer
ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ) {
ÃÂ ÃÂ ÃÂ scaleGamma(vmax.max(), 0.4);
ÃÂ }
...
}
$ gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/specs
gcc version pgcc-2.95.2 19991024 (release)
$ uname -a
Linux narwal 2.3.35 #8 SMP Sun Jan 2 13:29:10 CET 2000 i686 unknown
(Dual asus board P2B, 256MB, 2xIntelPentium 500Mhz)
But with:
$ make hv.o CDEBUGFLAGS="-traditional"
No error occurs.
Best regards,
--ÃÂ
Joerg HaertwigÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
Max-Planck-Institut fuer neuropsychologische ForschungÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ
ÃÂ ÃÂ ÃÂ Stephanstr. 1a, 04103 LeipzigÃÂ -ÃÂ Tel.: (0341) 9940 225
mailto:haertwig@cns.mpg.de ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ mailto:haertwig@imn.htwk-leipzig.de
ÃÂ
hv.o.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hv.o.gz
Type: application/x-gzip
Size: 67956 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000112/3caeac00/attachment.bin>
More information about the Gcc-bugs
mailing list