[Bug lto/58251] -flto causes ICE lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706

octoploid at yandex dot com gcc-bugzilla@gcc.gnu.org
Fri Dec 6 17:21:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58251

--- Comment #10 from Markus Trippelsdorf <octoploid at yandex dot com> ---
(In reply to David Kredba from comment #8)
> Going to attach ii file gzipped.
> 
> What can I do next please?

You can now further reduce the single testfile by following the 
"Simple ICE reduction" section in the document I've linked to above.

First try to minimize the gcc command line options that you use.
Then write a simple test script, e.g.:

 $ cat chech.sh
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -ggdb -flto -r -nostdlib -Wfatal-errors
test.ii -o /dev/null  2>&1  | grep 'internal compiler error: in
splice_child_die'
  if ! test $? = 0; then
    exit 1
  fi

and run delta, multidelta or Creduce with it.



More information about the Gcc-bugs mailing list