public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
@ 2010-11-04 17:14 apataki at apataki dot net
  2010-11-04 21:01 ` [Bug c++/46304] " apataki at apataki dot net
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: apataki at apataki dot net @ 2010-11-04 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: g++ crashes with ICE in bitmap_first_set_bit, at
                    bitmap.c:770
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: apataki@apataki.net


g++ 4.5.1 crashes with an internal compiler error on the following C++ code
(trimmed down from a larger codebase - in this shortened state it is clearly
not expected to work/do anything useful):


#include <complex.h>


template<class T>
class ClassA
{
    complex double *data;

public:
    void setSize()
    {
    data[0] = 1.0 + 2.0i;
    }
};


template<class TCoeff, class TRHS>
class ClassB
{
    ClassA<TCoeff> a1;
    ClassA<TRHS> a2;

public:
    void setSize()
    {
    a1.setSize();
    a2.setSize();
    }
};


class ClassC
{
    ClassB<double, complex double> d;
    virtual void init();
};

void ClassC::init()
{
    d.setSize();
}



$ g++ -c z8.cc
z8.cc: In member function ‘void ClassA<T>::setSize() [with T = __complex__
double]’:
z8.cc:41:1: internal compiler error: in bitmap_first_set_bit, at bitmap.c:770
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccL3ZMfZ.out file, please attach this to
your bugreport.


$ g++ -v
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC) 

This is on a Fedora 14 x86-64 system.


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

* [Bug c++/46304] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
@ 2010-11-04 21:01 ` apataki at apataki dot net
  2010-11-04 23:05 ` hjl.tools at gmail dot com
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: apataki at apataki dot net @ 2010-11-04 21:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Andras Pataki <apataki at apataki dot net> 2010-11-04 21:01:49 UTC ---
I have also tried this code on the latest gcc 4.6 snapshot (4.6-20101030) and
it also produces a crash, although with a slightly different error message:

$ /opt/gcc/4.6-20101030/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/opt/gcc/4.6-20101030/bin/g++
COLLECT_LTO_WRAPPER=/mnt/other/opt/gcc/4.6-20101030/bin/../libexec/gcc/x86_64-redhat-linux/4.6.0/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../gcc-4.6-20101030/configure --prefix=/opt/gcc/4.6-20101030
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --enable-languages=c,c++,fortran --enable-plugin
--disable-dssi --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.6.0 20101030 (experimental) (GCC) 


$ /opt/gcc/4.6-20101030/bin/g++ -c z8.cc 
z8.cc: In member function ‘void ClassA<T>::setSize() [with T = double]’:
z8.cc:26:2:   instantiated from ‘void ClassB<TCoeff, TRHS>::setSize() [with
TCoeff = double, TRHS = __complex__ double]’
z8.cc:40:15:   instantiated from here
z8.cc:12:2: internal compiler error: in tsubst_copy, at cp/pt.c:11376
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug c++/46304] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
  2010-11-04 21:01 ` [Bug c++/46304] " apataki at apataki dot net
@ 2010-11-04 23:05 ` hjl.tools at gmail dot com
  2010-11-05  5:57 ` jason at gcc dot gnu.org
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: hjl.tools at gmail dot com @ 2010-11-04 23:05 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.11.04 23:05:10
                 CC|                            |jason at redhat dot com
     Ever Confirmed|0                           |1

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-04 23:05:10 UTC ---
It is caused by revision 156874:

http://gcc.gnu.org/ml/gcc-cvs/2010-02/msg00457.html


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

* [Bug c++/46304] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
  2010-11-04 21:01 ` [Bug c++/46304] " apataki at apataki dot net
  2010-11-04 23:05 ` hjl.tools at gmail dot com
@ 2010-11-05  5:57 ` jason at gcc dot gnu.org
  2010-11-05 10:49 ` [Bug c++/46304] [4.5 Regression] " rguenth at gcc dot gnu.org
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: jason at gcc dot gnu.org @ 2010-11-05  5:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2010-11-05 05:57:03 UTC ---
Author: jason
Date: Fri Nov  5 05:56:58 2010
New Revision: 166350

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166350
Log:
    PR c++/46304
    * pt.c (tsubst_copy): Handle COMPLEX_CST.

Added:
    trunk/gcc/testsuite/g++.dg/ext/complex6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (2 preceding siblings ...)
  2010-11-05  5:57 ` jason at gcc dot gnu.org
@ 2010-11-05 10:49 ` rguenth at gcc dot gnu.org
  2010-11-05 10:55 ` rguenth at gcc dot gnu.org
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-05 10:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code
             Status|NEW                         |ASSIGNED
      Known to work|                            |4.4.4, 4.6.0
         AssignedTo|unassigned at gcc dot       |rguenth at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.5.2
            Summary|g++ crashes with ICE in     |[4.5 Regression] g++
                   |bitmap_first_set_bit, at    |crashes with ICE in
                   |bitmap.c:770                |bitmap_first_set_bit, at
                   |                            |bitmap.c:770
      Known to fail|                            |4.5.0, 4.5.1

--- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-05 10:48:55 UTC ---
Confirmed.  Happens as we go into SSA form.

#2  0x00000000007ed310 in bitmap_first_set_bit (a=0x19c13e8)
    at /space/rguenther/src/svn/gcc-4_5-branch/gcc/bitmap.c:770
770       gcc_assert (elt);
(gdb) 
#3  0x0000000000c61587 in set_livein_block (var=0x7ffff7ef3d20, 
    bb=0x7ffff5b318f0)
    at /space/rguenther/src/svn/gcc-4_5-branch/gcc/tree-into-ssa.c:550
550           int def_block_index = bitmap_first_set_bit (db_p->def_blocks);

when visiting

(gdb) call debug_gimple_stmt (stmt)
D.2447 = COMPLEX_EXPR <D.2444, 2.0e+0>;

and the bitmap is empty.  D.2444 is not set before.

void ClassA<T>::setSize() [with T = __complex__ double] (struct ClassA * const
this)
{
  complex double D.2447;
  complex double * D.2446;

<bb 2>:
  D.2446 = this->data;
  D.2447 = COMPLEX_EXPR <D.2444, 2.0e+0>;
  *D.2446 = D.2447;
  return;

}

it looks like this caller to bitmap_first_set_bit assumes it's ok to
call it on an empty bitmap where it should return -1.

It's interesting though that 4.6 for the above has

void ClassA<T>::setSize() [with T = __complex__ double] (struct ClassA * this)
{
  complex double D.2421;
  double D.2420;
  complex double * D.2419;

<bb 2>:
  D.2419 = this->data;
  D.2420 = 1.0e+0 + 0.0;
  D.2421 = COMPLEX_EXPR <D.2420, 2.0e+0>;
  *D.2419 = D.2421;
  return;

}

which shows it's also really a wrong-code bug.


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (3 preceding siblings ...)
  2010-11-05 10:49 ` [Bug c++/46304] [4.5 Regression] " rguenth at gcc dot gnu.org
@ 2010-11-05 10:55 ` rguenth at gcc dot gnu.org
  2010-11-05 11:20 ` rguenth at gcc dot gnu.org
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-05 10:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-05 10:54:59 UTC ---
Smaller testcase - I suspect a tree sharing issue.

template<int i>
struct ClassA
{
  _Complex double *data;
  void setSize() { data[0] = 1.0 + 2.0i; }
};

void foo(void)
{
  ClassA<0> a1;
  ClassA<1> a2;
  a1.setSize();
  a2.setSize();
}


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (4 preceding siblings ...)
  2010-11-05 10:55 ` rguenth at gcc dot gnu.org
@ 2010-11-05 11:20 ` rguenth at gcc dot gnu.org
  2010-11-12 15:16 ` rguenth at gcc dot gnu.org
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-05 11:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-05 11:20:00 UTC ---
Hm.  In 4.6 two different COMPLEX_EXPRs are built by tsubst, via
cp_build_binary_op (PLUS_EXPR, ...).  In 4.5 we end up with a COMPLEX_EXPR
at tsubst time which we don't handle explicitly but pass through from
tsubst_copy default case (which would ICE on trunk).

Jason?


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (5 preceding siblings ...)
  2010-11-05 11:20 ` rguenth at gcc dot gnu.org
@ 2010-11-12 15:16 ` rguenth at gcc dot gnu.org
  2010-11-14 11:51 ` rguenth at gcc dot gnu.org
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-12 15:16 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
                 CC|                            |rguenth at gcc dot gnu.org


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (6 preceding siblings ...)
  2010-11-12 15:16 ` rguenth at gcc dot gnu.org
@ 2010-11-14 11:51 ` rguenth at gcc dot gnu.org
  2010-11-16 15:13 ` apataki at apataki dot net
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-11-14 11:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-14 11:40:22 UTC ---
Even though it looks similar to PR45959 backporting the C++ revisions 165306
and 165307 does not fix the tree sharing problem on the 4.5 branch.


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (7 preceding siblings ...)
  2010-11-14 11:51 ` rguenth at gcc dot gnu.org
@ 2010-11-16 15:13 ` apataki at apataki dot net
  2010-12-16 13:10 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: apataki at apataki dot net @ 2010-11-16 15:13 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Andras Pataki <apataki at apataki dot net> 2010-11-16 15:11:04 UTC ---
I can confirm that my test case now compiles and runs correctly with the
20101113 snapshot of the 4.6 compiler.

However, I've noticed another strangeness relating to complex numbers.  Both
the 4.5.x and the 4.6 snapshot do not treat complex constants quite the way I'd
expect:

#include <complex.h>

class A
{
    static const complex double x = 1.0 + 2.0i;
};


4.5.1 says:
z9.cc:5:41: error: ‘A::x’ cannot be initialized by a non-constant expression
when being declared

4.6-20101113 says:
z9.cc:5:40: error: field initializer is not constant

but 4.4.5 compiles it without complaints.
This is the same even if I use the notation 1.0 + 2.0*I for the constant.

Andras


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (8 preceding siblings ...)
  2010-11-16 15:13 ` apataki at apataki dot net
@ 2010-12-16 13:10 ` rguenth at gcc dot gnu.org
  2011-04-18 14:34 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-12-16 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.5.2                       |4.5.3

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-12-16 13:02:56 UTC ---
GCC 4.5.2 is being released, adjusting target milestone.


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (9 preceding siblings ...)
  2010-12-16 13:10 ` rguenth at gcc dot gnu.org
@ 2011-04-18 14:34 ` rguenth at gcc dot gnu.org
  2011-04-20  0:44 ` jason at gcc dot gnu.org
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-18 14:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-04-18 14:28:50 UTC ---
C++ people?


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (10 preceding siblings ...)
  2011-04-18 14:34 ` rguenth at gcc dot gnu.org
@ 2011-04-20  0:44 ` jason at gcc dot gnu.org
  2011-04-20  6:31 ` jason at gcc dot gnu.org
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-20  0:44 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (11 preceding siblings ...)
  2011-04-20  0:44 ` jason at gcc dot gnu.org
@ 2011-04-20  6:31 ` jason at gcc dot gnu.org
  2011-04-20  6:32 ` jason at gcc dot gnu.org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-20  6:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-20 06:31:09 UTC ---
Author: jason
Date: Wed Apr 20 06:31:07 2011
New Revision: 172755

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172755
Log:
    PR c++/46304
    * typeck.c (cp_build_binary_op): Fold COMPLEX_EXPR.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/ext/complex7.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/typeck.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (12 preceding siblings ...)
  2011-04-20  6:31 ` jason at gcc dot gnu.org
@ 2011-04-20  6:32 ` jason at gcc dot gnu.org
  2011-04-20  6:34 ` jason at gcc dot gnu.org
  2011-04-20  6:50 ` jason at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-20  6:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-20 06:31:54 UTC ---
Author: jason
Date: Wed Apr 20 06:31:51 2011
New Revision: 172756

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172756
Log:
    PR c++/46304
    * typeck.c (cp_build_binary_op): Fold COMPLEX_EXPR.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/ext/complex7.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/typeck.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (13 preceding siblings ...)
  2011-04-20  6:32 ` jason at gcc dot gnu.org
@ 2011-04-20  6:34 ` jason at gcc dot gnu.org
  2011-04-20  6:50 ` jason at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-20  6:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-20 06:30:45 UTC ---
Author: jason
Date: Wed Apr 20 06:30:41 2011
New Revision: 172754

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172754
Log:
    PR c++/46304
    * typeck.c (cp_build_binary_op): Fold COMPLEX_EXPR.

Added:
    trunk/gcc/testsuite/g++.dg/ext/complex7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/46304] [4.5 Regression] g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770
  2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
                   ` (14 preceding siblings ...)
  2011-04-20  6:34 ` jason at gcc dot gnu.org
@ 2011-04-20  6:50 ` jason at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-20  6:50 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

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

--- Comment #14 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-20 06:48:56 UTC ---
Fixed.


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

end of thread, other threads:[~2011-04-20  6:50 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-04 17:14 [Bug c++/46304] New: g++ crashes with ICE in bitmap_first_set_bit, at bitmap.c:770 apataki at apataki dot net
2010-11-04 21:01 ` [Bug c++/46304] " apataki at apataki dot net
2010-11-04 23:05 ` hjl.tools at gmail dot com
2010-11-05  5:57 ` jason at gcc dot gnu.org
2010-11-05 10:49 ` [Bug c++/46304] [4.5 Regression] " rguenth at gcc dot gnu.org
2010-11-05 10:55 ` rguenth at gcc dot gnu.org
2010-11-05 11:20 ` rguenth at gcc dot gnu.org
2010-11-12 15:16 ` rguenth at gcc dot gnu.org
2010-11-14 11:51 ` rguenth at gcc dot gnu.org
2010-11-16 15:13 ` apataki at apataki dot net
2010-12-16 13:10 ` rguenth at gcc dot gnu.org
2011-04-18 14:34 ` rguenth at gcc dot gnu.org
2011-04-20  0:44 ` jason at gcc dot gnu.org
2011-04-20  6:31 ` jason at gcc dot gnu.org
2011-04-20  6:32 ` jason at gcc dot gnu.org
2011-04-20  6:34 ` jason at gcc dot gnu.org
2011-04-20  6:50 ` jason 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).