[Bug c++/66787] gcc fails tail call elimination

2015-07-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66787 --- Comment #2 from Andrew Pinski --- 5 words: temporary whose address is taken Due to c++ references.

[Bug c++/66787] gcc fails tail call elimination

2015-07-07 Thread denmark114 at naver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66787 --- Comment #1 from Minjae Kim --- Oops, I swapped `create` and `print`. gcc does tail call elimination on `create` but it doesn't on `print`.