[Bug c/69669] [5 Regression] ICE with enum __attribute__((mode(QI)))
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 10 18:45:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69669
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Feb 10 18:44:52 2016
New Revision: 233301
URL: https://gcc.gnu.org/viewcvs?rev=233301&root=gcc&view=rev
Log:
Backported from mainline
2016-02-04 Jakub Jelinek <jakub@redhat.com>
PR c/69669
* c-decl.c (finish_enum): When honoring mode attribute,
make sure to use proper TYPE_MIN_VALUE and TYPE_MAX_VALUE.
* c-c++-common/pr69669.c: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/c-c++-common/pr69669.c
Modified:
branches/gcc-5-branch/gcc/c/ChangeLog
branches/gcc-5-branch/gcc/c/c-decl.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list