This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]