re PR c/28286 (ICE with invalid value in #pragma pack)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Tue, 18 Jul 2006 10:08:22 +0000 (10:08 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 18 Jul 2006 10:08:22 +0000 (10:08 +0000)
commit12050e44231e61cf3cf595deb7b828e8fa197cd7
tree3d17b916a205737a2d3169bbb5685b59b41c28ad
parente1cf56b1d989c6e50b4cd89b2956532588bd9881
re PR c/28286 (ICE with invalid value in #pragma pack)

PR c/28286
* c-pragma.c (handle_pragma_pack): Handle invalid constants.

* gcc.dg/pragma-pack-4.c: New test.

From-SVN: r115548
gcc/ChangeLog
gcc/c-pragma.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pragma-pack-4.c [new file with mode: 0644]