From 7fa848b52615cc1e937c07b20e640a7379bbdfa0 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Thu, 17 Oct 2019 10:21:08 +0000 Subject: [PATCH] progmem-error-1.cpp: Fix location of the expected diagnostic. gcc/testsuite/ * gcc.target/avr/progmem-error-1.cpp: Fix location of the expected diagnostic. From-SVN: r277096 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/avr/progmem-error-1.cpp | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 38dd0d2c253..65e80d5abb2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2019-10-17 Georg-Johann Lay + + * gcc.target/avr/progmem-error-1.cpp: Fix location of the + expected diagnostic. + 2019-10-17 Feng Xue PR testsuite/92125 diff --git a/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp b/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp index b1676c11e00..a948819f846 100644 --- a/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp +++ b/gcc/testsuite/gcc.target/avr/progmem-error-1.cpp @@ -2,7 +2,4 @@ #include "progmem.h" -char str[] PROGMEM = "Hallo"; -/* This is the line number of the PROGMEM definition in progmem.h. Keep it - absolute. */ -/* { dg-error "must be const" "" { target avr-*-* } 1 } */ +char str[] PROGMEM = "Hallo"; /* { dg-error "must be const" "" { target avr-*-* } } */ -- 2.30.2