This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Rewrite of pure/const pass and nothrow stuff


On Thu, Nov 13, 2008 at 14:08, Jan Hubicka <jh@suse.cz> wrote:

> this patch teach pure/const about nothrow as discussed earlier.
> I eneded up rewriting the local analysis from scratch as after
> tuplification it ended up remarkably ugly.

Thanks!

Shouldn't you also remove pass_set_nothrow_function_flags?

The patch does not apply to LTO.  I suppose that it relies on the
previous patch you applied to the branch?  I will try to do a
merge after you commit to pretty-ipa.

A couple of nits.

>
> ! static void
> ! check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
>  {

Needs comment.

> +
> + static unsigned int
> + local_pure_const (void)
> + {

Needs comment.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]