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] | |
------- Comment #7 from rguenth at gcc dot gnu dot org 2008-06-12 14:39 -------
The following fails with -O -ftree-pre:
void
foo (short *sp)
{
int k;
k = 1;
#define SP0 *sp++ = 1;
while (1)
{
if (k > 6)
break;
SP0
k++;
}
k = 1;
while (1)
{
if (k > 6)
break;
SP0
k++;
}
#define SP1 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0 SP0
#define SP2 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1 SP1
SP2
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36508
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |