[Bug target/58208] deque<std::string> 32-bit "-O3" bug

tammy at Cadence dot COM gcc-bugzilla@gcc.gnu.org
Wed Aug 28 23:02:00 GMT 2013


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

--- Comment #12 from Tammy Hsu <tammy at Cadence dot COM> ---
I installed the required i686 rpms on the Fedora 19 system, and the testcase
works without crash (using the /bin/g++).

I then built gcc481 on the Fedora 19 system, the testcase also works fine when
I compile/link it with my own build gcc481.

So it may really be a glibc compatibility issue (as Mikael said in comment 7).
>From Mikael and I have done:

Not working if build gcc481 on:
RHEL 5.5 - glibc 2.5
CentOS 5.8 - glibc 2.5 (done by Mikael)
RHEL 6.3 - glibc 2.12

Working if build gcc481 on
Fedora 17 - glibc 2.15 (done by Mikael)
Fedora 19 - glibc-2.17

Also if I use the gcc481 built on RHEL 5.5 or RHEL 6.3, and run on Fedora 19,
the testcase works also. So something changed between gcc4.7.3 and gcc 4.8.1
that causes "-ftree-vectorize" optimization not work well (32bit only) with
older glibc.



More information about the Gcc-bugs mailing list