This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/49653] Undefined reference to inlined function with -O0,-std=c99
- From: "gary at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 6 Jul 2011 17:29:34 +0000
- Subject: [Bug c/49653] Undefined reference to inlined function with -O0,-std=c99
- Auto-submitted: auto-generated
- References: <bug-49653-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49653
--- Comment #4 from Gary Funck <gary at intrepid dot com> 2011-07-06 17:29:32 UTC ---
Thanks Andrew and Johannes for the follow-up. The difference in between
optimized and non-optimized compilations was surprising to me, but I now
understand that this is the result of the way that GCC handles this
implementation-defined behavior.