This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3 pending patches from 2002
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 07 Jan 2003 06:00:51 -0800
- Subject: Re: 3 pending patches from 2002
--On Tuesday, January 07, 2003 12:14:13 PM +0100 Eric Botcazou
<ebotcazou@libertysurf.fr> wrote:
gcc-3.2.2 optimizes away the dummy1 and dummy2 statements, while gcc-3.3
and gcc-3.4 include the dummy2 statement in the "if (v)" test. So it is
sufficient to test that we have two reachable labels, hence the assembly
scan for "L2".
Is that robust ? If no, how should I write the testcase ?
I should have been more explicit. I looked at that, didn't like the test
case, couldn't figure out how to do it better, and decided it was better
than nothing. :-)
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com