[Bug middle-end/90684] New: New alignment options incorrectly report error

wilco at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 30 15:40:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90684

            Bug ID: 90684
           Summary: New alignment options incorrectly report error
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: wilco at gcc dot gnu.org
  Target Milestone: ---

GCC9 always reports an error when using -falign-functions=16:8:8

cc1: error: invalid number of arguments for ‘-falign-functions’ option:
‘16:8:8’

This is not working as documented in
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Optimize-Options. The
issue is that the parser expects an undocumented macro SUBALIGN_LOG to be
defined eventhough that is not necessary for the option parsing.


More information about the Gcc-bugs mailing list