[haiku-bugs] Re: [Haiku] #10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.

  • From: "js" <trac@xxxxxxxxxxxx>
  • Date: Mon, 13 Jan 2014 23:07:18 -0000

#10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.
---------------------------+----------------------------
   Reporter:  js           |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------

Comment (by js):

 You are right, the compiler might be clever enough to know that everything
 in section .bss gets set to 0 anyway, at least Clang does. However, any
 value other than 0 would definitely move it to section .data (and for some
 compilers, I could imagine setting it to 0 would do the same).

--
Ticket URL: <http://dev.haiku-os.org/ticket/10402#comment:17>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: