This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to run C++ tests with different optimization flags?
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 6 Feb 2008 14:55:12 -0800
- Subject: Re: How to run C++ tests with different optimization flags?
- References: <20080206225050.GA9950@lucon.org>
On Feb 6, 2008 2:50 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> We have a bunch of stack alignment run-time tests for C++. We
> like to run them with difffernet optimization flags, like
> -O0, -O1, -O2, ..., similar to those under gcc.c-torture/execute.
> Is there a way to do it for C++?
I guess you missed g++.dg/torture which is like gcc.dg/torture which
runs at different optimizations level.
-- Pinski