[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: exceptions handling docs
From: |
Gaius Mulley |
Subject: |
Re: exceptions handling docs |
Date: |
Fri, 01 Nov 2024 04:22:37 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Alexey Ulasevich <alexey.ulasevich@gmail.com> writes:
> Hi,
>
> Where I can find more information about exceptions handling in GM2? I
> mean documentation, examples etc.
>
>
> Thanks,
>
> Aleksey
Hi Aleksey,
at present there isn't a section in the gm2 documenation about
exception usage. I'll submit a PR requesting one though.
However there are a number of test programs in the testsuite which
contain interesting uses of execeptions:
Inside the GCC source tree:
(nested NIL and division by 0 exceptions)
gcc/testsuite/gm2/iso/run/pass/except8.mod
and also reduced cases in similar filenames:
gcc/testsuite/gm2/iso/run/pass/except?.mod
m2 exceptions and C++:
gcc/testsuite/gm2/exceptions/run/pass/*
regards,
Gaius