View Issue Details

IDProjectCategoryView StatusLast Update
0016180CentOS-7gccpublic2019-06-13 00:27
Reporterajschult 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0016180: Internal compiler error with no-var-tracking-assignments attribute
Descriptiongcc encounters an internal compiler error when trying to build current LAMMPS from source (https://github.com/lammps/lammps). I'll attach a testcase along with precprocessed source. Without -g or with -O0, there's no crash.

gcc-c++-4.8.5-36.el7_6.2.x86_64

I also see a crash with
#pragma GCC optimize ("no-var-tracking")
Steps To Reproduce1. Download testcase
2. g++ -g -O1 -c test.cpp

Result:
test.cpp: In function ‘void foo()’:
test.cpp:15:1: internal compiler error: Segmentation fault
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccA6oI9n.out file, please attach this to your bugreport.
TagsNo tags attached.
abrt_hash
URL

Activities

ajschult

ajschult

2019-06-13 00:27

reporter  

test.cpp (203 bytes)
ccA6oI9n.out (237,513 bytes)

Issue History

Date Modified Username Field Change
2019-06-13 00:27 ajschult New Issue
2019-06-13 00:27 ajschult File Added: test.cpp
2019-06-13 00:27 ajschult File Added: ccA6oI9n.out