This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20195] Internal compiler error on legal code
- From: "romein at astron dot nl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2005 08:27:26 -0000
- Subject: [Bug c++/20195] Internal compiler error on legal code
- References: <20050224154901.20195.romein@astron.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From romein at astron dot nl 2005-02-25 08:27 -------
Probably the bug has already been solved then. I used 4.0.0 20041214 (Red Hat
4.0.0-0.14.EL4), the one that has just been released by RedHat/CentOS.
(In reply to comment #1)
> I cannot reproduce this with gcc "4.0.0 20050224"
(In reply to comment #0)
> g++4 yields an internal compiler error in do_nonmember_using_decl, at
> cp/name-lookup.c:2074 when compiling:
>
> namespace std
> {
> template<typename _Tp> class complex;
> template<typename _Tp> complex<_Tp> conj(const complex<_Tp>&);
> }
>
> using std::conj;
>
>
> Kinds Regards, John Romein
>
> ---
>
> dr. John W. Romein
> Stichting ASTRON (Netherlands Foundation for Research in Astronomy)
> Oude Hoogeveensedijk 4
> 7991 PD Dwingeloo
> The Netherlands
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20195