public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "manuel.lauss at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/111082] New: ICE in expand_fn_using_insn, at internal-fn.cc:214 (AVX512 related)
Date: Sun, 20 Aug 2023 12:23:24 +0000	[thread overview]
Message-ID: <bug-111082-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 111082
           Summary: ICE in expand_fn_using_insn, at internal-fn.cc:214
                    (AVX512 related)
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manuel.lauss at googlemail dot com
  Target Milestone: ---

Created attachment 55766
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55766&action=edit
compressed unreduced testcase

gcc version 14.0.0 20230820 (experimental)
d77c280454cfba48ef38357145cecdabc8c1b05c

# gcc -O2 -march=znver4 -mtune=znver4 -pipe -std=gnu++11  gcc14-bf.ii
In file included from
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/panodata/PanoramaData.h:40,
                 from
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/nona/Stitcher.h:51,
                 from
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/nona/Stitcher1.cpp:26:
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/panodata/PanoramaVariable.h:160:31:
warning: 'template<class _Arg, class _Result> struct std::unary_function' is
deprecated [-Wdeprecated-declarations]
  160 | struct PrintVar : public std::unary_function<Variable, void>
      |                               ^~~~~~~~~~~~~~
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/string:49,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/locale_classes.h:40,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/ios_base.h:41,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/ios:44,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/istream:40,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/sstream:40,
                 from
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/nona/Stitcher.h:32:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/stl_function.h:120:12:
note: declared here
  120 |     struct unary_function
      |            ^~~~~~~~~~~~~~
during RTL pass: expand
In file included from
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/vigra_ext/StitchWatershed.h:30,
                 from
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/nona/Stitcher.h:47:
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/vigra_ext/BlendPoisson.h:
In function 'void vigra_ext::poisson::BuildSeamPyramid(const Image&,
vigra::ImagePyramid<PyramidImage>&, int) [with Image =
vigra::BasicImage<unsigned char>; PyramidImage = vigra::BasicImage<signed
char>]':
/tmp-ram/portage/media-gfx/hugin-2022.0.0/work/hugin-2022.0.0/src/hugin_base/vigra_ext/BlendPoisson.h:650:6:
internal compiler error: in expand_fn_using_insn, at internal-fn.cc:214
  650 | void BuildSeamPyramid(const Image& input,
vigra::ImagePyramid<PyramidImage>& seams, const int minLength)
      |      ^~~~~~~~~~~~~~~~
0x5652df7942af internal_error(char const*, ...)
        ???:0
0x5652ddd04ed6 fancy_abort(char const*, int, char const*)
        ???:0


ICE goes away with -mno-avx512f appended.

Attached us an unreduced testcase.  This failure is fairly new; it did not
break 1 week ago.

             reply	other threads:[~2023-08-20 12:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-20 12:23 manuel.lauss at googlemail dot com [this message]
2023-08-20 12:33 ` [Bug middle-end/111082] " manuel.lauss at googlemail dot com
2023-08-20 17:29 ` [Bug middle-end/111082] [14 Regression] " pinskia at gcc dot gnu.org
2023-08-20 23:30 ` pinskia at gcc dot gnu.org
2023-08-21  8:41 ` rguenth at gcc dot gnu.org
2023-08-21  9:05 ` rguenth at gcc dot gnu.org
2023-08-21  9:48 ` cvs-commit at gcc dot gnu.org
2023-08-21  9:48 ` rguenth at gcc dot gnu.org
2023-08-21 16:35 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-111082-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).