c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type) is not NULL.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Tue, 30 Jan 2001 19:19:40 +0000 (19:19 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Tue, 30 Jan 2001 19:19:40 +0000 (19:19 +0000)
commite9770d5120e4f26b56d820ceb363497e3c724297
treed8f79081ba49b8c1fd91e83b95f8c1ca69877c3e
parentd966ae60665c7dbe90121db5304b4328feb0eb04
c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type) is not NULL.

        * c-decl.c (c_expand_body): Check TYPE_SIZE_UNIT (ret_type)
        is not NULL.
        * toplev.c (decode_W_option): Update warn_larger_than
        unconditionally for each processed switch.
        * testsuite/gcc.dg/Wlarger-than.c: New test.

From-SVN: r39352
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/Wlarger-than.c [new file with mode: 0644]
gcc/toplev.c