This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31072] [4.2/4.3 Rgression] Wrong code for volatile var with initalization and optimization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2007 00:32:44 -0000
- Subject: [Bug c/31072] [4.2/4.3 Rgression] Wrong code for volatile var with initalization and optimization
- References: <bug-31072-9614@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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