https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78516

Peter Bergner <bergner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |bergner at gcc dot 
gnu.org

--- Comment #3 from Peter Bergner <bergner at gcc dot gnu.org> ---
Here is a smaller test case which still fails at -O0 and -O1:

bergner@genoa:~/gcc/BUGS/PR78516$ cat pr78516.i 
extern void bar (void);
double
foo (double one, double arg)
{
  bar ();
  volatile double neg0 = arg;
  return __builtin_copysign (one, neg0);
}

bergner@genoa:~/gcc/BUGS/PR78516$
/home/bergner/gcc/build/gcc-fsf-mainline-pr78516-base-debug/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-pr78516-base-debug/gcc -m32 -O1
pr78516.i 
pr78516.i: In function ‘foo’:
pr78516.i:8:1: internal compiler error: in lra_assign, at lra-assigns.c:1616
 }
 ^
0x10aa1aa7 lra_assign()
        /home/bergner/gcc/gcc-fsf-mainline-pr78516-base/gcc/lra-assigns.c:1616
0x10a96e03 lra(_IO_FILE*)
        /home/bergner/gcc/gcc-fsf-mainline-pr78516-base/gcc/lra.c:2422
0x10a123d7 do_reload
        /home/bergner/gcc/gcc-fsf-mainline-pr78516-base/gcc/ira.c:5400
0x10a12c0b execute
        /home/bergner/gcc/gcc-fsf-mainline-pr78516-base/gcc/ira.c:5584

Reply via email to