http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57955

--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I don't understand the comment "questionable optimization patterns".

I don't see much value in optimizing a memcpy to initialize a variable, it's
unlikely to be in a hot spot.  I'd suggest adding 'const' to the testcase.

> Optimizing for size should be controlled by -Os.

It's just classical constant pool technique though and constant pools are not
conditionalized on -Os in the compiler.

Reply via email to