[J3] Question on Table 10.8: Intrinsic assignment type conformance
Bill Long
longb at cray.com
Fri Jun 14 12:07:19 EDT 2019
The code also ran. However, note that the compiler (default options) eliminated the assignment as an optimization since the variable assigned to is never used.
Cheers,
Bill
> On Jun 14, 2019, at 11:01 AM, Bill Long <longb at cray.com> wrote:
>
>
>> On Jun 13, 2019, at 5:44 PM, Vipul Parekh via J3 <j3 at mailman.j3-fortran.org> wrote:
>>
>> 2) Does the Cray compiler proceed to process the result of the code
>> following the warning? Or does it stop there? Meaning, did Cray
>> compiler process "b = f()" instruction and think it to be conforming
>> to the standard?
>
> Warnings do not inhibit the rest of the compilation. They are only informative (hopefully). The code compiled with no errors.
>
> Cheers,
> Bill
>
>
> Bill Long longb at cray.com
> Principal Engineer, Fortran Technical Support & voice: 651-605-9024
> Bioinformatics Software Development fax: 651-605-9143
> Cray Inc./ 2131 Lindau Lane/ Suite 1000/ Bloomington, MN 55425
>
>
Bill Long longb at cray.com
Principal Engineer, Fortran Technical Support & voice: 651-605-9024
Bioinformatics Software Development fax: 651-605-9143
Cray Inc./ 2131 Lindau Lane/ Suite 1000/ Bloomington, MN 55425
More information about the J3
mailing list