public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/20465] [4.0 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
@ 2005-03-14  1:40 ` doko at debian dot org
  2005-03-14  1:41 ` doko at debian dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: doko at debian dot org @ 2005-03-14  1:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From doko at debian dot org  2005-03-14 01:40 -------
Created an attachment (id=8384)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8384&action=view)
preprocessed source (3.4)


-- 


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


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

* [Bug c++/20465] New: [4.0 regression] error: no matching function for call
@ 2005-03-14  1:40 doko at debian dot org
  2005-03-14  1:40 ` [Bug c++/20465] " doko at debian dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: doko at debian dot org @ 2005-03-14  1:40 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4025 bytes --]

code from the openoffice-6980-m79 tree, compiled with current (20050312) gcc-3.4
CVS, doesn't compile with current gcc-4.0 CVS (plus patch proposed in PR20381,
without the patch, the same ICE as in PR20381 is seen).

$ g++-4.0 -c -O1 !$ g++-4.0 -c -O1 smilfunctionparser-4.0.ii
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:
In constructor
‘presentation::internal::<unnamed>::ExpressionGrammar::definition<ScannerT>::definition(const
presentation::internal::<unnamed>::ExpressionGrammar&)’:
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:484:
error: no matching function for call to ‘mem_fun_ref(double
(basegfx::B2DRange::*)()const)’
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:485:
error: no matching function for call to ‘mem_fun_ref(double
(basegfx::B2DRange::*)()const)’
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:486:
error: no matching function for call to ‘mem_fun_ref(double
(basegfx::B2DRange::*)()const)’
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:487:
error: no matching function for call to ‘mem_fun_ref(double
(basegfx::B2DRange::*)()const)’


$ gcc-3.4 -O1 -c smilfunctionparser-3.4.ii
In file included from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/uno/RuntimeException.hdl:9,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/uno/RuntimeException.hpp:9,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/canvas/debug.hxx:70,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:63:
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/uno/Exception.hdl:36:
warning: `visibility' attribute does not apply to types
In file included from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/uno/RuntimeException.hpp:9,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/canvas/debug.hxx:70,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:63:
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/uno/RuntimeException.hdl:30:
warning: `visibility' attribute does not apply to types
In file included from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/lang/IllegalArgumentException.hpp:9,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/canvas/debug.hxx:73,
                 from
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/slideshow/source/engine/smilfunctionparser.cxx:63:
/home/doko/ooo/gcj/openoffice.org2-1.9.79.2/ooo-build/build/src680-m79/solver/680/unxlngi4.pro/inc/com/sun/star/lang/IllegalArgumentException.hdl:34:
warning: `visibility' attribute does not apply to types

-- 
           Summary: [4.0 regression] error: no matching function for call
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/20465] [4.0 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
  2005-03-14  1:40 ` [Bug c++/20465] " doko at debian dot org
@ 2005-03-14  1:41 ` doko at debian dot org
  2005-03-14  1:45 ` [Bug c++/20465] [4.0/4.1 " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: doko at debian dot org @ 2005-03-14  1:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From doko at debian dot org  2005-03-14 01:41 -------
Created an attachment (id=8385)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8385&action=view)
preprocessed source (4.0)


-- 


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
  2005-03-14  1:40 ` [Bug c++/20465] " doko at debian dot org
  2005-03-14  1:41 ` doko at debian dot org
@ 2005-03-14  1:45 ` pinskia at gcc dot gnu dot org
  2005-03-14  1:46 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-14  1:45 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Keywords|                            |rejects-valid
            Summary|[4.0 regression] error: no  |[4.0/4.1 regression] error:
                   |matching function for call  |no matching function for
                   |                            |call
   Target Milestone|---                         |4.0.0


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (2 preceding siblings ...)
  2005-03-14  1:45 ` [Bug c++/20465] [4.0/4.1 " pinskia at gcc dot gnu dot org
@ 2005-03-14  1:46 ` pinskia at gcc dot gnu dot org
  2005-03-14  2:26 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-14  1:46 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |20381


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (3 preceding siblings ...)
  2005-03-14  1:46 ` pinskia at gcc dot gnu dot org
@ 2005-03-14  2:26 ` pinskia at gcc dot gnu dot org
  2005-03-17 13:35 ` nathan at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-14  2:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-14 02:25 -------
Reduced testcase:
template <class _Ret, class _Tp> void mem_fun_ref(_Ret (_Tp::*__f)());
struct A { double f(); };
template <class T> void f() { mem_fun_ref(&A::f); }
void g() { f<int>(); }


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-03-14 02:25:57
               date|                            |


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (4 preceding siblings ...)
  2005-03-14  2:26 ` pinskia at gcc dot gnu dot org
@ 2005-03-17 13:35 ` nathan at gcc dot gnu dot org
  2005-03-22  9:36 ` micis at gmx dot de
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-17 13:35 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-03-14 02:25:57         |2005-03-17 13:35:00
               date|                            |


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (5 preceding siblings ...)
  2005-03-17 13:35 ` nathan at gcc dot gnu dot org
@ 2005-03-22  9:36 ` micis at gmx dot de
  2005-03-22  9:36 ` nathan at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: micis at gmx dot de @ 2005-03-22  9:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-22 09:32 -------
Subject: Bug 20465

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-03-22 09:30:25

Modified files:
	gcc/cp         : ChangeLog typeck.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: ptrmem12.C 

Log message:
	cp:
	PR c++/20465
	PR c++/20381
	* typeck.c (build_ptrmemfunc): Allow OFFSET_REF when processing a
	template.
	testsuite:
	PR c++/20465
	PR c++/20381
	* g++.dg/template/ptrmem12.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4670&r2=1.4671
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.619&r2=1.620
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5192&r2=1.5193
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ptrmem12.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |micis at gmx dot de


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (6 preceding siblings ...)
  2005-03-22  9:36 ` micis at gmx dot de
@ 2005-03-22  9:36 ` nathan at gcc dot gnu dot org
  2005-03-22  9:37 ` nathan at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-22  9:36 UTC (permalink / raw)
  To: gcc-bugs



-- 
Bug 20465 depends on bug 20381, which changed state.

Bug 20381 Summary: [4.0/4.1 Regression] ICE in build_ptrmemfunc, at cp/typeck.c:5702
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20381

           What    |Old Value                   |New Value
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (7 preceding siblings ...)
  2005-03-22  9:36 ` nathan at gcc dot gnu dot org
@ 2005-03-22  9:37 ` nathan at gcc dot gnu dot org
  2005-03-22  9:37 ` cvs-commit at gcc dot gnu dot org
  2005-03-22  9:52 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-03-22  9:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-03-22 09:35 -------
2005-03-22  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/20465
	PR c++/20381
	* typeck.c (build_ptrmemfunc): Allow OFFSET_REF when processing a
	template.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (8 preceding siblings ...)
  2005-03-22  9:37 ` nathan at gcc dot gnu dot org
@ 2005-03-22  9:37 ` cvs-commit at gcc dot gnu dot org
  2005-03-22  9:52 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-22  9:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-22 09:32 -------
Subject: Bug 20465

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-03-22 09:30:25

Modified files:
	gcc/cp         : ChangeLog typeck.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: ptrmem12.C 

Log message:
	cp:
	PR c++/20465
	PR c++/20381
	* typeck.c (build_ptrmemfunc): Allow OFFSET_REF when processing a
	template.
	testsuite:
	PR c++/20465
	PR c++/20381
	* g++.dg/template/ptrmem12.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4670&r2=1.4671
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.619&r2=1.620
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5192&r2=1.5193
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ptrmem12.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/20465] [4.0/4.1 regression] error: no matching function for call
  2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
                   ` (9 preceding siblings ...)
  2005-03-22  9:37 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-22  9:52 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-22  9:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-22 09:52 -------
Subject: Bug 20465

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	nathan@gcc.gnu.org	2005-03-22 09:52:11

Modified files:
	gcc/cp         : ChangeLog typeck.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/template: ptrmem12.C 

Log message:
	cp:
	PR c++/20465
	PR c++/20381
	* typeck.c (build_ptrmemfunc): Allow OFFSET_REF when processing a
	template.
	testsuite:
	PR c++/20465
	PR c++/20381
	* g++.dg/template/ptrmem12.C: New.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.14&r2=1.4648.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.616.2.1&r2=1.616.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.58&r2=1.5084.2.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/ptrmem12.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

end of thread, other threads:[~2005-03-22  9:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-14  1:40 [Bug c++/20465] New: [4.0 regression] error: no matching function for call doko at debian dot org
2005-03-14  1:40 ` [Bug c++/20465] " doko at debian dot org
2005-03-14  1:41 ` doko at debian dot org
2005-03-14  1:45 ` [Bug c++/20465] [4.0/4.1 " pinskia at gcc dot gnu dot org
2005-03-14  1:46 ` pinskia at gcc dot gnu dot org
2005-03-14  2:26 ` pinskia at gcc dot gnu dot org
2005-03-17 13:35 ` nathan at gcc dot gnu dot org
2005-03-22  9:36 ` micis at gmx dot de
2005-03-22  9:36 ` nathan at gcc dot gnu dot org
2005-03-22  9:37 ` nathan at gcc dot gnu dot org
2005-03-22  9:37 ` cvs-commit at gcc dot gnu dot org
2005-03-22  9:52 ` cvs-commit at gcc dot gnu dot org

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).