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 c/36817] New: internal compiler error: in compare_values_warnv


Compiling the code bug.cc:

 void xxx()
 {
  unsigned*p=0;
  for(unsigned i=0;i<4;++i)
  {
   *p++=0;
  }
  for(unsigned i=0;i<4;++i) 
  {
   *p++=0;
  }
 }

with the command:

 /home/buchmann/devel//eo3s//tc/bin/arm-elf-gcc \
 -O2 -Wall \
 -c -o bug.o bug.cc

results in:

  bug.cc: In function 'void xxx()':
  bug.cc:1: internal compiler error: in compare_values_warnv, at tree-vrp.c:768
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <http://gcc.gnu.org/bugs.html> for instructions.

arm-elf-gcc -v:

  Using built-in specs.
  Target: arm-elf
  Configured with: /home/buchmann/devel/gcc/dist/gcc-4.3.1/configure -v \
  --prefix=/home/buchmann/devel/gcc/target/arm \
  --target=arm-elf \
  --enable-languages=c,c++ \
  --disable-threads \
  --disable-shared \
  --disable-multilib \
  --disable-__cxa_atexit \
  --with-as=/home/buchmann/devel/gcc/target/arm/arm-elf/bin/as \
  --with-ld=/home/buchmann/devel/gcc/target/arm/arm-elf/bin/ld \
  --with-float=soft \
  --with-newlib \
  --without-headers \
  --with-mpfr=/home/buchmann/devel/gcc/target/arm/../infrastructure/
  Thread model: single
  gcc version 4.3.1 (GCC)

Best regards 

Hans Buchmann


-- 
           Summary: internal compiler error: in compare_values_warnv
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hans dot buchmann at fhso dot ch
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-elf


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


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