public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/102100] New: _GLIBCXX_ASSERTIONS information missing.
@ 2021-08-27 15:17 unlvsur at live dot com
  2021-08-27 16:55 ` [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1 redi at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: unlvsur at live dot com @ 2021-08-27 15:17 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102100
           Summary: _GLIBCXX_ASSERTIONS information missing.
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

https://godbolt.org/z/1M1EsaT1r

The printf function disappears

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

* [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1.
  2021-08-27 15:17 [Bug libstdc++/102100] New: _GLIBCXX_ASSERTIONS information missing unlvsur at live dot com
@ 2021-08-27 16:55 ` redi at gcc dot gnu.org
  2021-10-01 20:15 ` cvs-commit at gcc dot gnu.org
  2021-10-01 20:15 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2021-08-27 16:55 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
      Known to fail|                            |12.0
             Status|UNCONFIRMED                 |ASSIGNED
            Summary|_GLIBCXX_ASSERTIONS         |[12 Regression]
                   |information missing under   |_GLIBCXX_ASSERTIONS
                   |_GLIBCXX_VERBOSE==1.        |information missing under
                   |                            |_GLIBCXX_VERBOSE==1.
      Known to work|                            |11.2.1
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
   Last reconfirmed|                            |2021-08-27
     Ever confirmed|0                           |1
           Keywords|                            |diagnostic
           Priority|P3                          |P2

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
This is because of PR libstdc++/101429 where you complained about the
assertions.

The problem is that _GLIBCXX_VERBOSE isn't defined yet at that point in the
c++config.h file, so it's always false.

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

* [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1.
  2021-08-27 15:17 [Bug libstdc++/102100] New: _GLIBCXX_ASSERTIONS information missing unlvsur at live dot com
  2021-08-27 16:55 ` [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1 redi at gcc dot gnu.org
@ 2021-10-01 20:15 ` cvs-commit at gcc dot gnu.org
  2021-10-01 20:15 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-10-01 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:

https://gcc.gnu.org/g:92936be47461b99d624b6a90a745f6cdc60d3e51

commit r12-4084-g92936be47461b99d624b6a90a745f6cdc60d3e51
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Oct 1 15:55:57 2021 +0100

    libstdc++: Restore printing of assertion messages [PR102100]

    My changes for PR 101429 broke the _-replacement_assert function,
    because we now always just abort without printing anything. That's
    because I added checks for _GLIBCXX_HOSTED and _GLIBCXX_VERBOSE, but the
    checks are done before those get defined.

    This adds a new macro which is set
    by the sed command in include/Makefile, once the HOSTED and VERBOSE
    macros have been set by the configure script.

    libstdc++-v3/ChangeLog:

            PR libstdc++/102100
            * include/Makefile.am (c++config.h): Define
            _GLIBCXX_VERBOSE_ASSERT based on configure output.
            * include/Makefile.in: Regenerate.
            * include/bits/c++config: Fix condition for verbose assertions.

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

* [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1.
  2021-08-27 15:17 [Bug libstdc++/102100] New: _GLIBCXX_ASSERTIONS information missing unlvsur at live dot com
  2021-08-27 16:55 ` [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1 redi at gcc dot gnu.org
  2021-10-01 20:15 ` cvs-commit at gcc dot gnu.org
@ 2021-10-01 20:15 ` redi at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2021-10-01 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Fixed, thanks for noticing this!

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

end of thread, other threads:[~2021-10-01 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-27 15:17 [Bug libstdc++/102100] New: _GLIBCXX_ASSERTIONS information missing unlvsur at live dot com
2021-08-27 16:55 ` [Bug libstdc++/102100] [12 Regression] _GLIBCXX_ASSERTIONS information missing under _GLIBCXX_VERBOSE==1 redi at gcc dot gnu.org
2021-10-01 20:15 ` cvs-commit at gcc dot gnu.org
2021-10-01 20:15 ` redi 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).