This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/77383] New: -fcheck-pointer-bounds -mmpx ICE in make_decl_rtl at varasm.c
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Aug 2016 18:49:41 +0000
- Subject: [Bug c/77383] New: -fcheck-pointer-bounds -mmpx ICE in make_decl_rtl at varasm.c
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77383
Bug ID: 77383
Summary: -fcheck-pointer-bounds -mmpx ICE in make_decl_rtl at
varasm.c
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
Target Milestone: ---
/* gcc -fcheck-pointer-bounds -mmpx */
int main ()
{
int size = 10;
typedef struct
{
char val[size];
} block;
block b;
block retframe_block () {}
retframe_block ();
}
/* gccerr37.c: In function ‘main.chkp’:
* gccerr37.c:12:3: internal compiler error: in make_decl_rtl, at varasm.c:1310
* retframe_block ();
* ^~~~~~~~~~~~~~
* 0xe3219d make_decl_rtl(tree_node*)
* /home/vitti/1tb/vitti/gcc-7/gcc/varasm.c:1306
* 0x82cf32 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
* /home/vitti/1tb/vitti/gcc-7/gcc/expr.c:9755
*0xe9d807 expand_normal
* /home/vitti/1tb/vitti/gcc-7/gcc/expr.h:285
* 0xe9d807 ix86_expand_builtin
* /home/vitti/1tb/vitti/gcc-7/gcc/config/i386/i386.c:41212
* 0x707354 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
* /home/vitti/1tb/vitti/gcc-7/gcc/builtins.c:5801
* 0x82cf69 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
* /home/vitti/1tb/vitti/gcc-7/gcc/expr.c:10733
* 0x71272c initialize_argument_information
* /home/vitti/1tb/vitti/gcc-7/gcc/calls.c:1204
* 0x714f01 expand_call(tree_node*, rtx_def*, int)
* /home/vitti/1tb/vitti/gcc-7/gcc/calls.c:2857
* 0x82cb4d expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
* /home/vitti/1tb/vitti/gcc-7/gcc/expr.c:10736
* 0x83838b store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
* /home/vitti/1tb/vitti/gcc-7/gcc/expr.c:5547
* 0x839e13 expand_assignment(tree_node*, tree_node*, bool)
* /home/vitti/1tb/vitti/gcc-7/gcc/expr.c:5316
* 0x729b45 expand_call_stmt
* /home/vitti/1tb/vitti/gcc-7/gcc/cfgexpand.c:2665
* 0x729b45 expand_gimple_stmt_1
* /home/vitti/1tb/vitti/gcc-7/gcc/cfgexpand.c:3580
* 0x729b45 expand_gimple_stmt
* /home/vitti/1tb/vitti/gcc-7/gcc/cfgexpand.c:3746
* 0x72c740 expand_gimple_basic_block
* /home/vitti/1tb/vitti/gcc-7/gcc/cfgexpand.c:5753
* 0x7314ee execute
* /home/vitti/1tb/vitti/gcc-7/gcc/cfgexpand.c:6367
* 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.
*/