public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16232] Poor diagnostic
       [not found] <bug-16232-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-20  2:35 ` pinskia at gcc dot gnu.org
  2012-01-20  2:45 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-20  2:35 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-20 01:34:02 UTC ---
t.cc: In instantiation of ‘void B<V>::Bar(V*) [with V = A<bool>]’:
t.cc:12:13:   required from here
t.cc:6:9: error: no matching function for call to ‘A<bool>::Foo()’
t.cc:6:9: note: candidate is:
t.cc:2:31: note: template<class U> void A::Foo() [with U = U; T = bool]
t.cc:2:31: note:   template argument deduction/substitution failed:
t.cc:6:9: note:   couldn't deduce template parameter ‘U’

So fixed.


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

* [Bug c++/16232] Poor diagnostic
       [not found] <bug-16232-4@http.gcc.gnu.org/bugzilla/>
  2012-01-20  2:35 ` [Bug c++/16232] Poor diagnostic pinskia at gcc dot gnu.org
@ 2012-01-20  2:45 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-20  2:45 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug c++/16232] Poor diagnostic
  2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
                   ` (3 preceding siblings ...)
  2004-06-27 17:49 ` pinskia at gcc dot gnu dot org
@ 2005-06-27  4:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-27  4:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|2005-04-06 18:13:06         |2005-06-27 04:36:15
               date|                            |


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


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

* [Bug c++/16232] Poor diagnostic
  2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
                   ` (2 preceding siblings ...)
  2004-06-27 17:48 ` igodard at pacbell dot net
@ 2004-06-27 17:49 ` pinskia at gcc dot gnu dot org
  2005-06-27  4:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-27 17:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-27 17:48 -------
Confirmed, here is somthing much shorter:
struct A
{
    A() { Foo(); }
    template<typename U> void Foo();
};

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-27 17:48:24
               date|                            |


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


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

* [Bug c++/16232] Poor diagnostic
  2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
  2004-06-27 17:41 ` [Bug c++/16232] " igodard at pacbell dot net
  2004-06-27 17:41 ` pinskia at gcc dot gnu dot org
@ 2004-06-27 17:48 ` igodard at pacbell dot net
  2004-06-27 17:49 ` pinskia at gcc dot gnu dot org
  2005-06-27  4:36 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: igodard at pacbell dot net @ 2004-06-27 17:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From igodard at pacbell dot net  2004-06-27 17:48 -------
Should 16232 and 16233 really be consolidated? They are two different problems as far as I can see: #16232 is syntactically correct but ambiguous, and should be reported as such; #16233 is syntactically incorrect, which seems a different error to me.

Ivan

-- 


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


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

* [Bug c++/16232] Poor diagnostic
  2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
  2004-06-27 17:41 ` [Bug c++/16232] " igodard at pacbell dot net
@ 2004-06-27 17:41 ` pinskia at gcc dot gnu dot org
  2004-06-27 17:48 ` igodard at pacbell dot net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-27 17:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-27 17:41 -------
*** Bug 16233 has been marked as a duplicate of this bug. ***

-- 


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


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

* [Bug c++/16232] Poor diagnostic
  2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
@ 2004-06-27 17:41 ` igodard at pacbell dot net
  2004-06-27 17:41 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: igodard at pacbell dot net @ 2004-06-27 17:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From igodard at pacbell dot net  2004-06-27 17:41 -------
*** Bug 16231 has been marked as a duplicate of this bug. ***

-- 


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


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

end of thread, other threads:[~2012-01-20  1:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-16232-4@http.gcc.gnu.org/bugzilla/>
2012-01-20  2:35 ` [Bug c++/16232] Poor diagnostic pinskia at gcc dot gnu.org
2012-01-20  2:45 ` pinskia at gcc dot gnu.org
2004-06-27 17:23 [Bug c++/16232] New: " igodard at pacbell dot net
2004-06-27 17:41 ` [Bug c++/16232] " igodard at pacbell dot net
2004-06-27 17:41 ` pinskia at gcc dot gnu dot org
2004-06-27 17:48 ` igodard at pacbell dot net
2004-06-27 17:49 ` pinskia at gcc dot gnu dot org
2005-06-27  4:36 ` 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).