[Bug c++/68351] New: ICE in ssl.h with -g
guille at cal dot berkeley.edu
gcc-bugzilla@gcc.gnu.org
Sat Nov 14 19:54:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68351
Bug ID: 68351
Summary: ICE in ssl.h with -g
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: ---
Created attachment 36709
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36709&action=edit
this is the OSX 10.9.5 /usr/include/openssl/ssl.h
t.c:
#include <openssl/ssl.h>
int main() { return 0; }
# c++-6.0.0 -g t.c
In file included from /usr/include/openssl/asn1.h:76:0,
from /usr/include/openssl/objects.h:962,
from /usr/include/openssl/evp.h:100,
from /usr/include/openssl/x509.h:75,
from /usr/include/openssl/ssl.h:185,
from t.c:1:
/usr/include/openssl/bn.h:335:3: error: TYPE_CANONICAL is not compatible
{
^
<record_type 0x101efdf18 bn_gencb_st type_5 VOID
align 8 symtab 32505936 alias set -1 canonical type 0x101efdf18
fields <field_decl 0x101f89000 arg
type <pointer_type 0x1434272a0 type <void_type 0x143427150 void>
asm_written public unsigned DI
size <integer_cst 0x143401e58 constant 64>
unit size <integer_cst 0x143401e70 constant 8>
align 64 symtab 31264032 alias set -1 canonical type 0x1434272a0
pointer_to_this <pointer_type 0x1434311f8>>
decl_3 VOID file /usr/include/openssl/bn.h line 333 col 8
align 1 offset_align 1 context <record_type 0x101efdf18 bn_gencb_st>
chain <field_decl 0x101f7ded8 ver type <integer_type 0x143405888
unsigned int>
decl_3 VOID file /usr/include/openssl/bn.h line 332 col 15
align 1 offset_align 1 context <record_type 0x101efdf18
bn_gencb_st> chain <type_decl 0x101f7de40 bn_gencb_st>>> context
<translation_unit_decl 0x1425261e0 D.1>
full-name "struct bn_gencb_st"
n_parents=0 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x101f870a8> chain <type_decl 0x101efe850
bn_gencb_st>>
<record_type 0x101eff000 BN_GENCB type_5 VOID
align 8 symtab 32505856 alias set -1 canonical type 0x101efdf18 context
<translation_unit_decl 0x1425261e0 D.1>
full-name "BN_GENCB"
n_parents=0 use_template=0 interface-unknown
pointer_to_this <pointer_type 0x101f87f18> chain <type_decl 0x101efe850
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++-6.0.0: internal compiler error: Abort trap: 6 (program cc1plus)
More information about the Gcc-bugs
mailing list