https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68427
Bug ID: 68427 Summary: GCC (G++) flunks legal ANSI-C code Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wam at hiwaay dot net Target Milestone: --- Host: FreeBSD 9.3R AMD64 Target: FreeBSD 9.3R AMD64 Created attachment 36768 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36768&action=edit Tar file of code to reproduce bug & logs of my 2 attempts to compile .... I try to compile some code containing unit testing coding which references routines declared in included headers, compiler balks, says routine is not declared in this scope. Code compiles under Intel icc every night for the last couple of years. I tried GCC 5.2.1 1st, then GCC 4.8.5, both failed to compile the (I say ANSI-C) legal code snippet, cut down from original file I tried. [wam@kabini1, ~, 7:18:14pm] 787 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p24 FreeBSD 9.3-RELEASE-p24 #0: Sat Aug 22 01:54:44 UTC 2015 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [wam@kabini1, ~, 7:19:49pm] 788 %