This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30338] [4.3 Regression] infinite loop in maybe_canonicalize_comparison
- 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: 31 Dec 2006 16:49:04 -0000
- Subject: [Bug middle-end/30338] [4.3 Regression] infinite loop in maybe_canonicalize_comparison
- References: <bug-30338-9596@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-12-31 16:49 -------
(In reply to comment #5)
> (that needs to read
>
> return fold_build1 (BIT_NOT_EXPR, type, op1);
No it should read:
return fold_build1 (BIT_NOT_EXPR, type, fold_convert (type, arg1) );
There are a couple more issues like this in fold-const.c with BIT_NOT_EXPR
folding.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30338