#3259 new defect

m68k-rtems4.11-gcc compiler code generation error

Reported by: Ben Owned by:
Priority: normal Milestone:
Component: tool/gcc Version:
Severity: normal Keywords:
Cc: Blocked By:


the c code


results in assembler code:

485 .LC5:
486 .string "\r"

MISSING \n in the string


printf("\r\n", ' '); /* extra argument in call to printf */

code generation

485 .LC5:
486 .string "\r\n"

printf("\r\n "); /* extra withe space in string */

code generation

485 .LC5:
486 .string "\r\n "

printf("\r\n \b"); /* extra while space and backspace */

code generation

485 .LC5:
486 .string "\r\n \b"

Change History (1)

comment:1 Changed on Dec 8, 2017 at 1:49:29 PM by Sebastian Huber

Please report this bug to upstream GCC:


Note: See TracTickets for help on using tickets.