This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/85427] New: internal compiler error: in constant_lower_bound, at poly-int.h:1527
- From: "shlei930 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 17 Apr 2018 05:17:07 +0000
- Subject: [Bug c/85427] New: internal compiler error: in constant_lower_bound, at poly-int.h:1527
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85427
Bug ID: 85427
Summary: internal compiler error: in constant_lower_bound, at
poly-int.h:1527
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: shlei930 at gmail dot com
Target Milestone: ---
$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/home/suhua/compilers/trunk/root-gcc
--enable-languages=c,c++ --disable-werror --enable-multilib
Thread model: posix
gcc version 8.0.1 20180416 (experimental) [trunk revision 259396] (GCC)
$ gcc-trunk abc.c
during RTL pass: expand
abc.c: In function ‘fn1’:
abc.c:3:13: internal compiler error: in constant_lower_bound, at
poly-int.h:1527
int fn1() { fn1(a, b, c, d, e, f, g, h, i, j, k); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x5ff4f0 long constant_lower_bound<1u, long>(poly_int_pod<1u, long> const&)
../../gcc/gcc/poly-int.h:1527
0x5ff4f0 expand_call(tree_node*, rtx_def*, int)
../../gcc/gcc/calls.c:3763
0x9b26ab expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
../../gcc/gcc/expr.c:11007
0x8ad45e expand_expr
../../gcc/gcc/expr.h:280
0x8ad45e expand_call_stmt
../../gcc/gcc/cfgexpand.c:2690
0x8ad45e expand_gimple_stmt_1
../../gcc/gcc/cfgexpand.c:3624
0x8ad45e expand_gimple_stmt
../../gcc/gcc/cfgexpand.c:3790
0x8ae4df expand_gimple_basic_block
../../gcc/gcc/cfgexpand.c:5819
0x8b30b7 execute
../../gcc/gcc/cfgexpand.c:6425
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
$ cat abc.c
typedef struct { char type[900000000000000000]; } t;
t a, b, c, d, e, f, g, h, i, j, k;
int fn1() { fn1(a, b, c, d, e, f, g, h, i, j, k); }