[Bug c/31072] [4.2 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 02:50:00 GMT 2007
------- Comment #12 from pinskia at gcc dot gnu dot org 2007-03-09 02:50 -------
Subject: Bug 31072
Author: pinskia
Date: Fri Mar 9 02:50:22 2007
New Revision: 122739
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122739
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:
branches/gcc-4_2-branch/gcc/testsuite/gcc.c-torture/execute/pr31072.c
- copied unchanged from r122736,
trunk/gcc/testsuite/gcc.c-torture/execute/pr31072.c
Modified:
branches/gcc-4_2-branch/gcc/ChangeLog
branches/gcc-4_2-branch/gcc/c-decl.c
branches/gcc-4_2-branch/gcc/output.h
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/varasm.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31072
More information about the Gcc-bugs
mailing list