target/10687: [3.3] Typo in mips/linux.h

drow@false.org drow@false.org
Thu May 8 17:04:00 GMT 2003


>Number:         10687
>Category:       target
>Synopsis:       [3.3] Typo in mips/linux.h
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 08 16:56:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     drow@false.org
>Release:        3.3 CVS branch
>Organization:
>Environment:

>Description:
There's a one-character typo in config/mips/linux.h; the fix
was queued up with the merge from the mips-rewrite branch
so it was never submitted for 3.3.  It causes the C compiler
to set c_language=clk_cplusplus, which is surprisingly
harmless, and to define -D_GNU_SOURCE by default, which
isn't.

        /* The GNU C++ standard library requires this.  */      \
-       if (c_language = clk_cplusplus)                         \
+       if (c_language == clk_cplusplus)                        \
>How-To-Repeat:

>Fix:

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



More information about the Gcc-bugs mailing list