aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2009-09-17 11:11:58 +0000
committerMichael Matz <matz@gcc.gnu.org>2009-09-17 11:11:58 +0000
commit040c6d51daadf242937549fb7bc0e5a375fa1666 (patch)
tree6faf3b30da5c11513bde779849161da980479ec6 /gcc/tree.h
parent0714aafa1fd25aa1524869f4284b752e1a0e3161 (diff)
downloadgcc-040c6d51daadf242937549fb7bc0e5a375fa1666.zip
gcc-040c6d51daadf242937549fb7bc0e5a375fa1666.tar.gz
gcc-040c6d51daadf242937549fb7bc0e5a375fa1666.tar.bz2
re PR middle-end/41347 (ICE with -O3 or '-O2 -finline-functions')
PR middle-end/41347 * tree.c (build_type_attribute_qual_variant): Export. * tree.h (build_type_attribute_qual_variant): Declare. * tree-inline.c (remap_type_1): Use it to build variants with the original qualifiers and attributes. testsuite/ * gfortran.dg/pr41347.f90: New test. From-SVN: r151799
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 09ce8fa..afb1d42 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3997,6 +3997,7 @@ extern tree make_tree (tree, rtx);
extern tree build_type_attribute_variant (tree, tree);
extern tree build_decl_attribute_variant (tree, tree);
+extern tree build_type_attribute_qual_variant (tree, tree, int);
/* Structure describing an attribute and a function to handle it. */
struct attribute_spec