public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
@ 2015-07-04 15:22 dje at gcc dot gnu.org
2015-07-04 15:25 ` [Bug libstdc++/66763] " dje at gcc dot gnu.org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: dje at gcc dot gnu.org @ 2015-07-04 15:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
Bug ID: 66763
Summary: 25_algorithms/remove/requirements/explicit_instantiati
on/2.cc fails on AIX
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: dje at gcc dot gnu.org
Target Milestone: ---
25_algorithms/remove/requirements/explicit_instantiation/2.cc:34:22: error:
'std::value_type* std::remove(std::iterator_type, std::iterator_type, const
value_type&)' is not declared in 'std'
const value_type&);
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/66763] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
@ 2015-07-04 15:25 ` dje at gcc dot gnu.org
2015-07-04 15:46 ` redi at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu.org @ 2015-07-04 15:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #1 from David Edelsohn <dje at gcc dot gnu.org> ---
Created attachment 35909
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35909&action=edit
gzipped 2.ii pre-processed testcase
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/66763] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
2015-07-04 15:25 ` [Bug libstdc++/66763] " dje at gcc dot gnu.org
@ 2015-07-04 15:46 ` redi at gcc dot gnu.org
2015-07-14 9:24 ` [Bug libstdc++/66763] [6 Regression] " trippels at gcc dot gnu.org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-04 15:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-04
Ever confirmed|0 |1
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ville mentioned this to me too, happening on gcc112 (ppc64le-linux), I haven't
seen it though
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
2015-07-04 15:25 ` [Bug libstdc++/66763] " dje at gcc dot gnu.org
2015-07-04 15:46 ` redi at gcc dot gnu.org
@ 2015-07-14 9:24 ` trippels at gcc dot gnu.org
2015-07-14 9:43 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-14 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|powerpc-ibm-aix* |powerpc-ibm-aix*,
| |powerpc64le-unknown-linux-g
| |nu
CC| |trippels at gcc dot gnu.org
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Started with the switch to C++14: r225272.
trippels@gcc2-power8 testsuite % g++ -std=c++98 -c -I./util/
25_algorithms/remove/requirements/explicit_instantiation/2.cc
trippels@gcc2-power8 testsuite % g++ -c -I./util/
25_algorithms/remove/requirements/explicit_instantiation/2.cc
25_algorithms/remove/requirements/explicit_instantiation/2.cc:34:22: error:
‘std::value_type* std::remove(std::iterator_type, std::iterator_type, const
value_type&)’ is not declared in ‘std’
const value_type&);
^
>From gcc-bugs-return-492217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Jul 14 09:33:37 2015
Return-Path: <gcc-bugs-return-492217-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59316 invoked by alias); 14 Jul 2015 09:33:37 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59274 invoked by uid 48); 14 Jul 2015 09:33:33 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
Date: Tue, 14 Jul 2015 09:33:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66763-4-nzmvXpBYbs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66763-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66763-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg01107.txt.bz2
Content-length: 191
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf763
--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
This is an old issue. It also fails with gcc-4.9 and std=c++11.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (2 preceding siblings ...)
2015-07-14 9:24 ` [Bug libstdc++/66763] [6 Regression] " trippels at gcc dot gnu.org
@ 2015-07-14 9:43 ` redi at gcc dot gnu.org
2015-07-14 9:57 ` redi at gcc dot gnu.org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-14 9:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I don't see any problem in libstdc++, the function is right there in the
preprocessed output starting at line 34472
# 891
"/tmp/20150703/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/stl_algo.h" 3
template<typename _ForwardIterator, typename _Tp>
inline _ForwardIterator
remove(_ForwardIterator __first, _ForwardIterator __last,
const _Tp& __value)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (3 preceding siblings ...)
2015-07-14 9:43 ` redi at gcc dot gnu.org
@ 2015-07-14 9:57 ` redi at gcc dot gnu.org
2015-07-14 10:00 ` [Bug c++/66763] " redi at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-14 9:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The difference is that we include ::remove in C++11 and later.
Reduced:
namespace std
{
template<typename _FIter, typename _Tp>
_FIter
remove(_FIter, _FIter, const _Tp&);
}
extern "C" {
extern int remove (const char *__filename) throw ();
}
namespace std
{
using ::remove;
template<typename _ForwardIterator, typename _Tp>
inline _ForwardIterator
remove(_ForwardIterator __first, _ForwardIterator __last,
const _Tp& __value)
{
return __first;
}
}
namespace std
{
struct value_type { };
typedef value_type* iterator_type;
template iterator_type remove(iterator_type, iterator_type,
const value_type&);
}
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (4 preceding siblings ...)
2015-07-14 9:57 ` redi at gcc dot gnu.org
@ 2015-07-14 10:00 ` redi at gcc dot gnu.org
2015-07-14 10:02 ` redi at gcc dot gnu.org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-14 10:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libstdc++ |c++
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The reduced testcase fails on all targets, but is valid C++, so this is a FE
problem.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (5 preceding siblings ...)
2015-07-14 10:00 ` [Bug c++/66763] " redi at gcc dot gnu.org
@ 2015-07-14 10:02 ` redi at gcc dot gnu.org
2015-10-16 8:29 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2015-07-14 10:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #7)
> The reduced testcase fails on all targets
... with any -std option, at least as far back as GCC 4.3.6
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (6 preceding siblings ...)
2015-07-14 10:02 ` redi at gcc dot gnu.org
@ 2015-10-16 8:29 ` rguenth at gcc dot gnu.org
2021-07-24 2:41 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-16 8:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (7 preceding siblings ...)
2015-10-16 8:29 ` rguenth at gcc dot gnu.org
@ 2021-07-24 2:41 ` pinskia at gcc dot gnu.org
2021-07-24 2:42 ` pinskia at gcc dot gnu.org
2021-07-24 8:43 ` redi at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-24 2:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 57576 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (8 preceding siblings ...)
2021-07-24 2:41 ` pinskia at gcc dot gnu.org
@ 2021-07-24 2:42 ` pinskia at gcc dot gnu.org
2021-07-24 8:43 ` redi at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-24 2:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #6)
> The difference is that we include ::remove in C++11 and later.
You had even forgot you filed PR 57576 for that :)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
` (9 preceding siblings ...)
2021-07-24 2:42 ` pinskia at gcc dot gnu.org
@ 2021-07-24 8:43 ` redi at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2021-07-24 8:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763
--- Comment #13 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Ha! Oops
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2021-07-24 8:43 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-04 15:22 [Bug libstdc++/66763] New: 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX dje at gcc dot gnu.org
2015-07-04 15:25 ` [Bug libstdc++/66763] " dje at gcc dot gnu.org
2015-07-04 15:46 ` redi at gcc dot gnu.org
2015-07-14 9:24 ` [Bug libstdc++/66763] [6 Regression] " trippels at gcc dot gnu.org
2015-07-14 9:43 ` redi at gcc dot gnu.org
2015-07-14 9:57 ` redi at gcc dot gnu.org
2015-07-14 10:00 ` [Bug c++/66763] " redi at gcc dot gnu.org
2015-07-14 10:02 ` redi at gcc dot gnu.org
2015-10-16 8:29 ` rguenth at gcc dot gnu.org
2021-07-24 2:41 ` pinskia at gcc dot gnu.org
2021-07-24 2:42 ` pinskia at gcc dot gnu.org
2021-07-24 8:43 ` redi 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).