Re: [hatari-devel] Compiler Warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On sunnuntai 24 marraskuu 2013, Christer Solskogen wrote:
> On Sun, Nov 24, 2013 at 10:01 AM, David Savinkoff <dsavnkff@xxxxxxxxx> > > 
I compiled oldcore Hatari with gcc-4.4.7 and got some warnings that
> > don't appear with gcc-4.1.2:
> Does not happen with gcc 4.8, nor clang.
> http://antarctica.no/~hatari/latest/linux/

GCC had a bug that it output warnings before it had finished all
code analysis passes (done as part of optimization).  As a result,
it output warnings about things that can never happen
(dead code paths).

It was very annoying, but it's fixed in latest GCC versions.


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/