https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241848
Dimitry Andric <d...@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d...@freebsd.org --- Comment #15 from Dimitry Andric <d...@freebsd.org> --- This particular source file is indeed a rather pathological case. On my 13.0-CURRENT test system, using clang 10.0.0-rc3 (with assertions enabled), it takes a maxrss of 1982620, so ~1936 MiB to compile with -O2. Gcc 9.2.0 from ports fares even worse, it takes about 20% more time to compile, and a maxrss of 2684812, so ~2622 MiB. I also tried the clang90 port, but this assertions disabled, and this takes a maxrss of 1755320, so ~1714 MiB. For now, my advice would be to compile this file with -O1, or even -O0, as it seems to be an internal test for googletest itself, and not something that we actively need to have heavily optimized. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"