[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] GCL-2.6.8pre and type punning
From: |
Gabriel Dos Reis |
Subject: |
[Axiom-developer] GCL-2.6.8pre and type punning |
Date: |
11 Aug 2007 11:32:57 -0500 |
Hi,
Building GCL-2.6.8pre included in Axiom elicites lots of warnings
of the style:
gcc -c -Wall -DVOL=volatile -fsigned-char -pipe -O3 -fomit-frame-pointer
-I/home/gdr/src/axiom/trunk/lsp/gcl-2.6.8pre/o -I../h -I../gcl-tk hash.c
hash.d: In function 'hash_eql':
hash.d:72: warning: dereferencing type-punned pointer will break
strict-aliasing rules
hash.d:75: warning: dereferencing type-punned pointer will break
strict-aliasing rules
[....]
gcl_arraylib.c: In function 'init_gcl_arraylib':
gcl_arraylib.c:4: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c: In function 'LI1':
gcl_arraylib.c:23: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:36: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:44: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:50: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:70: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:72: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:78: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c: In function 'LI3':
gcl_arraylib.c:239: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:254: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c: In function 'LI6':
gcl_arraylib.c:352: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c:352: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcl_arraylib.c: In function 'LI8':
gcl_arraylib.c:417: warning: dereferencing type-punned pointer will break
strict-aliasing rules
This is with the system compiler from SUSE Linux 10.2:
address@hidden:~> gcc -v
Using built-in specs.
Target: x86_64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2
--enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib64
--with-system-zlib --enable-shared --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --program-suffix=-4.1
--enable-version-specific-runtime-libs --without-system-libunwind
--with-cpu=generic --host=x86_64-suse-linux
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
-- Gaby
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Axiom-developer] GCL-2.6.8pre and type punning,
Gabriel Dos Reis <=