This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it
- From: "rguenth 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 Aug 2008 18:06:10 -0000
- Subject: [Bug tree-optimization/36881] [4.4 Regression] Creating runtime relocations for code which does not need it
- References: <bug-36881-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-08-09 18:06 -------
Well, the switch conversion pass should create a locally binding (and hidden)
object to store the values. If it does not then this certainly is a bug.
Though in this case it looks like it needs to build a table of addresses
of non-locally binding objects? This it shouldn't do by default either I
guess.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36881