← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1593608] Re: __FUNCTION__ causes g++ internal compiler error in constexpr functions

 

This bug was fixed in the package gcc-5 - 5.4.0-6ubuntu1~16.04.1

---------------
gcc-5 (5.4.0-6ubuntu1~16.04.1) xenial-proposed; urgency=medium

  * SRU: LP: #1586673. Backport GCC 5.4 to 16.04 LTS.
  * Revert a libstdc++ header reorg done after the 5.3.0 release.
  * Add AArch64 Vulcan cpu support, backport from trunk. LP: #1594452.
  * Revert a libstdc++ header reorg done after the 5.3.0 release (only for
    OS releases including a GCC 5 at release time).
  * Fixes C++ ICE. LP: #1593608.

gcc-5 (5.4.0-6ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.4.0-6) unstable; urgency=medium

  * Fix gdc cross build.
  * Disable the AArch64 Vulcan cpu support for FSF builds, needs a proper
    back port.

gcc-5 (5.4.0-5ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.4.0-5) unstable; urgency=medium

  [ Matthias Klose ]
  * Add AArch64 Vulcan cpu support, backport from trunk. LP: #1594452.
  * Revert a libstdc++ header reorg done after the 5.3.0 release (only for
    OS releases including a GCC 5 at release time).
  * Enforce build using binutils 2.26.1 for unstable/development series.
  * Mark cross compilers as M-A: foreign. Addresses: #827136.
  * Remove the MIPS r6 support again, dak doesn't like unknown architectures.

  [ Aurelien Jarno ]
  * Drop support for loongson 2f (YunQiang Su). Closes: #827554.
  * Apply proposed patch from Matthew Fortune to fix libjava on mips64el.

gcc-5 (5.4.0-4ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.4.0-4) unstable; urgency=medium

  * gdc: Fix linking the runtime library. Closes: #826645.
  * gdc: Fix updates from 5.3.x. Closes: #826583.
  * Update the Linaro support to the 5-2016.06 snapshot.
  * Add MIPS r6 support and bump mipsn32(el) ISA to r2 (YunQiang Su).
    Closes: #824986.
  * Avoid storing -fdebug-prefix-map in DW_AT_producer (for better
    reproducibility). Taken from the trunk (Daniel Kahn Gillmor).
    Closes: #819176.

gcc-5 (5.4.0-3ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.4.0-3) unstable; urgency=medium

  * Update Ada patch for KFreeBSD (Steven Chamberlain). Closes: #826332.

gcc-5 (5.4.0-2) unstable; urgency=medium

  * Fix gdc packaging for architectures without libphobos support.

gcc-5 (5.4.0-1) unstable; urgency=medium

  * GCC 5.4.0 release.
    - Fix PR target/68696 (AArch64), PR fortran/70350.
  * Update embedded timestamp setting patch, backported from the trunk.
  * Update the Linaro support to the 5-2016.05 snapshot.
  * Update gdc to the gcc-5 branch 20160603.

gcc-5 (5.3.1-21ubuntu11) yakkety; urgency=medium

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

gcc-5 (5.3.1-21) unstable; urgency=medium

  * GCC 5.4.0 release candidate 1.
  * Update to SVN 20160528 (r236840, 5.3.1) from the gcc-5-branch.
    - Fix PR libstdc++/69703, PR libstdc++/71038, PR libstdc++/71036,
      PR libstdc++/71037, PR libstdc++/71005, PR libstdc++/71004,
      PR libstdc++/70609, PR target/69634, PR middle-end/68142,
      PR middle-end/69845, PR rtl-optimization/68814, PR lto/69003,
      PR ipa/66487, PR target/69252, PR target/67973 (x86),
      PR middle-end/67278, PR target/67278 (x86), PR tree-optimization/69720,
      PR tree-optimization/67921, PR middle-end/70941, PR middle-end/70931,
      PR tree-optimization/70623, PR tree-optimization/70780, PR c++/70347,
      PR c++/70466, PR fortran/71204, PR fortran/69603, PR libffi/65567,
      PR libstdc++/70762.
  * Update the ibm branch to 20160526.

gcc-5 (5.3.1-20ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.3.1-20) unstable; urgency=medium

  * Update to SVN 20160519 (r236482, 5.3.1) from the gcc-5-branch.
    - Fix PR sanitizer/71160, PR other/61321, PR other/61233, PR c++/70498,
      PR c++/69687, PR c++/70492, PR c++/67394, PR c++/70481, PR target/71161,
      PR ipa/70646, PR tree-optimization/69400, PR target/71145 (alpha),
      PR c++/70353, PR target/70809 (AArch64), PR c++/70613,
      PR target/70963 (PPC), PR c++/70505, PR c++/70494, PR c++/70648,
      PR c++/70353, PR c++/70095, PR c++/70135, PR fortran/69603.

gcc-5 (5.3.1-19ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.3.1-19) unstable; urgency=medium

  * Fix dependency resolution for libraries not built anymore from
    this source package.

gcc-5 (5.3.1-18) unstable; urgency=medium

  * Update to SVN 20160509 (r236033, 5.3.1) from the gcc-5-branch.
    - Fix PR tree-optimization/70526, PR c++/70635, PR ada/70969,
      PR libgfortran/70684, PR target/60290 (Solaris).
  * Call dh_makeshlibs with the --noscripts option when building a
    cross compiler.
  * Fix building cross gnat libs when not building the common libs.
  * Fix building cross mips* multilibs when not building the common libs.
  * Remove old go escape analysis code, removed upstream.
  * Avoid empty architecture lists in build dependencies. Addresses: #823280.
  * Tighten debhelper build dependency for cross build dependencies.
  * Silence some lintian warnings for libstdc++-doc.
  * Allow build dependencies for musl configurations (Helmut Grohne).
    Addresses: #823769.

gcc-5 (5.3.1-17) unstable; urgency=medium

  * Update to SVN 20160429 (r235638, 5.3.1) from the gcc-5-branch.
    - Fix PR java/70839, PR target/70858 (x86), PR driver/70132,
      PR target/70098 (PPC), PR ada/70786.

  * Always configure with --enable-targets=powerpcle-linux on ppc64el.
  * Allow embedded timestamps by C/C++ macros to be set externally (Eduard
    Sanou).
  * Default the 32bit x86 architectures to i686, keep i585 symlinks.
    See https://lists.debian.org/debian-devel/2015/09/msg00589.html
  * Build-depend on debhelper (>= 9) and dpkg-dev (>= 1.17.14).
  * Fix PR driver/70192, taken from the trunk.

gcc-5 (5.3.1-16ubuntu3) yakkety; urgency=medium

  * Update to SVN 20160429 (r235638, 5.3.1) from the gcc-5-branch.
    - Fix PR java/70839, PR target/70858 (x86), PR driver/70132,
      PR target/70098 (PPC), PR ada/70786.

  * Always configure with --enable-targets=powerpcle-linux on ppc64el.
  * Allow embedded timestamps by C/C++ macros to be set externally (Eduard
    Sanou).
  * Build-depend on debhelper (>= 9) and dpkg-dev (>= 1.17.14).
  * Fix PR driver/70192, taken from the trunk.

gcc-5 (5.3.1-16ubuntu1) yakkety; urgency=medium

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

gcc-5 (5.3.1-16) unstable; urgency=medium

  * Update to SVN 20160424 (r235395, 5.3.1) from the gcc-5-branch.
  * Stop building libcc1 and libgccjit0, when not building common libs.
  * Stop building libraries built by GCC 6.
  * Explicitly build-depend on libgraphite2-dev to work-around #822432.
  * Bump standards version to 3.9.8.

gcc-5 (5.3.1-15ubuntu1) yakkety; urgency=medium

  * Turn on -fPIE and -z now by default on amd64 and ppc64el.

gcc-5 (5.3.1-15) unstable; urgency=medium

  * Update to SVN 20160421 (r235347, 5.3.1) from the gcc-5-branch.
    - Fix PR target/70566 (ARM, wrong-code), PR target/70117 (PPC, wrong-code),
      PR target/70630 (sparc), PR target/70107 (PPC, wrong-code),
      PR c++/70096 (wrong code), PR libstdc++/69478, PR libstdc++/70503,
      PR libstdc++/69464, PR c/70297, PR target/70674 (390x, LP: #1572613),
      PR target/70662 (x86), PR target/70044 (AArch64), PR c++/67164.

  [ Matthias Klose ]
  * Fix ice on ARM32. Revert r234641 for gcc-linaro, which removed support
    for %( and %) output modifiers.
  * Update the Linaro support to the 5-2016.04 snapshot.
  * Fix PR target/69148 (s390x), taken from the trunk.
  * Strip the lto1 binary again to save some disk space. Addresses: #783876.

  [ Aurelien Jarno ]
  * Apply proposed patch for PR target/68273 (Wrong code on mips/mipsel due to
    (invalid?) peeking at alignments in function_arg) on mips and mipsel.

  [ Samuel Thibault ]
  * patches/hurd-gprof.diff: Cherry-pick trunk fix for gprof.

 -- Matthias Klose <doko@xxxxxxxxxx>  Mon, 04 Jul 2016 15:14:45 +0200

** Changed in: gcc-5 (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1593608

Title:
  __FUNCTION__ causes g++ internal compiler error in constexpr functions

Status in gcc-5 package in Ubuntu:
  Fix Released
Status in gcc-5 source package in Xenial:
  Fix Released

Bug description:
  // bug.cpp
  // g++ -std=c++14 bug.cpp -DCAUSE_GCC_INTERNAL_COMPILER_ERROR
  inline constexpr bool bug() noexcept {
  #ifdef CAUSE_GCC_INTERNAL_COMPILER_ERROR
    auto tmp = __FUNCTION__; // same for __PRETTY_FUNCTION__
  #else
    auto tmp = "bug";
  #endif
    return true;
  }
  static_assert(bug(), "g++ 5.3.1 bug");
  int main(int, const char *[]) { return 0; }

  $ g++ -std=c++14 bug.cpp

  $ g++ -std=c++14 bug.cpp -DCAUSE_GCC_INTERNAL_COMPILER_ERROR
  bug.cpp:11:18:   in constexpr expansion of ‘bug()’
  bug.cpp:11:38: internal compiler error: Segmentation fault
   static_assert(bug(), "g++ 5.3.1 bug");
                                        ^
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.

  $ gcc --version
  gcc (Ubuntu 5.3.1-14ubuntu2.1) 5.3.1 20160413
  Copyright (C) 2015 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  $ cat /etc/lsb-release 
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=16.04
  DISTRIB_CODENAME=xenial
  DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1593608/+subscriptions