public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/98593] New: [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524
@ 2021-01-07 22:53 seurer at gcc dot gnu.org
  2021-01-07 22:54 ` [Bug testsuite/98593] " seurer at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-01-07 22:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98593
           Summary: [11 regression] 20_util/to_chars/long_double.cc
                    execution error after r11-6524
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

g:19f3c433cdc92f1ad6c37f182d5034b03c54afef, r11-6524 

This started failing as an execution error with this revision.  Previously it
was an excess errors failure.


Before r11-6524:

FAIL: 20_util/to_chars/long_double.cc (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc:43:
error: 'nextdownl' was not declared in this scope; did you mean 'nexttowardl'?
/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc:44:
error: 'nextupl' was not declared in this scope; did you mean 'expl'?
/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc:176:
error: 'nextdownl' was not declared in this scope; did you mean 'nexttowardl'?
/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc:185:
error: 'nextupl' was not declared in this scope; did you mean 'expl'?


After r11-6524:

/home/seurer/gcc/git/gcc-test/libstdc++-v3/testsuite/20_util/to_chars/long_double.cc:104:
void test01(): Assertion '!strcmp(to_chars_buffer, printf_buffer+strlen("0x"))'
failed.
FAIL: 20_util/to_chars/long_double.cc execution test




commit 19f3c433cdc92f1ad6c37f182d5034b03c54afef
Author: Patrick Palka <ppalka@redhat.com>
Date:   Thu Jan 7 12:41:14 2021 -0500

    libstdc++: Fix long double to_chars testcase [PR98384]

    The testcase was failing to compile on some targets due to its use of
    the non-standard functions nextupl and nextdownl.  This patch makes the
    testcase instead use the C99 function nexttowardl in an equivalent way.

    libstdc++-v3/ChangeLog:

        PR libstdc++/98384
        * testsuite/20_util/to_chars/long_double.cc: Use nexttowardl
        instead of the non-standard nextupl and nextdownl.

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

* [Bug testsuite/98593] [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524
  2021-01-07 22:53 [Bug testsuite/98593] New: [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524 seurer at gcc dot gnu.org
@ 2021-01-07 22:54 ` seurer at gcc dot gnu.org
  2021-01-08  8:36 ` rguenth at gcc dot gnu.org
  2021-03-03 15:06 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-01-07 22:54 UTC (permalink / raw)
  To: gcc-bugs

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

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org
              Build|                            |powerpc64-linux-gnu
             Target|                            |powerpc64-linux-gnu
               Host|                            |powerpc64-linux-gnu

--- Comment #1 from seurer at gcc dot gnu.org ---
Note:  failure is only on powerpc64 BE.  Works OK on LE.

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

* [Bug testsuite/98593] [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524
  2021-01-07 22:53 [Bug testsuite/98593] New: [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524 seurer at gcc dot gnu.org
  2021-01-07 22:54 ` [Bug testsuite/98593] " seurer at gcc dot gnu.org
@ 2021-01-08  8:36 ` rguenth at gcc dot gnu.org
  2021-03-03 15:06 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-08  8:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0

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

* [Bug testsuite/98593] [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524
  2021-01-07 22:53 [Bug testsuite/98593] New: [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524 seurer at gcc dot gnu.org
  2021-01-07 22:54 ` [Bug testsuite/98593] " seurer at gcc dot gnu.org
  2021-01-08  8:36 ` rguenth at gcc dot gnu.org
@ 2021-03-03 15:06 ` ppalka at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ppalka at gcc dot gnu.org @ 2021-03-03 15:06 UTC (permalink / raw)
  To: gcc-bugs

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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

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

--- Comment #2 from Patrick Palka <ppalka at gcc dot gnu.org> ---
This should now be fixed by r11-7337.

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

end of thread, other threads:[~2021-03-03 15:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-07 22:53 [Bug testsuite/98593] New: [11 regression] 20_util/to_chars/long_double.cc execution error after r11-6524 seurer at gcc dot gnu.org
2021-01-07 22:54 ` [Bug testsuite/98593] " seurer at gcc dot gnu.org
2021-01-08  8:36 ` rguenth at gcc dot gnu.org
2021-03-03 15:06 ` ppalka 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).