[Bug tree-optimization/108467] false positive -Wmaybe-uninitialized warning at -O1 or higher

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108467 --- Comment #2 from Richard Biener --- There's some special code dealing with checking on a conditional set value but that's confused by the two-value guard here.

[Bug ipa/108470] Missing documentation for alternate uses of __attribute__((noinline))

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108470 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/108476] Please turn -Wreturn-type on by default for C

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108476 Richard Biener changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-20 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 --- Comment #11 from rguenther at suse dot de --- On Thu, 19 Jan 2023, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 > > --- Comment #10 from Jonathan Wakely --- > Isn't --enable-version-specific-runtime

[Bug c/108423] [12/13 Regression] ICE in make_ssa_name_fn with VLA types in arguments and inlining since r12-5338-g4e6bf0b9dd5585df

2023-01-20 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108423 --- Comment #4 from Martin Uecker --- The specific problem is triggered by the change to pointer_int_sum in gcc/c-family/c-common.cc, but the underlying problem is older. The following example fails since gcc 7: void f(int n, int (*a(void))[n]

[Bug libgomp/85463] [nvptx] "exit" in offloaded region doesn't terminate process

2023-01-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85463 --- Comment #4 from Tobias Burnus --- Crossref: Thomas posted the following newlib patch: [PATCH] nvptx: In offloading execution, map '_exit' to 'abort' [GCC PR85463] https://sourceware.org/pipermail/newlib/2023/020140.html

[Bug tree-optimization/108457] [13 Regression] tree-ssa-loop-niter.cc:2255:23: warning: variable 'mode' set but not used

2023-01-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108457 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:16bd9e14f226e07bf0ffb9d68084c9ad69bf7b45 commit r13-5268-g16bd9e14f226e07bf0ffb9d68084c9ad69bf7b45 Author: Jakub Jelinek Date: F

[Bug tree-optimization/108457] [13 Regression] tree-ssa-loop-niter.cc:2255:23: warning: variable 'mode' set but not used

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108457 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 Richard Biener changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c++/108474] static structured binding undefined reference

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108474 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2023-01-20 Assignee|unassigne

[Bug c/108476] Please turn -Wreturn-type on by default for C

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108476 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 --- Comment #13 from Richard Biener --- I think all uses of $(inst_libdir)/$(MULTIDIR) should be replaced with $(toolexeclibdir) and the redundant multi settings removed. A first round of "cleanups" leads to $ find /tmp/gcc -name libm2cor.so /

[Bug modula2/108144] m2 does not respect --enable-version-specific-runtime-libs

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108144 Richard Biener changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #14 from Richard

[Bug tree-optimization/108477] New: fwprop over-optimizes conversion from + to |

2023-01-20 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108477 Bug ID: 108477 Summary: fwprop over-optimizes conversion from + to | Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug sanitizer/108478] New: Inconsistencies with --enable-version-specific-runtime-libs install

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108478 Bug ID: 108478 Summary: Inconsistencies with --enable-version-specific-runtime-libs install Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/108479] New: Internal compiler error: in type_memfn_rqual, at cp/typeck.cc:10994

2023-01-20 Thread etienne.doms at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108479 Bug ID: 108479 Summary: Internal compiler error: in type_memfn_rqual, at cp/typeck.cc:10994 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #11 from Vincent Lefèvre --- (In reply to Vincent Lefèvre from comment #8) > (In reply to comment #6) > > Er, if you want to find portability problems for people not using C99 then > > don't use -std=c99. Then -Wreturn-type warns abou

[Bug modula2/108480] New: gm2 fails to find SYSTEM module after relocation

2023-01-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
enable-languages=c,c++,fortran,m2 --disable-libstdcxx-pch --disable-bootstrap --enable-checking=release Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.1 20230120 (experimental) (GCC) COLLECT_GCC_OPTIONS='-o' 'a.out' '-fiso' '-v'

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #12 from Jonathan Wakely --- Because GCC is primarily a compiler, not a linter for portability problems.

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #13

[Bug libquadmath/87204] strtoflt128 produces different results for subnormals with -m32 and -m64

2023-01-20 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87204 niXman changed: What|Removed |Added CC||i.nixman at autistici dot org --- Comment #2 fr

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #14 from Vincent Lefèvre --- Anyway, as I said initially, the warning would be interesting even in C99+ mode, because the lack of a return statement may be unintentional. For instance, the developer may have forgotten a "return err;".

[Bug target/103100] [11/12/13 Regression] unaligned access generated with memset or {} and -O2 -mstrict-align

2023-01-20 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103100 --- Comment #14 from Richard Earnshaw --- (In reply to Richard Biener from comment #13) > (In reply to Andrew Pinski from comment #10) > > Updated patch submitted: > > https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589254.html > > I thi

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #15 from Jakub Jelinek --- But much more often it is intentional than unintentional.

[Bug sanitizer/108481] New: UBsan missed a signed integer overflow

2023-01-20 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108481 Bug ID: 108481 Summary: UBsan missed a signed integer overflow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #16 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #15) > But much more often it is intentional than unintentional. That's the same thing for many kinds of warnings.

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #17 from Jakub Jelinek --- Yeah, but warnings with high false positivity rates at least shouldn't be in -Wall.

[Bug modula2/108462] duplicate install of static libraries

2023-01-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108462 --- Comment #3 from Gaius Mulley --- ah, oops, of course the testsuite checks in tree :-) So after an install: $ cd gcc/testsuite/gm2/isocoroutines/run/pass $ gm2 -fiso coroutine.mod && ./a.out would be a simple test.

[Bug c/53232] No warning for main() without a return statement with -std=c99

2023-01-20 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53232 --- Comment #18 from Vincent Lefèvre --- (In reply to Jakub Jelinek from comment #17) > Yeah, but warnings with high false positivity rates at least shouldn't be in > -Wall. Well, there already is -Wunused, which is included in -Wall (such warni

[Bug modula2/108480] gm2 fails to find SYSTEM module after relocation

2023-01-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108480 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org Stat

[Bug bootstrap/107950] partial LTO linking of libbackend.a: gcc/gcc-rich-location.cc:207: undefined reference to `range_label_for_type_mismatch::get_text(unsigned int) const'

2023-01-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107950 --- Comment #11 from David Malcolm --- (In reply to Richard Biener from comment #10) > I suppose a fix would be to provide a dummy implementation for > range_label_for_type_mismatch::get_text in lto/, but I wonder how > for example the fortran f

[Bug tree-optimization/108447] [13 Regression] glibc math/test-*-iseqsig failures

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108447 --- Comment #21 from Jakub Jelinek --- (In reply to Andrew Macleod from comment #19) > Created attachment 54313 [details] > better patch > > A more consistent approach.. rather than directly call relation_intersect() > from multiple places, add

[Bug tree-optimization/108447] [13 Regression] glibc math/test-*-iseqsig failures

2023-01-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108447 --- Comment #22 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #21) > (In reply to Andrew Macleod from comment #19) > > Created attachment 54313 [details] > > better patch > > > > A more consistent approach.. rather than direct

[Bug tree-optimization/108447] [13 Regression] glibc math/test-*-iseqsig failures

2023-01-20 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108447 --- Comment #23 from Andrew Macleod --- (In reply to Jakub Jelinek from comment #21) > (In reply to Andrew Macleod from comment #19) > > Created attachment 54313 [details] > > better patch > > > > A more consistent approach.. rather than direct

[Bug c/108482] New: ice in expand_LOOP_DIST_ALIAS, at internal-fn.cc:2737

2023-01-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482 Bug ID: 108482 Summary: ice in expand_LOOP_DIST_ALIAS, at internal-fn.cc:2737 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c/108482] ice in expand_LOOP_DIST_ALIAS, at internal-fn.cc:2737

2023-01-20 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482 --- Comment #1 from David Binderman --- Reduced code seems to be: int g_30, g_261, g_263, func_1___trans_tmp_17; int **g_120; int *g_530; void func_1() { int *l_29 = &g_30; *l_29 = 1; g_263 = 0; for (; g_263 <= 1; g_263 += 1) { g_53

[Bug c/101832] __builtin_object_size(P->M, 1) where M ends with a flex-array behaves like sizeof()

2023-01-20 Thread qinzhao at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832 --- Comment #7 from qinzhao at gcc dot gnu.org --- from the standard: A structure or union shall not contain a member with incomplete or function type (hence, a structure shall not contain an instance of itself, but may contain a pointer to an i

[Bug tree-optimization/108447] [13 Regression] glibc math/test-*-iseqsig failures

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108447 --- Comment #24 from Jakub Jelinek --- (In reply to Andrew Macleod from comment #23) > (In reply to Jakub Jelinek from comment #21) > > (In reply to Andrew Macleod from comment #19) > > > Created attachment 54313 [details] > > > better patch > >

[Bug fortran/108382] [12/13 Regression] Incorrect parsing when acc and omp coexist and -fopenmp -fopenacc is used.

2023-01-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108382 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org Last reconf

[Bug middle-end/108435] [13 Regression] ICE in as_a, at is-a.h:242 since r13-142-g705bcedf6eae2d7c

2023-01-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108435 Tobias Burnus changed: What|Removed |Added Component|fortran |middle-end CC|

[Bug modula2/108135] Modula2 meets clang

2023-01-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108135 Gaius Mulley changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from Gaius Mulle

[Bug modula2/108135] Modula2 meets clang

2023-01-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108135 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/108450] [12/13 Regression] ICE in sort_actual, at fortran/intrinsic.cc:4380 since r12-5793-g689407ef916503b2

2023-01-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108450 --- Comment #2 from Tobias Burnus --- Interestingly, it is resolved twice. First for: (gdb) p gfc_debug_expr(e) maxloc[((p:a) (mask = p:l))] via resolve_all_program_units → gfc_resolve → gfc_resolve → resolve_codes → gfc_resolve_code → gfc_res

[Bug c/108483] New: gcc warns about suspicious constructs for unevaluted ?: operand

2023-01-20 Thread gcc-bugzilla at mkarcher dot dialup.fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 Bug ID: 108483 Summary: gcc warns about suspicious constructs for unevaluted ?: operand Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/108388] LRA generates RTL that violates constraints

2023-01-20 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108388 --- Comment #1 from Vladimir Makarov --- Thank you for reporting this. I've been working on this PR. I believe the PR reveals the problem not only for PDP11. I guess the same can happen for some other targets. I hope the patch will be ready

[Bug target/108484] New: [13 Regression] ICE building glibc for ia64 in cselib_subst_to_values, at cselib.cc:2148

2023-01-20 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108484 Bug ID: 108484 Summary: [13 Regression] ICE building glibc for ia64 in cselib_subst_to_values, at cselib.cc:2148 Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug debug/106746] [13 Regression] '-fcompare-debug' failure (length) with -O2 -fsched2-use-superblocks since r13-2041-g6624ad73064de241

2023-01-20 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106746 --- Comment #22 from Joseph S. Myers --- The fix introduced a regression building glibc for ia64-linux-gnu, see bug 108484.

[Bug c/108483] gcc warns about suspicious constructs for unevaluted ?: operand

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug c/108483] gcc warns about suspicious constructs for unevaluted ?: operand

2023-01-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 --- Comment #2 from Segher Boessenkool --- The testcase needs a NULL defined as (void *)0 .

[Bug c/108483] gcc warns about suspicious constructs for unevaluted ?: operand

2023-01-20 Thread gcc-bugzilla at mkarcher dot dialup.fu-berlin.de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 --- Comment #3 from Michael Karcher --- Thanks for the pointer to #4210. Note that 4210 is slightly different, though. In that report, the condition and the warnable expression are in different statements, and https://gcc.gnu.org/bugzilla/show_b

[Bug modula2/108485] New: CppArg is broken for whitespaces

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108485 Bug ID: 108485 Summary: CppArg is broken for whitespaces Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug c/108483] gcc warns about suspicious constructs for unevaluted ?: operand

2023-01-20 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 --- Comment #4 from Segher Boessenkool --- (In reply to Andrew Pinski from comment #1) > I doubt this will be changed anytime soon, see PR 4210 for the history on > why. That PR is about an UB case though. In this case the code is perfectly we

[Bug tree-optimization/108482] [13 Regression] ice in expand_LOOP_DIST_ALIAS with -O3 -ftrivial-auto-var-init=zero

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-01-20 Target Milestone|---

[Bug tree-optimization/108482] [13 Regression] ice in expand_LOOP_DIST_ALIAS with -O3 -ftrivial-auto-var-init=zero

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482 --- Comment #3 from Andrew Pinski --- What is interesting is if we look at the IR: _41 = .LOOP_DIST_ALIAS (3, _40); if (_41 != 0) goto ; [90.00%] else goto ; [10.00%] [local count: 430033601]: _29 = *_4; _30 = (char) _29;

[Bug tree-optimization/108482] [13 Regression] ice in expand_LOOP_DIST_ALIAS with -O3 -ftrivial-auto-var-init=zero

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108482 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #4 from

[Bug c/108483] gcc warns about suspicious constructs for unevaluted ?: operand

2023-01-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108483 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c++/108486] New: explicit specialization of alias templates error message should be improved

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108486 Bug ID: 108486 Summary: explicit specialization of alias templates error message should be improved Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: di

[Bug c++/57919] [C++11] Alias templates cause partial specialization to erroneously fail

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57919 --- Comment #1 from Andrew Pinski --- MSVC also rejects this code for the same reason as GCC: (32): error C2752: 'foo<1,1,sequence<>>': more than one partial specialization matches the template argument list (19): note: could be 'foo...>>' (25):

[Bug rtl-optimization/108487] New: ~20-30x slowdown in populating std::vector from std::ranges::iota_view

2023-01-20 Thread Mark_B53 at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108487 Bug ID: 108487 Summary: ~20-30x slowdown in populating std::vector from std::ranges::iota_view Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: norma

[Bug c++/108488] New: segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488 Bug ID: 108488 Summary: segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template Product: gcc Version: 12.2.1 Status: UNCONFIRMED

[Bug c++/108488] segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488 --- Comment #1 from Wendell Baker --- Created attachment 54321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54321&action=edit run cc1plus to echigit the problem

[Bug c++/108488] segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488 --- Comment #2 from Wendell Baker --- Created attachment 54322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54322&action=edit exhibited output of run.sh showing the segfault with and without -fmodules-ts

[Bug modula2/108136] Modula2 meets cppcheck

2023-01-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108136 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #3

About ' * ' not recognized

2023-01-20 Thread naoki ueda via Gcc-bugs
When I tried to execute the attached file mycalc.c with a command line argument, it could not be executed normally only in the case of '*'. '+', '-' and '/' can be executed normally, but the compiler cannot execute '*' normally. Isn't this a gcc bug? ~/Clearning$ ./mycalc 20 * 30 用法:mycalc 数値1 演算

Re: About ' * ' not recognized

2023-01-20 Thread Andrew Pinski via Gcc-bugs
On Fri, Jan 20, 2023 at 5:05 PM naoki ueda via Gcc-bugs wrote: > > When I tried to execute the attached file mycalc.c with a command line > argument, it could not be executed normally only in the case of '*'. > '+', '-' and '/' can be executed normally, but the compiler cannot > execute '*' normal

Re: About ' * ' not recognized

2023-01-20 Thread naoki ueda via Gcc-bugs
Ok, I see. 2023年1月21日(土) 10:12 Andrew Pinski : > On Fri, Jan 20, 2023 at 5:05 PM naoki ueda via Gcc-bugs > wrote: > > > > When I tried to execute the attached file mycalc.c with a command line > > argument, it could not be executed normally only in the case of '*'. > > '+', '-' and '/' can be ex

[Bug c++/108488] segfault with -fmodules-ts and class-scope friend declaration first in uninstantiated template

2023-01-20 Thread wendellcraigbaker at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108488 --- Comment #3 from Wendell Baker --- Created attachment 54324 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54324&action=edit shell script and C++ to demonstrate with and in combination This happens in real life with the confluence of

[Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto

2023-01-20 Thread pefoley2 at pefoley dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922 pefoley2 at pefoley dot com changed: What|Removed |Added CC||pefoley2 at pefoley dot com

[Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto

2023-01-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80922 --- Comment #9 from Andrew Pinski --- (In reply to pefoley2 from comment #8) > Note that this appears to be affecting the gcc source tree. > > Attempting a build with --with-build-config=bootstrap-lto --enable-werror > errors out with: Yes but

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2023-01-20 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 David Ledger changed: What|Removed |Added CC||davidledger at live dot com.au --- Comme

[Bug c++/104177] coroutine frame is not being allocated with the correct alignment

2023-01-20 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104177 --- Comment #16 from David Ledger --- The above example produces the xmm instruction on a clearly misaligned value. I was searching the assembly using: ```SH #!/bin/bash g++-11 main.cpp -std=c++2a -O3 -march=native -S grep -E "vmovdqu\s%xmm0,\