Skip to content
Snippets Groups Projects
Commit 2264b687 authored by Jan Hubicka's avatar Jan Hubicka
Browse files

Verify that empty std::vector is optimized away

With __builtin_operator_new we now can optimize away unused std::vectors.
This adds testcases mentioned in the PR.

	PR tree-optimization/96945

gcc/testsuite/ChangeLog:

	* g++.dg/tree-ssa/pr96945.C: New test.
parent f72f8c34
Loading
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