https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #34 from Vittorio Zecca ---
The Intel icpc compiler complains that in the reduced testcase
ansi-alias rules are violated.
icpc gccerr45.C -Wstrict-aliasing
gccerr45.C(77) (col. 32): warning #2102: violation of ansi-alias rules
This
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #33 from rguenther at suse dot de ---
On May 17, 2016 8:55:26 PM GMT+02:00, guido at trentalancia dot net
wrote:
>https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
>
>guido at trentalancia dot net changed:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
guido at trentalancia dot net changed:
What|Removed |Added
CC||guido at trentalancia dot
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #31 from Vittorio Zecca ---
It seems the following is related to the FF compilation issue:
The program runs differently depending on the optimization level.
With gcc 5.3.0 runs same regardless of the optimization level.
// g++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #30 from rguenther at suse dot de ---
On Tue, 17 May 2016, zeccav at gmail dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
>
> Vittorio Zecca changed:
>
>What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
Vittorio Zecca changed:
What|Removed |Added
CC||zeccav at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #28 from Jonathan Wakely ---
(As I mentioned, std::aligned_storage takes a size as its template argument,
not a type, so it can't put requirements on a type T, since there is no type T
:)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #27 from Jonathan Wakely ---
(In reply to rguent...@suse.de from comment #26)
> std::aligned_storage has the requirement of a POD type T. So I
> wondered about whether the intent was to make copying it by plain
> assignment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #26 from rguenther at suse dot de ---
On Tue, 3 May 2016, redi at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
>
> --- Comment #25 from Jonathan Wakely ---
> std::aligned_storage has no equivalent of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #25 from Jonathan Wakely ---
std::aligned_storage has no equivalent of the addr() member function that would
need adjusting, it's just the union U part of the AlignedStorage2 type in
comment 23, where sizeof(T) is a template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
--- Comment #23 from Richard Biener ---
A fix for your testcase would also be to do
template
struct AlignedStorage2
{
union U
{
char mBytes[sizeof(T)];
uint64_t mDummy;
} u;
typedef T _T __attribute__((may_alias));
const _T*
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
Richard Biener changed:
What|Removed |Added
CC||jwakely.gcc at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70526
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
13 matches
Mail list logo