[Bug libstdc++/94987] Missing vtable for std::__future_base::_State_base on libstdc++.a

2020-05-08 Thread kndevl at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94987 --- Comment #3 from Karthik Nishanth --- Thank you, I understand now. Is the reason why gcc preserves the symbol in the SO because of forward compatibility with existing binaries dynamically depending on the symbol?

[Bug c/94994] New: [10 Regression] possible miscompilation of word-at-a-time copy via packed structs

2020-05-08 Thread ebiggers3 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94994 Bug ID: 94994 Summary: [10 Regression] possible miscompilation of word-at-a-time copy via packed structs Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severi

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:af1634f1b555004753a22d1124dbb8419ee095cb commit r11-192-gaf1634f1b555004753a22d1124dbb8419ee095cb Author: Jakub Jelinek Date: Fri

[Bug rtl-optimization/94516] [10 Regression] gnutls test ./psk-file fails since r10-7515-g2c0fa3ecf70d199af18785702e9e0548fd3ab793

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94516 --- Comment #18 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:af1634f1b555004753a22d1124dbb8419ee095cb commit r11-192-gaf1634f1b555004753a22d1124dbb8419ee095cb Author: Jakub Jelinek Date: Fr

[Bug tree-optimization/94913] Failure to optimize not+cmp into overflow check

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ff33680165346cb291667f38dd2e9f25a74cc3c3 commit r11-193-gff33680165346cb291667f38dd2e9f25a74cc3c3 Author: Jakub Jelinek Date: Fri

[Bug target/94995] New: gcc/config/aarch64/cortex-a57-fma-steering.c: 5 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94995 Bug ID: 94995 Summary: gcc/config/aarch64/cortex-a57-fma-steering.c: 5 * member function could be const ? Product: gcc Version: unknown Status: UNCONFIRMED Seve

[Bug tree-optimization/94956] Unable to remove impossible ffs() test for zero

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94956 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:df569f7da567af4996821dc0a1871eec79957d04 commit r11-194-gdf569f7da567af4996821dc0a1871eec79957d04 Author: Jakub Jelinek Date: Fri

[Bug c++/87335] The stack overflow in function cplus_demangle_type in cp-demangle.c:2565 (c++filt -t)

2020-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87335 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug middle-end/94783] Abs-equivalent pattern is not recognized as abs

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94783 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a0d732eea2e152fc51f7c5249abaa9ef56fc5121 commit r11-195-ga0d732eea2e152fc51f7c5249abaa9ef56fc5121 Author: Jakub Jelinek Date: Fri

[Bug middle-end/90859] [OMP] Mappings for VLA different depending on 'target { c && { ! lp64 } }'

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90859 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #4

[Bug middle-end/94724] [10 Regression] wrong code at -O0 on x86_64-linux-gnu since r10-7344-gca6c722561ce9b9d

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94724 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a139bc2b492de8a761890a5d299951dede3d8f7b commit r11-196-ga139bc2b492de8a761890a5d299951dede3d8f7b Author: Jakub Jelinek Date: Fri

[Bug middle-end/90859] [OMP] Mappings for VLA different depending on 'target { c && { ! lp64 } }'

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90859 --- Comment #5 from Tobias Burnus --- (In reply to Tobias Burnus from comment #4) Ignore; this comment should have gone into PR94874 (whose test case has a comment about this PR).

[Bug middle-end/94874] [OpenMP] Unhelpful 'defaultmap(none)' diagnostic for 'DECL_ARTIFICIAL': 'error: ‘array_li.0’ not specified in enclosing ‘target’'

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94874 --- Comment #3 from Tobias Burnus --- Using // here: float array[array_li]; ... //#pragma omp target defaultmap(none) map(from:array_so_openmp_target) #pragma omp parallel default(none) shared(array_so_openmp_target) array_so_openmp_target

[Bug c++/94996] New: jthread should stop and join the associated thread before being assigned.

2020-05-08 Thread hotwatermorning at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94996 Bug ID: 94996 Summary: jthread should stop and join the associated thread before being assigned. Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: norm

[Bug middle-end/94724] [10 Regression] wrong code at -O0 on x86_64-linux-gnu since r10-7344-gca6c722561ce9b9d

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94724 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3a296f322dea92747a0874cb1fd073313749673e commit r10-8123-g3a296f322dea92747a0874cb1fd073313749673e Author: Jakub Jelinek D

[Bug middle-end/94783] Abs-equivalent pattern is not recognized as abs

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94783 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/94956] Unable to remove impossible ffs() test for zero

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94956 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/94913] Failure to optimize not+cmp into overflow check

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94913 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/94956] Unable to remove impossible ffs() test for zero

2020-05-08 Thread steinar+gcc at gunderson dot no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94956 --- Comment #6 from Steinar H. Gunderson --- Oh nice! I'll be sure to benchmark when I can get my hands on appropriate binaries (I typically use gcc-snapshot from Debian).

[Bug c/94994] [10/11 Regression] possible miscompilation of word-at-a-time copy via packed structs

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94994 Jakub Jelinek changed: What|Removed |Added Summary|[10 Regression] possible|[10/11 Regression] possible

[Bug target/94857] Failure to optimize load+add+store into add on memory when getting carry flag afterwards on x86

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94857 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a229f9b3737062c6e853879be6683f3f3e4a6661 commit r11-197-ga229f9b3737062c6e853879be6683f3f3e4a6661 Author: Jakub Jelinek Date: Fri

[Bug target/94857] Failure to optimize load+add+store into add on memory when getting carry flag afterwards on x86

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94857 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/93388] ensure -fanalyzer works with our C code

2020-05-08 Thread dcb314 at hotmail dot com
her look at this and considerable progress has been made. Only six ices left for the C code in the test suite. These are $ egrep "internal compiler error:" 20200508.c.out | fgrep analyzer | sort -k 2 ./gcc.c-torture/compile/20010107-1.c:7:3: internal compiler error: in get_or_create_mem_ref, at

[Bug libstdc++/94996] jthread should stop and join the associated thread before being assigned.

2020-05-08 Thread hotwatermorning at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94996 --- Comment #1 from hotwatermorning at gmail dot com --- Note: The expected behavior is that the associated thread is stopped and joined at `th = std::jthread();` and the following assertion passes, but the current implementation aborts at `th = s

[Bug c++/94997] New: cc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 Bug ID: 94997 Summary: cc/cp/call.c: 4 * member function could be const ? Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug bootstrap/94998] New: GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 Bug ID: 94998 Summary: GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 Harald van Dijk changed: What|Removed |Added Component|bootstrap |target --- Comment #1 from Harald van

[Bug analyzer/94999] New: internal compiler error: in saved_diagnostic

2020-05-08 Thread tommy-gccbugs at thorn dot ws
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 Bug ID: 94999 Summary: internal compiler error: in saved_diagnostic Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analy

[Bug tree-optimization/94786] Missed min/max pattern using xor+and+less

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94786 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1595a1cb7bfac8d5a6026d5d6f3a495be0391506 commit r11-198-g1595a1cb7bfac8d5a6026d5d6f3a495be0391506 Author: Jakub Jelinek Date: Fri

[Bug tree-optimization/94786] Missed min/max pattern using xor+and+less

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94786 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/95000] New: -fanalyzer confused by switch

2020-05-08 Thread felix-gcc at fefe dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 Bug ID: 95000 Summary: -fanalyzer confused by switch Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug c++/95001] New: std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread s_gccbugzilla at nedprod dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 Bug ID: 95001 Summary: std::terminate() and abort() do not have __builtin_unreachable() semantics Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug plugins/90924] lto-plugin/lto-plugin.c heap memory corruption due to insufficient sanitization.

2020-05-08 Thread trupti_pardeshi at persistent dot co.in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90924 Trupti Pardeshi changed: What|Removed |Added CC||trupti_pardeshi@persistent.

[Bug c/95002] New: VLA: 'var = sizeof array' gives spurous '= array, ' instead of just '= '

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95002 Bug ID: 95002 Summary: VLA: 'var = sizeof array' gives spurous '= array, ' instead of just '= ' Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: norma

[Bug c++/95003] coroutines: Wrong code for some reference capture cases.

2020-05-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95003 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/95003] New: coroutines: Wrong code for some reference capture cases.

2020-05-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95003 Bug ID: 95003 Summary: coroutines: Wrong code for some reference capture cases. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priori

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Component|c

[Bug plugins/90924] lto-plugin/lto-plugin.c heap memory corruption due to insufficient sanitization.

2020-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90924 Andrew Pinski changed: What|Removed |Added Known to work||7.5.0, 8.4.0, 9.2.0 Target Milestone|-

[Bug analyzer/95000] -fanalyzer confused by switch

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/88247] [8/9/10/11 Regression] ICE in get_array_ctor_var_strlen, at fortran/trans-array.c:2068

2020-05-08 Thread jrfsousa at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88247 José Rui Faustino de Sousa changed: What|Removed |Added CC||jrfsousa at gmail dot com -

[Bug c++/95004] New: Static array of base classes member pointers

2020-05-08 Thread vince.rev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95004 Bug ID: 95004 Summary: Static array of base classes member pointers Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug analyzer/95000] -fanalyzer confused by switch

2020-05-08 Thread felix-gcc at fefe dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #2 from felix-gcc at fefe dot de --- The false positive also happens if you fix that. In fact, my original (much longer) code does not try to write to read-only memory. I put that in my test case in the hope that somebody would mentio

[Bug libfortran/94143] [9/10/11 Regression] Asynchronous execute_command_line() breaks following synchronous calls

2020-05-08 Thread trnka at scm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94143 --- Comment #4 from Tomáš Trnka --- (In reply to anlauf from comment #3) > Funny. I do not get failures when compiling with -fsanitize=thread. I don't think TSAN can help here. This is not a data race between two threads, but between our SIGCHL

[Bug c/95002] VLA: 'var = sizeof array' gives spurous '= array, ' instead of just '= '

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95002 --- Comment #1 from Tobias Burnus --- Created attachment 48481 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48481&action=edit PATCH – works but is modifies quite a lot: digest_init, convert_for_assignment, convert Working patch – but I w

[Bug middle-end/94988] [11 Regression] FAIL: gcc.target/i386/pr64110.c scan-assembler vmovd[\\t ]

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94988 --- Comment #2 from Richard Biener --- (In reply to Richard Biener from comment #1) > Ah, forgot to update this testcase. This is another instance of PR57359, > that is, we may not sink the store to b across the store to *b since b may > point >

[Bug middle-end/90859] [OMP] Mappings for VLA different depending on 'target { c && { ! lp64 } }'

2020-05-08 Thread burnus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90859 Tobias Burnus changed: What|Removed |Added Depends on||95002 --- Comment #6 from Tobias Burnus

[Bug other/95005] New: zstd.h not found if installed in non-system prefix

2020-05-08 Thread gcc at ikkoku dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005 Bug ID: 95005 Summary: zstd.h not found if installed in non-system prefix Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug bootstrap/94961] [11 Regression] ICE in df_refs_verify, at df-scan.c:4002 since r11-87-gd44f14ccef831d90feb57fab56bc3389d543ffdd

2020-05-08 Thread dimhen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94961 --- Comment #7 from Dmitry G. Dyachenko --- r11-196 PASS for me. Thanks.

[Bug libstdc++/94987] Missing vtable for std::__future_base::_State_base on libstdc++.a

2020-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94987 --- Comment #4 from Jonathan Wakely --- Yes, removing any symbols from the DSO is forbidden.

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #7 from

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-08 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 Rainer Orth changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 H.J. Lu changed: What|Removed |Added Target Milestone|--- |10.2 Last reconfirmed|

[Bug middle-end/94703] Small-sized memcpy leading to unnecessary register spillage unless done through a dummy union

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94703 --- Comment #9 from Richard Biener --- (In reply to Rainer Orth from comment #7) > Created attachment 48483 [details] > 32-bit sparc-sun-solaris2.11 pr94703.c.021t.ssa > > The new testcase FAILs on sparc-sun-solaris2.11 (both 32 and 64-bit): >

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #1 from Richard Biener --- Sorry, but noreturn functions can have side-effects that need to be preserved.

[Bug bootstrap/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 Richard Biener changed: What|Removed |Added Status|WAITING |NEW Component|target

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug middle-end/94994] [10/11 Regression] possible miscompilation of word-at-a-time copy via packed structs

2020-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94994 Richard Biener changed: What|Removed |Added Last reconfirmed||2020-05-08 Target Milestone|---

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #3 from Marc Glisse --- Simpler example: [[noreturn]] void theend(); int f(int x){ if(x&7)theend(); return x&3; } (or replace "theend()" with "throw 42") We shouldn't compute x&3, it is always 0 in the branch where it is compu

[Bug c++/95004] Static array of base classes member pointers

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95004 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #4 from Jakub Jelinek --- The on-demand VRP (or if it can do non-zero bits too, even better), ought to handle this kind of things, but it isn't something we can store in the SSA_NAMEs unless we create the ASSERT_EXPRs (which means dur

[Bug tree-optimization/95001] std::terminate() and abort() do not have __builtin_unreachable() semantics

2020-05-08 Thread s_gccbugzilla at nedprod dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95001 --- Comment #5 from Niall Douglas --- Just to clarify what I'm asking for: Calling a [[noreturn]] function ought to have the same effects on codegen as: ``` [[noreturn]] void theend(); ... if(a) { theend(); __builtin_unreachable(); } ``` R

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug c++/92187] [concepts] An abbreviated function template ignores type constraint in some circumstances

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92187 Patrick Palka changed: What|Removed |Added CC||mateusz.pusz at gmail dot com --- Commen

[Bug analyzer/95006] New: Reimplement -Wanalyzer-use-of-uninitialized-value

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 Bug ID: 95006 Summary: Reimplement -Wanalyzer-use-of-uninitialized-value Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: meta-bug Severity: normal Prio

[Bug bootstrap/94998] GCC 10 won't configure for host=x86, build!=host, linker=bfd due to CET

2020-05-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94998 H.J. Lu changed: What|Removed |Added Keywords||patch URL|

[Bug analyzer/94447] Not handling CONSTRUCTOR tree code

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94447 David Malcolm changed: What|Removed |Added CC||tommy-gccbugs at thorn dot ws --- Commen

[Bug analyzer/94999] internal compiler error: in saved_diagnostic

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 David Malcolm changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug analyzer/95006] Reimplement -Wanalyzer-use-of-uninitialized-value

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95006 Bug 95006 depends on bug 94999, which changed state. Bug 94999 Summary: internal compiler error: in saved_diagnostic https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 What|Removed |Added ---

[Bug analyzer/94999] internal compiler error: in saved_diagnostic

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94999 --- Comment #2 from David Malcolm --- Actually, it's possibly failing to realize that calloc zeroes the memory. Either way it makes a good test case for when reintroducing -Wanalyzer-use-of-uninitialized-value; thanks.

[Bug analyzer/95007] New: RFE: -fanalyzer should complain about writes to string literals

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95007 Bug ID: 95007 Summary: RFE: -fanalyzer should complain about writes to string literals Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/95000] -fanalyzer confused by switch

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 --- Comment #3 from David Malcolm --- Thanks for filing this bug. I've filed PR analyzer/95007 to track the RFE for a warning about writes to a string literal. Clearly there's a bug somewhere in the handling for the path condition for the warni

[Bug testsuite/95008] New: [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169

2020-05-08 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 Bug ID: 95008 Summary: [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169 Product: gcc Version: 11.0 St

[Bug c++/95009] New: decltype of increment or decrement bitfield expressions are wrong and causes assembler errors.

2020-05-08 Thread okannen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009 Bug ID: 95009 Summary: decltype of increment or decrement bitfield expressions are wrong and causes assembler errors. Product: gcc Version: 10.1.0 Status: UNCONFIRMED

[Bug analyzer/95000] -fanalyzer confused by switch on non-int type

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95000 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/95010] New: Recursive function template with function parameter of type decltype([]{}) is rejected

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95010 Bug ID: 95010 Summary: Recursive function template with function parameter of type decltype([]{}) is rejected Product: gcc Version: 10.0 Status: UNCONFIRMED Se

[Bug c/95011] New: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1

2020-05-08 Thread mario_grgic at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95011 Bug ID: 95011 Summary: Error building gcc 10.1.0 on macOS Catalina with Xcode 11.4.1 Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug libbacktrace/95012] New: [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’

2020-05-08 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 Bug ID: 95012 Summary: [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’ Product: gcc Version: 10.1.0 Status: UNCONFIRMED Se

[Bug libbacktrace/95012] [mingw/gcc10.1] mmapio.c:69:14: error: implicit declaration of function ‘getpagesize’

2020-05-08 Thread xantares09 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95012 --- Comment #1 from xantares09 at hotmail dot com --- the full compilation script can be seen here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mingw-w64-gcc

[Bug ada/65696] ASAN reports global-buffer-overrun for local tagged types

2020-05-08 Thread demoonlit at panathenaia dot halfmoon.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65696 --- Comment #4 from yuta tomino --- I'm trying the released gcc-10.1, and confirmed that this is fixed. Thank you.

[Bug analyzer/94851] -fanalyzer erroneously reporting NULL dereference - simple test case attached

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94851 David Malcolm changed: What|Removed |Added Summary|-fanalyzer erroniously |-fanalyzer erroneously

[Bug c++/94885] [10 Regression] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

2020-05-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94885 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Marek Polacek : https://gcc.gnu.org/g:ceae6a13366d9646e172fc943fe8e221b70f0920 commit r10-8124-gceae6a13366d9646e172fc943fe8e221b70f0920 Author: Marek Polacek D

[Bug c++/94885] [10 Regression] Functional cast from int to empty class type with empty base incorrectly accepted with -std=c++2a

2020-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94885 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/94458] -Wanalyzer-malloc-leak false positive when returning a heap-allocated struct by value holding a heap-allocated pointer

2020-05-08 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94458 David Malcolm changed: What|Removed |Added Last reconfirmed||2020-05-08 Status|UNCONFIRME

[Bug ada/65696] ASAN reports global-buffer-overrun for local tagged types

2020-05-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65696 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/47765] [Core/1391] Wrong template deduction

2020-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47765 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug middle-end/94992] gcc thinks a member variable is uninitialised

2020-05-08 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94992 --- Comment #3 from Rafael Avila de Espindola --- For completeness, this is a reduction of a std::swap(x,x). The placement new was originally in the move assignment operator. I was able to reproduce this with gcc 9 by moving a few functions out

[Bug c++/80711] warn on non-const accessor member functions

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80711 Martin Sebor changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment #4

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 Martin Sebor changed: What|Removed |Added Keywords||diagnostic CC|

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread mateusz.pusz at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 --- Comment #2 from Mateusz Pusz --- It might be a regression because I remember it working fine. Now it fails again. Check here: https://godbolt.org/z/-K39X7.

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #2 from David Binderman --- Created attachment 48485 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48485&action=edit text file

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #3 from David Binderman --- (In reply to Martin Sebor from comment #1) > Assuming this is meant to be an enhancement request to add new option to > suggest to make member functions const the same enhancement request has > already been

[Bug c++/93103] Generic function syntax does not check return concept

2020-05-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93103 --- Comment #3 from Patrick Palka --- Aren't we correct to reject both calls? The deduced return type for both is 'double', which does not model Integral. I thought the problem was that we were correctly rejecting the first call but failing to

[Bug testsuite/95008] [11 regression] excess errors in gcc.dg/analyzer/pr93382.c and gcc.dg/two-types-6.c after r11-169

2020-05-08 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95008 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Last reconfirmed|

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #4 from Martin Sebor --- After noticing pr94995 (and subsequently also your clarification in comment #3) I see I was wrong in my assumption. While I'm a big fan of const correctness and agree that those functions (and probably many o

[Bug c++/94997] gcc/cp/call.c: 4 * member function could be const ?

2020-05-08 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94997 --- Comment #5 from David Binderman --- (In reply to Martin Sebor from comment #4) > ... I see more overhead than value in reports suggesting > these types of improvements to the code base. Righto. I've provided the list of all known 237 place

[Bug tree-optimization/89963] [GRAPHITE] Compile-time hog when compiling gcc/testsuite/gcc.dg/autopar/uns-outer-6.c

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89963 --- Comment #3 from Arseny Solokha --- I cannot reproduce it w/ gcc-10.1.0-RC-20200430 or gcc 9.3, gmp 6.2.0, and isl 0.22.1.

[Bug target/90000] Compile-time hog w/ impossible asm constraints on powerpc

2020-05-08 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #4 from Will Schmidt --- I'll be attaching a proposed(/rfc) patch momentarily. I'm able to add logic in cfgexpand.c expand_asm_stmt() to catch the use of a FP register when our target is SOFT_FLOAT ; but the result is an ICE while t

[Bug target/90000] Compile-time hog w/ impossible asm constraints on powerpc

2020-05-08 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9 --- Comment #5 from Will Schmidt --- Created attachment 48486 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48486&action=edit Patch that seemed promising but is not sufficient.

[Bug rtl-optimization/85099] [meta-bug] selective scheduling issues

2020-05-08 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85099 Bug 85099 depends on bug 84206, which changed state. Bug 84206 Summary: ICE in get_all_loop_exits, at sel-sched-ir.h:1138 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84206 What|Removed |Added --

  1   2   >