public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58907] New: [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN
@ 2013-10-28 16:59 ppluzhnikov at google dot com
  2013-10-28 17:11 ` [Bug c++/58907] " ppluzhnikov at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2013-10-28 16:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58907

            Bug ID: 58907
           Summary: [c++11] ICE in gimplify_var_or_parm_decl, at
                    gimplify.c:NNNN
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ppluzhnikov at google dot com

Created attachment 31100
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31100&action=edit
test case

Google ref: b/11241398

Attached test cases causes ICE in lambda:
g++ (GCC) 4.9.0 20131016 (experimental)


/g++ -c -std=c++11 t.cc
t.cc: In lambda function:
t.cc:96:9: internal compiler error: in gimplify_var_or_parm_decl, at
gimplify.c:2059
         [&]
         ^
0x9657f0 gimplify_var_or_parm_decl
        ../../gcc/gimplify.c:2059
0x96821e gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:8113
0x973748 gimplify_modify_expr
        ../../gcc/gimplify.c:4786
0x967ebc gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:7693
0x96c3f6 gimplify_stmt(tree_node**, gimple_statement_d**)
        ../../gcc/gimplify.c:5627
0x96c5c5 gimplify_and_add
        ../../gcc/gimplify.c:344
0x96c5c5 gimplify_init_ctor_eval
        ../../gcc/gimplify.c:3818
0x971b04 gimplify_init_constructor
        ../../gcc/gimplify.c:4164
0x9729ae gimplify_modify_expr_rhs
        ../../gcc/gimplify.c:4427
0x9735d4 gimplify_modify_expr
        ../../gcc/gimplify.c:4745
0x967ebc gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:7693
0x97d3c0 gimplify_target_expr
        ../../gcc/gimplify.c:5558
0x967ed6 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:8049
0x96c3f6 gimplify_stmt(tree_node**, gimple_statement_d**)
        ../../gcc/gimplify.c:5627
0x968d59 gimplify_cleanup_point_expr
        ../../gcc/gimplify.c:5403
0x968d59 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:8045
0x96c3f6 gimplify_stmt(tree_node**, gimple_statement_d**)
        ../../gcc/gimplify.c:5627
0x96936b gimplify_statement_list
        ../../gcc/gimplify.c:1538
0x96936b gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        ../../gcc/gimplify.c:8097
0x96c3f6 gimplify_stmt(tree_node**, gimple_statement_d**)
        ../../gcc/gimplify.c:5627
Please submit a full bug report,

Same error in gcc-4_8 branch.


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

* [Bug c++/58907] [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN
  2013-10-28 16:59 [Bug c++/58907] New: [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN ppluzhnikov at google dot com
@ 2013-10-28 17:11 ` ppluzhnikov at google dot com
  2015-08-17 19:19 ` trippels at gcc dot gnu.org
  2015-08-17 19:29 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ppluzhnikov at google dot com @ 2013-10-28 17:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58907

--- Comment #1 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
For some reason "make" didn't update the version stamp.
make clean && make

Same problem with current trunk:
g++ (GCC) 4.9.0 20131028 (experimental)


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

* [Bug c++/58907] [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN
  2013-10-28 16:59 [Bug c++/58907] New: [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN ppluzhnikov at google dot com
  2013-10-28 17:11 ` [Bug c++/58907] " ppluzhnikov at google dot com
@ 2015-08-17 19:19 ` trippels at gcc dot gnu.org
  2015-08-17 19:29 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-17 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Actually a dup of 67244, so fixed, too.

*** This bug has been marked as a duplicate of bug 67244 ***


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

* [Bug c++/58907] [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN
  2013-10-28 16:59 [Bug c++/58907] New: [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN ppluzhnikov at google dot com
  2013-10-28 17:11 ` [Bug c++/58907] " ppluzhnikov at google dot com
  2015-08-17 19:19 ` trippels at gcc dot gnu.org
@ 2015-08-17 19:29 ` trippels at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-17 19:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Sorry for the noise. It is a dup of PR62272 after all.

Fixed for gcc-5 and gcc-6 by r226950 and r226951.

*** This bug has been marked as a duplicate of bug 62272 ***


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

end of thread, other threads:[~2015-08-17 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-28 16:59 [Bug c++/58907] New: [c++11] ICE in gimplify_var_or_parm_decl, at gimplify.c:NNNN ppluzhnikov at google dot com
2013-10-28 17:11 ` [Bug c++/58907] " ppluzhnikov at google dot com
2015-08-17 19:19 ` trippels at gcc dot gnu.org
2015-08-17 19:29 ` 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).