public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/94946] New: [10/11 Regression] error: ‘template<class returnType> JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d
@ 2020-05-04 19:13 marxin at gcc dot gnu.org
  2020-05-04 19:14 ` [Bug c++/94946] " marxin at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-04 19:13 UTC (permalink / raw)
  To: gcc-bugs

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.

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

end of thread, other threads:[~2020-05-07 13:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-04 19:13 [Bug c++/94946] New: [10/11 Regression] error: ‘template<class returnType> JSC::FunctionPtr::FunctionPtr(returnType (*)())’ cannot be overloaded since r10-7998-g5f1cd1da1a805c3d marxin at gcc dot gnu.org
2020-05-04 19:14 ` [Bug c++/94946] " marxin at gcc dot gnu.org
2020-05-05  4:10 ` marxin at gcc dot gnu.org
2020-05-06  8:54 ` marxin at gcc dot gnu.org
2020-05-06 18:24 ` jakub at gcc dot gnu.org
2020-05-06 18:27 ` [Bug c++/94946] [9/10/11 " mpolacek at gcc dot gnu.org
2020-05-06 18:28 ` jakub at gcc dot gnu.org
2020-05-06 19:38 ` nathan at gcc dot gnu.org
2020-05-07 12:57 ` cvs-commit at gcc dot gnu.org
2020-05-07 13:28 ` cvs-commit at gcc dot gnu.org
2020-05-07 13:46 ` cvs-commit 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).