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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 03 Nov 2018 20:35:05 -0000

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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 This was fixed by re-enabling tree-vrp and disabling deletion of null-
 pointer checks.

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

Other related posts: