https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88089
Bug ID: 88089 Summary: [9 regression] build failure with GCC 4.9 on SPARC/Solaris 11 Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: build Severity: blocker Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: ebotcazou at gcc dot gnu.org Target Milestone: --- Host: sparc-sun-solaris2.11 Target: sparc-sun-solaris2.11 Build: sparc-sun-solaris2.11 The error message is: /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c: In function 'data_dependence_relation* initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)': /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:17: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::start_a' [-Wmissing-field-initializers] } full_seq = {}, struct_seq = {}; ^ /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:17: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::start_b' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:17: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::length' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:17: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::object_a' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:17: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::object_b' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:34: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::start_a' [-Wmissing-field-initializers] } full_seq = {}, struct_seq = {}; ^ /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:34: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::start_b' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:34: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::length' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:34: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::object_a' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:2428:34: warning: missing initializer for member 'initialize_data_dependence_relation(data_reference*, data_reference*, vec<loop*>)::<anonymous struct>::object_b' [-Wmissing-field-initializers] /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c: In function 'void lambda_matrix_right_hermite(lambda_matrix, int, int, lambda_matrix, lambda_matrix)': /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:3549:29: error: call of overloaded 'abs(lambda_int&)' is ambiguous a = abs (a); ^ /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:3549:29: note: candidates are: In file included from /usr/include/stdlib.h:11:0, from /homes/botcazou/gcc-head/src/gcc/system.h:258, from /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:77: /usr/include/iso/stdlib_iso.h:154:23: note: long int std::abs(long int) inline long abs(long _l) { return labs(_l); } ^ /usr/include/iso/stdlib_iso.h:108:12: note: int std::abs(int) extern int abs(int); ^ /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:3550:29: error: call of overloaded 'abs(lambda_int&)' is ambiguous b = abs (b); ^ /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:3550:29: note: candidates are: In file included from /usr/include/stdlib.h:11:0, from /homes/botcazou/gcc-head/src/gcc/system.h:258, from /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c:77: /usr/include/iso/stdlib_iso.h:154:23: note: long int std::abs(long int) inline long abs(long _l) { return labs(_l); } ^ /usr/include/iso/stdlib_iso.h:108:12: note: int std::abs(int) extern int abs(int); ^ g++ -std=gnu++98 -fno-PIE -c -g -O -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I/homes/botcazou/gcc-head/src/gcc -I/homes/botcazou/gcc-head/src/gcc/. -I/homes/botcazou/gcc-head/src/gcc/../include -I/homes/botcazou/gcc-head/src/gcc/../libcpp/include -I/homes/botcazou/support/sparc/include -I/homes/botcazou/support/sparc/include -I/homes/botcazou/support/sparc/include -I/homes/botcazou/gcc-head/src/gcc/../libdecnumber -I/homes/botcazou/gcc-head/src/gcc/../libdecnumber/dpd -I../libdecnumber -I/homes/botcazou/gcc-head/src/gcc/../libbacktrace -o tree-data-ref.o -MT tree-data-ref.o -MMD -MP -MF ./.deps/tree-data-ref.TPo /homes/botcazou/gcc-head/src/gcc/tree-data-ref.c (botcazou@aurora) /aurora.a/users/botcazou/gcc-head $ g++ --versiong++ (GCC) 4.9.4 20151030 (prerelease) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. See your AdaCore support agreement for details of warranty and support. If you do not have a current support agreement, then there is absolutely no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.