Bug ID: 83892
           Summary: Various ICEs and link-errors with running ACATS with
                    -O2 -g -flto
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot
          Reporter: rguenth at gcc dot
  Target Milestone: ---
            Target: x86_64-linux-gnu

You have to patch gcc/testsuite/ada/acats/ to change flags.  Result:

                === acats tests ===
FAIL:   c330001
FAIL:   c37010a
FAIL:   c371003
FAIL:   c390011
FAIL:   c3a0001
FAIL:   c3a0006
FAIL:   c52008b
FAIL:   c52103x
FAIL:   c52104x
FAIL:   c52104y
FAIL:   c731001
FAIL:   c854002
FAIL:   cc50a01
FAIL:   cc50a02
FAIL:   cdd2a01
FAIL:   cdd2a02
FAIL:   cdd2a03
FAIL:   cxg2004
FAIL:   cxg2013
FAIL:   cxg2015

ICEs include 'error: type mismatch in component reference', 'error: type
variant has different TREE_TYPE', 'internal compiler error: in get_alias_set,
at alias.c:910'

And some regular link-errors (some testcases may not support -flto).

Reply via email to