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 fortran/64244] [4.8/4.9/5 Regression] ICE at class.c:236 when using non_overridable


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

--- Comment #14 from OndÅej ÄertÃk <ondrej.certik at gmail dot com> ---
On Tue, Dec 16, 2014 at 4:24 PM, OndÅej ÄertÃk <ondrej.certik@gmail.com> wrote:
> On Tue, Dec 16, 2014 at 1:46 PM, janus at gcc dot gnu.org
> <gcc-bugzilla@gcc.gnu.org> wrote:
>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64244
>>
>> --- Comment #12 from janus at gcc dot gnu.org ---
>> (In reply to OndÅej ÄertÃk from comment #11)
>>> So my system (RHEL6) libstdc++ library might be incompatible with the
>>> trunk, but I don't see why gcc couldn't compile. Any ideas how to fix
>>> this?
>>
>> Unfortunately I have no idea. It might possibly help to use --disable-bootstrap
>> or --disable-multilib when configuring (just guessing here).
>>
>> In general, if you have trouble building GCC, you might get help from
>> gcc-help@gcc.gnu.org (or, for Fortran-related things: fortran@gcc.gnu.org).
>>
>> Note that some people offer nightly builds of the GCC trunk, see
>> https://gcc.gnu.org/wiki/GFortranBinaries.
>
> Thanks, I might ask for help there later. In the meantime I just
> backported your patch to 4.9.2 and recompiled. I tested on our code
> base, but I realized that I also need your and Andre's patch from
> here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60255, so I am
> recompiling again.

I tested it and it seems to be working! The code compiled with
non_overridable on.

There are run-time segfaults and array bounds mismatches in our code,
that don't happen with ifort, so I will be slowly isolating those and
reporting them. They seem unrelated to the non_overridable issue, as
they also happen when I remove non_overridable.

Ondrej

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