diff options
author | Brian Drummond | 2013-12-02 16:36:09 +0000 |
---|---|---|
committer | Brian Drummond | 2013-12-02 16:36:09 +0000 |
commit | 3cfd999c339e5c5f7b8ab814aa0d379329a22190 (patch) | |
tree | 1336bfd08455d00c75dffe5ca363453edac551ba /ortho/gcc | |
parent | 8dbf1fbe8dedb1133b31f25e98171b784dc92061 (diff) | |
download | ghdl-3cfd999c339e5c5f7b8ab814aa0d379329a22190.tar.gz ghdl-3cfd999c339e5c5f7b8ab814aa0d379329a22190.tar.bz2 ghdl-3cfd999c339e5c5f7b8ab814aa0d379329a22190.zip |
Temporary fix for 16 bit builds; breaks 32-bit gcc builds (has no effect on mcode)
Diffstat (limited to 'ortho/gcc')
-rw-r--r-- | ortho/gcc/ortho-lang.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ortho/gcc/ortho-lang.c b/ortho/gcc/ortho-lang.c index ef4c9ee..e8387fd 100644 --- a/ortho/gcc/ortho-lang.c +++ b/ortho/gcc/ortho-lang.c @@ -629,7 +629,11 @@ type_for_size (unsigned int precision, int unsignedp) if (precision <= MAX_BITS_PER_WORD) signed_and_unsigned_types[precision][unsignedp] = t; - + else + // Handle larger requests by returning a NULL tree and letting + // the back end default to another approach. + t = NULL_TREE; + return t; } |