gcc/include
Vineet Gupta 67a9a71183 [ARC]PR 88409: miscompilation due to missing cc clobber in longlong.h macros
simple test such as below was failing.

| void main(int argc, char *argv[])
| {
|    size_t total_time = 115424;                       // expected 115.424
|    double secs = (double)total_time/(double)1000;
|    printf("%s %d %lf\n", "secs", total_time, secs);  // prints 113.504
|    printf("%d\n", (size_t)secs);
| }

The printf eventually called into glibc stdlib/divrem.c:__mpn_divrem()
which uses the __arc__ specific inline asm macros from longlong.h which
were causing miscompilation.

include/
2019-03-28  Vineet Gupta <vgupta@synopsys.com>

        PR 89877

        * longlong.h [__arc__] (add_ssaaaa): Add cc clobber
        (sub_ddmmss): Likewise.

Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>

From-SVN: r270118
2019-04-03 11:53:03 +02:00
..
gdb Update copyright years. 2019-01-01 13:31:55 +01:00
ansidecl.h Update copyright years. 2019-01-01 13:31:55 +01:00
ChangeLog [ARC]PR 88409: miscompilation due to missing cc clobber in longlong.h macros 2019-04-03 11:53:03 +02:00
ChangeLog-9103
ChangeLog.jit
COPYING
COPYING3
demangle.h Update copyright years. 2019-01-01 13:31:55 +01:00
dwarf2.def Update copyright years. 2019-01-01 13:31:55 +01:00
dwarf2.h Update copyright years. 2019-01-01 13:31:55 +01:00
dyn-string.h Update copyright years. 2019-01-01 13:31:55 +01:00
environ.h Update copyright years. 2019-01-01 13:31:55 +01:00
fibheap.h Update copyright years. 2019-01-01 13:31:55 +01:00
filenames.h Update copyright years. 2019-01-01 13:31:55 +01:00
floatformat.h Update copyright years. 2019-01-01 13:31:55 +01:00
fnmatch.h Update copyright years. 2019-01-01 13:31:55 +01:00
gcc-c-fe.def Update copyright years. 2019-01-01 13:31:55 +01:00
gcc-c-interface.h Update copyright years. 2019-01-01 13:31:55 +01:00
gcc-cp-fe.def Update copyright years. 2019-01-01 13:31:55 +01:00
gcc-cp-interface.h Update copyright years. 2019-01-01 13:31:55 +01:00
gcc-interface.h Update copyright years. 2019-01-01 13:31:55 +01:00
getopt.h Update copyright years. 2019-01-01 13:31:55 +01:00
gomp-constants.h Update copyright years. 2019-01-01 13:31:55 +01:00
hashtab.h Update copyright years. 2019-01-01 13:31:55 +01:00
hsa.h Update copyright years. 2019-01-01 13:31:55 +01:00
leb128.h Update copyright years. 2019-01-01 13:31:55 +01:00
libiberty.h PR other/16615 [2/5] 2019-01-09 16:39:49 -05:00
longlong.h [ARC]PR 88409: miscompilation due to missing cc clobber in longlong.h macros 2019-04-03 11:53:03 +02:00
lto-symtab.h Update copyright years. 2019-01-01 13:31:55 +01:00
md5.h Update copyright years. 2019-01-01 13:31:55 +01:00
objalloc.h Update copyright years. 2019-01-01 13:31:55 +01:00
obstack.h Update copyright years. 2019-01-01 13:31:55 +01:00
partition.h Update copyright years. 2019-01-01 13:31:55 +01:00
plugin-api.h PR other/16615 [2/5] 2019-01-09 16:39:49 -05:00
safe-ctype.h Update copyright years. 2019-01-01 13:31:55 +01:00
sha1.h Update copyright years. 2019-01-01 13:31:55 +01:00
simple-object.h Update copyright years. 2019-01-01 13:31:55 +01:00
sort.h Update copyright years. 2019-01-01 13:31:55 +01:00
splay-tree.h Fix splay tree KEY leak detected in GDB test gdb.base/macscp.exp 2019-02-12 13:02:48 +00:00
symcat.h Update copyright years. 2019-01-01 13:31:55 +01:00
timeval-utils.h Update copyright years. 2019-01-01 13:31:55 +01:00
unique-ptr.h Update copyright years. 2019-01-01 13:31:55 +01:00
vtv-change-permission.h Update copyright years. 2019-01-01 13:31:55 +01:00
xregex2.h Update copyright years. 2019-01-01 13:31:55 +01:00
xregex.h
xtensa-config.h Update copyright years. 2019-01-01 13:31:55 +01:00