public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
@ 2005-09-01 11:44 pinskia at gcc dot gnu dot org
  2005-09-01 11:44 ` [Bug middle-end/23676] " pinskia at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01 11:44 UTC (permalink / raw)
  To: gcc-bugs

The following is reduced from the report here:
http://gcc.gnu.org/ml/gcc-regression/2005-09/msg00002.html
cc1plus -fnon-call-exceptions t.cc is all that needed to reproduce the bug.

----
struct JvSynchronize {
  ~JvSynchronize ();
};
struct _Jv_Field {
  char* addr;
};
_Jv_Field * resolve_pool_entry (void);
void * _Jv_ResolvePoolEntry (void)
{
  JvSynchronize sync;
  return (resolve_pool_entry ())->addr;
}
-----

-- 
           Summary: [4.1 Regression] ICE: "missing REG_EH_REGION note in the
                    end of bb"
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,rth at gcc dot gnu dot
                    org
GCC target triplet: powerpc-darwin7.9.0


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
@ 2005-09-01 11:44 ` pinskia at gcc dot gnu dot org
  2005-09-01 12:01 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01 11:44 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
  2005-09-01 11:44 ` [Bug middle-end/23676] " pinskia at gcc dot gnu dot org
@ 2005-09-01 12:01 ` pinskia at gcc dot gnu dot org
  2005-09-01 15:23 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01 12:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-01 12:01 -------
A little more reduced:
struct JvSynchronize {
  ~JvSynchronize ();
};
char* * resolve_pool_entry (void);
void * _Jv_ResolvePoolEntry (void)
{
  JvSynchronize sync;
  return *(resolve_pool_entry ());
}


-- 


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
  2005-09-01 11:44 ` [Bug middle-end/23676] " pinskia at gcc dot gnu dot org
  2005-09-01 12:01 ` pinskia at gcc dot gnu dot org
@ 2005-09-01 15:23 ` pinskia at gcc dot gnu dot org
  2005-09-01 15:26 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01 15:23 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking, wrong-code


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-01 15:23 ` pinskia at gcc dot gnu dot org
@ 2005-09-01 15:26 ` pinskia at gcc dot gnu dot org
  2005-09-01 16:08 ` rth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-01 15:26 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |EH


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-09-01 15:26 ` pinskia at gcc dot gnu dot org
@ 2005-09-01 16:08 ` rth at gcc dot gnu dot org
  2005-09-01 23:35 ` cvs-commit at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-01 16:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-09-01 16:08 -------
Also reprodicible on ppc-linux.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-01 16:08:38
               date|                            |


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-09-01 16:08 ` rth at gcc dot gnu dot org
@ 2005-09-01 23:35 ` cvs-commit at gcc dot gnu dot org
  2005-09-01 23:38 ` rth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-01 23:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-01 23:35 -------
Subject: Bug 23676

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-09-01 23:35:20

Modified files:
	gcc            : ChangeLog reload1.c rtlanal.c 

Log message:
	PR 23676
	* reload1.c (reload_as_needed): Check !CALL_P before calling
	fixup_eh_region_note.
	* rtlanal.c (may_trap_p): SUBREG by itself cannot trap.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9878&r2=2.9879
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/reload1.c.diff?cvsroot=gcc&r1=1.480&r2=1.481
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/rtlanal.c.diff?cvsroot=gcc&r1=1.218&r2=1.219



-- 


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-09-01 23:35 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-01 23:38 ` rth at gcc dot gnu dot org
  2005-09-02 15:54 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-01 23:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-09-01 23:38 -------
Fixed.

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


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-09-01 23:38 ` rth at gcc dot gnu dot org
@ 2005-09-02 15:54 ` pinskia at gcc dot gnu dot org
  2005-09-02 22:54 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-02 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-02 15:53 -------
*** Bug 23696 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kkojima at gcc dot gnu dot
                   |                            |org


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-09-02 15:54 ` pinskia at gcc dot gnu dot org
@ 2005-09-02 22:54 ` rth at gcc dot gnu dot org
  2005-09-02 23:35 ` kkojima at gcc dot gnu dot org
  2005-09-03 11:49 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-09-02 22:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-09-02 22:54 -------
Subject: Re:  [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"

On Fri, Sep 02, 2005 at 10:31:21PM -0000, kkojima at gcc dot gnu dot org wrote:
> There is yet another "missing REG_EH_REGION note in the end of bb"
> ICE for sh4-unknown-linux-gnu during libjava build.  I've attached
> a reduced preprocessed file, though it could be a new PR.

It's a different problem.  According to the backtrace, this happens
in optimize_mode_switching, and not in reload at all.  I'll look at
it, but please file it as a new bug.


r~


-- 


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-09-02 22:54 ` rth at gcc dot gnu dot org
@ 2005-09-02 23:35 ` kkojima at gcc dot gnu dot org
  2005-09-03 11:49 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2005-09-02 23:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From kkojima at gcc dot gnu dot org  2005-09-02 23:35 -------
I've filed a PR 23706 for it.



-- 


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


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

* [Bug middle-end/23676] [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb"
  2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-09-02 23:35 ` kkojima at gcc dot gnu dot org
@ 2005-09-03 11:49 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-03 11:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-03 11:49 -------
*** Bug 23712 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


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


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

end of thread, other threads:[~2005-09-03 11:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-01 11:44 [Bug middle-end/23676] New: [4.1 Regression] ICE: "missing REG_EH_REGION note in the end of bb" pinskia at gcc dot gnu dot org
2005-09-01 11:44 ` [Bug middle-end/23676] " pinskia at gcc dot gnu dot org
2005-09-01 12:01 ` pinskia at gcc dot gnu dot org
2005-09-01 15:23 ` pinskia at gcc dot gnu dot org
2005-09-01 15:26 ` pinskia at gcc dot gnu dot org
2005-09-01 16:08 ` rth at gcc dot gnu dot org
2005-09-01 23:35 ` cvs-commit at gcc dot gnu dot org
2005-09-01 23:38 ` rth at gcc dot gnu dot org
2005-09-02 15:54 ` pinskia at gcc dot gnu dot org
2005-09-02 22:54 ` rth at gcc dot gnu dot org
2005-09-02 23:35 ` kkojima at gcc dot gnu dot org
2005-09-03 11:49 ` pinskia at gcc dot gnu dot 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).