David Coppa wrote:
> On Tue, May 24, 2016 at 4:42 PM, Stefan Kempf <[email protected]> wrote:
> > David Coppa wrote:
> >> On Tue, 24 May 2016, [email protected] wrote:
> >>
> >> > >Synopsis:      Default OpenBSD 5.9 GCC 4.2.1 compiler segfaults when 
> >> > >compiling a sample file
> >> > >Category:      system amd64
> >> > >Environment:
> >> >         System      : OpenBSD 5.9
> >> >         Details     : OpenBSD 5.9 (GENERIC) #1761: Fri Feb 26 01:15:04 
> >> > MST 2016
> >> >                          
> >> > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
> >> >
> >> >         Architecture: OpenBSD.amd64
> >> >         Machine     : amd64
> >> > >Description:
> >> >         Default OpenBSD 5.9 GCC compiler segfaults when compiling a 
> >> > sample file, included into the repository [1].
> >> >
> >> >         [1]: https://github.com/extensibl/openbsd-gcc-4.2.1-segfault
> >> >
> >> > >How-To-Repeat:
> >> >         Follow README instructions in [1]. C sources, header files and 
> >> > GCC -save-temps files are included.
> >> >
> >> > >Fix:
> >> >         Fix unknown. Workaround - use GCC 4.9.3 from packages.
> >>
> >> Hi,
> >>
> >> The gcc diff below fixes this ICE (already tested).
> >>
> >> I don't know if GPLv3 prevents us from merging this fix... As far
> >> as I can see, it should be from before the license change.
> >
> > Looks like these two files were switched over to GPLv3 already when this
> > commit was made :-(
> >
> > https://github.com/gcc-mirror/gcc/blob/59d1149a45706f3009604aeec8848fcddba13010/gcc/tree-ssa-propagate.c
> > https://github.com/gcc-mirror/gcc/blob/59d1149a45706f3009604aeec8848fcddba13010/gcc/tree-ssa-ccp.c
> 
> Gosh... Do we have alternatives?

Hmm, looking closer at your bugzilla link, this somewhat larger diff
should also fix the same problem, but it was committed against GPLv2 sources.
Still need to try it though.

https://gcc.gnu.org/ml/gcc-patches/2006-11/msg00206.html

Reply via email to