[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #11 from marcus at jet dot franken.de --- Created attachment 35984 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35984&action=edit 707.c delta reduced testcase. gcc -O2 -fPIC -c 707.c

[Bug middle-end/66872] fold a & ((1 << b) - 1) to a & ~(-1 << b)

2015-07-14 Thread bonzini at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66872 --- Comment #2 from Paolo Bonzini --- > left shift of negative value is undefined behavior in C It's not in any of GCC's intermediate representations, though.

[Bug tree-optimization/66873] fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 --- Comment #6 from vries at gcc dot gnu.org --- (In reply to kargl from comment #5) > Does the loop ordering matter? Fortran is a column major language, > so your nested loops are backwards. One would normally write. > > do jj = 0, n - 1 >

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgcc/66874] RFE: x86_64_fallback_frame_state more robust

2015-07-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66874 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/66850] Adding a forward declaration of a template containing a template template parm causes ICE on valid code

2015-07-14 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66850 --- Comment #5 from Patrick Palka --- Fixed.

[Bug c++/66850] Adding a forward declaration of a template containing a template template parm causes ICE on valid code

2015-07-14 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66850 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/66872] fold a & ((1 << b) - 1) to a & ~(-1 << b)

2015-07-14 Thread jamrial at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66872 James Almer changed: What|Removed |Added CC||jamrial at gmail dot com --- Comment #1 fr

[Bug c++/66850] Adding a forward declaration of a template containing a template template parm causes ICE on valid code

2015-07-14 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66850 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Wed Jul 15 00:01:21 2015 New Revision: 225801 URL: https://gcc.gnu.org/viewcvs?rev=225801&root=gcc&view=rev Log: Fix PR c++/66850 gcc/cp/ChangeLog: PR c++/66850 * pt.c

[Bug libgcc/66874] New: RFE: x86_64_fallback_frame_state more robust

2015-07-14 Thread jreiser at bitwagon dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66874 Bug ID: 66874 Summary: RFE: x86_64_fallback_frame_state more robust Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libg

[Bug tree-optimization/66873] fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug tree-optimization/66873] fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 --- Comment #4 from vries at gcc dot gnu.org --- Created attachment 35983 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35983&action=edit Tentative patch Using this tentative patch, we use graphite analysis (if available) by default for pa

[Bug tree-optimization/66873] fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 --- Comment #3 from vries at gcc dot gnu.org --- The fortran example succeeds when floop-parallelize-all is used. Even though the access function in graphite seems the same: ... Access function 0: {{0, +, 1}_3, +, 500}_4 ...

[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #10 from marcus at jet dot franken.de --- Created attachment 35982 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35982&action=edit sec.s.bad bad assembly. %rsi not restored with formatW

[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #9 from marcus at jet dot franken.de --- Created attachment 35981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35981&action=edit sec.s.good good assembly (with TRACE)

[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #8 from marcus at jet dot franken.de --- FWIW, it seems it is thinking that %rsi stays alive over sprintfW calls. leaqformatW.23952(%rip), %rsi #, movzbl (%r14), %edx# MEM[(const struct SID *)pSid_9(D)].

[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #7 from marcus at jet dot franken.de --- (can continue to work on this tomorrow. good night)

[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #6 from marcus at jet dot franken.de --- Created attachment 35980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35980&action=edit foo.patch the comment out TRACE() makes the function RtlConvertSidToUnicodeString build correctly

[Bug tree-optimization/66873] fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 --- Comment #2 from vries at gcc dot gnu.org --- Another obvious difference is that the fortran 2-dimensional array access is rewritten into a single dimension array access: ... : # ii_7 = PHI <0(2), ii_16(7)> pretmp_52 = (integer(kind=8)) i

[Bug rtl-optimization/66865] [6 Regression] wine64 segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread austinenglish at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 austinenglish at gmail dot com changed: What|Removed |Added Summary|[6 Regression] wine |[6 Regression] wine64

[Bug rtl-optimization/66865] [6 Regression] wine segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #4 from kugan at gcc dot gnu.org --- Ok, I downloaded wine-1.7.47.tar.bz2 and built it with trunk gcc. What do I have to do to reproduce this please?

[Bug tree-optimization/66873] fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||missed-optimization --- Commen

[Bug tree-optimization/66873] New: fortran variant of outer-1.c not parallelized by autopar

2015-07-14 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66873 Bug ID: 66873 Summary: fortran variant of outer-1.c not parallelized by autopar Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Pr

[Bug c++/65071] ICE on valid, sizeof...() of template template parameter pack in return type

2015-07-14 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65071 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/65071] ICE on valid, sizeof...() of template template parameter pack in return type

2015-07-14 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65071 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Jul 14 22:36:50 2015 New Revision: 225793 URL: https://gcc.gnu.org/viewcvs?rev=225793&root=gcc&view=rev Log: /cp 2015-07-14 Andrea Azzarone PR c++/65071

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 --- Comment #6 from Andreas Schwab --- > (past a few statements) Huh? @@ -158,10 +158,6 @@ go_langhook_init_options_struct (struct gcc_options *opts) @@ -295,6 +291,11 @@ go_langhook_post_options (const char **pfilename

[Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu

2015-07-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66626 --- Comment #20 from H.J. Lu --- Testcase in comment #1 still fails with r225789.

[Bug rtl-optimization/66865] [6 Regression] wine segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread marcus at jet dot franken.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #3 from marcus at jet dot franken.de --- dlls/ntdll/sec.c, and probably RtlConvertSidToUnicodeString is miscompiled... looking further.

[Bug fortran/66175] ICE in gfc_free_namespace with unbalanced BLOCKs

2015-07-14 Thread t56xjcu6dh at snkmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66175 Louis Krupp changed: What|Removed |Added CC||t56xjcu6dh at snkmail dot com --- Comment

[Bug fortran/66864] floor function error

2015-07-14 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66864 --- Comment #4 from Steve Kargl --- On Tue, Jul 14, 2015 at 12:31:11PM -0700, Steve Kargl wrote: > On Tue, Jul 14, 2015 at 07:02:32PM +, sgk at troutmask dot > apl.washington.edu wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66864

[Bug libgcc/66854] libgcc2.c:1846:9: internal compiler error: Segmentation fault

2015-07-14 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66854 --- Comment #3 from Michael Meissner --- Created attachment 35978 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35978&action=edit Proposed patch to fix the problem I believe this patch fixes the problem. I was able to build libgcc with t

[Bug c++/65091] decltype(~arg) fails for template functions

2015-07-14 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65091 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug rtl-optimization/66626] [4.9/5/6 Regression] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3 or -miamcu

2015-07-14 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66626 --- Comment #19 from Vladimir Makarov --- Author: vmakarov Date: Tue Jul 14 20:54:00 2015 New Revision: 225789 URL: https://gcc.gnu.org/viewcvs?rev=225789&root=gcc&view=rev Log: 2015-07-14 Vladimir Makarov PR rtl-optimization/66626

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread boger at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 --- Comment #5 from boger at us dot ibm.com --- (In reply to Andreas Schwab from comment #4) > > past a few statements > > Huh?? Here is your patch diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c index ce4dd9b..d952e0f 100644 --- a/gcc/go/go-l

[Bug libfortran/66861] [5/6 Regression] Segmentation fault in gcc/testsuite/gfortran.dg/streamio_5.f90

2015-07-14 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66861 --- Comment #7 from Janne Blomqvist --- Fixed on trunk. I'm not sure if the milestone thing implies an Ok to commit to the gcc-5 branch, as we're already on 5.2 rc2, I'll ask explicitly for an Ok.

[Bug libfortran/66861] [5/6 Regression] Segmentation fault in gcc/testsuite/gfortran.dg/streamio_5.f90

2015-07-14 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66861 --- Comment #6 from Janne Blomqvist --- Author: jb Date: Tue Jul 14 20:26:06 2015 New Revision: 225788 URL: https://gcc.gnu.org/viewcvs?rev=225788&root=gcc&view=rev Log: PR 66861 Fix null pointer crash on mingw. 2015-07-14 Janne Blomqvist

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 --- Comment #4 from Andreas Schwab --- > past a few statements Huh??

[Bug fortran/66864] floor function error

2015-07-14 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66864 --- Comment #3 from Steve Kargl --- On Tue, Jul 14, 2015 at 07:02:32PM +, sgk at troutmask dot apl.washington.edu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66864 > > --- Comment #2 from Steve Kargl --- > On Tue, Jul 14, 2015 at

[Bug fortran/66864] floor function error

2015-07-14 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66864 --- Comment #2 from Steve Kargl --- On Tue, Jul 14, 2015 at 05:03:55PM +, kargl at gcc dot gnu.org wrote: > > --- Comment #1 from kargl at gcc dot gnu.org --- > It seems constant folding in simplify.c may be broken. Here's > a testcase suit

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 --- Comment #3 from Ian Lance Taylor --- > In gcc.c there is STACK_SPLIT_SPEC which sets --wrap=pthread_create in the > LINK_COMMAND_SPEC if -fsplit-stack is set. Is there a reason there are 2 > different split stack dependent link options are

[Bug middle-end/66872] New: fold a & ((1 << b) - 1) to a & ~(-1 << b)

2015-07-14 Thread bonzini at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66872 Bug ID: 66872 Summary: fold a & ((1 << b) - 1) to a & ~(-1 << b) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-en

[Bug preprocessor/66871] .incbin in .S files does not appear in automatically generated dependencies

2015-07-14 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66871 --- Comment #2 from David Woodhouse --- It would still be extremely useful for it to emit dependencies on those files which are actually included (after preprocessing). Otherwise we end up screwing around with preprocessing it and then looking f

[Bug fortran/66864] floor function error

2015-07-14 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66864 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug preprocessor/66871] .incbin in .S files does not appear in automatically generated dependencies

2015-07-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66871 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug preprocessor/66871] New: .incbin in .S files does not appear in automatically generated dependencies

2015-07-14 Thread dwmw2 at infradead dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66871 Bug ID: 66871 Summary: .incbin in .S files does not appear in automatically generated dependencies Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: nor

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread boger at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 --- Comment #2 from boger at us dot ibm.com --- (In reply to Ian Lance Taylor from comment #1) > The various issues in this bug are in different parts of the code base. The > bug is assigned to me, but, to be clear, I have no plans to work on any

[Bug libgcc/66854] libgcc2.c:1846:9: internal compiler error: Segmentation fault

2015-07-14 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66854 Michael Meissner changed: What|Removed |Added CC||meissner at gcc dot gnu.org --- Comme

[Bug middle-end/18355] [4.0 regression] cross toolchains don't build libstdc++: m32r-elf v850-elf

2015-07-14 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18355 --- Comment #2 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Jul 14 15:03:11 2015 New Revision: 225776 URL: https://gcc.gnu.org/viewcvs?rev=225776&root=gcc&view=rev Log: Sync toplevel files binutils-gdb Sync with binutils-gdb:

[Bug go/66870] split stack issues on ppc64le and ppc64

2015-07-14 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 --- Comment #1 from Ian Lance Taylor --- The various issues in this bug are in different parts of the code base. The bug is assigned to me, but, to be clear, I have no plans to work on anything in the PPC-specific code. For x86, TARGET_CAN_SPLI

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-14 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #13 from Jason Merrill --- (In reply to Andrew Sutton from comment #12) > I don't think that's a good idea. It means the template-id would be > characterized as an atomic constraint for purposes of partial > ordering. You lose the abi

[Bug go/66870] New: split stack issues on ppc64le and ppc64

2015-07-14 Thread boger at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66870 Bug ID: 66870 Summary: split stack issues on ppc64le and ppc64 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go

[Bug c/66869] New: [6 regression] -Wunused-function no longer warns for static declarations without definition

2015-07-14 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66869 Bug ID: 66869 Summary: [6 regression] -Wunused-function no longer warns for static declarations without definition Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug target/66840] [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu

2015-07-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66840 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/66840] [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu

2015-07-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66840 --- Comment #5 from Matthias Klose --- Author: doko Date: Tue Jul 14 13:50:01 2015 New Revision: 225772 URL: https://gcc.gnu.org/viewcvs?rev=225772&root=gcc&view=rev Log: 2015-07-14 Matthias Klose PR target/66840 * config/rs6

[Bug target/66840] [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu

2015-07-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66840 --- Comment #4 from Matthias Klose --- Author: doko Date: Tue Jul 14 13:47:21 2015 New Revision: 225771 URL: https://gcc.gnu.org/viewcvs?rev=225771&root=gcc&view=rev Log: 2015-07-14 Matthias Klose PR target/66840 * config/rs6

[Bug c++/66834] [concepts] concept parameter kind mismatch causes hard error

2015-07-14 Thread andrew.n.sutton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66834 --- Comment #12 from Andrew Sutton --- > So it seems that applying the DR 1430 tentative resolution to concepts > severely > limits the usability of variadic concepts, and we should reconsider that, so > that instead we delay normalization of te

[Bug tree-optimization/66726] missed optimization, factor conversion out of COND_EXPR

2015-07-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66726 --- Comment #12 from kugan at gcc dot gnu.org --- Created attachment 35976 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35976&action=edit patch for tree-ssa-reassoc Here is a prototype patch (to fix comment 9) that makes tree-ssa-reassoc

[Bug libgcc/66854] libgcc2.c:1846:9: internal compiler error: Segmentation fault

2015-07-14 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66854 Sebastian Huber changed: What|Removed |Added CC||meissner at linux dot vnet.ibm.com --

[Bug tree-optimization/66868] [5/6 Regression] wrong code generated with -O3 (dead code removal?)

2015-07-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868 --- Comment #2 from Matthias Klose --- the testsuite passes with -fsanitize=undefined (no additional output) and both -fsanitize=undefined -fsanitize-undefined-trap-on-error doesn't abort either.

[Bug tree-optimization/66868] [5/6 Regression] wrong code generated with -O3 (dead code removal?)

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.2

[Bug target/66866] [miscompile] incorrect load address on manual vector shuffle

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866 --- Comment #5 from Richard Biener --- "Safe" fix: Index: gcc/config/i386/i386.c === --- gcc/config/i386/i386.c (revision 225768) +++ gcc/config/i386/i386.c (working copy)

[Bug target/66866] [miscompile] incorrect load address on manual vector shuffle

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866 --- Comment #4 from Richard Biener --- bool ix86_expand_pinsr (rtx *operands) { ... if (GET_CODE (src) == SUBREG) src = SUBREG_REG (src); and lost SUBREG_OFFSET.

[Bug target/66866] [miscompile] incorrect load address on manual vector shuffle

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target|

[Bug fortran/52846] [F2008] Support submodules

2015-07-14 Thread sfilippone at uniroma2 dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846 --- Comment #9 from Salvatore Filippone --- (In reply to Salvatore Filippone from comment #8) > (In reply to Paul Thomas from comment #7) > Salvatore Spoke too quickly: I get this linker error ppde3d.f90:(.text+0x9d0): undefined reference to `_

[Bug libfortran/66861] [5/6 Regression] Segmentation fault in gcc/testsuite/gfortran.dg/streamio_5.f90

2015-07-14 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66861 --- Comment #5 from Rainer Emrich --- (In reply to Janne Blomqvist from comment #3) > Or rather, also fixing another similar potential issue, you might instead > want to test this: > > diff --git a/libgfortran/io/unix.c b/libgfortran/io/unix.c >

[Bug tree-optimization/66868] [5/6 Regression] wrong code generated with -O3 (dead code removal?)

2015-07-14 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug target/66866] [miscompile] incorrect load address on manual vector shuffle

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866 --- Comment #2 from Richard Biener --- More reduced, fails at -O1: extern "C" void abort (void); typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__)); typedef short A __attribute__((__may_alias__)); __m128i __attribute

[Bug target/66866] [miscompile] incorrect load address on manual vector shuffle

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/66868] New: [5/6 Regression] wrong code generated with -O3 (dead code removal?)

2015-07-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868 Bug ID: 66868 Summary: [5/6 Regression] wrong code generated with -O3 (dead code removal?) Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/66863] [6 Regression] wrong code at -Os and above on x86_64-linux-gnu

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66863 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue Jul 14 11:39:14 2015 New Revision: 225768 URL: https://gcc.gnu.org/viewcvs?rev=225768&root=gcc&view=rev Log: 2015-07-14 Richard Biener PR tree-optimization/66863

[Bug tree-optimization/66863] [6 Regression] wrong code at -Os and above on x86_64-linux-gnu

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66863 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/66867] New: Suboptimal code generation for C11 atomic_compare_exchange_strong_explicit()

2015-07-14 Thread sebastian.hu...@embedded-brains.de
ize f, .-f .ident "GCC: (GNU) 6.0.0 20150714 (experimental)"

[Bug target/66866] New: [miscompile] incorrect load address on manual vector shuffle

2015-07-14 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66866 Bug ID: 66866 Summary: [miscompile] incorrect load address on manual vector shuffle Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2015-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #8 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #7) > The reduced testcase fails on all targets ... with any -std option, at least as far back as GCC 4.3.6

[Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2015-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 Jonathan Wakely changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #7 from Jonathan Wakel

[Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2015-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #6 from Jonathan Wakely --- The difference is that we include ::remove in C++11 and later. Reduced: namespace std { template _FIter remove(_FIter, _FIter, const _Tp&); } extern "C" { extern int remove (const char *_

[Bug target/66840] [5/6 Regression] plugins fail to build on powerpc64le-linux-gnu

2015-07-14 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66840 --- Comment #3 from Matthias Klose --- Created attachment 35974 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35974&action=edit patch

[Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2015-07-14 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #5 from Jonathan Wakely --- I don't see any problem in libstdc++, the function is right there in the preprocessed output starting at line 34472 # 891 "/tmp/20150703/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/stl_algo.h" 3 tem

[Bug other/61321] demangler crash on casts in template parameters

2015-07-14 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61321 --- Comment #8 from Pedro Alves --- The patch was meanwhile approved: https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01247.html I'm afraid I won't have time to get back to this for at least a few weeks. If someone else could push it, I'd apprec

[Bug target/58446] Support for musl libc

2015-07-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org --- Comme

[Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2015-07-14 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #4 from Markus Trippelsdorf --- This is an old issue. It also fails with gcc-4.9 and std=c++11.

[Bug libstdc++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2015-07-14 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 Markus Trippelsdorf changed: What|Removed |Added Target|powerpc-ibm-aix*|powerpc-ibm-aix*,

[Bug c++/65186] internal compiler error: in tsubst, at cp/pt.c:11738

2015-07-14 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65186 Paolo Carlini changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/52991] attribute packed broken on mingw32?

2015-07-14 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991 Pierre Ossman changed: What|Removed |Added CC||ossman at cendio dot se --- Comment #19

[Bug target/58446] Support for musl libc

2015-07-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58446 nsz at gcc dot gnu.org changed: What|Removed |Added CC||lu_zero at gentoo dot org --- Co

[Bug bootstrap/55807] Support musl libc

2015-07-14 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55807 nsz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug tree-optimization/66862] OpenMP SIMD does not work (use SIMD instructions) on conditional code

2015-07-14 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66862 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug fortran/66860] [5/6 Regression] FAIL: gfortran.dg/graphite/pr42393.f90 -O (internal compiler error)

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66860 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.2

[Bug libfortran/66861] [5/6 Regression] Segmentation fault in gcc/testsuite/gfortran.dg/streamio_5.f90

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66861 Richard Biener changed: What|Removed |Added Target Milestone|--- |5.2

[Bug tree-optimization/66862] OpenMP SIMD does not work (use SIMD instructions) on conditional code

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66862 --- Comment #3 from Richard Biener --- store data-races

[Bug rtl-optimization/66865] [6 Regression] wine segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 Richard Biener changed: What|Removed |Added Component|c |rtl-optimization Version|unk

[Bug tree-optimization/66863] [6 Regression] wrong code at -Os and above on x86_64-linux-gnu

2015-07-14 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66863 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/66863] [6 Regression] wrong code at -Os and above on x86_64-linux-gnu

2015-07-14 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66863 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/64327] ../../gcc/gcc/rtlanal.c:4881:48: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'

2015-07-14 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64327 --- Comment #4 from Vittorio Zecca --- For your convenience I repeat here the reproducer: /* from gcc file fixopts.c */ /* must be compiled with -O2 */ /*gcc-5.1.0/gcc/rtlanal.c:4911:48: runtime error: shift exponent 4294967295 is too large for 6

[Bug c/66865] wine segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 kugan at gcc dot gnu.org changed: What|Removed |Added CC||kugan at gcc dot gnu.org --- C

[Bug c/66865] wine segfaults from gcc in trunk (r225757) (regression)

2015-07-14 Thread austinenglish at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 --- Comment #1 from austinenglish at gmail dot com --- Created attachment 35973 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35973&action=edit revert patch These two patches get wine working in trunk.

[Bug c/66865] New: wine segfaults from gcc in trunk (r225757)

2015-07-14 Thread austinenglish at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66865 Bug ID: 66865 Summary: wine segfaults from gcc in trunk (r225757) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c