public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-05 19:00 ` pinskia at gcc dot gnu.org
  2011-01-13 22:10 ` pinskia at gcc dot gnu.org
                   ` (35 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2010-10-05 19:00 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu.org

--- Comment #140 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-05 18:45:34 UTC ---
*** Bug 45899 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
  2010-10-05 19:00 ` [Bug middle-end/323] optimized code gives strange floating point results pinskia at gcc dot gnu.org
@ 2011-01-13 22:10 ` pinskia at gcc dot gnu.org
  2011-02-21 12:47 ` rguenth at gcc dot gnu.org
                   ` (34 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-01-13 22:10 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ichudov at algebra dot com

--- Comment #179 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-01-13 22:06:14 UTC ---
*** Bug 47282 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
  2010-10-05 19:00 ` [Bug middle-end/323] optimized code gives strange floating point results pinskia at gcc dot gnu.org
  2011-01-13 22:10 ` pinskia at gcc dot gnu.org
@ 2011-02-21 12:47 ` rguenth at gcc dot gnu.org
  2011-03-08 19:11 ` acfbuerger at googlemail dot com
                   ` (33 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-21 12:47 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stenedjo at gmail dot com

--- Comment #180 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-21 12:35:53 UTC ---
*** Bug 47834 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-02-21 12:47 ` rguenth at gcc dot gnu.org
@ 2011-03-08 19:11 ` acfbuerger at googlemail dot com
  2011-03-22 16:14 ` rguenth at gcc dot gnu.org
                   ` (32 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: acfbuerger at googlemail dot com @ 2011-03-08 19:11 UTC (permalink / raw)
  To: gcc-bugs

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

Alexander Bürger <acfbuerger at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acfbuerger at googlemail
                   |                            |dot com

--- Comment #181 from Alexander Bürger <acfbuerger at googlemail dot com> 2011-03-08 19:08:38 UTC ---
*** Bug 47600 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-03-08 19:11 ` acfbuerger at googlemail dot com
@ 2011-03-22 16:14 ` rguenth at gcc dot gnu.org
  2012-01-13  6:33 ` pinskia at gcc dot gnu.org
                   ` (31 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-22 16:14 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |juanval at gmail dot com

--- Comment #182 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-22 15:15:24 UTC ---
*** Bug 48236 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-03-22 16:14 ` rguenth at gcc dot gnu.org
@ 2012-01-13  6:33 ` pinskia at gcc dot gnu.org
  2012-04-24  8:23 ` rguenth at gcc dot gnu.org
                   ` (30 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-13  6:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dov.grobgeld at gmail dot
                   |                            |com

--- Comment #183 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-13 06:28:44 UTC ---
*** Bug 38777 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2012-01-13  6:33 ` pinskia at gcc dot gnu.org
@ 2012-04-24  8:23 ` rguenth at gcc dot gnu.org
  2012-11-12 14:54 ` paolo.carlini at oracle dot com
                   ` (29 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-04-24  8:23 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |JoaquinMonleon at gmail dot
                   |                            |com

--- Comment #184 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-04-24 08:08:06 UTC ---
*** Bug 53095 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2012-04-24  8:23 ` rguenth at gcc dot gnu.org
@ 2012-11-12 14:54 ` paolo.carlini at oracle dot com
  2012-11-30 18:08 ` pinskia at gcc dot gnu.org
                   ` (28 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-12 14:54 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jkuittinen293482 at gmail
                   |                            |dot com

--- Comment #185 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-12 14:53:28 UTC ---
*** Bug 55267 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2012-11-12 14:54 ` paolo.carlini at oracle dot com
@ 2012-11-30 18:08 ` pinskia at gcc dot gnu.org
  2012-12-15  2:10 ` soren.sandmann at gmail dot com
                   ` (27 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-11-30 18:08 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joerg.richter@pdv-fs.de

--- Comment #186 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-30 18:06:40 UTC ---
*** Bug 55544 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2012-11-30 18:08 ` pinskia at gcc dot gnu.org
@ 2012-12-15  2:10 ` soren.sandmann at gmail dot com
  2012-12-31 16:13 ` rguenth at gcc dot gnu.org
                   ` (26 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: soren.sandmann at gmail dot com @ 2012-12-15  2:10 UTC (permalink / raw)
  To: gcc-bugs


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

Søren Sandmann Pedersen <soren.sandmann at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |soren.sandmann at gmail dot
                   |                            |com

--- Comment #187 from Søren Sandmann Pedersen <soren.sandmann at gmail dot com> 2012-12-15 02:09:20 UTC ---
*** Bug 55700 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2012-12-15  2:10 ` soren.sandmann at gmail dot com
@ 2012-12-31 16:13 ` rguenth at gcc dot gnu.org
  2013-01-30  8:58 ` jakub at gcc dot gnu.org
                   ` (25 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-12-31 16:13 UTC (permalink / raw)
  To: gcc-bugs


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tasin at hm dot edu

--- Comment #188 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-31 16:12:05 UTC ---
*** Bug 55787 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2012-12-31 16:13 ` rguenth at gcc dot gnu.org
@ 2013-01-30  8:58 ` jakub at gcc dot gnu.org
  2013-04-26 16:07 ` ondrej at sury dot org
                   ` (24 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-01-30  8:58 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #189 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-30 08:57:24 UTC ---
*** Bug 55939 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2013-01-30  8:58 ` jakub at gcc dot gnu.org
@ 2013-04-26 16:07 ` ondrej at sury dot org
  2013-06-24 10:53 ` rguenth at gcc dot gnu.org
                   ` (23 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: ondrej at sury dot org @ 2013-04-26 16:07 UTC (permalink / raw)
  To: gcc-bugs


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

Ondřej Surý <ondrej at sury dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ondrej at sury dot org

--- Comment #190 from Ondřej Surý <ondrej at sury dot org> 2013-04-26 16:07:17 UTC ---
*** Bug 57080 has been marked as a duplicate of this bug. ***
>From gcc-bugs-return-421041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 26 16:07:21 2013
Return-Path: <gcc-bugs-return-421041-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1936 invoked by alias); 26 Apr 2013 16:07:21 -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 1720 invoked by uid 48); 26 Apr 2013 16:07:18 -0000
From: "ondrej at sury dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/57080] Invalid optimization (-O2) when doing double -> int conversion (on big endian archs(?))
Date: Fri, 26 Apr 2013 16:07: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-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ondrej at sury dot org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Status Resolution
Message-ID: <bug-57080-4-9SrW3tAlrs@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57080-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57080-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-SW-Source: 2013-04/txt/msg02186.txt.bz2
Content-length: 681


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

Ondřej Surý <ondrej at sury dot org> changed:

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

--- Comment #5 from Ondřej Surý <ondrej at sury dot org> 2013-04-26 16:07:17 UTC ---
I swear I have read the (non) bugs section before reporting the bug. Anyway
it's do damn confusing that the result can be different on different
architectures :(.

*** This bug has been marked as a duplicate of bug 323 ***
>From gcc-bugs-return-421043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Apr 26 16:09:19 2013
Return-Path: <gcc-bugs-return-421043-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4532 invoked by alias); 26 Apr 2013 16:09:19 -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 4475 invoked by uid 48); 26 Apr 2013 16:09:15 -0000
From: "paolo.carlini at oracle dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/56450] ICE with SFINAE when detecting non-static member variable
Date: Fri, 26 Apr 2013 16:09: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-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: paolo.carlini at oracle dot com
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: paolo.carlini at oracle dot com
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Status Last reconfirmed AssignedTo Ever Confirmed
Message-ID: <bug-56450-4-0V0aYmP5ix@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-56450-4@http.gcc.gnu.org/bugzilla/>
References: <bug-56450-4@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-SW-Source: 2013-04/txt/msg02188.txt.bz2
Content-length: 659


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2013-04-26
         AssignedTo|unassigned at gcc dot       |paolo.carlini at oracle dot
                   |gnu.org                     |com
     Ever Confirmed|0                           |1

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2013-04-26 16:09:14 UTC ---
Mine.


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2013-04-26 16:07 ` ondrej at sury dot org
@ 2013-06-24 10:53 ` rguenth at gcc dot gnu.org
  2013-11-18 18:47 ` dominiq at lps dot ens.fr
                   ` (22 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-06-24 10:53 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliverst at online dot de

--- Comment #191 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 57669 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2013-06-24 10:53 ` rguenth at gcc dot gnu.org
@ 2013-11-18 18:47 ` dominiq at lps dot ens.fr
  2014-01-02  8:35 ` Martin.vGagern at gmx dot net
                   ` (21 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: dominiq at lps dot ens.fr @ 2013-11-18 18:47 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sarantis.pantazis at gmail dot com

--- Comment #192 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
*** Bug 59168 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2013-11-18 18:47 ` dominiq at lps dot ens.fr
@ 2014-01-02  8:35 ` Martin.vGagern at gmx dot net
  2014-06-27  0:07 ` pinskia at gcc dot gnu.org
                   ` (20 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: Martin.vGagern at gmx dot net @ 2014-01-02  8:35 UTC (permalink / raw)
  To: gcc-bugs

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

Martin von Gagern <Martin.vGagern at gmx dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Martin.vGagern at gmx dot net

--- Comment #193 from Martin von Gagern <Martin.vGagern at gmx dot net> ---
(In reply to Joseph S. Myers from comment #127)
>   It would be possible to implement the option for non-C languages, to
>   provide whatever predictable semantics are appropriate for those
>   languages (whether or not described in their standards).  Note that
>   bug 323 was originally reported with a C++ testcase.  […]  It
>   would probably be most appropriate not to close bug 323 without having
>   some form of predictable semantics available for each language.

Would it make sense to file one bug report per language, marking all of them as
blocking this one here, so we can keep track of progress per language? I'm
particularly interested in C++, but I guess others might care for other
front-ends.
>From gcc-bugs-return-438892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Jan 02 08:40:28 2014
Return-Path: <gcc-bugs-return-438892-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4817 invoked by alias); 2 Jan 2014 08:40:28 -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 4795 invoked by uid 48); 2 Jan 2014 08:40:24 -0000
From: "joey.ye at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/59582] LTO discards symbol that defined as weak elsewhere
Date: Thu, 02 Jan 2014 08:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: lto
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: joey.ye at arm dot com
X-Bugzilla-Status: RESOLVED
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-59582-4-oSi0iKk8fK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-59582-4@http.gcc.gnu.org/bugzilla/>
References: <bug-59582-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-01/txt/msg00034.txt.bz2
Content-length: 178

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

--- Comment #6 from Joey Ye <joey.ye at arm dot com> ---
duplication of https://sourceware.org/bugzilla/show_bug.cgi?id\x15323


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2014-01-02  8:35 ` Martin.vGagern at gmx dot net
@ 2014-06-27  0:07 ` pinskia at gcc dot gnu.org
  2014-12-30 18:45 ` manu at gcc dot gnu.org
                   ` (19 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-06-27  0:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |meidingerc1 at gmail dot com

--- Comment #194 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 61626 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2014-06-27  0:07 ` pinskia at gcc dot gnu.org
@ 2014-12-30 18:45 ` manu at gcc dot gnu.org
  2014-12-30 19:16 ` manu at gcc dot gnu.org
                   ` (18 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: manu at gcc dot gnu.org @ 2014-12-30 18:45 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #195 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Martin von Gagern from comment #193)
> Would it make sense to file one bug report per language, marking all of them
> as blocking this one here, so we can keep track of progress per language?
> I'm particularly interested in C++, but I guess others might care for other
> front-ends.

Feel free to do just that, specially if you are planning to work on it. This PR
has become too long and full of outdated info (and useless comments) to be
really useful.
>From gcc-bugs-return-471956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 19:01:10 2014
Return-Path: <gcc-bugs-return-471956-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25029 invoked by alias); 30 Dec 2014 19:01: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 24996 invoked by uid 48); 30 Dec 2014 19:01:04 -0000
From: "manu at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64442] -O1 modify output of a simple computation with rounding
Date: Tue, 30 Dec 2014 19:01: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.2
X-Bugzilla-Keywords:
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: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-64442-4-iE52n7lfXL@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64442-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64442-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-12/txt/msg02963.txt.bz2
Content-length: 1495

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Colin Pitrat from comment #4)
> In the mean time I also discovered -Og that appeared in gcc 4.8, that
> provides optimization compatible with debugging and that have the same
> behavior. This allows me to have the same result with the release and the
> debug build, which is what was the issue for me.

That seems fragile to me, that is, likely to not work for different testcases
or compiler versions.

The "official" (non-wiki) FAQ for this is seriously lacking info, and it is
certainly a bug in many cases that GCC does not implement standard-mandated
behavior for excess precission. Fortunately, this is (or should be) fixed for
C. See  https://gcc.gnu.org/wiki/FAQ#PR323 and the links therein.

> I'm still surprised by the fact that -Og or -O1 seems to be more than just
> the list of -f flags it activates, as providing only them doesn't trigger
> this same behaviour. I couldn't find another responsible flag in the
> difference I found in the output of --help=warnings,target,params,c or common

https://gcc.gnu.org/wiki/FAQ#optimization-options
>From gcc-bugs-return-471957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 19:12:32 2014
Return-Path: <gcc-bugs-return-471957-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29167 invoked by alias); 30 Dec 2014 19:12:31 -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 29105 invoked by uid 55); 30 Dec 2014 19:12:25 -0000
From: "olegendo at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/49263] SH Target: underutilized "TST #imm, R0" instruction
Date: Tue, 30 Dec 2014 19:12: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.6.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: olegendo at gcc dot gnu.org
X-Bugzilla-Status: REOPENED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: olegendo at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-49263-4-06HQel7mAz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-49263-4@http.gcc.gnu.org/bugzilla/>
References: <bug-49263-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-12/txt/msg02964.txt.bz2
Content-length: 538

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

--- Comment #24 from Oleg Endo <olegendo at gcc dot gnu.org> ---
Author: olegendo
Date: Tue Dec 30 19:11:42 2014
New Revision: 219113

URL: https://gcc.gnu.org/viewcvs?rev!9113&root=gcc&view=rev
Log:
gcc/testsuite/
    PR target/49263
    * gcc.target/sh/sh.exp (check_effective_target_sh2a): New.
    * gcc.target/sh/pr49263-3.c: New.

Added:
    trunk/gcc/testsuite/gcc.target/sh/pr49263-3.c
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/sh/sh.exp


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (17 preceding siblings ...)
  2014-12-30 18:45 ` manu at gcc dot gnu.org
@ 2014-12-30 19:16 ` manu at gcc dot gnu.org
  2014-12-31  0:00 ` vincent-gcc at vinc17 dot net
                   ` (17 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: manu at gcc dot gnu.org @ 2014-12-30 19:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=323#c127

--- Comment #196 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
I believe the latest status of this PR is explained by comment 127. I added
this as the URL of the bug for people to find.

Also, the official FAQ for this (https://gcc.gnu.org/bugs/#nonbugs_general) is
seriously lacking info and outdated. From now on, I'll point people to:
https://gcc.gnu.org/wiki/FAQ#PR323
>From gcc-bugs-return-471959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Dec 30 19:28:11 2014
Return-Path: <gcc-bugs-return-471959-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14406 invoked by alias); 30 Dec 2014 19:28: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 14366 invoked by uid 48); 30 Dec 2014 19:28:03 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64438] Removing string-conversion requirement causes libstdc++-v3 fails on AArch64.
Date: Tue, 30 Dec 2014 19:28: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed
Message-ID: <bug-64438-4-VzfcJwvKIz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64438-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64438-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-12/txt/msg02966.txt.bz2
Content-length: 623

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-12-30
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Oh, I think I'm just an idiot and shouldn't have changed those tests.


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (18 preceding siblings ...)
  2014-12-30 19:16 ` manu at gcc dot gnu.org
@ 2014-12-31  0:00 ` vincent-gcc at vinc17 dot net
  2014-12-31  0:45 ` manu at gcc dot gnu.org
                   ` (16 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: vincent-gcc at vinc17 dot net @ 2014-12-31  0:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #197 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Manuel López-Ibáñez from comment #196)
> Also, the official FAQ for this (https://gcc.gnu.org/bugs/#nonbugs_general)
> is seriously lacking info and outdated. From now on, I'll point people to:
> https://gcc.gnu.org/wiki/FAQ#PR323

Note that this bug was mainly about the excess precision of x87 FPU, though its
summary just says "optimized code gives strange floating point results". But
the users should be aware that the floating-point results can still depend on
the optimization level because this is allowed by the ISO C standard. For
instance, if one has code like x*y+z, a FMA can be used or not depending on the
target architecture and the optimization level (see also bug 37845 about this),
and this can change the results.
>From gcc-bugs-return-471979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 31 00:03:14 2014
Return-Path: <gcc-bugs-return-471979-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8024 invoked by alias); 31 Dec 2014 00:03:14 -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 7972 invoked by uid 48); 31 Dec 2014 00:03:10 -0000
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ipa/64447] [5 Regression] FAIL: gcc.dg/vect/slp-9.c
Date: Wed, 31 Dec 2014 00:03:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: ipa
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: blocker
X-Bugzilla-Who: hjl.tools at gmail dot com
X-Bugzilla-Status: REOPENED
X-Bugzilla-Priority: P1
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-64447-4-S1T1t5gOOQ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64447-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64447-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-12/txt/msg02986.txt.bz2
Content-length: 864

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

H.J. Lu <hjl.tools at gmail dot com> changed:

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
I still see:

FAIL: gcc.dg/vect/slp-9.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorized 1 loops" 1
FAIL: gcc.dg/vect/slp-9.c -flto -ffat-lto-objects  scan-tree-dump-times vect
"vectorizing stmts using SLP" 1
FAIL: gcc.dg/vect/slp-9.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/slp-9.c scan-tree-dump-times vect "vectorizing stmts using
SLP" 1

with r219114:

https://gcc.gnu.org/ml/gcc-testresults/2014-12/msg03418.html


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (19 preceding siblings ...)
  2014-12-31  0:00 ` vincent-gcc at vinc17 dot net
@ 2014-12-31  0:45 ` manu at gcc dot gnu.org
  2015-01-26 19:05 ` schwab@linux-m68k.org
                   ` (15 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: manu at gcc dot gnu.org @ 2014-12-31  0:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #198 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to Vincent Lefèvre from comment #197)
> (In reply to Manuel López-Ibáñez from comment #196)
> > Also, the official FAQ for this (https://gcc.gnu.org/bugs/#nonbugs_general)
> > is seriously lacking info and outdated. From now on, I'll point people to:
> > https://gcc.gnu.org/wiki/FAQ#PR323
> 
> Note that this bug was mainly about the excess precision of x87 FPU, though

I added your comment to the FAQ but feel welcome to extend it:
https://gcc.gnu.org/wiki/FAQ#PR323

What it is also missing is a criteria to distinguish normal behavior from
actual GCC bugs (and there are GCC bugs like bug 37845 and others for
optimizations that should only be done with ffast-math). Currently, any
floating-point issue is likely to end up here.
>From gcc-bugs-return-471981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 31 09:46:52 2014
Return-Path: <gcc-bugs-return-471981-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 29650 invoked by alias); 31 Dec 2014 09:46:51 -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 29620 invoked by uid 48); 31 Dec 2014 09:46:45 -0000
From: "chris.foster at roames dot com.au" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/64452] New: ICE in avr-gcc when passing struct member to varargs function
Date: Wed, 31 Dec 2014 09:46:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: chris.foster at roames dot com.au
X-Bugzilla-Status: UNCONFIRMED
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_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created
Message-ID: <bug-64452-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-12/txt/msg02988.txt.bz2
Content-length: 1270

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

            Bug ID: 64452
           Summary: ICE in avr-gcc when passing struct member to varargs
                    function
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: chris.foster at roames dot com.au

Created attachment 34366
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34366&action=edit
Reduced test case

Compiling the attached test case with gcc 4.8.2 (ubuntu 14.04.1 LTS) produces

$ avr-gcc -c avr-gcc-ice.c 
avr-gcc-ice.c: In function ‘foo’:
avr-gcc-ice.c:12:1: internal compiler error: in push_reload, at reload.c:1360
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


The ICE seems to be triggered by the specific combination of:
* struct layout (switching field order in A avoids the error)
* passing the structs by value (passing pointers to A avoids the error)
* passing to a varargs function (replacing the call to printf with a
  non-varargs function which accepts the same args avoids the error)
>From gcc-bugs-return-471982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Dec 31 10:21:37 2014
Return-Path: <gcc-bugs-return-471982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 14085 invoked by alias); 31 Dec 2014 10:21:36 -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 14047 invoked by uid 48); 31 Dec 2014 10:21:30 -0000
From: "redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64449] /usr/ccs/bin/ld: Unsatisfied symbols: std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>  >::copy(wchar_t*, unsigned long, unsigned long)
Date: Wed, 31 Dec 2014 10:21: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: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: redi at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: redi at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to target_milestone everconfirmed
Message-ID: <bug-64449-4-vUd7s156Bi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64449-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64449-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-12/txt/msg02989.txt.bz2
Content-length: 626

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-12-31
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
   Target Milestone|---                         |5.0
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
similar to PR 64422


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (20 preceding siblings ...)
  2014-12-31  0:45 ` manu at gcc dot gnu.org
@ 2015-01-26 19:05 ` schwab@linux-m68k.org
  2015-05-29 16:50 ` jsm28 at gcc dot gnu.org
                   ` (14 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: schwab@linux-m68k.org @ 2015-01-26 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |friend1992friend1992@yandex
                   |                            |.ru

--- Comment #199 from Andreas Schwab <schwab@linux-m68k.org> ---
*** Bug 64808 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (21 preceding siblings ...)
  2015-01-26 19:05 ` schwab@linux-m68k.org
@ 2015-05-29 16:50 ` jsm28 at gcc dot gnu.org
  2020-04-29 18:01 ` pinskia at gcc dot gnu.org
                   ` (13 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-05-29 16:50 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timo.kreuzer at reactos dot org

--- Comment #200 from Joseph S. Myers <jsm28 at gcc dot gnu.org> ---
*** Bug 66282 has been marked as a duplicate of this bug. ***


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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (22 preceding siblings ...)
  2015-05-29 16:50 ` jsm28 at gcc dot gnu.org
@ 2020-04-29 18:01 ` pinskia at gcc dot gnu.org
  2021-05-31  3:46 ` pinskia at gcc dot gnu.org
                   ` (12 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-04-29 18:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vanyacpp at gmail dot com

--- Comment #218 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 94852 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (23 preceding siblings ...)
  2020-04-29 18:01 ` pinskia at gcc dot gnu.org
@ 2021-05-31  3:46 ` pinskia at gcc dot gnu.org
  2021-09-02  7:41 ` pinskia at gcc dot gnu.org
                   ` (11 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-05-31  3:46 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |merkert at comcast dot net

--- Comment #219 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 39128 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (24 preceding siblings ...)
  2021-05-31  3:46 ` pinskia at gcc dot gnu.org
@ 2021-09-02  7:41 ` pinskia at gcc dot gnu.org
  2021-10-27  7:55 ` jessicaking07 at protonmail dot com
                   ` (10 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-02  7:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevin.glass at pnl dot gov

--- Comment #220 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 30813 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (25 preceding siblings ...)
  2021-09-02  7:41 ` pinskia at gcc dot gnu.org
@ 2021-10-27  7:55 ` jessicaking07 at protonmail dot com
  2021-11-02  7:17 ` pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: jessicaking07 at protonmail dot com @ 2021-10-27  7:55 UTC (permalink / raw)
  To: gcc-bugs

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

Jessica King <jessicaking07 at protonmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jessicaking07 at protonmail dot co
                   |                            |m

--- Comment #221 from Jessica King <jessicaking07 at protonmail dot com> ---
If you have some problems with your computer and can't deal with all the
homework you need in time - Exclusivethesis can help you. You can dissertation
abstracts online https://exclusivethesis.com/dissertation-abstracts-online/ and
receive a high-quality work

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (26 preceding siblings ...)
  2021-10-27  7:55 ` jessicaking07 at protonmail dot com
@ 2021-11-02  7:17 ` pinskia at gcc dot gnu.org
  2021-11-05 23:18 ` timturnerc at yahoo dot com
                   ` (8 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-11-02  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |c25devbiz at aol dot com

--- Comment #222 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 103030 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (27 preceding siblings ...)
  2021-11-02  7:17 ` pinskia at gcc dot gnu.org
@ 2021-11-05 23:18 ` timturnerc at yahoo dot com
  2022-07-02  2:09 ` pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: timturnerc at yahoo dot com @ 2021-11-05 23:18 UTC (permalink / raw)
  To: gcc-bugs

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

Tim Turner <timturnerc at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timturnerc at yahoo dot com

--- Comment #223 from Tim Turner <timturnerc at yahoo dot com> ---
/gdb/arch/arc.c:117:43:   required from here http://www.compilatori.com/
 /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no matching
https://www.mktrade.fi/ function for call to ‘std::pair<const
arc_arch_features, const std::unique_ptr<target_desc, http://www-look-4.com/
target_desc_deleter> >::pair(const arc_arch_features&, target_desc*&)’
  : _M_v(std::forward<_Args>(__args)...) { } http://www.acpirateradio.co.uk/
                                       ^ 
/usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates are:
https://www.webb-dev.co.uk/
In file included from /usr/include/c++/4.8.2/utility:70:0,
                 from /usr/include/c++/4.8.2/tuple:38,
http://www.logoarts.co.uk/
                 from /usr/include/c++/4.8.2/functional:55, 
                 from ../../gdb/../gdbsupport/ptid.h:35,
https://komiya-dental.com/
                 from ../../gdb/../gdbsupport/common-defs.h:123,
                 from ../../gdb/arch/arc.c:19: http://www.slipstone.co.uk/
/usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: template<class ... _Args1,
long unsigned int ..._Indexes1, http://the-hunters.org/  class ... _Args2, long
unsigned int ..._Indexes2> std::pair<_T1, http://embermanchester.uk/
_T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple
http://fishingnewsletters.co.uk/
 <_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>)
         pair(tuple<_Args1...>&, tuple<_Args2...>&, http://connstr.net/
         ^
-------->8---------
http://joerg.li/
Thanks to Tome de Vries' investigation, same fix applies in ARC's case as well:
--------8<--------- http://www.jopspeech.com/
diff --git a/gdb/arch/arc.c b/gdb/arch/arc.c
index 3808f9f..a5385ce 100644 http://www.go-mk-websites.co.uk/
--- a/gdb/arch/arc.c
+++ b/gdb/arch/arc.c http://www.wearelondonmade.com/
@@ -114,7 +114,7 @@ struct arc_arch_features_hasher
   target_desc *tdesc = arc_create_target_description (features);
https://waytowhatsnext.com/

   /* Add the newly created target description to the repertoire.  */
http://www.mconstantine.co.uk/
 -  arc_tdesc_cache.emplace (features, tdesc); http://www.iu-bloomington.com/
 +  arc_tdesc_cache.emplace (features, target_desc_up (tdesc));

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (28 preceding siblings ...)
  2021-11-05 23:18 ` timturnerc at yahoo dot com
@ 2022-07-02  2:09 ` pinskia at gcc dot gnu.org
  2022-10-14  7:32 ` cvs-commit at gcc dot gnu.org
                   ` (6 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-02  2:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xeioexception at gmail dot com

--- Comment #224 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 106165 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (29 preceding siblings ...)
  2022-07-02  2:09 ` pinskia at gcc dot gnu.org
@ 2022-10-14  7:32 ` cvs-commit at gcc dot gnu.org
  2023-07-05 19:22 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-14  7:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #225 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:98e341130f87984af07c884fea773c0bb3cc8821

commit r13-3290-g98e341130f87984af07c884fea773c0bb3cc8821
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Fri Oct 14 09:28:57 2022 +0200

    c++: Implement excess precision support for C++ [PR107097, PR323]

    The following patch implements excess precision support for C++.
    Like for C, it uses EXCESS_PRECISION_EXPR tree to say that its operand
    is evaluated in excess precision and what the semantic type of the
    expression is.
    In most places I've followed what the C FE does in similar spots, so
    e.g. for binary ops if one or both operands are already
    EXCESS_PRECISION_EXPR, strip those away or for operations that might need
    excess precision (+, -, *, /) check if the operands should use excess
    precision and convert to that type and at the end wrap into
    EXCESS_PRECISION_EXPR with the common semantic type.
    This patch follows the C99 handling where it differs from C11 handling.

    There are some cases which needed to be handled differently, the C FE can
    just strip EXCESS_PRECISION_EXPR (replace it with its operand) when
handling
    explicit cast, but that IMHO isn't right for C++ - the discovery what exact
    conversion should be used (e.g. if user conversion or standard or their
    sequence) should be decided based on the semantic type (i.e. type of
    EXCESS_PRECISION_EXPR), and that decision continues in convert_like* where
    we pick the right user conversion, again, if say some class has ctor
    from double and long double and we are on ia32 with standard excess
    precision promoting float/double to long double, then we should pick the
    ctor from double.  Or when some other class has ctor from just double,
    and EXCESS_PRECISION_EXPR semantic type is float, we should choose the
    user ctor from double, but actually just convert the long double excess
    precision to double and not to float first.  We need to make sure
    even identity conversion converts from excess precision to the semantic one
    though, but if identity is chained with other conversions, we don't want
    the identity next_conversion to drop to semantic precision only to widen
    afterwards.

    The existing testcases tweaks were for cases on i686-linux where excess
    precision breaks those tests, e.g. if we have
      double d = 4.2;
      if (d == 4.2)
    then it does the expected thing only with -fexcess-precision=fast,
    because with -fexcess-precision=standard it is actually
      double d = 4.2;
      if ((long double) d == 4.2L)
    where 4.2L is different from 4.2.  I've added -fexcess-precision=fast
    to some tests and changed other tests to use constants that are exactly
    representable and don't suffer from these excess precision issues.

    There is one exception, pr68180.C looks like a bug in the patch which is
    also present in the C FE (so I'd like to get it resolved incrementally
    in both).  Reduced testcase:
    typedef float __attribute__((vector_size (16))) float32x4_t;
    float32x4_t foo(float32x4_t x, float y) { return x + y; }
    with -m32 -std=c11 -Wno-psabi or -m32 -std=c++17 -Wno-psabi
    it is rejected with:
    pr68180.c:2:52: error: conversion of scalar âlong doubleâ to vector
âfloat32x4_tâ {aka â__vector(4) floatâ} involves truncation
    but without excess precision (say just -std=c11 -Wno-psabi or -std=c++17
-Wno-psabi)
    it is accepted.  Perhaps we should pass down the semantic type to
    scalar_to_vector and use the semantic type rather than excess precision
type
    in the diagnostics.

    2022-10-14  Jakub Jelinek  <jakub@redhat.com>

            PR middle-end/323
            PR c++/107097
    gcc/
            * doc/invoke.texi (-fexcess-precision=standard): Mention that the
            option now also works in C++.
    gcc/c-family/
            * c-common.def (EXCESS_PRECISION_EXPR): Remove comment part about
            the tree being specific to C/ObjC.
            * c-opts.cc (c_common_post_options): Handle flag_excess_precision
            in C++ the same as in C.
            * c-lex.cc (interpret_float): Set const_type to excess_precision ()
            even for C++.
    gcc/cp/
            * parser.cc (cp_parser_primary_expression): Handle
            EXCESS_PRECISION_EXPR with REAL_CST operand the same as REAL_CST.
            * cvt.cc (cp_ep_convert_and_check): New function.
            * call.cc (build_conditional_expr): Add excess precision support.
            When type_after_usual_arithmetic_conversions returns
error_mark_node,
            use gcc_checking_assert that it is because of uncomparable floating
            point ranks instead of checking all those conditions and make it
            work also with complex types.
            (convert_like_internal): Likewise.  Add NESTED_P argument, pass
true
            to recursive calls to convert_like.
            (convert_like): Add NESTED_P argument, pass it through to
            convert_like_internal.  For other overload pass false to it.
            (convert_like_with_context): Pass false to NESTED_P.
            (convert_arg_to_ellipsis): Add excess precision support.
            (magic_varargs_p): For __builtin_is{finite,inf,inf_sign,nan,normal}
            and __builtin_fpclassify return 2 instead of 1, document what it
            means.
            (build_over_call): Don't handle former magic 2 which is no longer
            used, instead for magic 1 remove EXCESS_PRECISION_EXPR.
            (perform_direct_initialization_if_possible): Pass false to NESTED_P
            convert_like argument.
            * constexpr.cc (cxx_eval_constant_expression): Handle
            EXCESS_PRECISION_EXPR.
            (potential_constant_expression_1): Likewise.
            * pt.cc (tsubst_copy, tsubst_copy_and_build): Likewise.
            * cp-tree.h (cp_ep_convert_and_check): Declare.
            * cp-gimplify.cc (cp_fold): Handle EXCESS_PRECISION_EXPR.
            * typeck.cc (cp_common_type): For COMPLEX_TYPEs, return
error_mark_node
            if recursive call returned it.
            (convert_arguments): For magic 1 remove EXCESS_PRECISION_EXPR.
            (cp_build_binary_op): Add excess precision support.  When
            cp_common_type returns error_mark_node, use gcc_checking_assert
that
            it is because of uncomparable floating point ranks instead of
checking
            all those conditions and make it work also with complex types.
            (cp_build_unary_op): Likewise.
            (cp_build_compound_expr): Likewise.
            (build_static_cast_1): Remove EXCESS_PRECISION_EXPR.
    gcc/testsuite/
            * gcc.target/i386/excess-precision-1.c: For C++ wrap abort and
            exit declarations into extern "C" block.
            * gcc.target/i386/excess-precision-2.c: Likewise.
            * gcc.target/i386/excess-precision-3.c: Likewise.  Remove
            check_float_nonproto and check_double_nonproto tests for C++.
            * gcc.target/i386/excess-precision-7.c: For C++ wrap abort and
            exit declarations into extern "C" block.
            * gcc.target/i386/excess-precision-9.c: Likewise.
            * g++.target/i386/excess-precision-1.C: New test.
            * g++.target/i386/excess-precision-2.C: New test.
            * g++.target/i386/excess-precision-3.C: New test.
            * g++.target/i386/excess-precision-4.C: New test.
            * g++.target/i386/excess-precision-5.C: New test.
            * g++.target/i386/excess-precision-6.C: New test.
            * g++.target/i386/excess-precision-7.C: New test.
            * g++.target/i386/excess-precision-9.C: New test.
            * g++.target/i386/excess-precision-11.C: New test.
            * c-c++-common/dfp/convert-bfp-10.c: Add -fexcess-precision=fast
            as dg-additional-options.
            * c-c++-common/dfp/compare-eq-const.c: Likewise.
            * g++.dg/cpp1z/constexpr-96862.C: Likewise.
            * g++.dg/cpp1z/decomp12.C (main): Use 2.25 instead of 2.3 to
            avoid excess precision differences.
            * g++.dg/other/thunk1.C: Add -fexcess-precision=fast
            as dg-additional-options.
            * g++.dg/vect/pr64410.cc: Likewise.
            * g++.dg/cpp1y/pr68180.C: Likewise.
            * g++.dg/vect/pr89653.cc: Likewise.
            * g++.dg/cpp0x/variadic-tuple.C: Likewise.
            * g++.dg/cpp0x/nsdmi-union1.C: Use 4.25 instead of 4.2 to
            avoid excess precision differences.
            * g++.old-deja/g++.brendan/copy9.C: Add -fexcess-precision=fast
            as dg-additional-options.
            * g++.old-deja/g++.brendan/overload7.C: Likewise.

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (30 preceding siblings ...)
  2022-10-14  7:32 ` cvs-commit at gcc dot gnu.org
@ 2023-07-05 19:22 ` pinskia at gcc dot gnu.org
  2023-07-05 20:15 ` vincent-gcc at vinc17 dot net
                   ` (4 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-05 19:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drh at sqlite dot org

--- Comment #226 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 110564 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (31 preceding siblings ...)
  2023-07-05 19:22 ` pinskia at gcc dot gnu.org
@ 2023-07-05 20:15 ` vincent-gcc at vinc17 dot net
  2023-07-05 21:00 ` vincent-gcc at vinc17 dot net
                   ` (3 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: vincent-gcc at vinc17 dot net @ 2023-07-05 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #227 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
In "See Also", there are several bugs that are related only to vectorization
optimizations. What is the relation with this bug?

For instance, PR89653 is "GCC (trunk and all earlier versions) fails to
vectorize (SSE/AVX2/AVX-512) the following loop [...]". If this is
SSE/AVX2/AVX-512, where does x86 extended precision occur?

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (32 preceding siblings ...)
  2023-07-05 20:15 ` vincent-gcc at vinc17 dot net
@ 2023-07-05 21:00 ` vincent-gcc at vinc17 dot net
  2023-07-11  8:25 ` malat at debian dot org
                   ` (2 subsequent siblings)
  36 siblings, 0 replies; 37+ messages in thread
From: vincent-gcc at vinc17 dot net @ 2023-07-05 21:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #228 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
PR64410 and PR68180 should also be removed from "See Also".

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (33 preceding siblings ...)
  2023-07-05 21:00 ` vincent-gcc at vinc17 dot net
@ 2023-07-11  8:25 ` malat at debian dot org
  2023-09-21 13:34 ` pinskia at gcc dot gnu.org
  2024-01-31  8:52 ` pinskia at gcc dot gnu.org
  36 siblings, 0 replies; 37+ messages in thread
From: malat at debian dot org @ 2023-07-11  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

Mathieu Malaterre <malat at debian dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |malat at debian dot org

--- Comment #229 from Mathieu Malaterre <malat at debian dot org> ---
*** Bug 110622 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (34 preceding siblings ...)
  2023-07-11  8:25 ` malat at debian dot org
@ 2023-09-21 13:34 ` pinskia at gcc dot gnu.org
  2024-01-31  8:52 ` pinskia at gcc dot gnu.org
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-09-21 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #230 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 110622 has been marked as a duplicate of this bug. ***

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

* [Bug middle-end/323] optimized code gives strange floating point results
       [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
                   ` (35 preceding siblings ...)
  2023-09-21 13:34 ` pinskia at gcc dot gnu.org
@ 2024-01-31  8:52 ` pinskia at gcc dot gnu.org
  36 siblings, 0 replies; 37+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-01-31  8:52 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dilyan.palauzov at aegee dot org

--- Comment #231 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 113679 has been marked as a duplicate of this bug. ***

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

end of thread, other threads:[~2024-01-31  8:52 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-323-4@http.gcc.gnu.org/bugzilla/>
2010-10-05 19:00 ` [Bug middle-end/323] optimized code gives strange floating point results pinskia at gcc dot gnu.org
2011-01-13 22:10 ` pinskia at gcc dot gnu.org
2011-02-21 12:47 ` rguenth at gcc dot gnu.org
2011-03-08 19:11 ` acfbuerger at googlemail dot com
2011-03-22 16:14 ` rguenth at gcc dot gnu.org
2012-01-13  6:33 ` pinskia at gcc dot gnu.org
2012-04-24  8:23 ` rguenth at gcc dot gnu.org
2012-11-12 14:54 ` paolo.carlini at oracle dot com
2012-11-30 18:08 ` pinskia at gcc dot gnu.org
2012-12-15  2:10 ` soren.sandmann at gmail dot com
2012-12-31 16:13 ` rguenth at gcc dot gnu.org
2013-01-30  8:58 ` jakub at gcc dot gnu.org
2013-04-26 16:07 ` ondrej at sury dot org
2013-06-24 10:53 ` rguenth at gcc dot gnu.org
2013-11-18 18:47 ` dominiq at lps dot ens.fr
2014-01-02  8:35 ` Martin.vGagern at gmx dot net
2014-06-27  0:07 ` pinskia at gcc dot gnu.org
2014-12-30 18:45 ` manu at gcc dot gnu.org
2014-12-30 19:16 ` manu at gcc dot gnu.org
2014-12-31  0:00 ` vincent-gcc at vinc17 dot net
2014-12-31  0:45 ` manu at gcc dot gnu.org
2015-01-26 19:05 ` schwab@linux-m68k.org
2015-05-29 16:50 ` jsm28 at gcc dot gnu.org
2020-04-29 18:01 ` pinskia at gcc dot gnu.org
2021-05-31  3:46 ` pinskia at gcc dot gnu.org
2021-09-02  7:41 ` pinskia at gcc dot gnu.org
2021-10-27  7:55 ` jessicaking07 at protonmail dot com
2021-11-02  7:17 ` pinskia at gcc dot gnu.org
2021-11-05 23:18 ` timturnerc at yahoo dot com
2022-07-02  2:09 ` pinskia at gcc dot gnu.org
2022-10-14  7:32 ` cvs-commit at gcc dot gnu.org
2023-07-05 19:22 ` pinskia at gcc dot gnu.org
2023-07-05 20:15 ` vincent-gcc at vinc17 dot net
2023-07-05 21:00 ` vincent-gcc at vinc17 dot net
2023-07-11  8:25 ` malat at debian dot org
2023-09-21 13:34 ` pinskia at gcc dot gnu.org
2024-01-31  8:52 ` pinskia 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).