public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
       [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
@ 2005-10-18  6:13 ` mmitchel at gcc dot gnu dot org
  2005-10-18 15:25 ` cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-18  6:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
       [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
  2005-10-18  6:13 ` [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions mmitchel at gcc dot gnu dot org
@ 2005-10-18 15:25 ` cvs-commit at gcc dot gnu dot org
  2005-10-18 15:39 ` [Bug c++/23293] [3.4 " mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-18 15:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from cvs-commit at gcc dot gnu dot org  2005-10-18 15:25 -------
Subject: Bug 23293

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-4_0-branch
Changes by:     mmitchel@gcc.gnu.org    2005-10-18 15:24:57

Modified files:
        gcc/cp         : pt.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/template: error19.C 

Log message:
        PR c++/23293
        * pt.c (convert_template_argument): Use canonical type variants in
        template specializations.
        PR c++/23293
        * g++.dg/template/error19.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/error19.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.978.2.34&r2=1.978.2.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.144&r2=1.4648.2.145
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.468&r2=1.5084.2.469


-- 


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


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

* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
       [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2005-10-18 15:39 ` [Bug c++/23293] [3.4 " mmitchel at gcc dot gnu dot org
@ 2005-10-18 15:39 ` cvs-commit at gcc dot gnu dot org
  2005-10-18 16:04 ` [Bug c++/23293] [3.4 " pinskia at gcc dot gnu dot org
  2006-03-01  4:45 ` gdr at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-18 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from cvs-commit at gcc dot gnu dot org  2005-10-18 15:39 -------
Subject: Bug 23293

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     mmitchel@gcc.gnu.org    2005-10-18 15:39:13

Modified files:
        gcc/cp         : pt.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/g++.dg/template: error19.C 

Log message:
        PR c++/23293
        * pt.c (convert_template_argument): Use canonical type variants in
        template specializations.
        PR c++/23293
        * g++.dg/template/error19.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/error19.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/pt.c.diff?cvsroot=gcc&r1=1.1050&r2=1.1051
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4946&r2=1.4947
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6209&r2=1.6210


-- 


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


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

* [Bug c++/23293] [3.4 Regression] Misleading names in diagnostics for typedefs in functions
       [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
  2005-10-18  6:13 ` [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions mmitchel at gcc dot gnu dot org
  2005-10-18 15:25 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-18 15:39 ` mmitchel at gcc dot gnu dot org
  2005-10-18 15:39 ` [Bug c++/23293] [3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-18 15:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2005-10-18 15:39 -------
Fixed in 4.0.3.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[3.4/4.0/4.1 Regression]    |[3.4 Regression] Misleading
                   |Misleading names in         |names in diagnostics for
                   |diagnostics for typedefs in |typedefs in functions
                   |functions                   |


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


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

* [Bug c++/23293] [3.4 Regression] Misleading names in diagnostics for typedefs in functions
       [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2005-10-18 15:39 ` [Bug c++/23293] [3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
@ 2005-10-18 16:04 ` pinskia at gcc dot gnu dot org
  2006-03-01  4:45 ` gdr at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-18 16:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.3                       |3.4.6


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


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

* [Bug c++/23293] [3.4 Regression] Misleading names in diagnostics for typedefs in functions
       [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2005-10-18 16:04 ` [Bug c++/23293] [3.4 " pinskia at gcc dot gnu dot org
@ 2006-03-01  4:45 ` gdr at gcc dot gnu dot org
  5 siblings, 0 replies; 10+ messages in thread
From: gdr at gcc dot gnu dot org @ 2006-03-01  4:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from gdr at gcc dot gnu dot org  2006-03-01 04:45 -------
The fix for this problem is very "simple"; however, it drew a discussion
that showed disagreement about the form of the type displayed in diagnostic.
Consequently, it won't be fixed for 3.4.6.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|3.4.6                       |4.0.0


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


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

* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
  2005-08-08 21:54 [Bug c++/23293] New: " sylvain dot pion at sophia dot inria dot fr
                   ` (2 preceding siblings ...)
  2005-08-08 22:08 ` pinskia at gcc dot gnu dot org
@ 2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:25 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
  2005-08-08 21:54 [Bug c++/23293] New: " sylvain dot pion at sophia dot inria dot fr
  2005-08-08 22:01 ` [Bug c++/23293] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
  2005-08-08 22:06 ` pinskia at gcc dot gnu dot org
@ 2005-08-08 22:08 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-08 22:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 22:08 -------
And related to PR 17763.

-- 


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


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

* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
  2005-08-08 21:54 [Bug c++/23293] New: " sylvain dot pion at sophia dot inria dot fr
  2005-08-08 22:01 ` [Bug c++/23293] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-08-08 22:06 ` pinskia at gcc dot gnu dot org
  2005-08-08 22:08 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:25 ` mmitchel at gcc dot gnu dot org
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-08 22:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 22:06 -------
This is related to PR 22573.

-- 


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


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

* [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions
  2005-08-08 21:54 [Bug c++/23293] New: " sylvain dot pion at sophia dot inria dot fr
@ 2005-08-08 22:01 ` pinskia at gcc dot gnu dot org
  2005-08-08 22:06 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-08 22:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-08 22:01 -------
Confirmed, a regression from 2.95.3:
earth:~>~/ia32_linux_gcc2_95//bin/gcc t.cc -W -Wall
t.cc: In function `void generate_warning<P<S> >()':
t.cc:19:   instantiated from here
t.cc:14: warning: unused variable `struct P<S> * u'

It was even worse in 3.0.4-3.3.3:
earth:~>~/ia32_linux_gcc3_0/bin/gcc t.cc -W -Wall
t.cc: In function `void generate_warning() [with U = P<void 
   unrelated_function()::K>]':
t.cc:19:   instantiated from here
t.cc:14: warning: unused variable `P<void unrelated_function()::K>*u'



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |3.0.4 3.1.2 3.2.3 3.3.5
                   |                            |3.4.2 4.0.0
      Known to work|                            |2.95
   Last reconfirmed|0000-00-00 00:00:00         |2005-08-08 22:01:23
               date|                            |
            Summary|Misleading names in         |[3.4/4.0/4.1 Regression]
                   |diagnostics for typedefs in |Misleading names in
                   |functions                   |diagnostics for typedefs in
                   |                            |functions
   Target Milestone|---                         |4.0.2


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


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

end of thread, other threads:[~2006-03-01  4:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-23293-1902@http.gcc.gnu.org/bugzilla/>
2005-10-18  6:13 ` [Bug c++/23293] [3.4/4.0/4.1 Regression] Misleading names in diagnostics for typedefs in functions mmitchel at gcc dot gnu dot org
2005-10-18 15:25 ` cvs-commit at gcc dot gnu dot org
2005-10-18 15:39 ` [Bug c++/23293] [3.4 " mmitchel at gcc dot gnu dot org
2005-10-18 15:39 ` [Bug c++/23293] [3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
2005-10-18 16:04 ` [Bug c++/23293] [3.4 " pinskia at gcc dot gnu dot org
2006-03-01  4:45 ` gdr at gcc dot gnu dot org
2005-08-08 21:54 [Bug c++/23293] New: " sylvain dot pion at sophia dot inria dot fr
2005-08-08 22:01 ` [Bug c++/23293] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-08-08 22:06 ` pinskia at gcc dot gnu dot org
2005-08-08 22:08 ` pinskia at gcc dot gnu dot org
2005-09-27 16:25 ` mmitchel 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).