[Bug tree-optimization/21173] [4.0/4.1 regression] miscompiled pointer subtraction broke Linux kernel
dberlin at dberlin dot org
gcc-bugzilla@gcc.gnu.org
Sat Apr 23 15:13:00 GMT 2005
------- Additional Comments From dberlin at gcc dot gnu dot org 2005-04-23 15:13 -------
Subject: Re: [4.0/4.1 regression] miscompiled
pointer subtraction broke Linux kernel
> yes
>
> In fact, the error actually makes no sense (IE you guys are overlooking
> an important fact).
>
> is_gimple_min_invariants are legal operands to unary expressions,
> regardless of whether they are "complex" or not, or so i was told.
>
> So if genop1 is is_gimple_min_invariant, it should be fine there, and
> you shouldn't need to use folded.
>
Forget it, genop1 doens't include the operation, and folded does.
I forgot about that
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21173
More information about the Gcc-bugs
mailing list