https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67917
Bug ID: 67917 Summary: ICE in openssl-1.0.2d.tar.gz "/usr/include/openssl/bn.h:335:3: error: TYPE_CANONICAL is not compatible" Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: guille at cal dot berkeley.edu Target Milestone: --- COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-apple-darwin13.4.0/6.0.0/lto-wrapper Target: x86_64-apple-darwin13.4.0 Configured with: ../configure --enable-languages=c,c++ Thread model: posix gcc version 6.0.0 20151004 (experimental) (GCC) --------------------------------------------------------------------------- /usr/include/openssl/bn.h:335:3: error: TYPE_CANONICAL is not compatible { ^ <record_type 0x12707f000 bn_gencb_st type_5 VOID align 8 symtab 654777712 alias set -1 canonical type 0x12707f000 fields <field_decl 0x1270ecc78 arg type <pointer_type 0x143c272a0 type <void_type 0x143c27150 void> asm_written public unsigned type_6 DI size <integer_cst 0x143c01e58 constant 64> unit size <integer_cst 0x143c01e70 constant 8> align 64 symtab 171348768 alias set -1 canonical type 0x143c272a0 pointer_to_this <pointer_type 0x143c311f8> reference_to_this <reference_type 0x10b03f930>> decl_3 VOID file /usr/include/openssl/bn.h line 333 col 8 align 1 offset_align 1 context <record_type 0x12707f000 bn_gencb_st> chain <field_decl 0x1270ecbe0 ver type <integer_type 0x143c05888 unsigned int> decl_3 VOID file /usr/include/openssl/bn.h line 332 col 15 align 1 offset_align 1 context <record_type 0x12707f000 bn_gencb_st> chain <type_decl 0x1270ecb48 bn_gencb_st>>> context <translation_unit_decl 0x1422d81e0 D.1> full-name "struct bn_gencb_st" n_parents=0 use_template=0 interface-unknown pointer_to_this <pointer_type 0x1270eb888> chain <type_decl 0x12707d428 bn_gencb_st>> <record_type 0x12707f0a8 BN_GENCB type_5 VOID align 8 symtab 654777632 alias set -1 canonical type 0x12707f000 context <translation_unit_decl 0x1422d81e0 D.1> full-name "BN_GENCB" n_parents=0 use_template=0 interface-unknown pointer_to_this <pointer_type 0x1270eb7e0> chain <type_decl 0x12707d428 bn_gencb_st>> /usr/include/openssl/bn.h:335:3: internal compiler error: verify_type failed /usr/include/openssl/bn.h:335:3: internal compiler error: Abort trap: 6 c++: internal compiler error: Abort trap: 6 (program cc1plus)