------- Comment #25 from ian dot bolton at arm dot com  2010-08-02 13:33 -------
(In reply to comment #24)
> (In reply to comment #23)
> > I can confirm this fails with GCC 4.4.4 and that GCC 4.3.2 works.
> > 
> 
> I get no warning and correct code in latest 4.4 branch (4.4.5 - 20100727), but
> I do get the warning and incorrect code in latest 4.5 branch (4.5.1 -
> 20100727).
> 

And trunk, as of 20100727 (4.6.0), is also OK (no warning and correct code).

I am configuring with:

--target=arm-unknown-eabi --with-cpu=cortex-a9 --enable-languages=c,c++

And building with:

-c -O2 -mcpu=arm926ej-s -x c++ ~/pr44328.cpp -Wextra -save-temps -S


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44328

Reply via email to