joerg added a comment.

The last review left out the case of naturally aligned packed members, IIRC. I 
have to go over the warning list in NetBSD again, but I'm moderately sure it is 
not fixed.

The better example is:

  struct __attribute__((__packed__)) bar {
      uint16_t x1;
      uint16_t x2;
  };
  
  &bar->x2;

...which is not aligned.


Repository:
  rL LLVM

https://reviews.llvm.org/D20561



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to