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

2006-12-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-12-16 18:31 --- *** This bug has been marked as a duplicate of 25161 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[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 a full bug

[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