* [Fortran, Patch] PR34398 - Add range check for non-standard BOZ
@ 2007-12-13 17:21 Tobias Burnus
2007-12-14 15:04 ` Jerry DeLisle
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2007-12-13 17:21 UTC (permalink / raw)
To: 'fortran@gcc.gnu.org', gcc-patches
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
With the new BOZ patch, we lost the range-check when assigning to real
and complex variables in DATA statements and in direct assignments,
which this patches fixes.
Additionally, I saw that the gfc_range_check could return ARITH_OK for
complex variables, if the real part was invalid but the imaginary part
was ok.
Build and regression tested (gfortran + libgomp, -m32 and -m64) on x86-64.
OK for the trunk?
Tobias
[-- Attachment #2: boz-range.diff --]
[-- Type: application/unknown, Size: 5556 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Fortran, Patch] PR34398 - Add range check for non-standard BOZ
2007-12-13 17:21 [Fortran, Patch] PR34398 - Add range check for non-standard BOZ Tobias Burnus
@ 2007-12-14 15:04 ` Jerry DeLisle
0 siblings, 0 replies; 2+ messages in thread
From: Jerry DeLisle @ 2007-12-14 15:04 UTC (permalink / raw)
To: Tobias Burnus; +Cc: 'fortran@gcc.gnu.org', gcc-patches
Tobias Burnus wrote:
> With the new BOZ patch, we lost the range-check when assigning to real
> and complex variables in DATA statements and in direct assignments,
> which this patches fixes.
>
> Additionally, I saw that the gfc_range_check could return ARITH_OK for
> complex variables, if the real part was invalid but the imaginary part
> was ok.
>
> Build and regression tested (gfortran + libgomp, -m32 and -m64) on x86-64.
> OK for the trunk?
>
> Tobias
OK, comment in test case s/wide/wise/
Jerry
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-14 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-13 17:21 [Fortran, Patch] PR34398 - Add range check for non-standard BOZ Tobias Burnus
2007-12-14 15:04 ` Jerry DeLisle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).