------- Comment #1 from pranav dot bhandarkar at gmail dot com 2007-07-10 10:02 ------- Created an attachment (id=13876) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13876&action=view) Dump of the early inline pass, that highlights the problem with the inliner
h() gets inlined into main but the result of the increment in h() is not used in main after inlining causing 0 to be assigned to result. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32716