From: SourceForge.net <no...@so...> - 2004-07-28 11:51:32
|
Bugs item #706271, was opened at 2003-03-20 01:30 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=706271&group_id=2435 Category: gcc Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Gerhard Häring (ghaering) Assigned to: Danny Smith (dannysmith) Summary: Compiler dumps core Initial Comment: (I've already submitted a gcc bug - It has the internal identification `c/10148'.) The curious thing is that Cygwin's 2.95 also dumps core. Here some data. The preprocessed file (.i) is attached. D:\Gerhard\src\db_row-0.71>gcc -v Reading specs from c:/MinGW/bin/../lib/gcc-lib/mingw32/3.2/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=min gw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=f77,c++,objc,ada --disable-wi n32-registry --disable-shared Thread model: win32 gcc version 3.2 (mingw special 20020817-1) D:\Gerhard\src\db_row-0.71>c:\MinGW\bin\gcc.exe -save-temps -mno-cygwin -mdll -O -Wall -I. -Ic:\pyth on22\include -c fields.c -o build\temp.win32-2.2\Release\fields.o fields.c:451: warning: static declaration for `fields_ass_item' follows non-static fields.c:804: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2004-07-28 23:51 Message: Logged In: YES user_id=11494 No more segfault: Here is the error diagnostic with 3.4.1 fields.c:451: warning: static declaration of 'fields_ass_item' follows non-static declaration fields.c:374: warning: previous declaration of 'fields_ass_item' was here fields.c:711: warning: 'PyFields_Type' defined locally after being referenced with dllimport linkage fields.c:760: warning: 'PyIFields_Type' defined locally after being referenced with dllimport linkage fields.c: In function `initdb_rowc': fields.c:854: error: incompatible types in assignment fields.c:856: error: `PyFields' undeclared (first use in this function) fields.c:856: error: (Each undeclared identifier is reported only once fields.c:856: error: for each function it appears in.) fields.c:859: error: incompatible types in assignment fields.c:861: error: `PyIFields' undeclared (first use in this function) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=706271&group_id=2435 |