Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix name resolution for direct recursion; adjust BOZ arguments to intrinsics. #557

Merged
merged 9 commits into from Jul 10, 2019

Conversation

klausler
Copy link
Collaborator

Directly recursive calls weren't working. When a new scope was created for a subprogram, a dummy symbol for the subprogram was being inserted so that the name of the subprogram couldn't also be used as a local entity. This dummy symbol is replaced with a host association.

Allow BOZ arguments to CHAR/ACHAR, and generalize the code in folding that converts argument values.

Also update some documentation, add an option to f18 that appears in documentation but wasn't implemented, and stop emitting PROCEDURE(TYPE(REAL)) in unparsed output; PROCEDURE(REAL) is used instead so that pgf90 can handle it.

@klausler klausler merged commit 537a501 into master Jul 10, 2019
@klausler klausler deleted the pmk-fixes branch July 10, 2019 23:50
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
Original-commit: flang-compiler/f18@40b44b2
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
Original-commit: flang-compiler/f18@ca5c812
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
…ions in folding

Original-commit: flang-compiler/f18@6df0136
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
Original-commit: flang-compiler/f18@aa18f1b
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
Original-commit: flang-compiler/f18@b8365af
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
swift-ci pushed a commit to apple/llvm-project that referenced this pull request Apr 9, 2020
…/pmk-fixes

Fix name resolution for direct recursion; adjust BOZ arguments to intrinsics.

Original-commit: flang-compiler/f18@537a501
Reviewed-on: flang-compiler/f18#557
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
Original-commit: flang-compiler/f18@40b44b2
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
Original-commit: flang-compiler/f18@ca5c812
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
…ions in folding

Original-commit: flang-compiler/f18@6df0136
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
Original-commit: flang-compiler/f18@aa18f1b
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
Original-commit: flang-compiler/f18@b8365af
Reviewed-on: flang-compiler/f18#557
Tree-same-pre-rewrite: false
mem-frob pushed a commit to draperlaboratory/hope-llvm-project that referenced this pull request Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants