[Bug middle-end/38284] New: verify_stmts failed when compile with -O2 -fira -fipa-pta -fPIC

linuxl4 at sohu dot com gcc-bugzilla@gcc.gnu.org
Thu Nov 27 04:16:00 GMT 2008


[~/tmp]$gcc -v
[~/tmp]$gcc version 4.4.0 20081126 (experimental) (GCC) 

[~/tmp]$g++ -O2 -fira -fipa-pta -fPIC -MD Grid_public.Tpo -c Grid_public.cc
[~/tmp]$In file included from ../../src/meta_programming.hh:27,
                 from ../../src/C_Integer.hh:27,
                 from ../../src/globals.defs.hh:28,
                 from ../../src/Grid.defs.hh:30,
                 from ../../src/Grid_public.cc:26:
/gcc-4.4/gmp/include/gmpxx.h: In function 'bool operator==(const __gmp_expr<T,
U>&, int) [with T = __mpz_struct [1], U =
__gmp_binary_expr<__gmp_expr<__mpz_struct [1], __mpz_struct [1]>,
__gmp_expr<__mpz_struct [1], __mpz_struct [1]>, __gmp_binary_modulus>]':
/gcc-4.4/gmp/include/gmpxx.h:3148: error: statement marked for throw, but
doesn't
D.129444_6 = T.2428 (&temp.mp[0]);

/gcc-4.4/gmp/include/gmpxx.h:3148: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary:  verify_stmts failed when  compile with -O2 -fira -fipa-
                    pta -fPIC
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: linuxl4 at sohu dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list