[Bug c++/65638] New: Crash on invalid input
JamesMikeDuPont at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 12:38:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65638
Bug ID: 65638
Summary: Crash on invalid input
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: JamesMikeDuPont at googlemail dot com
using the invalid input file:
```
void crash (bool
```
found using permutation testing based on the
https://h4ck3rm1k3.wordpress.com/2015/03/31/test-random-permutations-of-files-and-lines-for-gccgo-golang-go-compiler-bug-reporting/
Arch:
Linux gcc2-power8.osuosl.org 3.17.4-301.fc21.ppc64le #1 SMP Mon Dec 1 07:51:01
UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
crashes on :
gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1)
and
gcc (GCC) 5.0.0 20150331 (experimental)
but not on :
Linux 3.10-1-amd64 #1 SMP Debian 3.10.3-1 (2013-07-27) x86_64 GNU/Linux
with g++-4.9 (Debian 4.9.2-10) 4.9.2
```
test.cc:1:14: error: expected ‘,’ or ‘...’ at end of input
void crash ( bool
^
test.cc:1:14: error: expected ‘)’ at end of input
test.cc:1:14: error: expected initializer at end of input
```
More information about the Gcc-bugs
mailing list