[Bug c/19547] floating point registers not preserved during function call

2005-01-20 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-20 17:18 --- It's the callee's responsibility to save f4...f7 if it wants to use them. So the problem is in glibc. Note that gcc 2.95 isn't supported any more, so the most we'd likely do in this

[Bug target/19571] floating point registers not preserved during function call

2005-01-22 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-22 10:36 --- The code generated looks correct to me. The generated assembler that you've give for __cos is clearly saving and restoring f4-f7. __cos: // Saves the integer registers ca4c: e92

[Bug target/19598] [arm] non-optimal handling of invalid immediate constant in XOR

2005-01-25 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-25 10:59 --- Confirmed. arm_split_constant() already knows how to handle XOR, so it should be just a matter of copying the model used for andsi3 into the xorsi3 expander. -- What|Removed

[Bug target/19393] [3.4 Regression] Assembler error: branch out of range

2005-01-25 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-25 12:51 --- Nick patched this on the trunk back in March last year. I've backported the patch to the branch. -- What|Removed |

[Bug target/16201] Assembler messages:Error: bad immediate value for offset (4116)

2005-01-28 Thread rearnsha at gcc dot gnu dot org
-- What|Removed |Added Attachment #6629|text/plain |application/x-zip mime type|| http://gcc.gnu.org/bugzilla/show_bug.cgi?i

[Bug target/17209] ld-collate.s: Error: bad immediate value for offset (4096)

2005-01-31 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-31 15:55 --- This is indeed a duplicate of PR16201 *** This bug has been marked as a duplicate of 16201 *** -- What|Removed |Added

[Bug target/16201] Assembler messages:Error: bad immediate value for offset (4116)

2005-01-31 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-31 15:56 --- *** Bug 17209 has been marked as a duplicate of this bug. *** -- What|Removed |Added

[Bug target/16201] Assembler messages:Error: bad immediate value for offset (4116)

2005-01-31 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-01-31 15:59 --- The problem is the arith_adjacent_mem pattern, which is sometimes expanding to more than three instructions if the addressed objects are in the stack frame. Patch in testing. -- What

[Bug target/16201] Assembler messages:Error: bad immediate value for offset (4116)

2005-02-01 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-02-01 15:08 --- Fixed -- What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/13032] CPP_CPU_ARCH_SPEC confusion

2005-02-10 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-02-11 00:35 --- CPP_CPU_ARCH_SPEC is no more. -- What|Removed |Added Status|NEW

[Bug rtl-optimization/18560] better optimalization of EOR/MOV block.

2005-02-11 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-02-11 10:15 --- The new register allocator (new-ra) has been removed because it was buggy and there were no plans to fix it. I was using it to show that the initial MOV was an unrelated issue. Your code snippet shows

[Bug rtl-optimization/18560] better optimalization of EOR/MOV block.

2005-02-11 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-02-11 11:13 --- I've linked this to the register-allocator meta-bug -- What|Removed |

[Bug target/19935] [4.0 Regression] unexpected "bx lr" in arm mode.

2005-02-14 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2005-02-14 14:06 --- Not a bug. "bx lr" is the correct instruction to use for returning from a function on any ARMv4T or later processor. -- What|Removed

[Bug rtl-optimization/17186] [3.4/3.5 regression] ICE in move_for_stack_reg, at reg-stack.c:1065

2004-09-11 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-09-11 11:19 --- This patch causes regressions on arm-unknown-elf. Specifically, g++.old-deja/g++.brendan/crash15.C now fails to compile with an ICE. -- What|Removed |Added

[Bug libstdc++/17850] New: [4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared

2004-10-05 Thread rearnsha at gcc dot gnu dot org
strtold when undeclared Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: build Severity: critical Priority: P2 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy

[Bug libstdc++/17850] [4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared

2004-10-05 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-10-05 19:05 --- Created an attachment (id=7288) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7288&action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17850

[Bug libstdc++/17850] [3.4/4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared

2004-10-05 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-10-05 19:21 --- As far as I can see, I think the problem is in configure.ac, where we automatically assume that newlib has strtold(). This is false AFAICT, newlib has _strtold, but it doesn't have strtol

[Bug target/17063] internal compiler error: in arm_print_operand, at config/arm/arm.c:9816

2004-10-29 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-10-29 15:54 --- Fixed in 4.0. Not intending to fix for 3.4 or earlier, since not a regression. int f (int x, int y) { __asm__("rorw $8, %w0" : "=r"(x): "0" (y) : "cc"); return

[Bug rtl-optimization/15342] [arm-linux] internal compiler error: in verify_local_live_at_start

2004-10-29 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-10-29 16:43 --- I think the key to what has failed here is that the reg-rename pass has missed the equivalence between start->index and a member of the copied structure. In pseudo code, the output from the previous p

[Bug target/18274] New: Documentation for -mhard-float on arm platforms is incorrect

2004-11-02 Thread rearnsha at gcc dot gnu dot org
ReportedBy: rearnsha at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: arm-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18274

[Bug target/18274] Documentation for -mhard-float on arm platforms is incorrect

2004-11-02 Thread rearnsha at gcc dot gnu dot org
-- What|Removed |Added Target Milestone|--- |4.0.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18274

[Bug bootstrap/18401] New: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE

2004-11-09 Thread rearnsha at gcc dot gnu dot org
: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, build Severity: critical Priority: P1 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rearnsha at gcc dot gnu dot org

[Bug bootstrap/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE

2004-11-09 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-09 15:09 --- Created an attachment (id=7504) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7504&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18401

[Bug bootstrap/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE

2004-11-09 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-09 15:47 --- Subject: Re: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE On Tue, 2004-11-09 at 15:09, rearnsha at gcc dot gnu dot org wrote: > --- Additional Comments F

[Bug c/18620] double data reversal

2004-11-23 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-23 10:57 --- I agree that this is a bug, and I think it's been fixed now for gcc-4.x, but I'm not going to attempt to back-port the fix to the branch, given the possible work-around outlined below. The reas

[Bug target/16314] EP9312 gcc: undefined reference to __divdf3

2004-11-23 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-11-23 11:03 --- Subject: Re: EP9312 gcc: undefined reference to __divdf3 On Tue, 2004-11-23 at 06:04, zhangyijin_2008 at 163 dot com wrote: > I use this function and I test it can run ok. But I don`t know can it run

[Bug rtl-optimization/18401] [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE

2004-12-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-13 09:54 --- Subject: Re: [4.0.0 Regression] Bootstrap failure on all ARM targets due to incorrect GCSE On Sun, 2004-12-12 at 22:10, pinskia at gcc dot gnu dot org wrote: > --- Additional Comments F

[Bug target/18929] Profiling optimized code causes segfaults on ARM due to missing frames

2004-12-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-13 11:44 --- I don't think that patch is correct. Please try the one from bug 3724: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/linux-elf.h.diff?cvsroot=gcc&r1=1.39&r2=1.40 Also, please a

[Bug target/18929] Profiling optimized code causes segfaults on ARM due to missing frames

2004-12-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-13 15:43 --- Subject: Re: Profiling optimized code causes segfaults on ARM due to missing frames On Mon, 2004-12-13 at 15:28, opensource at artnaseef dot com wrote: > --- Additional Comments F

[Bug target/18973] -mcpu=arm926ejs should set FL_LDSCHED

2004-12-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-14 10:33 --- Agreed. I suspect it's an oversight. In gcc-4, this also applies to arm1026*, arm11* and mpcore*. -- What|Removed |

[Bug target/18973] -mcpu=arm926ejs should set FL_LDSCHED

2004-12-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-14 14:15 --- Fixed for 4.0. Not fixed for 3.4 since it is only a performance tweak and would require a different patch. -- What|Removed |Added

[Bug rtl-optimization/18560] better optimalization of EOR/MOV block.

2004-12-13 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-14 15:16 --- As Andrew pointed out, the merge of the eor and the rotate is now done on mainline in 4.0. The initial redundant MOV is a register allocation artifact. This particular testcase compiles optimally with

[Bug middle-end/18952] compiler internal error

2004-12-14 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-14 15:47 --- Your testcase compiles without error with gcc 3.4 and the development build. On my pre-release of gcc-3.3.4 I get an unrecognized internal instruction, but no segmentation fault. I'd strongly reco

[Bug target/19008] [3.3 regression] [arm] gcc-3.3 -O3 -fPIC produce wrong code via auto inlining

2004-12-15 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-15 11:59 --- use_maximal_pivot() is casting longs to pointers and vice-versa. I strongly suspect this code is violating C's aliasing rules. The inlining of the function then opens up more chances for the schedul

[Bug target/19008] [3.3 regression] [arm] gcc-3.3 -O3 -fPIC produce wrong code via auto inlining

2004-12-15 Thread rearnsha at gcc dot gnu dot org
--- Additional Comments From rearnsha at gcc dot gnu dot org 2004-12-15 17:17 --- Compiling the testcase with '-O3 -fPIC' using stock gcc-3.3.2 and gcc-3.3.5 configured for arm-linux produces identical assembly code for gauss_pivot_ker(). So I don't see what

[Bug tree-optimization/29801] New: [4.3 regression] ICE in set_lattice_value (tree-ssa-ccp.c)

2006-11-10 Thread rearnsha at gcc dot gnu dot org
valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rearnsha at gcc dot gnu dot org GCC target triplet: arm-none-eabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29801

[Bug tree-optimization/29801] [4.3 regression] ICE in set_lattice_value (tree-ssa-ccp.c)

2006-11-10 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2006-11-11 00:43 --- Created an attachment (id=12590) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12590&action=view) reduced test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29801

[Bug tree-optimization/29801] [4.3 regression] ICE in set_lattice_value (tree-ssa-ccp.c)

2006-11-11 Thread rearnsha at gcc dot gnu dot org
--- Comment #5 from rearnsha at gcc dot gnu dot org 2006-11-11 23:07 --- Created an attachment (id=12595) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12595&action=view) Further reduced testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29801

[Bug middle-end/29846] impossible to both expand store flag operations and use a cbranch handler

2006-11-16 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2006-11-16 14:16 --- (In reply to comment #0) > cstore patterns are recognized by genopinit, but > cause a compiler crash their presence influences code generation. > Cstore operations should now work after the patch I

[Bug c/29938] [3.4.4/3.4.6/4.1.1] ARM structure pointer alignment problem with optimization

2006-11-22 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2006-11-22 10:50 --- The compiler expects 'y' to be correctly aligned because the ABI says that it can expect this to be so. If you write a program that then provides an unaligned value, then the behaviour is undefined a

[Bug target/28516] [4.2 regression] arm_unwind_emit_set, at config/arm/arm.c:15419 with -fexceptions

2006-12-04 Thread rearnsha at gcc dot gnu dot org
--- Comment #21 from rearnsha at gcc dot gnu dot org 2006-12-04 11:26 --- We can't apply this patch to the 4.1 branch if it would mean users had to use CVS versions of binutils. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28516

[Bug bootstrap/30074] New: [4.3 Regression] Cross compiler build failure on i386 host

2006-12-05 Thread rearnsha at gcc dot gnu dot org
ure on i386 host Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rearns

[Bug target/30192] [arm] Wrong sp value on exit after calling __floatdidf or __floatundidf

2006-12-13 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2006-12-13 12:01 --- Created an attachment (id=12793) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12793&action=view) patch for fpa-related floating point problems -- rearnsha at gcc dot gnu dot org

[Bug target/30192] [arm] Wrong sp value on exit after calling __floatdidf or __floatundidf

2006-12-13 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2006-12-13 12:02 --- Sorry, your proposed patch isn't interworking safe. Can you try the patch I've attached and let me know if that works. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30192

[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3

2007-01-05 Thread rearnsha at gcc dot gnu dot org
--- Comment #1 from rearnsha at gcc dot gnu dot org 2007-01-05 10:10 --- A better patch, suggested by Nicolas Pitre is: @ Result is x + 0.0 = x or 0.0 + y = y. - teq r4, #0 + orrsip, r4, xl moveq xh, yh moveq xl, yl RETLDM "r4, r5" which pe

[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2007-01-09 10:09 --- Subject: Bug 30173 Author: rearnsha Date: Tue Jan 9 10:08:49 2007 New Revision: 120613 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120613 Log: 2007-01-09 Nicolas Pitre <[EMAI

[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #3 from rearnsha at gcc dot gnu dot org 2007-01-09 10:12 --- Subject: Bug 30173 Author: rearnsha Date: Tue Jan 9 10:11:53 2007 New Revision: 120614 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120614 Log: 2007-01-09 Nicolas Pitre <[EMAI

[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #4 from rearnsha at gcc dot gnu dot org 2007-01-09 10:15 --- Subject: Bug 30173 Author: rearnsha Date: Tue Jan 9 10:14:54 2007 New Revision: 120615 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120615 Log: 2007-01-09 Nicolas Pitre <[EMAI

[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #5 from rearnsha at gcc dot gnu dot org 2007-01-09 10:17 --- Subject: Bug 30173 Author: rearnsha Date: Tue Jan 9 10:17:02 2007 New Revision: 120616 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120616 Log: 2007-01-09 Nicolas Pitre <[EMAI

[Bug target/30173] [4.0/4.1/4.2/4.3 Regression] Error in ARM softfloat routine __adddf3

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #6 from rearnsha at gcc dot gnu dot org 2007-01-09 10:20 --- Fixed on trunk and all active release branches -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/30121] ICE on frtl-abstract-sequences and mthumb.

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #2 from rearnsha at gcc dot gnu dot org 2007-01-09 11:01 --- It's worse than that. compute_init_costs makes a number of broken assumptions. Not least of which is that it assumes that gen_... functions in machine description files will return the pattern of a single

[Bug target/29983] Out of range offset for ldrd/strd intruction.

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #6 from rearnsha at gcc dot gnu dot org 2007-01-09 11:10 --- (In reply to comment #4) > I see: > ldrdr2, [r1], #328 > Which isn't a valid instruction (the offset is too large). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29983

[Bug bootstrap/21547] GMP/MPFR shared libraries not in LD_LIBRARY_PATH: failure to build libgfortran

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #9 from rearnsha at gcc dot gnu dot org 2007-01-09 15:48 --- gdb's configure uses AC_LIB_HAVE_LINKFLAGS to test for expat. This correctly sets up the right link flags so that applications will find the shared library. Is there any reason we can't use that fo

[Bug target/29983] Out of range offset for ldrd/strd intruction.

2007-01-09 Thread rearnsha at gcc dot gnu dot org
--- Comment #7 from rearnsha at gcc dot gnu dot org 2007-01-09 17:01 --- Confirmed. This is iwmmxt-specific and occurs because the co-processor load-double-word instructions have a larger offset than LDRD. -- rearnsha at gcc dot gnu dot org changed: What|Removed

[Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch

2007-01-22 Thread rearnsha at gcc dot gnu dot org
--- Comment #4 from rearnsha at gcc dot gnu dot org 2007-01-22 12:04 --- The reduced testcase also ices on a native i386 build. The problem seems to crop up somewhere in t81.ivopts pass where a switch statement variable is transformed from an integral calculation into a cast of a void

<    1   2   3   4   5