This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26680] New: internal segfault with operator ( ) on non-integer argument
- From: "mickael dot labau at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Mar 2006 14:36:47 -0000
- Subject: [Bug c++/26680] New: internal segfault with operator ( ) on non-integer argument
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ g++ -v
Using built-in specs.
Target: i386-unknown-netbsdelf3.0.
/.../
Thread model: posix
gcc version 4.0.2
$cat main.cc
struct Coord {};
template <typename E> class Array {};
class Env;
class Obstacle
{
Obstacle(const struct Coord& pos, Env* env)
{
(*env)(pos)->obstacle_set(this);
}
};
$ g++ main.cc
main.cc: In constructor 'Obstacle::Obstacle(Env*)':
main.cc:4: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: internal segfault with operator ( ) on non-integer
argument
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mickael dot labau at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26680