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

--- Comment #3 from Akhilesh Kumar <akhilesh.k at samsung dot com> ---
Please find test application to reproduce this issue 


bash-3.2# g++ -fdump-tree-all /tmp/akhilesh.cpp                                 
during RTL pass: expand
/tmp/akhilesh.cpp: In function 'int main()':
/tmp/akhilesh.cpp:4:15: internal compiler error: in make_decl_rtl, at
varasm.c:1375
    4 |  unsigned int iDefaultGammaTable[3][GammaSeedCnt] = {{0,},};
      |               ^~~~~~~~~~~~~~~~~~
libbacktrace could not find executable to open

bash-3.2# cat /tmp/akhilesh.cpp 
int Seed=1024;
int main()
{
        unsigned int DefaultGammaTable[3][Seed] = {{0,},};
        return 0;
}


even same issue is reproducible with below test case also

akhilesh.k@DELL-BUILD10:~$ cat test.c 
int abc=1;
int main()
{
        int array[1][abc] ={0};  << But work well if we changes from 0 t0 1 
        return 0;
}

Reply via email to