Commit 31f2dba
committed
backend: fix ICE segfault on empty static loops
gcc/rust/ChangeLog:
* backend/rust-constexpr.cc (eval_constant_expression): Check if t is a NULL_TREE
Signed-off-by: Tom Schollenberger <[email protected]>1 parent 11d46d4 commit 31f2dba
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1901 | 1901 | | |
1902 | 1902 | | |
1903 | 1903 | | |
1904 | | - | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
| 1908 | + | |
1905 | 1909 | | |
1906 | 1910 | | |
1907 | 1911 | | |
| |||
0 commit comments