Re: [PATCH] ARM: Convert BUG() to use unreachable()

2009-12-17 Thread Jamie Lokier
Russell King - ARM Linux wrote: Let me put it another way: I want this function to terminate with an explicit NULL pointer dereference in every case. __builtin_trap cannot be used because the GCC manual says The mechanism used may vary from release to release so you should not rely on any

Re: [PATCH] ARM: Convert BUG() to use unreachable()

2009-12-17 Thread Jamie Lokier
Joe Buck wrote: On Thu, Dec 17, 2009 at 11:06:13AM -0800, Russell King - ARM Linux wrote: On Thu, Dec 17, 2009 at 10:35:17AM -0800, Joe Buck wrote: Besides, didn't I see a whole bunch of kernel security patches related to null pointer dereferences lately? If page 0 can be mapped, you

Re: From SSA back to GIMPLE.

2007-10-22 Thread Jamie Lokier
Dave Korn wrote: On 22 October 2007 19:32, skaller wrote: On Mon, 2007-10-22 at 16:32 +0200, Paolo Bonzini wrote: I don't know what you mean, but yes, there is value in going to SSA and back. SSA makes global optimization much easier, and that's the main improvement introduced in

Re: From SSA back to GIMPLE.

2007-10-22 Thread Jamie Lokier
J.C. Pizarro wrote: IMHO, in the future, GCC as a base an experimal compiler IS NOT good because of enormeous complexities to design this optimizing compiler. My reasons to select a good base are: * the programming language to develop a complex optimizing compiler MUST TO be high-level,