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 ipa/79375] gcc/ipa-prop.c:203:32: runtime error: reference binding to null pointer of type 'struct vec' after revision r244802


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

--- Comment #5 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Wed Feb  8 09:47:09 2017
New Revision: 245275

URL: https://gcc.gnu.org/viewcvs?rev=245275&root=gcc&view=rev
Log:
[PR 79375] Avoid passing NULL by reference

2017-02-08  Martin Jambor  <mjambor@suse.cz>

        PR ipa/79375
        * ipa-prop.c (ipa_alloc_node_params): Make static, return bool
        whether allocation happened.
        (ipa_initialize_node_params): Do not call ipa_alloc_node_params if
        nothing was allocated.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-prop.c

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