GNU bug report logs -
#18995
Error: Could not reserve dynamic heap area.
Previous Next
Full log
View this message in rfc822 format
> Date: Sat, 8 Nov 2014 20:16:19 +0100
> From: Alexander Shukaev <haroogan <at> gmail.com>
> Cc: 18995 <at> debbugs.gnu.org
>
> So what, the optimized code goes only once through the loop, and then
> bails out? If so, what is the value of 'size' when the loop ends?
>
>
> OK, so there was one more detail that I forgot to mention. It looks like I also
> had "-funroll-loops". After removing it, "-O3" works fine too (without
> "volatile"). I think this is still a toolchain bug because "-O3 -funroll-loops"
> combination works fine in the x64 build and what's more important --- it
> *should* work fine. Anyway, maybe it's a good idea to somehow prevent people
> from passing "-funroll-loops" by filtering it out from "CFLAGS" in "Makefile"
> for example?
Do you understand why -funroll-loops causes the code to fail to work?
Because I cannot. Unless I'm missing something, this sounds like a
GCC bug.
This bug report was last modified 10 years and 197 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.