diff options
author | Paul Eggert <eggert@gnu.org> | 1996-02-16 20:13:23 +0000 |
---|---|---|
committer | Paul Eggert <eggert@gnu.org> | 1996-02-16 20:13:23 +0000 |
commit | 7e842ef8c598036fa32d6d87fa350c04f0b037e3 (patch) | |
tree | b3619e35c7de9421ce6e20393e8eec04ff376451 /gcc/c-decl.c | |
parent | 0afeb08a70db2010b7c0fc5db09c1c5c454271d7 (diff) | |
download | gcc-7e842ef8c598036fa32d6d87fa350c04f0b037e3.zip gcc-7e842ef8c598036fa32d6d87fa350c04f0b037e3.tar.gz gcc-7e842ef8c598036fa32d6d87fa350c04f0b037e3.tar.bz2 |
c-typeck.c (convert_for_assignment): Bring back conversion to union without a cast...
* c-typeck.c (convert_for_assignment):
Bring back conversion to union without a cast,
undoing the Jan 16 change, but with the following differences:
* The union must have the transparent_union attribute.
* The conversion must be for a function argument.
* Warn consistently about such conversions if pedantic.
* Do not warn about an assignment incompatibility for one union member
if another union member is compatible with no warning.
From-SVN: r11290
Diffstat (limited to 'gcc/c-decl.c')
0 files changed, 0 insertions, 0 deletions