xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
296 stars 109 forks source link

triton: fix crash due gcc mis-optimization of alloca() #30

Closed themiron closed 6 years ago

themiron commented 6 years ago

since alloca() result is used indirectly, gcc 4.7.2 thinks the whole call can be dropped on any optimization level.

fixes issue #29