public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/110444] New: ice in real_can_shorten_arithmetic, at real.cc:1398
@ 2023-06-27 21:09 dcb314 at hotmail dot com
  2023-06-27 21:12 ` [Bug middle-end/110444] " pinskia at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dcb314 at hotmail dot com @ 2023-06-27 21:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110444
           Summary: ice in real_can_shorten_arithmetic, at real.cc:1398
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 55408
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55408&action=edit
gzipped C++ source code

The attached C++ code does this with recent gcc trunk:

$ ~/gcc/results/bin/gcc -c -w -O2 -std=c++11 bug934.cc 
during GIMPLE pass: fre
In file included from
/home/dcb38/rpmbuild/BUILD/vigra-1.11.1/vigranumpy/src/cor
e/non_local_mean.cxx:41:
/home/dcb38/rpmbuild/BUILD/vigra-1.11.1/include/vigra/non_local_mean.hxx: In
fun
ction ‘void vigra::gaussianMeanAndVariance(const MultiArrayView<DIM,
PIXEL_TYPE_
IN>&, double, MultiArrayView<DIM, PIXEL_TYPE_OUT>&, MultiArrayView<DIM,
PIXEL_TY
PE_OUT>&, MultiArrayView<DIM, PIXEL_TYPE_OUT>&) [with int DIM = 2;
PIXEL_TYPE_IN
 = TinyVector<float, 3>; SMOOTH_POLICY = TinyVector<float, 3>; PIXEL_TYPE_OUT = 
TinyVector<float, 3>]’:
/home/dcb38/rpmbuild/BUILD/vigra-1.11.1/include/vigra/non_local_mean.hxx:799:13:
 internal compiler error: in real_can_shorten_arithmetic, at real.cc:1398
  799 | inline void gaussianMeanAndVariance(
      |             ^~~~~~~~~~~~~~~~~~~~~~~
0x107bebe real_can_shorten_arithmetic(machine_mode, machine_mode)
        ../../trunk.year/gcc/real.cc:1398

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

end of thread, other threads:[~2023-06-28  7:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27 21:09 [Bug c++/110444] New: ice in real_can_shorten_arithmetic, at real.cc:1398 dcb314 at hotmail dot com
2023-06-27 21:12 ` [Bug middle-end/110444] " pinskia at gcc dot gnu.org
2023-06-27 21:14 ` pinskia at gcc dot gnu.org
2023-06-27 21:15 ` pinskia at gcc dot gnu.org
2023-06-27 21:20 ` dcb314 at hotmail dot com
2023-06-27 22:19 ` [Bug middle-end/110444] [14 Regression] " pinskia at gcc dot gnu.org
2023-06-27 23:06 ` pinskia at gcc dot gnu.org
2023-06-28  7:08 ` pinskia at gcc dot gnu.org
2023-06-28  7:20 ` pinskia at gcc dot gnu.org
2023-06-28  7:25 ` cvs-commit at gcc dot gnu.org
2023-06-28  7:25 ` 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).