This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores/loads
- 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: 31 Jan 2006 01:11:36 -0000
- Subject: [Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores/loads
- References: <bug-17064-6527@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from pinskia at gcc dot gnu dot org 2006-01-31 01:11 -------
The other time pi->pt_global_mem is set to 1 is when vi->is_artificial_var and
vi->is_heap_var is set.
now trying to turn off is_artificial_var and what David pointed out does not
work, because we don't have a way to say this is used after the function is
done so DCE removes the both sets in the testcase in comment #13.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17064