public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/41895] _Complex return type changes line numbers in diagnostics
       [not found] <bug-41895-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-24 20:02 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-24 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-24 19:48:16 UTC ---
Dup of bug 39246.

*** This bug has been marked as a duplicate of bug 39246 ***


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

* [Bug middle-end/41895] _Complex return type changes line numbers in diagnostics
  2009-11-01 12:55 [Bug c/41895] New: " mikpe at it dot uu dot se
@ 2009-11-01 14:06 ` rguenth at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-11-01 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-11-01 14:05 -------
Confirmed.  The IL difference doesn't hint at a reason.

_Complex float:

foo ()
{
  complex float f;
  complex float D.1250;
  float D.1249;

<bb 2>:
  [t2.c : 5] D.1249_2 = REALPART_EXPR <f_1(D)>;
  [t2.c : 5] f_3 = COMPLEX_EXPR <D.1249_2, 0.0>;
  [t2.c : 6] D.1250_4 = f_3;
  return D.1250_4;

float:

foo ()
{
  complex float f;
  float D.1250;
  float D.1249;

<bb 2>:
  [t2.c : 5] D.1249_2 = REALPART_EXPR <f_1(D)>;
  [t2.c : 5] f_3 = COMPLEX_EXPR <D.1249_2, 0.0>;
  [t2.c : 6] D.1250_4 = REALPART_EXPR <f_3>;
  return D.1250_4;


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c                           |middle-end
     Ever Confirmed|0                           |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2009-11-01 14:05:49
               date|                            |


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


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

end of thread, other threads:[~2012-01-24 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-41895-4@http.gcc.gnu.org/bugzilla/>
2012-01-24 20:02 ` [Bug middle-end/41895] _Complex return type changes line numbers in diagnostics pinskia at gcc dot gnu.org
2009-11-01 12:55 [Bug c/41895] New: " mikpe at it dot uu dot se
2009-11-01 14:06 ` [Bug middle-end/41895] " rguenth 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).