[Bug c++/70513] New: ICE on invalid C++ code on x86_64-linux-gnu: Segmentation fault

2016-04-01 Thread su at cs dot ucdavis.edu
++,lto --prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160401 (experimental) [trunk revision 234665] (GCC) $ $ g++-trunk -c small.cpp small.cpp:4:29: internal compiler error: Segmentation fault enum D::Color { R, G, B } c

[Bug c++/70512] New: ICE on valid code on x86_64-linux-gnu: canonical types differ for identical types

2016-04-01 Thread su at cs dot ucdavis.edu
--prefix=/usr/local/gcc-trunk --disable-bootstrap Thread model: posix gcc version 6.0.0 20160401 (experimental) [trunk revision 234665] (GCC) $ $ g++-5.3 -c small.cpp $ $ g++-trunk -c small.cpp small.cpp: In member function ‘S& S::operator=(int)’: small.cpp:5:13: internal compiler error: canon

[Bug c++/70449] [6 Regression] ICE with -Wall on valid code on x86_64-linux-gnu in pp_string, at pretty-print.c:928

2016-04-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70449 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70344] [6 Regression] ICE on valid code at -O1 and above on x86_64-linux-gnu in adjust_temp_type, at cp/constexpr.c:1078

2016-04-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70344 --- Comment #6 from Jason Merrill --- Author: jason Date: Sat Apr 2 01:35:45 2016 New Revision: 234695 URL: https://gcc.gnu.org/viewcvs?rev=234695&root=gcc&view=rev Log: PR c++/70449 PR c++/70344 * pt.c (instantiate_dec

[Bug c++/70449] [6 Regression] ICE with -Wall on valid code on x86_64-linux-gnu in pp_string, at pretty-print.c:928

2016-04-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70449 --- Comment #10 from Jason Merrill --- Author: jason Date: Sat Apr 2 01:35:45 2016 New Revision: 234695 URL: https://gcc.gnu.org/viewcvs?rev=234695&root=gcc&view=rev Log: PR c++/70449 PR c++/70344 * pt.c (instantiate_de

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c/70378] wrong warning with -Wconversion with explicit cast

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70378 Manuel López-Ibáñez changed: What|Removed |Added Target|x86_64-w64-mingw32 | Status|UNCONFIRMED

[Bug c++/70336] [5/6 regression] Incorrect Wconversion warning

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70336 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO

[Bug testsuite/49503] Incorrect stack alignment, produced by inline assembler in tests gcc.target/i386/cleanup-1.c and gcc.target/i386/cleanup-2.c

2016-04-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49503 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/70364] gcc.target/i386/cleanup-[12].c don't align stack properly

2016-04-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70364 H.J. Lu changed: What|Removed |Added CC||michael.v.zolotukhin@gmail.

[Bug target/70439] Incorrect DRAP check in ix86_expand_epilogue

2016-04-01 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70439 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Apr 2 00:24:44 2016 New Revision: 234693 URL: https://gcc.gnu.org/viewcvs?rev=234693&root=gcc&view=rev Log: Add missing ChangeLog entry for PR target/70439 Modified: trun

[Bug testsuite/70364] gcc.target/i386/cleanup-[12].c don't align stack properly

2016-04-01 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70364 --- Comment #3 from hjl at gcc dot gnu.org --- Author: hjl Date: Sat Apr 2 00:18:41 2016 New Revision: 234692 URL: https://gcc.gnu.org/viewcvs?rev=234692&root=gcc&view=rev Log: Add missing ChangeLog entry for PR testsuite/70364 Modified: t

[Bug c++/70507] integer overflow builtins not constant expressions

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70507 Martin Sebor changed: What|Removed |Added Keywords||rejects-valid Known to fail|

[Bug libstdc++/70511] New: tuple constructor from elements hides copy constructor

2016-04-01 Thread ivan.lelann at free dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70511 Bug ID: 70511 Summary: tuple constructor from elements hides copy constructor Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/70509] wrong code with extract from a casted vector(64)

2016-04-01 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70509 --- Comment #1 from Zdenek Sojka --- Created attachment 38161 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38161&action=edit reduced testcase, without casts Output: $ sde64 -- ./a.out 0009 Aborted

[Bug target/70510] New: ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast

2016-04-01 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70510 Bug ID: 70510 Summary: ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast Product: gcc Version: 6.0 Status: UNCONFIRMED S

[Bug tree-optimization/70509] New: wrong code with extract from a casted vector(64)

2016-04-01 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70509 Bug ID: 70509 Summary: wrong code with extract from a casted vector(64) Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Prio

[Bug other/70508] New: libstdc++.*-gdb.py': No such file or directory

2016-04-01 Thread fedor_qd at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70508 Bug ID: 70508 Summary: libstdc++.*-gdb.py': No such file or directory Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ot

[Bug bootstrap/25470] [4.9/5/6 Regression] fixincludes/ subdirectory not cleaned by "make distclean"

2016-04-01 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25470 --- Comment #23 from Eric Gallager --- (In reply to Eric Gallager from comment #22) > This seems to be fixed; the only subdir that fails to distclean properly for > me currently is libcc1... ...which is Bug 70173

[Bug c/68120] can't easily deal with integer overflow at compile time

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68120 --- Comment #3 from Martin Sebor --- I raised c++/70507 to make a record of another problem caused by the built-ins not being treated as constant expressions.

[Bug c++/70507] New: integer overflow builtins not constant expressions

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70507 Bug ID: 70507 Summary: integer overflow builtins not constant expressions Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc

2016-04-01 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2016-04-01 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #50 from François Dumont --- This performance issue is a result of fixing: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41975 It resulted in many more modulo operations and so expensive float divisions. I plan to commit an alternat

[Bug target/64971] [5/6 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-04-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 --- Comment #9 from Jeffrey A. Law --- Seems rather hackish to start accepting non-Pmode for the address. Though looking at the docs, I guess it's not strictly incorrect. The @code{symbol_ref} contains a mode, which is usually @code{Pmode}. Usu

[Bug middle-end/70506] New: [CilkPlus] error: location references block not in block tree

2016-04-01 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70506 Bug ID: 70506 Summary: [CilkPlus] error: location references block not in block tree Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-checking

[Bug c++/70505] New: Constexpr failure when template type specified

2016-04-01 Thread vince.rev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70505 Bug ID: 70505 Summary: Constexpr failure when template type specified Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/68236] [6 Regression] selective scheduling with --param=sched-autopref-queue-depth=10 ICEs a lot @ aarch64

2016-04-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68236 --- Comment #5 from Christophe Lyon --- Author: clyon Date: Fri Apr 1 17:35:12 2016 New Revision: 234680 URL: https://gcc.gnu.org/viewcvs?rev=234680&root=gcc&view=rev Log: Backport from mainline r230088 2015-11-10 Kyrylo Tkach

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm

2016-04-01 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #9 from Vladimir Makarov --- (In reply to Jeffrey A. Law from comment #8) > I understand the issues around heuristics. > > Presumably this is the code which identifies cases where we have a single > use register with an associated RE

[Bug target/70482] Opimization opportunity to vectorize basic block for -mavx target.

2016-04-01 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70482 --- Comment #2 from Yuri Rumyantsev --- Richard, The problem is in pattern matching: /* Pattern detected. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "vect_recog_widen_mult_pattern: detected

[Bug sanitizer/70474] [4.9 Regression] Several hundred asan failures with 4.9.4 on x86_64-apple-darwin15

2016-04-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70474 --- Comment #3 from Dominique d'Humieres --- > > Does this patch fix the problem? > > From preliminary tests, yes. Thanks for the prompt answer. Confirmed after a clean bootstrap, results with the patch posted at https://gcc.gnu.org/ml/gcc-testr

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm

2016-04-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #8 from Jeffrey A. Law --- I understand the issues around heuristics. Presumably this is the code which identifies cases where we have a single use register with an associated REG_EQUIV note and we move the insn that sets the equival

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #10 from Bill Schmidt --- Ok, sounds good. I have vacation this afternoon, but will revisit this over the weekend or Monday.

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Apr 1 16:08:21 2016 New Revision: 234679 URL: https://gcc.gnu.org/viewcvs?rev=234679&root=gcc&view=rev Log: PR rtl-optimization/70467 * config/i386/i386.md (*add3_dou

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #9 from Jakub Jelinek --- I've missed the pass_optimize_widening_mul::execute in your patch, that is also another spot where you'd want to call it. But the sincos hunks should be safe as is.

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #8 from Bill Schmidt --- The tree-inline part only shows up after fixing the part in tree-ssa-math-opts.c, where the initial failure occurs. The DECL is already encoded as a BUILT_IN_POW by the time we get that far.

[Bug libstdc++/70503] [4.9/5/6 Regression] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Jonathan Wakely changed: What|Removed |Added Known to work||4.3.6 Summary|extern "C" fu

[Bug c++/70501] [6 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 --- Comment #2 from Marek Polacek --- Note that a patch for PR70307 I've just posted contains a more exhaustive testcase: .

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #7 from Jakub Jelinek --- Ah, but gimple_call_combined_fn already performs this. So perhaps all you need is the tree-inline.c part?

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug libstdc++/70503] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/70501] [6 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/70504] FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order

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

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 Jakub Jelinek changed: What|Removed |Added CC||b7.10110111 at gmail dot com --- Comment

[Bug target/70404] pr70174.c fails on s390x

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70404 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/70404] pr70174.c fails on s390x

2016-04-01 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70404 --- Comment #5 from Andreas Krebbel --- Author: krebbel Date: Fri Apr 1 15:35:54 2016 New Revision: 234678 URL: https://gcc.gnu.org/viewcvs?rev=234678&root=gcc&view=rev Log: PR70404 S/390: Fix insv expansion. While the expander accepts general

[Bug target/53440] [arm] generic thunk code fails for method which uses '...'

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53440 --- Comment #7 from Ramana Radhakrishnan --- A patch to fix this for TARGET_32BIT is here. https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00060.html

[Bug target/69890] FAIL: gcc.target/i386/chkp-* on x86_64-apple-darwin15

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

[Bug target/69890] FAIL: gcc.target/i386/chkp-* on x86_64-apple-darwin15

2016-04-01 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890 --- Comment #10 from Ilya Enkovich --- Author: ienkovich Date: Fri Apr 1 15:31:43 2016 New Revision: 234677 URL: https://gcc.gnu.org/viewcvs?rev=234677&root=gcc&view=rev Log: gcc/testsuite/ Backport from mainline r234666. 2016-

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Apr 1 15:27:11 2016 New Revision: 234676 URL: https://gcc.gnu.org/viewcvs?rev=234676&root=gcc&view=rev Log: PR c++/70488 * init.c (warn_placement_new_too_small): Test

[Bug c/70250] Compilation hangs without optimization.

2016-04-01 Thread brijesh.s.singh at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70250 --- Comment #3 from brijesh singh --- Here is output of gcc -v aaa.c: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pk

[Bug c++/70403] A null pointer check removed with -O2 even with -fno-delete-null-pointer-checks

2016-04-01 Thread thadula at ciena dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403 --- Comment #12 from Hadula, Tomasz --- > The reduced testcase doesn't have the pattern you describe in > the description. Well, of course, I couldn't verify that for sure, because the reduced testcase was so severely mutilated that I couldn't p

[Bug target/70504] FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order

2016-04-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70504 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug rtl-optimization/70504] New: FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order

2016-04-01 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70504 Bug ID: 70504 Summary: FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org Tar

[Bug c++/70449] [6 Regression] ICE with -Wall on valid code on x86_64-linux-gnu in pp_string, at pretty-print.c:928

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70449 --- Comment #9 from Jakub Jelinek --- Created attachment 38157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38157&action=edit gcc6-pr70449.patch Untested fix that attempts not to handle the case of fun being instantiation of the current_

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #5 from Bill Schmidt --- Created attachment 38156 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38156&action=edit Patch that permits this to compile The attached patch allows the compilation to succeed in spite of the incorrec

[Bug c++/64977] constexpr variable initialization by reference in lambda rejected

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64977 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 64977, which changed state. Bug 64977 Summary: constexpr variable initialization by reference in lambda rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64977 What|Removed |Added -

[Bug c++/70489] ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function

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

[Bug libstdc++/70503] New: extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Bug ID: 70503 Summary: extern "C" functions in src/c++11/thread.cc are global in libstdc++.a Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 Ramana Radhakrishnan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 --- Comment #3 from Ramana Radhakrishnan --- Author: ramana Date: Fri Apr 1 14:58:53 2016 New Revision: 234675 URL: https://gcc.gnu.org/viewcvs?rev=234675&root=gcc&view=rev Log: Fix PR target/70496 While doing the unified asm rewrite - I inadv

[Bug target/65248] Copy relocation against protected symbol doesn't work

2016-04-01 Thread jb999 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248 jb999 at gmx dot de changed: What|Removed |Added CC||jb999 at gmx dot de --- Comment #8

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476 --- Comment #2 from Jonathan Wakely --- And this means the functions I thought were local to src/c++11/thread.cc are not ... drat.

[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

2016-04-01 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #8 from Patrick Palka --- So with the patch instead of making ~200k total copies of the same fn (one for each recursive call) we only make ~15 total copies (the maximum recursion depth of the function).

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #4 from Bill Schmidt --- (I should say, presumably unreachable. This source code looks pretty dicey in the first place, but nonetheless we should probably tolerate it at this stage of optimization.)

[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

2016-04-01 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #7 from Patrick Palka --- Created attachment 38155 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38155&action=edit patch that reuses the function copies I attached a small patch (not commented yet) that reduces the runtime (of

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #3 from Bill Schmidt --- So we have an unreachable call to pow with the wrong number of arguments. I suppose the expansion logic for builtin_pow should tolerate this situation and just do nothing with it.

[Bug c++/70501] [6 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Marek Polacek changed: What|Removed |Added Target Milestone|--- |6.0 Summary|internal compiler

[Bug c++/70501] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

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

[Bug c/70502] New: inconsistent behavior of -Werror=

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70502 Bug ID: 70502 Summary: inconsistent behavior of -Werror= Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assig

[Bug c++/70501] New: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Bug ID: 70501 Summary: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug lto/68881] [6 Regression] UNRESOLVED/FAIL: gcc.dg/lto/attr-weakref-1 -O2 -flto

2016-04-01 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68881 --- Comment #16 from Jan Hubicka --- Hi, I am testing the attached patch and would apprechiate testing on any additional targets. It implements the optimization of weakref to non-weakref in the case the target is defined in same TU. Unfortunately

[Bug c++/70500] New: Template deduction should fail on narrowing conversion

2016-04-01 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70500 Bug ID: 70500 Summary: Template deduction should fail on narrowing conversion Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug c++/70449] [6 Regression] ICE with -Wall on valid code on x86_64-linux-gnu in pp_string, at pretty-print.c:928

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70449 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/48863] A Bug When Assembler Instructions with C Expression Operands in arm-elf-gcc 4.5

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48863 Ramana Radhakrishnan changed: What|Removed |Added Keywords||wrong-code Status|UNC

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

2016-04-01 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67896 Richard Earnshaw changed: What|Removed |Added Target Milestone|--- |5.4

[Bug c++/70499] New: internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266

2016-04-01 Thread matthias.hochsteger at tuwien dot ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70499 Bug ID: 70499 Summary: internal compiler error: in make_ssa_name_fn, at tree-ssanames.c:266 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 --- Comment #6 from Jakub Jelinek --- That said, the function also contains bogus loop like: /* Descend into a struct or union to find the member whose address is being used as the agument. */ while (TREE_CODE (oper) == COMPONENT_REF)

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 --- Comment #5 from Marek Polacek --- Better testcase: // PR c++/70488 // { dg-do compile } typedef __typeof__ (sizeof 0) size_t; void* operator new (size_t, void *p) { return p; } void* operator new[] (size_t, void *p) { return p; } struct S

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #6 from Jonathan Wakely --- http://en.cppreference.com/w/cpp/language/implicit_cast#Integral_promotion

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

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

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread andras.szilard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #5 from András --- @Jonathan: could you, please, give me a link, which explains why this "conversion to int" takes place (where it comes from)? Thanks!

[Bug testsuite/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4

2016-04-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004 --- Comment #6 from Christophe Lyon --- Author: clyon Date: Fri Apr 1 12:22:05 2016 New Revision: 234669 URL: https://gcc.gnu.org/viewcvs?rev=234669&root=gcc&view=rev Log: Backport from mainline r233964. 2016-03-04 Kyrylo Tkac

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #4 from Jonathan Wakely --- (In reply to András from comment #3) > > b+b has type int > Note: this does not give the warning. You can see the linked example for > more details. I know, but b+b+b adds b to an int and still produces an

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 --- Comment #3 from Marek Polacek --- I believe we should add these two checks: --- a/gcc/cp/init.c +++ b/gcc/cp/init.c @@ -2430,7 +2430,8 @@ warn_placement_new_too_small (tree type, tree nelts, tree size, tree oper) though the size of a mem

[Bug tree-optimization/70497] Missed CSE of subregs on GIMPLE

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70497 --- Comment #2 from Richard Biener --- union U { int i[16]; char c[4]; }; char foo(int i) { union U u; u.i[0] = i; return u.c[1]; } I have a prototype that for the above generates movl%edi, %eax movsbl %ah, %eax ins

[Bug c++/68475] [4.9/5/6 Regression] ICE: in merge_exception_specifiers, at cp/typeck2.c:2115 with -fno-exceptions on invalid code

2016-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68475 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread andras.szilard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #3 from András --- > b+b has type int Note: this does not give the warning. You can see the linked example for more details.

[Bug c++/68475] [4.9/5/6 Regression] ICE: in merge_exception_specifiers, at cp/typeck2.c:2115 with -fno-exceptions on invalid code

2016-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68475 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Fri Apr 1 12:10:17 2016 New Revision: 234667 URL: https://gcc.gnu.org/viewcvs?rev=234667&root=gcc&view=rev Log: PR c++/68475 * decl.c (check_redeclaration_exception_spe

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 --- Comment #2 from Ramana Radhakrishnan --- Created attachment 38152 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38152&action=edit Patch. Patch I'm testing.

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRM

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.0

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

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

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #1 from Jonathan Wakely --- b+b has type int

[Bug target/69890] FAIL: gcc.target/i386/chkp-* on x86_64-apple-darwin15

2016-04-01 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890 --- Comment #9 from Ilya Enkovich --- Author: ienkovich Date: Fri Apr 1 10:40:51 2016 New Revision: 234666 URL: https://gcc.gnu.org/viewcvs?rev=234666&root=gcc&view=rev Log: gcc/testsuite/ PR target/69890 * gcc.dg/strlenopt.h (

[Bug libstdc++/70483] string_view::compare and coparision operators are not constexpr

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70483 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/70498] New: Libiberty Demangler segfaults (3)

2016-04-01 Thread boehme.marcel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70498 Bug ID: 70498 Summary: Libiberty Demangler segfaults (3) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/70497] Missed CSE of subregs on GIMPLE

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70497 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

  1   2   >