[Bug other/35014] Libgfortran.a (downloaded) is not PIC compiled...

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35014 Iain Sandoe changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX

[Bug libobjc/48626] --enable-objc-gc should be automatic

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48626 --- Comment #7 from Iain Sandoe --- now that boehm-gc is no longer in tree what should we do with this? I suppose there could be some more sophisticated top-level configuration (similar to GMP et. al.) which determines if there's a suitable

[Bug target/42818] Static C++ linking breakage "undefined reference to ___real__Znwj" and others in libcygwin.a(_cygwin_crt0_common.o)

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42818 Bug 42818 depends on bug 41596, which changed state. Bug 41596 Summary: handling of library-related options by g++spec.c causes a failure when generating pch. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41596 What|Removed

[Bug c++/41596] handling of library-related options by g++spec.c causes a failure when generating pch.

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41596 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug other/35014] Libgfortran.a (downloaded) is not PIC compiled...

2024-03-16 Thread a.shahmoradi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35014 --- Comment #14 from Amir Shahmoradi --- It's not a bug but a popular requested feature. See, for example, the discussion here: https://fortran-lang.discourse.group/t/distribute-shared-libraries-or-not/7532/1 Are there any downsides to

[Bug rtl-optimization/29349] mode switching is inefficient both at compile time and at run time

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29349 --- Comment #3 from Andrew Pinski --- make_preds_opaque was removed with r5-1655-gcbb1e3d98c5f18 . That revision seems to have partial rewritten mode switching even. Note mode switching is now used for more on major targets even.

[Bug other/35014] Libgfortran.a (downloaded) is not PIC compiled...

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35014 Iain Sandoe changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/59926] Remove temporary move constructor before move assignment

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59926 --- Comment #3 from Andrew Pinski --- GCC and clang produce the same output ...

[Bug tree-optimization/53273] test-cases suffer from cross-function optimizations with no way to mark limits

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53273 --- Comment #9 from Andrew Pinski --- (In reply to Hans-Peter Nilsson from comment #8) > There it is! I *knew* I had a PR entered for this, and was a bit surprised > when the ipa attribute was introduced, that this PR wasn't cross-referenced. >

[Bug testsuite/50036] g++.dg/tree-prof/tree-prof.exp doesn't work correctly

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50036 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > Fixed by r0-117528-gce15c7d5ab96de . https://gcc.gnu.org/pipermail/gcc-patches/2012-June/342249.html

[Bug testsuite/50036] g++.dg/tree-prof/tree-prof.exp doesn't work correctly

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50036 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.8.0 Status|UNCONFIRMED

[Bug bootstrap/89494] Bootstrap error when using GCC 4.2.1

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494 --- Comment #31 from Iain Sandoe --- what is the current situation with this - what input are we waiting for? - is the problem now cleared for powerpc64-freebsd?

[Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88590 Iain Sandoe changed: What|Removed |Added Build|x86_64-apple-darwin1[5678] |x86_64-apple-darwin1[56789]

[Bug middle-end/111646] cos function giving different result for the same input value

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111646 Andrew Pinski changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug jit/102824] building pdf/dvi documentation for libgccjit fails

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102824 --- Comment #12 from Iain Sandoe --- what input is this waiting for at the moment?

[Bug target/108743] [objective-c, NeXT runtime] -fconstant-cfstrings not supported

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108743 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/108743] [objective-c, NeXT runtime] -fconstant-cfstrings not supported

2024-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108743 --- Comment #14 from GCC Commits --- The releases/gcc-11 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:87152f50a89deb5044145a80fa2ed705f4913f98 commit r11-11283-g87152f50a89deb5044145a80fa2ed705f4913f98 Author: Iain Sandoe

[Bug target/108743] [objective-c, NeXT runtime] -fconstant-cfstrings not supported

2024-03-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108743 --- Comment #13 from GCC Commits --- The releases/gcc-12 branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:215d67485ce8d4f6cef4e9cf7ecfd4d79abc1c48 commit r12-10219-g215d67485ce8d4f6cef4e9cf7ecfd4d79abc1c48 Author: Iain Sandoe

[Bug libgcc/113402] Incorrect symbol versions for __builtin_nested_func_ptr_created, __builtin_nested_func_ptr in libgcc_s.so.1

2024-03-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113402 --- Comment #9 from Iain Sandoe --- I think this is fixed now?

[Bug target/111231] [12/13/14 regression] armhf: Miscompilation with -O2/-fno-exceptions level (-fno-tree-vectorize is working)

2024-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231 Sam James changed: What|Removed |Added Target Milestone|--- |12.4 Status|UNCONFIRMED

[Bug target/111231] [12/13/14 regression] armhf: Miscompilation with -O2/-fno-exceptions level (-fno-tree-vectorize is working)

2024-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111231 Sam James changed: What|Removed |Added Known to fail||14.0 Known to work|

[Bug target/91905] OpenBLAS LAPACK icamax miscompiled

2024-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91905 Sam James changed: What|Removed |Added CC||sjames at gcc dot gnu.org

[Bug target/52908] xop-mul-1:f9 miscompiled on bulldozer (-mxop)

2024-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52908 Sam James changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/53071] Wrong instruction replacement when compiling for xop

2024-03-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53071 Bug 53071 depends on bug 52908, which changed state. Bug 52908 Summary: xop-mul-1:f9 miscompiled on bulldozer (-mxop) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52908 What|Removed |Added

[Bug tree-optimization/49946] Thread jumps confuse loop unrolling

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49946 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug tree-optimization/32073] Loop unrolling does not exploit VRP for loop bound

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32073 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/59875] Missed unrolling opportunity

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59875 --- Comment #5 from Andrew Pinski --- Reduced testcase: ``` void foo1() { char *a[4] = {nullptr, nullptr, nullptr, nullptr}; char **b = [4]; while (b!=[0]) { b--; if (*b) __builtin_free(*b); } } ``` size: 10-3,

[Bug libstdc++/61735] pre-C++11 basic_string bug when type_size is char (-D_GLIBCXX_USE_CXX11_ABI=0)

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61735 Andrew Pinski changed: What|Removed |Added Summary|basic_string bug when |pre-C++11 basic_string bug

[Bug c++/84411] Missed optimization: static guard variable generated for empty virtual destructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84411 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment

[Bug middle-end/87831] Guard variable is not eliminated when there's nothing to guard

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

[Bug c++/53785] coalescing multiple static instances in function scope

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53785 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment

[Bug c++/87692] Reuse guard variable for multiple initializations

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

[Bug c++/53785] coalescing multiple static instances in function scope

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53785 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 Andrew Pinski changed: What|Removed |Added CC||klaus.doldinger64@googlemai

[Bug c++/83730] Unnecessary generation of guard variables with -fno-threadsafe-statics

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

[Bug tree-optimization/53273] test-cases suffer from cross-function optimizations with no way to mark limits

2024-03-16 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53273 --- Comment #8 from Hans-Peter Nilsson --- There it is! I *knew* I had a PR entered for this, and was a bit surprised when the ipa attribute was introduced, that this PR wasn't cross-referenced. Then again I guess most people don't check in

[Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 Andrew Pinski changed: What|Removed |Added CC||marc.mutz at hotmail dot com ---

[Bug c++/79561] Missed optimization: useless guards for zero-initialized POD statics with =default default ctor at function scope

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

[Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 68548, which changed state. Bug 68548 Summary: bogus "may be used uninitialized" (predicate analysis) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68548 What|Removed |Added

[Bug tree-optimization/68548] bogus "may be used uninitialized" (predicate analysis)

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68548 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Keywords|

[Bug tree-optimization/19794] [meta-bug] Jump threading related bugs

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19794 Bug 19794 depends on bug 68548, which changed state. Bug 68548 Summary: bogus "may be used uninitialized" (predicate analysis) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68548 What|Removed |Added

[Bug c++/36587] Feature: add warning for constructor call with discarded return.

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36587 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/109268] Guard variable still provided for static constinit variable with an empty destructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109268 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/84411] Missed optimization: static guard variable generated for empty virtual destructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84411 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/84411] Missed optimization: static guard variable generated for empty virtual destructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84411 Andrew Pinski changed: What|Removed |Added Depends on||19661 Status|UNCONFIRMED

[Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug c++/59994] [meta-bug] thread_local

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Bug 59994 depends on bug 78940, which changed state. Bug 78940 Summary: [missed optimization] Useless guard variable in thread_local defaulted constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 What|Removed

[Bug c++/78940] [missed optimization] Useless guard variable in thread_local defaulted constructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78940 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Known to work|

[Bug tree-optimization/19661] unnecessary atexit calls emitted for static objects with empty destructors

2024-03-16 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19661 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #17 from

[Bug c++/109268] Guard variable still provided for static constinit variable with an empty destructor

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109268 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/114367] std::vector constexpr initialization doesn't start lifetime of array members

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114367 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-16 Ever confirmed|0

[Bug libstdc++/114367] std::vector constexpr initialization doesn't start lifetime of array members

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114367 --- Comment #1 from Andrew Pinski --- Hmm: _Bit_pointer __p = _Bit_alloc_traits::allocate(_M_impl, _S_nword(__n)); #if __cpp_lib_is_constant_evaluated if (std::is_constant_evaluated()) { __n = _S_nword(__n);

[Bug libstdc++/114367] New: std::vector constexpr initialization doesn't start lifetime of array members

2024-03-16 Thread teodor_spaeren at riseup dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114367 Bug ID: 114367 Summary: std::vector constexpr initialization doesn't start lifetime of array members Product: gcc Version: 13.2.1 Status: UNCONFIRMED

[Bug sanitizer/59286] segfault in __sanitizer::StackDepotGet

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59286 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug preprocessor/53212] cpp consumes comment after pragma

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53212 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-16 Ever confirmed|0

[Bug preprocessor/53212] cpp consumes comment after pragma

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53212 --- Comment #1 from Andrew Pinski --- Hmm, clang has the same behavior here ... I don't know if it is the right one though.

[Bug target/56603] Different _MM_HINT_TX values from ICC

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56603 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug preprocessor/56306] -m32 does not support all includes

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56306 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/53273] test-cases suffer from cross-function optimizations with no way to mark limits

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

[Bug target/51122] ICE in change_address_1, at emit-rtl.c:2001

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

[Bug driver/111527] COLLECT_GCC_OPTIONS option hits single-variable limits too early

2024-03-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111527 --- Comment #5 from Sergei Trofimovich --- (In reply to Deepthi H from comment #4) > I have been investigating this issue further. Hence checking the source code > and debugging the gcc sources. However, I wasn't able to find where the >

[Bug target/46247] bug with loading constant to neon quad register

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46247 --- Comment #2 from Andrew Pinski --- The code looks correct in GCC 4.5.4 and above.

[Bug c++/43127] Inconsistent and odd constructor calls.

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

[Bug debug/44712] Debug info for partially inlined functions

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44712 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-03-16

[Bug middle-end/113396] [13/14 Regression] csmith: differences from -O2 to -O3

2024-03-16 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113396 --- Comment #19 from David Binderman --- gcc 12.3 seems to get it right: foundBugs $ ~/gcc/results.12.3.asan.ubsan/bin/gcc -w -O2 --param=max-inline-insns-auto=23 bug998.c && valgrind -q ./a.out checksum = 77A231E6 foundBugs $

[Bug c++/99242] [modules] ICE in lookup_mark, at cp/tree.c:2403

2024-03-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99242 --- Comment #4 from Patrick Palka --- A curious reduction: $ cat 99242_a.H bool __is_constant_evaluated(); $ cat 99242_b.H bool __is_constant_evaluated(); $ cat 99242_c.H bool __is_constant_evaluated(); $ cat 99242_d.C bool

[Bug c++/99241] [modules] ICE in install_entity, at cp/module.cc:7584

2024-03-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/99242] [modules] ICE in lookup_mark, at cp/tree.c:2403

2024-03-16 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99242 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment

[Bug c++/114362] wrong error message "too many arguments" with overloaded function

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114362 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/104343] improved error message for passing overloaded function to variadic(templated)-argument function

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104343 Andrew Pinski changed: What|Removed |Added CC||f.heckenb...@fh-soft.de --- Comment #6

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||inaoka.kazuhiro at renesas dot com ---

[Bug middle-end/28581] Illegal loading the address of a label with -O2

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28581 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #14 from Andrew

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||jeremy at goop dot org --- Comment #11

[Bug middle-end/29305] local label-as-value being placed before function prolog

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29305 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #12 from Andrew

[Bug c/19969] Labels broken when passed into inline assembly.

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19969 --- Comment #3 from Andrew Pinski --- Note starting with GCC 4.5, gcc adds asm goto which can be used to do what is needed to be done here.

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||Wasserthal at nefkom dot net ---

[Bug c/54529] dead code elimination deletes code adressed by referenced labels

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54529 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew

[Bug modula2/114296] ICE when attempting to create a constant set with a variable element

2024-03-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114296 --- Comment #1 from Gaius Mulley --- Created attachment 57719 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57719=edit Proposed fix Here is the proposed fix. It corrects the virtual token creation for the aggregate constant and also

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||fw at gcc dot gnu.org --- Comment #9

[Bug rtl-optimization/77951] Incorrect placement of label which does not affect execution flow

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77951 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew

[Bug c/77329] gcc doesn't always correctly calculate label addresses

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77329 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #2 from Andrew

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||dhowells at redhat dot com --- Comment

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||thomas.lynch@reasoningtechn

[Bug c/96956] When gcc does not see a label used in a goto it gives the wrong label address &

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96956 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug c/112870] incorrect jmp when using goto on a function, causing infinite loop

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112870 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||grantrwittmann at gmail dot com ---

[Bug c/40115] -O2 and higher causes wrong label address calculation

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40115 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #7 from Andrew

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||sergstesh at yahoo dot com --- Comment

[Bug c/55749] gcc 4.7.1 removes labels mistakenly

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55749 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5 from Andrew

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||blue_3too at hotmail dot com ---

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||martin.girard5 at gmail dot com ---

[Bug c++/55468] Label value to incorrect destination

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55468 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #4 from Andrew

[Bug c/114366] computed labels do not reflect true values of instruction pointer ranges when function is inlined

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114366 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug c++/44298] code addressed only by label with it's address taken is ignored

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44298 Andrew Pinski changed: What|Removed |Added CC||godmar at gmail dot com --- Comment #2

[Bug middle-end/26187] computed goto code does not produce jumps

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26187 Andrew Pinski changed: What|Removed |Added CC||rakdver at gcc dot gnu.org --- Comment

[Bug tree-optimization/31727] Functions with non-local gotos are considered not to have side effects

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31727 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #5 from Andrew

[Bug c/114366] computed labels do not reflect true values of instruction pointer ranges when function is inlined

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114366 --- Comment #2 from Andrew Pinski --- To use these values, you need to be able to jump to one. This is done with the computed goto statement6

[Bug c/114366] computed labels do not reflect true values of instruction pointer ranges when function is inlined

2024-03-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114366 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/114366] New: computed labels do not reflect true values of instruction pointer ranges when function is inlined

2024-03-16 Thread godmar at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114366 Bug ID: 114366 Summary: computed labels do not reflect true values of instruction pointer ranges when function is inlined Product: gcc Version: 14.0 Status: UNCONFIRMED

  1   2   >