This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67737] [C++1z] ICE in make_decl_rtl, at varasm.c:1299
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Apr 2016 15:14:34 +0000
- Subject: [Bug c++/67737] [C++1z] ICE in make_decl_rtl, at varasm.c:1299
- Auto-submitted: auto-generated
- References: <bug-67737-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67737
Vittorio Zecca <zeccav at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zeccav at gmail dot com
--- Comment #7 from Vittorio Zecca <zeccav at gmail dot com> ---
With gcc 6.1.0, maybe a shorter reproducer
/* gcc -fcheck-pointer-bounds -mmpx p.c */
int main ()
{
int size = 10;
typedef struct
{
char val[size];
} block;
block b;
block retframe_block () {}
retframe_block ();
}
/*
* p.c: In function âmain.chkpâ:
* p.c:11:3: internal compiler error: in make_decl_rtl, at varasm.c:1299
* retframe_block ();
* ^~~~~~~~~~~~~~
* 0xbf101d make_decl_rtl(tree_node*)
* ../../gcc-6.1.0/gcc/varasm.c:1295
* 0x7658b6 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
* ../../gcc-6.1.0/gcc/expr.c:9612
* 0xc4cddf expand_normal
* ../../gcc-6.1.0/gcc/expr.h:262
* 0xc4cddf ix86_expand_builtin
* ../../gcc-6.1.0/gcc/config/i386/i386.c:40323
* 0x67643c expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
* ../../gcc-6.1.0/gcc/builtins.c:5624
* 0x765171 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
* ../../gcc-6.1.0/gcc/expr.c:10591
* 0x682662 initialize_argument_information
* ../../gcc-6.1.0/gcc/calls.c:1186
* 0x682662 expand_call(tree_node*, rtx_def*, int)
* ../../gcc-6.1.0/gcc/calls.c:2699
* 0x764c06 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
* ../../gcc-6.1.0/gcc/expr.c:10594
* 0x76dc39 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
* ../../gcc-6.1.0/gcc/expr.c:5406
* 0x76e98f expand_assignment(tree_node*, tree_node*, bool)
* ../../gcc-6.1.0/gcc/expr.c:5175
* 0x691a9c expand_call_stmt
* ../../gcc-6.1.0/gcc/cfgexpand.c:2658
* 0x691a9c expand_gimple_stmt_1
* ../../gcc-6.1.0/gcc/cfgexpand.c:3548
* 0x691a9c expand_gimple_stmt
* ../../gcc-6.1.0/gcc/cfgexpand.c:3714
* 0x693435 expand_gimple_basic_block
* ../../gcc-6.1.0/gcc/cfgexpand.c:5720
* 0x698316 execute
* ../../gcc-6.1.0/gcc/cfgexpand.c:6335
* 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.
*/