[Bug rtl-optimization/93730] [Bug] internal compiler error: in make_decl_rtl, at varasm.c:1375

2020-02-17 Thread akhilesh.k at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93730

--- Comment #3 from Akhilesh Kumar  ---
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;
}

[Bug rtl-optimization/93730] [Bug] internal compiler error: in make_decl_rtl, at varasm.c:1375

2020-02-13 Thread akhilesh.k at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93730

--- Comment #2 from Akhilesh Kumar  ---
Working on Arm architecture.
I am trying to reproduce the same with sample test case

[Bug rtl-optimization/93730] [Bug] internal compiler error: in make_decl_rtl, at varasm.c:1375

2020-02-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93730

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2020-02-13
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Please provide a testcase.  What architecture is this on?