Messages in this thread | | | From | YiFei Zhu <> | Date | Thu, 24 Sep 2020 09:37:30 -0500 | Subject | Re: [PATCH v2 seccomp 2/6] asm/syscall.h: Add syscall_arches[] array |
| |
On Thu, Sep 24, 2020 at 9:20 AM David Laight <David.Laight@aculab.com> wrote: > > Granted, I have CC_OPTIMIZE_FOR_PERFORMANCE rather than > > CC_OPTIMIZE_FOR_SIZE, but this patch itself is trying to sacrifice > > some of the memory for speed. > > Don't both CC_OPTIMIZE_FOR_PERFORMANCE (-??) and CC_OPTIMIZE_FOR_SIZE (-s) > generate terrible code?
You have to choose one for "Compiler optimization level" in "General Setup", no? The former is -O2 and the latter is -Os.
> Try with a slghtly older gcc. > I think that entire optimisation (discarding const arrays) > is very recent.
Will try, will take a while to get an old GCC to run, however :/
YiFei Zhu
| |