This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/80467] Function Without Arguments Fails to Generate Error When Declared Later


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]