[Bug tree-optimization/70144] [4.9/5 Regression] g++ ICE at -O1 and above on valid code on x86_64-linux-gnu in "copy_reference_ops_from_ref"

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70144 Jakub Jelinek changed: What|Removed |Added Summary|[4.9/5/6 Regression] g++|[4.9/5 Regression] g++ ICE

[Bug fortran/70260] ICE: gimplification failed

2016-03-19 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70260 --- Comment #1 from Gerhard Steinmetz --- Another situation : $ cat z3.f90 subroutine s (f) integer, external :: f, g integer :: h g = f(2) h = g(2) end $ gfortran-6 -c z3.f90 gimplification failed: g QI

[Bug c++/70145] g++-5 and g++-6: invalid code generated for -fno-elide-constructors and constexpr array

2016-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70145 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2016-03-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70139 --- Comment #18 from Jason Merrill --- Author: jason Date: Fri Mar 18 20:17:04 2016 New Revision: 234346 URL: https://gcc.gnu.org/viewcvs?rev=234346&root=gcc&view=rev Log: PR c++/70139 * constexpr.c (cxx_eval_call_expression): Do

[Bug target/67896] Inconsistent behaviour between C and C++ for types poly8x8_t and poly16x8_t

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67896 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Com

[Bug middle-end/70273] [6 regression] FAIL: g++.dg/ext/label13a.C -std=gnu++98 execution test / scan-assembler _ZN1CC4Ev

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70273 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/70264] [6 Regression] ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490)

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

[Bug c++/70218] [5/6 Regression] Illegal access to private fields succeeds with 5/6

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70218 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug middle-end/70273] [6 regression] FAIL: g++.dg/ext/label13a.C -std=gnu++98 execution test / scan-assembler _ZN1CC4Ev

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70273 --- Comment #3 from Jakub Jelinek --- I think the problem is that after the r234261 change the new flag is set only during gimplification, which is too late for the C++ ctors and dtors, which need to check copy_forbidden already before gimplifica

[Bug c++/70295] [6 Regression] bogus -Wnonnull-compare for "dynamic_cast(this) != nullptr"

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70295 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/70271] [6 Regression] internal compiler error: in dwarf2out_finish, at dwarf2out.c:27346

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70271 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/70262] Segmentation fault with large stack array, no fault when alloca the same size

2016-03-19 Thread nickdu at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70262 --- Comment #4 from nickdu at msn dot com --- That doesn't explain why it works with alloca(). > From: gcc-bugzi...@gcc.gnu.org > To: nic...@msn.com > Subject: [Bug c/70262] Segmentation fault with large stack array, no fault > when alloca the s

[Bug c/70281] New: valgrind error in can_be_stored_compactly_p (line-map.c:148)

2016-03-19 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70281 Bug ID: 70281 Summary: valgrind error in can_be_stored_compactly_p (line-map.c:148) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Pri

[Bug driver/70192] -fno-pic doesn't work with --enable-default-pie

2016-03-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70192 --- Comment #8 from H.J. Lu --- (In reply to psturm from comment #7) > Built hjl/pr70192 both with and without --enable-default-pie. The test > results were almost identical, the only difference being the number of test > cases run. gcc didn't ha

[Bug other/70185] fdump-tree-all-graph produces invalid dot files

2016-03-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70185 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/70288] ICE with -O1 -fno-tree-dominator-opts

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70288 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog, |

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

2016-03-19 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #22 from Richard Henderson --- Author: rth Date: Wed Mar 16 21:23:05 2016 New Revision: 234269 URL: https://gcc.gnu.org/viewcvs?rev=234269&root=gcc&view=rev Log: PR target/70048 * config/aarch64/aarch64.c (virt_or_elim_regno_p): N

[Bug c/70306] New: wrong code at -O2 and -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu [related to __attribute__((destructor)) and __attribute__((constructor))]

2016-03-19 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70306 Bug ID: 70306 Summary: wrong code at -O2 and -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu [related to __attribute__((destructor)) and __attribute__((constructo

[Bug rtl-optimization/70263] [4.9/5/6 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)

2016-03-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70263 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #3 fr

[Bug other/70268] add option -ffile-prefix-map to map one directory name (old) to another (new) in __FILE__, __BASE_FILE__and __builtin_FILE()

2016-03-19 Thread hongxu.jia at windriver dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70268 --- Comment #3 from hongxu jia --- (In reply to Richard Biener from comment #2) > IMHO it doesn't make sense to prune system header paths here and having them > is desired. Hi Richard, It is just a simple example to explain the requirements.

[Bug rtl-optimization/70284] ICE: in replace_rtx at rtlanal.c for mips n32

2016-03-19 Thread faraz.shahbazker at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70284 Faraz Shahbazker changed: What|Removed |Added CC||faraz.shahbazker at imgtec dot com -

[Bug lto/70283] New: [6 regression] bogus vtable mismatch warnings

2016-03-19 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70283 Bug ID: 70283 Summary: [6 regression] bogus vtable mismatch warnings Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: l

[Bug c++/70259] [6 Regression] -flifetime-dse=2 bug with empty bases

2016-03-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70259 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/70307] New: [6 Regression] ICE: in gimplify_expr, at gimplify.c:10915 on valid code

2016-03-19 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70307 Bug ID: 70307 Summary: [6 Regression] ICE: in gimplify_expr, at gimplify.c:10915 on valid code Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-va

[Bug ipa/70306] [5/6 Regression] wrong code at -O2 and -O3 in 32-bit and 64-bit mode on x86_64-linux-gnu [related to __attribute__((destructor)) and __attribute__((constructor))]

2016-03-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70306 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Comp

[Bug c++/70286] New: ICE on template specialization

2016-03-19 Thread rippey.e at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70286 Bug ID: 70286 Summary: ICE on template specialization Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug middle-end/70245] [6 Regression] Miscompilation of ICU on i386 with atom tuning starting with r227382

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70245 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Wed Mar 16 17:52:20 2016 New Revision: 234265 URL: https://gcc.gnu.org/viewcvs?rev=234265&root=gcc&view=rev Log: PR target/70245 * rtlanal.c (replace_rtx): For REG, if fr

[Bug sanitizer/70147] [6 Regression] testcase from hana testsuite gets miscompiled with -fsanitize=undefined

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70147 --- Comment #23 from Jakub Jelinek --- Consider: // PR c++/70147 // { dg-do run } // { dg-options "-fsanitize=vptr" } static int ac, ad, bc, bd, cc, cd, dc, dd; struct A { A () { ac++; } virtual void f () {} ~A () { ad++; }; }; struct D { D (int

[Bug tree-optimization/70252] ICE in vect_get_vec_def_for_stmt_copy with -O3 -march=skylake-avx512.

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

[Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math

2016-03-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70255 --- Comment #9 from joseph at codesourcery dot com --- I should point out that there is a proposed standard way of controlling various floating-point optimizations, in the form of pragmas in draft TS 18661-5 (current public draft N2004) (in thi

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2016-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 --- Comment #17 from Jonathan Wakely --- Yes, I think we need to do that, because even if glibc were to change that wouldn't help on non-gnu targets.

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

2016-03-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #8 from H.J. Lu --- (In reply to psturm from comment #7) > Created attachment 38007 [details] > test suite summary > > I built hjl/pr70150 branch and while the prior test suite failures are gone, > 6 new ones appeared. Full test suit

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

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70113 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2016-03-19 Thread psturm at computervoice dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 --- Comment #9 from psturm at computervoice dot com --- I didn't finish the full system build with --enable default-pie yet. I'll build it without next and let you know.

[Bug c++/70299] New: pow(long double, int) gives more imprecise result than pow(long double,long double) in c++03 mode

2016-03-19 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70299 Bug ID: 70299 Summary: pow(long double, int) gives more imprecise result than pow(long double,long double) in c++03 mode Product: gcc Version: 5.2.1 Status: UNCONFIRMED

[Bug fortran/69604] ICE in gfc_add_modify_loc, at fortran/trans.c:159

2016-03-19 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69604 --- Comment #5 from Harald Anlauf --- The problem in case for is in the l.h.s. of the assignment, not the r.h.s: program p complex :: z[*] real:: x[*], y ! z = x / cmplx(0.0, x) z = 1 / cmplx(y) end pr69604-z4.f90:5:0: z = 1

[Bug target/70290] -mavx512vl breaks parsing of C++ vector condition

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70290 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/70299] pow(long double, int) gives more imprecise result than pow(long double,long double) in c++03 mode

2016-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70299 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/70272] New: [5/6 Regression] -flifetime-dse miscompilation starting with r217967

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70272 Bug ID: 70272 Summary: [5/6 Regression] -flifetime-dse miscompilation starting with r217967 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70205] [4.9/5/6 Regression] ICE on valid code on x86_64-linux-gnu: tree check: expected tree_binfo, have error_mark in add_candidates, at cp/call.c:5283

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70205 --- Comment #5 from Marek Polacek --- This patch makes us compile the testcase and also passes dg.exp testsuite. But my understanding of BASELINK stuff is too weak to gauge whether this is reasonable approach. --- a/gcc/cp/call.c +++ b/gcc/cp/c

[Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math

2016-03-19 Thread shatz at dsit dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70255 --- Comment #8 from shatz at dsit dot co.il --- Now a bit of philosophy. Bugs aside, I should say that use of function attribute optimize() does not look to me as an ideal solution for forcing ISO rules. >From theoretical point of view, when we a

[Bug c++/70301] missing diagnostic on taking the address of a temporary

2016-03-19 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70301 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/70261] [6 Regression] r234265 causes fails on rs6000

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70261 --- Comment #5 from Jakub Jelinek --- Looking at 20011029-1.c -Os on ppc64le, replace_rtx is called from rs6000_frame_related from rs6000_emit_prologue, on a large parallel containing (use (reg:DI 12 12)) and from is: (reg:DI 12 12) (but not poin

[Bug tree-optimization/70251] Wrong code with -O3 -march=skylake-avx512.

2016-03-19 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251 Ilya Enkovich changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/69047] memcpy of 64-bit integer to 32-bit integer causes pointless stack operations on ARM

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69047 Ramana Radhakrishnan changed: What|Removed |Added Keywords||missed-optimization T

[Bug middle-end/70280] New: -fcompare-debug failure (length) with --param=integer-share-limit=4016 -mavx512bw

2016-03-19 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70280 Bug ID: 70280 Summary: -fcompare-debug failure (length) with --param=integer-share-limit=4016 -mavx512bw Product: gcc Version: 6.0 Status: UNCONFIRMED Severity:

[Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption)

2016-03-19 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68566 --- Comment #6 from Harald Anlauf --- (In reply to Harald Anlauf from comment #5) The patch in comment #5 regtests without new failures. It appears that a testcase based on comment #4 is sufficient: Index: gcc/testsuite/gfortran.dg/pr68566.f90

[Bug tree-optimization/70274] optimization goes astray and adds completely redundant code

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70274 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug c++/70267] ICE on valid code at -O1 and above on x86_64-linux-gnu in propagate_necessity, at tree-ssa-dce.c:924

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70267 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Fri Mar 18 07:59:36 2016 New Revision: 234319 URL: https://gcc.gnu.org/viewcvs?rev=234319&root=gcc&view=rev Log: PR c++/70267 * init.c (build_new_1): Complain and return e

[Bug lto/70289] [openacc] ICE in input_varpool_node

2016-03-19 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70289 Thomas Schwinge changed: What|Removed |Added Keywords||openacc Status|UNCONFIRMED

[Bug c++/70267] ICE on valid code at -O1 and above on x86_64-linux-gnu in propagate_necessity, at tree-ssa-dce.c:924

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70267 Richard Biener changed: What|Removed |Added Component|tree-optimization |c++ --- Comment #3 from Richard Biener

[Bug target/70296] Incorrect handling of vector X; if X is function-like macro

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70296 Jakub Jelinek changed: What|Removed |Added Target||powerpc*-linux* Status|UNCON

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

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

[Bug c++/70299] pow(long double, int) gives more imprecise result than pow(long double,long double) in c++03 mode

2016-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70299 --- Comment #2 from Jonathan Wakely --- The difference is due to a change between C++03 and C++11, see http://cplusplus.github.io/LWG/lwg-defects.html#550, but I don't know why the calls to __builtin_powl and __builtin_powil should give different

[Bug rtl-optimization/70261] New: r234265 causes fails on rs6000

2016-03-19 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70261 Bug ID: 70261 Summary: r234265 causes fails on rs6000 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug target/70232] [6 regression] excessive stack usage with -O2

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70232 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.0 --- Comment #7 from Richard Biener

[Bug driver/70192] -fno-pic doesn't work with --enable-default-pie

2016-03-19 Thread psturm at computervoice dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70192 --- Comment #7 from psturm at computervoice dot com --- Built hjl/pr70192 both with and without --enable-default-pie. The test results were almost identical, the only difference being the number of test cases run. gcc didn't have any issues, but g

[Bug rtl-optimization/70261] [6 Regression] r234265 causes fails on rs6000

2016-03-19 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70261 Richard Henderson changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libquadmath/68686] tgammaq(x) is always negative for noninteger x < 0

2016-03-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68686 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/70144] [4.9/5/6 Regression] g++ ICE at -O1 and above on valid code on x86_64-linux-gnu in "copy_reference_ops_from_ref"

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70144 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Mar 17 15:58:22 2016 New Revision: 234297 URL: https://gcc.gnu.org/viewcvs?rev=234297&root=gcc&view=rev Log: PR c++/70144 * cp-tree.h (magic_varargs_p): Return int ins

[Bug target/70232] [6 regression] excessive stack usage with -O2

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

[Bug middle-end/68215] [6 regression] FAIL: c-c++-common/opaque-vector.c -std=c++11 (internal compiler error)

2016-03-19 Thread rth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68215 --- Comment #6 from Richard Henderson --- Author: rth Date: Wed Mar 16 23:53:10 2016 New Revision: 234272 URL: https://gcc.gnu.org/viewcvs?rev=234272&root=gcc&view=rev Log: Revert r231575 PR middle-end/70240 PR middle-end/68215 2015-12-11

[Bug c/70093] Instancing function with VM return type cases internal compiler error in 'assign_stack_temp_for_type'.

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70093 --- Comment #13 from Marek Polacek --- Author: mpolacek Date: Wed Mar 16 15:51:47 2016 New Revision: 234259 URL: https://gcc.gnu.org/viewcvs?rev=234259&root=gcc&view=rev Log: PR c/70093 * c-typeck.c (build_function_call_vec): Cre

[Bug testsuite/69766] go.test/test/env.go fails on biarch

2016-03-19 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69766 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/70273] [6 regression] FAIL: g++.dg/ext/label13a.C -std=gnu++98 execution test / scan-assembler _ZN1CC4Ev

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70273 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug c/70255] change of the order of summation of floating point numbers despite no-associative-math

2016-03-19 Thread shatz at dsit dot co.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70255 --- Comment #7 from shatz at dsit dot co.il --- (In reply to Richard Biener from comment #1) > Confirmed. The issue seems to be that you add the optimize attribute after > the function definition. > > This causes .original to be already > > ;;

[Bug c/70308] New: memset generates rep stosl instead of rep stosq

2016-03-19 Thread socketpair at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70308 Bug ID: 70308 Summary: memset generates rep stosl instead of rep stosq Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c

[Bug rtl-optimization/69047] memcpy of 64-bit integer to 32-bit integer causes pointless stack operations on ARM

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69047 --- Comment #2 from Ramana Radhakrishnan --- Might be related to PR36409 and PR49157

[Bug c++/70285] [6 Regression] ICE on valid code on x86_64-linux-gnu: verify_gimple failed

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70285 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

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

2016-03-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70150 H.J. Lu changed: What|Removed |Added Component|c |testsuite --- Comment #6 from H.J. Lu --- The

[Bug rtl-optimization/70278] [6 regression] LRA ICE on trunk for ARM Thumb1 with Os

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70278 Ramana Radhakrishnan changed: What|Removed |Added Keywords||ice-on-valid-code Sta

[Bug libstdc++/70276] New: Writing to standard output concurrently through `std::cout` triggers a datarace

2016-03-19 Thread stefan at vectorfabrics dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70276 Bug ID: 70276 Summary: Writing to standard output concurrently through `std::cout` triggers a datarace Product: gcc Version: 4.9.4 Status: UNCONFIRMED Severity:

[Bug tree-optimization/70251] Wrong code with -O3 -march=skylake-avx512.

2016-03-19 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251 --- Comment #3 from rguenther at suse dot de --- On Wed, 16 Mar 2016, ienkovich at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251 > > --- Comment #2 from Ilya Enkovich --- > Here is a responsible match.pd pattern:

[Bug c/70264] New: ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490)

2016-03-19 Thread chengniansun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70264 Bug ID: 70264 Summary: ICE at -O0 to -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu (compatible_locations_p, at diagnostic-show-locus.c:490) Product: gcc

[Bug ipa/70269] [5/6 Regression] ICE with -fdump-ipa-pta-graph -fipa-pta

2016-03-19 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70269 vries at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code, patch

[Bug target/70296] New: Incorrect handling of vector X; if X is function-like macro

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70296 Bug ID: 70296 Summary: Incorrect handling of vector X; if X is function-like macro Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Prio

[Bug sanitizer/70147] [6 Regression] testcase from hana testsuite gets miscompiled with -fsanitize=undefined

2016-03-19 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70147 --- Comment #26 from Bernd Edlinger --- I just fail to understand why we cannot just clobber the whole object once in the in-charge constructor, then if sanitizing vptrs initialize every vptr once to zero. and skip all the clobber and vptr initia

[Bug testsuite/70227] pr69589 does not check for -rdynamic availability

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70227 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/70309] New: wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2016-03-19 Thread chengniansun at gmail dot com
-languages=c,c++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160319 (experimental) [trunk revision 234350] (GCC) $: $: gcc-trunk -O2 small.c ; ./a.out ; echo $? 1 $: gcc-trunk -O1 small.c ; ./a.out ; echo $? 0 $: gcc-4.8 -O3 small.c ; ./a.out ; echo $? 1

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

2016-03-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64058 --- Comment #20 from Jeffrey A. Law --- And FWIW, the test in this BZ is totally compromised on the trunk. Two primary reasons. First DOM does a much better job at finding & eliminating redundant loads. Second, erroneous path isolation finds

[Bug tree-optimization/70251] Wrong code with -O3 -march=skylake-avx512.

2016-03-19 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70251 Ilya Enkovich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/70284] New: ICE: in replace_rtx at rtlanal.c for mips n32

2016-03-19 Thread faraz.shahbazker at imgtec dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70284 Bug ID: 70284 Summary: ICE: in replace_rtx at rtlanal.c for mips n32 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-o

[Bug c++/70259] [6 Regression] -flifetime-dse=2 bug with empty bases

2016-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70259 --- Comment #1 from Jonathan Wakely --- Another reproducer: struct Empty { }; struct A { A() : a(true) { } bool a; }; struct B : Empty { B() : Empty() { } }; struct C : A, B { C() : A(), B() { } }; int main() { C c; if ( c.a == false ) _

[Bug rtl-optimization/70030] [LRA]ICE when reload insn with output scratch operand

2016-03-19 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70030 --- Comment #4 from Ramana Radhakrishnan --- (In reply to Vladimir Makarov from comment #3) > (In reply to Ramana Radhakrishnan from comment #2) > > Waiting. > > Actually, I have a candidate patch to deal with scratches created during > LRA. Bu

[Bug c++/70295] [6 Regression] bogus -Wnonnull-compare for "dynamic_cast(this) != nullptr"

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70295 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug rtl-optimization/70224] [6 regression] ICE: RTL flag check: CROSSING_JUMP_P used with unexpected rtx code 'insn' in relax_delay_slots, at reorg.c:3310

2016-03-19 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70224 --- Comment #9 from Jeffrey A. Law --- So I realized that given the nature of this bug a simple bootstrap on sparc wasn't going to be particularly interesting -- bootstraps don't tickle this code (if they did, it'd fault in a manner similar to Ra

[Bug c/70309] wrong code at -O2 and -O3 in both 32-bit and 64-bit modes on x86_64-linux-gnu

2016-03-19 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70309 --- Comment #1 from Andrew Pinski --- Does adding -fno-strict-aliasing "fix" the issue?

[Bug tree-optimization/70287] RTL LSM very slow with very many loads/stores in a BB

2016-03-19 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70287 Richard Biener changed: What|Removed |Added Keywords||compile-time-hog Status|UNC

[Bug fortran/68566] ICE on using unusable array in reshape (double free or corruption)

2016-03-19 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68566 --- Comment #4 from Gerhard Steinmetz --- Simplified a bit : $ cat z7.f90 program p integer, parameter :: a(:) = 1 integer, parameter :: b(2,2) = reshape([a], [2,2]) end $ gfortran-6 z7.f90 *** Error in `/usr/lib64/gcc/x86_64-suse-linu

[Bug c++/70272] [5/6 Regression] -flifetime-dse miscompilation starting with r217967

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70272 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Thu Mar 17 15:56:19 2016 New Revision: 234296 URL: https://gcc.gnu.org/viewcvs?rev=234296&root=gcc&view=rev Log: PR c++/70272 * decl.c (begin_destructor_body): Don't inser

[Bug c/70262] Segmentation fault with large stack array, no fault when alloca the same size

2016-03-19 Thread nickdu at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70262 --- Comment #2 from nickdu at msn dot com --- Why is this resolved as invalid? I realize I can increase my stack size. However, I believe I'm currently under the limit. In addition, alloca of the same size works.

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

2016-03-19 Thread jiwang at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70048 --- Comment #21 from Jiong Wang --- (In reply to Richard Henderson from comment #19) > (In reply to Jiong Wang from comment #16) > > But there is a performance issue as described at > > > > https://gcc.gnu.org/ml/gcc-patches/2016-02/msg00281.ht

[Bug c++/70254] Compiler crash

2016-03-19 Thread dannix84 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70254 --- Comment #3 from Daniel --- Created attachment 37992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37992&action=edit test case g++ -m64 -g -Wall -Wextra -pipe -fvisibility=default -x c++ -std=c++14 -fPIC example.cpp results in a cras

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

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602 Marek Polacek changed: What|Removed |Added Target Milestone|6.0 |7.0 Summary|[6 Regression]

[Bug middle-end/70273] [6 regression] FAIL: g++.dg/ext/label13a.C -std=gnu++98 execution test / scan-assembler _ZN1CC4Ev

2016-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70273 --- Comment #5 from Jakub Jelinek --- Or better yet decide whether to walk the initializers or not based on !gimple_body (fndecl) && !fun->cfg ?

[Bug driver/70192] -fno-pic doesn't work with --enable-default-pie

2016-03-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70192 --- Comment #9 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Mar 17 15:11:35 2016 New Revision: 234295 URL: https://gcc.gnu.org/viewcvs?rev=234295&root=gcc&view=rev Log: Properly set flag_pie and flag_pic We can't set flag_pie to the de

[Bug libstdc++/66146] call_once not C++11-compliant on ppc64le

2016-03-19 Thread nsz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66146 nsz at gcc dot gnu.org changed: What|Removed |Added CC||anthony.ajw at gmail dot com ---

[Bug rtl-optimization/70263] [4.9/5/6 Regression] ICE at -O1 and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (segmentation fault)

2016-03-19 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70263 --- Comment #6 from Alan Modra --- Created attachment 38017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38017&action=edit possible fix Maybe something as simple as this?

[Bug c/69407] -Wunused-value on __atomic_fetch_OP and __atomic_OP_fetch

2016-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69407 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Thu Mar 17 18:43:08 2016 New Revision: 234304 URL: https://gcc.gnu.org/viewcvs?rev=234304&root=gcc&view=rev Log: PR c/69407 * c-common.c (resolve_overloaded_builtin): S

[Bug tree-optimization/70310] New: [6 Regression] wrong code with vector compare at -O0

2016-03-19 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70310 Bug ID: 70310 Summary: [6 Regression] wrong code with vector compare at -O0 Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

  1   2   3   4   >