[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
--- Comment #3 from reichelt at gcc dot gnu dot org 2006-07-18 10:08 --- Subject: Bug 28286 Author: reichelt Date: Tue Jul 18 10:08:22 2006 New Revision: 115548 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115548 Log: PR c/28286 * c-pragma.c (handle_pragma_pack): Handle invalid constants. * gcc.dg/pragma-pack-4.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pragma-pack-4.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-pragma.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
--- Comment #4 from reichelt at gcc dot gnu dot org 2006-07-18 10:17 --- Subject: Bug 28286 Author: reichelt Date: Tue Jul 18 10:17:15 2006 New Revision: 115549 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=115549 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_1-branch/gcc/testsuite/gcc.dg/pragma-pack-4.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/c-pragma.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
--- 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=gccview=revrev=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
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
--- Comment #6 from reichelt at gcc dot gnu dot org 2006-07-18 10:21 --- Fixed on mainline, 4.1 branch, and 4.0 branch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
--- Comment #2 from patchapp at dberlin dot org 2006-07-17 11:05 --- Subject: Bug number PR c/28286 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2006-07/msg00721.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
--- Comment #1 from reichelt at gcc dot gnu dot org 2006-07-17 05:22 --- We also get ICE without a previous error message for the following code: == #pragma pack(0.5) == bug.c:1: internal compiler error: tree check: expected integer_cst, have real_cst in handle_pragma_pack, at c-pragma.c:163 Please submit a full bug report, [etc.] Testing a patch. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot |dot org |org Keywords|error-recovery | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286
[Bug c/28286] [4.0/4.1/4.2 regression] ICE with invalid value in #pragma pack
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28286