Hi, I'm trying to make pass_fre work better for me. But I got a
problem. Like the code below:
int glob;
void __attribute__((oninline))
foo() {
// do nothing meaningful
}
int main() {
if (glob) {
foo();
} else {
// do something that won't change glob
}
if (glob) {
foo();
On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc wrote:
>
> Hi, I'm trying to make pass_fre work better for me. But I got a
> problem. Like the code below:
>
> int glob;
>
> void __attribute__((oninline))
> foo() {
> // do nothing meaningful
> }
>
> int main() {
> if (glob) {
> foo();
>
Richard Biener 于2023年10月20日周五 21:33写道:
>
> On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc wrote:
> >
> > Hi, I'm trying to make pass_fre work better for me. But I got a
> > problem. Like the code below:
> >
> > int glob;
> >
> > void __attribute__((oninline))
> > foo() {
> > // do nothing
> Am 20.10.2023 um 16:33 schrieb Hanke Zhang :
>
> Richard Biener 于2023年10月20日周五 21:33写道:
>>
>>> On Fri, Oct 20, 2023 at 1:48 PM Hanke Zhang via Gcc wrote:
>>>
>>> Hi, I'm trying to make pass_fre work better for me. But I got a
>>> problem. Like the code below:
>>>
>>> int glob;
>>>
>>>
Snapshot gcc-12-20231020 is now available on
https://gcc.gnu.org/pub/gcc/snapshots/12-20231020/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.
This snapshot has been generated from the GCC 12 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch