http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48075
Summary: [trans-mem] infinite loop when compiling Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: patrick.marl...@gmail.com CC: r...@gcc.gnu.org, al...@gcc.gnu.org Created attachment 23632 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23632 infinite calls testcase. An infinite loop happens with the attached testcase. Maybe not related to trans-mem specifically... Here the backtrace: #10225 0x000000000050b680 in instantiate_class_template (type=0x7ffff6b20e70) at ../../transactional-memory/gcc/cp/pt.c:7965 #10226 0x00000000005740b7 in complete_type (type=0x7ffff6b20e70) at ../../transactional-memory/gcc/cp/typeck.c:130 #10227 0x00000000004de334 in tsubst_decl (t=0x7ffff6bd31e0, args=0x7ffff6b1f090, complain=3) at ../../transactional-memory/gcc/cp/pt.c:9533 #10228 0x00000000004e96d0 in tsubst (t=0x7ffff6bd31e0, args=0x7ffff6b1f090, complain=3, in_decl=0x0) at ../../transactional-memory/gcc/cp/pt.c:9912 #10229 0x000000000050b680 in instantiate_class_template (type=0x7ffff6b200a8) at ../../transactional-memory/gcc/cp/pt.c:7965 #10230 0x00000000005740b7 in complete_type (type=0x7ffff6b200a8) at ../../transactional-memory/gcc/cp/typeck.c:130 #10231 0x00000000004de334 in tsubst_decl (t=0x7ffff6bd31e0, args=0x7ffff6b1c4b0, complain=3) at ../../transactional-memory/gcc/cp/pt.c:9533 #10232 0x00000000004e96d0 in tsubst (t=0x7ffff6bd31e0, args=0x7ffff6b1c4b0, complain=3, in_decl=0x0) at ../../transactional-memory/gcc/cp/pt.c:9912 #10233 0x000000000050b680 in instantiate_class_template (type=0x7ffff6b1b2a0) at ../../transactional-memory/gcc/cp/pt.c:7965 #10234 0x00000000005740b7 in complete_type (type=0x7ffff6b1b2a0) at ../../transactional-memory/gcc/cp/typeck.c:130 #10235 0x00000000004de334 in tsubst_decl (t=0x7ffff6bd31e0, args=0x7ffff6b198d0, complain=3) at ../../transactional-memory/gcc/cp/pt.c:9533 #10236 0x00000000004e96d0 in tsubst (t=0x7ffff6bd31e0, args=0x7ffff6b198d0, complain=3, in_decl=0x0) at ../../transactional-memory/gcc/cp/pt.c:9912 ... Patrick Marlier.