public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50508] New: [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487 4.61/4.7 converting std::intergal_constant to bool with &&
@ 2011-09-24 16:20 fuchsia.groan at virgin dot net
  2011-09-24 16:34 ` [Bug c++/50508] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fuchsia.groan at virgin dot net @ 2011-09-24 16:20 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50508
           Summary: [C++0x] ICE cxx_eval_logical_expression
                    cp/semantics.c:6487 4.61/4.7 converting
                    std::intergal_constant to bool with &&
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fuchsia.groan@virgin.net


/* This ICEd the official mingw 4.6.1 with: 'internal compiler error: in
cxx_eval_logical_expression at cp/semantics.c:6487'

(I had the same result on gcc 4.7.0 20110813 from www.equation.com)
*/
#include <type_traits>

static constexpr bool value = std::integral_constant<bool,true>()
                              && std::integral_constant<bool,true>();


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

end of thread, other threads:[~2011-09-27  2:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-24 16:20 [Bug c++/50508] New: [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487 4.61/4.7 converting std::intergal_constant to bool with && fuchsia.groan at virgin dot net
2011-09-24 16:34 ` [Bug c++/50508] " redi at gcc dot gnu.org
2011-09-24 16:42 ` redi at gcc dot gnu.org
2011-09-27  2:15 ` [Bug c++/50508] [C++0x] ICE cxx_eval_logical_expression cp/semantics.c:6487 jason at gcc dot gnu.org
2011-09-27  2:23 ` jason at gcc dot gnu.org
2011-09-27  2:41 ` 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).