MPC55xx Warning for Undefined Behavior

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 13 16:05:32 UTC 2014


Hi

I noticed this going over the logs and wanted help resolving it.

      5 c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:27: warning:
iteration 474ul invokes undefined behavior [-Waggressive-loop-optimizations]

$ grep "undefined be"  log/*
log/powerpc-mpc5674f_ecu508_app.log:../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:27:
warning: iteration 474ul invokes undefined behavior
[-Waggressive-loop-optimizations]
log/powerpc-mpc5674f_ecu508_boot.log:../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:27:
warning: iteration 474ul invokes undefined behavior
[-Waggressive-loop-optimizations]
log/powerpc-mpc5674fevb.log:../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:27:
warning: iteration 474ul invokes undefined behavior
[-Waggressive-loop-optimizations]
log/powerpc-mpc5674fevb_spe.log:../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:27:
warning: iteration 474ul invokes undefined behavior
[-Waggressive-loop-optimizations]
log/powerpc-mpc5674f_rsm6.log:../../../../../../../rtems/c/src/lib/libcpu/powerpc/mpc55xx/irq/irq.c:170:27:
warning: iteration 474ul invokes undefined behavior
[-Waggressive-loop-optimizations]

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list