This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Tracking the source of an ARM miscompilation with gcc 4.6
Mike Hommey writes:
> On Thu, Mar 07, 2013 at 01:14:03AM -0800, Andrew Pinski wrote:
> > On Thu, Mar 7, 2013 at 12:33 AM, Mike Hommey <mh-gcc@glandium.org> wrote:
> > > On Thu, Mar 07, 2013 at 12:28:22AM -0800, Andrew Pinski wrote:
> > >> On Thu, Mar 7, 2013 at 12:24 AM, Mike Hommey <mh-gcc@glandium.org> wrote:
> > >> > Hi,
> > >> >
> > >> > At Mozilla, we've encountered a GCC 4.6 miscompilation in the ARMv6
> > >> > build of Firefox for Android. We'd like to evaluate whether this bug is
> > >> > hitting us in more places than the one we spotted. To that end, we'd
> > >> > need to know what particular bug in GCC leads to this miscompilation.
> > >> >
> > >> > The attached file is the preprocessed source, slightly simplified. I was
> > >> > able to reproduce the miscompilation with both the GCC 4.6 from the
> > >> > Android NDK r8d and 4.6.3 from Debian unstable. It apparently happens
> > >> > for any -march, with -marm, but not -mthumb. It happens at -Os but not
> > >> > -O2.
> > >>
> > >> No attached file.
> > >
> > > Sent it afterwards.
> >
> > Still not on the list. I bet it was too big so it was rejected by the
> > list. Try filing a bug report instead.
>
> Let's try it gzipped. If it still doesn't work, I'll file a bug.
This test case is not self-contained. Please file a proper bug report
with a self-contained test case.