public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47200] New: [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5821 with missing definition of constexpr function
@ 2011-01-07  2:20 zsojka at seznam dot cz
  2011-01-07  2:20 ` [Bug c++/47200] " zsojka at seznam dot cz
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-07  2:20 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [C++0x] ICE: in adjust_temp_type, at
                    cp/semantics.c:5821 with missing definition of
                    constexpr function
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc -std=c++0x pr47200.C 
pr47200.C:13:1: error: non-constant condition for static assertion
pr47200.C:13:40: error: 'static constexpr duration<<anonymous> >
duration<<anonymous> >::min() [with int <anonymous> = 0, duration<<anonymous> >
= duration<0>]' used before its definition
pr47200.C:13:1: internal compiler error: in adjust_temp_type, at
cp/semantics.c:5821
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r168535 - crash
r165699 - rejects the code


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

end of thread, other threads:[~2011-03-14  5:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-07  2:20 [Bug c++/47200] New: [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5821 with missing definition of constexpr function zsojka at seznam dot cz
2011-01-07  2:20 ` [Bug c++/47200] " zsojka at seznam dot cz
2011-01-07  8:33 ` hjl.tools at gmail dot com
2011-03-01 22:32 ` jason at gcc dot gnu.org
2011-03-02 18:18 ` jason at gcc dot gnu.org
2011-03-14  5:10 ` 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).