[Bug c/30231] New: Segmentation fault on non-const array size

2006-12-16 Thread mikhail dot vorozhtsov at gmail dot com
rity: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikhail dot vorozhtsov at gmail dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/

[Bug c/30231] Segmentation fault on non-const array size

2006-12-16 Thread mikhail dot vorozhtsov at gmail dot com
--- Comment #1 from mikhail dot vorozhtsov at gmail dot com 2006-12-16 12:31 --- Created an attachment (id=12817) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12817&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30231

[Bug c/30231] Segmentation fault on non-const array size

2006-12-16 Thread mikhail dot vorozhtsov at gmail dot com
--- Comment #2 from mikhail dot vorozhtsov at gmail dot com 2006-12-16 12:42 --- (In reply to comment #0) BTW, g++ works fine: > g++ test.c test.c:3: error: array bound is not an integer constant > gcc test.c test.c:3: internal compiler error: Segmentation fault Please submit