This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in gcc-2.95 prerelease
> Hmmm, i would expect that if the compiler supports
> -fno-exceptions then it should behave "correctly" for it. Requiring
> the user to throw exceptions when exceptions are disabled doesn't fit
> my definition of correct behavior.
[-fpermissive]
> and lose other (really good, btw) error messages? I'd rather
> do the hack with the temporary variable....
Ok. So what do you want to hear? You've found a work-around; go ahead
an use it.
While I think the compiler behaviour could be improved here, it is not
a very high priority on my list (given the long list of real
bugs). Feel free to submit a patch to egcs-patches@egcs.cygnus.com if
you think this absolutely must be fixed.
Regards,
Martin