This is the mail archive of the gcc-bugs@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]

[Bug AWT/16121] New: gtk based awt peers: cast from pointer to integer of different size


CVS HEAD 20040620:

/bin/sh ./libtool --mode=compile
/build/buildd/gcc-snapshot-20040620/build/gcc/xgcc
-B/build/buildd/gcc-snapshot-20040620/build/gcc/
-B/usr/lib/gcc-snapshot/alpha-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/alpha-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/alpha-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/alpha-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude
-I../../../src/libjava/include
-I/build/buildd/gcc-snapshot-20040620/src/boehm-gc/include -DPACKAGE_NAME=""
-DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING=""
-DPACKAGE_BUGREPORT="" -DGC_LINUX_THREADS=1 -D_REENTRANT=1
-DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSILENT=1
-DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1   -I../../../src/libjava/libltdl
-I../../../src/libjava/libltdl  -I../../../src/libjava/.././libjava/../gcc 
-I../../../src/libjava/../libffi/include -I../libffi/include  -O2 -g -O2  -mieee
-mieee -Wextra -Wall -O2 -g -O2  -mieee -c -Ijniinclude
-I../../../src/libjava/jni/classpath -I../../../src/libjava/jni/gtk-peer \
-ansi -pedantic -Wall -Wno-long-long -DXTHREADS -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -I/usr/include/libart-2.0   \
  -o jni/gtk-peer/gthread-jni.lo ../../../src/libjava/jni/gtk-peer/gthread-jni.c
/build/buildd/gcc-snapshot-20040620/build/gcc/xgcc
-B/build/buildd/gcc-snapshot-20040620/build/gcc/
-B/usr/lib/gcc-snapshot/alpha-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/alpha-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/alpha-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/alpha-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude
-I../../../src/libjava/include
-I/build/buildd/gcc-snapshot-20040620/src/boehm-gc/include -DPACKAGE_NAME=
-DPACKAGE_TARNAME= -DPACKAGE_VERSION= -DPACKAGE_STRING= -DPACKAGE_BUGREPORT=
-DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-I../../../src/libjava/libltdl -I../../../src/libjava/libltdl
-I../../../src/libjava/.././libjava/../gcc
-I../../../src/libjava/../libffi/include -I../libffi/include -O2 -g -O2 -mieee
-mieee -Wextra -Wall -O2 -g -O2 -mieee -c -Ijniinclude
-I../../../src/libjava/jni/classpath -I../../../src/libjava/jni/gtk-peer -ansi
-pedantic -Wall -Wno-long-long -DXTHREADS -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0
../../../src/libjava/jni/gtk-peer/gthread-jni.c  -fPIC -DPIC -o
jni/gtk-peer/.libs/gthread-jni.o
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function `maybe_rethrow':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:110: warning: implicit
declaration of function 'bzero'
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function `allocatePlainObject':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:149: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function `freePlainObject':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:172: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_mutex_lock_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:207: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_mutex_unlock_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:227: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_cond_signal_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:256: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_cond_broadcast_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:281: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function `g_cond_wait_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:309: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_cond_timed_wait_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:342: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_private_new_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:394: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_private_get_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:424: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c:444: warning: cast to pointer
from integer of different size
../../../src/libjava/jni/gtk-peer/gthread-jni.c: In function
`g_private_set_jni_impl':
../../../src/libjava/jni/gtk-peer/gthread-jni.c:456: warning: dereferencing
type-punned pointer will break strict-aliasing rules
../../../src/libjava/jni/gtk-peer/gthread-jni.c:464: warning: cast from pointer
to integer of different size

-- 
           Summary: gtk based awt peers: cast from pointer to integer of
                    different size
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: AWT
        AssignedTo: fitzsim at redhat dot com
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alpha-linux
  GCC host triplet: alpha-linux
GCC target triplet: alpha-linux


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


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