https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36550

rootkit85 at yahoo dot it <rootkit85 at yahoo dot it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rootkit85 at yahoo dot it

--- Comment #13 from rootkit85 at yahoo dot it <rootkit85 at yahoo dot it> ---
can it be the same as this bug I'm experimenting?

/*********************************************/
/*
 * compile with:
 * gcc -Wall -Werror -Os -c test.c -o test.o
 */

int a;
int b;

void warn_func(int cond1, int cond2)
{
        int warn;

        if (cond2)
                warn = a;

        if (cond1)
                b = 1;

        if (cond2)
                a = warn;
}
/*********************************************/

I can reproduceit only with -Os, and it makes libgo compilation fail because of
this:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libgo/runtime/mprof.goc#l403

Reply via email to