[haiku-bugs] Re: [Haiku] #10803: gcc wrongly optimizes NULL check in strdup.

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Wed, 30 Apr 2014 10:06:03 -0000

#10803: gcc wrongly optimizes NULL check in strdup.
---------------------------------+----------------------------
   Reporter:  pulkomandy         |      Owner:  axeld
       Type:  bug                |     Status:  new
   Priority:  normal             |  Milestone:  R1
  Component:  System/libroot.so  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  0                  |   Platform:  All
---------------------------------+----------------------------

Comment (by korli):

 Have you tried -fno-builtin-strdup?

--
Ticket URL: <https://dev.haiku-os.org/ticket/10803#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: