On Tue, 2014-11-04 at 18:43 +0100, Tristan Gingold wrote:
> On 04/11/14 13:07, Joris van Rantwijk wrote:
> > Brian Drummond wrote:
> >> As it is, if I read it correctly, function type_for_size (ortho_lang.c
> >> line 690ff) can potentially return an uninitialised tree in cases where
> >> previously it would return NULL_TREE.
> >
> > I don't see that.
> > The function returns the result of either make_unsigned_type or
> > make_signed_type. Assuming those functions are well-behaved, type_for_size
> > should always return something.
> 
> Yes, more comments would be welcome, but I don't see use of 
> uninitialized variables.

On looking at it again, it's fine, I must have been blind this morning.
False alarm, and my apologies!

- Brian



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

Reply via email to