This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Overwhelmed by GCC frustration
- From: Oleg Endo <oleg dot endo at t-online dot de>
- To: Georg-Johann Lay <avr at gjlay dot de>, gcc at gcc dot gnu dot org
- Date: Tue, 01 Aug 2017 01:12:41 +0900
- Subject: Re: Overwhelmed by GCC frustration
- Authentication-results: sourceware.org; auth=none
- References: <597F2FB4.5030602@gjlay.de>
On Mon, 2017-07-31 at 15:25 +0200, Georg-Johann Lay wrote:
> Around 2010, someone who used a code snipped that I published in
> a wiki, reported that the code didn't work and hang in an
> endless loop. Soon I found out that it was due to some GCC
> problem, and I got interested in fixing the compiler so that
> it worked with my code.
>
> 1 1/2 years later, in 2011, [...]
I could probably write a similar rant. This is the life of a "minority
target programmer". Most development efforts are being done with
primary targets in mind. And as a result, most changes are being
tested only on such targets.
To improve the situation, we'd need a lot more target specific tests
which test for those regressions that you have mentioned. Then of
course somebody has to run all those tests on all those various
targets. I think that's the biggest problem. But still, with a test
case at hand, it's much easier to talk to people who have silently
introduced a regression on some "other" targets. Most of the time they
just don't know.
Cheers,
Oleg