[Bug tree-optimization/82102] [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

2017-09-05 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 Markus Trippelsdorf changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug fortran/82064] [7/8 Regression] [OOP] multiple incompatible definitions of extended derived type via module use

2017-09-05 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82064 --- Comment #4 from Paul Thomas --- (In reply to janus from comment #3) > It appears that the regression has been introduced by r241450, which was the > fix for PR 69834. Reverting it, in particular the changes to > resolve_select_type, makes the

[Bug driver/80545] option -Wstringop-overflow not recognized by Fortran

2017-09-05 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80545 --- Comment #4 from janus at gcc dot gnu.org --- (In reply to Martin Sebor from comment #3) > Patch posted for review: > https://gcc.gnu.org/ml/gcc-patches/2017-04/msg01544.html It seems this patch has been committed as part of r247401 (but unfor

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/82089] emit_cstore sign-extends BImode result for STORE_FLAG_VALUE == 1

2017-09-05 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82089 --- Comment #4 from Tom de Vries --- For gcn at -O0, I ran into the same problem. As it turns out, the fixed clause is not triggered for -O0, because the clause is guarded with: ... if (GET_MODE_SIZE (target_mode) > GET_MODE_SIZE (result_mode)

[Bug c/82100] gcc does not warn about code that is unreachable due to conflicting conditions [subset of reviving -Wunreachable-code]

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82100 --- Comment #3 from Richard Biener --- The FEs don't do static analysis that could detect this and it's incredibly hard to do this during optimization given we'd have to track all instances of code (think of inlining, jump threading duplicating b

[Bug c++/82101] Uninitialized variable detection failed with variables in for loop

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82101 Richard Biener changed: What|Removed |Added Keywords||diagnostic, |

[Bug tree-optimization/82102] [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Blocks|

[Bug tree-optimization/82032] [8 Regression] ICE in try_switch_expansion, at tree-switch-conversion.c:2063

2017-09-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82032 --- Comment #1 from Martin Liška --- Author: marxin Date: Tue Sep 5 08:12:27 2017 New Revision: 251690 URL: https://gcc.gnu.org/viewcvs?rev=251690&root=gcc&view=rev Log: Learn CFG cleanup to transform single case switches to gcond. 2017-09-05

[Bug tree-optimization/82060] [7 Regression] ICE in refs_may_alias_p_1 with devirtualization enabled

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82060 Bug 82060 depends on bug 82102, which changed state. Bug 82102 Summary: [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 What|Removed

[Bug tree-optimization/82102] [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/82102] [8 Regression] ICE: Segmentation fault in /home/arnd/git/gcc/gcc/tree-ssa-pre.c:4863

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82102 --- Comment #5 from Richard Biener --- Author: rguenth Date: Tue Sep 5 08:15:21 2017 New Revision: 251692 URL: https://gcc.gnu.org/viewcvs?rev=251692&root=gcc&view=rev Log: 2017-09-05 Richard Biener PR tree-optimization/82102

[Bug tree-optimization/82032] [8 Regression] ICE in try_switch_expansion, at tree-switch-conversion.c:2063

2017-09-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82032 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/64910] tree reassociation results in poor code

2017-09-05 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64910 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #5 from

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment #

[Bug tree-optimization/81913] [8 Regression] wrong code at -O1

2017-09-05 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81913 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug ada/62235] segmentation fault on Ada 2012 code

2017-09-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235 --- Comment #14 from Eric Botcazou --- Author: ebotcazou Date: Tue Sep 5 09:47:21 2017 New Revision: 251706 URL: https://gcc.gnu.org/viewcvs?rev=251706&root=gcc&view=rev Log: PR ada/62235 * gcc-interface/decl.c (gnat_to_gnu_enti

[Bug ada/62235] segmentation fault on Ada 2012 code

2017-09-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235 --- Comment #15 from Eric Botcazou --- Author: ebotcazou Date: Tue Sep 5 09:49:34 2017 New Revision: 251707 URL: https://gcc.gnu.org/viewcvs?rev=251707&root=gcc&view=rev Log: PR ada/62235 * gcc-interface/decl.c (gnat_to_gnu_enti

[Bug ada/62235] segmentation fault on Ada 2012 code

2017-09-05 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62235 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/81787] [5/6/7/8 Regression] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug target/82104] New: __stack_chk_fail should not use lazy binding on ELF

2017-09-05 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82104 Bug ID: 82104 Summary: __stack_chk_fail should not use lazy binding on ELF Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/81787] [5/6/7/8 Regression] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8

2017-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787 --- Comment #4 from Jonathan Wakely --- (In reply to Manuel López-Ibáñez from comment #2) > My personal opinion is that we should instead have -Wpermissive, which > defaults to -Werror=permissive and works like any other -W* option should > (and

[Bug c++/81787] [5/6/7/8 Regression] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-05 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 --- Comment #9 from rguenther at suse dot de --- On Tue, 5 Sep 2017, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004 > > Jakub Jelinek changed: > >What|Removed |Added >

[Bug c++/67559] Passing non-trivially copyable objects through '...' doesn't generate warning or error

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67559 Eric Gallager changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/64867] warning for passing non-POD to varargs function

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 Eric Gallager changed: What|Removed |Added CC||bisqwit at iki dot fi --- Comment #15 fr

[Bug c++/64867] warning for passing non-POD to varargs function

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/79542] [7/8 regression] ICE in add_gnat_descriptive_type_attribute

2017-09-05 Thread pmderodat at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79542 --- Comment #11 from pmderodat at gcc dot gnu.org --- Author: pmderodat Date: Tue Sep 5 11:04:41 2017 New Revision: 251709 URL: https://gcc.gnu.org/viewcvs?rev=251709&root=gcc&view=rev Log: [PR79542][Ada] Fix ICE in dwarf2out.c with nested func.

[Bug ada/79542] [7 regression] ICE in add_gnat_descriptive_type_attribute

2017-09-05 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79542 Pierre-Marie de Rodat changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug go/82043] error: redefinition of ...

2017-09-05 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043 --- Comment #5 from martin --- I recompiled gcc 7.2.0 with your applied patch: I did: cd gcc-7.2.0/ patch gcc/go/gofrontend/types.cc < ../f9bad13.diff cd .. cd gcc-7.2.0-go/ ../gcc-7.2.0/configure CC=/opt/gcc-7.1/bin/gcc CXX=/opt/gcc-7.1/bin/g+

[Bug go/82043] error: redefinition of ...

2017-09-05 Thread mfe at live dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043 --- Comment #6 from martin --- Created attachment 42122 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42122&action=edit recompiled-gcc7.2-with-patch ../../../gcc-7.2.0/libgo/go/runtime/mheap.go:867:7: error: type mismatch between switch v

[Bug c/82105] New: unexpected padding in a struct

2017-09-05 Thread dudu.arbel at ilrd dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 Bug ID: 82105 Summary: unexpected padding in a struct Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assign

[Bug c++/64867] warning for passing non-POD to varargs function

2017-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 --- Comment #17 from Jonathan Wakely --- This adds -Wnon-pod-varargs, enabled by -Wconditionally-supported, allowing e.g. -Wconditionally-supported -Werror=non-pod-varargs diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index 3435fe90cca..b

[Bug c/82105] unexpected padding in a struct

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/81768] [8 Regression] error: control flow in the middle of basic block

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 Jakub Jelinek changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code Status|UNC

[Bug c/82105] unexpected padding in a struct

2017-09-05 Thread dudu.arbel at ilrd dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 --- Comment #2 from Dudu --- I don't think this is how bitfields works. In the following structs there are no padding between x an y typedef struct { unsigned int x:1; unsigned int y:1; unsigned short z; } XXX; nor in th

[Bug middle-end/81768] [8 Regression] error: control flow in the middle of basic block

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 --- Comment #4 from Jakub Jelinek --- Created attachment 42123 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42123&action=edit gcc8-pr81768.patch Untested fix for the simd expansion bug.

[Bug tree-optimization/82078] [8 Regression] wrong code at -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2017-09-05 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82078 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c/82105] unexpected padding in a struct

2017-09-05 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 --- Comment #3 from Andreas Schwab --- Bit fields are not allocated across unit boundaries.

[Bug c/82105] unexpected padding in a struct

2017-09-05 Thread dudu.arbel at ilrd dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 --- Comment #4 from Dudu --- Sorry, Andreas I don't understand your comment - can you please explain?

[Bug c++/82084] [5/6/7 Regression] ICE: constructing wstring with -O3

2017-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82084 --- Comment #9 from Richard Biener --- Author: rguenth Date: Tue Sep 5 12:58:00 2017 New Revision: 251711 URL: https://gcc.gnu.org/viewcvs?rev=251711&root=gcc&view=rev Log: 2017-09-05 Richard Biener PR tree-optimization/82084

[Bug target/80865] broken compilation on Mac OS X 10.5 / powerpc: unrecognizable insn

2017-09-05 Thread pkg at 1tein dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80865 Christian Cornelssen changed: What|Removed |Added CC||pkg at 1tein dot de --- Comment #

[Bug target/80865] broken compilation on Mac OS X 10.5 / powerpc: unrecognizable insn

2017-09-05 Thread pkg at 1tein dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80865 --- Comment #3 from Christian Cornelssen --- Created attachment 42124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42124&action=edit Darwin/PPC patches mentioned in https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02971.html

[Bug target/65146] alignment of _Atomic structure member is not correct

2017-09-05 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 Peter Cordes changed: What|Removed |Added CC||peter at cordes dot ca --- Comment #4 fro

[Bug middle-end/81768] [8 Regression] error: control flow in the middle of basic block

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 --- Comment #5 from Jakub Jelinek --- Created attachment 42126 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42126&action=edit gcc8-pr81768-2.patch And an untested fix for the other reported bug.

[Bug libstdc++/71660] [5/6/7/8 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86

2017-09-05 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660 --- Comment #7 from Peter Cordes --- C++11 std::atomic<> is correct, and the change was necessary. 8B alignment is required for 8B objects to be efficiently lock-free (using SSE load / store for .load() and .store(), see https://stackoverflow.co

[Bug c++/81942] ICE on empty constexpr constructor with C++14

2017-09-05 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81942 --- Comment #16 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue Sep 5 13:33:44 2017 New Revision: 251714 URL: https://gcc.gnu.org/viewcvs?rev=251714&root=gcc&view=rev Log: /cp 2017-09-05 Paolo Carlini PR c++/81942

[Bug c++/81942] ICE on empty constexpr constructor with C++14

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

[Bug target/65146] alignment of _Atomic structure member is not correct

2017-09-05 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 Uroš Bizjak changed: What|Removed |Added Keywords||ABI CC|

[Bug demangler/68159] Demangler crash (GDB PR 19190)

2017-09-05 Thread clopez at igalia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68159 --- Comment #15 from Carlos Alberto Lopez Perez --- (In reply to H.J. Lu from comment #11) > *** Bug 68383 has been marked as a duplicate of this bug. *** Bug 68383 was fixed by r245978 So, this one is also fixed right ?

[Bug target/65146] alignment of _Atomic structure member is not correct

2017-09-05 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #6 from Peter Cordes --- My test-case on godbolt: https://godbolt.org/g/MmLycw. gcc8 snapshot still only has 4B alignment Fun fact: clang4.0 -m32 inlines lock cmpxchg8b for 8-byte atomic load/store. This is ironic, because it *does

[Bug target/80865] broken compilation on Mac OS X 10.5 / powerpc: unrecognizable insn

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80865 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

ewesyynia

2017-09-05 Thread xdiqoy
bogcujd

[Bug c++/64867] warning for passing non-POD to varargs function

2017-09-05 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug libstdc++/71660] [5/6/7/8 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86

2017-09-05 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660 --- Comment #8 from Thiago Macieira --- (In reply to Peter Cordes from comment #7) > 8B alignment is required for 8B objects to be efficiently lock-free (using > SSE load / store for .load() and .store(), see > https://stackoverflow.com/questions

[Bug target/82106] New: [RISCV] Misaligned loads generated when doubles are split between stack and registers

2017-09-05 Thread asb at lowrisc dot org
ble-gdb --disable-libssp --with-newlib --with-arch=rv32ima --with-abi=ilp32 --prefix=/home/asb/work/2017_09_05_gcc_build/combined/build/built Thread model: single gcc version 8.0.0 20170905 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-c' '-march=rv32ifd' '-mabi=i

[Bug target/65146] alignment of _Atomic structure member is not correct

2017-09-05 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65146 --- Comment #7 from H.J. Lu --- We need to first decide what we want out of i386 atomic. Please send a post to https://groups.google.com/forum/#!forum/ia32-abi

[Bug go/82043] error: redefinition of ...

2017-09-05 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82043 --- Comment #7 from Ian Lance Taylor --- Sorry, I'm not sure what is causing that error. Why don't you just compile GCC trunk?

[Bug c/82105] unexpected padding in a struct

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/64867] warning for passing non-POD to varargs function

2017-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64867 --- Comment #19 from Jonathan Wakely --- Whether Clang warns or not depends on the -std mode active, as that decides the definition of a POD it uses. GCC always uses the C++11 rule, which I quoted in comment 9.

[Bug libstdc++/71660] [5/6/7/8 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86

2017-09-05 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Depends on|

[Bug c++/82080] ICE: Segmentation fault

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82080 --- Comment #1 from Eric Gallager --- Created attachment 42128 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42128&action=edit error messages printed when trying to compile I can't reproduce this bug on i386-apple-darwin9.8.0; with -m32 I

[Bug c++/82075] structured binding fails with empty base class

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82075 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 --- Comment #16 from Marek Polacek --- Author: mpolacek Date: Tue Sep 5 15:55:04 2017 New Revision: 251717 URL: https://gcc.gnu.org/viewcvs?rev=251717&root=gcc&view=rev Log: PR sanitizer/82072 * convert.c (convert_to_integer_1)

[Bug sanitizer/82072] sanitizer does not detect an overflow from LLONG_MIN

2017-09-05 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82072 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/82073] internal compiler error: in pop_to_marker, at tree-ssa-scopedtables.c

2017-09-05 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82073 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/82107] New: O2 optimisation on amd64 leads to error

2017-09-05 Thread loquens at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82107 Bug ID: 82107 Summary: O2 optimisation on amd64 leads to error Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/82107] O2 optimisation on amd64 leads to error

2017-09-05 Thread loquens at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82107 --- Comment #1 from loquens at yandex dot ru --- Additional research found, that error produced by -O1 and -finline-small-functions -fipa-icf -foptimize-sibling-calls. All three flags must be present to get an error. If you exclude -foptimize-s

[Bug target/82106] [RISCV] Misaligned loads generated when doubles are split between stack and registers

2017-09-05 Thread palmer at dabbelt dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82106 --- Comment #1 from Palmer Dabbelt --- Ugh. I'd really like to call this a bug and fix it, but since it'll technically break the ABI it'll require some more thought. Does "-mstrict-align" change the behavior? That would be a good argument to f

[Bug target/82106] [RISCV] Misaligned loads generated when doubles are split between stack and registers

2017-09-05 Thread asb at lowrisc dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82106 --- Comment #2 from Alex Bradbury --- Same problem with `-mstrict-align`, which as you say makes this worse. I'm actually not sure if this is an ABI-visible issue. The vararg save area and it's location is basically required by the ABI due to th

[Bug tree-optimization/82073] internal compiler error: in pop_to_marker, at tree-ssa-scopedtables.c

2017-09-05 Thread vsevolod.livinskij at frtk dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82073 --- Comment #2 from Vsevolod Livinskiy --- (In reply to Eric Gallager from comment #1) > Could you post the output of g++ -v so we have version and target info > please? Revision is 251589 >$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_

[Bug c++/81787] [5/6/7/8 Regression] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8

2017-09-05 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787 --- Comment #6 from Manuel López-Ibáñez --- (In reply to Jonathan Wakely from comment #4) > (In reply to Manuel López-Ibáñez from comment #2) > > My personal opinion is that we should instead have -Wpermissive, which > > defaults to -Werror=permi

[Bug target/82108] New: [7.2 Regression] Wrong vectorized code generated for x86_64

2017-09-05 Thread ell_se at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82108 Bug ID: 82108 Summary: [7.2 Regression] Wrong vectorized code generated for x86_64 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/59501] [4.9 Regression] Vector Gather with GCC 4.9 2013-12-08 Snapshot

2017-09-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59501 --- Comment #7 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 5 16:39:24 2017 New Revision: 251718 URL: https://gcc.gnu.org/viewcvs?rev=251718&root=gcc&view=rev Log: i386: Avoid stack realignment if possible ix86_finalize_stack_fram

[Bug target/81769] Unnecessary stack realign with -mavx

2017-09-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81769 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 5 16:39:24 2017 New Revision: 251718 URL: https://gcc.gnu.org/viewcvs?rev=251718&root=gcc&view=rev Log: i386: Avoid stack realignment if possible ix86_finalize_stack_fram

[Bug testsuite/81624] [8 Regression] FAIL: gcc.target/i386/pr59501-3a.c scan-assembler-not and[^\n\r]*sp

2017-09-05 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81624 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Tue Sep 5 16:39:24 2017 New Revision: 251718 URL: https://gcc.gnu.org/viewcvs?rev=251718&root=gcc&view=rev Log: i386: Avoid stack realignment if possible ix86_finalize_stack_fram

[Bug tree-optimization/80925] [8 Regression] vect peeling failures

2017-09-05 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80925 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug libstdc++/71660] [5/6/7/8 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86

2017-09-05 Thread thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660 --- Comment #10 from Thiago Macieira --- Actually, PR 65146 points out that the problem is not efficiency but correctness. An under-aligned type could cross a cacheline boundary and thus fail to be atomic in the first place. Therefore, it is cor

[Bug c++/81787] [5/6/7/8 Regression] `#pragma GCC diagnostic warning "-fpermissive"` no longer works since gcc 4.8

2017-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81787 --- Comment #7 from Jonathan Wakely --- Accepting invalid C++ changes the language. It's not a diagnostic option, it's closer to -std in meaning.

[Bug c/82105] unexpected padding in a struct

2017-09-05 Thread dudu.arbel at ilrd dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82105 --- Comment #6 from Dudu --- Thanks for the replies, but I do not look to workaround this issue. I simply wonder why gcc behaves as it does on this case. This behavior breaks my understanding of padding. This behavior seems wrong. This behavior l

[Bug c++/82080] ICE: Segmentation fault

2017-09-05 Thread jamrial at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82080 James Almer changed: What|Removed |Added Attachment #42105|0 |1 is obsolete|

[Bug target/82108] [7/8 Regression] Wrong vectorized code generated for x86_64

2017-09-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82108 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug c/82063] issues with arguments enabled by -Wall

2017-09-05 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82063 --- Comment #5 from Jim Wilson --- (In reply to Martin Sebor from comment #3) > Jim, since you've spent some time on this already and understand the > problems, please feel to propose a patch. If you don't get to it I'll see > if I can find the

[Bug target/82106] [RISCV] Misaligned loads generated when doubles are split between stack and registers

2017-09-05 Thread andrew at sifive dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82106 --- Comment #3 from Andrew Waterman --- I believe Alex is correct, in that this is an implementation artifact that can be fixed without breaking the ABI. On Tue, Sep 5, 2017 at 9:26 AM asb at lowrisc dot org < gcc-bugzi...@gcc.gnu.org> wrote: >

[Bug c++/82107] [5/6/7/8 Regression] O2 optimisation on amd64 leads to error

2017-09-05 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82107 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Keywords|

[Bug fortran/82064] [7/8 Regression] [OOP] multiple incompatible definitions of extended derived type via module use

2017-09-05 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82064 --- Comment #5 from janus at gcc dot gnu.org --- (In reply to Paul Thomas from comment #4) > (In reply to janus from comment #3) > > It appears that the regression has been introduced by r241450, which was the > > fix for PR 69834. Reverting it, i

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #4 from Jakub Jelinek --- No, but I'm not familiar enough with the C++ EH libsupc++ stuff to write it myself. Jason, do you think you could try that?

[Bug target/82106] [RISCV] Misaligned loads generated when doubles are split between stack and registers

2017-09-05 Thread palmer at dabbelt dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82106 --- Comment #4 from Palmer Dabbelt --- Ya, sorry, I misread the assembly.

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2017-09-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #5 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #0) > fails with std::terminate (), while works with -DWORKAROUND. It's the other way around, right? Was the testcase meant to use #ifndef? I can take a look at wra

[Bug libstdc++/78015] pthread_cancel while some exception is pending results in std::terminate ()

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78015 --- Comment #6 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #5) > (In reply to Jakub Jelinek from comment #0) > > fails with std::terminate (), while works with -DWORKAROUND. > > It's the other way around, right? Was the test

[Bug sanitizer/82109] New: False positive when using pthread_cleanup_push() and pthread_cancel()

2017-09-05 Thread mephi42 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82109 Bug ID: 82109 Summary: False positive when using pthread_cleanup_push() and pthread_cancel() Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/81833] [7/8 Regression] PowerPC: VSX: Miscompiles ffmpeg's scalarproduct_int16_vsx at -O1

2017-09-05 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81833 --- Comment #3 from Bill Schmidt --- Author: wschmidt Date: Tue Sep 5 19:41:55 2017 New Revision: 251723 URL: https://gcc.gnu.org/viewcvs?rev=251723&root=gcc&view=rev Log: [gcc] 2017-09-05 Bill Schmidt PR target/81833 * con

[Bug c++/82053] [8 Regression] ICE on invalid code

2017-09-05 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82053 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/82095] [8 Regression] ICE in tree_nop_conversion at tree.c:11793 on ppc64le

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82095 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |8.0 Summary|ICE in tree_nop_c

[Bug middle-end/81768] [8 Regression] error: control flow in the middle of basic block

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Tue Sep 5 21:31:39 2017 New Revision: 251741 URL: https://gcc.gnu.org/viewcvs?rev=251741&root=gcc&view=rev Log: PR middle-end/81768 * omp-expand.c (expand_omp_simd): Forc

[Bug libstdc++/71660] [5/6/7/8 regression] alignment of std::atomic<8 byte primitive type> (long long, double) is wrong on x86

2017-09-05 Thread peter at cordes dot ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71660 --- Comment #11 from Peter Cordes --- (In reply to Thiago Macieira from comment #10) > Actually, PR 65146 points out that the problem is not efficiency but > correctness. An under-aligned type could cross a cacheline boundary and thus > fail to b

[Bug middle-end/81768] [8 Regression] error: control flow in the middle of basic block

2017-09-05 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81768 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Tue Sep 5 21:32:35 2017 New Revision: 251742 URL: https://gcc.gnu.org/viewcvs?rev=251742&root=gcc&view=rev Log: PR middle-end/81768 * omp-low.c (lower_omp_for): Recompute

[Bug target/82048] GCC bootstrap fails in stage1 on sparc-unknown-linux-gnu

2017-09-05 Thread aaro.koskinen at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82048 --- Comment #5 from Aaro Koskinen --- > Is there any workaround other than downgrading to glibc 2.24 on SPARC? If you always re-install the 64-bit glibc build after 32-bit one, that should restore the correct version of long-double.h.

  1   2   >