This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/12395] Suboptimal code with global variables
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2003 22:26:46 -0000
- Subject: [Bug optimization/12395] Suboptimal code with global variables
- References: <20030924231750.12395.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12395
------- Additional Comments From bangerth at dealii dot org 2003-09-25 22:26 -------
Thanks, makes sense. I tried myself, but using a function-local
variable was no good since it could be optimized away. Didn't
think of a function parameter, though.
Thanks for clarifying this
W.