public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/64436] New: optimize-bswapdi-3.c fails on aarch64_be-none-elf
@ 2014-12-29 16:38 thopre01 at gcc dot gnu.org
  2014-12-29 16:39 ` [Bug tree-optimization/64436] " thopre01 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2014-12-29 16:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64436

            Bug ID: 64436
           Summary: optimize-bswapdi-3.c fails on aarch64_be-none-elf
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: thopre01 at gcc dot gnu.org

gcc.dg/optimize-bswapdi-3.c started to fail about 2 weeks ago. Investigation
shows that the way bswap create the symbolic number that corresponds to a
bitwise OR is broken for big endian target. There also seems to be some bug in
the computation of the "range" (in bswap terms) of that same symbolic number.

Here is the the testsuite log:

FAIL: gcc.dg/optimize-bswapdi-3.c scan-tree-dump-times bswap "64 bit bswap
implementation found at" 3
FAIL: gcc.dg/optimize-bswapdi-3.c scan-tree-dump-times bswap "64 bit load in
target endianness found at" 3


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/64436] optimize-bswapdi-3.c fails on aarch64_be-none-elf
  2014-12-29 16:38 [Bug tree-optimization/64436] New: optimize-bswapdi-3.c fails on aarch64_be-none-elf thopre01 at gcc dot gnu.org
@ 2014-12-29 16:39 ` thopre01 at gcc dot gnu.org
  2015-01-13 11:23 ` thopre01 at gcc dot gnu.org
  2015-01-28  2:47 ` thopre01 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2014-12-29 16:39 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64436

thopre01 at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-12-29
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/64436] optimize-bswapdi-3.c fails on aarch64_be-none-elf
  2014-12-29 16:38 [Bug tree-optimization/64436] New: optimize-bswapdi-3.c fails on aarch64_be-none-elf thopre01 at gcc dot gnu.org
  2014-12-29 16:39 ` [Bug tree-optimization/64436] " thopre01 at gcc dot gnu.org
@ 2015-01-13 11:23 ` thopre01 at gcc dot gnu.org
  2015-01-28  2:47 ` thopre01 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-01-13 11:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64436

--- Comment #1 from thopre01 at gcc dot gnu.org ---
Author: thopre01
Date: Tue Jan 13 11:23:01 2015
New Revision: 219525

URL: https://gcc.gnu.org/viewcvs?rev=219525&root=gcc&view=rev
Log:
2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR tree-optimization/64436
    * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
    merge of two symbolic numbers for a bitwise OR to ...
    (perform_symbolic_merge): This. Also fix computation of the range and
    end of the symbolic number corresponding to the result of a bitwise OR.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug tree-optimization/64436] optimize-bswapdi-3.c fails on aarch64_be-none-elf
  2014-12-29 16:38 [Bug tree-optimization/64436] New: optimize-bswapdi-3.c fails on aarch64_be-none-elf thopre01 at gcc dot gnu.org
  2014-12-29 16:39 ` [Bug tree-optimization/64436] " thopre01 at gcc dot gnu.org
  2015-01-13 11:23 ` thopre01 at gcc dot gnu.org
@ 2015-01-28  2:47 ` thopre01 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: thopre01 at gcc dot gnu.org @ 2015-01-28  2:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64436

Thomas Preud'homme <thopre01 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |5.0
         Resolution|---                         |FIXED

--- Comment #2 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Fixed as of r219525 in trunk and the bug doesn't affect release branch.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-28  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-29 16:38 [Bug tree-optimization/64436] New: optimize-bswapdi-3.c fails on aarch64_be-none-elf thopre01 at gcc dot gnu.org
2014-12-29 16:39 ` [Bug tree-optimization/64436] " thopre01 at gcc dot gnu.org
2015-01-13 11:23 ` thopre01 at gcc dot gnu.org
2015-01-28  2:47 ` thopre01 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).