[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug Compiler/27488] ICE in division where array is bound by size
From: |
jose.marchesi at oracle dot com |
Subject: |
[Bug Compiler/27488] ICE in division where array is bound by size |
Date: |
Sun, 28 Feb 2021 22:20:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27488
Jose E. Marchesi <jose.marchesi at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
CC| |jose.marchesi at oracle dot com
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Jose E. Marchesi <jose.marchesi at oracle dot com> ---
Hello there.
Thanks for the report.
This problem should be fixed by the following commits in master and
maint/poke-1 respectively.
Thanks!
commit 9c775bf06e8bc9d109517554166a1cb486a064c2
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Sun Feb 28 23:17:52 2021 +0100
libpoke: typify: avoid ICE in divisions of integrals by offsets
The compiler should emit a compilation error instead.
2021-02-28 Jose E. Marchesi <jemarch@gnu.org>
* libpoke/pkl-typify.c (CASE_INTEGRAL): Emit a compilation error
for INTEGRAL/OFFSET and INTEGRAL/^OFFSET.
* testsuite/poke.pkl/div-integers-diag-2.pk: New test.
* testsuite/poke.pkl/cdiv-integers-diag-2.pk: Likewise.
* testsuite/poke.pkl/mod-integers-diag-2.pk: Likewise.
* testsuite/Makefile.am (EXTRA_DIST): Add new tests.
commit 5e5f06facd97c18e109cd016c2995ea56be91499
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Sun Feb 28 23:17:52 2021 +0100
libpoke: typify: avoid ICE in divisions of integrals by offsets
The compiler should emit a compilation error instead.
2021-02-28 Jose E. Marchesi <jemarch@gnu.org>
* libpoke/pkl-typify.c (CASE_INTEGRAL): Emit a compilation error
for INTEGRAL/OFFSET and INTEGRAL/^OFFSET.
* testsuite/poke.pkl/div-integers-diag-2.pk: New test.
* testsuite/poke.pkl/cdiv-integers-diag-2.pk: Likewise.
* testsuite/poke.pkl/mod-integers-diag-2.pk: Likewise.
* testsuite/Makefile.am (EXTRA_DIST): Add new tests.
--
You are receiving this mail because:
You are on the CC list for the bug.