Remove pedantic_non_lvalue_loc
authorRichard Biener <rguenther@suse.de>
Mon, 19 Apr 2021 12:38:03 +0000 (14:38 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 21 Apr 2021 08:20:23 +0000 (10:20 +0200)
commit8ce9ce6b16b3988f60bb92a916ea50dd3237a532
tree6bca13427fd5286c208a2b6d7354d7309976329f
parentb67778b59932fdc64dc89a97550349e973ca0352
Remove pedantic_non_lvalue_loc

This removes pedantic_non_lvalue_loc which doesn't do what it says
since quite some time in favor of what it actually does and where
that's not a duplicate (protected_set_expr_location_unshare).

2021-04-19  Richard Biener  <rguenther@suse.de>

* fold-const.c (pedantic_non_lvalue_loc): Remove.
(fold_binary_loc): Adjust.
(fold_ternary_loc): Likewise.
gcc/fold-const.c