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

            Bug ID: 94946
           Summary: [10/11 Regression] error: ‘template<class returnType>
                    JSC::FunctionPtr::FunctionPtr(returnType (*)())’
                    cannot be overloaded since r10-7998-g5f1cd1da1a805c3d
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: needs-reduction
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jason at gcc dot gnu.org
  Target Milestone: ---

Created attachment 48445
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48445&action=edit
Unreduced test-case

It's a recent regression on i586 target seen on libqt5-qtwebkit package:
$ g++ qt.ii -c -m32 -fmax-errors=1
^C
marxin@marxinbox:~/BIG/osc/openSUSE:Factory:Staging:N/libqt5-qtwebkit> export
PATH=/home/marxin/bin/gcc/bin/:/home/marxin/bin/cvise/usr/local/bin:$PATH &&
export LD_LIBRARY_PATH=/home/marxin/bin/gcc/lib64/:$LD_LIBRARY_PATH
marxin@marxinbox:~/BIG/osc/openSUSE:Factory:Staging:N/libqt5-qtwebkit> g++
qt.ii -c -m32 -fmax-errors=1
In file included from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/jit/JITStubRoutine.h:32,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/heap/JITStubRoutineSet.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/heap/Heap.h:33,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/heap/DeferGC.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/runtime/ConcurrentJITLock.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/bytecode/ArrayProfile.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:184:5:
error: ‘template<class returnType> JSC::FunctionPtr::FunctionPtr(returnType
(*)())’ cannot be overloaded with ‘template<class returnType>
JSC::FunctionPtr::FunctionPtr(returnType (*)())’
In file included from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/jit/JITStubRoutine.h:32,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/heap/JITStubRoutineSet.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/heap/Heap.h:33,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/heap/DeferGC.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/runtime/ConcurrentJITLock.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/bytecode/ArrayProfile.h:29,
                 from
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/llint/LLIntOffsetsExtractor.cpp:28:
/home/abuild/rpmbuild/BUILD/qtwebkit-5.212.0-alpha3/Source/JavaScriptCore/assembler/MacroAssemblerCodeRef.h:94:5:
note: previous declaration ‘template<class returnType>
JSC::FunctionPtr::FunctionPtr(returnType (*)())’
compilation terminated due to -fmax-errors=1.

I'm reducing that right now.

Reply via email to