On 13/10/14 18:05, Joel Sherrill wrote:
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
Following up on Gedare's comment. I am fighting warnings
and there was one buried in the mass which we need help
running down. Peter has found an inconsistency in the
Freescale documentation which is reflected in the code which
in turn causes the warning in the code. Read the thread below
and help
On Oct 13, 2014, at 16:00 , Joel Sherrill wrote:
>
> On 10/13/2014 2:56 PM, Peter Dufault wrote:
>> On Oct 13, 2014, at 15:22 , Peter Dufault wrote:
>>
>>> This looks like an issue in the header. I downloaded the MPC5674F
>>> Reference Manual and it does specify 479 interrupt request source
On 10/13/2014 2:56 PM, Peter Dufault wrote:
> On Oct 13, 2014, at 15:22 , Peter Dufault wrote:
>
>> This looks like an issue in the header. I downloaded the MPC5674F Reference
>> Manual and it does specify 479 interrupt request sources. See table 9-2,
>> INTC Memory Map
>>
>> Base + (0x0040–0
On Oct 13, 2014, at 15:22 , Peter Dufault wrote:
> This looks like an issue in the header. I downloaded the MPC5674F Reference
> Manual and it does specify 479 interrupt request sources. See table 9-2,
> INTC Memory Map
>
> Base + (0x0040–0x0219) INTC_PSRn—INTC priority select registers 2
On Oct 13, 2014, at 13:07 , Peter Dufault wrote:
> but the upper limit of loop is #defined to 479:
>
> #if MPC55XX_CHIP_FAMILY == 555
>#define MPC55XX_IRQ_MAX 307U
> #elif MPC55XX_CHIP_FAMILY == 556
>#define MPC55XX_IRQ_MAX 360U
> #elif MPC55XX_CHIP_FAMILY == 567
>#define MPC55XX
On Oct 13, 2014, at 12:05 , Joel Sherrill wrote:
> 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
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:../../../../../../