summaryrefslogtreecommitdiff
path: root/mips/compiler/rautils.pas
diff options
context:
space:
mode:
authorfoxsen <foxsen@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-07-11 05:58:33 +0000
committerfoxsen <foxsen@3ad0048d-3df7-0310-abae-a5850022a9f2>2012-07-11 05:58:33 +0000
commit0321f8d9bde18cc19bf642102f287ab6eade382f (patch)
treead6224bc825907ba6b8a03d849e4396298fb53e3 /mips/compiler/rautils.pas
parenta18fe56f5e2c634b35936e044f1e95573699e77d (diff)
downloadfpc-foxsen.tar.gz
merge to trunk 21856foxsen
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/foxsen@21858 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'mips/compiler/rautils.pas')
-rw-r--r--mips/compiler/rautils.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/mips/compiler/rautils.pas b/mips/compiler/rautils.pas
index d7c0999097..bc27d5a6ab 100644
--- a/mips/compiler/rautils.pas
+++ b/mips/compiler/rautils.pas
@@ -689,6 +689,7 @@ begin
if (not is_void(returndef)) then
begin
if (m_tp7 in current_settings.modeswitches) and
+ not (df_generic in defoptions) and
(not paramanager.ret_in_param(returndef,proccalloption)) then
begin
message(asmr_e_cannot_use_RESULT_here);