This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77748] pr77550.C fails on arm-none-eabi
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 27 Sep 2016 09:53:20 +0000
- Subject: [Bug c++/77748] pr77550.C fails on arm-none-eabi
- Auto-submitted: auto-generated
- References: <bug-77748-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77748
--- Comment #6 from Andreas Schwab <schwab@linux-m68k.org> ---
On m68k it crashes here:
Program received signal SIGSEGV, Segmentation fault.
__GI_memcmp (s1=0x0, s2=0x0, len=2285895680) at memcmp.c:333
333 memcmp.c: No such file or directory.
(gdb) up
#1 0x8000093c in std::char_traits<char>::compare (p3=<optimized out>,
p2=<optimized out>) at ../gcc/testsuite/g++.dg/pr77550.C:221
221 return __builtin_memcmp(0, p2, p3);
With the change in #c5 it runs successfully.