The (incorrect) program below causes GHDL to abort (a real error message
including line/col number would be desirable):

internal error: eval_dyadic_operator: IIR_PREDEFINED_UNIVERSAL_R_I_DIV

******************** GHDL Bug occured ****************************
Please report this bug on http://gna.org/projects/ghdl
GHDL version: GHDL 0.21dev (20051016) [Sokcho edition]
Compiled with GNAT Version: 4.0.1 20050727 (Red Hat 4.0.1-5)
In directory: /tmp/
Command line:
/usr/libexec/gcc/i686-pc-linux-gnu/4.0.2/ghdl1 -g -O2 
-P/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/vhdl/lib/v93/std/ 
-P/usr/lib/gcc/i686-pc-linux-gnu/4.0.2/vhdl/lib/v93/ieee/ -quiet -o y.s y.vhd
Exception TYPES.INTERNAL_ERROR raised
Exception information:
Exception name: TYPES.INTERNAL_ERROR
Message: errorout.adb:346
Call stack traceback locations:
0x8079273 0x809d571 0x810c2bb 0x810c965 0x810a8a5 0x810c625 0x810a8a5 0x810b5cb 
0x80fcb59 0x80fd3e2 0x80fd421 0x80fd8ed 0x80fdea7 0x811b6f3 0x80f5107 0x80f63d8 
0x80551fb 0x804d7d8
******************************************************************

Execution terminated by unhandled exception
Exception name: TYPES.INTERNAL_ERROR
Message: errorout.adb:346
Call stack traceback locations:
0x8079273 0x809d571 0x810c2bb 0x810c965 0x810a8a5 0x810c625 0x810a8a5 0x810b5cb 
0x80fcb59 0x80fd3e2 0x80fd421 0x80fd8ed 0x80fdea7 0x811b6f3 0x80f5107 0x80f63d8 
0x80551fb 0x804d7d8
ghdl: compilation error





library ieee;
use ieee.math_real.all;
use ieee.math_complex.all;

entity inttest is  
end inttest;

architecture inttest of inttest is
begin

  process
    variable t : complex;
    variable x : real;
  begin
    t := cmplx(1.0);
    x := t.re * (1.0 / (2 ** 5));
  end process;

end inttest;



Reply via email to