[Bug target/32340] libjava build failure due to missing thread synchronization primitives

2007-07-16 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-07-16 10:32 --- Subject: Bug 32340 Author: rask Date: Mon Jul 16 10:32:05 2007 New Revision: 126675 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126675 Log: PR target/32340 * configure.host (

[Bug target/32808] cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499

2007-07-18 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-07-18 13:47 --- Subject: Bug 32808 Author: rask Date: Wed Jul 18 13:47:28 2007 New Revision: 126720 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126720 Log: PR target/32808 * config/cri

[Bug middle-end/21137] Convert (a >> 2) & 1 != 0 into a & 4 != 0

2007-07-26 Thread rask at gcc dot gnu dot org
--- Comment #11 from rask at gcc dot gnu dot org 2007-07-26 09:33 --- Reopening since this was only partially fixed. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/32471] Testcases which always fail on targets where an int is 16 bits

2007-07-27 Thread rask at gcc dot gnu dot org
--- Comment #2 from rask at gcc dot gnu dot org 2007-07-27 23:03 --- Subject: Bug 32471 Author: rask Date: Fri Jul 27 23:03:01 2007 New Revision: 127005 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127005 Log: PR testsuite/32471 * gcc.dg/torture/pr3036

[Bug target/33011] New: [4.3 Regression] frv: error: bad output_move_single operand

2007-08-07 Thread rask at gcc dot gnu dot org
ty: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: frv-unknown-elf http://gcc.gnu.or

[Bug target/33011] [4.3 Regression] frv: error: bad output_move_single operand

2007-08-07 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-08-07 14:44 --- Created an attachment (id=14032) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14032&action=view) Testcase to compile with -O2 -mcpu=fr400 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33011

[Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl

2007-08-14 Thread rask at gcc dot gnu dot org
--- Comment #10 from rask at gcc dot gnu dot org 2007-08-14 14:39 --- Subject: Bug 30315 Author: rask Date: Tue Aug 14 14:39:24 2007 New Revision: 127481 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127481 Log: PR target/30315 * config/i38

[Bug rtl-optimization/33089] New: combine not combining add + test in if (a + b) > 0

2007-08-16 Thread rask at gcc dot gnu dot org
s: missed-optimization Severity: enhancement Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC build triplet: x86_64-unkonwn-linux-gnu GCC host triplet: x86_64-unkonwn-linu

[Bug target/33011] [4.3 Regression] frv: error: bad output_move_single operand

2007-08-16 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-08-16 19:49 --- Revision 127532 works. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl

2007-08-19 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-08-19 13:00 --- void *foo(unsigned a, unsigned b) { unsigned sum = a + b; if (sum < a) return 0; if (sum == 0) sum = 1; To be able to optimize both comparisons, we need to have the same comparison operands. The o

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-08-20 Thread rask at gcc dot gnu dot org
--- Comment #7 from rask at gcc dot gnu dot org 2007-08-20 16:06 --- Created an attachment (id=14082) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14082&action=view) Preprocessed testcase; compile with -O2 -g -m2a -fno-builtin It appears to fail the same way as earlier

[Bug target/33132] New: m32r: ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in insn_current_length, at insn-attrtab.c:29: RTL check: expected elt 0 type 'i' or 'n', have 'w

2007-08-21 Thread rask at gcc dot gnu dot org
Keywords: ice-on-valid-code, build, ice-checking Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: m32r-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33132

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-08-22 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-08-22 12:56 --- Subject: Bug 32557 Author: rask Date: Wed Aug 22 12:56:35 2007 New Revision: 127703 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127703 Log: PR rtl-optimization/32557 * df-pr

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-08-23 Thread rask at gcc dot gnu dot org
--- Comment #11 from rask at gcc dot gnu dot org 2007-08-23 12:18 --- I don't know if it has been fixed on powerpc64-suse-linux-gnu yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32557

[Bug target/33184] New: [4.3 Regression] m32c: ostream.tcc:92: error: unable to find a register to spill in class 'A_REGS'

2007-08-25 Thread rask at gcc dot gnu dot org
D Keywords: ice-on-valid-code, build Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-

[Bug target/33132] m32r: ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in insn_current_length, at insn-attrtab.c:29

2007-08-31 Thread rask at gcc dot gnu dot org
--- Comment #2 from rask at gcc dot gnu dot org 2007-08-31 11:42 --- It still fails here at revision 127986. I forgot to mention the configure flags: --target m32r-unknown-elf --with-newlib --enable-sim --disable-gdb --disable-nls --enable-checking=yes,rtl Note in particular that I

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-09-04 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-09-04 08:52 --- Closing as suggested off-line by Andreas Jaeger. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug web/32965] missing documentation for -ftree-dse

2007-09-05 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-09-05 19:48 --- Subject: Bug 32965 Author: rask Date: Wed Sep 5 19:47:56 2007 New Revision: 128146 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128146 Log: PR web/32965 PR tree-optimizati

[Bug tree-optimization/13756] [tree-ssa] documentation missing

2007-09-05 Thread rask at gcc dot gnu dot org
--- Comment #14 from rask at gcc dot gnu dot org 2007-09-05 19:48 --- Subject: Bug 13756 Author: rask Date: Wed Sep 5 19:47:56 2007 New Revision: 128146 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128146 Log: PR web/32965 PR tree-optimizati

[Bug web/32965] missing documentation for -ftree-dse

2007-09-05 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-09-05 19:56 --- Fixed with revision 128146. The online documentation will be updated automatically within 24 hours. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30315] optimize unsigned-add overflow test on x86 to use cpu flags from addl

2007-09-09 Thread rask at gcc dot gnu dot org
--- Comment #15 from rask at gcc dot gnu dot org 2007-09-09 19:22 --- Subject: Bug 30315 Author: rask Date: Sun Sep 9 19:21:59 2007 New Revision: 128305 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128305 Log: PR target/30315 * config/i38

[Bug c/33111] Bad code generation with -O2 (ARM 7 architecture)

2007-09-09 Thread rask at gcc dot gnu dot org
--- Comment #7 from rask at gcc dot gnu dot org 2007-09-09 21:08 --- Did you read comment #1? Does -fno-strict-aliasing magically "fix" your code? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33111

[Bug target/32097] m32c: ICE in expand_builtin_apply, at builtins.c:1525 building libobjc

2007-09-09 Thread rask at gcc dot gnu dot org
--- Comment #2 from rask at gcc dot gnu dot org 2007-09-09 21:17 --- This still happens with revision 128297. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33377] New: cris: error: 'ENOTSUP' was not declared in this scope building libstdc++

2007-09-10 Thread rask at gcc dot gnu dot org
normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: cris-axis-elf http://gcc.gn

[Bug other/32154] sim-crt0.o/crt0.o isn't found during configure due to missing -L or -B

2007-09-10 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-09-10 14:20 --- Subject: Bug 32154 Author: rask Date: Mon Sep 10 14:20:10 2007 New Revision: 128344 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128344 Log: PR other/32154 * configure.ac: For

[Bug other/32154] sim-crt0.o/crt0.o isn't found during configure due to missing -L or -B

2007-09-10 Thread rask at gcc dot gnu dot org
--- Comment #13 from rask at gcc dot gnu dot org 2007-09-10 14:27 --- Fixed as of revision 128344. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33377] [4.3 Regression] cris: error: 'ENOTSUP' was not declared in this scope building libstdc++

2007-09-10 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-09-11 00:40 --- This happens starting with revision 127744 and is definitely related to bug 33203. http://gcc.gnu.org/ml/libstdc++/2007-08/msg00039.html -- rask at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/33377] [4.3 Regression] cris: error: 'ENOTSUP' was not declared in this scope building libstdc++

2007-09-11 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-09-11 08:52 --- This was a newlib bug. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33388] New: fr30: ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:983

2007-09-11 Thread rask at gcc dot gnu dot org
Priority: P3 Component: target AssignedTo: rask at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC target triplet: fr30-unknown-elf OtherBugsDependingO 12019 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33388

[Bug target/33388] fr30: ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:983

2007-09-11 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-09-11 12:29 --- More problems: /n/12/rask/src/all/libgcc/../gcc/libgcc2.c: In function '__popcountdi2': /n/12/rask/src/all/libgcc/../gcc/libgcc2.c:813: internal compiler error: RTL check: expected code 'reg', hav

[Bug target/33397] New: fr30: ICE: in dwarf2out_frame_debug_expr, at dwarf2out.c:1667

2007-09-11 Thread rask at gcc dot gnu dot org
4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, build, ice-checking Severity: normal Priority: P3 Component: target AssignedTo: rask at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC target triplet: fr30-unknow

[Bug target/29493] -masm=intel - does not emit right asm code

2007-09-11 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-09-11 21:07 --- I think this can actually be fixed because memory operands appear to be properly delimited. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33374] GCC 4.1.2 produce wrong assembler code with -O2 option enabled.

2007-09-11 Thread rask at gcc dot gnu dot org
--- Comment #6 from rask at gcc dot gnu dot org 2007-09-11 21:25 --- That code looks very similar to the doubly linked lists that AmigaOS exec.library uses. Just remove the XL and XLM prefixes from the names and it's the same. That code indeed plays nasty type casting tricks to re

[Bug target/29473] -masm=intel combined with -march=athlon64 has some issues.

2007-09-12 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-09-12 13:12 --- This still happens with GCC 4.3 when trying to bootstrap with BOOT_CFLAGS='-O2 -g -fomit-frame-pointer -masm=intel' and it blocks me from working on bug 29493. /home/rask/build/gcc-x86_64-unknown-linux-gnu/

[Bug target/29473] -masm=intel combined with -march=athlon64 has some issues.

2007-09-14 Thread rask at gcc dot gnu dot org
--- Comment #11 from rask at gcc dot gnu dot org 2007-09-14 10:15 --- Yes, that worked. It is quite obvious from trying a bootstrap with -masm=intel that nobody ever uses Intel syntax, because there are assorted issues around the edges. Additionally, I'm now blocked by binutils bu

[Bug libfortran/21185] libgfortran unusable for cross-testing for newlib targets

2007-09-14 Thread rask at gcc dot gnu dot org
--- Comment #10 from rask at gcc dot gnu dot org 2007-09-14 10:42 --- I'm testing mipsisa64-unknown-elf, sh-unknown-elf and v850-unknown-elf right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21185

[Bug libfortran/21185] libgfortran unusable for cross-testing for newlib targets

2007-09-14 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-09-14 13:12 --- Testing on v850-unknown-elf suggests that getcwd() is also needed by libgfortran. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21185

[Bug libfortran/21185] libgfortran unusable for cross-testing for newlib targets

2007-09-14 Thread rask at gcc dot gnu dot org
--- Comment #16 from rask at gcc dot gnu dot org 2007-09-14 13:43 --- I get the same build failure on sh-unknown-elf and mipsisa64-unknown-elf. I'm continuing without the static keyword and with s/amod/amode/g. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21185

[Bug libfortran/21185] libgfortran unusable for cross-testing for newlib targets

2007-09-15 Thread rask at gcc dot gnu dot org
--- Comment #20 from rask at gcc dot gnu dot org 2007-09-15 10:19 --- arm-unknown-elf has 8000+ failures. Some of them are similar to this one (which happen on the other targets as well): /n/12/rask/src/all/gcc/testsuite/gfortran.dg/chmod_1.f90:0: warning: 'const' attribute

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-16 Thread rask at gcc dot gnu dot org
--- Comment #15 from rask at gcc dot gnu dot org 2007-09-16 12:57 --- 1. You should use define_insn_and_split. 2. If possible (which I think it is here), splitting before reload should produc.e better code. Btw, what is the ICE? Also, it seems to me that avr.h defines MOVE_MAX

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-16 Thread rask at gcc dot gnu dot org
--- Comment #16 from rask at gcc dot gnu dot org 2007-09-16 13:38 --- Created an attachment (id=14211) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14211&action=view) quick and dirty patch to reduce code size A fundamental problem with the AVR back end is that it sabota

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-16 Thread rask at gcc dot gnu dot org
--- Comment #17 from rask at gcc dot gnu dot org 2007-09-16 13:54 --- The patch is against mainline revision 128431. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-16 Thread rask at gcc dot gnu dot org
--- Comment #19 from rask at gcc dot gnu dot org 2007-09-16 17:30 --- Created an attachment (id=14213) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14213&action=view) quick and dirty patch to reduce code size Here's a patch which doesn't mess up the stack poin

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-17 Thread rask at gcc dot gnu dot org
--- Comment #21 from rask at gcc dot gnu dot org 2007-09-17 11:13 --- It's probably someting simple, see config.log. Like I said, the patch is a quick and dirty one and the AVR back end can use more work than that, most of which means deleting patterns. Examples: All and, ior

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #23 from rask at gcc dot gnu dot org 2007-09-18 07:14 --- > configure:10398: error: unrecognizable insn: > (insn 105 104 106 2 (set (subreg:QI (reg/f:HI 52) 0) > (subreg:QI (label_ref:HI 57) 0)) -1 (nil)) > configure:10398: internal compiler error: in

[Bug target/33397] fr30: ICE: in dwarf2out_frame_debug_expr, at dwarf2out.c:1667

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #2 from rask at gcc dot gnu dot org 2007-09-18 13:26 --- Fixed as of revision 128577. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33388] fr30: ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:983

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-09-18 13:25 --- Subject: Bug 33388 Author: rask Date: Tue Sep 18 13:24:44 2007 New Revision: 128577 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128577 Log: PR target/33388 PR target/33397

[Bug target/33397] fr30: ICE: in dwarf2out_frame_debug_expr, at dwarf2out.c:1667

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-09-18 13:25 --- Subject: Bug 33397 Author: rask Date: Tue Sep 18 13:24:44 2007 New Revision: 128577 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128577 Log: PR target/33388 PR target/33397

[Bug target/33388] fr30: ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:983

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-09-18 13:28 --- Fixed with revision 128577. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/12019] check for working C compiler on newlib targets fails due to missing crt0.o

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-09-18 13:34 --- With bug 33388 and bug 33397 fixed, the fix for bug 32154 fixes this one as well (as of revision 128577). -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33474] New: bfin: ICE: RTL check: expected code 'set' or 'clobber', have 'parallel' in bfin_adjust_cost, at config/bfin/bfin.c:3120

2007-09-18 Thread rask at gcc dot gnu dot org
7; in bfin_adjust_cost, at config/bfin/bfin.c:3120 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, build, ice-checking Severity: normal Priority: P3 Component: target AssignedTo:

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2007-09-18 Thread rask at gcc dot gnu dot org
--- Comment #25 from rask at gcc dot gnu dot org 2007-09-18 19:49 --- > c:/avrdev/gcc/gcc-4.3-20070914/libobjc/Object.m:66: error: unrecognizable > insn: > (insn 54 4 55 2 c:/avrdev/gcc/gcc-4.3-20070914/libobjc/Object.m:65 (set > (reg:QI 22 r22 [ D.2345 ]) > (subr

[Bug tree-optimization/33498] [4.2/4.3 Regression] Optimizer (-O2) may convert a normal loop to infinite

2007-09-19 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-09-19 16:12 --- Technically, the code is undefined (overflow of signed integer val). Using -O2 -fno-strict-overflow results in a loop test, but the code looks dubious: table_init: pushl %ebp# 51*pushsi2

[Bug tree-optimization/33498] [4.2/4.3 Regression] Optimizer (-O2) may convert a normal loop to infinite

2007-09-19 Thread rask at gcc dot gnu dot org
--- Comment #5 from rask at gcc dot gnu dot org 2007-09-19 16:39 --- table_init: pushl %ebp# 51*pushsi2[length = 1] movl$117835012, %eax# 20*movsi_1/1 [length = 5] movl%esp, %ebp # 52*movsi_1/1 [length = 2

[Bug tree-optimization/33498] Optimizer (-O2) may convert a normal loop to infinite

2007-09-20 Thread rask at gcc dot gnu dot org
--- Comment #13 from rask at gcc dot gnu dot org 2007-09-20 09:55 --- > Are you telling me that *any* integer overflow allows a compiler to generate a > buggy code without any notice ? No, unsigned integer overflow is well defined. -- http://gcc.gnu.org/bugzilla/show_bug.

[Bug target/33551] New: ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in m32c_immd_dbl_mov, at config/m32c/m32c.c:3010

2007-09-25 Thread rask at gcc dot gnu dot org
tatus: UNCONFIRMED Keywords: ice-on-valid-code, ice-checking Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC target triplet: m32c-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33551

[Bug middle-end/32656] [4.3 regression] m32c: ICE in smallest_mode_for_size, at stor-layout.c:220

2007-09-25 Thread rask at gcc dot gnu dot org
--- Comment #8 from rask at gcc dot gnu dot org 2007-09-25 12:05 --- It works for me too at revision 128761. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/25672] [4.1/4.2 regression] cross build's libgcc picks up CFLAGS

2007-09-26 Thread rask at gcc dot gnu dot org
--- Comment #18 from rask at gcc dot gnu dot org 2007-09-26 21:06 --- I ran into this with 4.3 a few weeks ago. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33603] configuration failure during native build

2007-09-30 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-09-30 20:35 --- Please look in your config.log for messages from collect2 and post the last linker failure one plus any that look wrong. -- rask at gcc dot gnu dot org changed: What|Removed

[Bug c/33629] bad code with -O2 if pointer dereference followed by null test

2007-10-02 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-10-02 18:08 --- This behaviour is as documented. http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33629] bad code with -O2 if pointer dereference followed by null test

2007-10-03 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-10-03 22:13 --- You could open a request for a warning when a null pointer check is optimized away after dereferencing the pointer. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33629

[Bug c/33782] New: [4.3 Regression] FAIL: gcc.c-torture/compile/limits-stringlit.c (test for excess errors)

2007-10-15 Thread rask at gcc dot gnu dot org
ReportedBy: rask at gcc dot gnu dot org GCC target triplet: m32c-unknown-elf avr-unknown-none http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33782

[Bug pch/33829] New: HOST_HOOKS_GT_PCH_GET_ADDRESS is missing from the documentation index

2007-10-20 Thread rask at gcc dot gnu dot org
Component: pch AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33829

[Bug target/32369] [frv] macro "DF_LIVE_IN" passed 2 arguments, but takes just 1

2007-06-19 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-06-19 16:30 --- Subject: Bug 32369 Author: rask Date: Tue Jun 19 16:30:03 2007 New Revision: 125851 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125851 Log: 2007-06-19 Rask Ingemann Lambertsen <[EMAI

[Bug target/32335] libgcc build failure, ICE in cselib_record_set, at cselib.c:1508

2007-06-19 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-06-19 17:35 --- Subject: Bug 32335 Author: rask Date: Tue Jun 19 17:35:16 2007 New Revision: 125853 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125853 Log: 2007-06-19 Rask Ingemann Lambertsen <[EMAI

[Bug target/32335] libgcc build failure, ICE in cselib_record_set, at cselib.c:1508

2007-06-20 Thread rask at gcc dot gnu dot org
--- Comment #13 from rask at gcc dot gnu dot org 2007-06-20 19:57 --- Subject: Bug 32335 Author: rask Date: Wed Jun 20 19:57:32 2007 New Revision: 125892 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125892 Log: 2007-06-20 Rask Ingemann Lambertsen <[EMAI

[Bug target/32335] libgcc build failure, ICE in cselib_record_set, at cselib.c:1508

2007-06-20 Thread rask at gcc dot gnu dot org
--- Comment #14 from rask at gcc dot gnu dot org 2007-06-20 19:59 --- Subject: Bug 32335 Author: rask Date: Wed Jun 20 19:58:57 2007 New Revision: 125893 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=125893 Log: 2007-06-20 Rask Ingemann Lambertsen <[EMAI

[Bug target/32418] [4.3 Regression] ICE in global_alloc, at global.c:514

2007-06-27 Thread rask at gcc dot gnu dot org
--- Comment #22 from rask at gcc dot gnu dot org 2007-06-27 22:23 --- Subject: Bug 32418 Author: rask Date: Wed Jun 27 22:23:35 2007 New Revision: 126067 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126067 Log: 2007-06-27 Rask Ingemann Lambertsen <[EMAI

[Bug target/29493] -masm=intel - does not emit right asm code

2007-10-22 Thread rask at gcc dot gnu dot org
--- Comment #5 from rask at gcc dot gnu dot org 2007-10-22 11:51 --- Subject: Bug 29493 Author: rask Date: Mon Oct 22 11:50:56 2007 New Revision: 129548 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129548 Log: PR target/29473 PR target/29493

[Bug target/29473] -masm=intel combined with -march=athlon64 has some issues.

2007-10-22 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-10-22 11:51 --- Subject: Bug 29473 Author: rask Date: Mon Oct 22 11:50:56 2007 New Revision: 129548 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129548 Log: PR target/29473 PR target/29493

[Bug target/29473] -masm=intel combined with -march=athlon64 has some issues.

2007-10-22 Thread rask at gcc dot gnu dot org
--- Comment #13 from rask at gcc dot gnu dot org 2007-10-22 13:06 --- Fixed as of revision 129548. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/29493] -masm=intel - does not emit right asm code

2007-10-22 Thread rask at gcc dot gnu dot org
--- Comment #6 from rask at gcc dot gnu dot org 2007-10-22 13:07 --- Fixed as of revision 129548. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/14582] [asm=intel] float to unsigned int conversion fills only 16 of 32 bits

2007-10-22 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-10-22 13:47 --- http://sourceware.org/ml/binutils/2004-06/msg00419.html It was bug in gas. The testcase works these days. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/18353] ICE with "movaps" in inline asm when using -masm=intel

2007-10-22 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-10-22 14:00 --- This works with revision 129548, which I think is the one that fixed it. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/28583] [4.2 regression] ICE in default_secondary_reload, at targhooks.c:532 when building libgcc2.c as _divsc3.o

2007-10-25 Thread rask at gcc dot gnu dot org
--- Comment #7 from rask at gcc dot gnu dot org 2007-10-25 18:04 --- This works fine in 4.3. Looking at the commit log, I'd say it was fixed by revision 121981. -- rask at gcc dot gnu dot org changed: What|Removed |

[Bug target/30801] [4.3 Regression] performance regression on uint64_t operations

2007-10-25 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-10-25 18:58 --- I see a substantial improvent when testing on the compile farm hardware: processor : 3 vendor_id : AuthenticAMD cpu family : 15 model : 65 model name : Dual-Core AMD Opteron(tm

[Bug other/29442] insn-attrtab has grown too large

2007-10-27 Thread rask at gcc dot gnu dot org
--- Comment #6 from rask at gcc dot gnu dot org 2007-10-27 12:46 --- As far as I can tell (from running cc1 in a debugger), the problem is not so much the size of the file, but that it contains two large functions and GCC leaks memory. After compiling the first large function, the

[Bug target/18353] ICE with "movaps" in inline asm when using -masm=intel

2007-10-27 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-10-27 13:40 --- *** Bug 33918 has been marked as a duplicate of this bug. *** -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33918] GCC failed to produce assembler output with -masm=intel option

2007-10-27 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-10-27 13:40 --- This is not a regression (as far as I know), so it won't be fixed in anything earlier than 4.3.0. GCC dies trying to figure out which of BYTE PTR, WORD PTR, etc. it should print for a structure. You may be able to

[Bug target/33132] m32r: ICE: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in insn_current_length, at insn-attrtab.c:29

2007-10-27 Thread rask at gcc dot gnu dot org
--- Comment #6 from rask at gcc dot gnu dot org 2007-10-27 15:24 --- Tested revision 129548 which works. -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-27 Thread rask at gcc dot gnu dot org
--- Comment #7 from rask at gcc dot gnu dot org 2007-10-27 23:16 --- Created an attachment (id=14417) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14417&action=view) possible patch Please give this patch a try. I need it to build GCC with OpenWatcom, which wants parame

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-27 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-10-27 23:36 --- It happens to work because all the compilers people use to build GCC pass varargs the same way as non-varargs, at least for the number of arguments received by the gen_* functions. IOW you shouldn't see any

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #10 from rask at gcc dot gnu dot org 2007-10-28 11:14 --- Created an attachment (id=14419) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14419&action=view) patch v2, i386 fix added -- rask at gcc dot gnu dot org changed: What|

[Bug other/29442] insn-attrtab has grown too large

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #7 from rask at gcc dot gnu dot org 2007-10-28 12:40 --- Created an attachment (id=14420) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14420&action=view) Reenable alloca() on non-GCC compilers The memory fragmentation problem is to be caused by libibert

[Bug other/29442] insn-attrtab has grown too large

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #8 from rask at gcc dot gnu dot org 2007-10-28 12:57 --- Created an attachment (id=14421) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14421&action=view) split insn-attrtab.c into three files Here's the patch to split insn-attrtab.c into smaller pieces

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-10-28 14:00 --- In reply to comment #11: > How many times do I have to say this is bad for most RISC targets (hosts)? I don't particularily care how many times you say it. Show some code (which works) and/or show some tim

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #13 from rask at gcc dot gnu dot org 2007-10-28 14:02 --- In reply to comment #7: > I need it to build GCC with OpenWatcom, which wants parameters on the stack > by default. Er, that's in registers by default, of course. -- http://gcc.gnu.org/bugzilla/show

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #15 from rask at gcc dot gnu dot org 2007-10-28 15:54 --- In reply to comment #14: > is your patch supposed to help with testcase presented in comment #6? No, it's aimed at the problem from the description. That is, GCC itself doesn't work if compiled with a c

[Bug other/29442] insn-attrtab has grown too large

2007-10-28 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-10-28 17:48 --- I just tried with only the alloca patch, and despite the unsplit insn-attrtab.c file, process size tops at just 205 MB. It looks like GCC 4.3.0 is in a much better shape than GCC 4.1.1, so I'm letting go of th

[Bug target/31507] [4.3 Regression] libffi regression, many.c, closure_fn2/fn3.c with -Os

2007-10-29 Thread rask at gcc dot gnu dot org
--- Comment #5 from rask at gcc dot gnu dot org 2007-10-29 15:11 --- Is it possible to reproduce this on x86_64-unknown-linux-gnu somehow? I've tried to no avail with -Os and -mregparm=0 -Os on both testcases. What is a known bad revision? -- http://gcc.gnu.org/bug

[Bug target/12081] Gcc can't be compiled with -mregparm=3

2007-10-29 Thread rask at gcc dot gnu dot org
--- Comment #17 from rask at gcc dot gnu dot org 2007-10-30 00:14 --- Created an attachment (id=14438) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14438&action=view) patch v3, varargs free In reply to comment #16: > You can cast them at the time of calling and sto

[Bug target/31507] [4.3 Regression] libffi regression, many.c, closure_fn2/fn3.c with -Os

2007-10-31 Thread rask at gcc dot gnu dot org
--- Comment #10 from rask at gcc dot gnu dot org 2007-10-31 14:44 --- Oops, I'm sorry about stealing your bug, Jakub. I didn't see you had taken it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31507

[Bug target/31507] [4.3 Regression] libffi regression, many.c, closure_fn2/fn3.c with -Os

2007-10-31 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-10-31 14:37 --- Created an attachment (id=14448) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14448&action=view) patch for testing This seems to be a simple mismatch between what push_operand() accepts and what matc

[Bug target/31507] [4.3 Regression] libffi regression, many.c, closure_fn2/fn3.c with -Os

2007-10-31 Thread rask at gcc dot gnu dot org
--- Comment #12 from rask at gcc dot gnu dot org 2007-10-31 15:00 --- > That's IMHO wrong, you are changing the meaning of < constraint. Yes, I see what you mean, they ('<' and '>') are defined independently of stack direction. They should howe

[Bug rtl-optimization/3507] appalling optimisation with sub/cmp on multiple targets

2007-11-02 Thread rask at gcc dot gnu dot org
-- rask at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rask at gcc dot gnu dot org |dot org

[Bug target/32787] [4.2/4.3 Regression] Sun Studio 12 Undefined symbol addl

2007-11-06 Thread rask at gcc dot gnu dot org
--- Comment #10 from rask at gcc dot gnu dot org 2007-11-06 20:14 --- Subject: Bug 32787 Author: rask Date: Tue Nov 6 20:14:22 2007 New Revision: 129944 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129944 Log: 2007-11-06 Rask Ingemann Lambertsen <[EMAI

[Bug target/30801] [4.3 Regression] performance regression on uint64_t operations

2007-11-07 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-11-07 16:35 --- Francois-Xavier, do you still see a performance regression? If so, please post asm output (-S -dp) from both versions? -- rask at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/34040] New: [4.3 Regression] ICE: in simplify_subreg, at simplify-rtx.c:4921 building libgfortran

2007-11-09 Thread rask at gcc dot gnu dot org
NCONFIRMED Keywords: ice-on-valid-code, build Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC target triplet: sh-unknown-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34040

[Bug middle-end/34040] [4.3 Regression] ICE: in simplify_subreg, at simplify-rtx.c:4921 building libgfortran

2007-11-09 Thread rask at gcc dot gnu dot org
--- Comment #1 from rask at gcc dot gnu dot org 2007-11-09 10:45 --- Created an attachment (id=14513) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14513&action=view) test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34040

[Bug target/30829] extra register zero extends

2007-11-09 Thread rask at gcc dot gnu dot org
--- Comment #2 from rask at gcc dot gnu dot org 2007-11-09 11:08 --- It's not unusual to need more than one instruction pattern for the same machine instruction. See http://gcc.gnu.org/ml/gcc-patches/2007-10/msg01318.html> and the followup for a recent example and what you can

  1   2   >