[Bug tree-optimization/65802] New: [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335

dimhen at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Apr 18 18:28:00 GMT 2015


            Bug ID: 65802
           Summary: [6 Regression] ICE in redirect_eh_edge_1, at
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dimhen at gmail dot com

r222031 PASS
r222198 FAIL

$ cat x.ii
typedef int tf();
struct S {
  tf m_fn1;
} a;

void fn1()
  try {
    __builtin_va_list c;
      int *d = __builtin_va_arg(c, int *);
      int **e = &d;
      __asm__("" : "=d"(e));

  catch (...) {

$ g++ -fpreprocessed -Wall -c x.ii
x.ii: In function 'void fn1()':
x.ii:6:6: internal compiler error: in redirect_eh_edge_1, at tree-eh.c:2335
 void fn1()
0xe7050b redirect_eh_edge_1
0xe70c4c cleanup_empty_eh_merge_phis
0xe714e9 cleanup_empty_eh
0xe714e9 cleanup_all_empty_eh
0xe714e9 execute_cleanup_eh_1
0xe714e9 execute
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ g++ -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /home/dimhen/src/gcc_current/configure
--prefix=/usr/local/gcc_current --enable-static
--enable-checking=yes,df,fold,rtl --enable-languages=c,c++,lto --enable-plugin
--disable-libstdcxx-dual-abi --disable-multilib
Thread model: posix
gcc version 6.0.0 20150417 (experimental) [trunk revision 222198] (GCC)

More information about the Gcc-bugs mailing list