rjmccall added a comment.

Oh, no, I don't think this is NFC.  It seems very likely that there's some case 
where the behavior is distinguishable.  Maybe a typedef of a record with an 
alignment attribute?

  __attribute__((aligned(2), packed)) struct float4 { float x, y, z, w; };
  typedef struct float4 float4typedef;
  
  struct {
    float4typedef field; // presumably still eligible for alignment upgrade
  };


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109387/new/

https://reviews.llvm.org/D109387

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D109387: [NFC][AIX] Ch... John McCall via Phabricator via cfe-commits

Reply via email to