Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Sep 26, 2024
1 parent a5ef925 commit bf800ca
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions .github/workflows/windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ jobs:
- name: Upload testsuite-${{ matrix.arch }}-${{ matrix.target }}.log
uses: actions/upload-artifact@v4
if: failure()
with:
name: testsuite-${{ matrix.arch }}-${{ matrix.target }}.log
path: ${{ env.GITHUB_WORKSPACE }}/tests/testsuite.log
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows-msys1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ jobs:

- name: Upload testsuite-${{ matrix.target }}.log
uses: actions/upload-artifact@v4
if: failure()
with:
name: testsuite-${{ matrix.target }}.log
path: ${{ env.GITHUB_WORKSPACE }}/_build/tests/testsuite.log
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ jobs:
- name: Upload testsuite-${{matrix.sys}}-${{matrix.target}}.log
uses: actions/upload-artifact@v4
if: failure()
with:
name: testsuite-${{matrix.sys}}-${{matrix.target}}.log
path: ${{ env.GITHUB_WORKSPACE }}/_build/tests/testsuite.log
Expand Down
21 changes: 11 additions & 10 deletions cobc/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
* typeck.c (cb_emit_move, cb_emit_set_to): do not check for incompatible
data if no receiver field is of category numeric or numeric edited

2024-09-23 David Declerck <[email protected]>

* pplex.l (cb_text_list): prevent duplicates

2024-08-28 David Declerck <[email protected]>

* tree.c (char_to_precedence_idx, get_char_type_description, valid_char_order):
Expand Down Expand Up @@ -125,16 +129,13 @@

2024-03-15 Fabrice Le Fessant <[email protected]>

* cobc.c: add new flags to output dependencies following gcc: -M to
output deps only, -MD to output deps while compiling (in .d files),
-MP to output phony targets, -MG to keep missing copybooks,
-MQ <target> to Makefile-quote target
* flags.def: -fcopybook-deps outputs only copybook names instead
of file paths. -fcopybook-deps also forces -E, -foneline-deps,
-MT=copybooks, disables errors on missing copybooks and removes
output on stdout.
* typeck.c (check_argument_conformance): check that param is well defined
to prevent a segfault
* cobc.c, help.c, pplex.l: add new flags to output dependencies following
gcc: -M to output deps only, -MD to output deps while compiling (in
.d files), -MP to output phony targets, -MG to keep missing copybooks,
-MQ <target> to Makefile-quote target ; add -fcopybook-deps to
output only copybook names instead of file paths. -fcopybook-deps
also forces -E, -foneline-deps, -MT=copybooks, disables errors on
missing copybooks and removes output on stdout

2024-02-19 Boris Eng <[email protected]>

Expand Down
1 change: 0 additions & 1 deletion cobc/typeck.c
Original file line number Diff line number Diff line change
Expand Up @@ -3603,7 +3603,6 @@ check_argument_conformance (struct cb_program *program, cb_tree argument_tripple
} else {
arg_field = NULL;
}
if (!CB_FIELD_P(param)) return;
param_field = CB_FIELD_PTR(CB_VALUE(param));

/*
Expand Down

0 comments on commit bf800ca

Please sign in to comment.