public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/28058]  New: [4.1/4.2 regression] ICE in inline_forbidden_p
@ 2006-06-16 13:08 jakub at gcc dot gnu dot org
  2006-06-16 13:49 ` [Bug tree-optimization/28058] " jakub at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-06-16 13:08 UTC (permalink / raw)
  To: gcc-bugs

struct A {};

template <class T>
struct B : public T
{
  B ();
};

B<A> *
foo ()
{
  return new B<A>();
}

template <class T>
B<T>::B ()
{
}

template <>
B<A>::B ()
{
}

ICEs at -O3 i inline_forbidden_p:
1448      FOR_EACH_BB_FN (bb, DECL_STRUCT_FUNCTION (fndecl))
as fndecl (B ctor) doesn't have cfg set (DECL_STRUCT_FUNCTION (fndecl)->cfg ==
NULL).


-- 
           Summary: [4.1/4.2 regression] ICE in inline_forbidden_p
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

end of thread, other threads:[~2006-08-27 18:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-16 13:08 [Bug tree-optimization/28058] New: [4.1/4.2 regression] ICE in inline_forbidden_p jakub at gcc dot gnu dot org
2006-06-16 13:49 ` [Bug tree-optimization/28058] " jakub at gcc dot gnu dot org
2006-06-16 18:02 ` [Bug c++/28058] " pinskia at gcc dot gnu dot org
2006-06-16 22:55 ` bangerth at dealii dot org
2006-06-16 22:57 ` bangerth at dealii dot org
2006-06-25  5:31 ` pinskia at gcc dot gnu dot org
2006-07-12 16:39 ` reichelt at gcc dot gnu dot org
2006-07-17  2:43 ` mmitchel at gcc dot gnu dot org
2006-07-21 20:36 ` hubicka at gcc dot gnu dot org
2006-08-14 16:17 ` janis at gcc dot gnu dot org
2006-08-26 16:48 ` mmitchel at gcc dot gnu dot org
2006-08-26 16:54 ` mmitchel at gcc dot gnu dot org
2006-08-27 17:45 ` mmitchel at gcc dot gnu dot org
2006-08-27 18:00 ` mmitchel at gcc dot gnu dot org
2006-08-27 18:01 ` mmitchel at gcc dot gnu dot 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).