public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hgkamath at hotmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65269] New: internal compiler error: Segmentation fault
Date: Sun, 01 Mar 2015 22:10:00 -0000	[thread overview]
Message-ID: <bug-65269-4@http.gcc.gnu.org/bugzilla/> (raw)

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;
};


             reply	other threads:[~2015-03-01 22:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-01 22:10 hgkamath at hotmail dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-65269-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).