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]

Re: gcc.c-torture/unsorted/loop386.c fails on sh-elf


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

> On Feb  9, 2001, Jason Merrill <jason@redhat.com> wrote:
>> The problem was that reorder_basic_blocks was throwing away most of the
>> block structure for foo.  The fix is to emit the abstract debugging info
>> before optimizing:

> Is there any reason why you still haven't checked it in?  If not, I
> have one: it breaks in case the function being outlined is
> artificial.  I have only been able to trigger the problem with
> -fno-new-abi

Unfortunately, now that -fno-new-abi is gone, I can't reproduce this.  All
the tests pass for me, so I'm going to check it in as is and if anything
breaks I'll fix it then.

> We'd crash when emitting debugging info for the typeinfo function of
> class filebuf, because we hadn't generated a declaration attribute
> when emitting the abstract function.

We shouldn't have to.

Jason


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