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: Thu, 7 Jul 2011 16:55:41 +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 #9 from Gary Funck <gary at intrepid dot com> 2011-07-07 16:55:38 UTC ---
(In reply to comment #8)
> (In reply to comment #7)
> GF: If you're suggesting that the front-end would do this automatically when
> GF: compiling -O0 -std={gnu}99, I'd agree that this would be a good way to handle
> GF: this use case.
>
> No, I was suggesting you add it, not the compiler.
OK. That would be a different use case.