------- Comment #3 from spop at gcc dot gnu dot org  2009-12-23 18:11 -------
The testcase fails without graphite at -O0, probably a problem in the C++
front-end:
stopping the execution randomly, I get the following backtraces:

#0  0x0000000000660ccc in structural_comptypes (t1=0x7f097e143690,
t2=0x7f097df37e70, strict=0) at ../../gcc/cp/typeck.c:1170
#1  0x00000000006631a7 in comptypes (t1=0x7f097e143690, t2=0x7f097df37e70,
strict=0) at ../../gcc/cp/typeck.c:1298
#2  0x000000000054e11f in template_args_equal (ot=0x7f097e143690,
nt=0x7f097df37e70) at ../../gcc/cp/pt.c:5924
#3  0x000000000054e38b in comp_template_args (oldargs=0x7f097e147fc8,
newargs=0x7f097df40398) at ../../gcc/cp/pt.c:5947
#4  0x000000000066190c in structural_comptypes (t1=0x7f097e14a000,
t2=0x7f097df3f7e0, strict=0) at ../../gcc/cp/typeck.c:1169
#5  0x00000000006631a7 in comptypes (t1=0x7f097e14a000, t2=0x7f097df3f7e0,
strict=0) at ../../gcc/cp/typeck.c:1298
#6  0x000000000054e11f in template_args_equal (ot=0x7f097e14a000,
nt=0x7f097df3f7e0) at ../../gcc/cp/pt.c:5924
#7  0x000000000054e38b in comp_template_args (oldargs=0x7f097e14cfa0,
newargs=0x7f097df47370) at ../../gcc/cp/pt.c:5947
#8  0x000000000066190c in structural_comptypes (t1=0x7f097e152930,
t2=0x7f097df49150, strict=0) at ../../gcc/cp/typeck.c:1169

#0  0x000000000054d873 in template_args_equal (ot=Cannot access memory at
address 0x7fffab5c5fb8) at ../../gcc/cp/pt.c:5881
#1  0x000000000054e38b in comp_template_args (oldargs=0x7f097ea9e5f0,
newargs=0x7f097e8b9528) at ../../gcc/cp/pt.c:5947
#2  0x000000000066190c in structural_comptypes (t1=0x7f097ea9fbd0,
t2=0x7f097e8baa80, strict=0) at ../../gcc/cp/typeck.c:1169
#3  0x00000000006631a7 in comptypes (t1=0x7f097ea9fbd0, t2=0x7f097e8baa80,
strict=0) at ../../gcc/cp/typeck.c:1298
#4  0x000000000054e11f in template_args_equal (ot=0x7f097ea9fbd0,
nt=0x7f097e8baa80) at ../../gcc/cp/pt.c:5924
#5  0x000000000054e38b in comp_template_args (oldargs=0x7f097e8a05c8,
newargs=0x7f097e8c1500) at ../../gcc/cp/pt.c:5947
#6  0x000000000066190c in structural_comptypes (t1=0x7f097e8a1540,
t2=0x7f097e8c33f0, strict=0) at ../../gcc/cp/typeck.c:1169
#7  0x00000000006631a7 in comptypes (t1=0x7f097e8a1540, t2=0x7f097e8c33f0,
strict=0) at ../../gcc/cp/typeck.c:1298
#8  0x000000000054e11f in template_args_equal (ot=0x7f097e8a1540,
nt=0x7f097e8c33f0) at ../../gcc/cp/pt.c:5924

This stops after one or two minutes, depending on stack ulimit.  With
an older compiler, I get this time:

time g++-4.3 -O3 -c ~/gcc/graphite/gcc/testsuite/g++.dg/graphite/pr41305.C

real    0m0.103s
user    0m0.072s
sys     0m0.012s


-- 

spop at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


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

Reply via email to