From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10477 invoked by alias); 18 Oct 2004 22:35:03 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10470 invoked by uid 48); 18 Oct 2004 22:35:02 -0000 Date: Mon, 18 Oct 2004 22:35:00 -0000 Message-ID: <20041018223502.10469.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041018215708.18050.mitr@volny.cz> References: <20041018215708.18050.mitr@volny.cz> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/18050] -Wsequence-point reports false positives X-Bugzilla-Reason: CC X-SW-Source: 2004-10/txt/msg02452.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-18 22:35 ------- We cannot just ignore ADDR_EXPR outright though (this is undefined): struct x { int i; }; void g(struct x*, int *); void f(struct x *y) { g(y++, &y->i); } I think I have a fix will test the fix. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18050