diff options
author | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-04 20:04:44 +0000 |
---|---|---|
committer | echristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-04 20:04:44 +0000 |
commit | 2a2915d020a50a1e4e4fd37fc82d79c05a0b62d0 (patch) | |
tree | 422257733475320ca36e05d56f5068623cb9f9f4 /gcc/targhooks.c | |
parent | 110c157e53daef8f9195f536aec16fd83d03e830 (diff) | |
download | gcc-2a2915d020a50a1e4e4fd37fc82d79c05a0b62d0.tar.gz |
2003-09-04 Eric Christopher <echristo@redhat.com>
* targhooks.c (default_return_in_memory): Allow
unconverted ports.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71085 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.c')
-rw-r--r-- | gcc/targhooks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c index fe0bc0f5e4e..7654e230b83 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -107,7 +107,11 @@ bool default_return_in_memory (tree type, tree fntype ATTRIBUTE_UNUSED) { +#ifndef RETURN_IN_MEMORY return (TYPE_MODE (type) == BLKmode); +#else + return RETURN_IN_MEMORY (type); +#endif } rtx |