]> gcc.gnu.org Git - gcc.git/commitdiff
Fix 'gcc.dg/tree-ssa/return-value-range-1.c' for 'char' defaulting to 'unsigned'
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 21 Nov 2023 21:07:13 +0000 (22:07 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 21 Nov 2023 21:16:07 +0000 (22:16 +0100)
... added in recent commit 53ba8d669550d3a1f809048428b97ca607f95cf5
"inter-procedural value range propagation", fixed in
commit 878a860cae78146d98d7a21612f0bcec0930a9c2
"Fix 'gcc.dg/tree-ssa/return-value-range-1.c'".

gcc/testsuite/
* gcc.dg/tree-ssa/return-value-range-1.c: Fix.

gcc/testsuite/gcc.dg/tree-ssa/return-value-range-1.c

index 74f1a5080bb90f240e3f0ea9a31a4ea733cb31ea..97294482c05e03165c7ac062a0526ca232889c78 100644 (file)
@@ -1,7 +1,7 @@
 /* { dg-do link } */
 /* { dg-options "-O2 -fdump-tree-evrp-details" } */
 __attribute__ ((__noinline__))
-int a(char c)
+int a(signed char c)
 {
        return c;
 }
This page took 0.076735 seconds and 5 git commands to generate.