On Mon, Nov 12, 2012 at 04:16:56PM +0000, Brian Drummond wrote: > On Mon, 12 Nov 2012 11:35:57 +0100, you wrote: > > >Hi Brian, > > > > >> Lluis uncovered (and I confirmed) a bug which segfaults some files but not > >> others with -O2 (or even -O) which disappears when -On is removed. > >> Confirm by looking at the command line for textio_body.v87... > > ># With -O: > >Program received signal SIGSEGV, Segmentation fault. > >fold_nonarray_ctor_reference (type=0x7ffff6ac1e70, ctor=0x7ffff6b56558, > >2865 tree byte_offset = DECL_FIELD_OFFSET (cfield); > ># cfield is 0x0 > > This is the same problem. > > > ># Without -O: > >Program received signal SIGSEGV, Segmentation fault. > >aggregate_value_p (exp=0x0, fntype=0x0) > >1964 const_tree type = (TYPE_P (exp)) ? exp : TREE_TYPE (exp); > > Argggg! This is something else. > We have had clean compiles without -O ... until now. > > Thanks for the report...
That reminds me, why the std_*vhd files are built without any "-O2" or other optimisation? Is LTO going to work with ghdl? I'm interested in much faster simulations, and I wonder if these things can help. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
