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 middle-end/67908] gcc segfaults with -fstack-check (internal compiler error) / armv7 host and target


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-10-12
     Ever confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
I cannot reproduce with a cross.  Please run the cc1 command from within GDB:

/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/5.2.0/cc1 -fpreprocessed test.i
-quiet -dumpbase test.c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16
-mtls-dialect=gnu -auxbase-strip test.o -g -O2 -O3 -Wall -Wno-unused-result
-Wno-unused-variable -std=gnu99 -version -fstack-check=specific
-fstack-protector -ffast-math --param ssp-buffer-size=4 -o test.s

and post a backtrace.  And note that the implementation of -fstack-check on ARM
is suboptimal and buggy in the 4.x and 5.x compilers; there is a new one on the
mainline (future 6.x compilers).


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