https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86092

--- Comment #5 from Srinivas Achary <srinivas.sundar at vvdntech dot in> ---
thank you Marc.
What I have shown here is just an example sample code. But I have code which
makes use of kern_buff_p variable in many place.If I use volatile that might
reduce my code speed.

Any how the kern_buff_p initial value is NULL
and the variable have been allocated the memory during runtime without any
issue.

The problem is during compilation, the compiler optimizes all my conditional
statements used with this constant pointers. Due to this, I am not able to run
my code in New machines.

Reply via email to