This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32615] Source file with extern inline function fails to link with -O0
- From: "kris dot van dot hees at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2007 18:40:38 -0000
- Subject: [Bug c/32615] Source file with extern inline function fails to link with -O0
- References: <bug-32615-14795@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from kris dot van dot hees at oracle dot com 2007-07-03 18:40 -------
Thanks for the explanation - that does explain why -O0 causes an error (since
there is no inlining being done as far as I understand), whereas any other
optimization setting results in success due to inlining of the function
(avoiding the error that way).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32615