This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25860] [4.2 Regression] ice with -g -O2 -fPIC
- 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: 19 Jan 2006 19:16:26 -0000
- Subject: [Bug tree-optimization/25860] [4.2 Regression] ice with -g -O2 -fPIC
- References: <bug-25860-9596@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 2006-01-19 19:16 -------
Reduced testcase:
struct g
{
int i;
};
struct f
{
struct g i;
};
int GSM_RingNoteGetFullDuration(struct g)__attribute__((const));
void savewav(struct f *gg)
{
struct g *Note;
long i = 0,j,length=0;
Note = &gg->i;
for (j=0;j<GSM_RingNoteGetFullDuration(*Note);j++)
;
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dberlin at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-01-19 19:16:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25860