https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #10 from Jakub Jelinek ---
As for the other ICE, I'm still lost, I don't see similar bug to the above in
other functions that write summaries.
In output_symtab I see that all cgraph_nodes are streamed out, just those that
fail
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #9 from Jakub Jelinek ---
Instead of the #c6 patch, perhaps we want:
--- gcc/ipa-fnsummary.c.jj 2019-12-05 14:02:20.559570378 +0100
+++ gcc/ipa-fnsummary.c 2019-12-13 18:01:08.344828332 +0100
@@ -4364,24 +4364,24 @@ static void
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #8 from Jakub Jelinek ---
The ICE in determine_versionability is on:
3844if (node->has_gimple_body_p ()
3845&& opt_for_fn (node->decl, flag_ipa_cp)
3846&& opt_for_fn (node->decl, optimize))
3847
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #7 from Jakub Jelinek ---
Created attachment 47489
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47489=edit
gcc10-implicit-declare-target-to.patch
For reference, here is the implicit declare target to discovery, but done late
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #6 from Jakub Jelinek ---
I'll note that GCC doesn't yet implement the OpenMP 5.0 automatic declare
target for functions with definitions called from declare target functions or
target regions. I've tried to do that this summer, but
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #5 from Jakub Jelinek ---
Created attachment 47487
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47487=edit
pr92357.C
Further reduced.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #4 from Jakub Jelinek ---
Created attachment 47202
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47202=edit
pr92357.ii
Partially reduced testcase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #3 from Tom Scogland ---
Sorry about that, apparently the original was too large but I didn't get a
warning, now attached.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
--- Comment #2 from Tom Scogland ---
Created attachment 47172
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47172=edit
preprocessed source of test file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92357
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1
10 matches
Mail list logo