Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GCC13] Multiple maybe-uninitialized warnings in AMPTInterface #44913

Open
iarspider opened this issue May 7, 2024 · 4 comments · May be fixed by #45020
Open

[GCC13] Multiple maybe-uninitialized warnings in AMPTInterface #44913

iarspider opened this issue May 7, 2024 · 4 comments · May be fixed by #45020

Comments

@iarspider
Copy link
Contributor

In GCC13 IBs, complier emits multiple maybe-uninitialized warnings in AMTPInterface:

<...>
src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9898:13:

 9898 |           IF(K(IST1,4)/MSTU(5).EQ.IST2) K(IST1,4)=MSTU(5)*I+
      |             ^
  Warning: 'ist1' may be used uninitialized [-Wmaybe-uninitialized]
 src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9891:16:

 9891 |             IST1=I1
      |                ^
note: 'ist1' was declared here
src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9898:13:

 9898 |           IF(K(IST1,4)/MSTU(5).EQ.IST2) K(IST1,4)=MSTU(5)*I+
      |             ^
  Warning: 'ist2' may be used uninitialized [-Wmaybe-uninitialized]
 src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9892:16:

 9892 |             IST2=I2
      |                ^
note: 'ist2' was declared here
src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9908:72:

 9908 |           KSTR(ISTM,2)=I
      |                                                                        ^
  Warning: 'istm' may be used uninitialized [-Wmaybe-uninitialized]
 src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9893:16:

 9893 |             ISTM=ISTR
      |                ^
note: 'istm' was declared here
src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9591:72:

 9591 |           XK=XI+(YKE-YI)*(XF-XI)/(YF-YI)
      |                                                                        ^
  Warning: 'xf' may be used uninitialized [-Wmaybe-uninitialized]
 src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9591:28:

 9591 |           XK=XI+(YKE-YI)*(XF-XI)/(YF-YI)
      |                            ^
note: 'xf' was declared here
src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9591:72:

 9591 |           XK=XI+(YKE-YI)*(XF-XI)/(YF-YI)
      |                                                                        ^
  Warning: 'yf' may be used uninitialized [-Wmaybe-uninitialized]
 src/GeneratorInterface/AMPTInterface/src/hipyset1.35.f:9591:36:

 9591 |           XK=XI+(YKE-YI)*(XF-XI)/(YF-YI)
      |                                    ^

full log

@iarspider
Copy link
Contributor Author

assign generators

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2024

New categories assigned: generators

@alberto-sanchez,@bbilin,@GurpreetSinghChahal,@mkirsano,@menglu21,@SiewYan you have been requested to review this Pull request/Issue and eventually sign? Thanks

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented May 7, 2024

A new Issue was created by @iarspider.

@makortel, @sextonkennedy, @antoniovilela, @Dr15Jones, @rappoccio, @smuzaffar can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

@smuzaffar smuzaffar linked a pull request May 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants