[Bug c/32615] Source file with extern inline function fails to link with -O0

2007-07-03 Thread kris dot van dot hees at oracle dot com
--- 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 inlini

[Bug c/32615] Source file with extern inline function fails to link with -O0

2007-07-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-03 18:33 --- extern inline is not what you think it is. The "extern inline" GNU C90 implementes (except for 4.3 with -std=c99/-std=gnu99 which is the standard C99 extern inline) means the function is extern but don't create a de