This is the mail archive of the gcc-bugs@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]

Internal compiler error in gcc 2.95.2


I try to compile the pdflib library by Thomas Merz with the Mingwin version
of gcc 2.95.2
Almost all the files in the distribution crash the compiler: here is an
example of
command line and result.

E:\AGREG\CAGREG\pdflib-2.10\pdflib>gcc  -c p_ccitt.c
p_ccitt.c: In function `PDF_open_CCITT':
p_ccitt.c:194: Internal compiler error in `rest_of_compilation', at
toplev.c:4415
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.

With the DJGPP port of gcc 2.95.2, everything works fine, the problem
appears only with the Mingwin version.

as mentionned in the instructions for gcc-bugs , I attach a preprocessed file,
compressed with gzip.


Here is the full output of the compiler (captured with redir) including the
precise version indications

Reading specs from E:\MINGWIN\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\specs
gcc version 2.95.2 19991024 (release)
 E:\MINGWIN\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\cpp.exe -lang-c -v
-iprefix E:\MINGWIN\BIN\..\lib/gcc-lib/i386-mingw32msvc\2.95.2\
-D__GNUC__=2 -D__GNUC_MINOR__=95 -Di386 -D_WIN32 -DWIN32 -D__WIN32__
-D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 -D__STDC__=1
-D__stdcall=__attribute__((__stdcall__))
-D_stdcall=__attribute__((__stdcall__))
-D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x))
-D__i386__ -D_WIN32 -D__WIN32__ -D__WIN32__ -D__MINGW32__=0.2 -D__MSVCRT__
-D__WINNT__ -D_X86_=1 -D__STDC__=1 -D__stdcall=__attribute__((__stdcall__))
-D___stdcall__=__attribute__((__stdcall__))
-D__cdecl=__attribute__((__cdecl__)) -D__declspec(x)=__attribute__((x))
-D__i386 -D__WIN32 -D__WINNT -D___stdcall=__attribute__((__stdcall__))
-Asystem(winnt) -Acpu(i386) -Amachine(i386) -remap -Acpu(i386)
-Amachine(i386) -Di386 -D__i386 -D__i386__ p_ccitt.c p_ccitt.i
GNU CPP version 2.95.2 19991024 (release) (80386, BSD syntax)
#include "..." search starts here:
#include <...> search starts here:
 E:\MINGWIN\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\include

E:\MINGWIN\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\..\..\..\..\i386-mingw
32msvc\include
 E:\MINGWIN\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\include
End of search list.
The following default directories have been omitted from the search path:
 /gcc-2.95.2/lib/gcc-lib/i386-mingw32msvc/2.95.2/../../../../include/g++-3
 /usr/local/i386-mingw32/include
End of omitted list.
 E:\MINGWIN\BIN\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\cc1.exe p_ccitt.i
-quiet -dumpbase p_ccitt.c -version -o p_ccitt.s
GNU C version 2.95.2 19991024 (release) (i386-mingw32msvc) compiled by GNU
C version 2.95.2 19991024 (release).
p_ccitt.c: In function `PDF_open_CCITT':
p_ccitt.c:194: Internal compiler error in `rest_of_compilation', at
toplev.c:4415
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.

p_ccitt.i.gz


Jean-Pierre Vial

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