I've now built ghdl 0.32rc1 hg484 for Fedora Rawhide:
http://koji.fedoraproject.org/koji/taskinfo?taskID=8185122

One of my projects, which works with 0.31, causes ghdl to assert:

Execution terminated by unhandled exception
Exception name: SYSTEM.ASSERTIONS.ASSERT_FAILURE
Message: iirs.adb:1670
Call stack traceback locations:
0x374da37a01 0x5874ac 0x64c40c 0x639e0e 0x639fb0 0x63a57e 0x65f7a8 0x656348 0x661d3d 0x62fc5a 0x630d95 0x58f397 0x5687fd 0x941c6f 0x943946 0x58f3e9 0x565d45 0x374c0200de 0x56636d 0xfffffffffffffffe
ghdl: compilation error

The call stack is:
#0  0x000000374da3c824 in __gnat_debug_raise_exception ()
   from /lib64/libgnat-4.9.so
#1  0x000000374d926a96 in ada.exceptions.complete_occurrence ()
   from /lib64/libgnat-4.9.so
#2 0x000000374d926aa1 in ada.exceptions.complete_and_propagate_occurrence ()
   from /lib64/libgnat-4.9.so
#3 0x000000374d926af5 in __gnat_raise_exception () from /lib64/libgnat-4.9.so
#4  0x000000374da37a03 in system.assertions.raise_assert_failure ()
   from /lib64/libgnat-4.9.so
#5  0x00000000005874ae in iirs.get_base_name (target=15296)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/iirs.adb:1670
#6 0x000000000064c40e in sem_expr.sem_procedure_call (call=<optimized out>,
    stmt=stmt@entry=12502)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem_expr.adb:1504
#7  0x0000000000639e10 in sem_stmts.sem_sequential_statements_internal (
    first_stmt=<optimized out>)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem_stmts.adb:1251
#8  0x0000000000639fb2 in sem_stmts.sem_sequential_statements_internal (
    first_stmt=<optimized out>)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem_stmts.adb:1210
#9  0x000000000063a580 in sem_stmts.sem_sequential_statements (
    decl=decl@entry=15324, body_parent=body_parent@entry=12456)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem_stmts.adb:1275
#10 0x000000000065f7aa in sem.sem_subprogram_body (subprg=12456)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem.adb:1814
#11 0x000000000065634a in sem_decls.sem_declaration_chain (
    parent=parent@entry=1201)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem_decls.adb:2802
#12 0x0000000000661d3f in sem.sem_package_body (decl=1201)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem.adb:2427
#13 sem.semantic (design_unit=design_unit@entry=1204)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/sem.adb:2726
#14 0x000000000062fc5c in trans_be.finish_compilation (unit=1204,
    main=<optimized out>)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/trans_be.adb:52
#15 0x0000000000630d97 in ortho_front.parse (filename=...)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/ortho_front.adb:368
#16 0x000000000058f399 in lang_parse_file (filename=0x7fffffffdc44)
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/ortho_gcc.adb:114
#17 0x00000000005687ff in ortho_parse_file ()
    at ../../gcc/vhdl/ortho-lang.c:471
#18 0x0000000000941c71 in compile_file () at ../../gcc/toplev.c:550
#19 0x0000000000943948 in do_compile () at ../../gcc/toplev.c:1926
#20 toplev_main (argc=23, argv=0x7fffffffd598) at ../../gcc/toplev.c:2004
#21 0x000000000056e455 in toplev_main_c (argc=<optimized out>,
    argv=<optimized out>) at ../../gcc/vhdl/ortho-lang.c:2177
#22 0x000000000058f3eb in ortho_gcc.main ()
    at /usr/src/debug/gcc-4.9.2-20141101/gcc/vhdl/ortho_gcc-main.adb:40

This is a package body. I've tried to delete each procedure one at a time. However, it seems that more than one procedure is causing this abort. Does anyone know how to further debug this?

Tom



_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to