This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21681] [4.0/4.1 Regression] Internal Compiler Error
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2005 19:27:32 -0000
- Subject: [Bug c++/21681] [4.0/4.1 Regression] Internal Compiler Error
- References: <20050520170626.21681.dave@boost-consulting.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-20 19:27 -------
Maybe not.
But in 3.4.0, I do get a warning:
copy.cpp: In function `int test_main(int, char**)':
copy.cpp:25: error: no match for call to `(const boost::sequence::algorithm::copy_) (const boost::
array<char, 6u>&, boost::array<char, 11u>&)'
copy.cpp:29: error: no match for 'operator+' in 'buf + 11u'
copy.cpp:32: error: no matching function for call to `equal(boost::array<char, 10u>&, char*, const
char[5])'
And from ICC (with modifing the source removing some GCCisms):
copy.cpp(25): error: no instance of function template "boost::sequence::algorithm::copy_::operator()"
matches the argument list
argument types are: (const boost::array<char, 6U>, boost::array<char, 11U>)
object type is: const boost::sequence::algorithm::copy_
sequence::algorithm::copy(hello, buf)
^
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-invalid-code |
Known to fail| |4.0.0
Known to work| |3.4.0
Summary|Internal Compiler Error |[4.0/4.1 Regression]
| |Internal Compiler Error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21681