Bug 33365 - GCC test 20000804-1.c with -O0
Summary: GCC test 20000804-1.c with -O0
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.2.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-09 13:59 UTC by Vladislav Mikhailikov
Modified: 2009-09-17 10:00 UTC (History)
1 user (show)

See Also:
Host: pentium4-east-linux-gcc
Target: pentium4-east-linux-gcc
Build: pentium4-east-linux-gcc
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav Mikhailikov 2007-09-09 13:59:56 UTC
gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/20000804-1.c: In function 'f':
gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:15: error: 'asm' operand requires impossible reload
gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:15: error: 'asm' operand requires impossible reload

The preprocessed source is:
-----------------------------------------------------------------------
# 1 "gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/20000804-1.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/20000804-1.c"
# 9 "gcc-4.2.2-20070907/gcc/testsuite/gcc.c-torture/compile/20000804-1.c"
__complex__ long long f ()
{
  int i[99];
  __complex__ long long v;

  v += f ();
  asm("": "+r" (v) : "r" (0), "r" (1));
  v = 2;
  return v;
  g (&v);
}
Comment 1 Uroš Bizjak 2009-09-17 10:00:06 UTC
gcc 4.2.x is no longer supported.