Bug 69911 - [6 Regression] Massive test failures on ia32
Summary: [6 Regression] Massive test failures on ia32
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 6.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 69913 69914 69923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-23 03:20 UTC by H.J. Lu
Modified: 2016-02-23 16:08 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2016-02-23 03:20:07 UTC
On Linux/ia32, r233616 caused:

FAIL: gcc.target/i386/iamcu/test_passing_structs_and_unions.c compilation,  -Os  (internal compiler error)
FAIL: gcc.target/i386/iamcu/test_passing_structs.c compilation,  -Os  (internal compiler error)
FAIL: libffi.call/cls_12byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_16byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_18byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_19byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_20byte1.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_20byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_24byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_64byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_7_1_byte.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_9byte1.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_9byte2.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_double.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_float.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_longdouble.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split2.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split2.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split2.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split2.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split2.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.call/cls_align_longdouble_split.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_pointer.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_sint32.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_sint64.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_uint32.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_align_uint64.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_dbls_struct.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/cls_many_mixed_float_double.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct10.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct1.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct2.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct3.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct4.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct5.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct6.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct7.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct8.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct9.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/nested_struct.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/problem1.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/pyobjc-tc.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/stret_large2.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.call/stret_large2.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test for excess errors)
FAIL: libffi.call/stret_large2.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.call/stret_large2.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.call/stret_large2.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/stret_large.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.call/stret_large.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test for excess errors)
FAIL: libffi.call/stret_large.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.call/stret_large.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.call/stret_large.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/stret_medium2.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.call/stret_medium2.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test for excess errors)
FAIL: libffi.call/stret_medium2.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.call/stret_medium2.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.call/stret_medium2.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/stret_medium.c -W -Wall -Wno-psabi -O0 (test for excess errors)
FAIL: libffi.call/stret_medium.c -W -Wall -Wno-psabi -O2 -fomit-frame-pointer (test for excess errors)
FAIL: libffi.call/stret_medium.c -W -Wall -Wno-psabi -O2 (test for excess errors)
FAIL: libffi.call/stret_medium.c -W -Wall -Wno-psabi -O3 (test for excess errors)
FAIL: libffi.call/stret_medium.c -W -Wall -Wno-psabi -Os (test for excess errors)
FAIL: libffi.call/testclosure.c -W -Wall -Wno-psabi -Os (test for excess errors)
Comment 1 Mark Wielaard 2016-02-23 07:57:38 UTC
Proposed fix: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01537.html
Comment 2 Markus Trippelsdorf 2016-02-23 10:13:25 UTC
*** Bug 69913 has been marked as a duplicate of this bug. ***
Comment 3 Mark Wielaard 2016-02-23 11:47:51 UTC
Author: mark
Date: Tue Feb 23 11:47:19 2016
New Revision: 233627

URL: https://gcc.gnu.org/viewcvs?rev=233627&root=gcc&view=rev
Log:
PR c/69911 Check main_input_filename and DECL_SOURCE_FILE are not NULL.

DECL_SOURCE_FILE can be NULL (for example when DECL_ARTIFICIAL).
So make sure to check before comparing against main_input_filename.

gcc/ChangeLog

	PR c/69911
	* cgraphunit.c (check_global_declaration): Check main_input_filename
	and DECL_SOURCE_FILE are not NULL.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraphunit.c
Comment 4 Markus Trippelsdorf 2016-02-23 11:50:32 UTC
fixed.
Comment 5 Markus Trippelsdorf 2016-02-23 11:51:05 UTC
*** Bug 69914 has been marked as a duplicate of this bug. ***
Comment 6 Markus Trippelsdorf 2016-02-23 16:08:58 UTC
*** Bug 69923 has been marked as a duplicate of this bug. ***