[Bug c++/46188] -fipa-cp removes destructor call

2010-10-26 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 --- Comment #3 from Jens Maurer 2010-10-27 06:14:31 UTC --- Created attachment 22170 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22170 improved testcase The previous testcase had the problem that the compiler could legitimately assume th

[Bug middle-end/46195] r165965 regresses i386 darwin

2010-10-26 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46195 --- Comment #5 from Jack Howarth 2010-10-27 03:22:07 UTC --- The diff between the assembly of gcc.c-torture/compile/20001212-1.c -O0 at -m32 generated by r165964 and r165965 is... --- 20001212-1.s.r1659642010-10-26 23:16:07.0 -0400

[Bug middle-end/46195] r165965 regresses i386 darwin

2010-10-26 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46195 --- Comment #4 from Jack Howarth 2010-10-27 03:20:34 UTC --- Created attachment 22169 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22169 assembly for gcc.c-torture/compile/20001212-1.c -O0 -m32 at r165965

[Bug middle-end/46195] r165965 regresses i386 darwin

2010-10-26 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46195 --- Comment #3 from Jack Howarth 2010-10-27 03:19:54 UTC --- Created attachment 22168 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22168 assembly for gcc.c-torture/compile/20001212-1.c -O0 -m32 at r165964 Generated with /Users/howarth/da

[Bug target/46171] [4.6 Regression] ICE: in gen_rtx_SUBREG, at emit-rtl.c:774 with -fno-tree-dce -g

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46171 --- Comment #3 from Jakub Jelinek 2010-10-27 02:51:32 UTC --- So we have RTL like: (insn 6 3 7 2 (set (reg:SF 21 xmm0) (reg/v:SF 61 [ f ])) pr46171.c:7 110 {*movsf_internal} (nil)) (call_insn 7 6 17 2 (set (reg:SF 21 xmm0) (

[Bug target/46191] Non-absolute names in libgcc_s.so

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46191 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f

[Bug tree-optimization/46177] [4.5/4.6 Regression] ICE: in prop_phis, at tree-loop-distribution.c:327 with -fno-tree-copy-prop -ftree-loop-distribution

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46177 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug tree-optimization/46183] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:396 with -O -fno-dse -fgcse -ftree-pre

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46183 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug middle-end/46185] [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs with -fno-ipa-cp

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46185 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug middle-end/46195] r165965 regresses i386 darwin

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

[Bug middle-end/46195] r165965 regresses i386 darwin

2010-10-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46195 H.J. Lu changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Last reconfirmed|2010-10-27 01:42

[Bug middle-end/46195] r165965 regresses i386 darwin

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

[Bug middle-end/46195] New: r165965 regresses i386 darwin

2010-10-26 Thread howarth at nitro dot med.uc.edu
000/gcc-4.6-20101026/gcc/testsuite/gcc.c-torture/compile/2818-1.c (timeout = 300) /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101026/gcc/testsuite/gcc.c-torture/compile/2818-1.c: In function 'foo': /sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20101026/gcc/testsuite/gcc.c-torture/com

[Bug target/46179] Codegen/TLS: invalid assembler syntax

2010-10-26 Thread fthain at telegraphics dot com.au
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46179 --- Comment #3 from Finn Thain 2010-10-27 00:47:23 UTC --- > Just to check that this is not a lingering issue from backporting, do you have > the following comment in gcc/config/m68k/m68k.c ? Yes, I checked that much. After that, I checked that

[Bug tree-optimization/46194] New: [4.5/4.6 Regression] gcc.dg/graphite/block-0.c FAILs with -ftree-parallelize-loops

2010-10-26 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46194 Summary: [4.5/4.6 Regression] gcc.dg/graphite/block-0.c FAILs with -ftree-parallelize-loops Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priori

[Bug target/46044] ICE in get_attr_first_insn on ia64 Itanium

2010-10-26 Thread sje at cup dot hp.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46044 --- Comment #3 from Steve Ellcey 2010-10-26 23:46:04 UTC --- This may be related to PR 43603.

[Bug target/46044] ICE in get_attr_first_insn on ia64 Itanium

2010-10-26 Thread sje at cup dot hp.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46044 Steve Ellcey changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/46193] New: ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops

2010-10-26 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46193 Summary: ICE: in omp_reduction_init, at omp-low.c:2212 with -ftree-parallelize-loops Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ada/46192] renaming of a volatile variable generates wrong code

2010-10-26 Thread rolf.ebert.gcc at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46192 --- Comment #1 from Rolf Ebert 2010-10-26 22:40:50 UTC --- It might be related to PR37599

[Bug ada/46192] New: renaming of a volatile variable generates wrong code

2010-10-26 Thread rolf.ebert.gcc at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46192 Summary: renaming of a volatile variable generates wrong code Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo:

[Bug target/46191] New: Non-absolute names in libgcc_s.so

2010-10-26 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46191 Summary: Non-absolute names in libgcc_s.so Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassig...@gcc.

[Bug target/46179] Codegen/TLS: invalid assembler syntax

2010-10-26 Thread mkuvyrkov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46179 --- Comment #2 from Maxim Kuvyrkov 2010-10-26 22:14:02 UTC --- Just to check that this is not a lingering issue from backporting, do you have the following comment in gcc/config/m68k/m68k.c ? I fixed a very similar issue before checking the fina

[Bug tree-optimization/46190] New: ICE in vect_enhance_data_refs_alignment when building fma3d

2010-10-26 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46190 Summary: ICE in vect_enhance_data_refs_alignment when building fma3d Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-26 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 Jens Maurer changed: What|Removed |Added Attachment #22164|0 |1 is obsolete|

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #21 from Dominique d'Humieres 2010-10-26 21:06:48 UTC --- > I guess you mean LLVM instead of clang, Yes, if you prefer. I was referring to the command I used. > F (6, a * a * a * a * a + 2 * a * a * a + 5 * a) you probably mean F

[Bug target/46179] Codegen/TLS: invalid assembler syntax

2010-10-26 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46179 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/46152] ALLOCATE with type-spec fails for intrinsic types

2010-10-26 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46152 --- Comment #14 from Steve Kargl 2010-10-26 21:01:57 UTC --- On Tue, Oct 26, 2010 at 07:43:49PM +, burnus at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46152 > > --- Comment #13 from Tobias Burnus 2010-10-26 > 19:

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #20 from Jakub Jelinek 2010-10-26 21:00:11 UTC --- If I translate the assembly back to C, it seems it is performing part of the arithmetics in TImode: unsigned long f (unsigned long a, unsigned long b) { if (a >= b) return 0;

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #19 from joseph at codesourcery dot com 2010-10-26 20:29:56 UTC --- On Tue, 26 Oct 2010, dominiq at lps dot ens.fr wrote: > --- Comment #13 from Dominique d'Humieres > 2010-10-26 16:36:05 UTC --- > > This multiplication transformati

[Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize

2010-10-26 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46167 Ira Rosen changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug ada/46189] Oudated item in GNAT documentation

2010-10-26 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46189 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot |

[Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize

2010-10-26 Thread irar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46167 --- Comment #3 from irar at gcc dot gnu.org 2010-10-26 20:16:13 UTC --- Author: irar Date: Tue Oct 26 20:15:52 2010 New Revision: 165985 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165985 Log: PR tree-optimization/46167 * tree-v

[Bug lto/45736] [4.6 Regression] ICE: in cgraph_remove_unreachable_nodes, at ipa.c:245 with -flto and attribute((constructor))

2010-10-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45736 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug pch/45979] precompiled headers breakage on 2.6.36-rc Linux/ARM kernels

2010-10-26 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45979 --- Comment #7 from Mikael Pettersson 2010-10-26 19:45:30 UTC --- The patch tested ok and has now been submitted: http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02252.html

[Bug fortran/46152] ALLOCATE with type-spec fails for intrinsic types

2010-10-26 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46152 --- Comment #13 from Tobias Burnus 2010-10-26 19:43:43 UTC --- (In reply to comment #12) > New patch attached. This passed regression testing. The patch is OK from my side. I assume there is still an error printed but error but the extra error

[Bug fortran/46010] I/O: Namelist-reading bug

2010-10-26 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46010 --- Comment #13 from Jerry DeLisle 2010-10-26 19:37:39 UTC --- Fixed on trunk. I will backport to 4.4 and 4.5 in the next few weeks since this is a wrong code problem.

[Bug fortran/46010] I/O: Namelist-reading bug

2010-10-26 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46010 --- Comment #12 from Jerry DeLisle 2010-10-26 19:34:29 UTC --- Author: jvdelisle Date: Tue Oct 26 19:34:21 2010 New Revision: 165981 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165981 Log: 2010-10-26 Jerry DeLisle PR libgfortra

[Bug target/46187] Invalid instruction suffix generated by %z

2010-10-26 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46187 --- Comment #2 from Uros Bizjak 2010-10-26 19:28:34 UTC --- (In reply to comment #0) > The code is supposed to emit the correct instruction suffix for SUB using %z > when n is an immediate value that does not give the operand size away. Is > th

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #18 from Jakub Jelinek 2010-10-26 19:11:59 UTC --- I guess you mean LLVM instead of clang, I'm pretty sure the FE doesn't perform this optimization. Anyway, given: #define F(n, exp) \ unsigned long

[Bug middle-end/46185] [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs with -fno-ipa-cp

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46185 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-26 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 --- Comment #1 from Andrew Pinski 2010-10-26 19:08:37 UTC --- I think this has some undefined code in it. The dynamic type of this->data changes a few times and I don't know the current type when delete[] is called.

[Bug fortran/46010] I/O: Namelist-reading bug

2010-10-26 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46010 --- Comment #11 from Jerry DeLisle 2010-10-26 19:05:14 UTC --- Author: jvdelisle Date: Tue Oct 26 19:05:08 2010 New Revision: 165979 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165979 Log: 2010-10-26 Jerry DeLisle PR libgfortra

[Bug fortran/46174] [OOP] ALLOCATE with SOURCE: Deep copy missing

2010-10-26 Thread domob at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46174 --- Comment #4 from Daniel Kraft 2010-10-26 19:00:34 UTC --- (In reply to comment #3) > Possible implementation scheme: vtab$t contains besides the normal type-bound > procedures and init/size/hash also an two function points: $copy and $free, >

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #17 from Dominique d'Humieres 2010-10-26 18:53:49 UTC --- Note that clang seems to know the general result: \sum_{i=a}^b p(i)=P(b), where p(i) is a given polynomial of degree n and P(x) a polynomial of degree n+1 such that P(x)=P(x-1)

[Bug ada/46189] Oudated item in GNAT documentation

2010-10-26 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46189 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug ada/46189] New: Oudated item in GNAT documentation

2010-10-26 Thread yannick_duchene at yahoo dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46189 Summary: Oudated item in GNAT documentation Product: gcc Version: 4.5.0 URL: http://www.adacore.com/wp-content/files/auto_update/gn at-unw-docs/html/gnat_ugn_24.html St

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #16 from Jakub Jelinek 2010-10-26 18:43:40 UTC --- chrec_apply is called with {a_4(D), +, {a_4(D) + 1, +, 1}_1}_1 chrec and ~a_4(D) + b_5(D) in x. I wonder if this can be fixed just by recognizing such special cases in chrec_apply (af

[Bug middle-end/46181] attribute for marking things as undefined use after a function call

2010-10-26 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46181 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/46185] [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs with -fno-ipa-cp

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

[Bug middle-end/46120] [4.6 regression] g++.dg/ipa/ivinline-?.C

2010-10-26 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46120 --- Comment #4 from Martin Jambor 2010-10-26 18:14:42 UTC --- Yes, I know why this happens and actually have a prototype patch to fix it but it depends on another patch I need to get accepted first.

[Bug c/46155] Bug with generation of float.h header file on AIX

2010-10-26 Thread david.kirkby at onetel dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46155 --- Comment #12 from Dr. David Kirkby 2010-10-26 17:59:38 UTC --- (In reply to comment #11) > (In reply to comment #7) > > In your opinion, are IBM wrong to define fprnd_t in /usr/include/float.h? > > IBM's definition of fprnd_t in is within #i

[Bug fortran/42647] [F03] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-10-26 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42647 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug fortran/42647] [F03] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-10-26 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42647 --- Comment #12 from janus at gcc dot gnu.org 2010-10-26 17:38:51 UTC --- Author: janus Date: Tue Oct 26 17:38:42 2010 New Revision: 165973 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165973 Log: 2010-10-26 Janus Weil PR fortran/

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #15 from Dominique d'Humieres 2010-10-26 17:15:31 UTC --- > For sum += 2 or sum += b sccp handles this, so I wonder whether it couldn't > handle even the sum += a case. 2 and b are constants while a is not. For constants you have to

[Bug c++/46188] New: -fipa-cp removes destructor call

2010-10-26 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 Summary: -fipa-cp removes destructor call Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

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

[Bug lto/45736] [4.6 Regression] ICE: in cgraph_remove_unreachable_nodes, at ipa.c:245 with -flto and attribute((constructor))

2010-10-26 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45736 --- Comment #4 from Jan Hubicka 2010-10-26 16:40:33 UTC --- Author: hubicka Date: Tue Oct 26 16:40:16 2010 New Revision: 165972 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165972 Log: PR middle-end/45736 * cgraph.c (cgraph_set

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #13 from Dominique d'Humieres 2010-10-26 16:36:05 UTC --- > This multiplication transformation is incorrect if the loop wraps > (unsigned always wraps; never overflows). I think this is wrong: wrapping is nothing but a modulo 2^n o

[Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce

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

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread pinskia at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #12 from pinskia at gmail dot com 2010-10-26 15:56:20 UTC --- On Oct 26, 2010, at 7:30 AM, "j...@jak-linux.org" wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 > > --- Comment #1 from Julian Andres Klode > 2010-10-26 1

Re: [Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread Andrew Pinski
On Oct 26, 2010, at 7:30 AM, "j...@jak-linux.org" > wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #1 from Julian Andres Klode 2010-10-26 14:30:24 UTC --- Created attachment 22162 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22162 Clang's assember This multi

[Bug tree-optimization/46167] [4.5/4.6 Regression] ICE: SIGSEGV in flow_bb_inside_loop_p (cfgloop.c:776) with -O -ftree-vectorize

2010-10-26 Thread irar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46167 --- Comment #2 from irar at gcc dot gnu.org 2010-10-26 15:53:33 UTC --- Author: irar Date: Tue Oct 26 15:53:28 2010 New Revision: 165970 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165970 Log: PR tree-optimization/46167 * tree-v

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #11 from Paolo Carlini 2010-10-26 15:42:58 UTC --- Can we please stop talking about nano and giga numbers like kids? If an optimization like complete loop unrolling is involved of course very small or large numbers can be involved, do

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #10

[Bug middle-end/46120] [4.6 regression] g++.dg/ipa/ivinline-?.C

2010-10-26 Thread sje at cup dot hp.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46120 Steve Ellcey changed: What|Removed |Added CC||sje at cup dot hp.com --- Comment #3 from

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #9 from Jonathan Wakely 2010-10-26 15:28:51 UTC --- (In reply to comment #8) > > Since the optimization seems to be mostly there in -O3, it's just a matter of > enabling it in -O2. Or if you want all optimisations, it's just a matt

[Bug fortran/45827] mio_component_ref(): Component not found when mixing f90 and f03 in large projects

2010-10-26 Thread boschmann at tp1 dot physik.uni-siegen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827 --- Comment #30 from Hans-Werner Boschmann 2010-10-26 15:27:27 UTC --- I've realized today, that the sample code is actually invalid. If you look at lines 488 and 681 in arguments.f03, you'll see: subroutine argument_initialize(this,arg_list,shor

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread j...@jak-linux.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #8 from Julian Andres Klode 2010-10-26 15:25:56 UTC --- (In reply to comment #6) > You get this kind of speedup if the compiler knows that the result of the loop > is > > sum=(b*(b-1)-a*(a-1))/2 > > In which case the timing is meani

[Bug fortran/46166] optimization and/or removing an if(.false.) statement leads to bad results

2010-10-26 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46166 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug fortran/46166] optimization and/or removing an if(.false.) statement leads to bad results

2010-10-26 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46166 --- Comment #4 from Steve Kargl 2010-10-26 15:09:37 UTC --- Janus, See comment #2. The problem is tauc is used before it is initialized. This is a bogus bug report.

[Bug target/46187] Invalid instruction suffix generated by %z

2010-10-26 Thread us15 at os dot inf.tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46187 --- Comment #1 from Udo Steinberg 2010-10-26 15:03:01 UTC --- Bug #31768 is probably related.

[Bug tree-optimization/46183] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:396 with -O -fno-dse -fgcse -ftree-pre

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

[Bug target/46187] New: Invalid instruction suffix generated by %z

2010-10-26 Thread us15 at os dot inf.tu-dresden.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46187 Summary: Invalid instruction suffix generated by %z Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassi

[Bug fortran/46166] optimization and/or removing an if(.false.) statement leads to bad results

2010-10-26 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46166 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org --- Co

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread j...@jak-linux.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #7 from Julian Andres Klode 2010-10-26 15:00:37 UTC --- (In reply to comment #5) > (In reply to comment #4) > > GCC's output is significantly faster at -O3 or without the noinline > > attribute > > I just tested and at -O3, gcc-4.4

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #6 from Dominique d'Humieres 2010-10-26 14:59:18 UTC --- You get this kind of speedup if the compiler knows that the result of the loop is sum=(b*(b-1)-a*(a-1))/2 In which case the timing is meaningless (it is 0.000s on my laptop),

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread j...@jak-linux.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #5 from Julian Andres Klode 2010-10-26 14:53:24 UTC --- (In reply to comment #4) > GCC's output is significantly faster at -O3 or without the noinline attribute I just tested and at -O3, gcc-4.4 creates slow code and gcc-4.5 fast cod

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #4 from Jonathan Wakely 2010-10-26 14:47:12 UTC --- GCC's output is significantly faster at -O3 or without the noinline attribute

[Bug bootstrap/46018] [4.6 Regression] Bootstrap fails on i386-pc-solaris2.10

2010-10-26 Thread ahaas at airmail dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46018 --- Comment #11 from Art Haas 2010-10-26 14:40:04 UTC --- I ended up trying the version posted in a follow-up mail: http://gcc.gnu.org/ml/gcc-patches/2010-10/msg02065.html The bootstrap still failed. I've now got access to a i386-pc-solaris2.1

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread j...@jak-linux.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #3 from Julian Andres Klode 2010-10-26 14:32:27 UTC --- System information: Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-5' --with-bugurl=file:///usr/share/doc/gc

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot

[Bug c/46186] Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread j...@jak-linux.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 --- Comment #1 from Julian Andres Klode 2010-10-26 14:30:24 UTC --- Created attachment 22162 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22162 Clang's assember Attaching the assembler output from clang, it should help understand which op

[Bug libfortran/46182] Run time check for invalid use of unallocated allocatable variables

2010-10-26 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46182 Mikael Morin changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/46186] New: Clang creates code running 1600 times faster than gcc's

2010-10-26 Thread j...@jak-linux.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 Summary: Clang creates code running 1600 times faster than gcc's Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c

[Bug middle-end/46185] New: [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs with -fno-ipa-cp

2010-10-26 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46185 Summary: [4.6 Regression] gcc.dg/graphite/interchange-4.c FAILs with -fno-ipa-cp Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/46184] [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug tree-optimization/46149] [4.6 Regression] 26_numerics/valarray/27867.cc FAILs with -O2 -fno-tree-sra

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46149 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug target/46153] [4.5/4.6 Regression] ICE: in extract_insn, at recog.c:2110 (unrecognizable insn) with -ffloat-store and __builtin_ia32_movlhps

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

[Bug c/46157] internal compiler error: Segmentation fault

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46157 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/46160] [4.5/4.6 Regression] ICE with volatile structure and enum

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

[Bug libfortran/46182] Run time check for invalid use of unallocated allocatable variables

2010-10-26 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46182 --- Comment #1 from Dominique d'Humieres 2010-10-26 14:06:55 UTC --- Forwarded from http://gcc.gnu.org/ml/gcc-bugs/2010-10/msg02167.html > > It would be nice to have a run time check for such invalid use of > > unallocated allocatable variables (

[Bug tree-optimization/46165] [4.3/4.4/4.5/4.6 Regression] ICE: verify_flow_info failed when casting-out attribute noreturn with -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46165 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.3.6

[Bug tree-optimization/46168] [4.3/4.4/4.5/4.6 Regression] ICE: verify_ssa failed: definition in block 6 does not dominate use in block 5 with -ftree-loop-linear

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46168 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.3.6

[Bug tree-optimization/46172] [4.3/4.4/4.5/4.6 Regression] ICE: in expand_widen_pattern_expr, at optabs.c:522 with -ftree-vectorize -fno-tree-dce

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46172 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.3.6 Summary|[4.2/4.3/4.4/

[Bug target/44948] -msse/-mavx change ABI

2010-10-26 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44948 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug tree-optimization/46184] New: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce

2010-10-26 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46184 Summary: [4.6 Regression] ICE: SIGSEGV in vectorizable_reduction (tree-vect-loop.c:4067) with -O -ftree-vectorize -fno-tree-copy-prop -fno-tree-dce Product: gcc Version: 4.6.0

[Bug tree-optimization/46177] [4.5/4.6 Regression] ICE: in prop_phis, at tree-loop-distribution.c:327 with -fno-tree-copy-prop -ftree-loop-distribution

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46177 Richard Guenther changed: What|Removed |Added Status|NEW |ASSIGNED AssignedTo|unassigned

[Bug target/44948] -msse/-mavx change ABI

2010-10-26 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44948 --- Comment #22 from hjl at gcc dot gnu.org 2010-10-26 13:56:46 UTC --- Author: hjl Date: Tue Oct 26 13:56:42 2010 New Revision: 165965 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165965 Log: Properly align parameters on stack for x86.

[Bug tree-optimization/46183] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:396 with -O -fno-dse -fgcse -ftree-pre

2010-10-26 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46183 Richard Guenther changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug middle-end/45687] [4.6 Regression] possible wrong code bug

2010-10-26 Thread ian at airs dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45687 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED CC|

  1   2   >