Skip to content
Snippets Groups Projects
Commit 7a649ef5 authored by Jason Merrill's avatar Jason Merrill Committed by Jason Merrill
Browse files

Avoid constexpr garbage for implicit conversion to void.

	* constexpr.c (cxx_eval_constant_expression): Call
	STRIP_ANY_LOCATION_WRAPPER early.
	[CONVERT_EXPR]: Don't build anything for conversion to void.
	[ADDR_EXPR]: ggc_free unused ADDR_EXPR.

From-SVN: r272054
parent c1b4c4f4
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment