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

            Bug ID: 97855
           Summary: [11 regression] Bogus warning locations during
                    lto-bootstrap
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
  Target Milestone: ---

For a while we get odd looking locations:

D.5677.coeffs[0]’../../gcc/calls.c: In function ‘expand_call’:
../../gcc/dojump.c:118:28: warning:  may be used uninitialized in this function
[-Wmaybe-uninitialized]
  118 |       pending_stack_adjust = save->x_pending_stack_adjust;
      |                            ^
D.5677.coeffs[0]’../../gcc/calls.c:4082:34: note:  was declared here
 4082 |       saved_pending_stack_adjust save;
      |                                  ^
D.5677.coeffs[0]’../../gcc/dojump.c:119:27: warning:  may be used uninitialized
in this function [-Wmaybe-uninitialized]
  119 |       stack_pointer_delta = save->x_stack_pointer_delta;
      |                           ^
D.5677.coeffs[0]’../../gcc/calls.c:4082:34: note:  was declared here
 4082 |       saved_pending_stack_adjust save;
      |                                  ^

This is not due to parallel write and seems that location code somehow conclude
to output the additional D.5677.coeffs[0]’

Reply via email to