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]

c/545: -std=c89 defines macros it shouldn't



>Number:         545
>Category:       c
>Synopsis:       -std=c89 defines macros it shouldn't
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 18 02:06:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Myers
>Release:        2.96
>Organization:
none
>Environment:
System: Linux decomino 2.2.17 #1 Mon Sep 4 20:22:16 UTC 2000 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
>Description:

gcc -std=c89 wrongly predefines the macro `i386'.  gcc -ansi correctly
does not define it.  gcc -std=c99 has the same bug.  -std=c89 should
act exactly the same as -ansi.

I previously reported this to gcc-bugs in April; and am now reporting
it again to get it in the GNATS database.

http://gcc.gnu.org/ml/gcc-bugs/2000-04/msg00433.html

>How-To-Repeat:

>Fix:

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

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