This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/20739] [4.0/4.1 regression] ICE in gimplify_addr_expr


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]