public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65269] New: internal compiler error: Segmentation fault
@ 2015-03-01 22:10 hgkamath at hotmail dot com
  2015-03-01 22:15 ` [Bug c++/65269] " hgkamath at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hgkamath at hotmail dot com @ 2015-03-01 22:10 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65269
           Summary: internal compiler error: Segmentation fault
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hgkamath at hotmail dot com

Created attachment 34914
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34914&action=edit
preprocessed_source a.cc

c++-concepts branch.
attached: preprocessed source a.cc 

date 20150227

Built gcc locally from 
https://bitbucket.org/Blzut3/c-concepts/src

Tried to build origin from
https://github.com/asutton/origin


 /vol/apps/conceptgcc/20150227/bin/g++ -std=c++1z ~/tmp/a.cc
/vol/apps/conceptgcc/build/or/origin/origin/core/concepts.test/difference_type.cpp:16:30:
internal compiler error: Segmentation fault
   using difference_type = int;
                              ^
0xc78d4f crash_signal
    ../../gcc/toplev.c:358
0x6fe5ae tree_check(tree_node*, char const*, int, char const*, tree_code)
    ../../gcc/tree.h:2750
0x6fe5ae cp_parser_alias_declaration
    ../../gcc/cp/parser.c:17053
0x709df5 cp_parser_member_declaration
    ../../gcc/cp/parser.c:21274
0x6eaf4b cp_parser_member_specification_opt
    ../../gcc/cp/parser.c:21181
0x6eaf4b cp_parser_class_specifier_1
    ../../gcc/cp/parser.c:20373
0x6ed800 cp_parser_class_specifier
    ../../gcc/cp/parser.c:20609
0x6ed800 cp_parser_type_specifier
    ../../gcc/cp/parser.c:15036
0x6ee975 cp_parser_decl_specifier_seq
    ../../gcc/cp/parser.c:11960
0x7084a9 cp_parser_simple_declaration
    ../../gcc/cp/parser.c:11539
0x708a53 cp_parser_block_declaration
    ../../gcc/cp/parser.c:11488
0x70e55b cp_parser_declaration
    ../../gcc/cp/parser.c:11384
0x70e86a cp_parser_declaration_seq_opt
    ../../gcc/cp/parser.c:11263
0x70eb87 cp_parser_translation_unit
    ../../gcc/cp/parser.c:4172
0x70eb87 c_parse_file()
    ../../gcc/cp/parser.c:33294
0x844de2 c_common_parse_file()
    ../../gcc/c-family/c-opts.c:1039
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.




template<typename T, typename U>
constexpr bool Has_difference_type()
{
  return origin::Same<origin::Difference_type<T>, U>();
}

struct S
{
  using difference_type = int;
};


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

end of thread, other threads:[~2015-03-16 11:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-01 22:10 [Bug c++/65269] New: internal compiler error: Segmentation fault hgkamath at hotmail dot com
2015-03-01 22:15 ` [Bug c++/65269] " hgkamath at hotmail dot com
2015-03-09 13:41 ` andrew.n.sutton at gmail dot com
2015-03-12 19:00 ` hgkamath at hotmail dot com
2015-03-12 20:38 ` andrew.n.sutton at gmail dot com
2015-03-13  0:41 ` hgkamath at hotmail dot com
2015-03-16 11:01 ` mpolacek 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).