[Bug c++/70182] New: c++filt fails to demangle _ZNSt17_Function_handlerIFSt4pairImjEjEZN5folly12addBenchmarkI3$_0EENSt9enable_ifIXeqsr5boost14function_types14function_arityIDTadsrT_onclEEE5valueLi2EEv

2016-03-10 Thread twoh at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70182 Bug ID: 70182 Summary: c++filt fails to demangle _ZNSt17_Function_handlerIFSt4pairImjEjEZN5folly12addBe nchmarkI3$_0EENSt9enable_ifIXeqsr5boost14function_type

[Bug target/70146] missed-optimization: i386 hidden references should use PC32 relocations instead of GOTOFF

2016-03-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146 --- Comment #4 from H.J. Lu --- (In reply to Andy Lutomirski from comment #3) > I think a similar optimization could be applied to default-visibility > references as well. For example, gcc can generate things like this: > > call

[Bug c++/70181] New: missing -Wtautological-compare for constant expressions

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70181 Bug ID: 70181 Summary: missing -Wtautological-compare for constant expressions Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70180] New: missing -Wpointer-arith on NULL arithmetic cast to a an object type

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70180 Bug ID: 70180 Summary: missing -Wpointer-arith on NULL arithmetic cast to a an object type Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor

[Bug target/70179] New: PPC64 ICE with -mabi=ieeelongdouble and long double complex

2016-03-10 Thread koorogi+bugs at koorogi dot info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70179 Bug ID: 70179 Summary: PPC64 ICE with -mabi=ieeelongdouble and long double complex Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug target/70146] missed-optimization: i386 hidden references should use PC32 relocations instead of GOTOFF

2016-03-10 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70146 --- Comment #3 from Andy Lutomirski --- I think a similar optimization could be applied to default-visibility references as well. For example, gcc can generate things like this: call__x86.get_pc_thunk.ax addl

[Bug target/70162] [RX] const_int printing causes wrong code on 32 bit host

2016-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70162 --- Comment #2 from Oleg Endo --- (In reply to Oleg Endo from comment #1) > > I guess there are more cases like (*2) above, where constants are encoded in > a larger format than necessary. Looks like that indeed. For example: void bleh

[Bug c++/70171] Poor code generated when return struct using ternary operator

2016-03-10 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70171 Seth LaForge changed: What|Removed |Added CC||sethml at ofb dot net --- Comment #1

[Bug c/70150] Additonal test failures with --enable-default-pie

2016-03-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #4 from H.J. Lu --- (In reply to Jakub Jelinek from comment #3) > But -fno-pic should turn off even the default -fpie or -fPIE (if you force > it through configure option) and also make sure neither __PIC__ nor __PIE__ > macros are

[Bug target/70168] [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 Ulrich Weigand changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70168] [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 --- Comment #5 from Ulrich Weigand --- Author: uweigand Date: Thu Mar 10 23:59:20 2016 New Revision: 234127 URL: https://gcc.gnu.org/viewcvs?rev=234127=gcc=rev Log: PR target/70168 * config/rs6000/rs6000.c

[Bug target/70168] [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 --- Comment #4 from Ulrich Weigand --- Author: uweigand Date: Thu Mar 10 23:58:44 2016 New Revision: 234126 URL: https://gcc.gnu.org/viewcvs?rev=234126=gcc=rev Log: PR target/70168 * config/rs6000/rs6000.c

[Bug c/69602] [6 Regression] over-ambitious logical-op warning on EAGAIN vs EWOULDBLOCK

2016-03-10 Thread sergio at serjux dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 Sérgio Basto changed: What|Removed |Added CC||sergio at serjux dot com --- Comment #12

[Bug c/70150] -fno-pic no longer works with --enable-default-pie

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/70150] -fno-pic no longer works with --enable-default-pie

2016-03-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #2 from H.J. Lu --- (In reply to H.J. Lu from comment #1) > When GCC is configured with --enable-default-pie, -fno-pic doesn't > turn off PIC: > > [hjl@gnu-6 gcc]$ ./xgcc -B./ -S x.c -fno-pic > x.c:2:3: error: #error foo > # error

[Bug tree-optimization/70177] [6 Regression] ICE in extract_ops_from_tree starting with r233660

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70177 --- Comment #3 from Jakub Jelinek --- Perhaps better testcase (-O2 again): int b[128]; void foo (int i, int j) { int c, f, g, h; for (g = 0; g < 64; g++) for (h = g, f = 0; f <= i; f++, h++) for (c = 0; c < j; c++) b[h] =

[Bug c/70150] -fno-pic no longer works with --enable-default-pie

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

[Bug target/70168] [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 Ulrich Weigand changed: What|Removed |Added Status|NEW |ASSIGNED URL|

[Bug tree-optimization/70177] [6 Regression] ICE in extract_ops_from_tree starting with r233660

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70177 --- Comment #2 from Jakub Jelinek --- Though, that expression looks weird, on the testcase it is clear that if i is >= 0 (not -1!), then c must be 0, because otherwise the innermost loop must invoke undefined behavior, and deriving anything

[Bug c++/70121] [5/6 Regression] spurious warning and crash when returning a reference from lambda

2016-03-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70121 --- Comment #3 from Patrick Palka --- A candidate patch posted at: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00669.html

[Bug tree-optimization/70177] [6 Regression] ICE in extract_ops_from_tree starting with r233660

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70177 Jakub Jelinek changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug tree-optimization/70177] [6 Regression] ICE in extract_ops_from_tree starting with r233660

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70177 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1

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

2016-03-10 Thread cesar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70009 --- Comment #8 from cesar at gcc dot gnu.org --- Author: cesar Date: Thu Mar 10 22:50:40 2016 New Revision: 234124 URL: https://gcc.gnu.org/viewcvs?rev=234124=gcc=rev Log: libgomp/ PR testsuite/70009 *

[Bug c++/70178] New: Loop-invariant memory loads from std::string innards are not hoisted

2016-03-10 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70178 Bug ID: 70178 Summary: Loop-invariant memory loads from std::string innards are not hoisted Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/70177] New: [6 Regression] ICE in extract_ops_from_tree starting with r233660

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70177 Bug ID: 70177 Summary: [6 Regression] ICE in extract_ops_from_tree starting with r233660 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/70173] make distclean: leaves stage_final and libcc1/compiler-name.h

2016-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70173 --- Comment #1 from Andrew Pinski --- Most people don't use distclean or build in the source directory. Most people use a separate build directory and just wipe out that build directory.

[Bug c++/70175] Condition comparing two float numbers

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70175 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/38341] Wrong warning comparison of promoted ~unsigned with unsigned

2016-03-10 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38341 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org ---

[Bug libstdc++/70176] New: Regression with C++03 Issue cstdio

2016-03-10 Thread craie at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70176 Bug ID: 70176 Summary: Regression with C++03 Issue cstdio Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: libstdc++

[Bug middle-end/70159] missed CSE optimization

2016-03-10 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70159 --- Comment #9 from Sebastian Pop --- Created attachment 37927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37927=edit patch for hoisting expressions Updated the patch from PR23286 to hoist the redundant expressions: : inv_4 =

[Bug c++/70175] New: Condition comparing two float numbers

2016-03-10 Thread slaver75 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70175 Bug ID: 70175 Summary: Condition comparing two float numbers Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/70164] [6 Regression] Code/performance regression due to poor register allocation on Cortex-M0

2016-03-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70164 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/70174] New: ICE at -O1 and above on x86_64-linux-gnu in gen_lowpart_general, at rtlhooks.c:63

2016-03-10 Thread su at cs dot ucdavis.edu
/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160310 (experimental) [trunk revision 234104] (GCC) $ $ gcc-trunk -O0 -c small.c small.c: In function ‘fn1’: small.c:9:8: warning: assignment makes integer from pointer without

[Bug middle-end/58306] Broken profiling for unrar sources: error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

2016-03-10 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306 --- Comment #10 from PeteVine --- At least on ARM (gcc 4.9.3) it does work after a clean generate/use cycle.

[Bug bootstrap/70173] New: make distclean: leaves stage_final and libcc1/compiler-name.h

2016-03-10 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70173 Bug ID: 70173 Summary: make distclean: leaves stage_final and libcc1/compiler-name.h Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/60760] arithmetic on null pointers should not be allowed in constant expressions

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60760 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/57955] [4.9/5/6 Regression] Uniquization of constants reduces alignment of initializers

2016-03-10 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57955 --- Comment #16 from Eric Botcazou --- > I tried implementing Jakub's suggestion to have CONSTANT_ALIGNMENT return > 128 for large constructors. This doesn't fix the r201264 version of the > test case, which still generates fairly horrid code.

[Bug tree-optimization/68654] [6 Regression] CoreMark Pro performance degradation

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

[Bug tree-optimization/64058] [5/6 Regression] Performance degradation after r216304

2016-03-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64058 Jeffrey A. Law changed: What|Removed |Added CC||afomin.mailbox at gmail dot com ---

[Bug c++/70172] incorrect reinterpret_cast from integer to pointer error on invalid constexpr initialization

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70172 --- Comment #2 from Martin Sebor --- I should add that the bogus "reinterpret_cast" error goes away when the address of a non-array member is used instead, as in the test case below, even though this modified test case is also invalid for the

[Bug c++/70121] [5/6 Regression] spurious warning and crash when returning a reference from lambda

2016-03-10 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70121 Patrick Palka changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/70172] incorrect reinterpret_cast from integer to pointer error on invalid constexpr initialization

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70172 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Blocks|

[Bug target/43640] Struct with two floats generates poor code

2016-03-10 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43640 Seth LaForge changed: What|Removed |Added CC||sethml at ofb dot net --- Comment #3

[Bug c++/70172] New: incorrect reinterpret_cast from integer to pointer error on invalid constexpr initialization

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70172 Bug ID: 70172 Summary: incorrect reinterpret_cast from integer to pointer error on invalid constexpr initialization Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug c++/70171] New: Poor code generated when return struct using ternary operator

2016-03-10 Thread sethml at ofb dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70171 Bug ID: 70171 Summary: Poor code generated when return struct using ternary operator Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70170] New: [6 regression] bogus not a constant expression error comparing pointer to array to null

2016-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70170 Bug ID: 70170 Summary: [6 regression] bogus not a constant expression error comparing pointer to array to null Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug tree-optimization/70169] [4.9/5/6 Regression] ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791

2016-03-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70169 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/70168] [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/70169] New: ICE at -O1 and above on x86_64-linux-gnu in gen_lsm_tmp_name, at tree-ssa-loop.c:791

2016-03-10 Thread su at cs dot ucdavis.edu
: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160310 (experimental) [trunk revision 234104] (GCC) $ $ gcc-trunk -O0 -c small.c $ $ gcc-trunk -O1 -c small.c

[Bug rtl-optimization/70168] [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 --- Comment #1 from Ulrich Weigand --- Created attachment 37925 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37925=edit Patch to add retval vs. newval overlap check This patch fixes the problem for me with the GCC 5 branch. Not fully

[Bug rtl-optimization/70168] New: [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC

2016-03-10 Thread uweigand at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70168 Bug ID: 70168 Summary: [5 Regression] Wrong code generation in __sync_val_compare_and_swap on PowerPC Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity:

[Bug target/69614] [6 Regression] wrong code with -Os -fno-expensive-optimizations -fschedule-insns -mtpcs-leaf-frame -fira-algorithm=priority @ armv7a

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69614 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug middle-end/58306] Broken profiling for unrar sources: error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

2016-03-10 Thread t.artem at mailcity dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306 --- Comment #9 from Artem S. Tashkinov --- Tow more errors for the same sources: threadpool.cpp: In member function ‘bool ThreadPool::GetQueuedTask(ThreadPool::QueueEntry*)’: threadpool.cpp:213:1: error: corrupted profile info: profile data is

[Bug middle-end/58306] Broken profiling for unrar sources: error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

2016-03-10 Thread t.artem at mailcity dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306 Artem S. Tashkinov changed: What|Removed |Added Summary|error: corrupted value |Broken profiling for unrar

[Bug middle-end/58306] error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

2016-03-10 Thread t.artem at mailcity dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306 Artem S. Tashkinov changed: What|Removed |Added Host||x86_64 i686 Version|5.0

[Bug tree-optimization/64058] [5/6 Regression] Performance degradation after r216304

2016-03-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64058 --- Comment #17 from Jeffrey A. Law --- The nice thing about looking at the conflict set sizes is it doesn't change the computational complexity. After we've built the conflict graph we can walk the coalesce pairs once and compute the size of

[Bug middle-end/58306] error: corrupted value profile: value profile counter (X out of Y) inconsistent with basic-block count

2016-03-10 Thread t.artem at mailcity dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306 --- Comment #7 from Artem S. Tashkinov --- Affects GCC 5.3.1 as well.

[Bug c++/70167] New: Some const array prvalues are incorrectly treated as lvalues

2016-03-10 Thread inadgob at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70167 Bug ID: 70167 Summary: Some const array prvalues are incorrectly treated as lvalues Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/69708] ipa inline not working for function reference in static const struct

2016-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69708 --- Comment #4 from Martin Jambor --- I've posted one possible implementation of this feature to the mailing list along with an explanation why it makes sense to actually do it better and how :-)

[Bug fortran/70149] Character pointer initialization causes ICE. (F2008)

2016-03-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70149 --- Comment #4 from Dominique d'Humieres --- > Removing the gcc_assert allows the code to compile. Confirmed, but it leads to wrong code: if I use the module with use myptr_mod print *, "'", char_data, "'", int_data print *, "'",

[Bug middle-end/70127] [6 Regression] wrong code on x86_64-linux-gnu at -O3 in 32-bit and 64-bit modes

2016-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70127 --- Comment #15 from Martin Jambor --- (In reply to Jakub Jelinek from comment #14) > but if you keep the e = a[0]; assignment, I really don't understand the last > two statements. The kept statement already copied them, the extra stores >

[Bug tree-optimization/70013] [6 Regression] packed structure tree-sra loses initialization

2016-03-10 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70013 --- Comment #11 from Martin Jambor --- (In reply to alalaw01 from comment #10) > which is much saner. But I don't really understand why the PARM_DECL case > that I'm adding to here is that way SRA tries to avoid generating unnecessary

[Bug target/70044] [5 Regression] -flto turns on -fomit-frame-pointer

2016-03-10 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug target/70044] [5/6 Regression] -flto turns on -fomit-frame-pointer

2016-03-10 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70044 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70001] [5 Regression] Infinity compilation time

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70001 Jakub Jelinek changed: What|Removed |Added Summary|[5/6 regression] Infinity |[5 Regression] Infinity

[Bug target/7044] vax casesi breakage

2016-03-10 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7044 --- Comment #2 from Nick Clifton --- Author: nickc Date: Thu Mar 10 17:24:16 2016 New Revision: 234118 URL: https://gcc.gnu.org/viewcvs?rev=234118=gcc=rev Log: PR target/7044 * config/aarch64/aarch64.c

[Bug c++/70001] [5/6 regression] Infinity compilation time

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70001 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Thu Mar 10 17:23:06 2016 New Revision: 234117 URL: https://gcc.gnu.org/viewcvs?rev=234117=gcc=rev Log: PR c++/70001 * constexpr.c (cxx_eval_vec_init_1): For pre_init

[Bug c/70166] New: Wrong optimization of type punning in unions with 2d array

2016-03-10 Thread ch3root at openwall dot com
nce in [1] could be clarified further: "Even with -fstrict-aliasing, type-punning is allowed, provided the memory is accessed through the union type." [1] https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#Type-punning Tested with -O2 on gcc 4.7.2, 4.9.2 and 6.0.0 20160310.

[Bug other/70165] build failure in libgcj-6.0.0.jar

2016-03-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70165 --- Comment #1 from vries at gcc dot gnu.org --- Something like this would be helpful, but that's bash, and the script is sh: ... index e9cb9f5..1d13056 100644 --- a/libjava/scripts/jar.in +++ b/libjava/scripts/jar.in @@ -386,6 +386,7 @@ while

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-10 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #16 from Jiong Wang --- (In reply to Richard Henderson from comment #13) > Created attachment 37911 [details] > aggressive patch > Cool! Thanks very much for experimenting this thoughtful new aggressive direction. But there is a

[Bug tree-optimization/67681] Missed vectorization: induction variable used after loop

2016-03-10 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67681 --- Comment #8 from alalaw01 at gcc dot gnu.org --- Indeed, the -DFOO=1 case vectorizes with -fno-tree-dominator-opts.

[Bug ipa/69589] [6 Regression] ICE in initialize_node_lattices, at ipa-cp.c:971

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/67681] Missed vectorization: induction variable used after loop

2016-03-10 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67681 --- Comment #7 from alalaw01 at gcc dot gnu.org --- Looking at where the peeling happens. In both -DFOO=0 and -DFOO=1 cases, 107.ch2 peels the inner loop header, so there is an i<=max test in the outer loop before the inner loop. However, in the

[Bug ipa/69589] [6 Regression] ICE in initialize_node_lattices, at ipa-cp.c:971

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 --- Comment #19 from Jan Hubicka --- Author: hubicka Date: Thu Mar 10 16:11:14 2016 New Revision: 234115 URL: https://gcc.gnu.org/viewcvs?rev=234115=gcc=rev Log: PR lto/69589 * cgraph.c (cgraph_node::dump): Dump split_part and

[Bug other/70165] New: build failure in libgcj-6.0.0.jar

2016-03-10 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70165 Bug ID: 70165 Summary: build failure in libgcj-6.0.0.jar Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: other

[Bug lto/69630] [6 Regression] LTO ICE in types_same_for_odr at ipa-devirt.c:402

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69630 --- Comment #8 from Jan Hubicka --- Author: hubicka Date: Thu Mar 10 16:05:59 2016 New Revision: 234114 URL: https://gcc.gnu.org/viewcvs?rev=234114=gcc=rev Log: PR ipa/69630 * ipa-devirt.c (possible_polymorphic_call_targets): Do

[Bug lto/69630] [6 Regression] LTO ICE in types_same_for_odr at ipa-devirt.c:402

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69630 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2016-03-10 Thread davejohansen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 --- Comment #19 from Dave Johansen --- (In reply to kargl from comment #18) > (In reply to Dave Johansen from comment #17) > > (In reply to kargl from comment #16) > > > See the fortran@ mailinglist archive. Fritz posted a patch against > > >

[Bug ipa/69589] [6 Regression] ICE in initialize_node_lattices, at ipa-cp.c:971

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 --- Comment #18 from Jan Hubicka --- Author: hubicka Date: Thu Mar 10 16:02:55 2016 New Revision: 234113 URL: https://gcc.gnu.org/viewcvs?rev=234113=gcc=rev Log: PR lto/69589 * tree.c (free_lang_data_in_decl): Clear visibility

[Bug ipa/69589] [6 Regression] ICE in initialize_node_lattices, at ipa-cp.c:971

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69589 --- Comment #17 from Jan Hubicka --- Author: hubicka Date: Thu Mar 10 16:02:00 2016 New Revision: 234112 URL: https://gcc.gnu.org/viewcvs?rev=234112=gcc=rev Log: PR lto/69589 * tree.c (need_assembler_name_p): Only record main

[Bug middle-end/70127] [6 Regression] wrong code on x86_64-linux-gnu at -O3 in 32-bit and 64-bit modes

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70127 --- Comment #14 from Jakub Jelinek --- (In reply to Martin Jambor from comment #11) > Well, e has size 64 bits and the replacements created for it have 32 > and 2 bits respectively and so in the simple SRA reprezentation of > things, there are

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2016-03-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 --- Comment #18 from kargl at gcc dot gnu.org --- (In reply to Dave Johansen from comment #17) > (In reply to kargl from comment #16) > > See the fortran@ mailinglist archive. Fritz posted a patch against > > 4.8 branch. > > Are the patches

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2016-03-10 Thread davejohansen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 --- Comment #17 from Dave Johansen --- (In reply to kargl from comment #16) > See the fortran@ mailinglist archive. Fritz posted a patch against > 4.8 branch. Are the patches that were posted against 6.0? > That patch will never be committed

[Bug c++/70153] [6 Regression] ICE on valid C++ code

2016-03-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70153 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2016-03-10 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 --- Comment #16 from kargl at gcc dot gnu.org --- (In reply to Dave Johansen from comment #14) > Are the patches for 4.8 available or can they be made available? I would > like to make a Software Collection (SCL) of version of 4.8 with these >

[Bug c++/70153] [6 Regression] ICE on valid C++ code

2016-03-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70153 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Thu Mar 10 15:13:01 2016 New Revision: 234111 URL: https://gcc.gnu.org/viewcvs?rev=234111=gcc=rev Log: PR c++/70153 * cp-gimplify.c (cp_fold): Handle UNARY_PLUS_EXPR.

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2016-03-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 --- Comment #15 from Dominique d'Humieres --- > Are the patches for 4.8 available or can they be made available? I would like > to make a Software Collection (SCL) of version of 4.8 with these patches so > it could be used on RHEL 6/7 without

[Bug fortran/56226] Add support for DEC UNION and MAP extensions

2016-03-10 Thread davejohansen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56226 --- Comment #14 from Dave Johansen --- Are the patches for 4.8 available or can they be made available? I would like to make a Software Collection (SCL) of version of 4.8 with these patches so it could be used on RHEL 6/7 without having to jump

[Bug rtl-optimization/68695] [6 Regression] Performance regression related to ssa patch / ifcvt

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68695 --- Comment #22 from Jakub Jelinek --- Going back to variants of the original testcase: int foo (int x, int y, int a) { int i = x; int j = y; #ifdef EX1 if (__builtin_expect (x > y, 1)) #elif defined EX0 if (__builtin_expect (x > y, 0))

[Bug c++/70029] [6 Regression] ICE with C++11 and -flto

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70029 Jan Hubicka changed: What|Removed |Added CC||jason at redhat dot com --- Comment #5

[Bug rtl-optimization/70160] [6 Regression] gcc ICE at -O2 (seg fault) and above on valid code on x86_64-linux-gnu

2016-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70160 --- Comment #7 from Jakub Jelinek --- (In reply to Ilya Enkovich from comment #6) > Thanks a lot for your analysis! When chain is built we scan all register > definitions and their uses. Thus it includes all register definitions and > uses.

[Bug target/70113] [AArch64] -mpc-relative-literal-loads conflicts with fix-cortex-a53-843419

2016-03-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70113 --- Comment #3 from Christophe Lyon --- Author: clyon Date: Thu Mar 10 13:29:48 2016 New Revision: 234108 URL: https://gcc.gnu.org/viewcvs?rev=234108=gcc=rev Log: 2016-03-10 Christophe Lyon PR

[Bug lto/69630] [6 Regression] LTO ICE in types_same_for_odr at ipa-devirt.c:402

2016-03-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69630 Jan Hubicka changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/69493] Poor code generation for return of struct containing vectors on PPC64LE

2016-03-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69493 --- Comment #5 from Segher Boessenkool --- Ah, needs -mlittle, not just -mabi=elfv2.

[Bug target/70048] [6 Regression][AArch64] Inefficient local array addressing

2016-03-10 Thread wdijkstr at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #15 from Wilco --- (In reply to Richard Biener from comment #14) > The regression in the original description looks severe enough to warrant > some fixing even if regressing some other cases. Agreed, I think the improvement from

[Bug rtl-optimization/70160] [6 Regression] gcc ICE at -O2 (seg fault) and above on valid code on x86_64-linux-gnu

2016-03-10 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70160 Ilya Enkovich changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/69489] missed vectorization for boolean loop, missed if-conversion

2016-03-10 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69489 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org ---

[Bug c++/70139] [5/6 Regression] -fno-ellide-constructor makes static std::regex to throw

2016-03-10 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70139 --- Comment #3 from Viktor Ostashevskyi --- Could be the same problem as in PR70145.

[Bug target/70113] [AArch64] -mpc-relative-literal-loads conflicts with fix-cortex-a53-843419

2016-03-10 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70113 --- Comment #2 from Christophe Lyon --- (In reply to Christophe Lyon from comment #0) > This is a follow-up to PR 633304. I meant bug #63304

[Bug ipa/70161] [4.9/5/6 Regression] fdump-ipa-all-graph causes segfault

2016-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70161 Richard Biener changed: What|Removed |Added Priority|P3 |P2

  1   2   >