This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30406] ICE in LOGICAL(8) functions
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jan 2007 23:04:14 -0000
- Subject: [Bug target/30406] ICE in LOGICAL(8) functions
- References: <bug-30406-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from pinskia at gcc dot gnu dot org 2007-01-10 23:04 -------
if ((INTEGRAL_TYPE_P (valtype)
&& TYPE_PRECISION (valtype) < BITS_PER_WORD)
|| POINTER_TYPE_P (valtype))
mode = TARGET_32BIT ? SImode : DImode;
else
mode = TYPE_MODE (valtype);
--------------------------
I think this should be written as:
if ((INTEGRAL_TYPE_P (valtype)
&& TYPE_PRECISION (valtype) < BITS_PER_WORD)
|| POINTER_TYPE_P (valtype))
mode = TARGET_32BIT ? SImode : DImode;
else
mode = TYPE_MODE (valtype);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30406