[Bug c++/26266] ICE
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Feb 13 20:25:00 GMT 2006
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-02-13 20:25 -------
I should say this is rejected in 4.1.0:
../include/row.hh: In member function Ârow<T>::operator const row<const T>()
const [with T = unsigned int]Â:
../include/powerset.hh:1027: instantiated from Ârow<range<T> > powerset<E,
alloc>::ranges(row<R>) [with R = unsigned int, E = unsigned int, alloc =
standardAllocator]Â
../include/powerset.hh:479: instantiated from Âpowerset<E,
alloc>::powerset(row<R>, const alloc<range<T> >&) [with R = unsigned int, E =
unsigned int, alloc = standardAllocator]Â
../include/display.hh:199: instantiated from ÂbasicDisplay<ch,
tr>::basicDisplay(std::basic_ostream<_CharT, _Traits>&) [with ch = char, tr =
std::char_traits<char>]Â
../src/display.cc:8: instantiated from here
../include/row.hh:210: error: conversion from Âconst range<const unsigned
int*>Â to non-scalar type Âconst row<const unsigned int>Â requested
../include/powerset.hh: In member function Âbool powerset<E,
alloc>::insert(range<U>) [with R = wchar_t, E = wchar_t, alloc =
standardAllocator]Â:
../include/powerset.hh:863: instantiated from Âstd::pair<typename powerset<E,
alloc>::iterator, bool> powerset<E, alloc>::insert(const E&) [with E = wchar_t,
alloc = standardAllocator]Â
../include/powerset.hh:533: instantiated from Âpowerset<E, alloc>&
powerset<E, alloc>::operator<<(const E&) [with E = wchar_t, alloc =
standardAllocator]Â
../include/display.hh:200: instantiated from ÂbasicDisplay<ch,
tr>::basicDisplay(std::basic_ostream<_CharT, _Traits>&) [with ch = wchar_t, tr
= std::char_traits<wchar_t>]Â
../src/display.cc:17: instantiated from here
../include/powerset.hh:889: error: no matching function for call to
ÂnewRow(int, range<wchar_t>&)Â
../include/row.hh: In member function Ârow<void>::operator row<T>() [with T =
unsigned int]Â:
../include/accum.hh:363: instantiated from Ârow<R>
accum<alloc>::frame<T>::space() [with T = unsigned int, alloc =
standardAllocator]Â
../include/accum.hh:250: instantiated from
Âaccum<alloc>::frame<T>::frame(accum<alloc>&) [with T = unsigned int, alloc =
standardAllocator]Â
../include/powerset.hh:1026: instantiated from Ârow<range<T> > powerset<E,
alloc>::ranges(row<R>) [with R = unsigned int, E = unsigned int, alloc =
standardAllocator]Â
../include/powerset.hh:479: instantiated from Âpowerset<E,
alloc>::powerset(row<R>, const alloc<range<T> >&) [with R = unsigned int, E =
unsigned int, alloc = standardAllocator]Â
../include/display.hh:199: instantiated from ÂbasicDisplay<ch,
tr>::basicDisplay(std::basic_ostream<_CharT, _Traits>&) [with ch = char, tr =
std::char_traits<char>]Â
../src/display.cc:8: instantiated from here
../include/row.hh:786: error: conversion from Âconst range<size_t*>Â to
non-scalar type Ârow<unsigned int>Â requested
../include/row.hh: In member function Ârow<void>::operator row<T>() [with T =
char]Â:
../include/allocator.hh:484: instantiated from Âvoid allocatorMixin<void,
D>::deallocate(row<void>) [with D = standardAllocator]Â
../include/accum.hh:226: instantiated from Âvoid
accum<alloc>::spare(row<void>) [with alloc = standardAllocator]Â
../include/accum.hh:262: instantiated from Âaccum<alloc>::frame<T>::~frame()
[with T = range<unsigned int>, alloc = standardAllocator]Â
../include/powerset.hh:1014: instantiated from Ârow<range<T> > powerset<E,
alloc>::ranges(row<R>) [with R = unsigned int, E = unsigned int, alloc =
standardAllocator]Â
../include/powerset.hh:479: instantiated from Âpowerset<E,
alloc>::powerset(row<R>, const alloc<range<T> >&) [with R = unsigned int, E =
unsigned int, alloc = standardAllocator]Â
../include/display.hh:199: instantiated from ÂbasicDisplay<ch,
tr>::basicDisplay(std::basic_ostream<_CharT, _Traits>&) [with ch = char, tr =
std::char_traits<char>]Â
../src/display.cc:8: instantiated from here
../include/row.hh:786: error: conversion from Âconst range<char*>Â to
non-scalar type Ârow<char>Â requested
../include/row.hh: In member function Ârow<T>::operator const row<const T>()
const [with T = wchar_t]Â:
../include/display.hh:345: instantiated from Âvoid basicDisplay<ch,
tr>::textBreak() [with ch = wchar_t, tr = std::char_traits<wchar_t>]Â
../include/display.hh:157: instantiated from Âint basicDisplay<ch,
tr>::sync() [with ch = wchar_t, tr = std::char_traits<wchar_t>]Â
../include/display.hh:99: instantiated from ÂbasicDisplay<ch,
tr>::~basicDisplay() [with ch = wchar_t, tr = std::char_traits<wchar_t>]Â
../src/display.cc:20: instantiated from here
../include/row.hh:210: error: conversion from Âconst range<const wchar_t*>Â to
non-scalar type Âconst row<const wchar_t>Â requested
../include/row.hh: In member function Ârow<T>::operator const row<const T>()
const [with T = char]Â:
../include/display.hh:345: instantiated from Âvoid basicDisplay<ch,
tr>::textBreak() [with ch = char, tr = std::char_traits<char>]Â
../include/display.hh:157: instantiated from Âint basicDisplay<ch,
tr>::sync() [with ch = char, tr = std::char_traits<char>]Â
../include/display.hh:99: instantiated from ÂbasicDisplay<ch,
tr>::~basicDisplay() [with ch = char, tr = std::char_traits<char>]Â
../src/display.cc:20: instantiated from here
../include/row.hh:210: error: conversion from Âconst range<const char*>Â to
non-scalar type Âconst row<const char>Â requested
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26266
More information about the Gcc-bugs
mailing list