PR c/6024
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2004 22:24:44 +0000 (22:24 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Jan 2004 22:24:44 +0000 (22:24 +0000)
commit09e0a2a118ffec215309b09e34f77549b3886a79
tree758366d4443ad9fd7fd7a5e37a42e69d047dd67a
parent06144ff3388710e1c30a18bfdb7d90568624151e
PR c/6024
* c-typeck.c (comptypes): Only treat enumerated types in the same
translation unit as compatible with each other when they are the
same type.
* doc/extend.texi: Update.

f:
* com.h (ffecom_gfrt_basictype): Correct return type.

testsuite:
* gcc.dg/enum-compat-1.c: New test.
* gcc.c-torture/execute/builtin-types-compatible-p.c: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75521 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/doc/extend.texi
gcc/f/ChangeLog
gcc/f/com.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/builtin-types-compatible-p.c
gcc/testsuite/gcc.dg/enum-compat-1.c [new file with mode: 0644]