[Bug rtl-optimization/93730] New: [Bug] internal compiler error: in make_decl_rtl, at varasm.c:1375
akhilesh.k at samsung dot com
gcc-bugzilla@gcc.gnu.org
Thu Feb 13 10:10:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93730
Bug ID: 93730
Summary: [Bug] internal compiler error: in make_decl_rtl, at
varasm.c:1375
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: akhilesh.k at samsung dot com
Target Milestone: ---
Hello
I am Getting "internal compiler error: in make_decl_rtl, at varasm.c:1375"
during RTL optimization, but works fine if i pass value instead of variable
name
#g++ -c -Wno-format-truncation -Wno-narrowing MYTV/Picture.cpp
-I=/usr/include/kernel-headers/ -I=/usr/include/mylog/
-I/usr/include/kernel-interfaces/
during RTL pass: expand
/home/user/MY/Picture.cpp:1521:13: internal compiler error: in make_decl_rtl,
at varasm.c:1375
1521 | int GammaTable[RGB_LAST][SeedCnt] = {{0,},}; /Where my seed count
is 1024
| ^~~~~~~~~~~~~~~~~~
but code works fine if i pass direct Value in array
-int GammaTable[RGB_LAST][SeedCnt] = {{0,},};
int GammaTable[RGB_LAST][1024] = {{0,},};
#g++ -c -Wno-format-truncation -Wno-narrowing MYTV/Picture.cpp
-I=/usr/include/kernel-headers/ -I=/usr/include/mylog/
-I/usr/include/kernel-interfaces/
#
Unfortunately I can share Picture.cpp code
but I am trying to reproduce this issue with some sample test application
More information about the Gcc-bugs
mailing list