]> git.ipfire.org Git - thirdparty/gcc.git/commit
Dump the return type of functions in gimple dumps
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 29 Apr 2014 15:02:16 +0000 (15:02 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 29 Apr 2014 15:02:16 +0000 (15:02 +0000)
commit3979649a7148086396248b93875ec953f0331a33
tree3ac368329de198291a198c5ccbb1046dec702fdd
parent62fb101e69b1b1c99e3bf4951616eb3ce3015006
Dump the return type of functions in gimple dumps

gcc/
* tree-cfg.c (dump_function_to_file): Dump the return type of
functions, in a line to itself before the function body, mimicking
the layout of a C function.

gcc/testsuite/
* gcc.dg/tree-ssa/pr23401.c: Update the expected number of
occurrences of "int" in the gimple dump to reflect that the return
types of functions now show up in such dumps.
* gcc.dg/tree-ssa/pr27810.c: Likewise.

From-SVN: r209902
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr23401.c
gcc/testsuite/gcc.dg/tree-ssa/pr27810.c
gcc/tree-cfg.c