Compiling bitsetvectortest with -g -O3 consumes all memory (again)
This is similar to flyspray/FS#1668 (closed) and the companion GCC Bug#77844, but happens with compiler versions (g++ 6.3) where the original test-case does not trigger.
Test case: bitsetvectortest.ii, reduce.sh.
This happens with:
- g++ 5.4 from Ubuntu 16.04.3 (
g++ (Ubuntu 5.4.1-2ubuntu1~16.04) 5.4.1 20160904
) - g++ 6.3 from Debian stretch (
g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
, this one triggered originally) - g++ 6.4 from https://hub.docker.com/_/gcc/ (6.4), (
g++ (GCC) 6.4.0
)
This does not happen with:
- g++ 7.2 from
http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial/main
(g++-7 (Ubuntu 7.2.0-1ubuntu1~16.04) 7.2.0
) - g++ 7.3 from https://hub.docker.com/_/gcc/ (latest), (
g++ (GCC) 7.3.0
)
GCC-Bugzilla: 84569
Edited by Jö Fahlke