From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1657 invoked by alias); 9 Jul 2014 12:49:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 1575 invoked by uid 48); 9 Jul 2014 12:49:10 -0000 From: "dougmencken at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug objc++/61759] New: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2792 Date: Wed, 09 Jul 2014 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: objc++ X-Bugzilla-Version: 4.8.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dougmencken at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-07/txt/msg00548.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 Bug ID: 61759 Summary: internal compiler error: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2792 Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: objc++ Assignee: unassigned at gcc dot gnu.org Reporter: dougmencken at gmail dot com I cannot compile some LibreOffice .mm files using gcc-4.8.3 on OS X 10.5. Many of them fails with ICE when -O2 is used, but with -O(1) they compiles. I cannot also compile .cxx files when -x objective-c++ is used on gcc line. All of them ICE at the same spot: "in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.c:2792" This one (vcl/osx/a11yselectionwrapper.mm) ICEs even with -O: S=/lo-build && I=$S/instdir && W=$S/workdir && mkdir -p $W/ObjCxxObject/vcl/osx/ $W/Dep/ObjCxxObject/vcl/osx/ && cd /lo-build && /usr/bin/ccache g++ -save-temps -mmacosx-version-min=10.5 -DCPPU_ENV=gcc3 -DLIBO_INTERNAL_ONLY -DMACOSX -DMACOSX_SDK_VERSION=1050 -DMAC_OS_X_VERSION_MAX_ALLOWED=1050 -DMAC_OS_X_VERSION_MIN_REQUIRED=1050 -DNDEBUG -DNO_PTHREAD_PRIORITY -DOPTIMIZE -DOSL_DEBUG_LEVEL=0 -DPOWERPC -DPPC -DSUPD=440 -DUNIX -DUNX -D_PTHREADS -D_REENTRANT -DRTL_USING -DVCL_DLLIMPLEMENTATION -DCUI_DLL_NAME=\"libcuilo.dylib\" -DDESKTOP_DETECTOR_DLL_NAME=\"\" -DTK_DLL_NAME=\"libtklo.dylib\" -DVCLPLUG_SVP_DLL_NAME=\"\" -DMACOSX_BUNDLE_IDENTIFIER=\"org.libreoffice.script\" -DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden -Wall -Wendif-labels -Wextra -Wundef -Wunused-macros -fmessage-length=0 -fno-common -pipe -fno-threadsafe-statics -fPIC -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-strict-aliasing -fsigned-char -std=gnu++11 -O -c $S/vcl/osx/a11yselectionwrapper.mm -o $W/ObjCxxObject/vcl/osx/a11yselectionwrapper.o -MMD -MT $W/ObjCxxObject/vcl/osx/a11yselectionwrapper.o -MP -MF $W/Dep/ObjCxxObject/vcl/osx/a11yselectionwrapper.d_ -I$S/vcl/osx/ -I$W/UnpackedTarball/lcms2/include -I$W/UnpackedTarball/icu/source -I$W/UnpackedTarball/icu/source/i18n -I$W/UnpackedTarball/icu/source/common -I$W/UnpackedTarball/boost -I$W/UnpackedTarball/jpeg -I$S/include -isystem /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers -I$S/config_host -I$W/CustomTarget/officecfg/registry -I$W/CustomTarget/vcl/generic/fontmanager -I$S/vcl/inc -I$W/UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal -I$W/CustomTarget/officecfg/registry -I$W/UnpackedTarball/nss/dist/public/nss -I$W/UnpackedTarball/nss/dist/out/include && mv $W/Dep/ObjCxxObject/vcl/osx/a11yselectionwrapper.d_ $W/Dep/ObjCxxObject/vcl/osx/a11yselectionwrapper.d $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-unknown-darwin/4.8.3/lto-wrapper Target: powerpc-unknown-darwin Configured with: ../gcc-4.8.3/configure --build=powerpc-unknown-darwin --host=powerpc-unknown-darwin --target=powerpc-unknown-darwin --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --with-slibdir=/usr/lib --program-prefix= --enable-languages=c,c++,objc,obj-c++ --enable-checking=release --enable-stage1-checking --enable-shared --enable-static --enable-threads=posix --with-__thread --with-system-zlib --disable-werror Thread model: posix gcc version 4.8.3 (GCC)