internal compiler error: in reload, at reload1.c:1058

Asked by Tim Gack

I am working on an ARM7 project, specifically an NXP2478 micro-controller. I've tracked this issue down to one line of code and have can work around the issue, but the work around is brute force and kind of ugly. I'm using version is 4.8-2013-q4-major, pre-built version for Linux.

Any help with this issue would be appreciated.

Thanks,

Tim

-----
arm-none-eabi-gcc --version

arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.3 20131129 (release) [ARM/embedded-4_8-branch revision 205641]

----
gcc input is:
arm-none-eabi-gcc -c -save-temps -g -O0 -I . -I Application/include -I Libraries/LPC24xx/include -mcpu=arm7tdmi -fomit-frame-pointer -mthumb-interwork -fno-dwarf2-cfi-asm -fno-strict-aliasing -Wall -Wextra -mthumb Libraries/LPC24xx/source/lpc24xx_clk_pwr.c -o Libraries/LPC24xx/source/lpc24xx_clk_pwr.o

gcc output is:
Libraries/LPC24xx/source/lpc24xx_clk_pwr.c: In function 'SetPCLKRegister1_Divider':
Libraries/LPC24xx/source/lpc24xx_clk_pwr.c:366:1: internal compiler error: in reload, at reload1.c:1058

Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Question information

Language:
English Edit question
Status:
Solved
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Solved by:
Joey Ye
Solved:
Last query:
Last reply:
Revision history for this message
Best Joey Ye (jinyun-ye) said :
#1

Looks like a known and fixed bug. Please try 4.8 update 1 by end of this
month.

Joey
2014-3-19 下午8:21于 "Tim Gack" <email address hidden>写道:

> New question #245740 on GCC ARM Embedded:
> https://answers.launchpad.net/gcc-arm-embedded/+question/245740
>
> I am working on an ARM7 project, specifically an NXP2478 micro-controller.
> I've tracked this issue down to one line of code and have can work around
> the issue, but the work around is brute force and kind of ugly. I'm using
> version is 4.8-2013-q4-major, pre-built version for Linux.
>
> Any help with this issue would be appreciated.
>
> Thanks,
>
> Tim
>
> -----
> arm-none-eabi-gcc --version
>
> arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.8.3 20131129
> (release) [ARM/embedded-4_8-branch revision 205641]
>
> ----
> gcc input is:
> arm-none-eabi-gcc -c -save-temps -g -O0 -I . -I Application/include -I
> Libraries/LPC24xx/include -mcpu=arm7tdmi -fomit-frame-pointer
> -mthumb-interwork -fno-dwarf2-cfi-asm -fno-strict-aliasing -Wall -Wextra
> -mthumb Libraries/LPC24xx/source/lpc24xx_clk_pwr.c -o
> Libraries/LPC24xx/source/lpc24xx_clk_pwr.o
>
> gcc output is:
> Libraries/LPC24xx/source/lpc24xx_clk_pwr.c: In function
> 'SetPCLKRegister1_Divider':
> Libraries/LPC24xx/source/lpc24xx_clk_pwr.c:366:1: internal compiler error:
> in reload, at reload1.c:1058
>
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
>
>
> --
> You received this question notification because you are an answer
> contact for GCC ARM Embedded.
>

Revision history for this message
Tim Gack (tim-gack) said :
#2

Thanks Joey Ye, that solved my question.