Hi Tristan,
the following testcase gives me a segfault:
z.vhd: In function ‘work__test1__ARCH__test1__P0__test2’:
z.vhd:19: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gna.org/projects/ghdl> for instructions.
ghdl: compilation error
This is on i386 and on x86_64.
Tom
use std.textio.all;
entity test1 is
end test1;
architecture test1 of test1 is
begin
process
procedure test2 is
variable ln : line;
type vartype_t is (vt_scalar, vt_matrix, vt_complexmatrix, vt_invalid);
variable vartype : vartype_t := vt_invalid;
begin
write(ln, string'(" VT: ")
& vartype_t'image(vartype)
);
writeline(output, ln);
end test2;
begin
test2;
wait;
end process;
end test1;