This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 01/35] Introduce new type-based pool allocator.
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Martin LiÅka <mliska at suse dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 2 Jun 2015 16:00:11 +0200
- Subject: Re: [PATCH 01/35] Introduce new type-based pool allocator.
- Authentication-results: sourceware.org; auth=none
- References: <83d59ba92a3c4b3ba831ebc2fce325f0416848d0 dot 1432735040 dot git dot mliska at suse dot cz> <55660262 dot 8050401 at redhat dot com> <55670EF0 dot 6060400 at suse dot cz> <55674D20 dot 3010402 at redhat dot com> <55686A1A dot 4090105 at suse dot cz> <m2k2vmigq6 dot fsf at linux-m68k dot org> <556DB52D dot 9080903 at suse dot cz>
On Tue, Jun 2, 2015 at 3:52 PM, Martin LiÅka <mliska@suse.cz> wrote:
> On 06/02/2015 11:48 AM, Andreas Schwab wrote:
>> In file included from ../../gcc/stmt.c:78:0:
>> ../../gcc/alloc-pool.h: In function 'void expand_sjlj_dispatch_table(rtx, vec<t\
>> ree_node*>)':
>> ../../gcc/alloc-pool.h:303:4: error: 'case_node_pool.pool_allocator<case_node>:\
>> :m_block_size' may be used uninitialized in this function [-Werror=maybe-uninit\
>> ialized]
>> block = XNEWVEC (char, m_block_size);
>> ^
>> ../../gcc/stmt.c:1339:33: note: 'case_node_pool.pool_allocator<case_node>::m_bl\
>> ock_size' was declared here
>> pool_allocator<case_node> case_node_pool ("struct sjlj_case pool",
>> ^
>>
>> Andreas.
>>
>
> Hi.
>
> This patch for the issue which has been tested on x86_64-unknown-linux-pc and
> can bootstrap.
>
> Ready for trunk?
Ok.
Richard.
> Thanks,
> Martin