public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38868]  New: r143152 breaks output routines in xplor-nih
@ 2009-01-16  7:07 howarth at nitro dot med dot uc dot edu
  2009-01-16  7:07 ` [Bug middle-end/38868] " howarth at nitro dot med dot uc dot edu
                   ` (50 more replies)
  0 siblings, 51 replies; 52+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2009-01-16  7:07 UTC (permalink / raw)
  To: gcc-bugs

The change....

Author: rguenth
Date: Wed Jan  7 10:53:30 2009
New Revision: 143152

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143152
Log:
2009-01-07  Richard Guenther  <rguenther@suse.de>

        PR middle-end/38751
        * fold-const.c (extract_muldiv): Remove obsolete comment.
        (fold_plusminus_mult_expr): Undo MINUS_EXPR
        to PLUS_EXPR canonicalization for the canonicalization.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c

causes broken code in xplor-nih when compiled with -O2 or higher. Specifically,
the output
routine in xplor-nih losses the final character of a line. For example...

 | Etotal =-0.012     grad(E)=0.005      E(BOND)=0.000      E(ANGL)=0.000     
|
 | E(DIHE)=0.000      E(IMPR)=0.000      E(VDW )=-0.012     E(ELEC)=0.000     
|

becomes...

 | Etotal =-0.012     grad(E)=0.005      E(BOND)=0.000      E(ANGL)=0.000     
|
 | E(DIHE)=0.000      E(IMPR)=0.000      E(VDW )=-0.012     E(ELEC)=0.000       

The problem doesn't occur at -O0 or -O1 and doesn't occur if I use
-funroll-loops or
-funroll-all-loops. I also can also suppress the problem by adding a final
write(6,*) statement
to the test program.


-- 
           Summary: r143152 breaks output routines in xplor-nih
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: i686-apple-darwin9
  GCC host triplet: i686-apple-darwin9
GCC target triplet: i686-apple-darwin9


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


^ permalink raw reply	[flat|nested] 52+ messages in thread

end of thread, other threads:[~2009-01-24 15:26 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-16  7:07 [Bug middle-end/38868] New: r143152 breaks output routines in xplor-nih howarth at nitro dot med dot uc dot edu
2009-01-16  7:07 ` [Bug middle-end/38868] " howarth at nitro dot med dot uc dot edu
2009-01-16  7:08 ` howarth at nitro dot med dot uc dot edu
2009-01-16  7:10 ` howarth at nitro dot med dot uc dot edu
2009-01-16  7:11 ` howarth at nitro dot med dot uc dot edu
2009-01-16  7:12 ` howarth at nitro dot med dot uc dot edu
2009-01-16  7:14 ` howarth at nitro dot med dot uc dot edu
2009-01-16  7:21 ` howarth at nitro dot med dot uc dot edu
2009-01-16  8:14 ` howarth at nitro dot med dot uc dot edu
2009-01-16  9:42 ` rguenth at gcc dot gnu dot org
2009-01-16 10:00 ` dominiq at lps dot ens dot fr
2009-01-16 15:27 ` howarth at nitro dot med dot uc dot edu
2009-01-16 15:34 ` howarth at nitro dot med dot uc dot edu
2009-01-17  0:50 ` howarth at nitro dot med dot uc dot edu
2009-01-17  0:58 ` howarth at nitro dot med dot uc dot edu
2009-01-17  1:03 ` howarth at nitro dot med dot uc dot edu
2009-01-17  1:14 ` howarth at nitro dot med dot uc dot edu
2009-01-17  1:17 ` howarth at nitro dot med dot uc dot edu
2009-01-17 10:57 ` rguenth at gcc dot gnu dot org
2009-01-17 12:29 ` dominiq at lps dot ens dot fr
2009-01-17 12:54 ` jvdelisle at gcc dot gnu dot org
2009-01-17 15:11 ` sebpop at gmail dot com
2009-01-17 16:40 ` jvdelisle at gcc dot gnu dot org
2009-01-17 22:51 ` [Bug middle-end/38868] [4.4 Regression] " burnus at gcc dot gnu dot org
2009-01-17 23:23 ` howarth at nitro dot med dot uc dot edu
2009-01-17 23:28 ` dominiq at lps dot ens dot fr
2009-01-17 23:48 ` dominiq at lps dot ens dot fr
2009-01-18 12:01 ` dominiq at lps dot ens dot fr
2009-01-18 12:06 ` dominiq at lps dot ens dot fr
2009-01-18 12:50 ` dominiq at lps dot ens dot fr
2009-01-18 13:13 ` dominiq at lps dot ens dot fr
2009-01-18 13:24 ` burnus at gcc dot gnu dot org
2009-01-18 13:25 ` burnus at gcc dot gnu dot org
2009-01-18 17:02 ` howarth at nitro dot med dot uc dot edu
2009-01-18 19:49 ` howarth at nitro dot med dot uc dot edu
2009-01-19 10:30 ` rguenth at gcc dot gnu dot org
2009-01-19 10:33 ` bonzini at gnu dot org
2009-01-19 10:36 ` bonzini at gnu dot org
2009-01-19 10:51 ` rguenth at gcc dot gnu dot org
2009-01-19 11:04 ` bonzini at gnu dot org
2009-01-19 12:20 ` rguenth at gcc dot gnu dot org
2009-01-19 12:37 ` rguenth at gcc dot gnu dot org
2009-01-19 12:40 ` [Bug target/38868] " rguenth at gcc dot gnu dot org
2009-01-19 12:41 ` rguenth at gcc dot gnu dot org
2009-01-19 14:06 ` bonzini at gnu dot org
2009-01-19 15:04 ` bonzini at gnu dot org
2009-01-19 19:32 ` dominiq at lps dot ens dot fr
2009-01-19 23:44 ` howarth at nitro dot med dot uc dot edu
2009-01-20 13:24 ` bonzini at gcc dot gnu dot org
2009-01-20 13:25 ` bonzini at gnu dot org
2009-01-20 14:27 ` hjl dot tools at gmail dot com
2009-01-24 15:26 ` hjl at gcc dot gnu dot org

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).