[Ada] Fix bogus noreturn warning
Steven Bosscher
stevenb.gcc@gmail.com
Sun Jun 27 16:21:00 GMT 2010
On Sun, Jun 27, 2010 at 2:45 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> What is this necessary for? No front end should have to know
>> *anything* about tree-flow.h.
>
> block_may_fallthru is declared there. See c-typeck.c, cp/decl.c and cp/tree.c
> for pre-existing counter-examples.
I'm not looking for counter-examples, just stating the way things
should be, not how things are (the Germans have a beautiful way of
expressing this: "Soll-Stand" vs. "Ist-Stand"). Your change moves us
further away from the way things should be. I hope you agree with
that?
Mind if I add a note, as below?
Ciao!
Steven
Index: ada/gcc-interface/trans.c
===================================================================
--- ada/gcc-interface/trans.c (revision 161470)
+++ ada/gcc-interface/trans.c (working copy)
@@ -33,7 +33,7 @@
#include "output.h"
#include "libfuncs.h" /* For set_stack_check_libfunc. */
#include "tree-iterator.h"
-#include "tree-flow.h"
+#include "tree-flow.h" /* For block_may_fallthru. */
#include "gimple.h"
#include "ada.h"
More information about the Gcc-patches
mailing list