This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/47253] Conditional jump to tail function is not generated
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jan 2011 03:16:32 +0000
- Subject: [Bug rtl-optimization/47253] Conditional jump to tail function is not generated
- Auto-submitted: auto-generated
- References: <bug-47253-4@http.gcc.gnu.org/bugzilla/>
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?