[Bug c++/57850] [4.8/4.9 Regression] Option -fdump-translation-unit not working

2013-09-20 Thread aponomarenko at rosalab dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57850

Andrey Ponomarenko  changed:

   What|Removed |Added

 Resolution|FIXED   |WORKSFORME


[Bug c++/57850] [4.8/4.9 Regression] Option -fdump-translation-unit not working

2013-09-20 Thread aponomarenko at rosalab dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57850

Andrey Ponomarenko  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Andrey Ponomarenko  ---
(In reply to Jason Merrill from comment #9)
> Created attachment 30818 [details]
> patch
> 
> Can you verify that this patch fixes the issue?

Yes, it works! Thank you!


[Bug c++/57850] Option -fdump-translation-unit not working

2013-07-09 Thread aponomarenko at rosalab dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57850

--- Comment #4 from Andrey Ponomarenko  ---
It's also used for maintaining binary compatibility of glibc:
http://sourceware.org/glibc/wiki/Testing/ABI_checker

and by the API Sanity Checker tool for generating unit tests for C/C++
libraries: http://ispras.linuxbase.org/index.php/API_Sanity_Checker


[Bug c++/57850] Option -fdump-translation-unit not working

2013-07-09 Thread aponomarenko at rosalab dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57850

--- Comment #3 from Andrey Ponomarenko  ---
Please do not remove this option!

I know that it's private option for debugging GCC only, but it's used in the
ABI Compliance Checker tool:
http://ispras.linuxbase.org/index.php/ABI_compliance_checker

This tool is used by the army of maintainers of almost all Linux distributions
to verify ABI changes in system libraries.

The tool is also the core of the http://upstream-tracker.org/ service for
tracking upstream changes in APIs of system libraries.

If you remove this option then ABI Compliance Checker and upstream-tracker.org
will stop working and DLL hell will return.

Is there an alternative way to create translation unit dump of the header file
by the new GCC 4.8?

Is it possible to make this option working like in GCC<=4.7?

Thank you!


[Bug translation/57850] New: Option -fdump-translation-unit not working

2013-07-08 Thread aponomarenko at rosalab dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57850

Bug ID: 57850
   Summary: Option -fdump-translation-unit not working
   Product: gcc
   Version: 4.8.1
Status: UNCONFIRMED
  Severity: critical
  Priority: P3
 Component: translation
  Assignee: unassigned at gcc dot gnu.org
  Reporter: aponomarenko at rosalab dot ru

Hi,

The -fdump-translation-unit option of the GCC compiler was broken in 4.8.1
(relative to 4.7.1).

Steps to reproduce:

1. Create any header file file.h
2. g++ -fdump-translation-unit file.h

g++ 4.7.1 dumps test.h.001t.tu, but g++ 4.8.1 does nothing.

May be this bug can be fixed like
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55164 ?

Thank you.