This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr
- 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 Apr 2005 16:53:12 -0000
- Subject: [Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr
- References: <20050403142858.20739.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-03 16:53 -------
Confirmed.
Note you don't even have to include the *(&a) part either:
typedef struct
{
char chars[5];
}
baz_t;
extern baz_t * baz;
extern void foo (baz_t);
int
bar (const baz_t * ls)
{
foo (ls == 0 ? *baz : *ls);
}
But the above worked with "4.0.0 20050225" so something more recent introduced the problem.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-03 16:53:11
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20739