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

            Bug ID: 90944
           Summary: combine debug file created when it shouldn't be
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

If we have a test case that dies very early before expand, we still end up with
a stub combine debug file, even though we never called combine().  For example:

bergner@pike:~/$ echo "error stuff" >  bug.i
bergner@pike:~/$ /path/to/gcc/xgcc -B/path/to/gcc -S -O1 -da bug.i 
bug.i:1:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ at end of
input
    1 | stuff
      | ^~~~~
bergner@pike:~/$ cat bug.i.264r.combine 

;; Combiner totals: 0 attempts, 0 substitutions (0 requiring new space),
;; 0 successes.

Reply via email to