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/66050] ICE: FORALL with operation on matrix columns


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66050

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I may have made some mistake on the original example.
> This should trigger the ICE (in some conditions, see below)
> ...

It does with 6.0 r222768, Corei7:

pr66050_1.f90:4:0:

   forall(i=1:3)
 1
internal compiler error: in gfc_trans_forall_1, at fortran/trans-stmt.c:4187

backtrace is

    frame #9: 0x0000000100db5b26 f951`fancy_abort(file=<unavailable>,
line=<unavailable>, function=<unavailable>) + 38 at diagnostic.c:1291
    frame #10: 0x0000000100154635
f951`gfc_trans_forall_1(code=0x0000000143209170,
nested_forall_info=0x00007fff5fbfee60) + 3093 at trans-stmt.c:4187
    frame #11: 0x00000001000d06d8 f951`trans_code(code=0x0000000143209170,
cond=0x0000000000000000) + 1080 at trans.c:1829
    frame #12: 0x000000010010088b
f951`gfc_generate_function_code(ns=<unavailable>) + 1275 at trans-decl.c:5896
    frame #13: 0x000000010008800c f951`gfc_parse_file() + 1836 at parse.c:5341
    frame #14: 0x00000001000ccff6 f951`gfc_be_parse_file + 38 at f95-lang.c:228


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