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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-07-18
                 CC|                            |msebor at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
Confirmed (both the error and that maybe_constant_value has a cache).

$ cat t.C && gcc -S -fcompare-debug=-Wrestrict t.C
#include <vector>

std::vector<int>
f()
{
  std::vector<int> r;
  return r;
}
xg++: error: t.C: -fcompare-debug failure

Reply via email to