public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33493] [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
@ 2007-09-19  6:43 ` reichelt at gcc dot gnu dot org
  2007-09-26  2:05 ` pcarlini at suse dot de
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-19  6:43 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.3


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


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

* [Bug c++/33493]  New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
@ 2007-09-19  6:43 reichelt at gcc dot gnu dot org
  2007-09-19  6:43 ` [Bug c++/33493] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-19  6:43 UTC (permalink / raw)
  To: gcc-bugs

The C++ frontend generates a broken diagnostic for the following code
snippet since GCC 3.4.0:

==============================================
template<int> void foo() { delete 0 ? 1 : 0; }
==============================================

bug.cc: In function 'void foo()':
bug.cc:1: error: could not convert '#'dl_expr' not supported by
dump_expr#<expression error>' to 'bool'


-- 
           Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr'
                    not supported by dump_expr
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c++/33493] [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
  2007-09-19  6:43 ` [Bug c++/33493] " reichelt at gcc dot gnu dot org
@ 2007-09-26  2:05 ` pcarlini at suse dot de
  2007-09-27  9:21 ` paolo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pcarlini at suse dot de @ 2007-09-26  2:05 UTC (permalink / raw)
  To: gcc-bugs



-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-26 02:05:44
               date|                            |


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


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

* [Bug c++/33493] [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
  2007-09-19  6:43 ` [Bug c++/33493] " reichelt at gcc dot gnu dot org
  2007-09-26  2:05 ` pcarlini at suse dot de
@ 2007-09-27  9:21 ` paolo at gcc dot gnu dot org
  2007-09-27  9:24 ` [Bug c++/33493] [4.1/4.2 " pcarlini at suse dot de
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-09-27  9:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from paolo at gcc dot gnu dot org  2007-09-27 09:21 -------
Subject: Bug 33493

Author: paolo
Date: Thu Sep 27 09:20:59 2007
New Revision: 128831

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128831
Log:
/cp
2007-09-27  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33493
        * error.c (dump_expr): Deal with DELETE_EXPR and VEC_DELETE_EXPR.
        * cxx-pretty-print.c (pp_cxx_delete_expression): Add missing
        spaces in the formatting.
        * cxx-pretty-print.h (pp_cxx_delete_expression): Declare.

/testsuite
2007-09-27  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33493
        * g++.dg/template/error31.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/error31.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cxx-pretty-print.c
    trunk/gcc/cp/cxx-pretty-print.h
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/33493] [4.1/4.2 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-09-27  9:21 ` paolo at gcc dot gnu dot org
@ 2007-09-27  9:24 ` pcarlini at suse dot de
  2007-09-28  4:10 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pcarlini at suse dot de @ 2007-09-27  9:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pcarlini at suse dot de  2007-09-27 09:24 -------
Fixed in mainline.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pcarlini at suse dot de     |unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.1/4.2/4.3 regression]    |[4.1/4.2 regression] Broken
                   |Broken diagnostic: 'dl_expr'|diagnostic: 'dl_expr' not
                   |not supported by dump_expr  |supported by dump_expr


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


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

* [Bug c++/33493] [4.1/4.2 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-09-27  9:24 ` [Bug c++/33493] [4.1/4.2 " pcarlini at suse dot de
@ 2007-09-28  4:10 ` mmitchel at gcc dot gnu dot org
  2008-01-02 23:56 ` reichelt at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-28  4:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/33493] [4.1/4.2 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-09-28  4:10 ` mmitchel at gcc dot gnu dot org
@ 2008-01-02 23:56 ` reichelt at gcc dot gnu dot org
  2008-01-03  1:06 ` [Bug c++/33493] [4.1 " reichelt at gcc dot gnu dot org
  2008-07-04 16:15 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-02 23:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from reichelt at gcc dot gnu dot org  2008-01-02 23:48 -------
Subject: Bug 33493

Author: reichelt
Date: Wed Jan  2 23:47:08 2008
New Revision: 131267

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131267
Log:
        Backport:
        2007-09-27  Paolo Carlini  <pcarlini@suse.de>

        PR c++/33493
        * error.c (dump_expr): Deal with DELETE_EXPR and VEC_DELETE_EXPR.
        * cxx-pretty-print.c (pp_cxx_delete_expression): Add missing
        spaces in the formatting.
        * cxx-pretty-print.h (pp_cxx_delete_expression): Declare.

        * g++.dg/template/error31.C: New.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/template/error31.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.c
    branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.h
    branches/gcc-4_2-branch/gcc/cp/error.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/33493] [4.1 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-01-02 23:56 ` reichelt at gcc dot gnu dot org
@ 2008-01-03  1:06 ` reichelt at gcc dot gnu dot org
  2008-07-04 16:15 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-01-03  1:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from reichelt at gcc dot gnu dot org  2008-01-02 23:55 -------
Now also fixed in gcc 4.2.3.


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2 regression] Broken |[4.1 regression] Broken
                   |diagnostic: 'dl_expr' not   |diagnostic: 'dl_expr' not
                   |supported by dump_expr      |supported by dump_expr


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


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

* [Bug c++/33493] [4.1 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr
  2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-01-03  1:06 ` [Bug c++/33493] [4.1 " reichelt at gcc dot gnu dot org
@ 2008-07-04 16:15 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-07-04 16:14 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.1.3
      Known to work|                            |4.2.3
         Resolution|                            |FIXED
   Target Milestone|4.1.3                       |4.2.3


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


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

end of thread, other threads:[~2008-07-04 16:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-19  6:43 [Bug c++/33493] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'dl_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-09-19  6:43 ` [Bug c++/33493] " reichelt at gcc dot gnu dot org
2007-09-26  2:05 ` pcarlini at suse dot de
2007-09-27  9:21 ` paolo at gcc dot gnu dot org
2007-09-27  9:24 ` [Bug c++/33493] [4.1/4.2 " pcarlini at suse dot de
2007-09-28  4:10 ` mmitchel at gcc dot gnu dot org
2008-01-02 23:56 ` reichelt at gcc dot gnu dot org
2008-01-03  1:06 ` [Bug c++/33493] [4.1 " reichelt at gcc dot gnu dot org
2008-07-04 16:15 ` jsm28 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).