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

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 2010-06-22T09:18:04+00:00 Matthias Klose wrote:

seen with 4.3, 4.4, 4.5, 4.6

class A
{
    A * get_a_pointer();
};

template <class T>
void function()
{
    A::get_a_pointer().anything;
}

g++ -c foo.cc 
'
In function 'void function()':
tree check: accessed operand 4 of call_expr with 3 operands in dump_expr, at 
cp/error.c:1735
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-snapshot/README.Bugs> for instructions.

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

------------------------------------------------------------------------
On 2010-06-22T09:58:52+00:00 Jakub-gcc wrote:

Created attachment 20977
gcc46-pr44627.patch

Untested fix.

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

------------------------------------------------------------------------
On 2010-06-22T20:43:09+00:00 Jakub-gcc wrote:

Subject: Bug 44627

Author: jakub
Date: Tue Jun 22 20:42:50 2010
New Revision: 161227

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161227
Log:
        PR c++/44627
        * error.c (dump_expr): Don't look at CALL_EXPR_ARG (t, 0) if
        the CALL_EXPR has no arguments.

        * g++.dg/diagnostic/method1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/method1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


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

------------------------------------------------------------------------
On 2010-06-22T20:47:06+00:00 Jakub-gcc wrote:

Subject: Bug 44627

Author: jakub
Date: Tue Jun 22 20:46:51 2010
New Revision: 161228

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161228
Log:
        PR c++/44627
        * error.c (dump_expr): Don't look at CALL_EXPR_ARG (t, 0) if
        the CALL_EXPR has no arguments.

        * g++.dg/other/method1.C: New test.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/other/method1.C
Modified:
    branches/gcc-4_5-branch/gcc/cp/ChangeLog
    branches/gcc-4_5-branch/gcc/cp/error.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

------------------------------------------------------------------------
On 2010-06-22T20:48:36+00:00 Jakub-gcc wrote:

Subject: Bug 44627

Author: jakub
Date: Tue Jun 22 20:48:24 2010
New Revision: 161229

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161229
Log:
        PR c++/44627
        * error.c (dump_expr): Don't look at CALL_EXPR_ARG (t, 0) if
        the CALL_EXPR has no arguments.

        * g++.dg/other/method1.C: New test.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/other/method1.C
Modified:
    branches/gcc-4_4-branch/gcc/cp/ChangeLog
    branches/gcc-4_4-branch/gcc/cp/error.c
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


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

------------------------------------------------------------------------
On 2010-06-22T21:14:28+00:00 Jakub-gcc wrote:

Fixed.

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

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

Title:
  [PR44627] templates with class and pointer error cause bailing out and
  crash

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


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

Reply via email to