This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49857] Put constant switch-tables into flash
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 31 Jul 2017 08:34:38 +0000
- Subject: [Bug tree-optimization/49857] Put constant switch-tables into flash
- Auto-submitted: auto-generated
- References: <bug-49857-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49857
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #17 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Giving up on this. A working solution as patch series is here, so anyone can
pick it up.
http://gcc.gnu.org/ml/gcc-patches/2017-07/msg01804.html
http://gcc.gnu.org/ml/gcc-patches/2017-07/msg01808.html
http://gcc.gnu.org/ml/gcc-patches/2017-07/msg01810.html
Note that it only can be done for artificial data -- or you have to make sure
that the data is not accessed by inline asm by different means (and of course,
no pointers must escape, and a respective hook must not be called from within
the C++ front-end).
avr-part approval:
http://gcc.gnu.org/ml/gcc-patches/2017-07/msg01835.html
gcc-part rejection as "too specific":
http://gcc.gnu.org/ml/gcc-patches/2017-07/msg01879.html