This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/63834] New: [5 Regression] unrecognised __has_attribute(xxxx) test causes segv (prevents bootstrap on darwin12).


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

            Bug ID: 63834
           Summary: [5 Regression] unrecognised __has_attribute(xxxx) test
                    causes segv (prevents bootstrap on darwin12).
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: preprocessor
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org

Created attachment 33947
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33947&action=edit
Test header

The changes at r217292 have introduced a segv for the attached testcase.

AFAICT the code is valid, this is used in a key system header on x86-64-darwin
so is a bootstrap blocker. Fails at stage#2 because libiberty's config.h
contains nonsense.

---

./gcc/xgcc -Bgcc avtest.h -E 

avtest.h:1:0: internal compiler error: Segmentation fault: 11
 #ifdef __has_attribute
 ^

avtest.h:1:0: internal compiler error: Abort trap: 6
xgcc: internal compiler error: Abort trap: 6 (program cc1)
Abort trap: 6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]