diff options
Diffstat (limited to 'gcc/testsuite')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/pr16973.c | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0cf098bf76f..5867f7f6440 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-10-18 Andrew Pinski <pinskia@physics.uc.edu> + + PR middle-end/16973 + * gcc.dg/pr16973.c: New test. + 2004-10-18 Diego Novillo <dnovillo@redhat.com> PR tree-optimization/17656 diff --git a/gcc/testsuite/gcc.dg/pr16973.c b/gcc/testsuite/gcc.dg/pr16973.c new file mode 100644 index 00000000000..6494c8c2e8f --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr16973.c @@ -0,0 +1,10 @@ +/* We were removing the label "a" because + we were removing the BB for it but forgot + to add back the label. */ + +void +f (void) +{ + static __SIZE_TYPE__ x = &&a - &&b; + a : b : return; +} |