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: committed: Ada updates


> This change broke Ada bootstrap on alpha-dec-osf*:
> 
> /vol/gnu/src/gcc/gcc-dist/gcc/ada/init.c: In function `__gnat_error_handler':
> /vol/gnu/src/gcc/gcc-dist/gcc/ada/init.c:486: warning: dereferencing type-punned pointer will break strict-aliasing rules
> make[2]: *** [ada/init.o] Error 1
> 
> It cannot have been tested at all ;-(

It has been tested with mainline on x86-linux, and with gcc 3.2.3 on
alpha-tru64. Enabling addition warnings or changing warnings as error is
certainly 'expected' to generate lots of additional problems on various
platforms.

Addressing the warnings is easy in this case, I'll prepare a patch.

> only to fail later on with another error:
> 
> /vol/gnu/src/gcc/gcc-dist/gcc/sdbout.c: In function `sdbout_finish':
> /vol/gnu/src/gcc/gcc-dist/gcc/sdbout.c:1465: warning: comparison between signed and unsigned

OK, I can't resist:

It cannot have been tested at all ;-)

Arno


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