From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31071 invoked by alias); 3 Feb 2003 02:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31057 invoked by uid 71); 3 Feb 2003 02:36:01 -0000 Date: Mon, 03 Feb 2003 02:36:00 -0000 Message-ID: <20030203023601.31056.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Agthorr Subject: Re: c/9072: -Wconversion should be split into two distinct flags Reply-To: Agthorr X-SW-Source: 2003-02/txt/msg00080.txt.bz2 List-Id: The following reply was made to PR c/9072; it has been noted by GNATS. From: Agthorr To: Segher Boessenkool Cc: "Joseph S. Myers" , bangerth@dealii.org, 128950@bugs.debian.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c/9072: -Wconversion should be split into two distinct flags Date: Sun, 2 Feb 2003 18:34:44 -0800 On Mon, Feb 03, 2003 at 02:57:26AM +0100, Segher Boessenkool wrote: > I didn't intend for it to be reviewed; I just asked if this was > the kind of thing that was asked for. Writing a good patch for > this was far more work (esp. writing a testcase that covers > all cases). I have one in the works but as there was not > much interest I dropped it on the floor. If anyone still wants > it, better speak up. Hello, I'm the person who originally filed this bug. Your patch does indeed seem to do what I want, and I would love to see it (or something similar) in a future version of gcc. I agree that passing a parameter to a function should be considered an assignment for -Wconversion purposes. I also agree with Joseph Myers' statement that -Wconversion should "warn for any implicit conversion that may change a value". > True. But no consensus was reached on whether this was a good idea > at all. As this is mostly tedious, non-fun work and I don't get > paid a dime to do it, and no-one cheered me on, it wasn't a priority > work for me (and I forgot about it, really). CHEER! CHEER! I apologize for not responding sooner. I'm a graduate student and have been ill on-and-off since mid-December. This does not make for free time for responding to email :) I realize that this is not a high-priority issue, but I do appreciate any effort that goes into making -Wconversion more useful. -- Agthorr