public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48115] New: [4.6/4.7 Regression] [C++0x] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482
@ 2011-03-14 16:04 redi at gcc dot gnu.org
  2011-03-14 16:06 ` [Bug c++/48115] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-14 16:04 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6/4.7 Regression] [C++0x] internal compiler error:
                    in type_has_nontrivial_copy_init, at cp/tree.c:2482
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org


template<typename> struct templ { };

typedef void (*F2)(...);

template<typename F, typename T>
struct S
{
    template<typename A>
        decltype( F()(T()) )
        f(A);
};

int main()
{
    S<F2, templ<int>>().f(0);
}

compiles ok with 4.5, ICE with 4.6.o 20110305


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

end of thread, other threads:[~2011-03-16 20:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-14 16:04 [Bug c++/48115] New: [4.6/4.7 Regression] [C++0x] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:2482 redi at gcc dot gnu.org
2011-03-14 16:06 ` [Bug c++/48115] " rguenth at gcc dot gnu.org
2011-03-14 16:52 ` [Bug c++/48115] [4.6/4.7 Regression] " redi at gcc dot gnu.org
2011-03-14 19:18 ` jakub at gcc dot gnu.org
2011-03-16 18:19 ` jason at gcc dot gnu.org
2011-03-16 20:03 ` jason at gcc dot gnu.org
2011-03-16 20:04 ` jason at gcc dot gnu.org
2011-03-16 20:23 ` jason 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).