[Bug c++/64235] New: Internal compiler error (Segmentation fault)
wolfgang.roehrl@gi-de.com
gcc-bugzilla@gcc.gnu.org
Tue Dec 9 12:19:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64235
Bug ID: 64235
Summary: Internal compiler error (Segmentation fault)
Product: gcc
Version: 4.8.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: wolfgang.roehrl@gi-de.com
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 X.CPP
struct S
{ double d; };
struct alignas(sizeof(S) S1
{ char d[sizeof(S)]; };
The compiler crashes due to a syntax error ("alignas(sizeof(S)" instead of
"alignas(sizeof(S))") with the following message:
X.CPP:4:26: internal compiler error: Segmentation fault
struct alignas(sizeof(S) S1
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Kind regards
W. Roehrl
More information about the Gcc-bugs
mailing list