Bug 1096488 - ICE In lambda function
Summary: ICE In lambda function
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-11 04:30 UTC by Sami Farin
Modified: 2014-05-12 07:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-12 07:54:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
preprocessed source (8.98 MB, text/plain)
2014-05-11 04:30 UTC, Sami Farin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 61151 0 None None None Never

Description Sami Farin 2014-05-11 04:30:49 UTC
Created attachment 894373 [details]
preprocessed source

Description of problem:
In file included from /c/honeypenny/src/p2p/net_node.h:245:0,
                 from /c/honeypenny/src/rpc/core_rpc_server.h:13,
                 from /c/honeypenny/src/rpc/core_rpc_server.cpp:10:
/c/honeypenny/src/p2p/net_node.inl: In lambda function:
/c/honeypenny/src/p2p/net_node.inl:1020:9: internal compiler error: Segmentation fault
         m_net_server.get_config_object().close(ping_context.m_connection_id);
         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccEPTziy.out file, please attach this to your bugreport.


Version-Release number of selected component (if applicable):
4.9.0-3

How reproducible:
100%

Steps to Reproduce:
1. compile core_rpc_server.cpp
2.
3.

Actual results:
segfault

Expected results:
compiling

Additional info:

Comment 1 Sami Farin 2014-05-11 09:28:55 UTC
gcc git-5623c8ef9c957762901e572b63649115a38ed731

/c/honeypenny/src/p2p/net_node.inl: In lambda function:
/c/honeypenny/src/p2p/net_node.inl:1020:9: internal compiler error: Segmentation fault
         m_net_server.get_config_object().close(ping_context.m_connection_id);
         ^
0xb76f3f crash_signal
	../.././gcc/toplev.c:337
0xda1ce0 strip_array_types(tree_node*)
	../.././gcc/tree.c:7855
0x68de18 cp_type_quals(tree_node const*)
	../.././gcc/cp/typeck.c:8817
0x6eb19f finish_non_static_data_member(tree_node*, tree_node*, tree_node*)
	../.././gcc/cp/semantics.c:1711
0x6ec605 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*, bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int)
	../.././gcc/cp/semantics.c:3439
0x660ddb cp_parser_primary_expression
	../.././gcc/cp/parser.c:4632
0x661a2a cp_parser_postfix_expression
	../.././gcc/cp/parser.c:5989
0x664e83 cp_parser_unary_expression
	../.././gcc/cp/parser.c:7190
0x665b6f cp_parser_binary_expression
	../.././gcc/cp/parser.c:7895
0x666051 cp_parser_assignment_expression
	../.././gcc/cp/parser.c:8133
0x6685c3 cp_parser_expression
	../.././gcc/cp/parser.c:8295
0x668dec cp_parser_expression
	../.././gcc/cp/parser.c:8334
0x668dec cp_parser_expression_statement
	../.././gcc/cp/parser.c:9653
0x65dc78 cp_parser_statement
	../.././gcc/cp/parser.c:9504
0x65eaa9 cp_parser_statement_seq_opt
	../.././gcc/cp/parser.c:9776
0x65f87d cp_parser_lambda_body
	../.././gcc/cp/parser.c:9280
0x65f87d cp_parser_lambda_expression
	../.././gcc/cp/parser.c:8785
0x6607e0 cp_parser_primary_expression
	../.././gcc/cp/parser.c:4323
0x661a2a cp_parser_postfix_expression
	../.././gcc/cp/parser.c:5989
0x664e83 cp_parser_unary_expression
	../.././gcc/cp/parser.c:7190

Comment 2 Sami Farin 2014-05-11 10:59:39 UTC
gcc 4.9.0-1 works

Comment 3 Jakub Jelinek 2014-05-12 07:54:10 UTC
Tracking this upstream: http://gcc.gnu.org/PR61151


Note You need to log in before you can comment on or make changes to this bug.