[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

Martin Liška  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Martin Liška  ---
Yes, it's fixed since g:051d8a5faa3b37b0.

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

--- Comment #9 from Dmitry G. Dyachenko  ---
Created attachment 47654
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47654&action=edit
pre-processed isl_fold.c

gcc_r277495
./contrib/download_prerequisites
~/src/gcc_r277485/configure --enable-checking=yes --enable-languages=c,c++
--disable-multilib --with-isl

make

[...]

libtool: compile:  /home/dimhen/build/./prev-gcc/xgcc
-B/home/dimhen/build/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/lib/
-isystem /usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I.
-I/home/dimhen/src/gcc_r277485/isl -I/home/dimhen/src/gcc_r277485/isl/include
-Iinclude/ -I/home/dimhen/src/gcc_r277485/gmp -I/home/dimhen/build/./gmp -g -O2
-fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c
/home/dimhen/src/gcc_r277485/isl/isl_fold.c -o isl_fold.o
during IPA pass: inline
/home/dimhen/src/gcc_r277485/isl/isl_fold.c:1777:1: internal compiler error: in
duplicate, at ipa-prop.c:3883
 1777 | }
  | ^
0xe820f8 ipa_edge_args_sum_t::duplicate(cgraph_edge*, cgraph_edge*,
ipa_edge_args*, ipa_edge_args*)
/home/dimhen/src/gcc_r277485/gcc/ipa-prop.c:3883
0xe8a7df call_summary::symtab_duplication(cgraph_edge*,
cgraph_edge*, void*)
/home/dimhen/src/gcc_r277485/gcc/symbol-summary.h:771
0xae6b11 symbol_table::call_edge_duplication_hooks(cgraph_edge*, cgraph_edge*)
/home/dimhen/src/gcc_r277485/gcc/cgraph.c:453
0xb04f3f cgraph_edge::clone(cgraph_node*, gcall*, unsigned int, profile_count,
profile_count, bool)
/home/dimhen/src/gcc_r277485/gcc/cgraphclones.c:141
0xb05f80 cgraph_node::create_clone(tree_node*, profile_count, bool,
vec, bool, cgraph_node*, ipa_param_adjustments*,
char const*)
/home/dimhen/src/gcc_r277485/gcc/cgraphclones.c:390
0x2060f11 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:217
0x2060fc6 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:236
0x2060fc6 clone_inlined_nodes(cgraph_edge*, bool, bool, int*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:236
0x2061c4b inline_call(cgraph_edge*, bool, vec*,
int*, bool, bool*)
/home/dimhen/src/gcc_r277485/gcc/ipa-inline-transform.c:479
0x2052e40 inline_small_functions
/home/dimhen/src/gcc_r277485/gcc/ipa-inline.c:2151
0x20548e9 ipa_inline
/home/dimhen/src/gcc_r277485/gcc/ipa-inline.c:2615
0x205578e execute
/home/dimhen/src/gcc_r277485/gcc/ipa-inline.c:3023
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.


/home/dimhen/build/./prev-gcc/xgcc -B/home/dimhen/build/./prev-gcc/
-B/usr/local/x86_64-pc-linux-gnu/bin/ -B/usr/local/x86_64-pc-linux-gnu/bin/
-B/usr/local/x86_64-pc-linux-gnu/lib/ -isystem
/usr/local/x86_64-pc-linux-gnu/include -isystem
/usr/local/x86_64-pc-linux-gnu/sys-include -fno-checking -DHAVE_CONFIG_H -I.
-I/home/dimhen/src/gcc_r277485/isl -I/home/dimhen/src/gcc_r277485/isl/include
-Iinclude/ -I/home/dimhen/src/gcc_r277485/gmp -I/home/dimhen/build/./gmp -g -O2
-fno-checking -gtoggle -MT isl_fold.lo -MD -MP -MF .deps/isl_fold.Tpo -c
/home/dimhen/src/gcc_r277485/isl/isl_fold.c -o isl_fold.i -E

/home/dimhen/build/./prev-gcc/xgcc -fpreprocessed
-B/home/dimhen/build/./prev-gcc/ -fno-checking -g -O2 -fno-checking -gtoggle -c
isl_fold.i

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

--- Comment #10 from Dmitry G. Dyachenko  ---
(In reply to Martin Liška from comment #6)
> @Dmitry: Can you please attach a pre-processed source file (-E option)?

done

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

Martin Jambor  changed:

   What|Removed |Added

 CC||jamborm at gcc dot gnu.org

--- Comment #8 from Martin Jambor  ---
(In reply to Dmitry G. Dyachenko from comment #7)
> (In reply to Martin Liška from comment #6)
> > @Dmitry: Can you please attach a pre-processed source file (-E option)?
> 
> @Martin: FAIL start for me during gcc bootstrap somewhere between r277460
> and r277485. bootstrap was restored for me at r277486.
> 

Well, that looks like you have bumped into
https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01920.html which was
fixed by exactly that commit.

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

--- Comment #7 from Dmitry G. Dyachenko  ---
(In reply to Martin Liška from comment #6)
> @Dmitry: Can you please attach a pre-processed source file (-E option)?

@Martin: FAIL start for me during gcc bootstrap somewhere between r277460 and
r277485. bootstrap was restored for me at r277486.

Fedora 31, x86_64

For reproduce you can try download gcc sources, run
contrib/download_prerequesites, run configure as c#1 and make.

I"ll download preprocessed file tomorrow.

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2020-01-14
 Ever confirmed|0   |1

--- Comment #6 from Martin Liška  ---
@Dmitry: Can you please attach a pre-processed source file (-E option)?

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2020-01-14 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

Jan Hubicka  changed:

   What|Removed |Added

 CC||mjambor at suse dot cz

--- Comment #5 from Jan Hubicka  ---
Adding Maritn to CC since it is his code.

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-28 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

--- Comment #4 from Dmitry G. Dyachenko  ---
(In reply to Richard Biener from comment #3)
> Happends during in-tree build of ISL.  Did you do the setup with
> ./contrib/download_prerequesites?

Yes, I setup with ./contrib/download_prerequesites

ICE fixed in r277486

[Bug ipa/92240] [10 regression] ICE in duplicate, at ipa-prop.c:3883

2019-10-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92240

Richard Biener  changed:

   What|Removed |Added

 CC||marxin at gcc dot gnu.org
  Component|bootstrap   |ipa
   Target Milestone|--- |10.0

--- Comment #3 from Richard Biener  ---
Happends during in-tree build of ISL.  Did you do the setup with
./contrib/download_prerequesites?