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 optimization/14440] New: [tree-ssa] [regression] no sib calling with _Bool types


Here is a regression from the mainline:
_Bool t();

_Bool f(int i)
{
 return t();
}

t should be sibcalled but is not because the return type of f is really still int for some 
reason by the front-end (both the C and C++ front-ends, you have to #define _Bool bool 
for the C++ front-end to work though).

-- 
           Summary: [tree-ssa] [regression] no sib calling with _Bool types
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: pessimizes-code
          Severity: normal
          Priority: P2
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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