public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3
@ 2009-09-08 20:17 jv244 at cam dot ac dot uk
2009-09-09 4:48 ` [Bug middle-end/41312] " jv244 at cam dot ac dot uk
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-09-08 20:17 UTC (permalink / raw)
To: gcc-bugs
No testcase other than running CP2K, but the code appears to be miscompiled
(i.e. segfaults) at -O3, while -O2 goes fine. The last known svn version that
was OK was rev. 151454, while the first known failing was 151525. The
miscompiled file is pair_potentials.F
Any suggestions on how to narrow down the problem?
--
Summary: [4.5 Regression] miscompilation of CP2K at -O3
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jv244 at cam dot ac dot uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41312
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/41312] [4.5 Regression] miscompilation of CP2K at -O3
2009-09-08 20:17 [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3 jv244 at cam dot ac dot uk
@ 2009-09-09 4:48 ` jv244 at cam dot ac dot uk
2009-09-09 4:57 ` jv244 at cam dot ac dot uk
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-09-09 4:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jv244 at cam dot ac dot uk 2009-09-09 04:47 -------
This could be due to the aliasing changes, since '-O3' fails but '-O3
-fno-strict-aliasing' works.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41312
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/41312] [4.5 Regression] miscompilation of CP2K at -O3
2009-09-08 20:17 [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3 jv244 at cam dot ac dot uk
2009-09-09 4:48 ` [Bug middle-end/41312] " jv244 at cam dot ac dot uk
@ 2009-09-09 4:57 ` jv244 at cam dot ac dot uk
2009-09-09 9:14 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-09-09 4:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jv244 at cam dot ac dot uk 2009-09-09 04:57 -------
also '-O3 -fno-inline-functions' works fine, this seems to be the same
signature as PR41212.
--
jv244 at cam dot ac dot uk changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |41212
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41312
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/41312] [4.5 Regression] miscompilation of CP2K at -O3
2009-09-08 20:17 [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3 jv244 at cam dot ac dot uk
2009-09-09 4:48 ` [Bug middle-end/41312] " jv244 at cam dot ac dot uk
2009-09-09 4:57 ` jv244 at cam dot ac dot uk
@ 2009-09-09 9:14 ` rguenth at gcc dot gnu dot org
2009-09-12 8:31 ` jv244 at cam dot ac dot uk
2009-09-15 16:21 ` jv244 at cam dot ac dot uk
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-09-09 9:14 UTC (permalink / raw)
To: gcc-bugs
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu dot org
Target Milestone|--- |4.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41312
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/41312] [4.5 Regression] miscompilation of CP2K at -O3
2009-09-08 20:17 [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3 jv244 at cam dot ac dot uk
` (2 preceding siblings ...)
2009-09-09 9:14 ` rguenth at gcc dot gnu dot org
@ 2009-09-12 8:31 ` jv244 at cam dot ac dot uk
2009-09-15 16:21 ` jv244 at cam dot ac dot uk
4 siblings, 0 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-09-12 8:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jv244 at cam dot ac dot uk 2009-09-12 08:30 -------
there are more miscompilations than the one file mentioned here. The full build
seems to go fine with -fno-strict-aliasing. I've tested some patches mentioned
in PR41212, more info there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41312
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/41312] [4.5 Regression] miscompilation of CP2K at -O3
2009-09-08 20:17 [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3 jv244 at cam dot ac dot uk
` (3 preceding siblings ...)
2009-09-12 8:31 ` jv244 at cam dot ac dot uk
@ 2009-09-15 16:21 ` jv244 at cam dot ac dot uk
4 siblings, 0 replies; 6+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-09-15 16:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jv244 at cam dot ac dot uk 2009-09-15 16:21 -------
duplicate of PR41212
--
jv244 at cam dot ac dot uk changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41312
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-09-15 16:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-08 20:17 [Bug middle-end/41312] New: [4.5 Regression] miscompilation of CP2K at -O3 jv244 at cam dot ac dot uk
2009-09-09 4:48 ` [Bug middle-end/41312] " jv244 at cam dot ac dot uk
2009-09-09 4:57 ` jv244 at cam dot ac dot uk
2009-09-09 9:14 ` rguenth at gcc dot gnu dot org
2009-09-12 8:31 ` jv244 at cam dot ac dot uk
2009-09-15 16:21 ` jv244 at cam dot ac dot uk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).