[Bug tree-optimization/96108] Different behavior in DSE pass

499537630 at qq dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 8 09:17:54 GMT 2020


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

--- Comment #2 from Jolyon <499537630 at qq dot com> ---
(In reply to Andrew Pinski from comment #1)
> Did it only change when a is uninitialized or was this a reduction of a
> bigger code and you reduced it too far?

Or you could fix the tauth.c???
$cat tauth.c
struct aa;
static inline struct aa* get_aa(void) {
  struct aa* a;
  return a;
}
struct aa {
  int b;
};
int main()
{
  get_aa()->b &= 0xfff0;
  return 0;
}


More information about the Gcc-bugs mailing list