https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176
--- Comment #5 from Martin Liška ---
A valid test-case started to find in r251220:
$ cat ice.ii
namespace a {
template class c;
template void e(c &);
void operator<<(c , const char *) { e(f); }
extern c cout;
} // namespace a
int main()
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176
--- Comment #4 from Martin Liška ---
Hmmm, reduced with missing return value:
$ cat ice.ii
namespace a {
class b <<(b &, char *) {}
extern b c;
} // namespace a
main() { a::c << ""; }
$ g++ -O1 -flto -g1 ice.ii
ice.ii: In function ‘a::b&
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176
Martin Liška changed:
What|Removed |Added
CC||marxin at gcc dot gnu.org
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176
Richard Biener changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85176
v_lichevsky at tut dot by changed:
What|Removed |Added
Summary|ICE in force_decl_die, at |ICE in force_decl_die, at