Usef Ahmed
Usef Ahmed
## Summary Pure functions require all dummy data objects to have INTENT(IN) or VALUE attribute per Fortran standard C1592, but LFortran was silently ignoring this requirement. ## Fix Added a...
Fixes #11993 When a `goto` statement references a label that is not defined in the program, LFortran was crashing with an internal compiler error instead of reporting a proper semantic...
Description When a call to `opDispatch` fails to compile because of an error inside the opDispatch template body (e.g. a `static assert`), dmd reports two errors: a misleading "no property...
### Description Following up on #20261 (Fixed in #23835): the confusing compiler-generated identifier for lambdas can still leak through in a different place — the "instantiated from here" supplemental error...
While differential fuzzing BOLT12 invoice decoding with [bitcoinfuzz](https://github.com/bitcoinfuzz/bitcoinfuzz), I found that CLN decodes a correctly signed invoice whose `offer_currency` (TLV type 6) is not a valid ISO 4217 code, while...
Per the Fortran standard and as documented by gfortran, IAND, IOR, and IEOR each require that I and J not both be BOZ literal constants — if only one argument...
A function reference cannot be directly subscripted in Fortran; `transpose(m)(2,:)` is invalid (a function-reference is not a designator). gfortran rejects it with a syntax error, LFortran accepts it and prints...
With a bare `save` statement in a procedure, a named integer constant (`parameter`) is no longer accepted where a constant expression is required, e.g. the `kind` argument of `cmplx`. gfortran...
Building [rklib](https://github.com/jacobwilliams/rklib) (commit e3d51f9) with fpm fails in the example. gfortran builds it fine. The failure does not need any user code. After `fpm build --compiler=lfortran --flag "--cpp"` (modfiles in...
A character pointer initialized at declaration to a substring of a `target` variable (a valid initial data target) is rejected. GFortran accepts it. ```fortran program sp3 implicit none character(len=5), target...