[Bug target/111797] Code generation of -march=znver2 -O3 includes frame pointer

2023-10-13 Thread paulf at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111797 --- Comment #3 from Paul Floyd --- With clang 17.0.2 (also tried 14.0) I get : 0: 55 push %rbp 1: 41 57 push %r15 3: 41 56 push

[Bug target/111797] Code generation of -march=znver2 -O3 includes frame pointer

2023-10-13 Thread paulf at free dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111797 --- Comment #2 from Paul Floyd --- (In reply to Richard Biener from comment #1) > I think it's easiest to use a frame pointer when custom stack alignment is > needed both for the return path and accessing arguments on the stack. But is it faste

[Bug target/111797] New: Code generation of -march=znver2 -O3 includes frame pointer

2023-10-13 Thread paulf at free dot fr via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: paulf at free dot fr Target Milestone: --- I was a bit surprised recently when I (unintentinally) ran perf record on the exe that I work on with an -O3 build without -fno-omit-frame

[Bug c/38116] Excessive warnings when using assert and -Wconversion on 64bit platforms

2008-11-15 Thread paulf at free dot fr
--- Comment #2 from paulf at free dot fr 2008-11-15 20:51 --- I do not agree that this is a duplicate of 6614. 6614 is a consequence of integer promotion, and there is no possible user code change that would make it go away (other than avoiding integral types smaller than int in

[Bug c/38121] New: Excessive warnings when using -Wconversion and char/bool/short function arguments

2008-11-14 Thread paulf at free dot fr
Summary: Excessive warnings when using -Wconversion and char/bool/short function arguments Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot

[Bug c/38116] New: Excessive warnings when using assert and -Wconversion on 64bit platforms

2008-11-14 Thread paulf at free dot fr
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paulf at free dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38116

[Bug c/38050] New: -Wredundant-decls does not take scope into account

2008-11-07 Thread paulf at free dot fr
Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paulf at free dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38050

[Bug c/38047] New: -Wredundant-decls does not take scope into account

2008-11-07 Thread paulf at free dot fr
Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: paulf at free dot fr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38047