<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54477>54477</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[flang][OpenMP][omp2012]
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
NimishMishra
</td>
</tr>
</table>
<pre>
**Note**: This issue can be reproduced from the monorepo once the upstream from [fir-dev](https://github.com/flang-compiler/f18-llvm-project/tree/fir-dev) has matured. The actual issue came up while building omp2012 with the current state of LLVM flang (lowering enabled)
The following source dumps core with `flang-new -fopenmp -c -o rtc03.o rtc03.f`
```
! FAIL: flang-new -fopenmp -c -o rtc03.o rtc03.f
subroutine rt03(n)
integer n
double precision var_1(64), var_2(64)
common /var/ var_1, var_2
!$omp threadprivate(/var/)
var_1(n) = 0.2
return
end
```
Core dumps as
```
fatal internal error: node has not been analyzed:
Expr -> LiteralConstant -> RealLiteralConstant
| Real = '0.2'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNU9-PmzAM_mvgxWoFgf7ggYde706a1LtN07TXKQRTMoUEJaHd9tfPCW3XnabTKgqOHduf7c-NaX_WCdvR82o8zlJS7OBLLx1I5yYEwTU0CBZHa9pJYAudNQP4HmEw2pDegNECo2YanbfIh_lOsnropF20eEpWjwnb9t6PjsIn7Jmeo_T91CyFGejQKa6PC5JHqdAGRb5dKHUaFpT2OwpPKoqMwXIJySrouYOB-8liuyTMCFz4iasb8iEggnNPMaGZpGqlPgLlYFnO4Ez5I2gxWYvag_PcI5gODoevLxARAaFW5ow2OKLmjcKWEifZY5Lt5ndI2xlFt8IdZyZLvWinYXQgqDtzmmSdzRVqPMOiMyPqYYSFgIUB60VWLK_fjq7ehw_H-ZmPLIfn3YdDGNJ_R4yeEH9uaqyZvNQ0UZ8VVJ6-1TPfuJel9nhEC_pe2ZqJ2gCjRSGdNBpO3H7LKdK6DKHYPirYTXHnSvMlzlBTn-kKva-uV5driQkraUo0HOJSO1p54oGc25vfmxHMwa8wQkGQFI-QLdm93SIR5a9KULf_bnJ878P05kESzd6ZScd94Bz1ymoS0Fpjw3y0aTFSVBtPK4QaONl__iIKFZdITz9GC4ukeIKDJHeu9kYTDYmMUfkZuXpjuCDY7KMx1pmwTSiVbd6gS9u6aKui4qmXXmEd1jFQJizj6uEjMebl0yxfVoIOkE5W1e8satjJy-duNePCORJWZbnZpH29agTv2lXeiU0pqqJbIYq8WZfrShSYVVmqeIPKBUwJY4HDMQTJBCKVNcsYywqW5zljRb5cbzOed5tKVGtRlbxMygwHLtUy4Fgae0xtHSE109GRUUnn3R8jd04eNcYWhPh88r2x9ascpOtf6G95GvPXEf9vfe6I6A">