[Bug ipa/97952] Poor optimization of closure-like construct in C++ as compared to C

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97952 --- Comment #3 from Andrew Pinski --- That is for the C case replace: auto Skip_f skip_zero, skip_one_half, skip_one, command_skip_zero, command_skip,skip; With: inline auto Skip_f skip_zero,

[Bug ipa/97952] Poor optimization of closure-like construct in C++ as compared to C

2021-08-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97952 Andrew Pinski changed: What|Removed |Added Component|middle-end |ipa CC|