This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2006 10:19:35 -0000
- Subject: [Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
- References: <bug-28286-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from reichelt at gcc dot gnu dot org 2006-07-18 10:19 -------
Subject: Bug 28286
Author: reichelt
Date: Tue Jul 18 10:19:28 2006
New Revision: 115550
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115550
Log:
PR c/28286
* c-pragma.c (handle_pragma_pack): Handle invalid constants.
* gcc.dg/pragma-pack-4.c: New test.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pragma-pack-4.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/c-pragma.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286