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]

A long long O2 PIC bug on i32


The current gcc from CVS miscompiles long long with -O2 -fPIC:

# make
gcc  -O2 -o nopic foo.c
gcc  -O2 -o pic foo.c -fPIC
for f in nopic pic; do echo "Running: $f"; ./$f; \
  if [ $? != 0 ]; then echo Failed; fi; done
Running: nopic
Running: pic
Failed


-- 
H.J. Lu (hjl@gnu.org)

bug.tar.gz


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