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

            Bug ID: 90730
           Summary: -fdump-tree-gimple-optimized-... accepted
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

Some non-sensical -fdump-tree-xxx options are silently accepted, such as:

$ gcc -Wall -Wextra -S -fdump-tree-gimple-optimized -xc - < /dev/null

The result is a .gimple dump file but no .optimized dump.

This is also accepted: -fdump-tree-gimple-all with the same effect.

Reply via email to