This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29248] Stack pointer is modified in functions that don't use the stack
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2006 03:59:24 -0000
- Subject: [Bug middle-end/29248] Stack pointer is modified in functions that don't use the stack
- References: <bug-29248-12114@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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