This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/65802] New: [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: "dimhen at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 18 Apr 2015 18:28:24 +0000
- Subject: [Bug tree-optimization/65802] New: [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65802
Bug ID: 65802
Summary: [6 Regression] ICE in redirect_eh_edge_1, at
tree-eh.c:2335
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));
a.m_fn1();
}
a.m_fn1();
}
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
/home/dimhen/src/gcc_current/gcc/tree-eh.c:2335
0xe70c4c cleanup_empty_eh_merge_phis
/home/dimhen/src/gcc_current/gcc/tree-eh.c:4259
0xe714e9 cleanup_empty_eh
/home/dimhen/src/gcc_current/gcc/tree-eh.c:4508
0xe714e9 cleanup_all_empty_eh
/home/dimhen/src/gcc_current/gcc/tree-eh.c:4551
0xe714e9 execute_cleanup_eh_1
/home/dimhen/src/gcc_current/gcc/tree-eh.c:4581
0xe714e9 execute
/home/dimhen/src/gcc_current/gcc/tree-eh.c:4639
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.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/local/gcc_current/libexec/gcc/x86_64-unknown-linux-gnu/6.0.0/lto-wrapper
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)
- Follow-Ups:
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: dimhen at gmail dot com
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: rguenth at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org
- [Bug tree-optimization/65802] [6 Regression] ICE in redirect_eh_edge_1, at tree-eh.c:2335
- From: vries at gcc dot gnu.org