[PATCH][tuples][Ada] Disable gcc_asserts in gimple_has_side_effects

Olivier Hainque hainque@adacore.com
Mon Jul 21 11:39:00 GMT 2008


Hi Richard,

Richard Guenther wrote:
> With Ada we hit these asserts a lot, and I don't see why they are correct
> in any case.  Still, the one case I looked at looks like superfluous
> TREE_SIDE_EFFECTS from the Ada side:
> 
>   foo = {}
> 
> with TREE_SIDE_EFFECTS on the empty constructor.  As stmt_has_volatile_ops
> is only set from the operand-scanner the assert triggers.

 Could you please tell a bit more about the situations where you're
 seeing the failures in general, and the empty constructor case in
 particular ?

 Is this while bootstrapping, building the libray, running the tests ?

 (I'm setting up a tree now).

 Thanks in advance,

 Olivier



More information about the Gcc-patches mailing list