This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Dead-code elimination can't remove string copy insns?
Diego Novillo <dnovillo@redhat.com> writes:
> On Tue, May 13, 2003 at 09:40:33AM -0700, Zack Weinberg wrote:
>
>> gcc.dg/const-elim-1.c. On an x86, compile it with -march=i386 -O2;
>> rs6000-ibm-aix5 and arm-elf also show the problem.
>>
> Yup, tree-ssa handles it. The original program in GIMPLE form is
> on the left. The optimized version is on the right (we still
> don't linearize GOTO_EXPRs).
Excellent. In that case I will not worry about getting const-elim-1.c
to work for all targets on the mainline. The present situation is not
a regression -- we just weren't testing for dead-constant removal
before.
Could those port maintainers seeing failures for const-elim-1.c please
apply patches to mark it XFAIL for their target?
zw