On Wed, Jun 8, 2011 at 3:07 AM, Andi Kleen <a...@firstfloor.org> wrote: > When erroring on a section type conflict print both locations. > This makes it a lot easier to track them down, especially in LTO. > > This is still not quite good before it prints only one > conflict pair currently instead of all, but at least all > the problems can be fixed iteratively now. > > Better would be likely to have a majority vote and print > everyone disagreeing. > > Passes bootstrap & test suite on x86_64-linux. Ok to commit? > > 2011-06-06 Andi Kleen <a...@linux.intel.com> > > * varasm.c (get_section): Print location of other conflict > for section conflicts.
Hi Andi, You need to update 2 testcases due to extra message: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49341 -- H.J.