From fd88fd0992aaad1329f310d6ed4782b9f95d8b22 Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Wed, 26 Mar 2008 03:32:13 +0000 Subject: re PR fortran/31588 (gfortran should be able to output Makefile dependencies with -M* options) 2008-03-25 Andrew Pinski PR target/31588 * config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle error_mark_node's. 2008-03-25 Andrew Pinski PR target/31588 * g++.dg/ext/altivec-15.C: New testcase. From-SVN: r133541 --- gcc/config/rs6000/rs6000-c.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/config') diff --git a/gcc/config/rs6000/rs6000-c.c b/gcc/config/rs6000/rs6000-c.c index 0853711..d0830bb 100644 --- a/gcc/config/rs6000/rs6000-c.c +++ b/gcc/config/rs6000/rs6000-c.c @@ -2421,6 +2421,8 @@ rs6000_builtin_type_compatible (tree t, int id) { tree builtin_type; builtin_type = rs6000_builtin_type (id); + if (t == error_mark_node) + return false; if (INTEGRAL_TYPE_P (t) && INTEGRAL_TYPE_P (builtin_type)) return true; else -- cgit v1.1