Launchpad has imported 11 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42331.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers.

------------------------------------------------------------------------
On 2009-12-08T10:57:04+00:00 Matthias Klose wrote:

seen with trunk 20091208 and 4.4 branch 20091130, not with 4.3.4:

$ g++ -g Mesh.ii
In file included from /usr/include/c++/4.4/ext/new_allocator.h:34,
                 from 
/usr/include/c++/4.4/x86_64-linux-gnu/bits/c++allocator.h:35,
                 from /usr/include/c++/4.4/bits/allocator.h:49,
                 from /usr/include/c++/4.4/string:44,
                 from /usr/include/c++/4.4/bits/locale_classes.h:43,
                 from /usr/include/c++/4.4/bits/ios_base.h:44,
                 from /usr/include/c++/4.4/ios:44,
                 from /usr/include/c++/4.4/ostream:41,
                 from /usr/include/c++/4.4/iostream:41,
                 from 
/home/cesare/Programmi/changemesh/project/source/Mesh.cpp:4:
/usr/include/c++/4.4/new:91: error: 'operator new' takes type 'size_t' 
('unsigned int') as first parameter
/usr/include/c++/4.4/new:92: error: 'operator new' takes type 'size_t' 
('unsigned int') as first parameter
/usr/include/c++/4.4/new:95: error: 'operator new' takes type 'size_t' 
('unsigned int') as first parameter
/usr/include/c++/4.4/new:96: error: 'operator new' takes type 'size_t' 
('unsigned int') as first parameter
/usr/include/c++/4.4/new:101: error: 'operator new' takes type 'size_t' 
('unsigned int') as first parameter
/usr/include/c++/4.4/new:102: error: 'operator new' takes type 'size_t' 
('unsigned int') as first parameter
/home/cesare/Programmi/changemesh/project/source/Mesh.cpp: In constructor 
'Mesh::Mesh(const char*)':
/home/cesare/Programmi/changemesh/project/source/Mesh.cpp:20: warning: extended 
initializer lists only available with -std=c++0x or -std=gnu++0x
/home/cesare/Programmi/changemesh/project/source/Mesh.cpp:20: error: array must 
be initialized with a brace-enclosed initializer
/home/cesare/Programmi/changemesh/project/source/Mesh.cpp:20: confused by 
earlier errors, bailing out
Preprocessed source stored into /tmp/ccHoqRKs.out file, please attach this to 
your bugreport.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/2

------------------------------------------------------------------------
On 2009-12-08T11:01:28+00:00 Paolo-carlini wrote:

We are still missing Mesh.ii. And, please, do your best to reduce it
before attaching it, thanks in advance...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/3

------------------------------------------------------------------------
On 2009-12-08T11:04:52+00:00 Matthias Klose wrote:

Created attachment 19257
preprocessed source

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/4

------------------------------------------------------------------------
On 2009-12-08T11:06:27+00:00 Paolo-carlini wrote:

Thanks ;)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/5

------------------------------------------------------------------------
On 2009-12-08T11:08:17+00:00 Matthias Klose wrote:

sorry, didn't see the comment before attaching the file

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/6

------------------------------------------------------------------------
On 2009-12-08T11:14:59+00:00 Paolo-carlini wrote:

No problem. Please, try to figure out something small, shouldn't be that
difficult, I think it should involve only 'int typele[7][2]' vs
'typele={0}'

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/7

------------------------------------------------------------------------
On 2009-12-08T11:19:20+00:00 Paolo-carlini wrote:

This is enough:

class Mesh
{
public:
  Mesh(const char*)
  { typele={0}; }

private:
  int typele[7][2];
};

Mesh m(0);

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/8

------------------------------------------------------------------------
On 2009-12-08T11:21:45+00:00 Paolo-carlini wrote:

Let's CC Jason, maybe it's just matter of robustifying a tad the
initializer list code.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/9

------------------------------------------------------------------------
On 2009-12-22T23:16:59+00:00 Jason-gcc wrote:

Subject: Bug 42331

Author: jason
Date: Tue Dec 22 23:16:38 2009
New Revision: 155410

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155410
Log:
        PR c++/42331
        * typeck.c (cp_build_modify_expr): Fix thinko.

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


Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/10

------------------------------------------------------------------------
On 2009-12-26T16:25:07+00:00 Jason-gcc wrote:

Subject: Bug 42331

Author: jason
Date: Sat Dec 26 16:24:53 2009
New Revision: 155474

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155474
Log:
        PR c++/42331
        * typeck.c (cp_build_modify_expr): Fix thinko.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/initlist29.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/typeck.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/11

------------------------------------------------------------------------
On 2009-12-26T16:25:20+00:00 Jason-gcc wrote:

Fixed.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/491516/comments/12

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/491516

Title:
  [PR42331] ICE with invalid code

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/491516/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to