public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/90750] [9/10 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162
       [not found] <bug-90750-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 11:58 ` jakub at gcc dot gnu.org
  2020-04-27 21:22 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.3                         |9.4

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 9.3.0 has been released, adjusting target milestone.

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

* [Bug c++/90750] [9/10 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162
       [not found] <bug-90750-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:58 ` [Bug c++/90750] [9/10 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162 jakub at gcc dot gnu.org
@ 2020-04-27 21:22 ` cvs-commit at gcc dot gnu.org
  2020-04-28 15:52 ` [Bug c++/90750] [9 " cvs-commit at gcc dot gnu.org
  2020-04-28 15:54 ` jason at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-27 21:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:5f1cd1da1a805c3d00332da45c3ab78a3931af63

commit r10-7998-g5f1cd1da1a805c3d00332da45c3ab78a3931af63
Author: Jason Merrill <jason@redhat.com>
Date:   Mon Jan 27 05:45:01 2020 -0500

    c++: Avoid ICE with dependent attribute on type.

    We previously happened to accept this testcase, but never actually did
    anything useful with the attribute.  The patch for PR86379 stopped using
    TREE_TYPE as USING_DECL_SCOPE, so 'using A::b' no longer had TREE_TYPE set,
    so the language-independent decl_attributes started crashing on it.

    GNU attributes are more flexible in their placement than C++11 attributes,
    so if we encounter a dependent GNU attribute that syntactically appertains
    to a type rather than the declaration as a whole, move it to the
    declaration; that's almost certainly what the user meant, anyway.

    gcc/cp/ChangeLog
    2020-04-27  Jason Merrill  <jason@redhat.com>

            PR c++/90750
            PR c++/79585
            * decl.c (grokdeclarator): Move dependent attribute to decl.
            * decl2.c (splice_template_attributes): No longer static.

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

* [Bug c++/90750] [9 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162
       [not found] <bug-90750-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 11:58 ` [Bug c++/90750] [9/10 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162 jakub at gcc dot gnu.org
  2020-04-27 21:22 ` cvs-commit at gcc dot gnu.org
@ 2020-04-28 15:52 ` cvs-commit at gcc dot gnu.org
  2020-04-28 15:54 ` jason at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-28 15:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jason Merrill
<jason@gcc.gnu.org>:

https://gcc.gnu.org/g:aa988998be8f85334665a6b049d5d9139408c250

commit r9-8550-gaa988998be8f85334665a6b049d5d9139408c250
Author: Jason Merrill <jason@redhat.com>
Date:   Mon Jan 27 05:45:01 2020 -0500

    c++: Avoid ICE with dependent attribute on type.

    We previously happened to accept this testcase, but never actually did
    anything useful with the attribute.  The patch for PR86379 stopped using
    TREE_TYPE as USING_DECL_SCOPE, so 'using A::b' no longer had TREE_TYPE set,
    so the language-independent decl_attributes started crashing on it.

    GNU attributes are more flexible in their placement than C++11 attributes,
    so if we encounter a dependent GNU attribute that syntactically appertains
    to a type rather than the declaration as a whole, move it to the
    declaration; that's almost certainly what the user meant, anyway.

    gcc/cp/ChangeLog
    2020-01-27  Jason Merrill  <jason@redhat.com>

            PR c++/90750
            PR c++/79585
            * decl.c (grokdeclarator): Move dependent attribute to decl.
            * decl2.c (splice_template_attributes): No longer static.

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

* [Bug c++/90750] [9 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162
       [not found] <bug-90750-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-04-28 15:52 ` [Bug c++/90750] [9 " cvs-commit at gcc dot gnu.org
@ 2020-04-28 15:54 ` jason at gcc dot gnu.org
  3 siblings, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu.org @ 2020-04-28 15:54 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 9.4/10.

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

end of thread, other threads:[~2020-04-28 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-90750-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 11:58 ` [Bug c++/90750] [9/10 Regression] ICE in cp_default_conversion, at cp/typeck.c:2162 jakub at gcc dot gnu.org
2020-04-27 21:22 ` cvs-commit at gcc dot gnu.org
2020-04-28 15:52 ` [Bug c++/90750] [9 " cvs-commit at gcc dot gnu.org
2020-04-28 15:54 ` jason 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).