[Bug c/57725] conflicting language extensions

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 27 15:31:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57725

--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Thu, 27 Jun 2013, jbeulich at novell dot com wrote:

> How that? How is code supposed to find out then?

Why does the code want to find out?  If it's using these extensions it's 
saying it's OK with the consequences of objects being at the same address, 
including indeterminate comparisons where one of the objects might be 
zero-size.

If you want to compare symbols without optimization, you should be able to 
use asms to hide from the compiler exactly what's being compared.



More information about the Gcc-bugs mailing list