public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13234] New: ICE when dumping a translation unit
@ 2003-11-29 18:20 gdr at gcc dot gnu dot org
  2003-11-29 18:21 ` [Bug c++/13234] " gdr at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-11-29 18:20 UTC (permalink / raw)
  To: gcc-bugs

I believe the bug to be plateform neutral.  It might be present on 3.3.x,
but I did verify yet.

To reproduce, just add -fdump-translation-unit when invoking the g++
driver with the testcase in the attachment.

(And is it possible to provide an attachment once while filling this
 form instead the multi-steps procedure?)

-- 
           Summary: ICE when dumping a translation unit
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: native
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: native


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


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

* [Bug c++/13234] ICE when dumping a translation unit
  2003-11-29 18:20 [Bug c++/13234] New: ICE when dumping a translation unit gdr at gcc dot gnu dot org
@ 2003-11-29 18:21 ` gdr at gcc dot gnu dot org
  2003-11-29 19:07 ` [Bug middle-end/13234] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: gdr at gcc dot gnu dot org @ 2003-11-29 18:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gdr at gcc dot gnu dot org  2003-11-29 18:21 -------
Created an attachment (id=5234)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5234&action=view)
testcase


-- 


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


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

* [Bug middle-end/13234] [3.4 Regression] ICE when dumping a translation unit
  2003-11-29 18:20 [Bug c++/13234] New: ICE when dumping a translation unit gdr at gcc dot gnu dot org
  2003-11-29 18:21 ` [Bug c++/13234] " gdr at gcc dot gnu dot org
@ 2003-11-29 19:07 ` pinskia at gcc dot gnu dot org
  2003-12-16 17:53 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-29 19:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-29 19:07 -------
Actually this is a regression, the patch which caused it:
2003-08-20  Jason Merrill  <jason@redhat.com>

        * tree.h (IS_EXPR_CODE_CLASS): Also include 'r' and 's'.
        (EXPR_CHECK): Don't check for 'r' or 's' if we're
        checking IS_EXPR_CODE_CLASS.
        * calls.c (calls_function_1): Likewise.
        * fold-const.c (fold): Likewise.
        * tree.c (iterative_hash_expr): Likewise.
        * tree-inline.c (walk_tree, copy_tree_r): Likewise.



(gdb) p debug_tree(t)
 <component_ref 0x11b95a0
    arg 0 <identifier_node 0x7071c0 __xbindings <0x0>local bindings <0x0>>
    arg 1 <identifier_node 0x13976c0 _M_equalbindings <0x0>local bindings <0x0>>>
$3 = void

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |middle-end
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-29 19:07:05
               date|                            |
            Summary|ICE when dumping a          |[3.4 Regression] ICE when
                   |translation unit            |dumping a translation unit
   Target Milestone|---                         |3.4


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


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

* [Bug middle-end/13234] [3.4 Regression] ICE when dumping a translation unit
  2003-11-29 18:20 [Bug c++/13234] New: ICE when dumping a translation unit gdr at gcc dot gnu dot org
  2003-11-29 18:21 ` [Bug c++/13234] " gdr at gcc dot gnu dot org
  2003-11-29 19:07 ` [Bug middle-end/13234] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-12-16 17:53 ` mmitchel at gcc dot gnu dot org
  2003-12-18 20:23 ` cvs-commit at gcc dot gnu dot org
  2003-12-18 20:53 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-12-16 17:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2003-12-16 17:24 -------
According to the audit log, Jason's patch caused this regression.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at redhat dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug middle-end/13234] [3.4 Regression] ICE when dumping a translation unit
  2003-11-29 18:20 [Bug c++/13234] New: ICE when dumping a translation unit gdr at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-12-16 17:53 ` mmitchel at gcc dot gnu dot org
@ 2003-12-18 20:23 ` cvs-commit at gcc dot gnu dot org
  2003-12-18 20:53 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-12-18 20:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-12-18 20:09 -------
Subject: Bug 13234

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jason@gcc.gnu.org	2003-12-18 20:09:40

Modified files:
	gcc            : ChangeLog tree-dump.c 

Log message:
	PR middle-end/13234
	* tree-dump.c (dequeue_and_dump): Handle 'r' and 's' code
	classes.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.2034&r2=2.2035
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-dump.c.diff?cvsroot=gcc&r1=1.17&r2=1.18



-- 


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


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

* [Bug middle-end/13234] [3.4 Regression] ICE when dumping a translation unit
  2003-11-29 18:20 [Bug c++/13234] New: ICE when dumping a translation unit gdr at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-12-18 20:23 ` cvs-commit at gcc dot gnu dot org
@ 2003-12-18 20:53 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-18 20:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-18 20:23 -------
Fixed.

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


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


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

end of thread, other threads:[~2003-12-18 20:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-29 18:20 [Bug c++/13234] New: ICE when dumping a translation unit gdr at gcc dot gnu dot org
2003-11-29 18:21 ` [Bug c++/13234] " gdr at gcc dot gnu dot org
2003-11-29 19:07 ` [Bug middle-end/13234] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-16 17:53 ` mmitchel at gcc dot gnu dot org
2003-12-18 20:23 ` cvs-commit at gcc dot gnu dot org
2003-12-18 20:53 ` pinskia 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).