------- 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