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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
   Last reconfirmed|2017-07-29 00:00:00         |2019-3-14
                 CC|                            |amonakov at gcc dot gnu.org,
                   |                            |rguenth at gcc dot gnu.org

--- Comment #2 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Optimized to 'return 1' already in fre1.

At the same time, accesses via 'int *' vs. 'unsigned *' potentially conflict in

int f(int *p, unsigned *q)
{
  *p = 1;
  *q = 2;
  return *p;
}

Reply via email to