[Bug 1352356] Re: [C++0x] Internal compiler error when using initializer lists

Matthias Klose doko at ubuntu.com
Thu Apr 2 09:17:55 UTC 2015


won't fix for GCC 4.6. you can find backports of newer compilers in the
ubuntu-toolchain-r/test PPA.

** Changed in: gcc-4.6 (Ubuntu)
       Status: Confirmed => Won't Fix

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

Title:
   [C++0x] Internal compiler error when using initializer lists

Status in FEniCS Project:
  New
Status in The GNU Compiler Collection:
  Fix Released
Status in gcc-4.6 package in Ubuntu:
  Won't Fix

Bug description:
  From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50478
   Matti Rintala 2011-09-22 06:39:46 UTC

  The following short program shows the problem:

  #include <set>
  #include <string>

  int main() {
      std::set<std::string> s;
      s.insert( {"abc", "def", "hij"} ); // This line is the problem
  }

  > g++ -std=c++0x test.cc
  test.cc: In function ‘int main()’:
  test.cc:6:37: internal compiler error: in joust, at cp/call.c:7646

  If I compile with -pedantic, the program compiles fine.

To manage notifications about this bug go to:
https://bugs.launchpad.net/fenics/+bug/1352356/+subscriptions



More information about the foundations-bugs mailing list