[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod

2011-05-31 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 Ramana Radhakrishnan ramana at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod

2011-04-27 Thread ams at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 Andrew Stubbs ams at gcc dot gnu.org changed: What|Removed |Added CC||ams at gcc dot

[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod

2011-04-27 Thread michael.hope at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 --- Comment #2 from Michael Hope michael.hope at linaro dot org 2011-04-27 09:52:09 UTC --- Sorry, the original attachment included the __attribute__((noinline)) workaround on pll_factors(). Attached is the original that shows the fault.

[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod

2011-04-27 Thread michael.hope at linaro dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 --- Comment #3 from Michael Hope michael.hope at linaro dot org 2011-04-27 09:54:56 UTC --- Created attachment 24111 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24111 Preprocessed source

[Bug c/48783] ARM: kernel compiled at -O2 has a unused reference to __aeabi_uldivmod

2011-04-27 Thread ams at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783 --- Comment #4 from Andrew Stubbs ams at gcc dot gnu.org 2011-04-27 11:08:10 UTC --- Somewhat reduced testcase: static void f (unsigned int a) { unsigned long long __res; if (~0ULL % (a / (a -a)) == 0) { asm (: +r (__res)); }