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

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-11-14T00:03:19+00:00 D-g-gorbachev wrote:

`g++ bug.cc' causes this error:

bug.cc: In function 'void f()':
bug.cc:5:20: error: '__cxa_begin_catch' cannot be used as a function
bug.cc:5:20: internal compiler error: tree check: expected class 'type', have 
'exceptional' (error_mark) in useless_type_conversion_p, at tree-ssa.c:1221

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

------------------------------------------------------------------------
On 2009-11-14T00:15:20+00:00 Paolo-carlini wrote:

And bug.cc is...

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

------------------------------------------------------------------------
On 2009-11-14T01:31:36+00:00 D-g-gorbachev wrote:

Created attachment 19015
The bug.cc file

Sorry, forgot it. :)

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

------------------------------------------------------------------------
On 2009-11-14T01:58:46+00:00 Paolo-carlini wrote:

Funny, and I agree the compiler should behave more gracefully, but this
code is invalid per 17.4.3.1.2: names containing a double underscore are
reserved.

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

------------------------------------------------------------------------
On 2009-11-23T23:18:34+00:00 Paolo-carlini wrote:

Jason, as far as I know, we never compiled this, the ICE is new. If we
only want to avoid the ICE, I'm attaching a patchlet to except.c which
works fine, otherwise, please let me know...

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

------------------------------------------------------------------------
On 2009-11-23T23:19:39+00:00 Paolo-carlini wrote:

Created attachment 19105
Draft patch

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

------------------------------------------------------------------------
On 2009-11-29T15:56:02+00:00 Reichelt wrote:

The ICE happens since GCC 4.2.0.


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

------------------------------------------------------------------------
On 2010-01-20T22:11:27+00:00 Jason-gcc wrote:

The patch is OK.

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

------------------------------------------------------------------------
On 2010-01-20T23:12:46+00:00 Paolo-k wrote:

Subject: Bug 42038

Author: paolo
Date: Wed Jan 20 23:12:25 2010
New Revision: 156094

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156094
Log:
/cp
2010-01-20  Paolo Carlini  <[email protected]>

        PR c++/42038
        * except.c (expand_start_catch_block): Deal correctly with
        do_begin_catch returning error_mark_node.

/testsuite
2010-01-20  Paolo Carlini  <[email protected]>

        PR c++/42038
        * g++.dg/parse/crash55.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/crash55.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/except.c
    trunk/gcc/testsuite/ChangeLog


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

------------------------------------------------------------------------
On 2010-01-20T23:15:31+00:00 Paolo-carlini wrote:

Fixed for 4.5.0. Being just an ice-on-invalid will not be fixed in 4_3 /
4_4.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/497393/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/497393

Title:
  [PR42038] ICE: tree check: expected class 'type', have 'exceptional'
  (error_mark) in useless_type_conversion_p

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


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

Reply via email to