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

           Summary: [4.6 Regression] g++.dg/torture/pr42883.C:63:1:
                    internal compiler error: in dfs_enumerate_from, at
                    cfganal.c:1209
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++
-B/test/gnu/
gcc/objdir/gcc/testsuite/g++/../../
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/tortu
re/pr42883.C  -nostdinc++
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v
3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc
++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/test/gnu/gcc/gcc/lib
stdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util
-fmes
sage-length=0  -O3 -fomit-frame-pointer    -S  -o pr42883.s    (timeout = 300)
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr42883.C: In function 'void
Make
InternalMesh()':
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr42883.C:63:1: internal
compiler
 error: in dfs_enumerate_from, at cfganal.c:1209
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr42883.C: In function 'void
Make
InternalMesh()':
/test/gnu/gcc/gcc/gcc/testsuite/g++.dg/torture/pr42883.C:63:1: internal
compiler
 error: in dfs_enumerate_from, at cfganal.c:1209

-bash-3.2$ gcc/xgcc -Bgcc/ -v
Reading specs from gcc/specs
COLLECT_GCC=gcc/xgcc
COLLECT_LTO_WRAPPER=gcc/lto-wrapper
Target: hppa64-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu64/bin/as
--with-ld=/usr/ccs/bin/ld --enable-shared --with-local-prefix=/opt/gnu64
--prefix=/opt/gnu64/gcc/gcc-4.6.0 --build=hppa64-hp-hpux11.11
--enable-threads=posix --disable-nls --with-gmp=/opt/gnu64/gcc/gcc-4.6.0
--with-libelf=/opt/gnu64 --enable-languages=c,c++,objc,obj-c++,fortran,lto
Thread model: posix
gcc version 4.6.0 20110306 (experimental) [trunk revision 170710] (GCC)

Breakpoint 1, dfs_enumerate_from (bb=<value optimized out>, reverse=1,
    predicate=0x40000000001b4c70, rslt=0x800000010014d9c0, rslt_max=1,
    data=0x800003fffde2f330) at ../../gcc/gcc/cfganal.c:1209
1209                    gcc_assert (tv != rslt_max);
(gdb) bt
#0  dfs_enumerate_from (bb=<value optimized out>, reverse=1,
    predicate=0x40000000001b4c70, rslt=0x800000010014d9c0, rslt_max=1,
    data=0x800003fffde2f330) at ../../gcc/gcc/cfganal.c:1209
#1  0x4000000000498bb8 in get_loop_body_with_size (
    loop=<value optimized out>, body=<value optimized out>,
    max_size=<value optimized out>) at ../../gcc/gcc/cfgloop.c:800
#2  0x4000000000498c30 in get_loop_body (loop=0x800003fffde2f330)
    at ../../gcc/gcc/cfgloop.c:829
#3  0x4000000000499940 in get_loop_exit_edges (loop=0x800003fffde2f330)
    at ../../gcc/gcc/cfgloop.c:1146
#4  0x400000000049d240 in fix_loop_placement (loop=0x800003fffde2f330)
    at ../../gcc/gcc/cfgloopmanip.c:129
#5  0x400000000049da9c in fix_bb_placements (from=0x800003fffde3ca90,
    irred_invalidated=0x800003fffdff16a9 "")
    at ../../gcc/gcc/cfgloopmanip.c:215
#6  0x400000000049da9c in fix_bb_placements (from=0x800003fffde3ca90,
    irred_invalidated=0x800003fffdff16a9 "")
    at ../../gcc/gcc/cfgloopmanip.c:215

Reply via email to