[Bug tree-optimization/85699] New: [8 regression] gcc.dg/nextafter-2.c fail

2018-05-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85699

Bug ID: 85699
   Summary: [8 regression] gcc.dg/nextafter-2.c fail
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r259921 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.dg/nextafter-2.c -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -fno-builtin -lm -o ./nextafter-2.exe
PASS: gcc.dg/nextafter-2.c (test for excess errors)
spawn [open ...]
FAIL: gcc.dg/nextafter-2.c execution test

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug tree-optimization/85699] [9 regression] gcc.dg/nextafter-2.c fail

2018-05-09 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85699

--- Comment #4 from Andrey Guskov  ---
Jakub, here is the requested output:

bug at 136 aa == -3.36210314311209350626267781732175260e-4932L / 4.0L +
3.64519953188247460252840593361941982e-4951L
bug at 145 aa == -3.36210314311209350626267781732175260e-4932L / 4.0L +
3.64519953188247460252840593361941982e-4951L

[Bug middle-end/85881] [9 Regression] FAIL: g++.dg/pr80481.C -std=gnu++11 scan-assembler-not vmovaps

2018-05-23 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85881

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #5 from Andrey Guskov  ---
Confirmed on Haswell and Silvermont.

[Bug middle-end/85881] [9 Regression] FAIL: g++.dg/pr80481.C -std=gnu++11 scan-assembler-not vmovaps

2018-05-24 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85881

--- Comment #6 from Andrey Guskov  ---
Also affected: gcc.dg/guality/pr58791-4.c

[Bug lto/83338] New: [8 Regression] SPEC CPU2017 510.parest_r ICE

2017-12-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

Bug ID: 83338
   Summary: [8 Regression] SPEC CPU2017 510.parest_r ICE
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

r255021 triggers an ICE when 510 is compiled for x86_32 on Haswell:

lto1: internal compiler error: in lto_tag_to_tree_code, at lto-streamer.h:992
0x6feb65 lto_tag_to_tree_code
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto-streamer.h:992
0x6feb65 streamer_alloc_tree(lto_input_block*, data_in*, LTO_tags)
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-streamer-in.c:575
0xb5ee20 lto_read_tree
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto-streamer-in.c:1382
0xb5ee20 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto-streamer-in.c:1501
0x85730c lto_read_decls
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:1782
0x85978b lto_file_finalize
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2046
0x85978b lto_create_files_from_ids
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2056
0x85978b lto_file_read
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2097
0x85978b read_cgraph_and_symbols
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:2809
0x85978b lto_main()
/user/aguskov/scratch/aguskov/testing/510/source/gcc/lto/lto.c:3314
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status


Option set:
-m32 -march=core-avx2 -mfpmath=sse -Ofast -fno-associative-math -funroll-loops
-flto -fpermissive

[Bug ipa/83179] [8 regression] gcc.dg/ipa/inline-1.c fail

2017-12-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83179

--- Comment #11 from Andrey Guskov  ---
Whoops. Sorry, 436 belongs to pr83338, even though its ICE message is the same
as 507`s.

[Bug lto/83338] [8 Regression] SPEC CPU2017 510.parest_r ICE

2017-12-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

--- Comment #1 from Andrey Guskov  ---
32-bit SPEC CPU2006::436 also affected.

during GIMPLE pass: vect
regex.c: In function 'regexec.constprop':
regex.c:5755:1: internal compiler error: in vectorizable_mask_load_store, at
tree-vect-stmts.c:2349
 regexec (preg, string, nmatch, pmatch, eflags)
 ^
0x70f527 vectorizable_mask_load_store
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-vect-stmts.c:2348
0x71515c vectorizable_call
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-vect-stmts.c:2652
0xe4b6d5 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-vect-stmts.c:8826
0x733ce7 vect_transform_loop(_loop_vec_info*)
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-vect-loop.c:7567
0xe5fa4d vectorize_loops()
   
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-vectorizer.c:761
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.
lto-wrapper: fatal error: gfortran returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status

N.B.: although the ICE message is similar to that of SPEC CPU2017::507 from
pr83179, it is caused by a different error.

[Bug lto/83338] [8 Regression] SPEC CPU2017 510.parest_r ICE

2017-12-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

--- Comment #3 from Andrey Guskov  ---
32-bit SPEC CPU2006::447 also affected.

during GIMPLE pass: vect
fe.cc:681:1: internal compiler error: verify_gimple failed
0xcb7db1 verify_gimple_in_cfg(function*, bool)
/user/aguskov/scratch/aguskov/testing/510/source/gcc/tree-cfg.c:5432
0xbb31de execute_function_todo
/user/aguskov/scratch/aguskov/testing/510/source/gcc/passes.c:1994
0xbb3b3a execute_todo
/user/aguskov/scratch/aguskov/testing/510/source/gcc/passes.c:2048
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status

[Bug lto/83338] [8 Regression] SPEC CPU2017 510.parest_r ICE

2017-12-11 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

--- Comment #11 from Andrey Guskov  ---
Understood. Going to report back tomorrow.

[Bug lto/83338] [8 Regression] SPEC CPU2017 510.parest_r ICE

2017-12-11 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

--- Comment #12 from Andrey Guskov  ---
Well, that was faster than I expected.


Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=20171211/libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: source/configure --prefix=20171211 --with-system-zlib
--with-demangler-in-ld --with-fpmath=sse --with-pkgversion=Revision=250112
--enable-shared --enable-host-shared --enable-clocale=gnu
--enable-cloog-backend=isl --enable-languages=c,c++,fortran,jit,lto
--with-arch=haswell --with-cpu=haswell
Thread model: posix
gcc version 8.0.0 20171211 (experimental) (Revision=250112)


510 - passed
436 - passed
447 - passed

[Bug lto/83338] [8 Regression] SPEC CPU2017 510.parest_r ICE

2017-12-11 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83338

--- Comment #13 from Andrey Guskov  ---
The revision was wrong, it`s today`s build.

[Bug debug/83378] New: [8 regression] gcc.dg/guality/pr54970.c xpass

2017-12-11 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83378

Bug ID: 83378
   Summary: [8 regression] gcc.dg/guality/pr54970.c xpass
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r255510 triggers this:

spawn gdb -nx -nw -quiet -batch -x pr54970.gdb ./pr54970.exe
XPASS: gcc.dg/guality/pr54970.c   -O0  line 31 a[0] == 4

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug debug/83378] [8 regression] gcc.dg/guality/pr54970.c xpass

2017-12-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83378

--- Comment #2 from Andrey Guskov  ---
Wait, isn`t XPASS an unexpected (i.e. erroneous) pass?
I know that XFAIL = expected fail, so I don`t consider it a fail. But what
about XPASS?

[Bug ipa/83065] [8 Regression] SPEC CPU2017 523/623 compfail (ICE)

2017-12-20 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83065

--- Comment #2 from Andrey Guskov  ---
Standard base6 options: -Ofast -funroll-loops

gcc-bugs@gcc.gnu.org

2017-12-21 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83538

Bug ID: 83538
   Summary: std::match_results C++14 conformance issue: reference
!= value_type&
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

C++14 standard (page 1123, see here:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf#1137) says:

namespace std {
template >>
class match_results {
public:
typedef sub_match value_type;
typedef const value_type& const_reference;
typedef value_type& reference;
...

As of now, std::match_results implementation disagrees with the standard in
that it does not consider 'reference' equal to 'value_type&'.
I made a reproducer to prove that:

#include 
template  struct diff { static const bool s = true; };
template  struct diff { static const bool s = false; };
typedef std::match_results > >
m;
int main() { return !printf((diff::s)? "FAIL\n" :
"PASS\n"); }

[Bug libstdc++/83598] New: std::basic_regex C++14 conformance issue: resulting flags != passed flags

2017-12-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83598

Bug ID: 83598
   Summary: std::basic_regex C++14 conformance issue: resulting
flags != passed flags
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

C++14 standard (page 1114, see here:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf#1128) says:

explicit basic_regex(const charT* p, flag_type f =
regex_constants::ECMAScript);
Requires: p shall not be a null pointer.
Throws: regex_error if p is not a valid regular expression.
Effects: Constructs an object of class basic_regex; the object’s internal
finite state machine is constructed from the regular expression contained in
the array of charT of length char_traits::length(p) whose first element
is designated by p, and interpreted according to the flags f.
Postconditions: flags() returns f. mark_count() returns the number of marked
sub-expressions within the expression.
...

As of now, std::basic_regex implementation disagrees with the standard in that
the flags set upon construction aren`t equal to the flags passed to the
constructor.

Reproducer:

#include 
int main() {
std::basic_regex ca("(a)(b)", std::regex_constants::icase);
std::basic_regex cb("(a)(b)", std::regex_constants::nosubs);
std::basic_regex wa(L"(a)(b)", std::regex_constants::icase);
std::basic_regex wb(L"(a)(b)", std::regex_constants::nosubs);
printf(((ca.flags() == std::regex_constants::icase)
 || (cb.flags() == std::regex_constants::nosubs)
 || (wa.flags() == std::regex_constants::icase)
 || (wb.flags() == std::regex_constants::nosubs))? "PASS\n" :
"FAIL\n");
return 0;
}

[Bug libstdc++/83600] New: std::match_results C++14 conformance issue: iterators not equal

2017-12-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83600

Bug ID: 83600
   Summary: std::match_results C++14 conformance issue: iterators
not equal
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

C++14 Standard (see here:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf), section
28.10:

The class template match_results shall satisfy the requirements of an
allocator-aware container and of a sequence container, as specified in 23.2.3


Container requirements, section 23.2.1:

Expression: a.empty() 
Return type: convertible to bool
Operational semantics: a.begin() == a.end()


Section 24.7:

template  auto begin(C& c) -> decltype(c.begin());
template  auto begin(const C& c) -> decltype(c.begin());
Returns: c.begin().
template  auto end(C& c) -> decltype(c.end());
template  auto end(const C& c) -> decltype(c.end());
Returns: c.end().


Creating an empty instance of match_results container and then comparing
its begin and end iterators results in a mismatch, whereas according to the
standard they have to be the same:


#include 
int main() {
std::match_results m;
return !printf((std::begin(m) == std::end(m))? "PASS\n" : "FAIL\n");
}

[Bug libstdc++/83601] New: std::regex_replace C++14 conformance issue: escaping in SED mode

2017-12-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83601

Bug ID: 83601
   Summary: std::regex_replace C++14 conformance issue: escaping
in SED mode
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libstdc++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

C++14 standard (page 1107, see here:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4296.pdf#1121), 28.5.2
[Bitmask type regex_constants::match_flag_type]:

...
format_sed
When a regular expression match is to be replaced by a new string, the new
string shall be constructed using the rules used by the sed utility in POSIX.
...


The rules which SED uses are documented in IEEE 1003.1 (p. 3221):

An 
('&') appearing in the replacement shall be replaced by the string matching the
BRE. The special meaning of '&' in this context can be suppressed by preceding
it
by a . The characters "\n", where n is a digit, shall be replaced by
the
text matched by the corresponding back-reference expression. 
...
The special meaning of "\n" where n is a digit in
this context, can be suppressed by preceding it by a .


The current implementation of std::regex_replace does not comply to the
standard: special meanings of &, \0, \2 cannot be suppressed by escaping them
with backslashes.


Reproducer:

#include 
int frep(const wchar_t *istr, const wchar_t *rstr, const wchar_t *ostr) {
std::basic_regex wrgx(L"(a*)(b+)");
std::basic_string wstr = istr, wret = ostr, test;
std::regex_replace(std::back_inserter(test), wstr.begin(), wstr.end(),
   wrgx, std::basic_string(rstr),
   std::regex_constants::format_sed);
return !printf("'%ls' %c= '%ls'\n",
   test.c_str(), (test == wret)? '=' : '!', wret.c_str());
}
int main() {
frep(L"xbbyabz", L"!2!", L"x!\\2!y!\\2!z");
frep(L"xbbyabz", L"!0!", L"x!\\0!y!\\0!z");
return frep(L"xbbyabz", L"!\\&!", L"x!&!y!&!z");
}

[Bug ipa/83706] [8 regression] gcc.dg/ipa/inline-2.c and gcc.dg/ipa/inline-3.c fail starting with r256279

2018-01-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83706

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #2 from Andrey Guskov  ---
Confirmed on Haswell and Silvermont X86-64.

[Bug ipa/83065] [8 Regression] SPEC CPU2017 523/623 compfail (ICE)

2018-01-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83065

Andrey Guskov  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Andrey Guskov  ---
Just checked again. Both tests pass now, so this ticket should be closed.

[Bug tree-optimization/83991] New: [8 regression] gcc.dg/vect/pr79347.c fail

2018-01-23 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83991

Bug ID: 83991
   Summary: [8 regression] gcc.dg/vect/pr79347.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r256888 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.dg/vect/pr79347.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -msse2 -ftree-vectorize -fno-vect-cost-model
-fno-common -O2 -fdump-tree-vect-details -fdump-tree-vect-all -S -o pr79347.s
PASS: gcc.dg/vect/pr79347.c (test for excess errors)
FAIL: gcc.dg/vect/pr79347.c scan-tree-dump-not vect "Invalid sum of "

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug target/82851] [8 regression] g++.dg/vect/slp-pr56812.cc, i386/avx2-vpaddq-3.c, i386/avx2-vpsubq-3.c fails

2018-01-23 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82851

Andrey Guskov  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #3 from Andrey Guskov  ---
Honza, I`m very sorry, but the issue persists. I was wrong telling you it`s
gone. All three tests continue failing.

[Bug jit/82846] [8 regression] jit.dg test-alignment.c.exe, test-combination.c.exe, test-threads.c.exe fails

2018-01-25 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82846

Andrey Guskov  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Andrey Guskov  ---
It does. All relevant tests now pass:

gcc/testsuite/jit.dg/jit.exp::test-alignment.c.exe
gcc/testsuite/jit.dg/jit.exp::test-alignment.cc.exe
gcc/testsuite/jit.dg/jit.exp::test-combination.c.exe
gcc/testsuite/jit.dg/jit.exp::test-threads.c.exe
gcc/testsuite/jit.dg/jit.exp::test-threads.c.exe:

[Bug tree-optimization/84232] New: [8 regression] gcc.dg/tree-ssa/ssa-dom-cse-2.c fail

2018-02-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84232

Bug ID: 84232
   Summary: [8 regression] gcc.dg/tree-ssa/ssa-dom-cse-2.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257181 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-cse-2.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O3 -fno-tree-fre -fno-tree-pre -fdump-tree-optimized
--param sra-max-scalarization-size-Ospeed=32 -S -o ssa-dom-cse-2.s
PASS: gcc.dg/tree-ssa/ssa-dom-cse-2.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/ssa-dom-cse-2.c scan-tree-dump optimized "return 28;"

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug ipa/83179] [8 regression] gcc.dg/ipa/inline-1.c fail

2018-02-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83179

--- Comment #18 from Andrey Guskov  ---
Just in case that was a question to me, inline-[123].c fails are long gone, and
I don`t see any regex.* fails either.

[Bug ipa/83179] [8 regression] gcc.dg/ipa/inline-1.c fail

2018-02-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83179

--- Comment #19 from Andrey Guskov  ---
So, with all related makecheck and SPEC fails gone, we can most probably close
this one, right?

[Bug ipa/83179] [8 regression] gcc.dg/ipa/inline-1.c fail

2018-02-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83179

Andrey Guskov  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

[Bug other/86153] [9 regression] test case g++.dg/pr83239.C fails starting with r261585

2018-07-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86153

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #5 from Andrey Guskov  ---
Confirmed on Haswell and Silvermont.

[Bug debug/86413] New: [9 regression] gcc.dg/guality/pr48437.c fail

2018-07-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86413

Bug ID: 86413
   Summary: [9 regression] gcc.dg/guality/pr48437.c fail
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r261748 triggers this:

spawn gdb -nx -nw -quiet -batch -x pr48437.gdb ./pr48437.exe
FAIL: gcc.dg/guality/pr48437.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 14 i == 0

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug debug/86531] New: [9 regression] gcc.dg/guality/pr37726.c fail

2018-07-16 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86531

Bug ID: 86531
   Summary: [9 regression] gcc.dg/guality/pr37726.c fail
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r261687 triggers this:

spawn gdb -nx -nw -quiet -batch -x pr37726.gdb ./pr37726.exe
FAIL: gcc.dg/guality/pr37726.c   -O0  line 11 parm == 5

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #7 from Andrey Guskov  ---
On Haswell, r263067 is also responsible for that:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/avx-cvt-2.c -fno-diagnostics-show-caret
-fdiagnostics-color=never -O3 -mavx -mno-avx2 -mtune=generic
-fdump-tree-vect-details -ffat-lto-objects -S -o avx-cvt-2.s
PASS: gcc.target/i386/avx-cvt-2.c (test for excess errors)
PASS: gcc.target/i386/avx-cvt-2.c scan-tree-dump-times vect "vectorized 1 loops
in function" 6
PASS: gcc.target/i386/avx-cvt-2.c scan-assembler
vcvttpd2dq(y[^\n\r]*%xmm|[^\n\r]*xmm[^\n\r]*YMMWORD PTR)
PASS: gcc.target/i386/avx-cvt-2.c scan-assembler vcvtdq2ps[^\n\r]*ymm
FAIL: gcc.target/i386/avx-cvt-2.c scan-assembler
vcvtps2pd[^\n\r]*(%xmm[^\n\r]*%ymm|ymm[^\n\r]*xmm)

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug target/86771] [9 Regression] gfortran.dg/actual_array_constructor_1.f90 fails on arm after combine 2 insns to 2 insns patch

2018-08-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86771

--- Comment #9 from Andrey Guskov  ---
OK.

[Bug target/86745] [9 regression] gcc.target/i386/avx-cvt-2.c etc. FAIL on 64-bit x86

2018-08-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86745

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #2 from Andrey Guskov  ---
Confirmed on Haswell.

The guilty revision is r263067.

[Bug target/82851] [8 regression] g++.dg/vect/slp-pr56812.cc, i386/avx2-vpaddq-3.c, i386/avx2-vpsubq-3.c fails

2018-02-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82851

--- Comment #4 from Andrey Guskov  ---
g++.dg/vect/slp-pr56812.cc started passing after r257479.
Both i386/avx2-vpaddq-3.c and i386/avx2-vpsubq-3.c continue failing.

[Bug target/84359] New: [8 regression] gcc.target/i386/pr57193.c fail

2018-02-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84359

Bug ID: 84359
   Summary: [8 regression] gcc.target/i386/pr57193.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257537 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/pr57193.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -ffat-lto-objects -S -o pr57193.s
PASS: gcc.target/i386/pr57193.c (test for excess errors)
FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2 (found 1 times)

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug debug/84457] New: [8 regression] gcc.dg/guality/pr49888.c fail

2018-02-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84457

Bug ID: 84457
   Summary: [8 regression] gcc.dg/guality/pr49888.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257631 triggers this:

spawn gdb -nx -nw -quiet -batch -x pr49888.gdb ./pr49888.exe
FAIL: gcc.dg/guality/pr49888.c   -O1  line 18 !c == 1

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug debug/84458] New: [8 regression] gcc.dg/guality/pr49888.c fail

2018-02-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84458

Bug ID: 84458
   Summary: [8 regression] gcc.dg/guality/pr49888.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257631 triggers this:

spawn gdb -nx -nw -quiet -batch -x pr49888.gdb ./pr49888.exe
FAIL: gcc.dg/guality/pr49888.c   -O1  line 18 !c == 1

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug debug/84459] New: [8 regression] gcc.dg/guality/pr49888.c fail

2018-02-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84459

Bug ID: 84459
   Summary: [8 regression] gcc.dg/guality/pr49888.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257631 triggers this:

spawn gdb -nx -nw -quiet -batch -x pr49888.gdb ./pr49888.exe
FAIL: gcc.dg/guality/pr49888.c   -O1  line 18 !c == 1

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug debug/84457] [8 regression] gcc.dg/guality/pr49888.c fail

2018-02-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84457

--- Comment #3 from Andrey Guskov  ---
Whoops. Sorry. Kept getting an HTTP 504 from post_bug.cgi.

[Bug target/84460] New: [8 regression] gcc.target/i386/pr57193.c fail

2018-02-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84460

Bug ID: 84460
   Summary: [8 regression] gcc.target/i386/pr57193.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257669 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/pr57193.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -msse2 -mno-sse3 -ffat-lto-objects -S -o
pr57193.s
PASS: gcc.target/i386/pr57193.c (test for excess errors)
FAIL: gcc.target/i386/pr57193.c scan-assembler-times movdqa 2 (found 3 times)

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-02-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #16 from Andrey Guskov  ---
Oh wow, that was unexpected!
Will test and report back ASAP.

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-02-20 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #23 from Andrey Guskov  ---
Tested.

gcc8-pr82004.patch does not work on CPU2017::628.

[Bug libgomp/84466] [8 regression] libgomp.graphite/force-parallel-8.c fails starting with r257723

2018-02-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84466

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #3 from Andrey Guskov  ---
Confirmed on Intel Silvermont.

[Bug target/84575] New: [8 regression] gcc.target/i386/pr84309.c fail

2018-02-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84575

Bug ID: 84575
   Summary: [8 regression] gcc.target/i386/pr84309.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r257617 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/pr84309.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -Ofast -mavx -ffat-lto-objects -S -o pr84309.s
PASS: gcc.target/i386/pr84309.c (test for excess errors)
FAIL: gcc.target/i386/pr84309.c scan-assembler _ZGVcN4v_exp

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-14 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #26 from Andrey Guskov  ---
Martin, Jakub, for the Base optset (-Ofast -funroll-loops -march=haswell) there
is no change, 628 keeps failing, but for O2 (-O2 -ffast-math -march=haswell) it
did start passing.

[Bug c++/84983] New: [8 regression] g++.dg/ext/pr84828.C fail

2018-03-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84983

Bug ID: 84983
   Summary: [8 regression] g++.dg/ext/pr84828.C fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r258476 triggers this:

spawn -ignore SIGHUP /work/gcc/testsuite/g++2/../../xg++
-B/work/gcc/testsuite/g++2/../../ /source/gcc/testsuite/g++.dg/ext/pr84828.C
-fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/work/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/work/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/source/libstdc++-v3/libsupc++ -I/source/libstdc++-v3/include/backward
-I/source/libstdc++-v3/testsuite/util -fmessage-length=0 -std=gnu++98 -Og
-mno-sse2 -S -o pr84828.s
FAIL: g++.dg/ext/pr84828.C  -std=gnu++98 (internal compiler error)

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

Also confirmed on Silvermont.

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #32 from Andrey Guskov  ---
Created attachment 43761
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43761&action=edit
Dump as requested in #c31

Jakub, see the attachment. This is the log of what I get, packed in 7Z.
At a glance, the importatnt part looks quite similar to what Richard has shown.

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2018-03-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #33 from Andrey Guskov  ---
This is the full execution line I used to produce the log in question, and with
which the test continues failing:

$ gfortran -fdump-tree-all -fdump-rtl-all -m64 -c -o sw_absorption.fppized.o
-march=core-avx2 -mfpmath=sse -Ofast -fno-associative-math -funroll-loops -flto
-fopenmp -fconvert=big-endian sw_absorption.fppized.f90

[Bug tree-optimization/85154] New: [8 regression] gcc.dg/vect/vect-95.c fail

2018-04-01 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85154

Bug ID: 85154
   Summary: [8 regression] gcc.dg/vect/vect-95.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r258872 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.dg/vect/vect-95.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -msse2 -ftree-vectorize -fno-vect-cost-model
-fno-common -O2 -fdump-tree-vect-details -lm -o ./vect-95.exe
PASS: gcc.dg/vect/vect-95.c (test for excess errors)
spawn [open ...]
PASS: gcc.dg/vect/vect-95.c execution test
PASS: gcc.dg/vect/vect-95.c scan-tree-dump-times vect "vectorized 1 loops" 1
FAIL: gcc.dg/vect/vect-95.c scan-tree-dump-times vect "Alignment of access
forced using peeling" 0

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=silvermont
--with-cpu=silvermont

[Bug testsuite/81624] [8 Regression] FAIL: gcc.target/i386/pr59501-3a.c scan-assembler-not and[^\n\r]*sp

2017-08-01 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81624

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #2 from Andrey Guskov  ---
Also having this.

[Bug middle-end/82004] New: SPEC CPU2017 628.pop2_s miscompare

2017-08-28 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

Bug ID: 82004
   Summary: SPEC CPU2017 628.pop2_s miscompare
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

I`m seeing a miscompare in 628.pop2_s compiled with the following option set:

-m64 -march=core-avx2 -mfpmath=sse -Ofast -funroll-loops -fconvert=big-endian
-fopenmp

The guilty revision is r251230. Despite exp(log(c)*x) being faster, it seems to
lack the precision of pow(c,x).

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-08-28 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #2 from Andrey Guskov  ---
Approximately a hundred different variables and function calls, the majority of
which are raised to the second or third power, sometimes fourth or fifth. As
628.pop2_s is mostly written in Fortran 90, all of the cases look like c**x.
I`m not sure if this gets transformed into pow() when x is constant, though.

As for the cases where x is either not constant or non-integer, there are 22 of
them:

co2calc.F90:  x1(i) = c10 ** (-phhi(i))
co2calc.F90:  x2(i) = c10 ** (-phlo(i))

ecosys_mod.F90:   Tfunc = Q_10**(((TEMP + T0_Kelvin)-(Tref +
T0_Kelvin))/c10)
ecosys_mod.F90:   zoo_loss = z_mort2 * Zprime**1.4_r8 + z_mort * Zprime
ecosys_mod.F90:   TfuncS = 2.5_r8**(((TEMP + T0_Kelvin) - (Tref +
T0_Kelvin)) / c10)

hmix_del4.F90:AMF(:,:,iblock) = (UAREA(:,:,iblock)/uarea_equator)**1.5
hmix_del4.F90:AHF(:,:,iblock) = (TAREA(:,:,iblock)/uarea_equator)**1.5

hmix_gm.F90:  BOLUS_SP(:,:,bid) = 50.0_r8 * sqrt(U_ISOP**c2 +
V_ISOP**c2)

overflows.F90:phi = c1-Fgeo**(-c2/c3)

seq_flux_mct.F90: anidr = (.026_R8/(cosz**1.7_R8 + 0.065_R8))
shr_flux_mod.F90: temp = (zkB*zkB)**(1.0_R8/a2) ! note: zkB < 0, zkB*zkB >
0
shr_flux_mod.F90: temp = (zeta*zeta)**(1.0_R8/a2) ! note: zeta < 0,
zeta*zeta > 0

state_mod.F90:st15 = salt**(1.5_r8)

sw_absorption.F90:chlamnt = 10**(logchl)

time_management.F90:  ifact = 10**(string_length - n)

vmix_kpp.F90: cg = cstar*vonkar*(c_s*vonkar*epssfc)**p33
vmix_kpp.F90: bckgrnd_vdc_psis=
bckgrnd_vdc_psim*exp(-(0.4_r8*(tlatd+28.9_r8))**c2)
vmix_kpp.F90: bckgrnd_vdc_psin=
bckgrnd_vdc_psim*exp(-(0.4_r8*(tlatd-28.9_r8))**c2)
vmix_kpp.F90: bckgrnd_vdc1 * (tlatd/10.0_r8)**c2
vmix_kpp.F90: WM(i,j) = vonkar*USTAR(i,j)*(c1 - c16*ZETA(i,j))**p25
vmix_kpp.F90: WM(i,j) =
vonkar*(a_m*(USTAR(i,j)**3)-c_m*ZETAH(i,j))**p33
vmix_kpp.F90: WS(i,j) =
vonkar*(a_s*(USTAR(i,j)**3)-c_s*ZETAH(i,j))**p33


...Something tells me I didn`t get the question.

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #4 from Andrey Guskov  ---
Okay, finally I`ve got a minimal reproducer.
All this miscompare boils down to the following:

program r628
real(8) :: l = -3
print *, merge("PASSED", "FAILED", 1D-3 .le. 10**l)
end program r628

Normally, 10^-3 should equal 10^-3, but not after the optimization in question.

$ gfortran -m64 -O3 -o r628 r628.f90 && ./r628
 PASSED
$ gfortran -m64 -Ofast -o r628 r628.f90 && ./r628
 FAILED

[Bug middle-end/82004] [8 Regression] SPEC CPU2017 628.pop2_s miscompare

2017-09-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82004

--- Comment #5 from Andrey Guskov  ---
This is the actual guilty line:

sw_absorption.F90:chlamnt = 10**(logchl)

It computes 'chlamnt' and then compares it to the list of acceptable values.
When -Ofast is enabled, CPU2017::628 considers 'chlamnt' unacceptable.

[Bug middle-end/82117] New: [8 Regression] SPEC CPU2017 502/602 compfail (ICE)

2017-09-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82117

Bug ID: 82117
   Summary: [8 Regression] SPEC CPU2017 502/602 compfail (ICE)
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

Since r251650, the following happens @ CPU2017 502 and 602:


during GIMPLE pass: pre
sel-sched.c: In function 'fill_vec_av_set':
sel-sched.c:3689:1: internal compiler error: Segmentation fault
 fill_vec_av_set (av_set_t av, blist_t bnds, fence_t fence,
 ^
0xc97776 crash_signal
<-->../../../gcc/gcc/toplev.c:341
0xdd527d fini_eliminate
<-->../../../gcc/gcc/tree-ssa-pre.c:4863
0xddd8a7 execute
<-->../../../gcc/gcc/tree-ssa-pre.c:5201
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.


Option set:
-m64 -march=core-avx2 -mfpmath=sse -Ofast -fno-associative-math -funroll-loops
-flto -z muldefs -std=gnu89 -fopenmp

[Bug middle-end/82117] [8 Regression] SPEC CPU2017 502/602 compfail (ICE)

2017-09-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82117

--- Comment #2 from Andrey Guskov  ---
Weird. I did a Bugzilla search for "r251650", but it told me that nothing was
found.

[Bug middle-end/82145] New: [8 regression] i386/pr38988.c, i386/pr46254.c, i386/pr55154.c, i386/pr81766.c fails

2017-09-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82145

Bug ID: 82145
   Summary: [8 regression] i386/pr38988.c, i386/pr46254.c,
i386/pr55154.c, i386/pr81766.c fails
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

Since r251606, these three tests began failing in GCC make check, coupled with
the new test added in the very patch:

FAIL: gcc.target/i386/pr38988.c (internal compiler error)
FAIL: gcc.target/i386/pr38988.c (test for excess errors)
FAIL: gcc.target/i386/pr46254.c (internal compiler error)
FAIL: gcc.target/i386/pr46254.c (test for excess errors)
FAIL: gcc.target/i386/pr55154.c (internal compiler error)
FAIL: gcc.target/i386/pr55154.c (test for excess errors)

FAIL: gcc.target/i386/pr81766.c (internal compiler error) <-- new test
FAIL: gcc.target/i386/pr81766.c (test for excess errors)

[Bug middle-end/82145] [8 regression] i386/pr38988.c, i386/pr46254.c, i386/pr55154.c, i386/pr81766.c fails

2017-09-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82145

--- Comment #1 from Andrey Guskov  ---
Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto --with-arch=haswell --with-cpu=haswell

[Bug fortran/82184] [8 Regression] 187.facerec in SPEC CPU 2000 miscompares

2017-09-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82184

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #4 from Andrey Guskov  ---
Also seeing this. Investigating.

Preliminarily, this has something to do with transposing matrices (M1 =
transpose(M2)) when either M1 or M2 is defined as Real(4), Pointer, Save.

[Bug fortran/82184] [8 Regression] 187.facerec in SPEC CPU 2000 miscompares

2017-09-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82184

--- Comment #5 from Andrey Guskov  ---
program r187

call s()
call s()

contains
subroutine s()

complex(4), allocatable, save :: a(:, :)
complex(4), pointer, save :: b(:, :)

if (.not. associated(b)) then
allocate(a(2, 2))
allocate(b(2, 2))
a(1, 1) = cmplx(12, 34)
a(2, 2) = cmplx(56, 78)
else
b = transpose(a)
print *, merge("PASSED", "FAILED", a(1, 1) .eq. b(1, 1))
end if

end subroutine s

end program r187


# pre-r251949
$ gfortran -Ofast r187.f90 -o r187 && ./r187
 PASSED

# post-r251949
$ gfortran -Ofast r187.f90 -o r187 && ./r187
 FAILED

[Bug fortran/82184] [8 Regression] 187.facerec in SPEC CPU 2000 miscompares

2017-09-15 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82184

--- Comment #9 from Andrey Guskov  ---
Yep, 187 seems to be working now.
Not sure about performance, will check this next week when the automatic perf
build arrives.

[Bug target/82268] New: [8 regression] i386/pr82196-1.c fail

2017-09-20 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268

Bug ID: 82268
   Summary: [8 regression] i386/pr82196-1.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

Since r252896, gcc.target/i386/pr82196-1.c started failing:

PASS: gcc.target/i386/pr82196-1.c (test for excess errors)
FAIL: gcc.target/i386/pr82196-1.c scan-assembler call.*__sse_savms64_18
FAIL: gcc.target/i386/pr82196-1.c scan-assembler jmp.*__sse_resms64x_18

[Bug target/82268] [8 regression] i386/pr82196-1.c fail

2017-09-20 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268

--- Comment #1 from Andrey Guskov  ---
Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto --with-arch=haswell --with-cpu=haswell

[Bug fortran/82184] [8 Regression] 187.facerec in SPEC CPU 2000 miscompares

2017-09-20 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82184

--- Comment #11 from Andrey Guskov  ---
Sorry Paul, we happened to be lacking automatic perf runs for 187.
I`ll try running it manually and then report back.

[Bug fortran/82184] [8 Regression] 187.facerec in SPEC CPU 2000 miscompares

2017-09-20 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82184

--- Comment #12 from Andrey Guskov  ---
Okay, testing complete.
The performance delta is less than 1% (0.96% to be exact), but technically the
new solution is still faster than the one before r252781.

[Bug ipa/82278] New: [8 regression] gcc.dg/lto/chkp-ctor-merge fail

2017-09-21 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82278

Bug ID: 82278
   Summary: [8 regression] gcc.dg/lto/chkp-ctor-merge fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ipa
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

Since r251333, gcc.dg/lto/chkp-ctor-merge_0.c fails:

during IPA pass: inline
In function '_GLOBAL__I_65535_0_c_lto_chkp_ctor_merge_0.o':
lto1: internal compiler error: Segmentation fault
0xc598b6 crash_signal
gcc/toplev.c:341
0x8b3a86 cgraph_node::get(tree_node const*)
gcc/cgraph.h:1262
0x8b3a86 cgraph_node::get_create(tree_node*)
gcc/cgraph.c:533
0xce8647 chkp_redirect_edge(cgraph_edge*)
gcc/tree-chkp.c:559
0x8b99b7 cgraph_edge::redirect_call_stmt_to_callee()
gcc/cgraph.c:1385
0x1319a51 inline_transform(cgraph_node*)
gcc/ipa-inline-transform.c:670
0x61bda9 execute_one_ipa_transform_pass
gcc/passes.c:2237
0x61bda9 execute_all_ipa_transforms()
gcc/passes.c:2279
0x8c060b cgraph_node::expand()
gcc/cgraphunit.c:2047
0x8c1a42 expand_all_functions
gcc/cgraphunit.c:2190
0x8c1a42 symbol_table::compile()
gcc/cgraphunit.c:2538
0x832c14 lto_main()
gcc/lto/lto.c:3340
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
compiler exited with status 1

FAIL: gcc.dg/lto/chkp-ctor-merge
c_lto_chkp-ctor-merge_0.o-c_lto_chkp-ctor-merge_0.o link,  -O2 -flto
-fcheck-pointer-bounds -mmpx -nodefaultlibs -lc  (internal compiler error)


Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto --with-arch=haswell --with-cpu=haswell

[Bug middle-end/81657] [8 Regression] FAIL: gcc.dg/20050503-1.c scan-assembler-not call

2017-09-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81657

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #2 from Andrey Guskov  ---
Also seeing this.

[Bug target/82341] New: [8 regression] i386/pr80732.c fail

2017-09-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82341

Bug ID: 82341
   Summary: [8 regression] i386/pr80732.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r253037 triggered the following fail:

FAIL: gcc.target/i386/pr80732.c (test for excess errors)
Excess errors:
gcc.target/i386/pr80732.c:46:8: warning: 'f2' 'ifunc' resolver should return a
function pointer [-Wattributes]

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto --with-arch=haswell --with-cpu=haswell

[Bug target/82342] New: [8 regression] i386/pr82260-2.c fail

2017-09-27 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82342

Bug ID: 82342
   Summary: [8 regression] i386/pr82260-2.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r253050 triggered these fails:

FAIL: gcc.target/i386/pr82260-2.c scan-assembler \\mmovl\\t%esi, %ecx
FAIL: gcc.target/i386/pr82260-2.c scan-assembler \\mmovb\\t%dl, %cl
FAIL: gcc.target/i386/pr82260-2.c scan-assembler \\mmovb\\t%r8b, %cl

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto --with-arch=haswell --with-cpu=haswell

[Bug tree-optimization/79920] [6 Regression] Incorrect floating point results when compiling with -O3

2017-05-16 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920

--- Comment #7 from Andrey Guskov  ---
(In reply to Mikael Pettersson from comment #6)
> (In reply to Andrey Guskov from comment #5)
> > The revision 245968 breaks compilation of 465.tonto from SPEC2006 with these
> > options:
> > 
> > -m32 -Ofast -flto -march=core-avx2
> 
> Was this regression fixed, and if so by which revision?  I don't have
> immediate access to SPEC2006 so I cannot check for myself.

Nope. As of 2017-05-16 it still persists.

[Bug jit/80954] New: JIT make check regression for GCC 8.0

2017-06-02 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80954

Bug ID: 80954
   Summary: JIT make check regression for GCC 8.0
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: jit
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

Created attachment 41454
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41454&action=edit
JIT make check fails

Revision r248336 made GCC JIT make check start reporting mass fails; see
fails.log

./configure line:
--enable-languages=c,c++,jit --enable-clocale=gnu --enable-cloog-backend=isl
--enable-shared --enable-host-shared --disable-libsanitizer --disable-bootstrap
--disable-nls --with-system-zlib --with-demangler-in-ld --with-arch=corei7
--with-cpu=corei7 --with-fpmath=sse

[Bug debug/81155] New: Debug make check regressions in GCC 8.0

2017-06-21 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155

Bug ID: 81155
   Summary: Debug make check regressions in GCC 8.0
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

Revision r249105 produces several new make check fails:

FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 34 c == &a[0]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 36 e == &a[1]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 39 c == &a[0]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 41 e == &a[1]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  line 34 c == &a[0]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  line 36 e == &a[1]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  line 39 c == &a[0]
FAIL: gcc.dg/guality/pr43051-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  line 41 e == &a[1]
FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 16 b == 7
FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 16 c == 11
FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 16 d == 112
FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  line 16 e == 142
FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  line 16 b == 7
FAIL: gcc.dg/guality/pr45882.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  line 16 c == 11

./configure line:
--enable-languages=c,c++ --enable-clocale=gnu --enable-cloog-backend=
isl --enable-shared --disable-libsanitizer --disable-bootstrap --disable-nls
--with-system-zlib --with-demangler-in-ld --with-arch=corei
7 --with-cpu=corei7 --with-fpmath=sse

[Bug debug/81155] Debug make check regressions in GCC 8.0

2017-06-22 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81155

--- Comment #2 from Andrey Guskov  ---
Well, it is actually a bisection. Do I need to rule out a GDB problem?
GDB on our testing machine is as follows:

$ gdb -v | grep GDB
GNU gdb (GDB) Fedora 7.10.1-31.fc23
This GDB was configured as "x86_64-redhat-linux-gnu".

[Bug tree-optimization/79920] [6 Regression] Incorrect floating point results when compiling with -O3

2017-03-13 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79920

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #5 from Andrey Guskov  ---
The revision 245968 breaks compilation of 465.tonto from SPEC2006 with these
options:

-m32 -Ofast -flto -march=core-avx2

Stack trace:

crystal.fppized.f90: In function 'put_fcalc_plots':
crystal.fppized.f90:3604:0: internal compiler error: in vect_get_slp_vect_defs,
at tree-vect-slp.c:3272
subroutine put_fcalc_plots(self)

0xd4e35f vect_get_slp_vect_defs
source/gcc/tree-vect-slp.c:3272
0xd4e35f vect_get_slp_defs(vec, _slp_tree*,
vec, va_heap, vl_ptr>*, int)
source/gcc/tree-vect-slp.c:3366
0xd12d64 vect_get_vec_defs(tree_node*, tree_node*, gimple*, vec*, vec*, _slp_tree*, int)
source/gcc/tree-vect-stmts.c:1558
0xd18461 vectorizable_operation
source/gcc/tree-vect-stmts.c:5484
0xd2b9f3 vect_transform_stmt(gimple*, gimple_stmt_iterator*, bool*, _slp_tree*,
_slp_instance*)
source/gcc/tree-vect-stmts.c:8654
0xd4b48e vect_schedule_slp_instance
source/gcc/tree-vect-slp.c:3703
0xd4b20f vect_schedule_slp_instance
source/gcc/tree-vect-slp.c:3581
0xd4b20f vect_schedule_slp_instance
source/gcc/tree-vect-slp.c:3581
0xd4bb66 vect_schedule_slp(vec_info*)
source/gcc/tree-vect-slp.c:3775
0xd32da4 vect_transform_loop(_loop_vec_info*)
source/gcc/tree-vect-loop.c:7054
0xd51524 vectorize_loops()
source/gcc/tree-vectorizer.c:687
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
lto-wrapper: fatal error: gfortran returned 1 exit status
compilation terminated.
ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
specmake: *** [tonto] Error 1

[Bug target/82358] New: [8 regression] i386/stack-check-11.c fail

2017-09-29 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82358

Bug ID: 82358
   Summary: [8 regression] i386/stack-check-11.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r252999 triggers this fail:

FAIL: gcc.target/i386/stack-check-11.c scan-assembler-times subq 4

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=slm --with-cpu=slm

[Bug target/82358] [8 regression] i386/stack-check-11.c fail

2017-10-03 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82358

--- Comment #3 from Andrey Guskov  ---
This is my gcc -v:

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: source/configure -with-system-zlib --with-demangler-in-ld
--with-fpmath=sse --enable-shared --enable-host-shared --enable-clocale=gnu
--enable-cloog-backend=isl --enable-languages=c,c++,fortran,jit,lto
-with-arch=slm --with-cpu=slm
Thread model: posix
gcc version 8.0.0 20170920 (experimental) (GCC)



And this is what my objdump -D looks like:

stack-check-11.o: file format elf64-x86-64
Disassembly of section .text:

 :
   0:   48 8d a4 24 00 f0 fflea-0x1000(%rsp),%rsp
   7:   ff
   8:   48 83 0c 24 00  orq$0x0,(%rsp)
   d:   48 8d a4 24 00 f0 fflea-0x1000(%rsp),%rsp
  14:   ff
  15:   48 83 0c 24 00  orq$0x0,(%rsp)
  1a:   48 8d a4 24 00 f0 fflea-0x1000(%rsp),%rsp
  21:   ff
  22:   48 83 0c 24 00  orq$0x0,(%rsp)
  27:   48 8d a4 24 38 fa fflea-0x5c8(%rsp),%rsp
  2e:   ff
  2f:   48 89 e6mov%rsp,%rsi
  32:   48 8d bc 24 e0 1a 00lea0x1ae0(%rsp),%rdi
  39:   00
  3a:   e8 00 00 00 00  callq  3f 
  3f:   48 8d a4 24 c8 35 00lea0x35c8(%rsp),%rsp
  46:   00
  47:   c3  retq

[Bug debug/82425] New: [8 regression] gcc.dg/guality/inline-params-2.c fail

2017-10-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82425

Bug ID: 82425
   Summary: [8 regression] gcc.dg/guality/inline-params-2.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r251220 triggers this fail (or, rather, unexpected pass):

XPASS: gcc.dg/guality/inline-params-2.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug tree-optimization/82381] [8 Regression] internal compiler error: qsort checking failed

2017-10-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82381

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #11 from Andrey Guskov  ---
Also having that on half the SPEC CPU2017. Glad that it`s already fixed.

Likely duplicates: pr82395, pr82396, pr82397, pr82398, pr82401

[Bug other/82368] [8 regression] with r253275 several new test cases in libbacktrace fail

2017-10-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82368

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #2 from Andrey Guskov  ---
r235275 also causes SPEC CPU2006 435 compfail @ base6 x86-64 (Haswell and
Silvermont).

[Bug other/82368] [8 regression] with r253275 several new test cases in libbacktrace fail

2017-10-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82368

--- Comment #4 from Andrey Guskov  ---
Damn. Sorry for the false alarm.
The correct revision had to be r253275.

[Bug other/82368] [8 regression] with r253275 several new test cases in libbacktrace fail

2017-10-04 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82368

--- Comment #5 from Andrey Guskov  ---
Please update the bug header: s/235275/253275/

[Bug target/82268] [8 regression] i386/pr82196-1.c fail

2017-10-23 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82268

--- Comment #4 from Andrey Guskov  ---
The command line (broken into several lines for the sake of readability):

spawn -ignore SIGHUP /build/gcc/xgcc -B/build/gcc/
/source/gcc/testsuite/gcc.target/i386/pr82196-1.c
-B/build/x86_64-pc-linux-gnu/./libmpx/
-B/build/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/build/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/build/x86_64-pc-linux-gnu/./libmpx/
-B/build/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/build/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs
-fno-diagnostics-show-caret -fdiagnostics-color=never
-msse -mcall-ms2sysv-xlogues -O2 -ffat-lto-objects -S -o pr82196-1.s

PASS: gcc.target/i386/pr82196-1.c (test for excess errors)
FAIL: gcc.target/i386/pr82196-1.c scan-assembler call.*__sse_savms64f?_12
FAIL: gcc.target/i386/pr82196-1.c scan-assembler jmp.*__sse_resms64f?x_12

[Bug debug/82425] [8 regression] gcc.dg/guality/inline-params-2.c fail

2017-10-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82425

Andrey Guskov  changed:

   What|Removed |Added

 CC||rguenther at suse dot de

--- Comment #1 from Andrey Guskov  ---
Added Richard to CC.

[Bug target/82713] [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475

2017-10-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #3 from Andrey Guskov  ---
r254012 also triggers gcc.target/i386/pr61403.c:

PASS: gcc.target/i386/pr61403.c (test for excess errors)
FAIL: gcc.target/i386/pr61403.c scan-assembler blend

[Bug target/82713] [8 Regression] ICE in ix86_builtin_vectorization_cost, at config/i386/i386.c:44475

2017-10-26 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82713

--- Comment #4 from Andrey Guskov  ---
Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=slm --with-cpu=slm

[Bug target/82767] New: [8 regression] gcc.target/i386/pr71321.c scan-assembler-times fail

2017-10-30 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82767

Bug ID: 82767
   Summary: [8 regression] gcc.target/i386/pr71321.c
scan-assembler-times fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r253934 triggers this fail:

FAIL: gcc.target/i386/pr71321.c scan-assembler-times
lea.\t\\(%[0-9a-z]+,%[0-9a-z]+,4 3 (found 2 times)

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug debug/82769] New: [8 regression] gcc.dg/guality/pr68037-1.c multiple fails

2017-10-30 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82769

Bug ID: 82769
   Summary: [8 regression] gcc.dg/guality/pr68037-1.c multiple
fails
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

Created attachment 42500
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42500&action=edit
Fail log

r250721 triggers multiple fails in gcc.dg/guality/pr68037-1.c, see attachment.

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug lto/82770] New: [8 regression] gcc.dg/pr78768.c xpass

2017-10-30 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82770

Bug ID: 82770
   Summary: [8 regression] gcc.dg/pr78768.c xpass
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: lto
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

r248035 triggers this unexpected pass:

XPASS: gcc.dg/pr78768.c -Wformat-overflow (test for warnings, line 12)

Tagging as LTO since it is LTO-related:
/* PR c/78768 - -Walloca-larger-than and -Wformat-overflow warnings disabled
   by -flto
  { dg-do link }
  { dg-require-effective-target lto }
  { dg-require-linker-plugin "" }
  { dg-options "-O2 -Walloca-larger-than=10 -Wformat -Wformat-overflow -flto" }
*/

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug jit/82826] New: [8 regression] jit.dg test-benchmark.c.exe fail

2017-11-03 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82826

Bug ID: 82826
   Summary: [8 regression] jit.dg test-benchmark.c.exe fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: jit
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r254140 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/jit.dg/test-benchmark.c -fno-diagnostics-show-caret
-fdiagnostics-color=never -I/source/gcc/testsuite/../jit -lgccjit -g -Wall
-Werror -Wl,--export-dynamic -fgnu89-inline -lm -o test-benchmark.c.exe

FAIL: test-benchmark.c.exe killed: 10882 exp9 0 0 CHILDKILLED SIGSEGV
{segmentation violation}

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug target/82827] New: [8 regression] i386/pr82002-2a.c fail

2017-11-03 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82827

Bug ID: 82827
   Summary: [8 regression] i386/pr82002-2a.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r254284 triggers this:

/source/gcc/testsuite/gcc.target/i386/pr82002-2a.c:14:1: internal compiler
error: in extract_insn, at recog.c:2305
0x5b709a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/source/gcc/rtl-error.c:108
0x5b70b8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/source/gcc/rtl-error.c:116
0xc07c54 extract_insn(rtx_insn*)
/source/gcc/recog.c:2305
0xc08d48 extract_constrain_insn(rtx_insn*)
/source/gcc/recog.c:2205
0xc1275f copyprop_hardreg_forward_1
/source/gcc/regcprop.c:790
0xc1342f execute
/source/gcc/regcprop.c:1296
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
compiler exited with status 1
XFAIL: gcc.target/i386/pr82002-2a.c (internal compiler error)
FAIL: gcc.target/i386/pr82002-2a.c (test for excess errors)

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug target/82828] New: [8 regression] i386/pr70263-2.c fail

2017-11-03 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82828

Bug ID: 82828
   Summary: [8 regression] i386/pr70263-2.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r254167 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/pr70263-2.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -fdump-rtl-ira -ffat-lto-objects -S -o
pr70263-2.s
PASS: gcc.target/i386/pr70263-2.c (test for excess errors)
FAIL: gcc.target/i386/pr70263-2.c scan-rtl-dump ira "Adding REG_EQUIV to insn
[0-9]+ for source of insn [0-9]+"

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug target/82827] [8 regression] i386/pr82002-2a.c fail

2017-11-03 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82827

--- Comment #1 from Andrey Guskov  ---
pr82002-2b is also affected:

/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c: In function 'b':
/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c:14:1: error: unrecognizable
insn:
(insn 40 39 41 2 (set (reg:DI 4 si)
(plus:DI (reg/f:DI 7 sp)
(const_int 180 [0x2540be450])))
"/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c":14 -1
 (nil))
during RTL pass: cprop_hardreg
/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c:14:1: internal compiler
error: in extract_insn, at recog.c:2305
0x5b709a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/source/gcc/rtl-error.c:108
0x5b70b8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/source/gcc/rtl-error.c:116
0xc07c54 extract_insn(rtx_insn*)
/source/gcc/recog.c:2305
0xc08d48 extract_constrain_insn(rtx_insn*)
/source/gcc/recog.c:2205
0xc1275f copyprop_hardreg_forward_1
/source/gcc/regcprop.c:790
0xc1342f execute
/source/gcc/regcprop.c:1296
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See  for instructions.
compiler exited with status 1
XFAIL: gcc.target/i386/pr82002-2b.c (internal compiler error)
FAIL: gcc.target/i386/pr82002-2b.c (test for excess errors)
Excess errors:
/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c:14:1: error: unrecognizable
insn:
(insn 40 39 41 2 (set (reg:DI 4 si)
(plus:DI (reg/f:DI 7 sp)
(const_int 180 [0x2540be450])))
"/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c":14 -1
 (nil))
during RTL pass: cprop_hardreg
/source/gcc/testsuite/gcc.target/i386/pr82002-2b.c:14:1: internal compiler
error: in extract_insn, at recog.c:2305
0x5b709a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/source/gcc/rtl-error.c:108
0x5b70b8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/source/gcc/rtl-error.c:116
0xc07c54 extract_insn(rtx_insn*)
/source/gcc/recog.c:2305
0xc08d48 extract_constrain_insn(rtx_insn*)
/source/gcc/recog.c:2205
0xc1275f copyprop_hardreg_forward_1
/source/gcc/regcprop.c:790
0xc1342f execute
/source/gcc/regcprop.c:1296

[Bug jit/82846] New: [8 regression] jit.dg test-alignment.c.exe, test-combination.c.exe, test-threads.c.exe fails

2017-11-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82846

Bug ID: 82846
   Summary: [8 regression] jit.dg test-alignment.c.exe,
test-combination.c.exe, test-threads.c.exe fails
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: jit
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r254152 triggers several fails in JIT:

---
PASSED: test-alignment.c.exe iteration 1 of 5: verify_aligned_code_s2:
result is non-null
PASSED: test-alignment.c.exe iteration 1 of 5: verify_aligned_code_s2:
test_writing is non-null
FAILED: test-alignment.c.exe iteration 1 of 5: verify_aligned_code_s2:
actual: test_writing (&tmp) != expected: 35
incorrect value
PASS:  test-alignment.c.exe iteration 1 of 5: verify_aligned_code_s2: result is
non-null
PASS:  test-alignment.c.exe iteration 1 of 5: verify_aligned_code_s2:
test_writing is non-null
FAIL:  test-alignment.c.exe iteration 1 of 5: verify_aligned_code_s2: actual:
test_writing (&tmp) != expected: 35
FAIL: test-alignment.c.exe killed: 34058 exp9 0 0 CHILDKILLED SIGABRT SIGABRT

---
PASSED: test-combination.c.exe iteration 1 of 5:
verify_aligned_code_s2: result is non-null
PASSED: test-combination.c.exe iteration 1 of 5:
verify_aligned_code_s2: test_writing is non-null
FAILED: test-combination.c.exe iteration 1 of 5:
verify_aligned_code_s2: actual: test_writing (&tmp) != expected: 35
incorrect value
PASS:  test-combination.c.exe iteration 1 of 5: verify_aligned_code_s2: result
is non-null
PASS:  test-combination.c.exe iteration 1 of 5: verify_aligned_code_s2:
test_writing is non-null
FAIL:  test-combination.c.exe iteration 1 of 5: verify_aligned_code_s2: actual:
test_writing (&tmp) != expected: 35
FAIL: test-combination.c.exe killed: 30447 exp9 0 0 CHILDKILLED SIGABRT SIGABRT

---
NOTE: run_threaded_test: autovectorize iteration: 2
PASSED: test-threads.c.exe: verify_aligned_code_s2: result is non-null
PASSED: test-threads.c.exe: verify_aligned_code_s2: test_writing is
non-null
FAILED: test-threads.c.exe: verify_aligned_code_s2: actual:
test_writing (&tmp) != expected: 35
incorrect value
PASS:  test-threads.c.exe: verify_aligned_code_s2: result is non-null
PASS:  test-threads.c.exe: verify_aligned_code_s2: test_writing is non-null
FAIL:  test-threads.c.exe: verify_aligned_code_s2: actual: test_writing (&tmp)
!= expected: 35
FAIL: test-threads.c.exe killed: 3769 exp9 0 0 CHILDKILLED SIGABRT SIGABRT


Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug jit/82846] [8 regression] jit.dg test-alignment.c.exe, test-combination.c.exe, test-threads.c.exe fails

2017-11-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82846

--- Comment #1 from Andrey Guskov  ---
Also affects test-alignment.cc.exe:

NOTE: test-alignment.cc.exe iteration 1 of 5: writing reproducer to
./test-alignment.cc.exe.reproducer.c
PASSED: test-alignment.cc.exe iteration 1 of 5: verify_aligned_code:
result is non-null
PASSED: test-alignment.cc.exe iteration 1 of 5: verify_aligned_code:
test_writing is non-null
FAILED: test-alignment.cc.exe iteration 1 of 5: verify_aligned_code:
actual: test_writing (&tmp) != expected: 35
incorrect value
PASS:  test-alignment.cc.exe iteration 1 of 5: verify_aligned_code: result is
non-null
PASS:  test-alignment.cc.exe iteration 1 of 5: verify_aligned_code:
test_writing is non-null
FAIL:  test-alignment.cc.exe iteration 1 of 5: verify_aligned_code: actual:
test_writing (&tmp) != expected: 35
FAIL: test-alignment.cc.exe killed: 45660 exp9 0 0 CHILDKILLED SIGABRT SIGABRT

[Bug middle-end/82847] New: [8 regression] gcc.dg/vect/slp-perm-9.c fail

2017-11-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82847

Bug ID: 82847
   Summary: [8 regression] gcc.dg/vect/slp-perm-9.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r248909 triggers this fail:

FAIL: gcc.dg/vect/slp-perm-9.c scan-tree-dump-times vect "vectorized 1 loops" 1

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=slm --with-cpu=slm

[Bug target/82851] New: [8 regression] g++.dg/vect/slp-pr56812.cc, i386/avx2-vpaddq-3.c, i386/avx2-vpsubq-3.c fails

2017-11-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82851

Bug ID: 82851
   Summary: [8 regression] g++.dg/vect/slp-pr56812.cc,
i386/avx2-vpaddq-3.c, i386/avx2-vpsubq-3.c fails
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r253975 triggers these fails:

spawn -ignore SIGHUP /work/gcc/testsuite/g++6/../../xg++
-B/work/gcc/testsuite/g++6/../../
/source/gcc/testsuite/g++.dg/vect/slp-pr56812.cc -fno-diagnostics-show-caret
-fdiagnostics-color=never -nostdinc++
-I/work/x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu
-I/work/x86_64-pc-linux-gnu/libstdc++-v3/include
-I/source/libstdc++-v3/libsupc++ -I/source/libstdc++-v3/include/backward
-I/source/libstdc++-v3/testsuite/util -fmessage-length=0 -std=c++98 -O2
-ftree-vectorize -fno-vect-cost-model -msse2 -fdump-tree-slp-details -O3
-funroll-loops -fvect-cost-model=dynamic -S -o slp-pr56812.s
PASS: g++.dg/vect/slp-pr56812.cc  -std=c++98 (test for excess errors)
FAIL: g++.dg/vect/slp-pr56812.cc  -std=c++98  scan-tree-dump-times slp1 "basic
block vectorized" 1 (found 0 times)

---
spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/avx2-vpaddq-3.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize
-save-temps -ffat-lto-objects -lm -o ./avx2-vpaddq-3.exe
PASS: gcc.target/i386/avx2-vpaddq-3.c (test for excess errors)
PASS: gcc.target/i386/avx2-vpaddq-3.c execution test
FAIL: gcc.target/i386/avx2-vpaddq-3.c scan-assembler-times vpaddq[
\\t]+[^\n]*%ymm[0-9] 1 (found 0 times)

---
spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/avx2-vpsubq-3.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize
-save-temps -ffat-lto-objects -lm -o ./avx2-vpsubq-3.exe
PASS: gcc.target/i386/avx2-vpsubq-3.c (test for excess errors)
PASS: gcc.target/i386/avx2-vpsubq-3.c execution test
FAIL: gcc.target/i386/avx2-vpsubq-3.c scan-assembler-times vpsubq[
\\t]+[^\n]*%ymm[0-9] 1 (found 0 times)


Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=slm --with-cpu=slm

[Bug target/82852] New: [8 regression] i386/vect-unpack-1.c, i386/avx512f-gather-2.c, i386/avx256-unaligned-store-2.c fails

2017-11-05 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82852

Bug ID: 82852
   Summary: [8 regression] i386/vect-unpack-1.c,
i386/avx512f-gather-2.c,
i386/avx256-unaligned-store-2.c fails
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
  Target Milestone: ---

r254012 triggers these fails:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/vect-unpack-1.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -ftree-vectorize -ffast-math -mavx512bw
-save-temps -ffat-lto-objects -lm -o ./vect-unpack-1.exe
PASS: gcc.target/i386/vect-unpack-1.c (test for excess errors)
PASS: gcc.target/i386/vect-unpack-1.c execution test
FAIL: gcc.target/i386/vect-unpack-1.c scan-assembler-times vpmovzxbw[
\\t]+[^\n]*%zmm 2 (found 0 times)

---
spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/avx512f-gather-2.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O3 -mavx512f -fdump-tree-vect-details
-ffat-lto-objects -S -o avx512f-gather-2.s
PASS: gcc.target/i386/avx512f-gather-2.c (test for excess errors)
PASS: gcc.target/i386/avx512f-gather-2.c scan-assembler-not
gather[^\n]*ymm[^\n]*ymm
PASS: gcc.target/i386/avx512f-gather-2.c scan-assembler-not
gather[^\n]*xmm[^\n]*ymm
PASS: gcc.target/i386/avx512f-gather-2.c scan-assembler-not
gather[^\n]*ymm[^\n]*xmm
FAIL: gcc.target/i386/avx512f-gather-2.c scan-assembler-not
gather[^\n]*xmm[^\n]*xmm
FAIL: gcc.target/i386/avx512f-gather-2.c scan-tree-dump-times vect "note:
vectorized 1 loops in function" 16 (found 10 times)

---
spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-2.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O3 -mtune-ctrl=sse_typeless_stores -dp -mavx
-mavx256-split-unaligned-store -mno-prefer-avx128 -ffat-lto-objects -S -o
avx256-unaligned-store-2.s
PASS: gcc.target/i386/avx256-unaligned-store-2.c (test for excess errors)
PASS: gcc.target/i386/avx256-unaligned-store-2.c scan-assembler-not
vmovups.*movv32qi_internal/4
FAIL: gcc.target/i386/avx256-unaligned-store-2.c scan-assembler
vmovups.*movv16qi_internal/4
FAIL: gcc.target/i386/avx256-unaligned-store-2.c scan-assembler vextract.128


Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=slm --with-cpu=slm

[Bug rtl-optimization/82849] [8 Regression] ICE on valid code since r254379

2017-11-06 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82849

Andrey Guskov  changed:

   What|Removed |Added

 CC||andrey.y.guskov at intel dot 
com

--- Comment #2 from Andrey Guskov  ---
r254379 also triggers this make check failure:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.dg/tree-ssa/vrp101.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -O2 -fdump-tree-optimized -S -o vrp101.s
PASS: gcc.dg/tree-ssa/vrp101.c (test for excess errors)
FAIL: gcc.dg/tree-ssa/vrp101.c scan-tree-dump optimized " \\[[0-9.]+%\\]
\\[count: [0-9INV]*\\]:[\n\r ]*return 0;"

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=haswell --with-cpu=haswell

[Bug ipa/82903] New: [8 regression] gcc.dg/tree-prof/20050826-2.c fail

2017-11-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82903

Bug ID: 82903
   Summary: [8 regression] gcc.dg/tree-prof/20050826-2.c fail
   Product: gcc
   Version: 8.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ipa
  Assignee: unassigned at gcc dot gnu.org
  Reporter: andrey.y.guskov at intel dot com
CC: marxin at gcc dot gnu.org
  Target Milestone: ---

r254452 triggers this:

spawn -ignore SIGHUP /work/gcc/xgcc -B/work/gcc/
/source/gcc/testsuite/gcc.dg/tree-prof/20050826-2.c
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxrt
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxrt/.libs
-B/work/x86_64-pc-linux-gnu/./libmpx/
-B/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap
-L/work/x86_64-pc-linux-gnu/./libmpx/mpxwrap/.libs -fno-diagnostics-show-caret
-fdiagnostics-color=never -Ofast -fdump-tree-dom2-all -fprofile-use
-D_PROFILE_USE -lm -o /work/gcc/testsuite/gcc3/20050826-2.x02
PASS: gcc.dg/tree-prof/20050826-2.c compilation,  -fprofile-use -D_PROFILE_USE
PASS: gcc.dg/tree-prof/20050826-2.c execution,-fprofile-use -D_PROFILE_USE
FAIL: gcc.dg/tree-prof/20050826-2.c scan-tree-dump-not dom2 "Invalid sum"

Option set:
-with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-shared
--enable-host-shared --enable-clocale=gnu --enable-cloog-backend=isl
--enable-languages=c,c++,fortran,jit,lto -with-arch=slm --with-cpu=slm

[Bug ipa/82903] [8 regression] gcc.dg/tree-prof/20050826-2.c fail

2017-11-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82903

--- Comment #1 from Andrey Guskov  ---
gcc.dg/tree-prof/cmpsf-1.c is also affected:

PASS: gcc.dg/tree-prof/cmpsf-1.c execution,-fprofile-use -D_PROFILE_USE
FAIL: gcc.dg/tree-prof/cmpsf-1.c scan-tree-dump-not dom2 "Invalid sum"

  1   2   >