Re: Use TBAA for lto-symtab decl merging warnings

2015-11-25 Thread Richard Biener
On Tue, Nov 24, 2015 at 8:29 PM, Bernhard Reutner-Fischer wrote: > On November 24, 2015 7:23:40 AM GMT+01:00, Jan Hubicka wrote: >>Hi, > > Doc talks about COMMON, parm is COMMON_OR_EXTERN. > >> static int >>-warn_type_compatibility_p (tree prevailing_type, tree type) >>+warn_type_compatibility_p

Re: Use TBAA for lto-symtab decl merging warnings

2015-11-24 Thread Bernhard Reutner-Fischer
On November 24, 2015 8:29:10 PM GMT+01:00, Bernhard Reutner-Fischer wrote: >On November 24, 2015 7:23:40 AM GMT+01:00, Jan Hubicka >wrote: >>Hi, > >Doc talks about COMMON, parm is COMMON_OR_EXTERN. > >> static int >>-warn_type_compatibility_p (tree prevailing_type, tree type) >>+warn_type_compat

Re: Use TBAA for lto-symtab decl merging warnings

2015-11-24 Thread Bernhard Reutner-Fischer
On November 24, 2015 7:23:40 AM GMT+01:00, Jan Hubicka wrote: >Hi, Doc talks about COMMON, parm is COMMON_OR_EXTERN. > static int >-warn_type_compatibility_p (tree prevailing_type, tree type) >+warn_type_compatibility_p (tree prevailing_type, tree type, >+ bool common_or_