http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49046

--- Comment #1 from Steve Richards <steve at acroname dot com> 2011-05-18 
17:40:54 UTC ---
I simplified this down to the following code that segment faults:

--- begin foo.c ---
int main(const int argc, const char* argv[])
{
  asm ("adr r2, #0x10002101");
  return 0;
}
--- end foo.c ---

The compile line for this is:

$ arm-none-eabi-gcc -c -mcpu=cortex-m3 -mthumb foo.c

Reply via email to