------- Additional Comments From andre dot maute at gmx dot de 2005-01-24
12:27 -------
with the following the problem also does occur
---------- O3Wall.cc -------
#include <cmath>
double test( double x ) {
return fabs(x);
}
---------- O3Wall.cc -------
> g++-4.0-20050123 O3Wall.cc -O3 -Wall -c
O3Wall.cc: In function 'double test(double)':
O3Wall.cc:4: warning: control may reach end of non-void function 'double
fabs(double)' being inlined
> g++-4.0-20050123 -v
Using built-in specs.
Configured with: ../gcc-4.0-20050123/configure --prefix=/opt/gcc-4.0-20050123
--enable-shared --enable-languages=c,c++ --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu --disable-nls
--program-suffix=-4.0-20050123 --disable-checking --with-arch=pentium3
Thread model: posix
gcc version 4.0.0 20050123 (experimental)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583