OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.dg/torture/pr36191.C: Don't run with -fomit-frame-pointer on
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
str_empty.C
1
// PR c++/31617
2
// Segfault in integer_zerop
3
// Origin: Andrew Pinski <andrew_pinski@playstation.sony.com>
4
// { dg-do compile }
5
6
struct polynomial {
7
~polynomial ();
8
};
9
10
void spline_rep1 ()
11
{
12
new polynomial[0]; // { dg-bogus "allocating zero-element array" }
13
}
14
15