[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug c/12446] [3.3/3.4 regression] ICE in emit_move_insn on complicated array reference
From: "kst at cts dot com" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2003-09-30 17:43:55
[Download RAW message or body]
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12446
------- Additional Comments From kst at cts dot com 2003-09-30 17:43 -------
Further discussion on comp.std.c turned up C99 6.5.2.2p5, which says in part:
If an attempt is made to modify the result of a function call or to
access it after the next sequence point, the behavior is undefined.
So the value of ptr cannot be used after its initialization without
invoking undefined behavior. I suggest that this should result in
a warning.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic