This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/17703] [4.0 regression] spurious error about end of function reached
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Oct 2004 05:07:19 -0000
- Subject: [Bug middle-end/17703] [4.0 regression] spurious error about end of function reached
- References: <20040927202417.17703.bangerth@dealii.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-06 05:07 -------
I think the problem here is that we are no longer folding CLEANUP_POINT_EXPR < INTEGER_CST <1>>
into just INTEGER_CST <1>, there is another bug like this. I will be working on a patch to fix this soon.
RTH removed the foldding because it was causing too many problems as it removed
CLEANUP_POINT_EXPR too much. I will be hugely more conservative when removing
CLEANUP_POINT_EXPR and I create a function called build_fold_cleanup_point_expr. This should also
speed up the compiler in two ways, we never create the CLEANUP_POINT_EXPR in the first place and we
don't create as many temporaries as before.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17703