bug report

Antoine Pitrou Quiche.Eaters@mail.dotcom.fr
Wed Oct 28 11:58:00 GMT 1998


hello

I have had the following bug with egcs under Ms-Dos (I use the DJGPP binaries).
The bug was already there in gcc 2.80 and 2.81.


E:\CODING\bug>type bug.cc
// bug gcc ?

template <typename T>
void truc(int a)
{
 asm volatile("
              movl %%eax,%0
              "
              :
              : "g" (a)
              : "%eax");
}



E:\CODING\bug>gcc -v
Reading specs from d:/utils/coding/djgpp/lib/specs
gcc version egcs-2.91.57 19980901 (egcs-1.1 release)

E:\CODING\bug>gcc -c bug.cc
bug.cc: In function `void truc(int)':
bug.cc:11: Internal compiler error 40.
bug.cc:11: Please submit a full bug report to `egcs-bugs@cygnus.com'.



More information about the Gcc-bugs mailing list