[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-23 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #10 from mkuvyrkov at gcc dot gnu dot org 2010-04-23 10:20 --- The problem seems to be in Richard's patch (http://article.gmane.org/gmane.comp.gcc.patches/130602) checked in r120961. All and all, it seems that revision 120961 should be reverted to enable 'T' constraint for

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-22 Thread maxim at codesourcery dot com
--- Comment #8 from mkuvyrkov at gcc dot gnu dot org 2010-04-22 07:09 --- Subject: Re: [4.5/4.6 regression] ICE in reload_cse_simplify_operands On 4/22/10 3:40 AM, schwab at linux-m68k dot org wrote: --- Comment #7 from schwab at linux-m68k dot org 2010-04-21 23:40 --- I

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-22 Thread schwab at linux-m68k dot org
--- Comment #9 from schwab at linux-m68k dot org 2010-04-22 09:20 --- Probably the author of T didn't realise that !-mpcrel in (!-mpcrel 's') is already implied. It is already a no-op in the -mpcrel case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-21 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #3 from mkuvyrkov at gcc dot gnu dot org 2010-04-21 10:47 --- There are two problems here: 1. The immediate problem is that movsi_m68k doesn't allow (const) to be moved to data register (see last alternative if movsi_m68k). 2. For reason, which I have not yet investigated,

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-21 Thread schwab at linux-m68k dot org
--- Comment #4 from schwab at linux-m68k dot org 2010-04-21 13:22 --- Introduced in r27576. Presumably the first alternative is supposed to catch this case, through T+g, but T does not match if flag_pic, contrary to its documentation (introduced in r120961). --

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-21 Thread maxim at codesourcery dot com
--- Comment #5 from mkuvyrkov at gcc dot gnu dot org 2010-04-21 19:43 --- Subject: Re: [4.5/4.6 regression] ICE in reload_cse_simplify_operands On 4/21/10 5:23 PM, schwab at linux-m68k dot org wrote: --- Comment #4 from schwab at linux-m68k dot org 2010-04-21 13:22 ---

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-21 Thread schwab at linux-m68k dot org
--- Comment #6 from schwab at linux-m68k dot org 2010-04-21 22:51 --- (In reply to comment #5) assuming -mpcrel and -fpic are equivalent: They aren't. -mpcrel implies -fpic, but not the other way round. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-21 Thread schwab at linux-m68k dot org
--- Comment #7 from schwab at linux-m68k dot org 2010-04-21 23:40 --- I think 'T' should accept tls references like 's' does. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-20 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.5.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-19 Thread schwab at linux-m68k dot org
--- Comment #1 from schwab at linux-m68k dot org 2010-04-19 20:13 --- Created an attachment (id=20424) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20424action=view) Preprocessed testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804

[Bug rtl-optimization/43804] [4.5/4.6 regression] ICE in reload_cse_simplify_operands

2010-04-19 Thread schwab at linux-m68k dot org
--- Comment #2 from schwab at linux-m68k dot org 2010-04-19 20:14 --- Created an attachment (id=20425) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20425action=view) Reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43804