This is the mail archive of the gcc@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: Compiler crash with block numbers


IS_UNKNOWN_LOCATION checks if the source location is unknown.
== UNKNONW_LOCATION checks if source location is unknown and the block is NULL.

Yes, they are error-prone, I'll have a separate patch to clean up
IS_UNKNOWN_LOCATION later.

On Fri, Sep 21, 2012 at 4:17 AM, Ian Lance Taylor <iant@google.com> wrote:
> On Thu, Sep 20, 2012 at 12:59 PM, Dehao Chen <dehao@google.com> wrote:
>>
>> gcc/ChangeLog:
>>         tree-eh.c (lower_try_finally_dup_block): Use correct way to
>> check unknown location.
>
> While you think about my questions, let's fix the bootstrap.  This
> patch is OK if it passes bootstrap and a gcc and libstdc++ testsuite
> run.

Okay, I'll check it in if the tests are passed.

Thanks,
Dehao

>
> If it does fix the problem in http://gcc.gnu.org/PR54645 , then please add
>     PR rtl-optimization/54645
> to the ChangeLog entry
>
> Thanks for the quick turnaround.
>
> Ian


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