[Bug c/66132] Undefined reference to inline function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66132 --- Comment #2 from Shea Levy --- (In reply to Markus Trippelsdorf from comment #1) > https://gcc.gnu.org/gcc-5/porting_to.html I see, sorry for the noise!
[Bug c/66132] New: Undefined reference to inline function
Assignee: unassigned at gcc dot gnu.org Reporter: shea at shealevy dot com Target Milestone: --- When compiling with the default optimization level, this code: inline int foo() { return 1; } int main(int argc, char ** argv) { return foo(); } results in an undefined