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

            Bug ID: 78390
           Summary: Bootstrap failure: match.pd: cannot determine type of
                    operand
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vogt at linux dot vnet.ibm.com
                CC: krebbel at gcc dot gnu.org
  Target Milestone: ---
              Host: s390x
            Target: s390x

With the recent trunk I get a bootstrap failure on s390x.  Configured with arch
zEC12, multilib, release checking, default languages on a zEC12 machine.

!!!

--

Bisecting failed to identify the commit that introduced the failure.  The first
bad commit it found is trunk@242421:

    MIPS/GCC/test: Implement `-mmicromips' option test

        gcc/testsuite/
        * gcc.target/mips/mips.exp (mips_option_tests): Add
        `-mmicromips' array element.

which is mips exclusive and cannot be the cause of the problem.

The two commits before that only touch the testsuite, but bootstrapping them
hangs because genattrtab never finishes (using 100% cpu; terminated it after
three hours on one occation and after about 10 to 20 minutes on other
occasions).  The next older commit builds fine.  Further attempts to rebuild
trunk@242421 also end with genattrtab hanging.  :-/

Another attempt without --multilib and --languages=c results in: 

--
build/genmatch --gimple ~/src/gcc/gcc/match.pd \
    > tmp-gimple-match.c
~/src/gcc/gcc/match.pd:93:3 warning: duplicate pattern
 (plus:c @0 real_zerop@1)
  ^
~/src/gcc/gcc/match.pd:82:6 warning: previous pattern defined here
    (op @0 integer_zerop)
     ^
(PLUS_EXPR @0 real_zerop@1)
~/src/gcc/gcc/match.pd:99:3 warning: duplicate pattern
 (minus @0 real_zerop@1)
  ^
~/src/gcc/gcc/match.pd:82:6 warning: previous pattern defined here
    (op @0 integer_zerop)
     ^
... (many more of these messages)
(CFN_BUILT_IN_LLFLOORL integer_valued_real_p@0)
GIMPLE decision tree has 1763 leafs, maximum depth 12 and a total number of
6840 nodes
~/src/gcc/gcc/match.pd:1615:44 error: cannot determine type of operand
             (bit_and (convert (shift:shift_type (convert @3) @1)) { newmaskt;
})
                                           ^

Reply via email to