This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/80467] Function Without Arguments Fails to Generate Error When Declared Later
- From: "jeffrey.armstrong at approximatrix dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 May 2017 13:20:13 +0000
- Subject: [Bug fortran/80467] Function Without Arguments Fails to Generate Error When Declared Later
- Auto-submitted: auto-generated
- References: <bug-80467-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80467
--- Comment #4 from Jeffrey Armstrong <jeffrey.armstrong at approximatrix dot com> ---
> AFAICT you get the internal error only with compilers configured with
> --enable-checking=yes.
I was refering to a compiler crash occurring on a non-trivial program:
internal compiler error: in convert_move, at expr.c:268
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <...> for instructions.
Error(E42): Last command making (build\pn432x.o) returned a bad status
Error(E02): Make execution terminated
The trivial example I provided does not crash the compiler, but the
gcc_assert() at expr.c:268 seems to trigger an ICE under non-trivial
conditions.
I can try to work up an example that causes the ICE, but I can't provide the
source code to the particular file.