public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
@ 2005-09-03  7:16 debian-gcc at lists dot debian dot org
  2005-09-03 12:03 ` [Bug target/23711] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-09-03  7:16 UTC (permalink / raw)
  To: gcc-bugs

CVS HEAD 20050901, complete build log at
http://buildd.debian.org/fetch.php?&pkg=gcc-snapshot&ver=20050901-1&arch=s390&stamp=1125582332&file=log&as=raw

if /bin/sh ./libtool --mode=compile
/build/buildd/gcc-snapshot-20050901/build/./gcc/xgcc -shared-libgcc
-B/build/buildd/gcc-snapshot-20050901/build/./gcc -nostdinc++
-L/build/buildd/gcc-snapshot-20050901/build/s390-linux-gnu/libstdc++-v3/src
-L/build/buildd/gcc-snapshot-20050901/build/s390-linux-gnu/libstdc++-v3/src/.libs
-B/usr/lib/gcc-snapshot/s390-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/s390-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/s390-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/s390-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../src/libjava -I./include -I./gcj  -I../../../src/libjava -Iinclude
-I../../../src/libjava/include -I../../../src/libjava/classpath/include
-I../../../src/libjava/classpath/native/fdlibm
-I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include 
-I../../../src/libjava/libltdl -I../../../src/libjava/libltdl
-I../../../src/libjava/.././libjava/../gcc -I../../../src/libjava/../zlib
-I../../../src/libjava/../libffi/include -I../libffi/include  -fno-rtti
-fnon-call-exceptions  -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE
-DPREFIX="\"/usr/lib/gcc-snapshot\"" -DLIBDIR="\"/usr/lib/gcc-snapshot/lib\""
-DJAVA_HOME="\"/usr/lib/gcc-snapshot/jre\""
-DBOOT_CLASS_PATH="\"/usr/lib/gcc-snapshot/jre/lib/rt.jar\""
-DJAVA_EXT_DIRS="\"/usr/lib/gcc-snapshot/share/java/ext\""
-DGCJ_ENDORSED_DIRS="\"/usr/lib/gcc-snapshot/share/java/gcj-endorsed\""
-DLIBGCJ_DEFAULT_DATABASE="\"/usr/lib/gcc-snapshot/lib/gcj-4.1.0/classmap.db\""
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL="\"gcj-4.1.0/classmap.db\""
-DTOOLEXECLIBDIR="\"/usr/lib/gcc-snapshot/lib\"" -g -O2  -D_GNU_SOURCE -MT
jni.lo -MD -MP -MF "$depbase.Tpo" -c -o jni.lo ../../../src/libjava/jni.cc; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
/build/buildd/gcc-snapshot-20050901/build/./gcc/xgcc -shared-libgcc
-B/build/buildd/gcc-snapshot-20050901/build/./gcc -nostdinc++
-L/build/buildd/gcc-snapshot-20050901/build/s390-linux-gnu/libstdc++-v3/src
-L/build/buildd/gcc-snapshot-20050901/build/s390-linux-gnu/libstdc++-v3/src/.libs
-B/usr/lib/gcc-snapshot/s390-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/s390-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/s390-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/s390-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../src/libjava -I./include -I./gcj -I../../../src/libjava -Iinclude
-I../../../src/libjava/include -I../../../src/libjava/classpath/include
-I../../../src/libjava/classpath/native/fdlibm
-I../../../src/libjava/../boehm-gc/include -I../boehm-gc/include
-I../../../src/libjava/libltdl -I../../../src/libjava/libltdl
-I../../../src/libjava/.././libjava/../gcc -I../../../src/libjava/../zlib
-I../../../src/libjava/../libffi/include -I../libffi/include -fno-rtti
-fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum
-D_FILE_OFFSET_BITS=64 -Wextra -Wall -D_GNU_SOURCE
-DPREFIX=\"/usr/lib/gcc-snapshot\" -DLIBDIR=\"/usr/lib/gcc-snapshot/lib\"
-DJAVA_HOME=\"/usr/lib/gcc-snapshot/jre\"
-DBOOT_CLASS_PATH=\"/usr/lib/gcc-snapshot/jre/lib/rt.jar\"
-DJAVA_EXT_DIRS=\"/usr/lib/gcc-snapshot/share/java/ext\"
-DGCJ_ENDORSED_DIRS=\"/usr/lib/gcc-snapshot/share/java/gcj-endorsed\"
-DLIBGCJ_DEFAULT_DATABASE=\"/usr/lib/gcc-snapshot/lib/gcj-4.1.0/classmap.db\"
-DLIBGCJ_DEFAULT_DATABASE_PATH_TAIL=\"gcj-4.1.0/classmap.db\"
-DTOOLEXECLIBDIR=\"/usr/lib/gcc-snapshot/lib\" -g -O2 -D_GNU_SOURCE -MT jni.lo
-MD -MP -MF .deps/jni.Tpo -c ../../../src/libjava/jni.cc  -fPIC -DPIC -o .libs/jni.o
../../../src/libjava/jni.cc: In function 'void
_Jv_JNI_GetStringUTFRegion(JNIEnv*, java::lang::String*, jsize, jsize, char*)':
../../../src/libjava/jni.cc:1396: internal compiler error: in
fixup_eh_region_note, at reload1.c:3808
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[5]: *** [jni.lo] Error 1
make[5]: Leaving directory
`/build/buildd/gcc-snapshot-20050901/build/s390-linux-gnu/libjava'

-- 
           Summary: [4.1 regression] [s390] bootstrap error in libjava (ICE
                    in fixup_eh_region_note)
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: s390-linux


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
@ 2005-09-03 12:03 ` pinskia at gcc dot gnu dot org
  2005-09-05 14:51 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-03 12:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-03 12:03 -------
This is most likely a target problem.
For the target maintainer see <http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00053.html> for 
more information.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
           Keywords|                            |build, ice-on-valid-code


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
  2005-09-03 12:03 ` [Bug target/23711] " pinskia at gcc dot gnu dot org
@ 2005-09-05 14:51 ` pinskia at gcc dot gnu dot org
  2005-09-06  0:59 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-05 14:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-05 14:51 -------
See <http://gcc.gnu.org/ml/gcc/2005-09/msg00087.html> for more information about this issue.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-05 14:51:35
               date|                            |


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
  2005-09-03 12:03 ` [Bug target/23711] " pinskia at gcc dot gnu dot org
  2005-09-05 14:51 ` pinskia at gcc dot gnu dot org
@ 2005-09-06  0:59 ` pinskia at gcc dot gnu dot org
  2005-09-06  1:03 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  0:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 00:59 -------
Reducing.

-- 


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2005-09-06  0:59 ` pinskia at gcc dot gnu dot org
@ 2005-09-06  1:03 ` pinskia at gcc dot gnu dot org
  2005-09-06  1:48 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  1:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 01:03 -------
I am starting to think this is not a reload issue but an issue somewhere else which combines the 
instructions into one movsi. 

-- 


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2005-09-06  1:03 ` pinskia at gcc dot gnu dot org
@ 2005-09-06  1:48 ` pinskia at gcc dot gnu dot org
  2005-09-06  1:57 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  1:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 01:48 -------
Reduced testcase:
extern "Java" {
  namespace java   {
    namespace lang     {
      class Class;
      class Throwable;
    }
  }
}
typedef class java::lang::Class* jclass;
typedef class java::lang::Throwable* jthrowable;
typedef struct _Jv_JNIEnv JNIEnv;
struct _Jv_JNIEnv {
  jthrowable ex;
};
class java::lang::Throwable {
  
  static ::java::lang::Class class$;
};
void f(void);
void g (JNIEnv *env)
{
  try     {
    f();
  }
  catch (jthrowable t)     {
    env->ex = t;
  }
}


But I think we have a C++ or exand bug:
<bb 0>:
  f ();
  goto <bb 2> (<L1>);

<L0>:;
  D.1724 = (struct Throwable * *) <<<exception object>>>;
  env->ex = *(D.1724 - 4);

that is what we get.
notice how the load/store is in the same BB which means the load is marked as NO_THROW.

-- 


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (4 preceding siblings ...)
  2005-09-06  1:48 ` pinskia at gcc dot gnu dot org
@ 2005-09-06  1:57 ` pinskia at gcc dot gnu dot org
  2005-09-06  1:58 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  1:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 01:57 -------
I am starting to think this is a front-end bug.  We do have a mismatch types here.

-- 


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


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

* [Bug target/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (5 preceding siblings ...)
  2005-09-06  1:57 ` pinskia at gcc dot gnu dot org
@ 2005-09-06  1:58 ` pinskia at gcc dot gnu dot org
  2005-09-06  2:21 ` [Bug middle-end/23711] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  1:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 01:58 -------
Let me fix the type mismatch and see if that fixes it.

-- 


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


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

* [Bug middle-end/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (6 preceding siblings ...)
  2005-09-06  1:58 ` pinskia at gcc dot gnu dot org
@ 2005-09-06  2:21 ` pinskia at gcc dot gnu dot org
  2005-09-06  3:40 ` pinskia at gcc dot gnu dot org
  2005-09-07 14:03 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  2:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 02:21 -------
Hmm, with -fno-tree-ter, we don't get an ICE but I this is a middle-end bug with respect of lowering eh 
constructs.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |middle-end


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


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

* [Bug middle-end/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (7 preceding siblings ...)
  2005-09-06  2:21 ` [Bug middle-end/23711] " pinskia at gcc dot gnu dot org
@ 2005-09-06  3:40 ` pinskia at gcc dot gnu dot org
  2005-09-07 14:03 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-06  3:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-06 03:40 -------
Looks like the issue is that reload's assert should be checking about internal_throw when it is checking 
the trap_count.

See <http://gcc.gnu.org/ml/gcc/2005-09/msg00107.html> for the patch which could be tested.

-- 


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


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

* [Bug middle-end/23711] [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note)
  2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
                   ` (8 preceding siblings ...)
  2005-09-06  3:40 ` pinskia at gcc dot gnu dot org
@ 2005-09-07 14:03 ` pinskia at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-07 14:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-07 14:03 -------
Fixed by:
2005-09-07  Andreas Krebbel  <krebbel1@de.ibm.com>

        * reload1.c (fixup_eh_region_note): Remove assertion.
        (fixup_abnormal_edges): Reverted removal of call to
        find_many_sub_basic_blocks made on 2005-08-31.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.0


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


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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-03  7:16 [Bug bootstrap/23711] New: [4.1 regression] [s390] bootstrap error in libjava (ICE in fixup_eh_region_note) debian-gcc at lists dot debian dot org
2005-09-03 12:03 ` [Bug target/23711] " pinskia at gcc dot gnu dot org
2005-09-05 14:51 ` pinskia at gcc dot gnu dot org
2005-09-06  0:59 ` pinskia at gcc dot gnu dot org
2005-09-06  1:03 ` pinskia at gcc dot gnu dot org
2005-09-06  1:48 ` pinskia at gcc dot gnu dot org
2005-09-06  1:57 ` pinskia at gcc dot gnu dot org
2005-09-06  1:58 ` pinskia at gcc dot gnu dot org
2005-09-06  2:21 ` [Bug middle-end/23711] " pinskia at gcc dot gnu dot org
2005-09-06  3:40 ` pinskia at gcc dot gnu dot org
2005-09-07 14:03 ` 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).