This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/88320] GCC suggests variables that don't exist yet


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

--- Comment #8 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
FWIW, clang trunk currently gives the same erroneous suggestion:

<source>:4:19: error: use of undeclared identifier 'aresults'; did you mean
'aresult'?
    int aresult = aresults +1;
                  ^~~~~~~~
                  aresult
<source>:4:9: note: 'aresult' declared here
    int aresult = aresults +1;
        ^
1 error generated.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]