[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-02-29 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug tree-optimization/69999] [6 Regression] ICE in verify_loop_structure, at cfgloop.c:1639 (error: loop with header 3 not in loop tree) at -O3 or -Ofast

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com Assigne

[Bug c++/70018] New: Possible issue around IPO and C++ inline functions

2016-02-29 Thread sanjoy at playingwithpointers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 Bug ID: 70018 Summary: Possible issue around IPO and C++ inline functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-02-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 --- Comment #4 from Jakub Jelinek --- The problem I see e.g. in aarch64 or rs6000 is that it in some cases uses NULL_TREE for old_tree or new_tree, and in that case doesn't change anything. But in reality, not changing anything if old_tree != new

[Bug target/70002] [6 Regression] gcc.dg/torture/pr52429.c -O2 -flto -fno-use-linker-plugin -flto-partition=none ICEs

2016-02-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70002 --- Comment #5 from Jakub Jelinek --- See e.g. PR61925.

[Bug c++/70018] Possible issue around IPO and C++ inline functions

2016-02-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/70018] Possible issue around IPO and C++ inline functions

2016-02-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 --- Comment #2 from Andrew Pinski --- Also one more point, in this example both inline functions have the same definition. Both answers are valid answers for this case. That is doing the division (causing the trap on x86_64) don't have to happe

[Bug tree-optimization/69999] [6 Regression] ICE in verify_loop_structure, at cfgloop.c:1639 (error: loop with header 3 not in loop tree) at -O3 or -Ofast

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #5 from Jeffrey A. Law --- It's widely known that that node splitting can turn an irreducible loop into a reducible loop. And that's precisely what's happening here. Sigh. Something tells me that long term we may want some degree o

[Bug c++/70018] Possible issue around IPO and C++ inline functions

2016-02-29 Thread sanjoy at playingwithpointers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 --- Comment #3 from Sanjoy Das --- (In reply to Andrew Pinski from comment #1) > In C++ code, the one definition rule says that all TU that contains an > inline function, they need to have the same definition. If they have > different definition

[Bug c++/70018] Possible issue around IPO and C++ inline functions

2016-02-29 Thread sanjoy at playingwithpointers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 --- Comment #4 from Sanjoy Das --- (In reply to Andrew Pinski from comment #2) > So in summary what you are seeing is two effects going into effect here: > undefined behavior of division by 0 and ODR. There is no division by zero (or any other

[Bug c++/53637] NRVO not applied where there are two different variables involved

2016-02-29 Thread marc at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53637 --- Comment #5 from marc at kdab dot com --- You have a very narrow test of NRVO. You're using a completely transparent type, though I give you that defining the copy and move ctors in a separate TU does not change the outcome. At some point I'l

[Bug c++/70018] Possible issue around IPO and C++ inline functions

2016-02-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/70018] Possible issue around IPO and C++ inline functions

2016-02-29 Thread sanjoy at playingwithpointers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70018 --- Comment #6 from Sanjoy Das --- (In reply to Andrew Pinski from comment #5) > Oh I see pure/const behavior. > > The problem is more complex, in that in one TU, the comdat function is > figured out to be pure/const so we remove the store befor

[Bug tree-optimization/69984] [4.9/5/6] Signed comparison instruction emitted for unsigned variable comparison

2016-02-29 Thread edmar at freescale dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69984 --- Comment #9 from Edmar Wienskoski --- Ok. Thanks for the clarification. The comparison is made with an unsigned variable, but gcc is certain that this variable cannot have (legally) a value that cannot be represented in an int. That is why

[Bug target/69988] libgo.so: undefined reference to `__unorddf2'

2016-02-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69988 --- Comment #6 from John Paul Adrian Glaubitz --- (In reply to Andreas Schwab from comment #5) > The gccgo commandline uses -static-libgcc. Make sure that -lgcc is linked > after libgo. Shouldn't it be -lc since the symbols in question are now

[Bug tree-optimization/69989] [6 Regression] ICE on x86_64-linux-gnu at -O3 in both 32-bit and 64-bit modes (in verify_loop_structure, at cfgloop.c:1639)

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69989 --- Comment #11 from Jeffrey A. Law --- The last proposal (clear LOOPS_NEED_FIXUP) is a possibility. I can poke at that a bit, but I really wonder if it'd be better for gcc-7 and for gcc-6 if we should just use localized fixups rather than tryin

[Bug target/69988] libgo.so: undefined reference to `__unorddf2'

2016-02-29 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69988 --- Comment #7 from joseph at codesourcery dot com --- libgo.so should have been linked with -lc (probably an implicit -lc from some spec used when linking shared libraries).

[Bug target/69988] libgo.so: undefined reference to `__unorddf2'

2016-02-29 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69988 --- Comment #8 from John Paul Adrian Glaubitz --- (In reply to jos...@codesourcery.com from comment #7) > libgo.so should have been linked with -lc (probably an implicit -lc from > some spec used when linking shared libraries). Can you suggest

[Bug fortran/46459] ICE (segfault): Invalid read in compare_actual_formal [error recovery]

2016-02-29 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46459 --- Comment #7 from Harald Anlauf --- The patch of comment #1 (adjusted to current trunk) regtests cleanly for me. (In reply to Mikael Morin from comment #5) > The initial test doesn't lead to a segfault any more. > > It is now rejected with: >

[Bug tree-optimization/69999] [6 Regression] ICE in verify_loop_structure, at cfgloop.c:1639 (error: loop with header 3 not in loop tree) at -O3 or -Ofast

2016-02-29 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #6 from Jeffrey A. Law --- Author: law Date: Mon Feb 29 22:45:41 2016 New Revision: 233824 URL: https://gcc.gnu.org/viewcvs?rev=233824&root=gcc&view=rev Log: PR tree-optimization/6 * gimple-ssa-split-paths.c (spli

[Bug tree-optimization/69999] [6 Regression] ICE in verify_loop_structure, at cfgloop.c:1639 (error: loop with header 3 not in loop tree) at -O3 or -Ofast

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/70005] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70005 --- Comment #2 from Jeffrey A. Law --- Thanks. Something unexpected slipped through the IL confusing uncprop. So there's really two issues here. Why did an always-true/always-false test manage to survive until uncprop, a missed optimization, b

[Bug tree-optimization/70005] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2016-02-29 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70005 --- Comment #3 from Jeffrey A. Law --- Author: law Date: Tue Mar 1 00:04:48 2016 New Revision: 233829 URL: https://gcc.gnu.org/viewcvs?rev=233829&root=gcc&view=rev Log: PR tree-optimization/70005 * tree-ssa-uncprop.c (associate_

[Bug target/69706] internal compiler error: in extract_constrain_insn, at recog.c:2246

2016-02-29 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69706 --- Comment #11 from Eric Botcazou --- Author: ebotcazou Date: Tue Mar 1 00:22:26 2016 New Revision: 233833 URL: https://gcc.gnu.org/viewcvs?rev=233833&root=gcc&view=rev Log: PR target/69706 * config/sparc/sparc.c (NWORDS_UP): R

[Bug tree-optimization/69068] [6 Regression] ICE in bb_contains_loop_phi_nodes, at graphite-isl-ast-to-gimple.c:1279

2016-02-29 Thread chengniansun at gmail dot com
: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160229 (experimental) [trunk revision 233802] (GCC) $: $: gcc-trunk -O2 -fgraphite-identity small.c small.c: In function ‘main’: small.c:3:5

[Bug preprocessor/69985] [6 Regression] ICE: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924

2016-02-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69985 --- Comment #21 from David Malcolm --- Author: dmalcolm Date: Tue Mar 1 01:02:49 2016 New Revision: 233836 URL: https://gcc.gnu.org/viewcvs?rev=233836&root=gcc&view=rev Log: PR preprocessor/69985: fix ICE with long lines in -Wformat gcc/testsu

[Bug preprocessor/69985] [6 Regression] ICE: in linemap_position_for_loc_and_offset, at libcpp/line-map.c:924

2016-02-29 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69985 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/69961] Segfault when calling constructor from variadic template by referring to T::T

2016-02-29 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69961 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Tue Mar 1 01:24:44 2016 New Revision: 233838 URL: https://gcc.gnu.org/viewcvs?rev=233838&root=gcc&view=rev Log: Fix PR c++/69961 (invalid ctor call with dependent args) gcc/cp/ChangeLo

[Bug c++/68948] G++ voluntarily removes a function call with terrible side effects

2016-02-29 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68948 --- Comment #16 from Patrick Palka --- Author: ppalka Date: Tue Mar 1 01:24:44 2016 New Revision: 233838 URL: https://gcc.gnu.org/viewcvs?rev=233838&root=gcc&view=rev Log: Fix PR c++/69961 (invalid ctor call with dependent args) gcc/cp/ChangeL

[Bug c++/69961] Segfault when calling constructor from variadic template by referring to T::T

2016-02-29 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69961 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70019] New: VLA size overflow not detected

2016-02-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70019 Bug ID: 70019 Summary: VLA size overflow not detected Product: gcc Version: 4.9.4 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug c++/70019] VLA size overflow not detected

2016-02-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70019 Martin Sebor changed: What|Removed |Added Keywords||wrong-code Known to fail|

[Bug tree-optimization/15826] don't use "if" to extract a single bit bit-field.

2016-02-29 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15826 Bill Seurer changed: What|Removed |Added CC||seurer at linux dot vnet.ibm.com --- Comm

[Bug c++/67813] [C++14] copy-initialization of object with pointer member fails in constexpr function

2016-02-29 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67813 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/15826] don't use "if" to extract a single bit bit-field.

2016-02-29 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15826 --- Comment #14 from Martin Sebor --- (In reply to Andrew Pinski from comment #12) Thank your for catching it. I did actually read all the comments. The trouble is that there are several test cases here and I missed the one in the second half

[Bug target/70011] [6 regression] test case gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c fails

2016-02-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70011 --- Comment #6 from Bill Schmidt --- Author: wschmidt Date: Tue Mar 1 04:14:15 2016 New Revision: 233840 URL: https://gcc.gnu.org/viewcvs?rev=233840&root=gcc&view=rev Log: 2016-02-29 Bill Schmidt PR target/70011 * gcc.dg/vec

[Bug target/70011] [6 regression] test case gcc.dg/vect/costmodel/ppc/costmodel-fast-math-vect-pr29925.c fails

2016-02-29 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70011 Bill Schmidt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libgomp/70009] test case libgomp.oacc-c-c++-common/vprop.c fails starting with its introduction in r233607

2016-02-29 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70009 --- Comment #3 from cesar at gcc dot gnu.org --- Thanks for the info. I'm travelling this week, so I won't have a chance to look at this until next Monday.

[Bug tree-optimization/70020] New: Forward propagation leaves compile-time computable conditional in IL

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70020 Bug ID: 70020 Summary: Forward propagation leaves compile-time computable conditional in IL Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug tree-optimization/70005] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2016-02-29 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70005 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70021] New: Test miscompiled with -O3 option for -march=core-avx2.

2016-02-29 Thread vsevolod.livinskij at frtk dot ru
trunk/mpfr-3.1.3/bin --with-mpc=/gcc-trunk/mpc-1.0.3/bin --prefix=/gcc-trunk/bin Thread model: posix gcc version 6.0.0 20160229 (experimental) (Revision=233809)

[Bug middle-end/70022] New: [4.9/5/6 Regression] ICE: in tree_to_shwi, at tree.c:7328 with out-of-bounds vector index

2016-02-29 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70022 Bug ID: 70022 Summary: [4.9/5/6 Regression] ICE: in tree_to_shwi, at tree.c:7328 with out-of-bounds vector index Product: gcc Version: 6.0 Status: UNCONFIRMED K

[Bug ada/70017] c52103x and c52104x test failure on s390x

2016-02-29 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70017 Dominik Vogt changed: What|Removed |Added Summary|Ada: c52103x test failure |c52103x and c52104x test

[Bug target/70021] [6 Regression] Test miscompiled with -O3 option for -march=core-avx2.

2016-02-29 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70021 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/69824] [4.9/5/6 Regression] internal compiler error in unshare_body

2016-02-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69824 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug rtl-optimization/70023] New: [4.9/5/6 Regression] ICE: in assign_by_spills, at lra-assigns.c:1417 with -fno-sched-critical-path-heuristic -fschedule-insns -m8bit-idiv

2016-02-29 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70023 Bug ID: 70023 Summary: [4.9/5/6 Regression] ICE: in assign_by_spills, at lra-assigns.c:1417 with -fno-sched-critical-path-heuristic -fschedule-insns -m8bit-idiv

[Bug lto/69953] [5/6 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail

2016-02-29 Thread john.frankish at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953 --- Comment #12 from john.frankish at outlook dot com --- Is there any hope of a patch to fix this?

[Bug target/70021] [6 Regression] Test miscompiled with -O3 option for -march=core-avx2.

2016-02-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70021 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

<    1   2