comparison gcc/testsuite/gcc.dg/cdce2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* { dg-do run } */ 1 /* { dg-do run } */
2 /* { dg-skip-if "doubles are floats" { "avr-*-*" } } */ 2 /* { dg-skip-if "doubles are floats" { "avr-*-*" } } */
3 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */ 3 /* { dg-options "-O2 -fmath-errno -fdump-tree-cdce-details -lm" } */
4 /* { dg-final { scan-tree-dump "cdce2.c:15: note: function call is shrink-wrapped into error conditions\." "cdce" } } */ 4 /* { dg-final { scan-tree-dump "cdce2.c:15: .* function call is shrink-wrapped into error conditions\." "cdce" } } */
5 5
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <math.h> 7 #include <math.h>
8 #include <errno.h> 8 #include <errno.h>
9 int total_err_count = 0; 9 int total_err_count = 0;