http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888
--- Comment #13 from Max Reitz <xanclic at gmail dot com> --- (In reply to Brooks Moses from comment #12) > Now, if this replacement still happens when you compile with -nostdlib, that > would be a bug since it becomes legal code in that case. But that's > somewhat of a separate issue and should be filed separately if it happens. > (We should arguably also have a test for it, if we don't already.) Actually, that's why I filed this report in the first place. The test case you request is in fact given in my OP.