Created attachment 35968 [details] g++.log entry for the failure I'm seeing this failure on a bare-metal aarch64-none-elf (newlib target) after: Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed Jul 1 18:27:12 2015 +0000 gcc/c-family/ * c-opts.c (c_common_post_options): Default to C++14. * gcc/testsuite/ lib/target-supports.exp (cxx_default): Set to C++14. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225272 138bc75d-0d04-0410-961f-82ee72b054a4 I'm attaching the log entry from the assembly comparison test. Running the test with /-std=gnu++98 works fine. I don't see this failure on linux targets (glibc based)
PASS: g++.dg/pch/system-2.C -O2 -g -I. -Dwithout_PCH (test for excess errors)line #1069< .stringz "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED4Ei"> .stringz "_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED4Ev"line #3819 < .stringz "_ZNSaIcED4Ei" > .stringz "_ZNSaIcED4Ev"FAIL: g++.dg/pch/system-2.C -O2 -g assembly comparison
This is related to maybe_retrofit_in_chrg somehow.
Could you please preprocess (without pch) system-2.Hs and replace its content temporarily with the preprocessed source and see if you can still reproduce it? If yes, can you please attach it?
It passes today on arm-none-eabi and aarch64-none-elf. John, does it still fail on hppa64?
On 2016-01-19 6:38 AM, ktkachov at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66858 > > --- Comment #4 from ktkachov at gcc dot gnu.org --- > It passes today on arm-none-eabi and aarch64-none-elf. > John, does it still fail on hppa64? It passed on hppa64. Dave
Therefore WORKSFORME then.