This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/8781] Pessimization of C++ (functional) code
- 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: 3 Aug 2005 03:35:05 -0000
- Subject: [Bug tree-optimization/8781] Pessimization of C++ (functional) code
- References: <20021202022601.8781.wesslen@users.sourceforge.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03 03:35 -------
Even though comment #17 is correct, it is not the full story (I have a fix for the issue in comment #17).
The real problem is that we don't consider function decls as constants so consider stuff we should not
as call clobbered as there no way the address of the function can change.
This seems like a big defect in the current tree-ssa aliasing.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8781