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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonny Grant from comment #1)
> Created attachment 45144 [details]
> test case

Reproduced here, as it's tiny and more convenient in a comment than as an
attachment:

// g++ -Wall -O2 -o suggest var_suggest.cpp
int main()
{
    int vresults1 = 0;
    int aresult = aresults +1;

    return aresult;
}

Reply via email to