https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67882

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |segher at gcc dot gnu.org
         Resolution|FIXED                       |---

--- Comment #5 from Segher Boessenkool <segher at gcc dot gnu.org> ---
This patch regresses Linux build for 32-bit powerpc.  We have code like

struct s {
  int fpr[32][1];
  int fpscr;
};

assert(offsetof(s, fpr[32][0]) == offsetof(s, fpscr));

which is well-defined code afaics; but after this patch GCC will not
allow it.

Reply via email to