egcs-20000114 - internal compiler error compiling XEmacs
Alexandre Oliva
oliva@lsd.ic.unicamp.br
Thu Jan 27 23:29:00 GMT 2000
On Jan 28, 2000, Zack Weinberg <zack@wolery.cumb.org> wrote:
> On Thu, Jan 27, 2000 at 10:13:35PM -0800, Martin Buchholz wrote:
>> The combination gcc + --enable-cpplib when compiling XEmacs src/elhash.c
>> crashes gcc in the following way:
>>
>> gcc -O3 -Wreturn-type ==> crash
>> gcc -O -Wreturn-type ==> no crash
>> gcc -O3 ==> no crash
> [...]
>> (martin@lasker) /xemacs/build/moS/src $ /hack/import/egcs-20000124/inst/linux-libc2/bin/gcc -v -c -O3 -Wreturn-type -Demacs -I. -DHAVE_CONFIG_H -I/usr/local/include -I/usr/X11R6/include /xemacs/ws/dev/src/elhash.c
> Please do this again with -save-temps added to the command line, and
> mail us elhash.i (compress it first, it'll be huge).
I don't think that's necessary. I've already posted a patch for a bug
that triggered on very similar conditions during bootstrap with -O3.
Martin, will you please test the patch at
http://gcc.gnu.org/ml/gcc-patches/2000-01/msg00978.html
It hasn't been installed on CVS yet, because nobody approved it.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them
More information about the Gcc-bugs
mailing list