public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51724] New: no matching function for call; confused by earlier errors, bailing out
@ 2012-01-01 15:57 vegard.nossum at gmail dot com
  2012-01-01 18:33 ` [Bug c++/51724] " paolo.carlini at oracle dot com
  2012-01-02 11:23 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vegard.nossum at gmail dot com @ 2012-01-01 15:57 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51724
           Summary: no matching function for call; confused by earlier
                    errors, bailing out
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: vegard.nossum@gmail.com


Created attachment 26211
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26211
Test-case

When trying to compile the attached test-case, I get the following strange
message:

$ g++ -std=c++0x -c bugreport.cc 
bugreport.cc: In member function ‘void solver<T, Plugin>::foo(solver<T,
Plugin>::type) [with T = int, Plugin = plugin<>, solver<T, Plugin>::type =
int]’:
bugreport.cc:39:32:   instantiated from here
bugreport.cc:33:3: error: no matching function for call to
‘plugin<>::foo(solver<int, plugin<> >&, solver<int, plugin<> >::type&)’
bugreport.cc:33:3: note: candidates are:

bugreport.cc:33: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/cctuTFs6.out file, please attach this to
your bugreport.


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

* [Bug c++/51724] no matching function for call; confused by earlier errors, bailing out
  2012-01-01 15:57 [Bug c++/51724] New: no matching function for call; confused by earlier errors, bailing out vegard.nossum at gmail dot com
@ 2012-01-01 18:33 ` paolo.carlini at oracle dot com
  2012-01-02 11:23 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-01-01 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-01-01 18:32:37 UTC ---
Mainline seems fine, just rejects it.


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

* [Bug c++/51724] no matching function for call; confused by earlier errors, bailing out
  2012-01-01 15:57 [Bug c++/51724] New: no matching function for call; confused by earlier errors, bailing out vegard.nossum at gmail dot com
  2012-01-01 18:33 ` [Bug c++/51724] " paolo.carlini at oracle dot com
@ 2012-01-02 11:23 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-02 11:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery,
                   |                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0
      Known to fail|                            |4.6.2

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-02 11:23:25 UTC ---
Confirmed, the branch ICEs like

t.C: In member function ‘void solver<T, Plugin>::foo(solver<T, Plugin>::type)
[with T = int, Plugin = plugin<>, solver<T, Plugin>::type = int]’:
t.C:39:32:   instantiated from here
t.C:33:3: error: no matching function for call to ‘plugin<>::foo(solver<int,
plugin<> >&, solver<int, plugin<> >::type&)’
t.C:33:3: note: candidates are:

in dependent_type_p, at cp/pt.c:18102
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Fixed on trunk.


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

end of thread, other threads:[~2012-01-02 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-01 15:57 [Bug c++/51724] New: no matching function for call; confused by earlier errors, bailing out vegard.nossum at gmail dot com
2012-01-01 18:33 ` [Bug c++/51724] " paolo.carlini at oracle dot com
2012-01-02 11:23 ` rguenth at gcc dot gnu.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).