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

            Bug ID: 110179
           Summary: unwind-dw2-fde-dip.c:406: assignment makes integer
                    from pointer without a cast
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

I just tried a build of gcc trunk with clang 16.04 on x86_64. 
It said:

libgcc/unwind-dw2-fde-dip.c:406:16: warning: assignment to ‘_Unwind_Ptr’ {aka
‘long unsigned int’} from ‘const unsigned char *’ makes integer from pointer
without a cast [-Wint-conversion]

Git blame says:

49310a9933 (Florian Weimer  2023-06-06 11:01:07 +0200 406)       eh_frame = p +
value;

This warning might be worth fixing. I suspect a cast will do it.

Reply via email to