https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967
--- Comment #7 from Rafał Mszal ---
Thanks for response.
I've send some basic example of the failure. However, it needs some others file
to compile and link, like linker, SystemInit function decalration and so on.
I've just send you most import
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967
--- Comment #6 from Rafał Mszal ---
Created attachment 43212
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43212&action=edit
Startup file for the nRF52 microcontroller.
This is typical startup for nRF5x microcontrollers. The main thing th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967
--- Comment #5 from Rafał Mszal ---
Created attachment 43211
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43211&action=edit
Makefile that causes failure.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967
--- Comment #4 from Rafał Mszal ---
Created attachment 43210
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43210&action=edit
Basic example of main funtion with LTO failure.
This is simple example of observed LTO issue. RTC1_IRQHandler is
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: hurwic8 at gmail dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
I've observed strange behaviour of the link-time optimizati