[Bug pch/39618] trunk revision 145459 - The configure of libstdc++-v3 hangs while checking for PCH support

2012-09-09 Thread kettenis at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39618

kettenis at gnu dot org changed:

   What|Removed |Added

 CC||kettenis at gnu dot org

--- Comment #6 from kettenis at gnu dot org 2012-09-09 08:44:02 UTC ---
This is fixed by the following commit.  

Turns out it is possible to use a carefully chosen address to get PCH working
reliably, so I did go for that approach since it has a chance to work if GCC
is compiled as a position independent executable as well.


2012-09-02  Mark Kettenis  

* config.gcc (x86_64-*-openbsd*): New target.
* config.host (*-*-openbsd*): New target.
* config/openbsd.h (TARGET_C99_FUNCTIONS): Define.
* config/i386/openbsdelf.h: Remove some superfluous defines and
group things together in a more logical fashion.
(DBX_REGISTER_NUMBER): Provide a
definition that works on both 32-bit and 64-bit targets.
(WCHAR_TYPE_SIZE): Hardcode as 32.
(NO_DOLLAR_IN_LABEL): Remove undef.
(TARGET_DEFAULT): Remove.
(SET_ASM_OP): Remove.
(DEFAULT_PCC_STRUCT_RETURN): Undef first to prevent warning.
(ASM_OUTPUT_MAX_SKIP_ALIGN): Synch with x86-64.h
(DWARF2_UNWIND_INFO): Remove define.
(HAVE_ENABLE_EXECUTE_STACK): Define.
* config/host-openbsd.c: New file.
* config/t-openbsd (USER_H): Add EXTRA_HEADERS.
* config/x-openbsd: New file.


[Bug preprocessor/54528] [4.8 Regression] system.h:288:78: error: integer overflow in expression

2012-09-12 Thread kettenis at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54528

--- Comment #3 from Mark Kettenis  2012-09-12 15:48:34 
UTC ---
Created attachment 28177
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28177
Patch that "fixes" the problem