FS#57823 - [gcc] gcc 7.3.0 may produce invalid code

Attached to Project: Arch Linux
Opened by Ike Rippin (Janick.Hauck92) - Tuesday, 13 March 2018, 14:26 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 15 March 2018, 04:02 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:

There are reports that gcc version used by Arch may produce invalid code:
https://lists.archlinux.org/pipermail/arch-general/2018-March/044833.html
https://stackoverflow.com/questions/49248787/why-does-not-execute-printf-inside-function/49249533#49249533

Apparently it's already patched in upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84607

Backporting upstream patches may be needed before their new release.

This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 15 March 2018, 04:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  testing/gcc 7.3.1+20180312-1
Comment by loqs (loqs) - Tuesday, 13 March 2018, 19:26 GMT Comment by loqs (loqs) - Wednesday, 14 March 2018, 22:33 GMT
Can you please test if this is fixed by gcc 7.3.1+20180312-1 in testing?
Comment by Leonidas Spyropoulos (inglor) - Wednesday, 14 March 2018, 22:36 GMT
I can confirm the testing package is fixing it.

Loading...