https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
Ramana Radhakrishnan changed:
What|Removed |Added
CC||david.gilbert at linaro dot org
-
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
Carrot changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
--- Comment #10 from carrot at gcc dot gnu.org 2011-07-29 08:36:11 UTC ---
Author: carrot
Date: Fri Jul 29 08:35:59 2011
New Revision: 176917
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176917
Log:
PR rtl-optimization/49799
* co
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
--- Comment #9 from carrot at gcc dot gnu.org 2011-07-29 01:27:32 UTC ---
Author: carrot
Date: Fri Jul 29 01:27:29 2011
New Revision: 176911
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176911
Log:
PR rtl-optimization/49799
* com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
--- Comment #8 from Carrot 2011-07-26 02:51:39 UTC
---
(In reply to comment #7)
> No, you miss the point.
>
> Internally we must not generate (ashift (reg) (const_int)) where the const is
> negative.
>
> Note that your testcasegenerates a reg s
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
--- Comment #7 from Richard Earnshaw 2011-07-25
09:45:51 UTC ---
No, you miss the point.
Internally we must not generate (ashift (reg) (const_int)) where the const is
negative.
Note that your testcasegenerates a reg shift.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
--- Comment #6 from Carrot 2011-07-25 09:25:22 UTC
---
(In reply to comment #5)
> We should never generate a shift of -1. Instead the code that does that
> should
> return (clobber const_int 0).
I'm afraid this method may impact gcc too much.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
--- Comment #5 from Richard Earnshaw 2011-07-25
09:03:30 UTC ---
We should never generate a shift of -1. Instead the code that does that should
return (clobber const_int 0).
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49799
Carrot changed:
What|Removed |Added
Component|target |rtl-optimization
--- Comment #4 from Carrot 201