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/66750] New: [4.9/5/6] Aggregate return not generated with -m32 -mregparm=3 or with -miamcu


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

            Bug ID: 66750
           Summary: [4.9/5/6] Aggregate return not generated with -m32
                    -mregparm=3 or with -miamcu
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: julia.koval at intel dot com
  Target Milestone: ---

Reproduce:
./gcc -Bgcc gcc.target/i386/aggregate-ret2.c -m32 -mregparm=3 -S

Generated code:
 .cfi_def_cfa 4, 4
 ret
 .cfi_endproc

Without mregparm:
 .cfi_def_cfa 4, 4
 ret     $4
 .cfi_endproc

Issue is also reproduced with mregparm=1/2 or -miamcu.

The problem is most likely in expand pass.


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