Re: svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Pedro Giffuni
On 20/05/2016 12:23, Ed Schouten wrote: Hi Pedro, 2016-05-20 16:36 GMT+02:00 Pedro F. Giffuni : + tree anon = NULL_TREE; This initialization shouldn't be needed, right? The value is always assigned before used. Yes, you are right. However do note that anon is used only within an if() so

Re: svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Pedro Giffuni
On 20/05/2016 12:23, Ed Schouten wrote: Hi Pedro, 2016-05-20 16:36 GMT+02:00 Pedro F. Giffuni : + tree anon = NULL_TREE; This initialization shouldn't be needed, right? The value is always assigned before used. Oh wait .. the patch is incomplete .. the code is a no-op. Pedro. ___

Re: svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Ed Schouten
Hi Pedro, 2016-05-20 16:36 GMT+02:00 Pedro F. Giffuni : > + tree anon = NULL_TREE; This initialization shouldn't be needed, right? The value is always assigned before used. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717 ___

svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 20 14:36:49 2016 New Revision: 300301 URL: https://svnweb.freebsd.org/changeset/base/300301 Log: GCC: Add support for named initializers for anonymous structs/unions. This is a C11 feature that is starting to get used in places such as Mesa. This implementation t