public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37360]  New: ICE in haifa-sched.c when compiling __popcountsi2 from libgcc
@ 2008-09-04  0:37 daney at gcc dot gnu dot org
  2008-09-04  0:43 ` [Bug rtl-optimization/37360] [4.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (20 more replies)
  0 siblings, 21 replies; 26+ messages in thread
From: daney at gcc dot gnu dot org @ 2008-09-04  0:37 UTC (permalink / raw)
  To: gcc-bugs

On mipsel-linux:

j.i:
------------------
typedef unsigned int UQItype __attribute__ ((mode (QI)));
typedef unsigned int USItype __attribute__ ((mode (SI)));

extern const UQItype __popcount_tab[256];
extern int __popcountsi2 (USItype);

int
__popcountsi2 (USItype x)
{
  int i, ret = 0;

  for (i = 0; i < (4 * 8); i += 8)
    ret += __popcount_tab[(x >> i) & 0xff];

  return ret;
}
------------------

$ /home/ddaney/gccsvn/trunk-build/./gcc/xgcc
-B/home/ddaney/gccsvn/trunk-build/./gcc/
-B/home/ddaney/gccsvn/trunk-install/mipsel-linux/bin/
-B/home/ddaney/gccsvn/trunk-install/mipsel-linux/lib/ -isystem
/home/ddaney/gccsvn/trunk-install/mipsel-linux/include -isystem
/home/ddaney/gccsvn/trunk-install/mipsel-linux/sys-include -g -O2
-minterlink-mips16 -O2  -g -O2 -minterlink-mips16 -DIN_GCC   -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../trunk/libgcc -I../../../trunk/libgcc/.
-I../../../trunk/libgcc/../gcc -I../../../trunk/libgcc/../include 
-DHAVE_CC_TLS -o _popcountsi2.o -MT _popcountsi2.o -MD -MP -MF _popcountsi2.dep
-DL_popcountsi2 -c j.i           -fvisibility=hidden -DHIDE_EXPORTS -v

Results in:
Reading specs from /home/ddaney/gccsvn/trunk-build/./gcc/specs
Target: mipsel-linux
Configured with: ../trunk/configure --prefix=/home/ddaney/gccsvn/trunk-install
--target=mipsel-linux --build=mipsel-linux --host=mipsel-linux
--with-gmp=/home/ddaney/mp --with-mpfr=/home/ddaney/mp --with-arch=sb1
--disable-java-awt --without-x --enable-__cxa_atexit --enable-languages=all
Thread model: posix
gcc version 4.4.0 20080903 (experimental) [trunk revision 139940] (GCC) 
COLLECT_GCC_OPTIONS='-B/home/ddaney/gccsvn/trunk-build/./gcc/'
'-B/home/ddaney/gccsvn/trunk-install/mipsel-linux/bin/'
'-B/home/ddaney/gccsvn/trunk-install/mipsel-linux/lib/' '-isystem'
'/home/ddaney/gccsvn/trunk-install/mipsel-linux/include' '-isystem'
'/home/ddaney/gccsvn/trunk-install/mipsel-linux/sys-include' '-g' '-O2' '-O2'
'-g' '-O2' '-minterlink-mips16' '-DIN_GCC' '-W' '-Wall' '-Wwrite-strings'
'-Wstrict-prototypes' '-Wmissing-prototypes' '-Wcast-qual'
'-Wold-style-definition' '-isystem' './include' '-fPIC' '-g'
'-DHAVE_GTHR_DEFAULT' '-DIN_LIBGCC2' '-D__GCC_FLOAT_NOT_NEEDED' '-I.' '-I.'
'-I../.././gcc' '-I../../../trunk/libgcc' '-I../../../trunk/libgcc/.'
'-I../../../trunk/libgcc/../gcc' '-I../../../trunk/libgcc/../include'
'-DHAVE_CC_TLS' '-o' '_popcountsi2.o' '-MT' '_popcountsi2.o' '-MD' '-MP' '-MF'
'_popcountsi2.dep' '-DL_popcountsi2' '-c' '-fvisibility=hidden'
'-DHIDE_EXPORTS' '-v' '-march=sb1' '-mllsc'
 /home/ddaney/gccsvn/trunk-build/./gcc/cc1 -fpreprocessed j.i -quiet -dumpbase
j.i -minterlink-mips16 -march=sb1 -mllsc -auxbase-strip _popcountsi2.o -g -g -g
-O2 -O2 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wcast-qual -Wold-style-definition -version -fPIC -fvisibility=hidden -o
/tmp/cc0RAQ3s.s
GNU C (GCC) version 4.4.0 20080903 (experimental) [trunk revision 139940]
(mipsel-linux)
        compiled by GNU C version 4.4.0 20080223 (experimental) [trunk revision
132568], GMP version 4.2.1, MPFR version 2.3.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 18865570e64c6f21ee7ff913cce9298a
j.i: In function '__popcountsi2':
j.i:16: internal compiler error: in max_issue, at haifa-sched.c:2074
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE in haifa-sched.c when compiling __popcountsi2 from
                    libgcc
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: daney at gcc dot gnu dot org
 GCC build triplet: mipsel-linux
  GCC host triplet: mipsel-linux
GCC target triplet: mipsel-linux


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


^ permalink raw reply	[flat|nested] 26+ messages in thread
[parent not found: <bug-37360-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-10-23  0:38 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-04  0:37 [Bug target/37360] New: ICE in haifa-sched.c when compiling __popcountsi2 from libgcc daney at gcc dot gnu dot org
2008-09-04  0:43 ` [Bug rtl-optimization/37360] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-09-04  9:46 ` rguenth at gcc dot gnu dot org
2008-09-04 12:08 ` abel at ispras dot ru
2008-09-04 14:36 ` abel at ispras dot ru
2008-09-04 14:50 ` daney at gcc dot gnu dot org
2008-09-04 14:59 ` hjl dot tools at gmail dot com
2008-09-04 16:13 ` daney at gcc dot gnu dot org
2008-09-04 17:19 ` daney at gcc dot gnu dot org
2008-09-04 17:40 ` daney at gcc dot gnu dot org
2008-09-04 22:49 ` daney at gcc dot gnu dot org
2008-09-05  2:22 ` hjl dot tools at gmail dot com
2008-09-05  9:17 ` abel at ispras dot ru
2008-09-05  9:38 ` rguenth at gcc dot gnu dot org
2008-09-05 10:33 ` abel at ispras dot ru
2008-09-05 10:35 ` abel at ispras dot ru
2008-09-05 18:31 ` daney at gcc dot gnu dot org
2008-09-06 11:24 ` rsandifo at gcc dot gnu dot org
2008-09-08  7:20 ` abel at ispras dot ru
2008-09-09 12:57 ` abel at gcc dot gnu dot org
2008-09-09 14:22 ` abel at gcc dot gnu dot org
2008-09-09 14:37 ` abel at gcc dot gnu dot org
     [not found] <bug-37360-4@http.gcc.gnu.org/bugzilla/>
2010-10-19 14:03 ` jiez at gcc dot gnu.org
2010-10-19 16:59 ` jiez at gcc dot gnu.org
2010-10-19 17:38 ` daney at gcc dot gnu.org
2010-10-23  0:38 ` jiez at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).