[Bug c/30242] [4.3 Regression] internal error in gcc break compilation

2006-12-20 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2006-12-21 03:45 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug c/30242] [4.3 Regression] internal error in gcc break compilation

2006-12-20 Thread carlos at gcc dot gnu dot org


--- Comment #6 from carlos at gcc dot gnu dot org  2006-12-20 22:34 ---
Subject: Bug 30242

Author: carlos
Date: Wed Dec 20 22:34:14 2006
New Revision: 120088

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120088
Log:
gcc/

2006-12-20  Carlos O'Donell  <[EMAIL PROTECTED]>

PR bootstrap/30242
* gcc/c-incpath.c (add_standard_paths): Only relocate paths that 
begin with the configured prefix. 


Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-incpath.c


-- 


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



[Bug c/30242] [4.3 Regression] internal error in gcc break compilation

2006-12-20 Thread mark at codesourcery dot com


--- Comment #5 from mark at codesourcery dot com  2006-12-20 16:35 ---
Subject: Re:  [4.3 Regression] internal error in gcc break compilation

carlos at codesourcery dot com wrote:
> --- Comment #3 from carlos at codesourcery dot com  2006-12-20 16:01 
> ---
> Created an attachment (id=12828)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
>  --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
> Only relocate paths which start with the configured prefix.
> 
> This fixes the boostrap failure for i686-mingw32. I have bootstrapped
> x86_64-unknown-linug-gnu with thie patch.

This patch is OK.


-- 


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



[Bug c/30242] [4.3 Regression] internal error in gcc break compilation

2006-12-20 Thread carlos at codesourcery dot com


--- Comment #4 from carlos at codesourcery dot com  2006-12-20 16:05 ---
Bob Rossi <[EMAIL PROTECTED]> and I were working on this issue last night on
[EMAIL PROTECTED]

http://gcc.gnu.org/ml/gcc-help/2006-12/msg00279.html


-- 


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



[Bug c/30242] [4.3 Regression] internal error in gcc break compilation

2006-12-20 Thread carlos at codesourcery dot com


--- Comment #3 from carlos at codesourcery dot com  2006-12-20 16:01 ---
Created an attachment (id=12828)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12828&action=view)
Only relocate paths which start with the configured prefix.

This fixes the boostrap failure for i686-mingw32. I have bootstrapped
x86_64-unknown-linug-gnu with thie patch.


-- 


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



[Bug c/30242] [4.3 Regression] internal error in gcc break compilation

2006-12-19 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-12-20 05:14 ---
Well this is obviously caused by:
2006-11-20  Carlos O'Donell  <[EMAIL PROTECTED]>
Mark Mitchell  <[EMAIL PROTECTED]>

* cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and
gcc_exec_prefix.
(cpp_relocated): New function.
* cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix
and cpp_relocated.
* Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
* c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
replace configured prefix with gcc_exec_prefix.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||carlos at codesourcery dot
   ||com, mark at codesourcery
   ||dot com
  Component|preprocessor|c
   Keywords||build, ice-on-valid-code
Summary|internal error in gcc break |[4.3 Regression] internal
   |compilation |error in gcc break
   ||compilation
   Target Milestone|--- |4.3.0


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