This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34743] Testcase gcc.dg/tree-ssa/20070302-1.c is broken
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2008 16:39:11 -0000
- Subject: [Bug middle-end/34743] Testcase gcc.dg/tree-ssa/20070302-1.c is broken
- References: <bug-34743-91@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-11 16:39 -------
We even mark all pointed-to vars of value-escaping pointers as call-clobbered.
So I believe NMTs itself need never be call-clobbered. But there's also
hints that we cover bugs somewhere:
FIXME: This is not quite right. They should only be
clobbered if value_escapes_p is true, regardless of whether
they point to global memory or not.
So removing this code and fixing all the bugs would be nice.
It is the cause of a bunch of clobbering. */
Also it is not at all clear to me what MTAG_GLOBAL is all about (and its
appearant relation to call clobbered state).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34743