OSDN Git Service

2005-08-16 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Aug 2005 01:55:05 +0000 (01:55 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 17 Aug 2005 01:55:05 +0000 (01:55 +0000)
commit37c33a593b56d5a4136cf4fc9be4a46b803986df
treed00c8bb96337b5b35ec229a136bbb9fbfed3ba57
parent2edea10bab166259529c6a1abf0e98009938a982
2005-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/23402
        * gcc.c-torture/compile/zero-strct-3.c: New test.
        * gcc.c-torture/compile/zero-strct-4.c: New test.

2005-08-16  Andrew Pinski  <pinskia@physics.uc.edu>

        PR tree-opt/23402
        * gimplify.c (zero_sized_type): New function.
        (gimplify_modify_expr_rhs): If we have a zero sized type,
        replace the statement with an empty statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103191 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/zero-strct-3.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/compile/zero-strct-4.c [new file with mode: 0644]