[Bug c/69669] [5/6 Regression] ICE with enum __attribute__((mode(QI)))
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 4 22:17:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69669
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Feb 4 22:17:05 2016
New Revision: 233154
URL: https://gcc.gnu.org/viewcvs?rev=233154&root=gcc&view=rev
Log:
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:
trunk/gcc/testsuite/c-c++-common/pr69669.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list