public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-02  7:28 ` pinskia at gcc dot gnu.org
  2021-12-02  7:30 ` pinskia at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-02  7:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needs-reduction             |

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a pointer to member function with -fms-extensions issue.

I am reducing, the ICE can still be seen on the trunk.

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

* [Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
  2021-12-02  7:28 ` [Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once pinskia at gcc dot gnu.org
@ 2021-12-02  7:30 ` pinskia at gcc dot gnu.org
  2021-12-02  7:58 ` pinskia at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-02  7:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #8)
> This is a pointer to member function with -fms-extensions issue.
> 
> I am reducing, the ICE can still be seen on the trunk.

I should mention I was able to reproduce the failure on x86_64-linux even
though the testcase needed some changes to get the failure there.

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

* [Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
  2021-12-02  7:28 ` [Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once pinskia at gcc dot gnu.org
  2021-12-02  7:30 ` pinskia at gcc dot gnu.org
@ 2021-12-02  7:58 ` pinskia at gcc dot gnu.org
  2021-12-02 11:20 ` [Bug c++/83756] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions) pinskia at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-02  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-12-02
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not the best reduced testcase because the original one was accepted
without -fms-extensions.


template <class Fp, class A0>
auto invoke(Fp && f, A0 && a0)  -> decltype(*(a0).*f)
{
  return (*(a0)).*f;
}

struct A{    void doB(); };
void g()
{
  A a;
  invoke(&A::doB, &a);
}


---- CUT ----
Let me find one which is accepted with -fms-extensions.

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

* [Bug c++/83756] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-12-02  7:58 ` pinskia at gcc dot gnu.org
@ 2021-12-02 11:20 ` pinskia at gcc dot gnu.org
  2021-12-02 11:27 ` [Bug c++/83756] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-02 11:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|gcc (mingw64) 7.2.0 ICE in  |gcc ICE in gimplify_expr on
                   |gimplify_expr on            |boost::call_once
                   |boost::call_once            |(-fms-extensions)
           Keywords|                            |ice-on-valid-code

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
template <class Fp, class A0, class ...Args>     inline auto invoke(Fp && f, A0
&& a0, Args && ...args)  -> decltype(((*(a0)).*f)((args)...))  { }
template <class Fp, class A0> inline auto invoke(Fp && f, A0 && a0) ->
decltype((*(a0)).*f)  {
  return (*(a0)).*f;
}
struct A {
      void doA();
     void doB() { }
};
void A::doA() {
     invoke(&A::doB, this);
}

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

* [Bug c++/83756] [9/10/11/12 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-12-02 11:20 ` [Bug c++/83756] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions) pinskia at gcc dot gnu.org
@ 2021-12-02 11:27 ` pinskia at gcc dot gnu.org
  2021-12-03  2:32 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-02 11:27 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.5

--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a regression from 4.8.5.

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

* [Bug c++/83756] [9/10/11/12 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2021-12-02 11:27 ` [Bug c++/83756] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
@ 2021-12-03  2:32 ` pinskia at gcc dot gnu.org
  2021-12-06  6:09 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-03  2:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lh_mouse at 126 dot com

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

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

* [Bug c++/83756] [9/10/11/12 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2021-12-03  2:32 ` pinskia at gcc dot gnu.org
@ 2021-12-06  6:09 ` pinskia at gcc dot gnu.org
  2022-01-17 15:17 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-06  6:09 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sonoro at telefonica dot net

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

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

* [Bug c++/83756] [9/10/11/12 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2021-12-06  6:09 ` pinskia at gcc dot gnu.org
@ 2022-01-17 15:17 ` rguenth at gcc dot gnu.org
  2022-05-27  9:38 ` [Bug c++/83756] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-17 15:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

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

* [Bug c++/83756] [10/11/12/13 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2022-01-17 15:17 ` rguenth at gcc dot gnu.org
@ 2022-05-27  9:38 ` rguenth at gcc dot gnu.org
  2022-06-28 10:34 ` jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:38 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

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

* [Bug c++/83756] [10/11/12/13 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2022-05-27  9:38 ` [Bug c++/83756] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:34 ` jakub at gcc dot gnu.org
  2023-01-19 14:04 ` rguenth at gcc dot gnu.org
  2023-07-07 10:32 ` [Bug c++/83756] [11/12/13/14 " rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug c++/83756] [10/11/12/13 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2022-06-28 10:34 ` jakub at gcc dot gnu.org
@ 2023-01-19 14:04 ` rguenth at gcc dot gnu.org
  2023-07-07 10:32 ` [Bug c++/83756] [11/12/13/14 " rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-01-19 14:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2021-12-02 00:00:00         |2023-1-19

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
Re-confirmed.  The gimplifier sees

(gdb) p debug_tree (*expr_p)
 <offset_ref 0x7ffff64320a0
    type <method_type 0x7ffff642a498
        type <void_type 0x7ffff6289f18 void type_6 VOID
...
(gdb) p debug_generic_expr (*expr_p)
<<< Unknown tree: offset_ref
  **a0
  *f >>>

which supposedly is not to survive this long.

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

* [Bug c++/83756] [11/12/13/14 Regression] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions)
       [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2023-01-19 14:04 ` rguenth at gcc dot gnu.org
@ 2023-07-07 10:32 ` rguenth at gcc dot gnu.org
  11 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:32 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

end of thread, other threads:[~2023-07-07 10:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-83756-4@http.gcc.gnu.org/bugzilla/>
2021-12-02  7:28 ` [Bug c++/83756] gcc (mingw64) 7.2.0 ICE in gimplify_expr on boost::call_once pinskia at gcc dot gnu.org
2021-12-02  7:30 ` pinskia at gcc dot gnu.org
2021-12-02  7:58 ` pinskia at gcc dot gnu.org
2021-12-02 11:20 ` [Bug c++/83756] gcc ICE in gimplify_expr on boost::call_once (-fms-extensions) pinskia at gcc dot gnu.org
2021-12-02 11:27 ` [Bug c++/83756] [9/10/11/12 Regression] " pinskia at gcc dot gnu.org
2021-12-03  2:32 ` pinskia at gcc dot gnu.org
2021-12-06  6:09 ` pinskia at gcc dot gnu.org
2022-01-17 15:17 ` rguenth at gcc dot gnu.org
2022-05-27  9:38 ` [Bug c++/83756] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:34 ` jakub at gcc dot gnu.org
2023-01-19 14:04 ` rguenth at gcc dot gnu.org
2023-07-07 10:32 ` [Bug c++/83756] [11/12/13/14 " rguenth 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).