Question #256933: Internal Compiler error with Cortex M0+ and -mtpcs-leaf-frame
Bug #1390053 reported by
Uwe Bonnes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
Won't Fix
|
Undecided
|
Terry Guo |
Bug Description
This is the source file to reproduce the problem reported in #256033. The files have only some additions to be self-consistant and don't need further include. Further discussion is added to question #256033.
Changed in gcc-arm-embedded: | |
assignee: | nobody → Terry Guo (terry.guo) |
To post a comment you must log in.
It's strange that I still can't reproduce it. Here is my screen paste:
terguo01@ terry-pc01: mtpcs-frame$ ls terry-pc01: mtpcs-frame$ cat test.c terry-pc01: mtpcs-frame$ /work/terguo01/ tools/gcc- arm-none- eabi-4_ 8-2014q3/ bin/arm- none-eabi- gcc -c -MD -MP -mcpu=cortex-m0plus -mthumb -D__CORTEX__ -ffunction-sections -fdata-sections -fomit- frame-pointer -g3 -Og -Wall -Wstrict-prototypes -Werror -O0 -mtpcs-frame -fno-omit- frame-pointer test.c terry-pc01: mtpcs-frame$ echo $?
core_cm0plus.h core_cmFunc.h core_cmInstr.h test.c
terguo01@
#include "core_cm0plus.h"
int main(void)
{
return 0;
}
terguo01@
terguo01@
0
gcc version 4.8.4 20140725 (release) [ARM/embedded- 4_8-branch revision 213147] (GNU Tools for ARM Embedded Processors)
Are you sure you can trigger the error through my above steps?