mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 12:39:09 +02:00
* do not issue a hint of compiler procs are not inlined, resolves #33515
git-svn-id: trunk@38675 -
This commit is contained in:
parent
a69942852f
commit
c46cbc8411
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -16096,6 +16096,7 @@ tests/webtbs/tw33439.pp svneol=native#text/pascal
|
|||||||
tests/webtbs/tw3348.pp svneol=native#text/plain
|
tests/webtbs/tw3348.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw3349.pp svneol=native#text/plain
|
tests/webtbs/tw3349.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw3351.pp svneol=native#text/plain
|
tests/webtbs/tw3351.pp svneol=native#text/plain
|
||||||
|
tests/webtbs/tw33515.pp svneol=native#text/pascal
|
||||||
tests/webtbs/tw3353.pp svneol=native#text/plain
|
tests/webtbs/tw3353.pp svneol=native#text/plain
|
||||||
tests/webtbs/tw33542.pp svneol=native#text/pascal
|
tests/webtbs/tw33542.pp svneol=native#text/pascal
|
||||||
tests/webtbs/tw33548.pp svneol=native#text/plain
|
tests/webtbs/tw33548.pp svneol=native#text/plain
|
||||||
|
@ -4372,7 +4372,7 @@ implementation
|
|||||||
result:=pass1_inline
|
result:=pass1_inline
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
if po_inline in procdefinition.procoptions then
|
if (po_inline in procdefinition.procoptions) and not(po_compilerproc in procdefinition.procoptions) then
|
||||||
Message1(cg_h_no_inline,tprocdef(procdefinition).customprocname([pno_proctypeoption, pno_paranames,pno_ownername, pno_noclassmarker]));
|
Message1(cg_h_no_inline,tprocdef(procdefinition).customprocname([pno_proctypeoption, pno_paranames,pno_ownername, pno_noclassmarker]));
|
||||||
mark_unregable_parameters;
|
mark_unregable_parameters;
|
||||||
result:=pass1_normal;
|
result:=pass1_normal;
|
||||||
|
8
tests/webtbs/tw33515.pp
Normal file
8
tests/webtbs/tw33515.pp
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ %OPT=-Seh }
|
||||||
|
program Test;
|
||||||
|
uses SysUtils;
|
||||||
|
var
|
||||||
|
FS: TFormatSettings;
|
||||||
|
begin
|
||||||
|
FS := DefaultFormatSettings;
|
||||||
|
end.
|
Loading…
Reference in New Issue
Block a user