[Bug c++/19583] New: Incorrect diagnostic: control may reach end of non-void function '...' being inlined
zack at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 23 05:07:00 GMT 2005
$ /scratch/zack/i/gcc-vanilla/bin/g++ -v
Using built-in specs.
Configured with: /home/zack/src/gcc/HEAD/vanilla/configure
--prefix=/scratch/zack/i/gcc-vanilla --disable-checking --enable-languages=c,c++
--disable-multilib
Thread model: posix
gcc version 4.0.0 20050122 (experimental)
$ /scratch/zack/i/gcc-vanilla/bin/g++ -S -O2 -W -Wall testcase.cc
testcase.cc: In function Âvoid finalize()Â:
testcase.cc:29: warning: control may reach end of non-void function Âbool
N::operator!=(N) const being inlined
I will attach the testcase.
--
Summary: Incorrect diagnostic: control may reach end of non-void
function '...' being inlined
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: zack at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19583
More information about the Gcc-bugs
mailing list