public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/17441] New: symbols not in the standard introduced into std::
@ 2004-09-12 19:35 caj at cs dot york dot ac dot uk
2004-09-12 21:07 ` [Bug libstdc++/17441] " giovannibajo at libero dot it
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: caj at cs dot york dot ac dot uk @ 2004-09-12 19:35 UTC (permalink / raw)
To: gcc-bugs
gcc, via stl_algo.h (and possibly others) seems to introduce symbols into the
std:: namespace which are not specified in the standard and with a __ prefix.
Examples include:
template<typename _InputIterator, typename _Tp>
inline _InputIterator
find(_InputIterator __first, _InputIterator __last,
const _Tp& __val, input_iterator_tag);
and
template<typename _InputIterator, typename _Predicate>
inline _InputIterator
find_if(_InputIterator __first, _InputIterator __last,
_Predicate __pred, input_iterator_tag);
Now on one hand I can't imagine why this could cause a problem. On the other
hand I don't believe these functions should be here without beginning with __
(or _F) as they are implementation-specific functions
By now it's possible some people are (wrongly) using these in their code, so I
have marked the bug as enhancement. However I still believe these should be
changed to allow strict complience (or a formal statement made on exactly what
may be introduced to std:: which is not in the standard)
--
Summary: symbols not in the standard introduced into std::
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: caj at cs dot york dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17441
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/17441] symbols not in the standard introduced into std::
2004-09-12 19:35 [Bug libstdc++/17441] New: symbols not in the standard introduced into std:: caj at cs dot york dot ac dot uk
@ 2004-09-12 21:07 ` giovannibajo at libero dot it
2004-09-12 21:42 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-12 21:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-09-12 21:07 -------
*** Bug 17442 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17441
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/17441] symbols not in the standard introduced into std::
2004-09-12 19:35 [Bug libstdc++/17441] New: symbols not in the standard introduced into std:: caj at cs dot york dot ac dot uk
2004-09-12 21:07 ` [Bug libstdc++/17441] " giovannibajo at libero dot it
@ 2004-09-12 21:42 ` pinskia at gcc dot gnu dot org
2004-10-28 22:08 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-12 21:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-12 21:42 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-09-12 21:42:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17441
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/17441] symbols not in the standard introduced into std::
2004-09-12 19:35 [Bug libstdc++/17441] New: symbols not in the standard introduced into std:: caj at cs dot york dot ac dot uk
2004-09-12 21:07 ` [Bug libstdc++/17441] " giovannibajo at libero dot it
2004-09-12 21:42 ` pinskia at gcc dot gnu dot org
@ 2004-10-28 22:08 ` cvs-commit at gcc dot gnu dot org
2004-11-03 0:04 ` bkoz at gcc dot gnu dot org
2005-07-01 8:25 ` cvs-commit at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-28 22:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-28 22:08 -------
Subject: Bug 17441
CVSROOT: /cvs/gcc
Module name: gcc
Branch: libstdcxx_so_7-branch
Changes by: paolo@gcc.gnu.org 2004-10-28 22:08:18
Modified files:
libstdc++-v3 : ChangeLog.libstdcxx_so_7-branch
libstdc++-v3/include/bits: stl_algo.h
Added files:
libstdc++-v3/testsuite/25_algorithms/find: 17441.cc
Log message:
2004-10-28 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/17441
* include/bit/stl_algo.h (find(,,,input_iterator_tag),
find(,,,random_access_interator_tag),
find_if(,,,input_iterator_tag),
find_if(,,,random_access_iterator_tag)): Uglify function name.
(find, find_if): Use new uglified specialisation names.
* testsuite/25_algorithms/find/17441.cc: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.14&r2=1.1.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_algo.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.47.6.2&r2=1.47.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/find/17441.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17441
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/17441] symbols not in the standard introduced into std::
2004-09-12 19:35 [Bug libstdc++/17441] New: symbols not in the standard introduced into std:: caj at cs dot york dot ac dot uk
` (2 preceding siblings ...)
2004-10-28 22:08 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-03 0:04 ` bkoz at gcc dot gnu dot org
2005-07-01 8:25 ` cvs-commit at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2004-11-03 0:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From bkoz at gcc dot gnu dot org 2004-11-03 00:04 -------
Chris, excellent. Since this is being held in libstdcxx_so_7-branch, there is no
danger in these improvements getting lost.
I'm going to close this now, since it appears likely to be fixed in some future
version of gcc/libstdc++.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Keywords| |ABI
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17441
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libstdc++/17441] symbols not in the standard introduced into std::
2004-09-12 19:35 [Bug libstdc++/17441] New: symbols not in the standard introduced into std:: caj at cs dot york dot ac dot uk
` (3 preceding siblings ...)
2004-11-03 0:04 ` bkoz at gcc dot gnu dot org
@ 2005-07-01 8:25 ` cvs-commit at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-01 8:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-01 08:25 -------
Subject: Bug 17441
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: paolo@gcc.gnu.org 2005-07-01 08:25:12
Modified files:
libstdc++-v3 : ChangeLog
libstdc++-v3/include/bits: stl_algo.h
Added files:
libstdc++-v3/testsuite/25_algorithms/find: 17441.cc
Log message:
2005-07-01 Paolo Carlini <pcarlini@suse.de>
Port from libstdcxx_so_7-branch:
2004-10-28 Chris Jefferson <chris@bubblescope.net>
PR libstdc++/17441
* include/bit/stl_algo.h (find(,,,input_iterator_tag),
find(,,,random_access_interator_tag),
find_if(,,,input_iterator_tag),
find_if(,,,random_access_iterator_tag)): Uglify function name.
(find, find_if): Use new uglified specialisation names.
* testsuite/25_algorithms/find/17441.cc: New.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.3053&r2=1.3054
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_algo.h.diff?cvsroot=gcc&r1=1.55&r2=1.56
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/25_algorithms/find/17441.cc.diff?cvsroot=gcc&r1=1.1&r2=1.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17441
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-01 8:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-12 19:35 [Bug libstdc++/17441] New: symbols not in the standard introduced into std:: caj at cs dot york dot ac dot uk
2004-09-12 21:07 ` [Bug libstdc++/17441] " giovannibajo at libero dot it
2004-09-12 21:42 ` pinskia at gcc dot gnu dot org
2004-10-28 22:08 ` cvs-commit at gcc dot gnu dot org
2004-11-03 0:04 ` bkoz at gcc dot gnu dot org
2005-07-01 8:25 ` cvs-commit 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).