public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66743] New: ICE on formerly working code
@ 2015-07-02 18:15 webrown.cpp at gmail dot com
  2015-07-02 18:21 ` [Bug c++/66743] " webrown.cpp at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: webrown.cpp at gmail dot com @ 2015-07-02 18:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66743

            Bug ID: 66743
           Summary: ICE on formerly working code
           Product: gcc
           Version: c++-concepts
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: webrown.cpp at gmail dot com
  Target Milestone: ---

This appears to be a recently introduced regression.  Although I'm using the
concepts branch, no concepts features are used to reproduce the problem.


Reduced test case:

template< class T >
struct
  type_is { using type = T; };

template< class T >
  using underlying_type = type_is<__underlying_type(T)>;

int
  main( )
{
  return 0;
}


Compiler version:
concepts-g++ (GCC) 6.0.0 20150702 (experimental)


Command line (numerous -W options elided):
concepts-g++ -Og -std=c++1z ... <filename>


Diagnostic:

internal compiler error: tree check: expected record_type or union_type or
qual_union_type, have underlying_type in for_each_template_parm_r, at
cp/pt.c:8726


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

end of thread, other threads:[~2015-07-03  6:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02 18:15 [Bug c++/66743] New: ICE on formerly working code webrown.cpp at gmail dot com
2015-07-02 18:21 ` [Bug c++/66743] " webrown.cpp at gmail dot com
2015-07-02 19:26 ` [Bug c++/66743] [5/6 regression] ICE: tree check: expected record_type or union_type or qual_union_type, have underlying_type in for_each_template_parm_r, at cp/pt.c:8234 trippels at gcc dot gnu.org
2015-07-03  0:46 ` jason at gcc dot gnu.org
2015-07-03  6:20 ` trippels 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).