Re: Simplify enumerate and array types

2018-11-20 Thread Jan Hubicka
> > Somehow do this first, otherwise 'incomplete' above is useless > work? Well, there are two types but one is main variant of the other. I have restructured the code and avoided the duplicate lookup & code duplication. The attached patch boostraps and I plan to commit it after bit of further

Re: Simplify enumerate and array types

2018-11-13 Thread Richard Biener
On Sun, 11 Nov 2018, Jan Hubicka wrote: > Hi, > this patch should be last patch for type simplification (modulo possible bits > that needs clearing I still notice). It does the following > 1) enables the patch to simplify aggregates also for enums. > While this does not affect C++, in C we

Simplify enumerate and array types

2018-11-11 Thread Jan Hubicka
Hi, this patch should be last patch for type simplification (modulo possible bits that needs clearing I still notice). It does the following 1) enables the patch to simplify aggregates also for enums. While this does not affect C++, in C we want pointers to incomplete and complete