public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33118]  New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
@ 2007-08-20  1:59 pinskia at gcc dot gnu dot org
  2007-08-20  1:59 ` [Bug c++/33118] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-20  1:59 UTC (permalink / raw)
  To: gcc-bugs

Testcase:
template <typename _Tp>
struct __add_const_lvalue_reference;
template<typename... _Elements>
class tuple
{
  tuple(typename __add_const_lvalue_reference<_Elements>::type ...) ;
};
tuple<int&, int&, int&> i;

--------- CUT -----
Found while cutting down PR 33091.  This is a regression because the error
message was ok in 4.2.0 and before.
On the trunk we get:
t.cc: In instantiation of 'tuple<#'argument_pack_select' not supported by
dump_expr#<expression error> >':
t.cc:8:   instantiated from here
t.cc:6: error: invalid use of incomplete type 'struct
__add_const_lvalue_reference<int&>'


-- 
           Summary: [4.3 Regression] #'argument_pack_select' not supported
                    by dump_expr#<expression error>
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org


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


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
@ 2007-08-20  1:59 ` pinskia at gcc dot gnu dot org
  2007-08-28 20:06 ` reichelt at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-08-20  1:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
  2007-08-20  1:59 ` [Bug c++/33118] " pinskia at gcc dot gnu dot org
@ 2007-08-28 20:06 ` reichelt at gcc dot gnu dot org
  2007-09-05  1:32 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-08-28 20:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from reichelt at gcc dot gnu dot org  2007-08-28 20:06 -------
*** Bug 33214 has been marked as a duplicate of this bug. ***


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
  2007-08-20  1:59 ` [Bug c++/33118] " pinskia at gcc dot gnu dot org
  2007-08-28 20:06 ` reichelt at gcc dot gnu dot org
@ 2007-09-05  1:32 ` mmitchel at gcc dot gnu dot org
  2007-09-06 20:08 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-09-05  1:32 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=33118


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-09-05  1:32 ` mmitchel at gcc dot gnu dot org
@ 2007-09-06 20:08 ` pinskia at gcc dot gnu dot org
  2007-09-24 14:07 ` pcarlini at suse dot de
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-06 20:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-09-06 20:08 -------
Confirmed, based on dup.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-06 20:08:16
               date|                            |


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


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-09-06 20:08 ` pinskia at gcc dot gnu dot org
@ 2007-09-24 14:07 ` pcarlini at suse dot de
  2007-09-28 15:10 ` paolo at gcc dot gnu dot org
  2007-09-28 15:11 ` pcarlini at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: pcarlini at suse dot de @ 2007-09-24 14:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pcarlini at suse dot de  2007-09-24 14:07 -------
On it.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-09-24 14:07 ` pcarlini at suse dot de
@ 2007-09-28 15:10 ` paolo at gcc dot gnu dot org
  2007-09-28 15:11 ` pcarlini at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-09-28 15:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo at gcc dot gnu dot org  2007-09-28 15:10 -------
Subject: Bug 33118

Author: paolo
Date: Fri Sep 28 15:10:13 2007
New Revision: 128866

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

        PR c++/33118
        * error.c (dump_expr): Deal with ARGUMENT_PACK_SELECT.
        (dump_type): Use dump_template_argument for TYPE_ARGUMENT_PACK.
        (dump_parameters): Just call dump_type for argument packs too.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c


-- 


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


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

* [Bug c++/33118] [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error>
  2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-09-28 15:10 ` paolo at gcc dot gnu dot org
@ 2007-09-28 15:11 ` pcarlini at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: pcarlini at suse dot de @ 2007-09-28 15:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pcarlini at suse dot de  2007-09-28 15:10 -------
Fixed.


-- 

pcarlini at suse dot de changed:

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


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


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

end of thread, other threads:[~2007-09-28 15:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-20  1:59 [Bug c++/33118] New: [4.3 Regression] #'argument_pack_select' not supported by dump_expr#<expression error> pinskia at gcc dot gnu dot org
2007-08-20  1:59 ` [Bug c++/33118] " pinskia at gcc dot gnu dot org
2007-08-28 20:06 ` reichelt at gcc dot gnu dot org
2007-09-05  1:32 ` mmitchel at gcc dot gnu dot org
2007-09-06 20:08 ` pinskia at gcc dot gnu dot org
2007-09-24 14:07 ` pcarlini at suse dot de
2007-09-28 15:10 ` paolo at gcc dot gnu dot org
2007-09-28 15:11 ` 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).