[Bug ipa/82476] C++: Inlining fails for a simple function

2017-10-09 Thread arun11299 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82476 --- Comment #6 from Arun Muralidharan --- I understand your point on why it chose not to be inlined. I was doing a micro benchmark for a sample application (a interview question basically) and thats when this issue came up. Thanks.

[Bug c++/82476] New: C++: Inlining fails for a simple function

2017-10-08 Thread arun11299 at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: arun11299 at gmail dot com Target Milestone: --- Hello Folks, I was just trying to figure out if a particular code of mine would provide me with optimized code or not at O2 optimization level. The code is: {code} #include