http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40975
Vanuan at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Vanuan at gmail dot com --- Comment #3 from Vanuan at gmail dot com 2011-02-12 10:12:34 UTC --- The same problem using c++0x initializer list: int some_func(int some_array[] = new int[2]{1,2}) { } int main() { some_func(); } $ g++ -std=c++0x test.cpp test.cpp: In function ‘int main()’: test.cpp:5: internal compiler error: in copy_tree_r, at tree-inline.c:3725