This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34161] -Os produces 32-bit load from 16-bit variable
- From: "vegard dot nossum at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Feb 2008 09:23:38 -0000
- Subject: [Bug target/34161] -Os produces 32-bit load from 16-bit variable
- References: <bug-34161-14028@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from vegard dot nossum at gmail dot com 2008-02-05 09:23 -------
Is there a work-around, i.e. a command-line flag that turns _this particular_
kind of optimization off (without turning off all optimizations)? It seems that
the behaviour is found in -O1 and -O2 as well, in certain cases.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34161