This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14440] [tree-ssa] [regression] no sib calling with _Bool types
- From: "dann at godzilla dot ics dot uci dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 May 2004 00:10:58 -0000
- Subject: [Bug optimization/14440] [tree-ssa] [regression] no sib calling with _Bool types
- References: <20040305061854.14440.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dann at godzilla dot ics dot uci dot edu 2004-05-07 00:10 -------
It seems that is caused by what is mentioned at the end of:
http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01958.html
The problem happens not only for bools, but for all functions returning a type for
which c_promoting_integer_type_p is true.
I think that fiddling with the return type in "start_function" is too early for
tree-ssa (if it is needed at all). I have a patch that just deletes that fiddling,
it passes testing, it will be posted after the merge.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14440