re PR debug/91929 (missing inline subroutine information in build using sin/cos)
authorRichard Biener <rguenther@suse.de>
Tue, 15 Oct 2019 11:47:27 +0000 (11:47 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 15 Oct 2019 11:47:27 +0000 (11:47 +0000)
commitd8955dc0f4583317c4d6a65d17c92c538f46a60c
tree9ec3452c16c91a86355c78b458d0affa92cc9f43
parent386c40778648fecf4807566d5254dec191d35dab
re PR debug/91929 (missing inline subroutine information in build using sin/cos)

2019-10-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/91929
* tree-ssa-pre.c (pre_expr_d::loc): New member.
(get_or_alloc_expr_for_name): Initialize it.
(get_or_alloc_expr_for_constant): Likewise.
(phi_translate_1): Copy it.
(create_expression_by_pieces): Use the original location
of the expression for the inserted stmt.
(compute_avail): Record the location of the stmt for the
expressions created.

From-SVN: r276993
gcc/ChangeLog
gcc/tree-ssa-pre.c