public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/103898] New: [12 Regression] ICE: gimplification failed
@ 2022-01-03 18:41 antony at cosmologist dot info
  2022-01-03 18:49 ` [Bug fortran/103898] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: antony at cosmologist dot info @ 2022-01-03 18:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103898
           Summary: [12 Regression] ICE: gimplification failed
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antony at cosmologist dot info
  Target Milestone: ---

For full log see
https://app.travis-ci.com/github/cmbant/CosmoMC/jobs/552809686.
The relevant stack trace is

[ 94/125] Processing src/bflike/long_intrinsic_smw.f90
gimplification failed:
MAX_EXPR <_21, 0> <max_expr 0x7f1b5ff58f00
    type <integer_type 0x7f1b60196738 integer(kind=8) public DI
        size <integer_cst 0x7f1b6017fc00 constant 64>
        unit-size <integer_cst 0x7f1b6017fc18 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f1b60196738 precision:64 min <integer_cst 0x7f1b6017fe88
-9223372036854775808> max <integer_cst 0x7f1b6017fea0 9223372036854775807>
        pointer_to_this <pointer_type 0x7f1b601cb738>>

    arg:0 <ssa_name 0x7f1b5ff87d80 type <integer_type 0x7f1b60196738
integer(kind=8)>

        def_stmt _21 = _20 + 1;
        version:21>
    arg:1 <integer_cst 0x7f1b6019d2d0 type <integer_type 0x7f1b60196738
integer(kind=8)> constant 0>
    /cosmomc/code/plc_3.0/plc-3.01/src/bflike/long_intrinsic_smw.f90:155:36
start: /cosmomc/code/plc_3.0/plc-3.01/src/bflike/long_intrinsic_smw.f90:155:36
finish:
/cosmomc/code/plc_3.0/plc-3.01/src/bflike/long_intrinsic_smw.f90:155:36>
/cosmomc/code/plc_3.0/plc-3.01/src/bflike/long_intrinsic_smw.f90:155:36:
  155 |        mysize = size(array, dim=dim)
      |                                    ^
internal compiler error: gimplification failed
0x1daeb37 internal_error(char const*, ...)
        ???:0
0xc4a9b6 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4713f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4aa16 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xc474e2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4aa16 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xc4848b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4aa16 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xc479e2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4aa16 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xc474e2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4aa16 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xc4848b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc4aa16 gimplify_stmt(tree_node**, gimple**)
        ???:0
0xc479e2 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ???:0
0xc58d19 gimplify_body(tree_node*, bool)
        ???:0
0xc5915d gimplify_function_tree(tree_node*)
        ???:0
0xa94487 cgraph_node::analyze()
        ???:0
0xa97c6d symbol_table::finalize_compilation_unit()
        ???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

The relevant source code is in
https://pla.esac.esa.int/pla/aio/product-action?COSMOLOGY.FILE_ID=COM_Likelihood_Code-v3.0_R3.01.tar.gz

This broke in trunk relatively recently, though at least a month ago.

I don't have a reduced test case (this is not my code).

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-01-07  1:36 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-03 18:41 [Bug fortran/103898] New: [12 Regression] ICE: gimplification failed antony at cosmologist dot info
2022-01-03 18:49 ` [Bug fortran/103898] " pinskia at gcc dot gnu.org
2022-01-03 19:04 ` pinskia at gcc dot gnu.org
2022-01-03 19:11 ` pinskia at gcc dot gnu.org
2022-01-03 19:40 ` sandra at gcc dot gnu.org
2022-01-03 20:18 ` anlauf at gcc dot gnu.org
2022-01-04  8:37 ` marxin at gcc dot gnu.org
2022-01-06  2:29 ` sandra at gcc dot gnu.org
2022-01-06 20:13 ` sandra at gcc dot gnu.org
2022-01-07  1:35 ` cvs-commit at gcc dot gnu.org
2022-01-07  1:36 ` sandra at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).