[Bug c++/85045] New: ICE+SIGILL on valid C++ code: cxx_pretty_printer::postfix_expression(tree_node*) (), at cp/cxx-pretty-print.c:482
rimvydas.jas at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 23 08:00:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85045
Bug ID: 85045
Summary: ICE+SIGILL on valid C++ code:
cxx_pretty_printer::postfix_expression(tree_node*) (),
at cp/cxx-pretty-print.c:482
Product: gcc
Version: 8.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rimvydas.jas at gmail dot com
Target Milestone: ---
Trunk on openSUSE and DragonFly on x86_64. Reduced testcase:
$ cat spacejunk.cpp
typedef struct tt {
unsigned short h;
} tt;
void mainScreen(float a)
{
tt numlrect = {int(100/a)};
}
$ /opt/gcc/20180323/bin/g++ -c spacejunk.cpp -std=c++98
$ /opt/gcc/20180323/bin/g++ -c spacejunk.cpp
g++: internal compiler error: Segmentation fault signal terminated program
cc1plus
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://gcc.gnu.org/bugs/> for instructions.
More information about the Gcc-bugs
mailing list