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
>Closed-Date:
>Last-Modified:
>Originator:     Andrey R. Urazov
>Release:        3.0.3
>Organization:
>Environment:
any
>Description:
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>'
>How-To-Repeat:
compile:
    int x = x;
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list