c++/3871: -Winline misses warning

steven@gcc.gnu.org steven@gcc.gnu.org
Tue Apr 29 07:51:00 GMT 2003


Synopsis: -Winline misses warning

State-Changed-From-To: analyzed->closed
State-Changed-By: steven
State-Changed-When: Tue Apr 29 07:51:38 2003
State-Changed-Why:
    Fixed in GNU C++ version 3.4 20030429 (experimental)
    Heck, I even get a warning for a system header function!
    
    ./cc1plus -quiet t.cc -O3 -Wall -Winline
    t.cc: In function `int main(int, char**)':
    t.cc:2: warning: inlining failed in call to `void foo()'
    t.cc:5: warning: called from here
    t.cc: In function `void foo()':
    /usr/include/setjmp.h:52: warning: inlining failed in call to `int 
       _setjmp(__jmp_buf_tag*)'
    t.cc:2: warning: called from here
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3871



More information about the Gcc-prs mailing list