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 | |
parent | 110c157e53daef8f9195f536aec16fd83d03e830 (diff) |
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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/targhooks.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5eb0b96e4f9..e2c0fc6865d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-09-04 Eric Christopher <echristo@redhat.com> + * targhooks.c (default_return_in_memory): Allow + unconverted ports. + +2003-09-04 Eric Christopher <echristo@redhat.com> + * targhooks.c (default_return_in_memory): Fix typo in last checkin. 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 |