[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-11-19 Thread Bug Watch Updater
Launchpad has imported 7 comments from the remote bug at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56869.

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://help.launchpad.net/InterBugTracking.


On 2013-04-07T20:46:46+00:00 Doko-v wrote:

works with 4.6 and 4.8, fails with the 4.7 branch

$ g++ -std=c++0x foo.cc 
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.

#include memory

namespace
{
struct Foo
{
Foo(int) {}
};
}

int main(int, char**)
{
auto foo = std::make_sharedFoo();
return 0;
}

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


On 2013-04-07T20:52:21+00:00 Doko-v wrote:

works with 4.7.2, fails with 4.7.3

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


On 2013-04-08T11:14:25+00:00 Rguenth wrote:

works for me on the 4.7 branch (x86_64-linux) with preprocessed source from
using 4.7.2.

So it might be triggered by a libstdc++ change?

Can you attach preprocessed source?

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


On 2013-04-08T11:19:50+00:00 Doko-v wrote:

Created attachment 29822
preprocessed source

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


On 2013-04-08T15:13:57+00:00 Rguenth wrote:

Also fails with GCC 4.7.0  GCC 4.6 ICEs for me with

in dependent_type_p, at cp/pt.c:18136
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

(confused by earlier errors)

4.5 seems to work.

Factoring in libstdc++ changes the point of the regression.

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


On 2013-04-12T15:17:13+00:00 Jakub-gcc wrote:

GCC 4.6.4 has been released and the branch has been closed.

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


On 2013-11-18T16:51:00+00:00 Paolo-carlini wrote:

Let's close this.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1165732/comments/14


** Changed in: gcc
   Status: Confirmed = Invalid

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-09-14 Thread John-Paul Gignac
This non-program causes the same internal error in gcc 4.7.3 (with
-std=c++0x and  -std=c++11).  In general, it seems to happen any time I
push_back an object with an inaccessible copy constructor.

#include vector

class A {
A(const A)=delete;
};

int main()
{
std::vectorA().push_back(*(A*)0);
return 0;
}

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-06-28 Thread Jitendra Kulkarni
I also encountered similar situation where make_shared crashes but casting 
through new works. 
Note  that make_shared worked for object of another class. Attached file.

g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

Linux jeeves 3.8.0-25-generic #37-Ubuntu SMP Thu Jun 6 20:47:07 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

g++ -c -I/usr/local/include -I ../include -std=c++11 EventWheel.cpp


** Attachment added: ccDenxuK.out
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1165732/+attachment/3717144/+files/ccDenxuK.out

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-06-28 Thread Jitendra Kulkarni
I am on Ubunto 13.04. 
The previous file (ccDenxuK.out) was  with  the statement:Event reset= 
*(Event::EventPointer(new Event()));
The current one is with the statement: Event reset= 
*(Event::EventPointer(make_sharedEvent()));

The following statement works:Event reset= *(Event::EventPointer(new
Event()));



** Attachment added: cczwTwR7.out
   
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1165732/+attachment/3717150/+files/cczwTwR7.out

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-06-28 Thread Jitendra Kulkarni
Correction: ccDenxuK.out was with: Event reset= *(make_sharedEvent();

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-04-08 Thread Sam Spilsbury
The error is actually more to do with trying to call a class constructor
inside of make_shared that results in an error. For example, the
following will also raise an internal compiler error:

#include memory

class Foo
{
public:
virtual ~Foo () = default;
virtual void bar () = 0;
};

int main ()
{
auto foo = std::make_shared Foo ();
return 0;
}

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-04-08 Thread Bug Watch Updater
** Changed in: gcc
   Status: New = Confirmed

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-04-07 Thread Matthias Klose
both 4.6 and 4.8 give correct error messages


** Changed in: gcc-4.7 (Ubuntu)
   Status: New = Confirmed

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1165732/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-04-07 Thread Matthias Klose
** Bug watch added: GCC Bugzilla #56869
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56869

** Also affects: gcc via
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56869
   Importance: Unknown
   Status: Unknown

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1165732] Re: GCC 4.7.3 internal compiler error when using std::make_shared

2013-04-07 Thread Bug Watch Updater
** Changed in: gcc
   Status: Unknown = New

** Changed in: gcc
   Importance: Unknown = Medium

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

Title:
  GCC 4.7.3 internal compiler error when using std::make_shared

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs