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
* [Bug c++/53503] [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
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 ` paolo.carlini at oracle dot com
2012-05-28 12:11 ` paolo at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-28 11:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53503
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-05-28
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
Target Milestone|--- |4.7.1
Ever Confirmed|0 |1
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-28 10:02:44 UTC ---
Seems very easy to fix.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/53503] [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-05-28 12:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53503
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-28 12:09:10 UTC ---
Author: paolo
Date: Mon May 28 12:09:01 2012
New Revision: 187928
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187928
Log:
gcc/cp
2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53503
* semantics.c (potential_constant_expression_1): Handle LTGT_EXPR.
libstdc++-v3
2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53503
* testsuite/26_numerics/headers/cmath/53503.cc: New.
Added:
trunk/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/libstdc++-v3/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/53503] [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
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
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-05-28 12:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53503
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-28 12:11:15 UTC ---
Author: paolo
Date: Mon May 28 12:11:04 2012
New Revision: 187929
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187929
Log:
gcc/cp
2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53503
* semantics.c (potential_constant_expression_1): Handle LTGT_EXPR.
libstdc++-v3
2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53503
* testsuite/26_numerics/headers/cmath/53503.cc: New.
Added:
branches/gcc-4_7-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/semantics.c
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/53503] [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
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
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-05-28 12:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53503
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-28 12:11:15 UTC ---
Author: paolo
Date: Mon May 28 12:11:04 2012
New Revision: 187929
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187929
Log:
gcc/cp
2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53503
* semantics.c (potential_constant_expression_1): Handle LTGT_EXPR.
libstdc++-v3
2012-05-28 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53503
* testsuite/26_numerics/headers/cmath/53503.cc: New.
Added:
branches/gcc-4_7-branch/libstdc++-v3/testsuite/26_numerics/headers/cmath/53503.cc
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/semantics.c
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-28 12:11:48 UTC ---
Fixed mainline and 4.7.1.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/53503] [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
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
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: paolo at gcc dot gnu.org @ 2012-05-28 12:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53503
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-28 12:11:48 UTC ---
Fixed mainline and 4.7.1.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/53503] [4.7 Regression] [C++0x] unexpected AST of kind ltgt_expr
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
` (4 preceding siblings ...)
2012-05-28 12:38 ` paolo at gcc dot gnu.org
@ 2012-05-28 12:53 ` liling at gmail dot com
5 siblings, 0 replies; 7+ messages in thread
From: liling at gmail dot com @ 2012-05-28 12:53 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53503
--- Comment #5 from Ling Li <liling at gmail dot com> 2012-05-28 12:37:44 UTC ---
Thanks much for the super quick fix.
^ 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).