This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35468] LHS of assignment can be folded to a constant causing ICE
- 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: 11 Aug 2008 01:02:09 -0000
- Subject: [Bug tree-optimization/35468] LHS of assignment can be folded to a constant causing ICE
- References: <bug-35468-15486@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from pinskia at gcc dot gnu dot org 2008-08-11 01:02 -------
This happens with the short testcase which does not need -fno-tree-dce and it
only needs -O0:
int main() {
*"c" = 'x';
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35468