[Bug lto/93772] ICE in cgraph.c with lto when symbol not defined

2020-02-16 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93772

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2020-02-17
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
See https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction on how to reduce the
sources down to something which you might be able to share with us.

[Bug lto/93772] ICE in cgraph.c with lto when symbol not defined

2020-02-16 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93772

--- Comment #2 from Daniel Santos  ---
(In reply to Andrew Pinski from comment #1)
> See https://gcc.gnu.org/wiki/A_guide_to_testcase_reduction on how to reduce
> the sources down to something which you might be able to share with us.

Hello Andrew.  I can give it a try, but up against time constraints at the
moment. :(  This looks like a nice guide btw!  I've been a bit of a stranger on
gcc lately.

Also this project has a mix of C and C++ sources, the later built as follows:

g++ -DHAVE_CONFIG_H -O2 -march=native -g3 -flto -std=gnu++11 -Wall -Wextra
-Wno-unused-parameter -Wno-ignored-qualifiers -MT my_file.o -MD -MP -MF
.deps/my_file.Tpo -c -o my_file.o my_file.cc