This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled
- 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: 22 Feb 2005 14:19:33 -0000
- Subject: [Bug tree-optimization/20115] [4.0 Regression] Pure functions are mishandled
- References: <20050220230656.20115.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-22 14:19 -------
Note this was cause by:
2005-01-26 Diego Novillo <dnovillo@redhat.com>
PR tree-optimization/19633
* tree-ssa-alias.c (ptr_is_dereferenced_by): Also handle
CALL_EXPRs.
(maybe_create_global_var): Do not create .GLOBAL_VAR if there
are no call-clobbered variables.
* tree-outof-ssa.c (check_replaceable): Return false for calls
with side-effects.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20115