public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26680]  New: internal segfault with operator ( ) on non-integer argument
@ 2006-03-14 14:36 mickael dot labau at gmail dot com
  2006-03-14 14:44 ` [Bug c++/26680] " rguenth at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: mickael dot labau at gmail dot com @ 2006-03-14 14:36 UTC (permalink / raw)
  To: gcc-bugs

$ 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/26680] internal segfault with operator ( ) on non-integer argument
  2006-03-14 14:36 [Bug c++/26680] New: internal segfault with operator ( ) on non-integer argument mickael dot labau at gmail dot com
@ 2006-03-14 14:44 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2006-03-14 14:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2006-03-14 14:44 -------
Fixed in 4.0.3.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to fail|                            |4.0.2
      Known to work|                            |4.0.3
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.3


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-03-14 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-14 14:36 [Bug c++/26680] New: internal segfault with operator ( ) on non-integer argument mickael dot labau at gmail dot com
2006-03-14 14:44 ` [Bug c++/26680] " rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).