[Bug driver/115368] Wrong order of gcc include paths on musl systems

2024-06-06 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115368 Khem Raj changed: What|Removed |Added Attachment #58366|0 |1 is obsolete|

[Bug driver/115368] Wrong order of gcc include paths on musl systems

2024-06-06 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115368 --- Comment #1 from Khem Raj --- Created attachment 58366 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58366=edit potential fix This patch uses -idirafter instead of -iprefix when building for musl. This fixes the issue as the search

[Bug driver/115368] New: Wrong order of gcc include paths on musl systems

2024-06-06 Thread raj.khem at gmail dot com via Gcc-bugs
Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- When doing cross-builds targeting musl based systems, gcc driver adds -iprefix to cc1/cc1plus call, the path is based on gcc cross compiler installation location

[Bug target/115042] New: valgrind test fails to compile on armv7

2024-05-10 Thread raj.khem at gmail dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 58180 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58180=edit testcase Attached test comes from valgrind, it worked fine with gcc-13 but

[Bug target/113986] [14 regression] Build failure on aarch64-linux-musl or if ifunc support is disabled (error: 'export_load_16' aliased to undefined symbol 'libat_load_16')

2024-03-26 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113986 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #5

[Bug target/110061] libatomic: 128-bit atomics should be lock-free on AArch64

2024-03-17 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110061 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #17

[Bug target/110901] -march does not override -mcpu on aarch64

2023-08-04 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110901 --- Comment #2 from Khem Raj --- (In reply to Andrew Pinski from comment #1) > Order matters. In this case -march is after -mcpu ... It does not seem to be effective in this case. I tried to specify -mcpu after -march and vice-versa, result is

[Bug driver/110901] New: -march does not override -mcpu on aarch64

2023-08-04 Thread raj.khem at gmail dot com via Gcc-bugs
: driver Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- As per https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#index-mcpu When -march is used then relevant part of -mcpu are overridden by that. However this seems

[Bug c++/108681] New: gcc hangs compiling opencv/channels_combine.cpp for aarch64

2023-02-05 Thread raj.khem at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- GCC-trunk as of 31924665c86d47af6b1f22a74f594f2e1dc0ed2d is taking a long long time, probably a hang since I cancelled it after 12 mins

[Bug tree-optimization/108647] [13 Regression] ICE in upper_bound, at value-range.h:950 with -O3 since r13-2974-g67166c9ec35d58ef

2023-02-03 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108647 --- Comment #22 from Khem Raj --- (In reply to Jakub Jelinek from comment #20) > How could these changes result in > ../harfbuzz-6.0.0/src/hb-map.hh:295:5: error: no match for ‘operator|’ > (operand types are ‘hb_filter_iter_t unsigned int,

[Bug c++/107461] [12 Regression] ambiguity error for friend with templated constexpr argument

2023-02-03 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107461 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #6

[Bug tree-optimization/108647] [13 Regression] ICE in upper_bound, at value-range.h:950 with -O3 since r13-2974-g67166c9ec35d58ef

2023-02-03 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108647 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #19

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2023-01-31 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 --- Comment #10 from Khem Raj --- (In reply to Andrew Pinski from comment #9) > (In reply to Andrew Pinski from comment #8) > > (In reply to Khem Raj from comment #7) > > > in Yocto we build outside the source tree. And during cross-build it

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2023-01-31 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 --- Comment #7 from Khem Raj --- in Yocto we build outside the source tree. And during cross-build it will copy aarch64.h into builddir and use it from there but then build can not find files it includes since its being included from builddir.

[Bug target/105144] [12 Regression] Bootstrap + install failure on aarch64 due to aarch64-tune.md likely since r12-7842

2023-01-31 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105144 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #6

[Bug c++/108564] New: RISCV std::atomic needs libatomics

2023-01-26 Thread raj.khem at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- following test generates a call to __atomic_exchange_1 with gcc trunk ( soon to be gcc 13 ) if I use std::atomic that seems to not need libatomic but std::atomic does need libatomic

[Bug tree-optimization/105312] [11 Regression] ICE in gimple_expand_vec_cond_expr on arm-linux since r12-834-ga6eacbf1055520

2022-04-20 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105312 --- Comment #8 from Khem Raj --- yeah I can verify that the ICE is gone.

[Bug middle-end/105316] Seemingly bogus -Wdangling-pointer from ppc/ppc64 kernel printk with gcc12

2022-04-19 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105316 --- Comment #2 from Khem Raj --- ah yes. Thanks

[Bug middle-end/105316] New: Seemingly bogus -Wdangling-pointer from ppc/ppc64 kernel printk with gcc12

2022-04-19 Thread raj.khem at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- I have reduced this case from ppc kernel 5.15, this breaks the kernel build as the warning is treated as error

[Bug middle-end/105312] New: attribute__((optimize("-O3"))) stress_matrix_xy_identity compiling stress-ng for arm

2022-04-19 Thread raj.khem at gmail dot com via Gcc-bugs
NCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- GCC 12 gets into an ICE when compiling this testcase (reduced from stress-ng) typ

[Bug target/105251] static assert sizeof(decltype(_together)) <= hardware_constructive_interference_size fails with gcc12

2022-04-14 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105251 --- Comment #11 from Khem Raj --- yes thanks. I have done so https://jira.mongodb.org/browse/SERVER-65664

[Bug target/105251] static assert sizeof(decltype(_together)) <= hardware_constructive_interference_size fails with gcc12

2022-04-14 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105251 --- Comment #9 from Khem Raj --- how does something like this look ? #include #include #include #include #ifdef __cpp_lib_hardware_interference_size using std::hardware_constructive_interference_size; using

[Bug target/105251] static assert sizeof(decltype(_together)) <= hardware_constructive_interference_size fails with gcc12

2022-04-14 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105251 --- Comment #8 from Khem Raj --- So in this case if I change static_assert(sizeof(decltype(_together)) <= hardware_constructive_interference_size, "cache line spill"); to static_assert(sizeof(decltype(_together))

[Bug target/105251] static assert sizeof(decltype(_together)) <= hardware_constructive_interference_size fails with gcc12

2022-04-13 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105251 --- Comment #6 from Khem Raj --- this is from mongodb.

[Bug target/105251] static assert sizeof(decltype(_together)) <= hardware_constructive_interference_size fails with gcc12

2022-04-13 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105251 --- Comment #4 from Khem Raj --- I dont think its a bug per-se, I am looking for fixing it right way. Should I pass a non-default value via gcc cmdline or adjust the size expectations in code.

[Bug middle-end/105253] __popcountdi2 calls generated in kernel code with gcc12

2022-04-12 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105253 --- Comment #3 from Khem Raj --- (In reply to Andrew Pinski from comment #1) > Two things. First the error message is for arm target but you then reference > x86_64 target options. > > Second there is a loop for popcount which gets translated

[Bug c/105253] New: __popcountdi2 calls generated in kernel code with gcc12

2022-04-12 Thread raj.khem at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 52794 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52794=edit test case gcc 12 when using -march=core2 genera

[Bug c++/105251] New: static assert sizeof(decltype(_together)) <= hardware_constructive_interference_size fails with gcc12

2022-04-12 Thread raj.khem at gmail dot com via Gcc-bugs
2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- This testcase below fails to compile with gcc12 on aarch64 but works

[Bug c++/105234] inlining failed in call to 'always_inline' 'memset': target specific option mismatch

2022-04-11 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234 --- Comment #3 from Khem Raj --- Second sample works when I do not use _FORTIFY_SOURCES=2, so perhaps gcc-12 needs to adjust some glibc headers ?

[Bug c++/105234] inlining failed in call to 'always_inline' 'fmt::v8::basic_format_string::basic_format_string(const S&)

2022-04-11 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234 --- Comment #2 from Khem Raj --- Created attachment 52787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52787=edit test case 2

[Bug c++/105234] inlining failed in call to 'always_inline' 'fmt::v8::basic_format_string::basic_format_string(const S&)

2022-04-11 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105234 --- Comment #1 from Khem Raj --- here is another testcase from gnupg on mips with gcc12 failing $ mips-yoe-linux-gcc dirmngr.i In file included from

[Bug c++/105234] New: nlining failed in call to 'always_inline' 'fmt::v8::basic_format_string::basic_format_string(const S&)

2022-04-11 Thread raj.khem at gmail dot com via Gcc-bugs
atus: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 52786 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52786=edit te

[Bug libstdc++/99453] libstdc++*-gdb.py installation depends on library naming

2021-05-26 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99453 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #8

[Bug analyzer/100011] internal compiler error in analyzer during IPA pass

2021-04-09 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100011 --- Comment #1 from Khem Raj --- this one seems to be the cause https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a66c289a3f395e50de79424e1e6f401a4dc1ab7

[Bug analyzer/100011] New: internal compiler error in analyzer during IPA pass

2021-04-09 Thread raj.khem at gmail dot com via Gcc-bugs
Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- I am seeing a ICE in gcc when compiling attached reduced testcase from gnutls project. This is caused by 3a66c289a3f395e50de79424e1e6f401a4dc1ab7 done for #99042

[Bug target/99658] __divmoddi4 calls are generated on i686

2021-03-19 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99658 --- Comment #2 from Khem Raj --- (In reply to Richard Biener from comment #1) > Yes. GCC rightfully expects all libgcc functions to be available. Arguably > one divmod call is better than two calls to mod and div. thanks makes sense.

[Bug target/99658] New: __divmoddi4 calls are generated on i686

2021-03-19 Thread raj.khem at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Following is a reduced case from Virtualbox which fails to link because it expects libgcc function __divmoddi4 which is not available in kernel modules, gcc 10.x does not generate

[Bug tree-optimization/99489] [11 Regression] internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name()

2021-03-13 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99489 --- Comment #10 from Khem Raj --- (In reply to Martin Sebor from comment #9) > Fixed in r11-7658. I validated the fix as well.

[Bug rtl-optimization/99581] New: internal compiler error: during RTL pass: final - void QTWTF::TCMalloc_PageHeap::scavengerThread()

2021-03-13 Thread raj.khem at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 50384 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50384=e

[Bug tree-optimization/99489] internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name()

2021-03-09 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99489 Khem Raj changed: What|Removed |Added Known to work||10.2.0 Host|

[Bug tree-optimization/99489] New: internal compiler error: during GIMPLE pass: strlen in dlt_logstorage_log_file_name()

2021-03-09 Thread raj.khem at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 50339 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50339=edit testc

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-08 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #16 from Khem Raj --- the kernel build failures still happen. I am re-opened #99454 and #99455

[Bug c/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel

2021-03-08 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99455 --- Comment #3 from Khem Raj --- Created attachment 50333 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50333=edit testcase

[Bug c/99455] internal compiler error: In function 'prb_reserve_in_last' in linux kernel

2021-03-08 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99455 Khem Raj changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|DUPLICATE

[Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit

2021-03-08 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 Khem Raj changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug target/99437] [11 Regression] Error: immediate value out of range 1 to 8 at operand 3 -- `shrn v1.8b,v1.8h,15'

2021-03-08 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99437 Khem Raj changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/99455] New: internal compiler error: In function 'prb_reserve_in_last' in linux kernel

2021-03-07 Thread raj.khem at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- compiling attached source with -Os causes the ICE, it works ok with -O1 or -O2 = $ x86_64-yoe-linux-musl

[Bug c/99454] internal compiler error: kernel module tg3 tg3_start_xmit

2021-03-07 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99454 --- Comment #1 from Khem Raj --- btw. another data point when compiling with -Os it works but fails with -O1 or -O2 it was working ok with gcc snapshot from 10 days ago.

[Bug c/99454] New: internal compiler error: kernel module tg3 tg3_start_xmit

2021-03-07 Thread raj.khem at gmail dot com via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 50325 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50325=edit testcase Compiling kernel 5.10 for x86_64 is result

[Bug target/99437] Error: immediate value out of range 1 to 8 at operand 3 -- `shrn v1.8b,v1.8h,15'

2021-03-06 Thread raj.khem at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99437 --- Comment #1 from Khem Raj --- the version of gcc in use is gcc version 11.0.1 20210306 (experimental) (GCC)

[Bug target/99437] New: Error: immediate value out of range 1 to 8 at operand 3 -- `shrn v1.8b,v1.8h,15'

2021-03-06 Thread raj.khem at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 50321 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50321=edit test case gcc 11 fa

[Bug c/99420] New: New warning -Warray-parameter

2021-03-05 Thread raj.khem at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Following code (reduced from nss ) exhibits new warning with gcc11 on x86_64, this doe s not happen when both these externs are in one function e.g. foo(), its an expansion of PR_STATIC_ASSERT

[Bug c++/99354] New: spurious Wuninitialized warning diagnostic

2021-03-02 Thread raj.khem at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- below test file triggers a warning with gcc 11, this worked fine with gcc10 = float HexFloat16ToFloat(const unsigned char* value

[Bug tree-optimization/94443] [10 Regression] 510.parest_r and 526.blender_r ICE: verify_ssa failed since r10-7491-gbd0f22a8d5caea8905f38ff1fafce31c1b7d33ad

2020-04-02 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94443 --- Comment #12 from Khem Raj --- Created attachment 48170 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48170=edit testcase

[Bug tree-optimization/94443] [10 Regression] 510.parest_r and 526.blender_r ICE: verify_ssa failed since r10-7491-gbd0f22a8d5caea8905f38ff1fafce31c1b7d33ad

2020-04-02 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94443 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #11

[Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols

2020-04-02 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249 --- Comment #22 from Khem Raj --- yes you are right

[Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols

2020-04-01 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249 --- Comment #20 from Khem Raj --- (In reply to CVS Commits from comment #18) > The master branch has been updated by Martin Liska : > > https://gcc.gnu.org/g:142d68f50b48309f48e34fc1d9d6dbbeecfde684 > > commit

[Bug lto/94249] [10 regression] Many -flto -fuse-linker-plugin tests FAIL: could not add symbols

2020-04-01 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94249 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #19

[Bug target/94054] New: wrong inliine asm generated for 'd' constraint on neon

2020-03-05 Thread raj.khem at gmail dot com
Component: target Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 47981 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47981=edit testcase I am seeing an issue for raspberrypi3 build for pulseau

[Bug c++/93559] internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 --- Comment #1 from Khem Raj --- gcc specs are Using built-in specs. COLLECT_GCC=../../recipe-sysroot-native/usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-g++

[Bug c++/93559] New: internal compiler error: side-effects element in no-side-effects CONSTRUCTOR

2020-02-03 Thread raj.khem at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 47772 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47772=edit testcase Attached testcase fa

[Bug c++/93345] [10 Regression] ICE in nothrow_spec_p, at cp/except.c:1247

2020-01-21 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93345 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #2

[Bug c++/93238] [10 Regression] ICE in tree check: expected integer_cst, have mult_expr in to_wide, at tree.h:5855 since g:337ea6b216afd412

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238 --- Comment #7 from Khem Raj --- (In reply to Andrew Pinski from comment #6) > *** Bug 93255 has been marked as a duplicate of this bug. *** yep, just verified my usecases, work well now.

[Bug c++/93077] [10 Regression] internal compiler error: in hash_operand during GIMPLE pass: fre

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93077 Khem Raj changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #7 from Khem Raj ---

[Bug c++/93255] internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255 --- Comment #2 from Khem Raj --- its build config is Using built-in specs. COLLECT_GCC=../../recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-g++

[Bug c++/93255] internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255 --- Comment #1 from Khem Raj --- proper testcase enum { kLengthShift=5, }; struct { short int fLengthAndFlags; } fFields; bool isEmpty() { return (fFields.fLengthAndFlags>>kLengthShift) == 0; }

[Bug c++/93255] New: internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread raj.khem at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Attached testcase crashes gcc mips-yoe-linux-g++ a.cpp -S a.cpp: In function 'bool isEmpty()': a.cpp:10:36: internal compiler error: in sign_mask

[Bug target/93110] [10 Regression] grub-2.04/grub-core/lib/division.c:28:1: internal compiler error: in extract_insn, at recog.c:2294

2020-01-02 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93110 --- Comment #3 from Khem Raj --- (In reply to Jakub Jelinek from comment #2) > Created attachment 47579 [details] > gcc10-pr93110.patch > > Untested fix. Thanks, I tried it out and it fixes the syslinux and grub failures on x86_64 that I was

[Bug tree-optimization/93110] New: grub-2.04/grub-core/lib/division.c:28:1: internal compiler error: in extract_insn, at recog.c:2294

2019-12-31 Thread raj.khem at gmail dot com
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 47576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47576=e

[Bug c++/93033] [10 Regression] error: incorrect sharing of tree nodes

2019-12-28 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #8

[Bug c++/93077] New: internal compiler error: in hash_operand during GIMPLE pass: fre

2019-12-26 Thread raj.khem at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 47552 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47552=edit testcase attached test case crashes gcc10 ( wo

[Bug middle-end/93076] New: internal compiler error: Segmentation fault during GIMPLE pass: cddce

2019-12-26 Thread raj.khem at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 47551 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47551=edit testcase attached test fa

[Bug c/89527] New: GCC ICE internal compiler error during RTL pass: mach on arm/thumb2

2019-02-27 Thread raj.khem at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- While compiling glibc-2.29, timezone/zic, gcc started to ICE( this was working ok few weeks ago), this only happens when compiling

[Bug target/88885] GCC ICE internal compiler error: Segmentation fault in mpd

2019-01-16 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #1 from Khem Raj --- there are more errors probably same root cause http://errors.yoctoproject.org/Errors/Details/216895/ http://errors.yoctoproject.org/Errors/Details/216899/

[Bug target/88885] New: GCC ICE internal compiler error: Segmentation fault in mpd

2019-01-16 Thread raj.khem at gmail dot com
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Created attachment 45445 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45445=edit test case While compiling mpd on cortex-a5 mach

[Bug target/88616] [9 Regression] ICE in gimplify_expr at gcc/gimplify.c:13363

2019-01-04 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88616 --- Comment #4 from Khem Raj --- I am seeing similar ICE when compiling QT 5.12 on armhf, I have a un-reduced case but I think its same problem. Since the reduced case fails with my built gcc as well, I can test it out once a fix is available.

[Bug c/81824] Warn for missing attributes with function aliases

2018-12-21 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81824 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #16

[Bug target/86555] unaligned address for ldrd/strd on armv5e

2018-07-18 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86555 --- Comment #2 from Khem Raj --- we can avoid the problem by altering the structure, thats not an issue, but do you think compiler is right here by assuming to generate LDRD on a 4byte aligned address when it is told that architecture

[Bug c/86555] New: unaligned address for ldrd/strd on armv5e

2018-07-17 Thread raj.khem at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- Following example generates LDRD instructions which are loading for a 4byte aligned address instead of 8-byte aligned address. This does not work on armv5te systems and results

[Bug c/85139] New: Spurious format truncation warning

2018-03-30 Thread raj.khem at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Target Milestone: --- This test case == #include #include extern const char *modalias_usb(const char *p, const char *v); char s[16]; const char *modalias_usb(const char *p

[Bug sanitizer/81066] sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined

2017-06-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 --- Comment #7 from Khem Raj --- (In reply to Florian Weimer from comment #6) > (In reply to Khem Raj from comment #5) > > +#ifndef __stack_t_defined > > +struct stack_t; > > +#endif > > Where does __stack_t_defined come from? If this is the

[Bug sanitizer/81066] sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined

2017-06-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81066 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #5

[Bug debug/68302] [5/6 Regression] ICE with debugging enabled on mips

2015-12-20 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68302 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #16

[Bug target/65248] Copy relocation against protected symbol doesn't work

2015-05-28 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248 Khem Raj raj.khem at gmail dot com changed: What|Removed |Added CC||raj.khem at gmail

[Bug c++/65465] New: nternal compiler error: in build2_stat

2015-03-18 Thread raj.khem at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com The test case is here http://uclibc.org/~kraj/webkit.cpp.tar.bz2 sorry its not reduced. When I compiled trunk for arm ./gcc/configure --target=arm-linux-gnueabi --enable-languages=c,c++ --disable-shared

[Bug c++/65465] Internal compiler error: in build2_stIat

2015-03-18 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65465 --- Comment #1 from Khem Raj raj.khem at gmail dot com --- I could bisect it to this commit being the faulty one. commit 9f27b0caacbfc21963098a6d8e305c148ac8661a Author: hubicka hubicka@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Fri Mar 13 06

[Bug c++/65292] Template function not emitted

2015-03-05 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65292 --- Comment #5 from Khem Raj raj.khem at gmail dot com --- (In reply to John Marino from comment #4) Khem, I've also just discovered gcc-5 won't build webkit anymore. If you have already come up with a patch for libJavaScriptCore, could you

[Bug c++/65292] Template function not emitted

2015-03-02 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65292 --- Comment #2 from Khem Raj raj.khem at gmail dot com --- (In reply to Andrew Pinski from comment #1) Why do you think this is an issue? there is another file in same library where this file object resides which uses this function and reports

[Bug c++/65292] New: Template function not emitted

2015-03-02 Thread raj.khem at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Created attachment 34932 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34932action=edit testcase Attached code from webkit, shows that when compiling it for arm with gcc -O2, a function goes missing in the object

[Bug debug/60643] ICE with -O1 and -g on mips (internal compiler error: in dwarf2out_var_location, at dwarf2out.c:20810)

2014-10-05 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60643 --- Comment #12 from Khem Raj raj.khem at gmail dot com --- I would like to reopen this bug. As there is more information to explain this issue. This issue will happen if you first build cross binutils and add the installation path to PATH

[Bug middle-end/60102] powerpc fp-bit ices at dwf_regno

2014-05-04 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102 --- Comment #8 from Khem Raj raj.khem at gmail dot com --- (In reply to Sandra Loosemore from comment #7) I ran into the same problem compiling fp-bit.c. Cesar's patch isn't enough to fix my build on its own -- I also had to revert the r199132

[Bug c/60622] New: [4.9 Regression] symbol missing when compiled with -flto

2014-03-22 Thread raj.khem at gmail dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com trying to compile systemd with gcc 4.9 snapshot there appears to be a lot of undefined symbols, I traced it down to the fact that system uses -flto option during compilation

[Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2013-07-15 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 --- Comment #6 from Khem Raj raj.khem at gmail dot com --- here is another case which fails before suggested patch and also after the patch void foo() { double a[2]; double b = 3.1L / 2; } Here is result below after applying the patch

[Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2013-06-27 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 --- Comment #4 from Khem Raj raj.khem at gmail dot com --- I have backported this fix to 4.8 branch and tested it and it fixed the issue. Below is the patch for 4.8 Index: gcc-4.8.1/gcc/config/rs6000/rs6000.c

[Bug target/57748] New: ICE on ARM with -mfloat-abi=softfp -mfpu=neo

2013-06-27 Thread raj.khem at gmail dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Created attachment 30405 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30405action=edit testcase Attached testcase causes and ICE on gcc 4.8+ and happens on trunk too. It works ok on 4.7 ./gcc

[Bug target/57748] ICE on ARM with -mfloat-abi=softfp -mfpu=neo

2013-06-27 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 Khem Raj raj.khem at gmail dot com changed: What|Removed |Added Target||arm-none-linux

[Bug target/57748] ICE on ARM with -mfloat-abi=softfp -mfpu=neo

2013-06-27 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57748 Khem Raj raj.khem at gmail dot com changed: What|Removed |Added CC||mjambor at suse dot

[Bug target/57717] New: error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2013-06-25 Thread raj.khem at gmail dot com
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: raj.khem at gmail dot com Created attachment 30363 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30363action=edit testcase The attached testcase fails causes a gcc

[Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2013-06-25 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 Khem Raj raj.khem at gmail dot com changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug target/57717] error: unrecognizable insn compiling ./strtod_l.c from glibc on powerpc-gnuspe

2013-06-25 Thread raj.khem at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717 Khem Raj raj.khem at gmail dot com changed: What|Removed |Added Target||powerpc-angstrom

  1   2   >