[Bug middle-end/86698] Misleading dump-file contents

2024-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86698

Andrew Pinski  changed:

   What|Removed |Added

 Depends on||23872

--- Comment #3 from Andrew Pinski  ---
(In reply to Eugene Rozenfeld from comment #2)
> Currently (as of commit 5700973f4a30762b4fc21687bb5f7843e55da2e4) the dump
> looks like this for this function:

That is from the C++ front-end rather than the C front-end.

(In reply to Richard Earnshaw from comment #0)
> Firstly, the statement is printed twice, which seems to imply that the side
> effects are performed twice. 

That part of the problem is recorded as PR 23872; I will be working on a patch
for GCC 15.

The semi-colon I have not looked into yet though.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23872
[Bug 23872] .original dump weirdness

[Bug middle-end/86698] Misleading dump-file contents

2020-11-24 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86698

Eugene Rozenfeld  changed:

   What|Removed |Added

 CC||erozen at microsoft dot com

--- Comment #2 from Eugene Rozenfeld  ---
Currently (as of commit 5700973f4a30762b4fc21687bb5f7843e55da2e4) the dump
looks like this for this function:

;; Function int f(int, int) (null)
;; enabled by -tree-original


{
  int x;

int x;
  <;
  return  = x;
}

This is different from before but there is a duplicate declaration of x, the
semicolon before the colon could be removed, and Unknown tree annotation is not
helpful.

[Bug middle-end/86698] Misleading dump-file contents

2018-07-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86698

Richard Biener  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-07-27
 Ever confirmed|0   |1

--- Comment #1 from Richard Biener  ---
Confirmed.