[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-22 Thread dannysmith at users dot sourceforge dot net


--- Comment #5 from dannysmith at users dot sourceforge dot net  2006-05-22 
21:19 ---
This is a dllimport bug.  Dllimports do not have constant address.  Hence class
vtable cannot contain a method with dllimport attribute
I am working on  a patch.
Here is reduced testcase:


// dllimport_virtual.C
struct base
{
  virtual void key_method();
  __attribute__((dllimport)) virtual ~base(); // Does not have a const address
};

// Definition of key_method forces emmission of vtable
void base::key_method() {};


-- 

dannysmith at users dot sourceforge dot net changed:

   What|Removed |Added

 CC||dannysmith at users dot
   ||sourceforge dot net
 AssignedTo|unassigned at gcc dot gnu   |dannysmith at users dot
   |dot org |sourceforge dot net
 Status|WAITING |UNCONFIRMED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650



[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-22 Thread dannysmith at users dot sourceforge dot net


-- 

dannysmith at users dot sourceforge dot net changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-05-22 21:22:44
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650



[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-18 Thread Harmon dot Nine at gmail dot com


--- Comment #2 from Harmon dot Nine at gmail dot com  2006-05-18 22:56 
---
Created an attachment (id=11487)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11487action=view)
Pre-processed output of reco-stack.cc, a gecode source file.

reco-stack.cc is generating an internal compiler error.  The attachment is this
file as pre-processed.

This file, and package of which it is a part, can be downloaded from the
following URL:

http://www.gecode.org/download/gecode-1.1.0.tar.gz


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650



[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-18 Thread Harmon dot Nine at gmail dot com


--- Comment #3 from Harmon dot Nine at gmail dot com  2006-05-18 23:01 
---
Command that generated attachment (reco-stack.ii):
/usr/local/bin/g++.exe -v -save-temps -I. -I. -DNDEBUG -Wall -ggdb -O3
-fno-strict-aliasing -finline-limit=3000 -ffast-math -mthreads 
-DGECODE_BUILD_SEARCH -c -o search/reco-stack.o  search/reco-stack.cc

Output from this command:
Using built-in specs.
Target: i686-pc-cygwin
Configured with: ../gcc-4.1.0/configure 
Thread model: single
gcc version 4.1.0
 /usr/local/libexec/gcc/i686-pc-cygwin/4.1.0/cc1plus.exe -E -quiet -v -I. -I.
-D__CYGWIN32__ -D__CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/../include/w32api -idirafter
/usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../../include/w32api -DNDEBUG
-DGECODE_BUILD_SEARCH search/reco-stack.cc -mthreads -mtune=pentiumpro -Wall
-fno-strict-aliasing -finline-limit=3000 -ffast-math -fworking-directory -O3
-fpch-preprocess -o reco-stack.ii
ignoring nonexistent directory NONE/include
ignoring nonexistent directory
/usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../i686-pc-cygwin/include
ignoring duplicate directory
/usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../../include/w32api
ignoring duplicate directory .
#include ... search starts here:
#include ... search starts here:
 .
 /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../include/c++/4.1.0

/usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../include/c++/4.1.0/i686-pc-cygwin
 /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/../../../../include/c++/4.1.0/backward
 /usr/local/include
 /usr/local/lib/gcc/i686-pc-cygwin/4.1.0/include
 /usr/include
 /usr/lib/../include/w32api


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650



[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-18 Thread Harmon dot Nine at gmail dot com


--- Comment #4 from Harmon dot Nine at gmail dot com  2006-05-18 23:04 
---
Output from gcc command in previous comment was incomplete.  Here is the rest:

End of search list.
 /usr/local/libexec/gcc/i686-pc-cygwin/4.1.0/cc1plus.exe -fpreprocessed
reco-stack.ii -quiet -dumpbase reco-stack.cc -mthreads -mtune=pentiumpro
-auxbase-strip search/reco-stack.o -ggdb -O3 -Wall -version
-fno-strict-aliasing -finline-limit=3000 -ffast-math -o reco-stack.s
GNU C++ version 4.1.0 (i686-pc-cygwin)
compiled by GNU C version 3.4.4 (cygming special) (gdc 0.12, using dmd
0.125).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 37c50bca8d9aa79de709cfd6b183fd23
search/reco-stack.cc:85: internal compiler error: in maybe_emit_vtables, at
cp/decl2.c:1548
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650



[Bug c++/27650] internal compiler error while compiling Gecode

2006-05-17 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-18 04:44 ---
Please read http://gcc.gnu.org/bugs.html and provide the preprocessed source.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27650