public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26278]  New: candidates list contains duplicates
@ 2006-02-14 10:36 igodard at pacbell dot net
  2006-02-14 10:37 ` [Bug c++/26278] " igodard at pacbell dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: igodard at pacbell dot net @ 2006-02-14 10:36 UTC (permalink / raw)
  To: gcc-bugs

The diagnostics of the sample run repeat the same builtin function in the list
of overload candidates.


-- 
           Summary: candidates list contains duplicates
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net


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


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

* [Bug c++/26278] candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
  2006-02-14 10:37 ` [Bug c++/26278] " igodard at pacbell dot net
@ 2006-02-14 10:37 ` igodard at pacbell dot net
  2006-03-08  4:57 ` bangerth at dealii dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: igodard at pacbell dot net @ 2006-02-14 10:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from igodard at pacbell dot net  2006-02-14 10:37 -------
Created an attachment (id=10846)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10846&action=view)
source code (compressed)


-- 


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


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

* [Bug c++/26278] candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
@ 2006-02-14 10:37 ` igodard at pacbell dot net
  2006-02-14 10:37 ` igodard at pacbell dot net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: igodard at pacbell dot net @ 2006-02-14 10:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from igodard at pacbell dot net  2006-02-14 10:37 -------
Created an attachment (id=10845)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10845&action=view)
compiler output


-- 


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


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

* [Bug c++/26278] candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
  2006-02-14 10:37 ` [Bug c++/26278] " igodard at pacbell dot net
  2006-02-14 10:37 ` igodard at pacbell dot net
@ 2006-03-08  4:57 ` bangerth at dealii dot org
  2006-03-08  6:21 ` igodard at pacbell dot net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bangerth at dealii dot org @ 2006-03-08  4:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bangerth at dealii dot org  2006-03-08 04:57 -------
Can you try to come up with a reasonably sized example code?

Thanks
  W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/26278] candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
                   ` (2 preceding siblings ...)
  2006-03-08  4:57 ` bangerth at dealii dot org
@ 2006-03-08  6:21 ` igodard at pacbell dot net
  2008-01-26 12:34 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: igodard at pacbell dot net @ 2006-03-08  6:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from igodard at pacbell dot net  2006-03-08 06:21 -------
I tried to do so before submission (as I usually do) but wasn't able to do so.
Attempts to write a test case wouldn't fail. Sorry.

Ivan


-- 


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


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

* [Bug c++/26278] candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
                   ` (3 preceding siblings ...)
  2006-03-08  6:21 ` igodard at pacbell dot net
@ 2008-01-26 12:34 ` rguenth at gcc dot gnu dot org
  2008-01-26 12:35 ` [Bug c++/26278] ambiguous overload " rguenth at gcc dot gnu dot org
  2008-01-29 17:40 ` Ralf dot Wildenhues at gmx dot de
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-26 12:34 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 717 bytes --]



------- Comment #5 from rguenth at gcc dot gnu dot org  2008-01-26 12:24 -------
Created an attachment (id=15025)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15025&action=view)
unincluded, slightly reduced testcase

g++-4.3 -S t.1.cpp
t.1.cpp: In function ‘int main()’:
t.1.cpp:648: error: ambiguous overload for ‘operator==’ in ‘c == p’
t.1.cpp:648: note: candidates are: operator==(X, X) <built-in>
t.1.cpp:648: note:                 operator==(int, int) <built-in>
t.1.cpp:648: note:                 operator==(X, X) <built-in>
t.1.cpp:601: note:                 bool coEnum<e1, e2>::operator==(coEnum<e1,
e2>) const [with e1 = A, e2 = X]


-- 


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


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

* [Bug c++/26278] ambiguous overload candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
                   ` (4 preceding siblings ...)
  2008-01-26 12:34 ` rguenth at gcc dot gnu dot org
@ 2008-01-26 12:35 ` rguenth at gcc dot gnu dot org
  2008-01-29 17:40 ` Ralf dot Wildenhues at gmx dot de
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-26 12:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
      Known to fail|                            |4.3.0
   Last reconfirmed|0000-00-00 00:00:00         |2008-01-26 12:25:11
               date|                            |
            Summary|candidates list contains    |ambiguous overload
                   |duplicates                  |candidates list contains
                   |                            |duplicates


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


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

* [Bug c++/26278] ambiguous overload candidates list contains duplicates
  2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
                   ` (5 preceding siblings ...)
  2008-01-26 12:35 ` [Bug c++/26278] ambiguous overload " rguenth at gcc dot gnu dot org
@ 2008-01-29 17:40 ` Ralf dot Wildenhues at gmx dot de
  6 siblings, 0 replies; 8+ messages in thread
From: Ralf dot Wildenhues at gmx dot de @ 2008-01-29 17:40 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 668 bytes --]



------- Comment #6 from Ralf dot Wildenhues at gmx dot de  2008-01-29 17:25 -------
Created an attachment (id=15050)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15050&action=view)
reduced testcase

t.5.ii: In function ‘int main()’:
t.5.ii:14: error: ambiguous overload for ‘operator==’ in ‘c == p’
t.5.ii:14: note: candidates are: operator==(X, X) <built-in>
t.5.ii:14: note:                 operator==(int, int) <built-in>
t.5.ii:14: note:                 operator==(X, X) <built-in>
t.5.ii:7: note:                 bool coEnum<e1, e2>::operator==(coEnum<e1, e2>)
const [with e1 = A, e2 = X]


-- 


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


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

end of thread, other threads:[~2008-01-29 17:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-14 10:36 [Bug c++/26278] New: candidates list contains duplicates igodard at pacbell dot net
2006-02-14 10:37 ` [Bug c++/26278] " igodard at pacbell dot net
2006-02-14 10:37 ` igodard at pacbell dot net
2006-03-08  4:57 ` bangerth at dealii dot org
2006-03-08  6:21 ` igodard at pacbell dot net
2008-01-26 12:34 ` rguenth at gcc dot gnu dot org
2008-01-26 12:35 ` [Bug c++/26278] ambiguous overload " rguenth at gcc dot gnu dot org
2008-01-29 17:40 ` Ralf dot Wildenhues at gmx 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).