public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/67569] New: erroneous compiler error message
@ 2015-09-14  9:38 ka_bena at yahoo dot fr
  2015-09-14 12:27 ` [Bug c/67569] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ka_bena at yahoo dot fr @ 2015-09-14  9:38 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

            Bug ID: 67569
           Summary: erroneous compiler error message
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ka_bena at yahoo dot fr
  Target Milestone: ---

/* Erroneous compiler error message */

 int main(void)
{
   int   *A = (int *)533 ;
   float  F = 1.F        ;
   A - F                 ;   
   return 0             ;
}

/*
   Results:
   In function 'main':
   main_comp_err_msg.c:6:5: 
   erreur: invalid operands to binary - (have 'int *' and 'long double')
       A-F;
         ^
   Note:
   The variable F is not of type long double.        

   Microsoft Windows XP Profesional version2002 Service Pack 3.
   Gcc 4.8.0 win32 mingw32 -std=C99 

*/


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

* [Bug c/67569] erroneous compiler error message
  2015-09-14  9:38 [Bug c/67569] New: erroneous compiler error message ka_bena at yahoo dot fr
@ 2015-09-14 12:27 ` pinskia at gcc dot gnu.org
  2015-09-14 13:01 ` [Bug c/67569] wrong type in " manu at gcc dot gnu.org
  2015-09-14 13:27 ` ka_bena at yahoo dot fr
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-09-14 12:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WORKSFORME                  |---

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually this might be reproducible with -m32 on x86_64. The issue is related
to the fix for exessive precision.


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

* [Bug c/67569] wrong type in error message
  2015-09-14  9:38 [Bug c/67569] New: erroneous compiler error message ka_bena at yahoo dot fr
  2015-09-14 12:27 ` [Bug c/67569] " pinskia at gcc dot gnu.org
@ 2015-09-14 13:01 ` manu at gcc dot gnu.org
  2015-09-14 13:27 ` ka_bena at yahoo dot fr
  2 siblings, 0 replies; 4+ messages in thread
From: manu at gcc dot gnu.org @ 2015-09-14 13:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-09-14
                 CC|                            |manu at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> Actually this might be reproducible with -m32 on x86_64. The issue is
> related to the fix for exessive precision.

Yes, it is. With 6.0, cc1 -m32 -std=c99 on x86_64-linux-gnu.
>From gcc-bugs-return-497182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Sep 14 13:05:58 2015
Return-Path: <gcc-bugs-return-497182-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 45263 invoked by alias); 14 Sep 2015 13:05:58 -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 45152 invoked by uid 48); 14 Sep 2015 13:05:53 -0000
From: "kkojima at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/55212] [SH] Switch to LRA
Date: Mon, 14 Sep 2015 13:05: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: unknown
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: kkojima at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-55212-4-VhBnVVEknz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-55212-4@http.gcc.gnu.org/bugzilla/>
References: <bug-55212-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: 2015-09/txt/msg01160.txt.bz2
Content-length: 298

https://gcc.gnu.org/bugzilla/show_bug.cgi?idU212

--- Comment #111 from Kazumoto Kojima <kkojima at gcc dot gnu.org> ---
(In reply to Kazumoto Kojima from comment #110)

It seems that those failures are the latent wrong code problem
triggered with -mlra accidentally.  I've filed it as PR67573.


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

* [Bug c/67569] wrong type in error message
  2015-09-14  9:38 [Bug c/67569] New: erroneous compiler error message ka_bena at yahoo dot fr
  2015-09-14 12:27 ` [Bug c/67569] " pinskia at gcc dot gnu.org
  2015-09-14 13:01 ` [Bug c/67569] wrong type in " manu at gcc dot gnu.org
@ 2015-09-14 13:27 ` ka_bena at yahoo dot fr
  2 siblings, 0 replies; 4+ messages in thread
From: ka_bena at yahoo dot fr @ 2015-09-14 13:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

--- Comment #4 from BENAÏSSA <ka_bena at yahoo dot fr> ---
Thank you for your replty.     A.Benaïssa



     Le Lundi 14 septembre 2015 11h22, mpolacek at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> a écrit :


 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
            Status|UNCONFIRMED                |RESOLVED
                CC|                            |mpolacek at gcc dot gnu.org
        Resolution|---                        |WORKSFORME

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Can't reproduce:

h1.c: In function ‘main’:
h1.c:5:6: error: invalid operands to binary - (have ‘int *’ and ‘float’)

Also, gcc 4.8 is not supported anymore.
>From gcc-bugs-return-497187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Sep 14 13:29:22 2015
Return-Path: <gcc-bugs-return-497187-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 114365 invoked by alias); 14 Sep 2015 13:29:22 -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 114314 invoked by uid 55); 14 Sep 2015 13:29:19 -0000
From: "ka_bena at yahoo dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/67569] wrong type in error message
Date: Mon, 14 Sep 2015 13:29: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.8.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ka_bena at yahoo dot fr
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
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-67569-4-mRW8gThRJC@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67569-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67569-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: 2015-09/txt/msg01165.txt.bz2
Content-length: 1061

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

--- Comment #5 from BENAÏSSA <ka_bena at yahoo dot fr> ---
Thank you.          A.Benaïssa



     Le Lundi 14 septembre 2015 13h27, pinskia at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> a écrit :


 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67569

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

          What    |Removed                    |Added
----------------------------------------------------------------------------
            Status|RESOLVED                    |UNCONFIRMED
        Resolution|WORKSFORME                  |---

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Actually this might be reproducible with -m32 on x86_64. The issue is related
to the fix for exessive precision.
>From gcc-bugs-return-497186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Sep 14 13:29:13 2015
Return-Path: <gcc-bugs-return-497186-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 113657 invoked by alias); 14 Sep 2015 13:29:12 -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 113611 invoked by uid 48); 14 Sep 2015 13:29:09 -0000
From: "fweimer at redhat dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/65142] std::random_device Ignores Read Return Code
Date: Mon, 14 Sep 2015 13:29: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: fweimer at redhat dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-65142-4-w5wKf16XsT@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65142-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65142-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: 2015-09/txt/msg01164.txt.bz2
Content-length: 419

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide142

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
This has been assigned CVE-2015-5276.


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

end of thread, other threads:[~2015-09-14 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-14  9:38 [Bug c/67569] New: erroneous compiler error message ka_bena at yahoo dot fr
2015-09-14 12:27 ` [Bug c/67569] " pinskia at gcc dot gnu.org
2015-09-14 13:01 ` [Bug c/67569] wrong type in " manu at gcc dot gnu.org
2015-09-14 13:27 ` ka_bena at yahoo dot fr

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).