Mark Butcher

CW 10.1 Compiler Crashing

Discussion created by Mark Butcher on Mar 13, 2011
Latest reply on May 15, 2011 by David Beberman

Hi

 

I am trying to build a Coldfire project with CW 10.1.

 

The project is OK with CW 7.2 but causes the compiler to crash when a certain file is compiled with CW 10.1:

 

"C:/Program Files/Freescale/CW_MCU_v10_1_SE/MCU/ColdFire_Tools/Command_Line_Tools/mwccmcf" @@"Hardware/M5223X/M5223X.args" -o "Hardware/M5223X/M5223X_c.obj" "C:/Users/Mark/V2_workspace_temp/uTaskerV1-4/Hardware/M5223X/M5223X.c" -MD -gccdep
C:\Program Files\Freescale\CW_MCU_v10_1_SE\gnu\bin\make: *** [Hardware/M5223X/M5223X_c.obj] Error -1073741819

 

Optimisation is set to level 4 for size (same as in CW7.2).

After some experimenting I found that it no longer crashed when inlining is disabled (all other inlining combinations tested caused the crash).

 

For the moment inlining has been deactivated - checking the CW7.2 project also "smart bottom-up inlining" was being successfully used.

 

I suppose that there have been some compiler changes between the versions and this is new.

 

Regards

 

Mark

Outcomes