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

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
$ cat ipfilter_altivec.ii
# 5 "" 3
template <typename> struct basic_ostream {          typedef long intptr_t  
filterVertical_sp_altivec(*src,                                          
intptr_t srcStride {
    int ocol;
  __builtin_vec_vsx_ld((ocol + srcStride) * 2, src)

$ powerpc64le-linux-gnu-g++ -c -std=gnu++98 -O0 -msecure-plt -maltivec
-mabi=altivec -mcpu=power8 -Wformat=1 -Werror=format-security -Wdate-time -Wall
-Wextra -Wshadow -Wno-class-memaccess -Warray-bounds=0 -Wno-unused
-Wno-unknown-pragmas -Wno-maybe-uninitialized -fstack-protector-strong
-fno-stack-clash-protection -fPIC -ffast-math -fno-exceptions
-flax-vector-conversions -fpermissive -fasynchronous-unwind-tables 
ipfilter_altivec.ii

:5:42: note: to match this '{'
: In member function 'int basic_ostream< <template-parameter-1-1>
>::filterVertical_sp_altivec(int*, intptr_t)':
:7:23: internal compiler error: in decompose, at wide-int.h:1049
0x284ed4e internal_error(char const*, ...)
        ../../src/gcc/diagnostic-global-context.cc:787
0xb9c171 fancy_abort(char const*, int, char const*)
        ../../src/gcc/diagnostics/context.cc:1812
0x824262 wi::int_traits<generic_wide_int<wide_int_ref_storage<false, false> >
>::decompose(long*, unsigned int, generic_wide_int<wide_int_ref_storage<false,
false> > const&)
        ../../src/gcc/wide-int.h:1049
0x11ffa4e wi::int_traits<generic_wide_int<wide_int_storage> >::decompose(long*,
unsigned int, generic_wide_int<wide_int_storage> const&)
        ../../src/gcc/wide-int.h:2770
0x11ffa4e wide_int_ref_storage<true,
false>::wide_int_ref_storage<generic_wide_int<wide_int_storage>
>(generic_wide_int<wide_int_storage> const&, unsigned int)
        ../../src/gcc/wide-int.h:1099
0x11ffa4e generic_wide_int<wide_int_ref_storage<true, false>
>::generic_wide_int<generic_wide_int<wide_int_storage>
>(generic_wide_int<wide_int_storage> const&, unsigned int)
        ../../src/gcc/wide-int.h:855
0x11ffa4e wi::binary_traits<generic_wide_int<wide_int_storage>,
generic_wide_int<wide_int_storage>,
wi::int_traits<generic_wide_int<wide_int_storage> >::precision_type,
wi::int_traits<generic_wide_int<wide_int_storage>
>::precision_type>::result_type wi::bit_and<generic_wide_int<wide_int_storage>,
generic_wide_int<wide_int_storage> >(generic_wide_int<wide_int_storage> const&,
generic_wide_int<wide_int_storage> const&)
        ../../src/gcc/wide-int.h:2756
0x11d6d71 tree_nonzero_bits(tree_node const*)
        ../../src/gcc/fold-const.cc:16744
0x2112f44 tree_zero_one_valued_p(tree_node*)
       
/build/gcc-16-cross-FJRmiA/gcc-16-cross-5ubuntu2/gcc/build/gcc/generic-match-1.cc:20
0x21e6ba7 generic_simplify_CONVERT_EXPR(unsigned long, tree_code, tree_node*,
tree_node*)
       
/build/gcc-16-cross-FJRmiA/gcc-16-cross-5ubuntu2/gcc/build/gcc/generic-match-5.cc:3353
0x11e6b71 fold_unary_loc(unsigned long, tree_code, tree_node*, tree_node*)
        ../../src/gcc/fold-const.cc:9251
0x11e95fd fold_build1_loc(unsigned long, tree_code, tree_node*, tree_node*)
        ../../src/gcc/fold-const.cc:13901
0xfd72a9 fully_fold_convert
        ../../src/gcc/config/rs6000/rs6000-c.cc:845
0xfd72a9 altivec_build_resolved_builtin
        ../../src/gcc/config/rs6000/rs6000-c.cc:899
0xfd9ec6 altivec_resolve_overloaded_builtin(unsigned long, tree_node*, void*,
bool)
        ../../src/gcc/config/rs6000/rs6000-c.cc:1992
0xeaa117 finish_call_expr(tree_node*, vec<tree_node*, va_gc, vl_embed>**, bool,
bool, int)
        ../../src/gcc/cp/semantics.cc:3477
0xdbedd7 cp_parser_postfix_expression
        ../../src/gcc/cp/parser.cc:9169
0xdba8d6 cp_parser_unary_expression
        ../../src/gcc/cp/parser.cc:10649
0xd9c849 cp_parser_cast_expression
        ../../src/gcc/cp/parser.cc:11564
0xd9d9cd cp_parser_binary_expression
        ../../src/gcc/cp/parser.cc:11667
/usr/libexec/gcc-cross/powerpc64le-linux-gnu/16/cc1plus -fpreprocessed
ipfilter_altivec.ii -quiet -dumpbase ipfilter_altivec.ii -dumpbase-ext .ii
-msecure-plt -maltivec -mabi=altivec -mcpu=power8 -O0 -Wformat=1
-Werror=format-security -Wdate-time -Wall -Wextra -Wshadow -Wno-class-memaccess
-Warray-bounds=0 -Wno-unused -Wno-unknown-pragmas -Wno-maybe-uninitialized
-std=gnu++98 -fstack-protector-strong -fno-stack-clash-protection -fPIC
-ffast-math -fno-exceptions -flax-vector-conversions -fpermissive
-fasynchronous-unwind-tables -fasynchronous-unwind-tables
-fstack-protector-strong -Wformat-security -fzero-init-padding-bits=all
-Wbidi-chars=any -o /tmp/cc9YfqEJ.s
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-16/README.Bugs> for instructions.

Reply via email to