When template instantiation leads to creation of invalid code patterns with address spaces compiler crashes with ICE.
This patch fixes the template instantiation to provide correct diagnostics instead.
Differential D54858
[OpenCL] Improve diagnostics for address spaces in template instantiation Authored by Anastasia on Nov 23 2018, 6:07 AM.
Details When template instantiation leads to creation of invalid code patterns with address spaces compiler crashes with ICE. This patch fixes the template instantiation to provide correct diagnostics instead.
Diff Detail
Event Timeline
Comment Actions
| ||||||||||||||||||