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/29248] Stack pointer is modified in functions that don't use the stack



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-09-27 03:59 -------
This works for me on the mainline:
[pinskia@celery gcc]$ ./cc1 -m32 -Os t.c -o - -quiet
        .file   "t.c"
        .section        ".text"
        .align 2
        .globl foo
        .type   foo, @function
foo:
        li 3,1
        blr
        .size   foo,.-foo
        .align 2
        .globl bar
        .type   bar, @function
bar:
        blr
        .size   bar,.-bar
        .ident  "GCC: (GNU) 4.2.0 20060909 (experimental)"
        .section        .note.GNU-stack,"",@progbits




Are you sure you did not add -maltivec somewhere or --with-cpu=970 ?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29248


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