This is the mail archive of the gcc-patches@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]

[PATCH]: Backport fix for PR41963 (miscompilation of 177.mesa)


Hello!

2009-11-07 Uros Bizjak <ubizjak@gmail.com>

    Backport from mainline:
    2009-11-06  Michael Matz <matz@suse.de>

    PR middle-end/41963
    * tree-ssa-math-opts.c (execute_cse_reciprocals): Check all uses
    of a potential reciprocal to really be reciprocals.

testsuite/ChangeLog:

2009-11-07 Uros Bizjak <ubizjak@gmail.com>

    Backport from mainline:
    2009-11-06  Michael Matz <matz@suse.de>

    PR middle-end/41963
    * gcc.target/i386/pr41963.c: New test.

Since this transformation is still activated by -mrecip only in the release branches, I have moved the test to i386 target directory, where this option can be activated.

Patch was tested on x86_64-pc-linux-gnu. OK for 4.4 and 4.3 ?

Uros.

Attachment: p.diff.txt
Description: Text document


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