public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/48703] New: segfault in canonicalize_for_substitution
@ 2011-04-20 14:50 matz at gcc dot gnu.org
  2011-04-21 12:20 ` [Bug debug/48703] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: matz at gcc dot gnu.org @ 2011-04-20 14:50 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48703

           Summary: segfault in canonicalize_for_substitution
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: matz@gcc.gnu.org


Created attachment 24062
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24062
testcase

The patch for PR48207 broke compiling any moderately complex C++ program with
-g -flto.  We can't use the C++ specific langhook for mangling when we've
already cleared out language specific stuff in free_lang_data.

$ cc1plus -g -flto bug.ii
/matz/gcc/svn/real-trunk/dev/x86_64-unknown-linux-gnu/libstdc++-v3/include/istream:
In instantiation of ‘std::basic_istream<_CharT, _Traits>::sentry::operator
bool() const [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>]’:
EtherAppCli.cc:221:1:   instantiated from here
/matz/gcc/svn/real-trunk/dev/x86_64-unknown-linux-gnu/libstdc++-v3/include/istream:686:7:
internal compiler error: Segmentation fault


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-05-18 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-20 14:50 [Bug debug/48703] New: segfault in canonicalize_for_substitution matz at gcc dot gnu.org
2011-04-21 12:20 ` [Bug debug/48703] " rguenth at gcc dot gnu.org
2011-04-21 14:36 ` rguenth at gcc dot gnu.org
2011-04-21 14:38 ` rguenth at gcc dot gnu.org
2011-05-18 13:54 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).