http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48209
--- Comment #4 from Steve Ellcey <sje at cup dot hp.com> 2011-03-22 16:20:15 UTC --- I agree. The test is not verifying whether or not snprintf is getting inlined and that was what bug 47917 was about. This should be a compile test that looks for snprintf in the assembly code after compilation to verify that the call was inlined. In running this test on IA64 and x86, the first call is the only one that I see getting inlined on both platforms at all optimization levels.