- Mar 05, 2019
-
-
peter klausler authored
Original-commit: flang-compiler/f18@582c6d1eca5bc29fddadae4d25e418da4ace2c11 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@40461345124b95de1f35828885e95d8bf0a235f1 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@c9823da20746313005ee017413f8207a720a10b0 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@386cd8a9b43f4e65c3e42febbae991fa87d277a9 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@88cdb49f4892a20f2628f11373a0f1c9c32a6c1e Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@051c1dd923a3b321d1a19768414caf93732a3426 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@f2d751d8a6c1bf31f69031bbdab0a823999ebf5c Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@56e83d4dd64dd7d30b2ce4bbf124f2c39bc14b58 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@2c3368fb5f6178bb997936bb506deecc2d8b7d03 Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@bea98aeb9638b9d584488ae5faf72d53f1747a5f Reviewed-on: https://github.com/flang-compiler/f18/pull/311 Tree-same-pre-rewrite: false
-
Peter Klausler authored
Add `ForwardReference<>` class template Original-commit: flang-compiler/f18@b541a4d167530138025b8a0c8dd1031144ab8435 Reviewed-on: https://github.com/flang-compiler/f18/pull/314
-
peter klausler authored
Original-commit: flang-compiler/f18@09e9501951499625fdabdc04f3bcf7ae85b37467 Reviewed-on: https://github.com/flang-compiler/f18/pull/314
-
peter klausler authored
Original-commit: flang-compiler/f18@65abebd838ef6b20960f69595709db55f3e5a9b7 Reviewed-on: https://github.com/flang-compiler/f18/pull/314 Tree-same-pre-rewrite: false
-
Peter Klausler authored
Fix flang-compiler/f18#312 Original-commit: flang-compiler/f18@74a9426adf29b21a0971f6db224efbd77da989af Reviewed-on: https://github.com/flang-compiler/f18/pull/313
-
peter klausler authored
Original-commit: flang-compiler/f18@3248ec1cf93a18a7172eaeb90688de9fae4ab753 Reviewed-on: https://github.com/flang-compiler/f18/pull/313
-
peter klausler authored
Original-commit: flang-compiler/f18@7d0b365a6dcd02df245ee6ea2fcbadbdb31e86f6 Reviewed-on: https://github.com/flang-compiler/f18/pull/313 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@0b1369ce5511d728c10c1b00ca14a2c9c4572ac7 Reviewed-on: https://github.com/flang-compiler/f18/pull/313 Tree-same-pre-rewrite: false
-
peter klausler authored
Original-commit: flang-compiler/f18@625ffb4f1a09343725907fe51597e88e28a0ca91 Reviewed-on: https://github.com/flang-compiler/f18/pull/313 Tree-same-pre-rewrite: false
-
- Mar 02, 2019
-
-
psteinfeld authored
Fixed reference to a header file Original-commit: flang-compiler/f18@658bc758d7c4bcea7ffbf06968a2faa3f4c8a124 Reviewed-on: https://github.com/flang-compiler/f18/pull/310
-
Peter Steinfeld authored
Original-commit: flang-compiler/f18@22f93f0b307384ebe022aa300771fef40039c11e Reviewed-on: https://github.com/flang-compiler/f18/pull/310
-
- Mar 01, 2019
-
-
Peter Klausler authored
Rename to Fortran.h, update style guide, run clang-format on everything Original-commit: flang-compiler/f18@0cf07c3ace6b713f8ec0fb348af99a4ef04dd9e3 Reviewed-on: https://github.com/flang-compiler/f18/pull/308
-
peter klausler authored
Original-commit: flang-compiler/f18@3a9a185383fb4bf967624258f59e2f22cd143ed5 Reviewed-on: https://github.com/flang-compiler/f18/pull/308
-
peter klausler authored
Original-commit: flang-compiler/f18@aa2907d2260c34085360917e7fab43d8ee79b6e4 Reviewed-on: https://github.com/flang-compiler/f18/pull/308 Tree-same-pre-rewrite: false
-
Tim Keith authored
Fix bug in test_modfile.sh Original-commit: flang-compiler/f18@6e95724f0e2efda36c0efc16d7f6bfde90975a00 Reviewed-on: https://github.com/flang-compiler/f18/pull/309
-
Tim Keith authored
The expected mod files specified in the test do not necessarily appear in sorted order, and the desired order depends on what the `comm` command expects. So sort them to be sure it is right. Original-commit: flang-compiler/f18@730d0d0562dd0a4eabfde020fef9fe371d401ff5 Reviewed-on: https://github.com/flang-compiler/f18/pull/309
-
Tim Keith authored
Various name resolution bug fixes Original-commit: flang-compiler/f18@fc831f600e5d37f646d4a83fbec7befc4d5dffda Reviewed-on: https://github.com/flang-compiler/f18/pull/305
-
Tim Keith authored
This showed up in procinterface01. A function can have more than one PrefixSpec (e.g. `real elemental f()`). We need to ignore that ones that aren't types. Also, process the type after the ImplicitPart rather than after the SpecificationPart. The type of the function result variable could be accessed between those places. Original-commit: flang-compiler/f18@df85eedb925b6f8739d6f6ccd9820ff5d9e4f4c5 Reviewed-on: https://github.com/flang-compiler/f18/pull/305
-
Tim Keith authored
A module procedure interface body can access entities in its host without an IMPORT statement. So the `ImportKind` of the scope created for such an interface body should be `Default`, not `None` as it is for other interface bodies. Original-commit: flang-compiler/f18@24bb2668fdb626a4df76719345b02e533d015d79 Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Tim Keith authored
The `GenericDetails::CheckSpecific()` check was happening too early. We have to wait until all procedures of the generic have been seen. The generic can have the same name as a module procedure only if that module procedure is a specific procedure of the generic. Improve the `SayAlreadyDeclared` error message when the previous declaration is a use-association Original-commit: flang-compiler/f18@269e3db6020a5acc51a291dfea98455e6a97d2d5 Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Tim Keith authored
When a generic has the same name as a module procedure or derived type, the latter weren't being written to the `.mod` file. Fix that by calling `PutSymbol()` on those symbols from the generic. Change `PutSymbol()` to accept `Symbol *` to make that more convenient. Original-commit: flang-compiler/f18@1778efe981812b1d1d1b684647c72085f44c3209 Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Tim Keith authored
When a function-stmt has a type in the prefix (`type(t) function f()`), the type cannot be resolve until after processing the USE and IMPLICIT statements. So save the parse-tree of the type and process it at the end of the specification section. Add `ProcessTypeSpec()` to handle the process of setting up to walk a type spec, walking it, restoring the state, and returning the type spec. We do this several other places too. Original-commit: flang-compiler/f18@bcde294d0e62c6ef8506392f66816814ae976dff Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Tim Keith authored
A statement entity (`data-i-do-variable` or `ac-do-variable`) that doesn't have a type specified gets the type it would have in the enclosing scope. That means if there is a visible variable with the same name, the statement entity gets its type. We were failing to do that and just applying the implicit rules. Original-commit: flang-compiler/f18@72bc7c29ba8d4be6a7c93080bb7fac7a3bc73577 Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Tim Keith authored
If an external subprogram is called and then declared, we have to replace the `ProcEntityDetails` with `SubprogramDetails` in the symbol. While doing so we can also check that the call was consistent with the declaration for function vs. subprogram. Original-commit: flang-compiler/f18@e43a2dae790cd0f54ecaec2ffc1235fd2b7754e9 Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Tim Keith authored
We were setting `expectedProcFlag_` to indicate if a `ProcedureDesignator` was used in a function or subroutine context. That didn't work if they were nested, for example: `call f(g())`. Instead, at the point we know function vs. subroutine (i.e. in the `CallStmt` and `FunctionReference` nodes), explicitly walk the children, passing in the flag. Original-commit: flang-compiler/f18@8a13283f98c366b74b35bc003f7bc908212a0c6c Reviewed-on: https://github.com/flang-compiler/f18/pull/305 Tree-same-pre-rewrite: false
-
Peter Klausler authored
fix flang-compiler/f18#303, better error recovery for misplaced type parameter declarat… Original-commit: flang-compiler/f18@79684ed2ebd3d1a3670fad87de69f104305116cc Reviewed-on: https://github.com/flang-compiler/f18/pull/307
-
peter klausler authored
Original-commit: flang-compiler/f18@ebaa23cbcd91ba83b65b8dd174baffab1395bc65 Reviewed-on: https://github.com/flang-compiler/f18/pull/307
-
Peter Klausler authored
Small edits to C++17 usage notes Original-commit: flang-compiler/f18@0e51862dd2646ee763d8f31628ba61f0621072ea Reviewed-on: https://github.com/flang-compiler/f18/pull/306
-
peter klausler authored
Original-commit: flang-compiler/f18@bdf62ac90020c84516400085b75109979d599dd7 Reviewed-on: https://github.com/flang-compiler/f18/pull/306
-
Eric Schweitz authored
Fortran IR: part 2, lowest layer of the IR hierarchy. Specifically, Basic Blocks Original-commit: flang-compiler/f18@5bae9491740cf402218233fd1bc69ee9c92d8a8b Reviewed-on: https://github.com/flang-compiler/f18/pull/294
-
- Feb 23, 2019
-
-
Eric Schweitz authored
Original-commit: flang-compiler/f18@b1c731b0266576d103f2dc44dfdb3410795cd81d Reviewed-on: https://github.com/flang-compiler/f18/pull/294
-