Thank you for the bug report. I've confirmed this with gcc-
linaro-4.6-2011.08 on ARM:

michaelh@ursa1:~/linaro/bugs$ 
/tools/toolchains/arch/armv7l/gcc-linaro-4.6-2011.08-armv7l-natty-cbuild162-ursa1-cortexa9r1/bin/gcc
 -Os -fno-builtin clocks.i 
clocks.c: In function 'enable_basic_clocks':
clocks.c:657:13: internal compiler error: in decode_addr_const, at varasm.c:2632

Note the use of -fno-builtin to suppress a warning.

The fault occurs at -Os, -O1, -O2, and -O3.  The work-around is to
compile at -O0.  The fault also exists in gcc-linaro-4.6-2011.06-0, gcc-
linaro-4.6-2011.07-0, and gcc-4.6.1. It does not exist in gcc-4.5.3.
Could you please also report this in GCC bugzilla and attach it to this
ticket?

I've set it to medium priority as it is a ftbfs, the fault exists
upstream, and a work-around exists.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/827990

Title:
  internal compiler error: in decode_addr_const, at varasm.c:2632

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/827990/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to