This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/67741] Invalid built-in usage should not cause segmentation fault in compiler


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67741

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Sep 29 13:02:42 2015
New Revision: 228243

URL: https://gcc.gnu.org/viewcvs?rev=228243&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr67741.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-math-opts.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]