[Bug ipa/105438] [11/12/13/14 Regression] Incorrect array-bounds warning with array size carried over from a previous template instantiation since r11-4987-g602c6cfc79ce4ae6

2023-07-20 Thread bernie at codewiz dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105438 Bernie Innocenti changed: What|Removed |Added Version|11.3.0 |13.1.1 Target Milestone|11.5

[Bug target/109973] [13 Regression] Wrong code for AVX2 since 13.1 by combining VPAND and VPTEST since r13-2006-ga56c1641e9d25e

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109973 Richard Biener changed: What|Removed |Added Known to work||13.1.1 Resolution|---

[Bug c++/110749] wrong show float

2023-07-20 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 Andreas Schwab changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/61747] min,max pattern not always properly optimized (for sse4 targets)

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61747 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:ceae1400cf24f329393e96dd9720b0391afe858d commit r14-2667-gceae1400cf24f329393e96dd9720b0391afe858d Author: Richard Biener Date:

[Bug tree-optimization/61747] min,max pattern not always properly optimized (for sse4 targets)

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61747 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/88873] missing vectorization for decomposed operations on a vector type

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88873 --- Comment #9 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:097106972f243ddcbddbbddd9a6bcc076f58b453 commit r14-2668-g097106972f243ddcbddbbddd9a6bcc076f58b453 Author: Roger Sayle Date: Thu Ju

[Bug middle-end/94497] Branchless clamp in the general case gets a branch in a particular case ?

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94497 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0 Status|NEW

[Bug target/106952] Missed optimization: x < y ? x : y not lowered to minss

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106952 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug middle-end/110750] New: [og13] nvptx offloading FAILs 'libgomp.c-c++-common/target-implicit-map-4.c' execution test

2023-07-20 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110750 Bug ID: 110750 Summary: [og13] nvptx offloading FAILs 'libgomp.c-c++-common/target-implicit-map-4.c' execution test Product: gcc Version: og13 (devel/omp/gcc-13)

[Bug target/95083] x86 fp_movcc expansion depends on real_cst sharing

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95083 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/103173] strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2023-07-20 Thread georgmueller at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 Georg Müller changed: What|Removed |Added CC||georgmueller at gmx dot net --- Comment

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 Kewen Lin changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 --- Comment #3 from Kewen Lin --- Created attachment 55587 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55587&action=edit trial-patch This patch can fix the exposed failures on gcc.target/powerpc/p9-vec-length-epil-{1,8}.c, fully testin

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 --- Comment #4 from Richard Biener --- Hmm, shouldn't this also apply to the main loop? I suppose we just never get such a case, but maybe with peeling for gaps we would? Eventually we'd hope we never would cost it as profitable. In any case

[Bug target/110751] New: RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread xuli1 at eswincomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 Bug ID: 110751 Summary: RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110749] wrong show float

2023-07-20 Thread alexsyrezerv at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 --- Comment #2 from Aleksei --- Created attachment 55589 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55589&action=edit GDB SHOW IT But GDB show it normally

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #1 from JuzheZhong --- Thanks Xu take care of this issue. Since it may need vectorizer support, better listen to both Richards's suggestions.

[Bug middle-end/110612] text-art: four clang warnings

2023-07-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110612 --- Comment #1 from David Binderman --- A couple more clang warnings related to the text-art directory: /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/unique_ptr.h:99:2: warning: delete called on non-final 'ana::stri

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 Richard Biener changed: What|Removed |Added Target||riscv --- Comment #2 from Richard Bien

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #3 from Richard Biener --- OK, so TA is either merge or all-ones. Not sure how you can use MA at the moment since you specify an existing operand in your target hook. As far as I can see there's no value the target hook can provide

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug tree-optimization/110743] Unexpected -ftrivial-auto-var-init=pattern behavior with partial bitfields

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110743 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug other/110744] [14 regression] gcc.dg/tree-ssa/pr84512.c fails after r14-2267-gb8806f6ffbe72

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110744 Richard Biener changed: What|Removed |Added Target Milestone|--- |14.0

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #4 from Kito Cheng --- > OK, so TA is either merge or all-ones. Yes, your understand is correct, just few more detail is that can be mixing with either merge or all-ones. e.g. An 4 x i32 vector with mask 1 0 1 0 Op = | a | b |

[Bug c++/110749] wrong show float

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 --- Comment #3 from Jonathan Wakely --- Your program is using the default precision for printing a double: 6 significant figures. 101.922499943 with 6 digits of precision is 101.922 (because (24 rounds to 2). 101.922499943 with

[Bug target/110740] [14 regression] gcc.target/powerpc/p9-vec-length-epil-1.c

2023-07-20 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110740 Kewen Lin changed: What|Removed |Added Attachment #55587|0 |1 is obsolete|

[Bug libstdc++/63199] Inserting std::wregex to std::vector loses some std::wregex values

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63199 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.0

[Bug tree-optimization/110742] [14 Regression] cc1plus ICE "Floating point exception" during SLP and profiled bootstrap

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110742 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug c/91951] missed (optimization-level dependent) diagnostic for goto when cleanup attribute callback is not invoked

2023-07-20 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91951 Eric Gallager changed: What|Removed |Added Summary|goto + mixed declarations + |missed (optimization-level

[Bug c++/110749] wrong show float

2023-07-20 Thread alexsyrezerv at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 --- Comment #4 from Aleksei --- ок

[Bug c++/110749] wrong show float

2023-07-20 Thread alexsyrezerv at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 --- Comment #5 from Aleksei --- this variant more clear.. 4 symbol after point// may by c++ has modification for set symbols after decimal point ? ``` void func_float_point(std::ostream& os, const double& value, const mcx::convert_info_t& cv)

[Bug tree-optimization/110742] [14 Regression] cc1plus ICE "Floating point exception" during SLP and profiled bootstrap

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110742 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Commen

[Bug target/103784] suboptimal code for returning bool value on target ppc

2023-07-20 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103784 --- Comment #15 from Surya Kumari Jangala --- This is another test which has unnecessary zero extension: #include bool glob1; bool glob2; bool foo (int a, bool d) { bool c; if (a > 2) c = glob1 & glob2; else c = glob1 | glob2;

[Bug libstdc++/64441] A match_results returns an incorrect sub_match if the sub_match::matched is false

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64441 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.0

[Bug libstdc++/67362] std::regex("((.)", std::regex_constants::basic) throws

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67362 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.3 Blocks|

[Bug libstdc++/53631] [C++11] is unimplemented

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631 Jonathan Wakely changed: What|Removed |Added CC||luto at kernel dot org --- Comment #20

[Bug libstdc++/53561] [c++0x] regex_replace is missing overloads

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53561 Jonathan Wakely changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Jonathan

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #5 from rguenther at suse dot de --- On Thu, 20 Jul 2023, kito at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > --- Comment #4 from Kito Cheng --- > > OK, so TA is either merge or all-ones. > >

[Bug libstdc++/61720] std::regex_search matches incorrectly

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61720 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.0

[Bug libstdc++/63497] std::regex can't handle [^class] correctly and cause runtime crash

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63497 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/63775] [C++11] Regex range with leading dash (-) not working

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63775 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/63920] Any regular expression should not match an empty sequence if match_not_null is specified

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63920 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.0

[Bug libstdc++/63990] regex_search increments a past-the-end iterator

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63990 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |5.0 See Also|

[Bug libstdc++/57808] operators == and != for regex_token_iterator need to be const

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57808 Jonathan Wakely changed: What|Removed |Added CC||kai.un...@l-3com.com --- Comment #3 fr

[Bug libstdc++/58376] regex_iterator::operator== and operator!= not const

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58376 Jonathan Wakely changed: What|Removed |Added Resolution|WONTFIX |DUPLICATE --- Comment #2 from Jonathan

[Bug libstdc++/64140] match_results.prefix() returns an incorrect result if regex_iterator holds a zero-length match

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64140 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/64303] The regex_token_iterator's copy constructor creates an incorrect iterator

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64303 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #6 from JuzheZhong --- (In reply to rguent...@suse.de from comment #5) > On Thu, 20 Jul 2023, kito at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > > > --- Comment #4 from Kito Cheng --- > >

[Bug libstdc++/64584] basic_regex::assign breaks *this if it throws regex_error

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64584 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/64585] The basic_regex object should not match any character sequence after a call to basic_regex::imbue

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64585 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/64649] regex_traits::lookup_classname() only works with random access iterators

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64649 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/64680] basic_regex::operator= does not reset flags

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64680 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/66359] Regex Fails to match

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66359 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |4.9.3

[Bug libstdc++/83601] std::regex_replace C++14 conformance issue: escaping in SED mode

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83601 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug fortran/102003] [PDT] Length of character component not simplified

2023-07-20 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102003 Andre Vehreschild changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/82173] [meta-bug] [PDT] Parameterized derived type errors

2023-07-20 Thread vehre at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173 Bug 82173 depends on bug 102003, which changed state. Bug 102003 Summary: [PDT] Length of character component not simplified https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102003 What|Removed |Added --

[Bug libstdc++/109921] [13 Regression] c++17/floating_from_chars.cc: compile error: ‘from_chars_strtod’ was not declared in this scope

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109921 --- Comment #10 from Jonathan Wakely --- A release candidate arrived: https://gcc.gnu.org/pipermail/gcc/2023-July/242116.html

[Bug libstdc++/110432] macOS: Segmentation fault when using stdlibc++ from gcc 13.1 in combination with clang-16

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110432 --- Comment #18 from Jonathan Wakely --- A release candidate arrived: https://gcc.gnu.org/pipermail/gcc/2023-July/242116.html

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #7 from JuzheZhong --- (In reply to rguent...@suse.de from comment #5) > On Thu, 20 Jul 2023, kito at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > > > --- Comment #4 from Kito Cheng --- > >

[Bug c++/110749] wrong show float

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 --- Comment #6 from Jonathan Wakely --- If you use std::fixed as the floatfield format then std::setprecision specifies the number of digits after the decimal point: os << (0.0 > value ? '-' : '0') << std::setw(cv.size - 1) << std::setfill('0')

[Bug c++/110749] wrong show float

2023-07-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110749 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > You don't need to handle the -'- sign yourself: Oops, I mean '-' sign.

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #8 from rguenther at suse dot de --- On Thu, 20 Jul 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > --- Comment #6 from JuzheZhong --- > (In reply to rguent...@suse.de from commen

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #9 from JuzheZhong --- (In reply to rguent...@suse.de from comment #8) > On Thu, 20 Jul 2023, juzhe.zhong at rivai dot ai wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > > > --- Comment #6 from JuzheZhong ---

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #10 from rguenther at suse dot de --- On Thu, 20 Jul 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > --- Comment #9 from JuzheZhong --- > (In reply to rguent...@suse.de from comme

[Bug tree-optimization/110204] [14 Regression] Suspicous warning when compiling ranges-v3 using GCC trunk (iteration 9223372036854775807 invokes undefined behavior)

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110204 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d0de3bf9175877d6c51c94fe04662c6e031876e1 commit r14-2674-gd0de3bf9175877d6c51c94fe04662c6e031876e1 Author: Richard Biener Date:

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #11 from JuzheZhong --- (In reply to rguent...@suse.de from comment #10) > On Thu, 20 Jul 2023, juzhe.zhong at rivai dot ai wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > > > --- Comment #9 from JuzheZhong --

[Bug tree-optimization/110204] [14 Regression] Suspicous warning when compiling ranges-v3 using GCC trunk (iteration 9223372036854775807 invokes undefined behavior)

2023-07-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110204 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #12 from rguenther at suse dot de --- On Thu, 20 Jul 2023, juzhe.zhong at rivai dot ai wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > --- Comment #11 from JuzheZhong --- > (In reply to rguent...@suse.de from comm

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.or

[Bug target/110751] RISC-V: Suport undefined value that allows VSETVL PASS use TA/MA

2023-07-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 --- Comment #14 from rguenther at suse dot de --- On Thu, 20 Jul 2023, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110751 > > rsandifo at gcc dot gnu.org changed: > >What|Removed

[Bug c++/110752] New: decltype in lambda loses const qualifier unless lambda is mutable

2023-07-20 Thread jzwinck at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110752 Bug ID: 110752 Summary: decltype in lambda loses const qualifier unless lambda is mutable Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/110114] [13/14 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:2cb0dc866e8f95151df5d759157708108e850dd9 commit r14-2677-g2cb0dc866e8f95151df5d759157708108e850dd9 Author: Marek Polacek Date: We

[PATCH] match.pd: Implement missed optimization (x << c) >> c -> -(x & 1) [PR101955]

2023-07-20 Thread Drew Ross via Gcc-bugs
PR middle-end/101955 gcc/ChangeLog: * match.pd (x << c) >> c -> -(x & 1): New simplification. gcc/testsuite/ChangeLog: * gcc.dg/pr101955.c: New test. --- gcc/match.pd| 9 + gcc/testsuite/gcc.dg/pr101955.c | 62 +

Re: [PATCH] match.pd: Implement missed optimization (x << c) >> c -> -(x & 1) [PR101955]

2023-07-20 Thread Drew Ross via Gcc-bugs
My mailer clipped off the top of the commit message: Simplifies (x << c) >> c where x is a signed integral type of width >= int and c = precision(type) - 1 into -(x & 1). Tested successfully on x86_64 and x86 targets. PR middle-end/101955 gcc/ChangeLog: * match.pd (x << c) >> c

[Bug c++/110114] [13 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 Marek Polacek changed: What|Removed |Added Summary|[13/14 Regression] ICE on |[13 Regression] ICE on

[Bug tree-optimization/110315] [13 Regression] g++ crashes with a segmentation fault while compiling a large const std::vector of std::string since r13-6566-ge0324e2629e25a90

2023-07-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110315 --- Comment #7 from Andrew Macleod --- Created attachment 55591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55591&action=edit potental patch I've attached Aldy's patch for PR109695 which he had backported to GCC13 back in May. This doe

Re: [PATCH] match.pd: Implement missed optimization (x << c) >> c -> -(x & 1) [PR101955]

2023-07-20 Thread Andrew Pinski via Gcc-bugs
On Thu, Jul 20, 2023 at 7:47 AM Drew Ross via Gcc-bugs wrote: > > PR middle-end/101955 > > gcc/ChangeLog: > > * match.pd (x << c) >> c -> -(x & 1): New simplification. > > gcc/testsuite/ChangeLog: > > * gcc.dg/pr101955.c: New test. > --- > gcc/match.pd|

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-07-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55572|0 |1 is obsolete|

[Bug c++/110114] [13 Regression] ICE on calling overloaded function in case of incomplete argument type and C++ designated initializers

2023-07-20 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110114 --- Comment #7 from Marek Polacek --- The GCC 13 branch is frozen so I'll put this aside for now.

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 --- Comment #4 from Andrew Pinski --- aarch64 has the following function to check for +0.0: ``` /* Return TRUE if rtx X is immediate constant 0.0 (but not in Decimal Floating Point). */ bool aarch64_float_const_zero_rtx_p (rtx x) { /* 0.0

[Bug c/110753] New: ICE in meet_with_1, at ipa-cp.cc:1057

2023-07-20 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110753 Bug ID: 110753 Summary: ICE in meet_with_1, at ipa-cp.cc:1057 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libgomp/110364] [OpenMP] Environment vars - doc and device-specific cleanup; make GOMP_DEBUG more useful; janitorial tasks

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110364 --- Comment #1 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:506f068e7d01ad2fb107185b8fb204a0ec23785c commit r14-2681-g506f068e7d01ad2fb107185b8fb204a0ec23785c Author: Tobias Burnus Date: T

[Bug ipa/110753] [14 Regression] ICE in meet_with_1, at ipa-cp.cc:1057

2023-07-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110753 Andrew Pinski changed: What|Removed |Added Summary|ICE in meet_with_1, at |[14 Regression] ICE in

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-07-20 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #5

[Bug preprocessor/103902] GCC requires a space between string-literal and identifier in a literal-operator-id where the identifier is not in basic character set

2023-07-20 Thread thiago.bauermann at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103902 --- Comment #12 from Thiago Jung Bauermann --- I confirmed that this fixed the failures I was seeing. Thanks again!

[Bug c++/110197] [13/14 Regression] Empty constexpr object constructor erronously claims out of range access

2023-07-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110197 --- Comment #4 from Patrick Palka --- Looks like this issue isn't specific to constexpr array construction: struct Currency { constexpr Currency(int) { } }; constexpr int f() { return __builtin_is_constant_evaluated(); }; struct A { Currenc

gcc-bugs@gcc.gnu.org

2023-07-20 Thread gsmecher at threespeedlogic dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44949 Graeme Smecher changed: What|Removed |Added CC||gsmecher at threespeedlogic dot co

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-07-20 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 palmer at gcc dot gnu.org changed: What|Removed |Added CC||palmer at gcc dot gnu.org --

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-07-20 Thread palmer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 --- Comment #7 from palmer at gcc dot gnu.org --- (In reply to palmer from comment #6) > (In reply to Jeffrey A. Law from comment #5) > > I'd bet it's const_0_operand not allowing CONST_DOUBLE. > > > > The question is what unintended side effect

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-07-20 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 --- Comment #8 from Vineet Gupta --- (In reply to Jeffrey A. Law from comment #5) > I'd bet it's const_0_operand not allowing CONST_DOUBLE. Correct. > The question is what unintended side effects we'd have if we allowed > CONST_DOUBLE 0.0 in c

[Bug target/110748] RISC-V: optimize store of DF 0.0

2023-07-20 Thread vineetg at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110748 --- Comment #9 from Vineet Gupta --- (In reply to Vineet Gupta from comment #8) > (In reply to Jeffrey A. Law from comment #5) > > I'd bet it's const_0_operand not allowing CONST_DOUBLE. > > Correct. > > > The question is what unintended side

Re: [PATCH] match.pd: Implement missed optimization (x << c) >> c -> -(x & 1) [PR101955]

2023-07-20 Thread Andrew Pinski via Gcc-bugs
On Thu, Jul 20, 2023 at 8:17 AM Andrew Pinski wrote: > > On Thu, Jul 20, 2023 at 7:47 AM Drew Ross via Gcc-bugs > wrote: > > > > PR middle-end/101955 > > > > gcc/ChangeLog: > > > > * match.pd (x << c) >> c -> -(x & 1): New simplification. > > > > gcc/testsuite/ChangeLog: > > > >

[Bug tree-optimization/106103] ICE in binds_to_current_def_p when source object files are compiled with -flto -Os

2023-07-20 Thread ivanka2012 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106103 Ivan changed: What|Removed |Added Known to work||11.3.0 Known to fail|11.3.0

[Bug rtl-optimization/110717] Double-word sign-extension missed-optimization

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 --- Comment #7 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:b50a851eef4b70aabf28fa875d9b2a302d17b66a commit r14-2684-gb50a851eef4b70aabf28fa875d9b2a302d17b66a Author: Uros Bizjak Date: Thu J

[Bug fortran/110658] MINVAL/MAXVAL and deferred-length character arrays

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110658 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5279d2db0c4ace4f8d311d9c875d51a0fe7b40ea commit r12-9782-g5279d2db0c4ace4f8d311d9c875d51a0fe7b40ea Author: Harald Anlauf

[Bug fortran/95947] PACK intrinsic returns blank strings when an allocatable character array with allocatable length is used

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95947 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5279d2db0c4ace4f8d311d9c875d51a0fe7b40ea commit r12-9782-g5279d2db0c4ace4f8d311d9c875d51a0fe7b40ea Author: Harald Anlauf

[Bug rtl-optimization/110717] Double-word sign-extension missed-optimization

2023-07-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110717 Uroš Bizjak changed: What|Removed |Added Assignee|ubizjak at gmail dot com |unassigned at gcc dot gnu.org

[Bug fortran/110658] MINVAL/MAXVAL and deferred-length character arrays

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110658 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7bd1373f87d581b1e5482f9c558d481c38027a99 commit r11-10918-g7bd1373f87d581b1e5482f9c558d481c38027a99 Author: Harald Anlauf

[Bug fortran/95947] PACK intrinsic returns blank strings when an allocatable character array with allocatable length is used

2023-07-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95947 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7bd1373f87d581b1e5482f9c558d481c38027a99 commit r11-10918-g7bd1373f87d581b1e5482f9c558d481c38027a99 Author: Harald Anlauf

  1   2   >