Moin,

I just tried the VHPI example from Yann Guidon [1] and get
a different behaviour when using ghdl with llvm than with gcc:

gcc:
---
# sh access.sh 
access_test.vhdl:31:5:@0ms:(report note): integer=0
access_test.vhdl:33:5:@0ms:(report note): integer=42
access_test.vhdl:35:5:@0ms:(report note): integer=24
---

llvm:
---
# sh access.sh 
access_test.vhdl:31:5:@0ms:(report note): integer=0
access_test.vhdl:33:5:@0ms:(report note): integer=42
access_test.vhdl:35:5:@0ms:(report note): integer=-1936036088
---

Also, the last output isnt stable with llvm, ie it changes
with each run.

The gcc version is ghdl 0.31 with gcc 4.8.2, the llvm version is
straight from hg (837) with llvm 3.5 (debian/testing)

                        Attila 


[1] http://ygdes.com/GHDL/access_c/

-- 
It is upon moral qualities that a society is ultimately founded. All 
the prosperity and technological sophistication in the world is of no 
use without that foundation.
                 -- Miss Matheson, The Diamond Age, Neil Stephenson

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

Reply via email to