aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2014-01-08 09:06:27 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2014-01-08 09:06:27 +0000
commit5c944c6cb8a54f29a394493e48429345f2f8f08d (patch)
treec2c2f5e329c26642c69c278413a27dc551d14728 /gcc/fortran/resolve.c
parent0bd34ae42178978a45a5ad947f10a66d41d68f77 (diff)
downloadgcc-5c944c6cb8a54f29a394493e48429345f2f8f08d.zip
gcc-5c944c6cb8a54f29a394493e48429345f2f8f08d.tar.gz
gcc-5c944c6cb8a54f29a394493e48429345f2f8f08d.tar.bz2
re PR middle-end/59630 (ICE converting the return type of a builtin function)
2014-01-08 Richard Biener <rguenther@suse.de> PR middle-end/59630 * gimple.h (is_gimple_builtin_call): Remove. (gimple_builtin_call_types_compatible_p): New. (gimple_call_builtin_p): New overload. * gimple.c (is_gimple_builtin_call): Remove. (validate_call): Rename to ... (gimple_builtin_call_types_compatible_p): ... this and export. Also check return types. (validate_type): New static function. (gimple_call_builtin_p): New overload and adjust. * gimple-fold.c (gimple_fold_builtin): Fold the return value. (gimple_fold_call): Likewise. Use gimple_call_builtin_p. (gimple_fold_stmt_to_constant_1): Likewise. * tsan.c (instrument_gimple): Use gimple_call_builtin_p. * gcc.dg/pr59630.c: New testcase. From-SVN: r206421
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions