c/5582: a warning to implement

coola@ngs.ru coola@ngs.ru
Mon Feb 4 11:06:00 GMT 2002

>Number:         5582
>Category:       c
>Synopsis:       a warning to implement
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 04 11:06:03 PST 2002
>Originator:     Andrey R. Urazov
>Release:        3.0.3
gcc never warns of probable mistake when feed a line
like the following:

    int x = x;

concluding the discussion on the GCC ML. gcc should emit a
warning when invoke with `-Wall' and be silent when run
with `-Wall -Wno-<warning name>'
    int x = x;


More information about the Gcc-bugs mailing list