------- Comment #3 from pinskia at gcc dot gnu dot org 2005-10-03 16:54 -------
Confirmed, reduced testcase:
void IOException( char);
inline int* dummy( const char* const mode )
{
IOException(*mode+*mode);
}
void prepare_inpaint( )
{
dummy ("rb");
}
The problem is that we have &"rb"[0] and we get *(&"rb"[0]) but we only fold
that to "rb"[0] instead of all the way to 'r'.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-10-03 16:54:18
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24172