This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/39488] ARM ABI: enum comparison against zero optimized away
- From: "algrant at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2009 09:45:43 -0000
- Subject: [Bug c/39488] ARM ABI: enum comparison against zero optimized away
- References: <bug-39488-1535@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from algrant at acm dot org 2009-03-18 09:45 -------
No, the enum is signed, see AAPCS 7.1.3: "the container type is int
unless the upper bound is greater than 2147483647".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39488