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

Launchpad Bug Tracker 1352356 at bugs.launchpad.net
Mon Aug 4 13:51:01 UTC 2014


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gcc-4.6 (Ubuntu)
       Status: New => Confirmed

-- 
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:
  Unknown
Status in “gcc-4.6” package in Ubuntu:
  Confirmed

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