[Bug gcov-profile/89469] [GCOV] wrong frequencies for the first statement in the for(;;) block

2020-11-26 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89469 Sunil Kumar changed: What|Removed |Added CC||sunil.kumar3 at ltts dot com --- Comment #

[Bug target/97939] ICE on sparc64 with UBsan for "i + 4096" on long: unrecognizable insn during RTL pass: vregs

2020-11-26 Thread dclarke at blastwave dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97939 --- Comment #5 from Dennis Clarke --- Not sure how useful this is but all of the following toss the same ICE : long f(long arg){return arg + 4096;} long f(long arg){return arg - 4096;} long f(long arg){return 4096 + arg;} lon

[Bug preprocessor/98021] #warning issues redundant diagnostic lines

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98021 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/98018] Option to force frame pointer

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 --- Comment #4 from Richard Biener --- Note always_inline inlining cannot be disabled. Should it disable function splitting and IPA transforms that require thunks? Thus any transform that might add or remove a frame? Even if the thunk might us

[Bug target/98018] Option to force frame pointer

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Severity|

[Bug tree-optimization/22326] promotions (from float to double) are not removed when they should be able to

2020-11-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 --- Comment #15 from rguenther at suse dot de --- On Fri, 27 Nov 2020, luoxhu at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 > > --- Comment #14 from luoxhu at gcc dot gnu.org --- > (In reply to luoxhu from comme

[Bug tree-optimization/22326] promotions (from float to double) are not removed when they should be able to

2020-11-26 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 --- Comment #14 from luoxhu at gcc dot gnu.org --- (In reply to luoxhu from comment #13) > > 2) mad2.c > > float foo (double x, float y, float z) > { >return ( y * fabs (x) + z ); > } > > > mad2.c.098t.cunrolli: > > foo (double x, float

[Bug tree-optimization/22326] promotions (from float to double) are not removed when they should be able to

2020-11-26 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22326 --- Comment #13 from luoxhu at gcc dot gnu.org --- Tried implementation with backprop, found that this model seems not suitable for double promotion remove with BACK propagation. i.e: 1) mad1.c float foo (float x, float y, float z) { return

[Bug preprocessor/98021] #warning issues redundant diagnostic lines

2020-11-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98021 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org K

[Bug gcov-profile/85163] [GCOV] A call statement with '==' , '||', and '&&' operators is wrongly marked as executed twice

2020-11-26 Thread cs.yang.yibiao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85163 Yibiao Yang changed: What|Removed |Added CC||cs.yang.yibiao at gmail dot com --- Commen

[Bug gcov-profile/85163] [GCOV] A call statement with '==' , '||', and '&&' operators is wrongly marked as executed twice

2020-11-26 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85163 Sunil Kumar changed: What|Removed |Added CC||sunil.kumar3 at ltts dot com --- Comment #

[Bug fortran/98023] ICE: free_expr0(): Bad expr type

2020-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98023 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/98023] New: ICE: free_expr0(): Bad expr type

2020-11-26 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98023 Bug ID: 98023 Summary: ICE: free_expr0(): Bad expr type Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug fortran/98022] New: ICE in gfc_assign_data_value, at fortran/data.c:468

2020-11-26 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98022 Bug ID: 98022 Summary: ICE in gfc_assign_data_value, at fortran/data.c:468 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug preprocessor/98021] #warning issues redundant diagnostic lines

2020-11-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98021 --- Comment #2 from eggert at cs dot ucla.edu --- (In reply to Andrew Pinski from comment #1) > so you are asking not to show the source file for #warning ? That's the possibility I suggested, yes. Another possibility would be to not show the dia

[Bug preprocessor/98021] #warning issues redundant diagnostic lines

2020-11-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98021 --- Comment #1 from Andrew Pinski --- so you are asking not to show the source file for #warning ? I don't see why this warning should be treated as any different from any other warning.

[Bug preprocessor/98021] New: #warning issues redundant diagnostic lines

2020-11-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98021 Bug ID: 98021 Summary: #warning issues redundant diagnostic lines Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: prepr

[Bug fortran/97589] Segementation fault when allocating coarrays.

2020-11-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 --- Comment #22 from Thomas Koenig --- Hi Toon, it took some time, but we finally figured out that it is actually a bug in your program that is causing problems. It has (shortened) nxglobal = 72; This sets the coarray nxglobal to 72 on every

[Bug fortran/91300] Wrong runtime error message with allocate and errmsg=

2020-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91300 --- Comment #6 from anlauf at gcc dot gnu.org --- Currently the only generated STAT code is 5014 for LIBERROR_ALLOCATION. This is ambiguous. Shall we add another enum value to libgfortran_error_codes, such as LIBERROR_VIRTUAL_MEMORY, LIBERROR_MEM

[Bug middle-end/93644] [10/11 Regression] spurious -Wreturn-local-addr with PHI of PHI

2020-11-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93644 --- Comment #10 from eggert at cs dot ucla.edu --- The generic workaround that Bruno describes ran into problems in Gnulib, as it's enabled only when compiled with -DGCC_LINT, and some users don't compile it that way. So we now have a more elabora

[Bug fortran/95342] [9/10/11 Regression] ICE in gfc_match_subroutine, at fortran/decl.c:7913

2020-11-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95342 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/98020] New: PPC: mfvsrwz+extsw not merge to mtvsrwa

2020-11-26 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98020 Bug ID: 98020 Summary: PPC: mfvsrwz+extsw not merge to mtvsrwa Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

2020-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97459 --- Comment #18 from Jakub Jelinek --- Created attachment 49633 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49633&action=edit gcc11-pr97459-wip.patch Completely untested patch, so far only for double-word unsigned modulo.

[Bug tree-optimization/97953] [8/9/10 Regression] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #22 from Chris Clayton --- I've applied Richard's patch to the 20201122 snapshot and can happily report that the build now completes successfully. My thanks to Martin and Richard.

[Bug fortran/98016] Host association problem

2020-11-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 --- Comment #5 from kargl at gcc dot gnu.org --- Index: gcc/gcc/fortran/expr.c === --- gcc/gcc/fortran/expr.c (revision 280157) +++ gcc/gcc/fortran/expr.c (working copy) @@

[Bug c++/98019] Concepts: compound requirement expression from 'requires' expression is considered discarded-value expression for [[nodiscard]], false positive warning emitted

2020-11-26 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98019 --- Comment #1 from Egor Suvorov --- Also, I would expect a warning in this case: requires { foo(); // Looks like a statement. }; but not this: requires { static_cast(foo()); }; or this: requires { { foo() }; // expression chec

[Bug d/98019] New: Concepts: compound requirement expression from 'requires' expression is considered discarded-value expression for [[nodiscard]], false positive warning emitted

2020-11-26 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98019 Bug ID: 98019 Summary: Concepts: compound requirement expression from 'requires' expression is considered discarded-value expression for [[nodiscard]], false positive warning

[Bug libstdc++/97936] [11 Regression] 30_threads/latch/3.cc hangs

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:10522ed1089277e2aa6cd708205aa5c730179cf0 commit r11-5447-g10522ed1089277e2aa6cd708205aa5c730179cf0 Author: Jonathan Wakely Date:

[Bug target/98018] Option to force frame pointer

2020-11-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 --- Comment #3 from H.J. Lu --- -fforce-frame-pointer should disable 1. Tail call. 2. Inlining. Should inlining be totally disabled? Which inlining should be disabled? What do do with static inline and extern inline? 3. Frame pointer optimizati

[Bug target/98018] Option to force frame pointer

2020-11-26 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 --- Comment #2 from Uroš Bizjak --- I vote for -fforce-frame-pointer.

[Bug target/98018] Option to force frame pointer

2020-11-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 --- Comment #1 from H.J. Lu --- Something like, -fneed-frame-pointer, -fforce-frame-pointer or -fgenerate-frame-pointer.

[Bug target/96607] GCC feeds SPARC/Solaris linker with unrecognized TLS sequences

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96607 --- Comment #9 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:294e72e9acbd0ff15ef5b18895de62cc173464ca commit r11-5445-g294e72e9acbd0ff15ef5b18895de62cc173464ca Author: Eric Botcazou Date: Th

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 --- Comment #15 from Jan Smets --- Thanks. See 98018.

[Bug target/98018] New: Option to force frame pointer

2020-11-26 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98018 Bug ID: 98018 Summary: Option to force frame pointer Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target A

[Bug tree-optimization/97997] Missed optimization: Multiply of extended integer cannot overflow

2020-11-26 Thread matthijs at stdin dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97997 --- Comment #5 from Matthijs Kooijman --- Awesome, thanks for the quick response and fix!

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 H.J. Lu changed: What|Removed |Added Resolution|--- |INVALID Status|ASSIGNED

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread jan.smets at nokia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 --- Comment #13 from Jan Smets --- H.J, There are still some very basic backtrace implementations that rely on frame pointers. (No DWARF based things or any other forms of 'assistance'). A missing stack frame means the "previous" function is not

[Bug tree-optimization/97997] Missed optimization: Multiply of extended integer cannot overflow

2020-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97997 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97997] Missed optimization: Multiply of extended integer cannot overflow

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97997 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a3ebc13492ff238873f2c6a7a3e51abefec1d052 commit r11-5444-ga3ebc13492ff238873f2c6a7a3e51abefec1d052 Author: Jakub Jelinek Date: Th

[Bug tree-optimization/97953] [8/9/10 Regression] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 Richard Biener changed: What|Removed |Added Known to work||11.0 Priority|P3

[Bug tree-optimization/98015] [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98015 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #20 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c76b3f9e83353a4cd437ca137c1fb835c9b5c21f commit r11-5443-gc76b3f9e83353a4cd437ca137c1fb835c9b5c21f Author: Richard Biener Date:

[Bug fortran/98016] Host association problem

2020-11-26 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 --- Comment #4 from Dominique d'Humieres --- I confirm that the test in comment O compiles without any error. However if I replace real y(n) with dimension y(n) I get the error Error: Variable 'n' cannot appear in the expression at (

[Bug fortran/98016] Host association problem

2020-11-26 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 --- Comment #3 from Jürgen Reuter --- Ah wait, the version I committed works, the original version from c.l.f. still fails, because it uses implicit typing, so not real :: y(3) and real :: y(n), but dimension y(3) $ cat clf_20201126.f90 program

[Bug fortran/98016] Host association problem

2020-11-26 Thread juergen.reuter at desy dot de via Gcc-bugs
reuter/local --disable-multilib --enable-languages=c,c++,fortran,lto Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.0.0 20201126 (experimental) (GCC) Still present.

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #23 from Stas Sergeev --- (In reply to Jakub Jelinek from comment #22) > -S -fpreprocessed test.i will not work It doesn't seem to support -fpreprocessed though. Thanks for explanations and sorry about naively attributing that effec

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 --- Comment #12 from Martin Liška --- Thanks for the feedback. So do you tend to close it again as invalid?

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 --- Comment #11 from H.J. Lu --- (In reply to Richard Biener from comment #10) > (In reply to Martin Liška from comment #9) > > (In reply to H.J. Lu from comment #8) > > > (In reply to Martin Liška from comment #7) > > > > Can you please H.J. tak

[Bug ipa/98000] [10/11 Regression] ICE verify_cgraph_node failed since r10-7306-g72b3bc895f023bf4

2020-11-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000 --- Comment #6 from Martin Liška --- (In reply to ishikawa,chiaki from comment #5) > (In reply to Martin Liška from comment #3) > > Thank you for the report, it's very likely a different issue. > > I'm reducing that right now.. > > You are very

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #22 from Jakub Jelinek --- (In reply to Stas Sergeev from comment #21) > (In reply to Jakub Jelinek from comment #19) > > It is just that clang doesn't support -g3 at all, as can be seen by clang > > not producing any .debug_macinfo n

[Bug fortran/98017] [8/9/10/11 Regression] Suspected regression (relative to 7.5) using PACK in iolist since r8-4151-g6c6bde30706c29ff

2020-11-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98017 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #21 from Stas Sergeev --- (In reply to Jakub Jelinek from comment #19) > It is just that clang doesn't support -g3 at all, as can be seen by clang > not producing any .debug_macinfo nor .debug_macro sections. So with -fdebug-macro it

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #20 from Stas Sergeev --- Ah, makes sense, thank you. I was always wondering why under clang I need to do "-fdebug-macro" for that (which makes problems for gcc as being an unknown option). But "clang -g3 -fdebug-macro -E -Wp,-P -

[Bug ipa/98000] [10/11 Regression] ICE verify_cgraph_node failed since r10-7306-g72b3bc895f023bf4

2020-11-26 Thread ishikawa at yk dot rim.or.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98000 --- Comment #5 from ishikawa,chiaki --- (In reply to Martin Liška from comment #3) > Thank you for the report, it's very likely a different issue. > I'm reducing that right now.. You are very welcome and thank you for the reduction to simpler ca

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 --- Comment #10 from Richard Biener --- (In reply to Martin Liška from comment #9) > (In reply to H.J. Lu from comment #8) > > (In reply to Martin Liška from comment #7) > > > Can you please H.J. take a look? > > > Maybe we can add a param that w

[Bug tree-optimization/98015] [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98015 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/97902] x86 frame pointer missing with -fno-omit-frame-pointer (-mno-omit-leaf-frame-pointer)

2020-11-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97902 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug fortran/98016] Host association problem

2020-11-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 Thomas Koenig changed: What|Removed |Added Last reconfirmed||2020-11-26 Ever confirmed|0

[Bug fortran/98017] New: Suspected regression (relative to 7.5) using PACK in iolist

2020-11-26 Thread layzarc at aol dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98017 Bug ID: 98017 Summary: Suspected regression (relative to 7.5) using PACK in iolist Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 Martin Liška changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|marxin at gcc dot

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #19 from Martin Liška --- What a nice reduced test-case. Btw. started to fail with r8-4962-g4aa458f2ac11aef0 with -O2 -fno-tree-free

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #19 from Jakub Jelinek --- Note, clang like gcc documents -P to only disable line markers, and it is also what that option does in clang. Just try clang -dD -E -P, it will show the #define lines all over too. It is just that clang doe

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #18 from Richard Biener --- int __attribute__((noipa)) foo (int flag, int *p) { int val = *p; if (flag) { if (val != 1) __builtin_unreachable (); return 0; } int val2 = *p; return val2 == 2; } int

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #18 from Stas Sergeev --- IMHO the only thing that makes sense, is whether or not this is useful in practice. If there are no practical cases for current "-g3 -P" behaviour, then to me the fact that its documented that way, is more or

[Bug fortran/98016] New: Host association problem

2020-11-26 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98016 Bug ID: 98016 Summary: Host association problem Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assigne

[Bug tree-optimization/98015] New: [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a

2020-11-26 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98015 Bug ID: 98015 Summary: [11 regression] ICE in gimple_expand_vec_cond_expr since g:fddc7f0080f1f056c4d145451608ebd3e807422a Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #17 from Jakub Jelinek --- Looks like a bad idea to me. And, I think gcc had this behavior for -g3 and -P years before clang implemented those, so arguing here about clang-compatibility is strange. clang simply decided not to implem

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #9 from CVS Commits --- The releases/gcc-8 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c6145860aac6acfeed2a98fe7532dd2cd0ffab2b commit r8-10650-gc6145860aac6acfeed2a98fe7532dd2cd0ffab2b Author: Jonathan Wakely

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e45e65016754cf4bfc6c00cbbdca700f01f7c324 commit r9-9074-ge45e65016754cf4bfc6c00cbbdca700f01f7c324 Author: Jonathan Wakely

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #17 from Richard Biener --- The issue is a bogus jump threading done in VRP2 caused by bogus range info on the hoisted gimple_code (use->stmt). tree-ssa-loop-ivopts.c.137t.pre- # PT = nonlocal escaped null tree-ssa-loop-ivopts.c.13

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:4cdc67405842946e08e7ddf375e850331530abb7 commit r10-9087-g4cdc67405842946e08e7ddf375e850331530abb7 Author: Jonathan Wakel

[Bug debug/97989] -g3 somehow breaks -E

2020-11-26 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #16 from Stas Sergeev --- What do you think about, in addition to your current patch, to also change -P to disable debug? Looks more user-friendly and clang-compatible?

[Bug ipa/93385] [10/11 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

2020-11-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 --- Comment #38 from Martin Jambor --- *** Bug 97980 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/97980] [10/11 Regression] wrong code with "-O3 -fno-dce -fno-inline-functions-called-once -fno-inline-small-functions -fno-tree-ccp -fno-tree-dce -fno-tree-vrp" since r10-3311-g

2020-11-26 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97980 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/98011] [OpenACC] 'gcc/fortran/scanner.c:load_line' should consider 'flag_openacc' in addition to 'flag_openmp' (and vice versa?)?

2020-11-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98011 --- Comment #2 from Tobias Burnus --- Regarding OpenACC: There is something going wrong here (-fopenacc): ../testsuite/gfortran.dg/goacc/sentinel-free-form.f95:13:6: 13 | !$ acc parallel ! { dg-error "Unclassifiable statement" } |

[Bug libstdc++/98005] FAIL: std/ranges/adaptors/sizeof.cc (test for excess errors)

2020-11-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98005 --- Comment #4 from Andreas Schwab --- Except that those are not the failing assertions. sizeof(ranges::take_while_view) and sizeof(ranges::transform_view) are both 10, probably because sizeof(pred_l) and sizeof(func_l) are 1, and padding is dif

[Bug fortran/98011] [OpenACC] 'gcc/fortran/scanner.c:load_line' should consider 'flag_openacc' in addition to 'flag_openmp' (and vice versa?)?

2020-11-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98011 --- Comment #1 from Tobias Burnus --- The OpenMP version is a bit crude, but OpenMP has besides !$omp also !$ as "conditional compilation sentinel". In free-form source code: "Initial lines must have a space after the sentinel". Still, it

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #6 from Jonathan Wakely --- I added b.close() before the fclose anyway. I'll backport this.

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:2762cb1df686fc1ebcee23c7c4f0f6e8bf5a6abc commit r11-5437-g2762cb1df686fc1ebcee23c7c4f0f6e8bf5a6abc Author: Jonathan Wakely Date:

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #4 from Jonathan Wakely --- Yes, when the filebuf is given a FILE* it doesn't own it, and so the destructor doesn't touch it: __basic_file* __basic_file::close() { __basic_file* __ret = static_cast<__basic_file*>(NULL);

[Bug fortran/98014] New: [Fortran OpenACC] Empty '!$acc' continuation line rejected

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98014 Bug ID: 98014 Summary: [Fortran OpenACC] Empty '!$acc' continuation line rejected Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: openacc Sev

[Bug libstdc++/98005] FAIL: std/ranges/adaptors/sizeof.cc (test for excess errors)

2020-11-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98005 --- Comment #3 from Andreas Schwab --- Objects of type ranges::take_while_view or ranges::transform_view do have the correct size, though.

[Bug fortran/98009] [OpenACC] 'gcc/fortran/match.c:gfc_match_type_spec' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98009 Tobias Burnus changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug fortran/98012] [OpenACC] 'gcc/fortran/scanner.c:include_line' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98012 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/98009] [OpenACC] 'gcc/fortran/match.c:gfc_match_type_spec' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98009 --- Comment #1 from Tobias Burnus --- I am not aware of any OpenACC construct which contains a typespec like 'INTEGER' or 'TYPE(t)' In OpenACC it is used for gfc_match_omp_declare_reduction like is: !$omp declare reduction (baz : integer :

[Bug fortran/98013] New: [OpenACC] 'gcc/fortran/trans-decl.c:gfc_generate_function_code' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98013 Bug ID: 98013 Summary: [OpenACC] 'gcc/fortran/trans-decl.c:gfc_generate_function_code' should consider 'flag_openacc' in addition to 'flag_openmp'? Produ

[Bug fortran/98012] New: [OpenACC] 'gcc/fortran/scanner.c:include_line' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98012 Bug ID: 98012 Summary: [OpenACC] 'gcc/fortran/scanner.c:include_line' should consider 'flag_openacc' in addition to 'flag_openmp'? Product: gcc Version: 11.0 Status: UNCO

[Bug fortran/98010] [OpenACC] 'gcc/fortran/options.c:gfc_post_options' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98010 --- Comment #1 from Tobias Burnus --- Those flags are about implicitly regarding variables as 'SAVE' (i.e. resisting in static memory); this feature clashes with calling procedures recursively or concurrent; the latter affects OpenMP and OpenACC

[Bug fortran/98011] New: [OpenACC] 'gcc/fortran/scanner.c:load_line' should consider 'flag_openacc' in addition to 'flag_openmp' (and vice versa?)?

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98011 Bug ID: 98011 Summary: [OpenACC] 'gcc/fortran/scanner.c:load_line' should consider 'flag_openacc' in addition to 'flag_openmp' (and vice versa?)? Product: gcc Ver

[Bug libstdc++/98001] ext/stdio_filebuf/char/79820.cc is broken

2020-11-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 --- Comment #3 from rguenther at suse dot de --- On Thu, 26 Nov 2020, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98001 > > Jonathan Wakely changed: > >What|Removed |Added

[Bug fortran/98010] New: [OpenACC] 'gcc/fortran/options.c:gfc_post_options' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98010 Bug ID: 98010 Summary: [OpenACC] 'gcc/fortran/options.c:gfc_post_options' should consider 'flag_openacc' in addition to 'flag_openmp'? Product: gcc Version: 11.0

[Bug libstdc++/98005] FAIL: std/ranges/adaptors/sizeof.cc (test for excess errors)

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98005 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/98009] New: [OpenACC] 'gcc/fortran/match.c:gfc_match_type_spec' should consider 'flag_openacc' in addition to 'flag_openmp'?

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98009 Bug ID: 98009 Summary: [OpenACC] 'gcc/fortran/match.c:gfc_match_type_spec' should consider 'flag_openacc' in addition to 'flag_openmp'? Product: gcc Version: 11.0

[Bug libstdc++/98008] WARNING: 30_threads/condition_variable/54185.cc execution test program timed out.

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98008 --- Comment #1 from Jonathan Wakely --- If the following C program works, but 54185.cc deadlocks, it suggests there might be a bug in the libstdc++ code or test instead (this C program fails on AIX, due to a bug in pthread_cond_wait). This works

[Bug libstdc++/98005] FAIL: std/ranges/adaptors/sizeof.cc (test for excess errors)

2020-11-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98005 --- Comment #1 from Andreas Schwab --- /daten/aranym/gcc/gcc-20201125/libstdc++-v3/testsuite/std/ranges/adaptors/sizeof.cc:45: error: static assertion failed /daten/aranym/gcc/gcc-20201125/libstdc++-v3/testsuite/std/ranges/adaptors/sizeof.cc:47:

[Bug libstdc++/98008] New: WARNING: 30_threads/condition_variable/54185.cc execution test program timed out.

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98008 Bug ID: 98008 Summary: WARNING: 30_threads/condition_variable/54185.cc execution test program timed out. Product: gcc Version: 11.0 Status: UNCONFIRMED Severity

[Bug c++/98007] New: [OpenACC] 'gcc/cp/semantics.c:finish_return_stmt' should consider 'flag_openacc' in addition to 'flag_openmp' for 'gcc/cp/decl.c:check_omp_return'?

2020-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98007 Bug ID: 98007 Summary: [OpenACC] 'gcc/cp/semantics.c:finish_return_stmt' should consider 'flag_openacc' in addition to 'flag_openmp' for 'gcc/cp/decl.c:check_omp_return'? Pr

[Bug libstdc++/97944] 30_threads/jthread/95989.cc fails randomly

2020-11-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97944 --- Comment #8 from Jonathan Wakely --- (In reply to Christophe Lyon from comment #0) > Since this new test was introduced, it fails randomly on arm, aarch64 and > other targets (apparently powerpc, ia64, m68k according to gcc-testresults). And

[Bug libstdc++/98004] FAIL: 30_threads/stop_token/stop_callback/destroy.cc execution test

2020-11-26 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98004 --- Comment #1 from Andreas Schwab --- Output: terminate called after throwing an instance of 'std::system_error' what(): Unknown error -1

  1   2   >