This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/10687: [3.3] Typo in mips/linux.h
- From: drow at false dot org
- To: gcc-gnats at gcc dot gnu dot org
- Date: 8 May 2003 16:51:59 -0000
- Subject: target/10687: [3.3] Typo in mips/linux.h
- Reply-to: drow at false dot org
>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: