GCC Bugzilla has been upgraded from version 4.4.9 to 5.0rc3. If you see any problem, please report it to bug 64968.
Bug 14677 - sorry, unimplemented: inlining failed in call ff_h263_round_chroma'
Summary: sorry, unimplemented: inlining failed in call ff_h263_round_chroma'
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 3.4.0
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 07:24 UTC by Peter Schmid
Modified: 2005-07-23 22:49 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed source code t.i (40.45 KB, application/octet-stream)
2004-03-22 07:25 UTC, Peter Schmid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Schmid 2004-03-22 07:24:09 UTC
gcc 3.4.0 does not compile the file motion_est.c located in the directory src/
libffmpeg/libavcodec of the xine-lib-1-rc3b repository. The error message is 
weird. When the inline is removed from the function declaration int 
ff_h263_round_chroma(int x) the code compiles normally. gcc 3.3.1 accepts this 
code. I guess this is a regression and perhaps even a showstopper which should 
be fixed in the 3.4.0 release and if it is not this behaviour should be 
documented.  
 
 
  gcc -v -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include 
-I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/
xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input 
-DHAVE_AV_CONFIG_H -O3 -c t.c -save-temps 
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs 
Configured with: ../gcc/configure --enable-threads=posix --enable-languages=c,c
++,f77,objc --enable-__cxa_atexit --enable-libstdcxx-debug 
Thread model: posix 
gcc version 3.4.0 20040321 (prerelease) 
 /usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1 -E -quiet -v -I. -I. 
-I../../.. -I../../.. -I../../../include -I../../../include -I../../../src 
-I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils 
-I../../../src/input -I../../../src/input -DHAVE_CONFIG_H -DHAVE_AV_CONFIG_H 
t.c -mtune=pentiumpro -O3 -o t.i 
ignoring nonexistent directory "NONE/include" 
ignoring nonexistent directory "/usr/local/lib/gcc/
i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/include" 
ignoring duplicate directory "." 
ignoring duplicate directory "../../.." 
ignoring duplicate directory "../../../include" 
ignoring duplicate directory "../../../src/xine-engine" 
ignoring duplicate directory "../../../src/input" 
#include "..." search starts here: 
#include <...> search starts here: 
 . 
 ../../.. 
 ../../../include 
 ../../../src 
 ../../../src/xine-engine 
 ../../../src/xine-utils 
 ../../../src/input 
 /usr/local/include 
 /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/include 
 /usr/include 
End of search list. 
 /usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1 -fpreprocessed t.i -quiet 
-dumpbase t.c -mtune=pentiumpro -auxbase t -O3 -version -o t.s 
GNU C version 3.4.0 20040321 (prerelease) (i686-pc-linux-gnu) 
	compiled by GNU C version 3.4.0 20040321 (prerelease). 
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64274 
t.c: In function `ff_estimate_p_frame_motion': 
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 
'ff_h263_round_chroma': function body not available 
t.c:895: sorry, unimplemented: called from here 
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 
'ff_h263_round_chroma': function body not available 
t.c:896: sorry, unimplemented: called from here 
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 
'ff_h263_round_chroma': function body not available 
t.c:895: sorry, unimplemented: called from here 
mpegvideo.h:895: sorry, unimplemented: inlining failed in call to 
'ff_h263_round_chroma': function body not available 
t.c:896: sorry, unimplemented: called from here
Comment 1 Peter Schmid 2004-03-22 07:25:22 UTC
Created attachment 5969 [details]
preprocessed source code t.i
Comment 2 Andrew Pinski 2004-03-22 07:37:16 UTC
The error is correct, the function body for "ff_h263_round_chroma" is not available:
inline __attribute__ ((__always_inline__)) int ff_h263_round_chroma(int x);
The function is not defined anywhere in the source file except for the above line.  The attribute 
always_inline means inline or fail.