[Bug c/31072] [4.2/4.3 Rgression] Wrong code for volatile var with initalization and optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 9 00:32:00 GMT 2007



------- Comment #9 from pinskia at gcc dot gnu dot org  2007-03-09 00:32 -------
Subject: Bug 31072

Author: pinskia
Date: Fri Mar  9 00:32:34 2007
New Revision: 122736

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122736
Log:
2007-03-08  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C/31072
        * c-decl.c (merge_decls): Don't call make_var_volatile.
        * varasm.c (make_var_volatile): Remove.
        * output.h (make_var_volatile): Remove.

2007-03-08  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        PR C/31072
        * gcc.c-torture/execute/pr31072.c: New test.



Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr31072.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-decl.c
    trunk/gcc/output.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31072



More information about the Gcc-bugs mailing list