[Bug middle-end/34109] Incorrect code for tail calls with a structure as 4th argument

2009-03-20 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-03-20 11:08 --- (In reply to comment #3) No feedback in over a year. Presumed fixed in 4.3.0. I can confirm that this test case works when compiled with a vanilla gcc-4.3.3 built for armv5tel eabi. -- http://gcc.gnu.org/bugzilla

[Bug target/31938] Wrong code on int to short cast on armeb

2007-05-31 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2007-05-31 19:48 --- I cannot reproduce this on an armv5b-softvfp-linux machine, with either gcc-3.3.6, gcc-4.0.4, gcc-4.1.2, or gcc-4.2.0 (all bootstrapped natively on the arm machine). However, I suspect your test case is wrong. Unpatched

[Bug inline-asm/31693] Incorrectly assigned registers to operands for ARM inline asm

2007-05-31 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2007-05-31 20:01 --- I can confirm this broken behaviour, including that it disappears if the 'c' variable is renamed to 'xxc', with gcc-3.3.6, 4.0.4, 4.1.2, and 4.2.0, all running natively on an armv5b-softvfp-linux machine. -- mikpe

[Bug target/26463] -O2, -O3, -Os segment fault due to bad array index on ARM

2007-05-31 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2007-05-31 20:35 --- I cannot reproduce this bug with gcc-4.0.4, 4.1.2, or 4.2.0 on an armv5b-softvfp-linux machine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26463

[Bug tree-optimization/39736] signed overflow in loop induction variable: missing warning and wrong code

2009-04-12 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-04-12 09:11 --- (In reply to comment #1) There is no undefined behavior here (increment of a short value converts to int, increments then converts back to short, none of which are undefined), so at least the wrong code issue would

[Bug tree-optimization/39736] signed overflow in loop induction variable: missing warning and wrong code

2009-04-12 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-04-12 21:33 --- (In reply to comment #3) (In reply to comment #2) (In reply to comment #1) There is no undefined behavior here (increment of a short value converts to int, increments then converts back to short, none of which

[Bug c/39843] -funsigned-bitfields discards aligned attribute

2009-04-22 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-04-22 08:05 --- (In reply to comment #0) % gcc-snapshot -funsigned-bitfields testsuite/gcc.dg/bitfld-3.c % ./a.out Abort Confirmed with gcc-4.3-20090419 on i686-pc-linux-gnu. -- mikpe at it dot uu dot se changed

[Bug target/39975] Support big endian ARM by default.

2009-05-03 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-05-03 19:39 --- (In reply to comment #0) Create a default configuration that honours big endian ARM by default. PR31938 refers to this. Looks like a dupe of PR16350. And most of the de-facto standard patch people have been applying

[Bug target/10242] [ARM] subsequent use of plus and minus operators could be improved

2009-05-03 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-05-03 19:53 --- (In reply to comment #6) Created an attachment (id=17475) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17475action=view) [edit] Proposed fix -- will commit after trunk reopens Ping, trunk is open now, no? I've

[Bug target/26463] -O2, -O3, -Os segment fault due to bad array index on ARM

2009-05-03 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-05-03 20:05 --- (In reply to comment #3) Comment #2 indicates that there isn't a problem with a 4.x series compiler . I'd like some feedback if this problem exists today with a more recent version of the compiler. I can't reproduce

[Bug libstdc++/40178] New: libstdc++ fails to detect atomic builtins for EABI ARM/Linux

2009-05-17 Thread mikpe at it dot uu dot se
Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC host triplet: i686-pc-linux-gnu GCC target triplet: armv5tel-unknown-linux-gnueabi http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40178

[Bug libstdc++/40178] libstdc++ fails to detect atomic builtins for EABI ARM/Linux

2009-05-17 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-05-17 18:01 --- (In reply to comment #1) This is essentially the same as PR40133, which is blocked by PR40134. Agreed. The underlying issue appears to be the static libgcc only symbols. One wonders why they did things that way

[Bug target/35623] RTL check failure in arm_const_double_rtx

2009-05-19 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2009-05-19 08:24 --- (In reply to comment #1) I've been bootstrapping trunk pretty regularly for arm-linux-gnueabi on the compile farm (though not building with latest libc) and haven't seen such a problem . Note that the bug report

[Bug libstdc++/40133] exception propagation support not enabled in libstdc++ 4.4 on {armeabi,hppa}-linux

2009-05-22 Thread mikpe at it dot uu dot se
--- Comment #8 from mikpe at it dot uu dot se 2009-05-22 19:18 --- Created an attachment (id=17902) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17902action=view) always pass -lgcc to linker The link error reported by Matthias Klose is caused by the following: 1. g++ links shared

[Bug bootstrap/40268] New: continued build failures from PR39791 and PR40061 fixes

2009-05-27 Thread mikpe at it dot uu dot se
failures from PR39791 and PR40061 fixes Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se

[Bug bootstrap/40268] continued build failures from PR39791 and PR40061 fixes

2009-05-27 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-05-27 08:26 --- Created an attachment (id=17921) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17921action=view) fix alpha compile failure in dwarf2out.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40268

[Bug target/35079] [arm] ICE (segfault) with gfortran -O3 -funroll-loops

2009-05-28 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-05-28 08:40 --- (In reply to comment #3) I just tried this with gfortran 4.3.3 that I have on my ubuntu box. I don't get a failure with arm-linux-gnueabi. Can you verify that this still exists with arm-linux configurations

[Bug c/40312] Compiling with O2 flag lead to wrong binary code (X86 system 32bit)

2009-05-31 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-05-31 08:10 --- (In reply to comment #1) The one compiled with O2 has wrong binary code. The problem occurs when GCC compiles the following lines with O2 flag. if (pdw memcmp(a1, a2, pdw 2)) return 0

[Bug c/39843] -funsigned-bitfields discards aligned attribute

2009-06-04 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-06-04 09:22 --- (In reply to comment #0) % gcc-snapshot -funsigned-bitfields testsuite/gcc.dg/bitfld-3.c % ./a.out Abort Confirmed with gcc-4.4-20090602 and gcc-4.3-20090531 on i686-pc-linux-gnu. I haven't been able to reproduce

[Bug bootstrap/37739] [4.4 Regression] bootstrap broken with core gcc gcc-4.2.x

2009-06-10 Thread mikpe at it dot uu dot se
--- Comment #13 from mikpe at it dot uu dot se 2009-06-11 00:01 --- (In reply to comment #11) Fixed. Not quite. I'm trying to build gcc-4.4-20090609 on powerpc64-unknown-linux-gnu, with binutils 2.17.50.0.6-6, configured with --enable-languages=c,ada --with-cpu=default32 --disable

[Bug c++/32534] gcc fails to initialize template's static data members before their use in some cases

2009-06-11 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-06-11 20:03 --- (In reply to comment #1) I've been bitten by this bug, which is almost 2 years old. I haven't tested it with gcc 4.4 though, but I confirm that it happens with gcc-4.3.3. Is there anyone willing to correct this? gcc

[Bug c/40404] Comparison involving unsigned int:17 bitfield seems wrong

2009-06-12 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-06-12 20:41 --- (In reply to comment #3) Can someone identify the patch that fixed that on the trunk? I've identified r139702, the fix for PR37005, as the revision which fixed this test case on gcc-4.4. That change applies easily

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2009-06-14 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-06-14 10:24 --- (In reply to comment #1) With 4.5 I see With 4.5.0 I see: push{lr} sub sp, sp, #12 ldr r2, [r0] ldr r1, [r0, #4] mov r0, sp str r2, [sp

[Bug rtl-optimization/39871] [4.3/4.4/4.5 regression] Code size increase on ARM due to inferior CSE

2009-06-14 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-06-14 14:06 --- (In reply to comment #1) With 4.5 I see With 4.5.0 I see: push{lr} sub sp, sp, #12 ldr r2, [r0] ldr r1, [r0, #4] mov r0, sp str r2, [sp

[Bug tree-optimization/40087] [4.3 Regression] Number of iterations analysis wrong

2009-06-15 Thread mikpe at it dot uu dot se
--- Comment #15 from mikpe at it dot uu dot se 2009-06-15 14:24 --- (In reply to comment #14) ping 4.3.4... The PR40087 fix depends on changes from the PR39455 fix. Both of them are 4.3 regressions, and I've used both fixes in my 4.3 tree for a while now without issues. -- http

[Bug target/30064] ICE in reload_cse_simplify_operands, at postreload.c:393

2009-06-16 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-06-16 15:17 --- (In reply to comment #0) gcc-m68k-ice.c:28: internal compiler error: in reload_cse_simplify_operands, at postreload.c:393 If any of the options -m5307, -msep-data, or -O1 is removed, the problem goes away

[Bug target/34439] ICE in reload_cse_simplify_operands for Coldfire

2009-06-16 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2009-06-16 16:29 --- (In reply to comment #4) Works with 4.3.1. Should this be closed if someone can confirm it is fixed on the trunk? This is a generic m68k issue as I can easily reproduce the ICE using a gcc-4.2.4 based cross-compiler

[Bug middle-end/39227] ICE with -fstack-protector in add_stack_var_conflict, at cfgexpand.c:269

2009-06-17 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-06-17 14:08 --- (In reply to comment #1) Works for 4.4.1 and 4.5.0 ICEs for me with today's 4.4 branch on i686-linux. The -O0 -fstack-protector combination is key, with -O1 and above it works, ditto without -fstack-protector

[Bug bootstrap/40477] [4.3 regression] build failure on alpha-linux-gnu mips-linux-gnu

2009-06-17 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-06-17 18:51 --- Dupe of PR40268/PR40061. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40477

[Bug middle-end/40547] New: comparison in lhs of ?: incorrectly converted to unsigned min

2009-06-24 Thread mikpe at it dot uu dot se
at it dot uu dot se GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40547

[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min

2009-06-24 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-06-24 22:25 --- Created an attachment (id=18063) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18063action=view) test case test case illustrating the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40547

[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min

2009-06-24 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-06-24 22:29 --- Created an attachment (id=18064) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18064action=view) proposed patch fixing this error This patch adapts Paolo Bonzini's patch for PR39867 to handle the remaining two

[Bug c/32041] [4.3 Regression] offsetof buglet

2009-06-25 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2009-06-25 12:12 --- (In reply to comment #9) Fixed. The gcc-4.3 backport or PR32041 to c-parser.c adds an assignment to `loc'. The mainline version needed that for build_array_ref, but in 4.3 build_array_ref does not take a loc parameter

[Bug target/38886] [4.3 Regression] ICE move_insn, at haifa-sched.c:1786

2009-06-26 Thread mikpe at it dot uu dot se
--- Comment #9 from mikpe at it dot uu dot se 2009-06-26 19:49 --- I believe this is the same issue as in PR39254. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38886

[Bug c++/40595] [C++0x] ICE trying to use sfinae with variadic template pack expansion

2009-07-01 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-07-01 10:53 --- (In reply to comment #6) Fixed for 4.4.1. This test case causes the same ICE in tsubst also with gcc-4.3.4. After packporting the ICE fix, 4.3.4 instead fails with: variadic94.C: In function 'int main()': variadic94

[Bug c/40635] New: bogus name and location in 'may be used uninitialized' warning

2009-07-03 Thread mikpe at it dot uu dot se
Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635

[Bug c++/40658] spurious warning array subscript is below array bounds

2009-07-06 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-07-06 09:32 --- Ditto here on powerpc64-unknown-linux-gnu. -m32 gives the warning, -m64 does not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40658

[Bug c/40602] crti.o: No such file

2009-07-07 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-07-07 10:18 --- (In reply to comment #1) Now I'm trying to compile gcc-4.4.0 configured as follows: ../gcc-4.4.0/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --enable-languages=c

[Bug target/40668] 64-bit sparc miscompiles memcpy of argument inside switch

2009-07-07 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-07-07 11:35 --- Confirmed, with gcc-4.3-20090705 it works, with gcc-4.4-20090630 it fails. Compiling with -S and comparing the .s files it looks like 4.4 completely mis-schedules the code for put_uint32: put_uint32: .register

[Bug target/40668] 64-bit sparc miscompiles memcpy of argument inside switch

2009-07-07 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-07-07 16:28 --- A reghunt identified Jakub's (added to cc: list) r142481 (PR38367 fix) as the source of this regression. -- mikpe at it dot uu dot se changed: What|Removed |Added

[Bug target/40668] 64-bit sparc miscompiles memcpy of argument inside switch

2009-07-07 Thread mikpe at it dot uu dot se
--- Comment #6 from mikpe at it dot uu dot se 2009-07-07 23:10 --- (In reply to comment #5) Created an attachment (id=18151) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18151action=view) [edit] gcc44-pr40668.patch Untested patch that fixes this testcase. Thanks. This fixes

[Bug tree-optimization/40679] Optimizer handles loops with volatiles and post-incr. wrong

2009-07-08 Thread mikpe at it dot uu dot se
--- Comment #6 from mikpe at it dot uu dot se 2009-07-08 09:59 --- (In reply to comment #2) Replacing *tbl++ by tbl[i] gives this ARM code: .L2: mov r3, #10 str r3, [r2], #4 cmp r2, #0 bne .L2 bx lr See, gcc knows

[Bug target/40668] 64-bit sparc miscompiles memcpy of argument inside switch

2009-07-08 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-07-08 16:43 --- 4.4-20090630 plus this fix bootstrapped fine, fixed the test case, built a working 2.6.31-rc2 Linux kernel, and built a working Erlang VM. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40668

[Bug tree-optimization/38369] [4.3 regression] ICE (SIGSEGV in number_of_iterations_exit)

2009-07-09 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2009-07-09 14:45 --- I've identified Jakub's r140177 (PR37356) as the point where these test cases were fixed in 4.4.0. A backport doesn't look easy (to me anyway). -- mikpe at it dot uu dot se changed: What|Removed

[Bug target/40523] GCC generates invalid instructions when building for Thumb-2 on armel

2009-07-09 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-07-09 19:03 --- This was fixed for 4.4.0 by Richard's r143339. I backported that to 4.3.4 and it built ok and fixed this test case. My boxes are ARMv5TE so I cannot run the generated thumb2 code however. -- http://gcc.gnu.org

[Bug middle-end/39246] FAIL: gcc.dg/uninit-13.c

2009-10-17 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-10-17 22:08 --- I just had a look at some gcc-4.4.2 testsuite failure on arm-linux-gnueabi, and came across the uninit-13.c one and this PR. The error is not that uninit-13.c triggers an is used uninitialized warning, it's supposed

[Bug target/39247] FAIL: gcc.dg/tree-prof/bb-reorg.c compilation, -fprofile-use -D_PROFILE_USE

2009-10-18 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-10-18 12:55 --- On ARM, gcc generates assembly code for the bb-reorg.c test case that gas fails to assemble. The pr34999.c test case fails for the same reason. The following reduced assembly snippet illustrates it: cat bb-reorg.s

[Bug c++/37204] [c++0x] reinterpret_castT(v) incorrectly yields an lvalue

2009-10-18 Thread mikpe at it dot uu dot se
--- Comment #6 from mikpe at it dot uu dot se 2009-10-18 17:58 --- Revision 152966 on 4.4 branch causes a testsuite regression for me on i686-linux: Running /mnt/builds/gcc-4.4-r152966/gcc/testsuite/g++.dg/dg.exp ... FAIL: g++.dg/cpp0x/rv-reinterpret.C execution test Reverting just

[Bug debug/40521] [4.4/4.5 Regression] -g causes GCC to generate .eh_frame

2009-10-21 Thread mikpe at it dot uu dot se
--- Comment #23 from mikpe at it dot uu dot se 2009-10-21 10:48 --- (In reply to comment #8) (In reply to comment #7) With binutils from the 2.20 branch, and gcc from the 4.4 branch, including Jakub's patch, and excluding the current workaround from Ramana, I get: IIUC

[Bug middle-end/40747] [4.4/4.5 Regression] wrong code for int-is-in-range test at -O1 and above

2009-10-21 Thread mikpe at it dot uu dot se
--- Comment #11 from mikpe at it dot uu dot se 2009-10-21 10:51 --- *** Bug 40547 has been marked as a duplicate of this bug. *** -- mikpe at it dot uu dot se changed: What|Removed |Added

[Bug middle-end/40547] comparison in lhs of ?: incorrectly converted to unsigned min

2009-10-21 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-10-21 10:51 --- *** This bug has been marked as a duplicate of 40747 *** -- mikpe at it dot uu dot se changed: What|Removed |Added

[Bug target/37954] odd sized packed structures passed by value, under ARM, cause lockup of application

2009-10-21 Thread mikpe at it dot uu dot se
--- Comment #8 from mikpe at it dot uu dot se 2009-10-21 12:19 --- I can reproduce the misalignment exceptions on armv5tel-linux-gnueabi with gcc-4.3.4 at -O0 but not with gcc-4.4.2. The loop in main() which iterates over the packed array creates a misaligned pointer from which

[Bug target/37954] odd sized packed structures passed by value, under ARM, cause lockup of application

2009-10-21 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2009-10-21 19:47 --- (In reply to comment #9) My version is: [r...@ build]# ccmips -V ccmips: `-V' option must have argument [r...@pace build]# ccmips --version ccmips (GCC) 3.3.2 20030904 (Wind River vxworks61) (built 20050516

[Bug target/37954] odd sized packed structures passed by value, under ARM, cause lockup of application

2009-10-22 Thread mikpe at it dot uu dot se
--- Comment #11 from mikpe at it dot uu dot se 2009-10-22 17:55 --- Created an attachment (id=18869) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18869action=view) reduced test case in plain C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37954

[Bug target/37954] odd sized packed structures passed by value, under ARM, cause lockup of application

2009-10-22 Thread mikpe at it dot uu dot se
--- Comment #12 from mikpe at it dot uu dot se 2009-10-23 00:29 --- The ARM misalignment bug in this PR was fixed for gcc-4.4 by r141742, an apparently ia64- and Ada-motivated generic patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37954

[Bug target/37954] odd sized packed structures passed by value, under ARM, cause lockup of application

2009-10-23 Thread mikpe at it dot uu dot se
--- Comment #13 from mikpe at it dot uu dot se 2009-10-23 12:49 --- Created an attachment (id=18879) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18879action=view) backport of r141742 to gcc-4.3.4 that I'm testing -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37954

[Bug other/41809] New: escaping address of packed field should trigger warning

2009-10-23 Thread mikpe at it dot uu dot se
: mikpe at it dot uu dot se http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41809

[Bug c/41895] New: _Complex return type changes line numbers in diagnostics

2009-11-01 Thread mikpe at it dot uu dot se
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41895

[Bug c++/41941] bad stack allocation using inline asm

2009-11-04 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2009-11-04 15:47 --- On x86_64 there's a 128 byte area below %rsp which is free to use without first setting up a stack frame. This is described in the x86_64 ABI document. The Linux kernel skips this area before pushing signal handler stack

[Bug middle-end/42044] [4.4/4.5 Regression] gcc.c-torture/compile/930117-1.c

2009-11-14 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-11-14 16:09 --- Presumably fixed for 4.5 by revision 154178. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42044

[Bug rtl-optimization/41917] Strange athrithmetic result with -O3

2009-11-14 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2009-11-14 16:32 --- This wrong-code bug also occurs with 4.3.4 on i686-linux, but not with 4.2.4 or 4.1.2, making it a regression. The patch for 4.4 applies cleanly to 4.3 and fixes the bug there with no new regressions (I tested i686

[Bug tree-optimization/41035] AIX cexp builtin underflow

2009-12-09 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-12-09 16:07 --- (In reply to comment #2) libmpfr must be a shared object because libmpc relies on hidden, global state in libmpfr. If libmpfr is linked statically with libmpc and with GCC, each receives different instances

[Bug tree-optimization/42337] GCC ICE in compute_antic, at tree-ssa-pre.c:2534

2009-12-14 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-12-14 12:57 --- This bug is also present in gcc-4.4-20091208 but not in gcc-4.3-20091206. The two fixes listed here apply Ok to 4.4 and solve the problem there w/o regressions (tested on i686, powerpc64, and arm). -- mikpe at it dot

[Bug middle-end/42372] [4.5 regression] Regrename reuses non-dead register

2009-12-16 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-12-16 21:27 --- I've done a binary search which identified 154688 as the revision which caused the problem to appear. To answer Bernd's question, I used an arm cross configured with: --target=armv5tel-unknown-linux-gnueabi --with-gmp

[Bug target/41196] The use of ARM NEON vshll_n_u8 intrinsic results in compile error on valid code [4.4 only]

2009-12-21 Thread mikpe at it dot uu dot se
--- Comment #11 from mikpe at it dot uu dot se 2009-12-21 11:55 --- (In reply to comment #10) Fixed. You forgot to add the test case in the 4.4 backport. -- mikpe at it dot uu dot se changed: What|Removed |Added

[Bug target/42503] New: gcc-4.4-20091215 broke libjava on ARM

2009-12-25 Thread mikpe at it dot uu dot se
libjava on ARM Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC build triplet: armv5tel

[Bug target/42503] gcc-4.4-20091215 broke libjava on ARM

2009-12-26 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-12-26 14:59 --- Reverting r155171 allows gcc-4.4-20091215 to build a working libjava again. URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=155171 Log: 2009-12-11 Ramana Radhakrishnan ramana.radhakrish...@arm.com PR

[Bug target/42503] gcc-4.4-20091215 broke libjava on ARM

2009-12-27 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2009-12-27 13:59 --- (In reply to comment #4) Note, however, that something is definitely wrong in the analysis: PR40133 and PR40134 have been fixed **only in mainline**, thus per se those changes cannot be involved in a breakage

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2009-12-27 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-12-28 00:46 --- (In reply to comment #5) I believe it's the *absence* of the PR40134 fix on 4_4-branch that's causing the backport of __sync_synchronize() support to regress. I'm currently testing 4.4-20091215 with relevant bits

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2009-12-28 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2009-12-28 12:11 --- Matthias, your Debian patch includes the following, which is not part of the trunk fix for PR40134 but instead appears to be a fragment from an early version of the PR41175/PR40677 fix (which seems to depend on PR40134

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2009-12-29 Thread mikpe at it dot uu dot se
--- Comment #12 from mikpe at it dot uu dot se 2009-12-29 13:05 --- Created an attachment (id=19413) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19413action=view) pr40134 generic + arm bits This is the version of the PR40134 patch I intend to submit, unless Matthias wants

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2009-12-29 Thread mikpe at it dot uu dot se
--- Comment #14 from mikpe at it dot uu dot se 2009-12-29 23:15 --- Patch submitted: http://gcc.gnu.org/ml/gcc-patches/2009-12/msg01192.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42503

[Bug middle-end/42099] Error in 64-bit division for 32-bit target

2009-12-30 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2009-12-30 16:45 --- FWIW, Ian's fix backports trivially to 4.4 and 4.3 and fixes this test case there with no test suite regressions (all default languages) on i686-linux. -- mikpe at it dot uu dot se changed: What

[Bug c/42557] gcc no compile for m68k(coff/elf)

2009-12-30 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2009-12-30 22:40 --- (In reply to comment #0) I tried to compile gcc (4.4.1 and 4.4.2) for m68k-coff for Linux. I'm using Ubuntu 9.10 AMD64. However, I get an error stating that gas is not supported for the version of binutils (2.20) used

[Bug c/42557] gcc no compile for m68k(coff/elf)

2009-12-30 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2009-12-31 00:53 --- (In reply to comment #0) When compiling m68k-elf the process went smoothly and I can install (m68k-elf-as, m68k-elf-ar, etc.). But this time I can not compile gcc 4.4.1 or 4.4.2 (m68k-elf-gcc) because I get an error

[Bug c/42522] [m68k] Wrong code generated with -O2/-O3

2009-12-31 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2009-12-31 17:01 --- Created an attachment (id=19431) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19431action=view) simpler test case I'm attaching a reduced test case that triggers wrong-code for m68k-elf with gcc-4.5-20091224

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2010-01-01 17:37 --- Created an attachment (id=19437) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19437action=view) fix arm eabi default cpu type Try this patch, from debian. It corrects arm-eabi to choose an armv4t-compatible

[Bug c/42571] internal compiler error: Illegal instruction when handling moon.c file

2010-01-01 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-01-01 19:48 --- (In reply to comment #3) Try this patch, from debian. It corrects arm-eabi to choose an armv4t-compatible arm9tdmi as the default cpu type. Otherwise it may generate armv5t code, which is consistent with your illegal

[Bug c/42557] gcc no compile for m68k(coff/elf)

2010-01-02 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-01-02 14:21 --- (In reply to comment #3) However, the goal is to compile gcc for the coff format and I'm having it difficulties. Consider the following two facts: 1. binutils-2.17 removed m68k-coff support, that was 3.5 years ago 2

[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-01-03 Thread mikpe at it dot uu dot se
--- Comment #10 from mikpe at it dot uu dot se 2010-01-03 23:15 --- (In reply to comment #9) Fascinating indeed. If someone can bisect where during 4.4 development we fixed this again or where during 4.3 development we broke it that would be nice. This test case was fixed for 4.4

[Bug target/42503] [4.4 Regression] gcc-4.4-20091215 broke libjava on ARM

2010-01-05 Thread mikpe at it dot uu dot se
--- Comment #17 from mikpe at it dot uu dot se 2010-01-05 15:41 --- Fixed now, closing. -- mikpe at it dot uu dot se changed: What|Removed |Added Status|NEW

[Bug target/32332] [4.3 only ] libobjc build failure on arm-unknown-eabi (__gnu_objc_personality_v0)

2010-01-10 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2010-01-10 22:05 --- (In reply to comment #3) Works for me with current 4.4 branch and trunk. I think this patch fixed it - http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00303.html - http://gcc.gnu.org/viewcvs?view=revisionrevision

[Bug c/42721] possible integer wrong code bug

2010-01-13 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2010-01-13 12:14 --- With a recent gcc-4.4 I see this -O1/-O2 difference on i686 but not powerpc64. On i686 gcc-4.3 also seems affected (-O0 vs -O1), but 4.2 and 4.1 seem Ok. -- mikpe at it dot uu dot se changed: What

[Bug c/37768] New: bogus warnings on x86_64-mingw32 due to attribute((format(printf))) breakage

2008-10-08 Thread mikpe at it dot uu dot se
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC target triplet: x86_64-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37768

[Bug c/37768] bogus warnings on x86_64-mingw32 due to attribute((format(printf))) breakage

2008-10-09 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2008-10-09 07:04 --- The program below illustrates the issue. It declares a private C99-compliant snprintf() implementation and invokes it with %zu and %llx formats. This triggers the following bogus warnings on x86_64-pc-mingw32

[Bug libstdc++/37915] bootstrap broken for cygwin

2008-10-25 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2008-10-25 20:55 --- Same here. gcc-4.4-20081024 configured with --enable-languages=c,c++ and built using gcc-4.3.2/binutils-2.18.93 on cygwin (XP 64 Pro) ICEs when compiling type_traits.h. It also ICEs in the same place when configured

[Bug bootstrap/37915] bootstrap broken for cygwin

2008-10-31 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2008-10-31 10:03 --- (In reply to comment #1) I rebuilt my toolchains with binutils-2.19 + three fixes and now gcc-4.4-20081024 builds fine for me with --enable-languages=c,c++. The three addon fixes in my binutils-2.19 are: 1. http

[Bug c/37989] New: PR37528 fix broke --disable-shared on mingw32

2008-11-01 Thread mikpe at it dot uu dot se
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: x86_64-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37989

[Bug c/37989] PR37528 fix broke --disable-shared on mingw32

2008-11-01 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2008-11-01 18:10 --- Created an attachment (id=16610) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16610action=view) patch to unbreak --disable-shared on mingw32 Proposed patch to unbreak --disable-shared on mingw32. When PR37528

[Bug target/37989] PR37528 fix broke --disable-shared on mingw32

2008-11-03 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2008-11-03 13:49 --- (In reply to comment #2) Danny, I've tested the revised patch both with and without --disable-shared, and both configs build and work fine. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37989

[Bug target/34652] arm-only miscompilation of alloca code

2008-03-16 Thread mikpe at it dot uu dot se
--- Comment #2 from mikpe at it dot uu dot se 2008-03-16 16:49 --- (In reply to comment #1) This happens with 4.1, 4.2 and trunk on old ABI. Apparently it doesn't happen with EABI. I see the problem too, on Linux/ARM/OABI with gcc-4.1.2. However, the problem is in the test case

[Bug rtl-optimization/35812] New: redundant range check in trivial switch statements

2008-04-03 Thread mikpe at it dot uu dot se
Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35812

[Bug tree-optimization/36339] [4.3/4.4 Regression] not call clobbering variable for non common offset

2008-05-27 Thread mikpe at it dot uu dot se
--- Comment #7 from mikpe at it dot uu dot se 2008-05-27 20:48 --- (In reply to comment #6) Fixed. I added the fix to the latest gcc-4.3 snapshot and bootstrapped it. I then tested both the original application that failed (Erlang) as well as the latest Linux kernel. Both built

[Bug bootstrap/36356] New: gcc-4.2.4 bootstrap failure on Solaris/x86 caused by PR31868 fix

2008-05-28 Thread mikpe at it dot uu dot se
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mikpe at it dot uu dot se GCC host triplet: i386-pc-solaris2.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36356

[Bug bootstrap/36330] i386-pc-solaris2.10 configure: error: C compiler cannot create executables

2008-05-28 Thread mikpe at it dot uu dot se
--- Comment #6 from mikpe at it dot uu dot se 2008-05-28 13:20 --- (In reply to comment #5) checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make[1]: *** [configure-target-libgomp] Error 1

[Bug target/38642] [4.3/4.4/4.5 Regression] Code with -fPIC results in segfault on ARM (old ABI)

2009-07-11 Thread mikpe at it dot uu dot se
--- Comment #5 from mikpe at it dot uu dot se 2009-07-11 15:23 --- The bug occurs on OABI with gcc-4.3-20090705 but not with gcc-4.4-20090707. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38642

[Bug tree-optimization/38072] [4.3 Regression] ICE during inlining of valid code

2009-07-11 Thread mikpe at it dot uu dot se
--- Comment #13 from mikpe at it dot uu dot se 2009-07-11 15:34 --- (In reply to comment #12) would be interesting to know what fixed this on the trunk. A binary search on trunk identified revision 138207 as the point that fixed this ICE. That revision is a large merge from gimple

[Bug target/39429] compiler create bad asm codes.

2009-07-11 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-07-11 20:20 --- It seems that cpu type and tuning options make a difference here. If I compile with -mcpu and -mtune referring to a cpu that does not imply FL_LDSCHED, such as arm740t, then I get the broken code that clobbers r0 before

[Bug target/39429] compiler create bad asm codes.

2009-07-12 Thread mikpe at it dot uu dot se
--- Comment #4 from mikpe at it dot uu dot se 2009-07-12 11:29 --- Created an attachment (id=18179) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18179action=view) reduced test case in plain C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39429

[Bug target/39429] compiler create bad asm codes.

2009-07-12 Thread mikpe at it dot uu dot se
--- Comment #6 from mikpe at it dot uu dot se 2009-07-12 21:21 --- (In reply to comment #5) What options did you use ? Did you use -O2 , -O3 or -Os with the testcase you've added here ? I don't see the problem with 4.5.0 trunk 149479 with either -mcpu=arm740t or with arm7tdmi

  1   2   3   4   5   >