[Bug 1815057] Re: [UBUNTU] GCC Wrong code generate for floating point workloads Ubuntu 18.04

Launchpad Bug Tracker 1815057 at bugs.launchpad.net
Mon Apr 29 19:17:12 UTC 2019


This bug was fixed in the package gcc-7 - 7.4.0-1ubuntu1~18.04

---------------
gcc-7 (7.4.0-1ubuntu1~18.04) bionic-proposed; urgency=medium

  * SRU: LP: #1814369.
  * Fix target/88856, taken from the gcc-7-branch. LP: #1815057.
  * Fix PR tree-optimization/89505, taken from the gcc-8 branch.

gcc-7 (7.4.0-1ubuntu1) disco; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-7 (7.4.0-1) unstable; urgency=medium

  * GCC 7.4.0 release.
  * Back-out the gcc-search-prefixed-as-ld patch. See #915194.

gcc-7 (7.3.0-31ubuntu1) disco; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-7 (7.3.0-31) unstable; urgency=medium

  * GCC 7.4.0 release candidate 1.
  * Update to SVN 20181129 (r266612) from the gcc-7-branch.
    - Fix PR libstdc++/88199, PR libstdc++/87822, PR tree-optimization/79351,
      PR bootstrap/81033, PR target/81733, PR target/52795,
      PR middle-end/87645, PR middle-end/87610, PR tree-optimization/87665,
      PR tree-optimization/87745, PR tree-optimization/87665,
      PR middle-end/86139, PR middle-end/86076, PR target/88051 (x86),
      PR target/82961, PR target/87867 (ARM), PR tree-optimization/84777,
      PR rtl-optimization/84003, PR target/87853 (x86), PR target/87928 (x86),
      PR rtl-optimization/85925, PR debug/88006, PR debug/87462,
      PR middle-end/58372, PR c++/84281, PR c++/87075, PR fortran/88073,
      PR fortran/88143, PR fortran/87597.
  * Backport the libstdc++ mersenne twister optimization for AArch64, so that
    the random header is the same on all architectures (Ubuntu only).
    LP: #1799955.
  * Fix VCS attribute in the control file. Addresses: #912405.

gcc-7 (7.3.0-30ubuntu1) disco; urgency=medium

  * Backport the libstdc++ mersenne twister optimization for AArch64, so that
    the random header is the same on all architectures (Ubuntu only).
    LP: #1799955.

gcc-7 (7.3.0-30) unstable; urgency=medium

  * Update to SVN 20181030 (r265622) from the gcc-7-branch.
    - Fix PR middle-end/86542, PR middle-end/86539, PR middle-end/86660,
      PR libstdc++/87749, PR libstdc++/87704, PR libstdc++/79433,
      PR libstdc++/87641, PR libstdc++/86751, PR libstdc++/78595,
      PR libstdc++/87061, PR libstdc++/70966, PR libstdc++/77854,
      PR libstdc++/87538, PR tree-optimization/87473, PR middle-end/87623,
      PR target/87511 (AArch64), PR target/87550 (x86), PR middle-end/87248,
      PR rtl-optimization/87065, PR middle-end/86627, PR middle-end/86542,
      PR middle-end/86539, PR middle-end/86660, PR middle-end/87024,
      PR middle-end/86505, PR target/87370 (x86), PR target/87517 (x86),
      PR target/87522 (x86), PR other/87353, PR target/87467 (x86),
      PR target/87033 (PPC), PR debug/86687, PR c++/3698, PR c++/86208,
      PR fortran/86421.
  * Don't configure native builds with --with-sysroot. Apparently this cannot
    be completely overridden with the command line option --sysroot.
  * Update VCS attributes in the control file.

gcc-7 (7.3.0-29) unstable; urgency=medium

  * Update to SVN 20180904 (r264075) from the gcc-7-branch.
    - Fix PR sanitizer/86022, PR tree-optimization/85859, PR target/86662,
      PR target/87014 (x86), PR c++/86763.

gcc-7 (7.3.0-28ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

gcc-7 (7.3.0-28) unstable; urgency=medium

  * Update to SVN 20180814 (r264534) from the gcc-7-branch.
    - Fix PR libstdc++/86138, PR libstdc++/85672, PR libstdc++/84654,
      PR libstdc++/80893, PR libstdc++/80893, PR libstdc++/68519,
      PR libstdc++/86292, PR libstdc++/60555, PR libstdc++/86861,
      PR libstdc++/86734, PR rtl-optimization/85645, PR rtl-optimization/85645,
      PR target/86197 (PPC), PR middle-end/86705, PR c++/86728.
    - Fix PR bootstrap/86724. Closes: #905539.

  [ Matthias Klose ]
  * Add some basic autopkg tests for Ada, C, C++, Go, OpenMP and Fortran.
  * Build again using gnat-7.

  [ Nicolas Boulenguez ]
  * gnat: Improve the ada-gcc-name patch.

gcc-7 (7.3.0-27ubuntu1) cosmic; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from upstream sources.

 -- Matthias Klose <doko at ubuntu.com>  Mon, 01 Apr 2019 09:44:57 +0200

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1815057

Title:
  [UBUNTU] GCC Wrong code generate for floating point workloads Ubuntu
  18.04

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in gcc-7 package in Ubuntu:
  Fix Released
Status in gcc-8 package in Ubuntu:
  Fix Released
Status in gcc-7 source package in Bionic:
  Fix Released
Status in gcc-8 source package in Bionic:
  Fix Released
Status in gcc-7 source package in Cosmic:
  Fix Released
Status in gcc-8 source package in Cosmic:
  Fix Released

Bug description:
  An IBM Z GCC backend problem leads to wrong code being generated for
  some floating point workloads.

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

  A patch has been committed to the GCC 7 and 8 upstream branch and
  needs to be picked up for the Ubuntu 18.04 compiler.

  https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=268551

  This change might require rebuilding floating point related packages.
  Although the actual problem is hard to trigger. I could only reproduce
  it in case if conversion introduces load on condition instructions in
  the ce2 pass. The testcase I've looked into came from the python scipy
  package which builds with -funroll-loops. The load on condition
  opportunity in that case was introduced with the RTL loop unrolling.
  This made the split1 pass to use the problematic splitter generating
  wrong code in the end.

  According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=915738

  The patch has been picked up for gcc-8 8.2.0-18 already

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1815057/+subscriptions



More information about the foundations-bugs mailing list