https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87883
Mihail Ionescu changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mihail.ionescu at arm dot com
Target Milestone: ---
Used compiler options are: -mcpu=cortex-m0 -mthumb -O2.
Consider the following code:
__attribute__((used))
void *retaddr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87883
--- Comment #1 from Mihail Ionescu ---
Hi Jozef,
The issue is indeed there on trunk/gcc-8/gcc-7, but it is expected. It is
caused by the fact that the "arm_active_target.isa" bitmap is not initialised
by the time "init_reg_sets" is called. This
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87867
Mihail Ionescu changed:
What|Removed |Added
Status|NEW |RESOLVED
Known to work|
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mihail.ionescu at arm dot com
Target Milestone: ---
The issue is fixed on trunk. GCC 7.3 and 8.2 crash when compiling the following
example with these specific options