This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/13772] [tree-ssa] ICE in get_expr_operands


------- Additional Comments From rth at redhat dot com  2004-01-22 19:45 -------
Subject: Re: PR 13772 candidate fix

On Thu, Jan 22, 2004 at 02:07:12PM +0100, Andreas Schwab wrote:
> (mem/s:TI (post_modify:DI (reg/f:DI 36 loc4 [400])
>         (plus:DI (reg/f:DI 36 loc4 [400])
>             (const_int 8 [0x8]))) [4 opt__R47s+0 S16 A128])

Yep, looking at the patch, I was about to remind Zack that 
(1) post-modify can take registers as well as constants, and
(2) you have to check for overflowing the 9-bit post-modify
    constant.

Hum, and, actually, that post-modify seems very improbable.
addr += addr?  There's sure to be a typo somewhere.


r~


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13772


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]