diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-10 12:38:34 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-10 12:38:34 +0000 |
commit | fea849d3ae75cee1c377ecb89c6b0876e1fb601b (patch) | |
tree | bf0363a9abcdf9390c78c1340cf7f4002e86ccaf /gcc/java/java-tree.def | |
parent | fece76558f0e9adf2e176ac75bea7e1f1605e707 (diff) | |
download | gcc-fea849d3ae75cee1c377ecb89c6b0876e1fb601b.tar.gz |
PR c/21342
* c-decl.c (pushdecl): When there is a declaration in the current
scope and the declarations are external linkage, check for
compatibility with the type in the external scope and update the
type in the external scope with the composite type information.
Do not form a composite type of the new type and the visible type
if they are incompatible.
testsuite:
* gcc.dg/redecl-11.c, gcc.dg/redecl-12.c, gcc.dg/redecl-13.c,
gcc.dg/redecl-14.c, gcc.dg/redecl-15.c: New tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99510 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/java-tree.def')
0 files changed, 0 insertions, 0 deletions