[MPC5777C] New compiler warning when changing versions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[MPC5777C] New compiler warning when changing versions

1,105 次查看
darq
Contributor III

Hello,

We have got some new warning during compilation of software when changing compiler version from 1607 to 1705.

darq_1-1732627467386.png


The warning states:
NXP/PowerPC/platform/devices/MPC5777C/startup/gcc/startup_MPC5777C.S:503: Warning: invalid register expression
NXP/PowerPC/platform/devices/MPC5777C/startup/gcc/startup_MPC5777C.S:504: Warning: invalid register expression

The code mentioned in a warning message is as follows:

darq_0-1732626676159.png

This part of the code is directly copied from NXP documentation AN5191 "MPC5777C Software Initialization and Optimization". Why is this warning showing all of a sudden and how to remove this warning in a proper way?

Best regards

 

标记 (2)
0 项奖励
回复
5 回复数

1,074 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I suppose it is only warning message, the assembler code is possible to compile correctly. Is it so?

 

0 项奖励
回复

1,063 次查看
darq
Contributor III

Hello,

Theoretically yes, but there is a company policy of no errors or warnings for software builds. It would be a great help if there was some way to remove it.

Best regards

0 项奖励
回复

1,043 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I have checked version of compiler I have on my PC and it is 1607. S32DS says all components are up to date. Our code has been tested with version 1607.

If you have installed compiler at you own, we cannot help as it is open-source compiler.

0 项奖励
回复

1,040 次查看
darq
Contributor III

Hello,

This build version has been taken from NXP website:
https://www.nxp.com/design/design-center/software/automotive-software-and-tools/s32-design-studio-id...

darq_0-1732794705115.png

 

Best regards

标记 (2)
0 项奖励
回复

1,021 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

I see.

However anyway this is standalone compiler and S32DS as well as SDK codes has been tested with 1607.

However I can report this issue.

0 项奖励
回复