This is the mail archive of the gcc-bugs@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]

[Bug target/26427] Regressions with -fsection-anchors with zero sized structs



------- Comment #3 from rsandifo at gcc dot gnu dot org  2006-03-02 19:44 -------
I said:

> I'm considering adding equivalent code to varasm.c.  This will fix
> an inconsistency in the handling of zero-sized decls: sometimes
> they get a byte of storage allocated to them (giving them a unique
> address) and sometimes they don't.

I'm no longer sure that's a good idea.  I suspect some users of
zero-sized structs really do want them to take zero size in the
object, and know which incantation they need to get that.

I'll have to leave the darwin.h ASM_DECLARE_OBJECT_NAME() issue
to someone with access to Darwin.

Richard


-- 


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


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