[Bug libstdc++/77776] C++17 std::hypot implementation is poor

2019-01-10 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #6 from Matthias Kretz --- (In reply to Marc Glisse from comment #4) > Your "reference" number seems strange. Why not do the computation with > double (or long double or mpfr) or use __builtin_hypotf? Note that it > changes the value.

[Bug tree-optimization/88739] [7/8/9 Regression] Big-endian union bug

2019-01-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 --- Comment #39 from rguenther at suse dot de --- On Wed, 9 Jan 2019, wilco at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 > > --- Comment #34 from Wilco --- > With just the expr.c patch the gcc regression tests

[Bug c/88774] Qualification of parameters does not change a function type: Bug or standard defect?

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88774 --- Comment #2 from Jonathan Wakely --- Yes, that's consistent with how C++ handles top-level cv-qualifiers in function parameters.

[Bug tree-optimization/88739] [7/8/9 Regression] Big-endian union bug

2019-01-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 --- Comment #40 from rguenther at suse dot de --- On Wed, 9 Jan 2019, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 > > rsandifo at gcc dot gnu.org changed: > >What|Removed

[Bug libstdc++/88782] Crash when mixing make_shared from gcc <= 8.2 with make_shared from gcc >= 8.3

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88782 --- Comment #1 from Jonathan Wakely --- That's wrong in exactly the cases r266380 was meant to solve.

[Bug libstdc++/88782] Crash when mixing make_shared from gcc <= 8.2 with make_shared from gcc >= 8.3

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88782 --- Comment #2 from Jonathan Wakely --- I think I might need to rename _S_ti() so that old callers will get an old definition of it that matches what they expect, and new callers of the new function won't care what _S_ti() does.

[Bug tree-optimization/88739] [7/8/9 Regression] Big-endian union bug

2019-01-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 --- Comment #41 from rguenther at suse dot de --- On Wed, 9 Jan 2019, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88739 > > --- Comment #38 from rsandifo at gcc dot gnu.org gnu.org> --- > Created attachmen

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #2 from Jonathan Wakely --- Probably not. I don't think sanitizers flag the unspecified comparisons, so we could just always do the uintptr_t comparisons for C++98/11. The patch looks good to me.

[Bug tree-optimization/87314] pointless comparison of malloc result to a string not eliminated

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87314 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug tree-optimization/88786] New: Expand vector copysign (and xorsign) operations in the vectoriser

2019-01-10 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88786 Bug ID: 88786 Summary: Expand vector copysign (and xorsign) operations in the vectoriser Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: missed-optimiza

[Bug c++/88787] New: [9 regression] C++ constexpr seems to not get expanded

2019-01-10 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88787 Bug ID: 88787 Summary: [9 regression] C++ constexpr seems to not get expanded Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug c/88568] [7/8/9 Regression] 'dllimport' no longer implies 'extern' in C

2019-01-10 Thread 10walls at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 --- Comment #8 from jon_y <10walls at gmail dot com> --- I've used a linux hosted mingw toolchain to build a mingw toolchain from the same sources, it seems to be working fine. I've only enabled C and C++.

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #3 from Richard Biener --- So the if (__x.7_6 < __y.8_7) goto ; [50.00%] else goto ; [50.00%] [local count: 38463891]: if (__x.7_6 > __y.8_7) goto ; [50.00%] else goto ; [50.00%] fails to merge to != beca

[Bug libstdc++/88782] [8/9 Regression] Crash when mixing make_shared from gcc <= 8.2 with make_shared from gcc >= 8.3

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

[Bug ipa/88788] New: [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 Bug ID: 88788 Summary: [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: compile-time-h

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug libfortran/88776] Namelist read from stdin: loss of data

2019-01-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88776 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/88789] New: epiphany: memory_resource.cc:235:62: error: static assertion failed

2019-01-10 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88789 Bug ID: 88789 Summary: epiphany: memory_resource.cc:235:62: error: static assertion failed Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug other/88790] New: No warning for misleading indentation

2019-01-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88790 Bug ID: 88790 Summary: No warning for misleading indentation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/88790] No warning for misleading indentation

2019-01-10 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88790 --- Comment #1 from Segher Boessenkool --- (I couldn't add that cc:, Daniel doesn't have a bugzilla account yet).

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #5 from Richard Biener --- Created attachment 45401 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45401&action=edit VN patch Turns f() into just [local count: 1073741824]: _3 = &MEM[(struct basic_string *)s_2(D)].D.18989

[Bug target/88789] epiphany: memory_resource.cc:235:62: error: static assertion failed

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88789 Jonathan Wakely changed: What|Removed |Added Keywords||build --- Comment #1 from Jonathan Wak

[Bug c++/88787] [9 regression] C++ constexpr seems to not get expanded

2019-01-10 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88787 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/88568] [7/8/9 Regression] 'dllimport' no longer implies 'extern' in C

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Thu Jan 10 10:44:46 2019 New Revision: 267799 URL: https://gcc.gnu.org/viewcvs?rev=267799&root=gcc&view=rev Log: PR c/88568 * attribs.c (handle_dll_attribute): Clear TREE_

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Jan 10 10:56:56 2019 New Revision: 267800 URL: https://gcc.gnu.org/viewcvs?rev=267800&root=gcc&view=rev Log: PR tree-optimization/88775 * include/bits/stl_function.h (

[Bug libgcc/88772] Exception handling configured mode does not match the one finally used

2019-01-10 Thread ylatuya at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88772 --- Comment #4 from Andoni --- (In reply to Eric Botcazou from comment #3) > > I just wiped the build to start a clean build from scratch, but I remember > > checking this and it was "no". I can confirm it in ~1 hour > > Can you confirm that we'

[Bug target/88777] [9 Regression] Out-of-range offsets building glibc test-tgmath2.c for hppa-linux-gnu

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88777 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.0

[Bug libstdc++/88782] [8/9 Regression] Crash when mixing make_shared from gcc <= 8.2 with make_shared from gcc >= 8.3

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88782 Richard Biener changed: What|Removed |Added Keywords||ABI Priority|P3

[Bug c/88568] [7/8 Regression] 'dllimport' no longer implies 'extern' in C

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88568 Jakub Jelinek changed: What|Removed |Added Summary|[7/8/9 Regression] |[7/8 Regression] |'dll

[Bug middle-end/88784] Middle end is missing some optimizations about unsigned

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88784 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug rtl-optimization/88785] [9 Regression] ICE in as_a, at machmode.h:353

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88785 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Target Milestone

[Bug tree-optimization/88786] Expand vector copysign (and xorsign) operations in the vectoriser

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88786 --- Comment #1 from Richard Biener --- I think it's a bit too low-level and having the higher-level op benefits later optimizations (match.pd patterns, etc.)

[Bug c++/88787] [9 regression] C++ constexpr seems to not get expanded

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88787 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c++/88787] [9 regression] C++ constexpr seems to not get expanded

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88787 --- Comment #2 from Jonathan Wakely --- (In reply to Tamar Christina from comment #0) > The following testcases from libstdc++ have started failing in the past few > days on trunk: > > FAIL: 27_io/filesystem/operations/last_write_time.cc executi

[Bug sanitizer/88791] New: ASAN deadlocks in threaded application

2019-01-10 Thread dominik.stras...@onespin-solutions.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88791 Bug ID: 88791 Summary: ASAN deadlocks in threaded application Product: gcc Version: 7.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #7 from Richard Biener --- So after the patch we have __x.5_4 = (long unsigned int) "hello"; __y.6_5 = (long unsigned int) _3; if (__x.5_4 != __y.6_5) goto ; [75.00%] else goto ; [25.00%] [local count: 805306369]:

[Bug target/88648] [7/8/9 Regression] Force unified syntax for inline assembly not functional (-masm-syntax-unified)

2019-01-10 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88648 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Thu Jan 10 11:36:42 2019 New Revision: 267804 URL: https://gcc.gnu.org/viewcvs?rev=267804&root=gcc&view=rev Log: ARM: fix -masm-syntax-unified (PR88648) This allows to us

[Bug target/88648] [7/8 Regression] Force unified syntax for inline assembly not functional (-masm-syntax-unified)

2019-01-10 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88648 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||9.0 Summary|[7/8

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #8 from Jakub Jelinek --- "hello" string literal surely can be followed by anything else, but don't we consider it UB? int foo (void) { int a = 0; for (int i = 0; i < 32; i++) a += "hello"[i]; return a; } warning: iteration

[Bug tree-optimization/88792] New: [9 Regression] wrong-code in RPO VN since r263875

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88792 Bug ID: 88792 Summary: [9 Regression] wrong-code in RPO VN since r263875 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Pri

[Bug tree-optimization/88792] [9 Regression] wrong-code in RPO VN since r263875

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88792 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug lto/85574] [8/9 Regression] LTO bootstapped binaries differ

2019-01-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 --- Comment #27 from Jan Hubicka --- Author: hubicka Date: Thu Jan 10 11:54:26 2019 New Revision: 267805 URL: https://gcc.gnu.org/viewcvs?rev=267805&root=gcc&view=rev Log: PR tree-optimization/85574 Modified: branches/gcc-8-branch/g

[Bug tree-optimization/88792] [9 Regression] wrong-code in RPO VN since r263875

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88792 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/88785] [9 Regression] ICE in as_a, at machmode.h:353

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88785 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-10 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Sorry for the breakage, I will take a look. Regards, Prathamesh

[Bug target/88785] [9 Regression] ICE in as_a, at machmode.h:353

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88785 --- Comment #1 from Jakub Jelinek --- Guess latent since r214091.

[Bug target/88785] [9 Regression] ICE in as_a, at machmode.h:353

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88785 --- Comment #2 from Jakub Jelinek --- Created attachment 45402 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45402&action=edit gcc9-pr88785.patch Untested fix.

[Bug target/88789] epiphany: memory_resource.cc:235:62: error: static assertion failed

2019-01-10 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88789 --- Comment #2 from Sebastian Huber --- I am not an epiphany expert. I just noticed this while testing the GCC builds for RTEMS.

[Bug tree-optimization/88792] [9 Regression] wrong-code in RPO VN since r263875

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88792 --- Comment #2 from Richard Biener --- OK, I see what goes wrong.

[Bug lto/71959] [OpenACC] lto1: ICE in inline_read_section, at ipa-fnsummary.c:3314

2019-01-10 Thread jules at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71959 --- Comment #11 from jules at gcc dot gnu.org --- Author: jules Date: Thu Jan 10 12:32:03 2019 New Revision: 267806 URL: https://gcc.gnu.org/viewcvs?rev=267806&root=gcc&view=rev Log: Add testcase from PR71959 libgomp/ PR lto/719

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 --- Comment #3 from Martin Liška --- (In reply to prathamesh3492 from comment #2) > Sorry for the breakage, I will take a look. > > Regards, > Prathamesh Wait, I have almost reduced test-case.

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #34 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #33) > (In reply to Iain Sandoe from comment #32) > > (In reply to Jürgen Reuter from comment #31) > > > Then I get tons of duplicate symbol lines. > > > > ah well, not

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 --- Comment #4 from Martin Liška --- Created attachment 45403 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45403&action=edit reduced test-case

[Bug libgcc/88772] Exception handling configured mode does not match the one finally used

2019-01-10 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88772 --- Comment #5 from Eric Botcazou --- > For 64bits the result is "no": > 643 configure:4751: checking whether the compiler is configured for > setjmp/longjmp exceptions > 644 configure:4769: x86_64-w64-mingw32-gcc > -L/home/andoni/mingw/windows

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

2019-01-10 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88788 --- Comment #5 from prathamesh3492 at gcc dot gnu.org --- (In reply to Martin Liška from comment #4) > Created attachment 45403 [details] > reduced test-case Thanks!

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #9 from Richard Biener --- Created attachment 45404 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45404&action=edit VRP patch This makes VRP register asserts for the pointer variants. This doesn't help until after ifcombine b

[Bug ipa/88702] [7/8/9 regression] We do terrible job optimizing IsHTMLWhitespace from Firefox

2019-01-10 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88702 --- Comment #7 from Martin Liška --- Just for the record, when rewriting the code with switch: int IsHTMLWhitespace(int aChar) { switch (aChar) { case 0x0009: case 0x000A: case 0x000C: case 0x000D: case 0x002

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #10 from Jakub Jelinek --- I get pretty much the same thing with: --- gcc/match.pd.jj 2019-01-07 17:59:24.100931144 +0100 +++ gcc/match.pd2019-01-10 14:45:31.870509916 +0100 @@ -1660,6 +1660,19 @@ (define_operator_list CON

[Bug c/30475] assert(int+100 > int) optimized away

2019-01-10 Thread marian.buschsieweke at ovgu dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475 Marian changed: What|Removed |Added CC||marian.buschsieweke at ovgu dot de --- Comment

[Bug libgcc/88772] Exception handling configured mode does not match the one finally used

2019-01-10 Thread ylatuya at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88772 --- Comment #6 from Andoni --- (In reply to Eric Botcazou from comment #5) > > But you said above that the result is "yes" for 32-bit, so how come the test: > > x$ac_cv_sjlj_exceptions = xyes; > > is false? Does it help to rewrite it into j

[Bug c/30475] assert(int+100 > int) optimized away

2019-01-10 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475 --- Comment #58 from Andreas Schwab --- -Wstrict-overflow=1 is enabled by -Wall.

[Bug tree-optimization/88775] [8/9 Regression] Optimize std::string assignment

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88775 --- Comment #11 from Jakub Jelinek --- Created attachment 45405 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45405&action=edit gcc9-pr88775.patch Full patch.

[Bug tree-optimization/88793] New: Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 Bug ID: 88793 Summary: Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size Product: gcc Version: 9.0 Status: UNCON

[Bug target/88794] New: fixupimm intrinsics are unusable [9.0 regression]

2019-01-10 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88794 Bug ID: 88794 Summary: fixupimm intrinsics are unusable [9.0 regression] Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug lto/84995] Documentation gcc-ar and gcc-ranlib vs {libdir}/bfd-plugins

2019-01-10 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84995 Дилян Палаузов changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug target/88794] [9 Regression] fixupimm intrinsics are unusable

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88794 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-10 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug fortran/50410] [7/8/9 Regression] ICE in record_reference

2019-01-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50410 --- Comment #32 from Dominique d'Humieres --- Some of the tests in this PR are fixed by the patch at https://gcc.gnu.org/ml/fortran/2019-01/msg00065.html

[Bug bootstrap/88450] [9 regression] ICE in stage 2 compiler while configuring libgcc

2019-01-10 Thread sbence92 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88450 --- Comment #21 from Bence Szabó --- Bootstrap succeeds with trunk + gcc9-pr88450.patch. Ran gcc testsuite, all stackalignment tests pass and so does the test added by r266345. The CPU was an Intel Coffee Lake so avx and avx2 is supported but avx

[Bug bootstrap/88714] [9 regression] bootstrap comparison failure on armv7l since r265398

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714 --- Comment #6 from Jakub Jelinek --- The profile_estimate difference is a bug introduced in r191883 and later extended in r193821 I have a fix for, but it can be ignored, it should have went into the combine dump instead.

[Bug tree-optimization/88771] [9 Regression] Misleading -Werror=array-bounds error

2019-01-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771 --- Comment #7 from Martin Sebor --- Yes, that's exactly right.

[Bug c++/88787] [9 regression] C++ constexpr seems to not get expanded

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88787 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > (In reply to Tamar Christina from comment #0) > > The following testcases from libstdc++ have started failing in the past few > > days on trunk: > > > > FAIL

[Bug c++/88795] New: ICE on class-template argument deduction if non-type parameter has indirection

2019-01-10 Thread programmer at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88795 Bug ID: 88795 Summary: ICE on class-template argument deduction if non-type parameter has indirection Product: gcc Version: 7.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/84877] Local stack copy of BLKmode parameter on the stack is not aligned when the requested alignment exceeds MAX_SUPPORTED_STACK_ALIGNMENT

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84877 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Jan 10 15:44:16 2019 New Revision: 267812 URL: https://gcc.gnu.org/viewcvs?rev=267812&root=gcc&view=rev Log: PR middle-end/84877 PR bootstrap/88450 * function.

[Bug bootstrap/88450] [9 regression] ICE in stage 2 compiler while configuring libgcc

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88450 --- Comment #22 from Jakub Jelinek --- Author: jakub Date: Thu Jan 10 15:44:16 2019 New Revision: 267812 URL: https://gcc.gnu.org/viewcvs?rev=267812&root=gcc&view=rev Log: PR middle-end/84877 PR bootstrap/88450 * function

[Bug bootstrap/88450] [9 regression] ICE in stage 2 compiler while configuring libgcc

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

[Bug c/30475] assert(int+100 > int) optimized away

2019-01-10 Thread marian.buschsieweke at ovgu dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30475 --- Comment #59 from Marian --- Thanks for the fast replay wget http://ptrace.fefe.de/int.c gcc -Wstrict-overflow=1 -Wall -Wextra -pedantic -o int int.c does not produce a warning (except for the missing `#include `) on gcc 8.2.0 on Alp

[Bug tree-optimization/81452] warn on realloc(p, 0)

2019-01-10 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81452 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > There is -Walloc-zero. If we want a separate knob for just it then maybe > -Wrealloc-zero. Oh right, -Walloc-zero, I forgot about that one. It triggers so rarely

[Bug libstdc++/80762] is_constructible gives hard error with clang

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80762 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Thu Jan 10 16:06:49 2019 New Revision: 267815 URL: https://gcc.gnu.org/viewcvs?rev=267815&root=gcc&view=rev Log: PR libstdc++/80762 avoid ambiguous __constructible_from Ensure we don't

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-10 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 --- Comment #2 from Florian Weimer --- (In reply to Alexander Monakov from comment #1) > (In reply to Florian Weimer from comment #0) > > However, optimizing for size is a very big hammer and causes substantial > > performance issues on i386 and

[Bug target/87007] [8/9 Regression] 10% slowdown with -march=skylake-avx512

2019-01-10 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87007 --- Comment #5 from H.J. Lu --- The current patch is posted at https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00298.html

[Bug libstdc++/80762] is_constructible gives hard error with clang

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80762 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.3 --- Comment #5 from Jonathan Wakel

[Bug libstdc++/80762] is_constructible gives hard error with clang

2019-01-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80762 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/85574] [8/9 Regression] LTO bootstapped binaries differ

2019-01-10 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85574 --- Comment #28 from Jan Hubicka --- Author: hubicka Date: Thu Jan 10 16:53:39 2019 New Revision: 267817 URL: https://gcc.gnu.org/viewcvs?rev=267817&root=gcc&view=rev Log: Backported from mainline 2019-01-02 Richard Biener

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #10 from David Malcolm --- Created attachment 45406 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45406&action=edit Followup patch to try to dump why a condition can't be unswitched within a loop

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-10 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #11 from David Malcolm --- Thanks for the testcase. (In reply to David Malcolm from comment #10) > Created attachment 45406 [details] > Followup patch to try to dump why a condition can't be unswitched within a > loop This is a foll

[Bug tree-optimization/88793] Document that __attribute__ ((cold)) is not equivalent to __builtin_except because of optimization for size

2019-01-10 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88793 --- Comment #3 from Alexander Monakov --- (In reply to Florian Weimer from comment #2) > The startup overhead isn't the problem. The asymptotic performance is > really bad, too. (I hope I didn't botch my test, though. It's vaguely > based on w

[Bug bootstrap/88714] [9 regression] bootstrap comparison failure on armv7l since r265398

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/88774] Qualification of parameters does not change a function type: Bug or standard defect?

2019-01-10 Thread anders.granlund.0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88774 Anders Granlund changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/88795] ICE on class-template argument deduction if non-type parameter has indirection

2019-01-10 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88795 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNC

[Bug libstdc++/77776] C++17 std::hypot implementation is poor

2019-01-10 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6 --- Comment #7 from emsr at gcc dot gnu.org --- What does this do? auto __hi_exp = __hi & simd<_T, _Abi>(std::numeric_limits<_T>::infinity()); // no error Sorry, I have no simd knowlege yet. Anyway, doesn't the large scale risk overflow i

[Bug ipa/88788] [9 Regression] Infinite loop in malloc_candidate_p_1 since r264838

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

[Bug tree-optimization/88763] Better Output for Loop Unswitching

2019-01-10 Thread marius.messerschmidt at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88763 --- Comment #12 from Marius Messerschmidt --- I think this messages look really good! I believe that this contains everything required to actually work on improving automatic unswitching, thank you very much! Do you think that there is a chance

[Bug bootstrap/88714] [9 regression] bootstrap comparison failure on armv7l since r265398

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88714 --- Comment #8 from Jakub Jelinek --- Note, the stage1-gcc compiled tree-ssa-sccvn.o is identical no matter whether -fno-checking or -fchecking=1 was used, and doesn't fail -fcompare-debug with either, so it is simply that something is miscompile

[Bug c++/88787] [9 regression] C++ constexpr seems to not get expanded

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

[Bug tree-optimization/88771] [9 Regression] Misleading -Werror=array-bounds error

2019-01-10 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88771 --- Comment #8 from Alexander Monakov --- Yeah, on GCC users' side I think there's a demand for both: treating UB as unreachable (e.g. on tiny systems with heavy program size constraints) and transforming UB to a trap briefly annotated with sourc

[Bug rtl-optimization/88796] New: -fstack-protector* kills RTL DSE opportunities

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88796 Bug ID: 88796 Summary: -fstack-protector* kills RTL DSE opportunities Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-

[Bug rtl-optimization/88796] -fstack-protector* kills RTL DSE opportunities

2019-01-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88796 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

  1   2   >