Do not generate mudflap dump files in Ada

Eric Botcazou
Mon Sep 17 17:16:00 GMT 2007

The Ada compiler doesn't support -fmudflap but -fdump-tree-all nevertheless 
always generates a couple of empty mudflap dump files.

Fixed thusly, applied to mainline as obvious.

2007-09-17  Eric Botcazou  <>

	* tree-nomudflap.c (gate_mudflap): New static function.
	(pass_mudflap_1): Use it as gate function.
	(pass_mudflap_2): Likewise.

Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 865 bytes
Desc: not available
URL: <>

More information about the Gcc-patches mailing list