public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392
@ 2023-07-03  0:07 denis.yaroshevskij at gmail dot com
  2023-07-03  0:16 ` [Bug c++/110524] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: denis.yaroshevskij at gmail dot com @ 2023-07-03  0:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110524
           Summary: Internal compiler error: ../csu/libc-start.c:392
           Product: gcc
           Version: 11.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: denis.yaroshevskij at gmail dot com
  Target Milestone: ---

Created attachment 55455
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55455&action=edit
.ii file

Attaching .ii file, please let me know if I didn't do it right.

```
gcc --version
gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```

Command:

```
root@055aa68a38ca:/home/dyarosh/space/eve/build_gcc_sse42# /usr/bin/g++
-I/home/dyarosh/space/eve/test -I/home/dyarosh/space/eve/examples
-I/home/dyarosh/space/eve/include -Wno-psabi -DEVE_NO_FORCEINLINE -msse4.2
-save-temps=obj -std=c++20 -Werror -Wall -Wpedantic -Wextra -o
test/unit/CMakeFiles/unit.api.regular.swizzle.shuffle_l0.exe.dir/api/regular/swizzle/shuffle_l0.cpp.o
-c /home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp
```

Output

```
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
                 from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
                 from /home/dyarosh/space/eve/test/test.hpp:17,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:
In function 'auto eve::detail::shuffle_l0_x86_within_128(eve::pattern_t<I ...>,
eve::fixed<G>, eve::sse_abi_v0::wide<T, N>)':
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:117:49:
error: ignoring attributes on template argument '__m256'
[-Werror=ignored-attributes]
  117 |       else return _mm256_permute_ps(eve::bit_cast(x, eve::as<__m256>
{}), m);
      |                                                 ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
                 from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
                 from /home/dyarosh/space/eve/test/test.hpp:17,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:
In function 'auto eve::detail::shuffle_l0_impl_(const eve::detail::delay_t&,
const eve::avx_&, eve::pattern_t<I ...>, eve::fixed<G>,
eve::sse_abi_v0::wide<T, N>) requires (same_as<typename eve::abi<Type,
Lanes>::type, eve::x86_256_>) && sizeof ... ((I ...)) * G == (N::value)':
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:200:43:
error: ignoring attributes on template argument '__m256d'
[-Werror=ignored-attributes]
  200 |     return _mm256_permute_pd(eve::bit_cast(x, eve::as<__m256d> {}),
mm);
      |                                           ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
                 from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
                 from /home/dyarosh/space/eve/test/test.hpp:17,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:
In function 'auto eve::detail::shuffle_l0_impl_(const eve::detail::delay_t&,
const eve::sse2_&, eve::pattern_t<I ...>, eve::fixed<G>,
eve::sse_abi_v0::wide<T, N>, eve::sse_abi_v0::wide<T, N>) requires 
same_as<typename eve::abi<Type, Lanes>::type, eve::x86_128_>':
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:223:47:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
  223 |       auto x_f64 = bit_cast(x, eve::as<__m128d> {});
      |                                               ^
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:224:47:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
  224 |       auto y_f64 = bit_cast(y, eve::as<__m128d> {});
      |                                               ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
                 from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
                 from /home/dyarosh/space/eve/test/test.hpp:17,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:229:46:
error: ignoring attributes on template argument '__m128'
[-Werror=ignored-attributes]
  229 |       auto x_f32 = bit_cast(x, eve::as<__m128> {});
      |                                              ^
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:230:46:
error: ignoring attributes on template argument '__m128'
[-Werror=ignored-attributes]
  230 |       auto y_f32 = bit_cast(y, eve::as<__m128> {});
      |                                              ^
In file included from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:48,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
                 from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
                 from /home/dyarosh/space/eve/test/test.hpp:17,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:245:45:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
  245 |     auto x_f64 = bit_cast(x, eve::as<__m128d> {});
      |                                             ^
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/shuffle_l0.hpp:246:45:
error: ignoring attributes on template argument '__m128d'
[-Werror=ignored-attributes]
  246 |     auto y_f64 = bit_cast(y, eve::as<__m128d> {});
      |                                             ^
In file included from
/home/dyarosh/space/eve/include/eve/detail/function/canonical_shuffle_adapter.hpp:119,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/shuffle_l0.hpp:14,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/simd/x86/try_each_group_position.hpp:10,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/try_each_group_position.hpp:56,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/impl/has_equal_in.hpp:11,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/has_equal_in.hpp:50,
                 from
/home/dyarosh/space/eve/include/eve/module/core/regular/core.hpp:86,
                 from /home/dyarosh/space/eve/include/eve/module/core.hpp:97,
                 from /home/dyarosh/space/eve/test/test.hpp:17,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_test.hpp:8,
                 from
/home/dyarosh/space/eve/test/unit/api/regular/swizzle/shuffle_l0.cpp:8:
/home/dyarosh/space/eve/include/eve/detail/function/simd/common/canonical_shuffle_adapter.hpp:
In instantiation of 'decltype (invocable(p, g,
(get<i>)(eve::detail::sfinae_friendly_apply_impl::t)...))
eve::detail::sfinae_friendly_apply_impl(auto:270, auto:271, auto:272,
kumi::tuple<Ts ...>, std::index_sequence<Is ...>) [with Ts =
{eve::sse_abi_v0::wide<unsigned int, eve::fixed<4> >,
eve::sse_abi_v0::wide<unsigned int, eve::fixed<4> >}; long unsigned int ...i =
{0, 1}; auto:270 = eve::detail::callable_object<eve::tag::shuffle_l0_impl_>;
auto:271 = eve::pattern_t<0, 5, 2, 3>; auto:272 = eve::fixed<1>]':
/home/dyarosh/space/eve/include/eve/detail/function/simd/common/canonical_shuffle_adapter.hpp:213:1:
internal compiler error: Segmentation fault
  213 | sfinae_friendly_apply_impl(auto               invocable,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
0x7f4c9dc9c51f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x7f4c9dc83d8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7f4c9dc83e3f __libc_start_main_impl
        ../csu/libc-start.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.
```

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

* [Bug c++/110524] Internal compiler error: ../csu/libc-start.c:392
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
@ 2023-07-03  0:16 ` pinskia at gcc dot gnu.org
  2023-07-03  0:21 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-03  0:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
On trunk:
/home/dyarosh/space/eve/include/eve/detail/function/simd/common/canonical_shuffle_adapter.hpp:
In instantiation of ‘decltype (invocable(p, g,
(get<i>)(eve::detail::sfinae_friendly_apply_impl::t)...))
eve::detail::sfinae_friendly_apply_impl(auto:270, auto:271, auto:272,
kumi::tuple<Ts ...>, std::index_sequence<Is ...>) [with Ts =
{eve::sse_abi_v0::wide<unsigned int, eve::fixed<4> >,
eve::sse_abi_v0::wide<unsigned int, eve::fixed<4> >}; long unsigned int ...i =
{0, 1}; auto:270 = callable_object<eve::tag::shuffle_l0_impl_>; auto:271 =
eve::pattern_t<0, 5, 2, 3>; auto:272 = eve::fixed<1>]’:
/home/dyarosh/space/eve/include/eve/detail/function/simd/common/canonical_shuffle_adapter.hpp:213:1:
internal compiler error: tree check: expected tree that contains ‘decl minimal’
structure, have ‘identifier_node’ in write_expression, at cp/mangle.cc:3315
0x95a8dc tree_contains_struct_check_failed(tree_node const*,
tree_node_structure_enum, char const*, int, char const*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/tree.cc:9073
0x7bb21b contains_struct_check(tree_node*, tree_node_structure_enum, char
const*, int, char const*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/tree.h:3691
0x7bb21b write_expression
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:3315
0xb4efbc write_expression
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:3593
0xb4edca write_expression
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:3673
0xb4f01d write_expression
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:3597
0xb4ae9d write_type
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:2489
0xb4c8b9 write_bare_function_type
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:2856
0xb4ca1c write_mangled_name
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:799
0xb4d1fa mangle_decl_string
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:4148
0xb4d3ea get_mangled_id
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:4169
0xb4d3ea mangle_decl(tree_node*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cp/mangle.cc:4207
0x159858d decl_assembler_name(tree_node*)
        /home/apinski/src/upstream-gcc-git/gcc/gcc/tree.cc:715
0xe0c161 symtab_node::get_comdat_group_id()
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cgraph.h:258
0xe0c161 analyze_functions
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cgraphunit.cc:1199
0xe0d86d symbol_table::finalize_compilation_unit()
        /home/apinski/src/upstream-gcc-git/gcc/gcc/cgraphunit.cc:2554
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

* [Bug c++/110524] Internal compiler error: ../csu/libc-start.c:392
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
  2023-07-03  0:16 ` [Bug c++/110524] " pinskia at gcc dot gnu.org
@ 2023-07-03  0:21 ` pinskia at gcc dot gnu.org
  2023-07-03 11:28 ` [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-03  0:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reducing ....

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

* [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
  2023-07-03  0:16 ` [Bug c++/110524] " pinskia at gcc dot gnu.org
  2023-07-03  0:21 ` pinskia at gcc dot gnu.org
@ 2023-07-03 11:28 ` pinskia at gcc dot gnu.org
  2023-07-15 13:53 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-03 11:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Summary|Internal compiler error:    |[C++20] ICE with use of
                   |../csu/libc-start.c:392     |function template name with
                   |                            |no prior declaration in
                   |                            |decltype
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-07-03
      Known to fail|                            |14.0, 9.5.0

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, fully reduced testcase:
```
template <typename... Ts> struct tuple {};
template <int... Ts> struct seq {};
template <typename TT, typename... Ts, int... i>
inline auto sfinae_friendly_apply_impl(TT invocable, tuple<Ts...> t, 
seq<i...>) noexcept
    -> decltype(invocable(get<i>(t)...)) {}
void run_all() {
  sfinae_friendly_apply_impl([](){}, tuple<>{}, seq<>{});
}
template<int i, typename T> int get(T);

```

Note moving the definition of get before the definition of
sfinae_friendly_apply_impl allows GCC to work.

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

* [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
                   ` (2 preceding siblings ...)
  2023-07-03 11:28 ` [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype pinskia at gcc dot gnu.org
@ 2023-07-15 13:53 ` cvs-commit at gcc dot gnu.org
  2023-07-15 14:01 ` ppalka at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-15 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

https://gcc.gnu.org/g:97ceaa110e1607ec8f4f1223200868e1642f3cc7

commit r14-2538-g97ceaa110e1607ec8f4f1223200868e1642f3cc7
Author: Patrick Palka <ppalka@redhat.com>
Date:   Sat Jul 15 09:47:36 2023 -0400

    c++: mangling template-id of unknown template [PR110524]

    This fixes a crash when mangling an ADL-enabled call to a template-id
    naming an unknown template (as per P0846R0).

            PR c++/110524

    gcc/cp/ChangeLog:

            * mangle.cc (write_expression): Handle TEMPLATE_ID_EXPR
            whose template is already an IDENTIFIER_NODE.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/fn-template26.C: New test.

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

* [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
                   ` (3 preceding siblings ...)
  2023-07-15 13:53 ` cvs-commit at gcc dot gnu.org
@ 2023-07-15 14:01 ` ppalka at gcc dot gnu.org
  2023-07-17 13:52 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-07-15 14:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
                 CC|                            |ppalka at gcc dot gnu.org
   Target Milestone|---                         |13.2
             Status|NEW                         |ASSIGNED

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 14 so far.

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

* [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
                   ` (4 preceding siblings ...)
  2023-07-15 14:01 ` ppalka at gcc dot gnu.org
@ 2023-07-17 13:52 ` cvs-commit at gcc dot gnu.org
  2023-07-17 13:53 ` ppalka at gcc dot gnu.org
  2023-07-27 10:28 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-07-17 13:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Patrick Palka
<ppalka@gcc.gnu.org>:

https://gcc.gnu.org/g:04e8808841c33d94529b144b15af5d11671dde1b

commit r13-7570-g04e8808841c33d94529b144b15af5d11671dde1b
Author: Patrick Palka <ppalka@redhat.com>
Date:   Sat Jul 15 09:47:36 2023 -0400

    c++: mangling template-id of unknown template [PR110524]

    This fixes a crash when mangling an ADL-enabled call to a template-id
    naming an unknown template (as per P0846R0).

            PR c++/110524

    gcc/cp/ChangeLog:

            * mangle.cc (write_expression): Handle TEMPLATE_ID_EXPR
            whose template is already an IDENTIFIER_NODE.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp2a/fn-template26.C: New test.

    (cherry picked from commit 97ceaa110e1607ec8f4f1223200868e1642f3cc7)

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

* [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
                   ` (5 preceding siblings ...)
  2023-07-17 13:52 ` cvs-commit at gcc dot gnu.org
@ 2023-07-17 13:53 ` ppalka at gcc dot gnu.org
  2023-07-27 10:28 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ppalka at gcc dot gnu.org @ 2023-07-17 13:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #7 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Fixed for GCC 13.2, thanks for the bug report.

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

* [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype
  2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
                   ` (6 preceding siblings ...)
  2023-07-17 13:53 ` ppalka at gcc dot gnu.org
@ 2023-07-27 10:28 ` pinskia at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-27 10:28 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-03  0:07 [Bug c++/110524] New: Internal compiler error: ../csu/libc-start.c:392 denis.yaroshevskij at gmail dot com
2023-07-03  0:16 ` [Bug c++/110524] " pinskia at gcc dot gnu.org
2023-07-03  0:21 ` pinskia at gcc dot gnu.org
2023-07-03 11:28 ` [Bug c++/110524] [C++20] ICE with use of function template name with no prior declaration in decltype pinskia at gcc dot gnu.org
2023-07-15 13:53 ` cvs-commit at gcc dot gnu.org
2023-07-15 14:01 ` ppalka at gcc dot gnu.org
2023-07-17 13:52 ` cvs-commit at gcc dot gnu.org
2023-07-17 13:53 ` ppalka at gcc dot gnu.org
2023-07-27 10:28 ` 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).