https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68075
Bug ID: 68075 Summary: Printf is changing the order of values Product: gcc Version: unknown Status: UNCONFIRMED Severity: critical Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: girish.elchuri at smuuthsolutions dot com Target Milestone: --- Created attachment 36571 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36571&action=edit Code that is producing the wrong output. Look at the following code segment attached herewith. This is giving the output: >><<, NULL >><<, NULL >><<, NULL >>ghi<<, 'ghi' >>def<<, 'def' >>abc<<, 'abc' 'abc', 'abc', 'abc', 'abc', 'abc', 'abc' While th expected output is: >>abc<<, 'abc' >>def<<, 'def >>ghi<<, 'ghi' >><<, NULL >><<, NULL >><<, NULL 'abc', 'def', 'ghi', NULL, NULL, NULL This is a real bug, please fix it.