<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Mar 12, 2016 at 11:27 PM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Mar 12, 2016 at 06:42:38PM -0800, Rui Ueyama wrote:<br>
> Looking into it and I found that this patch seems desirable. I think the<br>
> use case of this option is to catch any programmer's error to forget to add<br>
> "extern" to uninitialized global variables. They are usually silently<br>
> merged by the linker because they are common symbols, but you often want to<br>
> avoid that default behavior and do rigorous error checking. This option is<br>
> useful for that. In that case you want to find any common duplicate common<br>
> symbols regardless of their sizes.<br>
<br>
</span>But that's already better served by -fno-common in the compiler.<br></blockquote><div><br></div><div>In that sense this linker option is redundant, no? </div></div></div></div>