This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: target/2227: generates unsigned compare in comparison of int to sizeof()
- From: rth at gcc dot gnu dot org
- To: HueyAL at navair dot navy dot mil, LathamCD at navair dot navy dot mil, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: 29 Mar 2002 08:30:47 -0000
- Subject: Re: target/2227: generates unsigned compare in comparison of int to sizeof()
- Reply-to: rth at gcc dot gnu dot org, HueyAL at navair dot navy dot mil, LathamCD at navair dot navy dot mil, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: generates unsigned compare in comparison of int to sizeof()
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Fri Mar 29 00:30:46 2002
State-Changed-Why:
Of course -- size_t is an unsigned type, and that is the
result type of the sizeof operator.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2227