public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67544] New: ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts
@ 2015-09-10 19:48 zsojka at seznam dot cz
  2015-09-22  9:48 ` [Bug c++/67544] " paolo.carlini at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2015-09-10 19:48 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67544
           Summary: ICE: SIGSEGV in tree_check3 (tree.h:2896) with
                    -fconcepts
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 36322
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36322&action=edit
reduced testcase

Compiler output:
$ gcc -fconcepts testcase.C                                
testcase.C:8:45: internal compiler error: Segmentation fault
   template<typename T> friend struct A<T>::B;
                                             ^
0xd160cf crash_signal
        /mnt/svn/gcc-trunk/gcc/toplev.c:352
0x762540 tree_check3(tree_node*, char const*, int, char const*, tree_code,
tree_code, tree_code)
        /mnt/svn/gcc-trunk/gcc/tree.h:2896
0x762540 lookup_member(tree_node*, tree_node*, int, bool, int)
        /mnt/svn/gcc-trunk/gcc/cp/search.c:1281
0x74718b make_friend_class(tree_node*, tree_node*, bool)
        /mnt/svn/gcc-trunk/gcc/cp/friend.c:321
0x70faa9 cp_parser_template_declaration_after_parameters
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:24506
0x710384 cp_parser_explicit_template_declaration
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:24722
0x710384 cp_parser_template_declaration_after_export
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:24740
0x71095d cp_parser_member_declaration
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:21314
0x6ed064 cp_parser_member_specification_opt
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:21241
0x6ed064 cp_parser_class_specifier_1
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:20433
0x6ed064 cp_parser_class_specifier
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:20669
0x6ed064 cp_parser_type_specifier
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:15076
0x6fcd8b cp_parser_decl_specifier_seq
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:12042
0x7115f0 cp_parser_simple_declaration
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:11608
0x70afb4 cp_parser_block_declaration
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:11555
0x717147 cp_parser_declaration
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:11452
0x7158ea cp_parser_declaration_seq_opt
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:11334
0x715c05 cp_parser_translation_unit
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:4154
0x715c05 c_parse_file()
        /mnt/svn/gcc-trunk/gcc/cp/parser.c:34271
0x861852 c_common_parse_file()
        /mnt/svn/gcc-trunk/gcc/c-family/c-opts.c:1058
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r227604 - ICE


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

* [Bug c++/67544] ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts
  2015-09-10 19:48 [Bug c++/67544] New: ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts zsojka at seznam dot cz
@ 2015-09-22  9:48 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-09-22  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-09-22
             Blocks|                            |67491
     Ever confirmed|0                           |1


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491
[Bug 67491] [meta-bug] concepts issues


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

end of thread, other threads:[~2015-09-22  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10 19:48 [Bug c++/67544] New: ICE: SIGSEGV in tree_check3 (tree.h:2896) with -fconcepts zsojka at seznam dot cz
2015-09-22  9:48 ` [Bug c++/67544] " paolo.carlini at oracle dot com

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).