This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/47253] Conditional jump to tail function is not generated


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-11 03:16:32 UTC ---
(In reply to comment #0)
> I hope the summary is descriptive enough.
> Take the following code:
> 
> ----- testcase.c -----
> void bar(void);
> 
> void foo(int c)
> {
>     if (c) bar();
> }
..
> while better would be:
> foo:
>     test    edi, edi
>     jne    .L1
>     rep # only without -Os
>     ret
> 

Where is .L1?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]