[Bug libstdc++/39238] trunk revision 144279 - cfenv:54: error: �::fenv_t� has not been declared

2009-05-13 Thread maxposedon at gmail dot com
--- Comment #8 from maxposedon at gmail dot com 2009-05-14 06:51 --- in gcc-4.4.0 release this bug wasn't fixed -- maxposedon at gmail dot com changed: What|Removed |Added

[Bug fortran/39865] ICE in gfc_conv_scalarized_array_ref

2009-05-13 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2009-05-14 06:45 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug fortran/39352] gfortran.dg/vect/pr39318.f90 doesn't work on ia64

2009-05-13 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-14 06:28 --- Patch: http://gcc.gnu.org/ml/fortran/2009-05/msg00163.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39352

[Bug target/37216] [cygming] Invalid alignment for SSE store to .comm data generated with -O3

2009-05-13 Thread dave dot korn dot cygwin at gmail dot com
--- Comment #54 from dave dot korn dot cygwin at gmail dot com 2009-05-14 06:25 --- I've started work on the binutils support for this. Work-in-progress patch at http://sourceware.org/ml/binutils/2009-05/msg00228.html Once that's complete, I could deal with the GCC end too. What shou

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

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #7 from bje at gcc dot gnu dot org 2009-05-14 06:18 --- Fails with 4.5.0 20090513. -- bje at gcc dot gnu dot org changed: What|Removed |Added Known to

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

2009-05-13 Thread bje at gcc dot gnu dot org
-- bje at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bje at gcc dot gnu dot org |dot org

[Bug tree-optimization/38156] gcc.dg/tree-ssa/update-unswitch-1.c fails when compiled with -ftree-parallelize-loops=4

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #5 from bje at gcc dot gnu dot org 2009-05-14 06:08 --- Can this PR be closed now? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38156

[Bug target/34526] no-altivec ABI should be fixed or no longer be the default

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #14 from bje at gcc dot gnu dot org 2009-05-14 05:34 --- Can this PR be closed now, Janis? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34526

[Bug debug/31690] ICE with const __uint128_t and C++ front-end

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #2 from bje at gcc dot gnu dot org 2009-05-14 05:22 --- Still present in GCC 4.5.0 20090513. Note that -O2 or above is also required to trigger this bug -- that was not mentioned in the original report. -- bje at gcc dot gnu dot org changed: What|Removed

[Bug target/31557] return 0x80000000UL code gen can be improved

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #2 from bje at gcc dot gnu dot org 2009-05-14 05:19 --- Still present in GCC 4.5.0 20090513. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31557

[Bug target/31055] missed auto-vectorization optimization, when there is float to int conversion

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #2 from bje at gcc dot gnu dot org 2009-05-14 05:16 --- Still present in GCC 4.5.0 20090513. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31055

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-05-13 Thread luisgpm at linux dot vnet dot ibm dot com
--- Comment #16 from luisgpm at linux dot vnet dot ibm dot com 2009-05-14 04:12 --- Just for the record... The 64-bit case is fixed. There are still performance issues in the 32-bit case. I'll attach more information soon. Luis -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39976

[Bug target/28904] operand out of range on Linux/PowerPC

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #9 from bje at gcc dot gnu dot org 2009-05-14 04:03 --- The original reporter seems to have resolved this to their satisfaction in their CrystalSpace3d bug report. This report was due to running up against a limitation of the -fPIC implementation. -- bje at gcc dot gnu d

[Bug target/27682] float to int conversion doesn't raise invalid exception

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #10 from bje at gcc dot gnu dot org 2009-05-14 03:46 --- Still present in GCC 4.5.0 20090513. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27682

[Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #14 from bje at gcc dot gnu dot org 2009-05-14 03:35 --- Confirmed with GCC 4.5.0 20090513 (experimental) [trunk revision 147498]. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27619

[Bug libstdc++/36211] __iconv_adaptor chooses char** where const char** is required

2009-05-13 Thread billingd at gcc dot gnu dot org
--- Comment #9 from billingd at gcc dot gnu dot org 2009-05-14 03:24 --- Draft patch http://gcc.gnu.org/ml/libstdc++/2009-05/msg00090.html -- billingd at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/27479] TLS accesses use one more instruction than necessary

2009-05-13 Thread bje at gcc dot gnu dot org
-- bje at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bje at gcc dot gnu dot org |dot org

[Bug other/26601] --whole-program --combine with gcc4.1 fails to link cpu2000 benchmarks

2009-05-13 Thread bje at gcc dot gnu dot org
-- bje at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |bje at gcc dot gnu dot org |dot org

[Bug target/26525] missed opportunity to use value in fp reg

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #5 from bje at gcc dot gnu dot org 2009-05-14 03:19 --- Still present in GCC: (GNU) 4.5.0 20090513 (experimental) [trunk revision 147498]. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26525

[Bug target/16798] PowerPC - Opportunity to use recording form instruction.

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #6 from bje at gcc dot gnu dot org 2009-05-14 03:04 --- Still present in GCC (GNU) 4.5.0 20090513 (experimental) [trunk revision 147498]. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16798

[Bug rtl-optimization/16456] PowerPC - redundant subtract involving pointer types

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #5 from bje at gcc dot gnu dot org 2009-05-14 03:00 --- Still present in GCC 4.5.0 (20090513). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16456

[Bug libstdc++/19495] basic_string::_M_rep() can produce an unnaturally aligned pointer to _Rep

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #26 from bje at gcc dot gnu dot org 2009-05-14 02:54 --- This test now passes on powerpc*-linux-gnu. -- bje at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40129] M16C invalid shift count used by pack_d -> ashldi3

2009-05-13 Thread dj at redhat dot com
--- Comment #1 from dj at redhat dot com 2009-05-14 02:52 --- Do you have a test case that shows an actual problem? Because the m32c port has special code that tests for shift counts outside -16..16 and pre-shifts the value to make the shift count fit (see gcc/config/m32c/m32c.c m32c_pr

[Bug middle-end/39301] ICE in register_overhead, at bitmap.c:115

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #7 from bje at gcc dot gnu dot org 2009-05-14 01:31 --- The test case does not run in a GB of RAM on my x86-64 system. It sends the system deep into swap until the out-of-memory manager kicks in. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39301

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-13 Thread hp at gcc dot gnu dot org
--- Comment #14 from hp at gcc dot gnu dot org 2009-05-14 01:18 --- Created an attachment (id=17861) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17861&action=view) patch for just the bug at hand. This patch just changes the next_active_insn for the exposure in this PR. I think m

[Bug c/40065] spurious format string warnings

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #4 from bje at gcc dot gnu dot org 2009-05-14 01:01 --- Andrew wrote: "GCC can assume %qE means anything from just printing E in quotes" Can you explain this? Is it really the case that the format specifier can have an optional argument? -- http://gcc.gnu.org/bugzil

[Bug c/40136] Initializing a union whose first member is an anonymous struct

2009-05-13 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-05-14 00:42 --- 4.0 branch is closed. Gcc 4.1.2 gave [...@gnu-3 tmp]$ cat u.cc union Foo { struct { float a,b,c; }; const char* x; }; Foo foo = { .0f, .0f, .0f }; Foo foo1 = { "foo" }; [...@gnu-3 tmp]$ gcc -c u.cc u.cc:7:

[Bug c++/40013] [4.4/4.5 Regression] ICE when creating a local array with size from the return value of a member function of an object in a nested class in a template class

2009-05-13 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-05-14 00:35 --- *** Bug 40137 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug c++/40137] Segmentation fault compiling simple c++ code

2009-05-13 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-05-14 00:35 --- *** This bug has been marked as a duplicate of 40013 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added --

[Bug rtl-optimization/40086] [4.5 Regression]: cris-elf gfortran.dg/forall_1.f90 -O1 execution

2009-05-13 Thread hp at gcc dot gnu dot org
--- Comment #13 from hp at gcc dot gnu dot org 2009-05-14 00:12 --- By chance I stumbled upon an old fix I did some years ago in which I changed a use of next_active_insn to next_real insn (to avoid skipping USE insns). You can see it in comments referring to a now-deleted "main" use (t

[Bug target/40105] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system

2009-05-13 Thread kkojima at gcc dot gnu dot org
--- Comment #5 from kkojima at gcc dot gnu dot org 2009-05-14 00:12 --- Created an attachment (id=17860) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17860&action=view) A patch A binary search on trunk shows me that the patch in r146829 and its follow-up r146988 fix the issue. Se

[Bug fortran/39865] ICE in gfc_conv_scalarized_array_ref

2009-05-13 Thread jakub at gcc dot gnu dot org
--- Comment #12 from jakub at gcc dot gnu dot org 2009-05-14 00:00 --- Subject: Bug 39865 Author: jakub Date: Thu May 14 00:00:27 2009 New Revision: 147507 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147507 Log: PR fortran/39865 * io.c (resolve_tag_format): CH

[Bug c++/40137] Segmentation fault compiling simple c++ code

2009-05-13 Thread piccinini dot santiago at gmail dot com
--- Comment #1 from piccinini dot santiago at gmail dot com 2009-05-13 23:56 --- Created an attachment (id=17859) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17859&action=view) preprocessed file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40137

[Bug target/38703] testsuite __gnu_mcount_nc link error when profiling on arm

2009-05-13 Thread ramana at gcc dot gnu dot org
--- Comment #7 from ramana at gcc dot gnu dot org 2009-05-13 23:56 --- Marking as WONTFIX as per comment#1 above. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40137] New: Segmentation fault compiling simple c++ code

2009-05-13 Thread piccinini dot santiago at gmail dot com
san ~ $ g++ -v -save-temps gcc4.4.0_segfaults.cpp Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++ --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_ate

[Bug c/40136] New: Initializing a union whose first member is an anonymous struct

2009-05-13 Thread markleone at gmail dot com
Not sure if this is a bug or a standards interpretation issue. Consider the following union, whose first member is an anonymous struct: union Foo { struct { float a,b,c; }; const char* x; }; icc (10.1) permits initialization of the first member of the union: Foo foo = { .0f, .0f, .0f };

[Bug preprocessor/36674] #include location is offset by one row in errors from preprocessed files

2009-05-13 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2009-05-13 23:19 --- FIXED in GCC 4.5 -- manu at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug preprocessor/36674] #include location is offset by one row in errors from preprocessed files

2009-05-13 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2009-05-13 23:18 --- Subject: Bug 36674 Author: manu Date: Wed May 13 23:17:55 2009 New Revision: 147504 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147504 Log: 2009-05-14 Manuel Lopez-Ibanez PR cpp/36674 libcpp/

[Bug c++/40007] [4.5 regression] specialization causes access problem in primary template

2009-05-13 Thread dodji at gcc dot gnu dot org
-- dodji at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |dodji at gcc dot gnu dot org |dot org

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread hjl dot tools at gmail dot com
--- Comment #29 from hjl dot tools at gmail dot com 2009-05-13 21:44 --- Created an attachment (id=17858) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17858&action=view) Impact of X86_TUNE_FOUR_JUMP_LIMIT on SPEC CPU 2K This is my old data of X86_TUNE_FOUR_JUMP_LIMIT on Penryn a

[Bug middle-end/40035] ICE when cross-compiling with -Os

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #4 from bje at gcc dot gnu dot org 2009-05-13 21:42 --- Subject: Bug 40035 Author: bje Date: Wed May 13 21:42:03 2009 New Revision: 147501 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147501 Log: Backport from mainline: PR middle-end/40035 * dse.c

[Bug target/34341] GCC generates incorrect code on ARM in certain case, resulting in stack corruption

2009-05-13 Thread awalbran at innaworks dot com
--- Comment #2 from awalbran at innaworks dot com 2009-05-13 21:27 --- Yes, I agree that the testcase does not make much sense, it is just the smallest testcase that I could find which demonstrates the bug. It is fine that the return value is undefined; the problem is that the stack poin

[Bug middle-end/40035] ICE when cross-compiling with -Os

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #3 from bje at gcc dot gnu dot org 2009-05-13 20:56 --- Fixed. -- bje at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/40035] ICE when cross-compiling with -Os

2009-05-13 Thread bje at gcc dot gnu dot org
--- Comment #2 from bje at gcc dot gnu dot org 2009-05-13 20:52 --- Subject: Bug 40035 Author: bje Date: Wed May 13 20:52:00 2009 New Revision: 147498 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147498 Log: PR middle-end/40035 * dse.c (check_mem_read_rtx): Gua

[Bug middle-end/39986] decimal float constant is incorrect when cc1 is a 64-bit binary

2009-05-13 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-05-13 20:46 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|REOPENE

[Bug middle-end/40135] using alias-set zero for union accesses necessary because of RTL alias oracle

2009-05-13 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-13 20:31 --- The tree alias oracle gets this right. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40135

[Bug middle-end/40135] New: using alias-set zero for union accesses necessary because of RTL alias oracle

2009-05-13 Thread rguenth at gcc dot gnu dot org
The RTL alias oracle does defer to TBAA even for the case of disambiguating two accesses based on decls. This makes /* Permit type-punning when accessing a union, provided the access is directly through the union. For example, this code does not permit taking the address of a union m

[Bug target/34625] msgl-check.c:199: error: unrecognizable insn:

2009-05-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #10 from fxcoudert at gcc dot gnu dot org 2009-05-13 20:24 --- Fixed, at least for current trunk. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-05-13 Thread matz at gcc dot gnu dot org
--- Comment #15 from matz at gcc dot gnu dot org 2009-05-13 20:14 --- Subject: Bug 39976 Author: matz Date: Wed May 13 20:14:44 2009 New Revision: 147494 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147494 Log: PR middle-end/39976 * tree-outof-ssa.c (maybe_renu

[Bug target/38900] ICE: unable to find a register to spill

2009-05-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2009-05-13 20:04 --- Simpler testcase, confirmed on native i386-pc-mingw32 (trunk, SVN rev. 147441): $ cat a.c void __attribute__((dllimport,fastcall)) h(int); void f() { h(2); h(1); } $ gcc -S -O1 a.c -foptimize-sibling-calls

[Bug bootstrap/24382] ORIGINAL_LD_FOR_TARGET has bizarre value

2009-05-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2009-05-13 19:48 --- As far as I know, this one has disappeared a long time ago. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31519] spurious ICE messages when module does not compile

2009-05-13 Thread fxcoudert at gcc dot gnu dot org
--- Comment #8 from fxcoudert at gcc dot gnu dot org 2009-05-13 19:37 --- I used to see that, but now not any more. Does someone else still see this happening? And with what testcase? -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Adde

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread vvv at ru dot ru
--- Comment #28 from vvv at ru dot ru 2009-05-13 19:18 --- (In reply to comment #24) > Using padding to avoid 4 branches in 16byte chunk may not be a good idea since > it will increase code size. It's enough only one byte NOP per 16-byte chunk for padding. But, IMHO, four branches in 16

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread jakub at gcc dot gnu dot org
--- Comment #27 from jakub at gcc dot gnu dot org 2009-05-13 19:08 --- If inserting the padding isn't worth it for say core2, m_CORE2 could be dropped from X86_TUNE_FOUR_JUMP_LIMIT, but certainly it would be interesting to see SPEC numbers backing that up. Similarly for AMD CPUs, and if

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread vvv at ru dot ru
--- Comment #26 from vvv at ru dot ru 2009-05-13 19:05 --- (In reply to comment #23) > Note that we need something that works for the generic model as well, which in > this case looks like it is the same as for AMD models. There is processor property TARGET_FOUR_JUMP_LIMIT, may be creat

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread vvv at ru dot ru
--- Comment #25 from vvv at ru dot ru 2009-05-13 18:56 --- (In reply to comment #22) > CCing H.J for Intel optimization issues. VVV> 1. AMD limitation for 16-bytes page (memory range XXX0 - XXXF), but VVV> Intel limitation for 16-bytes chunk (memory range - +10

[Bug target/37386] Interrupt service routine for arm target corrupts program counter

2009-05-13 Thread fede dot tft at hotmail dot it
--- Comment #3 from fede dot tft at hotmail dot it 2009-05-13 18:53 --- (In reply to comment #2) > This appears to be fixed with trunk as of r147467. Can you reproduce this with > 4.3 or 4.4 ? If not we can close this one out. Tested with GCC 4.3.2, the bug is fixed. -- http://gcc.

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread hjl dot tools at gmail dot com
--- Comment #24 from hjl dot tools at gmail dot com 2009-05-13 18:45 --- Using padding to avoid 4 branches in 16byte chunk may not be a good idea since it will increase code size. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39942

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

2009-05-13 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-05-13 18:42 --- To be clear, due to PR40134, the patch mentioned has been reverted for now. -- paolo dot carlini at oracle dot com changed: What|Removed |Added --

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

2009-05-13 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-05-13 18:42 --- To be clear, due to PR40134, the patch mentioned has been reverted for now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40133

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread rguenth at gcc dot gnu dot org
--- Comment #23 from rguenth at gcc dot gnu dot org 2009-05-13 18:34 --- Note that we need something that works for the generic model as well, which in this case looks like it is the same as for AMD models. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39942

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread ubizjak at gmail dot com
--- Comment #22 from ubizjak at gmail dot com 2009-05-13 18:22 --- (In reply to comment #21) > I guess! Your patch is absolutely correct for AMD AthlonTM 64 and AMD > OpteronTM > processors, but it is nonoptimal for Intel processors. Because: ... CCing H.J for Intel optimization issue

[Bug middle-end/39976] [4.5 Regression] Big sixtrack degradation on powerpc 32/64 after revision r146817

2009-05-13 Thread matz at gcc dot gnu dot org
--- Comment #14 from matz at gcc dot gnu dot org 2009-05-13 18:16 --- http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00753.html should fix it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39976

[Bug target/40130] rint from gcc.c-torture/execute miscompiled with -march=i486

2009-05-13 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2009-05-13 18:16 --- (In reply to comment #4) > So -- invalid? There was a reason Paolo reported this problem, so let him have the last word. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40130

[Bug target/40130] rint from gcc.c-torture/execute miscompiled with -march=i486

2009-05-13 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-05-13 17:57 --- So -- invalid? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40130

[Bug middle-end/40095] [4.5 Regression] Revision 147342/147343 caused extra failures

2009-05-13 Thread matz at gcc dot gnu dot org
--- Comment #4 from matz at gcc dot gnu dot org 2009-05-13 17:51 --- flatten-2.c is the more important one. We leave the static function doubleindirect1 in there, which we shouldn't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40095

[Bug regression/40132] failure to assign asm constraints properly

2009-05-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-13 17:17 --- What GCC is doing is correct according to the source you gave it. The source needs to be modified to mark old as being an early clobber. Like: asm volatile( "1: " _ASM_MOV " (%[parent]), %[o

[Bug fortran/40039] Procedures as actual arguments: Check intent of arguments

2009-05-13 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-05-13 17:15 --- > FAIL: gfortran.dg/interface_19.f90 -O0 (test for excess errors) > FAIL: gfortran.dg/proc_ptr_result_1.f90 -O0 (test for excess errors) > > The last of these three test cases is probably invalid, the second fail

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread vvv at ru dot ru
--- Comment #21 from vvv at ru dot ru 2009-05-13 17:13 --- I guess! Your patch is absolutely correct for AMD AthlonTM 64 and AMD OpteronTM processors, but it is nonoptimal for Intel processors. Because: 1. AMD limitation for 16-bytes page (memory range XXX0 - XXXF), but Intel li

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

2009-05-13 Thread debian-gcc at lists dot debian dot org
--- Comment #1 from debian-gcc at lists dot debian dot org 2009-05-13 17:07 --- the arm failure is PR40134 now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40133

[Bug target/40134] New: symbols not resolved when building shared libraries (link with -lgcc_s -lgcc?)

2009-05-13 Thread debian-gcc at lists dot debian dot org
this showed up when trying to address PR40133. Enabling the exception propagation support keeps the __sync_val_compare_and_swap_4 unresolved. /usr/bin/ld: ./atomic-1.exe: hidden symbol `__sync_val_compare_and_swap_4' in /home/doko/gcc/4.4/gcc-4.4-4.4.0/build/gcc/libgcc.a(linux-atomic.o) is referen

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

2009-05-13 Thread debian-gcc at lists dot debian dot org
Tracking http://gcc.gnu.org/ml/gcc/2009-05/msg00035.html as a bug report. Paolo checked in a patch in rev 147123 on the gcc-4_4-branch to do link tests for the atomic builtins, which works ok on hppa, but fails for arm. -- Summary: exception propagation support not enabled in libstdc

[Bug regression/40132] New: failure to assign asm constraints properly

2009-05-13 Thread rostedt at goodmis dot org
# gcc -v Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.4.0/configure --prefix=/usr/local/dist --program-prefix=dist- --without-doc --enable-bootstrap Thread model: posix gcc version 4.4.0 (GCC) I just compiled to gcc 4.4.0 (replacing my 4.2.2 version) and found

[Bug target/40130] rint from gcc.c-torture/execute miscompiled with -march=i486

2009-05-13 Thread joseph at codesourcery dot com
--- Comment #3 from joseph at codesourcery dot com 2009-05-13 16:50 --- Subject: Re: rint from gcc.c-torture/execute miscompiled with -march=i486 On Wed, 13 May 2009, ubizjak at gmail dot com wrote: > Adding -ffloat-store also fixes these failures. ieee.exp already uses -ffloat-stor

[Bug rtl-optimization/39836] [4.4/4.5 regression] unoptimal code generated

2009-05-13 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug target/35623] RTL check failure in arm_const_double_rtx

2009-05-13 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-05-13 16:34 --- Can you try a later compiler ? -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/40130] rint from gcc.c-torture/execute miscompiled with -march=i486

2009-05-13 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-05-13 16:34 --- Adding -ffloat-store also fixes these failures. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40130

[Bug debug/40126] [4.5 Regression] -O2 -g results in: can't resolve `.LFE95' {*UND* section} - `.Ltext0' {.text section}

2009-05-13 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-05-13 16:32 --- It is caused by revision 14734: http://gcc.gnu.org/ml/gcc-cvs/2009-05/msg00316.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40126

[Bug libstdc++/40038] [4.4/4.5 regression] symbols ce...@glibcxx_3.4.3 not exported

2009-05-13 Thread doko at debian dot org
--- Comment #11 from doko at debian dot org 2009-05-13 16:28 --- Subject: Re: [4.4/4.5 regression] symbols ce...@glibcxx_3.4.3 not exported bkoz at gcc dot gnu dot org schrieb: > --- Comment #10 from bkoz at gcc dot gnu dot org 2009-05-12 23:01 --- > > Sorry for the delay Pa

[Bug target/40130] rint from gcc.c-torture/execute miscompiled with -march=i486

2009-05-13 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-05-13 16:26 --- It looks to me, that these test never really passed on x87. Compiling wiht gcc-4.3, we get: main: leal4(%esp), %ecx andl$-16, %esp pushl -4(%ecx) pushl %ebp movl%esp

[Bug fortran/34153] Debugging: Cannot set breakpoint in comment lines or "END PROGRAM"

2009-05-13 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2009-05-13 16:14 --- FIXED on the trunk (4.5). Thanks for the bug report! -- burnus at gcc dot gnu dot org changed: What|Removed |Added --

[Bug debug/40126] [4.5 Regression] -O2 -g results in: can't resolve `.LFE95' {*UND* section} - `.Ltext0' {.text section}

2009-05-13 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2009-05-13 16:07 --- Confirmed (with "-m32 -O2 -g" on x86_64-unknown-linux-gnu). Reduced testcase: == typedef struct A { int i; struct A *p; } A; static int f1(A *t) { if (t->

[Bug c/37384] Assembler error message when building vlc-0.9.1

2009-05-13 Thread michael dot haubenwallner at salomon dot at
--- Comment #8 from michael dot haubenwallner at salomon dot at 2009-05-13 15:21 --- (In reply to comment #7) > (In reply to comment #6) > > Would it be feasible to add an include-fix for this > It should have already been. As libgfortran uses those headers. Hmm, cannot find anything

[Bug tree-optimization/39251] FAIL: g++.dg/tree-ssa/new1.C scan-tree-dump-not forwprop1 "= .* \+ -"

2009-05-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #5 from dave at hiauly1 dot hia dot nrc dot ca 2009-05-13 15:20 --- Subject: Re: FAIL: g++.dg/tree-ssa/new1.C scan-tree-dump-not forwprop1 "= .* \+ -" > trunk or 4.4? I see it in trunk revision 147374. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39251

[Bug target/39244] Various cleanup tests fail

2009-05-13 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfir

[Bug target/39244] Various cleanup tests fail

2009-05-13 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca 2009-05-13 15:16 --- Subject: Re: Various cleanup tests fail > I don't see these failing with trunk as of 147209 or on an > arm-none-linux-gnueabi 4.4.x on the testresults mailing list. Do these still > fail for your tester?

[Bug target/38703] testsuite __gnu_mcount_nc link error when profiling on arm

2009-05-13 Thread laurent at guerby dot net
--- Comment #6 from laurent at guerby dot net 2009-05-13 15:09 --- No objection from me. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38703

[Bug debug/40109] Incorrect debug info nesting for typedef statements within namespaces

2009-05-13 Thread dodji at gcc dot gnu dot org
--- Comment #2 from dodji at gcc dot gnu dot org 2009-05-13 14:58 --- Patch submitted for review at http://gcc.gnu.org/ml/gcc-patches/2009-05/msg00706.html. -- dodji at gcc dot gnu dot org changed: What|Removed |Added --

[Bug fortran/34153] Debugging: Cannot set breakpoint in comment lines or "END PROGRAM"

2009-05-13 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-05-13 14:53 --- Subject: Bug 34153 Author: burnus Date: Wed May 13 14:52:54 2009 New Revision: 147477 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147477 Log: 2009-05-13 Tobias Burnus PR fortran/34153 *

[Bug target/38703] testsuite __gnu_mcount_nc link error when profiling on arm

2009-05-13 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-05-13 14:51 --- (In reply to comment #1) > That's what dg-require-profiling does. > > IMHO this is a deficiency in your glibc. It's very hard to distinguish between > "something is subtly busted" and "my glibc sucks", so I'm not sur

[Bug c/37384] Assembler error message when building vlc-0.9.1

2009-05-13 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-05-13 14:48 --- (In reply to comment #6) > As this seems to be a bug in glibc headers: > Would it be feasible to add an include-fix for this, to be able to use gcc-4.3 > with older glibc? It should have already been. As libgfortra

[Bug c++/40131] New: [C++0x] uniform init with std::string causes internal compiler segfault

2009-05-13 Thread mobileforces at gmail dot com
Produce this bug by the following: std::string foo {"bar"}; -- Summary: [C++0x] uniform init with std::string causes internal compiler segfault Product: gcc Version: unknown Status: UNCONFIRMED Severity: major

[Bug target/39244] Various cleanup tests fail

2009-05-13 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-05-13 14:39 --- I don't see these failing with trunk as of 147209 or on an arm-none-linux-gnueabi 4.4.x on the testresults mailing list. Do these still fail for your tester? -- ramana at gcc dot gnu dot org changed: W

[Bug tree-optimization/33404] Predictive commoning + ivopts possibly introducing extra sign extensions.

2009-05-13 Thread ramana at gcc dot gnu dot org
--- Comment #5 from ramana at gcc dot gnu dot org 2009-05-13 14:33 --- (In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > Also IV-opts is messing up anyways, it should have done out+1 as the base > > > instead of out, blah. > > > > Filed as http://gcc

[Bug target/40105] SH: 4.3/4.4 compilers segfault when recompiling itself on gentoo system

2009-05-13 Thread kkojima at gcc dot gnu dot org
--- Comment #4 from kkojima at gcc dot gnu dot org 2009-05-13 14:07 --- Created an attachment (id=17857) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17857&action=view) a test case I've got a small test case from libiberty/concat.c. With -O1, 4.3 compiles vconcat_length to the co

[Bug target/40130] New: rint from gcc.c-torture/execute miscompiled with -march=i486

2009-05-13 Thread bonzini at gnu dot org
I see these failures when running the testsuite at -march=i486 (note: execute/ieee means that -mieee-fp is also added to the command line) FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/20010114-2.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/

[Bug fortran/39782] [4.3/4.4 Regression] IO depends on uninitialised value

2009-05-13 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2009-05-13 13:47 --- For 4.4 the equivalent diff should be the following (untested). I don't see ad hoc whether the "sfree" can be removed as well or not. Index: libgfortran/io/transfer.c

[Bug c/40128] [ARM] Incorrect optimized code >= -O2

2009-05-13 Thread al at alarsen dot net
--- Comment #3 from al at alarsen dot net 2009-05-13 13:37 --- (In reply to comment #1) > Can you try a newer version of the compiler ? 4.1.x is unsupported today. > > I can see this is fixed on trunk and 4.3 as of revisions 147467 147441. An > older version of 4.4 does not show this p

[Bug tree-optimization/39251] FAIL: g++.dg/tree-ssa/new1.C scan-tree-dump-not forwprop1 "= .* \+ -"

2009-05-13 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-05-13 13:35 --- trunk or 4.4? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39251

[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

2009-05-13 Thread rguenth at gcc dot gnu dot org
--- Comment #20 from rguenth at gcc dot gnu dot org 2009-05-13 13:31 --- Instruction decoders generally operate on whole cache-lines, so 16-byte chunk very very likely refers to a cache-line. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39942

  1   2   >