public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/64807] New: [5 Regression] Wrong-code because of wide-int division
@ 2015-01-26 18:31 jakub at gcc dot gnu.org
  2015-01-26 18:34 ` [Bug tree-optimization/64807] " jakub at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-01-26 18:31 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64807
           Summary: [5 Regression] Wrong-code because of wide-int division
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jakub at gcc dot gnu.org
                CC: emsr at gcc dot gnu.org, jakub at gcc dot gnu.org,
                    nheghathivhistha at gmail dot com, segher at gcc dot gnu.org,
                    trippels at gcc dot gnu.org
        Depends on: 63504, 63988

/* { dg-do run { target int128 } } */
/* { dg-options "-O2" } */

__uint128_t
foo (void)
{
  __uint128_t a = -1;
  __uint128_t b = -1;
  return a / b;
}

int
main ()
{
  if (foo () != 1)
    __builtin_abort ();
  return 0;
}

is miscompiled starting with wide-int merge r210113.


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

end of thread, other threads:[~2015-03-09 20:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-26 18:31 [Bug tree-optimization/64807] New: [5 Regression] Wrong-code because of wide-int division jakub at gcc dot gnu.org
2015-01-26 18:34 ` [Bug tree-optimization/64807] " jakub at gcc dot gnu.org
2015-01-27  0:29 ` zadeck at naturalbridge dot com
2015-01-27  8:27 ` jakub at gcc dot gnu.org
2015-01-27  8:48 ` jakub at gcc dot gnu.org
2015-01-28 18:26 ` LpSolit at netscape dot net
2015-02-03  9:40 ` jakub at gcc dot gnu.org
2015-03-09 20:49 ` trippels 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).