public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in
@ 2010-12-06 16:02 kuh3h3 at gmail dot com
  2010-12-06 16:27 ` [Bug c++/46824] " kuh3h3 at gmail dot com
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: kuh3h3 at gmail dot com @ 2010-12-06 16:02 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: chromium-compile failed because error: no match for
                    ‘operator*’ in
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kuh3h3@gmail.com


i tried to compile chromium recent version with trunk recent version gcc 4.6.
but failed. y think this is compiler problems.




$  /media/sdc2/gcc-4.5.1/bin/g++-46 -v
Using built-in specs.
COLLECT_GCC=/media/sdc2/gcc-4.5.1/bin/g++-46
COLLECT_LTO_WRAPPER=/media/sdc2/gcc-4.5.1/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ./configure --prefix=/media/sdc2/gcc-4.5.1
--with-gmp=/media/sdc2/gcc-4.5.1 --with-mpfr=/media/sdc2/gcc-4.5.1
--with-mpc=/media/sdc2/gcc-4.5.1 --program-suffix=-46
--with-ppl=/media/sdc2/gcc-4.5.1 --with-cloog=/media/sdc2/gcc-4.5.1
--disable-multilib -with-stage1-ldflags=-Wl,-rpath,/media/sdc2/gcc-4.5.1/lib
-with-boot-ldflags=-Wl,-rpath,/media/sdc2/gcc-4.5.1/lib
--without-included-gettext --enable-checking=release
--disable-cloog-version-check
Thread model: posix
gcc version 4.6.0 20101204 (experimental) (GCC) 



[/media/sdc1/chromium-trunk/src]$  make chrome chrome_sandbox BUILDTYPE=Release
 V=1
  export
LD_LIBRARY_PATH=/media/sdc1/chromium-trunk/src/out/Release/lib.host:/media/sdc1/chromium-trunk/src/out/Release/lib.target:$LD_LIBRARY_PATH;
cd build/util; mkdir -p
/media/sdc1/chromium-trunk/src/out/Release/obj/gen/build; python
./lastchange.py -o
"/media/sdc1/chromium-trunk/src/out/Release/obj/gen/build/LASTCHANGE" -d
../LASTCHANGE.in
  ccache /media/sdc2/gcc-4.5.1/bin/g++-46 -B/media/sdc2/gcc-4.5.1/bin/ 
'-DNO_HEAPCHECKER' '-DCHROMIUM_BUILD' '-DENABLE_REMOTING=1' '-DENABLE_GPU=1'
'-DU_STATIC_IMPLEMENTATION' '-DUSE_SYSTEM_ZLIB' '-DUSE_GCONF'
'-D__STDC_FORMAT_MACROS' '-DNDEBUG' '-DNVALGRIND'
'-DDYNAMIC_ANNOTATIONS_ENABLED=0' -Ithird_party/icu/public/common
-Ithird_party/icu/public/i18n -I. -Isdch/open-vcdiff/src
-Iout/Release/obj/gen/net -Iv8/include -pthread -fno-exceptions -Wall
-Wno-unused-parameter -Wno-missing-field-initializers -D_FILE_OFFSET_BITS=64
-fvisibility=hidden -pipe -m32 -mmmx -march=pentium4 -msse2 -mfpmath=sse
-fno-strict-aliasing -pthread -DQT_SHARED -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
-I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore
-DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -pthread -DQT_SHARED -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -Inet/third_party/nss/ssl
-IWebKit/chromium/net/third_party/nss/ssl -I/usr/include/nss
-I/usr/include/nspr -O2 -fno-ident -fdata-sections -ffunction-sections
-fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -MMD -MF
out/Release/.deps/out/Release/obj.target/net/net/http/http_net_log_params.o.d.raw
-c -o out/Release/obj.target/net/net/http/http_net_log_params.o
net/http/http_net_log_params.cc
In file included from net/http/http_net_log_params.cc:7:0:
./net/http/http_net_log_params.h: In member function ‘const
net::HttpResponseHeaders& net::NetLogHttpResponseParameter::GetHeaders()
const’:
./net/http/http_net_log_params.h:54:13: error: no match for ‘operator*’ in
‘*((const
net::NetLogHttpResponseParameter*)this)->net::NetLogHttpResponseParameter::headers_’
make: *** [out/Release/obj.target/net/net/http/http_net_log_params.o] error 1


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
@ 2010-12-06 16:27 ` kuh3h3 at gmail dot com
  2010-12-06 16:30 ` paolo.carlini at oracle dot com
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kuh3h3 at gmail dot com @ 2010-12-06 16:27 UTC (permalink / raw)
  To: gcc-bugs

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

kuh3h3 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
  2010-12-06 16:27 ` [Bug c++/46824] " kuh3h3 at gmail dot com
@ 2010-12-06 16:30 ` paolo.carlini at oracle dot com
  2010-12-07 11:18 ` rguenth at gcc dot gnu.org
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-12-06 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
  2010-12-06 16:27 ` [Bug c++/46824] " kuh3h3 at gmail dot com
  2010-12-06 16:30 ` paolo.carlini at oracle dot com
@ 2010-12-07 11:18 ` rguenth at gcc dot gnu.org
  2010-12-07 12:13 ` kuh3h3 at gmail dot com
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-07 11:18 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2010.12.07 11:18:12
     Ever Confirmed|0                           |1

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-07 11:18:12 UTC ---
Please attach preprocessed source of the file with the error.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (2 preceding siblings ...)
  2010-12-07 11:18 ` rguenth at gcc dot gnu.org
@ 2010-12-07 12:13 ` kuh3h3 at gmail dot com
  2011-03-10 17:20 ` jakub at gcc dot gnu.org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kuh3h3 at gmail dot com @ 2010-12-07 12:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from kuh3h3 at gmail dot com 2010-12-07 12:12:57 UTC ---
Created attachment 22670
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22670
preprocessed http_net_log_params.cc file


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (3 preceding siblings ...)
  2010-12-07 12:13 ` kuh3h3 at gmail dot com
@ 2011-03-10 17:20 ` jakub at gcc dot gnu.org
  2011-03-10 18:04 ` redi at gcc dot gnu.org
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-10 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
                 CC|                            |dodji at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |jason at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-10 17:20:05 UTC ---
This started being rejected with
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167250
I'll let Dodji/Jason comment on whether the testcase is valid or not.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (4 preceding siblings ...)
  2011-03-10 17:20 ` jakub at gcc dot gnu.org
@ 2011-03-10 18:04 ` redi at gcc dot gnu.org
  2011-03-10 18:09 ` redi at gcc dot gnu.org
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-10 18:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-10 18:04:03 UTC ---
Reduced:

template <class T>
struct scoped_refptr {

  operator T*() const;
};


class EventParameters  { };

class HttpResponseHeaders;


struct NetLogHttpResponseParameter : public EventParameters {

  const HttpResponseHeaders& GetHeaders() const {
    return *headers_;
  }


  scoped_refptr<HttpResponseHeaders> headers_;

};


EDG rejects this with the same error. Clang accepts it.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (5 preceding siblings ...)
  2011-03-10 18:04 ` redi at gcc dot gnu.org
@ 2011-03-10 18:09 ` redi at gcc dot gnu.org
  2011-03-10 21:21 ` dodji at gcc dot gnu.org
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-10 18:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-10 18:08:52 UTC ---
really reduced:

class Incomplete;

struct Ptr
{
  operator Incomplete*();
};

int main()
{
  Ptr p;

  *p;
}


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (6 preceding siblings ...)
  2011-03-10 18:09 ` redi at gcc dot gnu.org
@ 2011-03-10 21:21 ` dodji at gcc dot gnu.org
  2011-03-10 21:30 ` jason at gcc dot gnu.org
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-03-10 21:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-03-10 21:20:52 UTC ---
Thank you for reducing this.

Here is what I understand from the reduced test case.

For the expression "*p" the compiler uses overload resolution to
determine which operator "*" to use.  As there is no user provided
operator*() that can take an instance of Ptr in argument, the only
choice left is to consider the built-in operator*() as a viable
candidate for overload resolution.

But then the note in [over.built]/1 says:

    because built-in operators take only operands with non-class type, and
    operator overload resolution occurs only when an operand expression
    originally has class or enumeration type, operator overload resolution
    can resolve to a built-in operator only when an operand has a class type
    that has a user-defined conversion to a non-class type appropriate for
    the operator, or when an operand has an enumeration type that can be
    converted to a type appropriate for the operator.

As there is no user-defined conversion operator that would convert Ptr
into a pointer to native type, the built-in operator*() is not a viable
candidate.

Thus I believe the test case is ill-formed and the user-defined
conversion operator that converts Ptr to Incomplete* seems to be of
little use in this case.

So for the built-in operator to be selected, we'd need e.g, a
user-defined conversion operator Ptr::operator int* ().  Otherwise we'd
need a user-defined operator 'something Ptr::operator*()'.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (7 preceding siblings ...)
  2011-03-10 21:21 ` dodji at gcc dot gnu.org
@ 2011-03-10 21:30 ` jason at gcc dot gnu.org
  2011-03-10 22:27 ` redi at gcc dot gnu.org
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: jason at gcc dot gnu.org @ 2011-03-10 21:30 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-10 21:30:34 UTC ---
It doesn't need to be a pointer to non-class type; a pointer to class is itself
a non-class type.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (8 preceding siblings ...)
  2011-03-10 21:30 ` jason at gcc dot gnu.org
@ 2011-03-10 22:27 ` redi at gcc dot gnu.org
  2011-03-10 22:53 ` dodji at gcc dot gnu.org
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-10 22:27 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-10 22:26:42 UTC ---
(In reply to comment #7)
> It doesn't need to be a pointer to non-class type; a pointer to class is itself
> a non-class type.

Indeed. And the example compiles fine if the type is complete.  I can't find
any wording that says why converting to Incomplete* should not be allowed when
converting to Complete* is ok.  I wondered if DR416 is relevant, but I don't
think it applies, as T1 is Ptr here, which is complete.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (9 preceding siblings ...)
  2011-03-10 22:27 ` redi at gcc dot gnu.org
@ 2011-03-10 22:53 ` dodji at gcc dot gnu.org
  2011-03-10 22:57 ` dodji at gcc dot gnu.org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-03-10 22:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-03-10 22:53:42 UTC ---
Yes, I was confused.  This code is valid.


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

* [Bug c++/46824] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (10 preceding siblings ...)
  2011-03-10 22:53 ` dodji at gcc dot gnu.org
@ 2011-03-10 22:57 ` dodji at gcc dot gnu.org
  2011-03-11 10:06 ` [Bug c++/46824] [4.6 Regression] " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-03-10 22:57 UTC (permalink / raw)
  To: gcc-bugs

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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|dodji at gcc dot gnu.org    |
         AssignedTo|unassigned at gcc dot       |dodji at gcc dot gnu.org
                   |gnu.org                     |


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

* [Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (11 preceding siblings ...)
  2011-03-10 22:57 ` dodji at gcc dot gnu.org
@ 2011-03-11 10:06 ` rguenth at gcc dot gnu.org
  2011-03-11 11:58 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-11 10:06 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
           Priority|P3                          |P1
      Known to work|                            |3.4.6, 4.1.2, 4.5.2
   Target Milestone|---                         |4.6.0
            Summary|chromium-compile failed     |[4.6 Regression]
                   |because error: no match for |chromium-compile failed
                   |‘operator*’ in              |because error: no match for
                   |                            |‘operator*’ in

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-11 10:05:59 UTC ---
Works with 4.5.2 and earlier releases and EDG.


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

* [Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (12 preceding siblings ...)
  2011-03-11 10:06 ` [Bug c++/46824] [4.6 Regression] " rguenth at gcc dot gnu.org
@ 2011-03-11 11:58 ` redi at gcc dot gnu.org
  2011-03-11 14:21 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: redi at gcc dot gnu.org @ 2011-03-11 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-11 11:58:15 UTC ---
(In reply to comment #10)
> Works with [...] EDG.

The reduced versions don't work with Comeau online, does a different EDG-based
compiler accept them?


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

* [Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (13 preceding siblings ...)
  2011-03-11 11:58 ` redi at gcc dot gnu.org
@ 2011-03-11 14:21 ` rguenth at gcc dot gnu.org
  2011-03-12  7:28 ` dodji at gcc dot gnu.org
  2011-03-12  7:59 ` jakub at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-03-11 14:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-11 14:21:26 UTC ---
I checked comment #5 with ICC 12.0 in -strict_ansi mode.


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

* [Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (14 preceding siblings ...)
  2011-03-11 14:21 ` rguenth at gcc dot gnu.org
@ 2011-03-12  7:28 ` dodji at gcc dot gnu.org
  2011-03-12  7:59 ` jakub at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-03-12  7:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-03-12 07:28:26 UTC ---
Author: dodji
Date: Sat Mar 12 07:28:20 2011
New Revision: 170897

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170897
Log:
PR c++/46824

gcc/cp/

    * call.c (add_builtin_candidate)<case INDIRECT_REF>: The type
    of the argument of the indirection operator should not be
    dependent.  Fix the comment.

gcc/testsuite/

    * g++.dg/conversion/cast3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/conversion/cast3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/46824] [4.6 Regression] chromium-compile failed because error: no match for ‘operator*’ in
  2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
                   ` (15 preceding siblings ...)
  2011-03-12  7:28 ` dodji at gcc dot gnu.org
@ 2011-03-12  7:59 ` jakub at gcc dot gnu.org
  16 siblings, 0 replies; 18+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-12  7:59 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-12 07:58:47 UTC ---
Fixed.


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

end of thread, other threads:[~2011-03-12  7:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 16:02 [Bug c++/46824] New: chromium-compile failed because error: no match for ‘operator*’ in kuh3h3 at gmail dot com
2010-12-06 16:27 ` [Bug c++/46824] " kuh3h3 at gmail dot com
2010-12-06 16:30 ` paolo.carlini at oracle dot com
2010-12-07 11:18 ` rguenth at gcc dot gnu.org
2010-12-07 12:13 ` kuh3h3 at gmail dot com
2011-03-10 17:20 ` jakub at gcc dot gnu.org
2011-03-10 18:04 ` redi at gcc dot gnu.org
2011-03-10 18:09 ` redi at gcc dot gnu.org
2011-03-10 21:21 ` dodji at gcc dot gnu.org
2011-03-10 21:30 ` jason at gcc dot gnu.org
2011-03-10 22:27 ` redi at gcc dot gnu.org
2011-03-10 22:53 ` dodji at gcc dot gnu.org
2011-03-10 22:57 ` dodji at gcc dot gnu.org
2011-03-11 10:06 ` [Bug c++/46824] [4.6 Regression] " rguenth at gcc dot gnu.org
2011-03-11 11:58 ` redi at gcc dot gnu.org
2011-03-11 14:21 ` rguenth at gcc dot gnu.org
2011-03-12  7:28 ` dodji at gcc dot gnu.org
2011-03-12  7:59 ` jakub at gcc dot gnu.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).