Visual Studio 2017 generates invalid code for caller.hpp
未關閉
- 主要語言
- C++
- 星號
- 537
- 分支
- 223
- 平均合併
- 11 小時 22 分鐘
- 30 天內合併 PR
- 2
描述
Under Python 3.6.5 and Visual Studio 2017 (15.7.2) and optimization level /O2 compilation of boost::python generates invalid code while compiling ".\boost\python\detail\caller.hpp". Namely, initialization of "static const signature_element ret" (line 245->) is erroneously skipped leading to SegFault in python.exe.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Reproduce the failure with Python 3.6.5, Visual Studio 2017 15.7.2, and /O2, then inspect boost/python/detail/caller.hpp around line 245. Compare optimized behavior where initialization of static const signature_element ret is skipped. Done means the generated code no longer causes the reported Python segmentation fault.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, python
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100