diff options
author | Richard Henderson <rth@redhat.com> | 2004-12-19 13:08:33 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-12-19 13:08:33 -0800 |
commit | cd801ba16686d649dece10ca44a9167872397e1d (patch) | |
tree | 6527e524281c131665bd6c6a7f833615dee15251 /gcc/testsuite | |
parent | 199db659d0af9e43608fee9862ede41658f2ca52 (diff) | |
download | gcc-cd801ba16686d649dece10ca44a9167872397e1d.zip gcc-cd801ba16686d649dece10ca44a9167872397e1d.tar.gz gcc-cd801ba16686d649dece10ca44a9167872397e1d.tar.bz2 |
re PR tree-optimization/18067 (ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA) with const int.)
PR 18067
* stor-layout.c (variable_size): Force creation of a SAVE_EXPR.
From-SVN: r92389
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/20041219-1.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/debug/20041219-1.c b/gcc/testsuite/gcc.dg/debug/20041219-1.c new file mode 100644 index 0000000..6a62bb9 --- /dev/null +++ b/gcc/testsuite/gcc.dg/debug/20041219-1.c @@ -0,0 +1,8 @@ +/* PR 18067 */ +/* { dg-do compile } */ + +void foo(int i) +{ + const int j=i+1; + int a[1][j*j]; +} |