Opened 4 months ago
#70410 new defect
gcc14: ICE on qdebug.h of Qt4: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2798
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | ||
Port: | gcc14, qt4-mac |
Description
Qt4 in qdebug.h
has a chunk of code which sends GCC into ICE:
inline ~QDebug() { if (!--stream->ref) { if(stream->message_output) { QT_TRY { qt_message_output(stream->type, stream->buffer.toLocal8Bit().data()); } QT_CATCH(std::bad_alloc&) { /* We're out of memory - give up. */ } } delete stream; } }
What happens:
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_tomahawk/tomahawk/work/tomahawk-0.8.4/src/tomahawk/mac/TomahawkApp_Mac.mm:163:25: warning: multi-character character constant [-Wmultichar] 163 | forEventClass:'WWW!' | ^~~~~~ /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_tomahawk/tomahawk/work/tomahawk-0.8.4/src/tomahawk/mac/TomahawkApp_Mac.mm:164:25: warning: multi-character character constant [-Wmultichar] 164 | andEventID:'OURL']; | ^~~~~~ during GIMPLE pass: eh In file included from /opt/local/libexec/qt4/include/QtNetwork/qabstractsocket.h:48, from /opt/local/libexec/qt4/include/QtNetwork/qhostaddress.h:4, from /opt/local/libexec/qt4/include/QtNetwork/qnetworkproxy.h:45, from /opt/local/libexec/qt4/include/QtNetwork/QNetworkProxy:1, from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_tomahawk/tomahawk/work/tomahawk-0.8.4/src/libtomahawk/utils/TomahawkUtils.h:28, from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_tomahawk/tomahawk/work/tomahawk-0.8.4/src/libtomahawk/Result.h:28, from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_tomahawk/tomahawk/work/tomahawk-0.8.4/src/tomahawk/./TomahawkWindow.h:25, from /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_audio_tomahawk/tomahawk/work/tomahawk-0.8.4/src/tomahawk/mac/TomahawkApp_Mac.mm:24: /opt/local/libexec/qt4/include/QtCore/qdebug.h: In destructor 'QDebug::~QDebug(': /opt/local/libexec/qt4/include/QtCore/qdebug.h:81:12: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2798 81 | inline ~QDebug() { | ^ Please submit a full bug report, with preprocessed source (by using -freport-bug).
Is there something wrong with Qt4 code here or is it actually a bug in GCC?
Note: See
TracTickets for help on using
tickets.