OSDN Git Service

* jump.c (mark_jump_label): Handle subregs of label_refs.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Nov 2002 11:58:53 +0000 (11:58 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Nov 2002 11:58:53 +0000 (11:58 +0000)
* gcc.c-torture/compile/20021108-1.c: New testcase for x86-64 failure.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58921 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/jump.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20021108-1.c [new file with mode: 0644]

index 20c5fdc..c49ab9b 100644 (file)
@@ -1,3 +1,7 @@
+Fri Nov  8 11:20:19 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * jump.c (mark_jump_label): Handle subregs of label_refs.
+
 2002-11-07  David Mosberger  <davidm@hpl.hp.com>
 
         * config/ia64/crtend.asm: Include "auto-host.h".
index 65312b4..ef031f2 100644 (file)
@@ -1397,7 +1397,6 @@ mark_jump_label (x, insn, in_mem)
     case PC:
     case CC0:
     case REG:
-    case SUBREG:
     case CONST_INT:
     case CONST_DOUBLE:
     case CLOBBER:
index 679029e..2aa18e3 100644 (file)
@@ -1,3 +1,7 @@
+Fri Nov  8 10:52:15 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * gcc.c-torture/compile/20021108-1.c: New testcase for x86-64 failure.
+
 2002-11-07  Mark Mitchell  <mark@codesourcery.com>
 
        * g++.dg/abi/vthunk3.C: New test.
diff --git a/gcc/testsuite/gcc.c-torture/compile/20021108-1.c b/gcc/testsuite/gcc.c-torture/compile/20021108-1.c
new file mode 100644 (file)
index 0000000..c421639
--- /dev/null
@@ -0,0 +1,7 @@
+int
+main()
+{
+l1:
+  return &&l1-&&l2;
+l2:
+}