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 target/66626] New: [i386] gcc.dg/torture/stackalign/non-local-goto-5.c segfaults w/ -mregparm=3


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

            Bug ID: 66626
           Summary: [i386] gcc.dg/torture/stackalign/non-local-goto-5.c
                    segfaults w/ -mregparm=3
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kyukhin at gcc dot gnu.org
  Target Milestone: ---

Currently, main trunk produces wrong code.
I suspect target (but not sure).

Reproduce:
$ gcc/xgcc -Bgcc
../../git/gcc3/gcc/testsuite/gcc.dg/torture/stackalign/non-local-goto-5.c -O1
-mregparm=3 -m32
$ ./a.out
Segmentation fault (core dumped)


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