public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/46241] New: ice in dwarf2out.c
@ 2010-10-30 12:42 dcb314 at hotmail dot com
  2010-10-30 14:14 ` [Bug debug/46241] " hjl.tools at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2010-10-30 12:42 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ice in dwarf2out.c
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 22205
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22205
C++ source code

I just tried to compile package supertuxkart-0.6.2 with the latest 4.6
snapshot 20101023 on a Fedora Linux box. The compiler said

BulletCollision/CollisionDispatch/btCollisionWorld.cpp:659:1: internal compiler
error: in dwarf2out_finish, at dwarf2out.c:22866
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Source code attached. Flag -g required.


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

* [Bug debug/46241] ice in dwarf2out.c
  2010-10-30 12:42 [Bug debug/46241] New: ice in dwarf2out.c dcb314 at hotmail dot com
@ 2010-10-30 14:14 ` hjl.tools at gmail dot com
  2010-10-30 18:17 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-30 14:14 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.10.30 14:14:24
                 CC|                            |rguenth at gcc dot gnu.org
   Target Milestone|---                         |4.6.0
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-30 14:14:24 UTC ---
It is caused by revision 164719:

http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg01018.html


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

* [Bug debug/46241] ice in dwarf2out.c
  2010-10-30 12:42 [Bug debug/46241] New: ice in dwarf2out.c dcb314 at hotmail dot com
  2010-10-30 14:14 ` [Bug debug/46241] " hjl.tools at gmail dot com
@ 2010-10-30 18:17 ` rguenth at gcc dot gnu.org
  2010-11-02 16:34 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-30 18:17 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-30 18:16:55 UTC ---
Mine.


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

* [Bug debug/46241] ice in dwarf2out.c
  2010-10-30 12:42 [Bug debug/46241] New: ice in dwarf2out.c dcb314 at hotmail dot com
  2010-10-30 14:14 ` [Bug debug/46241] " hjl.tools at gmail dot com
  2010-10-30 18:17 ` rguenth at gcc dot gnu.org
@ 2010-11-02 16:34 ` rguenth at gcc dot gnu.org
  2010-11-03 13:32 ` rguenth at gcc dot gnu.org
  2010-11-03 13:32 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-02 16:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-02 16:33:48 UTC ---
Reduced testcase:

class btIDebugDraw;
class btCollisionWorld {
    virtual btIDebugDraw* getDebugDrawer()  { };
    static void rayTestSingle();
};
class btTriangleCallback {
public:
    virtual ~btTriangleCallback();
};
class btTriangleRaycastCallback: public btTriangleCallback {
public:
    btTriangleRaycastCallback();
};
void btCollisionWorld::rayTestSingle()
{
  struct BridgeTriangleRaycastCallback : public btTriangleRaycastCallback {
      BridgeTriangleRaycastCallback() : btTriangleRaycastCallback() { }
  };
}


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

* [Bug debug/46241] ice in dwarf2out.c
  2010-10-30 12:42 [Bug debug/46241] New: ice in dwarf2out.c dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2010-11-03 13:32 ` rguenth at gcc dot gnu.org
@ 2010-11-03 13:32 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 13:31:45 UTC ---
Author: rguenth
Date: Wed Nov  3 13:31:40 2010
New Revision: 166245

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166245
Log:
2010-11-03  Richard Guenther  <rguenther@suse.de>

    PR middle-end/46241
    * dwarf2out.c (scope_die_for): Properly detect global scope.

    * g++.dg/debug/pr46241.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/debug/pr46241.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug debug/46241] ice in dwarf2out.c
  2010-10-30 12:42 [Bug debug/46241] New: ice in dwarf2out.c dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2010-11-02 16:34 ` rguenth at gcc dot gnu.org
@ 2010-11-03 13:32 ` rguenth at gcc dot gnu.org
  2010-11-03 13:32 ` rguenth at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-03 13:32 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-03 13:32:31 UTC ---
Fixed.


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

end of thread, other threads:[~2010-11-03 13:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-30 12:42 [Bug debug/46241] New: ice in dwarf2out.c dcb314 at hotmail dot com
2010-10-30 14:14 ` [Bug debug/46241] " hjl.tools at gmail dot com
2010-10-30 18:17 ` rguenth at gcc dot gnu.org
2010-11-02 16:34 ` rguenth at gcc dot gnu.org
2010-11-03 13:32 ` rguenth at gcc dot gnu.org
2010-11-03 13:32 ` rguenth at gcc dot gnu.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).