Bug 107433 - 510.parest_r, call of overloaded 'back_interpolate' is ambiguous
Summary: 510.parest_r, call of overloaded 'back_interpolate' is ambiguous
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 13.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks: spec
  Show dependency treegraph
 
Reported: 2022-10-27 12:02 UTC by Rama Malladi
Modified: 2022-10-27 14:51 UTC (History)
1 user (show)

See Also:
Host: aarch64
Target: aarch64
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rama Malladi 2022-10-27 12:02:53 UTC
$ g++ -mabi=lp64 -c -o source/fe/fe_tools.o -DSPEC -DNDEBUG -Iinclude -I. -DSPEC_AUTO_SUPPRESS_OPENMP -g -O3 -mcpu=native -fpermissive  -DSPEC_LP64 source/fe/fe_tools.cc

source/fe/fe_tools.cc:1301:21: error: call of overloaded 'back_interpolate(const dealii::DoFHandler<3, 3>&, const dealii::BlockVector<double>&, const dealii::FiniteElement<3, 3>&, dealii::BlockVector<double>&)' is ambiguous
 1301 |     back_interpolate(dof1, u1, dof2.get_fe(), u1_interpolated);
      |     ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ /home/ubuntu/gccmainline/bin/g++  -v
Using built-in specs.
COLLECT_GCC=/home/ubuntu/gccmainline/bin/g++
COLLECT_LTO_WRAPPER=/home/ubuntu/gccmainline/libexec/gcc/aarch64-unknown-linux-gnu/13.0.0/lto-wrapper
Target: aarch64-unknown-linux-gnu
Configured with: ../configure --prefix=/home/ubuntu/gccmainline --enable-languages=c,fortran
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.0.0 20221026 (experimental) (GCC)
Comment 1 Martin Liška 2022-10-27 14:45:31 UTC
As mentioned slightly here: https://www.spec.org/cpu2017/Docs/benchmarks/510.parest_r.html
please use -std=c++98 or something < c++17.
Comment 2 Rama Malladi 2022-10-27 14:51:58 UTC
(In reply to Martin Liška from comment #1)
> As mentioned slightly here:
> https://www.spec.org/cpu2017/Docs/benchmarks/510.parest_r.html
> please use -std=c++98 or something < c++17.

Thank you. I had it for C compiler. Will add it to C++ compiler command-line too.