aboutsummaryrefslogtreecommitdiff
path: root/gcc/d
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gcc.gnu.org>2019-06-16 07:49:43 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2019-06-16 07:49:43 +0000
commitaf1b88ee7b46234bd68593cfdf7ef3546024c635 (patch)
tree736278728ee04a63e7e8af4578e6683e2ee3fcea /gcc/d
parent87dda41e5a149c802df7b82dfcfe734081ff5f89 (diff)
downloadgcc-af1b88ee7b46234bd68593cfdf7ef3546024c635.zip
gcc-af1b88ee7b46234bd68593cfdf7ef3546024c635.tar.gz
gcc-af1b88ee7b46234bd68593cfdf7ef3546024c635.tar.bz2
re PR d/90560 (ICE in visit, at d/dmd/dcast.c:1872)
PR d/90560 d/dmd: Merge upstream dmd c6887d9bb Fixes segmentation fault in castTo::CastTo::visit. Reviewed-on: https://github.com/dlang/dmd/pull/10007 From-SVN: r272348
Diffstat (limited to 'gcc/d')
-rw-r--r--gcc/d/dmd/MERGE2
-rw-r--r--gcc/d/dmd/mtype.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/gcc/d/dmd/MERGE b/gcc/d/dmd/MERGE
index 36f9aa9..3e3e718 100644
--- a/gcc/d/dmd/MERGE
+++ b/gcc/d/dmd/MERGE
@@ -1,4 +1,4 @@
-b0cd591770fefb4db6eaba89b7a548ef1e980f5c
+c6887d9bbbe7b68e03ba3bccbf61432c1b369386
The first line of this file holds the git revision number of the last
merge done from the dlang/dmd repository.
diff --git a/gcc/d/dmd/mtype.c b/gcc/d/dmd/mtype.c
index 1757b49..2b1c5a1 100644
--- a/gcc/d/dmd/mtype.c
+++ b/gcc/d/dmd/mtype.c
@@ -4134,8 +4134,7 @@ Type *TypeSArray::semantic(Loc loc, Scope *sc)
* when the bottom of element type is opaque.
*/
}
- else if (tbn->isintegral() ||
- tbn->isfloating() ||
+ else if (tbn->isTypeBasic() ||
tbn->ty == Tpointer ||
tbn->ty == Tarray ||
tbn->ty == Tsarray ||