This is the mail archive of the gcc@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]

ICE on mainline with m68k-uclinux (verify_stmts failed)


Hello,

the following ice-on-valid-code appeared on mainline
between 2004-05-25 and 2004-05-29.

The source compiles fine with other versions of GCC, and
the error message is... err... funny.

I've committed two m68k patches by Peter Barada during this
time period, but I tried removing them and the ICE is still
there, so it must be something else.

Before filing a bug report, I'd like to know if anyone
noticed it already.  If not, I could try to hunt for
the exact patch that caused it.

---cut---
m68k-uclinux-gcc  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing  -Os  -Wa,--bitwise-or -I/usr/local/src/uclinux-tools/linux-2.6.x/include   -msoft-float -fno-builtin -nostdinc -D_LIBC -I../../include -I. -I/usr/local/lib/gcc/m68k-uclinux/3.5.0/include -DNDEBUG -DL__ppfs_setargs printf.c -c -o _ppfs_setargs.o
printf.c: In function `_ppfs_setargs':
printf.c:628: error: Invalid operand to unary operator
ppfs<D2414>

printf.c:628: internal compiler error: verify_stmts failed.
---cut---

The code near the error looks like this:

---cut---
   627 void _ppfs_setargs(register ppfs_t *ppfs)
   628 {
   629 #ifdef __va_arg_ptr
   630         register void **p = ppfs->argptr;
   631 #else
   632         register argvalue_t *p = ppfs->argvalue;
   633 #endif
   634         int i;
   635
   636 #ifdef NL_ARGMAX
   637         if (ppfs->maxposarg == 0) {     /* initing for or no pos args */
   638 #endif /* NL_ARGMAX */
---cut---

Boring preprocessed code available on request.

--
 // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/


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