public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60202] New: < 128 alignment for vector<T> data where T has a member with alignas(128)
@ 2014-02-14 18:12 ilja.honkonen at helsinki dot fi
  2014-02-14 18:13 ` [Bug c++/60202] " ilja.honkonen at helsinki dot fi
  2014-02-14 18:25 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: ilja.honkonen at helsinki dot fi @ 2014-02-14 18:12 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4427 bytes --]

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60202

            Bug ID: 60202
           Summary: < 128 alignment for vector<T> data where T has a
                    member with alignas(128)
           Product: gcc
           Version: 4.8.2
               URL: http://listengine.tuxfamily.org/lists.tuxfamily.org/ei
                    gen/2014/02/msg00033.html
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ilja.honkonen at helsinki dot fi
            Target: x86_64-redhat-linux

gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-isl=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/isl-install
--with-cloog=/builddir/build/BUILD/gcc-4.8.2-20131212/obj-x86_64-redhat-linux/cloog-install
--with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Säiemalli: posix
gcc-versio 4.8.2 20131212 (Red Hat 4.8.2-7) (GCC)

Command line: g++ -std=c++0x -W -Wall -Wextra -pedantic -O3 testi.cpp -o testi
where testi.cpp is http://ideone.com/XpgXyG and is also attached.

No compiler output to stdout.

Example of program output:

Address 0x7fffeb791c80 is 128 bytes aligned.
Address 0x7fffeb791d00 is 256 bytes aligned.
Address 0xafa010 is 16 bytes aligned.
Address 0xafa0a0 is 32 bytes aligned.
Address 0xafa1b0 is 16 bytes aligned.
Address 0xafa6c0 is 64 bytes aligned.

Shouldn't all of the printed addresses be at least 128 byte aligned or
compilation should fail?
>From gcc-bugs-return-443589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Feb 14 18:13:57 2014
Return-Path: <gcc-bugs-return-443589-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 1822 invoked by alias); 14 Feb 2014 18:13:56 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 1797 invoked by uid 48); 14 Feb 2014 18:13:53 -0000
From: "ilja.honkonen at helsinki dot fi" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/60202] < 128 alignment for vector<T> data where T has a member with alignas(128)
Date: Fri, 14 Feb 2014 18:13:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 4.8.2
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: ilja.honkonen at helsinki dot fi
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-60202-4-xkXMKqgAgv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60202-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60202-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-02/txt/msg01346.txt.bz2
Content-length: 215

http://gcc.gnu.org/bugzilla/show_bug.cgi?id`202

--- Comment #2 from ilja.honkonen at helsinki dot fi ---
Created attachment 32138
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id2138&actioníit
saved temp


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/60202] < 128 alignment for vector<T> data where T has a member with alignas(128)
  2014-02-14 18:12 [Bug c++/60202] New: < 128 alignment for vector<T> data where T has a member with alignas(128) ilja.honkonen at helsinki dot fi
@ 2014-02-14 18:13 ` ilja.honkonen at helsinki dot fi
  2014-02-14 18:25 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ilja.honkonen at helsinki dot fi @ 2014-02-14 18:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60202

--- Comment #1 from ilja.honkonen at helsinki dot fi ---
Created attachment 32137
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32137&action=edit
source


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/60202] < 128 alignment for vector<T> data where T has a member with alignas(128)
  2014-02-14 18:12 [Bug c++/60202] New: < 128 alignment for vector<T> data where T has a member with alignas(128) ilja.honkonen at helsinki dot fi
  2014-02-14 18:13 ` [Bug c++/60202] " ilja.honkonen at helsinki dot fi
@ 2014-02-14 18:25 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-02-14 18:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60202

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://listengine.tuxfamily |
                   |.org/lists.tuxfamily.org/ei |
                   |gen/2014/02/msg00033.html   |

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
We don't have a operator new which supports alignas yet.
http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2014/02/msg00033.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-14 18:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-14 18:12 [Bug c++/60202] New: < 128 alignment for vector<T> data where T has a member with alignas(128) ilja.honkonen at helsinki dot fi
2014-02-14 18:13 ` [Bug c++/60202] " ilja.honkonen at helsinki dot fi
2014-02-14 18:25 ` pinskia at gcc dot gnu.org

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).