diff options
author | Andrew Pinski <andrew_pinski@playstation.sony.com> | 2008-03-26 03:32:13 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2008-03-25 20:32:13 -0700 |
commit | fd88fd0992aaad1329f310d6ed4782b9f95d8b22 (patch) | |
tree | 464eb6c0aa6be2085e430e33f0206246a2dcdf44 /gcc/config | |
parent | 9c349a39eb5b2466b60a0be488a0c55bbf7915b2 (diff) | |
download | gcc-fd88fd0992aaad1329f310d6ed4782b9f95d8b22.zip gcc-fd88fd0992aaad1329f310d6ed4782b9f95d8b22.tar.gz gcc-fd88fd0992aaad1329f310d6ed4782b9f95d8b22.tar.bz2 |
re PR fortran/31588 (gfortran should be able to output Makefile dependencies with -M* options)
2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR target/31588
* config/rs6000/rs6000-c.c (rs6000_builtin_type_compatible): Handle
error_mark_node's.
2008-03-25 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR target/31588
* g++.dg/ext/altivec-15.C: New testcase.
From-SVN: r133541
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/rs6000/rs6000-c.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |