This is the mail archive of the gcc-patches@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]

Re: RFA: fix avoid random results from do_add


> tree.c:iterative_hash_expr line 3848:
> 
>       else if (code == REAL_CST)
>         val = iterative_hash (TREE_REAL_CST_PTR (t),
>                               sizeof (REAL_VALUE_TYPE), val);

P.S.: An alternative approach would be to call real_hash there.
However, I couldn't empirically test if it fixes the original problem
now - since the problem depends on memory allocation / freeing
patterns, the 'test case' (a library file from the gcc build) was
dependent on pathname lengths and the exact invocation options
(e.g. --save-temps would make the compilation succeed).


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