[Bug java/42892] New: Incorrect code generated for enhanced for loop.

2010-01-27 Thread suckfish at ihug dot co dot nz
. Product: gcc Version: 4.4.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: suckfish at ihug dot co dot nz GCC host triplet: x86_64-redhat-linux http

[Bug java/42892] Incorrect code generated for enhanced for loop.

2010-01-27 Thread suckfish at ihug dot co dot nz
--- Comment #1 from suckfish at ihug dot co dot nz 2010-01-28 06:51 --- Created an attachment (id=19736) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19736action=view) Test case -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42892

[Bug java/42892] Incorrect code generated for enhanced for loop.

2010-01-27 Thread suckfish at ihug dot co dot nz
--- Comment #3 from suckfish at ihug dot co dot nz 2010-01-28 07:02 --- So java front end bugs shouldn't be logged here? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42892

[Bug java/42892] Incorrect code generated for enhanced for loop.

2010-01-27 Thread suckfish at ihug dot co dot nz
--- Comment #5 from suckfish at ihug dot co dot nz 2010-01-28 07:26 --- Ok, it is an ecj bug. I'll report upstream as soon as their bugzilla stops hanging... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42892

[Bug middle-end/37809] [4.2/4.3/4.4 Regression] Incorrect code with MMX right shift __builtin_ia32_psradi

2008-11-09 Thread suckfish at ihug dot co dot nz
--- Comment #7 from suckfish at ihug dot co dot nz 2008-11-10 07:44 --- Could someone commit the patch? [http://gcc.gnu.org/ml/gcc-patches/2008-11/msg00147.html] I don't have SVN commit access. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37809

[Bug middle-end/37809] [4.2/4.3/4.4 Regression] Incorrect code with MMX right shift __builtin_ia32_psradi

2008-10-17 Thread suckfish at ihug dot co dot nz
--- Comment #6 from suckfish at ihug dot co dot nz 2008-10-17 22:18 --- Pleasantly, my fears that this was just the tip of the iceburg seems to be wrong. Writing some test cases, found another bug involving a shift, and also the ICE below [fixed by some combination of change above

[Bug target/37809] [4.2/4.3/4.4 Regression] Incorrect code with MMX right shift __builtin_ia32_psradi

2008-10-14 Thread suckfish at ihug dot co dot nz
--- Comment #4 from suckfish at ihug dot co dot nz 2008-10-14 07:17 --- Digging a bit, in combine.c, the ASHIFTRT case of force_to_mode() contains two calls to simplify_shift_const(). Disabling those for vector modes fixes the test case here (patch below). But I suspect this is just

[Bug c/37807] New: Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: suckfish at ihug dot co dot nz GCC build triplet: x86-64 GCC host triplet: x86-64 GCC target triplet: x86-64 http

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #1 from suckfish at ihug dot co dot nz 2008-10-11 21:21 --- Created an attachment (id=16482) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16482action=view) Code showing exponential compile time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37807

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #2 from suckfish at ihug dot co dot nz 2008-10-11 21:35 --- Using '-da' it looks like the 'combine' pass is the culprit: $ pidof cc1 6410 $ ls -l /proc/6410/fd ... 4 - ... slow.c.162r.combine $ ls -s slow.c.162r.combine 0 slow.c.162r.combine [is there an easier way to get

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #4 from suckfish at ihug dot co dot nz 2008-10-11 22:23 --- BTW, __builtin_ia32_psrld and __builtin_ia32_pslld are not documented on the 'X86 built-in functions' page of the manual. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37807

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #5 from suckfish at ihug dot co dot nz 2008-10-11 23:02 --- It looks like nonzero_bits1 in rtlanal.c is going into an exponential recursion. AFAICS, that function doesn't deal properly with vector arithmetic anyway? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37807

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #6 from suckfish at ihug dot co dot nz 2008-10-11 23:24 --- I think this function actually gets miscompiled: typedef int v2si __attribute__ ((vector_size (8))); v2si foo (v2si x) { x = (v2si) 0xll; x = __builtin_ia32_psrad (x, 1); x = (v2si

[Bug c/37809] New: Incorrect code with MMX right shift __builtin_ia32_psradi

2008-10-11 Thread suckfish at ihug dot co dot nz
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: suckfish at ihug dot co dot nz GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37809

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #7 from suckfish at ihug dot co dot nz 2008-10-12 02:39 --- Bug 37809 opened for the issue in internal comment 6, as it is different. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37807

[Bug c/37809] Incorrect code with MMX right shift __builtin_ia32_psradi

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #1 from suckfish at ihug dot co dot nz 2008-10-12 02:47 --- Created an attachment (id=16483) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16483action=view) Test case as a complete program. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37809

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #8 from suckfish at ihug dot co dot nz 2008-10-12 04:46 --- Created an attachment (id=16484) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16484action=view) Test-case modfied to take exponential time on trunk too. It turns out that it was fast on trunk because inlining

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #9 from suckfish at ihug dot co dot nz 2008-10-12 05:22 --- Created an attachment (id=16486) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16486action=view) Possible fix for 37807 Patch above essentially stops nonzero_bits1 and num_sign_bit_copies1 processing vector

[Bug c/37807] Exponential compile time with MMX builtins.

2008-10-11 Thread suckfish at ihug dot co dot nz
--- Comment #10 from suckfish at ihug dot co dot nz 2008-10-12 05:27 --- Changelog for patch if accepted [will do full bootstrap make test]: 2008-10-12 Ralph Loader [EMAIL PROTECTED] PR 37807 * rtlanal.c (numzero_bits1): Return early on vector types, avoiding

[Bug c/37743] New: Bogus printf format warning with __builtin_bswap32.

2008-10-06 Thread suckfish at ihug dot co dot nz
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: suckfish at ihug dot co dot nz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37743

[Bug c++/25362] New: Error message for unmatched overload is gobbledygook

2005-12-12 Thread suckfish at ihug dot co dot nz
Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: suckfish at ihug dot co dot nz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25362

[Bug c++/25363] New: Excessively long error message.

2005-12-12 Thread suckfish at ihug dot co dot nz
at ihug dot co dot nz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25363

[Bug c++/22566] New: Incorrect overload resolution on mutable field.

2005-07-20 Thread suckfish at ihug dot co dot nz
: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: suckfish at ihug dot co dot nz CC: gcc-bugs at gcc dot gnu dot org GCC