public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33465] New: Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr
@ 2007-09-17 22:29 reichelt at gcc dot gnu dot org
2009-01-30 3:23 ` [Bug c++/33465] " paolo dot carlini at oracle dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-17 22:29 UTC (permalink / raw)
To: gcc-bugs
The following invalid testcase triggers a broken diagnostic since at least
GCC 2.95.3:
===================================
int foo(int);
void bar(double d)
{
foo(d)();
}
===================================
bug.cc: In function 'void bar(double)':
bug.cc:5: error: 'foo(#'fix_trunc_expr' not supported by dump_expr#<expression
error>)' cannot be used as a function
The other conversion is broken, too:
===================================
int foo(double);
void bar(int i)
{
foo(i)();
}
===================================
bug.cc: In function 'void bar(int)':
bug.cc:5: error: 'foo(#'float_expr' not supported by dump_expr#<expression
error>)' cannot be used as a function
--
Summary: Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not
supported by dump_expr
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: diagnostic, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33465
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/33465] Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr
2007-09-17 22:29 [Bug c++/33465] New: Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
@ 2009-01-30 3:23 ` paolo dot carlini at oracle dot com
2009-01-30 15:03 ` paolo at gcc dot gnu dot org
2009-01-30 15:05 ` paolo dot carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-01-30 3:23 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from paolo dot carlini at oracle dot com 2009-01-30 03:22 -------
On it.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |paolo dot carlini at oracle
|dot org |dot com
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-01-30 03:22:54
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33465
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/33465] Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr
2007-09-17 22:29 [Bug c++/33465] New: Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2009-01-30 3:23 ` [Bug c++/33465] " paolo dot carlini at oracle dot com
@ 2009-01-30 15:03 ` paolo at gcc dot gnu dot org
2009-01-30 15:05 ` paolo dot carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo at gcc dot gnu dot org @ 2009-01-30 15:03 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from paolo at gcc dot gnu dot org 2009-01-30 15:03 -------
Subject: Bug 33465
Author: paolo
Date: Fri Jan 30 15:03:10 2009
New Revision: 143790
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143790
Log:
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* error.c (dump_expr): Handle FIX_TRUNC_EXPR and FLOAT_EXPR.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/33465
* g++.dg/parse/error34.C: New.
* g++.dg/parse/error35.C: Likewise.
/cp
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* error.c (dump_type_prefix, dump_type_suffix): Handle
FIXED_POINT_TYPE.
/testsuite
2009-01-30 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/38655
* g++.dg/cpp0x/decltype-38655.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C (with props)
trunk/gcc/testsuite/g++.dg/parse/error34.C
trunk/gcc/testsuite/g++.dg/parse/error35.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/error.c
trunk/gcc/testsuite/ChangeLog
Propchange: trunk/gcc/testsuite/g++.dg/cpp0x/decltype-38655.C
('svn:mergeinfo' added)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33465
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/33465] Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr
2007-09-17 22:29 [Bug c++/33465] New: Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2009-01-30 3:23 ` [Bug c++/33465] " paolo dot carlini at oracle dot com
2009-01-30 15:03 ` paolo at gcc dot gnu dot org
@ 2009-01-30 15:05 ` paolo dot carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-01-30 15:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from paolo dot carlini at oracle dot com 2009-01-30 15:05 -------
Fixed for 4.4.0.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33465
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-30 15:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-17 22:29 [Bug c++/33465] New: Broken diagnostic: 'fix_trunc_expr' and 'float_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2009-01-30 3:23 ` [Bug c++/33465] " paolo dot carlini at oracle dot com
2009-01-30 15:03 ` paolo at gcc dot gnu dot org
2009-01-30 15:05 ` paolo dot carlini at oracle 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).