public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/aoliva/heads/strub)] copy same_comdat_group from wrapper
@ 2021-07-25 0:46 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2021-07-25 0:46 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6ff9ec4b7fe88daf1721fcdd79e23e6b45ed0e71
commit 6ff9ec4b7fe88daf1721fcdd79e23e6b45ed0e71
Author: Alexandre Oliva <oliva@adacore.com>
Date: Sat Jul 24 06:40:35 2021 -0300
copy same_comdat_group from wrapper
Diff:
---
gcc/ipa-strub.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/ipa-strub.c b/gcc/ipa-strub.c
index f8bd28136b6..4fd67772761 100644
--- a/gcc/ipa-strub.c
+++ b/gcc/ipa-strub.c
@@ -1666,6 +1666,8 @@ pass_ipa_strub::execute (function *)
}
onode->split_part = true;
+ if (onode->calls_comdat_local)
+ nnode->add_to_same_comdat_group (onode);
gcc_checking_assert (!DECL_STRUCT_FUNCTION (nnode->decl)->stdarg);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] copy same_comdat_group from wrapper
@ 2021-07-24 23:57 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2021-07-24 23:57 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:74b9d14544ab3a91a7ae2af5c52b660d4fda7501
commit 74b9d14544ab3a91a7ae2af5c52b660d4fda7501
Author: Alexandre Oliva <oliva@adacore.com>
Date: Sat Jul 24 06:40:35 2021 -0300
copy same_comdat_group from wrapper
Diff:
---
gcc/ipa-strub.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/ipa-strub.c b/gcc/ipa-strub.c
index f8bd28136b6..181fefeed22 100644
--- a/gcc/ipa-strub.c
+++ b/gcc/ipa-strub.c
@@ -1666,6 +1666,8 @@ pass_ipa_strub::execute (function *)
}
onode->split_part = true;
+ if (nnode->calls_comdat_local)
+ nnode->add_to_same_comdat_group (onode);
gcc_checking_assert (!DECL_STRUCT_FUNCTION (nnode->decl)->stdarg);
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gcc(refs/users/aoliva/heads/strub)] copy same_comdat_group from wrapper
@ 2021-07-24 9:41 Alexandre Oliva
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2021-07-24 9:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c79c122bcdc8bbc612fad8537e887d09bdcf02ab
commit c79c122bcdc8bbc612fad8537e887d09bdcf02ab
Author: Alexandre Oliva <oliva@adacore.com>
Date: Sat Jul 24 06:40:35 2021 -0300
copy same_comdat_group from wrapper
Diff:
---
gcc/ipa-strub.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/ipa-strub.c b/gcc/ipa-strub.c
index f8bd28136b6..9721894afd8 100644
--- a/gcc/ipa-strub.c
+++ b/gcc/ipa-strub.c
@@ -1666,6 +1666,8 @@ pass_ipa_strub::execute (function *)
}
onode->split_part = true;
+ if (nnode->calls_comdat_local)
+ nnode->same_comdat_group = onode->same_comdat_group;
gcc_checking_assert (!DECL_STRUCT_FUNCTION (nnode->decl)->stdarg);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-25 0:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-25 0:46 [gcc(refs/users/aoliva/heads/strub)] copy same_comdat_group from wrapper Alexandre Oliva
-- strict thread matches above, loose matches on Subject: below --
2021-07-24 23:57 Alexandre Oliva
2021-07-24 9:41 Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).