This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix #69251 - [6 Regression] ICE in unify_array_domain on a flexible array member
- From: Martin Sebor <msebor at gmail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 04 Feb 2016 08:32:54 -0700
- Subject: Re: [PATCH] fix #69251 - [6 Regression] ICE in unify_array_domain on a flexible array member
- Authentication-results: sourceware.org; auth=none
- References: <569D9FAB dot 90705 at gmail dot com> <56A16774 dot 8040609 at redhat dot com> <56A16A86 dot 3030102 at gmail dot com> <56A6538C dot 9030602 at gmail dot com> <56B0A0E7 dot 9010606 at redhat dot com> <56B15600 dot 5070509 at gmail dot com> <20160204110515 dot GK3017 at tucnak dot redhat dot com>
On 02/04/2016 04:05 AM, Jakub Jelinek wrote:
On Tue, Feb 02, 2016 at 06:21:04PM -0700, Martin Sebor wrote:
gcc/cp/ChangeLog:
2016-02-02 Martin Sebor <msebor@redhat.com>
PR c++/69251
PR c++/69253
PR c++/69290
PR c++/69277
PR c++/69349
* class.c (walk_subobject_offsets): Avoid testing the upper bound
of a flexible array member for equality to null.
(find_flexarrays): Remove spurious whitespace introduced in r231665.
(diagnose_flexarrays): Avoid checking the upper bound of arrays.
(check_flexarrays): Same.
This broke bootstrap, I've committed following fix as obvious:
Sorry. I fixed it twice in my own builds but then as I finally
committed the patch I must have applied the wrong version of it.
FWIW, I keep having trouble with the repository. Git doesn't
work to check things in at all and I have only one svn repository
that does. The other one keeps giving me the error below, so
every time I have to retest a patch I end up copying it from one
machine to another, which is obviously error prone.
$ svn switch --relocate svn://gcc.gnu.org/svn/gcc
svn+ssh://msebor@gcc.gnu.org/svn/gcc
svn: E170013: Unable to connect to a repository at URL
'svn+ssh://msebor@gcc.gnu.org/svn/gcc/trunk'
svn: E210002: To better debug SSH connection problems, remove the -q
option from 'ssh' in the [tunnels] section of your Subversion
configuration file.
svn: E210002: Network connection closed unexpectedly
Martin