public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33464] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr
@ 2007-09-17 22:25 reichelt at gcc dot gnu dot org
2007-09-17 22:25 ` [Bug c++/33464] [4.3 " reichelt at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-17 22:25 UTC (permalink / raw)
To: gcc-bugs
The following invalid testcase triggers a broken diagnostic on mainline:
===================================
template<int> void foo()
{
__is_class(int)();
}
===================================
bug.cc: In function 'void foo()':
bug.cc:3: error: '#'trait_expr' not supported by dump_expr#<expression error>'
cannot be used as a function
This is similar to PR33212, but not yet fixed.
--
Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_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=33464
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/33464] [4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr
2007-09-17 22:25 [Bug c++/33464] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
@ 2007-09-17 22:25 ` reichelt at gcc dot gnu dot org
2007-09-17 23:02 ` pcarlini at suse dot de
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-17 22:25 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3 regression] |[4.3 regression] Broken
|Broken diagnostic: |diagnostic: 'trait_expr' not
|'trait_expr' not supported |supported by dump_expr
|by dump_expr |
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33464
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/33464] [4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr
2007-09-17 22:25 [Bug c++/33464] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-09-17 22:25 ` [Bug c++/33464] [4.3 " reichelt at gcc dot gnu dot org
@ 2007-09-17 23:02 ` pcarlini at suse dot de
2007-09-18 14:36 ` paolo at gcc dot gnu dot org
2007-09-18 14:36 ` pcarlini at suse dot de
3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-09-17 23:02 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-17 23:02:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33464
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/33464] [4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr
2007-09-17 22:25 [Bug c++/33464] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2007-09-18 14:36 ` paolo at gcc dot gnu dot org
@ 2007-09-18 14:36 ` pcarlini at suse dot de
3 siblings, 0 replies; 5+ messages in thread
From: pcarlini at suse dot de @ 2007-09-18 14:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pcarlini at suse dot de 2007-09-18 14:36 -------
Fixed.
--
pcarlini at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33464
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/33464] [4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr
2007-09-17 22:25 [Bug c++/33464] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-09-17 22:25 ` [Bug c++/33464] [4.3 " reichelt at gcc dot gnu dot org
2007-09-17 23:02 ` pcarlini at suse dot de
@ 2007-09-18 14:36 ` paolo at gcc dot gnu dot org
2007-09-18 14:36 ` pcarlini at suse dot de
3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-09-18 14:36 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo at gcc dot gnu dot org 2007-09-18 14:35 -------
Subject: Bug 33464
Author: paolo
Date: Tue Sep 18 14:35:42 2007
New Revision: 128578
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128578
Log:
/cp
2007-09-18 Paolo Carlini <pcarlini@suse.de>
PR c++/33464
* cxx-pretty-print.c (pp_cxx_trait_expression): Add.
(pp_cxx_primary_expression): Use it.
* cxx-pretty-print.h (pp_cxx_trait_expression): Declare.
* error.c (dump_expr): Use it.
/testsuite
2007-09-18 Paolo Carlini <pcarlini@suse.de>
PR c++/33464
* g++.dg/ext/is_class_error.C: Rename to is_class_error1.C.
* g++.dg/ext/is_class_error2.C: New.
Added:
trunk/gcc/testsuite/g++.dg/ext/is_class_error1.C
- copied unchanged from r128570,
trunk/gcc/testsuite/g++.dg/ext/is_class_error.C
trunk/gcc/testsuite/g++.dg/ext/is_class_error2.C
Removed:
trunk/gcc/testsuite/g++.dg/ext/is_class_error.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=33464
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-18 14:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-17 22:25 [Bug c++/33464] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'trait_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-09-17 22:25 ` [Bug c++/33464] [4.3 " reichelt at gcc dot gnu dot org
2007-09-17 23:02 ` pcarlini at suse dot de
2007-09-18 14:36 ` paolo at gcc dot gnu dot org
2007-09-18 14:36 ` pcarlini at suse dot de
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).