public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13581] New: missing operator != for const_reverse_iterator
@ 2004-01-06  8:17 papadopo at shfj dot cea dot fr
  2004-01-06  8:18 ` [Bug c++/13581] " papadopo at shfj dot cea dot fr
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: papadopo at shfj dot cea dot fr @ 2004-01-06  8:17 UTC (permalink / raw)
  To: gcc-bugs

Hi,

Please compile the attached source. Compilation will fail on both Solaris 8:

$ g++ --version
g++ (GCC) 3.3.2
[...]
$ g++ -c foo.cc
foo.cc: In function `int main()':
foo.cc:8: error: no match for 'operator!=' in 'i != std::vector<_Tp,
   _Alloc>::rbegin() [with _Tp = int, _Alloc = std::allocator<int>]()'
$ 

and Red Hat Linux 9:

$ g++ --version
g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[...]
$ g++ -c foo.cc
foo.cc: In function `int main()':
foo.cc:8: no match for `
   std::reverse_iterator<__gnu_cxx::__normal_iterator<const int*,
   std::vector<int, std::allocator<int> > > >& !=
   std::reverse_iterator<__gnu_cxx::__normal_iterator<int*, std::vector<int,
   std::allocator<int> > > >' operator
$

-- 
           Summary: missing operator != for const_reverse_iterator
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: papadopo at shfj dot cea dot fr
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/13581] missing operator != for const_reverse_iterator
  2004-01-06  8:17 [Bug c++/13581] New: missing operator != for const_reverse_iterator papadopo at shfj dot cea dot fr
@ 2004-01-06  8:18 ` papadopo at shfj dot cea dot fr
  2004-01-06  8:19 ` [Bug libstdc++/13581] " papadopo at shfj dot cea dot fr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: papadopo at shfj dot cea dot fr @ 2004-01-06  8:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From papadopo at shfj dot cea dot fr  2004-01-06 08:18 -------
Created an attachment (id=5417)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5417&action=view)
testcase for reproducing the problem


-- 


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


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

* [Bug libstdc++/13581] missing operator != for const_reverse_iterator
  2004-01-06  8:17 [Bug c++/13581] New: missing operator != for const_reverse_iterator papadopo at shfj dot cea dot fr
  2004-01-06  8:18 ` [Bug c++/13581] " papadopo at shfj dot cea dot fr
@ 2004-01-06  8:19 ` papadopo at shfj dot cea dot fr
  2004-01-06  9:06 ` [Bug c++/13581] " pinskia at gcc dot gnu dot org
  2004-01-06 10:12 ` [Bug libstdc++/13581] " paolo at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: papadopo at shfj dot cea dot fr @ 2004-01-06  8:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |libstdc++


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


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

* [Bug c++/13581] missing operator != for const_reverse_iterator
  2004-01-06  8:17 [Bug c++/13581] New: missing operator != for const_reverse_iterator papadopo at shfj dot cea dot fr
  2004-01-06  8:18 ` [Bug c++/13581] " papadopo at shfj dot cea dot fr
  2004-01-06  8:19 ` [Bug libstdc++/13581] " papadopo at shfj dot cea dot fr
@ 2004-01-06  9:06 ` pinskia at gcc dot gnu dot org
  2004-01-06 10:12 ` [Bug libstdc++/13581] " paolo at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-06  9:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-06 09:06 -------
Confirmed on the mainline, it looks like this is a c++ front-end problem.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|libstdc++                   |c++
     Ever Confirmed|                            |1
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-06 09:06:31
               date|                            |


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


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

* [Bug libstdc++/13581] missing operator != for const_reverse_iterator
  2004-01-06  8:17 [Bug c++/13581] New: missing operator != for const_reverse_iterator papadopo at shfj dot cea dot fr
                   ` (2 preceding siblings ...)
  2004-01-06  9:06 ` [Bug c++/13581] " pinskia at gcc dot gnu dot org
@ 2004-01-06 10:12 ` paolo at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu dot org @ 2004-01-06 10:12 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From paolo at gcc dot gnu dot org  2004-01-06 10:12 -------


*** This bug has been marked as a duplicate of 11729 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|c++                         |libstdc++
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-01-06 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-06  8:17 [Bug c++/13581] New: missing operator != for const_reverse_iterator papadopo at shfj dot cea dot fr
2004-01-06  8:18 ` [Bug c++/13581] " papadopo at shfj dot cea dot fr
2004-01-06  8:19 ` [Bug libstdc++/13581] " papadopo at shfj dot cea dot fr
2004-01-06  9:06 ` [Bug c++/13581] " pinskia at gcc dot gnu dot org
2004-01-06 10:12 ` [Bug libstdc++/13581] " paolo 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).