public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/55383] New: -Wcast-qual reports incorrect message
@ 2012-11-18 19:21 gcc.hall at gmail dot com
  2012-11-18 21:15 ` [Bug c/55383] " manu at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: gcc.hall at gmail dot com @ 2012-11-18 19:21 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

             Bug #: 55383
           Summary: -Wcast-qual reports incorrect message
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gcc.hall@gmail.com


------------------------------------------------------
#include <string.h>
int
main( int argc, char *argv[] )
{
  volatile double val;
  memset( (void*)&val, 0, sizeof(double) );
}
---------------------------------------------------------

 gcc -Wcast-qual bug.c
bug.c: In function 'main':
bug.c:7:11: warning: cast discards '__attribute__((noreturn))' qualifier from
pointer target type [-Wcast-qual]

~/j/ge* gcc -v               
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.7.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --disable-build-with-cxx
--disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC)


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
@ 2012-11-18 21:15 ` manu at gcc dot gnu.org
  2013-06-08 12:54 ` gerald at pfeifer dot com
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2012-11-18 21:15 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-11-18
                 CC|                            |manu at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-11-18 21:15:09 UTC ---
Confirmed. The warning call is wrong:

c/c-typeck.c-4468-    /* There are qualifiers present in IN_OTYPE that are not
present
c/c-typeck.c-4469-       in IN_TYPE.  */
c/c-typeck.c-4470-    warning_at (loc, OPT_Wcast_qual,
c/c-typeck.c:4471:              "cast discards %q#v qualifier from pointer
target type",
c/c-typeck.c-4472-              discarded);
c/c-typeck.c-4473-
c/c-typeck.c-4474-  if (added || discarded)

It should use %qv for non-function types. Patch:


Index: c/c-typeck.c
===================================================================
--- c/c-typeck.c        (revision 192847)
+++ c/c-typeck.c        (working copy)
@@ -4466,11 +4466,11 @@ handle_warn_cast_qual (location_t loc, t

   if (discarded)
     /* There are qualifiers present in IN_OTYPE that are not present
        in IN_TYPE.  */
     warning_at (loc, OPT_Wcast_qual,
-               "cast discards %q#v qualifier from pointer target type",
+               "cast discards %qv qualifier from pointer target type",
                discarded);

   if (added || discarded)
     return;

Index: testsuite/c-c++-common/Wcast-qual-1.c
===================================================================
--- testsuite/c-c++-common/Wcast-qual-1.c       (revision 192847)
+++ testsuite/c-c++-common/Wcast-qual-1.c       (working copy)
@@ -83,15 +83,15 @@ f3 (void ***bar)
 }

 void
 f4 (void * const **bar)
 {
-  const void ***p9 = (const void ***) bar; /* { dg-warning "cast" } */
+  const void ***p9 = (const void ***) bar; /* { dg-warning "cast discards
.const. qualifier" } */
   void * const **p11 = (void * const **) bar;
-  void ** const *p13 = (void ** const *) bar; /* { dg-warning "cast" } */
+  void ** const *p13 = (void ** const *) bar; /* { dg-warning "cast discards
.const. qualifier" } */
   const void * const **p15 = (const void * const **) bar; /* { dg-warning
"cast" } */
-  const void ** const *p17 = (const void ** const *) bar; /* { dg-warning
"cast" } */
+  const void ** const *p17 = (const void ** const *) bar; /* { dg-warning
"cast discards .const. qualifier" } */
   void * const * const * p19 = (void * const * const *) bar;
   const void * const * const *p21 = (const void * const * const *) bar;
 }


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
  2012-11-18 21:15 ` [Bug c/55383] " manu at gcc dot gnu.org
@ 2013-06-08 12:54 ` gerald at pfeifer dot com
  2013-06-08 17:18 ` manu at gcc dot gnu.org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gerald at pfeifer dot com @ 2013-06-08 12:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #2 from Gerald Pfeifer <gerald at pfeifer dot com> ---
Hi Manuel, I also got pinged by a FreeBSD user of one of my ports
about this.

Somehow I cannot find your patch submission on gcc-patches -- is it
possible you haven't submitted it there yet?  Will you be doing that,
or is it fine if I do?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
  2012-11-18 21:15 ` [Bug c/55383] " manu at gcc dot gnu.org
  2013-06-08 12:54 ` gerald at pfeifer dot com
@ 2013-06-08 17:18 ` manu at gcc dot gnu.org
  2014-03-10 10:43 ` magnus.reftel at gmail dot com
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2013-06-08 17:18 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Gerald Pfeifer from comment #2)
> Somehow I cannot find your patch submission on gcc-patches -- is it
> possible you haven't submitted it there yet?  Will you be doing that,
> or is it fine if I do?

I don't remember what happened with this patch. Please feel free to adopt it if
it works. Thanks for taking care of it.
>From gcc-bugs-return-424036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Jun 08 17:20:09 2013
Return-Path: <gcc-bugs-return-424036-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29799 invoked by alias); 8 Jun 2013 17:20:09 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29752 invoked by uid 48); 8 Jun 2013 17:20:04 -0000
From: "izamyatin at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/57468] [4.9 Regression] 26% performance drop on important benchmark after r199298.
Date: Sat, 08 Jun 2013 17:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: izamyatin at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-57468-4-nC8RX9mbFy@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57468-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57468-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg00415.txt.bz2
Content-length: 593

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW468

--- Comment #4 from Igor Zamyatin <izamyatin at gmail dot com> ---
So following commit fixed the issue

commit 3620f4de1b49b0bfffe5f812b2d259e5c72c5c61
Author: vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Jun 6 21:12:06 2013 +0000

    2013-06-06  Vladimir Makarov  <vmakarov@redhat.com>

        PR rtl-optimization/57468
        * config/i386/i386.c (inline_secondary_memory_needed): Ignore
        spilled pseudos.



    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199764
138bc75d-0d04-0410-961f-82ee72b054a4


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (2 preceding siblings ...)
  2013-06-08 17:18 ` manu at gcc dot gnu.org
@ 2014-03-10 10:43 ` magnus.reftel at gmail dot com
  2014-03-10 10:52 ` manu at gcc dot gnu.org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: magnus.reftel at gmail dot com @ 2014-03-10 10:43 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

Magnus Reftel <magnus.reftel at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |magnus.reftel at gmail dot com

--- Comment #4 from Magnus Reftel <magnus.reftel at gmail dot com> ---
Also affects 4.6, 4.8 and trunk as of version
96c7d4b1727c5f9ddcbb02fb69f727a0f2f3572e. 4.4 correctly prints just "error:
cast discards qualifiers from pointer target type". Did not check with version
4.5.

Since 4.4 had it right, does this count as a 4.6/4.7/4.8/4.9 regression?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (3 preceding siblings ...)
  2014-03-10 10:43 ` magnus.reftel at gmail dot com
@ 2014-03-10 10:52 ` manu at gcc dot gnu.org
  2014-03-10 11:06 ` manu at gcc dot gnu.org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2014-03-10 10:52 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Magnus Reftel from comment #4)
> Also affects 4.6, 4.8 and trunk as of version
> 96c7d4b1727c5f9ddcbb02fb69f727a0f2f3572e. 4.4 correctly prints just "error:
> cast discards qualifiers from pointer target type". Did not check with
> version 4.5.
> 
> Since 4.4 had it right, does this count as a 4.6/4.7/4.8/4.9 regression?

This just needs someone willing to test the patch in comment #1 and submit it.
It is such a trivial patch that I cannot claim any authorship, so please adopt
it and get it fixed. If you are fast enough, you may be able to sneak it in GCC
4.9. (The time it took you to do all those tests would have been better spent
fixing the bug.)
>From gcc-bugs-return-445889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 10 10:54:10 2014
Return-Path: <gcc-bugs-return-445889-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 3336 invoked by alias); 10 Mar 2014 10:54:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 3298 invoked by uid 48); 10 Mar 2014 10:54:07 -0000
From: "magnus.reftel at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/55383] -Wcast-qual reports incorrect message
Date: Mon, 10 Mar 2014 10:54:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords: diagnostic
X-Bugzilla-Severity: normal
X-Bugzilla-Who: magnus.reftel at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-55383-4-qCQB4oAlwj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg00758.txt.bz2
Content-length: 195

http://gcc.gnu.org/bugzilla/show_bug.cgi?idU383

--- Comment #6 from Magnus Reftel <magnus.reftel at gmail dot com> ---
Sorry, I'm not a GCC developer - just another user aflicted by the bug.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (4 preceding siblings ...)
  2014-03-10 10:52 ` manu at gcc dot gnu.org
@ 2014-03-10 11:06 ` manu at gcc dot gnu.org
  2014-03-10 15:35 ` gerald at pfeifer dot com
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2014-03-10 11:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Magnus Reftel from comment #6)
> Sorry, I'm not a GCC developer - just another user aflicted by the bug.

Everybody can be a GCC developer. You don't need special powers, just some free
time and willing to be. For such a small patch, you don't need any copyright
assignment. Just check out svn trunk, set up a bootstrap, test without the
patch, apply the patch, bootstrap and test with the patch and compare the
results. (Check the gccfarming script here:
http://gcc.gnu.org/wiki/ManuelL%C3%B3pezIb%C3%A1%C3%B1ez for all the details).

If the patch does not produce any new FAILs in the testsuite, submit to
gcc-patches with a changelog and ask the reviewer to commit it once accepted.

(You don't even need a powerful computer to do all this, just get an account on
the compile farm: http://gcc.gnu.org/wiki/CompileFarm )
>From gcc-bugs-return-445894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Mar 10 11:27:05 2014
Return-Path: <gcc-bugs-return-445894-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29722 invoked by alias); 10 Mar 2014 11:27:04 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 29666 invoked by uid 48); 10 Mar 2014 11:27:00 -0000
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/60429] [4.7/4.8/4.9 Regression] Miscompilation (aliasing) with -finline-functions
Date: Mon, 10 Mar 2014 11:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords: wrong-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: trippels at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60429-4-L4IRO0IWaV@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60429-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60429-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg00763.txt.bz2
Content-length: 212

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`429

--- Comment #19 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Yes, looks like the reduced testcase is invalid and contains a few
buffer overflows.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (5 preceding siblings ...)
  2014-03-10 11:06 ` manu at gcc dot gnu.org
@ 2014-03-10 15:35 ` gerald at pfeifer dot com
  2014-03-11  6:54 ` magnus.reftel at gmail dot com
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: gerald at pfeifer dot com @ 2014-03-10 15:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

Gerald Pfeifer <gerald at pfeifer dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #8 from Gerald Pfeifer <gerald at pfeifer dot com> ---
I'll see what I can do.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (6 preceding siblings ...)
  2014-03-10 15:35 ` gerald at pfeifer dot com
@ 2014-03-11  6:54 ` magnus.reftel at gmail dot com
  2014-03-11  7:00 ` magnus.reftel at gmail dot com
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: magnus.reftel at gmail dot com @ 2014-03-11  6:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #9 from Magnus Reftel <magnus.reftel at gmail dot com> ---
Created attachment 32331
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32331&action=edit
Patch from comment #1, updated to apply on trunk


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (7 preceding siblings ...)
  2014-03-11  6:54 ` magnus.reftel at gmail dot com
@ 2014-03-11  7:00 ` magnus.reftel at gmail dot com
  2014-03-11 12:48 ` magnus.reftel at gmail dot com
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: magnus.reftel at gmail dot com @ 2014-03-11  7:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #10 from Magnus Reftel <magnus.reftel at gmail dot com> ---
Applied Manuel López-Ibáñez's patch on top of trunk and tested Jeremy's
testcase. Without the patch, the error message says that
"__attribute__((noreturn))" is being cast away. With the patch, the error
message says that "volatile" is being cast away. Running "make check" to see if
there were any regressions.
>From gcc-bugs-return-445999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 11 07:07:47 2014
Return-Path: <gcc-bugs-return-445999-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 28795 invoked by alias); 11 Mar 2014 07:07:46 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 28726 invoked by uid 48); 11 Mar 2014 07:07:40 -0000
From: "glisse at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/60497] unique_ptr<T> tries to complete its type T even though it's not required to be a complete type
Date: Tue, 11 Mar 2014 07:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: glisse at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on component everconfirmed
Message-ID: <bug-60497-4-5FuQq2DI1I@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60497-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60497-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg00868.txt.bz2
Content-length: 857

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`497

Marc Glisse <glisse at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-11
          Component|c++                         |libstdc++
     Ever confirmed|0                           |1

--- Comment #1 from Marc Glisse <glisse at gcc dot gnu.org> ---
Whether it is required or not, qualifying the call to __get_helper is easy
enough (it may even be slightly faster to compile), it seems worth doing.

Now the question would be: are there similar statements throughout the library
that could benefit from the same treatment, or is this a special case?

Thanks for the detailed analysis.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (8 preceding siblings ...)
  2014-03-11  7:00 ` magnus.reftel at gmail dot com
@ 2014-03-11 12:48 ` magnus.reftel at gmail dot com
  2014-03-18  7:59 ` magnus.reftel at gmail dot com
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: magnus.reftel at gmail dot com @ 2014-03-11 12:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #11 from Magnus Reftel <magnus.reftel at gmail dot com> ---
No regressions seen. Sent en email with the patch to gcc-patches as requested (
http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00517.html ).


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (9 preceding siblings ...)
  2014-03-11 12:48 ` magnus.reftel at gmail dot com
@ 2014-03-18  7:59 ` magnus.reftel at gmail dot com
  2014-03-18 12:48 ` manu at gcc dot gnu.org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: magnus.reftel at gmail dot com @ 2014-03-18  7:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #12 from Magnus Reftel <magnus.reftel at gmail dot com> ---
Any suggestions on how to progress with this one?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (10 preceding siblings ...)
  2014-03-18  7:59 ` magnus.reftel at gmail dot com
@ 2014-03-18 12:48 ` manu at gcc dot gnu.org
  2014-03-18 19:59 ` manu at gcc dot gnu.org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2014-03-18 12:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #13 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Magnus Reftel from comment #12)
> Any suggestions on how to progress with this one?

Looking at the testcases modified by the patch, I don't know why there is no
test for volatile (which is what triggers this bug). I will take a look at the
output of the testsuite this weekend. It is probable that there is a testcase
for this, but the test matching text is not precise enough. Once I check this,
I will commit the patch since it was approved by Joseph here:

http://gcc.gnu.org/ml/gcc-patches/2014-03/msg00532.html
>From gcc-bugs-return-446699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 18 13:01:00 2014
Return-Path: <gcc-bugs-return-446699-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27234 invoked by alias); 18 Mar 2014 13:01:00 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27194 invoked by uid 48); 18 Mar 2014 13:00:57 -0000
From: "raghupv30 at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/60459] Crash seen in _Unwind_VRS_Pop() for ARM platform
Date: Tue, 18 Mar 2014 13:01:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: critical
X-Bugzilla-Who: raghupv30 at gmail dot com
X-Bugzilla-Status: WAITING
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_severity
Message-ID: <bug-60459-4-XUjn8CKR4B@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60459-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60459-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg01568.txt.bz2
Content-length: 287

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`459

Raghu <raghupv30 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (11 preceding siblings ...)
  2014-03-18 12:48 ` manu at gcc dot gnu.org
@ 2014-03-18 19:59 ` manu at gcc dot gnu.org
  2014-03-18 20:06 ` manu at gcc dot gnu.org
  2014-03-18 23:21 ` manu at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2014-03-18 19:59 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #14 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Author: manu
Date: Tue Mar 18 19:58:39 2014
New Revision: 208661

URL: http://gcc.gnu.org/viewcvs?rev=208661&root=gcc&view=rev
Log:
2014-03-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>

    PR c/55383
c/
    * c-typeck.c: Use correct format string in cast-qual warning
testsuite/
    * c-c++-common/Wcast-qual-1.c: More precise match text.

Modified:
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-typeck.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/Wcast-qual-1.c
>From gcc-bugs-return-446767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 18 20:00:35 2014
Return-Path: <gcc-bugs-return-446767-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2940 invoked by alias); 18 Mar 2014 20:00:34 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 2855 invoked by uid 55); 18 Mar 2014 20:00:29 -0000
From: "rth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/60562] [4.9 Regression] FAIL: gcc.target/i386/excess-precision-3.c execution test after r208587
Date: Tue, 18 Mar 2014 20:00:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-60562-4-DkrdGyN4n6@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60562-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60562-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg01636.txt.bz2
Content-length: 484

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`562

--- Comment #5 from Richard Henderson <rth at gcc dot gnu.org> ---
Author: rth
Date: Tue Mar 18 19:59:54 2014
New Revision: 208662

URL: http://gcc.gnu.org/viewcvs?rev 8662&root=gcc&view=rev
Log:
PR target/60562

        * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to
        be shadowed by *float<SWI48><MODEF>2_sse.  Test X87_ENABLE_FLOAT.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (12 preceding siblings ...)
  2014-03-18 19:59 ` manu at gcc dot gnu.org
@ 2014-03-18 20:06 ` manu at gcc dot gnu.org
  2014-03-18 23:21 ` manu at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2014-03-18 20:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #15 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Of course, the bug affects all qualifiers, not just volatile, so the updated
testcase would be enough to catch this in case we regress. So I went ahead and
committed the patch. This will be fixed in GCC 4.9. For earlier versions,
you'll have to ask Jakub or Joseph in the mailing list about backporting the
patch, since it is not technically a regression but it is a trivial fix. Unless
someone steps up to take care of backporting, I'd consider this FIXED.

Thanks Magnus for following up on this. I know some other bugs with patches in
case you are interested (and plenty of trivial bugs without a patch!).
>From gcc-bugs-return-446770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 18 20:07:13 2014
Return-Path: <gcc-bugs-return-446770-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 10515 invoked by alias); 18 Mar 2014 20:07:13 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 10457 invoked by uid 55); 18 Mar 2014 20:07:09 -0000
From: "ktietz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/56356] [4.7/4.8/4.9 Regression] DJGPP compiler crashing
Date: Tue, 18 Mar 2014 20:07:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: rtl-optimization
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ktietz at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-56356-4-l3txTk2v3h@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56356-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56356-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg01639.txt.bz2
Content-length: 489

http://gcc.gnu.org/bugzilla/show_bug.cgi?idV356

--- Comment #6 from Kai Tietz <ktietz at gcc dot gnu.org> ---
Author: ktietz
Date: Tue Mar 18 20:06:37 2014
New Revision: 208664

URL: http://gcc.gnu.org/viewcvs?rev 8664&root=gcc&view=rev
Log:
    PR rtl-optimization/56356
    * sdbout.c (sdbout_parms): Verify that parms'
    incoming argument is valid.
    (sdbout_reg_parms): Likewise.


Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/sdbout.c


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c/55383] -Wcast-qual reports incorrect message
  2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
                   ` (13 preceding siblings ...)
  2014-03-18 20:06 ` manu at gcc dot gnu.org
@ 2014-03-18 23:21 ` manu at gcc dot gnu.org
  14 siblings, 0 replies; 16+ messages in thread
From: manu at gcc dot gnu.org @ 2014-03-18 23:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #16 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
It seems the patch was not tested in C++:

Tests that now fail, but worked before:

unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++11  (test for warnings, line
88)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++11  (test for warnings, line
92)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++11 (test for excess errors)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++1y  (test for warnings, line
88)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++1y  (test for warnings, line
92)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++1y (test for excess errors)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++98  (test for warnings, line
88)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++98  (test for warnings, line
92)
unix//-m32: c-c++-common/Wcast-qual-1.c -std=gnu++98 (test for excess errors)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++11  (test for warnings, line
88)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++11  (test for warnings, line
92)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++11 (test for excess errors)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++1y  (test for warnings, line
88)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++1y  (test for warnings, line
92)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++1y (test for excess errors)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++98  (test for warnings, line
88)
unix//-m64: c-c++-common/Wcast-qual-1.c -std=gnu++98  (test for warnings, line
92)

I guess my patch should have not touched an already existing testcase but
instead add a new one for C only.
>From gcc-bugs-return-446798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 18 23:22:39 2014
Return-Path: <gcc-bugs-return-446798-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7456 invoked by alias); 18 Mar 2014 23:22:39 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7423 invoked by uid 55); 18 Mar 2014 23:22:35 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/55383] -Wcast-qual reports incorrect message
Date: Tue, 18 Mar 2014 23:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.7.2
X-Bugzilla-Keywords: diagnostic, patch
X-Bugzilla-Severity: normal
X-Bugzilla-Who: manu at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: gerald at pfeifer dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-55383-4-PJZHeNCv58@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55383-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55383-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg01667.txt.bz2
Content-length: 687

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55383

--- Comment #17 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Author: manu
Date: Tue Mar 18 23:22:02 2014
New Revision: 208669

URL: http://gcc.gnu.org/viewcvs?rev=208669&root=gcc&view=rev
Log:
2014-03-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>

    PR c/55383
    * gcc.dg/cast-qual-3.c: New.
    Revert:
    2014-03-18  Manuel López-Ibáñez  <manu@gcc.gnu.org>
    * c-c++-common/Wcast-qual-1.c: More precise match text.

Added:
    trunk/gcc/testsuite/gcc.dg/cast-qual-3.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/c-c++-common/Wcast-qual-1.c
>From gcc-bugs-return-446799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Mar 19 00:19:51 2014
Return-Path: <gcc-bugs-return-446799-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8577 invoked by alias); 19 Mar 2014 00:19:50 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8552 invoked by uid 48); 19 Mar 2014 00:19:46 -0000
From: "abutcher at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60573] [c++1y] ICE with defining generic function of nested class in class scope
Date: Wed, 19 Mar 2014 00:19:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords: ice-on-invalid-code
X-Bugzilla-Severity: normal
X-Bugzilla-Who: abutcher at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: abutcher at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-60573-4-yzyst1wHCQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60573-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60573-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-03/txt/msg01668.txt.bz2
Content-length: 540

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`573

Adam Butcher <abutcher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-03-19
           Assignee|unassigned at gcc dot gnu.org      |abutcher at gcc dot gnu.org
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-03-18 23:21 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-18 19:21 [Bug c/55383] New: -Wcast-qual reports incorrect message gcc.hall at gmail dot com
2012-11-18 21:15 ` [Bug c/55383] " manu at gcc dot gnu.org
2013-06-08 12:54 ` gerald at pfeifer dot com
2013-06-08 17:18 ` manu at gcc dot gnu.org
2014-03-10 10:43 ` magnus.reftel at gmail dot com
2014-03-10 10:52 ` manu at gcc dot gnu.org
2014-03-10 11:06 ` manu at gcc dot gnu.org
2014-03-10 15:35 ` gerald at pfeifer dot com
2014-03-11  6:54 ` magnus.reftel at gmail dot com
2014-03-11  7:00 ` magnus.reftel at gmail dot com
2014-03-11 12:48 ` magnus.reftel at gmail dot com
2014-03-18  7:59 ` magnus.reftel at gmail dot com
2014-03-18 12:48 ` manu at gcc dot gnu.org
2014-03-18 19:59 ` manu at gcc dot gnu.org
2014-03-18 20:06 ` manu at gcc dot gnu.org
2014-03-18 23:21 ` manu at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).