public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53503] New: [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
@ 2012-05-28  4:39 liling at gmail dot com
  2012-05-28 11:17 ` [Bug c++/53503] " paolo.carlini at oracle dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: liling at gmail dot com @ 2012-05-28  4:39 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53503
           Summary: [4.7 Regression] [C++0x] unexpected AST of kind
                    ltgt_expr
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: liling@gmail.com


Created attachment 27510
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27510
Preporcessed source

G++ 4.7 can't compile a one-line file with both -std=c++0x and
-fno-trapping-math:

$ cat a.cpp
#include <cmath>
$ g++ -fno-trapping-math -std=c++0x -c a.cpp
In file included from a.cpp:1:0:
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/cmath: In
function ‘constexpr bool std::islessgreater(float, float)’:
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/cmath:764:47:
sorry, unimplemented: unexpected AST of kind ltgt_expr
/usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../include/c++/4.7.0/cmath:764:
confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccGqxqjD.out file, please attach this to
your bugreport.

I was using GCC 4.7.0 20120507 on Fedora 17.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-28 12:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28  4:39 [Bug c++/53503] New: [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr liling at gmail dot com
2012-05-28 11:17 ` [Bug c++/53503] " paolo.carlini at oracle dot com
2012-05-28 12:11 ` paolo at gcc dot gnu.org
2012-05-28 12:12 ` paolo at gcc dot gnu.org
2012-05-28 12:12 ` paolo.carlini at oracle dot com
2012-05-28 12:38 ` paolo at gcc dot gnu.org
2012-05-28 12:53 ` liling at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).