From: Richard Biener <richard.guenther@gmail.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: mliska@suse.cz,gcc-patches@gcc.gnu.org
Subject: Re: Still crashes due to aliasing violation (Re: [RFC, PATCH] Split pool_allocator and create a new object_allocator)
Date: Fri, 17 Jul 2015 18:12:00 -0000 [thread overview]
Message-ID: <26EECF4D-E3C8-4BF7-8742-A21F21313525@gmail.com> (raw)
In-Reply-To: <20150717165432.5EC28B042@oc7340732750.ibm.com>
On July 17, 2015 6:54:32 PM GMT+02:00, Ulrich Weigand <uweigand@de.ibm.com> wrote:
>Richard Biener wrote:
>> On July 17, 2015 3:50:19 PM GMT+02:00, "Martin LiÃ
¡ka"
><mliska@suse.cz> wrote:
>> >Question is why aliasing oracle still wrongly aliases these
>pointers?
>> >Another option (suggested by Martin Jambor) would be to place
>> >::allocate implementation
>> >to alloc-pool.c file.
>>
>> Note that all compilers up to 4.4 have aliasing issues with placement
>new.
>> A fix is to move the placement new out-of-line.
>
>Yes, that's what I just noticed as well. In fact, my particular
>problem
>already disappears with 4.3, presumably due to the fix for PR 29286.
>
>So do we now consider host compilers < 4.3 (4?) unsupported for
>building
>mainline GCC, or should we try to work around the issue (e.g. by moving
>the allocator out-of-line or using some other aliasing barrier)?
Why is this an issue for stage1 which runs w/o optimization? For cross compiling we already suggest using known good compilers.
>Bye,
>Ulrich
next prev parent reply other threads:[~2015-07-17 17:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 14:01 [RFC, PATCH] Split pool_allocator and create a new object_allocator Martin Liška
2015-07-02 20:09 ` Richard Sandiford
2015-07-02 21:08 ` Trevor Saunders
2015-07-03 8:56 ` Richard Sandiford
2015-07-03 10:11 ` Martin Liška
2015-07-03 12:22 ` Martin Jambor
2015-07-03 13:07 ` Richard Sandiford
2015-07-03 14:15 ` Martin Liška
2015-07-03 16:19 ` Richard Sandiford
2015-07-09 21:43 ` Martin Liška
2015-07-10 14:19 ` Pat Haugen
2015-07-16 11:00 ` Martin Liška
2015-07-16 11:03 ` Richard Biener
2015-07-17 13:25 ` Still crashes due to aliasing violation (Re: [RFC, PATCH] Split pool_allocator and create a new object_allocator) Ulrich Weigand
2015-07-17 13:44 ` Richard Biener
2015-07-17 13:50 ` Ulrich Weigand
2015-07-17 13:54 ` Martin Liška
2015-07-17 15:37 ` Richard Biener
2015-07-17 17:49 ` Ulrich Weigand
2015-07-17 18:12 ` Richard Biener [this message]
2015-07-17 21:57 ` Ulrich Weigand
2015-07-18 13:04 ` Richard Biener
2015-07-17 18:14 ` Martin Liška
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26EECF4D-E3C8-4BF7-8742-A21F21313525@gmail.com \
--to=richard.guenther@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=mliska@suse.cz \
--cc=uweigand@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).