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 tree-optimization/37756] ICE building object file with -O3 and -combine



------- Comment #5 from zlynx at acm dot org  2008-10-08 00:54 -------
I think you missed some of your explanation.  

Do you mean that it may not be valid to take the address of a global struct
with partial definition? For example in udns_init.c which does not define
dns_defctx, but has this code:

int dns_init(struct dns_ctx *ctx, int do_open) {
  if (!ctx)
    ctx = &dns_defctx;
[...]


-- 


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


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