This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24589] [4.1 Regression] wrong code with zero sized structs on CONSTRUCTOR
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Nov 2005 15:21:24 -0000
- Subject: [Bug middle-end/24589] [4.1 Regression] wrong code with zero sized structs on CONSTRUCTOR
- References: <bug-24589-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-03 15:21 -------
Subject: Bug 24589
Author: pinskia
Date: Thu Nov 3 15:21:15 2005
New Revision: 106436
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106436
Log:
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/24589
* gimplify.c (gimplify_expr) <case CONSTRUCTOR>: Add the
expressions to a statement list instead of gimplifying them.
2005-11-03 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/24589
* gcc.c-torture/execute/zero-struct-2.c: New test.
Added:
trunk/gcc/testsuite/gcc.c-torture/execute/zero-struct-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimplify.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24589