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: language option segfault


Jeffrey A Law wrote:
> Well, what version of the compiler are you using?  It is possible
> for us to map from a version # to what sources you are using.
> reporting a bug

Reading specs from
/home/users/bcurrie/lib/gcc-lib/hppa1.1-stratus-sysv4/egcs-2.92.00/specs
gcc version egcs-2.92.00 19980715 (gcc2 ss-980609 experimental)

> If "documented_lang_options[j].option" was NULL, then the original code
> would pass NULL to "check_lang_option", which would return zero.

But that was where it was dumping core.  Could "check_lang_option" have
been modified since I got the `help' changes?

> With your patch we simply do not call check_lang_option, but you still
> have to load the value of documented_lang_options[j].option.

I'm thinking that this has been fixed in another way.  If so, just
ignore my patch.  I'm supprised *I* had problems, because egcs wouldn't
build, so maybe something got hosed in my source tree.

Bill
-- 
Leave others their otherness


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