This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][LTO] Fix PR40902, ignore toplevel qualifiers when merging symbols


On Mon, Oct 5, 2009 at 10:23, Richard Guenther <rguenther@suse.de> wrote:

> I'll add a FIXME before committing. ÂI think we should unconditionally
> warn for things that might cause problems later, like when we fail
> to merge two symbols - that might confuse alias analysis enough to
> later miscompile things.

Agreed.

>ÂFor the rest we should either invent a
> new warning class or try to find an existing suitable one - but
> warning unconditionally here seems bogus to me (think of -Werror
> builds that now fail with -flto but didn't w/o -flto).

Of course, I don't think we should ever warn unconditionally during
LTO processing.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]