[Bug c++/78846] std1y compiler infinite output
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Dec 17 17:26:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78846
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |trippels at gcc dot gnu.org
Resolution|--- |INVALID
--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to K from comment #0)
> Created attachment 40358 [details]
> .ii file
>
> I created a c++14 program to implement lazy evaluation, but the compiler
> seems to be producing infinite output.
>
> Machine (1)
> System: Darwin 13.4.0 x86_64 i386
> G++: g++-6 (Homebrew gcc 6.2.0) 6.2.0
> Command: g++-6 -std=c++1y binary_operation.cpp
>
> Machine (2)
> System: Linux 4.4.0-53-generic x86_64 x86_64 x86_64 GNU/Linux
> G++: g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
> Command: g++ -std=c++1y binary_operation.cpp
>
> (Actually, trying to compile with clang produces the same result).
If other compilers also reject your testcase why do you think this is a gcc
bug?
Please post your testcase to a more appropriate forum like stackoverflow.
More information about the Gcc-bugs
mailing list