Pete Steinfeld
f8cfc7cdf9
[flang] Fixed the declarations of IEEE_SUPPORT_FLAG and IEEE_SUPPORT_HALTING to
...
be functions rather than subroutines. Note that Table 17.3 in the
standard summarizes the contents of IEEE_EXCEPTIONS with the details
specified in section 17.11.
Original-commit: flang-compiler/f18@fca58d479d
Reviewed-on: https://github.com/flang-compiler/f18/pull/730
2019-09-10 12:43:16 -07:00
Steve Scalpone
4fd8ef1a16
[flang] Merge pull request flang-compiler/f18#723 from flang-compiler/sjs-storage-size
...
Add storage_size intrinsic.
Original-commit: flang-compiler/f18@f2ffcfafd2
Reviewed-on: https://github.com/flang-compiler/f18/pull/723
2019-09-10 08:38:48 -07:00
Steve Scalpone
654a86a277
[flang] Update comment to reflect that STORAGE_SIZE is implemented.
...
Original-commit: flang-compiler/f18@3c2431bbf8
Reviewed-on: https://github.com/flang-compiler/f18/pull/723
2019-09-10 08:37:08 -07:00
Steve Scalpone
c1c83477ed
[flang] Add storage_size intrinsic.
...
Original-commit: flang-compiler/f18@bcde26a7c1
Reviewed-on: https://github.com/flang-compiler/f18/pull/723
Tree-same-pre-rewrite: false
2019-09-09 14:33:04 -07:00
jeanPerier
af933e12c8
[flang] Merge pull request flang-compiler/f18#699 from flang-compiler/jpr-fix-695
...
Implement folding of x**y where y is real or complex
Original-commit: flang-compiler/f18@0efc573230
Reviewed-on: https://github.com/flang-compiler/f18/pull/699
2019-09-10 05:53:28 -07:00
Jean Perier
45820f4caa
[flang] address comment: add ',' for better formatting
...
Original-commit: flang-compiler/f18@0c85499985
Reviewed-on: https://github.com/flang-compiler/f18/pull/699
2019-09-10 04:11:19 -07:00
Jean Perier
1343cf78f3
[flang] Implement folding of x**y where y is real or complex
...
This was a TODO. The implementation uses the host runtime
function pow, either from libm or libpgmath.
Original-commit: flang-compiler/f18@ee58112112
Reviewed-on: https://github.com/flang-compiler/f18/pull/699
Tree-same-pre-rewrite: false
2019-08-30 08:08:08 -07:00
Steve Scalpone
7459d81d8d
[flang] Merge pull request flang-compiler/f18#722 from flang-compiler/sjs-error-unit
...
Define iso_fortran_env error_unit.
Original-commit: flang-compiler/f18@cb1752d5cb
Reviewed-on: https://github.com/flang-compiler/f18/pull/722
2019-09-09 14:36:21 -07:00
Steve Scalpone
02a9cdb3fd
[flang] Define iso_fortran_env error_unit.
...
Provisionally use a value of 0 to match PGI.
Original-commit: flang-compiler/f18@ec7f0a0968
Reviewed-on: https://github.com/flang-compiler/f18/pull/722
2019-09-09 12:57:10 -07:00
Peter Klausler
89ff150e7c
[flang] Merge pull request flang-compiler/f18#721 from flang-compiler/pmk-fix-errormsg
...
Fix expected error messages in tests to correspond with recent update…
Original-commit: flang-compiler/f18@ffbc017c45
Reviewed-on: https://github.com/flang-compiler/f18/pull/721
2019-09-09 12:34:25 -07:00
peter klausler
de974041da
[flang] Fix expected error messages in tests to correspond with recent update to compiler
...
Original-commit: flang-compiler/f18@95202dd313
Reviewed-on: https://github.com/flang-compiler/f18/pull/721
2019-09-09 11:40:31 -07:00
Peter Klausler
1a7c1c1dac
[flang] Merge pull request flang-compiler/f18#711 from flang-compiler/pmk-call-tests
...
Tests for call semantics
Original-commit: flang-compiler/f18@8fada8d5cd
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
2019-09-09 10:43:53 -07:00
peter klausler
bf6ba0ff18
[flang] Fix some Fortran and use existing messages for errors already caught.
...
Original-commit: flang-compiler/f18@2d360e78ea
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
2019-09-09 10:43:19 -07:00
peter klausler
9dee00eccc
[flang] Finish test/semantics/call12.f90
...
Original-commit: flang-compiler/f18@d002f0ce37
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:28 -07:00
peter klausler
99757783d2
[flang] Fix Fortran in call10.f90
...
Original-commit: flang-compiler/f18@8154a24232
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:28 -07:00
peter klausler
5ea5fe9b1e
[flang] More tests
...
Original-commit: flang-compiler/f18@bd5e95e40c
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:28 -07:00
peter klausler
c19c1e5abd
[flang] More tests
...
Original-commit: flang-compiler/f18@52e3b74f4e
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:28 -07:00
peter klausler
7f52d94bf3
[flang] call09.f90 and review comment
...
Original-commit: flang-compiler/f18@bc2ac270c6
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:27 -07:00
peter klausler
c3d35afd87
[flang] call08.f90
...
Original-commit: flang-compiler/f18@2bda489d45
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:27 -07:00
peter klausler
c74f40f46e
[flang] call07.f90
...
Original-commit: flang-compiler/f18@a92307c3d6
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:27 -07:00
peter klausler
7ffe10c1fb
[flang] call06.f90
...
Original-commit: flang-compiler/f18@81b64dacaa
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:26 -07:00
peter klausler
0e1259db7a
[flang] Add call04.f90 test
...
Original-commit: flang-compiler/f18@0b329380cd
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:26 -07:00
peter klausler
8068d016db
[flang] First three tests
...
Original-commit: flang-compiler/f18@600b5263b1
Reviewed-on: https://github.com/flang-compiler/f18/pull/711
Tree-same-pre-rewrite: false
2019-09-09 10:16:26 -07:00
Peter Klausler
38891f8ee0
[flang] Merge pull request flang-compiler/f18#715 from flang-compiler/pmk-prov-to-ccs
...
Implement a mapping from source file Provenances to cooked stream offsets
Original-commit: flang-compiler/f18@f27eb362de
Reviewed-on: https://github.com/flang-compiler/f18/pull/715
2019-09-09 10:27:24 -07:00
peter klausler
0208a7d400
[flang] Remove needless include
...
Original-commit: flang-compiler/f18@5d2afd0ad3
Reviewed-on: https://github.com/flang-compiler/f18/pull/715
2019-09-09 10:26:30 -07:00
peter klausler
be799e4300
[flang] Check for having compiled the inverted map before using it
...
Original-commit: flang-compiler/f18@cef90ee11e
Reviewed-on: https://github.com/flang-compiler/f18/pull/715
Tree-same-pre-rewrite: false
2019-09-09 09:26:37 -07:00
peter klausler
73329265ff
[flang] Implement provenance -> CharBlock map
...
Original-commit: flang-compiler/f18@f2e7b6cd72
Reviewed-on: https://github.com/flang-compiler/f18/pull/715
Tree-same-pre-rewrite: false
2019-09-09 09:26:36 -07:00
peter klausler
fa3410d5fb
[flang] Clean out some dead code, improve naming & comments
...
Original-commit: flang-compiler/f18@3495555565
Reviewed-on: https://github.com/flang-compiler/f18/pull/715
Tree-same-pre-rewrite: false
2019-09-09 09:26:36 -07:00
Jinxin Yang
db25a52fe7
[flang] [OpenMP] formalize `DEFAULTMAP` clause
...
OpenMP 4.5 only accepts `defaultmap(tofrom:scalar)`. The original implementation
only parses the entire `tofrom:scalar` string and does nothing else. This commit
makes it treat `tofrom` (`ImplicitBehavior`) and `scalar` (`VariableCategory`)
separately, which is clear and extendable for OpenMP 5.0 Spec.
Original-commit: flang-compiler/f18@12074dcd2c
2019-09-09 09:41:04 -07:00
Peter Klausler
9bd23a1fcd
[flang] Merge pull request flang-compiler/f18#534 from flang-compiler/pmk-arr-comp
...
Jot down thoughts on array expr and intrinsic evaluation for Jean
Original-commit: flang-compiler/f18@f9b1d69c00
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
2019-09-09 09:29:07 -07:00
peter klausler
e665f1d7d1
[flang] More writing
...
Original-commit: flang-compiler/f18@8dce9cb7f0
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
2019-09-09 09:28:23 -07:00
peter klausler
a56e5f0615
[flang] edits
...
Original-commit: flang-compiler/f18@ff3cab0bb5
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
Tree-same-pre-rewrite: false
2019-09-09 09:28:23 -07:00
peter klausler
dca31ebe93
[flang] More edits
...
Original-commit: flang-compiler/f18@6b9ce52250
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
Tree-same-pre-rewrite: false
2019-09-09 09:28:22 -07:00
peter klausler
e73a1d287a
[flang] edits
...
Original-commit: flang-compiler/f18@07da944e4b
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
Tree-same-pre-rewrite: false
2019-09-09 09:27:38 -07:00
peter klausler
f0778f0fe2
[flang] edits
...
Original-commit: flang-compiler/f18@729cc19e0f
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
Tree-same-pre-rewrite: false
2019-09-09 09:27:38 -07:00
peter klausler
28e8f7a9fd
[flang] Jot down thoughts on array expr and intrinsic evaluation for Jean
...
Original-commit: flang-compiler/f18@83c72062d5
Reviewed-on: https://github.com/flang-compiler/f18/pull/534
Tree-same-pre-rewrite: false
2019-09-09 09:27:37 -07:00
Peter Klausler
c036e83420
[flang] Merge pull request flang-compiler/f18#683 from flang-compiler/pmk-call-doc
...
Requirements and first draft design for procedure call protocol
Original-commit: flang-compiler/f18@9e3ab7d32f
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
2019-09-06 13:17:53 -07:00
peter klausler
7f9922203f
[flang] Review comments
...
Original-commit: flang-compiler/f18@376359d456
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
2019-09-04 10:44:49 -07:00
peter klausler
9469ce8aeb
[flang] refinements
...
Original-commit: flang-compiler/f18@a4de8161f9
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-29 12:45:42 -07:00
peter klausler
321fcad0a9
[flang] address review comments
...
Original-commit: flang-compiler/f18@793c15fd04
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-29 10:58:36 -07:00
peter klausler
76337eb4cb
[flang] Simplify by using the term F77ish
...
Original-commit: flang-compiler/f18@063d9dc6c8
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-28 13:59:48 -07:00
peter klausler
f4f44b90f0
[flang] Limitations on function results with assumed type parameters
...
Original-commit: flang-compiler/f18@4ba9fdb0ea
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-28 11:54:19 -07:00
peter klausler
a26bbed6d6
[flang] Corrections and additions
...
Original-commit: flang-compiler/f18@000301fcf9
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-28 11:25:55 -07:00
peter klausler
c71ba62c9f
[flang] Correct obsolete comment in descriptor.h
...
Original-commit: flang-compiler/f18@8ff52c493a
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-28 09:14:46 -07:00
peter klausler
c236c83775
[flang] Resolve some TODOs
...
Original-commit: flang-compiler/f18@3f3e9c9320
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-27 15:59:46 -07:00
peter klausler
c6041dfecf
[flang] Enumerate semantics checks
...
Original-commit: flang-compiler/f18@3ddf31109a
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-27 14:27:14 -07:00
peter klausler
6d7fef5cd0
[flang] More research
...
Original-commit: flang-compiler/f18@1e2b0be07f
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-27 13:09:31 -07:00
peter klausler
fe7ea5325f
[flang] Address some review comments
...
Original-commit: flang-compiler/f18@5666998b0f
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-27 10:15:31 -07:00
peter klausler
a000beae71
[flang] fix typo, add examples
...
Original-commit: flang-compiler/f18@e0964fe076
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-26 15:56:08 -07:00
peter klausler
e9c6ab3615
[flang] refine naming
...
Original-commit: flang-compiler/f18@a4888a08cd
Reviewed-on: https://github.com/flang-compiler/f18/pull/683
Tree-same-pre-rewrite: false
2019-08-26 15:44:38 -07:00