[Bug target/80782] Configure options to use llvm/clang assembler on Mac

2025-01-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80782 --- Comment #19 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #18) > (In reply to Sergey Fedorov from comment #17) > > (In reply to Iain Sandoe from comment #16) > > > > Why not use `llas` (which only needs LLVM) instead of `clan

[Bug target/80782] Configure options to use llvm/clang assembler on Mac

2025-01-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80782 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug c++/59389] [C++11] bogus error: call of overloaded ‘Foo()’ is ambiguous

2024-12-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59389 --- Comment #9 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #7) > (In reply to Sergey Fedorov from comment #6) > > I am getting a similar-looking error with gcc-13.2.0 now: > > https://github.com/NGSolve/ngsolve/issues/68 > >

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2024-12-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 --- Comment #18 from Sergey Fedorov --- This is the same bug? ``` during GIMPLE pass: eh /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_aqua_barrier/barrier/work/barrier-2.4.0/src/lib/platform/OSXClipboard.cpp: In member function 'virtua

[Bug tree-optimization/117767] [15 Regression] ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103

2024-11-25 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117767 --- Comment #14 from Sergey Fedorov --- (In reply to Richard Biener from comment #13) > Fixed. Thank you! This was quick. I will complete the rebuild tomorrow, but I think it passed the point of this failure already when I left it. So all shou

[Bug tree-optimization/117767] [15 Regression] ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103

2024-11-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117767 --- Comment #6 from Sergey Fedorov --- Created attachment 59692 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59692&action=edit Preprocessed source with --save-temps

[Bug tree-optimization/117767] [15 Regression] ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103

2024-11-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117767 --- Comment #5 from Sergey Fedorov --- COLLECT_GCC_OPTIONS='-v' '-save-temps' '-B' '/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc-powerpc/libgcc-powerpc/work/build/./prev-gcc/' '-B' '/opt/local/powerpc-apple-darwin10/bin/' '-no

[Bug tree-optimization/117767] [15 Regression] ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103

2024-11-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117767 --- Comment #4 from Sergey Fedorov --- COLLECT_GCC=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc-powerpc/libgcc-powerpc/work/build/./prev-gcc/xg++ Target: powerpc-apple-darwin10 Configured with: /opt/local/var/macports/build/_o

[Bug target/117767] New: ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103

2024-11-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117767 Bug ID: 117767 Summary: ICE: in rs6000_builtin_vectorization_cost, at config/rs6000/rs6000.cc:5103 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: nor

[Bug target/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-09 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #17 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #16) > fixed on trunk - I will pull it onto Darwin-specific branches for earlier > GCC. Thank you very much, Iain!

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #8 from Sergey Fedorov --- (In reply to Eli Schwartz from comment #5) > Not a meson bug, but gegl should probably test whether -ObjC is accepted as > a valid flag before unconditionally adding it to their build. I have opened an iss

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #13 from Sergey Fedorov --- (In reply to Jakub Jelinek from comment #10) > -xobjective-c should work fine with both gcc and clang and is much better > designed, it isn't about two almost dead languages, but allows specifying > any la

[Bug objc/117478] -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 --- Comment #11 from Sergey Fedorov --- (In reply to Eli Schwartz from comment #9) > It's not a bad idea to "fix" it from both ends. > > Projects such as gegl cannot compile on macOS using GCC 13 or 14, and that's > not going to change. They ca

[Bug objc/117478] New: -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast'

2024-11-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117478 Bug ID: 117478 Summary: -ObjC is not accepted: error: argument to '-O' should be a non-negative integer, 'g', 's', 'z' or 'fast' Product: gcc Version: 14.2.0 Status: UNC

[Bug go/113143] Remove usage of ucontext.h

2024-10-16 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113143 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 --- Comment #17 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #16) Got it, thank you very much.

[Bug target/116809] Failure to build GCC on macOS 15 / Xcode 16 for Intel

2024-09-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116809 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug libstdc++/116777] error: 'current_zone' is not a member of 'std::chrono' with -D_GLIBCXX_USE_CXX11_ABI=0

2024-09-21 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 --- Comment #9 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #7) > as noted in several places; the long-term solution for Darwin (in general > since there's an installed /usr/lib/libstdc++.6.dylib even on modern > systems) - is f

[Bug libstdc++/116777] error: 'current_zone' is not a member of 'std::chrono' with -D_GLIBCXX_USE_CXX11_ABI=0

2024-09-20 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 --- Comment #4 from Sergey Fedorov --- (In reply to Jonathan Wakely from comment #2) > I was going to say that libfmt upstream is wrong to say it's a regression, > but it looks like they never claimed that. Maybe I misread it, but: https://gith

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 --- Comment #15 from Sergey Fedorov --- (In reply to Jonathan Wakely from comment #14) > (In reply to Sergey Fedorov from comment #13) > > Apparently `__STDC_NO_THREADS__` is still not being defined? > > Because you're on macOS. > > This was fi

[Bug c++/116777] New: error: 'current_zone' is not a member of 'std::chrono'

2024-09-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 Bug ID: 116777 Summary: error: 'current_zone' is not a member of 'std::chrono' Product: gcc Version: 14.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c/53769] [C11]: Macros __STDC_NO_THREADS__ / __STDC_NO_ATOMIC__ missing.

2024-09-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-08-09 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #32 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #30) > blocks have support from 10.6 [Apple gcc-4.2] (although there is/was 'after > market' support for 10.5). So blocks presumably should work in Rosetta then? Or th

[Bug target/116237] gcc does not accept -weak_framework without -Wl on macOS

2024-08-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116237 --- Comment #2 from Sergey Fedorov --- Thank you, Iain!

[Bug target/116237] New: gcc does not accept -weak_framework without -Wl on macOS

2024-08-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116237 Bug ID: 116237 Summary: gcc does not accept -weak_framework without -Wl on macOS Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #29 from Sergey Fedorov --- (In reply to Eric Gallager from comment #25) > Cross-referencing against > https://github.com/apple/swift-corelibs-libdispatch/issues/765 By the way, have you got some example code at hand which can serve

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2024-06-26 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #28 from Sergey Fedorov --- (In reply to Eric Gallager from comment #26) > (In reply to Eric Gallager from comment #25) > > Cross-referencing against > > https://github.com/apple/swift-corelibs-libdispatch/issues/765 > > Note that th

[Bug objc/50909] Process "#pragma options align=reset" correctly on Mac OS X

2024-06-16 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50909 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2024-06-13 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #17 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #13) > Oh yes there could be a bug here when the byte (lbarx/stbcx.) and half-word > (lharx/sthcx.) instruction support was added (which was for Power8; > r0-123873-

[Bug fortran/100662] intrinsic::ieee_arithmetic fails on aarch, powerpc architectures on FreeBSD

2024-06-13 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662 --- Comment #18 from Sergey Fedorov --- (In reply to Piotr Kubaj from comment #16) > This issue has been fixed in FreeBSD's main branch on powerpc* in > https://cgit.freebsd.org/src/commit/ > ?id=448c505c33cc334193590f3844406d6a74f26e2a > > Sim

[Bug libfortran/106083] gfortran.dg/ieee/large_1.f90 fails on powerpc64 with ieee longlongs

2024-06-13 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106083 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2024-03-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 --- Comment #17 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #15) Iain, any chance of addressing this one? If would have really helped with quite a number of usable software for PowerPC (majority of which are 32-bit, and even o

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2024-03-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #15 from Sergey Fedorov --- (In reply to Peter Bergner from comment #12) > (In reply to Sergey Fedorov from comment #11) > > (In reply to GCC Commits from comment #10) > > > The master branch has been updated by Iain D Sandoe : > >

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2024-03-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #14 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #13) > fixed on trunk, intending to backport it. Great! Once it is on your branches, hopefully Macports borrows the patch as well.

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #11 from Sergey Fedorov --- (In reply to Jakub Jelinek from comment #7) > Unlikely to be ever fixed, at least Linux has migrated to IEEE quad long > double on powerpc64le. Perhaps several *BSDs and AIX are using IBM format though.

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #6 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #0) > This is the new bug for PR 19405. Keeping track of that we no longer > constant fold long doubles in the > IBM 128bit long double format. What is the current s

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2024-01-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #16 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #13) > Oh yes there could be a bug here when the byte (lbarx/stbcx.) and half-word > (lharx/sthcx.) instruction support was added (which was for Power8; > r0-123873-

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2024-01-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #11 from Sergey Fedorov --- (In reply to GCC Commits from comment #10) > The master branch has been updated by Iain D Sandoe : Iain, thank you very much for addressing this!

[Bug c++/59389] [C++11] bogus error: call of overloaded ‘Foo()’ is ambiguous

2024-01-03 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59389 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2023-12-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #23 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #22) > (In reply to Sergey Fedorov from comment #21) > > Any chance of having it fixed in gcc14? > > It is too late to be included in GCC 14, GCC is in stage 3 alrea

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2023-12-11 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #21 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #20) > > I recently brought my patches forward from GCC-5 => GCC-10 (easier to avoid > the .c => .cc file renaming). Since we now face some problems with > sanitiser

[Bug go/46986] Go is not supported on Darwin

2023-10-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #49 from Sergey Fedorov --- If someone happens to have some WIP on this, more recent than 2012, please share, if possible.

[Bug libstdc++/83662] std::aligned_alloc() not available

2023-08-17 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2023-07-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 --- Comment #16 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #15) Would be nice to have it fixed, otherwise `jack` is broken: https://github.com/jackaudio/jack2/issues/950 Which, in turn, leaves broken dependencies.

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2023-07-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 --- Comment #14 from Sergey Fedorov --- (In reply to Eric Gallager from comment #8) > I'd need to rebuild gcc with debug info to get a better backtrace. Have you been able to?

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2023-07-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 --- Comment #13 from Sergey Fedorov --- Any update on this?

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2023-07-17 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #9 from Sergey Fedorov --- Just to update, GCC 12.3.0 exhibits the same error: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libsdl2-snowleopard/libsdl2-snowleopard/work/SDL2-2.0.22/src/hidapi/mac/hid.c: In function '

[Bug libstdc++/101583] [12 Regression] error: use of deleted function when building gold

2023-07-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101583 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/110306] ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));

2023-06-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306 --- Comment #1 from Sergey Fedorov --- Created attachment 55361 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55361&action=edit Preprocessed source file

[Bug target/110306] New: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_));

2023-06-18 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110306 Bug ID: 110306 Summary: ICE when building ccache for powepc-apple-darwin: Logging.hpp: internal compiler error: Bus error: Logging::log(std::string_view(message_)); Product

[Bug target/110044] [10/11/12/13 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-06-09 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #14 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #13) > fixed on open branches (should be back-portable to earlier if anyone cares). Awesome, thanks!

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2023-06-04 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #19 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #1) > Just to add one note, which is that Apple's gcc-4.2.1 implementation for > blocks was not actually submitted (and therefore doesn't exist on an FSF > server); it

[Bug target/110044] [10, 11, 12, 13, 14 Regression] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-31 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #7 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #6) > I'm going to test the following (which will take some time since the > hardware is needed for testing releases too). > > The test for AGGREGATE_TYPE_P() could ac

[Bug target/110044] #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 --- Comment #3 from Sergey Fedorov --- (In reply to Eric Gallager from comment #2) > possible dup of either bug 60972 and/or bug 68160? >From those topics it looks that the bug, if identical, has never been addressed since GCC 4.9. Would it be

[Bug target/110044] New: #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works

2023-05-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110044 Bug ID: 110044 Summary: #pragma pack(push, 1) may not force packing, while __attribute__((packed, aligned(1))) works Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c/63368] Provide an implementation for `__sync_val_compare_and_swap_8' on powerpc (32bits)

2023-05-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63368 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/59666] IBM long double arithmetic results invalid in non-default rounding modes

2023-05-01 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59666 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug testsuite/95706] New test case gfortran.dg/pr95690.f90 fails

2023-04-29 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95706 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug bootstrap/42566] Bootstrap fails in stage3 building the libstdc++ PCH

2023-02-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42566 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug bootstrap/12596] configure setting --with-libiconv-prefix doesn't get passed to gcc-subdir

2023-01-27 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12596 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug libquadmath/85440] libquadmath and quadmath.h do not exist on ppc64

2023-01-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85440 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug d/98058] libphobos: Support building on *-*-darwin*

2022-11-22 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98058 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2022-11-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #15 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #13) > Oh yes there could be a bug here when the byte (lbarx/stbcx.) and half-word > (lharx/sthcx.) instruction support was added (which was for Power8; > r0-123873-

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2022-11-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #12 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #2) > >Reason: 259 at address: 0x3109 > > Yes that does seem like an alignment disagreement. > > I suspect the code is broken for allocation and it is allocati

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2022-11-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #11 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #8) > No preprocessed source of the code going wrong. > Not even register state or instructions where the segfault is happening > (this is would be very useful but n

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2022-11-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #10 from Sergey Fedorov --- Created attachment 53876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53876&action=edit Preprocessed spinlock_test from 10.6 36-172% /opt/local/bin/g++-mp-11 --save-temps -v spinlock_test.cpp -I/o

[Bug target/107590] __atomic_test_and_set broken on PowerPC

2022-11-09 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 --- Comment #3 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #2) > >Reason: 259 at address: 0x3109 > > Yes that does seem like an alignment disagreement. > > I suspect the code is broken for allocation and it is allocatin

[Bug target/107590] New: __atomic_test_and_set broken on PowerPC

2022-11-09 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590 Bug ID: 107590 Summary: __atomic_test_and_set broken on PowerPC Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2022-11-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug objc++/61759] [ICE] [objc++] reaching gcc_unreachable in objc_eh_runtime_type at objc/objc-next-runtime-abi-01.c

2022-11-04 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61759 --- Comment #12 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #11) > *** Bug 107530 has been marked as a duplicate of this bug. *** I.e. gcc12 has the same bug too.

[Bug objc++/107530] ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795

2022-11-04 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107530 --- Comment #2 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #1) > Dup of bug 61759 > > *** This bug has been marked as a duplicate of bug 61759 *** I guess then it is worth adding gcc12 to confirmed to fail list there.

[Bug target/107530] New: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795

2022-11-04 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107530 Bug ID: 107530 Summary: ICE: in objc_eh_runtime_type, at objc/objc-next-runtime-abi-01.cc:2795 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: norma

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2022-10-31 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #8 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #6) > it seems to fail "forever" (at least back to 5.5) Any chance of fixing this before the next update of GCC?

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #47 from Sergey Fedorov --- (In reply to Ian Lance Taylor from comment #46) > A small bit of work is needed on the codegen, to read and write the export > data. And some work is required on the runtime, to clean it up to support > Da

[Bug go/46986] Go is not supported on Darwin

2022-10-30 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/93177] PPC: Missing many useful platform intrinsics

2022-10-28 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93177 --- Comment #22 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #19) > Created attachment 53779 [details] > introduce ppc_intrinsics.h for powerpc*-darwin. > > This takes the header from the GCC-4.x apple debt branch (as present in

[Bug target/93177] PPC: Missing many useful platform intrinsics

2022-10-26 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93177 --- Comment #16 from Sergey Fedorov --- For Darwin, PPC intrinsics already is there in Apple headers. Can it be added into current GCC?

[Bug c++/105584] libcxx needs using_if_exist attribute

2022-10-20 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105584 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/107155] New: ppc_intrinsics is missing

2022-10-04 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107155 Bug ID: 107155 Summary: ppc_intrinsics is missing Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Ass

[Bug fortran/100662] intrinsic::ieee_arithmetic fails on aarch, powerpc architectures on FreeBSD

2022-09-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug fortran/29383] Fortran 2003/F95[TR15580:1999]: Floating point exception (IEEE) support

2022-09-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29383 Sergey Fedorov changed: What|Removed |Added CC||vital.had at gmail dot com --- Comment

[Bug target/105710] ICE on powerpc darwin with TLS enabled

2022-05-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105710 --- Comment #9 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #8) > If we try to do this for every irrelevant configure option, that's going to > be quite a lot of work. > > Really [IMO, at least], configure options are not inten

[Bug target/105710] ICE on powerpc darwin with TLS enabled

2022-05-24 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105710 --- Comment #6 from Sergey Fedorov --- > Correct (even if it did exist it would only be for 10.7+) so --enable-tls is > a configuration error. > > (as I have said several times, the idea of configure is to choose the > correct settings for the

[Bug target/105710] ICE on powerpc darwin with TLS enabled

2022-05-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105710 --- Comment #4 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #3) > (In reply to Sergey Fedorov from comment #2) > > (In reply to Andrew Pinski from comment #1) > > > >TLS enabled > > > > > > TLS support for powerpc darwin was

[Bug target/105710] ICE on powerpc darwin with TLS enabled

2022-05-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105710 --- Comment #2 from Sergey Fedorov --- (In reply to Andrew Pinski from comment #1) > >TLS enabled > > TLS support for powerpc darwin was never added. Iain writes that emulated TLS is supported on all Darwin versions starting from 10.5: https:/

[Bug libitm/105710] New: libitm/alloc_c.cc:40:1: internal compiler error: in extract_insn, at recog.c:2770

2022-05-23 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105710 Bug ID: 105710 Summary: libitm/alloc_c.cc:40:1: internal compiler error: in extract_insn, at recog.c:2770 Product: gcc Version: 11.3.0 Status: UNCONFIRMED Seve

[Bug target/105522] [powerpc-darwin] ICE: in decode_addr_const, at varasm.c:3059

2022-05-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #7 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #6) > it seems to fail "forever" (at least back to 5.5) > > minimal reproducer: > > typedef const struct __CFString * CFStringRef; > > static void > create_usage_mat

[Bug target/105522] gcc11: internal compiler error: in decode_addr_const, at varasm.c:3059

2022-05-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #5 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #4) > I can repeat this with the 11.3-darwin-r0 release build on powwerpc-darwin9. > > Do you happen to know if this previously worked with GCC 11 and/or earlier, > if

[Bug target/105522] gcc11: internal compiler error: in decode_addr_const, at varasm.c:3059

2022-05-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #3 from Sergey Fedorov --- Created attachment 52939 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52939&action=edit save-temps file

[Bug target/105522] gcc11: internal compiler error: in decode_addr_const, at varasm.c:3059

2022-05-08 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 --- Comment #2 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #1) > I am not going to be able to make any progress on this without a .i file (it > is not an error that I've seen in any testing). > > > > > CMakeFiles/SDL2.di

[Bug target/105522] New: gcc11: internal compiler error: in decode_addr_const, at varasm.c:3059

2022-05-07 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105522 Bug ID: 105522 Summary: gcc11: internal compiler error: in decode_addr_const, at varasm.c:3059 Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: norma

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-10 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #22 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #20) > On testing, this is not sufficient - one ends up with ICEs when we reject a > valid (UNSPEC-wrapped) address here. So I think that the slightly more > elaborat

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-06 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #18 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #17) > FTR: this is the patch I came up with: Does it affect only ppc64? I am asking since if it affects ppc32, then I rather rebuild gcc10ppc and gcc11ppc installed

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-02-05 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #14 from Sergey Fedorov --- (In reply to Vladimir Makarov from comment #13) > I think there are two code spots whose pitfalls resulted in the PR. > > The first one is in rs6000.cc::legitimate_lo_sum_address_p which permits > wrong p

[Bug target/104183] New: gcc6 error with building icu for ppc64

2022-01-22 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104183 Bug ID: 104183 Summary: gcc6 error with building icu for ppc64 Product: gcc Version: 6.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/104117] [9,10,11,12 Regression] Darwin ppc64 uses invalid non-PIC address to access constants (in PIC code).

2022-01-22 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #12 from Sergey Fedorov --- Not sure if the error is related, but trying to build icu with gcc6 in Macports gives this: /opt/local/bin/g++-mp-6 -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -DU_HAVE_STRTOD_L=1 -DU_HAVE_XLOCALE_H

[Bug target/104117] gcc10 fails to build icu for ppc64 on 10.5.8 (direct access to a floating-point constant)

2022-01-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 --- Comment #3 from Sergey Fedorov --- (In reply to Iain Sandoe from comment #1) > most likely present on earlier branches. Indeed, gcc7.5 likewise failed to build icu for ppc64.

[Bug target/104118] New: gcc11 fails to build R for ppc64 on 10.5.8

2022-01-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104118 Bug ID: 104118 Summary: gcc11 fails to build R for ppc64 on 10.5.8 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tar

[Bug target/104117] New: gcc10 fails to build icu for ppc64 on 10.5.8 (direct access to a floating-point constant)

2022-01-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104117 Bug ID: 104117 Summary: gcc10 fails to build icu for ppc64 on 10.5.8 (direct access to a floating-point constant) Product: gcc Version: 10.3.0 Status: UNCONFIRMED