[Bug target/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions

2005-11-02 Thread tsv at solvo dot ru
--- Comment #12 from tsv at solvo dot ru 2005-11-02 22:26 --- (In reply to comment #11) > Subject: Bug 24178 > > Author: rth > Date: Wed Nov 2 18:20:07 2005 > New Revision: 106388 > > URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106388 >

[Bug middle-end/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions

2005-10-23 Thread tsv at solvo dot ru
--- Comment #9 from tsv at solvo dot ru 2005-10-23 18:22 --- (In reply to comment #8) > (In reply to comment #7) > > Can someone try sparc-linux, I would not doubt this could be reproduced > > there > > too. > > Actually, it can't, as I tried to explain

[Bug middle-end/24178] [4.0/4.1 regression] generates code that produces unaligned access exceptions

2005-10-14 Thread tsv at solvo dot ru
--- Comment #5 from tsv at solvo dot ru 2005-10-14 13:30 --- I tried check the difference between 3.4 and 4.x. The 3.4 emit instruction that correct passed pointer (in my case -25) and then stores value to member of structure (p4) at correct offset (24). In gcc 4.x the "store_fiel

[Bug middle-end/24178] GCC 4.0/4.1 generates code that produces unaligned access exceptions

2005-10-03 Thread tsv at solvo dot ru
--- Comment #3 from tsv at solvo dot ru 2005-10-04 05:59 --- (In reply to comment #2) > (In reply to comment #0) > > > The offset of "p5" member is 25 bytes, but compiler thinks that "p5" is > > aligned > > in "foo" function >

[Bug c/24178] New: GCC 4.0/4.1 generates code that produces unaligned access exceptions

2005-10-03 Thread tsv at solvo dot ru
ormal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsv at solvo dot ru GCC build triplet: alpha-*-linux-gnu GCC host triplet: alpha-*-linux-gnu GCC target triplet: alpha-*-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24178

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-28 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-28 18:07 --- Retested in idle machine: patch1 -O2 -mcpu=ev4 - 7 minutes patch2 -O2 -mcpu=ev4 - 1.30 minutes patch1 -O2 -mcpu=ev5 - 30 secs patch2 -O2 -mcpu=ev5 - 13.6 secs It does make a difference. :) Thank you. -- http

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-27 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-27 18:42 --- Yes, I tested the reported gcc version just with your patch. After trying to trace "synth_mult" I started to think that there should be a simplier way. :) In my testcase the "choose_mult_variant&q

[Bug middle-end/23971] [4.0/4.1 Regression] synth_mult running amok

2005-09-24 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-24 20:29 --- It takes about 10 minutes to compile attached testcase with -O2 -mcpu=ev4 and about 2 minutes for -O2 -mcpu=ev5 (compiled on EV45 233Mhz). The difference is in cost of multiply op - 100 for ev4 and about 54 for ev5

[Bug target/23971] Compilation takes a long time with -O2 option

2005-09-19 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-09-19 19:21 --- Created an attachment (id=9775) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9775&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23971

[Bug target/23971] New: Compilation takes a long time with -O2 option

2005-09-19 Thread tsv at solvo dot ru
P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsv at solvo dot ru CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: alpha-unknown-linux-gnu GCC host triplet: alpha-unknown-linux-gnu GCC target triplet: alpha-unknown-linux-gnu

[Bug target/22447] gcc produces code that generate unaligned exceptions

2005-07-12 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-07-12 23:27 --- (In reply to comment #5) > (In reply to comment #4) > > Well, for this: > > void f(long *p) { > *(char *) p = 0; > } > > I get > > ldl t0,0(a0) > andnot

[Bug target/22447] gcc produces code that generate unaligned exceptions

2005-07-12 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-07-12 23:16 --- (In reply to comment #5) > (In reply to comment #4) > > > Unfortunatelly, with switching to gcc 4.x some code started to > > produce such exceptions (with gcc 3.4 everything was fine). Is there >

[Bug target/22447] gcc produces code that generate unaligned exceptions

2005-07-12 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-07-12 22:48 --- (In reply to comment #3) > (In reply to comment #0) > > > > Instead of generating the code to store a byte using unaligned load/store > > instruction it uses aligned LDL/STL. The assembler cod

[Bug target/22447] gcc produces code that generate unaligned exceptions

2005-07-12 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-07-12 21:24 --- Created an attachment (id=9255) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9255&action=view) produced assembler output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22447

[Bug target/22447] gcc produces code that generate unaligned exceptions

2005-07-12 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-07-12 21:23 --- Created an attachment (id=9254) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9254&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22447

[Bug target/22447] New: gcc produces code that generate unaligned exceptions

2005-07-12 Thread tsv at solvo dot ru
exceptions Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsv at solvo dot ru CC: gcc-bugs at gcc

[Bug libgcj/21285] gij fails to handle NullPointerException exception

2005-05-12 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-12 08:25 --- Your patch works a lot better than mine. Just tested and ant started to work. Thank you very much. -- What|Removed |Added

[Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"

2005-05-11 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-11 20:39 --- (In reply to comment #22) > Subject: Re: [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception" > > > On May 5, 2005, at 4:03 PM, tsv at solvo dot ru wrote: >

[Bug libffi/21285] gij fails to handle NullPointerException exception

2005-05-08 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-08 18:30 --- (In reply to comment #13) > It's the unwind info that should be changed, not the code. > I'll do it. Thank you very much. I just understand the code better than DWARF stuff. :) -- http://gcc.

[Bug middle-end/21285] gij fails to handle NullPointerException exception

2005-05-06 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-06 22:39 --- Created an attachment (id=8832) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8832&action=view) Fixes call frame size mismatch in ".frame" and ".eh_frame" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21285

[Bug middle-end/21285] gij fails to handle NullPointerException exception

2005-05-06 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-06 22:36 --- Ok, I think I did find the problem. The unwind logic could not unwind deeper than "ffi_closure_osf" function defined in libffi/src/alpha/osf.S (gdb showed call stack like corrupted). I checked number of byte

[Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"

2005-05-05 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-05 20:03 --- (In reply to comment #20) > (In reply to comment #19) > > Should not be some warning to be generated? > > There is a warning if going directly from char * to the union pointer but since you go

[Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"

2005-05-05 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-05 19:16 --- I just extracted it from "dbus" package which I am testing on linux/alpha platform. There are other packages (mozilla one of them) that started to generate unaligned access exceptions then built by gcc 4.0.

[Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"

2005-05-05 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-05 19:07 --- gcc version 4.0.0 20050423 (Red Hat 4.0.0-2) Here is another test case that generates unaligned access exception: typedef union { short i16; unsigned short u16; int

[Bug middle-end/21285] gij fails to handle NullPointerException exception

2005-05-05 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-05 13:13 --- I put my code into try/catch block and the exception was successfully caught. How general EH is supposed to be called? Could it be arch specific? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21285

[Bug middle-end/21285] gij fails to handle NullPointerException exception

2005-05-03 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-03 23:03 --- Ok, somehow generic exception handler is missed on linux alpha. At this point I don't undestand how and leave it for professionals. Just check the same test on: gij (GNU libgcj) version 3.4.3 20050227 (Red Hat

[Bug libgcj/21285] gij fails to handle NullPointerException exception

2005-05-03 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-03 21:49 --- So far I was able to debug to interpret.cc:3211. It seems that unwind logic worked correctly (as far as I could understand) and catch handler was called. The logic here didn't find exception handler and &q

[Bug libgcj/21285] gij fails to handle NullPointerException exception

2005-05-03 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-03 20:54 --- How could I check that? I ran "make check" in libffi library and it has not produced any errors. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21285

[Bug libgcj/21285] gij fails to handle NullPointerException exception

2005-05-03 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-03 19:46 --- Here is another stack dump from attempt of running the "ant": exec "/usr/lib/jvm/java/bin/java" -classpath "/usr/share/java/ant.jar:/usr/share/java/ant-launcher.jar:/usr/share/java/jaxp_parser

[Bug libgcj/21285] gij fails to handle NullPointerException exception

2005-05-03 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-05-03 19:36 --- Here it is. I tried to debug it, but it does a lot of things I have a little knowlegde about. (gdb) bt #0 _Jv_Throw (value=0x20001b1b220) at ../../../libjava/exception.cc:113 #1 0x02b6c7dc in

[Bug libgcj/21285] New: gij fails to handle NullPointerException exception

2005-04-29 Thread tsv at solvo dot ru
nent: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsv at solvo dot ru CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: alpha-redhat-linux GCC host triplet: alpha-redhat-linux GCC targe

[Bug libgcj/20775] Crash in libgcj.so on linux alpha

2005-04-19 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-04-19 19:57 --- (In reply to comment #4) > Then this is fixed for 3.4.4 and above by the following patch (which does the same): > 2005-04-11 Richard Henderson <[EMAIL PROTECTED]> > > * include/private

[Bug libgcj/20775] Crash in libgcj.so on linux alpha

2005-04-19 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-04-19 19:38 --- I was able to fix the problem by applying the following patch: --- gcc-3.4.3-20050222/boehm-gc/include/private/gcconfig.h.orig 2005-04-19 19:40:06.0 +0400 +++ gcc-3.4.3-20050222/boehm-gc/include/private

[Bug libgcj/20775] Crash in libgcj.so on linux alpha

2005-04-06 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-04-06 07:11 --- No, it is UP machine. Yes - it crashes at the same place all the time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20775

[Bug libgcj/20775] New: Crash in libgcj.so on linux alpha

2005-04-05 Thread tsv at solvo dot ru
stop_func=0x203d4cc ) at ../../boehm-gc/alloc.c:365 #4 0x0204e418 in GC_init_inner () at ../../boehm-gc/misc.c:783 #5 0x0204e4c8 in GC_enable_incremental () at ../../boehm-gc/misc.c:822 #6 0x0001200051a8 in main () at ../../boehm-gc/tests/test.c:1805 (gdb) -- S

[Bug target/20625] [4.0/4.1 regression] ivopts produces code that generates "unaligned access exception"

2005-03-30 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-03-30 09:43 --- It does work for me too. Thank you for quick fix. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20625

[Bug c/20625] gcc with -O2 produces code that generates "unaligned access exception"

2005-03-24 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-03-24 16:58 --- If source code compiled without optimization - no unaligned access generated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20625

[Bug c/20625] gcc with -O2 produces code that generates "unaligned access exception"

2005-03-24 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-03-24 16:57 --- Created an attachment (id=8452) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8452&action=view) Produced assembler file This is generated assembler source with marked instruction (<---) that generated

[Bug c/20625] gcc with -O2 produces code that generates "unaligned access exception"

2005-03-24 Thread tsv at solvo dot ru
--- Additional Comments From tsv at solvo dot ru 2005-03-24 16:55 --- Created an attachment (id=8450) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8450&action=view) test case This is small test case that shows the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20625

[Bug c/20625] New: gcc with -O2 produces code that generates "unaligned access exception"

2005-03-24 Thread tsv at solvo dot ru
ption" Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tsv at solvo dot ru CC: gcc-bugs at gcc dot gnu dot org