-
- Downloads
re PR c/20043 (transparent_union doesn't allow restrict qualifier removal)
PR c/20043 * c-typeck.c (composite_type): Handle quals in transparent unions. (type_lists_compatible_p): Likewise. * gcc.dg/transparent-union-1.c: New test. * gcc.dg/transparent-union-2.c: New test. From-SVN: r95255
Showing
- gcc/ChangeLog 6 additions, 0 deletionsgcc/ChangeLog
- gcc/c-typeck.c 52 additions, 18 deletionsgcc/c-typeck.c
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.dg/transparent-union-1.c 83 additions, 0 deletionsgcc/testsuite/gcc.dg/transparent-union-1.c
- gcc/testsuite/gcc.dg/transparent-union-2.c 18 additions, 0 deletionsgcc/testsuite/gcc.dg/transparent-union-2.c
Loading
Please register or sign in to comment