enum t { GS_OK, GS_DONE }; enum t f(); int g() { return f(); }
Confirmed.
This is a dup of bug 14441. *** This bug has been marked as a duplicate of 14441 ***
Subject: Bug 14472 CVSROOT: /cvs/gcc Module name: gcc Changes by: steven@gcc.gnu.org 2004-05-14 18:29:09 Modified files: gcc : ChangeLog tree-tailcall.c Log message: PR opt/14472 * tree-tailcall.c (process_assignment): Use STRIP_NOPS to ignore type conversions that do not inhibit tail calling. (find_tail_calls): Likewise. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3657&r2=2.3658 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-tailcall.c.diff?cvsroot=gcc&r1=2.1&r2=2.2
reopening because this is not a dup of 14441...
...and closing, because I fixed this one with the patch in the audit trail.