[Bug target/43742] [4.6 Regression] web.c/union_match_dups segfaults for a null *ref on sh-elf

kkojima at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 14 00:55:00 GMT 2010



------- Comment #4 from kkojima at gcc dot gnu dot org  2010-04-14 00:55 -------
(In reply to comment #3)
> This seems to be due to a pattern that uses a "+" constraint in an input-only
> operand.  The attached patch seems to fix it for me; please confirm.

[I'd like to add Christian to the cc list.]

Although it solves the build failure for sh4-unknown-linux-gnu
and a quick regtesting for c and c++ on that target shows no
new failures, I see some performance regressions for programs
using loops.  Looks that it makes PR target/29953 reopen.


-- 

kkojima at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chrbr at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list