https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67549
Bug ID: 67549 Summary: internal compiler error: in fold_binary_loc Product: gcc Version: 4.8.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wolfgang.roe...@gi-de.com Target Milestone: --- Hi, I would like to post a bug report for the GNU C/C++ compiler 4.8.3. We use the compiler to generate code for a PowerPC processor. Invokation line for the GNU C++ compiler: ccppc -c -x c++ -std=c++11 -Wall -Werror -g -mcpu=8540 -meabi -ftls-model=local-exec -msdata=sysv -fno-common -mspe -mabi=spe -mfloat-gprs=double -mbig -mmultiple -mno-string -misel -mstrict-align -fverbose-asm -fno-exceptions -fno-rtti -fgcse-sm -fno-section-anchors -ftemplate-backtrace-limit=20 -G 8 -O3 -I<some include paths> -D<some #define's> X.CPP -oX.O // file test.CPP class B { public: typedef void (B::* T_PTRFUNC)(int); virtual void elem_func (int); static T_PTRFUNC ptr_func = &B::elem_func; }; ..compiling this file I get the following message: test.CPP:6:37: internal compiler error: in fold_binary_loc, at fold-const.c:9907 static T_PTRFUNC ptr_func = &B::elem_func; ^ Kind regards W. Roehrl