Public bug reported: $ cat gcc_bug.cpp int main(){ typedef const int&&trrc; trrc(0); } $ g++ -std=c++0x gcc_bug.cpp -o gcc_bug gcc_bug.cpp: In function ‘int main()’: gcc_bug.cpp:3: internal compiler error: in cp_build_c_cast, at cp/typeck.c:5832 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. $ g++-4.3 -std=c++0x gcc_bug.cpp -o gcc_bug gcc_bug.cpp: In function ‘int main()’: gcc_bug.cpp:3: internal compiler error: in build_c_cast, at cp/typeck.c:5659 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions. $
** Affects: gcc-defaults (Ubuntu) Importance: Undecided Status: New -- g++ crashed with casting https://bugs.launchpad.net/bugs/398175 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs