re PR tree-optimization/67741 (Invalid built-in usage should not cause segmentation...
authorRichard Biener <rguenther@suse.de>
Tue, 29 Sep 2015 13:02:42 +0000 (13:02 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 29 Sep 2015 13:02:42 +0000 (13:02 +0000)
commiteada851cc9fb2822989d3ef81bb5b4b08dcc81a7
tree622acbfaa22ecaaa95a141f7bf10c0291f7cd7af
parentce535a9685b11c846560cc0f9f4dded1ca558efc
re PR tree-optimization/67741 (Invalid built-in usage should not cause segmentation fault in compiler)

2015-09-29  Richard Biener  <rguenther@suse.de>

PR tree-optimization/67741
* tree-ssa-math-opts.c (pass_cse_sincos::execute): Only recognize
builtin calls with correct signature.

* gcc.dg/torture/pr67741.c: New testcase.

From-SVN: r228243
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr67741.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c