[Bug bootstrap/46776] New: gogo-tree.cc uses TRAMPOLINE_ALIGNMENT and TRAMPOLINE_SIZE

2010-12-02 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46776 Summary: gogo-tree.cc uses TRAMPOLINE_ALIGNMENT and TRAMPOLINE_SIZE Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: build Severity: normal Prio

[Bug target/46768] [4.6 Regression] FAIL: gcc.target/i386/pr37434-[24].c

2010-12-02 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46768 --- Comment #4 from Jack Howarth 2010-12-03 04:25:53 UTC --- On x86_64-apple-darwin10 at r167400, we are still failing... FAIL: gcc.target/i386/sse2-init-v2di-2.c scan-assembler movq at -m64.

[Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.

2010-12-02 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667 --- Comment #10 from Jie Zhang 2010-12-03 04:22:48 UTC --- Chung-Lin Tang told me he had a patch for this: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00137.html

[Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.

2010-12-02 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667 Jie Zhang changed: What|Removed |Added CC||jiez at gcc dot gnu.org --- Comment #9 from J

[Bug fortran/46678] [4.6 Regression] Wrong code with strings

2010-12-02 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46678 Jerry DeLisle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug bootstrap/45888] tm.texi generation is not portable, rule is broken

2010-12-02 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888 --- Comment #20 from Jorn Wolfgang Rennecke 2010-12-03 00:46:12 UTC --- (In reply to comment #19) > Please install the "file" utility. It should be able to identify if a file has > CR or CRLF line terminators. With od, we can see exactly, byte

[Bug libgcj/46774] [gcj] Calling Policy.setPolicy with a new Policy object has no effect on the DefaultSecurityManager

2010-12-02 Thread gnu_andrew at member dot fsf.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46774 Andrew John Hughes changed: What|Removed |Added Blocks||46773 --- Comment #1 from Andrew Joh

[Bug libgcj/46774] New: [gcj] Calling Policy.setPolicy with a new Policy object has no effect on the DefaultSecurityManager

2010-12-02 Thread gnu_andrew at member dot fsf.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46774 Summary: [gcj] Calling Policy.setPolicy with a new Policy object has no effect on the DefaultSecurityManager Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal

[Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin

2010-12-02 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 m...@gcc.gnu.org changed: What|Removed |Added CC||mrs at gcc dot gnu.org --- Comment #24

[Bug bootstrap/45888] tm.texi generation is not portable, rule is broken

2010-12-02 Thread cestrauss at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888 --- Comment #19 from Cesar Strauss 2010-12-02 23:38:39 UTC --- (In reply to comment #18) > (In reply to comment #17) > > * anhvofrcaus at gmail dot com wrote on Tue, Nov 30, 2010 at 01:25:49AM CET: > > > It is interesting that this fix worked for

[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2010-12-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 --- Comment #3 from H.J. Lu 2010-12-02 23:01:14 UTC --- (In reply to comment #2) > Hmm, is it possible to do the change without breaking ABI (i.e. preserving the > proper relative order for binary built with init_arra/fini_array linked with > cto

[Bug debug/46771] [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize

2010-12-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/46767] r167374 introduce gcc.target/i386 regressions

2010-12-02 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46767 Uros Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/46768] [4.6 Regression] FAIL: gcc.target/i386/pr37434-[24].c

2010-12-02 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46768 Uros Bizjak changed: What|Removed |Added CC||howarth at nitro dot |

[Bug target/46768] [4.6 Regression] FAIL: gcc.target/i386/pr37434-[24].c

2010-12-02 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46768 --- Comment #2 from hjl at gcc dot gnu.org 2010-12-02 22:50:49 UTC --- Author: hjl Date: Thu Dec 2 22:50:44 2010 New Revision: 167398 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167398 Log: Turn on X86_TUNE_INTER_UNIT_MOVES for Core 2

[Bug target/46685] [4.6 Regression] New stack alignment failures with -fpic

2010-12-02 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #12 from Eric Botcazou 2010-12-02 22:33:24 UTC --- Author: ebotcazou Date: Thu Dec 2 22:33:16 2010 New Revision: 167395 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167395 Log: PR target/46685 * config/sparc/sparc.c

[Bug target/43751] dsymutil is not called for fortran and, under some circumstances not for other FEs.

2010-12-02 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43751 m...@gcc.gnu.org changed: What|Removed |Added CC||mrs at gcc dot gnu.org --- Comment #8

[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2010-12-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 --- Comment #2 from Jan Hubicka 2010-12-02 22:22:17 UTC --- Hmm, is it possible to do the change without breaking ABI (i.e. preserving the proper relative order for binary built with init_arra/fini_array linked with ctors/dtors library and vice v

[Bug fortran/46772] New: libquadmath: Build failure - strtod: static declaration of 'strtod' follows non-static declaration

2010-12-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46772 Summary: libquadmath: Build failure - strtod: static declaration of 'strtod' follows non-static declaration Product: gcc Version: 4.6.0 Status: UNCONFIRMED

[Bug debug/46771] New: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize

2010-12-02 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46771 Summary: [4.6 Regression] -fcompare-debug failure (length) with -O -ftree-vectorize Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/45297] [4.6 Regression] ICE: in create_linear_expr_from_tree, at graphite-sese-to-poly.c:1210 with -Os -fgraphite-identity

2010-12-02 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45297 Sebastian Pop changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Bug middle-end/45297] [4.6 Regression] ICE: in create_linear_expr_from_tree, at graphite-sese-to-poly.c:1210 with -Os -fgraphite-identity

2010-12-02 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45297 --- Comment #13 from Sebastian Pop 2010-12-02 20:13:16 UTC --- Author: spop Date: Thu Dec 2 20:13:11 2010 New Revision: 167390 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167390 Log: Fix PR45297: handle ADDR_EXPR in interpret_rhs_expr

[Bug c++/46759] incorrect array bounds warning?

2010-12-02 Thread rwgk at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46759 --- Comment #3 from rwgk at yahoo dot com 2010-12-02 19:47:29 UTC --- Created attachment 22606 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22606 reproducer with additional tests I changed the original reproducer to return 0 through 4 inste

[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

2010-12-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752 Tobias Burnus changed: What|Removed |Added Status|RESOLVED|WAITING Last reconfirmed|

[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2010-12-02 Thread mh+gcc at glandium dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 --- Comment #1 from Mike Hommey 2010-12-02 19:24:44 UTC --- Using .init_array/.fini_array instead of .ctors/.dtors removes the need for the associated (relative) relocations, and avoids the backwards disk seeks on startup (since while .ctors are

[Bug target/46770] New: Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

2010-12-02 Thread mh+gcc at glandium dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 Summary: Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority:

[Bug tree-optimization/45948] [4.6 Regression] ICE: SIGSEGV in find_uses_to_rename_use (tree-ssa-loop-manip.c:1242) with -O -fstrict-overflow -ftree-loop-distribution

2010-12-02 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45948 --- Comment #5 from Sebastian Pop 2010-12-02 19:19:46 UTC --- First patch here: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00216.html However, I am not fully happy with this fix that tweaks scev const prop to work around this bug... The other

[Bug target/46768] [4.6 Regression] FAIL: gcc.target/i386/pr37434-[24].c

2010-12-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46768 --- Comment #1 from H.J. Lu 2010-12-02 19:11:26 UTC --- On Intel64, I got FAIL: gcc.target/i386/pr34256.c scan-assembler-times mov 2 FAIL: gcc.target/i386/pr37434-2.c scan-assembler pinsrw FAIL: gcc.target/i386/pr37434-2.c scan-assembler pinsrw

[Bug lto/46769] New: LTO failed to build gold

2010-12-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46769 Summary: LTO failed to build gold Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org

[Bug c++/46645] [4.6 Regression] FAIL: 20_util/unique_ptr/requirements/explicit_instantiation/explicit_instantiation.cc

2010-12-02 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46645 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

2010-12-02 Thread longb at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752 --- Comment #5 from Bill Long 2010-12-02 18:42:53 UTC --- Reply from James: Version 3.1 of the OpenMP specification removes the offending bullet: " A variable that appears in a firstprivate clause must be definable." When the new spec is releas

[Bug tree-optimization/45948] [4.6 Regression] ICE: SIGSEGV in find_uses_to_rename_use (tree-ssa-loop-manip.c:1242) with -O -fstrict-overflow -ftree-loop-distribution

2010-12-02 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45948 --- Comment #4 from Sebastian Pop 2010-12-02 18:39:23 UTC --- For this case, we end up generating two memset (0) for the first loop, and we completely remove that loop: void foo (int i, int n) { int a[30]; int b[30]; for (; i < n; i++)

[Bug target/46768] New: [4.6 Regression] FAIL: gcc.target/i386/pr37434-[24].c

2010-12-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46768 Summary: [4.6 Regression] FAIL: gcc.target/i386/pr37434-[24].c Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assigne

[Bug c/45062] [4.6 Regression] Revision 162223 caused ICE at c-decl.c:4064

2010-12-02 Thread froydnj at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45062 Nathan Froyd changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c/45062] [4.6 Regression] Revision 162223 caused ICE at c-decl.c:4064

2010-12-02 Thread froydnj at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45062 --- Comment #7 from Nathan Froyd 2010-12-02 18:00:26 UTC --- Author: froydnj Date: Thu Dec 2 18:00:21 2010 New Revision: 167381 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167381 Log: PR c/45062 * c-decl.c (grokparms): Set arg

[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

2010-12-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752 --- Comment #4 from Tobias Burnus 2010-12-02 17:55:56 UTC --- (In reply to comment #3) > This usage is not specifically prohibited in the API. Sound like a paraphrase for "implementation defined"/"processor dependent" to me. > James Beyer says

[Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.

2010-12-02 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667 --- Comment #8 from Ramana Radhakrishnan 2010-12-02 17:54:22 UTC --- Created attachment 22605 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22605 Testcase for ARM Backtrace shown in previous comment from the following debugging arguments.

[Bug middle-end/46667] [4.6 Regression] -freorder-blocks-and-partition -g failed and libstdc++ builds for arm-eabi are broken.

2010-12-02 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46667 --- Comment #7 from Ramana Radhakrishnan 2010-12-02 17:52:38 UTC --- Here's the backtrace I see for arm-eabi. #0 error (gmsgid=0xf323c8 "%+D causes a section type conflict") at ../../combined/gcc/diagnostic.c:747 #1 0x00affd0d in get_

[Bug testsuite/46767] New: r167374 introduce gcc.target/i386 regressions

2010-12-02 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46767 Summary: r167374 introduce gcc.target/i386 regressions Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo:

[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

2010-12-02 Thread longb at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752 --- Comment #3 from Bill Long 2010-12-02 17:22:48 UTC --- Conflicting commentary from the OpenMP testers and James Beyer of the OpenMP committee: This test case is derived from OpenMP test omp3f/F03_2_9_3_4_5c.f90 . The case involves an allocata

[Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin

2010-12-02 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42690 --- Comment #32 from H.J. Lu 2010-12-02 17:15:52 UTC --- Another testcase: [...@gnu-6 pr12245-6]$ cat y.c #include #include #include int main (int argc, char **argv) { int d = atoi (argv[1]); printf ("%f\n", sin (d)); return 0; } [...@

[Bug c/46766] Type 'void' is treated differently if used as return value or as parameter

2010-12-02 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766 --- Comment #5 from Andreas Schwab 2010-12-02 17:10:15 UTC --- If you want the standard to be changed then this is the wrong place.

[Bug target/43814] gcc failed to inline memcpy

2010-12-02 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43814 --- Comment #8 from rguenther at suse dot de 2010-12-02 17:01:08 UTC --- On Thu, 2 Dec 2010, mkuvyrkov at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43814 > > --- Comment #7 from Maxim Kuvyrkov 2010-12-02 > 16:42:40

[Bug c/43651] add warning for duplicate qualifier

2010-12-02 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651 Joseph S. Myers changed: What|Removed |Added CC||fredrik.hederstie...@securi

[Bug c/46765] Superfluous 'const' declaration does not generate error or warning

2010-12-02 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46765 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug tree-optimization/45199] [4.6 Regression] ICE in loop distribution at -O3

2010-12-02 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45199 Sebastian Pop changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug tree-optimization/45199] [4.6 Regression] ICE in loop distribution at -O3

2010-12-02 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45199 --- Comment #5 from Sebastian Pop 2010-12-02 16:53:21 UTC --- Author: spop Date: Thu Dec 2 16:53:16 2010 New Revision: 167380 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167380 Log: Fix PR45199: do not aggregate memory accesses to the

[Bug target/43814] gcc failed to inline memcpy

2010-12-02 Thread mkuvyrkov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43814 --- Comment #7 from Maxim Kuvyrkov 2010-12-02 16:42:40 UTC --- (In reply to comment #6) ... < , as an example look at the types the C frontend > generates for struct X __attribute__((packed)) { int x; }; > void foo (struct X *p, int *q) { memcpy

[Bug tree-optimization/46723] [4.5 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723 Richard Guenther changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug tree-optimization/46723] [4.5/4.6 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723 --- Comment #10 from Richard Guenther 2010-12-02 16:23:26 UTC --- Author: rguenth Date: Thu Dec 2 16:23:20 2010 New Revision: 167377 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167377 Log: 2010-12-02 Richard Guenther PR tree-o

[Bug driver/46760] LTO bootstrap doesn't work with FDO

2010-12-02 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #9 from Jan Hubicka 2010-12-02 15:57:00 UTC --- Created attachment 22604 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22604 Patch I am testing to allow profile merging This patch should allow merging of LTO units with differen

[Bug c/46766] Type 'void' is treated differently if used as return value or as parameter

2010-12-02 Thread fredrik.hederstie...@securitas-direct.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766 --- Comment #4 from Fredrik Hederstierna 2010-12-02 15:55:05 UTC --- Yes, I agree its EURGH. I guess its not preferred to make C++ template-alike code in C. I think its worth avoid stuff like: #ifdef BLAH_BLAH_BLAH #define RETURN_TYPE_C_TEMPLA

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2010-12-02 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #16 from Jan Hubicka 2010-12-02 15:34:48 UTC --- > It's valid I think and we try to work out fPIC ourselves in the funny > LTO option handling code (but the options are not re-applied at ltrans > stage I think, so it doesn't work at a

Re: [Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2010-12-02 Thread Jan Hubicka
> It's valid I think and we try to work out fPIC ourselves in the funny > LTO option handling code (but the options are not re-applied at ltrans > stage I think, so it doesn't work at all with WHOPR). Hmm, the link command above is LTO, not WHOPR. I wonder why we don't work out -fPIC ourselves t

[Bug other/46542] GCC 4.7 pending patches meta-bug

2010-12-02 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46542 Jeffrey A. Law changed: What|Removed |Added Attachment #22447|0 |1 is obsolete|

[Bug c/46766] Type 'void' is treated differently if used as return value or as parameter

2010-12-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766 --- Comment #3 from Jonathan Wakely 2010-12-02 15:14:14 UTC --- (In reply to comment #0) > > void f1(void) > { > return (void)0; //OK This is valid in C++ but allowing it in C is a GCC extension. > void f2(void) > { > return f1(); //OK T

[Bug c/46766] Type 'void' is treated differently if used as return value or as parameter

2010-12-02 Thread fredrik.hederstie...@securitas-direct.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766 --- Comment #2 from Fredrik Hederstierna 2010-12-02 14:42:35 UTC --- Ok, but also f1() declares that it does not return any parameters, still it can return (void)0; I'm not saying either is wrong, I just though it should be consistent. If its o

[Bug fortran/46753] [4.4/4.5/4.6 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753 --- Comment #2 from Jakub Jelinek 2010-12-02 14:37:25 UTC --- Author: jakub Date: Thu Dec 2 14:37:20 2010 New Revision: 167372 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167372 Log: PR fortran/46753 * trans-openmp.c (gfc_tran

[Bug libgomp/43706] scheduling two threads on one core leads to starvation

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43706 --- Comment #27 from Jakub Jelinek 2010-12-02 14:31:31 UTC --- Author: jakub Date: Thu Dec 2 14:31:27 2010 New Revision: 167371 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167371 Log: PR libgomp/43706 * env.c (initialize_env):

[Bug libgomp/45240] parallel.c: GOMP_parallel_end locks a mutex but fails to unlock it after atomic operation complete

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45240 --- Comment #1 from Jakub Jelinek 2010-12-02 14:30:41 UTC --- Author: jakub Date: Thu Dec 2 14:30:37 2010 New Revision: 167370 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167370 Log: PR libgomp/45240 * parallel.c (GOMP_paralle

[Bug c/46766] Type 'void' is treated differently if used as return value or as parameter

2010-12-02 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/46766] New: Type 'void' is treated differently if used as return value or as parameter

2010-12-02 Thread fredrik.hederstie...@securitas-direct.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46766 Summary: Type 'void' is treated differently if used as return value or as parameter Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/46764] std=c++0x causes compilation failure on SFINAE test for methods

2010-12-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46764 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/46764] std=c++0x causes compilation failure on SFINAE test for methods

2010-12-02 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46764 --- Comment #1 from Jonathan Wakely 2010-12-02 13:43:27 UTC --- changing typeof to decltype or __typeof__ causes it to work looks as though 'typeof' simply isn't recognised in C++0x mode

[Bug c/46765] Superfluous 'const' declaration does not generate error or warning

2010-12-02 Thread fredrik.hederstie...@securitas-direct.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46765 --- Comment #1 from Fredrik Hederstierna 2010-12-02 13:34:26 UTC --- Created attachment 22602 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22602 example file for const.

[Bug c/46765] New: Superfluous 'const' declaration does not generate error or warning

2010-12-02 Thread fredrik.hederstie...@securitas-direct.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46765 Summary: Superfluous 'const' declaration does not generate error or warning Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/46678] [4.6 Regression] Wrong code with strings

2010-12-02 Thread paul.richard.thomas at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46678 --- Comment #13 from paul.richard.thomas at gmail dot com 2010-12-02 13:33:38 UTC --- Semms to me that Jerry should do the honours :-) Paul On Thu, Dec 2, 2010 at 1:45 PM, burnus at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.

[Bug tree-optimization/46763] gcc 4.5: missed optimization: copy global to local, prefetch

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46763 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-12-02 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738 Kai Tietz changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-12-02 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738 --- Comment #15 from Kai Tietz 2010-12-02 13:15:18 UTC --- Author: ktietz Date: Thu Dec 2 13:15:10 2010 New Revision: 167369 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167369 Log: 2010-12-02 Kai Tietz PR libstdc++/43738

[Bug c++/46764] New: std=c++0x causes compilation failure on SFINAE test for methods

2010-12-02 Thread bisqwit at iki dot fi
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46764 Summary: std=c++0x causes compilation failure on SFINAE test for methods Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug other/46268] gengtype warning when GTY(()) markers have no effect

2010-12-02 Thread lauras at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46268 Laurynas Biveinis changed: What|Removed |Added Status|ASSIGNED|SUSPENDED --- Comment #2 from Lauryna

[Bug fortran/46678] [4.6 Regression] Wrong code with strings

2010-12-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46678 --- Comment #12 from Tobias Burnus 2010-12-02 12:44:57 UTC --- I think we can close this PR - can't we?

[Bug c++/44871] Invalid type mismatches while merging C and C++ sources

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44871 Richard Guenther changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/44871] Invalid type mismatches while merging C and C++ sources

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44871 --- Comment #15 from Richard Guenther 2010-12-02 12:24:50 UTC --- Author: rguenth Date: Thu Dec 2 12:24:46 2010 New Revision: 167367 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167367 Log: 2010-12-02 Richard Guenther PR lto/44

[Bug debug/46724] [4.6 Regression] Wrong debug info: Invalid variable location

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46724 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/43751] dsymutil is not called for fortran and, under some circumstances not for other FEs.

2010-12-02 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43751 --- Comment #7 from Iain Sandoe 2010-12-02 11:49:41 UTC --- proposed work-around for 4.6 http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00145.html Note the following web-page describes the intended usage/behavior of dsymutil http://wiki.dwarfst

[Bug tree-optimization/46663] ICE: SIGSEGV in vect_recog_pow_pattern (gimple.h:2055) with -O -fexceptions -ftree-vectorize

2010-12-02 Thread irar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46663 --- Comment #1 from irar at gcc dot gnu.org 2010-12-02 11:47:15 UTC --- Author: irar Date: Thu Dec 2 11:47:12 2010 New Revision: 167366 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167366 Log: PR tree-optimization/46663 * tree-v

[Bug middle-end/46685] [4.6 Regression] New stack alignment failures with -fpic

2010-12-02 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685 --- Comment #11 from Eric Botcazou 2010-12-02 11:30:54 UTC --- > Alternatively, we could do something like: > --- gcc/config/sparc/sparc.c.jj2010-11-26 18:39:04.0 +0100 > +++ gcc/config/sparc/sparc.c2010-11-29 15:35:00.727219374 +

[Bug tree-optimization/46763] gcc 4.5: missed optimization: copy global to local, prefetch

2010-12-02 Thread amonakov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46763 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comme

[Bug libfortran/46720] [4.6 Regression] missing quadmath_weak.h with --enable-maintainer-mode

2010-12-02 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46720 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org Sever

[Bug libfortran/46720] [4.6 Regression] missing quadmath_weak.h with --enable-maintainer-mode

2010-12-02 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46720 Thomas Koenig changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Thomas Ko

[Bug fortran/46753] [4.4/4.5/4.6 Regression] ICE: OpenMP - in extract_omp_for_data, at omp-low.c:335

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46753 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin

2010-12-02 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 --- Comment #23 from Iain Sandoe 2010-12-02 10:14:22 UTC --- (In reply to comment #22) > At install-time dsymutil is run and the relevant xxx.dSYM is installed along > with the objects, where required. s/objects/exes/

[Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin

2010-12-02 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 --- Comment #22 from Iain Sandoe 2010-12-02 10:10:06 UTC --- (In reply to comment #21) > On Thu, 2 Dec 2010, iains at gcc dot gnu.org wrote: > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 > > > > --- Comment #20 from Iain Sandoe 2010-

[Bug tree-optimization/46763] New: gcc 4.5: missed optimization: copy global to local, prefetch

2010-12-02 Thread edwintorok at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46763 Summary: gcc 4.5: missed optimization: copy global to local, prefetch Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug debug/46724] [4.6 Regression] Wrong debug info: Invalid variable location

2010-12-02 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46724 --- Comment #2 from Andreas Krebbel 2010-12-02 09:51:17 UTC --- Marked as 4.6 regression. The behavior of 4.5.2 isn't helpful either but it doesn't return a wrong value as with 4.6.

[Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin

2010-12-02 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 --- Comment #21 from rguenther at suse dot de 2010-12-02 09:50:48 UTC --- On Thu, 2 Dec 2010, iains at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 > > --- Comment #20 from Iain Sandoe 2010-12-02 > 09:09:49 UTC -

[Bug fortran/46752] OpenMP - Seg fault for unallocated allocatable array in firstprivate clause

2010-12-02 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46752 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/46758] [4.5/4.6 Regression] -fgraphite-identity produces wrong code when using 64bit constants

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46758 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.5.2

[Bug target/35258] two memcpy calls merged incorrectly with -O1

2010-12-02 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35258 Andreas Krebbel changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2010-12-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #15 from Richard Guenther 2010-12-02 09:41:58 UTC --- (In reply to comment #10) > I am just trying to get Mozilla building with GNU ld instead of gold. First > problem is that Mozilla links some of libraries as: > > /abuild/jh/trunk

[Bug c/46762] New: gcc crosscompiled for arm optimises away volatile struct member access when -Os

2010-12-02 Thread domen at cba dot si
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46762 Summary: gcc crosscompiled for arm optimises away volatile struct member access when -Os Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: major Priority:

[Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #8 from Jan Hubicka 2010-12-02 09:22:38 UTC --- Hi, you can still test bootstrap with simply commenting out that sorry. It should give, sort-of, sane results. I will implement counter rescaling once I get some time for it - it is not

Re: [Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread Jan Hubicka
Hi, you can still test bootstrap with simply commenting out that sorry. It should give, sort-of, sane results. I will implement counter rescaling once I get some time for it - it is not too hard. Also not too many setups actually train library built into multiple binaries, so it is not that cri

[Bug debug/46749] gcc.dg/debug/pr41893-1.c -gdwarf-2 testsuite failures on darwin

2010-12-02 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46749 --- Comment #20 from Iain Sandoe 2010-12-02 09:09:49 UTC --- (In reply to comment #19) > On Wed, 1 Dec 2010, iains at gcc dot gnu.org wrote: > > yeah - it's on my TODO (pr43751). > > FWIW, some time ago, I did enquire about the difficulty of add

[Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 Dave Korn changed: What|Removed |Added Depends on||42690 AssignedTo|davek at gcc dot gnu

[Bug middle-end/46679] fold_binary changes types in divisionm breaking configure -enable-checking

2010-12-02 Thread jay.krell at cornell dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46679 Jay changed: What|Removed |Added Version|4.5.1 |4.6.0 --- Comment #1 from Jay 2010-12-02 09:08:49

[Bug tree-optimization/46723] [4.5/4.6 Regression] internal compiler error: in get_initial_def_for_induction, at tree-vect-loop.c:2431

2010-12-02 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723 --- Comment #9 from rguenther at suse dot de 2010-12-02 09:03:35 UTC --- On Thu, 2 Dec 2010, irar at il dot ibm.com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46723 > > Ira Rosen changed: > >What|Removed

[Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #6 from Jan Hubicka 2010-12-02 09:00:51 UTC --- Hi, at one point I tried profiledbootstrap and problem is that we can not merge multiple LTO files that has been profiled different amount of times. This happens during our build becaus

  1   2   >