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.
Hi, for the records, I am working (well, when I have some time) on the use of gcc 4.7 starting from a mix of my previous work and yours. Currently, I still have some failures. Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
