https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66651
Bug ID: 66651 Summary: altivec.h + c++11 r Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: timothee.ewart at epfl dot ch Target Milestone: --- #include <altivec.h> #include <limits> int main(){ } hch058@jupp30:~/miniapps/ll-counter$ g++ --version g++ (Ubuntu 4.9.1-16ubuntu6) 4.9.1 Copyright (C) 2014 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. hch058@jupp30:~/miniapps/ll-counter$ g++ -std=c++11 -maltivec main.cpp In file included from main.cpp:2:0: /usr/include/c++/4.9/limits:195:57: error: cannot convert ‘bool’ to ‘const __vector(4) __bool int’ in initialization static _GLIBCXX_USE_CONSTEXPR bool is_specialized = false; machine: Power8 machine boot in little_endian, Ubuntu 14.10