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 tree-optimization/25315] [4.2 regression] testsuite failure:27_io/basic_ostream/inserters_character/char/9555-oc.cc wchar_t/9555-oc.cc exec



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-01-21 00:27 -------
This also fails on powerpc-darwin.

>From Alan M.:
[19:14] < alanm> bje, use of an uninitialised pseudo in catch blocks
[19:14] < pinskia> alanm: I had that problem before (int a = a; was my issue)
[19:15] < alanm> i see the following in 00.expand
[19:15] < alanm> (insn 154 153 155 17 (set (reg:DI 150 [ D.31560 ])
[19:15] < alanm>         (plus:DI (reg:DI 129 [ mergephitmp.3472 ])
[19:15] < alanm>             (reg:DI 201))) -1 (nil)
[19:15] < alanm>     (nil))
[19:16] < alanm> reg 129 isn't set anywhere.
[19:16] < pinskia> hmm, you must be using 4.2 because mergephitmp IIRC is not
in 4.1
[19:16] < alanm> must be a tree problem somewhere, but i'm not familiar with
reading tree dumps
[19:16] < alanm> yes
[19:16] < alanm> this is mainline
[19:17] < pinskia> alanm: tree dumps is like reading C except for some cases
like eh
[19:17] * bje (~bje@mailhub.air.net.au) has quit IRC (Quit: big blue room)
[19:17] < pinskia> alanm: do you have a simple example where this is a problem,
I can look at it
[19:18] < pinskia> alanm: this is only at -O2 or also at -O1?
[19:19] < alanm> no, i haven't simplified.  the failing function was
ostream-inst.cc:_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c
[19:20] < pinskia> ok, I will try to take a look later
[19:21] < alanm> a quick look at generated code at -O1 says it is OK.  so bug
is at -O2 before rtl generation
[19:22] < pinskia> I want to say it is related to PRE only because of it is
mergephitmp there (but don't quote me on that because DannyB will get on my
back)
[19:26] < pinskia> alanm: is this from the test 9555-oc.cc?
[19:26] < alanm> yes, it causes that failure

Looking more into, once my build gets to building libstdc++.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
          Component|middle-end                  |tree-optimization
   GCC host triplet|i686-pc-linux-gnu, x86_64-  |
                   |unknown-linux-gnu           |
 GCC target triplet|cris-axis-linux-gnu         |
           Keywords|                            |EH


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


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