public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/110179] New: unwind-dw2-fde-dip.c:406: assignment makes integer from pointer without a cast
@ 2023-06-08 16:27 dcb314 at hotmail dot com
  2023-06-08 16:37 ` [Bug libgcc/110179] " dcb314 at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2023-06-08 16:27 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-18 15:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-08 16:27 [Bug libgcc/110179] New: unwind-dw2-fde-dip.c:406: assignment makes integer from pointer without a cast dcb314 at hotmail dot com
2023-06-08 16:37 ` [Bug libgcc/110179] " dcb314 at hotmail dot com
2023-06-09  6:26 ` egallager at gcc dot gnu.org
2023-07-10 11:55 ` fw at gcc dot gnu.org
2023-07-11  4:21 ` cvs-commit at gcc dot gnu.org
2023-07-11  4:54 ` fw at gcc dot gnu.org
2023-07-18 15:02 ` cvs-commit at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).