https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98582
--- Comment #2 from Ferruh YIGIT ---
Thanks Jakup,
I confirm the 'may_alias' attribute is doing the trick. -fno-strict-aliasing
was already confirmed.
I can see the aliasing between incompatible types, but it bothers me not able
to see what exa
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ferruh.yigit at intel dot com
Target Milestone: ---
This is reported by "George Prekas " to the DPDK mailing
list, also following sample code to reproduce the error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95818
--- Comment #7 from Ferruh YIGIT ---
Thanks Martin, explanation and sample clarified the issue for me.
Sorry for the inconvenience caused.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95818
--- Comment #5 from Ferruh YIGIT ---
Got it, 'iavf_ethdev.i' attached.
I am able to reproduce with command [1] and got the output [2] using .i file.
[1]
/usr/local/gcc-latest/bin/gcc -m64 -pthread -march=native -O3 -Wall -Werror
-Wno-strict-ali
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95818
--- Comment #4 from Ferruh YIGIT ---
Created attachment 48772
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48772&action=edit
preprocessed source
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95818
--- Comment #2 from Ferruh YIGIT ---
.i output [1] and .s output [2] below, please let me know if the request was
something else.
[1]
int
iavf_dev_link_update(struct rte_eth_dev *dev,
__attribute__((__unused__)) int wait_to_complete)
{
st
mponent: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ferruh.yigit at intel dot com
Target Milestone: ---
gcc (GCC) 11.0.0 20200621 (experimental)
Sorry, I couldn't able to reproduce with test code, I will copy-paste the real
code that causes the warning hoping it helps.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95367
--- Comment #1 from Ferruh YIGIT ---
Created attachment 48620
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48620&action=edit
.i file generated by "--save-temps" param
gcc dot gnu.org
Reporter: ferruh.yigit at intel dot com
Target Milestone: ---
Created attachment 48619
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48619&action=edit
the gcc output with "-v -save-temps"
Please find below gcc log [1] and the source file it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #21 from Ferruh YIGIT ---
(In reply to Jakub Jelinek from comment #19)
> Upstream 2.31 and 2.31.1 is affected too, but 2.31 branch starting with
> August 2018 is not affected. As the fix has been backported also to 2.30
> branch, I g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #20 from Ferruh YIGIT ---
Confirmed that issue is fixed with the latest assembler [1].
[1]
as --version
GNU assembler (GNU Binutils) 2.32.51.20190410?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #18 from Ferruh YIGIT ---
(In reply to Nick Clifton from comment #17)
> (In reply to Jakub Jelinek from comment #8)
> > Fedora binutils-2.31.1-24.fc29.x86_64 has the bug, haven't checked upstream
> > 2.31.1 nor which exact patch fixed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #13 from Ferruh YIGIT ---
(In reply to Hongtao.liu from comment #6)
> (In reply to Ferruh YIGIT from comment #1)
> > Created attachment 46115 [details]
> > 19.05-rc1 -mno-avx512f gcc build on skylake
> >
> > The build is done with ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #12 from Ferruh YIGIT ---
Created attachment 46128
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46128&action=edit
19.05-rc1 -mno-avx512f gcc build on skylake .s file via --save-temp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #11 from Ferruh YIGIT ---
Created attachment 46127
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46127&action=edit
19.05-rc1 -mno-avx512f gcc build on skylake .o file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #10 from Ferruh YIGIT ---
Created attachment 46126
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46126&action=edit
19.05-rc1 default gcc build (avx512 enabled) on skylake .s file via
--save-temps
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #9 from Ferruh YIGIT ---
Created attachment 46125
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46125&action=edit
19.05-rc1 default gcc build (avx512 enabled) on skylake .o file
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #5 from Ferruh YIGIT ---
Tested with latest gcc [1], same output.
[1] Compiled from source:
gcc (GCC) 9.0.1 20190409 (experimental)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #4 from Ferruh YIGIT ---
Created attachment 46117
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46117&action=edit
.s file generated by "--save-temps" param
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #3 from Ferruh YIGIT ---
Created attachment 46116
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46116&action=edit
.i file generated by "--save-temps" param
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #2 from Ferruh YIGIT ---
While preparing the support files for this report, via --save-temps, recognized
that generated .s file output is a little different, and correct assuming the
suspicion on source of the failure was right:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90028
--- Comment #1 from Ferruh YIGIT ---
Created attachment 46115
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46115&action=edit
19.05-rc1 -mno-avx512f gcc build on skylake
The build is done with changing the lib/librte_kni/Makefile as follo
: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: ferruh.yigit at intel dot com
Target Milestone: ---
Created attachment 46114
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46114&action=edit
19.05-rc1 default gcc b
23 matches
Mail list logo