------- Comment #3 from rwahl at gmx dot de  2010-05-02 16:55 -------
Created an attachment (id=20535)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20535&action=view)
Disable alignment when using -Os

The attached patch fixes the problem. It could be written in a more elegant way
by changing just opt1_max but this would modify the semantic of this variable
and it should be renamed accordingly.

On ARM the fix is probably a NOP because the default alignment seems to be 1
anyway but I haven't checked this.

The output of "gcc -Q --help=optimizers" seems to be broken for the alignment
options because on one hand these options are not boolean and on the other hand
falign-loops is reported as enabled when it has been disabled and vice versa.


-- 


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

Reply via email to