tree-emutls.c
23.7 KB
-
re PR middle-end/83945 (internal compiler error: Segmentation fault with -O -fcode-hoisting) · 37b7e787
PR middle-end/83945 * tree-emutls.c: Include gimplify.h. (lower_emutls_2): New function. (lower_emutls_1): If ADDR_EXPR is a gimple invariant and walk_tree with lower_emutls_2 callback finds some TLS decl in it, unshare_expr it before further processing. * gcc.dg/tls/pr83945.c: New test. From-SVN: r256916
Jakub Jelinek committed