This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ICE in change_address at emit_rtl.c


On Thu, 22 Nov 2001, Craig Rodrigues wrote:
> Can someone with access to Solaris look at PR 4821
> in GNATS and tell me if it is still a problem:
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4821&database=gcc
>
> I've found 19 reports in GNATS with the same ICE under Solaris:
> Internal compiler error in change_address, at emit-rtl.c:1635

This specific instance it quite weird:

 o First, why is the file called fits.E?

 o Second, the file contains references to lib/gcc-lib/sparc-sun-solaris2/
   instead of ...solaris2.8 which the reporter is using.

 o Third, when I rename it to fits.ii and compile it with current CVS,
   on sparc-sun-solaris2.8 I get parse errors:

   In file included from ../../../src/ImageMagick-5.3.8/magick/api.h:85,
                 from ../../../src/ImageMagick-5.3.8/magick/magick.h:74,
                 from ../../../src/ImageMagick-5.3.8/coders/fits.c:55:
   ../../../src/ImageMagick-5.3.8/magick/image.h:296: parse error before `;' token
   In file included from ../../../src/ImageMagick-5.3.8/magick/api.h:93,
                 from ../../../src/ImageMagick-5.3.8/magick/magick.h:74,
                 from ../../../src/ImageMagick-5.3.8/coders/fits.c:55:
   ../../../src/ImageMagick-5.3.8/magick/cache.h:47: parse error before `;' token
  ../../../src/ImageMagick-5.3.8/coders/fits.c: In function `Image*
   ReadFITSImage(const ImageInfo*, ExceptionInfo*)':
  ../../../src/ImageMagick-5.3.8/coders/fits.c:335: parse error before `
   PseudoClass'

  When I compile with 3.0.3-snapshot, I get:

  nunki[63]:~% gccvs -O3 -D_PTHREADS fits.ii
  In file included from ../../../src/ImageMagick-5.3.8/magick/api.h:85,
                   from ../../../src/ImageMagick-5.3.8/magick/magick.h:74,
                  from ../../../src/ImageMagick-5.3.8/coders/fits.c:55:
  ../../../src/ImageMagick-5.3.8/magick/image.h:296: parse error before `;' token
  In file included from ../../../src/ImageMagick-5.3.8/magick/api.h:93,
                 from ../../../src/ImageMagick-5.3.8/magick/magick.h:74,
                 from ../../../src/ImageMagick-5.3.8/coders/fits.c:55:
  ../../../src/ImageMagick-5.3.8/magick/cache.h:47: parse error before `;' token
  ../../../src/ImageMagick-5.3.8/coders/fits.c: In function `Image*
     ReadFITSImage(const ImageInfo*, ExceptionInfo*)':
  ../../../src/ImageMagick-5.3.8/coders/fits.c:335: parse error before `
     PseudoClass'
  ../../../src/ImageMagick-5.3.8/coders/fits.c:482: confused by earlier
  errors, bailing out

Given the error message, it seems this was an instance of ICE on invalid
code, and the report can be closed (for mainline and apparently also
branch).

HTH,

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]