[Bug testsuite/101969] [10 regression] reactivated test case gcc.dg/pr78213.c in r10-10042 fails

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101969 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:fc1993af02a3076e91c24f372be1883517453095 commit r9-9681-gfc1993af02a3076e91c24f372be1883517453095 Author: Thomas Schwinge

[Bug testsuite/101969] [10 regression] reactivated test case gcc.dg/pr78213.c in r10-10042 fails

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101969 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:ee7502e5fec1a1c0215febfd486a0df9ffaf5692 commit r10-10046-gee7502e5fec1a1c0215febfd486a0df9ffaf5692 Author: Thomas Schwi

[Bug testsuite/101969] [10 regression] reactivated test case gcc.dg/pr78213.c in r10-10042 fails

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101969 --- Comment #3 from CVS Commits --- The releases/gcc-11 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:5fb588a677bf34dc864c577ed848405752905b89 commit r11-8885-g5fb588a677bf34dc864c577ed848405752905b89 Author: Thomas Schwin

[Bug testsuite/101969] [10 regression] reactivated test case gcc.dg/pr78213.c in r10-10042 fails

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101969 --- Comment #2 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:b7fc42073c04813f6b63e0641d3f6765424857c9 commit r12-3012-gb7fc42073c04813f6b63e0641d3f6765424857c9 Author: Thomas Schwinge Date:

[Bug fortran/101735] Type parameter inquiries for substrings are rejected

2021-08-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101735 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org Key

[Bug target/82730] extra store/reload of an XMM for every byte extracted

2021-08-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82730 --- Comment #2 from Hongtao.liu --- Similar as 48609

[Bug target/81496] AVX load from adjacent memory location followed by concatenation

2021-08-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81496 --- Comment #8 from Hongtao.liu --- Similar as 48609

[Bug target/81496] AVX load from adjacent memory location followed by concatenation

2021-08-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81496 --- Comment #7 from Hongtao.liu --- we have plenty of such issues which are related to ABI and middle-end, when pass/return struct/complex/int128 as parameter and middle-end will push them to stack and load it back, but the problem is that eith

[Bug c/101974] New: ICE on compilable code: in from_mode_char, at attribs.h:304

2021-08-18 Thread cnsun at uwaterloo dot ca via Gcc-bugs
version 12.0.0 20210818 (experimental) [master revision :ac65007c1:2d14d64bf2d42a87ec58dd3760be12aeaa4a4279] (GCC) $ cat mutant.c __attribute__((access("+nosimd"))) rdonly_v_all(); $ gcc-trunk mutant.c mutant.c:1:36: warning: type defaults to ‘int’ in declaration of ‘rdonly_v_all’ [-Wim

[Bug tree-optimization/13563] if-conversion not agressive enough

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13563 Andrew Pinski changed: What|Removed |Added CC||rth at gcc dot gnu.org --- Comment #8 fr

[Bug tree-optimization/45032] Missed optimization in ifcvt/crossjump

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45032 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/60104] load not folded into indirect branch on x86-64

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60104 Andrew Pinski changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #

[Bug target/53772] Failed to combine load and jump on vtable

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53772 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/59132] Missing aggressive array based optimisation warning

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59132 Andrew Pinski changed: What|Removed |Added Keywords|missed-optimization |diagnostic --- Comment #2 from Andrew Pi

[Bug middle-end/101973] subtraction of clz is not optimized

2021-08-18 Thread sven.koehler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101973 Sven changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/101973] subtraction of clz is not optimized

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101973 --- Comment #1 from Andrew Pinski --- This is fixed on the trunk.

[Bug middle-end/101973] New: subtraction of clz is not optimized

2021-08-18 Thread sven.koehler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101973 Bug ID: 101973 Summary: subtraction of clz is not optimized Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug tree-optimization/14721] jump optimization involving a sibling call within a jump table

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14721 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/47253] Conditional jump to tail function is not generated

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47253 Andrew Pinski changed: What|Removed |Added CC||jay.foad at gmail dot com --- Comment #6

[Bug target/60159] improve code for conditional sibcall

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60159 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug target/82668] could use BMI2 rorx for unpacking struct { int a,b }; from a register (SysV ABI)

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82668 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug tree-optimization/101972] [9/10/11/12 Regression] wrong code at -O2 on x86_64-linux-gnu

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101972 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Keywords|

[Bug tree-optimization/101972] wrong code at -O2 on x86_64-linux-gnu

2021-08-18 Thread qrzhang at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101972 --- Comment #1 from Qirun Zhang --- My bisection points to g:a81e2c6240655f60a49c16e0d8bbfd2ba40bba51

[Bug tree-optimization/101972] New: wrong code at -O2 on x86_64-linux-gnu

2021-08-18 Thread qrzhang at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101972 Bug ID: 101972 Summary: wrong code at -O2 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug tree-optimization/100457] [meta bug] Enabling O2 vectorization in GCC 12

2021-08-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100457 Bug 100457 depends on bug 99881, which changed state. Bug 99881 Summary: Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 What|Removed |Added --

[Bug target/99881] Regression compare -O2 -ftree-vectorize with -O2 on SKX/CLX

2021-08-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99881 Hongtao.liu changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug target/101936] [12 Regression] 538.imagick_r -Ofast regression on Kabylake since g:872da9a6f664a06d73c987aa0cb2e5b830158a10

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101936 --- Comment #4 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:1db70e61a92978377a648bbd90e383859fc0126b commit r12-3011-g1db70e61a92978377a648bbd90e383859fc0126b Author: liuhongt Date: Tue Aug

[Bug target/101929] r12-2549 regress x264_r by 4% on CLX.

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 --- Comment #4 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:1db70e61a92978377a648bbd90e383859fc0126b commit r12-3011-g1db70e61a92978377a648bbd90e383859fc0126b Author: liuhongt Date: Tue Aug

[Bug bootstrap/55886] gcc/configure.ac problems lead to GCC 4.7.2 not building for x86_64-pc-mingw64

2021-08-18 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55886 jyong at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug tree-optimization/78579] redundant instruction of the form cmp r0, r0 generated in assembly with -O2

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78579 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|rtl-optim

[Bug tree-optimization/21278] Move maximum out of a loop

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21278 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-11-16 00:00:00 |2021-8-18 --- Comment #3 from Andrew Pin

[Bug middle-end/76174] Missed VRP optimization

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=76174 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-08-13 00:00:00 |2021-8-18 --- Comment #3 from Andrew Pin

[Bug tree-optimization/65084] Lack of type narrowing/widening inhibits good vectorization

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65084 --- Comment #7 from Andrew Pinski --- I see the first testcase produces: .L2: vpand a+32(%rax), %ymm4, %ymm1 vpand a(%rax), %ymm4, %ymm0 addq$64, %rax vpaddw b-32(%rax), %ymm2, %ymm5 vpackuswb

[Bug middle-end/66391] suboptimal code for assignment of SImode struct with bitfields

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66391 --- Comment #1 from Andrew Pinski --- So at -O2 we get decent code from GCC 9+ due to store merging which "undoes" what SRA did. But at -O3 the loop gets split into two.

[Bug rtl-optimization/68282] Optimization fails to remove unnecessary sign extension instruction

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68282 --- Comment #4 from Andrew Pinski --- clang can now produce: andl$-4, %edi movltable+4(%rdi), %eax retq GCC no longer has the sign extend but still not the above: shrb$2, %dil addl$1, %edi

[Bug rtl-optimization/64082] virtual register elimination doing bad for local array

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64082 Andrew Pinski changed: What|Removed |Added Known to fail||5.4.0 Known to work|

[Bug target/101971] M68k: ICE: Tried to convert PC relative branch to absolute jump

2021-08-18 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971 --- Comment #4 from Giulio Benetti --- Package is libmodsecurity, not bullet.

[Bug analyzer/101837] [11/12 Regression] ICE with -O3 -fsanitize=undefined -fanalyzer since r11-7941-ge4bb1bd60a9fd1be

2021-08-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101837 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug analyzer/101875] [12 Regression] ICE: Segmentation fault (in c_tree_printer)

2021-08-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101875 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David Malc

[Bug target/101971] M68k: ICE: Tried to convert PC relative branch to absolute jump

2021-08-18 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971 --- Comment #3 from Giulio Benetti --- Thank you for pointing, I give it a try, it seems to that one. Also the classic work-around disabling optimization doesn't work and I was trying other workaround. But I try that patch now. Thanks again!

[Bug target/101971] M68k: ICE: Tried to convert PC relative branch to absolute jump

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971 --- Comment #2 from Andrew Pinski --- Or a buildroot issue of trying to use elf2flt : https://buildroot.uclibc.narkive.com/EOUb7PvD/patch-v2-m68k-disable-br2-binfmt-flat-sep-data-for-coldfire

[Bug target/101971] M68k: ICE: Tried to convert PC relative branch to absolute jump

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971 Andrew Pinski changed: What|Removed |Added Target||m68k-linux Component|c++

[Bug c++/101971] New: M68k: ICE: Tried to convert PC relative branch to absolute jump

2021-08-18 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101971 Bug ID: 101971 Summary: M68k: ICE: Tried to convert PC relative branch to absolute jump Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug ada/101970] New: [11 regression] ICE on 'Enum_Rep for the enum that filled its representation range

2021-08-18 Thread demoonlit at panathenaia dot halfmoon.jp via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101970 Bug ID: 101970 Summary: [11 regression] ICE on 'Enum_Rep for the enum that filled its representation range Product: gcc Version: 11.2.0 Status: UNCONFIRMED Sev

[Bug tree-optimization/73457] Missed optimizations: count_if on std::array of constants.

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73457 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #3 from Andrew P

[Bug c/101953] bug on the default cast operator from double to unsigned short

2021-08-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953 --- Comment #28 from Jakub Jelinek --- That flag does work: gcc -fsanitize=float-cast-overflow -Wall -o pr101953{,.c} -lm; ./pr101953 pr101953.c:12:11: runtime error: -32000 is outside the range of representable values of type 'unsigned int' -32

[Bug c/101953] bug on the default cast operator from double to unsigned short

2021-08-18 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953 --- Comment #27 from Harald van Dijk --- (In reply to jos...@codesourcery.com from comment #25) > The option to use to detect this is -fsanitize=float-cast-overflow (note: > I haven't tested if it detects this particular case). As per the manu

[Bug c/101953] bug on the default cast operator from double to unsigned short

2021-08-18 Thread mlwmohawk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953 --- Comment #26 from M W --- pi@raspberrypi:~ $ gcc -fsanitize=float-cast-overflow -Wall -o badpi badpi.c -lm pi@raspberrypi:~ $ That flag doesn't work

[Bug tree-optimization/73457] Missed optimizations: count_if on std::array of constants.

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=73457 --- Comment #2 from Andrew Pinski --- testcase: #include #include enum event { stuff, crap }; template auto count_event(event e, Cont const& events) { return std::count(events.begin(), events.end(), e); } int main() { std::arra

[Bug middle-end/55771] Negation and type conversion incorrectly exchanged

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55771 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/29144] Missing if-conversion. If-conversion dependent on operand order. Inconsistent if-conversion.

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29144 Andrew Pinski changed: What|Removed |Added Known to work||10.1.0, 8.1.0 --- Comment #3 from Andrew

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

2021-08-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 --- Comment #6 from Jakub Jelinek --- --- gcc/dwarf2out.c.jj 2021-08-17 09:25:08.196923026 +0200 +++ gcc/dwarf2out.c 2021-08-18 23:18:56.284227245 +0200 @@ -24477,7 +24477,9 @@ gen_variable_die (tree decl, tree origin { if (earl

[Bug analyzer/101962] Analyzer NULL false positive with pointer manipulation

2021-08-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101962 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/68557] Missed x86 peephole optimization for multiplying by a bool

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68557 Andrew Pinski changed: What|Removed |Added CC||gabravier at gmail dot com --- Comment #

[Bug middle-end/97743] Failure to optimize boolean multiplication to select

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97743 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/82680] Use cmpXXss and cmpXXsd for setcc boolean compare

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82680 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) I should say this is with the following options: /O2 /std:c++latest /arch:AVX2

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

2021-08-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 --- Comment #5 from Jakub Jelinek --- assemble_decl isn't even called for DECL_HARD_REGISTER global vars: if (DECL_HARD_REGISTER (node->decl) || DECL_HAS_VALUE_EXPR_P (node->decl)) continue; if (node->definition)

[Bug target/82680] Use cmpXXss and cmpXXsd for setcc boolean compare

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82680 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug debug/101905] [9/10/11/12 Regression] Missed debug information for global register variable

2021-08-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 Jakub Jelinek changed: What|Removed |Added Summary|Missed debug information|[9/10/11/12 Regression]

[Bug c/101953] bug on the default cast operator from double to unsigned short

2021-08-18 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953 --- Comment #25 from joseph at codesourcery dot com --- The option to use to detect this is -fsanitize=float-cast-overflow (note: I haven't tested if it detects this particular case). As per the manual: "Unlike other similar options, @option{

[Bug debug/101905] Missed debug information for global register variable

2021-08-18 Thread yuri.karlsbrun at broadcom dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101905 --- Comment #3 from Yuri Karlsbrun --- With the gcc-5.3 correct debug info for global register variable is written, and variable is visible to gdb gcc -v Using built-in specs. COLLECT_GCC=/tools/oss/packages/x86_64-centos7/gcc/5.3.0/bin/gcc COL

[Bug testsuite/101969] [10 regression] reactivated test case gcc.dg/pr78213.c in r12-10042 fails

2021-08-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101969 seurer at gcc dot gnu.org changed: What|Removed |Added Summary|[12 regression] reactivated |[10 regression] reactivated

[Bug testsuite/101969] New: [12 regression] reactivated test case gcc.dg/pr78213.c in r12-10042 fails

2021-08-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101969 Bug ID: 101969 Summary: [12 regression] reactivated test case gcc.dg/pr78213.c in r12-10042 fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug gcov-profile/89961] When "--intermediate-format" is used "--preserve-paths"/"--hash-filenames" is ignored

2021-08-18 Thread xaizek at posteo dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89961 --- Comment #20 from xaizek --- The patch works! I think you actually implemented behaviour of `-p` for `-l` (you hash path in the code and don't process includes). `-l` doesn't seem to make much sense for JSON, because all includes will be in th

[Bug bootstrap/101966] The specified --host is not always passed correctly

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966 --- Comment #4 from Andrew Pinski --- And then I just do for building: PMAKE="make -j24" $PMAKE all-host make install-host DESTDIR=${SYSROOT}

[Bug preprocessor/101968] Preprocessor line number statements become wrong after '#include'

2021-08-18 Thread aaron.hill at wdc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101968 --- Comment #1 from Aaron Hill --- Created attachment 51321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51321&action=edit Add the empty 'foo.h' file used by 'test.cpp' This file contains a blank line, to allow me to attach it to this i

[Bug bootstrap/101966] The specified --host is not always passed correctly

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966 --- Comment #3 from Andrew Pinski --- This configure works for me: TOP=`pwd` target=aarch64-marvell-linux-gnu GCC_CONFIG_ARGS="--disable-fixed-point --without-ppl --without-python --disable-werror --enable-plugins --with-system-zlib --with-syst

[Bug preprocessor/101968] New: Preprocessor line number statements become wrong after '#include'

2021-08-18 Thread aaron.hill at wdc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101968 Bug ID: 101968 Summary: Preprocessor line number statements become wrong after '#include' Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/101967] Implement F2018:C949

2021-08-18 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101967 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug fortran/101967] New: Implement F2018:C949

2021-08-18 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101967 Bug ID: 101967 Summary: Implement F2018:C949 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee:

[Bug c/101966] The specified --host is not always passed correctly

2021-08-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966 --- Comment #2 from Andreas Schwab --- Why are you overriding CC_FOR_TARGET? All build modules need to be executable on the build system, so host=build is correct. Where does -mtune=cortex-a53 come from?

[Bug testsuite/101963] New test case gfortran.dg/nothing-1.f90 in r12-2992 doesn't compile

2021-08-18 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101963 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug testsuite/101963] New test case gfortran.dg/nothing-1.f90 in r12-2992 doesn't compile

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101963 --- Comment #1 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:f0fca213bc52644ba896da622b35842a6157bd98 commit r12-3009-gf0fca213bc52644ba896da622b35842a6157bd98 Author: Tobias Burnus Date: W

[Bug c/101966] The specified --host is not always passed correctly

2021-08-18 Thread frans at fransdb dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966 --- Comment #1 from frans at fransdb dot nl --- Created attachment 51319 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51319&action=edit partial listing of compiler

[Bug c/101966] New: The specified --host is not always passed correctly

2021-08-18 Thread frans at fransdb dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101966 Bug ID: 101966 Summary: The specified --host is not always passed correctly Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug middle-end/101955] (signed<<

2021-08-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug jit/100613] libgccjit should produce dylib on macOS

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100613 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:08defd9c4e4f8dc428f2f490705ab816af81a03d commit r12-3008-g08defd9c4e4f8dc428f2f490705ab816af81a03d Author: Iain Sandoe Date: Thu

[Bug objc/101666] Objective-C frontend crashes with `-fobjc-nilcheck`

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101666 --- Comment #4 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:d2aa4e0b3b5053df8f5853d9ed29022ff0d3ecf6 commit r12-3006-gd2aa4e0b3b5053df8f5853d9ed29022ff0d3ecf6 Author: Iain Sandoe Date: Sat

[Bug libstdc++/101965] New: check in charconv is vacuously true

2021-08-18 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101965 Bug ID: 101965 Summary: check in charconv is vacuously true Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c/101964] using scanf makes compiler never terminate

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101964 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug c/101964] using scanf makes compiler never terminate

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101964 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/101964] New: using scanf makes compiler never terminate

2021-08-18 Thread mateusmoraisdias3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101964 Bug ID: 101964 Summary: using scanf makes compiler never terminate Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/101955] (signed<<

2021-08-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 --- Comment #3 from Andrew Pinski --- This is also the sign extend for loading one bit. That is take struct g { int a:1; int b0:1; int b1:1; int b2:1; int b:1; }; int h(struct g *a) { return a->a; } Currently on x86_64

[Bug analyzer/97114] Support for vfuncs in -fanalyzer

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97114 --- Comment #2 from CVS Commits --- The master branch has been updated by Ankur saini : https://gcc.gnu.org/g:1b34248527472496ca3fe2a07183beac8cf69041 commit r12-3003-g1b34248527472496ca3fe2a07183beac8cf69041 Author: Ankur Saini Date: Sun Au

[Bug analyzer/100546] -Wanayzer-null-dereference false positive through noreturn function pointer

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100546 --- Comment #2 from CVS Commits --- The master branch has been updated by Ankur saini : https://gcc.gnu.org/g:aef703cf982072427e74034f4c460a11c5e04b8e commit r12-3002-gaef703cf982072427e74034f4c460a11c5e04b8e Author: Ankur Saini Date: Thu J

[Bug testsuite/101963] New: New test case gfortran.dg/nothing-1.f90 in r12-2992 doesn't compile

2021-08-18 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101963 Bug ID: 101963 Summary: New test case gfortran.dg/nothing-1.f90 in r12-2992 doesn't compile Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/101962] New: Analyzer NULL false positive with pointer manipulation

2021-08-18 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101962 Bug ID: 101962 Summary: Analyzer NULL false positive with pointer manipulation Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug bootstrap/101959] [12 Regression] hash_map self test bootstrap failure

2021-08-18 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101959 Thomas Schwinge changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug bootstrap/101959] [12 Regression] hash_map self test bootstrap failure

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101959 --- Comment #4 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:bb04a03c6f9bacc890118b9e12b657503093c2f8 commit r12-3001-gbb04a03c6f9bacc890118b9e12b657503093c2f8 Author: Thomas Schwinge Date:

[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

2021-08-18 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197 --- Comment #18 from Tamar Christina --- (In reply to Martin Liška from comment #17) > Waiting for Tamara's test-case now. > Btw. can you please share a pointer to the Github repsitory? Sure, it's this project and this particular call https://g

[Bug middle-end/101955] (signed<<

2021-08-18 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101955 --- Comment #2 from Andreas Schwab --- If you want to be agressive you can optimize f to return 0.

[Bug c/61399] LDBL_MAX is incorrect with IBM long double format / overflow issues near large values

2021-08-18 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61399 --- Comment #13 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #12) > That isn't representable in the GCC internal representation, which pretends > the type has fixed 106 bit precision [...] So, if I understand correctly, this

[Bug target/101865] _ARCH_PWR8 is not defined when using -mcpu=power8

2021-08-18 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101865 --- Comment #3 from Segher Boessenkool --- The current code reads if ((flags & OPTION_MASK_DIRECT_MOVE) != 0) rs6000_define_or_undefine_macro (define_p, "_ARCH_PWR8"); if ((flags & OPTION_MASK_MODULO) != 0) rs6000_define_or_undefine

[Bug c/101953] bug on the default cast operator from double to unsigned short

2021-08-18 Thread mlwmohawk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953 --- Comment #24 from M W --- I know it is documented as "undefined," but it is also unexpected without even a warning. Anyone maintaining code and/or porting to rpi will simply not expect this behavior. I certainly didn't. I had been using my co

[Bug target/101723] arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:b8a001599d21eaa77737df7efc6bc206e6964cdf commit r11-8883-gb8a001599d21eaa77737df7efc6bc206e6964cdf Author: Christophe L

[Bug c/101953] bug on the default cast operator from double to unsigned short

2021-08-18 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101953 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #2

[Bug target/101723] arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:39bb64e79a280fa773c8dcd79b992745e8c1b738 commit r11-8882-g39bb64e79a280fa773c8dcd79b992745e8c1b738 Author: Christophe L

[Bug target/101723] arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions

2021-08-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Earnshaw : https://gcc.gnu.org/g:c21ba5e57e49b870f1607944c0742e78feb7bc8d commit r11-8881-gc21ba5e57e49b870f1607944c0742e78feb7bc8d Author: Richard Earn

[Bug c/61399] LDBL_MAX is incorrect with IBM long double format / overflow issues near large values

2021-08-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61399 --- Comment #12 from Jakub Jelinek --- (In reply to Vincent Lefèvre from comment #11) > In addition to the maximum exponent issue, for LDBL_MAX following the defect > report, instead of > > 0x1.f78p+1023 > > I would ex

[Bug c/61399] LDBL_MAX is incorrect with IBM long double format / overflow issues near large values

2021-08-18 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61399 --- Comment #11 from Vincent Lefèvre --- In addition to the maximum exponent issue, for LDBL_MAX following the defect report, instead of 0x1.f78p+1023 I would expect 0x1.f7cp+1023 = DBL_MAX +

  1   2   >