This is the mail archive of the
mailing list for the GCC project.
[tree-ssa] New testcase
- From: law at redhat dot com
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 01 May 2003 11:33:21 -0600
- Subject: [tree-ssa] New testcase
- Reply-to: law at redhat dot com
Oh what fun. Nested functions can (of course) use variables declared
at suitable block nesting level in the nested function's parent function.
tree-ssa is getting a little too aggressive about deleting assignments
in such cases. This simple test demonstrates the problem. I've got a
fix that is going through testing now, so I won't bother xfailing this
* gcc.c-torture/execute/20030501-1.c: New test for tree-ssa bug.
main (int argc, char **argv)
int size = 10;
return size + 5;
if (retframe_block() != 15)