aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/gigi.h
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2011-08-02 15:00:21 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-02 15:00:21 +0200
commit002bdd685cc819e9a1609c97d5f2281f6109b297 (patch)
tree44991ada9fe1828c27861ec37abc54dd10f99f7c /gcc/ada/gcc-interface/gigi.h
parent499769ec33c515c433e407ee25729018457ed295 (diff)
downloadgcc-002bdd685cc819e9a1609c97d5f2281f6109b297.zip
gcc-002bdd685cc819e9a1609c97d5f2281f6109b297.tar.gz
gcc-002bdd685cc819e9a1609c97d5f2281f6109b297.tar.bz2
[multiple changes]
2011-08-02 Geert Bosch <bosch@adacore.com> * gcc-interface/gigi.h, gcc-interface/misc.c (enumerate_modes): New function. * gcc-interface/Make-lang.in: Update dependencies. 2011-08-02 Olivier Hainque <hainque@adacore.com> * gcc-interface/trans.c (Subprogram_Body_to_gnu): Set the function end_locus. From-SVN: r177141
Diffstat (limited to 'gcc/ada/gcc-interface/gigi.h')
-rw-r--r--gcc/ada/gcc-interface/gigi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ada/gcc-interface/gigi.h b/gcc/ada/gcc-interface/gigi.h
index e8a7259..13c9f54 100644
--- a/gcc/ada/gcc-interface/gigi.h
+++ b/gcc/ada/gcc-interface/gigi.h
@@ -929,6 +929,11 @@ extern bool default_pass_by_ref (tree gnu_type);
if it should be passed by reference. */
extern bool must_pass_by_ref (tree gnu_type);
+/* This function is called by the front-end to enumerate all the supported
+ modes for the machine, as well as some predefined C types. */
+extern void enumerate_modes (void (*f) (const char *, int, int, int, int, int,
+ int));
+
/* Return the size of the FP mode with precision PREC. */
extern int fp_prec_to_size (int prec);